@emilgroup/insurance-sdk-node 1.95.0 → 1.95.1-beta.10

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 (160) hide show
  1. package/.openapi-generator/FILES +43 -0
  2. package/README.md +2 -2
  3. package/api/product-configs-api.ts +857 -0
  4. package/api/product-versions-api.ts +188 -0
  5. package/api.ts +2 -0
  6. package/dist/api/product-configs-api.d.ts +476 -0
  7. package/dist/api/product-configs-api.js +769 -0
  8. package/dist/api/product-versions-api.d.ts +110 -0
  9. package/dist/api/product-versions-api.js +129 -0
  10. package/dist/api.d.ts +1 -0
  11. package/dist/api.js +1 -0
  12. package/dist/models/amount-with-limit-class.d.ts +30 -0
  13. package/dist/models/amount-with-limit-class.js +15 -0
  14. package/dist/models/approval-limit-class.d.ts +30 -0
  15. package/dist/models/approval-limit-class.js +15 -0
  16. package/dist/models/calculated-policy-object-class.d.ts +36 -0
  17. package/dist/models/calculated-policy-object-class.js +15 -0
  18. package/dist/models/calculation-errors-class.d.ts +25 -0
  19. package/dist/models/calculation-errors-class.js +15 -0
  20. package/dist/models/calculation-item-errors-class.d.ts +43 -0
  21. package/dist/models/calculation-item-errors-class.js +15 -0
  22. package/dist/models/calculation-message-class.d.ts +30 -0
  23. package/dist/models/calculation-message-class.js +15 -0
  24. package/dist/models/category-calculation-order-class.d.ts +25 -0
  25. package/dist/models/category-calculation-order-class.js +15 -0
  26. package/dist/models/category-calculation-step-class.d.ts +58 -0
  27. package/dist/models/category-calculation-step-class.js +24 -0
  28. package/dist/models/category-class.d.ts +52 -0
  29. package/dist/models/category-class.js +15 -0
  30. package/dist/models/category-coverage-summary-class.d.ts +43 -0
  31. package/dist/models/category-coverage-summary-class.js +15 -0
  32. package/dist/models/category-definition-class.d.ts +43 -0
  33. package/dist/models/category-definition-class.js +15 -0
  34. package/dist/models/claim-config-class.d.ts +32 -0
  35. package/dist/models/claim-config-class.js +15 -0
  36. package/dist/models/claim-position-fields-class.d.ts +31 -0
  37. package/dist/models/claim-position-fields-class.js +15 -0
  38. package/dist/models/coverage-class.d.ts +31 -0
  39. package/dist/models/coverage-class.js +15 -0
  40. package/dist/models/coverage-definition-class.d.ts +36 -0
  41. package/dist/models/coverage-definition-class.js +15 -0
  42. package/dist/models/coverage-term-class.d.ts +66 -0
  43. package/dist/models/coverage-term-class.js +30 -0
  44. package/dist/models/create-product-field-request-dto.d.ts +6 -0
  45. package/dist/models/create-product-request-dto.d.ts +1 -0
  46. package/dist/models/create-product-request-dto.js +2 -1
  47. package/dist/models/custom-field-class.d.ts +52 -0
  48. package/dist/models/custom-field-class.js +25 -0
  49. package/dist/models/deductible-class.d.ts +60 -0
  50. package/dist/models/deductible-class.js +25 -0
  51. package/dist/models/general-setting-class.d.ts +49 -0
  52. package/dist/models/general-setting-class.js +33 -0
  53. package/dist/models/get-product-config-tariffs-response-class.d.ts +31 -0
  54. package/dist/models/get-product-config-tariffs-response-class.js +15 -0
  55. package/dist/models/index.d.ts +42 -0
  56. package/dist/models/index.js +42 -0
  57. package/dist/models/lead-policy-object-class.d.ts +42 -0
  58. package/dist/models/lead-policy-object-class.js +15 -0
  59. package/dist/models/list-product-versions-response-class.d.ts +31 -0
  60. package/dist/models/list-product-versions-response-class.js +15 -0
  61. package/dist/models/product-config-summary-class.d.ts +72 -0
  62. package/dist/models/product-config-summary-class.js +15 -0
  63. package/dist/models/product-field-class.d.ts +6 -0
  64. package/dist/models/product-version-class.d.ts +6 -0
  65. package/dist/models/rest-calculate-product-tariff-quote-request-dto.d.ts +38 -0
  66. package/dist/models/rest-calculate-product-tariff-quote-request-dto.js +15 -0
  67. package/dist/models/rest-calculate-product-tariff-quote-response-class.d.ts +25 -0
  68. package/dist/models/rest-calculate-product-tariff-quote-response-class.js +15 -0
  69. package/dist/models/rest-create-product-config-response-class.d.ts +25 -0
  70. package/dist/models/rest-create-product-config-response-class.js +15 -0
  71. package/dist/models/rest-get-product-config-response-class.d.ts +25 -0
  72. package/dist/models/rest-get-product-config-response-class.js +15 -0
  73. package/dist/models/rest-list-product-configs-response-class.d.ts +43 -0
  74. package/dist/models/rest-list-product-configs-response-class.js +15 -0
  75. package/dist/models/rest-update-product-config-response-class.d.ts +25 -0
  76. package/dist/models/rest-update-product-config-response-class.js +15 -0
  77. package/dist/models/shared-create-estimated-invoice-response-class.d.ts +25 -0
  78. package/dist/models/shared-create-estimated-invoice-response-class.js +15 -0
  79. package/dist/models/shared-create-payment-method-request-dto.d.ts +2 -0
  80. package/dist/models/shared-create-payment-method-request-dto.js +3 -1
  81. package/dist/models/shared-payment-method-response-class.d.ts +2 -0
  82. package/dist/models/shared-payment-method-response-class.js +3 -1
  83. package/dist/models/shared-product-config-class.d.ts +79 -0
  84. package/dist/models/shared-product-config-class.js +15 -0
  85. package/dist/models/shared-product-config-data-class.d.ts +39 -0
  86. package/dist/models/shared-product-config-data-class.js +15 -0
  87. package/dist/models/shared-product-field-class.d.ts +6 -0
  88. package/dist/models/shared-product-field-override-class.d.ts +48 -0
  89. package/dist/models/shared-product-field-override-class.js +15 -0
  90. package/dist/models/shared-product-tariff-quote-class.d.ts +52 -0
  91. package/dist/models/shared-product-tariff-quote-class.js +15 -0
  92. package/dist/models/shared-tariff-variation-class.d.ts +80 -0
  93. package/dist/models/shared-tariff-variation-class.js +15 -0
  94. package/dist/models/tariff-calculation-order-class.d.ts +36 -0
  95. package/dist/models/tariff-calculation-order-class.js +20 -0
  96. package/dist/models/tariff-calculation-step-class.d.ts +58 -0
  97. package/dist/models/tariff-calculation-step-class.js +24 -0
  98. package/dist/models/tariff-category-summary-class.d.ts +57 -0
  99. package/dist/models/tariff-category-summary-class.js +15 -0
  100. package/dist/models/tariff-coverage-term-class.d.ts +60 -0
  101. package/dist/models/tariff-coverage-term-class.js +30 -0
  102. package/dist/models/tariff-info-class.d.ts +47 -0
  103. package/dist/models/tariff-info-class.js +20 -0
  104. package/dist/models/tariff-summary-class.d.ts +52 -0
  105. package/dist/models/tariff-summary-class.js +15 -0
  106. package/dist/models/update-product-field-request-dto.d.ts +6 -0
  107. package/dist/models/waiting-period-class.d.ts +40 -0
  108. package/dist/models/waiting-period-class.js +19 -0
  109. package/models/amount-with-limit-class.ts +36 -0
  110. package/models/approval-limit-class.ts +36 -0
  111. package/models/calculated-policy-object-class.ts +42 -0
  112. package/models/calculation-errors-class.ts +31 -0
  113. package/models/calculation-item-errors-class.ts +49 -0
  114. package/models/calculation-message-class.ts +36 -0
  115. package/models/category-calculation-order-class.ts +31 -0
  116. package/models/category-calculation-step-class.ts +68 -0
  117. package/models/category-class.ts +58 -0
  118. package/models/category-coverage-summary-class.ts +49 -0
  119. package/models/category-definition-class.ts +49 -0
  120. package/models/claim-config-class.ts +38 -0
  121. package/models/claim-position-fields-class.ts +37 -0
  122. package/models/coverage-class.ts +37 -0
  123. package/models/coverage-definition-class.ts +42 -0
  124. package/models/coverage-term-class.ts +77 -0
  125. package/models/create-product-field-request-dto.ts +6 -0
  126. package/models/create-product-request-dto.ts +2 -1
  127. package/models/custom-field-class.ts +61 -0
  128. package/models/deductible-class.ts +70 -0
  129. package/models/general-setting-class.ts +59 -0
  130. package/models/get-product-config-tariffs-response-class.ts +37 -0
  131. package/models/index.ts +42 -0
  132. package/models/lead-policy-object-class.ts +48 -0
  133. package/models/list-product-versions-response-class.ts +37 -0
  134. package/models/product-config-summary-class.ts +78 -0
  135. package/models/product-field-class.ts +6 -0
  136. package/models/product-version-class.ts +6 -0
  137. package/models/rest-calculate-product-tariff-quote-request-dto.ts +44 -0
  138. package/models/rest-calculate-product-tariff-quote-response-class.ts +31 -0
  139. package/models/rest-create-product-config-response-class.ts +31 -0
  140. package/models/rest-get-product-config-response-class.ts +31 -0
  141. package/models/rest-list-product-configs-response-class.ts +49 -0
  142. package/models/rest-update-product-config-response-class.ts +31 -0
  143. package/models/shared-create-estimated-invoice-response-class.ts +31 -0
  144. package/models/shared-create-payment-method-request-dto.ts +3 -1
  145. package/models/shared-payment-method-response-class.ts +3 -1
  146. package/models/shared-product-config-class.ts +85 -0
  147. package/models/shared-product-config-data-class.ts +45 -0
  148. package/models/shared-product-field-class.ts +6 -0
  149. package/models/shared-product-field-override-class.ts +54 -0
  150. package/models/shared-product-tariff-quote-class.ts +58 -0
  151. package/models/shared-tariff-variation-class.ts +86 -0
  152. package/models/tariff-calculation-order-class.ts +45 -0
  153. package/models/tariff-calculation-step-class.ts +68 -0
  154. package/models/tariff-category-summary-class.ts +63 -0
  155. package/models/tariff-coverage-term-class.ts +71 -0
  156. package/models/tariff-info-class.ts +56 -0
  157. package/models/tariff-summary-class.ts +58 -0
  158. package/models/update-product-field-request-dto.ts +6 -0
  159. package/models/waiting-period-class.ts +49 -0
  160. package/package.json +1 -1
