@emilgroup/insurance-sdk-node 1.48.1-beta.2 → 1.49.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 (141) hide show
  1. package/.openapi-generator/FILES +8 -21
  2. package/README.md +2 -2
  3. package/api/booking-funnels-api.ts +4 -4
  4. package/api/default-api.ts +4 -8
  5. package/api/insured-object-types-api.ts +4 -4
  6. package/api/insured-objects-api.ts +6 -9
  7. package/api/lead-statuses-api.ts +12 -96
  8. package/api/named-ranges-api.ts +4 -4
  9. package/api/policies-api.ts +180 -167
  10. package/api/policy-partner-roles-api.ts +683 -0
  11. package/api/premium-formulas-api.ts +4 -4
  12. package/api/product-factors-api.ts +4 -4
  13. package/api/product-fields-api.ts +8 -8
  14. package/api/products-api.ts +12 -12
  15. package/api.ts +2 -4
  16. package/dist/api/booking-funnels-api.d.ts +4 -4
  17. package/dist/api/booking-funnels-api.js +4 -4
  18. package/dist/api/default-api.d.ts +4 -8
  19. package/dist/api/default-api.js +4 -8
  20. package/dist/api/insured-object-types-api.d.ts +4 -4
  21. package/dist/api/insured-object-types-api.js +3 -3
  22. package/dist/api/insured-objects-api.d.ts +4 -4
  23. package/dist/api/insured-objects-api.js +5 -7
  24. package/dist/api/lead-statuses-api.d.ts +9 -63
  25. package/dist/api/lead-statuses-api.js +9 -45
  26. package/dist/api/named-ranges-api.d.ts +4 -4
  27. package/dist/api/named-ranges-api.js +3 -3
  28. package/dist/api/policies-api.d.ts +140 -131
  29. package/dist/api/policies-api.js +120 -114
  30. package/dist/api/policy-partner-roles-api.d.ts +385 -0
  31. package/dist/api/{partner-roles-api.js → policy-partner-roles-api.js} +139 -139
  32. package/dist/api/premium-formulas-api.d.ts +4 -4
  33. package/dist/api/premium-formulas-api.js +3 -3
  34. package/dist/api/product-factors-api.d.ts +4 -4
  35. package/dist/api/product-factors-api.js +3 -3
  36. package/dist/api/product-fields-api.d.ts +8 -8
  37. package/dist/api/product-fields-api.js +6 -6
  38. package/dist/api/products-api.d.ts +12 -12
  39. package/dist/api/products-api.js +9 -9
  40. package/dist/api.d.ts +1 -2
  41. package/dist/api.js +1 -2
  42. package/dist/models/booking-funnel-class.d.ts +1 -1
  43. package/dist/models/create-booking-funnel-request-dto.d.ts +1 -1
  44. package/dist/models/{update-partner-role-request-dto.d.ts → create-policy-partner-role-request-dto.d.ts} +6 -6
  45. package/dist/models/{emil-function-secret-class.d.ts → create-policy-partner-role-response-class.d.ts} +7 -12
  46. package/dist/models/create-product-request-dto.d.ts +1 -1
  47. package/dist/models/{create-partner-role-response-class.d.ts → get-policy-partner-role-response-class.d.ts} +7 -7
  48. package/dist/models/get-product-request-dto.d.ts +1 -1
  49. package/dist/models/index.d.ts +7 -19
  50. package/dist/models/index.js +7 -19
  51. package/dist/models/insured-object-type-class.d.ts +1 -1
  52. package/dist/models/invoice-item-class.d.ts +0 -12
  53. package/dist/models/lead-class.d.ts +1 -8
  54. package/dist/models/lead-status-class.d.ts +1 -1
  55. package/dist/models/{list-emil-functions-response-class.d.ts → list-policy-partner-roles-response-class.d.ts} +8 -8
  56. package/dist/models/list-policy-versions-request-dto.d.ts +1 -1
  57. package/dist/models/list-request-dto.d.ts +1 -1
  58. package/dist/models/patch-draft-policy-request-dto.d.ts +1 -1
  59. package/dist/models/policy-class.d.ts +0 -7
  60. package/dist/models/{partner-role-class.d.ts → policy-partner-role-class.d.ts} +10 -10
  61. package/dist/models/product-class.d.ts +1 -1
  62. package/dist/models/shared-update-named-range-request-dto.d.ts +1 -1
  63. package/dist/models/status-transition-rule-class.d.ts +1 -1
  64. package/dist/models/update-named-range-request-dto.d.ts +1 -1
  65. package/dist/models/{create-partner-role-request-dto.d.ts → update-policy-partner-role-request-dto.d.ts} +6 -6
  66. package/dist/models/{execute-emil-function-request-dto.d.ts → update-policy-partner-role-response-class.d.ts} +7 -6
  67. package/dist/models/update-product-request-dto.d.ts +1 -1
  68. package/models/booking-funnel-class.ts +1 -1
  69. package/models/create-booking-funnel-request-dto.ts +1 -1
  70. package/models/{update-partner-role-request-dto.ts → create-policy-partner-role-request-dto.ts} +6 -6
  71. package/models/{emil-function-secret-class.ts → create-policy-partner-role-response-class.ts} +7 -12
  72. package/models/create-product-request-dto.ts +1 -1
  73. package/models/{create-partner-role-response-class.ts → get-policy-partner-role-response-class.ts} +7 -7
  74. package/models/get-product-request-dto.ts +1 -1
  75. package/models/index.ts +7 -19
  76. package/models/insured-object-type-class.ts +1 -1
  77. package/models/invoice-item-class.ts +0 -12
  78. package/models/lead-class.ts +1 -8
  79. package/models/lead-status-class.ts +1 -1
  80. package/models/{list-emil-functions-response-class.ts → list-policy-partner-roles-response-class.ts} +8 -8
  81. package/models/list-policy-versions-request-dto.ts +1 -1
  82. package/models/list-request-dto.ts +1 -1
  83. package/models/patch-draft-policy-request-dto.ts +1 -1
  84. package/models/policy-class.ts +0 -7
  85. package/models/{partner-role-class.ts → policy-partner-role-class.ts} +10 -10
  86. package/models/product-class.ts +1 -1
  87. package/models/shared-update-named-range-request-dto.ts +1 -1
  88. package/models/status-transition-rule-class.ts +1 -1
  89. package/models/update-named-range-request-dto.ts +1 -1
  90. package/models/{create-partner-role-request-dto.ts → update-policy-partner-role-request-dto.ts} +6 -6
  91. package/models/{execute-emil-function-request-dto.ts → update-policy-partner-role-response-class.ts} +7 -6
  92. package/models/update-product-request-dto.ts +1 -1
  93. package/package.json +1 -1
  94. package/api/emil-functions-api.ts +0 -1314
  95. package/api/partner-roles-api.ts +0 -683
  96. package/dist/api/emil-functions-api.d.ts +0 -727
  97. package/dist/api/emil-functions-api.js +0 -1202
  98. package/dist/api/partner-roles-api.d.ts +0 -385
  99. package/dist/models/create-emil-function-request-dto.d.ts +0 -42
  100. package/dist/models/create-emil-function-secret-request-dto.d.ts +0 -36
  101. package/dist/models/emil-function-class.d.ts +0 -60
  102. package/dist/models/get-emil-function-secret-response-class.d.ts +0 -24
  103. package/dist/models/get-emil-function-secret-response-class.js +0 -15
  104. package/dist/models/get-partner-role-response-class.d.ts +0 -25
  105. package/dist/models/get-partner-role-response-class.js +0 -15
  106. package/dist/models/list-emil-function-secrets-response-class.d.ts +0 -25
  107. package/dist/models/list-emil-function-secrets-response-class.js +0 -15
  108. package/dist/models/list-emil-functions-response-class.js +0 -15
  109. package/dist/models/list-partner-roles-response-class.d.ts +0 -31
  110. package/dist/models/list-partner-roles-response-class.js +0 -15
  111. package/dist/models/partner-class.d.ts +0 -60
  112. package/dist/models/partner-class.js +0 -15
  113. package/dist/models/partner-link-class.d.ts +0 -86
  114. package/dist/models/partner-link-class.js +0 -15
  115. package/dist/models/partner-role-class.js +0 -15
  116. package/dist/models/update-emil-function-request-dto.d.ts +0 -42
  117. package/dist/models/update-emil-function-request-dto.js +0 -15
  118. package/dist/models/update-emil-function-secret-request-dto.d.ts +0 -30
  119. package/dist/models/update-emil-function-secret-request-dto.js +0 -15
  120. package/dist/models/update-partner-role-request-dto.js +0 -15
  121. package/dist/models/update-partner-role-response-class.d.ts +0 -25
  122. package/dist/models/update-partner-role-response-class.js +0 -15
  123. package/models/create-emil-function-request-dto.ts +0 -48
  124. package/models/create-emil-function-secret-request-dto.ts +0 -42
  125. package/models/emil-function-class.ts +0 -66
  126. package/models/get-emil-function-secret-response-class.ts +0 -30
  127. package/models/get-partner-role-response-class.ts +0 -31
  128. package/models/list-emil-function-secrets-response-class.ts +0 -31
  129. package/models/list-partner-roles-response-class.ts +0 -37
  130. package/models/partner-class.ts +0 -66
  131. package/models/partner-link-class.ts +0 -92
  132. package/models/update-emil-function-request-dto.ts +0 -48
  133. package/models/update-emil-function-secret-request-dto.ts +0 -36
  134. package/models/update-partner-role-response-class.ts +0 -31
  135. /package/dist/models/{create-emil-function-request-dto.js → create-policy-partner-role-request-dto.js} +0 -0
  136. /package/dist/models/{create-emil-function-secret-request-dto.js → create-policy-partner-role-response-class.js} +0 -0
  137. /package/dist/models/{create-partner-role-request-dto.js → get-policy-partner-role-response-class.js} +0 -0
  138. /package/dist/models/{create-partner-role-response-class.js → list-policy-partner-roles-response-class.js} +0 -0
  139. /package/dist/models/{emil-function-class.js → policy-partner-role-class.js} +0 -0
  140. /package/dist/models/{emil-function-secret-class.js → update-policy-partner-role-request-dto.js} +0 -0
  141. /package/dist/models/{execute-emil-function-request-dto.js → update-policy-partner-role-response-class.js} +0 -0
