@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
|
@@ -107,7 +107,7 @@ var PremiumFormulasApiAxiosParamCreator = function (configuration) {
|
|
|
107
107
|
createPremiumFormula: function (createPremiumFormulaRequestDto, authorization, options) {
|
|
108
108
|
if (options === void 0) { options = {}; }
|
|
109
109
|
return __awaiter(_this, void 0, void 0, function () {
|
|
110
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
110
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
111
111
|
return __generator(this, function (_a) {
|
|
112
112
|
switch (_a.label) {
|
|
113
113
|
case 0:
|
|
@@ -124,13 +124,16 @@ var PremiumFormulasApiAxiosParamCreator = function (configuration) {
|
|
|
124
124
|
localVarQueryParameter = {};
|
|
125
125
|
// authentication bearer required
|
|
126
126
|
// http bearer authentication required
|
|
127
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
128
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
129
|
+
];
|
|
128
130
|
case 1:
|
|
129
131
|
// authentication bearer required
|
|
130
132
|
// http bearer authentication required
|
|
131
133
|
_a.sent();
|
|
132
|
-
|
|
133
|
-
|
|
134
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
135
|
+
if (authorizationValue) {
|
|
136
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
134
137
|
}
|
|
135
138
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
136
139
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -156,7 +159,7 @@ var PremiumFormulasApiAxiosParamCreator = function (configuration) {
|
|
|
156
159
|
deletePremiumFormula: function (id, authorization, options) {
|
|
157
160
|
if (options === void 0) { options = {}; }
|
|
158
161
|
return __awaiter(_this, void 0, void 0, function () {
|
|
159
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
162
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
160
163
|
return __generator(this, function (_a) {
|
|
161
164
|
switch (_a.label) {
|
|
162
165
|
case 0:
|
|
@@ -174,13 +177,16 @@ var PremiumFormulasApiAxiosParamCreator = function (configuration) {
|
|
|
174
177
|
localVarQueryParameter = {};
|
|
175
178
|
// authentication bearer required
|
|
176
179
|
// http bearer authentication required
|
|
177
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
180
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
181
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
182
|
+
];
|
|
178
183
|
case 1:
|
|
179
184
|
// authentication bearer required
|
|
180
185
|
// http bearer authentication required
|
|
181
186
|
_a.sent();
|
|
182
|
-
|
|
183
|
-
|
|
187
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
188
|
+
if (authorizationValue) {
|
|
189
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
184
190
|
}
|
|
185
191
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
186
192
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -204,7 +210,7 @@ var PremiumFormulasApiAxiosParamCreator = function (configuration) {
|
|
|
204
210
|
getPremiumFormula: function (id, authorization, options) {
|
|
205
211
|
if (options === void 0) { options = {}; }
|
|
206
212
|
return __awaiter(_this, void 0, void 0, function () {
|
|
207
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
213
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
208
214
|
return __generator(this, function (_a) {
|
|
209
215
|
switch (_a.label) {
|
|
210
216
|
case 0:
|
|
@@ -222,13 +228,16 @@ var PremiumFormulasApiAxiosParamCreator = function (configuration) {
|
|
|
222
228
|
localVarQueryParameter = {};
|
|
223
229
|
// authentication bearer required
|
|
224
230
|
// http bearer authentication required
|
|
225
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
231
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
232
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
233
|
+
];
|
|
226
234
|
case 1:
|
|
227
235
|
// authentication bearer required
|
|
228
236
|
// http bearer authentication required
|
|
229
237
|
_a.sent();
|
|
230
|
-
|
|
231
|
-
|
|
238
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
239
|
+
if (authorizationValue) {
|
|
240
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
232
241
|
}
|
|
233
242
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
234
243
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -258,7 +267,7 @@ var PremiumFormulasApiAxiosParamCreator = function (configuration) {
|
|
|
258
267
|
listPremiumFormulas: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
259
268
|
if (options === void 0) { options = {}; }
|
|
260
269
|
return __awaiter(_this, void 0, void 0, function () {
|
|
261
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
270
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
262
271
|
return __generator(this, function (_a) {
|
|
263
272
|
switch (_a.label) {
|
|
264
273
|
case 0:
|
|
@@ -299,8 +308,9 @@ var PremiumFormulasApiAxiosParamCreator = function (configuration) {
|
|
|
299
308
|
if (filters !== undefined) {
|
|
300
309
|
localVarQueryParameter['filters'] = filters;
|
|
301
310
|
}
|
|
302
|
-
|
|
303
|
-
|
|
311
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
312
|
+
if (authorizationValue) {
|
|
313
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
304
314
|
}
|
|
305
315
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
306
316
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -324,7 +334,7 @@ var PremiumFormulasApiAxiosParamCreator = function (configuration) {
|
|
|
324
334
|
swapPremiumFormulasOrder: function (swapPremiumFormulasOrderRequestDto, authorization, options) {
|
|
325
335
|
if (options === void 0) { options = {}; }
|
|
326
336
|
return __awaiter(_this, void 0, void 0, function () {
|
|
327
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
337
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
328
338
|
return __generator(this, function (_a) {
|
|
329
339
|
switch (_a.label) {
|
|
330
340
|
case 0:
|
|
@@ -341,13 +351,16 @@ var PremiumFormulasApiAxiosParamCreator = function (configuration) {
|
|
|
341
351
|
localVarQueryParameter = {};
|
|
342
352
|
// authentication bearer required
|
|
343
353
|
// http bearer authentication required
|
|
344
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
354
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
355
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
356
|
+
];
|
|
345
357
|
case 1:
|
|
346
358
|
// authentication bearer required
|
|
347
359
|
// http bearer authentication required
|
|
348
360
|
_a.sent();
|
|
349
|
-
|
|
350
|
-
|
|
361
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
362
|
+
if (authorizationValue) {
|
|
363
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
351
364
|
}
|
|
352
365
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
353
366
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -374,7 +387,7 @@ var PremiumFormulasApiAxiosParamCreator = function (configuration) {
|
|
|
374
387
|
updatePremiumFormula: function (id, updatePremiumFormulaRequestDto, authorization, options) {
|
|
375
388
|
if (options === void 0) { options = {}; }
|
|
376
389
|
return __awaiter(_this, void 0, void 0, function () {
|
|
377
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
390
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
378
391
|
return __generator(this, function (_a) {
|
|
379
392
|
switch (_a.label) {
|
|
380
393
|
case 0:
|
|
@@ -394,13 +407,16 @@ var PremiumFormulasApiAxiosParamCreator = function (configuration) {
|
|
|
394
407
|
localVarQueryParameter = {};
|
|
395
408
|
// authentication bearer required
|
|
396
409
|
// http bearer authentication required
|
|
397
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
410
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
411
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
412
|
+
];
|
|
398
413
|
case 1:
|
|
399
414
|
// authentication bearer required
|
|
400
415
|
// http bearer authentication required
|
|
401
416
|
_a.sent();
|
|
402
|
-
|
|
403
|
-
|
|
417
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
418
|
+
if (authorizationValue) {
|
|
419
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
404
420
|
}
|
|
405
421
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
406
422
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -108,7 +108,7 @@ var ProductConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
108
108
|
calculateProductTariffQuote: function (productVersionId, restCalculateProductTariffQuoteRequestDto, authorization, options) {
|
|
109
109
|
if (options === void 0) { options = {}; }
|
|
110
110
|
return __awaiter(_this, void 0, void 0, function () {
|
|
111
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
111
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
112
112
|
return __generator(this, function (_a) {
|
|
113
113
|
switch (_a.label) {
|
|
114
114
|
case 0:
|
|
@@ -128,13 +128,16 @@ var ProductConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
128
128
|
localVarQueryParameter = {};
|
|
129
129
|
// authentication bearer required
|
|
130
130
|
// http bearer authentication required
|
|
131
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
131
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
132
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
133
|
+
];
|
|
132
134
|
case 1:
|
|
133
135
|
// authentication bearer required
|
|
134
136
|
// http bearer authentication required
|
|
135
137
|
_a.sent();
|
|
136
|
-
|
|
137
|
-
|
|
138
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
139
|
+
if (authorizationValue) {
|
|
140
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
138
141
|
}
|
|
139
142
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
140
143
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -162,7 +165,7 @@ var ProductConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
162
165
|
createProductConfig: function (slug, productVersionId, file, authorization, options) {
|
|
163
166
|
if (options === void 0) { options = {}; }
|
|
164
167
|
return __awaiter(_this, void 0, void 0, function () {
|
|
165
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
|
|
168
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, authorizationValue, headersFromBaseOptions;
|
|
166
169
|
return __generator(this, function (_a) {
|
|
167
170
|
switch (_a.label) {
|
|
168
171
|
case 0:
|
|
@@ -184,13 +187,16 @@ var ProductConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
184
187
|
localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
185
188
|
// authentication bearer required
|
|
186
189
|
// http bearer authentication required
|
|
187
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
190
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
191
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
192
|
+
];
|
|
188
193
|
case 1:
|
|
189
194
|
// authentication bearer required
|
|
190
195
|
// http bearer authentication required
|
|
191
196
|
_a.sent();
|
|
192
|
-
|
|
193
|
-
|
|
197
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
198
|
+
if (authorizationValue) {
|
|
199
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
194
200
|
}
|
|
195
201
|
if (slug !== undefined) {
|
|
196
202
|
localVarFormParams.append('slug', slug);
|
|
@@ -225,7 +231,7 @@ var ProductConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
225
231
|
getProductConfig: function (code, authorization, options) {
|
|
226
232
|
if (options === void 0) { options = {}; }
|
|
227
233
|
return __awaiter(_this, void 0, void 0, function () {
|
|
228
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
234
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
229
235
|
return __generator(this, function (_a) {
|
|
230
236
|
switch (_a.label) {
|
|
231
237
|
case 0:
|
|
@@ -243,13 +249,16 @@ var ProductConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
243
249
|
localVarQueryParameter = {};
|
|
244
250
|
// authentication bearer required
|
|
245
251
|
// http bearer authentication required
|
|
246
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
252
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
253
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
254
|
+
];
|
|
247
255
|
case 1:
|
|
248
256
|
// authentication bearer required
|
|
249
257
|
// http bearer authentication required
|
|
250
258
|
_a.sent();
|
|
251
|
-
|
|
252
|
-
|
|
259
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
260
|
+
if (authorizationValue) {
|
|
261
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
253
262
|
}
|
|
254
263
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
255
264
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -273,7 +282,7 @@ var ProductConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
273
282
|
getProductConfigTariffs: function (productVersionId, authorization, options) {
|
|
274
283
|
if (options === void 0) { options = {}; }
|
|
275
284
|
return __awaiter(_this, void 0, void 0, function () {
|
|
276
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
285
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
277
286
|
return __generator(this, function (_a) {
|
|
278
287
|
switch (_a.label) {
|
|
279
288
|
case 0:
|
|
@@ -291,13 +300,16 @@ var ProductConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
291
300
|
localVarQueryParameter = {};
|
|
292
301
|
// authentication bearer required
|
|
293
302
|
// http bearer authentication required
|
|
294
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
303
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
304
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
305
|
+
];
|
|
295
306
|
case 1:
|
|
296
307
|
// authentication bearer required
|
|
297
308
|
// http bearer authentication required
|
|
298
309
|
_a.sent();
|
|
299
|
-
|
|
300
|
-
|
|
310
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
311
|
+
if (authorizationValue) {
|
|
312
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
301
313
|
}
|
|
302
314
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
303
315
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -327,7 +339,7 @@ var ProductConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
327
339
|
listProductConfigs: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
328
340
|
if (options === void 0) { options = {}; }
|
|
329
341
|
return __awaiter(_this, void 0, void 0, function () {
|
|
330
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
342
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
331
343
|
return __generator(this, function (_a) {
|
|
332
344
|
switch (_a.label) {
|
|
333
345
|
case 0:
|
|
@@ -368,8 +380,9 @@ var ProductConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
368
380
|
if (filters !== undefined) {
|
|
369
381
|
localVarQueryParameter['filters'] = filters;
|
|
370
382
|
}
|
|
371
|
-
|
|
372
|
-
|
|
383
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
384
|
+
if (authorizationValue) {
|
|
385
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
373
386
|
}
|
|
374
387
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
375
388
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -395,7 +408,7 @@ var ProductConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
395
408
|
updateProductConfig: function (code, file, authorization, slug, options) {
|
|
396
409
|
if (options === void 0) { options = {}; }
|
|
397
410
|
return __awaiter(_this, void 0, void 0, function () {
|
|
398
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
|
|
411
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, authorizationValue, headersFromBaseOptions;
|
|
399
412
|
return __generator(this, function (_a) {
|
|
400
413
|
switch (_a.label) {
|
|
401
414
|
case 0:
|
|
@@ -416,13 +429,16 @@ var ProductConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
416
429
|
localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
417
430
|
// authentication bearer required
|
|
418
431
|
// http bearer authentication required
|
|
419
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
432
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
433
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
434
|
+
];
|
|
420
435
|
case 1:
|
|
421
436
|
// authentication bearer required
|
|
422
437
|
// http bearer authentication required
|
|
423
438
|
_a.sent();
|
|
424
|
-
|
|
425
|
-
|
|
439
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
440
|
+
if (authorizationValue) {
|
|
441
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
426
442
|
}
|
|
427
443
|
if (file !== undefined) {
|
|
428
444
|
localVarFormParams.append('file', file);
|
|
@@ -106,7 +106,7 @@ var ProductFactorsApiAxiosParamCreator = function (configuration) {
|
|
|
106
106
|
deleteProductFactor: function (id, authorization, options) {
|
|
107
107
|
if (options === void 0) { options = {}; }
|
|
108
108
|
return __awaiter(_this, void 0, void 0, function () {
|
|
109
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
109
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
110
110
|
return __generator(this, function (_a) {
|
|
111
111
|
switch (_a.label) {
|
|
112
112
|
case 0:
|
|
@@ -124,13 +124,16 @@ var ProductFactorsApiAxiosParamCreator = function (configuration) {
|
|
|
124
124
|
localVarQueryParameter = {};
|
|
125
125
|
// authentication bearer required
|
|
126
126
|
// http bearer authentication required
|
|
127
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
128
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
129
|
+
];
|
|
128
130
|
case 1:
|
|
129
131
|
// authentication bearer required
|
|
130
132
|
// http bearer authentication required
|
|
131
133
|
_a.sent();
|
|
132
|
-
|
|
133
|
-
|
|
134
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
135
|
+
if (authorizationValue) {
|
|
136
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
134
137
|
}
|
|
135
138
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
136
139
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -156,7 +159,7 @@ var ProductFactorsApiAxiosParamCreator = function (configuration) {
|
|
|
156
159
|
getProductFactor: function (id, id2, authorization, expand, options) {
|
|
157
160
|
if (options === void 0) { options = {}; }
|
|
158
161
|
return __awaiter(_this, void 0, void 0, function () {
|
|
159
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
162
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
160
163
|
return __generator(this, function (_a) {
|
|
161
164
|
switch (_a.label) {
|
|
162
165
|
case 0:
|
|
@@ -187,8 +190,9 @@ var ProductFactorsApiAxiosParamCreator = function (configuration) {
|
|
|
187
190
|
if (expand !== undefined) {
|
|
188
191
|
localVarQueryParameter['expand'] = expand;
|
|
189
192
|
}
|
|
190
|
-
|
|
191
|
-
|
|
193
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
194
|
+
if (authorizationValue) {
|
|
195
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
192
196
|
}
|
|
193
197
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
194
198
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -215,7 +219,7 @@ var ProductFactorsApiAxiosParamCreator = function (configuration) {
|
|
|
215
219
|
getProductFactorValue: function (productVersionId, label, key, name, authorization, options) {
|
|
216
220
|
if (options === void 0) { options = {}; }
|
|
217
221
|
return __awaiter(_this, void 0, void 0, function () {
|
|
218
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
222
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
219
223
|
return __generator(this, function (_a) {
|
|
220
224
|
switch (_a.label) {
|
|
221
225
|
case 0:
|
|
@@ -255,8 +259,9 @@ var ProductFactorsApiAxiosParamCreator = function (configuration) {
|
|
|
255
259
|
if (name !== undefined) {
|
|
256
260
|
localVarQueryParameter['name'] = name;
|
|
257
261
|
}
|
|
258
|
-
|
|
259
|
-
|
|
262
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
263
|
+
if (authorizationValue) {
|
|
264
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
260
265
|
}
|
|
261
266
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
262
267
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -282,7 +287,7 @@ var ProductFactorsApiAxiosParamCreator = function (configuration) {
|
|
|
282
287
|
getProductFactorsForVersion: function (productVersionId, values, authorization, forPublic, options) {
|
|
283
288
|
if (options === void 0) { options = {}; }
|
|
284
289
|
return __awaiter(_this, void 0, void 0, function () {
|
|
285
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
290
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
286
291
|
return __generator(this, function (_a) {
|
|
287
292
|
switch (_a.label) {
|
|
288
293
|
case 0:
|
|
@@ -315,8 +320,9 @@ var ProductFactorsApiAxiosParamCreator = function (configuration) {
|
|
|
315
320
|
if (forPublic !== undefined) {
|
|
316
321
|
localVarQueryParameter['forPublic'] = forPublic;
|
|
317
322
|
}
|
|
318
|
-
|
|
319
|
-
|
|
323
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
324
|
+
if (authorizationValue) {
|
|
325
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
320
326
|
}
|
|
321
327
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
322
328
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -346,7 +352,7 @@ var ProductFactorsApiAxiosParamCreator = function (configuration) {
|
|
|
346
352
|
listProductFactors: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
347
353
|
if (options === void 0) { options = {}; }
|
|
348
354
|
return __awaiter(_this, void 0, void 0, function () {
|
|
349
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
355
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
350
356
|
return __generator(this, function (_a) {
|
|
351
357
|
switch (_a.label) {
|
|
352
358
|
case 0:
|
|
@@ -387,8 +393,9 @@ var ProductFactorsApiAxiosParamCreator = function (configuration) {
|
|
|
387
393
|
if (filters !== undefined) {
|
|
388
394
|
localVarQueryParameter['filters'] = filters;
|
|
389
395
|
}
|
|
390
|
-
|
|
391
|
-
|
|
396
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
397
|
+
if (authorizationValue) {
|
|
398
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
392
399
|
}
|
|
393
400
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
394
401
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -413,7 +420,7 @@ var ProductFactorsApiAxiosParamCreator = function (configuration) {
|
|
|
413
420
|
storeProductFactors: function (authorization, productVersionId, factors, options) {
|
|
414
421
|
if (options === void 0) { options = {}; }
|
|
415
422
|
return __awaiter(_this, void 0, void 0, function () {
|
|
416
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
|
|
423
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, authorizationValue, headersFromBaseOptions;
|
|
417
424
|
return __generator(this, function (_a) {
|
|
418
425
|
switch (_a.label) {
|
|
419
426
|
case 0:
|
|
@@ -429,13 +436,16 @@ var ProductFactorsApiAxiosParamCreator = function (configuration) {
|
|
|
429
436
|
localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
430
437
|
// authentication bearer required
|
|
431
438
|
// http bearer authentication required
|
|
432
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
439
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
440
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
441
|
+
];
|
|
433
442
|
case 1:
|
|
434
443
|
// authentication bearer required
|
|
435
444
|
// http bearer authentication required
|
|
436
445
|
_a.sent();
|
|
437
|
-
|
|
438
|
-
|
|
446
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
447
|
+
if (authorizationValue) {
|
|
448
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
439
449
|
}
|
|
440
450
|
if (productVersionId !== undefined) {
|
|
441
451
|
localVarFormParams.append('productVersionId', productVersionId);
|
|
@@ -467,7 +477,7 @@ var ProductFactorsApiAxiosParamCreator = function (configuration) {
|
|
|
467
477
|
validateProductFactors: function (authorization, factors, options) {
|
|
468
478
|
if (options === void 0) { options = {}; }
|
|
469
479
|
return __awaiter(_this, void 0, void 0, function () {
|
|
470
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
|
|
480
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, authorizationValue, headersFromBaseOptions;
|
|
471
481
|
return __generator(this, function (_a) {
|
|
472
482
|
switch (_a.label) {
|
|
473
483
|
case 0:
|
|
@@ -483,13 +493,16 @@ var ProductFactorsApiAxiosParamCreator = function (configuration) {
|
|
|
483
493
|
localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
484
494
|
// authentication bearer required
|
|
485
495
|
// http bearer authentication required
|
|
486
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
496
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
497
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
498
|
+
];
|
|
487
499
|
case 1:
|
|
488
500
|
// authentication bearer required
|
|
489
501
|
// http bearer authentication required
|
|
490
502
|
_a.sent();
|
|
491
|
-
|
|
492
|
-
|
|
503
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
504
|
+
if (authorizationValue) {
|
|
505
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
493
506
|
}
|
|
494
507
|
if (factors !== undefined) {
|
|
495
508
|
localVarFormParams.append('factors', factors);
|