@emilgroup/public-api-sdk-node 1.35.1-beta.2 → 1.35.1-beta.21
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 +15 -0
- package/README.md +2 -2
- package/api/product-versions-api.ts +223 -0
- package/base.ts +0 -1
- 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/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 +15 -0
- package/dist/models/index.js +15 -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-info-class.d.ts +47 -0
- package/dist/models/tariff-info-class.js +20 -0
- package/dist/models/tariff-summary-class.d.ts +52 -0
- package/dist/models/tariff-summary-class.js +15 -0
- package/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 +15 -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-info-class.ts +56 -0
- package/models/tariff-summary-class.ts +58 -0
- package/package.json +3 -3
|
@@ -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
|
}
|
|
@@ -96,6 +96,59 @@ var FormData = require('form-data');
|
|
|
96
96
|
var ProductVersionsApiAxiosParamCreator = 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.
|
|
101
|
+
* @summary Calculates a quote for a selected tariff
|
|
102
|
+
* @param {number} productVersionId Product version id
|
|
103
|
+
* @param {CalculateProductTariffQuoteRequestDto} calculateProductTariffQuoteRequestDto
|
|
104
|
+
* @param {string} [authorization] Bearer Token
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
calculateProductTariffQuote: function (productVersionId, calculateProductTariffQuoteRequestDto, 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 'calculateProductTariffQuoteRequestDto' is not null or undefined
|
|
118
|
+
(0, common_1.assertParamExists)('calculateProductTariffQuote', 'calculateProductTariffQuoteRequestDto', calculateProductTariffQuoteRequestDto);
|
|
119
|
+
localVarPath = "/publicapi/v1/product_versions/{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)(calculateProductTariffQuoteRequestDto, 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
|
* 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.
|
|
101
154
|
* @summary List insured objects
|
|
@@ -144,6 +197,54 @@ var ProductVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
144
197
|
});
|
|
145
198
|
});
|
|
146
199
|
},
|
|
200
|
+
/**
|
|
201
|
+
* Retrieves list of available tariffs for the published product config version
|
|
202
|
+
* @summary Retrieve the Product Config Tariffs
|
|
203
|
+
* @param {number} productVersionId Product version id
|
|
204
|
+
* @param {string} [authorization] Bearer Token
|
|
205
|
+
* @param {*} [options] Override http request option.
|
|
206
|
+
* @throws {RequiredError}
|
|
207
|
+
*/
|
|
208
|
+
getProductConfigTariffs: function (productVersionId, authorization, options) {
|
|
209
|
+
if (options === void 0) { options = {}; }
|
|
210
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
211
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
212
|
+
return __generator(this, function (_a) {
|
|
213
|
+
switch (_a.label) {
|
|
214
|
+
case 0:
|
|
215
|
+
// verify required parameter 'productVersionId' is not null or undefined
|
|
216
|
+
(0, common_1.assertParamExists)('getProductConfigTariffs', 'productVersionId', productVersionId);
|
|
217
|
+
localVarPath = "/publicapi/v1/product_versions/{productVersionId}/tariffs"
|
|
218
|
+
.replace("{".concat("productVersionId", "}"), encodeURIComponent(String(productVersionId)));
|
|
219
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
220
|
+
if (configuration) {
|
|
221
|
+
baseOptions = configuration.baseOptions;
|
|
222
|
+
baseAccessToken = configuration.accessToken;
|
|
223
|
+
}
|
|
224
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
225
|
+
localVarHeaderParameter = {};
|
|
226
|
+
localVarQueryParameter = {};
|
|
227
|
+
// authentication bearer required
|
|
228
|
+
// http bearer authentication required
|
|
229
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
230
|
+
case 1:
|
|
231
|
+
// authentication bearer required
|
|
232
|
+
// http bearer authentication required
|
|
233
|
+
_a.sent();
|
|
234
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
235
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
236
|
+
}
|
|
237
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
238
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
239
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
240
|
+
return [2 /*return*/, {
|
|
241
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
242
|
+
options: localVarRequestOptions,
|
|
243
|
+
}];
|
|
244
|
+
}
|
|
245
|
+
});
|
|
246
|
+
});
|
|
247
|
+
},
|
|
147
248
|
/**
|
|
148
249
|
* 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.
|
|
149
250
|
* @summary List product factors
|
|
@@ -208,6 +309,28 @@ exports.ProductVersionsApiAxiosParamCreator = ProductVersionsApiAxiosParamCreato
|
|
|
208
309
|
var ProductVersionsApiFp = function (configuration) {
|
|
209
310
|
var localVarAxiosParamCreator = (0, exports.ProductVersionsApiAxiosParamCreator)(configuration);
|
|
210
311
|
return {
|
|
312
|
+
/**
|
|
313
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version.
|
|
314
|
+
* @summary Calculates a quote for a selected tariff
|
|
315
|
+
* @param {number} productVersionId Product version id
|
|
316
|
+
* @param {CalculateProductTariffQuoteRequestDto} calculateProductTariffQuoteRequestDto
|
|
317
|
+
* @param {string} [authorization] Bearer Token
|
|
318
|
+
* @param {*} [options] Override http request option.
|
|
319
|
+
* @throws {RequiredError}
|
|
320
|
+
*/
|
|
321
|
+
calculateProductTariffQuote: function (productVersionId, calculateProductTariffQuoteRequestDto, authorization, options) {
|
|
322
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
323
|
+
var localVarAxiosArgs;
|
|
324
|
+
return __generator(this, function (_a) {
|
|
325
|
+
switch (_a.label) {
|
|
326
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.calculateProductTariffQuote(productVersionId, calculateProductTariffQuoteRequestDto, authorization, options)];
|
|
327
|
+
case 1:
|
|
328
|
+
localVarAxiosArgs = _a.sent();
|
|
329
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
330
|
+
}
|
|
331
|
+
});
|
|
332
|
+
});
|
|
333
|
+
},
|
|
211
334
|
/**
|
|
212
335
|
* 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.
|
|
213
336
|
* @summary List insured objects
|
|
@@ -229,6 +352,27 @@ var ProductVersionsApiFp = function (configuration) {
|
|
|
229
352
|
});
|
|
230
353
|
});
|
|
231
354
|
},
|
|
355
|
+
/**
|
|
356
|
+
* Retrieves list of available tariffs for the published product config version
|
|
357
|
+
* @summary Retrieve the Product Config Tariffs
|
|
358
|
+
* @param {number} productVersionId Product version id
|
|
359
|
+
* @param {string} [authorization] Bearer Token
|
|
360
|
+
* @param {*} [options] Override http request option.
|
|
361
|
+
* @throws {RequiredError}
|
|
362
|
+
*/
|
|
363
|
+
getProductConfigTariffs: function (productVersionId, authorization, options) {
|
|
364
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
365
|
+
var localVarAxiosArgs;
|
|
366
|
+
return __generator(this, function (_a) {
|
|
367
|
+
switch (_a.label) {
|
|
368
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductConfigTariffs(productVersionId, authorization, options)];
|
|
369
|
+
case 1:
|
|
370
|
+
localVarAxiosArgs = _a.sent();
|
|
371
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
372
|
+
}
|
|
373
|
+
});
|
|
374
|
+
});
|
|
375
|
+
},
|
|
232
376
|
/**
|
|
233
377
|
* 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.
|
|
234
378
|
* @summary List product factors
|
|
@@ -261,6 +405,18 @@ exports.ProductVersionsApiFp = ProductVersionsApiFp;
|
|
|
261
405
|
var ProductVersionsApiFactory = function (configuration, basePath, axios) {
|
|
262
406
|
var localVarFp = (0, exports.ProductVersionsApiFp)(configuration);
|
|
263
407
|
return {
|
|
408
|
+
/**
|
|
409
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version.
|
|
410
|
+
* @summary Calculates a quote for a selected tariff
|
|
411
|
+
* @param {number} productVersionId Product version id
|
|
412
|
+
* @param {CalculateProductTariffQuoteRequestDto} calculateProductTariffQuoteRequestDto
|
|
413
|
+
* @param {string} [authorization] Bearer Token
|
|
414
|
+
* @param {*} [options] Override http request option.
|
|
415
|
+
* @throws {RequiredError}
|
|
416
|
+
*/
|
|
417
|
+
calculateProductTariffQuote: function (productVersionId, calculateProductTariffQuoteRequestDto, authorization, options) {
|
|
418
|
+
return localVarFp.calculateProductTariffQuote(productVersionId, calculateProductTariffQuoteRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
419
|
+
},
|
|
264
420
|
/**
|
|
265
421
|
* 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.
|
|
266
422
|
* @summary List insured objects
|
|
@@ -272,6 +428,17 @@ var ProductVersionsApiFactory = function (configuration, basePath, axios) {
|
|
|
272
428
|
getInsuredObjectsPerVersion: function (productVersionId, authorization, options) {
|
|
273
429
|
return localVarFp.getInsuredObjectsPerVersion(productVersionId, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
274
430
|
},
|
|
431
|
+
/**
|
|
432
|
+
* Retrieves list of available tariffs for the published product config version
|
|
433
|
+
* @summary Retrieve the Product Config Tariffs
|
|
434
|
+
* @param {number} productVersionId Product version id
|
|
435
|
+
* @param {string} [authorization] Bearer Token
|
|
436
|
+
* @param {*} [options] Override http request option.
|
|
437
|
+
* @throws {RequiredError}
|
|
438
|
+
*/
|
|
439
|
+
getProductConfigTariffs: function (productVersionId, authorization, options) {
|
|
440
|
+
return localVarFp.getProductConfigTariffs(productVersionId, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
441
|
+
},
|
|
275
442
|
/**
|
|
276
443
|
* 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.
|
|
277
444
|
* @summary List product factors
|
|
@@ -298,6 +465,18 @@ var ProductVersionsApi = /** @class */ (function (_super) {
|
|
|
298
465
|
function ProductVersionsApi() {
|
|
299
466
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
300
467
|
}
|
|
468
|
+
/**
|
|
469
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version.
|
|
470
|
+
* @summary Calculates a quote for a selected tariff
|
|
471
|
+
* @param {ProductVersionsApiCalculateProductTariffQuoteRequest} requestParameters Request parameters.
|
|
472
|
+
* @param {*} [options] Override http request option.
|
|
473
|
+
* @throws {RequiredError}
|
|
474
|
+
* @memberof ProductVersionsApi
|
|
475
|
+
*/
|
|
476
|
+
ProductVersionsApi.prototype.calculateProductTariffQuote = function (requestParameters, options) {
|
|
477
|
+
var _this = this;
|
|
478
|
+
return (0, exports.ProductVersionsApiFp)(this.configuration).calculateProductTariffQuote(requestParameters.productVersionId, requestParameters.calculateProductTariffQuoteRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
479
|
+
};
|
|
301
480
|
/**
|
|
302
481
|
* 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.
|
|
303
482
|
* @summary List insured objects
|
|
@@ -310,6 +489,18 @@ var ProductVersionsApi = /** @class */ (function (_super) {
|
|
|
310
489
|
var _this = this;
|
|
311
490
|
return (0, exports.ProductVersionsApiFp)(this.configuration).getInsuredObjectsPerVersion(requestParameters.productVersionId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
312
491
|
};
|
|
492
|
+
/**
|
|
493
|
+
* Retrieves list of available tariffs for the published product config version
|
|
494
|
+
* @summary Retrieve the Product Config Tariffs
|
|
495
|
+
* @param {ProductVersionsApiGetProductConfigTariffsRequest} requestParameters Request parameters.
|
|
496
|
+
* @param {*} [options] Override http request option.
|
|
497
|
+
* @throws {RequiredError}
|
|
498
|
+
* @memberof ProductVersionsApi
|
|
499
|
+
*/
|
|
500
|
+
ProductVersionsApi.prototype.getProductConfigTariffs = function (requestParameters, options) {
|
|
501
|
+
var _this = this;
|
|
502
|
+
return (0, exports.ProductVersionsApiFp)(this.configuration).getProductConfigTariffs(requestParameters.productVersionId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
503
|
+
};
|
|
313
504
|
/**
|
|
314
505
|
* 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.
|
|
315
506
|
* @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/common.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ export declare const toPathString: (url: URL) => string;
|
|
|
63
63
|
*
|
|
64
64
|
* @export
|
|
65
65
|
*/
|
|
66
|
-
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
|
+
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>;
|
|
67
67
|
/**
|
|
68
68
|
* Emil PublicAPI
|
|
69
69
|
* 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
|
+
}
|