@emilgroup/insurance-sdk 1.107.1-beta.112 → 1.107.1-beta.113
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/base.ts +174 -41
- package/common.ts +3 -2
- package/configuration.ts +20 -0
- package/dist/api/booking-funnel-versions-api.d.ts +2 -2
- package/dist/api/booking-funnel-versions-api.js +11 -7
- package/dist/api/booking-funnels-api.d.ts +6 -6
- package/dist/api/booking-funnels-api.js +39 -23
- package/dist/api/commission-agreement-items-api.d.ts +5 -5
- package/dist/api/commission-agreement-items-api.js +29 -18
- package/dist/api/commission-agreement-products-api.d.ts +5 -5
- package/dist/api/commission-agreement-products-api.js +29 -18
- package/dist/api/commission-agreement-versions-api.d.ts +4 -4
- package/dist/api/commission-agreement-versions-api.js +22 -14
- package/dist/api/commission-agreements-api.d.ts +5 -5
- package/dist/api/commission-agreements-api.js +29 -18
- package/dist/api/commission-recipients-api.d.ts +5 -5
- package/dist/api/commission-recipients-api.js +32 -19
- package/dist/api/emil-functions-api.d.ts +11 -11
- 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.d.ts +1 -1
- package/dist/api/insured-object-types-api.js +4 -3
- package/dist/api/insured-objects-api.d.ts +4 -4
- package/dist/api/insured-objects-api.js +22 -14
- package/dist/api/lead-statuses-api.d.ts +5 -5
- package/dist/api/lead-statuses-api.js +32 -19
- package/dist/api/lead-versions-api.d.ts +2 -2
- package/dist/api/lead-versions-api.js +11 -7
- package/dist/api/leads-api.d.ts +10 -10
- package/dist/api/leads-api.js +64 -38
- package/dist/api/named-ranges-api.d.ts +6 -6
- package/dist/api/named-ranges-api.js +36 -22
- package/dist/api/partner-links-api.d.ts +6 -6
- package/dist/api/partner-links-api.js +36 -22
- package/dist/api/partner-roles-api.d.ts +5 -5
- package/dist/api/partner-roles-api.js +32 -19
- package/dist/api/policies-api.d.ts +17 -17
- package/dist/api/policies-api.js +101 -62
- package/dist/api/premium-calculation-api.d.ts +1 -1
- package/dist/api/premium-calculation-api.js +7 -4
- package/dist/api/premium-formulas-api.d.ts +6 -6
- package/dist/api/premium-formulas-api.js +39 -23
- package/dist/api/product-configs-api.d.ts +6 -6
- package/dist/api/product-configs-api.js +39 -23
- package/dist/api/product-factors-api.d.ts +7 -7
- package/dist/api/product-factors-api.js +37 -24
- package/dist/api/product-fields-api.d.ts +7 -7
- package/dist/api/product-fields-api.js +43 -26
- package/dist/api/product-versions-api.d.ts +2 -2
- package/dist/api/product-versions-api.js +11 -7
- package/dist/api/products-api.d.ts +6 -6
- package/dist/api/products-api.js +33 -21
- package/dist/api/status-transition-rules-api.d.ts +6 -6
- package/dist/api/status-transition-rules-api.js +36 -22
- package/dist/base.d.ts +24 -0
- package/dist/base.js +178 -59
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -0
- package/dist/configuration.d.ts +17 -0
- package/dist/configuration.js +2 -0
- package/dist/models/index.d.ts +0 -2
- package/dist/models/index.js +0 -2
- package/models/index.ts +0 -2
- package/package.json +2 -2
- 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
|
/**
|
|
28
24
|
* HealthCheckApi - axios parameter creator
|
|
29
25
|
* @export
|
|
@@ -31,7 +27,7 @@ import { InlineResponse503 } from '../models';
|
|
|
31
27
|
export const HealthCheckApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
28
|
return {
|
|
33
29
|
/**
|
|
34
|
-
* Returns the health status of the
|
|
30
|
+
* 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.
|
|
35
31
|
* @summary Health Check
|
|
36
32
|
* @param {*} [options] Override http request option.
|
|
37
33
|
* @throws {RequiredError}
|
|
@@ -73,12 +69,12 @@ export const HealthCheckApiFp = function(configuration?: Configuration) {
|
|
|
73
69
|
const localVarAxiosParamCreator = HealthCheckApiAxiosParamCreator(configuration)
|
|
74
70
|
return {
|
|
75
71
|
/**
|
|
76
|
-
* Returns the health status of the
|
|
72
|
+
* 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.
|
|
77
73
|
* @summary Health Check
|
|
78
74
|
* @param {*} [options] Override http request option.
|
|
79
75
|
* @throws {RequiredError}
|
|
80
76
|
*/
|
|
81
|
-
async check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
77
|
+
async check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
82
78
|
const localVarAxiosArgs = await localVarAxiosParamCreator.check(options);
|
|
83
79
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
84
80
|
},
|
|
@@ -93,12 +89,12 @@ export const HealthCheckApiFactory = function (configuration?: Configuration, ba
|
|
|
93
89
|
const localVarFp = HealthCheckApiFp(configuration)
|
|
94
90
|
return {
|
|
95
91
|
/**
|
|
96
|
-
* Returns the health status of the
|
|
92
|
+
* 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.
|
|
97
93
|
* @summary Health Check
|
|
98
94
|
* @param {*} [options] Override http request option.
|
|
99
95
|
* @throws {RequiredError}
|
|
100
96
|
*/
|
|
101
|
-
check(options?: any): AxiosPromise<
|
|
97
|
+
check(options?: any): AxiosPromise<void> {
|
|
102
98
|
return localVarFp.check(options).then((request) => request(axios, basePath));
|
|
103
99
|
},
|
|
104
100
|
};
|
|
@@ -112,7 +108,7 @@ export const HealthCheckApiFactory = function (configuration?: Configuration, ba
|
|
|
112
108
|
*/
|
|
113
109
|
export class HealthCheckApi extends BaseAPI {
|
|
114
110
|
/**
|
|
115
|
-
* Returns the health status of the
|
|
111
|
+
* 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.
|
|
116
112
|
* @summary Health Check
|
|
117
113
|
* @param {*} [options] Override http request option.
|
|
118
114
|
* @throws {RequiredError}
|
|
@@ -89,8 +89,10 @@ export const InsuredObjectTypesApiAxiosParamCreator = function (configuration?:
|
|
|
89
89
|
localVarQueryParameter['filters'] = filters;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
93
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
94
|
+
if (authorizationValue) {
|
|
95
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
94
96
|
}
|
|
95
97
|
|
|
96
98
|
|
|
@@ -63,8 +63,10 @@ export const InsuredObjectsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
63
63
|
// http bearer authentication required
|
|
64
64
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
65
65
|
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
67
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
68
|
+
if (authorizationValue) {
|
|
69
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
68
70
|
}
|
|
69
71
|
|
|
70
72
|
|
|
@@ -111,8 +113,10 @@ export const InsuredObjectsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
111
113
|
// http bearer authentication required
|
|
112
114
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
113
115
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
117
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
118
|
+
if (authorizationValue) {
|
|
119
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
116
120
|
}
|
|
117
121
|
|
|
118
122
|
|
|
@@ -161,8 +165,10 @@ export const InsuredObjectsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
161
165
|
localVarQueryParameter['expand'] = expand;
|
|
162
166
|
}
|
|
163
167
|
|
|
164
|
-
|
|
165
|
-
|
|
168
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
169
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
170
|
+
if (authorizationValue) {
|
|
171
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
166
172
|
}
|
|
167
173
|
|
|
168
174
|
|
|
@@ -237,8 +243,10 @@ export const InsuredObjectsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
237
243
|
localVarQueryParameter['filters'] = filters;
|
|
238
244
|
}
|
|
239
245
|
|
|
240
|
-
|
|
241
|
-
|
|
246
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
247
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
248
|
+
if (authorizationValue) {
|
|
249
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
242
250
|
}
|
|
243
251
|
|
|
244
252
|
|
package/api/lead-statuses-api.ts
CHANGED
|
@@ -69,8 +69,10 @@ export const LeadStatusesApiAxiosParamCreator = function (configuration?: Config
|
|
|
69
69
|
// http bearer authentication required
|
|
70
70
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
71
71
|
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
73
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
74
|
+
if (authorizationValue) {
|
|
75
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
74
76
|
}
|
|
75
77
|
|
|
76
78
|
|
|
@@ -117,8 +119,10 @@ export const LeadStatusesApiAxiosParamCreator = function (configuration?: Config
|
|
|
117
119
|
// http bearer authentication required
|
|
118
120
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
119
121
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
123
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
124
|
+
if (authorizationValue) {
|
|
125
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
122
126
|
}
|
|
123
127
|
|
|
124
128
|
|
|
@@ -162,8 +166,10 @@ export const LeadStatusesApiAxiosParamCreator = function (configuration?: Config
|
|
|
162
166
|
// http bearer authentication required
|
|
163
167
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
164
168
|
|
|
165
|
-
|
|
166
|
-
|
|
169
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
170
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
171
|
+
if (authorizationValue) {
|
|
172
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
167
173
|
}
|
|
168
174
|
|
|
169
175
|
|
|
@@ -238,8 +244,10 @@ export const LeadStatusesApiAxiosParamCreator = function (configuration?: Config
|
|
|
238
244
|
localVarQueryParameter['filters'] = filters;
|
|
239
245
|
}
|
|
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
|
|
|
@@ -286,8 +294,10 @@ export const LeadStatusesApiAxiosParamCreator = function (configuration?: Config
|
|
|
286
294
|
// http bearer authentication required
|
|
287
295
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
288
296
|
|
|
289
|
-
|
|
290
|
-
|
|
297
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
298
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
299
|
+
if (authorizationValue) {
|
|
300
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
291
301
|
}
|
|
292
302
|
|
|
293
303
|
|
package/api/lead-versions-api.ts
CHANGED
|
@@ -64,8 +64,10 @@ export const LeadVersionsApiAxiosParamCreator = function (configuration?: Config
|
|
|
64
64
|
// http bearer authentication required
|
|
65
65
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
68
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
69
|
+
if (authorizationValue) {
|
|
70
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
69
71
|
}
|
|
70
72
|
|
|
71
73
|
|
|
@@ -144,8 +146,10 @@ export const LeadVersionsApiAxiosParamCreator = function (configuration?: Config
|
|
|
144
146
|
localVarQueryParameter['filters'] = filters;
|
|
145
147
|
}
|
|
146
148
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
150
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
151
|
+
if (authorizationValue) {
|
|
152
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
149
153
|
}
|
|
150
154
|
|
|
151
155
|
|
package/api/leads-api.ts
CHANGED
|
@@ -81,8 +81,10 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
81
81
|
// http bearer authentication required
|
|
82
82
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
83
83
|
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
85
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
86
|
+
if (authorizationValue) {
|
|
87
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
86
88
|
}
|
|
87
89
|
|
|
88
90
|
|
|
@@ -128,8 +130,10 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
128
130
|
// http bearer authentication required
|
|
129
131
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
130
132
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
134
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
135
|
+
if (authorizationValue) {
|
|
136
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
133
137
|
}
|
|
134
138
|
|
|
135
139
|
|
|
@@ -175,8 +179,10 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
175
179
|
// http bearer authentication required
|
|
176
180
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
177
181
|
|
|
178
|
-
|
|
179
|
-
|
|
182
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
183
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
184
|
+
if (authorizationValue) {
|
|
185
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
180
186
|
}
|
|
181
187
|
|
|
182
188
|
|
|
@@ -222,8 +228,10 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
222
228
|
// http bearer authentication required
|
|
223
229
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
224
230
|
|
|
225
|
-
|
|
226
|
-
|
|
231
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
232
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
233
|
+
if (authorizationValue) {
|
|
234
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
227
235
|
}
|
|
228
236
|
|
|
229
237
|
|
|
@@ -270,8 +278,10 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
270
278
|
// http bearer authentication required
|
|
271
279
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
272
280
|
|
|
273
|
-
|
|
274
|
-
|
|
281
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
282
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
283
|
+
if (authorizationValue) {
|
|
284
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
275
285
|
}
|
|
276
286
|
|
|
277
287
|
|
|
@@ -320,8 +330,10 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
320
330
|
localVarQueryParameter['expand'] = expand;
|
|
321
331
|
}
|
|
322
332
|
|
|
323
|
-
|
|
324
|
-
|
|
333
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
334
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
335
|
+
if (authorizationValue) {
|
|
336
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
325
337
|
}
|
|
326
338
|
|
|
327
339
|
|
|
@@ -396,8 +408,10 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
396
408
|
localVarQueryParameter['filters'] = filters;
|
|
397
409
|
}
|
|
398
410
|
|
|
399
|
-
|
|
400
|
-
|
|
411
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
412
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
413
|
+
if (authorizationValue) {
|
|
414
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
401
415
|
}
|
|
402
416
|
|
|
403
417
|
|
|
@@ -444,8 +458,10 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
444
458
|
// http bearer authentication required
|
|
445
459
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
446
460
|
|
|
447
|
-
|
|
448
|
-
|
|
461
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
462
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
463
|
+
if (authorizationValue) {
|
|
464
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
449
465
|
}
|
|
450
466
|
|
|
451
467
|
|
|
@@ -495,8 +511,10 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
495
511
|
// http bearer authentication required
|
|
496
512
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
497
513
|
|
|
498
|
-
|
|
499
|
-
|
|
514
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
515
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
516
|
+
if (authorizationValue) {
|
|
517
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
500
518
|
}
|
|
501
519
|
|
|
502
520
|
|
|
@@ -546,8 +564,10 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
546
564
|
// http bearer authentication required
|
|
547
565
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
548
566
|
|
|
549
|
-
|
|
550
|
-
|
|
567
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
568
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
569
|
+
if (authorizationValue) {
|
|
570
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
551
571
|
}
|
|
552
572
|
|
|
553
573
|
|
package/api/named-ranges-api.ts
CHANGED
|
@@ -71,8 +71,10 @@ export const NamedRangesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
71
71
|
// http bearer authentication required
|
|
72
72
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
73
73
|
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
75
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
76
|
+
if (authorizationValue) {
|
|
77
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
76
78
|
}
|
|
77
79
|
|
|
78
80
|
|
|
@@ -119,8 +121,10 @@ export const NamedRangesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
119
121
|
// http bearer authentication required
|
|
120
122
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
121
123
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
125
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
126
|
+
if (authorizationValue) {
|
|
127
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
124
128
|
}
|
|
125
129
|
|
|
126
130
|
|
|
@@ -189,8 +193,10 @@ export const NamedRangesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
189
193
|
localVarQueryParameter['order'] = order;
|
|
190
194
|
}
|
|
191
195
|
|
|
192
|
-
|
|
193
|
-
|
|
196
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
197
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
198
|
+
if (authorizationValue) {
|
|
199
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
194
200
|
}
|
|
195
201
|
|
|
196
202
|
|
|
@@ -234,8 +240,10 @@ export const NamedRangesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
234
240
|
// http bearer authentication required
|
|
235
241
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
236
242
|
|
|
237
|
-
|
|
238
|
-
|
|
243
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
244
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
245
|
+
if (authorizationValue) {
|
|
246
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
239
247
|
}
|
|
240
248
|
|
|
241
249
|
|
|
@@ -310,8 +318,10 @@ export const NamedRangesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
310
318
|
localVarQueryParameter['filters'] = filters;
|
|
311
319
|
}
|
|
312
320
|
|
|
313
|
-
|
|
314
|
-
|
|
321
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
322
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
323
|
+
if (authorizationValue) {
|
|
324
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
315
325
|
}
|
|
316
326
|
|
|
317
327
|
|
|
@@ -358,8 +368,10 @@ export const NamedRangesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
358
368
|
// http bearer authentication required
|
|
359
369
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
360
370
|
|
|
361
|
-
|
|
362
|
-
|
|
371
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
372
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
373
|
+
if (authorizationValue) {
|
|
374
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
363
375
|
}
|
|
364
376
|
|
|
365
377
|
|
package/api/partner-links-api.ts
CHANGED
|
@@ -72,8 +72,10 @@ export const PartnerLinksApiAxiosParamCreator = function (configuration?: Config
|
|
|
72
72
|
// http bearer authentication required
|
|
73
73
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
74
74
|
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
76
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
77
|
+
if (authorizationValue) {
|
|
78
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
77
79
|
}
|
|
78
80
|
|
|
79
81
|
|
|
@@ -122,8 +124,10 @@ export const PartnerLinksApiAxiosParamCreator = function (configuration?: Config
|
|
|
122
124
|
localVarQueryParameter['expand'] = expand;
|
|
123
125
|
}
|
|
124
126
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
128
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
129
|
+
if (authorizationValue) {
|
|
130
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
127
131
|
}
|
|
128
132
|
|
|
129
133
|
|
|
@@ -166,8 +170,10 @@ export const PartnerLinksApiAxiosParamCreator = 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
|
|
|
@@ -245,8 +251,10 @@ export const PartnerLinksApiAxiosParamCreator = function (configuration?: Config
|
|
|
245
251
|
localVarQueryParameter['filters'] = filters;
|
|
246
252
|
}
|
|
247
253
|
|
|
248
|
-
|
|
249
|
-
|
|
254
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
255
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
256
|
+
if (authorizationValue) {
|
|
257
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
250
258
|
}
|
|
251
259
|
|
|
252
260
|
|
|
@@ -290,8 +298,10 @@ export const PartnerLinksApiAxiosParamCreator = 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
|
|
|
@@ -338,8 +348,10 @@ export const PartnerLinksApiAxiosParamCreator = function (configuration?: Config
|
|
|
338
348
|
// http bearer authentication required
|
|
339
349
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
340
350
|
|
|
341
|
-
|
|
342
|
-
|
|
351
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
352
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
353
|
+
if (authorizationValue) {
|
|
354
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
343
355
|
}
|
|
344
356
|
|
|
345
357
|
|
package/api/partner-roles-api.ts
CHANGED
|
@@ -69,8 +69,10 @@ export const PartnerRolesApiAxiosParamCreator = function (configuration?: Config
|
|
|
69
69
|
// http bearer authentication required
|
|
70
70
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
71
71
|
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
73
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
74
|
+
if (authorizationValue) {
|
|
75
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
74
76
|
}
|
|
75
77
|
|
|
76
78
|
|
|
@@ -117,8 +119,10 @@ export const PartnerRolesApiAxiosParamCreator = function (configuration?: Config
|
|
|
117
119
|
// http bearer authentication required
|
|
118
120
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
119
121
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
123
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
124
|
+
if (authorizationValue) {
|
|
125
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
122
126
|
}
|
|
123
127
|
|
|
124
128
|
|
|
@@ -162,8 +166,10 @@ export const PartnerRolesApiAxiosParamCreator = function (configuration?: Config
|
|
|
162
166
|
// http bearer authentication required
|
|
163
167
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
164
168
|
|
|
165
|
-
|
|
166
|
-
|
|
169
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
170
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
171
|
+
if (authorizationValue) {
|
|
172
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
167
173
|
}
|
|
168
174
|
|
|
169
175
|
|
|
@@ -238,8 +244,10 @@ export const PartnerRolesApiAxiosParamCreator = function (configuration?: Config
|
|
|
238
244
|
localVarQueryParameter['filters'] = filters;
|
|
239
245
|
}
|
|
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
|
|
|
@@ -286,8 +294,10 @@ export const PartnerRolesApiAxiosParamCreator = function (configuration?: Config
|
|
|
286
294
|
// http bearer authentication required
|
|
287
295
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
288
296
|
|
|
289
|
-
|
|
290
|
-
|
|
297
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
298
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
299
|
+
if (authorizationValue) {
|
|
300
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
291
301
|
}
|
|
292
302
|
|
|
293
303
|
|