@emilgroup/customer-sdk-node 1.44.1-beta.0 → 1.46.1-beta.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.
Files changed (40) hide show
  1. package/README.md +2 -2
  2. package/api/claims-api.ts +40 -40
  3. package/api/customers-api.ts +40 -40
  4. package/api/documents-api.ts +40 -40
  5. package/api/invites-api.ts +4 -4
  6. package/api/invoices-api.ts +40 -40
  7. package/api/leads-api.ts +70 -70
  8. package/api/policies-api.ts +40 -40
  9. package/api/products-api.ts +40 -40
  10. package/base.ts +1 -1
  11. package/common.ts +2 -2
  12. package/configuration.ts +9 -0
  13. package/dist/api/authentication-api.js +60 -23
  14. package/dist/api/claims-api.d.ts +40 -40
  15. package/dist/api/claims-api.js +67 -38
  16. package/dist/api/customers-api.d.ts +40 -40
  17. package/dist/api/customers-api.js +74 -41
  18. package/dist/api/default-api.js +18 -5
  19. package/dist/api/documents-api.d.ts +43 -43
  20. package/dist/api/documents-api.js +53 -32
  21. package/dist/api/invites-api.d.ts +4 -4
  22. package/dist/api/invites-api.js +43 -18
  23. package/dist/api/invoices-api.d.ts +40 -40
  24. package/dist/api/invoices-api.js +39 -26
  25. package/dist/api/leads-api.d.ts +56 -56
  26. package/dist/api/leads-api.js +84 -59
  27. package/dist/api/payments-api.js +25 -8
  28. package/dist/api/policies-api.d.ts +40 -40
  29. package/dist/api/policies-api.js +81 -44
  30. package/dist/api/products-api.d.ts +40 -40
  31. package/dist/api/products-api.js +46 -29
  32. package/dist/base.js +25 -15
  33. package/dist/common.d.ts +1 -1
  34. package/dist/common.js +4 -4
  35. package/dist/configuration.d.ts +6 -0
  36. package/dist/configuration.js +8 -0
  37. package/dist/models/policy-class.d.ts +48 -0
  38. package/models/policy-class.ts +48 -0
  39. package/package.json +4 -4
  40. package/tsconfig.json +1 -0
@@ -50,17 +50,17 @@ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration)
50
50
  * @summary List claims
51
51
  * @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
52
52
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
53
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
54
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
55
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
56
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
57
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
58
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
59
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
53
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
54
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
55
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
56
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
57
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
58
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
59
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
60
60
  * @param {*} [options] Override http request option.
61
61
  * @throws {RequiredError}
62
62
  */