@@ -53,17 +53,11 @@ export declare const LeadStatusesApiAxiosParamCreator: (configuration?: Configur
53
53
  * 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.
54
54
  * @summary List lead statuses
55
55
  * @param {string} [authorization] Bearer Token
56
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
57
- * @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.
58
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
59
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
60
- * @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
- * @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.
62
- * @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.
56
+ * @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.
63
57
  * @param {*} [options] Override http request option.
64
58
  * @throws {RequiredError}
65
59
  */
66
- listLeadStatuses: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
60
+ listLeadStatuses: (authorization?: string, filter?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
61
  };
68
62
  /**
69
63
  * LeadStatusesApi - functional programming interface
@@ -101,17 +95,11 @@ export declare const LeadStatusesApiFp: (configuration?: Configuration) => {
101
95
  * 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.
102
96
  * @summary List lead statuses
103
97
  * @param {string} [authorization] Bearer Token
104
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
105
- * @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.
106
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
107
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
108
- * @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.
109
- * @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.
110
- * @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.
98
+ * @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.
111
99
  * @param {*} [options] Override http request option.
112
100
  * @throws {RequiredError}
113
101
  */
114
- 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>>;
102
+ listLeadStatuses(authorization?: string, filter?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLeadStatusesResponseClass>>;
115
103
  };
116
104
  /**
117
105
  * LeadStatusesApi - factory interface
@@ -149,17 +137,11 @@ export declare const LeadStatusesApiFactory: (configuration?: Configuration, bas
149
137
  * 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.
150
138
  * @summary List lead statuses
151
139
  * @param {string} [authorization] Bearer Token
152
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
153
- * @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.
154
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
155
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
156
- * @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.
157
- * @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.
158
- * @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.
140
+ * @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.
159
141
  * @param {*} [options] Override http request option.
160
142
  * @throws {RequiredError}
161
143
  */
162
- listLeadStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListLeadStatusesResponseClass>;
144
+ listLeadStatuses(authorization?: string, filter?: string, options?: any): AxiosPromise<ListLeadStatusesResponseClass>;
163
145
  };
