@emilgroup/insurance-sdk-node 1.70.1-beta.2 → 1.70.1-beta.3
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/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 +15 -25
- package/dist/common.d.ts +1 -1
- package/dist/common.js +2 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/insurance-sdk-node@1.70.1-beta.
|
|
20
|
+
npm install @emilgroup/insurance-sdk-node@1.70.1-beta.3 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/insurance-sdk-node@1.70.1-beta.
|
|
24
|
+
yarn add @emilgroup/insurance-sdk-node@1.70.1-beta.3
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PoliciesApi`.
|
|
@@ -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
|
};
|
|
@@ -114,14 +105,10 @@ var BookingFunnelVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
114
105
|
* @param {*} [options] Override http request option.
|
|
115
106
|
* @throws {RequiredError}
|
|
116
107
|
*/
|
|
117
|
-
getBookingFunnelVersion: function (
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
args_1[_i - 3] = arguments[_i];
|
|
121
|
-
}
|
|
122
|
-
return __awaiter(_this, __spreadArray([code_1, version_1, authorization_1], args_1, true), void 0, function (code, version, authorization, options) {
|
|
108
|
+
getBookingFunnelVersion: function (code, version, authorization, options) {
|
|
109
|
+
if (options === void 0) { options = {}; }
|
|
110
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
123
111
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
124
|
-
if (options === void 0) { options = {}; }
|
|
125
112
|
return __generator(this, function (_a) {
|
|
126
113
|
switch (_a.label) {
|
|
127
114
|
case 0:
|
|
@@ -176,14 +163,10 @@ var BookingFunnelVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
176
163
|
* @param {*} [options] Override http request option.
|
|
177
164
|
* @throws {RequiredError}
|
|
178
165
|
*/
|
|
179
|
-
listBookingFunnelVersions: function (
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
args_1[_i - 9] = arguments[_i];
|
|
183
|
-
}
|
|
184
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
166
|
+
listBookingFunnelVersions: function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
167
|
+
if (options === void 0) { options = {}; }
|
|
168
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
185
169
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
186
|
-
if (options === void 0) { options = {}; }
|
|
187
170
|
return __generator(this, function (_a) {
|
|
188
171
|
switch (_a.label) {
|
|
189
172
|
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
|
};
|
|
@@ -113,14 +104,10 @@ var BookingFunnelsApiAxiosParamCreator = function (configuration) {
|
|
|
113
104
|
* @param {*} [options] Override http request option.
|
|
114
105
|
* @throws {RequiredError}
|
|
115
106
|
*/
|
|
116
|
-
createBookingFunnel: function (
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
args_1[_i - 2] = arguments[_i];
|
|
120
|
-
}
|
|
121
|
-
return __awaiter(_this, __spreadArray([createBookingFunnelRequestDto_1, authorization_1], args_1, true), void 0, function (createBookingFunnelRequestDto, authorization, options) {
|
|
107
|
+
createBookingFunnel: function (createBookingFunnelRequestDto, authorization, options) {
|
|
108
|
+
if (options === void 0) { options = {}; }
|
|
109
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
122
110
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
123
|
-
if (options === void 0) { options = {}; }
|
|
124
111
|
return __generator(this, function (_a) {
|
|
125
112
|
switch (_a.label) {
|
|
126
113
|
case 0:
|
|
@@ -166,14 +153,10 @@ var BookingFunnelsApiAxiosParamCreator = function (configuration) {
|
|
|
166
153
|
* @param {*} [options] Override http request option.
|
|
167
154
|
* @throws {RequiredError}
|
|
168
155
|
*/
|
|
169
|
-
deleteBookingFunnel: function (
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
args_1[_i - 2] = arguments[_i];
|
|
173
|
-
}
|
|
174
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
156
|
+
deleteBookingFunnel: function (code, authorization, options) {
|
|
157
|
+
if (options === void 0) { options = {}; }
|
|
158
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
175
159
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
176
|
-
if (options === void 0) { options = {}; }
|
|
177
160
|
return __generator(this, function (_a) {
|
|
178
161
|
switch (_a.label) {
|
|
179
162
|
case 0:
|
|
@@ -218,14 +201,10 @@ var BookingFunnelsApiAxiosParamCreator = function (configuration) {
|
|
|
218
201
|
* @param {*} [options] Override http request option.
|
|
219
202
|
* @throws {RequiredError}
|
|
220
203
|
*/
|
|
221
|
-
getBookingFunnel: function (
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
args_1[_i - 2] = arguments[_i];
|
|
225
|
-
}
|
|
226
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
204
|
+
getBookingFunnel: function (code, authorization, options) {
|
|
205
|
+
if (options === void 0) { options = {}; }
|
|
206
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
227
207
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
228
|
-
if (options === void 0) { options = {}; }
|
|
229
208
|
return __generator(this, function (_a) {
|
|
230
209
|
switch (_a.label) {
|
|
231
210
|
case 0:
|
|
@@ -276,14 +255,10 @@ var BookingFunnelsApiAxiosParamCreator = function (configuration) {
|
|
|
276
255
|
* @param {*} [options] Override http request option.
|
|
277
256
|
* @throws {RequiredError}
|
|
278
257
|
*/
|
|
279
|
-
listBookingFunnels: 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
|
+
listBookingFunnels: 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 BookingFunnelsApiAxiosParamCreator = function (configuration) {
|
|
|
346
321
|
* @param {*} [options] Override http request option.
|
|
347
322
|
* @throws {RequiredError}
|
|
348
323
|
*/
|
|
349
|
-
patchBookingFunnel: function (
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
args_1[_i - 3] = arguments[_i];
|
|
353
|
-
}
|
|
354
|
-
return __awaiter(_this, __spreadArray([code_1, patchBookingFunnelRequestDto_1, authorization_1], args_1, true), void 0, function (code, patchBookingFunnelRequestDto, authorization, options) {
|
|
324
|
+
patchBookingFunnel: function (code, patchBookingFunnelRequestDto, 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:
|
|
@@ -403,14 +374,10 @@ var BookingFunnelsApiAxiosParamCreator = function (configuration) {
|
|
|
403
374
|
* @param {*} [options] Override http request option.
|
|
404
375
|
* @throws {RequiredError}
|
|
405
376
|
*/
|
|
406
|
-
updateBookingFunnel: function (
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
args_1[_i - 3] = arguments[_i];
|
|
410
|
-
}
|
|
411
|
-
return __awaiter(_this, __spreadArray([code_1, updateBookingFunnelRequestDto_1, authorization_1], args_1, true), void 0, function (code, updateBookingFunnelRequestDto, authorization, options) {
|
|
377
|
+
updateBookingFunnel: function (code, updateBookingFunnelRequestDto, authorization, options) {
|
|
378
|
+
if (options === void 0) { options = {}; }
|
|
379
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
412
380
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
413
|
-
if (options === void 0) { options = {}; }
|
|
414
381
|
return __generator(this, function (_a) {
|
|
415
382
|
switch (_a.label) {
|
|
416
383
|
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
|
};
|
|
@@ -114,14 +105,10 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
|
|
|
114
105
|
* @param {*} [options] Override http request option.
|
|
115
106
|
* @throws {RequiredError}
|
|
116
107
|
*/
|
|
117
|
-
createCommissionAgreementItem: function (
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
args_1[_i - 3] = arguments[_i];
|
|
121
|
-
}
|
|
122
|
-
return __awaiter(_this, __spreadArray([code_1, createCommissionAgreementItemRequestDto_1, authorization_1], args_1, true), void 0, function (code, createCommissionAgreementItemRequestDto, authorization, options) {
|
|
108
|
+
createCommissionAgreementItem: function (code, createCommissionAgreementItemRequestDto, authorization, options) {
|
|
109
|
+
if (options === void 0) { options = {}; }
|
|
110
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
123
111
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
124
|
-
if (options === void 0) { options = {}; }
|
|
125
112
|
return __generator(this, function (_a) {
|
|
126
113
|
switch (_a.label) {
|
|
127
114
|
case 0:
|
|
@@ -170,14 +157,10 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
|
|
|
170
157
|
* @param {*} [options] Override http request option.
|
|
171
158
|
* @throws {RequiredError}
|
|
172
159
|
*/
|
|
173
|
-
deleteCommissionAgreementItem: function (
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
args_1[_i - 2] = arguments[_i];
|
|
177
|
-
}
|
|
178
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
160
|
+
deleteCommissionAgreementItem: function (code, authorization, options) {
|
|
161
|
+
if (options === void 0) { options = {}; }
|
|
162
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
179
163
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
180
|
-
if (options === void 0) { options = {}; }
|
|
181
164
|
return __generator(this, function (_a) {
|
|
182
165
|
switch (_a.label) {
|
|
183
166
|
case 0:
|
|
@@ -223,14 +206,10 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
|
|
|
223
206
|
* @param {*} [options] Override http request option.
|
|
224
207
|
* @throws {RequiredError}
|
|
225
208
|
*/
|
|
226
|
-
getCommissionAgreementItem: function (
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
args_1[_i - 3] = arguments[_i];
|
|
230
|
-
}
|
|
231
|
-
return __awaiter(_this, __spreadArray([code_1, expand_1, authorization_1], args_1, true), void 0, function (code, expand, authorization, options) {
|
|
209
|
+
getCommissionAgreementItem: function (code, expand, 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:
|
|
@@ -286,14 +265,10 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
|
|
|
286
265
|
* @param {*} [options] Override http request option.
|
|
287
266
|
* @throws {RequiredError}
|
|
288
267
|
*/
|
|
289
|
-
listCommissionAgreementItems: function (
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
args_1[_i - 8] = arguments[_i];
|
|
293
|
-
}
|
|
294
|
-
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) {
|
|
268
|
+
listCommissionAgreementItems: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
269
|
+
if (options === void 0) { options = {}; }
|
|
270
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
295
271
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
296
|
-
if (options === void 0) { options = {}; }
|
|
297
272
|
return __generator(this, function (_a) {
|
|
298
273
|
switch (_a.label) {
|
|
299
274
|
case 0:
|
|
@@ -357,14 +332,10 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
|
|
|
357
332
|
* @param {*} [options] Override http request option.
|
|
358
333
|
* @throws {RequiredError}
|
|
359
334
|
*/
|
|
360
|
-
updateCommissionAgreementItem: function (
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
args_1[_i - 3] = arguments[_i];
|
|
364
|
-
}
|
|
365
|
-
return __awaiter(_this, __spreadArray([code_1, updateCommissionAgreementItemRequestDto_1, authorization_1], args_1, true), void 0, function (code, updateCommissionAgreementItemRequestDto, authorization, options) {
|
|
335
|
+
updateCommissionAgreementItem: function (code, updateCommissionAgreementItemRequestDto, authorization, options) {
|
|
336
|
+
if (options === void 0) { options = {}; }
|
|
337
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
366
338
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
367
|
-
if (options === void 0) { options = {}; }
|
|
368
339
|
return __generator(this, function (_a) {
|
|
369
340
|
switch (_a.label) {
|
|
370
341
|
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
|
};
|
|
@@ -114,14 +105,10 @@ var CommissionAgreementProductsApiAxiosParamCreator = function (configuration) {
|
|
|
114
105
|
* @param {*} [options] Override http request option.
|
|
115
106
|
* @throws {RequiredError}
|
|
116
107
|
*/
|
|
117
|
-
createCommissionAgreementProduct: function (
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
args_1[_i - 3] = arguments[_i];
|
|
121
|
-
}
|
|
122
|
-
return __awaiter(_this, __spreadArray([code_1, createCommissionAgreementProductRequestDto_1, authorization_1], args_1, true), void 0, function (code, createCommissionAgreementProductRequestDto, authorization, options) {
|
|
108
|
+
createCommissionAgreementProduct: function (code, createCommissionAgreementProductRequestDto, authorization, options) {
|
|
109
|
+
if (options === void 0) { options = {}; }
|
|
110
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
123
111
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
124
|
-
if (options === void 0) { options = {}; }
|
|
125
112
|
return __generator(this, function (_a) {
|
|
126
113
|
switch (_a.label) {
|
|
127
114
|
case 0:
|
|
@@ -170,14 +157,10 @@ var CommissionAgreementProductsApiAxiosParamCreator = function (configuration) {
|
|
|
170
157
|
* @param {*} [options] Override http request option.
|
|
171
158
|
* @throws {RequiredError}
|
|
172
159
|
*/
|
|
173
|
-
deleteCommissionAgreementProduct: function (
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
args_1[_i - 2] = arguments[_i];
|
|
177
|
-
}
|
|
178
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
160
|
+
deleteCommissionAgreementProduct: function (code, authorization, options) {
|
|
161
|
+
if (options === void 0) { options = {}; }
|
|
162
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
179
163
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
180
|
-
if (options === void 0) { options = {}; }
|
|
181
164
|
return __generator(this, function (_a) {
|
|
182
165
|
switch (_a.label) {
|
|
183
166
|
case 0:
|
|
@@ -223,14 +206,10 @@ var CommissionAgreementProductsApiAxiosParamCreator = function (configuration) {
|
|
|
223
206
|
* @param {*} [options] Override http request option.
|
|
224
207
|
* @throws {RequiredError}
|
|
225
208
|
*/
|
|
226
|
-
getCommissionAgreementProduct: function (
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
args_1[_i - 3] = arguments[_i];
|
|
230
|
-
}
|
|
231
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1, expand_1], args_1, true), void 0, function (code, authorization, expand, options) {
|
|
209
|
+
getCommissionAgreementProduct: function (code, authorization, expand, 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:
|
|
@@ -284,14 +263,10 @@ var CommissionAgreementProductsApiAxiosParamCreator = function (configuration) {
|
|
|
284
263
|
* @param {*} [options] Override http request option.
|
|
285
264
|
* @throws {RequiredError}
|
|
286
265
|
*/
|
|
287
|
-
listCommissionAgreementProducts: function (
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
args_1[_i - 8] = arguments[_i];
|
|
291
|
-
}
|
|
292
|
-
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) {
|
|
266
|
+
listCommissionAgreementProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
267
|
+
if (options === void 0) { options = {}; }
|
|
268
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
293
269
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
294
|
-
if (options === void 0) { options = {}; }
|
|
295
270
|
return __generator(this, function (_a) {
|
|
296
271
|
switch (_a.label) {
|
|
297
272
|
case 0:
|
|
@@ -355,14 +330,10 @@ var CommissionAgreementProductsApiAxiosParamCreator = function (configuration) {
|
|
|
355
330
|
* @param {*} [options] Override http request option.
|
|
356
331
|
* @throws {RequiredError}
|
|
357
332
|
*/
|
|
358
|
-
updateCommissionAgreementProduct: function (
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
args_1[_i - 3] = arguments[_i];
|
|
362
|
-
}
|
|
363
|
-
return __awaiter(_this, __spreadArray([code_1, updateCommissionAgreementProductRequestDto_1, authorization_1], args_1, true), void 0, function (code, updateCommissionAgreementProductRequestDto, authorization, options) {
|
|
333
|
+
updateCommissionAgreementProduct: function (code, updateCommissionAgreementProductRequestDto, authorization, options) {
|
|
334
|
+
if (options === void 0) { options = {}; }
|
|
335
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
364
336
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
365
|
-
if (options === void 0) { options = {}; }
|
|
366
337
|
return __generator(this, function (_a) {
|
|
367
338
|
switch (_a.label) {
|
|
368
339
|
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
|
};
|
|
@@ -114,14 +105,10 @@ var CommissionAgreementVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
114
105
|
* @param {*} [options] Override http request option.
|
|
115
106
|
* @throws {RequiredError}
|
|
116
107
|
*/
|
|
117
|
-
createCommissionAgreementVersion: function (
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
args_1[_i - 3] = arguments[_i];
|
|
121
|
-
}
|
|
122
|
-
return __awaiter(_this, __spreadArray([code_1, createCommissionAgreementVersionRequestDto_1, authorization_1], args_1, true), void 0, function (code, createCommissionAgreementVersionRequestDto, authorization, options) {
|
|
108
|
+
createCommissionAgreementVersion: function (code, createCommissionAgreementVersionRequestDto, authorization, options) {
|
|
109
|
+
if (options === void 0) { options = {}; }
|
|
110
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
123
111
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
124
|
-
if (options === void 0) { options = {}; }
|
|
125
112
|
return __generator(this, function (_a) {
|
|
126
113
|
switch (_a.label) {
|
|
127
114
|
case 0:
|
|
@@ -170,14 +157,10 @@ var CommissionAgreementVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
170
157
|
* @param {*} [options] Override http request option.
|
|
171
158
|
* @throws {RequiredError}
|
|
172
159
|
*/
|
|
173
|
-
deleteCommissionAgreementVersion: function (
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
args_1[_i - 2] = arguments[_i];
|
|
177
|
-
}
|
|
178
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
160
|
+
deleteCommissionAgreementVersion: function (code, authorization, options) {
|
|
161
|
+
if (options === void 0) { options = {}; }
|
|
162
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
179
163
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
180
|
-
if (options === void 0) { options = {}; }
|
|
181
164
|
return __generator(this, function (_a) {
|
|
182
165
|
switch (_a.label) {
|
|
183
166
|
case 0:
|
|
@@ -223,14 +206,10 @@ var CommissionAgreementVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
223
206
|
* @param {*} [options] Override http request option.
|
|
224
207
|
* @throws {RequiredError}
|
|
225
208
|
*/
|
|
226
|
-
getCommissionAgreementVersion: function (
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
args_1[_i - 3] = arguments[_i];
|
|
230
|
-
}
|
|
231
|
-
return __awaiter(_this, __spreadArray([code_1, expand_1, authorization_1], args_1, true), void 0, function (code, expand, authorization, options) {
|
|
209
|
+
getCommissionAgreementVersion: function (code, expand, 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:
|
|
@@ -286,14 +265,10 @@ var CommissionAgreementVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
286
265
|
* @param {*} [options] Override http request option.
|
|
287
266
|
* @throws {RequiredError}
|
|
288
267
|
*/
|
|
289
|
-
listCommissionAgreementVersions: function (
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
args_1[_i - 8] = arguments[_i];
|
|
293
|
-
}
|
|
294
|
-
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) {
|
|
268
|
+
listCommissionAgreementVersions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
269
|
+
if (options === void 0) { options = {}; }
|
|
270
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
295
271
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
296
|
-
if (options === void 0) { options = {}; }
|
|
297
272
|
return __generator(this, function (_a) {
|
|
298
273
|
switch (_a.label) {
|
|
299
274
|
case 0:
|