@emilgroup/insurance-sdk-node 1.48.0 → 1.48.1-beta.2

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 (141) hide show
  1. package/.openapi-generator/FILES +21 -8
  2. package/README.md +2 -2
  3. package/api/booking-funnels-api.ts +4 -4
  4. package/api/default-api.ts +8 -4
  5. package/api/emil-functions-api.ts +1314 -0
  6. package/api/insured-object-types-api.ts +4 -4
  7. package/api/insured-objects-api.ts +9 -6
  8. package/api/lead-statuses-api.ts +96 -12
  9. package/api/named-ranges-api.ts +4 -4
  10. package/api/partner-roles-api.ts +683 -0
  11. package/api/policies-api.ts +167 -180
  12. package/api/premium-formulas-api.ts +4 -4
  13. package/api/product-factors-api.ts +4 -4
  14. package/api/product-fields-api.ts +8 -8
  15. package/api/products-api.ts +12 -12
  16. package/api.ts +4 -2
  17. package/dist/api/booking-funnels-api.d.ts +4 -4
  18. package/dist/api/booking-funnels-api.js +4 -4
  19. package/dist/api/default-api.d.ts +8 -4
  20. package/dist/api/default-api.js +8 -4
  21. package/dist/api/emil-functions-api.d.ts +727 -0
  22. package/dist/api/emil-functions-api.js +1202 -0
  23. package/dist/api/insured-object-types-api.d.ts +4 -4
  24. package/dist/api/insured-object-types-api.js +3 -3
  25. package/dist/api/insured-objects-api.d.ts +4 -4
  26. package/dist/api/insured-objects-api.js +7 -5
  27. package/dist/api/lead-statuses-api.d.ts +63 -9
  28. package/dist/api/lead-statuses-api.js +45 -9
  29. package/dist/api/named-ranges-api.d.ts +4 -4
  30. package/dist/api/named-ranges-api.js +3 -3
  31. package/dist/api/partner-roles-api.d.ts +385 -0
  32. package/dist/api/{policy-partner-roles-api.js → partner-roles-api.js} +139 -139
  33. package/dist/api/policies-api.d.ts +131 -140
  34. package/dist/api/policies-api.js +114 -120
  35. package/dist/api/premium-formulas-api.d.ts +4 -4
  36. package/dist/api/premium-formulas-api.js +3 -3
  37. package/dist/api/product-factors-api.d.ts +4 -4
  38. package/dist/api/product-factors-api.js +3 -3
  39. package/dist/api/product-fields-api.d.ts +8 -8
  40. package/dist/api/product-fields-api.js +6 -6
  41. package/dist/api/products-api.d.ts +12 -12
  42. package/dist/api/products-api.js +9 -9
  43. package/dist/api.d.ts +2 -1
  44. package/dist/api.js +2 -1
  45. package/dist/models/booking-funnel-class.d.ts +1 -1
  46. package/dist/models/create-booking-funnel-request-dto.d.ts +1 -1
  47. package/dist/models/create-emil-function-request-dto.d.ts +42 -0
  48. package/dist/models/create-emil-function-secret-request-dto.d.ts +36 -0
  49. package/dist/models/{update-policy-partner-role-request-dto.d.ts → create-partner-role-request-dto.d.ts} +6 -6
  50. package/dist/models/{get-policy-partner-role-response-class.d.ts → create-partner-role-response-class.d.ts} +7 -7
  51. package/dist/models/create-product-request-dto.d.ts +1 -1
  52. package/dist/models/emil-function-class.d.ts +60 -0
  53. package/dist/models/{create-policy-partner-role-response-class.d.ts → emil-function-secret-class.d.ts} +12 -7
  54. package/dist/models/execute-emil-function-request-dto.d.ts +24 -0
  55. package/dist/models/get-emil-function-secret-response-class.d.ts +24 -0
  56. package/dist/models/get-emil-function-secret-response-class.js +15 -0
  57. package/dist/models/{update-policy-partner-role-response-class.d.ts → get-partner-role-response-class.d.ts} +7 -7
  58. package/dist/models/get-partner-role-response-class.js +15 -0
  59. package/dist/models/get-product-request-dto.d.ts +1 -1
  60. package/dist/models/index.d.ts +19 -7
  61. package/dist/models/index.js +19 -7
  62. package/dist/models/insured-object-type-class.d.ts +1 -1
  63. package/dist/models/invoice-item-class.d.ts +12 -0
  64. package/dist/models/lead-class.d.ts +8 -1
  65. package/dist/models/lead-status-class.d.ts +1 -1
  66. package/dist/models/list-emil-function-secrets-response-class.d.ts +25 -0
  67. package/dist/models/list-emil-function-secrets-response-class.js +15 -0
  68. package/dist/models/{list-policy-partner-roles-response-class.d.ts → list-emil-functions-response-class.d.ts} +8 -8
  69. package/dist/models/list-emil-functions-response-class.js +15 -0
  70. package/dist/models/list-partner-roles-response-class.d.ts +31 -0
  71. package/dist/models/list-partner-roles-response-class.js +15 -0
  72. package/dist/models/list-policy-versions-request-dto.d.ts +1 -1
  73. package/dist/models/list-request-dto.d.ts +1 -1
  74. package/dist/models/partner-class.d.ts +60 -0
  75. package/dist/models/partner-class.js +15 -0
  76. package/dist/models/partner-link-class.d.ts +86 -0
  77. package/dist/models/partner-link-class.js +15 -0
  78. package/dist/models/{policy-partner-role-class.d.ts → partner-role-class.d.ts} +10 -10
  79. package/dist/models/partner-role-class.js +15 -0
  80. package/dist/models/patch-draft-policy-request-dto.d.ts +1 -1
  81. package/dist/models/policy-class.d.ts +7 -0
  82. package/dist/models/product-class.d.ts +1 -1
  83. package/dist/models/shared-update-named-range-request-dto.d.ts +1 -1
  84. package/dist/models/status-transition-rule-class.d.ts +1 -1
  85. package/dist/models/update-emil-function-request-dto.d.ts +42 -0
  86. package/dist/models/update-emil-function-request-dto.js +15 -0
  87. package/dist/models/update-emil-function-secret-request-dto.d.ts +30 -0
  88. package/dist/models/update-emil-function-secret-request-dto.js +15 -0
  89. package/dist/models/update-named-range-request-dto.d.ts +1 -1
  90. package/dist/models/{create-policy-partner-role-request-dto.d.ts → update-partner-role-request-dto.d.ts} +6 -6
  91. package/dist/models/update-partner-role-request-dto.js +15 -0
  92. package/dist/models/update-partner-role-response-class.d.ts +25 -0
  93. package/dist/models/update-partner-role-response-class.js +15 -0
  94. package/dist/models/update-product-request-dto.d.ts +1 -1
  95. package/models/booking-funnel-class.ts +1 -1
  96. package/models/create-booking-funnel-request-dto.ts +1 -1
  97. package/models/create-emil-function-request-dto.ts +48 -0
  98. package/models/create-emil-function-secret-request-dto.ts +42 -0
  99. package/models/{update-policy-partner-role-request-dto.ts → create-partner-role-request-dto.ts} +6 -6
  100. package/models/{get-policy-partner-role-response-class.ts → create-partner-role-response-class.ts} +7 -7
  101. package/models/create-product-request-dto.ts +1 -1
  102. package/models/emil-function-class.ts +66 -0
  103. package/models/{update-policy-partner-role-response-class.ts → emil-function-secret-class.ts} +12 -7
  104. package/models/execute-emil-function-request-dto.ts +30 -0
  105. package/models/get-emil-function-secret-response-class.ts +30 -0
  106. package/models/{create-policy-partner-role-response-class.ts → get-partner-role-response-class.ts} +7 -7
  107. package/models/get-product-request-dto.ts +1 -1
  108. package/models/index.ts +19 -7
  109. package/models/insured-object-type-class.ts +1 -1
  110. package/models/invoice-item-class.ts +12 -0
  111. package/models/lead-class.ts +8 -1
  112. package/models/lead-status-class.ts +1 -1
  113. package/models/list-emil-function-secrets-response-class.ts +31 -0
  114. package/models/{list-policy-partner-roles-response-class.ts → list-emil-functions-response-class.ts} +8 -8
  115. package/models/list-partner-roles-response-class.ts +37 -0
  116. package/models/list-policy-versions-request-dto.ts +1 -1
  117. package/models/list-request-dto.ts +1 -1
  118. package/models/partner-class.ts +66 -0
  119. package/models/partner-link-class.ts +92 -0
  120. package/models/{policy-partner-role-class.ts → partner-role-class.ts} +10 -10
  121. package/models/patch-draft-policy-request-dto.ts +1 -1
  122. package/models/policy-class.ts +7 -0
  123. package/models/product-class.ts +1 -1
  124. package/models/shared-update-named-range-request-dto.ts +1 -1
  125. package/models/status-transition-rule-class.ts +1 -1
  126. package/models/update-emil-function-request-dto.ts +48 -0
  127. package/models/update-emil-function-secret-request-dto.ts +36 -0
  128. package/models/update-named-range-request-dto.ts +1 -1
  129. package/models/{create-policy-partner-role-request-dto.ts → update-partner-role-request-dto.ts} +6 -6
  130. package/models/update-partner-role-response-class.ts +31 -0
  131. package/models/update-product-request-dto.ts +1 -1
  132. package/package.json +1 -1
  133. package/api/policy-partner-roles-api.ts +0 -683
  134. package/dist/api/policy-partner-roles-api.d.ts +0 -385
  135. /package/dist/models/{create-policy-partner-role-request-dto.js → create-emil-function-request-dto.js} +0 -0
  136. /package/dist/models/{create-policy-partner-role-response-class.js → create-emil-function-secret-request-dto.js} +0 -0
  137. /package/dist/models/{get-policy-partner-role-response-class.js → create-partner-role-request-dto.js} +0 -0
  138. /package/dist/models/{list-policy-partner-roles-response-class.js → create-partner-role-response-class.js} +0 -0
  139. /package/dist/models/{policy-partner-role-class.js → emil-function-class.js} +0 -0
  140. /package/dist/models/{update-policy-partner-role-request-dto.js → emil-function-secret-class.js} +0 -0
  141. /package/dist/models/{update-policy-partner-role-response-class.js → execute-emil-function-request-dto.js} +0 -0