164
146
  /**
165
147
  * Request parameters for createLeadStatus operation in LeadStatusesApi.
@@ -231,47 +213,11 @@ export interface LeadStatusesApiListLeadStatusesRequest {
231
213
  */
232
214
  readonly authorization?: string;
233
215
  /**
234
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
235
- * @type {any}
236
- * @memberof LeadStatusesApiListLeadStatuses
237
- */
238
- readonly pageSize?: any;
239
- /**
240
- * 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.
241
- * @type {any}
242
- * @memberof LeadStatusesApiListLeadStatuses
243
- */
244
- readonly pageToken?: any;
245
- /**
246
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
247
- * @type {any}
248
- * @memberof LeadStatusesApiListLeadStatuses
249
- */
250
- readonly filter?: any;
251
- /**
252
- * To search the list by any field, pass search&#x3D;xxx to fetch the result.
253
- * @type {any}
254
- * @memberof LeadStatusesApiListLeadStatuses
255
- */
256
- readonly search?: any;
257
- /**
258
- * 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.
259
- * @type {any}
260
- * @memberof LeadStatusesApiListLeadStatuses
261
- */
262
- readonly order?: any;
263
- /**
264
- * 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.
265
- * @type {any}
266
- * @memberof LeadStatusesApiListLeadStatuses
267
- */
268
- readonly expand?: any;
269
- /**
270
- * 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.
271
- * @type {any}
216
+ * 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.
217
+ * @type {string}
272
218
  * @memberof LeadStatusesApiListLeadStatuses
273
219
  */
