@emilgroup/insurance-sdk-node 1.104.1-beta.11 → 1.104.1-beta.111
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 +5 -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 +44 -24
- 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 +100 -66
- package/api/premium-calculation-api.ts +171 -0
- 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/api.ts +2 -0
- package/common.ts +3 -2
- 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 +14 -14
- package/dist/api/leads-api.js +67 -41
- 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 +49 -49
- package/dist/api/policies-api.js +129 -90
- package/dist/api/premium-calculation-api.d.ts +97 -0
- package/dist/api/premium-calculation-api.js +231 -0
- 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/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -0
- package/dist/models/calculate-premium-response-class.d.ts +39 -0
- package/dist/models/calculated-policy-objects-class.d.ts +25 -0
- package/dist/models/claim-config-class.d.ts +7 -0
- package/dist/models/create-draft-policy-request-dto.d.ts +1 -1
- package/dist/models/create-premium-formula-request-dto.d.ts +6 -0
- package/dist/models/create-product-request-dto.d.ts +12 -0
- package/dist/models/create-product-version-request-dto.d.ts +6 -0
- package/dist/models/get-draft-policy-request-dto.d.ts +1 -1
- package/dist/models/index.d.ts +4 -2
- package/dist/models/index.js +4 -2
- package/dist/models/partner-class.d.ts +6 -0
- package/dist/models/patch-draft-policy-request-dto.d.ts +2 -2
- package/dist/models/policy-object-dto.d.ts +1 -1
- package/dist/models/policy-premium-item-class.d.ts +1 -1
- package/dist/models/premium-formula-class.d.ts +6 -0
- package/dist/models/regulation-subtype-class.d.ts +30 -0
- package/dist/models/regulation-subtype-class.js +15 -0
- package/dist/models/regulation-subtypes-class.d.ts +37 -0
- package/dist/models/regulation-subtypes-class.js +15 -0
- package/models/calculate-premium-response-class.ts +45 -0
- package/models/calculated-policy-objects-class.ts +31 -0
- package/models/claim-config-class.ts +7 -0
- package/models/create-draft-policy-request-dto.ts +1 -1
- package/models/create-premium-formula-request-dto.ts +6 -0
- package/models/create-product-request-dto.ts +12 -0
- package/models/create-product-version-request-dto.ts +6 -0
- package/models/get-draft-policy-request-dto.ts +1 -1
- package/models/index.ts +4 -2
- package/models/partner-class.ts +6 -0
- package/models/patch-draft-policy-request-dto.ts +2 -2
- package/models/policy-object-dto.ts +1 -1
- package/models/policy-premium-item-class.ts +1 -1
- package/models/premium-formula-class.ts +6 -0
- package/models/regulation-subtype-class.ts +36 -0
- package/models/regulation-subtypes-class.ts +43 -0
- package/package.json +2 -2
- package/dist/models/inline-response200.d.ts +0 -54
- package/dist/models/inline-response503.d.ts +0 -54
- package/models/inline-response200.ts +0 -48
- package/models/inline-response503.ts +0 -48
- /package/dist/models/{inline-response200.js → calculate-premium-response-class.js} +0 -0
- /package/dist/models/{inline-response503.js → calculated-policy-objects-class.js} +0 -0
|
@@ -107,7 +107,7 @@ var ProductFieldsApiAxiosParamCreator = function (configuration) {
|
|
|
107
107
|
createProductField: function (createProductFieldRequestDto, 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 ProductFieldsApiAxiosParamCreator = 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 ProductFieldsApiAxiosParamCreator = function (configuration) {
|
|
|
156
159
|
deleteProductField: 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 ProductFieldsApiAxiosParamCreator = 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 ProductFieldsApiAxiosParamCreator = function (configuration) {
|
|
|
204
210
|
getProductField: 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 ProductFieldsApiAxiosParamCreator = 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 ProductFieldsApiAxiosParamCreator = function (configuration) {
|
|
|
258
267
|
listProductFieldTypes: 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 ProductFieldsApiAxiosParamCreator = 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 : {};
|
|
@@ -330,7 +340,7 @@ var ProductFieldsApiAxiosParamCreator = function (configuration) {
|
|
|
330
340
|
listProductFields: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
331
341
|
if (options === void 0) { options = {}; }
|
|
332
342
|
return __awaiter(_this, void 0, void 0, function () {
|
|
333
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
343
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
334
344
|
return __generator(this, function (_a) {
|
|
335
345
|
switch (_a.label) {
|
|
336
346
|
case 0:
|
|
@@ -371,8 +381,9 @@ var ProductFieldsApiAxiosParamCreator = function (configuration) {
|
|
|
371
381
|
if (filters !== undefined) {
|
|
372
382
|
localVarQueryParameter['filters'] = filters;
|
|
373
383
|
}
|
|
374
|
-
|
|
375
|
-
|
|
384
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
385
|
+
if (authorizationValue) {
|
|
386
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
376
387
|
}
|
|
377
388
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
378
389
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -396,7 +407,7 @@ var ProductFieldsApiAxiosParamCreator = function (configuration) {
|
|
|
396
407
|
swapProductFieldsOrder: function (swapProductFieldsOrderRequestDto, authorization, options) {
|
|
397
408
|
if (options === void 0) { options = {}; }
|
|
398
409
|
return __awaiter(_this, void 0, void 0, function () {
|
|
399
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
410
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
400
411
|
return __generator(this, function (_a) {
|
|
401
412
|
switch (_a.label) {
|
|
402
413
|
case 0:
|
|
@@ -413,13 +424,16 @@ var ProductFieldsApiAxiosParamCreator = function (configuration) {
|
|
|
413
424
|
localVarQueryParameter = {};
|
|
414
425
|
// authentication bearer required
|
|
415
426
|
// http bearer authentication required
|
|
416
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
427
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
428
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
429
|
+
];
|
|
417
430
|
case 1:
|
|
418
431
|
// authentication bearer required
|
|
419
432
|
// http bearer authentication required
|
|
420
433
|
_a.sent();
|
|
421
|
-
|
|
422
|
-
|
|
434
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
435
|
+
if (authorizationValue) {
|
|
436
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
423
437
|
}
|
|
424
438
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
425
439
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -446,7 +460,7 @@ var ProductFieldsApiAxiosParamCreator = function (configuration) {
|
|
|
446
460
|
updateProductField: function (id, updateProductFieldRequestDto, authorization, options) {
|
|
447
461
|
if (options === void 0) { options = {}; }
|
|
448
462
|
return __awaiter(_this, void 0, void 0, function () {
|
|
449
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
463
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
450
464
|
return __generator(this, function (_a) {
|
|
451
465
|
switch (_a.label) {
|
|
452
466
|
case 0:
|
|
@@ -466,13 +480,16 @@ var ProductFieldsApiAxiosParamCreator = function (configuration) {
|
|
|
466
480
|
localVarQueryParameter = {};
|
|
467
481
|
// authentication bearer required
|
|
468
482
|
// http bearer authentication required
|
|
469
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
483
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
484
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
485
|
+
];
|
|
470
486
|
case 1:
|
|
471
487
|
// authentication bearer required
|
|
472
488
|
// http bearer authentication required
|
|
473
489
|
_a.sent();
|
|
474
|
-
|
|
475
|
-
|
|
490
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
491
|
+
if (authorizationValue) {
|
|
492
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
476
493
|
}
|
|
477
494
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
478
495
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -176,7 +176,7 @@ export declare class ProductVersionsApi extends BaseAPI {
|
|
|
176
176
|
* @throws {RequiredError}
|
|
177
177
|
* @memberof ProductVersionsApi
|
|
178
178
|
*/
|
|
179
|
-
getProductVersion(requestParameters: ProductVersionsApiGetProductVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductVersionResponseClass, any, {}>>;
|
|
179
|
+
getProductVersion(requestParameters: ProductVersionsApiGetProductVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductVersionResponseClass, any, {}, any>>;
|
|
180
180
|
/**
|
|
181
181
|
* Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"policy-management.products.update\"
|
|
182
182
|
* @summary Update the product version
|
|
@@ -185,5 +185,5 @@ export declare class ProductVersionsApi extends BaseAPI {
|
|
|
185
185
|
* @throws {RequiredError}
|
|
186
186
|
* @memberof ProductVersionsApi
|
|
187
187
|
*/
|
|
188
|
-
updateProductVersion(requestParameters: ProductVersionsApiUpdateProductVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateProductVersionResponseClass, any, {}>>;
|
|
188
|
+
updateProductVersion(requestParameters: ProductVersionsApiUpdateProductVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateProductVersionResponseClass, any, {}, any>>;
|
|
189
189
|
}
|
|
@@ -110,7 +110,7 @@ var ProductVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
110
110
|
getProductVersion: function (id, id2, authorization, filter, expand, options) {
|
|
111
111
|
if (options === void 0) { options = {}; }
|
|
112
112
|
return __awaiter(_this, void 0, void 0, function () {
|
|
113
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
113
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
114
114
|
return __generator(this, function (_a) {
|
|
115
115
|
switch (_a.label) {
|
|
116
116
|
case 0:
|
|
@@ -144,8 +144,9 @@ var ProductVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
144
144
|
if (expand !== undefined) {
|
|
145
145
|
localVarQueryParameter['expand'] = expand;
|
|
146
146
|
}
|
|
147
|
-
|
|
148
|
-
|
|
147
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
148
|
+
if (authorizationValue) {
|
|
149
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
149
150
|
}
|
|
150
151
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
151
152
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -170,7 +171,7 @@ var ProductVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
170
171
|
updateProductVersion: function (id, updateProductVersionRequestDto, authorization, options) {
|
|
171
172
|
if (options === void 0) { options = {}; }
|
|
172
173
|
return __awaiter(_this, void 0, void 0, function () {
|
|
173
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
174
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
174
175
|
return __generator(this, function (_a) {
|
|
175
176
|
switch (_a.label) {
|
|
176
177
|
case 0:
|
|
@@ -190,13 +191,16 @@ var ProductVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
190
191
|
localVarQueryParameter = {};
|
|
191
192
|
// authentication bearer required
|
|
192
193
|
// http bearer authentication required
|
|
193
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
194
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
195
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
196
|
+
];
|
|
194
197
|
case 1:
|
|
195
198
|
// authentication bearer required
|
|
196
199
|
// http bearer authentication required
|
|
197
200
|
_a.sent();
|
|
198
|
-
|
|
199
|
-
|
|
201
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
202
|
+
if (authorizationValue) {
|
|
203
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
200
204
|
}
|
|
201
205
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
202
206
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -445,7 +445,7 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
445
445
|
* @throws {RequiredError}
|
|
446
446
|
* @memberof ProductsApi
|
|
447
447
|
*/
|
|
448
|
-
createProduct(requestParameters: ProductsApiCreateProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateProductResponseClass, any, {}>>;
|
|
448
|
+
createProduct(requestParameters: ProductsApiCreateProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateProductResponseClass, any, {}, any>>;
|
|
449
449
|
/**
|
|
450
450
|
* Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it. **Required Permissions** \"policy-management.products.delete\"
|
|
451
451
|
* @summary Delete the product
|
|
@@ -454,7 +454,7 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
454
454
|
* @throws {RequiredError}
|
|
455
455
|
* @memberof ProductsApi
|
|
456
456
|
*/
|
|
457
|
-
deleteProduct(requestParameters: ProductsApiDeleteProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}>>;
|
|
457
|
+
deleteProduct(requestParameters: ProductsApiDeleteProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}, any>>;
|
|
458
458
|
/**
|
|
459
459
|
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information. **Required Permissions** \"policy-management.products.view\"
|
|
460
460
|
* @summary Retrieve the product
|
|
@@ -463,7 +463,7 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
463
463
|
* @throws {RequiredError}
|
|
464
464
|
* @memberof ProductsApi
|
|
465
465
|
*/
|
|
466
|
-
getProductByCode(requestParameters: ProductsApiGetProductByCodeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductResponseClass, any, {}>>;
|
|
466
|
+
getProductByCode(requestParameters: ProductsApiGetProductByCodeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductResponseClass, any, {}, any>>;
|
|
467
467
|
/**
|
|
468
468
|
* Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information. **Required Permissions** \"policy-management.products.view\"
|
|
469
469
|
* @summary Retrieve the product
|
|
@@ -472,7 +472,7 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
472
472
|
* @throws {RequiredError}
|
|
473
473
|
* @memberof ProductsApi
|
|
474
474
|
*/
|
|
475
|
-
getProductByIdentifier(requestParameters?: ProductsApiGetProductByIdentifierRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductResponseClass, any, {}>>;
|
|
475
|
+
getProductByIdentifier(requestParameters?: ProductsApiGetProductByIdentifierRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductResponseClass, any, {}, any>>;
|
|
476
476
|
/**
|
|
477
477
|
* Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
|
|
478
478
|
* @summary List products
|
|
@@ -481,7 +481,7 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
481
481
|
* @throws {RequiredError}
|
|
482
482
|
* @memberof ProductsApi
|
|
483
483
|
*/
|
|
484
|
-
listProducts(requestParameters?: ProductsApiListProductsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductsResponseClass, any, {}>>;
|
|
484
|
+
listProducts(requestParameters?: ProductsApiListProductsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductsResponseClass, any, {}, any>>;
|
|
485
485
|
/**
|
|
486
486
|
* Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"policy-management.products.update\"
|
|
487
487
|
* @summary Update the product
|
|
@@ -490,5 +490,5 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
490
490
|
* @throws {RequiredError}
|
|
491
491
|
* @memberof ProductsApi
|
|
492
492
|
*/
|
|
493
|
-
updateProduct(requestParameters: ProductsApiUpdateProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateProductResponseClass, any, {}>>;
|
|
493
|
+
updateProduct(requestParameters: ProductsApiUpdateProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateProductResponseClass, any, {}, any>>;
|
|
494
494
|
}
|
package/dist/api/products-api.js
CHANGED
|
@@ -107,7 +107,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
107
107
|
createProduct: function (createProductRequestDto, 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 ProductsApiAxiosParamCreator = 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 ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
156
159
|
deleteProduct: 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 ProductsApiAxiosParamCreator = 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 : {};
|
|
@@ -207,7 +213,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
207
213
|
getProductByCode: function (code, authorization, id, slug, expand, options) {
|
|
208
214
|
if (options === void 0) { options = {}; }
|
|
209
215
|
return __awaiter(_this, void 0, void 0, function () {
|
|
210
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
216
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
211
217
|
return __generator(this, function (_a) {
|
|
212
218
|
switch (_a.label) {
|
|
213
219
|
case 0:
|
|
@@ -239,8 +245,9 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
239
245
|
if (expand !== undefined) {
|
|
240
246
|
localVarQueryParameter['expand'] = expand;
|
|
241
247
|
}
|
|
242
|
-
|
|
243
|
-
|
|
248
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
249
|
+
if (authorizationValue) {
|
|
250
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
244
251
|
}
|
|
245
252
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
246
253
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -267,7 +274,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
267
274
|
getProductByIdentifier: function (authorization, id, code, slug, expand, options) {
|
|
268
275
|
if (options === void 0) { options = {}; }
|
|
269
276
|
return __awaiter(_this, void 0, void 0, function () {
|
|
270
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
277
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
271
278
|
return __generator(this, function (_a) {
|
|
272
279
|
switch (_a.label) {
|
|
273
280
|
case 0:
|
|
@@ -299,8 +306,9 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
299
306
|
if (expand !== undefined) {
|
|
300
307
|
localVarQueryParameter['expand'] = expand;
|
|
301
308
|
}
|
|
302
|
-
|
|
303
|
-
|
|
309
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
310
|
+
if (authorizationValue) {
|
|
311
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
304
312
|
}
|
|
305
313
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
306
314
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -330,7 +338,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
330
338
|
listProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
331
339
|
if (options === void 0) { options = {}; }
|
|
332
340
|
return __awaiter(_this, void 0, void 0, function () {
|
|
333
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
341
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
334
342
|
return __generator(this, function (_a) {
|
|
335
343
|
switch (_a.label) {
|
|
336
344
|
case 0:
|
|
@@ -371,8 +379,9 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
371
379
|
if (filters !== undefined) {
|
|
372
380
|
localVarQueryParameter['filters'] = filters;
|
|
373
381
|
}
|
|
374
|
-
|
|
375
|
-
|
|
382
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
383
|
+
if (authorizationValue) {
|
|
384
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
376
385
|
}
|
|
377
386
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
378
387
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -397,7 +406,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
397
406
|
updateProduct: function (id, updateProductRequestDto, authorization, options) {
|
|
398
407
|
if (options === void 0) { options = {}; }
|
|
399
408
|
return __awaiter(_this, void 0, void 0, function () {
|
|
400
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
409
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
401
410
|
return __generator(this, function (_a) {
|
|
402
411
|
switch (_a.label) {
|
|
403
412
|
case 0:
|
|
@@ -417,13 +426,16 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
417
426
|
localVarQueryParameter = {};
|
|
418
427
|
// authentication bearer required
|
|
419
428
|
// http bearer authentication required
|
|
420
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
429
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
430
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
431
|
+
];
|
|
421
432
|
case 1:
|
|
422
433
|
// authentication bearer required
|
|
423
434
|
// http bearer authentication required
|
|
424
435
|
_a.sent();
|
|
425
|
-
|
|
426
|
-
|
|
436
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
437
|
+
if (authorizationValue) {
|
|
438
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
427
439
|
}
|
|
428
440
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
429
441
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -411,7 +411,7 @@ export declare class StatusTransitionRulesApi extends BaseAPI {
|
|
|
411
411
|
* @throws {RequiredError}
|
|
412
412
|
* @memberof StatusTransitionRulesApi
|
|
413
413
|
*/
|
|
414
|
-
createStatusTransitionRule(requestParameters: StatusTransitionRulesApiCreateStatusTransitionRuleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateStatusTransitionRuleResponseClass, any, {}>>;
|
|
414
|
+
createStatusTransitionRule(requestParameters: StatusTransitionRulesApiCreateStatusTransitionRuleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateStatusTransitionRuleResponseClass, any, {}, any>>;
|
|
415
415
|
/**
|
|
416
416
|
* Permanently deletes the status transition rule. Supply the unique code that was returned when you created the status transition rule and this will delete it. **Required Permissions** \"policy-management.products.delete\"
|
|
417
417
|
* @summary Delete the status transition rule
|
|
@@ -420,7 +420,7 @@ export declare class StatusTransitionRulesApi extends BaseAPI {
|
|
|
420
420
|
* @throws {RequiredError}
|
|
421
421
|
* @memberof StatusTransitionRulesApi
|
|
422
422
|
*/
|
|
423
|
-
deleteStatusTransitionRule(requestParameters: StatusTransitionRulesApiDeleteStatusTransitionRuleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}>>;
|
|
423
|
+
deleteStatusTransitionRule(requestParameters: StatusTransitionRulesApiDeleteStatusTransitionRuleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}, any>>;
|
|
424
424
|
/**
|
|
425
425
|
* Retrieves the details of the status transition rule that was previously created. Supply the unique status transition rule code that was returned when you created it and Emil Api will return the corresponding status transition rule information. **Required Permissions** \"policy-management.products.view\"
|
|
426
426
|
* @summary Retrieve the status transition rule
|
|
@@ -429,7 +429,7 @@ export declare class StatusTransitionRulesApi extends BaseAPI {
|
|
|
429
429
|
* @throws {RequiredError}
|
|
430
430
|
* @memberof StatusTransitionRulesApi
|
|
431
431
|
*/
|
|
432
|
-
getStatusTransitionRule(requestParameters: StatusTransitionRulesApiGetStatusTransitionRuleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetStatusTransitionRuleResponseClass, any, {}>>;
|
|
432
|
+
getStatusTransitionRule(requestParameters: StatusTransitionRulesApiGetStatusTransitionRuleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetStatusTransitionRuleResponseClass, any, {}, any>>;
|
|
433
433
|
/**
|
|
434
434
|
* Returns a list of status transition rules you have previously created. The status transition rules are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
|
|
435
435
|
* @summary List status transition rules
|
|
@@ -438,7 +438,7 @@ export declare class StatusTransitionRulesApi extends BaseAPI {
|
|
|
438
438
|
* @throws {RequiredError}
|
|
439
439
|
* @memberof StatusTransitionRulesApi
|
|
440
440
|
*/
|
|
441
|
-
listStatusTransitionRules(requestParameters?: StatusTransitionRulesApiListStatusTransitionRulesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListStatusTransitionRulesResponseClass, any, {}>>;
|
|
441
|
+
listStatusTransitionRules(requestParameters?: StatusTransitionRulesApiListStatusTransitionRulesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListStatusTransitionRulesResponseClass, any, {}, any>>;
|
|
442
442
|
/**
|
|
443
443
|
* Updates the specified status transition rule by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"policy-management.products.update\"
|
|
444
444
|
* @summary Patch the status transition rule
|
|
@@ -447,7 +447,7 @@ export declare class StatusTransitionRulesApi extends BaseAPI {
|
|
|
447
447
|
* @throws {RequiredError}
|
|
448
448
|
* @memberof StatusTransitionRulesApi
|
|
449
449
|
*/
|
|
450
|
-
patchStatusTransitionRule(requestParameters: StatusTransitionRulesApiPatchStatusTransitionRuleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchStatusTransitionRuleResponseClass, any, {}>>;
|
|
450
|
+
patchStatusTransitionRule(requestParameters: StatusTransitionRulesApiPatchStatusTransitionRuleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchStatusTransitionRuleResponseClass, any, {}, any>>;
|
|
451
451
|
/**
|
|
452
452
|
* Updates the specified status transition rule by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"policy-management.products.update\"
|
|
453
453
|
* @summary Update the status transition rule
|
|
@@ -456,5 +456,5 @@ export declare class StatusTransitionRulesApi extends BaseAPI {
|
|
|
456
456
|
* @throws {RequiredError}
|
|
457
457
|
* @memberof StatusTransitionRulesApi
|
|
458
458
|
*/
|
|
459
|
-
updateStatusTransitionRule(requestParameters: StatusTransitionRulesApiUpdateStatusTransitionRuleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateStatusTransitionRuleResponseClass, any, {}>>;
|
|
459
|
+
updateStatusTransitionRule(requestParameters: StatusTransitionRulesApiUpdateStatusTransitionRuleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateStatusTransitionRuleResponseClass, any, {}, any>>;
|
|
460
460
|
}
|