@emilgroup/insurance-sdk-node 1.93.1-beta.22 → 1.93.1-beta.24
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 +5 -4
- package/README.md +2 -2
- package/api/product-configs-api.ts +124 -124
- package/dist/api/product-configs-api.d.ts +70 -70
- package/dist/api/product-configs-api.js +99 -99
- package/dist/models/category-coverage-summary-class.d.ts +43 -0
- package/dist/models/{rest-get-product-config-tariffs-response-class.d.ts → get-product-config-tariffs-response-class.d.ts} +4 -4
- package/dist/models/index.d.ts +5 -4
- package/dist/models/index.js +5 -4
- package/dist/models/{rest-get-product-config-tariff-quote-request-dto.d.ts → rest-calculate-product-tariff-quote-request-dto.d.ts} +5 -5
- package/dist/models/rest-calculate-product-tariff-quote-response-class.d.ts +25 -0
- package/dist/models/{shared-product-config-tariff-quote-class.d.ts → shared-product-tariff-quote-class.d.ts} +7 -7
- package/dist/models/shared-product-tariff-quote-class.js +15 -0
- package/dist/models/tariff-category-summary-class.d.ts +4 -4
- package/dist/models/tariff-summary-class.d.ts +1 -8
- package/models/category-coverage-summary-class.ts +49 -0
- package/models/{rest-get-product-config-tariffs-response-class.ts → get-product-config-tariffs-response-class.ts} +4 -4
- package/models/index.ts +5 -4
- package/models/{rest-get-product-config-tariff-quote-request-dto.ts → rest-calculate-product-tariff-quote-request-dto.ts} +5 -5
- package/models/rest-calculate-product-tariff-quote-response-class.ts +31 -0
- package/models/{shared-product-config-tariff-quote-class.ts → shared-product-tariff-quote-class.ts} +7 -7
- package/models/tariff-category-summary-class.ts +4 -4
- package/models/tariff-summary-class.ts +1 -8
- package/package.json +1 -1
- package/dist/models/rest-get-product-config-tariff-quote-response-class.d.ts +0 -25
- package/models/rest-get-product-config-tariff-quote-response-class.ts +0 -31
- /package/dist/models/{rest-get-product-config-tariff-quote-request-dto.js → category-coverage-summary-class.js} +0 -0
- /package/dist/models/{rest-get-product-config-tariff-quote-response-class.js → get-product-config-tariffs-response-class.js} +0 -0
- /package/dist/models/{rest-get-product-config-tariffs-response-class.js → rest-calculate-product-tariff-quote-request-dto.js} +0 -0
- /package/dist/models/{shared-product-config-tariff-quote-class.js → rest-calculate-product-tariff-quote-response-class.js} +0 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -47,6 +47,7 @@ models/calculation-errors-class.ts
|
|
|
47
47
|
models/calculation-item-errors-class.ts
|
|
48
48
|
models/calculation-message-class.ts
|
|
49
49
|
models/category-class.ts
|
|
50
|
+
models/category-coverage-summary-class.ts
|
|
50
51
|
models/category-definition-class.ts
|
|
51
52
|
models/claim-config-class.ts
|
|
52
53
|
models/claim-position-fields-class.ts
|
|
@@ -139,6 +140,7 @@ models/get-policy-request-dto.ts
|
|
|
139
140
|
models/get-policy-response-class.ts
|
|
140
141
|
models/get-premium-formula-request-dto.ts
|
|
141
142
|
models/get-premium-formula-response-class.ts
|
|
143
|
+
models/get-product-config-tariffs-response-class.ts
|
|
142
144
|
models/get-product-factor-response-class.ts
|
|
143
145
|
models/get-product-factor-value-request-dto.ts
|
|
144
146
|
models/get-product-factor-value-response-class.ts
|
|
@@ -232,13 +234,12 @@ models/product-factor-value-for-version-class.ts
|
|
|
232
234
|
models/product-field-class.ts
|
|
233
235
|
models/product-field-type-class.ts
|
|
234
236
|
models/product-version-class.ts
|
|
237
|
+
models/rest-calculate-product-tariff-quote-request-dto.ts
|
|
238
|
+
models/rest-calculate-product-tariff-quote-response-class.ts
|
|
235
239
|
models/rest-clone-lead-account-request-dto.ts
|
|
236
240
|
models/rest-create-product-config-response-class.ts
|
|
237
241
|
models/rest-create-product-config-version-response-class.ts
|
|
238
242
|
models/rest-get-product-config-response-class.ts
|
|
239
|
-
models/rest-get-product-config-tariff-quote-request-dto.ts
|
|
240
|
-
models/rest-get-product-config-tariff-quote-response-class.ts
|
|
241
|
-
models/rest-get-product-config-tariffs-response-class.ts
|
|
242
243
|
models/rest-get-product-config-version-response-class.ts
|
|
243
244
|
models/rest-list-product-config-versions-response-class.ts
|
|
244
245
|
models/rest-list-product-configs-response-class.ts
|
|
@@ -261,10 +262,10 @@ models/shared-mandate-hash-data-response-class.ts
|
|
|
261
262
|
models/shared-mandate-response-class.ts
|
|
262
263
|
models/shared-payment-method-response-class.ts
|
|
263
264
|
models/shared-product-config-class.ts
|
|
264
|
-
models/shared-product-config-tariff-quote-class.ts
|
|
265
265
|
models/shared-product-config-version-class.ts
|
|
266
266
|
models/shared-product-field-class.ts
|
|
267
267
|
models/shared-product-field-override-class.ts
|
|
268
|
+
models/shared-product-tariff-quote-class.ts
|
|
268
269
|
models/shared-product-version-config-class.ts
|
|
269
270
|
models/shared-sepa-response-class.ts
|
|
270
271
|
models/shared-tariff-variation-class.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.93.1-beta.
|
|
20
|
+
npm install @emilgroup/insurance-sdk-node@1.93.1-beta.24 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/insurance-sdk-node@1.93.1-beta.
|
|
24
|
+
yarn add @emilgroup/insurance-sdk-node@1.93.1-beta.24
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PoliciesApi`.
|
|
@@ -25,17 +25,17 @@ import { DeleteResponseByCodeClass } from '../models';
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { EmptyResponseClass } from '../models';
|
|
27
27
|
// @ts-ignore
|
|
28
|
-
import {
|
|
28
|
+
import { GetProductConfigTariffsResponseClass } from '../models';
|
|
29
29
|
// @ts-ignore
|
|
30
|
-
import {
|
|
30
|
+
import { RestCalculateProductTariffQuoteRequestDto } from '../models';
|
|
31
31
|
// @ts-ignore
|
|
32
|
-
import {
|
|
32
|
+
import { RestCalculateProductTariffQuoteResponseClass } from '../models';
|
|
33
33
|
// @ts-ignore
|
|
34
|
-
import {
|
|
34
|
+
import { RestCreateProductConfigResponseClass } from '../models';
|
|
35
35
|
// @ts-ignore
|
|
36
|
-
import {
|
|
36
|
+
import { RestCreateProductConfigVersionResponseClass } from '../models';
|
|
37
37
|
// @ts-ignore
|
|
38
|
-
import {
|
|
38
|
+
import { RestGetProductConfigResponseClass } from '../models';
|
|
39
39
|
// @ts-ignore
|
|
40
40
|
import { RestGetProductConfigVersionResponseClass } from '../models';
|
|
41
41
|
// @ts-ignore
|
|
@@ -60,6 +60,57 @@ const FormData = require('form-data');
|
|
|
60
60
|
*/
|
|
61
61
|
export const ProductConfigsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
62
62
|
return {
|
|
63
|
+
/**
|
|
64
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version. **Required Permissions** \"policy-management.products.view\"
|
|
65
|
+
* @summary Calculates a quote for a selected tariff
|
|
66
|
+
* @param {number} productVersionId Product version id
|
|
67
|
+
* @param {RestCalculateProductTariffQuoteRequestDto} restCalculateProductTariffQuoteRequestDto
|
|
68
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
69
|
+
* @param {*} [options] Override http request option.
|
|
70
|
+
* @throws {RequiredError}
|
|
71
|
+
*/
|
|
72
|
+
calculateProductTariffQuote: async (productVersionId: number, restCalculateProductTariffQuoteRequestDto: RestCalculateProductTariffQuoteRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
73
|
+
// verify required parameter 'productVersionId' is not null or undefined
|
|
74
|
+
assertParamExists('calculateProductTariffQuote', 'productVersionId', productVersionId)
|
|
75
|
+
// verify required parameter 'restCalculateProductTariffQuoteRequestDto' is not null or undefined
|
|
76
|
+
assertParamExists('calculateProductTariffQuote', 'restCalculateProductTariffQuoteRequestDto', restCalculateProductTariffQuoteRequestDto)
|
|
77
|
+
const localVarPath = `/insuranceservice/v1/product-configs/{productVersionId}/tariff-quote`
|
|
78
|
+
.replace(`{${"productVersionId"}}`, encodeURIComponent(String(productVersionId)));
|
|
79
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
80
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
81
|
+
let baseOptions;
|
|
82
|
+
let baseAccessToken;
|
|
83
|
+
if (configuration) {
|
|
84
|
+
baseOptions = configuration.baseOptions;
|
|
85
|
+
baseAccessToken = configuration.accessToken;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
89
|
+
const localVarHeaderParameter = {} as any;
|
|
90
|
+
const localVarQueryParameter = {} as any;
|
|
91
|
+
|
|
92
|
+
// authentication bearer required
|
|
93
|
+
// http bearer authentication required
|
|
94
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
95
|
+
|
|
96
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
97
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
103
|
+
|
|
104
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
105
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
106
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
107
|
+
localVarRequestOptions.data = serializeDataIfNeeded(restCalculateProductTariffQuoteRequestDto, localVarRequestOptions, configuration)
|
|
108
|
+
|
|
109
|
+
return {
|
|
110
|
+
url: toPathString(localVarUrlObj),
|
|
111
|
+
options: localVarRequestOptions,
|
|
112
|
+
};
|
|
113
|
+
},
|
|
63
114
|
/**
|
|
64
115
|
* Creates a product config. Accepts a JSON or YAML file containing the initial config version. **Required Permissions** \"policy-management.products.create\"
|
|
65
116
|
* @summary Creates a new product config with initial version
|
|
@@ -327,57 +378,6 @@ export const ProductConfigsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
327
378
|
options: localVarRequestOptions,
|
|
328
379
|
};
|
|
329
380
|
},
|
|
330
|
-
/**
|
|
331
|
-
* Returns a tariff quote with estimated invoice data for the selected tariff from the currently published product config version **Required Permissions** \"policy-management.products.view\"
|
|
332
|
-
* @summary Create the Product Config Tariff Quote
|
|
333
|
-
* @param {number} productVersionId Product version id
|
|
334
|
-
* @param {RestGetProductConfigTariffQuoteRequestDto} restGetProductConfigTariffQuoteRequestDto
|
|
335
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
336
|
-
* @param {*} [options] Override http request option.
|
|
337
|
-
* @throws {RequiredError}
|
|
338
|
-
*/
|
|
339
|
-
getProductConfigTariffQuote: async (productVersionId: number, restGetProductConfigTariffQuoteRequestDto: RestGetProductConfigTariffQuoteRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
340
|
-
// verify required parameter 'productVersionId' is not null or undefined
|
|
341
|
-
assertParamExists('getProductConfigTariffQuote', 'productVersionId', productVersionId)
|
|
342
|
-
// verify required parameter 'restGetProductConfigTariffQuoteRequestDto' is not null or undefined
|
|
343
|
-
assertParamExists('getProductConfigTariffQuote', 'restGetProductConfigTariffQuoteRequestDto', restGetProductConfigTariffQuoteRequestDto)
|
|
344
|
-
const localVarPath = `/insuranceservice/v1/product-configs/{productVersionId}/tariff-quote`
|
|
345
|
-
.replace(`{${"productVersionId"}}`, encodeURIComponent(String(productVersionId)));
|
|
346
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
347
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
348
|
-
let baseOptions;
|
|
349
|
-
let baseAccessToken;
|
|
350
|
-
if (configuration) {
|
|
351
|
-
baseOptions = configuration.baseOptions;
|
|
352
|
-
baseAccessToken = configuration.accessToken;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
356
|
-
const localVarHeaderParameter = {} as any;
|
|
357
|
-
const localVarQueryParameter = {} as any;
|
|
358
|
-
|
|
359
|
-
// authentication bearer required
|
|
360
|
-
// http bearer authentication required
|
|
361
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
362
|
-
|
|
363
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
364
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
370
|
-
|
|
371
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
372
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
373
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
374
|
-
localVarRequestOptions.data = serializeDataIfNeeded(restGetProductConfigTariffQuoteRequestDto, localVarRequestOptions, configuration)
|
|
375
|
-
|
|
376
|
-
return {
|
|
377
|
-
url: toPathString(localVarUrlObj),
|
|
378
|
-
options: localVarRequestOptions,
|
|
379
|
-
};
|
|
380
|
-
},
|
|
381
381
|
/**
|
|
382
382
|
* Retrieves list of available tariffs for the published product config version **Required Permissions** \"policy-management.products.view\"
|
|
383
383
|
* @summary Retrieve the Product Config Tariffs
|
|
@@ -789,6 +789,19 @@ export const ProductConfigsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
789
789
|
export const ProductConfigsApiFp = function(configuration?: Configuration) {
|
|
790
790
|
const localVarAxiosParamCreator = ProductConfigsApiAxiosParamCreator(configuration)
|
|
791
791
|
return {
|
|
792
|
+
/**
|
|
793
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version. **Required Permissions** \"policy-management.products.view\"
|
|
794
|
+
* @summary Calculates a quote for a selected tariff
|
|
795
|
+
* @param {number} productVersionId Product version id
|
|
796
|
+
* @param {RestCalculateProductTariffQuoteRequestDto} restCalculateProductTariffQuoteRequestDto
|
|
797
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
798
|
+
* @param {*} [options] Override http request option.
|
|
799
|
+
* @throws {RequiredError}
|
|
800
|
+
*/
|
|
801
|
+
async calculateProductTariffQuote(productVersionId: number, restCalculateProductTariffQuoteRequestDto: RestCalculateProductTariffQuoteRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RestCalculateProductTariffQuoteResponseClass>> {
|
|
802
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.calculateProductTariffQuote(productVersionId, restCalculateProductTariffQuoteRequestDto, authorization, options);
|
|
803
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
804
|
+
},
|
|
792
805
|
/**
|
|
793
806
|
* Creates a product config. Accepts a JSON or YAML file containing the initial config version. **Required Permissions** \"policy-management.products.create\"
|
|
794
807
|
* @summary Creates a new product config with initial version
|
|
@@ -853,19 +866,6 @@ export const ProductConfigsApiFp = function(configuration?: Configuration) {
|
|
|
853
866
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getProductConfig(code, authorization, expand, options);
|
|
854
867
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
855
868
|
},
|
|
856
|
-
/**
|
|
857
|
-
* Returns a tariff quote with estimated invoice data for the selected tariff from the currently published product config version **Required Permissions** \"policy-management.products.view\"
|
|
858
|
-
* @summary Create the Product Config Tariff Quote
|
|
859
|
-
* @param {number} productVersionId Product version id
|
|
860
|
-
* @param {RestGetProductConfigTariffQuoteRequestDto} restGetProductConfigTariffQuoteRequestDto
|
|
861
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
862
|
-
* @param {*} [options] Override http request option.
|
|
863
|
-
* @throws {RequiredError}
|
|
864
|
-
*/
|
|
865
|
-
async getProductConfigTariffQuote(productVersionId: number, restGetProductConfigTariffQuoteRequestDto: RestGetProductConfigTariffQuoteRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RestGetProductConfigTariffQuoteResponseClass>> {
|
|
866
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getProductConfigTariffQuote(productVersionId, restGetProductConfigTariffQuoteRequestDto, authorization, options);
|
|
867
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
868
|
-
},
|
|
869
869
|
/**
|
|
870
870
|
* Retrieves list of available tariffs for the published product config version **Required Permissions** \"policy-management.products.view\"
|
|
871
871
|
* @summary Retrieve the Product Config Tariffs
|
|
@@ -874,7 +874,7 @@ export const ProductConfigsApiFp = function(configuration?: Configuration) {
|
|
|
874
874
|
* @param {*} [options] Override http request option.
|
|
875
875
|
* @throws {RequiredError}
|
|
876
876
|
*/
|
|
877
|
-
async getProductConfigTariffs(productVersionId: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
877
|
+
async getProductConfigTariffs(productVersionId: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductConfigTariffsResponseClass>> {
|
|
878
878
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getProductConfigTariffs(productVersionId, authorization, options);
|
|
879
879
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
880
880
|
},
|
|
@@ -975,6 +975,18 @@ export const ProductConfigsApiFp = function(configuration?: Configuration) {
|
|
|
975
975
|
export const ProductConfigsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
976
976
|
const localVarFp = ProductConfigsApiFp(configuration)
|
|
977
977
|
return {
|
|
978
|
+
/**
|
|
979
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version. **Required Permissions** \"policy-management.products.view\"
|
|
980
|
+
* @summary Calculates a quote for a selected tariff
|
|
981
|
+
* @param {number} productVersionId Product version id
|
|
982
|
+
* @param {RestCalculateProductTariffQuoteRequestDto} restCalculateProductTariffQuoteRequestDto
|
|
983
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
984
|
+
* @param {*} [options] Override http request option.
|
|
985
|
+
* @throws {RequiredError}
|
|
986
|
+
*/
|
|
987
|
+
calculateProductTariffQuote(productVersionId: number, restCalculateProductTariffQuoteRequestDto: RestCalculateProductTariffQuoteRequestDto, authorization?: string, options?: any): AxiosPromise<RestCalculateProductTariffQuoteResponseClass> {
|
|
988
|
+
return localVarFp.calculateProductTariffQuote(productVersionId, restCalculateProductTariffQuoteRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
989
|
+
},
|
|
978
990
|
/**
|
|
979
991
|
* Creates a product config. Accepts a JSON or YAML file containing the initial config version. **Required Permissions** \"policy-management.products.create\"
|
|
980
992
|
* @summary Creates a new product config with initial version
|
|
@@ -1034,18 +1046,6 @@ export const ProductConfigsApiFactory = function (configuration?: Configuration,
|
|
|
1034
1046
|
getProductConfig(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<RestGetProductConfigResponseClass> {
|
|
1035
1047
|
return localVarFp.getProductConfig(code, authorization, expand, options).then((request) => request(axios, basePath));
|
|
1036
1048
|
},
|
|
1037
|
-
/**
|
|
1038
|
-
* Returns a tariff quote with estimated invoice data for the selected tariff from the currently published product config version **Required Permissions** \"policy-management.products.view\"
|
|
1039
|
-
* @summary Create the Product Config Tariff Quote
|
|
1040
|
-
* @param {number} productVersionId Product version id
|
|
1041
|
-
* @param {RestGetProductConfigTariffQuoteRequestDto} restGetProductConfigTariffQuoteRequestDto
|
|
1042
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1043
|
-
* @param {*} [options] Override http request option.
|
|
1044
|
-
* @throws {RequiredError}
|
|
1045
|
-
*/
|
|
1046
|
-
getProductConfigTariffQuote(productVersionId: number, restGetProductConfigTariffQuoteRequestDto: RestGetProductConfigTariffQuoteRequestDto, authorization?: string, options?: any): AxiosPromise<RestGetProductConfigTariffQuoteResponseClass> {
|
|
1047
|
-
return localVarFp.getProductConfigTariffQuote(productVersionId, restGetProductConfigTariffQuoteRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
1048
|
-
},
|
|
1049
1049
|
/**
|
|
1050
1050
|
* Retrieves list of available tariffs for the published product config version **Required Permissions** \"policy-management.products.view\"
|
|
1051
1051
|
* @summary Retrieve the Product Config Tariffs
|
|
@@ -1054,7 +1054,7 @@ export const ProductConfigsApiFactory = function (configuration?: Configuration,
|
|
|
1054
1054
|
* @param {*} [options] Override http request option.
|
|
1055
1055
|
* @throws {RequiredError}
|
|
1056
1056
|
*/
|
|
1057
|
-
getProductConfigTariffs(productVersionId: number, authorization?: string, options?: any): AxiosPromise<
|
|
1057
|
+
getProductConfigTariffs(productVersionId: number, authorization?: string, options?: any): AxiosPromise<GetProductConfigTariffsResponseClass> {
|
|
1058
1058
|
return localVarFp.getProductConfigTariffs(productVersionId, authorization, options).then((request) => request(axios, basePath));
|
|
1059
1059
|
},
|
|
1060
1060
|
/**
|
|
@@ -1141,6 +1141,34 @@ export const ProductConfigsApiFactory = function (configuration?: Configuration,
|
|
|
1141
1141
|
};
|
|
1142
1142
|
};
|
|
1143
1143
|
|
|
1144
|
+
/**
|
|
1145
|
+
* Request parameters for calculateProductTariffQuote operation in ProductConfigsApi.
|
|
1146
|
+
* @export
|
|
1147
|
+
* @interface ProductConfigsApiCalculateProductTariffQuoteRequest
|
|
1148
|
+
*/
|
|
1149
|
+
export interface ProductConfigsApiCalculateProductTariffQuoteRequest {
|
|
1150
|
+
/**
|
|
1151
|
+
* Product version id
|
|
1152
|
+
* @type {number}
|
|
1153
|
+
* @memberof ProductConfigsApiCalculateProductTariffQuote
|
|
1154
|
+
*/
|
|
1155
|
+
readonly productVersionId: number
|
|
1156
|
+
|
|
1157
|
+
/**
|
|
1158
|
+
*
|
|
1159
|
+
* @type {RestCalculateProductTariffQuoteRequestDto}
|
|
1160
|
+
* @memberof ProductConfigsApiCalculateProductTariffQuote
|
|
1161
|
+
*/
|
|
1162
|
+
readonly restCalculateProductTariffQuoteRequestDto: RestCalculateProductTariffQuoteRequestDto
|
|
1163
|
+
|
|
1164
|
+
/**
|
|
1165
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1166
|
+
* @type {string}
|
|
1167
|
+
* @memberof ProductConfigsApiCalculateProductTariffQuote
|
|
1168
|
+
*/
|
|
1169
|
+
readonly authorization?: string
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1144
1172
|
/**
|
|
1145
1173
|
* Request parameters for createProductConfig operation in ProductConfigsApi.
|
|
1146
1174
|
* @export
|
|
@@ -1274,34 +1302,6 @@ export interface ProductConfigsApiGetProductConfigRequest {
|
|
|
1274
1302
|
readonly expand?: string
|
|
1275
1303
|
}
|
|
1276
1304
|
|
|
1277
|
-
/**
|
|
1278
|
-
* Request parameters for getProductConfigTariffQuote operation in ProductConfigsApi.
|
|
1279
|
-
* @export
|
|
1280
|
-
* @interface ProductConfigsApiGetProductConfigTariffQuoteRequest
|
|
1281
|
-
*/
|
|
1282
|
-
export interface ProductConfigsApiGetProductConfigTariffQuoteRequest {
|
|
1283
|
-
/**
|
|
1284
|
-
* Product version id
|
|
1285
|
-
* @type {number}
|
|
1286
|
-
* @memberof ProductConfigsApiGetProductConfigTariffQuote
|
|
1287
|
-
*/
|
|
1288
|
-
readonly productVersionId: number
|
|
1289
|
-
|
|
1290
|
-
/**
|
|
1291
|
-
*
|
|
1292
|
-
* @type {RestGetProductConfigTariffQuoteRequestDto}
|
|
1293
|
-
* @memberof ProductConfigsApiGetProductConfigTariffQuote
|
|
1294
|
-
*/
|
|
1295
|
-
readonly restGetProductConfigTariffQuoteRequestDto: RestGetProductConfigTariffQuoteRequestDto
|
|
1296
|
-
|
|
1297
|
-
/**
|
|
1298
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1299
|
-
* @type {string}
|
|
1300
|
-
* @memberof ProductConfigsApiGetProductConfigTariffQuote
|
|
1301
|
-
*/
|
|
1302
|
-
readonly authorization?: string
|
|
1303
|
-
}
|
|
1304
|
-
|
|
1305
1305
|
/**
|
|
1306
1306
|
* Request parameters for getProductConfigTariffs operation in ProductConfigsApi.
|
|
1307
1307
|
* @export
|
|
@@ -1561,6 +1561,18 @@ export interface ProductConfigsApiUpdateProductConfigVersionStatusRequest {
|
|
|
1561
1561
|
* @extends {BaseAPI}
|
|
1562
1562
|
*/
|
|
1563
1563
|
export class ProductConfigsApi extends BaseAPI {
|
|
1564
|
+
/**
|
|
1565
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version. **Required Permissions** \"policy-management.products.view\"
|
|
1566
|
+
* @summary Calculates a quote for a selected tariff
|
|
1567
|
+
* @param {ProductConfigsApiCalculateProductTariffQuoteRequest} requestParameters Request parameters.
|
|
1568
|
+
* @param {*} [options] Override http request option.
|
|
1569
|
+
* @throws {RequiredError}
|
|
1570
|
+
* @memberof ProductConfigsApi
|
|
1571
|
+
*/
|
|
1572
|
+
public calculateProductTariffQuote(requestParameters: ProductConfigsApiCalculateProductTariffQuoteRequest, options?: AxiosRequestConfig) {
|
|
1573
|
+
return ProductConfigsApiFp(this.configuration).calculateProductTariffQuote(requestParameters.productVersionId, requestParameters.restCalculateProductTariffQuoteRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1574
|
+
}
|
|
1575
|
+
|
|
1564
1576
|
/**
|
|
1565
1577
|
* Creates a product config. Accepts a JSON or YAML file containing the initial config version. **Required Permissions** \"policy-management.products.create\"
|
|
1566
1578
|
* @summary Creates a new product config with initial version
|
|
@@ -1621,18 +1633,6 @@ export class ProductConfigsApi extends BaseAPI {
|
|
|
1621
1633
|
return ProductConfigsApiFp(this.configuration).getProductConfig(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
1622
1634
|
}
|
|
1623
1635
|
|
|
1624
|
-
/**
|
|
1625
|
-
* Returns a tariff quote with estimated invoice data for the selected tariff from the currently published product config version **Required Permissions** \"policy-management.products.view\"
|
|
1626
|
-
* @summary Create the Product Config Tariff Quote
|
|
1627
|
-
* @param {ProductConfigsApiGetProductConfigTariffQuoteRequest} requestParameters Request parameters.
|
|
1628
|
-
* @param {*} [options] Override http request option.
|
|
1629
|
-
* @throws {RequiredError}
|
|
1630
|
-
* @memberof ProductConfigsApi
|
|
1631
|
-
*/
|
|
1632
|
-
public getProductConfigTariffQuote(requestParameters: ProductConfigsApiGetProductConfigTariffQuoteRequest, options?: AxiosRequestConfig) {
|
|
1633
|
-
return ProductConfigsApiFp(this.configuration).getProductConfigTariffQuote(requestParameters.productVersionId, requestParameters.restGetProductConfigTariffQuoteRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1634
|
-
}
|
|
1635
|
-
|
|
1636
1636
|
/**
|
|
1637
1637
|
* Retrieves list of available tariffs for the published product config version **Required Permissions** \"policy-management.products.view\"
|
|
1638
1638
|
* @summary Retrieve the Product Config Tariffs
|
|
@@ -14,12 +14,12 @@ import { Configuration } from '../configuration';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { DeleteResponseByCodeClass } from '../models';
|
|
16
16
|
import { EmptyResponseClass } from '../models';
|
|
17
|
+
import { GetProductConfigTariffsResponseClass } from '../models';
|
|
18
|
+
import { RestCalculateProductTariffQuoteRequestDto } from '../models';
|
|
19
|
+
import { RestCalculateProductTariffQuoteResponseClass } from '../models';
|
|
17
20
|
import { RestCreateProductConfigResponseClass } from '../models';
|
|
18
21
|
import { RestCreateProductConfigVersionResponseClass } from '../models';
|
|
19
22
|
import { RestGetProductConfigResponseClass } from '../models';
|
|
20
|
-
import { RestGetProductConfigTariffQuoteRequestDto } from '../models';
|
|
21
|
-
import { RestGetProductConfigTariffQuoteResponseClass } from '../models';
|
|
22
|
-
import { RestGetProductConfigTariffsResponseClass } from '../models';
|
|
23
23
|
import { RestGetProductConfigVersionResponseClass } from '../models';
|
|
24
24
|
import { RestListProductConfigVersionsResponseClass } from '../models';
|
|
25
25
|
import { RestListProductConfigsResponseClass } from '../models';
|
|
@@ -32,6 +32,16 @@ import { UpdateProductConfigVersionStatusRequestDto } from '../models';
|
|
|
32
32
|
* @export
|
|
33
33
|
*/
|
|
34
34
|
export declare const ProductConfigsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
35
|
+
/**
|
|
36
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version. **Required Permissions** \"policy-management.products.view\"
|
|
37
|
+
* @summary Calculates a quote for a selected tariff
|
|
38
|
+
* @param {number} productVersionId Product version id
|
|
39
|
+
* @param {RestCalculateProductTariffQuoteRequestDto} restCalculateProductTariffQuoteRequestDto
|
|
40
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
41
|
+
* @param {*} [options] Override http request option.
|
|
42
|
+
* @throws {RequiredError}
|
|
43
|
+
*/
|
|
44
|
+
calculateProductTariffQuote: (productVersionId: number, restCalculateProductTariffQuoteRequestDto: RestCalculateProductTariffQuoteRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
45
|
/**
|
|
36
46
|
* Creates a product config. Accepts a JSON or YAML file containing the initial config version. **Required Permissions** \"policy-management.products.create\"
|
|
37
47
|
* @summary Creates a new product config with initial version
|
|
@@ -81,16 +91,6 @@ export declare const ProductConfigsApiAxiosParamCreator: (configuration?: Config
|
|
|
81
91
|
* @throws {RequiredError}
|
|
82
92
|
*/
|
|
83
93
|
getProductConfig: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
84
|
-
/**
|
|
85
|
-
* Returns a tariff quote with estimated invoice data for the selected tariff from the currently published product config version **Required Permissions** \"policy-management.products.view\"
|
|
86
|
-
* @summary Create the Product Config Tariff Quote
|
|
87
|
-
* @param {number} productVersionId Product version id
|
|
88
|
-
* @param {RestGetProductConfigTariffQuoteRequestDto} restGetProductConfigTariffQuoteRequestDto
|
|
89
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
90
|
-
* @param {*} [options] Override http request option.
|
|
91
|
-
* @throws {RequiredError}
|
|
92
|
-
*/
|
|
93
|
-
getProductConfigTariffQuote: (productVersionId: number, restGetProductConfigTariffQuoteRequestDto: RestGetProductConfigTariffQuoteRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
94
94
|
/**
|
|
95
95
|
* Retrieves list of available tariffs for the published product config version **Required Permissions** \"policy-management.products.view\"
|
|
96
96
|
* @summary Retrieve the Product Config Tariffs
|
|
@@ -175,6 +175,16 @@ export declare const ProductConfigsApiAxiosParamCreator: (configuration?: Config
|
|
|
175
175
|
* @export
|
|
176
176
|
*/
|
|
177
177
|
export declare const ProductConfigsApiFp: (configuration?: Configuration) => {
|
|
178
|
+
/**
|
|
179
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version. **Required Permissions** \"policy-management.products.view\"
|
|
180
|
+
* @summary Calculates a quote for a selected tariff
|
|
181
|
+
* @param {number} productVersionId Product version id
|
|
182
|
+
* @param {RestCalculateProductTariffQuoteRequestDto} restCalculateProductTariffQuoteRequestDto
|
|
183
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
184
|
+
* @param {*} [options] Override http request option.
|
|
185
|
+
* @throws {RequiredError}
|
|
186
|
+
*/
|
|
187
|
+
calculateProductTariffQuote(productVersionId: number, restCalculateProductTariffQuoteRequestDto: RestCalculateProductTariffQuoteRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RestCalculateProductTariffQuoteResponseClass>>;
|
|
178
188
|
/**
|
|
179
189
|
* Creates a product config. Accepts a JSON or YAML file containing the initial config version. **Required Permissions** \"policy-management.products.create\"
|
|
180
190
|
* @summary Creates a new product config with initial version
|
|
@@ -224,16 +234,6 @@ export declare const ProductConfigsApiFp: (configuration?: Configuration) => {
|
|
|
224
234
|
* @throws {RequiredError}
|
|
225
235
|
*/
|
|
226
236
|
getProductConfig(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RestGetProductConfigResponseClass>>;
|
|
227
|
-
/**
|
|
228
|
-
* Returns a tariff quote with estimated invoice data for the selected tariff from the currently published product config version **Required Permissions** \"policy-management.products.view\"
|
|
229
|
-
* @summary Create the Product Config Tariff Quote
|
|
230
|
-
* @param {number} productVersionId Product version id
|
|
231
|
-
* @param {RestGetProductConfigTariffQuoteRequestDto} restGetProductConfigTariffQuoteRequestDto
|
|
232
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
233
|
-
* @param {*} [options] Override http request option.
|
|
234
|
-
* @throws {RequiredError}
|
|
235
|
-
*/
|
|
236
|
-
getProductConfigTariffQuote(productVersionId: number, restGetProductConfigTariffQuoteRequestDto: RestGetProductConfigTariffQuoteRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RestGetProductConfigTariffQuoteResponseClass>>;
|
|
237
237
|
/**
|
|
238
238
|
* Retrieves list of available tariffs for the published product config version **Required Permissions** \"policy-management.products.view\"
|
|
239
239
|
* @summary Retrieve the Product Config Tariffs
|
|
@@ -242,7 +242,7 @@ export declare const ProductConfigsApiFp: (configuration?: Configuration) => {
|
|
|
242
242
|
* @param {*} [options] Override http request option.
|
|
243
243
|
* @throws {RequiredError}
|
|
244
244
|
*/
|
|
245
|
-
getProductConfigTariffs(productVersionId: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
245
|
+
getProductConfigTariffs(productVersionId: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductConfigTariffsResponseClass>>;
|
|
246
246
|
/**
|
|
247
247
|
* Retrieves a product config version by code **Required Permissions** \"policy-management.products.view\"
|
|
248
248
|
* @summary Retrieve the Product Config Version
|
|
@@ -318,6 +318,16 @@ export declare const ProductConfigsApiFp: (configuration?: Configuration) => {
|
|
|
318
318
|
* @export
|
|
319
319
|
*/
|
|
320
320
|
export declare const ProductConfigsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
321
|
+
/**
|
|
322
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version. **Required Permissions** \"policy-management.products.view\"
|
|
323
|
+
* @summary Calculates a quote for a selected tariff
|
|
324
|
+
* @param {number} productVersionId Product version id
|
|
325
|
+
* @param {RestCalculateProductTariffQuoteRequestDto} restCalculateProductTariffQuoteRequestDto
|
|
326
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
327
|
+
* @param {*} [options] Override http request option.
|
|
328
|
+
* @throws {RequiredError}
|
|
329
|
+
*/
|
|
330
|
+
calculateProductTariffQuote(productVersionId: number, restCalculateProductTariffQuoteRequestDto: RestCalculateProductTariffQuoteRequestDto, authorization?: string, options?: any): AxiosPromise<RestCalculateProductTariffQuoteResponseClass>;
|
|
321
331
|
/**
|
|
322
332
|
* Creates a product config. Accepts a JSON or YAML file containing the initial config version. **Required Permissions** \"policy-management.products.create\"
|
|
323
333
|
* @summary Creates a new product config with initial version
|
|
@@ -367,16 +377,6 @@ export declare const ProductConfigsApiFactory: (configuration?: Configuration, b
|
|
|
367
377
|
* @throws {RequiredError}
|
|
368
378
|
*/
|
|
369
379
|
getProductConfig(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<RestGetProductConfigResponseClass>;
|
|
370
|
-
/**
|
|
371
|
-
* Returns a tariff quote with estimated invoice data for the selected tariff from the currently published product config version **Required Permissions** \"policy-management.products.view\"
|
|
372
|
-
* @summary Create the Product Config Tariff Quote
|
|
373
|
-
* @param {number} productVersionId Product version id
|
|
374
|
-
* @param {RestGetProductConfigTariffQuoteRequestDto} restGetProductConfigTariffQuoteRequestDto
|
|
375
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
376
|
-
* @param {*} [options] Override http request option.
|
|
377
|
-
* @throws {RequiredError}
|
|
378
|
-
*/
|
|
379
|
-
getProductConfigTariffQuote(productVersionId: number, restGetProductConfigTariffQuoteRequestDto: RestGetProductConfigTariffQuoteRequestDto, authorization?: string, options?: any): AxiosPromise<RestGetProductConfigTariffQuoteResponseClass>;
|
|
380
380
|
/**
|
|
381
381
|
* Retrieves list of available tariffs for the published product config version **Required Permissions** \"policy-management.products.view\"
|
|
382
382
|
* @summary Retrieve the Product Config Tariffs
|
|
@@ -385,7 +385,7 @@ export declare const ProductConfigsApiFactory: (configuration?: Configuration, b
|
|
|
385
385
|
* @param {*} [options] Override http request option.
|
|
386
386
|
* @throws {RequiredError}
|
|
387
387
|
*/
|
|
388
|
-
getProductConfigTariffs(productVersionId: number, authorization?: string, options?: any): AxiosPromise<
|
|
388
|
+
getProductConfigTariffs(productVersionId: number, authorization?: string, options?: any): AxiosPromise<GetProductConfigTariffsResponseClass>;
|
|
389
389
|
/**
|
|
390
390
|
* Retrieves a product config version by code **Required Permissions** \"policy-management.products.view\"
|
|
391
391
|
* @summary Retrieve the Product Config Version
|
|
@@ -456,6 +456,31 @@ export declare const ProductConfigsApiFactory: (configuration?: Configuration, b
|
|
|
456
456
|
*/
|
|
457
457
|
updateProductConfigVersionStatus(code: string, updateProductConfigVersionStatusRequestDto: UpdateProductConfigVersionStatusRequestDto, authorization?: string, options?: any): AxiosPromise<EmptyResponseClass>;
|
|
458
458
|
};
|
|
459
|
+
/**
|
|
460
|
+
* Request parameters for calculateProductTariffQuote operation in ProductConfigsApi.
|
|
461
|
+
* @export
|
|
462
|
+
* @interface ProductConfigsApiCalculateProductTariffQuoteRequest
|
|
463
|
+
*/
|
|
464
|
+
export interface ProductConfigsApiCalculateProductTariffQuoteRequest {
|
|
465
|
+
/**
|
|
466
|
+
* Product version id
|
|
467
|
+
* @type {number}
|
|
468
|
+
* @memberof ProductConfigsApiCalculateProductTariffQuote
|
|
469
|
+
*/
|
|
470
|
+
readonly productVersionId: number;
|
|
471
|
+
/**
|
|
472
|
+
*
|
|
473
|
+
* @type {RestCalculateProductTariffQuoteRequestDto}
|
|
474
|
+
* @memberof ProductConfigsApiCalculateProductTariffQuote
|
|
475
|
+
*/
|
|
476
|
+
readonly restCalculateProductTariffQuoteRequestDto: RestCalculateProductTariffQuoteRequestDto;
|
|
477
|
+
/**
|
|
478
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
479
|
+
* @type {string}
|
|
480
|
+
* @memberof ProductConfigsApiCalculateProductTariffQuote
|
|
481
|
+
*/
|
|
482
|
+
readonly authorization?: string;
|
|
483
|
+
}
|
|
459
484
|
/**
|
|
460
485
|
* Request parameters for createProductConfig operation in ProductConfigsApi.
|
|
461
486
|
* @export
|
|
@@ -575,31 +600,6 @@ export interface ProductConfigsApiGetProductConfigRequest {
|
|
|
575
600
|
*/
|
|
576
601
|
readonly expand?: string;
|
|
577
602
|
}
|
|
578
|
-
/**
|
|
579
|
-
* Request parameters for getProductConfigTariffQuote operation in ProductConfigsApi.
|
|
580
|
-
* @export
|
|
581
|
-
* @interface ProductConfigsApiGetProductConfigTariffQuoteRequest
|
|
582
|
-
*/
|
|
583
|
-
export interface ProductConfigsApiGetProductConfigTariffQuoteRequest {
|
|
584
|
-
/**
|
|
585
|
-
* Product version id
|
|
586
|
-
* @type {number}
|
|
587
|
-
* @memberof ProductConfigsApiGetProductConfigTariffQuote
|
|
588
|
-
*/
|
|
589
|
-
readonly productVersionId: number;
|
|
590
|
-
/**
|
|
591
|
-
*
|
|
592
|
-
* @type {RestGetProductConfigTariffQuoteRequestDto}
|
|
593
|
-
* @memberof ProductConfigsApiGetProductConfigTariffQuote
|
|
594
|
-
*/
|
|
595
|
-
readonly restGetProductConfigTariffQuoteRequestDto: RestGetProductConfigTariffQuoteRequestDto;
|
|
596
|
-
/**
|
|
597
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
598
|
-
* @type {string}
|
|
599
|
-
* @memberof ProductConfigsApiGetProductConfigTariffQuote
|
|
600
|
-
*/
|
|
601
|
-
readonly authorization?: string;
|
|
602
|
-
}
|
|
603
603
|
/**
|
|
604
604
|
* Request parameters for getProductConfigTariffs operation in ProductConfigsApi.
|
|
605
605
|
* @export
|
|
@@ -830,6 +830,15 @@ export interface ProductConfigsApiUpdateProductConfigVersionStatusRequest {
|
|
|
830
830
|
* @extends {BaseAPI}
|
|
831
831
|
*/
|
|
832
832
|
export declare class ProductConfigsApi extends BaseAPI {
|
|
833
|
+
/**
|
|
834
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version. **Required Permissions** \"policy-management.products.view\"
|
|
835
|
+
* @summary Calculates a quote for a selected tariff
|
|
836
|
+
* @param {ProductConfigsApiCalculateProductTariffQuoteRequest} requestParameters Request parameters.
|
|
837
|
+
* @param {*} [options] Override http request option.
|
|
838
|
+
* @throws {RequiredError}
|
|
839
|
+
* @memberof ProductConfigsApi
|
|
840
|
+
*/
|
|
841
|
+
calculateProductTariffQuote(requestParameters: ProductConfigsApiCalculateProductTariffQuoteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RestCalculateProductTariffQuoteResponseClass, any, {}>>;
|
|
833
842
|
/**
|
|
834
843
|
* Creates a product config. Accepts a JSON or YAML file containing the initial config version. **Required Permissions** \"policy-management.products.create\"
|
|
835
844
|
* @summary Creates a new product config with initial version
|
|
@@ -875,15 +884,6 @@ export declare class ProductConfigsApi extends BaseAPI {
|
|
|
875
884
|
* @memberof ProductConfigsApi
|
|
876
885
|
*/
|
|
877
886
|
getProductConfig(requestParameters: ProductConfigsApiGetProductConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RestGetProductConfigResponseClass, any, {}>>;
|
|
878
|
-
/**
|
|
879
|
-
* Returns a tariff quote with estimated invoice data for the selected tariff from the currently published product config version **Required Permissions** \"policy-management.products.view\"
|
|
880
|
-
* @summary Create the Product Config Tariff Quote
|
|
881
|
-
* @param {ProductConfigsApiGetProductConfigTariffQuoteRequest} requestParameters Request parameters.
|
|
882
|
-
* @param {*} [options] Override http request option.
|
|
883
|
-
* @throws {RequiredError}
|
|
884
|
-
* @memberof ProductConfigsApi
|
|
885
|
-
*/
|
|
886
|
-
getProductConfigTariffQuote(requestParameters: ProductConfigsApiGetProductConfigTariffQuoteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RestGetProductConfigTariffQuoteResponseClass, any, {}>>;
|
|
887
887
|
/**
|
|
888
888
|
* Retrieves list of available tariffs for the published product config version **Required Permissions** \"policy-management.products.view\"
|
|
889
889
|
* @summary Retrieve the Product Config Tariffs
|
|
@@ -892,7 +892,7 @@ export declare class ProductConfigsApi extends BaseAPI {
|
|
|
892
892
|
* @throws {RequiredError}
|
|
893
893
|
* @memberof ProductConfigsApi
|
|
894
894
|
*/
|
|
895
|
-
getProductConfigTariffs(requestParameters: ProductConfigsApiGetProductConfigTariffsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
895
|
+
getProductConfigTariffs(requestParameters: ProductConfigsApiGetProductConfigTariffsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductConfigTariffsResponseClass, any, {}>>;
|
|
896
896
|
/**
|
|
897
897
|
* Retrieves a product config version by code **Required Permissions** \"policy-management.products.view\"
|
|
898
898
|
* @summary Retrieve the Product Config Version
|