@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
@@ -28,7 +28,7 @@ export declare const InsuredObjectTypesApiAxiosParamCreator: (configuration?: Co
28
28
  * @param {string} [search] Search query.
29
29
  * @param {string} [order] Ordering criteria.
30
30
  * @param {string} [expand] Extra fields to fetch.
31
- * @param {string} [filters]
31
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
32
32
  * @param {*} [options] Override http request option.
33
33
  * @throws {RequiredError}
34
34
  */
@@ -49,7 +49,7 @@ export declare const InsuredObjectTypesApiFp: (configuration?: Configuration) =>
49
49
  * @param {string} [search] Search query.
50
50
  * @param {string} [order] Ordering criteria.
51
51
  * @param {string} [expand] Extra fields to fetch.
52
- * @param {string} [filters]
52
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
53
53
  * @param {*} [options] Override http request option.
54
54
  * @throws {RequiredError}
55
55
  */
@@ -70,7 +70,7 @@ export declare const InsuredObjectTypesApiFactory: (configuration?: Configuratio
70
70
  * @param {string} [search] Search query.
71
71
  * @param {string} [order] Ordering criteria.
72
72
  * @param {string} [expand] Extra fields to fetch.
73
- * @param {string} [filters]
73
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
74
74
  * @param {*} [options] Override http request option.
75
75
  * @throws {RequiredError}
76
76
  */
@@ -125,7 +125,7 @@ export interface InsuredObjectTypesApiListInsuredObjectTypesRequest {
125
125
  */
126
126
  readonly expand?: string;
127
127
  /**
128
- *
128
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
129
129
  * @type {string}
130
130
  * @memberof InsuredObjectTypesApiListInsuredObjectTypes
131
131
  */
@@ -106,7 +106,7 @@ var InsuredObjectTypesApiAxiosParamCreator = function (configuration) {
106
106
  * @param {string} [search] Search query.
107
107
  * @param {string} [order] Ordering criteria.
108
108
  * @param {string} [expand] Extra fields to fetch.
109
- * @param {string} [filters]
109
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
110
110
  * @param {*} [options] Override http request option.
111
111
  * @throws {RequiredError}
112
112
  */
@@ -188,7 +188,7 @@ var InsuredObjectTypesApiFp = function (configuration) {
188
188
  * @param {string} [search] Search query.
189
189
  * @param {string} [order] Ordering criteria.
190
190
  * @param {string} [expand] Extra fields to fetch.
191
- * @param {string} [filters]
191
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
192
192
  * @param {*} [options] Override http request option.
193
193
  * @throws {RequiredError}
194
194
  */
@@ -225,7 +225,7 @@ var InsuredObjectTypesApiFactory = function (configuration, basePath, axios) {
225
225
  * @param {string} [search] Search query.
226
226
  * @param {string} [order] Ordering criteria.
227
227
  * @param {string} [expand] Extra fields to fetch.
228
- * @param {string} [filters]
228
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
229
229
  * @param {*} [options] Override http request option.
230
230
  * @throws {RequiredError}
231
231
  */
@@ -59,7 +59,7 @@ export declare const InsuredObjectsApiAxiosParamCreator: (configuration?: Config
59
59
  * @param {string} [search] Search query.
60
60
  * @param {string} [order] Ordering criteria.
61
61
  * @param {string} [expand] Extra fields to fetch.
62
- * @param {string} [filters]
62
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
63
63
  * @param {*} [options] Override http request option.
64
64
  * @throws {RequiredError}
65
65
  */
@@ -108,7 +108,7 @@ export declare const InsuredObjectsApiFp: (configuration?: Configuration) => {
108
108
  * @param {string} [search] Search query.
109
109
  * @param {string} [order] Ordering criteria.
110
110
  * @param {string} [expand] Extra fields to fetch.
111
- * @param {string} [filters]
111
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
112
112
  * @param {*} [options] Override http request option.
113
113
  * @throws {RequiredError}
114
114
  */
@@ -157,7 +157,7 @@ export declare const InsuredObjectsApiFactory: (configuration?: Configuration, b
157
157
  * @param {string} [search] Search query.
158
158
  * @param {string} [order] Ordering criteria.
159
159
  * @param {string} [expand] Extra fields to fetch.
160
- * @param {string} [filters]
160
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
161
161
  * @param {*} [options] Override http request option.
162
162
  * @throws {RequiredError}
163
163
  */
@@ -275,7 +275,7 @@ export interface InsuredObjectsApiListInsuredObjectsRequest {
275
275
  */
276
276
  readonly expand?: string;
277
277
  /**
278
- *
278
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
279
279
  * @type {string}
280
280
  * @memberof InsuredObjectsApiListInsuredObjects
281
281
  */
@@ -212,8 +212,7 @@ var InsuredObjectsApiAxiosParamCreator = function (configuration) {
212
212
  // verify required parameter 'id' is not null or undefined
213
213
  (0, common_1.assertParamExists)('getInsuredObject', 'id', id);
214
214
  localVarPath = "/insuranceservice/v1/insured-objects/{id}"
215
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
216
- .replace("{".concat("expand", "}"), encodeURIComponent(String(expand)));
215
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
217
216
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
218
217
  if (configuration) {
219
218
  baseOptions = configuration.baseOptions;
@@ -229,6 +228,9 @@ var InsuredObjectsApiAxiosParamCreator = function (configuration) {
229
228
  // authentication bearer required
230
229
  // http bearer authentication required
231
230
  _a.sent();
231
+ if (expand !== undefined) {
232
+ localVarQueryParameter['expand'] = expand;
233
+ }
232
234
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
233
235
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
234
236
  }
@@ -253,7 +255,7 @@ var InsuredObjectsApiAxiosParamCreator = function (configuration) {
253
255
  * @param {string} [search] Search query.
254
256
  * @param {string} [order] Ordering criteria.
255
257
  * @param {string} [expand] Extra fields to fetch.
256
- * @param {string} [filters]
258
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
257
259
  * @param {*} [options] Override http request option.
258
260
  * @throws {RequiredError}
259
261
  */
@@ -399,7 +401,7 @@ var InsuredObjectsApiFp = function (configuration) {
399
401
  * @param {string} [search] Search query.
400
402
  * @param {string} [order] Ordering criteria.
401
403
  * @param {string} [expand] Extra fields to fetch.
402
- * @param {string} [filters]
404
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
403
405
  * @param {*} [options] Override http request option.
404
406
  * @throws {RequiredError}
405
407
  */
@@ -470,7 +472,7 @@ var InsuredObjectsApiFactory = function (configuration, basePath, axios) {
470
472
  * @param {string} [search] Search query.
471
473
  * @param {string} [order] Ordering criteria.
472
474
  * @param {string} [expand] Extra fields to fetch.
473
- * @param {string} [filters]
475
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
474
476
  * @param {*} [options] Override http request option.
475
477
  * @throws {RequiredError}
476
478
  */
@@ -53,11 +53,17 @@ 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 {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.
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.
57
63
  * @param {*} [options] Override http request option.
58
64
  * @throws {RequiredError}
59
65
  */
60
- listLeadStatuses: (authorization?: string, filter?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
66
+ listLeadStatuses: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
61
67
  };
62
68
  /**
63
69
  * LeadStatusesApi - functional programming interface
@@ -95,11 +101,17 @@ export declare const LeadStatusesApiFp: (configuration?: Configuration) => {
95
101
  * 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.
96
102
  * @summary List lead statuses
97
103
  * @param {string} [authorization] Bearer Token
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.
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.
99
111
  * @param {*} [options] Override http request option.
100
112
  * @throws {RequiredError}
101
113
  */
102
- listLeadStatuses(authorization?: string, filter?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLeadStatusesResponseClass>>;
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>>;
103
115
  };
104
116
  /**
105
117
  * LeadStatusesApi - factory interface
@@ -137,11 +149,17 @@ export declare const LeadStatusesApiFactory: (configuration?: Configuration, bas
137
149
  * 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.
138
150
  * @summary List lead statuses
139
151
  * @param {string} [authorization] Bearer Token
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.
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.
141
159
  * @param {*} [options] Override http request option.
142
160
  * @throws {RequiredError}
143
161
  */
144
- listLeadStatuses(authorization?: string, filter?: string, options?: any): AxiosPromise<ListLeadStatusesResponseClass>;
162
+ listLeadStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListLeadStatusesResponseClass>;
145
163
  };
146
164
  /**
147
165
  * Request parameters for createLeadStatus operation in LeadStatusesApi.
@@ -213,11 +231,47 @@ export interface LeadStatusesApiListLeadStatusesRequest {
213
231
  */
214
232
  readonly authorization?: string;
215
233
  /**
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}
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}
218
272
  * @memberof LeadStatusesApiListLeadStatuses
219
273
  */
220
- readonly filter?: string;
274
+ readonly filters?: any;
221
275
  }
222
276
  /**
223
277
  * LeadStatusesApi - object-oriented interface
@@ -245,11 +245,17 @@ 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 {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.
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.
249
255
  * @param {*} [options] Override http request option.
250
256
  * @throws {RequiredError}
251
257
  */
252
- listLeadStatuses: function (authorization, filter, options) {
258
+ listLeadStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
253
259
  if (options === void 0) { options = {}; }
254
260
  return __awaiter(_this, void 0, void 0, function () {
255
261
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -272,9 +278,27 @@ var LeadStatusesApiAxiosParamCreator = function (configuration) {
272
278
  // authentication bearer required
273
279
  // http bearer authentication required
274
280
  _a.sent();
281
+ if (pageSize !== undefined) {
282
+ localVarQueryParameter['pageSize'] = pageSize;
283
+ }
284
+ if (pageToken !== undefined) {
285
+ localVarQueryParameter['pageToken'] = pageToken;
286
+ }
275
287
  if (filter !== undefined) {
276
288
  localVarQueryParameter['filter'] = filter;
277
289
  }
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
+ }
278
302
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
279
303
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
280
304
  }
@@ -366,16 +390,22 @@ var LeadStatusesApiFp = function (configuration) {
366
390
  * 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.
367
391
  * @summary List lead statuses
368
392
  * @param {string} [authorization] Bearer Token
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.
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.
370
400
  * @param {*} [options] Override http request option.
371
401
  * @throws {RequiredError}
372
402
  */
373
- listLeadStatuses: function (authorization, filter, options) {
403
+ listLeadStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
374
404
  return __awaiter(this, void 0, void 0, function () {
375
405
  var localVarAxiosArgs;
376
406
  return __generator(this, function (_a) {
377
407
  switch (_a.label) {
378
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listLeadStatuses(authorization, filter, options)];
408
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listLeadStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
379
409
  case 1:
380
410
  localVarAxiosArgs = _a.sent();
381
411
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -430,12 +460,18 @@ var LeadStatusesApiFactory = function (configuration, basePath, axios) {
430
460
  * 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.
431
461
  * @summary List lead statuses
432
462
  * @param {string} [authorization] Bearer Token
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.
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.
434
470
  * @param {*} [options] Override http request option.
435
471
  * @throws {RequiredError}
436
472
  */
437
- listLeadStatuses: function (authorization, filter, options) {
438
- return localVarFp.listLeadStatuses(authorization, filter, options).then(function (request) { return request(axios, basePath); });
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); });
439
475
  },
440
476
  };
441
477
  };
@@ -498,7 +534,7 @@ var LeadStatusesApi = /** @class */ (function (_super) {
498
534
  LeadStatusesApi.prototype.listLeadStatuses = function (requestParameters, options) {
499
535
  var _this = this;
500
536
  if (requestParameters === void 0) { requestParameters = {}; }
501
- return (0, exports.LeadStatusesApiFp)(this.configuration).listLeadStatuses(requestParameters.authorization, requestParameters.filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
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); });
502
538
  };
503
539
  return LeadStatusesApi;
504
540
  }(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]
79
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
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]
151
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
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]
223
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
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
- *
394
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
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]
322
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
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]
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
  */
@@ -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]
654
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
655
655
  * @param {*} [options] Override http request option.
656
656
  * @throws {RequiredError}
657
657
  */