@@ -23,6 +23,8 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
23
23
  // @ts-ignore
24
24
  import { GetProductVersionResponseClass } from '../models';
25
25
  // @ts-ignore
26
+ import { ListProductVersionsResponseClass } from '../models';
27
+ // @ts-ignore
26
28
  import { UpdateProductVersionRequestDto } from '../models';
27
29
  // @ts-ignore
28
30
  import { UpdateProductVersionResponseClass } from '../models';
@@ -89,6 +91,82 @@ export const ProductVersionsApiAxiosParamCreator = function (configuration?: Con
89
91
 
90
92
 
91
93
 
94
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
95
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
96
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
97
+
98
+ return {
99
+ url: toPathString(localVarUrlObj),
100
+ options: localVarRequestOptions,
101
+ };
102
+ },
103
+ /**
104
+ * Returns a list of product versions you have previously created. The product versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
105
+ * @summary List product versions
106
+ * @param {string} [authorization] Bearer Token
107
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
108
+ * @param {string} [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.
109
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, productId, description, status</i>
110
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
111
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, productId, description, status</i>
112
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: product<i>
113
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, productId, description, status</i>
114
+ * @param {*} [options] Override http request option.
115
+ * @throws {RequiredError}
116
+ */
117
+ listProductVersions: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
118
+ const localVarPath = `/insuranceservice/v1/product-versions`;
119
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
120
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
121
+ let baseOptions;
122
+ let baseAccessToken;
123
+ if (configuration) {
124
+ baseOptions = configuration.baseOptions;
125
+ baseAccessToken = configuration.accessToken;
126
+ }
127
+
128
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
129
+ const localVarHeaderParameter = {} as any;
130
+ const localVarQueryParameter = {} as any;
131
+
132
+ // authentication bearer required
133
+ // http bearer authentication required
134
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
135
+
136
+ if (pageSize !== undefined) {
137
+ localVarQueryParameter['pageSize'] = pageSize;
138
+ }
139
+
140
+ if (pageToken !== undefined) {
141
+ localVarQueryParameter['pageToken'] = pageToken;
142
+ }
143
+
144
+ if (filter !== undefined) {
145
+ localVarQueryParameter['filter'] = filter;
146
+ }
147
+
148
+ if (search !== undefined) {
149
+ localVarQueryParameter['search'] = search;
150
+ }
151
+
152
+ if (order !== undefined) {
153
+ localVarQueryParameter['order'] = order;
154
+ }
155
+
156
+ if (expand !== undefined) {
157
+ localVarQueryParameter['expand'] = expand;
158
+ }
159
+
160
+ if (filters !== undefined) {
161
+ localVarQueryParameter['filters'] = filters;
162
+ }
163
+
164
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
165
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
166
+ }
167
+
168
+
169
+
92
170
  setSearchParams(localVarUrlObj, localVarQueryParameter);