63
- listCustomerClaims: (customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
63
+ listCustomerClaims: (customerCode: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
64
64
  /**
65
65
  * Update claim for customer.
66
66
  * @summary Update claim
@@ -114,17 +114,17 @@ export declare const ClaimsApiFp: (configuration?: Configuration) => {
114
114
  * @summary List claims
115
115
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
116
116
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
117
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
118
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
119
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
120
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
121
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
122
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
123
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
117
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
118
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
119
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
120
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
121
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
122
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
123
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
124
124
  * @param {*} [options] Override http request option.
125
125
  * @throws {RequiredError}
126
126
  */
127
- listCustomerClaims(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCustomerClaimsResponseClass>>;
127
+ listCustomerClaims(customerCode: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCustomerClaimsResponseClass>>;
128
128
  /**
129
129
  * Update claim for customer.
130
130
  * @summary Update claim
@@ -178,17 +178,17 @@ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?
178
178
  * @summary List claims
179
179
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
180
180
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
181
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
182
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
183
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
184
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
185
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
186
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
187
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
181
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
182
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
183
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
184
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
185
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
186
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
187
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
188
188
  * @param {*} [options] Override http request option.
189
189
  * @throws {RequiredError}
190
190
  */
191
- listCustomerClaims(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListCustomerClaimsResponseClass>;
191
+ listCustomerClaims(customerCode: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCustomerClaimsResponseClass>;
192
192
  /**
193
193
  * Update claim for customer.
194
194
  * @summary Update claim
@@ -282,46 +282,46 @@ export interface ClaimsApiListCustomerClaimsRequest {
282
282
  readonly authorization?: string;
283
283
  /**
284
284
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
285
- * @type {any}
285
+ * @type {number}
286
286
  * @memberof ClaimsApiListCustomerClaims
287
287
  */
288
- readonly pageSize?: any;
288
+ readonly pageSize?: number;
289
289
  /**
290
- * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
291
- * @type {any}
290
+ * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
291
+ * @type {string}
292
292
  * @memberof ClaimsApiListCustomerClaims
293
293
  */
294
- readonly pageToken?: any;
294
+ readonly pageToken?: string;
295
295
  /**
296
296
  * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
297
- * @type {any}
297
+ * @type {string}
298
298
  * @memberof ClaimsApiListCustomerClaims
299
299
  */
300
- readonly filter?: any;
300
+ readonly filter?: string;
301
301
  /**
302
302
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
303
- * @type {any}
303
+ * @type {string}
304
304
  * @memberof ClaimsApiListCustomerClaims
305
305
  */
306
- readonly search?: any;
306
+ readonly search?: string;
307
307
  /**
308
308
  * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
309
- * @type {any}
309
+ * @type {string}
310
310
  * @memberof ClaimsApiListCustomerClaims
311
311
  */
312
- readonly order?: any;
312
+ readonly order?: string;
313
313
  /**
314
- * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
315
- * @type {any}
314
+ * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
315
+ * @type {string}
316
316
  * @memberof ClaimsApiListCustomerClaims
317
317
  */
318
- readonly expand?: any;
318
+ readonly expand?: string;
319
319
  /**
320
320
  * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
321
- * @type {any}
321
+ * @type {string}
322
322
  * @memberof ClaimsApiListCustomerClaims
323
323
  */
324
- readonly filters?: any;
324
+ readonly filters?: string;
325
325
  }
326
326
  /**
327
327
  * Request parameters for updateCustomerClaim operation in ClaimsApi.
@@ -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
  };
@@ -105,10 +114,14 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
105
114
  * @param {*} [options] Override http request option.
106
115
  * @throws {RequiredError}
107
116
  */
108
- createCustomerClaim: function (customerCode, createCustomerClaimRequestDto, authorization, options) {
109
- if (options === void 0) { options = {}; }
110
- return __awaiter(_this, void 0, void 0, function () {
117
+ createCustomerClaim: function (customerCode_1, createCustomerClaimRequestDto_1, authorization_1) {
118
+ var args_1 = [];
119
+ for (var _i = 3; _i < arguments.length; _i++) {
120
+ args_1[_i - 3] = arguments[_i];
121
+ }
122
+ return __awaiter(_this, __spreadArray([customerCode_1, createCustomerClaimRequestDto_1, authorization_1], args_1, true), void 0, function (customerCode, createCustomerClaimRequestDto, authorization, options) {
111
123
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
124
+ if (options === void 0) { options = {}; }
112
125
  return __generator(this, function (_a) {
113
126
  switch (_a.label) {
114
127
  case 0:
@@ -158,10 +171,14 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
158
171
  * @param {*} [options] Override http request option.
159
172
  * @throws {RequiredError}
160
173
  */
161
- getCustomerClaim: function (customerCode, claimCode, authorization, options) {
162
- if (options === void 0) { options = {}; }
163
- return __awaiter(_this, void 0, void 0, function () {
174
+ getCustomerClaim: function (customerCode_1, claimCode_1, authorization_1) {
175
+ var args_1 = [];
176
+ for (var _i = 3; _i < arguments.length; _i++) {
177
+ args_1[_i - 3] = arguments[_i];
178
+ }
179
+ return __awaiter(_this, __spreadArray([customerCode_1, claimCode_1, authorization_1], args_1, true), void 0, function (customerCode, claimCode, authorization, options) {
164
180
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
181
+ if (options === void 0) { options = {}; }
165
182
  return __generator(this, function (_a) {
166
183
  switch (_a.label) {
167
184
  case 0:
@@ -206,20 +223,24 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
206
223
  * @summary List claims
207
224
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
208
225
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
209
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
210
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
211
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
212
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
213
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
214
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
215
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
226
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
227
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
228
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
229
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
230
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
231
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
232
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
216
233
  * @param {*} [options] Override http request option.
217
234
  * @throws {RequiredError}
218
235
  */
219
- listCustomerClaims: function (customerCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
220
- if (options === void 0) { options = {}; }
221
- return __awaiter(_this, void 0, void 0, function () {
236
+ listCustomerClaims: function (customerCode_1, authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
237
+ var args_1 = [];
238
+ for (var _i = 9; _i < arguments.length; _i++) {
239
+ args_1[_i - 9] = arguments[_i];
240
+ }
241
+ return __awaiter(_this, __spreadArray([customerCode_1, authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (customerCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
222
242
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
243
+ if (options === void 0) { options = {}; }
223
244
  return __generator(this, function (_a) {
224
245
  switch (_a.label) {
225
246
  case 0:
@@ -287,10 +308,14 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
287
308
  * @param {*} [options] Override http request option.
288
309
  * @throws {RequiredError}
289
310
  */
290
- updateCustomerClaim: function (customerCode, claimCode, updateCustomerClaimRequestDto, authorization, options) {
291
- if (options === void 0) { options = {}; }
292
- return __awaiter(_this, void 0, void 0, function () {
311
+ updateCustomerClaim: function (customerCode_1, claimCode_1, updateCustomerClaimRequestDto_1, authorization_1) {
312
+ var args_1 = [];
313
+ for (var _i = 4; _i < arguments.length; _i++) {
314
+ args_1[_i - 4] = arguments[_i];
315
+ }
316
+ return __awaiter(_this, __spreadArray([customerCode_1, claimCode_1, updateCustomerClaimRequestDto_1, authorization_1], args_1, true), void 0, function (customerCode, claimCode, updateCustomerClaimRequestDto, authorization, options) {
293
317
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
318
+ if (options === void 0) { options = {}; }
294
319
  return __generator(this, function (_a) {
295
320
  switch (_a.label) {
296
321
  case 0:
@@ -344,10 +369,14 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
344
369
  * @param {*} [options] Override http request option.
345
370
  * @throws {RequiredError}
346
371
  */
347
- uploadCustomerClaimDocuments: function (customerCode, claimCode, uploadCustomerClaimDocumentsRequestDto, authorization, options) {
348
- if (options === void 0) { options = {}; }
349
- return __awaiter(_this, void 0, void 0, function () {
372
+ uploadCustomerClaimDocuments: function (customerCode_1, claimCode_1, uploadCustomerClaimDocumentsRequestDto_1, authorization_1) {
373
+ var args_1 = [];
374
+ for (var _i = 4; _i < arguments.length; _i++) {
375
+ args_1[_i - 4] = arguments[_i];
376
+ }
377
+ return __awaiter(_this, __spreadArray([customerCode_1, claimCode_1, uploadCustomerClaimDocumentsRequestDto_1, authorization_1], args_1, true), void 0, function (customerCode, claimCode, uploadCustomerClaimDocumentsRequestDto, authorization, options) {
350
378
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
379
+ if (options === void 0) { options = {}; }
351
380
  return __generator(this, function (_a) {
352
381
  switch (_a.label) {
353
382
  case 0:
@@ -450,13 +479,13 @@ var ClaimsApiFp = function (configuration) {
450
479
  * @summary List claims
451
480
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
452
481
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
453
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
454
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
455
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
456
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
457
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
458
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
459
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
482
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
483
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
484
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
485
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
486
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
487
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
488
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
460
489
  * @param {*} [options] Override http request option.
461
490
  * @throws {RequiredError}
462
491
  */
@@ -558,13 +587,13 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
558
587
  * @summary List claims
559
588
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
560
589
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
561
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
562
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
563
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
564
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
565
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
566
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
567
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
590
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
591
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
592
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
593
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
594
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
595
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
596
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
568
597
  * @param {*} [options] Override http request option.
569
598
  * @throws {RequiredError}
570
599
  */
@@ -46,18 +46,18 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
46
46
  /**
47
47
  * Get customer list.
48
48
  * @summary Get customers list
49
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
50
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
51
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
52
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
53
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
54
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
55
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
49
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
50
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
51
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
52
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
53
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
54
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
55
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
56
56
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
57
57
  * @param {*} [options] Override http request option.
58
58
  * @throws {RequiredError}
59
59
  */
60
- listCustomers: (pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
60
+ listCustomers: (pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
61
61
  /**
62
62
  * Request a token to change the email address for the customer.
63
63
  * @summary Request customer email change
@@ -114,18 +114,18 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
114
114
  /**
115
115
  * Get customer list.
116
116
  * @summary Get customers list
117
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
118
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
119
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
120
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
121
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
122
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
123
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
117
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
118
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
119
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
120
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
121
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
122
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
123
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
124
124
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
125
125
  * @param {*} [options] Override http request option.
126
126
  * @throws {RequiredError}
127
127
  */
128
- listCustomers(pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
128
+ listCustomers(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
129
129
  /**
130
130
  * Request a token to change the email address for the customer.
131
131
  * @summary Request customer email change
@@ -182,18 +182,18 @@ export declare const CustomersApiFactory: (configuration?: Configuration, basePa
182
182
  /**
183
183
  * Get customer list.
184
184
  * @summary Get customers list
185
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
186
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
187
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
188
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
189
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
190
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
191
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
185
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
186
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
187
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
188
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
189
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
190
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
191
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
192
192
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
193
193
  * @param {*} [options] Override http request option.
194
194
  * @throws {RequiredError}
195
195
  */
196
- listCustomers(pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, authorization?: string, options?: any): AxiosPromise<object>;
196
+ listCustomers(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, authorization?: string, options?: any): AxiosPromise<object>;
197
197
  /**
198
198
  * Request a token to change the email address for the customer.
199
199
  * @summary Request customer email change
@@ -270,46 +270,46 @@ export interface CustomersApiGetCustomerRequest {
270
270
  export interface CustomersApiListCustomersRequest {
271
271
  /**
272
272
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
273
- * @type {any}
273
+ * @type {number}
274
274
  * @memberof CustomersApiListCustomers
275
275
  */
276
- readonly pageSize?: any;
276
+ readonly pageSize?: number;
277
277
  /**
278
- * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
279
- * @type {any}
278
+ * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
279
+ * @type {string}
280
280
  * @memberof CustomersApiListCustomers
281
281
  */
282
- readonly pageToken?: any;
282
+ readonly pageToken?: string;
283
283
  /**
284
284
  * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
285
- * @type {any}
285
+ * @type {string}
286
286
  * @memberof CustomersApiListCustomers
287
287
  */
288
- readonly filter?: any;
288
+ readonly filter?: string;
289
289
  /**
290
290
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
291
- * @type {any}
291
+ * @type {string}
292
292
  * @memberof CustomersApiListCustomers
293
293
  */
294
- readonly search?: any;
294
+ readonly search?: string;
295
295
  /**
296
296
  * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
297
- * @type {any}
297
+ * @type {string}
298
298
  * @memberof CustomersApiListCustomers
299
299
  */
300
- readonly order?: any;
300
+ readonly order?: string;
301
301
  /**
302
- * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
303
- * @type {any}
302
+ * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
303
+ * @type {string}
304
304
  * @memberof CustomersApiListCustomers
305
305
  */
306
- readonly expand?: any;
306
+ readonly expand?: string;
307
307
  /**
308
308
  * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
309
- * @type {any}
309
+ * @type {string}
310
310
  * @memberof CustomersApiListCustomers
311
311
  */
312
- readonly filters?: any;
312
+ readonly filters?: string;
313
313
  /**
314
314
  * Bearer Token: provided by the login endpoint under the name accessToken.
315
315
  * @type {string}