@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
@@ -6,15 +6,14 @@ api.ts
6
6
  api/booking-funnel-versions-api.ts
7
7
  api/booking-funnels-api.ts
8
8
  api/default-api.ts
9
- api/emil-functions-api.ts
10
9
  api/insured-object-types-api.ts
11
10
  api/insured-objects-api.ts
12
11
  api/lead-statuses-api.ts
13
12
  api/lead-versions-api.ts
14
13
  api/leads-api.ts
15
14
  api/named-ranges-api.ts
16
- api/partner-roles-api.ts
17
15
  api/policies-api.ts
16
+ api/policy-partner-roles-api.ts
18
17
  api/premium-formulas-api.ts
19
18
  api/product-factors-api.ts
20
19
  api/product-fields-api.ts
@@ -39,8 +38,6 @@ models/create-booking-funnel-request-dto.ts
39
38
  models/create-custom-application-request-dto.ts
40
39
  models/create-draft-policy-request-dto.ts
41
40
  models/create-dummy-policy-request-dto.ts
42
- models/create-emil-function-request-dto.ts
43
- models/create-emil-function-secret-request-dto.ts
44
41
  models/create-insured-object-request-dto.ts
45
42
  models/create-insured-object-response-class.ts
46
43
  models/create-lead-async-response-class.ts
@@ -52,9 +49,9 @@ models/create-lead-status-response-class.ts
52
49
  models/create-named-range-request-dto.ts
53
50
  models/create-named-range-response-class.ts
54
51
  models/create-named-request-s3-data-class.ts
55
- models/create-partner-role-request-dto.ts
56
- models/create-partner-role-response-class.ts
57
52
  models/create-payment-method-request-dto.ts
53
+ models/create-policy-partner-role-request-dto.ts
54
+ models/create-policy-partner-role-response-class.ts
58
55
  models/create-policy-request-dto.ts
59
56
  models/create-policy-response-class.ts
60
57
  models/create-premium-formula-request-dto.ts
@@ -68,23 +65,19 @@ models/create-status-transition-rule-response-class.ts
68
65
  models/csv-product-factor-dto.ts
69
66
  models/delete-draft-policy-request-dto.ts
70
67
  models/delete-response-class.ts
71
- models/emil-function-class.ts
72
- models/emil-function-secret-class.ts
73
68
  models/empty-response-class.ts
74
- models/execute-emil-function-request-dto.ts
75
69
  models/filter-named-range-request-dto.ts
76
70
  models/filter-named-range-response-class.ts
77
71
  models/get-booking-funnel-version-request-dto.ts
78
72
  models/get-draft-policy-request-dto.ts
79
- models/get-emil-function-secret-response-class.ts
80
73
  models/get-insured-object-response-class.ts
81
74
  models/get-lead-response-class.ts
82
75
  models/get-lead-status-response-class.ts
83
76
  models/get-lead-version-request-dto.ts
84
77
  models/get-lead-version-response-class.ts
85
78
  models/get-named-range-response-class.ts
86
- models/get-partner-role-response-class.ts
87
79
  models/get-policy-data-by-date-request-dto.ts
80
+ models/get-policy-partner-role-response-class.ts
88
81
  models/get-policy-request-dto.ts
89
82
  models/get-policy-response-class.ts
90
83
  models/get-premium-formula-request-dto.ts
@@ -117,17 +110,15 @@ models/lead-bank-account-class.ts
117
110
  models/lead-class.ts
118
111
  models/lead-status-class.ts
119
112
  models/list-booking-funnels-response-class.ts
120
- models/list-emil-function-secrets-response-class.ts
121
- models/list-emil-functions-response-class.ts
122
113
  models/list-insured-object-types-response-class.ts
123
114
  models/list-insured-objects-response-class.ts
124
115
  models/list-lead-statuses-response-class.ts
125
116
  models/list-lead-versions-response-class.ts
126
117
  models/list-leads-response-class.ts
127
118
  models/list-named-ranges-response-class.ts
128
- models/list-partner-roles-response-class.ts
129
119
  models/list-policies-response-class.ts
130
120
  models/list-policy-objects-response-class.ts
121
+ models/list-policy-partner-roles-response-class.ts
131
122
  models/list-policy-version-response-class.ts