274
- readonly filters?: any;
220
+ readonly filter?: string;
275
221
  }
276
222
  /**
277
223
  * LeadStatusesApi - object-oriented interface
@@ -245,17 +245,11 @@ var LeadStatusesApiAxiosParamCreator = function (configuration) {
245
245
  * 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.
246
246
  * @summary List lead statuses
247
247
  * @param {string} [authorization] Bearer Token
248
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
249
- * @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.
250
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
251
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
252
- * @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.
253
- * @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.
254
- * @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.
248
+ * @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.
255
249
  * @param {*} [options] Override http request option.
256
250
  * @throws {RequiredError}
257
251
  */
258
- listLeadStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
252
+ listLeadStatuses: function (authorization, filter, options) {
259
253
  if (options === void 0) { options = {}; }
260
254
  return __awaiter(_this, void 0, void 0, function () {
261
255
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -278,27 +272,9 @@ var LeadStatusesApiAxiosParamCreator = function (configuration) {
278
272
  // authentication bearer required
279
273
  // http bearer authentication required
280
274
  _a.sent();
281
- if (pageSize !== undefined) {
282
- localVarQueryParameter['pageSize'] = pageSize;
283
- }
284
- if (pageToken !== undefined) {
285
- localVarQueryParameter['pageToken'] = pageToken;
286
- }
287
275
  if (filter !== undefined) {
288
276
  localVarQueryParameter['filter'] = filter;
289
277
  }
290
- if (search !== undefined) {
291
- localVarQueryParameter['search'] = search;
292
- }
293
- if (order !== undefined) {
294
- localVarQueryParameter['order'] = order;
295
- }
296
- if (expand !== undefined) {
297
- localVarQueryParameter['expand'] = expand;
298
- }
299
- if (filters !== undefined) {
300
- localVarQueryParameter['filters'] = filters;
301
- }
302
278
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
303
279
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
304
280
  }
@@ -390,22 +366,16 @@ var LeadStatusesApiFp = function (configuration) {
390
366
  * 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.
391
367
  * @summary List lead statuses
392
368
  * @param {string} [authorization] Bearer Token
393
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
394
- * @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.
395
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
396
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
397
- * @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.
398
- * @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.
399
- * @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.
369
+ * @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.
400
370
  * @param {*} [options] Override http request option.
401
371
  * @throws {RequiredError}
402
372
  */
403
- listLeadStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
373
+ listLeadStatuses: function (authorization, filter, options) {
404
374
  return __awaiter(this, void 0, void 0, function () {
405
375
  var localVarAxiosArgs;
406
376
  return __generator(this, function (_a) {
407
377
  switch (_a.label) {
408
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listLeadStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
378
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listLeadStatuses(authorization, filter, options)];
409
379
  case 1:
410
380
  localVarAxiosArgs = _a.sent();
411
381
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -460,18 +430,12 @@ var LeadStatusesApiFactory = function (configuration, basePath, axios) {
460
430
  * 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.
461
431
  * @summary List lead statuses
462
432
  * @param {string} [authorization] Bearer Token
463
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
464
- * @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.
465
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
466
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
467
- * @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.
468
- * @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.
469
- * @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.
433
+ * @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.
470
434
  * @param {*} [options] Override http request option.
471
435
  * @throws {RequiredError}
472
436
  */
473
- listLeadStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
474
- return localVarFp.listLeadStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
437
+ listLeadStatuses: function (authorization, filter, options) {
438
+ return localVarFp.listLeadStatuses(authorization, filter, options).then(function (request) { return request(axios, basePath); });
475
439
  },
476
440
  };
477
441
  };
@@ -534,7 +498,7 @@ var LeadStatusesApi = /** @class */ (function (_super) {
534
498
  LeadStatusesApi.prototype.listLeadStatuses = function (requestParameters, options) {
535
499
  var _this = this;
536
500
  if (requestParameters === void 0) { requestParameters = {}; }
537
- return (0, exports.LeadStatusesApiFp)(this.configuration).listLeadStatuses(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); });
501
+ return (0, exports.LeadStatusesApiFp)(this.configuration).listLeadStatuses(requestParameters.authorization, requestParameters.filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
538
502
  };
539
503
  return LeadStatusesApi;
540
504
  }(base_1.BaseAPI));
@@ -76,7 +76,7 @@ export declare const NamedRangesApiAxiosParamCreator: (configuration?: Configura
76
76
  * @param {string} [search] Search query.
77
77
  * @param {string} [order] Ordering criteria.
78
78
  * @param {string} [expand] Extra fields to fetch.
79
- * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
79
+ * @param {string} [filters]
80
80
  * @param {*} [options] Override http request option.
81
81
  * @throws {RequiredError}
82
82
  */
@@ -148,7 +148,7 @@ export declare const NamedRangesApiFp: (configuration?: Configuration) => {
148
148
  * @param {string} [search] Search query.
149
149
  * @param {string} [order] Ordering criteria.
150
150
  * @param {string} [expand] Extra fields to fetch.
151
- * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
151
+ * @param {string} [filters]
152
152
  * @param {*} [options] Override http request option.
153
153
  * @throws {RequiredError}
154
154
  */
@@ -220,7 +220,7 @@ export declare const NamedRangesApiFactory: (configuration?: Configuration, base
220
220
  * @param {string} [search] Search query.
221
221
  * @param {string} [order] Ordering criteria.
222
222
  * @param {string} [expand] Extra fields to fetch.
223
- * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
223
+ * @param {string} [filters]
224
224
  * @param {*} [options] Override http request option.
225
225
  * @throws {RequiredError}
226
226
  */
@@ -391,7 +391,7 @@ export interface NamedRangesApiListNamedRangesRequest {
391
391
  */
392
392
  readonly expand?: string;
393
393
  /**
394
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
394
+ *
395
395
  * @type {string}
396
396
  * @memberof NamedRangesApiListNamedRanges
397
397
  */
@@ -319,7 +319,7 @@ var NamedRangesApiAxiosParamCreator = function (configuration) {
319
319
  * @param {string} [search] Search query.
320
320
  * @param {string} [order] Ordering criteria.
321
321
  * @param {string} [expand] Extra fields to fetch.
322
- * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
322
+ * @param {string} [filters]
323
323
  * @param {*} [options] Override http request option.
324
324
  * @throws {RequiredError}
325
325
  */
@@ -543,7 +543,7 @@ var NamedRangesApiFp = function (configuration) {
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] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
546
+ * @param {string} [filters]
547
547
  * @param {*} [options] Override http request option.
548
548
  * @throws {RequiredError}
549
549
  */
@@ -651,7 +651,7 @@ var NamedRangesApiFactory = function (configuration, basePath, axios) {
651
651
  * @param {string} [search] Search query.
652
652
  * @param {string} [order] Ordering criteria.
653
653
  * @param {string} [expand] Extra fields to fetch.
654
- * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
654
+ * @param {string} [filters]
655
655
  * @param {*} [options] Override http request option.
656
656
  * @throws {RequiredError}
657
657
  */