@emilgroup/insurance-sdk-node 1.104.1-beta.107 → 1.104.1-beta.110
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +0 -2
- package/README.md +2 -2
- package/api/booking-funnel-versions-api.ts +8 -4
- package/api/booking-funnels-api.ts +24 -12
- package/api/commission-agreement-items-api.ts +20 -10
- package/api/commission-agreement-products-api.ts +20 -10
- package/api/commission-agreement-versions-api.ts +16 -8
- package/api/commission-agreements-api.ts +20 -10
- package/api/commission-recipients-api.ts +20 -10
- package/api/emil-functions-api.ts +44 -22
- package/api/health-check-api.ts +6 -10
- package/api/insured-object-types-api.ts +4 -2
- package/api/insured-objects-api.ts +16 -8
- package/api/lead-statuses-api.ts +20 -10
- package/api/lead-versions-api.ts +8 -4
- package/api/leads-api.ts +40 -20
- package/api/named-ranges-api.ts +24 -12
- package/api/partner-links-api.ts +24 -12
- package/api/partner-roles-api.ts +20 -10
- package/api/policies-api.ts +68 -34
- package/api/premium-calculation-api.ts +4 -2
- package/api/premium-formulas-api.ts +24 -12
- package/api/product-configs-api.ts +24 -12
- package/api/product-factors-api.ts +28 -14
- package/api/product-fields-api.ts +28 -14
- package/api/product-versions-api.ts +8 -4
- package/api/products-api.ts +24 -12
- package/api/status-transition-rules-api.ts +24 -12
- package/dist/api/booking-funnel-versions-api.js +11 -7
- package/dist/api/booking-funnels-api.js +39 -23
- package/dist/api/commission-agreement-items-api.js +29 -18
- package/dist/api/commission-agreement-products-api.js +29 -18
- package/dist/api/commission-agreement-versions-api.js +22 -14
- package/dist/api/commission-agreements-api.js +29 -18
- package/dist/api/commission-recipients-api.js +32 -19
- package/dist/api/emil-functions-api.js +74 -43
- package/dist/api/health-check-api.d.ts +7 -8
- package/dist/api/health-check-api.js +4 -4
- package/dist/api/insured-object-types-api.js +4 -3
- package/dist/api/insured-objects-api.js +22 -14
- package/dist/api/lead-statuses-api.js +32 -19
- package/dist/api/lead-versions-api.js +11 -7
- package/dist/api/leads-api.js +64 -38
- package/dist/api/named-ranges-api.js +36 -22
- package/dist/api/partner-links-api.js +36 -22
- package/dist/api/partner-roles-api.js +32 -19
- package/dist/api/policies-api.js +101 -62
- package/dist/api/premium-calculation-api.js +7 -4
- package/dist/api/premium-formulas-api.js +39 -23
- package/dist/api/product-configs-api.js +39 -23
- package/dist/api/product-factors-api.js +37 -24
- package/dist/api/product-fields-api.js +43 -26
- package/dist/api/product-versions-api.js +11 -7
- package/dist/api/products-api.js +33 -21
- package/dist/api/status-transition-rules-api.js +36 -22
- package/dist/models/index.d.ts +0 -2
- package/dist/models/index.js +0 -2
- package/models/index.ts +0 -2
- package/package.json +1 -1
- package/dist/models/inline-response200.d.ts +0 -54
- package/dist/models/inline-response200.js +0 -15
- package/dist/models/inline-response503.d.ts +0 -54
- package/dist/models/inline-response503.js +0 -15
- package/models/inline-response200.ts +0 -48
- package/models/inline-response503.ts +0 -48
package/api/health-check-api.ts
CHANGED
|
@@ -20,10 +20,6 @@ import { Configuration } from '../configuration';
|
|
|
20
20
|
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
|
-
// @ts-ignore
|
|
24
|
-
import { InlineResponse200 } from '../models';
|
|
25
|
-
// @ts-ignore
|
|
26
|
-
import { InlineResponse503 } from '../models';
|
|
27
23
|
// URLSearchParams not necessarily used
|
|
28
24
|
// @ts-ignore
|
|
29
25
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -35,7 +31,7 @@ const FormData = require('form-data');
|
|
|
35
31
|
export const HealthCheckApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
32
|
return {
|
|
37
33
|
/**
|
|
38
|
-
* Returns the health status of the
|
|
34
|
+
* Returns the health status of the insuranceservice service. This endpoint is used to monitor the operational status of the insuranceservice service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
39
35
|
* @summary Health Check
|
|
40
36
|
* @param {*} [options] Override http request option.
|
|
41
37
|
* @throws {RequiredError}
|
|
@@ -77,12 +73,12 @@ export const HealthCheckApiFp = function(configuration?: Configuration) {
|
|
|
77
73
|
const localVarAxiosParamCreator = HealthCheckApiAxiosParamCreator(configuration)
|
|
78
74
|
return {
|
|
79
75
|
/**
|
|
80
|
-
* Returns the health status of the
|
|
76
|
+
* Returns the health status of the insuranceservice service. This endpoint is used to monitor the operational status of the insuranceservice service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
81
77
|
* @summary Health Check
|
|
82
78
|
* @param {*} [options] Override http request option.
|
|
83
79
|
* @throws {RequiredError}
|
|
84
80
|
*/
|
|
85
|
-
async check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
81
|
+
async check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
86
82
|
const localVarAxiosArgs = await localVarAxiosParamCreator.check(options);
|
|
87
83
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
88
84
|
},
|
|
@@ -97,12 +93,12 @@ export const HealthCheckApiFactory = function (configuration?: Configuration, ba
|
|
|
97
93
|
const localVarFp = HealthCheckApiFp(configuration)
|
|
98
94
|
return {
|
|
99
95
|
/**
|
|
100
|
-
* Returns the health status of the
|
|
96
|
+
* Returns the health status of the insuranceservice service. This endpoint is used to monitor the operational status of the insuranceservice service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
101
97
|
* @summary Health Check
|
|
102
98
|
* @param {*} [options] Override http request option.
|
|
103
99
|
* @throws {RequiredError}
|
|
104
100
|
*/
|
|
105
|
-
check(options?: any): AxiosPromise<
|
|
101
|
+
check(options?: any): AxiosPromise<void> {
|
|
106
102
|
return localVarFp.check(options).then((request) => request(axios, basePath));
|
|
107
103
|
},
|
|
108
104
|
};
|
|
@@ -116,7 +112,7 @@ export const HealthCheckApiFactory = function (configuration?: Configuration, ba
|
|
|
116
112
|
*/
|
|
117
113
|
export class HealthCheckApi extends BaseAPI {
|
|
118
114
|
/**
|
|
119
|
-
* Returns the health status of the
|
|
115
|
+
* Returns the health status of the insuranceservice service. This endpoint is used to monitor the operational status of the insuranceservice service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
120
116
|
* @summary Health Check
|
|
121
117
|
* @param {*} [options] Override http request option.
|
|
122
118
|
* @throws {RequiredError}
|
|
@@ -93,8 +93,10 @@ export const InsuredObjectTypesApiAxiosParamCreator = function (configuration?:
|
|
|
93
93
|
localVarQueryParameter['filters'] = filters;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
97
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
98
|
+
if (authorizationValue) {
|
|
99
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
98
100
|
}
|
|
99
101
|
|
|
100
102
|
|
|
@@ -67,8 +67,10 @@ export const InsuredObjectsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
67
67
|
// http bearer authentication required
|
|
68
68
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
71
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
72
|
+
if (authorizationValue) {
|
|
73
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
72
74
|
}
|
|
73
75
|
|
|
74
76
|
|
|
@@ -115,8 +117,10 @@ export const InsuredObjectsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
115
117
|
// http bearer authentication required
|
|
116
118
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
117
119
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
121
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
122
|
+
if (authorizationValue) {
|
|
123
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
120
124
|
}
|
|
121
125
|
|
|
122
126
|
|
|
@@ -165,8 +169,10 @@ export const InsuredObjectsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
165
169
|
localVarQueryParameter['expand'] = expand;
|
|
166
170
|
}
|
|
167
171
|
|
|
168
|
-
|
|
169
|
-
|
|
172
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
173
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
174
|
+
if (authorizationValue) {
|
|
175
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
170
176
|
}
|
|
171
177
|
|
|
172
178
|
|
|
@@ -241,8 +247,10 @@ export const InsuredObjectsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
241
247
|
localVarQueryParameter['filters'] = filters;
|
|
242
248
|
}
|
|
243
249
|
|
|
244
|
-
|
|
245
|
-
|
|
250
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
251
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
252
|
+
if (authorizationValue) {
|
|
253
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
246
254
|
}
|
|
247
255
|
|
|
248
256
|
|
package/api/lead-statuses-api.ts
CHANGED
|
@@ -73,8 +73,10 @@ export const LeadStatusesApiAxiosParamCreator = function (configuration?: Config
|
|
|
73
73
|
// http bearer authentication required
|
|
74
74
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
75
75
|
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
77
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
78
|
+
if (authorizationValue) {
|
|
79
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
78
80
|
}
|
|
79
81
|
|
|
80
82
|
|
|
@@ -121,8 +123,10 @@ export const LeadStatusesApiAxiosParamCreator = function (configuration?: Config
|
|
|
121
123
|
// http bearer authentication required
|
|
122
124
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
123
125
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
127
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
128
|
+
if (authorizationValue) {
|
|
129
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
126
130
|
}
|
|
127
131
|
|
|
128
132
|
|
|
@@ -166,8 +170,10 @@ export const LeadStatusesApiAxiosParamCreator = function (configuration?: Config
|
|
|
166
170
|
// http bearer authentication required
|
|
167
171
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
168
172
|
|
|
169
|
-
|
|
170
|
-
|
|
173
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
174
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
175
|
+
if (authorizationValue) {
|
|
176
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
171
177
|
}
|
|
172
178
|
|
|
173
179
|
|
|
@@ -242,8 +248,10 @@ export const LeadStatusesApiAxiosParamCreator = function (configuration?: Config
|
|
|
242
248
|
localVarQueryParameter['filters'] = filters;
|
|
243
249
|
}
|
|
244
250
|
|
|
245
|
-
|
|
246
|
-
|
|
251
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
252
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
253
|
+
if (authorizationValue) {
|
|
254
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
247
255
|
}
|
|
248
256
|
|
|
249
257
|
|
|
@@ -290,8 +298,10 @@ export const LeadStatusesApiAxiosParamCreator = function (configuration?: Config
|
|
|
290
298
|
// http bearer authentication required
|
|
291
299
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
292
300
|
|
|
293
|
-
|
|
294
|
-
|
|
301
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
302
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
303
|
+
if (authorizationValue) {
|
|
304
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
295
305
|
}
|
|
296
306
|
|
|
297
307
|
|
package/api/lead-versions-api.ts
CHANGED
|
@@ -68,8 +68,10 @@ export const LeadVersionsApiAxiosParamCreator = function (configuration?: Config
|
|
|
68
68
|
// http bearer authentication required
|
|
69
69
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
70
70
|
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
72
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
73
|
+
if (authorizationValue) {
|
|
74
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
73
75
|
}
|
|
74
76
|
|
|
75
77
|
|
|
@@ -148,8 +150,10 @@ export const LeadVersionsApiAxiosParamCreator = function (configuration?: Config
|
|
|
148
150
|
localVarQueryParameter['filters'] = filters;
|
|
149
151
|
}
|
|
150
152
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
154
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
155
|
+
if (authorizationValue) {
|
|
156
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
153
157
|
}
|
|
154
158
|
|
|
155
159
|
|
package/api/leads-api.ts
CHANGED
|
@@ -85,8 +85,10 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
85
85
|
// http bearer authentication required
|
|
86
86
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
87
87
|
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
89
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
90
|
+
if (authorizationValue) {
|
|
91
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
90
92
|
}
|
|
91
93
|
|
|
92
94
|
|
|
@@ -132,8 +134,10 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
132
134
|
// http bearer authentication required
|
|
133
135
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
134
136
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
138
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
139
|
+
if (authorizationValue) {
|
|
140
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
137
141
|
}
|
|
138
142
|
|
|
139
143
|
|
|
@@ -179,8 +183,10 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
179
183
|
// http bearer authentication required
|
|
180
184
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
181
185
|
|
|
182
|
-
|
|
183
|
-
|
|
186
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
187
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
188
|
+
if (authorizationValue) {
|
|
189
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
184
190
|
}
|
|
185
191
|
|
|
186
192
|
|
|
@@ -226,8 +232,10 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
226
232
|
// http bearer authentication required
|
|
227
233
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
228
234
|
|
|
229
|
-
|
|
230
|
-
|
|
235
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
236
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
237
|
+
if (authorizationValue) {
|
|
238
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
231
239
|
}
|
|
232
240
|
|
|
233
241
|
|
|
@@ -274,8 +282,10 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
274
282
|
// http bearer authentication required
|
|
275
283
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
276
284
|
|
|
277
|
-
|
|
278
|
-
|
|
285
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
286
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
287
|
+
if (authorizationValue) {
|
|
288
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
279
289
|
}
|
|
280
290
|
|
|
281
291
|
|
|
@@ -324,8 +334,10 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
324
334
|
localVarQueryParameter['expand'] = expand;
|
|
325
335
|
}
|
|
326
336
|
|
|
327
|
-
|
|
328
|
-
|
|
337
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
338
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
339
|
+
if (authorizationValue) {
|
|
340
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
329
341
|
}
|
|
330
342
|
|
|
331
343
|
|
|
@@ -400,8 +412,10 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
400
412
|
localVarQueryParameter['filters'] = filters;
|
|
401
413
|
}
|
|
402
414
|
|
|
403
|
-
|
|
404
|
-
|
|
415
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
416
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
417
|
+
if (authorizationValue) {
|
|
418
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
405
419
|
}
|
|
406
420
|
|
|
407
421
|
|
|
@@ -448,8 +462,10 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
448
462
|
// http bearer authentication required
|
|
449
463
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
450
464
|
|
|
451
|
-
|
|
452
|
-
|
|
465
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
466
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
467
|
+
if (authorizationValue) {
|
|
468
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
453
469
|
}
|
|
454
470
|
|
|
455
471
|
|
|
@@ -499,8 +515,10 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
499
515
|
// http bearer authentication required
|
|
500
516
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
501
517
|
|
|
502
|
-
|
|
503
|
-
|
|
518
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
519
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
520
|
+
if (authorizationValue) {
|
|
521
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
504
522
|
}
|
|
505
523
|
|
|
506
524
|
|
|
@@ -550,8 +568,10 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
550
568
|
// http bearer authentication required
|
|
551
569
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
552
570
|
|
|
553
|
-
|
|
554
|
-
|
|
571
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
572
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
573
|
+
if (authorizationValue) {
|
|
574
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
555
575
|
}
|
|
556
576
|
|
|
557
577
|
|
package/api/named-ranges-api.ts
CHANGED
|
@@ -75,8 +75,10 @@ export const NamedRangesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
75
75
|
// http bearer authentication required
|
|
76
76
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
77
77
|
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
79
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
80
|
+
if (authorizationValue) {
|
|
81
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
80
82
|
}
|
|
81
83
|
|
|
82
84
|
|
|
@@ -123,8 +125,10 @@ export const NamedRangesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
123
125
|
// http bearer authentication required
|
|
124
126
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
125
127
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
129
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
130
|
+
if (authorizationValue) {
|
|
131
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
128
132
|
}
|
|
129
133
|
|
|
130
134
|
|
|
@@ -193,8 +197,10 @@ export const NamedRangesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
193
197
|
localVarQueryParameter['order'] = order;
|
|
194
198
|
}
|
|
195
199
|
|
|
196
|
-
|
|
197
|
-
|
|
200
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
201
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
202
|
+
if (authorizationValue) {
|
|
203
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
198
204
|
}
|
|
199
205
|
|
|
200
206
|
|
|
@@ -238,8 +244,10 @@ export const NamedRangesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
238
244
|
// http bearer authentication required
|
|
239
245
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
240
246
|
|
|
241
|
-
|
|
242
|
-
|
|
247
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
248
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
249
|
+
if (authorizationValue) {
|
|
250
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
243
251
|
}
|
|
244
252
|
|
|
245
253
|
|
|
@@ -314,8 +322,10 @@ export const NamedRangesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
314
322
|
localVarQueryParameter['filters'] = filters;
|
|
315
323
|
}
|
|
316
324
|
|
|
317
|
-
|
|
318
|
-
|
|
325
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
326
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
327
|
+
if (authorizationValue) {
|
|
328
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
319
329
|
}
|
|
320
330
|
|
|
321
331
|
|
|
@@ -362,8 +372,10 @@ export const NamedRangesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
362
372
|
// http bearer authentication required
|
|
363
373
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
364
374
|
|
|
365
|
-
|
|
366
|
-
|
|
375
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
376
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
377
|
+
if (authorizationValue) {
|
|
378
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
367
379
|
}
|
|
368
380
|
|
|
369
381
|
|
package/api/partner-links-api.ts
CHANGED
|
@@ -76,8 +76,10 @@ export const PartnerLinksApiAxiosParamCreator = function (configuration?: Config
|
|
|
76
76
|
// http bearer authentication required
|
|
77
77
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
78
78
|
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
80
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
81
|
+
if (authorizationValue) {
|
|
82
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
81
83
|
}
|
|
82
84
|
|
|
83
85
|
|
|
@@ -126,8 +128,10 @@ export const PartnerLinksApiAxiosParamCreator = function (configuration?: Config
|
|
|
126
128
|
localVarQueryParameter['expand'] = expand;
|
|
127
129
|
}
|
|
128
130
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
132
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
133
|
+
if (authorizationValue) {
|
|
134
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
131
135
|
}
|
|
132
136
|
|
|
133
137
|
|
|
@@ -170,8 +174,10 @@ export const PartnerLinksApiAxiosParamCreator = function (configuration?: Config
|
|
|
170
174
|
// http bearer authentication required
|
|
171
175
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
172
176
|
|
|
173
|
-
|
|
174
|
-
|
|
177
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
178
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
179
|
+
if (authorizationValue) {
|
|
180
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
175
181
|
}
|
|
176
182
|
|
|
177
183
|
|
|
@@ -249,8 +255,10 @@ export const PartnerLinksApiAxiosParamCreator = function (configuration?: Config
|
|
|
249
255
|
localVarQueryParameter['filters'] = filters;
|
|
250
256
|
}
|
|
251
257
|
|
|
252
|
-
|
|
253
|
-
|
|
258
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
259
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
260
|
+
if (authorizationValue) {
|
|
261
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
254
262
|
}
|
|
255
263
|
|
|
256
264
|
|
|
@@ -294,8 +302,10 @@ export const PartnerLinksApiAxiosParamCreator = function (configuration?: Config
|
|
|
294
302
|
// http bearer authentication required
|
|
295
303
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
296
304
|
|
|
297
|
-
|
|
298
|
-
|
|
305
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
306
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
307
|
+
if (authorizationValue) {
|
|
308
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
299
309
|
}
|
|
300
310
|
|
|
301
311
|
|
|
@@ -342,8 +352,10 @@ export const PartnerLinksApiAxiosParamCreator = function (configuration?: Config
|
|
|
342
352
|
// http bearer authentication required
|
|
343
353
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
344
354
|
|
|
345
|
-
|
|
346
|
-
|
|
355
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
356
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
357
|
+
if (authorizationValue) {
|
|
358
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
347
359
|
}
|
|
348
360
|
|
|
349
361
|
|
package/api/partner-roles-api.ts
CHANGED
|
@@ -73,8 +73,10 @@ export const PartnerRolesApiAxiosParamCreator = function (configuration?: Config
|
|
|
73
73
|
// http bearer authentication required
|
|
74
74
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
75
75
|
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
77
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
78
|
+
if (authorizationValue) {
|
|
79
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
78
80
|
}
|
|
79
81
|
|
|
80
82
|
|
|
@@ -121,8 +123,10 @@ export const PartnerRolesApiAxiosParamCreator = function (configuration?: Config
|
|
|
121
123
|
// http bearer authentication required
|
|
122
124
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
123
125
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
127
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
128
|
+
if (authorizationValue) {
|
|
129
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
126
130
|
}
|
|
127
131
|
|
|
128
132
|
|
|
@@ -166,8 +170,10 @@ export const PartnerRolesApiAxiosParamCreator = function (configuration?: Config
|
|
|
166
170
|
// http bearer authentication required
|
|
167
171
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
168
172
|
|
|
169
|
-
|
|
170
|
-
|
|
173
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
174
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
175
|
+
if (authorizationValue) {
|
|
176
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
171
177
|
}
|
|
172
178
|
|
|
173
179
|
|
|
@@ -242,8 +248,10 @@ export const PartnerRolesApiAxiosParamCreator = function (configuration?: Config
|
|
|
242
248
|
localVarQueryParameter['filters'] = filters;
|
|
243
249
|
}
|
|
244
250
|
|
|
245
|
-
|
|
246
|
-
|
|
251
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
252
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
253
|
+
if (authorizationValue) {
|
|
254
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
247
255
|
}
|
|
248
256
|
|
|
249
257
|
|
|
@@ -290,8 +298,10 @@ export const PartnerRolesApiAxiosParamCreator = function (configuration?: Config
|
|
|
290
298
|
// http bearer authentication required
|
|
291
299
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
292
300
|
|
|
293
|
-
|
|
294
|
-
|
|
301
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
302
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
303
|
+
if (authorizationValue) {
|
|
304
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
295
305
|
}
|
|
296
306
|
|
|
297
307
|
|