@emilgroup/public-api-sdk 1.33.1-beta.2 → 1.33.1-beta.20
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 +14 -0
- package/README.md +2 -2
- package/api/product-versions-api.ts +223 -0
- package/base.ts +4 -0
- package/dist/api/address-completions-validations-api.d.ts +2 -2
- package/dist/api/booking-funnels-api.d.ts +1 -1
- package/dist/api/default-api.d.ts +1 -1
- package/dist/api/documents-api.d.ts +7 -7
- package/dist/api/leads-api.d.ts +7 -7
- package/dist/api/named-ranges-api.d.ts +1 -1
- package/dist/api/notifications-api.d.ts +3 -3
- package/dist/api/payments-setup-api.d.ts +3 -3
- package/dist/api/product-versions-api.d.ts +124 -2
- package/dist/api/product-versions-api.js +191 -0
- package/dist/api/products-api.d.ts +8 -8
- package/dist/base.js +3 -1
- package/dist/common.d.ts +1 -1
- package/dist/models/amount-with-limit-class.d.ts +30 -0
- package/dist/models/amount-with-limit-class.js +15 -0
- package/dist/models/billing-address-dto.d.ts +6 -0
- package/dist/models/billing-address-response-class.d.ts +6 -0
- package/dist/models/calculate-product-tariff-quote-request-dto.d.ts +38 -0
- package/dist/models/calculate-product-tariff-quote-request-dto.js +15 -0
- package/dist/models/calculate-product-tariff-quote-response-class.d.ts +25 -0
- package/dist/models/calculate-product-tariff-quote-response-class.js +15 -0
- package/dist/models/calculation-errors-class.d.ts +25 -0
- package/dist/models/calculation-errors-class.js +15 -0
- package/dist/models/calculation-item-errors-class.d.ts +43 -0
- package/dist/models/calculation-item-errors-class.js +15 -0
- package/dist/models/calculation-message-class.d.ts +30 -0
- package/dist/models/calculation-message-class.js +15 -0
- package/dist/models/category-coverage-summary-class.d.ts +43 -0
- package/dist/models/category-coverage-summary-class.js +15 -0
- package/dist/models/coverage-term-class.d.ts +66 -0
- package/dist/models/coverage-term-class.js +30 -0
- package/dist/models/deductible-class.d.ts +60 -0
- package/dist/models/deductible-class.js +25 -0
- package/dist/models/get-product-config-tariffs-response-class.d.ts +31 -0
- package/dist/models/get-product-config-tariffs-response-class.js +15 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/dist/models/product-field-class.d.ts +6 -0
- package/dist/models/product-tariff-quote-class.d.ts +51 -0
- package/dist/models/product-tariff-quote-class.js +15 -0
- package/dist/models/tariff-category-summary-class.d.ts +57 -0
- package/dist/models/tariff-category-summary-class.js +15 -0
- package/dist/models/tariff-coverage-term-class.d.ts +60 -0
- package/dist/models/tariff-coverage-term-class.js +30 -0
- package/dist/models/tariff-summary-class.d.ts +57 -0
- package/dist/models/tariff-summary-class.js +15 -0
- package/models/amount-with-limit-class.ts +36 -0
- package/models/billing-address-dto.ts +6 -0
- package/models/billing-address-response-class.ts +6 -0
- package/models/calculate-product-tariff-quote-request-dto.ts +44 -0
- package/models/calculate-product-tariff-quote-response-class.ts +31 -0
- package/models/calculation-errors-class.ts +31 -0
- package/models/calculation-item-errors-class.ts +49 -0
- package/models/calculation-message-class.ts +36 -0
- package/models/category-coverage-summary-class.ts +49 -0
- package/models/coverage-term-class.ts +77 -0
- package/models/deductible-class.ts +70 -0
- package/models/get-product-config-tariffs-response-class.ts +37 -0
- package/models/index.ts +14 -0
- package/models/product-field-class.ts +6 -0
- package/models/product-tariff-quote-class.ts +57 -0
- package/models/tariff-category-summary-class.ts +63 -0
- package/models/tariff-coverage-term-class.ts +71 -0
- package/models/tariff-summary-class.ts +63 -0
- package/package.json +3 -2
|
@@ -12,6 +12,9 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CalculateProductTariffQuoteRequestDto } from '../models';
|
|
16
|
+
import { CalculateProductTariffQuoteResponseClass } from '../models';
|
|
17
|
+
import { GetProductConfigTariffsResponseClass } from '../models';
|
|
15
18
|
import { InsuredObjectClass } from '../models';
|
|
16
19
|
import { ProductFactorForVersionClass } from '../models';
|
|
17
20
|
/**
|
|
@@ -19,6 +22,16 @@ import { ProductFactorForVersionClass } from '../models';
|
|
|
19
22
|
* @export
|
|
20
23
|
*/
|
|
21
24
|
export declare const ProductVersionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25
|
+
/**
|
|
26
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version.
|
|
27
|
+
* @summary Calculates a quote for a selected tariff
|
|
28
|
+
* @param {number} productVersionId Product version id
|
|
29
|
+
* @param {CalculateProductTariffQuoteRequestDto} calculateProductTariffQuoteRequestDto
|
|
30
|
+
* @param {string} [authorization] Bearer Token
|
|
31
|
+
* @param {*} [options] Override http request option.
|
|
32
|
+
* @throws {RequiredError}
|
|
33
|
+
*/
|
|
34
|
+
calculateProductTariffQuote: (productVersionId: number, calculateProductTariffQuoteRequestDto: CalculateProductTariffQuoteRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22
35
|
/**
|
|
23
36
|
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
24
37
|
* @summary List insured objects
|
|
@@ -28,6 +41,15 @@ export declare const ProductVersionsApiAxiosParamCreator: (configuration?: Confi
|
|
|
28
41
|
* @throws {RequiredError}
|
|
29
42
|
*/
|
|
30
43
|
getInsuredObjectsPerVersion: (productVersionId: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
|
+
/**
|
|
45
|
+
* Retrieves list of available tariffs for the published product config version
|
|
46
|
+
* @summary Retrieve the Product Config Tariffs
|
|
47
|
+
* @param {number} productVersionId Product version id
|
|
48
|
+
* @param {string} [authorization] Bearer Token
|
|
49
|
+
* @param {*} [options] Override http request option.
|
|
50
|
+
* @throws {RequiredError}
|
|
51
|
+
*/
|
|
52
|
+
getProductConfigTariffs: (productVersionId: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
53
|
/**
|
|
32
54
|
* Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
33
55
|
* @summary List product factors
|
|
@@ -44,6 +66,16 @@ export declare const ProductVersionsApiAxiosParamCreator: (configuration?: Confi
|
|
|
44
66
|
* @export
|
|
45
67
|
*/
|
|
46
68
|
export declare const ProductVersionsApiFp: (configuration?: Configuration) => {
|
|
69
|
+
/**
|
|
70
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version.
|
|
71
|
+
* @summary Calculates a quote for a selected tariff
|
|
72
|
+
* @param {number} productVersionId Product version id
|
|
73
|
+
* @param {CalculateProductTariffQuoteRequestDto} calculateProductTariffQuoteRequestDto
|
|
74
|
+
* @param {string} [authorization] Bearer Token
|
|
75
|
+
* @param {*} [options] Override http request option.
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
calculateProductTariffQuote(productVersionId: number, calculateProductTariffQuoteRequestDto: CalculateProductTariffQuoteRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalculateProductTariffQuoteResponseClass>>;
|
|
47
79
|
/**
|
|
48
80
|
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
49
81
|
* @summary List insured objects
|
|
@@ -53,6 +85,15 @@ export declare const ProductVersionsApiFp: (configuration?: Configuration) => {
|
|
|
53
85
|
* @throws {RequiredError}
|
|
54
86
|
*/
|
|
55
87
|
getInsuredObjectsPerVersion(productVersionId: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InsuredObjectClass>>>;
|
|
88
|
+
/**
|
|
89
|
+
* Retrieves list of available tariffs for the published product config version
|
|
90
|
+
* @summary Retrieve the Product Config Tariffs
|
|
91
|
+
* @param {number} productVersionId Product version id
|
|
92
|
+
* @param {string} [authorization] Bearer Token
|
|
93
|
+
* @param {*} [options] Override http request option.
|
|
94
|
+
* @throws {RequiredError}
|
|
95
|
+
*/
|
|
96
|
+
getProductConfigTariffs(productVersionId: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductConfigTariffsResponseClass>>;
|
|
56
97
|
/**
|
|
57
98
|
* Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
58
99
|
* @summary List product factors
|
|
@@ -69,6 +110,16 @@ export declare const ProductVersionsApiFp: (configuration?: Configuration) => {
|
|
|
69
110
|
* @export
|
|
70
111
|
*/
|
|
71
112
|
export declare const ProductVersionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
113
|
+
/**
|
|
114
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version.
|
|
115
|
+
* @summary Calculates a quote for a selected tariff
|
|
116
|
+
* @param {number} productVersionId Product version id
|
|
117
|
+
* @param {CalculateProductTariffQuoteRequestDto} calculateProductTariffQuoteRequestDto
|
|
118
|
+
* @param {string} [authorization] Bearer Token
|
|
119
|
+
* @param {*} [options] Override http request option.
|
|
120
|
+
* @throws {RequiredError}
|
|
121
|
+
*/
|
|
122
|
+
calculateProductTariffQuote(productVersionId: number, calculateProductTariffQuoteRequestDto: CalculateProductTariffQuoteRequestDto, authorization?: string, options?: any): AxiosPromise<CalculateProductTariffQuoteResponseClass>;
|
|
72
123
|
/**
|
|
73
124
|
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
74
125
|
* @summary List insured objects
|
|
@@ -78,6 +129,15 @@ export declare const ProductVersionsApiFactory: (configuration?: Configuration,
|
|
|
78
129
|
* @throws {RequiredError}
|
|
79
130
|
*/
|
|
80
131
|
getInsuredObjectsPerVersion(productVersionId: number, authorization?: string, options?: any): AxiosPromise<Array<InsuredObjectClass>>;
|
|
132
|
+
/**
|
|
133
|
+
* Retrieves list of available tariffs for the published product config version
|
|
134
|
+
* @summary Retrieve the Product Config Tariffs
|
|
135
|
+
* @param {number} productVersionId Product version id
|
|
136
|
+
* @param {string} [authorization] Bearer Token
|
|
137
|
+
* @param {*} [options] Override http request option.
|
|
138
|
+
* @throws {RequiredError}
|
|
139
|
+
*/
|
|
140
|
+
getProductConfigTariffs(productVersionId: number, authorization?: string, options?: any): AxiosPromise<GetProductConfigTariffsResponseClass>;
|
|
81
141
|
/**
|
|
82
142
|
* Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
83
143
|
* @summary List product factors
|
|
@@ -89,6 +149,31 @@ export declare const ProductVersionsApiFactory: (configuration?: Configuration,
|
|
|
89
149
|
*/
|
|
90
150
|
getProductFactorsPerVersion(productVersionId: number, allValues: string, authorization?: string, options?: any): AxiosPromise<Array<ProductFactorForVersionClass>>;
|
|
91
151
|
};
|
|
152
|
+
/**
|
|
153
|
+
* Request parameters for calculateProductTariffQuote operation in ProductVersionsApi.
|
|
154
|
+
* @export
|
|
155
|
+
* @interface ProductVersionsApiCalculateProductTariffQuoteRequest
|
|
156
|
+
*/
|
|
157
|
+
export interface ProductVersionsApiCalculateProductTariffQuoteRequest {
|
|
158
|
+
/**
|
|
159
|
+
* Product version id
|
|
160
|
+
* @type {number}
|
|
161
|
+
* @memberof ProductVersionsApiCalculateProductTariffQuote
|
|
162
|
+
*/
|
|
163
|
+
readonly productVersionId: number;
|
|
164
|
+
/**
|
|
165
|
+
*
|
|
166
|
+
* @type {CalculateProductTariffQuoteRequestDto}
|
|
167
|
+
* @memberof ProductVersionsApiCalculateProductTariffQuote
|
|
168
|
+
*/
|
|
169
|
+
readonly calculateProductTariffQuoteRequestDto: CalculateProductTariffQuoteRequestDto;
|
|
170
|
+
/**
|
|
171
|
+
* Bearer Token
|
|
172
|
+
* @type {string}
|
|
173
|
+
* @memberof ProductVersionsApiCalculateProductTariffQuote
|
|
174
|
+
*/
|
|
175
|
+
readonly authorization?: string;
|
|
176
|
+
}
|
|
92
177
|
/**
|
|
93
178
|
* Request parameters for getInsuredObjectsPerVersion operation in ProductVersionsApi.
|
|
94
179
|
* @export
|
|
@@ -108,6 +193,25 @@ export interface ProductVersionsApiGetInsuredObjectsPerVersionRequest {
|
|
|
108
193
|
*/
|
|
109
194
|
readonly authorization?: string;
|
|
110
195
|
}
|
|
196
|
+
/**
|
|
197
|
+
* Request parameters for getProductConfigTariffs operation in ProductVersionsApi.
|
|
198
|
+
* @export
|
|
199
|
+
* @interface ProductVersionsApiGetProductConfigTariffsRequest
|
|
200
|
+
*/
|
|
201
|
+
export interface ProductVersionsApiGetProductConfigTariffsRequest {
|
|
202
|
+
/**
|
|
203
|
+
* Product version id
|
|
204
|
+
* @type {number}
|
|
205
|
+
* @memberof ProductVersionsApiGetProductConfigTariffs
|
|
206
|
+
*/
|
|
207
|
+
readonly productVersionId: number;
|
|
208
|
+
/**
|
|
209
|
+
* Bearer Token
|
|
210
|
+
* @type {string}
|
|
211
|
+
* @memberof ProductVersionsApiGetProductConfigTariffs
|
|
212
|
+
*/
|
|
213
|
+
readonly authorization?: string;
|
|
214
|
+
}
|
|
111
215
|
/**
|
|
112
216
|
* Request parameters for getProductFactorsPerVersion operation in ProductVersionsApi.
|
|
113
217
|
* @export
|
|
@@ -140,6 +244,15 @@ export interface ProductVersionsApiGetProductFactorsPerVersionRequest {
|
|
|
140
244
|
* @extends {BaseAPI}
|
|
141
245
|
*/
|
|
142
246
|
export declare class ProductVersionsApi extends BaseAPI {
|
|
247
|
+
/**
|
|
248
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version.
|
|
249
|
+
* @summary Calculates a quote for a selected tariff
|
|
250
|
+
* @param {ProductVersionsApiCalculateProductTariffQuoteRequest} requestParameters Request parameters.
|
|
251
|
+
* @param {*} [options] Override http request option.
|
|
252
|
+
* @throws {RequiredError}
|
|
253
|
+
* @memberof ProductVersionsApi
|
|
254
|
+
*/
|
|
255
|
+
calculateProductTariffQuote(requestParameters: ProductVersionsApiCalculateProductTariffQuoteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CalculateProductTariffQuoteResponseClass, any, {}>>;
|
|
143
256
|
/**
|
|
144
257
|
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
145
258
|
* @summary List insured objects
|
|
@@ -148,7 +261,16 @@ export declare class ProductVersionsApi extends BaseAPI {
|
|
|
148
261
|
* @throws {RequiredError}
|
|
149
262
|
* @memberof ProductVersionsApi
|
|
150
263
|
*/
|
|
151
|
-
getInsuredObjectsPerVersion(requestParameters: ProductVersionsApiGetInsuredObjectsPerVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InsuredObjectClass[], any>>;
|
|
264
|
+
getInsuredObjectsPerVersion(requestParameters: ProductVersionsApiGetInsuredObjectsPerVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InsuredObjectClass[], any, {}>>;
|
|
265
|
+
/**
|
|
266
|
+
* Retrieves list of available tariffs for the published product config version
|
|
267
|
+
* @summary Retrieve the Product Config Tariffs
|
|
268
|
+
* @param {ProductVersionsApiGetProductConfigTariffsRequest} requestParameters Request parameters.
|
|
269
|
+
* @param {*} [options] Override http request option.
|
|
270
|
+
* @throws {RequiredError}
|
|
271
|
+
* @memberof ProductVersionsApi
|
|
272
|
+
*/
|
|
273
|
+
getProductConfigTariffs(requestParameters: ProductVersionsApiGetProductConfigTariffsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductConfigTariffsResponseClass, any, {}>>;
|
|
152
274
|
/**
|
|
153
275
|
* Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
154
276
|
* @summary List product factors
|
|
@@ -157,5 +279,5 @@ export declare class ProductVersionsApi extends BaseAPI {
|
|
|
157
279
|
* @throws {RequiredError}
|
|
158
280
|
* @memberof ProductVersionsApi
|
|
159
281
|
*/
|
|
160
|
-
getProductFactorsPerVersion(requestParameters: ProductVersionsApiGetProductFactorsPerVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductFactorForVersionClass[], any>>;
|
|
282
|
+
getProductFactorsPerVersion(requestParameters: ProductVersionsApiGetProductFactorsPerVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductFactorForVersionClass[], any, {}>>;
|
|
161
283
|
}
|
|
@@ -92,6 +92,59 @@ var base_1 = require("../base");
|
|
|
92
92
|
var ProductVersionsApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
|
+
/**
|
|
96
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version.
|
|
97
|
+
* @summary Calculates a quote for a selected tariff
|
|
98
|
+
* @param {number} productVersionId Product version id
|
|
99
|
+
* @param {CalculateProductTariffQuoteRequestDto} calculateProductTariffQuoteRequestDto
|
|
100
|
+
* @param {string} [authorization] Bearer Token
|
|
101
|
+
* @param {*} [options] Override http request option.
|
|
102
|
+
* @throws {RequiredError}
|
|
103
|
+
*/
|
|
104
|
+
calculateProductTariffQuote: function (productVersionId, calculateProductTariffQuoteRequestDto, authorization, options) {
|
|
105
|
+
if (options === void 0) { options = {}; }
|
|
106
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
107
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
108
|
+
return __generator(this, function (_a) {
|
|
109
|
+
switch (_a.label) {
|
|
110
|
+
case 0:
|
|
111
|
+
// verify required parameter 'productVersionId' is not null or undefined
|
|
112
|
+
(0, common_1.assertParamExists)('calculateProductTariffQuote', 'productVersionId', productVersionId);
|
|
113
|
+
// verify required parameter 'calculateProductTariffQuoteRequestDto' is not null or undefined
|
|
114
|
+
(0, common_1.assertParamExists)('calculateProductTariffQuote', 'calculateProductTariffQuoteRequestDto', calculateProductTariffQuoteRequestDto);
|
|
115
|
+
localVarPath = "/publicapi/v1/product_versions/{productVersionId}/tariff-quote"
|
|
116
|
+
.replace("{".concat("productVersionId", "}"), encodeURIComponent(String(productVersionId)));
|
|
117
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
118
|
+
if (configuration) {
|
|
119
|
+
baseOptions = configuration.baseOptions;
|
|
120
|
+
baseAccessToken = configuration.accessToken;
|
|
121
|
+
}
|
|
122
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
123
|
+
localVarHeaderParameter = {};
|
|
124
|
+
localVarQueryParameter = {};
|
|
125
|
+
// authentication bearer required
|
|
126
|
+
// http bearer authentication required
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
128
|
+
case 1:
|
|
129
|
+
// authentication bearer required
|
|
130
|
+
// http bearer authentication required
|
|
131
|
+
_a.sent();
|
|
132
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
133
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
134
|
+
}
|
|
135
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
136
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
137
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
138
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
139
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(calculateProductTariffQuoteRequestDto, localVarRequestOptions, configuration);
|
|
140
|
+
return [2 /*return*/, {
|
|
141
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
142
|
+
options: localVarRequestOptions,
|
|
143
|
+
}];
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
});
|
|
147
|
+
},
|
|
95
148
|
/**
|
|
96
149
|
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
97
150
|
* @summary List insured objects
|
|
@@ -140,6 +193,54 @@ var ProductVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
140
193
|
});
|
|
141
194
|
});
|
|
142
195
|
},
|
|
196
|
+
/**
|
|
197
|
+
* Retrieves list of available tariffs for the published product config version
|
|
198
|
+
* @summary Retrieve the Product Config Tariffs
|
|
199
|
+
* @param {number} productVersionId Product version id
|
|
200
|
+
* @param {string} [authorization] Bearer Token
|
|
201
|
+
* @param {*} [options] Override http request option.
|
|
202
|
+
* @throws {RequiredError}
|
|
203
|
+
*/
|
|
204
|
+
getProductConfigTariffs: function (productVersionId, authorization, options) {
|
|
205
|
+
if (options === void 0) { options = {}; }
|
|
206
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
207
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
208
|
+
return __generator(this, function (_a) {
|
|
209
|
+
switch (_a.label) {
|
|
210
|
+
case 0:
|
|
211
|
+
// verify required parameter 'productVersionId' is not null or undefined
|
|
212
|
+
(0, common_1.assertParamExists)('getProductConfigTariffs', 'productVersionId', productVersionId);
|
|
213
|
+
localVarPath = "/publicapi/v1/product_versions/{productVersionId}/tariffs"
|
|
214
|
+
.replace("{".concat("productVersionId", "}"), encodeURIComponent(String(productVersionId)));
|
|
215
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
216
|
+
if (configuration) {
|
|
217
|
+
baseOptions = configuration.baseOptions;
|
|
218
|
+
baseAccessToken = configuration.accessToken;
|
|
219
|
+
}
|
|
220
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
221
|
+
localVarHeaderParameter = {};
|
|
222
|
+
localVarQueryParameter = {};
|
|
223
|
+
// authentication bearer required
|
|
224
|
+
// http bearer authentication required
|
|
225
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
226
|
+
case 1:
|
|
227
|
+
// authentication bearer required
|
|
228
|
+
// http bearer authentication required
|
|
229
|
+
_a.sent();
|
|
230
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
231
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
232
|
+
}
|
|
233
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
234
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
235
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
236
|
+
return [2 /*return*/, {
|
|
237
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
238
|
+
options: localVarRequestOptions,
|
|
239
|
+
}];
|
|
240
|
+
}
|
|
241
|
+
});
|
|
242
|
+
});
|
|
243
|
+
},
|
|
143
244
|
/**
|
|
144
245
|
* Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
145
246
|
* @summary List product factors
|
|
@@ -204,6 +305,28 @@ exports.ProductVersionsApiAxiosParamCreator = ProductVersionsApiAxiosParamCreato
|
|
|
204
305
|
var ProductVersionsApiFp = function (configuration) {
|
|
205
306
|
var localVarAxiosParamCreator = (0, exports.ProductVersionsApiAxiosParamCreator)(configuration);
|
|
206
307
|
return {
|
|
308
|
+
/**
|
|
309
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version.
|
|
310
|
+
* @summary Calculates a quote for a selected tariff
|
|
311
|
+
* @param {number} productVersionId Product version id
|
|
312
|
+
* @param {CalculateProductTariffQuoteRequestDto} calculateProductTariffQuoteRequestDto
|
|
313
|
+
* @param {string} [authorization] Bearer Token
|
|
314
|
+
* @param {*} [options] Override http request option.
|
|
315
|
+
* @throws {RequiredError}
|
|
316
|
+
*/
|
|
317
|
+
calculateProductTariffQuote: function (productVersionId, calculateProductTariffQuoteRequestDto, authorization, options) {
|
|
318
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
319
|
+
var localVarAxiosArgs;
|
|
320
|
+
return __generator(this, function (_a) {
|
|
321
|
+
switch (_a.label) {
|
|
322
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.calculateProductTariffQuote(productVersionId, calculateProductTariffQuoteRequestDto, authorization, options)];
|
|
323
|
+
case 1:
|
|
324
|
+
localVarAxiosArgs = _a.sent();
|
|
325
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
326
|
+
}
|
|
327
|
+
});
|
|
328
|
+
});
|
|
329
|
+
},
|
|
207
330
|
/**
|
|
208
331
|
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
209
332
|
* @summary List insured objects
|
|
@@ -225,6 +348,27 @@ var ProductVersionsApiFp = function (configuration) {
|
|
|
225
348
|
});
|
|
226
349
|
});
|
|
227
350
|
},
|
|
351
|
+
/**
|
|
352
|
+
* Retrieves list of available tariffs for the published product config version
|
|
353
|
+
* @summary Retrieve the Product Config Tariffs
|
|
354
|
+
* @param {number} productVersionId Product version id
|
|
355
|
+
* @param {string} [authorization] Bearer Token
|
|
356
|
+
* @param {*} [options] Override http request option.
|
|
357
|
+
* @throws {RequiredError}
|
|
358
|
+
*/
|
|
359
|
+
getProductConfigTariffs: function (productVersionId, authorization, options) {
|
|
360
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
361
|
+
var localVarAxiosArgs;
|
|
362
|
+
return __generator(this, function (_a) {
|
|
363
|
+
switch (_a.label) {
|
|
364
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductConfigTariffs(productVersionId, authorization, options)];
|
|
365
|
+
case 1:
|
|
366
|
+
localVarAxiosArgs = _a.sent();
|
|
367
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
368
|
+
}
|
|
369
|
+
});
|
|
370
|
+
});
|
|
371
|
+
},
|
|
228
372
|
/**
|
|
229
373
|
* Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
230
374
|
* @summary List product factors
|
|
@@ -257,6 +401,18 @@ exports.ProductVersionsApiFp = ProductVersionsApiFp;
|
|
|
257
401
|
var ProductVersionsApiFactory = function (configuration, basePath, axios) {
|
|
258
402
|
var localVarFp = (0, exports.ProductVersionsApiFp)(configuration);
|
|
259
403
|
return {
|
|
404
|
+
/**
|
|
405
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version.
|
|
406
|
+
* @summary Calculates a quote for a selected tariff
|
|
407
|
+
* @param {number} productVersionId Product version id
|
|
408
|
+
* @param {CalculateProductTariffQuoteRequestDto} calculateProductTariffQuoteRequestDto
|
|
409
|
+
* @param {string} [authorization] Bearer Token
|
|
410
|
+
* @param {*} [options] Override http request option.
|
|
411
|
+
* @throws {RequiredError}
|
|
412
|
+
*/
|
|
413
|
+
calculateProductTariffQuote: function (productVersionId, calculateProductTariffQuoteRequestDto, authorization, options) {
|
|
414
|
+
return localVarFp.calculateProductTariffQuote(productVersionId, calculateProductTariffQuoteRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
415
|
+
},
|
|
260
416
|
/**
|
|
261
417
|
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
262
418
|
* @summary List insured objects
|
|
@@ -268,6 +424,17 @@ var ProductVersionsApiFactory = function (configuration, basePath, axios) {
|
|
|
268
424
|
getInsuredObjectsPerVersion: function (productVersionId, authorization, options) {
|
|
269
425
|
return localVarFp.getInsuredObjectsPerVersion(productVersionId, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
270
426
|
},
|
|
427
|
+
/**
|
|
428
|
+
* Retrieves list of available tariffs for the published product config version
|
|
429
|
+
* @summary Retrieve the Product Config Tariffs
|
|
430
|
+
* @param {number} productVersionId Product version id
|
|
431
|
+
* @param {string} [authorization] Bearer Token
|
|
432
|
+
* @param {*} [options] Override http request option.
|
|
433
|
+
* @throws {RequiredError}
|
|
434
|
+
*/
|
|
435
|
+
getProductConfigTariffs: function (productVersionId, authorization, options) {
|
|
436
|
+
return localVarFp.getProductConfigTariffs(productVersionId, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
437
|
+
},
|
|
271
438
|
/**
|
|
272
439
|
* Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
273
440
|
* @summary List product factors
|
|
@@ -294,6 +461,18 @@ var ProductVersionsApi = /** @class */ (function (_super) {
|
|
|
294
461
|
function ProductVersionsApi() {
|
|
295
462
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
296
463
|
}
|
|
464
|
+
/**
|
|
465
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version.
|
|
466
|
+
* @summary Calculates a quote for a selected tariff
|
|
467
|
+
* @param {ProductVersionsApiCalculateProductTariffQuoteRequest} requestParameters Request parameters.
|
|
468
|
+
* @param {*} [options] Override http request option.
|
|
469
|
+
* @throws {RequiredError}
|
|
470
|
+
* @memberof ProductVersionsApi
|
|
471
|
+
*/
|
|
472
|
+
ProductVersionsApi.prototype.calculateProductTariffQuote = function (requestParameters, options) {
|
|
473
|
+
var _this = this;
|
|
474
|
+
return (0, exports.ProductVersionsApiFp)(this.configuration).calculateProductTariffQuote(requestParameters.productVersionId, requestParameters.calculateProductTariffQuoteRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
475
|
+
};
|
|
297
476
|
/**
|
|
298
477
|
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
299
478
|
* @summary List insured objects
|
|
@@ -306,6 +485,18 @@ var ProductVersionsApi = /** @class */ (function (_super) {
|
|
|
306
485
|
var _this = this;
|
|
307
486
|
return (0, exports.ProductVersionsApiFp)(this.configuration).getInsuredObjectsPerVersion(requestParameters.productVersionId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
308
487
|
};
|
|
488
|
+
/**
|
|
489
|
+
* Retrieves list of available tariffs for the published product config version
|
|
490
|
+
* @summary Retrieve the Product Config Tariffs
|
|
491
|
+
* @param {ProductVersionsApiGetProductConfigTariffsRequest} requestParameters Request parameters.
|
|
492
|
+
* @param {*} [options] Override http request option.
|
|
493
|
+
* @throws {RequiredError}
|
|
494
|
+
* @memberof ProductVersionsApi
|
|
495
|
+
*/
|
|
496
|
+
ProductVersionsApi.prototype.getProductConfigTariffs = function (requestParameters, options) {
|
|
497
|
+
var _this = this;
|
|
498
|
+
return (0, exports.ProductVersionsApiFp)(this.configuration).getProductConfigTariffs(requestParameters.productVersionId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
499
|
+
};
|
|
309
500
|
/**
|
|
310
501
|
* Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
311
502
|
* @summary List product factors
|
|
@@ -514,7 +514,7 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
514
514
|
* @throws {RequiredError}
|
|
515
515
|
* @memberof ProductsApi
|
|
516
516
|
*/
|
|
517
|
-
calculateProductFields(requestParameters: ProductsApiCalculateProductFieldsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CalculateProductFieldsResponseClass, any>>;
|
|
517
|
+
calculateProductFields(requestParameters: ProductsApiCalculateProductFieldsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CalculateProductFieldsResponseClass, any, {}>>;
|
|
518
518
|
/**
|
|
519
519
|
* This will create an invoice product.
|
|
520
520
|
* @summary Create the invoice product
|
|
@@ -523,7 +523,7 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
523
523
|
* @throws {RequiredError}
|
|
524
524
|
* @memberof ProductsApi
|
|
525
525
|
*/
|
|
526
|
-
createEstimatedInvoice(requestParameters: ProductsApiCreateEstimatedInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEstimatedInvoiceResponseClass, any>>;
|
|
526
|
+
createEstimatedInvoice(requestParameters: ProductsApiCreateEstimatedInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEstimatedInvoiceResponseClass, any, {}>>;
|
|
527
527
|
/**
|
|
528
528
|
* This will create a custom application for a specific provider.
|
|
529
529
|
* @summary Create the custom application
|
|
@@ -532,7 +532,7 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
532
532
|
* @throws {RequiredError}
|
|
533
533
|
* @memberof ProductsApi
|
|
534
534
|
*/
|
|
535
|
-
customApplication(requestParameters: ProductsApiCustomApplicationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCustomApplicationResponseClass, any>>;
|
|
535
|
+
customApplication(requestParameters: ProductsApiCustomApplicationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCustomApplicationResponseClass, any, {}>>;
|
|
536
536
|
/**
|
|
537
537
|
* Returns a list of insured object types you have previously created. The insured object types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
538
538
|
* @summary List insured object types
|
|
@@ -541,7 +541,7 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
541
541
|
* @throws {RequiredError}
|
|
542
542
|
* @memberof ProductsApi
|
|
543
543
|
*/
|
|
544
|
-
getInsuredObjectTypes(requestParameters: ProductsApiGetInsuredObjectTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InsuredObjectTypeClass[], any>>;
|
|
544
|
+
getInsuredObjectTypes(requestParameters: ProductsApiGetInsuredObjectTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InsuredObjectTypeClass[], any, {}>>;
|
|
545
545
|
/**
|
|
546
546
|
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
547
547
|
* @summary List insured objects
|
|
@@ -550,7 +550,7 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
550
550
|
* @throws {RequiredError}
|
|
551
551
|
* @memberof ProductsApi
|
|
552
552
|
*/
|
|
553
|
-
getInsuredObjects(requestParameters: ProductsApiGetInsuredObjectsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InsuredObjectClass[], any>>;
|
|
553
|
+
getInsuredObjects(requestParameters: ProductsApiGetInsuredObjectsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InsuredObjectClass[], any, {}>>;
|
|
554
554
|
/**
|
|
555
555
|
* This will generate a custom css for booking funnel, based on product.
|
|
556
556
|
* @summary Generate a custom CSS
|
|
@@ -559,7 +559,7 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
559
559
|
* @throws {RequiredError}
|
|
560
560
|
* @memberof ProductsApi
|
|
561
561
|
*/
|
|
562
|
-
getProductCustomCss(requestParameters: ProductsApiGetProductCustomCssRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCustomCssResponseClass, any>>;
|
|
562
|
+
getProductCustomCss(requestParameters: ProductsApiGetProductCustomCssRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCustomCssResponseClass, any, {}>>;
|
|
563
563
|
/**
|
|
564
564
|
* Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
565
565
|
* @summary List product factors
|
|
@@ -568,7 +568,7 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
568
568
|
* @throws {RequiredError}
|
|
569
569
|
* @memberof ProductsApi
|
|
570
570
|
*/
|
|
571
|
-
getProductFactors(requestParameters: ProductsApiGetProductFactorsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductFactorForVersionClass[], any>>;
|
|
571
|
+
getProductFactors(requestParameters: ProductsApiGetProductFactorsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductFactorForVersionClass[], any, {}>>;
|
|
572
572
|
/**
|
|
573
573
|
* Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
574
574
|
* @summary List products
|
|
@@ -577,5 +577,5 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
577
577
|
* @throws {RequiredError}
|
|
578
578
|
* @memberof ProductsApi
|
|
579
579
|
*/
|
|
580
|
-
listProducts(requestParameters?: ProductsApiListProductsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductsResponseClass, any>>;
|
|
580
|
+
listProducts(requestParameters?: ProductsApiListProductsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductsResponseClass, any, {}>>;
|
|
581
581
|
}
|
package/dist/base.js
CHANGED
|
@@ -189,7 +189,9 @@ var BaseAPI = /** @class */ (function () {
|
|
|
189
189
|
// Only store if no workspace switch (since switchWorkspace will store after switching)
|
|
190
190
|
this.storeTokenData(__assign({}, this.tokenData));
|
|
191
191
|
_b.label = 4;
|
|
192
|
-
case 4:
|
|
192
|
+
case 4:
|
|
193
|
+
this.storeTokenData(__assign({}, this.tokenData));
|
|
194
|
+
return [2 /*return*/];
|
|
193
195
|
}
|
|
194
196
|
});
|
|
195
197
|
});
|
package/dist/common.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ export declare const toPathString: (url: URL) => string;
|
|
|
62
62
|
*
|
|
63
63
|
* @export
|
|
64
64
|
*/
|
|
65
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
65
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any, {}>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
66
66
|
/**
|
|
67
67
|
* Emil PublicAPI
|
|
68
68
|
* The Emil Public API description
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public 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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AmountWithLimitClass
|
|
16
|
+
*/
|
|
17
|
+
export interface AmountWithLimitClass {
|
|
18
|
+
/**
|
|
19
|
+
* Amount value (required for percent and fixed types)
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AmountWithLimitClass
|
|
22
|
+
*/
|
|
23
|
+
'amount': number;
|
|
24
|
+
/**
|
|
25
|
+
* Maximum limit (required for percent type)
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof AmountWithLimitClass
|
|
28
|
+
*/
|
|
29
|
+
'limit': number;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -51,4 +51,10 @@ export interface BillingAddressResponseClass {
|
|
|
51
51
|
* @memberof BillingAddressResponseClass
|
|
52
52
|
*/
|
|
53
53
|
'city': string;
|
|
54
|
+
/**
|
|
55
|
+
* Country code for billing address
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof BillingAddressResponseClass
|
|
58
|
+
*/
|
|
59
|
+
'countryCode'?: string;
|
|
54
60
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public 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 { PolicyObjectRequestDto } from './policy-object-request-dto';
|
|
13
|
+
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface CalculateProductTariffQuoteRequestDto
|
|
18
|
+
*/
|
|
19
|
+
export interface CalculateProductTariffQuoteRequestDto {
|
|
20
|
+
/**
|
|
21
|
+
* Tariff key
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof CalculateProductTariffQuoteRequestDto
|
|
24
|
+
*/
|
|
25
|
+
'tariffKey': string;
|
|
26
|
+
/**
|
|
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
|
+
* @type {Array<PolicyObjectRequestDto>}
|
|
29
|
+
* @memberof CalculateProductTariffQuoteRequestDto
|
|
30
|
+
*/
|
|
31
|
+
'policyObjects'?: Array<PolicyObjectRequestDto>;
|
|
32
|
+
/**
|
|
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
|
+
* @type {PremiumOverrideRequestDto}
|
|
35
|
+
* @memberof CalculateProductTariffQuoteRequestDto
|
|
36
|
+
*/
|
|
37
|
+
'premiumOverride'?: PremiumOverrideRequestDto;
|
|
38
|
+
}
|