@@ -13,8 +13,6 @@ export declare namespace AiGeneratedPhotoFromEmailProfileLookup {
13
13
interface Options {
14
14
environment ?: core . Supplier < environments . GooeyEnvironment | string > ;
15
15
apiKey ?: core . Supplier < core . BearerToken | undefined > ;
16
- /** Override the Authorization header */
17
- authorization ?: core . Supplier < string | undefined > ;
18
16
fetcher ?: core . FetchFunction ;
19
17
}
20
18
@@ -25,8 +23,6 @@ export declare namespace AiGeneratedPhotoFromEmailProfileLookup {
25
23
maxRetries ?: number ;
26
24
/** A hook to abort the request. */
27
25
abortSignal ?: AbortSignal ;
28
- /** Override the Authorization header */
29
- authorization ?: string | undefined ;
30
26
}
31
27
}
32
28
@@ -62,10 +58,9 @@ export class AiGeneratedPhotoFromEmailProfileLookup {
62
58
Authorization : await this . _getAuthorizationHeader ( ) ,
63
59
"X-Fern-Language" : "JavaScript" ,
64
60
"X-Fern-SDK-Name" : "gooey" ,
65
- "X-Fern-SDK-Version" : "0.0.2 " ,
61
+ "X-Fern-SDK-Version" : "0.0.1-beta1 " ,
66
62
"X-Fern-Runtime" : core . RUNTIME . type ,
67
63
"X-Fern-Runtime-Version" : core . RUNTIME . version ,
68
- ...( await this . _getCustomAuthorizationHeaders ( ) ) ,
69
64
} ,
70
65
contentType : "application/json" ,
71
66
requestType : "json" ,
@@ -169,10 +164,9 @@ export class AiGeneratedPhotoFromEmailProfileLookup {
169
164
Authorization : await this . _getAuthorizationHeader ( ) ,
170
165
"X-Fern-Language" : "JavaScript" ,
171
166
"X-Fern-SDK-Name" : "gooey" ,
172
- "X-Fern-SDK-Version" : "0.0.2 " ,
167
+ "X-Fern-SDK-Version" : "0.0.1-beta1 " ,
173
168
"X-Fern-Runtime" : core . RUNTIME . type ,
174
169
"X-Fern-Runtime-Version" : core . RUNTIME . version ,
175
- ...( await this . _getCustomAuthorizationHeaders ( ) ) ,
176
170
} ,
177
171
contentType : "application/json" ,
178
172
requestType : "json" ,
@@ -268,10 +262,9 @@ export class AiGeneratedPhotoFromEmailProfileLookup {
268
262
Authorization : await this . _getAuthorizationHeader ( ) ,
269
263
"X-Fern-Language" : "JavaScript" ,
270
264
"X-Fern-SDK-Name" : "gooey" ,
271
- "X-Fern-SDK-Version" : "0.0.2 " ,
265
+ "X-Fern-SDK-Version" : "0.0.1-beta1 " ,
272
266
"X-Fern-Runtime" : core . RUNTIME . type ,
273
267
"X-Fern-Runtime-Version" : core . RUNTIME . version ,
274
- ...( await this . _getCustomAuthorizationHeaders ( ) ) ,
275
268
} ,
276
269
contentType : "application/json" ,
277
270
queryParameters : _queryParams ,
@@ -347,9 +340,4 @@ export class AiGeneratedPhotoFromEmailProfileLookup {
347
340
348
341
return `Bearer ${ bearer } ` ;
349
342
}
350
-
351
- protected async _getCustomAuthorizationHeaders ( ) {
352
- const authorizationValue = await core . Supplier . get ( this . _options . authorization ) ;
353
- return { Authorization : authorizationValue } ;
354
- }
355
343
}
0 commit comments