@emilgroup/customer-sdk-node 1.41.0 → 1.42.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 (55) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/README.md +2 -2
  3. package/api/claims-api.ts +28 -28
  4. package/api/customers-api.ts +28 -28
  5. package/api/documents-api.ts +51 -34
  6. package/api/invoices-api.ts +28 -28
  7. package/api/leads-api.ts +32 -32
  8. package/api/policies-api.ts +28 -28
  9. package/api/products-api.ts +28 -28
  10. package/base.ts +1 -0
  11. package/dist/api/claims-api.d.ts +20 -20
  12. package/dist/api/claims-api.js +18 -18
  13. package/dist/api/customers-api.d.ts +20 -20
  14. package/dist/api/customers-api.js +18 -18
  15. package/dist/api/documents-api.d.ts +33 -23
  16. package/dist/api/documents-api.js +31 -24
  17. package/dist/api/invoices-api.d.ts +20 -20
  18. package/dist/api/invoices-api.js +18 -18
  19. package/dist/api/leads-api.d.ts +24 -24
  20. package/dist/api/leads-api.js +22 -22
  21. package/dist/api/policies-api.d.ts +20 -20
  22. package/dist/api/policies-api.js +18 -18
  23. package/dist/api/products-api.d.ts +20 -20
  24. package/dist/api/products-api.js +18 -18
  25. package/dist/base.d.ts +1 -0
  26. package/dist/base.js +1 -0
  27. package/dist/models/account-class.d.ts +1 -1
  28. package/dist/models/account-class.js +1 -1
  29. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +19 -0
  30. package/dist/models/create-account-request-dto.d.ts +2 -8
  31. package/dist/models/create-account-request-dto.js +1 -1
  32. package/dist/models/customer-product-class.d.ts +2 -2
  33. package/dist/models/index.d.ts +1 -0
  34. package/dist/models/index.js +1 -0
  35. package/dist/models/inline-response200.d.ts +6 -6
  36. package/dist/models/inline-response503.d.ts +6 -6
  37. package/dist/models/link-lead-partner-request-dto.d.ts +16 -4
  38. package/dist/models/policy-object-dto.d.ts +2 -2
  39. package/dist/models/policy-premium-class.d.ts +2 -2
  40. package/dist/models/update-lead-request-dto.d.ts +1 -1
  41. package/dist/models/upload-account-documents-request-dto.d.ts +46 -0
  42. package/dist/models/upload-account-documents-request-dto.js +19 -0
  43. package/models/account-class.ts +1 -1
  44. package/models/complete-stripe-payment-setup-request-dto.ts +19 -0
  45. package/models/create-account-request-dto.ts +2 -8
  46. package/models/customer-product-class.ts +2 -2
  47. package/models/index.ts +1 -0
  48. package/models/inline-response200.ts +6 -6
  49. package/models/inline-response503.ts +6 -6
  50. package/models/link-lead-partner-request-dto.ts +16 -4
  51. package/models/policy-object-dto.ts +2 -2
  52. package/models/policy-premium-class.ts +2 -2
  53. package/models/update-lead-request-dto.ts +1 -1
  54. package/models/upload-account-documents-request-dto.ts +55 -0
  55. package/package.json +1 -1
@@ -34,7 +34,7 @@ export declare const LeadsApiAxiosParamCreator: (configuration?: Configuration)
34
34
  */
35
35
  createLead: (customerCode: string, createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36
36
  /**
37
- * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
37
+ * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
38
38
  * @summary Retrieve the lead
39
39
  * @param {string} code Unique identifier for the object.
40
40
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
@@ -49,17 +49,17 @@ export declare const LeadsApiAxiosParamCreator: (configuration?: Configuration)
49
49
  * @summary List leads
50
50
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
51
51
  * @param {string} [authorization] Bearer Token
52
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
52
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
53
53
  * @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.
54
54
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
55
- * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
56
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
55
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
57
56
  * @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
57
  * @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.
58
+ * @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.
59
59
  * @param {*} [options] Override http request option.
60
60
  * @throws {RequiredError}
61
61
  */
62
- listLeads: (customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
62
+ listLeads: (customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
63
63
  /**
64
64
  * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
65
65
  * @summary Update the lead
@@ -88,7 +88,7 @@ export declare const LeadsApiFp: (configuration?: Configuration) => {
88
88
  */
89
89
  createLead(customerCode: string, createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLeadResponseClass>>;
90
90
  /**
91
- * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
91
+ * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
92
92
  * @summary Retrieve the lead
93
93
  * @param {string} code Unique identifier for the object.
94
94
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
@@ -103,17 +103,17 @@ export declare const LeadsApiFp: (configuration?: Configuration) => {
103
103
  * @summary List leads
104
104
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
105
105
  * @param {string} [authorization] Bearer Token
106
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
106
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
107
107
  * @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.
108
108
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
109
- * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
110
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
109
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
111
110
  * @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.
112
111
  * @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.
112
+ * @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.
113
113
  * @param {*} [options] Override http request option.
114
114
  * @throws {RequiredError}
115
115
  */
116
- listLeads(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLeadsResponseClass>>;
116
+ listLeads(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<ListLeadsResponseClass>>;
117
117
  /**
118
118
  * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
119
119
  * @summary Update the lead
@@ -142,7 +142,7 @@ export declare const LeadsApiFactory: (configuration?: Configuration, basePath?:
142
142
  */
143
143
  createLead(customerCode: string, createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLeadResponseClass>;
144
144
  /**
145
- * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
145
+ * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
146
146
  * @summary Retrieve the lead
147
147
  * @param {string} code Unique identifier for the object.
148
148
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
@@ -157,17 +157,17 @@ export declare const LeadsApiFactory: (configuration?: Configuration, basePath?:
157
157
  * @summary List leads
158
158
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
159
159
  * @param {string} [authorization] Bearer Token
160
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
160
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
161
161
  * @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.
162
162
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
163
- * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
164
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
163
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
165
164
  * @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.
166
165
  * @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.
166
+ * @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.
167
167
  * @param {*} [options] Override http request option.
168
168
  * @throws {RequiredError}
169
169
  */
170
- listLeads(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListLeadsResponseClass>;
170
+ listLeads(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListLeadsResponseClass>;
171
171
  /**
172
172
  * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
173
173
  * @summary Update the lead
@@ -255,7 +255,7 @@ export interface LeadsApiListLeadsRequest {
255
255
  */
256
256
  readonly authorization?: string;
257
257
  /**
258
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
258
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
259
259
  * @type {any}
260
260
  * @memberof LeadsApiListLeads
261
261
  */
@@ -273,13 +273,7 @@ export interface LeadsApiListLeadsRequest {
273
273
  */
274
274
  readonly filter?: any;
275
275
  /**
276
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
277
- * @type {any}
278
- * @memberof LeadsApiListLeads
279
- */
280
- readonly filters?: any;
281
- /**
282
- * Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
276
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
283
277
  * @type {any}
284
278
  * @memberof LeadsApiListLeads
285
279
  */
@@ -296,6 +290,12 @@ export interface LeadsApiListLeadsRequest {
296
290
  * @memberof LeadsApiListLeads
297
291
  */
298
292
  readonly expand?: any;
293
+ /**
294
+ * 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.
295
+ * @type {any}
296
+ * @memberof LeadsApiListLeads
297
+ */
298
+ readonly filters?: any;
299
299
  }
300
300
  /**
301
301
  * Request parameters for updateLead operation in LeadsApi.
@@ -345,7 +345,7 @@ export declare class LeadsApi extends BaseAPI {
345
345
  */
346
346
  createLead(requestParameters: LeadsApiCreateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadResponseClass, any>>;
347
347
  /**
348
- * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
348
+ * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
349
349
  * @summary Retrieve the lead
350
350
  * @param {LeadsApiGetLeadRequest} requestParameters Request parameters.
351
351
  * @param {*} [options] Override http request option.
@@ -150,7 +150,7 @@ var LeadsApiAxiosParamCreator = function (configuration) {
150
150
  });
151
151
  },
152
152
  /**
153
- * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
153
+ * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
154
154
  * @summary Retrieve the lead
155
155
  * @param {string} code Unique identifier for the object.
156
156
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
@@ -210,17 +210,17 @@ var LeadsApiAxiosParamCreator = function (configuration) {
210
210
  * @summary List leads
211
211
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
212
212
  * @param {string} [authorization] Bearer Token
213
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
213
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
214
214
  * @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.
215
215
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
216
- * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
217
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
216
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
218
217
  * @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.
219
218
  * @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.
219
+ * @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.
220
220
  * @param {*} [options] Override http request option.
221
221
  * @throws {RequiredError}
222
222
  */
223
- listLeads: function (customerCode, authorization, pageSize, pageToken, filter, filters, search, order, expand, options) {
223
+ listLeads: function (customerCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
224
224
  if (options === void 0) { options = {}; }
225
225
  return __awaiter(_this, void 0, void 0, function () {
226
226
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -255,9 +255,6 @@ var LeadsApiAxiosParamCreator = function (configuration) {
255
255
  if (filter !== undefined) {
256
256
  localVarQueryParameter['filter'] = filter;
257
257
  }
258
- if (filters !== undefined) {
259
- localVarQueryParameter['filters'] = filters;
260
- }
261
258
  if (search !== undefined) {
262
259
  localVarQueryParameter['search'] = search;
263
260
  }
@@ -267,6 +264,9 @@ var LeadsApiAxiosParamCreator = function (configuration) {
267
264
  if (expand !== undefined) {
268
265
  localVarQueryParameter['expand'] = expand;
269
266
  }
267
+ if (filters !== undefined) {
268
+ localVarQueryParameter['filters'] = filters;
269
+ }
270
270
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
271
271
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
272
272
  }
@@ -371,7 +371,7 @@ var LeadsApiFp = function (configuration) {
371
371
  });
372
372
  },
373
373
  /**
374
- * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
374
+ * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
375
375
  * @summary Retrieve the lead
376
376
  * @param {string} code Unique identifier for the object.
377
377
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
@@ -398,22 +398,22 @@ var LeadsApiFp = function (configuration) {
398
398
  * @summary List leads
399
399
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
400
400
  * @param {string} [authorization] Bearer Token
401
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
401
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
402
402
  * @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.
403
403
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
404
- * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
405
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
404
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
406
405
  * @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.
407
406
  * @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.
407
+ * @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.
408
408
  * @param {*} [options] Override http request option.
409
409
  * @throws {RequiredError}
410
410
  */
411
- listLeads: function (customerCode, authorization, pageSize, pageToken, filter, filters, search, order, expand, options) {
411
+ listLeads: function (customerCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
412
412
  return __awaiter(this, void 0, void 0, function () {
413
413
  var localVarAxiosArgs;
414
414
  return __generator(this, function (_a) {
415
415
  switch (_a.label) {
416
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listLeads(customerCode, authorization, pageSize, pageToken, filter, filters, search, order, expand, options)];
416
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listLeads(customerCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
417
417
  case 1:
418
418
  localVarAxiosArgs = _a.sent();
419
419
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -467,7 +467,7 @@ var LeadsApiFactory = function (configuration, basePath, axios) {
467
467
  return localVarFp.createLead(customerCode, createLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
468
468
  },
469
469
  /**
470
- * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
470
+ * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
471
471
  * @summary Retrieve the lead
472
472
  * @param {string} code Unique identifier for the object.
473
473
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
@@ -484,18 +484,18 @@ var LeadsApiFactory = function (configuration, basePath, axios) {
484
484
  * @summary List leads
485
485
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
486
486
  * @param {string} [authorization] Bearer Token
487
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
487
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
488
488
  * @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.
489
489
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
490
- * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
491
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
490
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
492
491
  * @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.
493
492
  * @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.
493
+ * @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.
494
494
  * @param {*} [options] Override http request option.
495
495
  * @throws {RequiredError}
496
496
  */
497
- listLeads: function (customerCode, authorization, pageSize, pageToken, filter, filters, search, order, expand, options) {
498
- return localVarFp.listLeads(customerCode, authorization, pageSize, pageToken, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
497
+ listLeads: function (customerCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
498
+ return localVarFp.listLeads(customerCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
499
499
  },
500
500
  /**
501
501
  * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
@@ -537,7 +537,7 @@ var LeadsApi = /** @class */ (function (_super) {
537
537
  return (0, exports.LeadsApiFp)(this.configuration).createLead(requestParameters.customerCode, requestParameters.createLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
538
538
  };
539
539
  /**
540
- * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
540
+ * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
541
541
  * @summary Retrieve the lead
542
542
  * @param {LeadsApiGetLeadRequest} requestParameters Request parameters.
543
543
  * @param {*} [options] Override http request option.
@@ -558,7 +558,7 @@ var LeadsApi = /** @class */ (function (_super) {
558
558
  */
559
559
  LeadsApi.prototype.listLeads = function (requestParameters, options) {
560
560
  var _this = this;
561
- return (0, exports.LeadsApiFp)(this.configuration).listLeads(requestParameters.customerCode, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
561
+ return (0, exports.LeadsApiFp)(this.configuration).listLeads(requestParameters.customerCode, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
562
562
  };
563
563
  /**
564
564
  * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
@@ -52,18 +52,18 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
52
52
  * List all the policies that belong to a customer, the policies can be filtered by policy code, policy number.
53
53
  * @summary List policies
54
54
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
55
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
55
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
56
56
  * @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.
57
57
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
58
- * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
59
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
58
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
60
59
  * @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.
61
60
  * @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.
61
+ * @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.
62
62
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
63
63
  * @param {*} [options] Override http request option.
64
64
  * @throws {RequiredError}
65
65
  */
66
- listPolicies: (customerCode: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
66
+ listPolicies: (customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
67
  /**
68
68
  * Request to update an existing policy by customer.
69
69
  * @summary Request policy update
@@ -138,18 +138,18 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
138
138
  * List all the policies that belong to a customer, the policies can be filtered by policy code, policy number.
139
139
  * @summary List policies
140
140
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
141
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
141
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
142
142
  * @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.
143
143
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
144
- * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
145
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
144
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
146
145
  * @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.
147
146
  * @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.
147
+ * @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.
148
148
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
149
149
  * @param {*} [options] Override http request option.
150
150
  * @throws {RequiredError}
151
151
  */
152
- listPolicies(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPoliciesResponseClass>>;
152
+ listPolicies(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPoliciesResponseClass>>;
153
153
  /**
154
154
  * Request to update an existing policy by customer.
155
155
  * @summary Request policy update
@@ -224,18 +224,18 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
224
224
  * List all the policies that belong to a customer, the policies can be filtered by policy code, policy number.
225
225
  * @summary List policies
226
226
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
227
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
227
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
228
228
  * @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.
229
229
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
230
- * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
231
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
230
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
232
231
  * @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.
233
232
  * @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.
233
+ * @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.
234
234
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
235
235
  * @param {*} [options] Override http request option.
236
236
  * @throws {RequiredError}
237
237
  */
238
- listPolicies(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: any): AxiosPromise<ListPoliciesResponseClass>;
238
+ listPolicies(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, authorization?: string, options?: any): AxiosPromise<ListPoliciesResponseClass>;
239
239
  /**
240
240
  * Request to update an existing policy by customer.
241
241
  * @summary Request policy update
@@ -354,7 +354,7 @@ export interface PoliciesApiListPoliciesRequest {
354
354
  */
355
355
  readonly customerCode: string;
356
356
  /**
357
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
357
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
358
358
  * @type {any}
359
359
  * @memberof PoliciesApiListPolicies
360
360
  */
@@ -372,13 +372,7 @@ export interface PoliciesApiListPoliciesRequest {
372
372
  */
373
373
  readonly filter?: any;
374
374
  /**
375
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
376
- * @type {any}
377
- * @memberof PoliciesApiListPolicies
378
- */
379
- readonly filters?: any;
380
- /**
381
- * Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
375
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
382
376
  * @type {any}
383
377
  * @memberof PoliciesApiListPolicies
384
378
  */
@@ -395,6 +389,12 @@ export interface PoliciesApiListPoliciesRequest {
395
389
  * @memberof PoliciesApiListPolicies
396
390
  */
397
391
  readonly expand?: any;
392
+ /**
393
+ * 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.
394
+ * @type {any}
395
+ * @memberof PoliciesApiListPolicies
396
+ */
397
+ readonly filters?: any;
398
398
  /**
399
399
  * Bearer Token: provided by the login endpoint under the name accessToken.
400
400
  * @type {string}
@@ -192,18 +192,18 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
192
192
  * List all the policies that belong to a customer, the policies can be filtered by policy code, policy number.
193
193
  * @summary List policies
194
194
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
195
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
195
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
196
196
  * @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.
197
197
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
198
- * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
199
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
198
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
200
199
  * @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.
201
200
  * @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.
201
+ * @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.
202
202
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
203
203
  * @param {*} [options] Override http request option.
204
204
  * @throws {RequiredError}
205
205
  */
206
- listPolicies: function (customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options) {
206
+ listPolicies: function (customerCode, pageSize, pageToken, filter, search, order, expand, filters, authorization, options) {
207
207
  if (options === void 0) { options = {}; }
208
208
  return __awaiter(_this, void 0, void 0, function () {
209
209
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -229,9 +229,6 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
229
229
  if (filter !== undefined) {
230
230
  localVarQueryParameter['filter'] = filter;
231
231
  }
232
- if (filters !== undefined) {
233
- localVarQueryParameter['filters'] = filters;
234
- }
235
232
  if (search !== undefined) {
236
233
  localVarQueryParameter['search'] = search;
237
234
  }
@@ -241,6 +238,9 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
241
238
  if (expand !== undefined) {
242
239
  localVarQueryParameter['expand'] = expand;
243
240
  }
241
+ if (filters !== undefined) {
242
+ localVarQueryParameter['filters'] = filters;
243
+ }
244
244
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
245
245
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
246
246
  }
@@ -493,23 +493,23 @@ var PoliciesApiFp = function (configuration) {
493
493
  * List all the policies that belong to a customer, the policies can be filtered by policy code, policy number.
494
494
  * @summary List policies
495
495
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
496
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
496
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
497
497
  * @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.
498
498
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
499
- * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
500
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
499
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
501
500
  * @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.
502
501
  * @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.
502
+ * @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.
503
503
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
504
504
  * @param {*} [options] Override http request option.
505
505
  * @throws {RequiredError}
506
506
  */
507
- listPolicies: function (customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options) {
507
+ listPolicies: function (customerCode, pageSize, pageToken, filter, search, order, expand, filters, authorization, options) {
508
508
  return __awaiter(this, void 0, void 0, function () {
509
509
  var localVarAxiosArgs;
510
510
  return __generator(this, function (_a) {
511
511
  switch (_a.label) {
512
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPolicies(customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options)];
512
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPolicies(customerCode, pageSize, pageToken, filter, search, order, expand, filters, authorization, options)];
513
513
  case 1:
514
514
  localVarAxiosArgs = _a.sent();
515
515
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -647,19 +647,19 @@ var PoliciesApiFactory = function (configuration, basePath, axios) {
647
647
  * List all the policies that belong to a customer, the policies can be filtered by policy code, policy number.
648
648
  * @summary List policies
649
649
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
650
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
650
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
651
651
  * @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.
652
652
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
653
- * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
654
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
653
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
655
654
  * @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.
656
655
  * @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.
656
+ * @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.
657
657
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
658
658
  * @param {*} [options] Override http request option.
659
659
  * @throws {RequiredError}
660
660
  */
661
- listPolicies: function (customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options) {
662
- return localVarFp.listPolicies(customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options).then(function (request) { return request(axios, basePath); });
661
+ listPolicies: function (customerCode, pageSize, pageToken, filter, search, order, expand, filters, authorization, options) {
662
+ return localVarFp.listPolicies(customerCode, pageSize, pageToken, filter, search, order, expand, filters, authorization, options).then(function (request) { return request(axios, basePath); });
663
663
  },
664
664
  /**
665
665
  * Request to update an existing policy by customer.
@@ -759,7 +759,7 @@ var PoliciesApi = /** @class */ (function (_super) {
759
759
  */
760
760
  PoliciesApi.prototype.listPolicies = function (requestParameters, options) {
761
761
  var _this = this;
762
- return (0, exports.PoliciesApiFp)(this.configuration).listPolicies(requestParameters.customerCode, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
762
+ return (0, exports.PoliciesApiFp)(this.configuration).listPolicies(requestParameters.customerCode, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
763
763
  };
764
764
  /**
765
765
  * Request to update an existing policy by customer.