@emilgroup/insurance-sdk 1.72.0 → 1.72.1-beta.1

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.
Files changed (54) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/README.md +2 -2
  3. package/dist/api/booking-funnel-versions-api.js +25 -8
  4. package/dist/api/booking-funnels-api.js +53 -20
  5. package/dist/api/commission-agreement-items-api.js +46 -17
  6. package/dist/api/commission-agreement-products-api.js +46 -17
  7. package/dist/api/commission-agreement-versions-api.js +39 -14
  8. package/dist/api/commission-agreements-api.js +46 -17
  9. package/dist/api/commission-recipients-api.js +46 -17
  10. package/dist/api/emil-functions-api.js +88 -35
  11. package/dist/api/health-check-api.js +18 -5
  12. package/dist/api/insured-object-types-api.js +18 -5
  13. package/dist/api/insured-objects-api.js +39 -14
  14. package/dist/api/lead-statuses-api.js +46 -17
  15. package/dist/api/lead-versions-api.js +25 -8
  16. package/dist/api/leads-api.js +81 -32
  17. package/dist/api/named-ranges-api.js +53 -20
  18. package/dist/api/partner-links-api.js +53 -20
  19. package/dist/api/partner-roles-api.js +46 -17
  20. package/dist/api/policies-api.js +123 -50
  21. package/dist/api/premium-formulas-api.js +53 -20
  22. package/dist/api/product-factors-api.js +60 -23
  23. package/dist/api/product-fields-api.js +60 -23
  24. package/dist/api/product-versions-api.js +25 -8
  25. package/dist/api/products-api.js +53 -20
  26. package/dist/api/status-transition-rules-api.js +53 -20
  27. package/dist/base.js +5 -5
  28. package/dist/common.d.ts +1 -1
  29. package/dist/common.js +2 -2
  30. package/dist/models/create-product-field-request-dto.d.ts +22 -0
  31. package/dist/models/create-product-field-request-dto.js +9 -1
  32. package/dist/models/create-product-version-request-dto.d.ts +30 -0
  33. package/dist/models/create-product-version-request-dto.js +15 -0
  34. package/dist/models/index.d.ts +1 -0
  35. package/dist/models/index.js +1 -0
  36. package/dist/models/invoice-status-class.d.ts +2 -0
  37. package/dist/models/invoice-status-class.js +3 -1
  38. package/dist/models/product-field-class.d.ts +34 -0
  39. package/dist/models/product-field-class.js +9 -0
  40. package/dist/models/shared-invoice-class.d.ts +2 -0
  41. package/dist/models/shared-invoice-class.js +3 -1
  42. package/dist/models/shared-product-field-class.d.ts +34 -0
  43. package/dist/models/shared-product-field-class.js +9 -0
  44. package/dist/models/update-product-field-request-dto.d.ts +22 -0
  45. package/dist/models/update-product-field-request-dto.js +9 -1
  46. package/models/create-product-field-request-dto.ts +24 -0
  47. package/models/create-product-version-request-dto.ts +36 -0
  48. package/models/index.ts +1 -0
  49. package/models/invoice-status-class.ts +3 -1
  50. package/models/product-field-class.ts +38 -0
  51. package/models/shared-invoice-class.ts +3 -1
  52. package/models/shared-product-field-class.ts +38 -0
  53. package/models/update-product-field-request-dto.ts +24 -0
  54. package/package.json +3 -3
@@ -87,6 +87,7 @@ models/create-product-field-request-dto.ts
87
87
  models/create-product-field-response-class.ts
88
88
  models/create-product-request-dto.ts
89
89
  models/create-product-response-class.ts
90
+ models/create-product-version-request-dto.ts
90
91
  models/create-status-transition-rule-request-dto.ts
91
92
  models/create-status-transition-rule-response-class.ts
92
93
  models/csv-product-factor-dto.ts
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@1.72.0 --save
20
+ npm install @emilgroup/insurance-sdk@1.72.1-beta.1 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/insurance-sdk@1.72.0
24
+ yarn add @emilgroup/insurance-sdk@1.72.1-beta.1
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 = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
+ return g.next = verb(0), g["throw"] = verb(1), g["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,6 +74,15 @@ 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
+ };
77
86
  var __importDefault = (this && this.__importDefault) || function (mod) {
78
87
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
88
  };
