@emilgroup/insurance-sdk 1.72.1-beta.9 → 1.73.0
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 -1
- package/README.md +2 -2
- package/dist/api/booking-funnel-versions-api.js +8 -25
- package/dist/api/booking-funnels-api.js +20 -53
- package/dist/api/commission-agreement-items-api.js +17 -46
- package/dist/api/commission-agreement-products-api.js +17 -46
- package/dist/api/commission-agreement-versions-api.js +14 -39
- package/dist/api/commission-agreements-api.js +17 -46
- package/dist/api/commission-recipients-api.js +17 -46
- package/dist/api/emil-functions-api.js +35 -88
- package/dist/api/health-check-api.js +5 -18
- package/dist/api/insured-object-types-api.js +5 -18
- package/dist/api/insured-objects-api.js +14 -39
- package/dist/api/lead-statuses-api.js +17 -46
- package/dist/api/lead-versions-api.js +8 -25
- package/dist/api/leads-api.js +32 -81
- package/dist/api/named-ranges-api.js +20 -53
- package/dist/api/partner-links-api.js +20 -53
- package/dist/api/partner-roles-api.js +17 -46
- package/dist/api/policies-api.js +50 -123
- package/dist/api/premium-formulas-api.js +20 -53
- package/dist/api/product-factors-api.js +23 -60
- package/dist/api/product-fields-api.js +23 -60
- package/dist/api/product-versions-api.js +8 -25
- package/dist/api/products-api.js +20 -53
- package/dist/api/status-transition-rules-api.js +20 -53
- package/dist/base.js +5 -5
- package/dist/common.d.ts +1 -1
- package/dist/common.js +2 -2
- package/dist/models/create-product-field-request-dto.d.ts +0 -22
- package/dist/models/create-product-field-request-dto.js +1 -9
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/dist/models/product-field-class.d.ts +0 -34
- package/dist/models/product-field-class.js +0 -9
- package/dist/models/shared-product-field-class.d.ts +0 -34
- package/dist/models/shared-product-field-class.js +0 -9
- package/dist/models/update-product-field-request-dto.d.ts +0 -22
- package/dist/models/update-product-field-request-dto.js +1 -9
- package/models/create-product-field-request-dto.ts +0 -24
- package/models/index.ts +0 -1
- package/models/product-field-class.ts +0 -38
- package/models/shared-product-field-class.ts +0 -38
- package/models/update-product-field-request-dto.ts +0 -24
- package/package.json +3 -3
- package/dist/models/create-product-version-request-dto.d.ts +0 -30
- package/dist/models/create-product-version-request-dto.js +0 -15
- package/models/create-product-version-request-dto.ts +0 -36
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g
|
|
52
|
-
return g
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
-
if (ar || !(i in from)) {
|
|
80
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
-
ar[i] = from[i];
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
-
};
|
|
86
77
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
87
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
88
79
|
};
|
|
@@ -109,14 +100,10 @@ var PartnerLinksApiAxiosParamCreator = function (configuration) {
|
|
|
109
100
|
* @param {*} [options] Override http request option.
|
|
110
101
|
* @throws {RequiredError}
|
|
111
102
|
*/
|
|
112
|
-
deletePartnerLink: function (
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
args_1[_i - 2] = arguments[_i];
|
|
116
|
-
}
|
|
117
|
-
return __awaiter(_this, __spreadArray([id_1, authorization_1], args_1, true), void 0, function (id, authorization, options) {
|
|
103
|
+
deletePartnerLink: function (id, authorization, options) {
|
|
104
|
+
if (options === void 0) { options = {}; }
|
|
105
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
118
106
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
119
|
-
if (options === void 0) { options = {}; }
|
|
120
107
|
return __generator(this, function (_a) {
|
|
121
108
|
switch (_a.label) {
|
|
122
109
|
case 0:
|
|
@@ -162,14 +149,10 @@ var PartnerLinksApiAxiosParamCreator = function (configuration) {
|
|
|
162
149
|
* @param {*} [options] Override http request option.
|
|
163
150
|
* @throws {RequiredError}
|
|
164
151
|
*/
|
|
165
|
-
getPartnerLink: function (
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
args_1[_i - 3] = arguments[_i];
|
|
169
|
-
}
|
|
170
|
-
return __awaiter(_this, __spreadArray([id_1, authorization_1, expand_1], args_1, true), void 0, function (id, authorization, expand, options) {
|
|
152
|
+
getPartnerLink: function (id, authorization, expand, options) {
|
|
153
|
+
if (options === void 0) { options = {}; }
|
|
154
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
171
155
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
172
|
-
if (options === void 0) { options = {}; }
|
|
173
156
|
return __generator(this, function (_a) {
|
|
174
157
|
switch (_a.label) {
|
|
175
158
|
case 0:
|
|
@@ -217,14 +200,10 @@ var PartnerLinksApiAxiosParamCreator = function (configuration) {
|
|
|
217
200
|
* @param {*} [options] Override http request option.
|
|
218
201
|
* @throws {RequiredError}
|
|
219
202
|
*/
|
|
220
|
-
linkPartner: function (
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
args_1[_i - 2] = arguments[_i];
|
|
224
|
-
}
|
|
225
|
-
return __awaiter(_this, __spreadArray([linkPartnerRequestDto_1, authorization_1], args_1, true), void 0, function (linkPartnerRequestDto, authorization, options) {
|
|
203
|
+
linkPartner: function (linkPartnerRequestDto, authorization, options) {
|
|
204
|
+
if (options === void 0) { options = {}; }
|
|
205
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
226
206
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
227
|
-
if (options === void 0) { options = {}; }
|
|
228
207
|
return __generator(this, function (_a) {
|
|
229
208
|
switch (_a.label) {
|
|
230
209
|
case 0:
|
|
@@ -276,14 +255,10 @@ var PartnerLinksApiAxiosParamCreator = function (configuration) {
|
|
|
276
255
|
* @param {*} [options] Override http request option.
|
|
277
256
|
* @throws {RequiredError}
|
|
278
257
|
*/
|
|
279
|
-
listPartnerLinks: function (
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
args_1[_i - 8] = arguments[_i];
|
|
283
|
-
}
|
|
284
|
-
return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
258
|
+
listPartnerLinks: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
259
|
+
if (options === void 0) { options = {}; }
|
|
260
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
285
261
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
286
|
-
if (options === void 0) { options = {}; }
|
|
287
262
|
return __generator(this, function (_a) {
|
|
288
263
|
switch (_a.label) {
|
|
289
264
|
case 0:
|
|
@@ -346,14 +321,10 @@ var PartnerLinksApiAxiosParamCreator = function (configuration) {
|
|
|
346
321
|
* @param {*} [options] Override http request option.
|
|
347
322
|
* @throws {RequiredError}
|
|
348
323
|
*/
|
|
349
|
-
unlinkPartner: function (
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
args_1[_i - 2] = arguments[_i];
|
|
353
|
-
}
|
|
354
|
-
return __awaiter(_this, __spreadArray([id_1, authorization_1], args_1, true), void 0, function (id, authorization, options) {
|
|
324
|
+
unlinkPartner: function (id, authorization, options) {
|
|
325
|
+
if (options === void 0) { options = {}; }
|
|
326
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
355
327
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
356
|
-
if (options === void 0) { options = {}; }
|
|
357
328
|
return __generator(this, function (_a) {
|
|
358
329
|
switch (_a.label) {
|
|
359
330
|
case 0:
|
|
@@ -399,14 +370,10 @@ var PartnerLinksApiAxiosParamCreator = function (configuration) {
|
|
|
399
370
|
* @param {*} [options] Override http request option.
|
|
400
371
|
* @throws {RequiredError}
|
|
401
372
|
*/
|
|
402
|
-
updatePartnerLink: function (
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
args_1[_i - 3] = arguments[_i];
|
|
406
|
-
}
|
|
407
|
-
return __awaiter(_this, __spreadArray([id_1, updatePartnerLinkRequestDto_1, authorization_1], args_1, true), void 0, function (id, updatePartnerLinkRequestDto, authorization, options) {
|
|
373
|
+
updatePartnerLink: function (id, updatePartnerLinkRequestDto, authorization, options) {
|
|
374
|
+
if (options === void 0) { options = {}; }
|
|
375
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
408
376
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
409
|
-
if (options === void 0) { options = {}; }
|
|
410
377
|
return __generator(this, function (_a) {
|
|
411
378
|
switch (_a.label) {
|
|
412
379
|
case 0:
|
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g
|
|
52
|
-
return g
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
-
if (ar || !(i in from)) {
|
|
80
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
-
ar[i] = from[i];
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
-
};
|
|
86
77
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
87
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
88
79
|
};
|
|
@@ -109,14 +100,10 @@ var PartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
109
100
|
* @param {*} [options] Override http request option.
|
|
110
101
|
* @throws {RequiredError}
|
|
111
102
|
*/
|
|
112
|
-
createPartnerRole: function (
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
args_1[_i - 2] = arguments[_i];
|
|
116
|
-
}
|
|
117
|
-
return __awaiter(_this, __spreadArray([createPartnerRoleRequestDto_1, authorization_1], args_1, true), void 0, function (createPartnerRoleRequestDto, authorization, options) {
|
|
103
|
+
createPartnerRole: function (createPartnerRoleRequestDto, authorization, options) {
|
|
104
|
+
if (options === void 0) { options = {}; }
|
|
105
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
118
106
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
119
|
-
if (options === void 0) { options = {}; }
|
|
120
107
|
return __generator(this, function (_a) {
|
|
121
108
|
switch (_a.label) {
|
|
122
109
|
case 0:
|
|
@@ -162,14 +149,10 @@ var PartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
162
149
|
* @param {*} [options] Override http request option.
|
|
163
150
|
* @throws {RequiredError}
|
|
164
151
|
*/
|
|
165
|
-
deletePartnerRole: function (
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
args_1[_i - 2] = arguments[_i];
|
|
169
|
-
}
|
|
170
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
152
|
+
deletePartnerRole: function (code, authorization, options) {
|
|
153
|
+
if (options === void 0) { options = {}; }
|
|
154
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
171
155
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
172
|
-
if (options === void 0) { options = {}; }
|
|
173
156
|
return __generator(this, function (_a) {
|
|
174
157
|
switch (_a.label) {
|
|
175
158
|
case 0:
|
|
@@ -214,14 +197,10 @@ var PartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
214
197
|
* @param {*} [options] Override http request option.
|
|
215
198
|
* @throws {RequiredError}
|
|
216
199
|
*/
|
|
217
|
-
getPartnerRole: function (
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
args_1[_i - 2] = arguments[_i];
|
|
221
|
-
}
|
|
222
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
200
|
+
getPartnerRole: function (code, authorization, options) {
|
|
201
|
+
if (options === void 0) { options = {}; }
|
|
202
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
223
203
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
224
|
-
if (options === void 0) { options = {}; }
|
|
225
204
|
return __generator(this, function (_a) {
|
|
226
205
|
switch (_a.label) {
|
|
227
206
|
case 0:
|
|
@@ -272,14 +251,10 @@ var PartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
272
251
|
* @param {*} [options] Override http request option.
|
|
273
252
|
* @throws {RequiredError}
|
|
274
253
|
*/
|
|
275
|
-
listPartnerRole: function (
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
args_1[_i - 8] = arguments[_i];
|
|
279
|
-
}
|
|
280
|
-
return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
254
|
+
listPartnerRole: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
255
|
+
if (options === void 0) { options = {}; }
|
|
256
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
281
257
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
282
|
-
if (options === void 0) { options = {}; }
|
|
283
258
|
return __generator(this, function (_a) {
|
|
284
259
|
switch (_a.label) {
|
|
285
260
|
case 0:
|
|
@@ -343,14 +318,10 @@ var PartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
343
318
|
* @param {*} [options] Override http request option.
|
|
344
319
|
* @throws {RequiredError}
|
|
345
320
|
*/
|
|
346
|
-
updatePartnerRole: function (
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
args_1[_i - 3] = arguments[_i];
|
|
350
|
-
}
|
|
351
|
-
return __awaiter(_this, __spreadArray([code_1, updatePartnerRoleRequestDto_1, authorization_1], args_1, true), void 0, function (code, updatePartnerRoleRequestDto, authorization, options) {
|
|
321
|
+
updatePartnerRole: function (code, updatePartnerRoleRequestDto, authorization, options) {
|
|
322
|
+
if (options === void 0) { options = {}; }
|
|
323
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
352
324
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
353
|
-
if (options === void 0) { options = {}; }
|
|
354
325
|
return __generator(this, function (_a) {
|
|
355
326
|
switch (_a.label) {
|
|
356
327
|
case 0:
|
package/dist/api/policies-api.js
CHANGED
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g
|
|
52
|
-
return g
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
-
if (ar || !(i in from)) {
|
|
80
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
-
ar[i] = from[i];
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
-
};
|
|
86
77
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
87
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
88
79
|
};
|
|
@@ -110,14 +101,10 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
110
101
|
* @param {*} [options] Override http request option.
|
|
111
102
|
* @throws {RequiredError}
|
|
112
103
|
*/
|
|
113
|
-
activatePolicy: function (
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
args_1[_i - 3] = arguments[_i];
|
|
117
|
-
}
|
|
118
|
-
return __awaiter(_this, __spreadArray([policyCode_1, activatePolicyRequestDto_1, authorization_1], args_1, true), void 0, function (policyCode, activatePolicyRequestDto, authorization, options) {
|
|
104
|
+
activatePolicy: function (policyCode, activatePolicyRequestDto, authorization, options) {
|
|
105
|
+
if (options === void 0) { options = {}; }
|
|
106
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
119
107
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
120
|
-
if (options === void 0) { options = {}; }
|
|
121
108
|
return __generator(this, function (_a) {
|
|
122
109
|
switch (_a.label) {
|
|
123
110
|
case 0:
|
|
@@ -167,14 +154,10 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
167
154
|
* @param {*} [options] Override http request option.
|
|
168
155
|
* @throws {RequiredError}
|
|
169
156
|
*/
|
|
170
|
-
createDraftPolicy: function (
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
args_1[_i - 3] = arguments[_i];
|
|
174
|
-
}
|
|
175
|
-
return __awaiter(_this, __spreadArray([policyCode_1, createDraftPolicyRequestDto_1, authorization_1], args_1, true), void 0, function (policyCode, createDraftPolicyRequestDto, authorization, options) {
|
|
157
|
+
createDraftPolicy: function (policyCode, createDraftPolicyRequestDto, authorization, options) {
|
|
158
|
+
if (options === void 0) { options = {}; }
|
|
159
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
176
160
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
177
|
-
if (options === void 0) { options = {}; }
|
|
178
161
|
return __generator(this, function (_a) {
|
|
179
162
|
switch (_a.label) {
|
|
180
163
|
case 0:
|
|
@@ -223,14 +206,10 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
223
206
|
* @param {*} [options] Override http request option.
|
|
224
207
|
* @throws {RequiredError}
|
|
225
208
|
*/
|
|
226
|
-
createPolicy: function (
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
args_1[_i - 2] = arguments[_i];
|
|
230
|
-
}
|
|
231
|
-
return __awaiter(_this, __spreadArray([createPolicyRequestDto_1, authorization_1], args_1, true), void 0, function (createPolicyRequestDto, authorization, options) {
|
|
209
|
+
createPolicy: function (createPolicyRequestDto, authorization, options) {
|
|
210
|
+
if (options === void 0) { options = {}; }
|
|
211
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
232
212
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
233
|
-
if (options === void 0) { options = {}; }
|
|
234
213
|
return __generator(this, function (_a) {
|
|
235
214
|
switch (_a.label) {
|
|
236
215
|
case 0:
|
|
@@ -276,14 +255,10 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
276
255
|
* @param {*} [options] Override http request option.
|
|
277
256
|
* @throws {RequiredError}
|
|
278
257
|
*/
|
|
279
|
-
deleteDraftPolicy: function (
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
args_1[_i - 2] = arguments[_i];
|
|
283
|
-
}
|
|
284
|
-
return __awaiter(_this, __spreadArray([policyCode_1, authorization_1], args_1, true), void 0, function (policyCode, authorization, options) {
|
|
258
|
+
deleteDraftPolicy: function (policyCode, authorization, options) {
|
|
259
|
+
if (options === void 0) { options = {}; }
|
|
260
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
285
261
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
286
|
-
if (options === void 0) { options = {}; }
|
|
287
262
|
return __generator(this, function (_a) {
|
|
288
263
|
switch (_a.label) {
|
|
289
264
|
case 0:
|
|
@@ -329,14 +304,10 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
329
304
|
* @param {*} [options] Override http request option.
|
|
330
305
|
* @throws {RequiredError}
|
|
331
306
|
*/
|
|
332
|
-
getDraftPolicy: function (
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
args_1[_i - 3] = arguments[_i];
|
|
336
|
-
}
|
|
337
|
-
return __awaiter(_this, __spreadArray([policyCode_1, authorization_1, expand_1], args_1, true), void 0, function (policyCode, authorization, expand, options) {
|
|
307
|
+
getDraftPolicy: function (policyCode, authorization, expand, options) {
|
|
308
|
+
if (options === void 0) { options = {}; }
|
|
309
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
338
310
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
339
|
-
if (options === void 0) { options = {}; }
|
|
340
311
|
return __generator(this, function (_a) {
|
|
341
312
|
switch (_a.label) {
|
|
342
313
|
case 0:
|
|
@@ -385,14 +356,10 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
385
356
|
* @param {*} [options] Override http request option.
|
|
386
357
|
* @throws {RequiredError}
|
|
387
358
|
*/
|
|
388
|
-
getPolicy: function (
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
args_1[_i - 3] = arguments[_i];
|
|
392
|
-
}
|
|
393
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1, expand_1], args_1, true), void 0, function (code, authorization, expand, options) {
|
|
359
|
+
getPolicy: function (code, authorization, expand, options) {
|
|
360
|
+
if (options === void 0) { options = {}; }
|
|
361
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
394
362
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
395
|
-
if (options === void 0) { options = {}; }
|
|
396
363
|
return __generator(this, function (_a) {
|
|
397
364
|
switch (_a.label) {
|
|
398
365
|
case 0:
|
|
@@ -442,14 +409,10 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
442
409
|
* @param {*} [options] Override http request option.
|
|
443
410
|
* @throws {RequiredError}
|
|
444
411
|
*/
|
|
445
|
-
getPolicyDataByDate: function (
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
args_1[_i - 4] = arguments[_i];
|
|
449
|
-
}
|
|
450
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1, timesliceDate_1, expand_1], args_1, true), void 0, function (code, authorization, timesliceDate, expand, options) {
|
|
412
|
+
getPolicyDataByDate: function (code, authorization, timesliceDate, expand, options) {
|
|
413
|
+
if (options === void 0) { options = {}; }
|
|
414
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
451
415
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
452
|
-
if (options === void 0) { options = {}; }
|
|
453
416
|
return __generator(this, function (_a) {
|
|
454
417
|
switch (_a.label) {
|
|
455
418
|
case 0:
|
|
@@ -506,14 +469,10 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
506
469
|
* @param {*} [options] Override http request option.
|
|
507
470
|
* @throws {RequiredError}
|
|
508
471
|
*/
|
|
509
|
-
listPolicies: function (
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
args_1[_i - 8] = arguments[_i];
|
|
513
|
-
}
|
|
514
|
-
return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
472
|
+
listPolicies: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
473
|
+
if (options === void 0) { options = {}; }
|
|
474
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
515
475
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
516
|
-
if (options === void 0) { options = {}; }
|
|
517
476
|
return __generator(this, function (_a) {
|
|
518
477
|
switch (_a.label) {
|
|
519
478
|
case 0:
|
|
@@ -582,14 +541,10 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
582
541
|
* @param {*} [options] Override http request option.
|
|
583
542
|
* @throws {RequiredError}
|
|
584
543
|
*/
|
|
585
|
-
listPolicyObjects: function (
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
args_1[_i - 8] = arguments[_i];
|
|
589
|
-
}
|
|
590
|
-
return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
544
|
+
listPolicyObjects: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
545
|
+
if (options === void 0) { options = {}; }
|
|
546
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
591
547
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
592
|
-
if (options === void 0) { options = {}; }
|
|
593
548
|
return __generator(this, function (_a) {
|
|
594
549
|
switch (_a.label) {
|
|
595
550
|
case 0:
|
|
@@ -659,14 +614,10 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
659
614
|
* @param {*} [options] Override http request option.
|
|
660
615
|
* @throws {RequiredError}
|
|
661
616
|
*/
|
|
662
|
-
listPolicyVersions: function (
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
args_1[_i - 9] = arguments[_i];
|
|
666
|
-
}
|
|
667
|
-
return __awaiter(_this, __spreadArray([policyCode_1, authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (policyCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
617
|
+
listPolicyVersions: function (policyCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
618
|
+
if (options === void 0) { options = {}; }
|
|
619
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
668
620
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
669
|
-
if (options === void 0) { options = {}; }
|
|
670
621
|
return __generator(this, function (_a) {
|
|
671
622
|
switch (_a.label) {
|
|
672
623
|
case 0:
|
|
@@ -733,14 +684,10 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
733
684
|
* @param {*} [options] Override http request option.
|
|
734
685
|
* @throws {RequiredError}
|
|
735
686
|
*/
|
|
736
|
-
patchDraftPolicy: function (
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
args_1[_i - 3] = arguments[_i];
|
|
740
|
-
}
|
|
741
|
-
return __awaiter(_this, __spreadArray([policyCode_1, patchDraftPolicyRequestDto_1, authorization_1], args_1, true), void 0, function (policyCode, patchDraftPolicyRequestDto, authorization, options) {
|
|
687
|
+
patchDraftPolicy: function (policyCode, patchDraftPolicyRequestDto, authorization, options) {
|
|
688
|
+
if (options === void 0) { options = {}; }
|
|
689
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
742
690
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
743
|
-
if (options === void 0) { options = {}; }
|
|
744
691
|
return __generator(this, function (_a) {
|
|
745
692
|
switch (_a.label) {
|
|
746
693
|
case 0:
|
|
@@ -790,14 +737,10 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
790
737
|
* @param {*} [options] Override http request option.
|
|
791
738
|
* @throws {RequiredError}
|
|
792
739
|
*/
|
|
793
|
-
patchPolicy: function (
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
args_1[_i - 3] = arguments[_i];
|
|
797
|
-
}
|
|
798
|
-
return __awaiter(_this, __spreadArray([code_1, patchPolicyRequestDto_1, authorization_1], args_1, true), void 0, function (code, patchPolicyRequestDto, authorization, options) {
|
|
740
|
+
patchPolicy: function (code, patchPolicyRequestDto, authorization, options) {
|
|
741
|
+
if (options === void 0) { options = {}; }
|
|
742
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
799
743
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
800
|
-
if (options === void 0) { options = {}; }
|
|
801
744
|
return __generator(this, function (_a) {
|
|
802
745
|
switch (_a.label) {
|
|
803
746
|
case 0:
|
|
@@ -847,14 +790,10 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
847
790
|
* @param {*} [options] Override http request option.
|
|
848
791
|
* @throws {RequiredError}
|
|
849
792
|
*/
|
|
850
|
-
suspendPolicy: function (
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
args_1[_i - 3] = arguments[_i];
|
|
854
|
-
}
|
|
855
|
-
return __awaiter(_this, __spreadArray([policyCode_1, suspendPolicyRequestDto_1, authorization_1], args_1, true), void 0, function (policyCode, suspendPolicyRequestDto, authorization, options) {
|
|
793
|
+
suspendPolicy: function (policyCode, suspendPolicyRequestDto, authorization, options) {
|
|
794
|
+
if (options === void 0) { options = {}; }
|
|
795
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
856
796
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
857
|
-
if (options === void 0) { options = {}; }
|
|
858
797
|
return __generator(this, function (_a) {
|
|
859
798
|
switch (_a.label) {
|
|
860
799
|
case 0:
|
|
@@ -904,14 +843,10 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
904
843
|
* @param {*} [options] Override http request option.
|
|
905
844
|
* @throws {RequiredError}
|
|
906
845
|
*/
|
|
907
|
-
terminatePolicy: function (
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
args_1[_i - 3] = arguments[_i];
|
|
911
|
-
}
|
|
912
|
-
return __awaiter(_this, __spreadArray([policyCode_1, terminatePolicyRequestDto_1, authorization_1], args_1, true), void 0, function (policyCode, terminatePolicyRequestDto, authorization, options) {
|
|
846
|
+
terminatePolicy: function (policyCode, terminatePolicyRequestDto, authorization, options) {
|
|
847
|
+
if (options === void 0) { options = {}; }
|
|
848
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
913
849
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
914
|
-
if (options === void 0) { options = {}; }
|
|
915
850
|
return __generator(this, function (_a) {
|
|
916
851
|
switch (_a.label) {
|
|
917
852
|
case 0:
|
|
@@ -961,14 +896,10 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
961
896
|
* @param {*} [options] Override http request option.
|
|
962
897
|
* @throws {RequiredError}
|
|
963
898
|
*/
|
|
964
|
-
updatePolicy: function (
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
args_1[_i - 3] = arguments[_i];
|
|
968
|
-
}
|
|
969
|
-
return __awaiter(_this, __spreadArray([code_1, updatePolicyRequestDto_1, authorization_1], args_1, true), void 0, function (code, updatePolicyRequestDto, authorization, options) {
|
|
899
|
+
updatePolicy: function (code, updatePolicyRequestDto, authorization, options) {
|
|
900
|
+
if (options === void 0) { options = {}; }
|
|
901
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
970
902
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
971
|
-
if (options === void 0) { options = {}; }
|
|
972
903
|
return __generator(this, function (_a) {
|
|
973
904
|
switch (_a.label) {
|
|
974
905
|
case 0:
|
|
@@ -1018,14 +949,10 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
1018
949
|
* @param {*} [options] Override http request option.
|
|
1019
950
|
* @throws {RequiredError}
|
|
1020
951
|
*/
|
|
1021
|
-
withdrawPolicy: function (
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
args_1[_i - 3] = arguments[_i];
|
|
1025
|
-
}
|
|
1026
|
-
return __awaiter(_this, __spreadArray([policyCode_1, body_1, authorization_1], args_1, true), void 0, function (policyCode, body, authorization, options) {
|
|
952
|
+
withdrawPolicy: function (policyCode, body, authorization, options) {
|
|
953
|
+
if (options === void 0) { options = {}; }
|
|
954
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
1027
955
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1028
|
-
if (options === void 0) { options = {}; }
|
|
1029
956
|
return __generator(this, function (_a) {
|
|
1030
957
|
switch (_a.label) {
|
|
1031
958
|
case 0:
|