132
123
  models/list-policy-versions-request-dto.ts
133
124
  models/list-premium-formulas-response-class.ts
@@ -138,9 +129,6 @@ models/list-products-response-class.ts
138
129
  models/list-request-dto.ts
139
130
  models/list-status-transition-rules-response-class.ts
140
131
  models/named-range-class.ts
141
- models/partner-class.ts
142
- models/partner-link-class.ts
143
- models/partner-role-class.ts
144
132
  models/patch-booking-funnel-request-dto.ts
145
133
  models/patch-draft-policy-request-dto.ts
146
134
  models/patch-lead-request-dto.ts
@@ -152,6 +140,7 @@ models/patch-status-transition-rule-response-class.ts
152
140
  models/policy-class.ts
153
141
  models/policy-object-class.ts
154
142
  models/policy-object-dto.ts
143
+ models/policy-partner-role-class.ts
155
144
  models/policy-premium-class.ts
156
145
  models/policy-premium-item-class.ts
157
146
  models/policy-version-class.ts
@@ -184,15 +173,13 @@ models/terminate-policy-request-dto.ts
184
173
  models/terminate-policy-response-class.ts
185
174
  models/timeslice-class.ts
186
175
  models/update-booking-funnel-request-dto.ts
187
- models/update-emil-function-request-dto.ts
188
- models/update-emil-function-secret-request-dto.ts
189
176
  models/update-insured-object-request-dto.ts
190
177
  models/update-lead-request-dto.ts
191
178
  models/update-lead-response-class.ts
192
179
  models/update-named-range-request-dto.ts
193
180
  models/update-named-range-response-class.ts
194
- models/update-partner-role-request-dto.ts
195
- models/update-partner-role-response-class.ts
181
+ models/update-policy-partner-role-request-dto.ts
182
+ models/update-policy-partner-role-response-class.ts
196
183
  models/update-policy-request-dto.ts
197
184
  models/update-policy-response-class.ts
198
185
  models/update-premium-formula-request-dto.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/insurance-sdk-node@1.48.1-beta.2 --save