@@ -42,7 +42,7 @@ 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
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
46
46
  * @param {*} [options] Override http request option.
47
47
  * @throws {RequiredError}
48
48
  */
@@ -128,7 +128,7 @@ export const InsuredObjectTypesApiFp = function(configuration?: Configuration) {
128
128
  * @param {string} [search] Search query.
129
129
  * @param {string} [order] Ordering criteria.
130
130
  * @param {string} [expand] Extra fields to fetch.
131
- * @param {string} [filters]
131
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
132
132
  * @param {*} [options] Override http request option.
133
133
  * @throws {RequiredError}
134
134
  */
@@ -156,7 +156,7 @@ export const InsuredObjectTypesApiFactory = function (configuration?: Configurat
156
156
  * @param {string} [search] Search query.
157
157
  * @param {string} [order] Ordering criteria.
158
158
  * @param {string} [expand] Extra fields to fetch.
159
- * @param {string} [filters]
159
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
160
160
  * @param {*} [options] Override http request option.
161
161
  * @throws {RequiredError}
162
162
  */
@@ -222,7 +222,7 @@ export interface InsuredObjectTypesApiListInsuredObjectTypesRequest {
222
222
  readonly expand?: string
223
223
 
224
224
  /**
225
- *
225
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
226
226
  * @type {string}
227
227
  * @memberof InsuredObjectTypesApiListInsuredObjectTypes
228
228
  */
@@ -143,8 +143,7 @@ export const InsuredObjectsApiAxiosParamCreator = function (configuration?: Conf
143
143
  // verify required parameter 'id' is not null or undefined
144
144
  assertParamExists('getInsuredObject', 'id', id)
145
145
  const localVarPath = `/insuranceservice/v1/insured-objects/{id}`
146
- .replace(`{${"id"}}`, encodeURIComponent(String(id)))
147
- .replace(`{${"expand"}}`, encodeURIComponent(String(expand)));
146
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
148
147
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
149
148
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
150
149
  let baseOptions;
@@ -162,6 +161,10 @@ export const InsuredObjectsApiAxiosParamCreator = function (configuration?: Conf
162
161
  // http bearer authentication required
163
162
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
164
163
 
164
+ if (expand !== undefined) {
165
+ localVarQueryParameter['expand'] = expand;
166
+ }
167
+
165
168
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
166
169
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
167
170
  }
@@ -187,7 +190,7 @@ export const InsuredObjectsApiAxiosParamCreator = function (configuration?: Conf
187
190
  * @param {string} [search] Search query.
188
191
  * @param {string} [order] Ordering criteria.
189
192
  * @param {string} [expand] Extra fields to fetch.
190
- * @param {string} [filters]
193
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
191
194
  * @param {*} [options] Override http request option.
192
195
  * @throws {RequiredError}
193
196
  */
@@ -310,7 +313,7 @@ export const InsuredObjectsApiFp = function(configuration?: Configuration) {
310
313
  * @param {string} [search] Search query.
311
314
  * @param {string} [order] Ordering criteria.
312
315
  * @param {string} [expand] Extra fields to fetch.
313
- * @param {string} [filters]
316
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
314
317
  * @param {*} [options] Override http request option.
315
318
  * @throws {RequiredError}
316
319
  */
@@ -372,7 +375,7 @@ export const InsuredObjectsApiFactory = function (configuration?: Configuration,
372
375
  * @param {string} [search] Search query.
373
376
  * @param {string} [order] Ordering criteria.
374
377
  * @param {string} [expand] Extra fields to fetch.
375
- * @param {string} [filters]
378
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
376
379
  * @param {*} [options] Override http request option.
377
380
  * @throws {RequiredError}
378
381
  */
@@ -508,7 +511,7 @@ export interface InsuredObjectsApiListInsuredObjectsRequest {
508
511
  readonly expand?: string
509
512
 
510
513
  /**
511
- *
514
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
512
515
  * @type {string}
513
516
  * @memberof InsuredObjectsApiListInsuredObjects
514
517
  */
@@ -181,11 +181,17 @@ export const LeadStatusesApiAxiosParamCreator = function (configuration?: Config
181
181
  * Returns a list of lead statuses you have previously created. The lead statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
182
182
  * @summary List lead statuses
183
183
  * @param {string} [authorization] Bearer Token
184
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. Parameters: owner, id, name and productSlug.
184
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
185
+ * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
186
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
187
+ * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
188
+ * @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.
189
+ * @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.
190
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
185
191
  * @param {*} [options] Override http request option.
186
192
  * @throws {RequiredError}
187
193
  */
188
- listLeadStatuses: async (authorization?: string, filter?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
194
+ listLeadStatuses: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
189
195
  const localVarPath = `/insuranceservice/v1/lead-statuses`;
190
196
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
191
197
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -204,10 +210,34 @@ export const LeadStatusesApiAxiosParamCreator = function (configuration?: Config
204
210
  // http bearer authentication required
205
211
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
206
212
 
213
+ if (pageSize !== undefined) {
214
+ localVarQueryParameter['pageSize'] = pageSize;
215
+ }
216
+
217
+ if (pageToken !== undefined) {
218
+ localVarQueryParameter['pageToken'] = pageToken;
219
+ }
220
+
207
221
  if (filter !== undefined) {
208
222
  localVarQueryParameter['filter'] = filter;
209
223
  }
210
224
 
225
+ if (search !== undefined) {
226
+ localVarQueryParameter['search'] = search;
227
+ }
228
+
229
+ if (order !== undefined) {
230
+ localVarQueryParameter['order'] = order;
231
+ }
232
+
233
+ if (expand !== undefined) {
234
+ localVarQueryParameter['expand'] = expand;
235
+ }
236
+
237
+ if (filters !== undefined) {
238
+ localVarQueryParameter['filters'] = filters;
239
+ }
240
+
211
241
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
212
242
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
213
243
  }
@@ -273,12 +303,18 @@ export const LeadStatusesApiFp = function(configuration?: Configuration) {
273
303
  * Returns a list of lead statuses you have previously created. The lead statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
274
304
  * @summary List lead statuses
275
305
  * @param {string} [authorization] Bearer Token
276
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. Parameters: owner, id, name and productSlug.
306
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
307
+ * @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.
308
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
309
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
310
+ * @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.
311
+ * @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.
312
+ * @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.
277
313
  * @param {*} [options] Override http request option.
278
314
  * @throws {RequiredError}
279
315
  */
280
- async listLeadStatuses(authorization?: string, filter?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLeadStatusesResponseClass>> {
281
- const localVarAxiosArgs = await localVarAxiosParamCreator.listLeadStatuses(authorization, filter, options);
316
+ async listLeadStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLeadStatusesResponseClass>> {
317
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listLeadStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
282
318
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
283
319
  },
284
320
  }
@@ -328,12 +364,18 @@ export const LeadStatusesApiFactory = function (configuration?: Configuration, b
328
364
  * Returns a list of lead statuses you have previously created. The lead statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
329
365
  * @summary List lead statuses
330
366
  * @param {string} [authorization] Bearer Token
331
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. Parameters: owner, id, name and productSlug.
367
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
368
+ * @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.
369
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
370
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
371
+ * @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.
372
+ * @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.
373
+ * @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.
332
374
  * @param {*} [options] Override http request option.
333
375
  * @throws {RequiredError}
334
376
  */
335
- listLeadStatuses(authorization?: string, filter?: string, options?: any): AxiosPromise<ListLeadStatusesResponseClass> {
336
- return localVarFp.listLeadStatuses(authorization, filter, options).then((request) => request(axios, basePath));
377
+ listLeadStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListLeadStatusesResponseClass> {
378
+ return localVarFp.listLeadStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
337
379
  },
338
380
  };
339
381
  };
@@ -415,11 +457,53 @@ export interface LeadStatusesApiListLeadStatusesRequest {
415
457
  readonly authorization?: string
416
458
 
417
459
  /**
418
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. Parameters: owner, id, name and productSlug.
419
- * @type {string}
460
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
461
+ * @type {any}
462
+ * @memberof LeadStatusesApiListLeadStatuses
463
+ */
464
+ readonly pageSize?: any
465
+
466
+ /**
467
+ * 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.
468
+ * @type {any}
469
+ * @memberof LeadStatusesApiListLeadStatuses
470
+ */
471
+ readonly pageToken?: any
472
+
473
+ /**
474
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
475
+ * @type {any}
476
+ * @memberof LeadStatusesApiListLeadStatuses
477
+ */
478
+ readonly filter?: any
479
+
480
+ /**
481
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
482
+ * @type {any}
483
+ * @memberof LeadStatusesApiListLeadStatuses
484
+ */
485
+ readonly search?: any
486
+
487
+ /**
488
+ * 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.
489
+ * @type {any}
490
+ * @memberof LeadStatusesApiListLeadStatuses
491
+ */
492
+ readonly order?: any
493
+
494
+ /**
495
+ * 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.
496
+ * @type {any}
497
+ * @memberof LeadStatusesApiListLeadStatuses
498
+ */
499
+ readonly expand?: any
500
+
501
+ /**
502
+ * 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
+ * @type {any}
420
504
  * @memberof LeadStatusesApiListLeadStatuses
421
505
  */
422
- readonly filter?: string
506
+ readonly filters?: any
423
507
  }
424
508
 
425
509
  /**
@@ -474,6 +558,6 @@ export class LeadStatusesApi extends BaseAPI {
474
558
  * @memberof LeadStatusesApi
475
559
  */
476
560
  public listLeadStatuses(requestParameters: LeadStatusesApiListLeadStatusesRequest = {}, options?: AxiosRequestConfig) {
477
- return LeadStatusesApiFp(this.configuration).listLeadStatuses(requestParameters.authorization, requestParameters.filter, options).then((request) => request(this.axios, this.basePath));
561
+ return LeadStatusesApiFp(this.configuration).listLeadStatuses(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
478
562
  }
479
563
  }
@@ -263,7 +263,7 @@ 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
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
267
267
  * @param {*} [options] Override http request option.
268
268
  * @throws {RequiredError}
269
269
  */
@@ -453,7 +453,7 @@ export const NamedRangesApiFp = function(configuration?: Configuration) {
453
453
  * @param {string} [search] Search query.
454
454
  * @param {string} [order] Ordering criteria.
455
455
  * @param {string} [expand] Extra fields to fetch.
456
- * @param {string} [filters]
456
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
457
457
  * @param {*} [options] Override http request option.
458
458
  * @throws {RequiredError}
459
459
  */
@@ -543,7 +543,7 @@ export const NamedRangesApiFactory = function (configuration?: Configuration, ba
543
543
  * @param {string} [search] Search query.
544
544
  * @param {string} [order] Ordering criteria.
545
545
  * @param {string} [expand] Extra fields to fetch.
546
- * @param {string} [filters]
546
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
547
547
  * @param {*} [options] Override http request option.
548
548
  * @throws {RequiredError}
549
549
  */
@@ -740,7 +740,7 @@ export interface NamedRangesApiListNamedRangesRequest {
740
740
  readonly expand?: string
741
741
 
742
742
  /**
743
- *
743
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
744
744
  * @type {string}
745
745
  * @memberof NamedRangesApiListNamedRanges
746
746
  */