93
171
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
94
172
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -174,6 +252,24 @@ export const ProductVersionsApiFp = function(configuration?: Configuration) {
174
252
  const localVarAxiosArgs = await localVarAxiosParamCreator.getProductVersion(id, id2, authorization, filter, expand, options);
175
253
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
176
254
  },
255
+ /**
256
+ * Returns a list of product versions you have previously created. The product versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
257
+ * @summary List product versions
258
+ * @param {string} [authorization] Bearer Token
259
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
260
+ * @param {string} [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.
261
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, productId, description, status&lt;/i&gt;
262
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
263
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productId, description, status&lt;/i&gt;
264
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: product&lt;i&gt;
265
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, productId, description, status&lt;/i&gt;
266
+ * @param {*} [options] Override http request option.
267
+ * @throws {RequiredError}
268
+ */
269
+ async listProductVersions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductVersionsResponseClass>> {
270
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listProductVersions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
271
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
272
+ },
177
273
  /**
178
274
  * Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"policy-management.products.update\"
179
275
  * @summary Update the product version
@@ -211,6 +307,23 @@ export const ProductVersionsApiFactory = function (configuration?: Configuration
211
307
  getProductVersion(id: string, id2: number, authorization?: string, filter?: string, expand?: string, options?: any): AxiosPromise<GetProductVersionResponseClass> {
212
308
  return localVarFp.getProductVersion(id, id2, authorization, filter, expand, options).then((request) => request(axios, basePath));
213
309
  },
310
+ /**
311
+ * Returns a list of product versions you have previously created. The product versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
312
+ * @summary List product versions
313
+ * @param {string} [authorization] Bearer Token
314
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
315
+ * @param {string} [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.
316
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, productId, description, status&lt;/i&gt;
317
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
318
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productId, description, status&lt;/i&gt;
319
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: product&lt;i&gt;
320
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, productId, description, status&lt;/i&gt;
321
+ * @param {*} [options] Override http request option.
322
+ * @throws {RequiredError}
323
+ */
324
+ listProductVersions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductVersionsResponseClass> {
325
+ return localVarFp.listProductVersions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
326
+ },
214
327
  /**
215
328
  * Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"policy-management.products.update\"
216
329
  * @summary Update the product version
@@ -268,6 +381,69 @@ export interface ProductVersionsApiGetProductVersionRequest {
268
381
  readonly expand?: string
269
382
  }
270
383
 
384
+ /**
385
+ * Request parameters for listProductVersions operation in ProductVersionsApi.
386
+ * @export
387
+ * @interface ProductVersionsApiListProductVersionsRequest
388
+ */
389
+ export interface ProductVersionsApiListProductVersionsRequest {
390
+ /**
391
+ * Bearer Token
392
+ * @type {string}
393
+ * @memberof ProductVersionsApiListProductVersions
394
+ */
395
+ readonly authorization?: string
396
+
397
+ /**
398
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
399
+ * @type {number}
400
+ * @memberof ProductVersionsApiListProductVersions
401
+ */
402
+ readonly pageSize?: number
403
+
404
+ /**
405
+ * 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.
406
+ * @type {string}
407
+ * @memberof ProductVersionsApiListProductVersions
408
+ */
409
+ readonly pageToken?: string
410
+
411
+ /**
412
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, productId, description, status&lt;/i&gt;
413
+ * @type {string}
414
+ * @memberof ProductVersionsApiListProductVersions
415
+ */
416
+ readonly filter?: string
417
+
418
+ /**
419
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
420
+ * @type {string}
421
+ * @memberof ProductVersionsApiListProductVersions
422
+ */
423
+ readonly search?: string
424
+
425
+ /**
426
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, productId, description, status&lt;/i&gt;
427
+ * @type {string}
428
+ * @memberof ProductVersionsApiListProductVersions
429
+ */
430
+ readonly order?: string
431
+
432
+ /**
433
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: product&lt;i&gt;
434
+ * @type {string}
435
+ * @memberof ProductVersionsApiListProductVersions
436
+ */
437
+ readonly expand?: string
438
+
439
+ /**
440
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, productId, description, status&lt;/i&gt;
441
+ * @type {string}
442
+ * @memberof ProductVersionsApiListProductVersions
443
+ */
444
+ readonly filters?: string
445
+ }
446
+
271
447
  /**
272
448
  * Request parameters for updateProductVersion operation in ProductVersionsApi.
273
449
  * @export
@@ -315,6 +491,18 @@ export class ProductVersionsApi extends BaseAPI {
315
491
  return ProductVersionsApiFp(this.configuration).getProductVersion(requestParameters.id, requestParameters.id2, requestParameters.authorization, requestParameters.filter, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
316
492
  }
317
493
 
494
+ /**
495
+ * Returns a list of product versions you have previously created. The product versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
496
+ * @summary List product versions
497
+ * @param {ProductVersionsApiListProductVersionsRequest} requestParameters Request parameters.
498
+ * @param {*} [options] Override http request option.
499
+ * @throws {RequiredError}
500
+ * @memberof ProductVersionsApi
501
+ */
502
+ public listProductVersions(requestParameters: ProductVersionsApiListProductVersionsRequest = {}, options?: AxiosRequestConfig) {
503
+ return ProductVersionsApiFp(this.configuration).listProductVersions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
504
+ }
505
+
318
506
  /**
319
507
  * Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"policy-management.products.update\"
320
508
  * @summary Update the product version
package/api.ts CHANGED
@@ -43,6 +43,7 @@ import { PartnerLinksApi } from './api';
43
43
  import { PartnerRolesApi } from './api';
44
44
  import { PoliciesApi } from './api';
45
45
  import { PremiumFormulasApi } from './api';
46
+ import { ProductConfigsApi } from './api';
46
47
  import { ProductFactorsApi } from './api';
47
48
  import { ProductFieldsApi } from './api';
48
49
  import { ProductVersionsApi } from './api';
@@ -69,6 +70,7 @@ export * from './api/partner-links-api';
69
70
  export * from './api/partner-roles-api';
70
71
  export * from './api/policies-api';
71
72
  export * from './api/premium-formulas-api';
73
+ export * from './api/product-configs-api';
72
74
  export * from './api/product-factors-api';
73
75
  export * from './api/product-fields-api';
74
76
  export * from './api/product-versions-api';