@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.
- package/.openapi-generator/FILES +43 -0
- package/README.md +2 -2
- package/api/product-configs-api.ts +857 -0
- package/api/product-versions-api.ts +188 -0
- package/api.ts +2 -0
- package/dist/api/product-configs-api.d.ts +476 -0
- package/dist/api/product-configs-api.js +769 -0
- package/dist/api/product-versions-api.d.ts +110 -0
- package/dist/api/product-versions-api.js +129 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/amount-with-limit-class.d.ts +30 -0
- package/dist/models/amount-with-limit-class.js +15 -0
- package/dist/models/approval-limit-class.d.ts +30 -0
- package/dist/models/approval-limit-class.js +15 -0
- package/dist/models/calculated-policy-object-class.d.ts +36 -0
- package/dist/models/calculated-policy-object-class.js +15 -0
- package/dist/models/calculation-errors-class.d.ts +25 -0
- package/dist/models/calculation-errors-class.js +15 -0
- package/dist/models/calculation-item-errors-class.d.ts +43 -0
- package/dist/models/calculation-item-errors-class.js +15 -0
- package/dist/models/calculation-message-class.d.ts +30 -0
- package/dist/models/calculation-message-class.js +15 -0
- package/dist/models/category-calculation-order-class.d.ts +25 -0
- package/dist/models/category-calculation-order-class.js +15 -0
- package/dist/models/category-calculation-step-class.d.ts +58 -0
- package/dist/models/category-calculation-step-class.js +24 -0
- package/dist/models/category-class.d.ts +52 -0
- package/dist/models/category-class.js +15 -0
- package/dist/models/category-coverage-summary-class.d.ts +43 -0
- package/dist/models/category-coverage-summary-class.js +15 -0
- package/dist/models/category-definition-class.d.ts +43 -0
- package/dist/models/category-definition-class.js +15 -0
- package/dist/models/claim-config-class.d.ts +32 -0
- package/dist/models/claim-config-class.js +15 -0
- package/dist/models/claim-position-fields-class.d.ts +31 -0
- package/dist/models/claim-position-fields-class.js +15 -0
- package/dist/models/coverage-class.d.ts +31 -0
- package/dist/models/coverage-class.js +15 -0
- package/dist/models/coverage-definition-class.d.ts +36 -0
- package/dist/models/coverage-definition-class.js +15 -0
- package/dist/models/coverage-term-class.d.ts +66 -0
- package/dist/models/coverage-term-class.js +30 -0
- package/dist/models/create-product-field-request-dto.d.ts +6 -0
- package/dist/models/create-product-request-dto.d.ts +1 -0
- package/dist/models/create-product-request-dto.js +2 -1
- package/dist/models/custom-field-class.d.ts +52 -0
- package/dist/models/custom-field-class.js +25 -0
- package/dist/models/deductible-class.d.ts +60 -0
- package/dist/models/deductible-class.js +25 -0
- package/dist/models/general-setting-class.d.ts +49 -0
- package/dist/models/general-setting-class.js +33 -0
- package/dist/models/get-product-config-tariffs-response-class.d.ts +31 -0
- package/dist/models/get-product-config-tariffs-response-class.js +15 -0
- package/dist/models/index.d.ts +42 -0
- package/dist/models/index.js +42 -0
- package/dist/models/lead-policy-object-class.d.ts +42 -0
- package/dist/models/lead-policy-object-class.js +15 -0
- package/dist/models/list-product-versions-response-class.d.ts +31 -0
- package/dist/models/list-product-versions-response-class.js +15 -0
- package/dist/models/product-config-summary-class.d.ts +72 -0
- package/dist/models/product-config-summary-class.js +15 -0
- package/dist/models/product-field-class.d.ts +6 -0
- package/dist/models/product-version-class.d.ts +6 -0
- package/dist/models/rest-calculate-product-tariff-quote-request-dto.d.ts +38 -0
- package/dist/models/rest-calculate-product-tariff-quote-request-dto.js +15 -0
- package/dist/models/rest-calculate-product-tariff-quote-response-class.d.ts +25 -0
- package/dist/models/rest-calculate-product-tariff-quote-response-class.js +15 -0
- package/dist/models/rest-create-product-config-response-class.d.ts +25 -0
- package/dist/models/rest-create-product-config-response-class.js +15 -0
- package/dist/models/rest-get-product-config-response-class.d.ts +25 -0
- package/dist/models/rest-get-product-config-response-class.js +15 -0
- package/dist/models/rest-list-product-configs-response-class.d.ts +43 -0
- package/dist/models/rest-list-product-configs-response-class.js +15 -0
- package/dist/models/rest-update-product-config-response-class.d.ts +25 -0
- package/dist/models/rest-update-product-config-response-class.js +15 -0
- package/dist/models/shared-create-estimated-invoice-response-class.d.ts +25 -0
- package/dist/models/shared-create-estimated-invoice-response-class.js +15 -0
- package/dist/models/shared-create-payment-method-request-dto.d.ts +2 -0
- package/dist/models/shared-create-payment-method-request-dto.js +3 -1
- package/dist/models/shared-payment-method-response-class.d.ts +2 -0
- package/dist/models/shared-payment-method-response-class.js +3 -1
- package/dist/models/shared-product-config-class.d.ts +79 -0
- package/dist/models/shared-product-config-class.js +15 -0
- package/dist/models/shared-product-config-data-class.d.ts +39 -0
- package/dist/models/shared-product-config-data-class.js +15 -0
- package/dist/models/shared-product-field-class.d.ts +6 -0
- package/dist/models/shared-product-field-override-class.d.ts +48 -0
- package/dist/models/shared-product-field-override-class.js +15 -0
- package/dist/models/shared-product-tariff-quote-class.d.ts +52 -0
- package/dist/models/shared-product-tariff-quote-class.js +15 -0
- package/dist/models/shared-tariff-variation-class.d.ts +80 -0
- package/dist/models/shared-tariff-variation-class.js +15 -0
- package/dist/models/tariff-calculation-order-class.d.ts +36 -0
- package/dist/models/tariff-calculation-order-class.js +20 -0
- package/dist/models/tariff-calculation-step-class.d.ts +58 -0
- package/dist/models/tariff-calculation-step-class.js +24 -0
- package/dist/models/tariff-category-summary-class.d.ts +57 -0
- package/dist/models/tariff-category-summary-class.js +15 -0
- package/dist/models/tariff-coverage-term-class.d.ts +60 -0
- package/dist/models/tariff-coverage-term-class.js +30 -0
- package/dist/models/tariff-info-class.d.ts +47 -0
- package/dist/models/tariff-info-class.js +20 -0
- package/dist/models/tariff-summary-class.d.ts +52 -0
- package/dist/models/tariff-summary-class.js +15 -0
- package/dist/models/update-product-field-request-dto.d.ts +6 -0
- package/dist/models/waiting-period-class.d.ts +40 -0
- package/dist/models/waiting-period-class.js +19 -0
- package/models/amount-with-limit-class.ts +36 -0
- package/models/approval-limit-class.ts +36 -0
- package/models/calculated-policy-object-class.ts +42 -0
- package/models/calculation-errors-class.ts +31 -0
- package/models/calculation-item-errors-class.ts +49 -0
- package/models/calculation-message-class.ts +36 -0
- package/models/category-calculation-order-class.ts +31 -0
- package/models/category-calculation-step-class.ts +68 -0
- package/models/category-class.ts +58 -0
- package/models/category-coverage-summary-class.ts +49 -0
- package/models/category-definition-class.ts +49 -0
- package/models/claim-config-class.ts +38 -0
- package/models/claim-position-fields-class.ts +37 -0
- package/models/coverage-class.ts +37 -0
- package/models/coverage-definition-class.ts +42 -0
- package/models/coverage-term-class.ts +77 -0
- package/models/create-product-field-request-dto.ts +6 -0
- package/models/create-product-request-dto.ts +2 -1
- package/models/custom-field-class.ts +61 -0
- package/models/deductible-class.ts +70 -0
- package/models/general-setting-class.ts +59 -0
- package/models/get-product-config-tariffs-response-class.ts +37 -0
- package/models/index.ts +42 -0
- package/models/lead-policy-object-class.ts +48 -0
- package/models/list-product-versions-response-class.ts +37 -0
- package/models/product-config-summary-class.ts +78 -0
- package/models/product-field-class.ts +6 -0
- package/models/product-version-class.ts +6 -0
- package/models/rest-calculate-product-tariff-quote-request-dto.ts +44 -0
- package/models/rest-calculate-product-tariff-quote-response-class.ts +31 -0
- package/models/rest-create-product-config-response-class.ts +31 -0
- package/models/rest-get-product-config-response-class.ts +31 -0
- package/models/rest-list-product-configs-response-class.ts +49 -0
- package/models/rest-update-product-config-response-class.ts +31 -0
- package/models/shared-create-estimated-invoice-response-class.ts +31 -0
- package/models/shared-create-payment-method-request-dto.ts +3 -1
- package/models/shared-payment-method-response-class.ts +3 -1
- package/models/shared-product-config-class.ts +85 -0
- package/models/shared-product-config-data-class.ts +45 -0
- package/models/shared-product-field-class.ts +6 -0
- package/models/shared-product-field-override-class.ts +54 -0
- package/models/shared-product-tariff-quote-class.ts +58 -0
- package/models/shared-tariff-variation-class.ts +86 -0
- package/models/tariff-calculation-order-class.ts +45 -0
- package/models/tariff-calculation-step-class.ts +68 -0
- package/models/tariff-category-summary-class.ts +63 -0
- package/models/tariff-coverage-term-class.ts +71 -0
- package/models/tariff-info-class.ts +56 -0
- package/models/tariff-summary-class.ts +58 -0
- package/models/update-product-field-request-dto.ts +6 -0
- package/models/waiting-period-class.ts +49 -0
- 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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, productId, description, status</i>
|
|
262
|
+
* @param {string} [search] To search the list by any field, pass search=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.<br/> <br/> <i>Allowed values: id, productId, description, status</i>
|
|
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.<br/> <br/> <i>Allowed values: product<i>
|
|
265
|
+
* @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>
|
|
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, productId, description, status</i>
|
|
317
|
+
* @param {string} [search] To search the list by any field, pass search=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.<br/> <br/> <i>Allowed values: id, productId, description, status</i>
|
|
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.<br/> <br/> <i>Allowed values: product<i>
|
|
320
|
+
* @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>
|
|
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, productId, description, status</i>
|
|
413
|
+
* @type {string}
|
|
414
|
+
* @memberof ProductVersionsApiListProductVersions
|
|
415
|
+
*/
|
|
416
|
+
readonly filter?: string
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* To search the list by any field, pass search=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.<br/> <br/> <i>Allowed values: id, productId, description, status</i>
|
|
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.<br/> <br/> <i>Allowed values: product<i>
|
|
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.<br/> <br/> <i>Allowed values: id, code, productId, description, status</i>
|
|
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';
|