@@ -101,10 +110,14 @@ var BookingFunnelVersionsApiAxiosParamCreator = function (configuration) {
101
110
  * @param {*} [options] Override http request option.
102
111
  * @throws {RequiredError}
103
112
  */
104
- getBookingFunnelVersion: function (code, version, authorization, options) {
105
- if (options === void 0) { options = {}; }
106
- return __awaiter(_this, void 0, void 0, function () {
113
+ getBookingFunnelVersion: function (code_1, version_1, authorization_1) {
114
+ var args_1 = [];
115
+ for (var _i = 3; _i < arguments.length; _i++) {
116
+ args_1[_i - 3] = arguments[_i];
117
+ }
118
+ return __awaiter(_this, __spreadArray([code_1, version_1, authorization_1], args_1, true), void 0, function (code, version, authorization, options) {
107
119
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
120
+ if (options === void 0) { options = {}; }
108
121
  return __generator(this, function (_a) {
109
122
  switch (_a.label) {
110
123
  case 0:
@@ -159,10 +172,14 @@ var BookingFunnelVersionsApiAxiosParamCreator = function (configuration) {
159
172
  * @param {*} [options] Override http request option.
160
173
  * @throws {RequiredError}
161
174
  */
162
- listBookingFunnelVersions: function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
163
- if (options === void 0) { options = {}; }
164
- return __awaiter(_this, void 0, void 0, function () {
175
+ listBookingFunnelVersions: function (code_1, authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
176
+ var args_1 = [];
177
+ for (var _i = 9; _i < arguments.length; _i++) {
178
+ args_1[_i - 9] = arguments[_i];
179
+ }
180
+ 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) {
165
181
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
182
+ if (options === void 0) { options = {}; }
166
183
  return __generator(this, function (_a) {
167
184
  switch (_a.label) {
168
185
  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 = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
+ return g.next = verb(0), g["throw"] = verb(1), g["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,6 +74,15 @@ 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
+ };
77
86
  var __importDefault = (this && this.__importDefault) || function (mod) {
78
87
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
88
  };
@@ -100,10 +109,14 @@ var BookingFunnelsApiAxiosParamCreator = function (configuration) {
100
109
  * @param {*} [options] Override http request option.
101
110
  * @throws {RequiredError}
102
111
  */
103
- createBookingFunnel: function (createBookingFunnelRequestDto, authorization, options) {
104
- if (options === void 0) { options = {}; }
105
- return __awaiter(_this, void 0, void 0, function () {
112
+ createBookingFunnel: function (createBookingFunnelRequestDto_1, authorization_1) {
113
+ var args_1 = [];
114
+ for (var _i = 2; _i < arguments.length; _i++) {
115
+ args_1[_i - 2] = arguments[_i];
116
+ }
117
+ return __awaiter(_this, __spreadArray([createBookingFunnelRequestDto_1, authorization_1], args_1, true), void 0, function (createBookingFunnelRequestDto, authorization, options) {
106
118
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
119
+ if (options === void 0) { options = {}; }
107
120
  return __generator(this, function (_a) {
108
121
  switch (_a.label) {
109
122
  case 0:
@@ -149,10 +162,14 @@ var BookingFunnelsApiAxiosParamCreator = function (configuration) {
149
162
  * @param {*} [options] Override http request option.
150
163
  * @throws {RequiredError}
151
164
  */
152
- deleteBookingFunnel: function (code, authorization, options) {
153
- if (options === void 0) { options = {}; }
154
- return __awaiter(_this, void 0, void 0, function () {
165
+ deleteBookingFunnel: function (code_1, authorization_1) {
166
+ var args_1 = [];
167
+ for (var _i = 2; _i < arguments.length; _i++) {
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) {
155
171
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
172
+ if (options === void 0) { options = {}; }
156
173
  return __generator(this, function (_a) {
157
174
  switch (_a.label) {
158
175
  case 0:
@@ -197,10 +214,14 @@ var BookingFunnelsApiAxiosParamCreator = function (configuration) {
197
214
  * @param {*} [options] Override http request option.
198
215
  * @throws {RequiredError}
199
216
  */
200
- getBookingFunnel: function (code, authorization, options) {
201
- if (options === void 0) { options = {}; }
202
- return __awaiter(_this, void 0, void 0, function () {
217
+ getBookingFunnel: function (code_1, authorization_1) {
218
+ var args_1 = [];
219
+ for (var _i = 2; _i < arguments.length; _i++) {
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) {
203
223
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
224
+ if (options === void 0) { options = {}; }
204
225
  return __generator(this, function (_a) {
205
226
  switch (_a.label) {
206
227
  case 0:
@@ -251,10 +272,14 @@ var BookingFunnelsApiAxiosParamCreator = function (configuration) {
251
272
  * @param {*} [options] Override http request option.
252
273
  * @throws {RequiredError}
253
274
  */
254
- listBookingFunnels: 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 () {
275
+ listBookingFunnels: function (authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
276
+ var args_1 = [];
277
+ for (var _i = 8; _i < arguments.length; _i++) {
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) {
257
281
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
282
+ if (options === void 0) { options = {}; }
258
283
  return __generator(this, function (_a) {
259
284
  switch (_a.label) {
260
285
  case 0:
@@ -317,10 +342,14 @@ var BookingFunnelsApiAxiosParamCreator = function (configuration) {
317
342
  * @param {*} [options] Override http request option.
318
343
  * @throws {RequiredError}
319
344
  */
320
- patchBookingFunnel: function (code, patchBookingFunnelRequestDto, authorization, options) {
321
- if (options === void 0) { options = {}; }
322
- return __awaiter(_this, void 0, void 0, function () {
345
+ patchBookingFunnel: function (code_1, patchBookingFunnelRequestDto_1, authorization_1) {
346
+ var args_1 = [];
347
+ for (var _i = 3; _i < arguments.length; _i++) {
348
+ args_1[_i - 3] = arguments[_i];
349
+ }
350
+ return __awaiter(_this, __spreadArray([code_1, patchBookingFunnelRequestDto_1, authorization_1], args_1, true), void 0, function (code, patchBookingFunnelRequestDto, authorization, options) {
323
351
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
352
+ if (options === void 0) { options = {}; }
324
353
  return __generator(this, function (_a) {
325
354
  switch (_a.label) {
326
355
  case 0:
@@ -370,10 +399,14 @@ var BookingFunnelsApiAxiosParamCreator = function (configuration) {
370
399
  * @param {*} [options] Override http request option.
371
400
  * @throws {RequiredError}
372
401
  */
373
- updateBookingFunnel: function (code, updateBookingFunnelRequestDto, authorization, options) {
374
- if (options === void 0) { options = {}; }
375
- return __awaiter(_this, void 0, void 0, function () {
402
+ updateBookingFunnel: function (code_1, updateBookingFunnelRequestDto_1, authorization_1) {
403
+ var args_1 = [];
404
+ for (var _i = 3; _i < arguments.length; _i++) {
405
+ args_1[_i - 3] = arguments[_i];
406
+ }
407
+ return __awaiter(_this, __spreadArray([code_1, updateBookingFunnelRequestDto_1, authorization_1], args_1, true), void 0, function (code, updateBookingFunnelRequestDto, authorization, options) {
376
408
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
409
+ if (options === void 0) { options = {}; }
377
410
  return __generator(this, function (_a) {
378
411
  switch (_a.label) {
379
412
  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 = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
+ return g.next = verb(0), g["throw"] = verb(1), g["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,6 +74,15 @@ 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
+ };
77
86
  var __importDefault = (this && this.__importDefault) || function (mod) {
78
87
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
88
  };
@@ -101,10 +110,14 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
101
110
  * @param {*} [options] Override http request option.
102
111
  * @throws {RequiredError}
103
112
  */
104
- createCommissionAgreementItem: function (code, createCommissionAgreementItemRequestDto, authorization, options) {
105
- if (options === void 0) { options = {}; }
106
- return __awaiter(_this, void 0, void 0, function () {
113
+ createCommissionAgreementItem: function (code_1, createCommissionAgreementItemRequestDto_1, authorization_1) {
114
+ var args_1 = [];
115
+ for (var _i = 3; _i < arguments.length; _i++) {
116
+ args_1[_i - 3] = arguments[_i];
117
+ }
118
+ return __awaiter(_this, __spreadArray([code_1, createCommissionAgreementItemRequestDto_1, authorization_1], args_1, true), void 0, function (code, createCommissionAgreementItemRequestDto, authorization, options) {
107
119
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
120
+ if (options === void 0) { options = {}; }
108
121
  return __generator(this, function (_a) {
109
122
  switch (_a.label) {
110
123
  case 0:
@@ -153,10 +166,14 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
153
166
  * @param {*} [options] Override http request option.
154
167
  * @throws {RequiredError}
155
168
  */
156
- deleteCommissionAgreementItem: function (code, authorization, options) {
157
- if (options === void 0) { options = {}; }
158
- return __awaiter(_this, void 0, void 0, function () {
169
+ deleteCommissionAgreementItem: function (code_1, authorization_1) {
170
+ var args_1 = [];
171
+ for (var _i = 2; _i < arguments.length; _i++) {
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) {
159
175
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
176
+ if (options === void 0) { options = {}; }
160
177
  return __generator(this, function (_a) {
161
178
  switch (_a.label) {
162
179
  case 0:
@@ -202,10 +219,14 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
202
219
  * @param {*} [options] Override http request option.
203
220
  * @throws {RequiredError}
204
221
  */
205
- getCommissionAgreementItem: function (code, expand, authorization, options) {
206
- if (options === void 0) { options = {}; }
207
- return __awaiter(_this, void 0, void 0, function () {
222
+ getCommissionAgreementItem: function (code_1, expand_1, authorization_1) {
223
+ var args_1 = [];
224
+ for (var _i = 3; _i < arguments.length; _i++) {
225
+ args_1[_i - 3] = arguments[_i];
226
+ }
227
+ return __awaiter(_this, __spreadArray([code_1, expand_1, authorization_1], args_1, true), void 0, function (code, expand, authorization, options) {
208
228
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
229
+ if (options === void 0) { options = {}; }
209
230
  return __generator(this, function (_a) {
210
231
  switch (_a.label) {
211
232
  case 0:
@@ -261,10 +282,14 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
261
282
  * @param {*} [options] Override http request option.
262
283
  * @throws {RequiredError}
263
284
  */
264
- listCommissionAgreementItems: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
265
- if (options === void 0) { options = {}; }
266
- return __awaiter(_this, void 0, void 0, function () {
285
+ listCommissionAgreementItems: function (authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
286
+ var args_1 = [];
287
+ for (var _i = 8; _i < arguments.length; _i++) {
288
+ args_1[_i - 8] = arguments[_i];
289
+ }
290
+ 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) {
267
291
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
292
+ if (options === void 0) { options = {}; }
268
293
  return __generator(this, function (_a) {
269
294
  switch (_a.label) {
270
295
  case 0:
@@ -328,10 +353,14 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
328
353
  * @param {*} [options] Override http request option.
329
354
  * @throws {RequiredError}
330
355
  */
331
- updateCommissionAgreementItem: function (code, updateCommissionAgreementItemRequestDto, authorization, options) {
332
- if (options === void 0) { options = {}; }
333
- return __awaiter(_this, void 0, void 0, function () {
356
+ updateCommissionAgreementItem: function (code_1, updateCommissionAgreementItemRequestDto_1, authorization_1) {
357
+ var args_1 = [];
358
+ for (var _i = 3; _i < arguments.length; _i++) {
359
+ args_1[_i - 3] = arguments[_i];
360
+ }
361
+ return __awaiter(_this, __spreadArray([code_1, updateCommissionAgreementItemRequestDto_1, authorization_1], args_1, true), void 0, function (code, updateCommissionAgreementItemRequestDto, authorization, options) {
334
362
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
363
+ if (options === void 0) { options = {}; }
335
364
  return __generator(this, function (_a) {
336
365
  switch (_a.label) {
337
366
  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 = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
+ return g.next = verb(0), g["throw"] = verb(1), g["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,6 +74,15 @@ 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
+ };
77
86
  var __importDefault = (this && this.__importDefault) || function (mod) {
78
87
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
88
  };
@@ -101,10 +110,14 @@ var CommissionAgreementProductsApiAxiosParamCreator = function (configuration) {
101
110
  * @param {*} [options] Override http request option.
102
111
  * @throws {RequiredError}
103
112
  */
104
- createCommissionAgreementProduct: function (code, createCommissionAgreementProductRequestDto, authorization, options) {
105
- if (options === void 0) { options = {}; }
106
- return __awaiter(_this, void 0, void 0, function () {
113
+ createCommissionAgreementProduct: function (code_1, createCommissionAgreementProductRequestDto_1, authorization_1) {
114
+ var args_1 = [];
115
+ for (var _i = 3; _i < arguments.length; _i++) {
116
+ args_1[_i - 3] = arguments[_i];
117
+ }
118
+ return __awaiter(_this, __spreadArray([code_1, createCommissionAgreementProductRequestDto_1, authorization_1], args_1, true), void 0, function (code, createCommissionAgreementProductRequestDto, authorization, options) {
107
119
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
120
+ if (options === void 0) { options = {}; }
108
121
  return __generator(this, function (_a) {
109
122
  switch (_a.label) {
110
123
  case 0:
@@ -153,10 +166,14 @@ var CommissionAgreementProductsApiAxiosParamCreator = function (configuration) {
153
166
  * @param {*} [options] Override http request option.
154
167
  * @throws {RequiredError}
155
168
  */
156
- deleteCommissionAgreementProduct: function (code, authorization, options) {
157
- if (options === void 0) { options = {}; }
158
- return __awaiter(_this, void 0, void 0, function () {
169
+ deleteCommissionAgreementProduct: function (code_1, authorization_1) {
170
+ var args_1 = [];
171
+ for (var _i = 2; _i < arguments.length; _i++) {
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) {
159
175
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
176
+ if (options === void 0) { options = {}; }
160
177
  return __generator(this, function (_a) {
161
178
  switch (_a.label) {
162
179
  case 0:
@@ -202,10 +219,14 @@ var CommissionAgreementProductsApiAxiosParamCreator = function (configuration) {
202
219
  * @param {*} [options] Override http request option.
203
220
  * @throws {RequiredError}
204
221
  */
205
- getCommissionAgreementProduct: function (code, authorization, expand, options) {
206
- if (options === void 0) { options = {}; }
207
- return __awaiter(_this, void 0, void 0, function () {
222
+ getCommissionAgreementProduct: function (code_1, authorization_1, expand_1) {
223
+ var args_1 = [];
224
+ for (var _i = 3; _i < arguments.length; _i++) {
225
+ args_1[_i - 3] = arguments[_i];
226
+ }
227
+ return __awaiter(_this, __spreadArray([code_1, authorization_1, expand_1], args_1, true), void 0, function (code, authorization, expand, options) {
208
228
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
229
+ if (options === void 0) { options = {}; }
209
230
  return __generator(this, function (_a) {
210
231
  switch (_a.label) {
211
232
  case 0:
@@ -259,10 +280,14 @@ var CommissionAgreementProductsApiAxiosParamCreator = function (configuration) {
259
280
  * @param {*} [options] Override http request option.
260
281
  * @throws {RequiredError}
261
282
  */
262
- listCommissionAgreementProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
263
- if (options === void 0) { options = {}; }
264
- return __awaiter(_this, void 0, void 0, function () {
283
+ listCommissionAgreementProducts: function (authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
284
+ var args_1 = [];
285
+ for (var _i = 8; _i < arguments.length; _i++) {
286
+ args_1[_i - 8] = arguments[_i];
287
+ }
288
+ 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) {
265
289
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
290
+ if (options === void 0) { options = {}; }
266
291
  return __generator(this, function (_a) {
267
292
  switch (_a.label) {
268
293
  case 0:
@@ -326,10 +351,14 @@ var CommissionAgreementProductsApiAxiosParamCreator = function (configuration) {
326
351
  * @param {*} [options] Override http request option.
327
352
  * @throws {RequiredError}
328
353
  */
329
- updateCommissionAgreementProduct: function (code, updateCommissionAgreementProductRequestDto, authorization, options) {
330
- if (options === void 0) { options = {}; }
331
- return __awaiter(_this, void 0, void 0, function () {
354
+ updateCommissionAgreementProduct: function (code_1, updateCommissionAgreementProductRequestDto_1, authorization_1) {
355
+ var args_1 = [];
356
+ for (var _i = 3; _i < arguments.length; _i++) {
357
+ args_1[_i - 3] = arguments[_i];
358
+ }
359
+ return __awaiter(_this, __spreadArray([code_1, updateCommissionAgreementProductRequestDto_1, authorization_1], args_1, true), void 0, function (code, updateCommissionAgreementProductRequestDto, authorization, options) {
332
360
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
361
+ if (options === void 0) { options = {}; }
333
362
  return __generator(this, function (_a) {
334
363
  switch (_a.label) {
335
364
  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 = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
+ return g.next = verb(0), g["throw"] = verb(1), g["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,6 +74,15 @@ 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
+ };
77
86
  var __importDefault = (this && this.__importDefault) || function (mod) {
78
87
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
88
  };
@@ -101,10 +110,14 @@ var CommissionAgreementVersionsApiAxiosParamCreator = function (configuration) {
101
110
  * @param {*} [options] Override http request option.
102
111
  * @throws {RequiredError}
103
112
  */
104
- createCommissionAgreementVersion: function (code, createCommissionAgreementVersionRequestDto, authorization, options) {
105
- if (options === void 0) { options = {}; }
106
- return __awaiter(_this, void 0, void 0, function () {
113
+ createCommissionAgreementVersion: function (code_1, createCommissionAgreementVersionRequestDto_1, authorization_1) {
114
+ var args_1 = [];
115
+ for (var _i = 3; _i < arguments.length; _i++) {
116
+ args_1[_i - 3] = arguments[_i];
117
+ }
118
+ return __awaiter(_this, __spreadArray([code_1, createCommissionAgreementVersionRequestDto_1, authorization_1], args_1, true), void 0, function (code, createCommissionAgreementVersionRequestDto, authorization, options) {
107
119
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
120
+ if (options === void 0) { options = {}; }
108
121
  return __generator(this, function (_a) {
109
122
  switch (_a.label) {
110
123
  case 0:
@@ -153,10 +166,14 @@ var CommissionAgreementVersionsApiAxiosParamCreator = function (configuration) {
153
166
  * @param {*} [options] Override http request option.
154
167
  * @throws {RequiredError}
155
168
  */
156
- deleteCommissionAgreementVersion: function (code, authorization, options) {
157
- if (options === void 0) { options = {}; }
158
- return __awaiter(_this, void 0, void 0, function () {
169
+ deleteCommissionAgreementVersion: function (code_1, authorization_1) {
170
+ var args_1 = [];
171
+ for (var _i = 2; _i < arguments.length; _i++) {
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) {
159
175
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
176
+ if (options === void 0) { options = {}; }
160
177
  return __generator(this, function (_a) {
161
178
  switch (_a.label) {
162
179
  case 0:
@@ -202,10 +219,14 @@ var CommissionAgreementVersionsApiAxiosParamCreator = function (configuration) {
202
219
  * @param {*} [options] Override http request option.
203
220
  * @throws {RequiredError}
204
221
  */
205
- getCommissionAgreementVersion: function (code, expand, authorization, options) {
206
- if (options === void 0) { options = {}; }
207
- return __awaiter(_this, void 0, void 0, function () {
222
+ getCommissionAgreementVersion: function (code_1, expand_1, authorization_1) {
223
+ var args_1 = [];
224
+ for (var _i = 3; _i < arguments.length; _i++) {
225
+ args_1[_i - 3] = arguments[_i];
226
+ }
227
+ return __awaiter(_this, __spreadArray([code_1, expand_1, authorization_1], args_1, true), void 0, function (code, expand, authorization, options) {
208
228
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
229
+ if (options === void 0) { options = {}; }
209
230
  return __generator(this, function (_a) {
210
231
  switch (_a.label) {
211
232
  case 0:
@@ -261,10 +282,14 @@ var CommissionAgreementVersionsApiAxiosParamCreator = function (configuration) {
261
282
  * @param {*} [options] Override http request option.
262
283
  * @throws {RequiredError}
263
284
  */
264
- listCommissionAgreementVersions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
265
- if (options === void 0) { options = {}; }
266
- return __awaiter(_this, void 0, void 0, function () {
285
+ listCommissionAgreementVersions: function (authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
286
+ var args_1 = [];
287
+ for (var _i = 8; _i < arguments.length; _i++) {
288
+ args_1[_i - 8] = arguments[_i];
289
+ }
290
+ 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) {
267
291
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
292
+ if (options === void 0) { options = {}; }
268
293
  return __generator(this, function (_a) {
269
294
  switch (_a.label) {
270
295
  case 0: