@emilgroup/insurance-sdk-node 1.44.0 → 1.47.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 (86) hide show
  1. package/.openapi-generator/FILES +12 -0
  2. package/README.md +2 -2
  3. package/api/booking-funnels-api.ts +791 -0
  4. package/api/insured-object-types-api.ts +20 -6
  5. package/api/insured-objects-api.ts +20 -6
  6. package/api/lead-versions-api.ts +24 -10
  7. package/api/leads-api.ts +24 -10
  8. package/api/named-ranges-api.ts +20 -6
  9. package/api/policies-api.ts +748 -20
  10. package/api/premium-formulas-api.ts +20 -6
  11. package/api/product-factors-api.ts +22 -6
  12. package/api/product-fields-api.ts +40 -12
  13. package/api/products-api.ts +20 -6
  14. package/api/status-transition-rules-api.ts +24 -10
  15. package/api.ts +2 -0
  16. package/dist/api/booking-funnels-api.d.ts +443 -0
  17. package/dist/api/booking-funnels-api.js +735 -0
  18. package/dist/api/insured-object-types-api.d.ts +12 -3
  19. package/dist/api/insured-object-types-api.js +12 -6
  20. package/dist/api/insured-objects-api.d.ts +12 -3
  21. package/dist/api/insured-objects-api.js +12 -6
  22. package/dist/api/lead-versions-api.d.ts +16 -7
  23. package/dist/api/lead-versions-api.js +15 -9
  24. package/dist/api/leads-api.d.ts +16 -7
  25. package/dist/api/leads-api.js +15 -9
  26. package/dist/api/named-ranges-api.d.ts +12 -3
  27. package/dist/api/named-ranges-api.js +12 -6
  28. package/dist/api/policies-api.d.ts +428 -14
  29. package/dist/api/policies-api.js +574 -18
  30. package/dist/api/premium-formulas-api.d.ts +12 -3
  31. package/dist/api/premium-formulas-api.js +12 -6
  32. package/dist/api/product-factors-api.d.ts +12 -3
  33. package/dist/api/product-factors-api.js +12 -6
  34. package/dist/api/product-fields-api.d.ts +24 -6
  35. package/dist/api/product-fields-api.js +24 -12
  36. package/dist/api/products-api.d.ts +12 -3
  37. package/dist/api/products-api.js +12 -6
  38. package/dist/api/status-transition-rules-api.d.ts +16 -7
  39. package/dist/api/status-transition-rules-api.js +15 -9
  40. package/dist/api.d.ts +1 -0
  41. package/dist/api.js +1 -0
  42. package/dist/models/booking-funnel-class.d.ts +84 -0
  43. package/dist/models/booking-funnel-class.js +15 -0
  44. package/dist/models/create-booking-funnel-request-dto.d.ts +66 -0
  45. package/dist/models/create-booking-funnel-request-dto.js +15 -0
  46. package/dist/models/create-draft-policy-request-dto.d.ts +70 -0
  47. package/dist/models/create-draft-policy-request-dto.js +23 -0
  48. package/dist/models/delete-draft-policy-request-dto.d.ts +24 -0
  49. package/dist/models/delete-draft-policy-request-dto.js +15 -0
  50. package/dist/models/get-draft-policy-request-dto.d.ts +30 -0
  51. package/dist/models/get-draft-policy-request-dto.js +15 -0
  52. package/dist/models/index.d.ts +11 -0
  53. package/dist/models/index.js +11 -0
  54. package/dist/models/list-booking-funnels-response-class.d.ts +31 -0
  55. package/dist/models/list-booking-funnels-response-class.js +15 -0
  56. package/dist/models/list-policy-version-response-class.d.ts +43 -0
  57. package/dist/models/list-policy-version-response-class.js +15 -0
  58. package/dist/models/list-policy-versions-request-dto.d.ts +66 -0
  59. package/dist/models/list-policy-versions-request-dto.js +15 -0
  60. package/dist/models/list-request-dto.d.ts +6 -0
  61. package/dist/models/patch-booking-funnel-request-dto.d.ts +60 -0
  62. package/dist/models/patch-booking-funnel-request-dto.js +15 -0
  63. package/dist/models/patch-draft-policy-request-dto.d.ts +70 -0
  64. package/dist/models/patch-draft-policy-request-dto.js +23 -0
  65. package/dist/models/patch-policy-request-dto.d.ts +0 -6
  66. package/dist/models/policy-version-class.d.ts +12 -0
  67. package/dist/models/update-booking-funnel-request-dto.d.ts +60 -0
  68. package/dist/models/update-booking-funnel-request-dto.js +15 -0
  69. package/dist/models/update-policy-request-dto.d.ts +0 -6
  70. package/models/booking-funnel-class.ts +90 -0
  71. package/models/create-booking-funnel-request-dto.ts +72 -0
  72. package/models/create-draft-policy-request-dto.ts +79 -0
  73. package/models/delete-draft-policy-request-dto.ts +30 -0
  74. package/models/get-draft-policy-request-dto.ts +36 -0
  75. package/models/index.ts +11 -0
  76. package/models/list-booking-funnels-response-class.ts +37 -0
  77. package/models/list-policy-version-response-class.ts +49 -0
  78. package/models/list-policy-versions-request-dto.ts +72 -0
  79. package/models/list-request-dto.ts +6 -0
  80. package/models/patch-booking-funnel-request-dto.ts +66 -0
  81. package/models/patch-draft-policy-request-dto.ts +79 -0
  82. package/models/patch-policy-request-dto.ts +0 -6
  83. package/models/policy-version-class.ts +12 -0
  84. package/models/update-booking-funnel-request-dto.ts +66 -0
  85. package/models/update-policy-request-dto.ts +0 -6
  86. package/package.json +1 -1
