@emilgroup/insurance-sdk-node 1.93.1-beta.23 → 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 +3 -3
- package/README.md +2 -2
- package/api/product-configs-api.ts +120 -120
- package/dist/api/product-configs-api.d.ts +66 -66
- package/dist/api/product-configs-api.js +99 -99
- package/dist/models/index.d.ts +3 -3
- package/dist/models/index.js +3 -3
- 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/models/index.ts +3 -3
- 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/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 → rest-calculate-product-tariff-quote-request-dto.js} +0 -0
- /package/dist/models/{rest-get-product-config-tariff-quote-response-class.js → rest-calculate-product-tariff-quote-response-class.js} +0 -0
- /package/dist/models/{shared-product-config-tariff-quote-class.js → shared-product-tariff-quote-class.js} +0 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -234,12 +234,12 @@ models/product-factor-value-for-version-class.ts
|
|
|
234
234
|
models/product-field-class.ts
|
|
235
235
|
models/product-field-type-class.ts
|
|
236
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
|
|
237
239
|
models/rest-clone-lead-account-request-dto.ts
|
|
238
240
|
models/rest-create-product-config-response-class.ts
|
|
239
241
|
models/rest-create-product-config-version-response-class.ts
|
|
240
242
|
models/rest-get-product-config-response-class.ts
|
|
241
|
-
models/rest-get-product-config-tariff-quote-request-dto.ts
|
|
242
|
-
models/rest-get-product-config-tariff-quote-response-class.ts
|
|
243
243
|
models/rest-get-product-config-version-response-class.ts
|
|
244
244
|
models/rest-list-product-config-versions-response-class.ts
|
|
245
245
|
models/rest-list-product-configs-response-class.ts
|
|
@@ -262,10 +262,10 @@ models/shared-mandate-hash-data-response-class.ts
|
|
|
262
262
|
models/shared-mandate-response-class.ts
|
|
263
263
|
models/shared-payment-method-response-class.ts
|
|
264
264
|
models/shared-product-config-class.ts
|
|
265
|
-
models/shared-product-config-tariff-quote-class.ts
|
|
266
265
|
models/shared-product-config-version-class.ts
|
|
267
266
|
models/shared-product-field-class.ts
|
|
268
267
|
models/shared-product-field-override-class.ts
|
|
268
|
+
models/shared-product-tariff-quote-class.ts
|
|
269
269
|
models/shared-product-version-config-class.ts
|
|
270
270
|
models/shared-sepa-response-class.ts
|
|
271
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`.
|
|
@@ -27,16 +27,16 @@ import { EmptyResponseClass } from '../models';
|
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { GetProductConfigTariffsResponseClass } from '../models';
|
|
29
29
|
// @ts-ignore
|
|
30
|
+
import { RestCalculateProductTariffQuoteRequestDto } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
import { RestCalculateProductTariffQuoteResponseClass } from '../models';
|
|
33
|
+
// @ts-ignore
|
|
30
34
|
import { RestCreateProductConfigResponseClass } from '../models';
|
|
31
35
|
// @ts-ignore
|
|
32
36
|
import { RestCreateProductConfigVersionResponseClass } from '../models';
|
|
33
37
|
// @ts-ignore
|
|
34
38
|
import { RestGetProductConfigResponseClass } from '../models';
|
|
35
39
|
// @ts-ignore
|
|
36
|
-
import { RestGetProductConfigTariffQuoteRequestDto } from '../models';
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
import { RestGetProductConfigTariffQuoteResponseClass } from '../models';
|
|
39
|
-
// @ts-ignore
|
|
40
40
|
import { RestGetProductConfigVersionResponseClass } from '../models';
|
|
41
41
|
// @ts-ignore
|
|
42
42
|
import { RestListProductConfigVersionsResponseClass } from '../models';
|
|
@@ -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 Returns a tariff quote with estimated invoice data
|
|
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 Returns a tariff quote with estimated invoice data
|
|
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
|
|
@@ -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 Returns a tariff quote with estimated invoice data
|
|
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
|
|
@@ -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 Returns a tariff quote with estimated invoice data
|
|
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
|
|
@@ -15,11 +15,11 @@ import { RequestArgs, BaseAPI } from '../base';
|
|
|
15
15
|
import { DeleteResponseByCodeClass } from '../models';
|
|
16
16
|
import { EmptyResponseClass } from '../models';
|
|
17
17
|
import { GetProductConfigTariffsResponseClass } from '../models';
|
|
18
|
+
import { RestCalculateProductTariffQuoteRequestDto } from '../models';
|
|
19
|
+
import { RestCalculateProductTariffQuoteResponseClass } from '../models';
|
|
18
20
|
import { RestCreateProductConfigResponseClass } from '../models';
|
|
19
21
|
import { RestCreateProductConfigVersionResponseClass } from '../models';
|
|
20
22
|
import { RestGetProductConfigResponseClass } from '../models';
|
|
21
|
-
import { RestGetProductConfigTariffQuoteRequestDto } from '../models';
|
|
22
|
-
import { RestGetProductConfigTariffQuoteResponseClass } 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 Returns a tariff quote with estimated invoice data
|
|
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 Returns a tariff quote with estimated invoice data
|
|
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
|
|
@@ -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 Returns a tariff quote with estimated invoice data
|
|
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
|
|
@@ -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 Returns a tariff quote with estimated invoice data
|
|
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
|
|
@@ -96,6 +96,59 @@ var FormData = require('form-data');
|
|
|
96
96
|
var ProductConfigsApiAxiosParamCreator = function (configuration) {
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
|
+
/**
|
|
100
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version. **Required Permissions** \"policy-management.products.view\"
|
|
101
|
+
* @summary Calculates a quote for a selected tariff
|
|
102
|
+
* @param {number} productVersionId Product version id
|
|
103
|
+
* @param {RestCalculateProductTariffQuoteRequestDto} restCalculateProductTariffQuoteRequestDto
|
|
104
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
calculateProductTariffQuote: function (productVersionId, restCalculateProductTariffQuoteRequestDto, authorization, options) {
|
|
109
|
+
if (options === void 0) { options = {}; }
|
|
110
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
111
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
112
|
+
return __generator(this, function (_a) {
|
|
113
|
+
switch (_a.label) {
|
|
114
|
+
case 0:
|
|
115
|
+
// verify required parameter 'productVersionId' is not null or undefined
|
|
116
|
+
(0, common_1.assertParamExists)('calculateProductTariffQuote', 'productVersionId', productVersionId);
|
|
117
|
+
// verify required parameter 'restCalculateProductTariffQuoteRequestDto' is not null or undefined
|
|
118
|
+
(0, common_1.assertParamExists)('calculateProductTariffQuote', 'restCalculateProductTariffQuoteRequestDto', restCalculateProductTariffQuoteRequestDto);
|
|
119
|
+
localVarPath = "/insuranceservice/v1/product-configs/{productVersionId}/tariff-quote"
|
|
120
|
+
.replace("{".concat("productVersionId", "}"), encodeURIComponent(String(productVersionId)));
|
|
121
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
122
|
+
if (configuration) {
|
|
123
|
+
baseOptions = configuration.baseOptions;
|
|
124
|
+
baseAccessToken = configuration.accessToken;
|
|
125
|
+
}
|
|
126
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
127
|
+
localVarHeaderParameter = {};
|
|
128
|
+
localVarQueryParameter = {};
|
|
129
|
+
// authentication bearer required
|
|
130
|
+
// http bearer authentication required
|
|
131
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
132
|
+
case 1:
|
|
133
|
+
// authentication bearer required
|
|
134
|
+
// http bearer authentication required
|
|
135
|
+
_a.sent();
|
|
136
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
137
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
138
|
+
}
|
|
139
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
140
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
141
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
142
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
143
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(restCalculateProductTariffQuoteRequestDto, localVarRequestOptions, configuration);
|
|
144
|
+
return [2 /*return*/, {
|
|
145
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
146
|
+
options: localVarRequestOptions,
|
|
147
|
+
}];
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
});
|
|
151
|
+
},
|
|
99
152
|
/**
|
|
100
153
|
* Creates a product config. Accepts a JSON or YAML file containing the initial config version. **Required Permissions** \"policy-management.products.create\"
|
|
101
154
|
* @summary Creates a new product config with initial version
|
|
@@ -368,59 +421,6 @@ var ProductConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
368
421
|
});
|
|
369
422
|
});
|
|
370
423
|
},
|
|
371
|
-
/**
|
|
372
|
-
* 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\"
|
|
373
|
-
* @summary Returns a tariff quote with estimated invoice data
|
|
374
|
-
* @param {number} productVersionId Product version id
|
|
375
|
-
* @param {RestGetProductConfigTariffQuoteRequestDto} restGetProductConfigTariffQuoteRequestDto
|
|
376
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
377
|
-
* @param {*} [options] Override http request option.
|
|
378
|
-
* @throws {RequiredError}
|
|
379
|
-
*/
|
|
380
|
-
getProductConfigTariffQuote: function (productVersionId, restGetProductConfigTariffQuoteRequestDto, authorization, options) {
|
|
381
|
-
if (options === void 0) { options = {}; }
|
|
382
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
383
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
384
|
-
return __generator(this, function (_a) {
|
|
385
|
-
switch (_a.label) {
|
|
386
|
-
case 0:
|
|
387
|
-
// verify required parameter 'productVersionId' is not null or undefined
|
|
388
|
-
(0, common_1.assertParamExists)('getProductConfigTariffQuote', 'productVersionId', productVersionId);
|
|
389
|
-
// verify required parameter 'restGetProductConfigTariffQuoteRequestDto' is not null or undefined
|
|
390
|
-
(0, common_1.assertParamExists)('getProductConfigTariffQuote', 'restGetProductConfigTariffQuoteRequestDto', restGetProductConfigTariffQuoteRequestDto);
|
|
391
|
-
localVarPath = "/insuranceservice/v1/product-configs/{productVersionId}/tariff-quote"
|
|
392
|
-
.replace("{".concat("productVersionId", "}"), encodeURIComponent(String(productVersionId)));
|
|
393
|
-
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
394
|
-
if (configuration) {
|
|
395
|
-
baseOptions = configuration.baseOptions;
|
|
396
|
-
baseAccessToken = configuration.accessToken;
|
|
397
|
-
}
|
|
398
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
399
|
-
localVarHeaderParameter = {};
|
|
400
|
-
localVarQueryParameter = {};
|
|
401
|
-
// authentication bearer required
|
|
402
|
-
// http bearer authentication required
|
|
403
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
404
|
-
case 1:
|
|
405
|
-
// authentication bearer required
|
|
406
|
-
// http bearer authentication required
|
|
407
|
-
_a.sent();
|
|
408
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
409
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
410
|
-
}
|
|
411
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
412
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
413
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
414
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
415
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(restGetProductConfigTariffQuoteRequestDto, localVarRequestOptions, configuration);
|
|
416
|
-
return [2 /*return*/, {
|
|
417
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
418
|
-
options: localVarRequestOptions,
|
|
419
|
-
}];
|
|
420
|
-
}
|
|
421
|
-
});
|
|
422
|
-
});
|
|
423
|
-
},
|
|
424
424
|
/**
|
|
425
425
|
* Retrieves list of available tariffs for the published product config version **Required Permissions** \"policy-management.products.view\"
|
|
426
426
|
* @summary Retrieve the Product Config Tariffs
|
|
@@ -834,6 +834,28 @@ exports.ProductConfigsApiAxiosParamCreator = ProductConfigsApiAxiosParamCreator;
|
|
|
834
834
|
var ProductConfigsApiFp = function (configuration) {
|
|
835
835
|
var localVarAxiosParamCreator = (0, exports.ProductConfigsApiAxiosParamCreator)(configuration);
|
|
836
836
|
return {
|
|
837
|
+
/**
|
|
838
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version. **Required Permissions** \"policy-management.products.view\"
|
|
839
|
+
* @summary Calculates a quote for a selected tariff
|
|
840
|
+
* @param {number} productVersionId Product version id
|
|
841
|
+
* @param {RestCalculateProductTariffQuoteRequestDto} restCalculateProductTariffQuoteRequestDto
|
|
842
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
843
|
+
* @param {*} [options] Override http request option.
|
|
844
|
+
* @throws {RequiredError}
|
|
845
|
+
*/
|
|
846
|
+
calculateProductTariffQuote: function (productVersionId, restCalculateProductTariffQuoteRequestDto, authorization, options) {
|
|
847
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
848
|
+
var localVarAxiosArgs;
|
|
849
|
+
return __generator(this, function (_a) {
|
|
850
|
+
switch (_a.label) {
|
|
851
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.calculateProductTariffQuote(productVersionId, restCalculateProductTariffQuoteRequestDto, authorization, options)];
|
|
852
|
+
case 1:
|
|
853
|
+
localVarAxiosArgs = _a.sent();
|
|
854
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
855
|
+
}
|
|
856
|
+
});
|
|
857
|
+
});
|
|
858
|
+
},
|
|
837
859
|
/**
|
|
838
860
|
* Creates a product config. Accepts a JSON or YAML file containing the initial config version. **Required Permissions** \"policy-management.products.create\"
|
|
839
861
|
* @summary Creates a new product config with initial version
|
|
@@ -943,28 +965,6 @@ var ProductConfigsApiFp = function (configuration) {
|
|
|
943
965
|
});
|
|
944
966
|
});
|
|
945
967
|
},
|
|
946
|
-
/**
|
|
947
|
-
* 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\"
|
|
948
|
-
* @summary Returns a tariff quote with estimated invoice data
|
|
949
|
-
* @param {number} productVersionId Product version id
|
|
950
|
-
* @param {RestGetProductConfigTariffQuoteRequestDto} restGetProductConfigTariffQuoteRequestDto
|
|
951
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
952
|
-
* @param {*} [options] Override http request option.
|
|
953
|
-
* @throws {RequiredError}
|
|
954
|
-
*/
|
|
955
|
-
getProductConfigTariffQuote: function (productVersionId, restGetProductConfigTariffQuoteRequestDto, authorization, options) {
|
|
956
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
957
|
-
var localVarAxiosArgs;
|
|
958
|
-
return __generator(this, function (_a) {
|
|
959
|
-
switch (_a.label) {
|
|
960
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductConfigTariffQuote(productVersionId, restGetProductConfigTariffQuoteRequestDto, authorization, options)];
|
|
961
|
-
case 1:
|
|
962
|
-
localVarAxiosArgs = _a.sent();
|
|
963
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
964
|
-
}
|
|
965
|
-
});
|
|
966
|
-
});
|
|
967
|
-
},
|
|
968
968
|
/**
|
|
969
969
|
* Retrieves list of available tariffs for the published product config version **Required Permissions** \"policy-management.products.view\"
|
|
970
970
|
* @summary Retrieve the Product Config Tariffs
|
|
@@ -1137,6 +1137,18 @@ exports.ProductConfigsApiFp = ProductConfigsApiFp;
|
|
|
1137
1137
|
var ProductConfigsApiFactory = function (configuration, basePath, axios) {
|
|
1138
1138
|
var localVarFp = (0, exports.ProductConfigsApiFp)(configuration);
|
|
1139
1139
|
return {
|
|
1140
|
+
/**
|
|
1141
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version. **Required Permissions** \"policy-management.products.view\"
|
|
1142
|
+
* @summary Calculates a quote for a selected tariff
|
|
1143
|
+
* @param {number} productVersionId Product version id
|
|
1144
|
+
* @param {RestCalculateProductTariffQuoteRequestDto} restCalculateProductTariffQuoteRequestDto
|
|
1145
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1146
|
+
* @param {*} [options] Override http request option.
|
|
1147
|
+
* @throws {RequiredError}
|
|
1148
|
+
*/
|
|
1149
|
+
calculateProductTariffQuote: function (productVersionId, restCalculateProductTariffQuoteRequestDto, authorization, options) {
|
|
1150
|
+
return localVarFp.calculateProductTariffQuote(productVersionId, restCalculateProductTariffQuoteRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1151
|
+
},
|
|
1140
1152
|
/**
|
|
1141
1153
|
* Creates a product config. Accepts a JSON or YAML file containing the initial config version. **Required Permissions** \"policy-management.products.create\"
|
|
1142
1154
|
* @summary Creates a new product config with initial version
|
|
@@ -1196,18 +1208,6 @@ var ProductConfigsApiFactory = function (configuration, basePath, axios) {
|
|
|
1196
1208
|
getProductConfig: function (code, authorization, expand, options) {
|
|
1197
1209
|
return localVarFp.getProductConfig(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
1198
1210
|
},
|
|
1199
|
-
/**
|
|
1200
|
-
* 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\"
|
|
1201
|
-
* @summary Returns a tariff quote with estimated invoice data
|
|
1202
|
-
* @param {number} productVersionId Product version id
|
|
1203
|
-
* @param {RestGetProductConfigTariffQuoteRequestDto} restGetProductConfigTariffQuoteRequestDto
|
|
1204
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1205
|
-
* @param {*} [options] Override http request option.
|
|
1206
|
-
* @throws {RequiredError}
|
|
1207
|
-
*/
|
|
1208
|
-
getProductConfigTariffQuote: function (productVersionId, restGetProductConfigTariffQuoteRequestDto, authorization, options) {
|
|
1209
|
-
return localVarFp.getProductConfigTariffQuote(productVersionId, restGetProductConfigTariffQuoteRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1210
|
-
},
|
|
1211
1211
|
/**
|
|
1212
1212
|
* Retrieves list of available tariffs for the published product config version **Required Permissions** \"policy-management.products.view\"
|
|
1213
1213
|
* @summary Retrieve the Product Config Tariffs
|
|
@@ -1314,6 +1314,18 @@ var ProductConfigsApi = /** @class */ (function (_super) {
|
|
|
1314
1314
|
function ProductConfigsApi() {
|
|
1315
1315
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1316
1316
|
}
|
|
1317
|
+
/**
|
|
1318
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version. **Required Permissions** \"policy-management.products.view\"
|
|
1319
|
+
* @summary Calculates a quote for a selected tariff
|
|
1320
|
+
* @param {ProductConfigsApiCalculateProductTariffQuoteRequest} requestParameters Request parameters.
|
|
1321
|
+
* @param {*} [options] Override http request option.
|
|
1322
|
+
* @throws {RequiredError}
|
|
1323
|
+
* @memberof ProductConfigsApi
|
|
1324
|
+
*/
|
|
1325
|
+
ProductConfigsApi.prototype.calculateProductTariffQuote = function (requestParameters, options) {
|
|
1326
|
+
var _this = this;
|
|
1327
|
+
return (0, exports.ProductConfigsApiFp)(this.configuration).calculateProductTariffQuote(requestParameters.productVersionId, requestParameters.restCalculateProductTariffQuoteRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1328
|
+
};
|
|
1317
1329
|
/**
|
|
1318
1330
|
* Creates a product config. Accepts a JSON or YAML file containing the initial config version. **Required Permissions** \"policy-management.products.create\"
|
|
1319
1331
|
* @summary Creates a new product config with initial version
|
|
@@ -1374,18 +1386,6 @@ var ProductConfigsApi = /** @class */ (function (_super) {
|
|
|
1374
1386
|
var _this = this;
|
|
1375
1387
|
return (0, exports.ProductConfigsApiFp)(this.configuration).getProductConfig(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1376
1388
|
};
|
|
1377
|
-
/**
|
|
1378
|
-
* 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\"
|
|
1379
|
-
* @summary Returns a tariff quote with estimated invoice data
|
|
1380
|
-
* @param {ProductConfigsApiGetProductConfigTariffQuoteRequest} requestParameters Request parameters.
|
|
1381
|
-
* @param {*} [options] Override http request option.
|
|
1382
|
-
* @throws {RequiredError}
|
|
1383
|
-
* @memberof ProductConfigsApi
|
|
1384
|
-
*/
|
|
1385
|
-
ProductConfigsApi.prototype.getProductConfigTariffQuote = function (requestParameters, options) {
|
|
1386
|
-
var _this = this;
|
|
1387
|
-
return (0, exports.ProductConfigsApiFp)(this.configuration).getProductConfigTariffQuote(requestParameters.productVersionId, requestParameters.restGetProductConfigTariffQuoteRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1388
|
-
};
|
|
1389
1389
|
/**
|
|
1390
1390
|
* Retrieves list of available tariffs for the published product config version **Required Permissions** \"policy-management.products.view\"
|
|
1391
1391
|
* @summary Retrieve the Product Config Tariffs
|
package/dist/models/index.d.ts
CHANGED
|
@@ -198,12 +198,12 @@ export * from './product-factor-value-for-version-class';
|
|
|
198
198
|
export * from './product-field-class';
|
|
199
199
|
export * from './product-field-type-class';
|
|
200
200
|
export * from './product-version-class';
|
|
201
|
+
export * from './rest-calculate-product-tariff-quote-request-dto';
|
|
202
|
+
export * from './rest-calculate-product-tariff-quote-response-class';
|
|
201
203
|
export * from './rest-clone-lead-account-request-dto';
|
|
202
204
|
export * from './rest-create-product-config-response-class';
|
|
203
205
|
export * from './rest-create-product-config-version-response-class';
|
|
204
206
|
export * from './rest-get-product-config-response-class';
|
|
205
|
-
export * from './rest-get-product-config-tariff-quote-request-dto';
|
|
206
|
-
export * from './rest-get-product-config-tariff-quote-response-class';
|
|
207
207
|
export * from './rest-get-product-config-version-response-class';
|
|
208
208
|
export * from './rest-list-product-config-versions-response-class';
|
|
209
209
|
export * from './rest-list-product-configs-response-class';
|
|
@@ -226,10 +226,10 @@ export * from './shared-mandate-hash-data-response-class';
|
|
|
226
226
|
export * from './shared-mandate-response-class';
|
|
227
227
|
export * from './shared-payment-method-response-class';
|
|
228
228
|
export * from './shared-product-config-class';
|
|
229
|
-
export * from './shared-product-config-tariff-quote-class';
|
|
230
229
|
export * from './shared-product-config-version-class';
|
|
231
230
|
export * from './shared-product-field-class';
|
|
232
231
|
export * from './shared-product-field-override-class';
|
|
232
|
+
export * from './shared-product-tariff-quote-class';
|
|
233
233
|
export * from './shared-product-version-config-class';
|
|
234
234
|
export * from './shared-sepa-response-class';
|
|
235
235
|
export * from './shared-tariff-variation-class';
|
package/dist/models/index.js
CHANGED
|
@@ -214,12 +214,12 @@ __exportStar(require("./product-factor-value-for-version-class"), exports);
|
|
|
214
214
|
__exportStar(require("./product-field-class"), exports);
|
|
215
215
|
__exportStar(require("./product-field-type-class"), exports);
|
|
216
216
|
__exportStar(require("./product-version-class"), exports);
|
|
217
|
+
__exportStar(require("./rest-calculate-product-tariff-quote-request-dto"), exports);
|
|
218
|
+
__exportStar(require("./rest-calculate-product-tariff-quote-response-class"), exports);
|
|
217
219
|
__exportStar(require("./rest-clone-lead-account-request-dto"), exports);
|
|
218
220
|
__exportStar(require("./rest-create-product-config-response-class"), exports);
|
|
219
221
|
__exportStar(require("./rest-create-product-config-version-response-class"), exports);
|
|
220
222
|
__exportStar(require("./rest-get-product-config-response-class"), exports);
|
|
221
|
-
__exportStar(require("./rest-get-product-config-tariff-quote-request-dto"), exports);
|
|
222
|
-
__exportStar(require("./rest-get-product-config-tariff-quote-response-class"), exports);
|
|
223
223
|
__exportStar(require("./rest-get-product-config-version-response-class"), exports);
|
|
224
224
|
__exportStar(require("./rest-list-product-config-versions-response-class"), exports);
|
|
225
225
|
__exportStar(require("./rest-list-product-configs-response-class"), exports);
|
|
@@ -242,10 +242,10 @@ __exportStar(require("./shared-mandate-hash-data-response-class"), exports);
|
|
|
242
242
|
__exportStar(require("./shared-mandate-response-class"), exports);
|
|
243
243
|
__exportStar(require("./shared-payment-method-response-class"), exports);
|
|
244
244
|
__exportStar(require("./shared-product-config-class"), exports);
|
|
245
|
-
__exportStar(require("./shared-product-config-tariff-quote-class"), exports);
|
|
246
245
|
__exportStar(require("./shared-product-config-version-class"), exports);
|
|
247
246
|
__exportStar(require("./shared-product-field-class"), exports);
|
|
248
247
|
__exportStar(require("./shared-product-field-override-class"), exports);
|
|
248
|
+
__exportStar(require("./shared-product-tariff-quote-class"), exports);
|
|
249
249
|
__exportStar(require("./shared-product-version-config-class"), exports);
|
|
250
250
|
__exportStar(require("./shared-sepa-response-class"), exports);
|
|
251
251
|
__exportStar(require("./shared-tariff-variation-class"), exports);
|
|
@@ -14,25 +14,25 @@ import { SharedLeadPolicyObjectDto } from './shared-lead-policy-object-dto';
|
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
17
|
-
* @interface
|
|
17
|
+
* @interface RestCalculateProductTariffQuoteRequestDto
|
|
18
18
|
*/
|
|
19
|
-
export interface
|
|
19
|
+
export interface RestCalculateProductTariffQuoteRequestDto {
|
|
20
20
|
/**
|
|
21
21
|
* Tariff key
|
|
22
22
|
* @type {string}
|
|
23
|
-
* @memberof
|
|
23
|
+
* @memberof RestCalculateProductTariffQuoteRequestDto
|
|
24
24
|
*/
|
|
25
25
|
'tariffKey': string;
|
|
26
26
|
/**
|
|
27
27
|
* The policy objects contains necessary information to create a policy. The Policy objects array will be validated if the \'validate\' flag is set to true
|
|
28
28
|
* @type {Array<SharedLeadPolicyObjectDto>}
|
|
29
|
-
* @memberof
|
|
29
|
+
* @memberof RestCalculateProductTariffQuoteRequestDto
|
|
30
30
|
*/
|
|
31
31
|
'policyObjects'?: Array<SharedLeadPolicyObjectDto>;
|
|
32
32
|
/**
|
|
33
33
|
* Premium Override is utilized to override the premium calculation. The premium formulas will be disregarded when this object is present. The premium override content will be validated if the \'validate\' flag is set to true.
|
|
34
34
|
* @type {PremiumOverrideRequestDto}
|
|
35
|
-
* @memberof
|
|
35
|
+
* @memberof RestCalculateProductTariffQuoteRequestDto
|
|
36
36
|
*/
|
|
37
37
|
'premiumOverride'?: PremiumOverrideRequestDto;
|
|
38
38
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL InsuranceService
|
|
3
|
+
* The EMIL InsuranceService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { SharedProductTariffQuoteClass } from './shared-product-tariff-quote-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface RestCalculateProductTariffQuoteResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface RestCalculateProductTariffQuoteResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Product tariff quote
|
|
21
|
+
* @type {SharedProductTariffQuoteClass}
|
|
22
|
+
* @memberof RestCalculateProductTariffQuoteResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'productTariffQuote': SharedProductTariffQuoteClass;
|
|
25
|
+
}
|
|
@@ -16,37 +16,37 @@ import { SharedCreateEstimatedInvoiceResponseClass } from './shared-create-estim
|
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface SharedProductTariffQuoteClass
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface SharedProductTariffQuoteClass {
|
|
22
22
|
/**
|
|
23
23
|
* Tariff key
|
|
24
24
|
* @type {string}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof SharedProductTariffQuoteClass
|
|
26
26
|
*/
|
|
27
27
|
'tariffKey': string;
|
|
28
28
|
/**
|
|
29
29
|
* Estimated invoice
|
|
30
30
|
* @type {SharedCreateEstimatedInvoiceResponseClass}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof SharedProductTariffQuoteClass
|
|
32
32
|
*/
|
|
33
33
|
'estimatedInvoice': SharedCreateEstimatedInvoiceResponseClass;
|
|
34
34
|
/**
|
|
35
35
|
* The policy objects contains necessary information to create a policy. The Policy objects array will be validated if the \'validate\' flag is set to true
|
|
36
36
|
* @type {Array<LeadPolicyObjectClass>}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof SharedProductTariffQuoteClass
|
|
38
38
|
*/
|
|
39
39
|
'policyObjects': Array<LeadPolicyObjectClass>;
|
|
40
40
|
/**
|
|
41
41
|
* The policy objects contains necessary information to create a policy. The Policy objects array will be validated if the \'validate\' flag is set to true
|
|
42
42
|
* @type {Array<CalculatedPolicyObjectClass>}
|
|
43
|
-
* @memberof
|
|
43
|
+
* @memberof SharedProductTariffQuoteClass
|
|
44
44
|
*/
|
|
45
45
|
'calculatedPolicyObjects': Array<CalculatedPolicyObjectClass>;
|
|
46
46
|
/**
|
|
47
47
|
* Calculation errors
|
|
48
48
|
* @type {CalculationErrorsClass}
|
|
49
|
-
* @memberof
|
|
49
|
+
* @memberof SharedProductTariffQuoteClass
|
|
50
50
|
*/
|
|
51
51
|
'errors'?: CalculationErrorsClass;
|
|
52
52
|
}
|
package/models/index.ts
CHANGED
|
@@ -198,12 +198,12 @@ export * from './product-factor-value-for-version-class';
|
|
|
198
198
|
export * from './product-field-class';
|
|
199
199
|
export * from './product-field-type-class';
|
|
200
200
|
export * from './product-version-class';
|
|
201
|
+
export * from './rest-calculate-product-tariff-quote-request-dto';
|
|
202
|
+
export * from './rest-calculate-product-tariff-quote-response-class';
|
|
201
203
|
export * from './rest-clone-lead-account-request-dto';
|
|
202
204
|
export * from './rest-create-product-config-response-class';
|
|
203
205
|
export * from './rest-create-product-config-version-response-class';
|
|
204
206
|
export * from './rest-get-product-config-response-class';
|
|
205
|
-
export * from './rest-get-product-config-tariff-quote-request-dto';
|
|
206
|
-
export * from './rest-get-product-config-tariff-quote-response-class';
|
|
207
207
|
export * from './rest-get-product-config-version-response-class';
|
|
208
208
|
export * from './rest-list-product-config-versions-response-class';
|
|
209
209
|
export * from './rest-list-product-configs-response-class';
|
|
@@ -226,10 +226,10 @@ export * from './shared-mandate-hash-data-response-class';
|
|
|
226
226
|
export * from './shared-mandate-response-class';
|
|
227
227
|
export * from './shared-payment-method-response-class';
|
|
228
228
|
export * from './shared-product-config-class';
|
|
229
|
-
export * from './shared-product-config-tariff-quote-class';
|
|
230
229
|
export * from './shared-product-config-version-class';
|
|
231
230
|
export * from './shared-product-field-class';
|
|
232
231
|
export * from './shared-product-field-override-class';
|
|
232
|
+
export * from './shared-product-tariff-quote-class';
|
|
233
233
|
export * from './shared-product-version-config-class';
|
|
234
234
|
export * from './shared-sepa-response-class';
|
|
235
235
|
export * from './shared-tariff-variation-class';
|
|
@@ -19,25 +19,25 @@ import { SharedLeadPolicyObjectDto } from './shared-lead-policy-object-dto';
|
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
21
|
* @export
|
|
22
|
-
* @interface
|
|
22
|
+
* @interface RestCalculateProductTariffQuoteRequestDto
|
|
23
23
|
*/
|
|
24
|
-
export interface
|
|
24
|
+
export interface RestCalculateProductTariffQuoteRequestDto {
|
|
25
25
|
/**
|
|
26
26
|
* Tariff key
|
|
27
27
|
* @type {string}
|
|
28
|
-
* @memberof
|
|
28
|
+
* @memberof RestCalculateProductTariffQuoteRequestDto
|
|
29
29
|
*/
|
|
30
30
|
'tariffKey': string;
|
|
31
31
|
/**
|
|
32
32
|
* The policy objects contains necessary information to create a policy. The Policy objects array will be validated if the \'validate\' flag is set to true
|
|
33
33
|
* @type {Array<SharedLeadPolicyObjectDto>}
|
|
34
|
-
* @memberof
|
|
34
|
+
* @memberof RestCalculateProductTariffQuoteRequestDto
|
|
35
35
|
*/
|
|
36
36
|
'policyObjects'?: Array<SharedLeadPolicyObjectDto>;
|
|
37
37
|
/**
|
|
38
38
|
* Premium Override is utilized to override the premium calculation. The premium formulas will be disregarded when this object is present. The premium override content will be validated if the \'validate\' flag is set to true.
|
|
39
39
|
* @type {PremiumOverrideRequestDto}
|
|
40
|
-
* @memberof
|
|
40
|
+
* @memberof RestCalculateProductTariffQuoteRequestDto
|
|
41
41
|
*/
|
|
42
42
|
'premiumOverride'?: PremiumOverrideRequestDto;
|
|
43
43
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL InsuranceService
|
|
5
|
+
* The EMIL InsuranceService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { SharedProductTariffQuoteClass } from './shared-product-tariff-quote-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface RestCalculateProductTariffQuoteResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface RestCalculateProductTariffQuoteResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Product tariff quote
|
|
26
|
+
* @type {SharedProductTariffQuoteClass}
|
|
27
|
+
* @memberof RestCalculateProductTariffQuoteResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'productTariffQuote': SharedProductTariffQuoteClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/{shared-product-config-tariff-quote-class.ts → shared-product-tariff-quote-class.ts}
RENAMED
|
@@ -21,37 +21,37 @@ import { SharedCreateEstimatedInvoiceResponseClass } from './shared-create-estim
|
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
23
|
* @export
|
|
24
|
-
* @interface
|
|
24
|
+
* @interface SharedProductTariffQuoteClass
|
|
25
25
|
*/
|
|
26
|
-
export interface
|
|
26
|
+
export interface SharedProductTariffQuoteClass {
|
|
27
27
|
/**
|
|
28
28
|
* Tariff key
|
|
29
29
|
* @type {string}
|
|
30
|
-
* @memberof
|
|
30
|
+
* @memberof SharedProductTariffQuoteClass
|
|
31
31
|
*/
|
|
32
32
|
'tariffKey': string;
|
|
33
33
|
/**
|
|
34
34
|
* Estimated invoice
|
|
35
35
|
* @type {SharedCreateEstimatedInvoiceResponseClass}
|
|
36
|
-
* @memberof
|
|
36
|
+
* @memberof SharedProductTariffQuoteClass
|
|
37
37
|
*/
|
|
38
38
|
'estimatedInvoice': SharedCreateEstimatedInvoiceResponseClass;
|
|
39
39
|
/**
|
|
40
40
|
* The policy objects contains necessary information to create a policy. The Policy objects array will be validated if the \'validate\' flag is set to true
|
|
41
41
|
* @type {Array<LeadPolicyObjectClass>}
|
|
42
|
-
* @memberof
|
|
42
|
+
* @memberof SharedProductTariffQuoteClass
|
|
43
43
|
*/
|
|
44
44
|
'policyObjects': Array<LeadPolicyObjectClass>;
|
|
45
45
|
/**
|
|
46
46
|
* The policy objects contains necessary information to create a policy. The Policy objects array will be validated if the \'validate\' flag is set to true
|
|
47
47
|
* @type {Array<CalculatedPolicyObjectClass>}
|
|
48
|
-
* @memberof
|
|
48
|
+
* @memberof SharedProductTariffQuoteClass
|
|
49
49
|
*/
|
|
50
50
|
'calculatedPolicyObjects': Array<CalculatedPolicyObjectClass>;
|
|
51
51
|
/**
|
|
52
52
|
* Calculation errors
|
|
53
53
|
* @type {CalculationErrorsClass}
|
|
54
|
-
* @memberof
|
|
54
|
+
* @memberof SharedProductTariffQuoteClass
|
|
55
55
|
*/
|
|
56
56
|
'errors'?: CalculationErrorsClass;
|
|
57
57
|
}
|
package/package.json
CHANGED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* EMIL InsuranceService
|
|
3
|
-
* The EMIL InsuranceService API description
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact: kontakt@emil.de
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { SharedProductConfigTariffQuoteClass } from './shared-product-config-tariff-quote-class';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface RestGetProductConfigTariffQuoteResponseClass
|
|
17
|
-
*/
|
|
18
|
-
export interface RestGetProductConfigTariffQuoteResponseClass {
|
|
19
|
-
/**
|
|
20
|
-
* Tariff quote
|
|
21
|
-
* @type {SharedProductConfigTariffQuoteClass}
|
|
22
|
-
* @memberof RestGetProductConfigTariffQuoteResponseClass
|
|
23
|
-
*/
|
|
24
|
-
'tariffQuote': SharedProductConfigTariffQuoteClass;
|
|
25
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* EMIL InsuranceService
|
|
5
|
-
* The EMIL InsuranceService API description
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact: kontakt@emil.de
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import { SharedProductConfigTariffQuoteClass } from './shared-product-config-tariff-quote-class';
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @export
|
|
21
|
-
* @interface RestGetProductConfigTariffQuoteResponseClass
|
|
22
|
-
*/
|
|
23
|
-
export interface RestGetProductConfigTariffQuoteResponseClass {
|
|
24
|
-
/**
|
|
25
|
-
* Tariff quote
|
|
26
|
-
* @type {SharedProductConfigTariffQuoteClass}
|
|
27
|
-
* @memberof RestGetProductConfigTariffQuoteResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'tariffQuote': SharedProductConfigTariffQuoteClass;
|
|
30
|
-
}
|
|
31
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|