20
+ npm install @emilgroup/insurance-sdk-node@1.49.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/insurance-sdk-node@1.48.1-beta.2
24
+ yarn add @emilgroup/insurance-sdk-node@1.49.0
25
25
  ```
26
26
 
27
27
  And then you can import `PoliciesApi`.
@@ -88,7 +88,7 @@ export const BookingFunnelsApiAxiosParamCreator = function (configuration?: Conf
88
88
  };
89
89
  },
90
90
  /**
91
- * Permanently deletes the booking funnel. Supply the unique code that was returned when you created the booking funnel and this will delete it.
91
+ * Permanently deletes the booking funnel. Supply the unique code that was returned when you created the booking funnel and this will delete it.
92
92
  * @summary Delete the booking funnel
93
93
  * @param {string} code
94
94
  * @param {string} [authorization] Bearer Token
@@ -377,7 +377,7 @@ export const BookingFunnelsApiFp = function(configuration?: Configuration) {
377
377
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
378
378
  },
379
379
  /**
380
- * Permanently deletes the booking funnel. Supply the unique code that was returned when you created the booking funnel and this will delete it.
380
+ * Permanently deletes the booking funnel. Supply the unique code that was returned when you created the booking funnel and this will delete it.
381
381
  * @summary Delete the booking funnel
382
382
  * @param {string} code
383
383
  * @param {string} [authorization] Bearer Token
@@ -465,7 +465,7 @@ export const BookingFunnelsApiFactory = function (configuration?: Configuration,
465
465
  return localVarFp.createBookingFunnel(createBookingFunnelRequestDto, authorization, options).then((request) => request(axios, basePath));
466
466
  },
467
467
  /**
468
- * Permanently deletes the booking funnel. Supply the unique code that was returned when you created the booking funnel and this will delete it.
468
+ * Permanently deletes the booking funnel. Supply the unique code that was returned when you created the booking funnel and this will delete it.
469
469
  * @summary Delete the booking funnel
470
470
  * @param {string} code
471
471
  * @param {string} [authorization] Bearer Token
@@ -731,7 +731,7 @@ export class BookingFunnelsApi extends BaseAPI {
731
731
  }
732
732
 
733
733
  /**
734
- * Permanently deletes the booking funnel. Supply the unique code that was returned when you created the booking funnel and this will delete it.
734
+ * Permanently deletes the booking funnel. Supply the unique code that was returned when you created the booking funnel and this will delete it.
735
735
  * @summary Delete the booking funnel
736
736
  * @param {BookingFunnelsApiDeleteBookingFunnelRequest} requestParameters Request parameters.
737
737
  * @param {*} [options] Override http request option.
@@ -35,8 +35,7 @@ const FormData = require('form-data');
35
35
  export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
36
36
  return {
37
37
  /**
38
- * Retrieves the details of the Health Check that was previously created. Supply the unique Health Check code that was returned when you created it and Emil Api will return the corresponding Health Check information.
39
- * @summary Checks the health of the service.
38
+ *
40
39
  * @param {*} [options] Override http request option.
41
40
  * @throws {RequiredError}
42
41
  */
@@ -77,8 +76,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
77
76
  const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
78
77
  return {
79
78
  /**
80
- * Retrieves the details of the Health Check that was previously created. Supply the unique Health Check code that was returned when you created it and Emil Api will return the corresponding Health Check information.
81
- * @summary Checks the health of the service.
79
+ *
82
80
  * @param {*} [options] Override http request option.
83
81
  * @throws {RequiredError}
84
82
  */
@@ -97,8 +95,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
97
95
  const localVarFp = DefaultApiFp(configuration)
98
96
  return {
99
97
  /**
100
- * Retrieves the details of the Health Check that was previously created. Supply the unique Health Check code that was returned when you created it and Emil Api will return the corresponding Health Check information.
101
- * @summary Checks the health of the service.
98
+ *
102
99
  * @param {*} [options] Override http request option.
103
100
  * @throws {RequiredError}
104
101
  */
@@ -116,8 +113,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
116
113
  */
117
114
  export class DefaultApi extends BaseAPI {
118
115
  /**
119
- * Retrieves the details of the Health Check that was previously created. Supply the unique Health Check code that was returned when you created it and Emil Api will return the corresponding Health Check information.
120
- * @summary Checks the health of the service.
116
+ *
121
117
  * @param {*} [options] Override http request option.
122
118
  * @throws {RequiredError}
123
119
  * @memberof DefaultApi
@@ -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] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
45
+ * @param {string} [filters]
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] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
131
+ * @param {string} [filters]
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] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
159
+ * @param {string} [filters]
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
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
225
+ *
226
226
  * @type {string}
227
227
  * @memberof InsuredObjectTypesApiListInsuredObjectTypes
228
228
  */
@@ -143,7 +143,8 @@ 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)));
146
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
147
+ .replace(`{${"expand"}}`, encodeURIComponent(String(expand)));
147
148
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
148
149
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
149
150
  let baseOptions;
@@ -161,10 +162,6 @@ export const InsuredObjectsApiAxiosParamCreator = function (configuration?: Conf
161
162
  // http bearer authentication required
162
163
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
163
164
 
164
- if (expand !== undefined) {
165
- localVarQueryParameter['expand'] = expand;
166
- }
167
-
168
165
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
169
166
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
170
167
  }
@@ -190,7 +187,7 @@ export const InsuredObjectsApiAxiosParamCreator = function (configuration?: Conf
190
187
  * @param {string} [search] Search query.
191
188
  * @param {string} [order] Ordering criteria.
192
189
  * @param {string} [expand] Extra fields to fetch.
193
- * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
190
+ * @param {string} [filters]
194
191
  * @param {*} [options] Override http request option.
195
192
  * @throws {RequiredError}
196
193
  */
@@ -313,7 +310,7 @@ export const InsuredObjectsApiFp = function(configuration?: Configuration) {
313
310
  * @param {string} [search] Search query.
314
311
  * @param {string} [order] Ordering criteria.
315
312
  * @param {string} [expand] Extra fields to fetch.
316
- * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
313
+ * @param {string} [filters]
317
314
  * @param {*} [options] Override http request option.
318
315
  * @throws {RequiredError}
319
316
  */
@@ -375,7 +372,7 @@ export const InsuredObjectsApiFactory = function (configuration?: Configuration,
375
372
  * @param {string} [search] Search query.
376
373
  * @param {string} [order] Ordering criteria.
377
374
  * @param {string} [expand] Extra fields to fetch.
378
- * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
375
+ * @param {string} [filters]
379
376
  * @param {*} [options] Override http request option.
380
377
  * @throws {RequiredError}
381
378
  */
@@ -511,7 +508,7 @@ export interface InsuredObjectsApiListInsuredObjectsRequest {
511
508
  readonly expand?: string
512
509
 
513
510
  /**
514
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
511
+ *
515
512
  * @type {string}
516
513
  * @memberof InsuredObjectsApiListInsuredObjects
517
514
  */
@@ -181,17 +181,11 @@ 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 {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.
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.
191
185
  * @param {*} [options] Override http request option.
192
186
  * @throws {RequiredError}
193
187
  */
194
- listLeadStatuses: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
188
+ listLeadStatuses: async (authorization?: string, filter?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
195
189
  const localVarPath = `/insuranceservice/v1/lead-statuses`;
196
190
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
197
191
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -210,34 +204,10 @@ export const LeadStatusesApiAxiosParamCreator = function (configuration?: Config
210
204
  // http bearer authentication required
211
205
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
212
206
 
213
- if (pageSize !== undefined) {
214
- localVarQueryParameter['pageSize'] = pageSize;
215
- }
216
-
217
- if (pageToken !== undefined) {
218
- localVarQueryParameter['pageToken'] = pageToken;
219
- }
220
-
221
207
  if (filter !== undefined) {
222
208
  localVarQueryParameter['filter'] = filter;
223
209
  }
224
210
 
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
-
241
211
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
242
212
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
243
213
  }
@@ -303,18 +273,12 @@ export const LeadStatusesApiFp = function(configuration?: Configuration) {
303
273
  * 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.
304
274
  * @summary List lead statuses
305
275
  * @param {string} [authorization] Bearer Token
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.
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.
313
277
  * @param {*} [options] Override http request option.
314
278
  * @throws {RequiredError}
315
279
  */
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);
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);
318
282
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
319
283
  },
320
284
  }
@@ -364,18 +328,12 @@ export const LeadStatusesApiFactory = function (configuration?: Configuration, b
364
328
  * 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.
365
329
  * @summary List lead statuses
366
330
  * @param {string} [authorization] Bearer Token
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.
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.
374
332
  * @param {*} [options] Override http request option.
375
333
  * @throws {RequiredError}
376
334
  */
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));
335
+ listLeadStatuses(authorization?: string, filter?: string, options?: any): AxiosPromise<ListLeadStatusesResponseClass> {
336
+ return localVarFp.listLeadStatuses(authorization, filter, options).then((request) => request(axios, basePath));
379
337
  },
380
338
  };
381
339
  };
@@ -457,53 +415,11 @@ export interface LeadStatusesApiListLeadStatusesRequest {
457
415
  readonly authorization?: string
458
416
 
459
417
  /**
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}
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}
504
420
  * @memberof LeadStatusesApiListLeadStatuses
505
421
  */
506
- readonly filters?: any
422
+ readonly filter?: string
507
423
  }
508
424
 
509
425
  /**
@@ -558,6 +474,6 @@ export class LeadStatusesApi extends BaseAPI {
558
474
  * @memberof LeadStatusesApi
559
475
  */
560
476
  public listLeadStatuses(requestParameters: LeadStatusesApiListLeadStatusesRequest = {}, options?: AxiosRequestConfig) {
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));
477
+ return LeadStatusesApiFp(this.configuration).listLeadStatuses(requestParameters.authorization, requestParameters.filter, options).then((request) => request(this.axios, this.basePath));
562
478
  }
563
479
  }
@@ -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] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
266
+ * @param {string} [filters]
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] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
456
+ * @param {string} [filters]
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] 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
  */
@@ -740,7 +740,7 @@ export interface NamedRangesApiListNamedRangesRequest {
740
740
  readonly expand?: string
741
741
 
742
742
  /**
743
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
743
+ *
744
744
  * @type {string}
745
745
  * @memberof NamedRangesApiListNamedRanges
746
746
  */