@@ -42,10 +42,11 @@ export const InsuredObjectTypesApiAxiosParamCreator = function (configuration?:
42
42
  * @param {string} [search] Search query.
43
43
  * @param {string} [order] Ordering criteria.
44
44
  * @param {string} [expand] Extra fields to fetch.
45
+ * @param {string} [filters]
45
46
  * @param {*} [options] Override http request option.
46
47
  * @throws {RequiredError}
47
48
  */
48
- listInsuredObjectTypes: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
49
+ listInsuredObjectTypes: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
49
50
  const localVarPath = `/insuranceservice/v1/insured-object-types`;
50
51
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
51
52
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -88,6 +89,10 @@ export const InsuredObjectTypesApiAxiosParamCreator = function (configuration?:
88
89
  localVarQueryParameter['expand'] = expand;
89
90
  }
90
91
 
92
+ if (filters !== undefined) {
93
+ localVarQueryParameter['filters'] = filters;
94
+ }
95
+
91
96
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
92
97
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
93
98
  }
@@ -123,11 +128,12 @@ export const InsuredObjectTypesApiFp = function(configuration?: Configuration) {
123
128
  * @param {string} [search] Search query.
124
129
  * @param {string} [order] Ordering criteria.
125
130
  * @param {string} [expand] Extra fields to fetch.
131
+ * @param {string} [filters]
126
132
  * @param {*} [options] Override http request option.
127
133
  * @throws {RequiredError}
128
134
  */
129
- async listInsuredObjectTypes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInsuredObjectTypesResponseClass>> {
130
- const localVarAxiosArgs = await localVarAxiosParamCreator.listInsuredObjectTypes(authorization, pageSize, pageToken, filter, search, order, expand, options);
135
+ async listInsuredObjectTypes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInsuredObjectTypesResponseClass>> {
136
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listInsuredObjectTypes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
131
137
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
132
138
  },
133
139
  }
@@ -150,11 +156,12 @@ export const InsuredObjectTypesApiFactory = function (configuration?: Configurat
150
156
  * @param {string} [search] Search query.
151
157
  * @param {string} [order] Ordering criteria.
152
158
  * @param {string} [expand] Extra fields to fetch.
159
+ * @param {string} [filters]
153
160
  * @param {*} [options] Override http request option.
154
161
  * @throws {RequiredError}
155
162
  */
156
- listInsuredObjectTypes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListInsuredObjectTypesResponseClass> {
157
- return localVarFp.listInsuredObjectTypes(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
163
+ listInsuredObjectTypes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListInsuredObjectTypesResponseClass> {
164
+ return localVarFp.listInsuredObjectTypes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
158
165
  },
159
166
  };
160
167
  };
@@ -213,6 +220,13 @@ export interface InsuredObjectTypesApiListInsuredObjectTypesRequest {
213
220
  * @memberof InsuredObjectTypesApiListInsuredObjectTypes
214
221
  */
215
222
  readonly expand?: string
223
+
224
+ /**
225
+ *
226
+ * @type {string}
227
+ * @memberof InsuredObjectTypesApiListInsuredObjectTypes
228
+ */
229
+ readonly filters?: string
216
230
  }
217
231
 
218
232
  /**
@@ -231,6 +245,6 @@ export class InsuredObjectTypesApi extends BaseAPI {
231
245
  * @memberof InsuredObjectTypesApi
232
246
  */
233
247
  public listInsuredObjectTypes(requestParameters: InsuredObjectTypesApiListInsuredObjectTypesRequest = {}, options?: AxiosRequestConfig) {
234
- return InsuredObjectTypesApiFp(this.configuration).listInsuredObjectTypes(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
248
+ return InsuredObjectTypesApiFp(this.configuration).listInsuredObjectTypes(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
235
249
  }
236
250
  }
@@ -187,10 +187,11 @@ export const InsuredObjectsApiAxiosParamCreator = function (configuration?: Conf
187
187
  * @param {string} [search] Search query.
188
188
  * @param {string} [order] Ordering criteria.
189
189
  * @param {string} [expand] Extra fields to fetch.
190
+ * @param {string} [filters]
190
191
  * @param {*} [options] Override http request option.
191
192
  * @throws {RequiredError}
192
193
  */
193
- listInsuredObjects: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
194
+ listInsuredObjects: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
194
195
  const localVarPath = `/insuranceservice/v1/insured-objects`;
195
196
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
196
197
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -233,6 +234,10 @@ export const InsuredObjectsApiAxiosParamCreator = function (configuration?: Conf
233
234
  localVarQueryParameter['expand'] = expand;
234
235
  }
235
236
 
237
+ if (filters !== undefined) {
238
+ localVarQueryParameter['filters'] = filters;
239
+ }
240
+
236
241
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
237
242
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
238
243
  }
@@ -305,11 +310,12 @@ export const InsuredObjectsApiFp = function(configuration?: Configuration) {
305
310
  * @param {string} [search] Search query.
306
311
  * @param {string} [order] Ordering criteria.
307
312
  * @param {string} [expand] Extra fields to fetch.
313
+ * @param {string} [filters]
308
314
  * @param {*} [options] Override http request option.
309
315
  * @throws {RequiredError}
310
316
  */
311
- async listInsuredObjects(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInsuredObjectsResponseClass>> {
312
- const localVarAxiosArgs = await localVarAxiosParamCreator.listInsuredObjects(authorization, pageSize, pageToken, filter, search, order, expand, options);
317
+ async listInsuredObjects(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInsuredObjectsResponseClass>> {
318
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listInsuredObjects(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
313
319
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
314
320
  },
315
321
  }
@@ -366,11 +372,12 @@ export const InsuredObjectsApiFactory = function (configuration?: Configuration,
366
372
  * @param {string} [search] Search query.
367
373
  * @param {string} [order] Ordering criteria.
368
374
  * @param {string} [expand] Extra fields to fetch.
375
+ * @param {string} [filters]
369
376
  * @param {*} [options] Override http request option.
370
377
  * @throws {RequiredError}
371
378
  */
372
- listInsuredObjects(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListInsuredObjectsResponseClass> {
373
- return localVarFp.listInsuredObjects(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
379
+ listInsuredObjects(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListInsuredObjectsResponseClass> {
380
+ return localVarFp.listInsuredObjects(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
374
381
  },
375
382
  };
376
383
  };
@@ -499,6 +506,13 @@ export interface InsuredObjectsApiListInsuredObjectsRequest {
499
506
  * @memberof InsuredObjectsApiListInsuredObjects
500
507
  */
501
508
  readonly expand?: string
509
+
510
+ /**
511
+ *
512
+ * @type {string}
513
+ * @memberof InsuredObjectsApiListInsuredObjects
514
+ */
515
+ readonly filters?: string
502
516
  }
503
517
 
504
518
  /**
@@ -553,6 +567,6 @@ export class InsuredObjectsApi extends BaseAPI {
553
567
  * @memberof InsuredObjectsApi
554
568
  */
555
569
  public listInsuredObjects(requestParameters: InsuredObjectsApiListInsuredObjectsRequest = {}, options?: AxiosRequestConfig) {
556
- return InsuredObjectsApiFp(this.configuration).listInsuredObjects(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
570
+ return InsuredObjectsApiFp(this.configuration).listInsuredObjects(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
557
571
  }
558
572
  }
@@ -88,16 +88,17 @@ export const LeadVersionsApiAxiosParamCreator = function (configuration?: Config
88
88
  * @summary List lead versions
89
89
  * @param {string} code
90
90
  * @param {string} [authorization] Bearer Token
91
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
91
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
92
92
  * @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.
93
93
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
94
94
  * @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.
95
95
  * @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.
96
96
  * @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.
97
+ * @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.
97
98
  * @param {*} [options] Override http request option.
98
99
  * @throws {RequiredError}
99
100
  */
100
- listLeadVersions: async (code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
101
+ listLeadVersions: async (code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
101
102
  // verify required parameter 'code' is not null or undefined
102
103
  assertParamExists('listLeadVersions', 'code', code)
103
104
  const localVarPath = `/insuranceservice/v1/leads/{code}/versions`
@@ -143,6 +144,10 @@ export const LeadVersionsApiAxiosParamCreator = function (configuration?: Config
143
144
  localVarQueryParameter['expand'] = expand;
144
145
  }
145
146
 
147
+ if (filters !== undefined) {
148
+ localVarQueryParameter['filters'] = filters;
149
+ }
150
+
146
151
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
147
152
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
148
153
  }
@@ -186,17 +191,18 @@ export const LeadVersionsApiFp = function(configuration?: Configuration) {
186
191
  * @summary List lead versions
187
192
  * @param {string} code
188
193
  * @param {string} [authorization] Bearer Token
189
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
194
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
190
195
  * @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.
191
196
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
192
197
  * @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.
193
198
  * @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.
194
199
  * @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.
200
+ * @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.
195
201
  * @param {*} [options] Override http request option.
196
202
  * @throws {RequiredError}
197
203
  */
198
- async listLeadVersions(code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLeadVersionsResponseClass>> {
199
- const localVarAxiosArgs = await localVarAxiosParamCreator.listLeadVersions(code, authorization, pageSize, pageToken, filter, search, order, expand, options);
204
+ async listLeadVersions(code: 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<ListLeadVersionsResponseClass>> {
205
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listLeadVersions(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
200
206
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
201
207
  },
202
208
  }
@@ -226,17 +232,18 @@ export const LeadVersionsApiFactory = function (configuration?: Configuration, b
226
232
  * @summary List lead versions
227
233
  * @param {string} code
228
234
  * @param {string} [authorization] Bearer Token
229
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
235
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
230
236
  * @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.
231
237
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
232
238
  * @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.
233
239
  * @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.
234
240
  * @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.
241
+ * @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.
235
242
  * @param {*} [options] Override http request option.
236
243
  * @throws {RequiredError}
237
244
  */
238
- listLeadVersions(code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListLeadVersionsResponseClass> {
239
- return localVarFp.listLeadVersions(code, authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
245
+ listLeadVersions(code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListLeadVersionsResponseClass> {
246
+ return localVarFp.listLeadVersions(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
240
247
  },
241
248
  };
242
249
  };
@@ -290,7 +297,7 @@ export interface LeadVersionsApiListLeadVersionsRequest {
290
297
  readonly authorization?: string
291
298
 
292
299
  /**
293
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
300
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
294
301
  * @type {any}
295
302
  * @memberof LeadVersionsApiListLeadVersions
296
303
  */
@@ -330,6 +337,13 @@ export interface LeadVersionsApiListLeadVersionsRequest {
330
337
  * @memberof LeadVersionsApiListLeadVersions
331
338
  */
332
339
  readonly expand?: any
340
+
341
+ /**
342
+ * 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.
343
+ * @type {any}
344
+ * @memberof LeadVersionsApiListLeadVersions
345
+ */
346
+ readonly filters?: any
333
347
  }
334
348
 
335
349
  /**
@@ -360,6 +374,6 @@ export class LeadVersionsApi extends BaseAPI {
360
374
  * @memberof LeadVersionsApi
361
375
  */
362
376
  public listLeadVersions(requestParameters: LeadVersionsApiListLeadVersionsRequest, options?: AxiosRequestConfig) {
363
- return LeadVersionsApiFp(this.configuration).listLeadVersions(requestParameters.code, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
377
+ return LeadVersionsApiFp(this.configuration).listLeadVersions(requestParameters.code, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
364
378
  }
365
379
  }
package/api/leads-api.ts CHANGED
@@ -290,16 +290,17 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
290
290
  * Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
291
291
  * @summary List leads
292
292
  * @param {string} [authorization] Bearer Token
293
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
293
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
294
294
  * @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.
295
295
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
296
296
  * @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.
297
297
  * @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.
298
298
  * @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.
299
+ * @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.
299
300
  * @param {*} [options] Override http request option.
300
301
  * @throws {RequiredError}
301
302
  */
302
- listLeads: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
303
+ listLeads: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
303
304
  const localVarPath = `/insuranceservice/v1/leads`;
304
305
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
305
306
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -342,6 +343,10 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
342
343
  localVarQueryParameter['expand'] = expand;
343
344
  }
344
345
 
346
+ if (filters !== undefined) {
347
+ localVarQueryParameter['filters'] = filters;
348
+ }
349
+
345
350
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
346
351
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
347
352
  }
@@ -585,17 +590,18 @@ export const LeadsApiFp = function(configuration?: Configuration) {
585
590
  * Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
586
591
  * @summary List leads
587
592
  * @param {string} [authorization] Bearer Token
588
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
593
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
589
594
  * @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.
590
595
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
591
596
  * @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.
592
597
  * @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.
593
598
  * @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.
599
+ * @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.
594
600
  * @param {*} [options] Override http request option.
595
601
  * @throws {RequiredError}
596
602
  */
597
- async listLeads(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLeadsResponseClass>> {
598
- const localVarAxiosArgs = await localVarAxiosParamCreator.listLeads(authorization, pageSize, pageToken, filter, search, order, expand, options);
603
+ async listLeads(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>> {
604
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listLeads(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
599
605
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
600
606
  },
601
607
  /**
@@ -707,17 +713,18 @@ export const LeadsApiFactory = function (configuration?: Configuration, basePath
707
713
  * Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
708
714
  * @summary List leads
709
715
  * @param {string} [authorization] Bearer Token
710
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
716
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
711
717
  * @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.
712
718
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
713
719
  * @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.
714
720
  * @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.
715
721
  * @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.
722
+ * @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.
716
723
  * @param {*} [options] Override http request option.
717
724
  * @throws {RequiredError}
718
725
  */
719
- listLeads(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListLeadsResponseClass> {
720
- return localVarFp.listLeads(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
726
+ listLeads(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListLeadsResponseClass> {
727
+ return localVarFp.listLeads(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
721
728
  },
722
729
  /**
723
730
  * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
@@ -884,7 +891,7 @@ export interface LeadsApiListLeadsRequest {
884
891
  readonly authorization?: string
885
892
 
886
893
  /**
887
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
894
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
888
895
  * @type {any}
889
896
  * @memberof LeadsApiListLeads
890
897
  */
@@ -924,6 +931,13 @@ export interface LeadsApiListLeadsRequest {
924
931
  * @memberof LeadsApiListLeads
925
932
  */
926
933
  readonly expand?: any
934
+
935
+ /**
936
+ * 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.
937
+ * @type {any}
938
+ * @memberof LeadsApiListLeads
939
+ */
940
+ readonly filters?: any
927
941
  }
928
942
 
929
943
  /**
@@ -1086,7 +1100,7 @@ export class LeadsApi extends BaseAPI {
1086
1100
  * @memberof LeadsApi
1087
1101
  */
1088
1102
  public listLeads(requestParameters: LeadsApiListLeadsRequest = {}, options?: AxiosRequestConfig) {
1089
- return LeadsApiFp(this.configuration).listLeads(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
1103
+ return LeadsApiFp(this.configuration).listLeads(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
1090
1104
  }
1091
1105
 
1092
1106
  /**
@@ -263,10 +263,11 @@ export const NamedRangesApiAxiosParamCreator = function (configuration?: Configu
263
263
  * @param {string} [search] Search query.
264
264
  * @param {string} [order] Ordering criteria.
265
265
  * @param {string} [expand] Extra fields to fetch.
266
+ * @param {string} [filters]
266
267
  * @param {*} [options] Override http request option.
267
268
  * @throws {RequiredError}
268
269
  */
269
- listNamedRanges: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
270
+ listNamedRanges: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
270
271
  const localVarPath = `/insuranceservice/v1/named-ranges`;
271
272
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
272
273
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -309,6 +310,10 @@ export const NamedRangesApiAxiosParamCreator = function (configuration?: Configu
309
310
  localVarQueryParameter['expand'] = expand;
310
311
  }
311
312
 
313
+ if (filters !== undefined) {
314
+ localVarQueryParameter['filters'] = filters;
315
+ }
316
+
312
317
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
313
318
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
314
319
  }
@@ -448,11 +453,12 @@ export const NamedRangesApiFp = function(configuration?: Configuration) {
448
453
  * @param {string} [search] Search query.
449
454
  * @param {string} [order] Ordering criteria.
450
455
  * @param {string} [expand] Extra fields to fetch.
456
+ * @param {string} [filters]
451
457
  * @param {*} [options] Override http request option.
452
458
  * @throws {RequiredError}
453
459
  */
454
- async listNamedRanges(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListNamedRangesResponseClass>> {
455
- const localVarAxiosArgs = await localVarAxiosParamCreator.listNamedRanges(authorization, pageSize, pageToken, filter, search, order, expand, options);
460
+ async listNamedRanges(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListNamedRangesResponseClass>> {
461
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listNamedRanges(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
456
462
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
457
463
  },
458
464
  /**
@@ -537,11 +543,12 @@ export const NamedRangesApiFactory = function (configuration?: Configuration, ba
537
543
  * @param {string} [search] Search query.
538
544
  * @param {string} [order] Ordering criteria.
539
545
  * @param {string} [expand] Extra fields to fetch.
546
+ * @param {string} [filters]
540
547
  * @param {*} [options] Override http request option.
541
548
  * @throws {RequiredError}
542
549
  */
543
- listNamedRanges(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListNamedRangesResponseClass> {
544
- return localVarFp.listNamedRanges(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
550
+ listNamedRanges(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListNamedRangesResponseClass> {
551
+ return localVarFp.listNamedRanges(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
545
552
  },
546
553
  /**
547
554
  * Updates the specified named range by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
@@ -731,6 +738,13 @@ export interface NamedRangesApiListNamedRangesRequest {
731
738
  * @memberof NamedRangesApiListNamedRanges
732
739
  */
733
740
  readonly expand?: string
741
+
742
+ /**
743
+ *
744
+ * @type {string}
745
+ * @memberof NamedRangesApiListNamedRanges
746
+ */
747
+ readonly filters?: string
734
748
  }
735
749
 
736
750
  /**
@@ -825,7 +839,7 @@ export class NamedRangesApi extends BaseAPI {
825
839
  * @memberof NamedRangesApi
826
840
  */
827
841
  public listNamedRanges(requestParameters: NamedRangesApiListNamedRangesRequest = {}, options?: AxiosRequestConfig) {
828
- return NamedRangesApiFp(this.configuration).listNamedRanges(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
842
+ return NamedRangesApiFp(this.configuration).listNamedRanges(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
829
843
  }
830
844
 
831
845
  /**