@emilgroup/public-api-sdk 1.33.1-beta.2 → 1.33.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 +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 +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 -2
package/.openapi-generator/FILES
CHANGED
|
@@ -21,6 +21,7 @@ index.ts
|
|
|
21
21
|
models/address-completion-item-class.ts
|
|
22
22
|
models/address-completion-response-class.ts
|
|
23
23
|
models/address-field-score-class.ts
|
|
24
|
+
models/amount-with-limit-class.ts
|
|
24
25
|
models/bank-transfer-dto.ts
|
|
25
26
|
models/bank-transfer-response-class.ts
|
|
26
27
|
models/billing-address-dto.ts
|
|
@@ -28,7 +29,13 @@ models/billing-address-response-class.ts
|
|
|
28
29
|
models/booking-funnel-class.ts
|
|
29
30
|
models/calculate-product-fields-request-dto.ts
|
|
30
31
|
models/calculate-product-fields-response-class.ts
|
|
32
|
+
models/calculate-product-tariff-quote-request-dto.ts
|
|
33
|
+
models/calculate-product-tariff-quote-response-class.ts
|
|
34
|
+
models/calculation-errors-class.ts
|
|
35
|
+
models/calculation-item-errors-class.ts
|
|
36
|
+
models/calculation-message-class.ts
|
|
31
37
|
models/card-details-dto.ts
|
|
38
|
+
models/category-coverage-summary-class.ts
|
|
32
39
|
models/complete-adyen-payment-setup-request-dto.ts
|
|
33
40
|
models/complete-braintree-payment-setup-request-dto.ts
|
|
34
41
|
models/complete-eis-payment-setup-request-dto.ts
|
|
@@ -37,6 +44,7 @@ models/complete-email-verification-response-class.ts
|
|
|
37
44
|
models/complete-payment-setup-request-dto.ts
|
|
38
45
|
models/complete-payment-setup-response-class.ts
|
|
39
46
|
models/complete-stripe-payment-setup-request-dto.ts
|
|
47
|
+
models/coverage-term-class.ts
|
|
40
48
|
models/create-account-request-dto.ts
|
|
41
49
|
models/create-bank-account-request-dto.ts
|
|
42
50
|
models/create-custom-application-request-dto.ts
|
|
@@ -50,6 +58,7 @@ models/create-lead-response-class.ts
|
|
|
50
58
|
models/create-payment-method-request-dto.ts
|
|
51
59
|
models/create-presigned-post-request-dto.ts
|
|
52
60
|
models/create-presigned-post-response-class.ts
|
|
61
|
+
models/deductible-class.ts
|
|
53
62
|
models/document-class.ts
|
|
54
63
|
models/eis-sepa-debit-config-response-class.ts
|
|
55
64
|
models/eis-sepa-debit-dto.ts
|
|
@@ -58,6 +67,7 @@ models/filter-named-range-response-class.ts
|
|
|
58
67
|
models/get-booking-funnel-response-class.ts
|
|
59
68
|
models/get-custom-css-response-class.ts
|
|
60
69
|
models/get-lead-response-class.ts
|
|
70
|
+
models/get-product-config-tariffs-response-class.ts
|
|
61
71
|
models/get-product-document-download-url-response-class.ts
|
|
62
72
|
models/get-public-psp-settings-response-class.ts
|
|
63
73
|
models/index.ts
|
|
@@ -107,6 +117,7 @@ models/product-document-class.ts
|
|
|
107
117
|
models/product-factor-for-version-class.ts
|
|
108
118
|
models/product-factor-value-for-version-class.ts
|
|
109
119
|
models/product-field-class.ts
|
|
120
|
+
models/product-tariff-quote-class.ts
|
|
110
121
|
models/product-version-class.ts
|
|
111
122
|
models/psp-configuration-response-class.ts
|
|
112
123
|
models/send-notification-request-dto.ts
|
|
@@ -116,6 +127,10 @@ models/sepa-dto.ts
|
|
|
116
127
|
models/sepa-response-class.ts
|
|
117
128
|
models/structured-address-class.ts
|
|
118
129
|
models/suggested-address-details-class.ts
|
|
130
|
+
models/tariff-category-summary-class.ts
|
|
131
|
+
models/tariff-coverage-term-class.ts
|
|
132
|
+
models/tariff-info-class.ts
|
|
133
|
+
models/tariff-summary-class.ts
|
|
119
134
|
models/update-lead-request-dto.ts
|
|
120
135
|
models/update-lead-response-class.ts
|
|
121
136
|
models/uploaded-document-dto.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/public-api-sdk@1.33.1-beta.
|
|
20
|
+
npm install @emilgroup/public-api-sdk@1.33.1-beta.21 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/public-api-sdk@1.33.1-beta.
|
|
24
|
+
yarn add @emilgroup/public-api-sdk@1.33.1-beta.21
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PublicApi`.
|
|
@@ -21,6 +21,12 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
+
import { CalculateProductTariffQuoteRequestDto } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { CalculateProductTariffQuoteResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { GetProductConfigTariffsResponseClass } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
24
30
|
import { InsuredObjectClass } from '../models';
|
|
25
31
|
// @ts-ignore
|
|
26
32
|
import { ProductFactorForVersionClass } from '../models';
|
|
@@ -30,6 +36,57 @@ import { ProductFactorForVersionClass } from '../models';
|
|
|
30
36
|
*/
|
|
31
37
|
export const ProductVersionsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
38
|
return {
|
|
39
|
+
/**
|
|
40
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version.
|
|
41
|
+
* @summary Calculates a quote for a selected tariff
|
|
42
|
+
* @param {number} productVersionId Product version id
|
|
43
|
+
* @param {CalculateProductTariffQuoteRequestDto} calculateProductTariffQuoteRequestDto
|
|
44
|
+
* @param {string} [authorization] Bearer Token
|
|
45
|
+
* @param {*} [options] Override http request option.
|
|
46
|
+
* @throws {RequiredError}
|
|
47
|
+
*/
|
|
48
|
+
calculateProductTariffQuote: async (productVersionId: number, calculateProductTariffQuoteRequestDto: CalculateProductTariffQuoteRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49
|
+
// verify required parameter 'productVersionId' is not null or undefined
|
|
50
|
+
assertParamExists('calculateProductTariffQuote', 'productVersionId', productVersionId)
|
|
51
|
+
// verify required parameter 'calculateProductTariffQuoteRequestDto' is not null or undefined
|
|
52
|
+
assertParamExists('calculateProductTariffQuote', 'calculateProductTariffQuoteRequestDto', calculateProductTariffQuoteRequestDto)
|
|
53
|
+
const localVarPath = `/publicapi/v1/product_versions/{productVersionId}/tariff-quote`
|
|
54
|
+
.replace(`{${"productVersionId"}}`, encodeURIComponent(String(productVersionId)));
|
|
55
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
56
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
57
|
+
let baseOptions;
|
|
58
|
+
let baseAccessToken;
|
|
59
|
+
if (configuration) {
|
|
60
|
+
baseOptions = configuration.baseOptions;
|
|
61
|
+
baseAccessToken = configuration.accessToken;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
65
|
+
const localVarHeaderParameter = {} as any;
|
|
66
|
+
const localVarQueryParameter = {} as any;
|
|
67
|
+
|
|
68
|
+
// authentication bearer required
|
|
69
|
+
// http bearer authentication required
|
|
70
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
71
|
+
|
|
72
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
73
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
79
|
+
|
|
80
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
81
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
82
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
83
|
+
localVarRequestOptions.data = serializeDataIfNeeded(calculateProductTariffQuoteRequestDto, localVarRequestOptions, configuration)
|
|
84
|
+
|
|
85
|
+
return {
|
|
86
|
+
url: toPathString(localVarUrlObj),
|
|
87
|
+
options: localVarRequestOptions,
|
|
88
|
+
};
|
|
89
|
+
},
|
|
33
90
|
/**
|
|
34
91
|
* 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.
|
|
35
92
|
* @summary List insured objects
|
|
@@ -66,6 +123,51 @@ export const ProductVersionsApiAxiosParamCreator = function (configuration?: Con
|
|
|
66
123
|
|
|
67
124
|
|
|
68
125
|
|
|
126
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
127
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
128
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
129
|
+
|
|
130
|
+
return {
|
|
131
|
+
url: toPathString(localVarUrlObj),
|
|
132
|
+
options: localVarRequestOptions,
|
|
133
|
+
};
|
|
134
|
+
},
|
|
135
|
+
/**
|
|
136
|
+
* Retrieves list of available tariffs for the published product config version
|
|
137
|
+
* @summary Retrieve the Product Config Tariffs
|
|
138
|
+
* @param {number} productVersionId Product version id
|
|
139
|
+
* @param {string} [authorization] Bearer Token
|
|
140
|
+
* @param {*} [options] Override http request option.
|
|
141
|
+
* @throws {RequiredError}
|
|
142
|
+
*/
|
|
143
|
+
getProductConfigTariffs: async (productVersionId: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
144
|
+
// verify required parameter 'productVersionId' is not null or undefined
|
|
145
|
+
assertParamExists('getProductConfigTariffs', 'productVersionId', productVersionId)
|
|
146
|
+
const localVarPath = `/publicapi/v1/product_versions/{productVersionId}/tariffs`
|
|
147
|
+
.replace(`{${"productVersionId"}}`, encodeURIComponent(String(productVersionId)));
|
|
148
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
149
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
150
|
+
let baseOptions;
|
|
151
|
+
let baseAccessToken;
|
|
152
|
+
if (configuration) {
|
|
153
|
+
baseOptions = configuration.baseOptions;
|
|
154
|
+
baseAccessToken = configuration.accessToken;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
158
|
+
const localVarHeaderParameter = {} as any;
|
|
159
|
+
const localVarQueryParameter = {} as any;
|
|
160
|
+
|
|
161
|
+
// authentication bearer required
|
|
162
|
+
// http bearer authentication required
|
|
163
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
164
|
+
|
|
165
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
166
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
69
171
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
70
172
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
71
173
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -137,6 +239,19 @@ export const ProductVersionsApiAxiosParamCreator = function (configuration?: Con
|
|
|
137
239
|
export const ProductVersionsApiFp = function(configuration?: Configuration) {
|
|
138
240
|
const localVarAxiosParamCreator = ProductVersionsApiAxiosParamCreator(configuration)
|
|
139
241
|
return {
|
|
242
|
+
/**
|
|
243
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version.
|
|
244
|
+
* @summary Calculates a quote for a selected tariff
|
|
245
|
+
* @param {number} productVersionId Product version id
|
|
246
|
+
* @param {CalculateProductTariffQuoteRequestDto} calculateProductTariffQuoteRequestDto
|
|
247
|
+
* @param {string} [authorization] Bearer Token
|
|
248
|
+
* @param {*} [options] Override http request option.
|
|
249
|
+
* @throws {RequiredError}
|
|
250
|
+
*/
|
|
251
|
+
async calculateProductTariffQuote(productVersionId: number, calculateProductTariffQuoteRequestDto: CalculateProductTariffQuoteRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalculateProductTariffQuoteResponseClass>> {
|
|
252
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.calculateProductTariffQuote(productVersionId, calculateProductTariffQuoteRequestDto, authorization, options);
|
|
253
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
254
|
+
},
|
|
140
255
|
/**
|
|
141
256
|
* 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.
|
|
142
257
|
* @summary List insured objects
|
|
@@ -149,6 +264,18 @@ export const ProductVersionsApiFp = function(configuration?: Configuration) {
|
|
|
149
264
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getInsuredObjectsPerVersion(productVersionId, authorization, options);
|
|
150
265
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
151
266
|
},
|
|
267
|
+
/**
|
|
268
|
+
* Retrieves list of available tariffs for the published product config version
|
|
269
|
+
* @summary Retrieve the Product Config Tariffs
|
|
270
|
+
* @param {number} productVersionId Product version id
|
|
271
|
+
* @param {string} [authorization] Bearer Token
|
|
272
|
+
* @param {*} [options] Override http request option.
|
|
273
|
+
* @throws {RequiredError}
|
|
274
|
+
*/
|
|
275
|
+
async getProductConfigTariffs(productVersionId: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductConfigTariffsResponseClass>> {
|
|
276
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getProductConfigTariffs(productVersionId, authorization, options);
|
|
277
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
278
|
+
},
|
|
152
279
|
/**
|
|
153
280
|
* 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
281
|
* @summary List product factors
|
|
@@ -172,6 +299,18 @@ export const ProductVersionsApiFp = function(configuration?: Configuration) {
|
|
|
172
299
|
export const ProductVersionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
173
300
|
const localVarFp = ProductVersionsApiFp(configuration)
|
|
174
301
|
return {
|
|
302
|
+
/**
|
|
303
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version.
|
|
304
|
+
* @summary Calculates a quote for a selected tariff
|
|
305
|
+
* @param {number} productVersionId Product version id
|
|
306
|
+
* @param {CalculateProductTariffQuoteRequestDto} calculateProductTariffQuoteRequestDto
|
|
307
|
+
* @param {string} [authorization] Bearer Token
|
|
308
|
+
* @param {*} [options] Override http request option.
|
|
309
|
+
* @throws {RequiredError}
|
|
310
|
+
*/
|
|
311
|
+
calculateProductTariffQuote(productVersionId: number, calculateProductTariffQuoteRequestDto: CalculateProductTariffQuoteRequestDto, authorization?: string, options?: any): AxiosPromise<CalculateProductTariffQuoteResponseClass> {
|
|
312
|
+
return localVarFp.calculateProductTariffQuote(productVersionId, calculateProductTariffQuoteRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
313
|
+
},
|
|
175
314
|
/**
|
|
176
315
|
* 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.
|
|
177
316
|
* @summary List insured objects
|
|
@@ -183,6 +322,17 @@ export const ProductVersionsApiFactory = function (configuration?: Configuration
|
|
|
183
322
|
getInsuredObjectsPerVersion(productVersionId: number, authorization?: string, options?: any): AxiosPromise<Array<InsuredObjectClass>> {
|
|
184
323
|
return localVarFp.getInsuredObjectsPerVersion(productVersionId, authorization, options).then((request) => request(axios, basePath));
|
|
185
324
|
},
|
|
325
|
+
/**
|
|
326
|
+
* Retrieves list of available tariffs for the published product config version
|
|
327
|
+
* @summary Retrieve the Product Config Tariffs
|
|
328
|
+
* @param {number} productVersionId Product version id
|
|
329
|
+
* @param {string} [authorization] Bearer Token
|
|
330
|
+
* @param {*} [options] Override http request option.
|
|
331
|
+
* @throws {RequiredError}
|
|
332
|
+
*/
|
|
333
|
+
getProductConfigTariffs(productVersionId: number, authorization?: string, options?: any): AxiosPromise<GetProductConfigTariffsResponseClass> {
|
|
334
|
+
return localVarFp.getProductConfigTariffs(productVersionId, authorization, options).then((request) => request(axios, basePath));
|
|
335
|
+
},
|
|
186
336
|
/**
|
|
187
337
|
* 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.
|
|
188
338
|
* @summary List product factors
|
|
@@ -198,6 +348,34 @@ export const ProductVersionsApiFactory = function (configuration?: Configuration
|
|
|
198
348
|
};
|
|
199
349
|
};
|
|
200
350
|
|
|
351
|
+
/**
|
|
352
|
+
* Request parameters for calculateProductTariffQuote operation in ProductVersionsApi.
|
|
353
|
+
* @export
|
|
354
|
+
* @interface ProductVersionsApiCalculateProductTariffQuoteRequest
|
|
355
|
+
*/
|
|
356
|
+
export interface ProductVersionsApiCalculateProductTariffQuoteRequest {
|
|
357
|
+
/**
|
|
358
|
+
* Product version id
|
|
359
|
+
* @type {number}
|
|
360
|
+
* @memberof ProductVersionsApiCalculateProductTariffQuote
|
|
361
|
+
*/
|
|
362
|
+
readonly productVersionId: number
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
*
|
|
366
|
+
* @type {CalculateProductTariffQuoteRequestDto}
|
|
367
|
+
* @memberof ProductVersionsApiCalculateProductTariffQuote
|
|
368
|
+
*/
|
|
369
|
+
readonly calculateProductTariffQuoteRequestDto: CalculateProductTariffQuoteRequestDto
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* Bearer Token
|
|
373
|
+
* @type {string}
|
|
374
|
+
* @memberof ProductVersionsApiCalculateProductTariffQuote
|
|
375
|
+
*/
|
|
376
|
+
readonly authorization?: string
|
|
377
|
+
}
|
|
378
|
+
|
|
201
379
|
/**
|
|
202
380
|
* Request parameters for getInsuredObjectsPerVersion operation in ProductVersionsApi.
|
|
203
381
|
* @export
|
|
@@ -219,6 +397,27 @@ export interface ProductVersionsApiGetInsuredObjectsPerVersionRequest {
|
|
|
219
397
|
readonly authorization?: string
|
|
220
398
|
}
|
|
221
399
|
|
|
400
|
+
/**
|
|
401
|
+
* Request parameters for getProductConfigTariffs operation in ProductVersionsApi.
|
|
402
|
+
* @export
|
|
403
|
+
* @interface ProductVersionsApiGetProductConfigTariffsRequest
|
|
404
|
+
*/
|
|
405
|
+
export interface ProductVersionsApiGetProductConfigTariffsRequest {
|
|
406
|
+
/**
|
|
407
|
+
* Product version id
|
|
408
|
+
* @type {number}
|
|
409
|
+
* @memberof ProductVersionsApiGetProductConfigTariffs
|
|
410
|
+
*/
|
|
411
|
+
readonly productVersionId: number
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* Bearer Token
|
|
415
|
+
* @type {string}
|
|
416
|
+
* @memberof ProductVersionsApiGetProductConfigTariffs
|
|
417
|
+
*/
|
|
418
|
+
readonly authorization?: string
|
|
419
|
+
}
|
|
420
|
+
|
|
222
421
|
/**
|
|
223
422
|
* Request parameters for getProductFactorsPerVersion operation in ProductVersionsApi.
|
|
224
423
|
* @export
|
|
@@ -254,6 +453,18 @@ export interface ProductVersionsApiGetProductFactorsPerVersionRequest {
|
|
|
254
453
|
* @extends {BaseAPI}
|
|
255
454
|
*/
|
|
256
455
|
export class ProductVersionsApi extends BaseAPI {
|
|
456
|
+
/**
|
|
457
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version.
|
|
458
|
+
* @summary Calculates a quote for a selected tariff
|
|
459
|
+
* @param {ProductVersionsApiCalculateProductTariffQuoteRequest} requestParameters Request parameters.
|
|
460
|
+
* @param {*} [options] Override http request option.
|
|
461
|
+
* @throws {RequiredError}
|
|
462
|
+
* @memberof ProductVersionsApi
|
|
463
|
+
*/
|
|
464
|
+
public calculateProductTariffQuote(requestParameters: ProductVersionsApiCalculateProductTariffQuoteRequest, options?: AxiosRequestConfig) {
|
|
465
|
+
return ProductVersionsApiFp(this.configuration).calculateProductTariffQuote(requestParameters.productVersionId, requestParameters.calculateProductTariffQuoteRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
466
|
+
}
|
|
467
|
+
|
|
257
468
|
/**
|
|
258
469
|
* 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.
|
|
259
470
|
* @summary List insured objects
|
|
@@ -266,6 +477,18 @@ export class ProductVersionsApi extends BaseAPI {
|
|
|
266
477
|
return ProductVersionsApiFp(this.configuration).getInsuredObjectsPerVersion(requestParameters.productVersionId, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
267
478
|
}
|
|
268
479
|
|
|
480
|
+
/**
|
|
481
|
+
* Retrieves list of available tariffs for the published product config version
|
|
482
|
+
* @summary Retrieve the Product Config Tariffs
|
|
483
|
+
* @param {ProductVersionsApiGetProductConfigTariffsRequest} requestParameters Request parameters.
|
|
484
|
+
* @param {*} [options] Override http request option.
|
|
485
|
+
* @throws {RequiredError}
|
|
486
|
+
* @memberof ProductVersionsApi
|
|
487
|
+
*/
|
|
488
|
+
public getProductConfigTariffs(requestParameters: ProductVersionsApiGetProductConfigTariffsRequest, options?: AxiosRequestConfig) {
|
|
489
|
+
return ProductVersionsApiFp(this.configuration).getProductConfigTariffs(requestParameters.productVersionId, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
490
|
+
}
|
|
491
|
+
|
|
269
492
|
/**
|
|
270
493
|
* 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.
|
|
271
494
|
* @summary List product factors
|
package/base.ts
CHANGED
|
@@ -202,7 +202,7 @@ export declare class AddressCompletionsValidationsApi extends BaseAPI {
|
|
|
202
202
|
* @throws {RequiredError}
|
|
203
203
|
* @memberof AddressCompletionsValidationsApi
|
|
204
204
|
*/
|
|
205
|
-
listAddressCompletions(requestParameters: AddressCompletionsValidationsApiListAddressCompletionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AddressCompletionResponseClass, any>>;
|
|
205
|
+
listAddressCompletions(requestParameters: AddressCompletionsValidationsApiListAddressCompletionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AddressCompletionResponseClass, any, {}>>;
|
|
206
206
|
/**
|
|
207
207
|
* This will return a response whether the provided address is valid or not.
|
|
208
208
|
* @summary Retrieve the Address validation
|
|
@@ -211,5 +211,5 @@ export declare class AddressCompletionsValidationsApi extends BaseAPI {
|
|
|
211
211
|
* @throws {RequiredError}
|
|
212
212
|
* @memberof AddressCompletionsValidationsApi
|
|
213
213
|
*/
|
|
214
|
-
validateAddress(requestParameters: AddressCompletionsValidationsApiValidateAddressRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidateAddressResponseClass, any>>;
|
|
214
|
+
validateAddress(requestParameters: AddressCompletionsValidationsApiValidateAddressRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidateAddressResponseClass, any, {}>>;
|
|
215
215
|
}
|
|
@@ -92,5 +92,5 @@ export declare class BookingFunnelsApi extends BaseAPI {
|
|
|
92
92
|
* @throws {RequiredError}
|
|
93
93
|
* @memberof BookingFunnelsApi
|
|
94
94
|
*/
|
|
95
|
-
getBookingFunnel(requestParameters: BookingFunnelsApiGetBookingFunnelRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBookingFunnelResponseClass, any>>;
|
|
95
|
+
getBookingFunnel(requestParameters: BookingFunnelsApiGetBookingFunnelRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBookingFunnelResponseClass, any, {}>>;
|
|
96
96
|
}
|
|
@@ -62,5 +62,5 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
62
62
|
* @throws {RequiredError}
|
|
63
63
|
* @memberof DefaultApi
|
|
64
64
|
*/
|
|
65
|
-
check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any>>;
|
|
65
|
+
check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
|
|
66
66
|
}
|
|
@@ -499,7 +499,7 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
499
499
|
* @throws {RequiredError}
|
|
500
500
|
* @memberof DocumentsApi
|
|
501
501
|
*/
|
|
502
|
-
createTemporaryDocument(requestParameters: DocumentsApiCreateTemporaryDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
502
|
+
createTemporaryDocument(requestParameters: DocumentsApiCreateTemporaryDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
503
503
|
/**
|
|
504
504
|
* This will delete a document for a lead by lead code and document code.Documents which were created within last 24 hours can be deleted.
|
|
505
505
|
* @summary Delete a document
|
|
@@ -508,7 +508,7 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
508
508
|
* @throws {RequiredError}
|
|
509
509
|
* @memberof DocumentsApi
|
|
510
510
|
*/
|
|
511
|
-
deleteDocuments(requestParameters: DocumentsApiDeleteDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
511
|
+
deleteDocuments(requestParameters: DocumentsApiDeleteDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
512
512
|
/**
|
|
513
513
|
* Retrieves the details of the specific document that was previously created. Supply the unique document code that was returned when you created it and Emil Api will return the corresponding document file to download.
|
|
514
514
|
* @summary Download a document
|
|
@@ -517,7 +517,7 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
517
517
|
* @throws {RequiredError}
|
|
518
518
|
* @memberof DocumentsApi
|
|
519
519
|
*/
|
|
520
|
-
downloadDocument(requestParameters: DocumentsApiDownloadDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
520
|
+
downloadDocument(requestParameters: DocumentsApiDownloadDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
521
521
|
/**
|
|
522
522
|
*
|
|
523
523
|
* @summary Get pre-signed url for downloading product document
|
|
@@ -526,7 +526,7 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
526
526
|
* @throws {RequiredError}
|
|
527
527
|
* @memberof DocumentsApi
|
|
528
528
|
*/
|
|
529
|
-
downloadProductDocumentUrl(requestParameters: DocumentsApiDownloadProductDocumentUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductDocumentDownloadUrlResponseClass, any>>;
|
|
529
|
+
downloadProductDocumentUrl(requestParameters: DocumentsApiDownloadProductDocumentUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductDocumentDownloadUrlResponseClass, any, {}>>;
|
|
530
530
|
/**
|
|
531
531
|
* Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
532
532
|
* @summary List documents
|
|
@@ -535,7 +535,7 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
535
535
|
* @throws {RequiredError}
|
|
536
536
|
* @memberof DocumentsApi
|
|
537
537
|
*/
|
|
538
|
-
listDocuments(requestParameters: DocumentsApiListDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDocumentsResponseClass, any>>;
|
|
538
|
+
listDocuments(requestParameters: DocumentsApiListDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDocumentsResponseClass, any, {}>>;
|
|
539
539
|
/**
|
|
540
540
|
* Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
541
541
|
* @summary List product documents
|
|
@@ -544,7 +544,7 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
544
544
|
* @throws {RequiredError}
|
|
545
545
|
* @memberof DocumentsApi
|
|
546
546
|
*/
|
|
547
|
-
listProductDocuments(requestParameters: DocumentsApiListProductDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductDocumentsResponseClass, any>>;
|
|
547
|
+
listProductDocuments(requestParameters: DocumentsApiListProductDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductDocumentsResponseClass, any, {}>>;
|
|
548
548
|
/**
|
|
549
549
|
* This will create a URL that allows user upload its documents in Database.The URL can expire between 5 minutes and 7 days.
|
|
550
550
|
* @summary Upload documents using pre-signed URL
|
|
@@ -553,5 +553,5 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
553
553
|
* @throws {RequiredError}
|
|
554
554
|
* @memberof DocumentsApi
|
|
555
555
|
*/
|
|
556
|
-
preSignedPost(requestParameters: DocumentsApiPreSignedPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePresignedPostResponseClass, any>>;
|
|
556
|
+
preSignedPost(requestParameters: DocumentsApiPreSignedPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePresignedPostResponseClass, any, {}>>;
|
|
557
557
|
}
|
package/dist/api/leads-api.d.ts
CHANGED
|
@@ -392,7 +392,7 @@ export declare class LeadsApi extends BaseAPI {
|
|
|
392
392
|
* @throws {RequiredError}
|
|
393
393
|
* @memberof LeadsApi
|
|
394
394
|
*/
|
|
395
|
-
createLead(requestParameters: LeadsApiCreateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadResponseClass, any>>;
|
|
395
|
+
createLead(requestParameters: LeadsApiCreateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadResponseClass, any, {}>>;
|
|
396
396
|
/**
|
|
397
397
|
* This will send the lead to the queue for creation. Should be used when creating multiple leads at the same time - also called \'batch processing\'.
|
|
398
398
|
* @summary Create the lead asynchronously
|
|
@@ -401,7 +401,7 @@ export declare class LeadsApi extends BaseAPI {
|
|
|
401
401
|
* @throws {RequiredError}
|
|
402
402
|
* @memberof LeadsApi
|
|
403
403
|
*/
|
|
404
|
-
createLeadAsync(requestParameters: LeadsApiCreateLeadAsyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadAsyncResponseClass, any>>;
|
|
404
|
+
createLeadAsync(requestParameters: LeadsApiCreateLeadAsyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadAsyncResponseClass, any, {}>>;
|
|
405
405
|
/**
|
|
406
406
|
* This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
|
|
407
407
|
* @summary Create the lead synchronously
|
|
@@ -410,7 +410,7 @@ export declare class LeadsApi extends BaseAPI {
|
|
|
410
410
|
* @throws {RequiredError}
|
|
411
411
|
* @memberof LeadsApi
|
|
412
412
|
*/
|
|
413
|
-
createLeadSync(requestParameters: LeadsApiCreateLeadSyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadResponseClass, any>>;
|
|
413
|
+
createLeadSync(requestParameters: LeadsApiCreateLeadSyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadResponseClass, any, {}>>;
|
|
414
414
|
/**
|
|
415
415
|
* Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
|
|
416
416
|
* @summary Retrieve the lead
|
|
@@ -419,7 +419,7 @@ export declare class LeadsApi extends BaseAPI {
|
|
|
419
419
|
* @throws {RequiredError}
|
|
420
420
|
* @memberof LeadsApi
|
|
421
421
|
*/
|
|
422
|
-
getLead(requestParameters: LeadsApiGetLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLeadResponseClass, any>>;
|
|
422
|
+
getLead(requestParameters: LeadsApiGetLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLeadResponseClass, any, {}>>;
|
|
423
423
|
/**
|
|
424
424
|
* This will initiate a lead code.
|
|
425
425
|
* @summary Initiate a lead code
|
|
@@ -428,7 +428,7 @@ export declare class LeadsApi extends BaseAPI {
|
|
|
428
428
|
* @throws {RequiredError}
|
|
429
429
|
* @memberof LeadsApi
|
|
430
430
|
*/
|
|
431
|
-
initiateLead(requestParameters: LeadsApiInitiateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiateLeadResponseClass, any>>;
|
|
431
|
+
initiateLead(requestParameters: LeadsApiInitiateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiateLeadResponseClass, any, {}>>;
|
|
432
432
|
/**
|
|
433
433
|
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
434
434
|
* @summary Update the lead
|
|
@@ -437,7 +437,7 @@ export declare class LeadsApi extends BaseAPI {
|
|
|
437
437
|
* @throws {RequiredError}
|
|
438
438
|
* @memberof LeadsApi
|
|
439
439
|
*/
|
|
440
|
-
updateLead(requestParameters: LeadsApiUpdateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateLeadResponseClass, any>>;
|
|
440
|
+
updateLead(requestParameters: LeadsApiUpdateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateLeadResponseClass, any, {}>>;
|
|
441
441
|
/**
|
|
442
442
|
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
443
443
|
* @summary Update the lead
|
|
@@ -446,5 +446,5 @@ export declare class LeadsApi extends BaseAPI {
|
|
|
446
446
|
* @throws {RequiredError}
|
|
447
447
|
* @memberof LeadsApi
|
|
448
448
|
*/
|
|
449
|
-
updateLeadSync(requestParameters: LeadsApiUpdateLeadSyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateLeadResponseClass, any>>;
|
|
449
|
+
updateLeadSync(requestParameters: LeadsApiUpdateLeadSyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateLeadResponseClass, any, {}>>;
|
|
450
450
|
}
|
|
@@ -155,5 +155,5 @@ export declare class NamedRangesApi extends BaseAPI {
|
|
|
155
155
|
* @throws {RequiredError}
|
|
156
156
|
* @memberof NamedRangesApi
|
|
157
157
|
*/
|
|
158
|
-
filterNamedRange(requestParameters: NamedRangesApiFilterNamedRangeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FilterNamedRangeResponseClass, any>>;
|
|
158
|
+
filterNamedRange(requestParameters: NamedRangesApiFilterNamedRangeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FilterNamedRangeResponseClass, any, {}>>;
|
|
159
159
|
}
|
|
@@ -189,7 +189,7 @@ export declare class NotificationsApi extends BaseAPI {
|
|
|
189
189
|
* @throws {RequiredError}
|
|
190
190
|
* @memberof NotificationsApi
|
|
191
191
|
*/
|
|
192
|
-
completeEmailVerification(requestParameters: NotificationsApiCompleteEmailVerificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompleteEmailVerificationResponseClass, any>>;
|
|
192
|
+
completeEmailVerification(requestParameters: NotificationsApiCompleteEmailVerificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompleteEmailVerificationResponseClass, any, {}>>;
|
|
193
193
|
/**
|
|
194
194
|
* This sends an email to the specific recipient set to receive verification code.
|
|
195
195
|
* @summary Initiate Email Verification.
|
|
@@ -198,7 +198,7 @@ export declare class NotificationsApi extends BaseAPI {
|
|
|
198
198
|
* @throws {RequiredError}
|
|
199
199
|
* @memberof NotificationsApi
|
|
200
200
|
*/
|
|
201
|
-
initiateEmailVerification(requestParameters: NotificationsApiInitiateEmailVerificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiateEmailVerificationResponseClass, any>>;
|
|
201
|
+
initiateEmailVerification(requestParameters: NotificationsApiInitiateEmailVerificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiateEmailVerificationResponseClass, any, {}>>;
|
|
202
202
|
/**
|
|
203
203
|
* This sends an email to the specific recipient set to receive customers\' messages.
|
|
204
204
|
* @summary Send an email.
|
|
@@ -207,5 +207,5 @@ export declare class NotificationsApi extends BaseAPI {
|
|
|
207
207
|
* @throws {RequiredError}
|
|
208
208
|
* @memberof NotificationsApi
|
|
209
209
|
*/
|
|
210
|
-
sendNotification(requestParameters: NotificationsApiSendNotificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SendNotificationResponseClass, any>>;
|
|
210
|
+
sendNotification(requestParameters: NotificationsApiSendNotificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SendNotificationResponseClass, any, {}>>;
|
|
211
211
|
}
|
|
@@ -215,7 +215,7 @@ export declare class PaymentsSetupApi extends BaseAPI {
|
|
|
215
215
|
* @throws {RequiredError}
|
|
216
216
|
* @memberof PaymentsSetupApi
|
|
217
217
|
*/
|
|
218
|
-
completePaymentSetup(requestParameters: PaymentsSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompletePaymentSetupResponseClass, any>>;
|
|
218
|
+
completePaymentSetup(requestParameters: PaymentsSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompletePaymentSetupResponseClass, any, {}>>;
|
|
219
219
|
/**
|
|
220
220
|
* This will send the customer the public key to load the payment form and complete the payment setup.
|
|
221
221
|
* @summary Get public key and psp
|
|
@@ -224,7 +224,7 @@ export declare class PaymentsSetupApi extends BaseAPI {
|
|
|
224
224
|
* @throws {RequiredError}
|
|
225
225
|
* @memberof PaymentsSetupApi
|
|
226
226
|
*/
|
|
227
|
-
getPublicPSPConfig(requestParameters: PaymentsSetupApiGetPublicPSPConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPublicPspSettingsResponseClass, any>>;
|
|
227
|
+
getPublicPSPConfig(requestParameters: PaymentsSetupApiGetPublicPSPConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPublicPspSettingsResponseClass, any, {}>>;
|
|
228
228
|
/**
|
|
229
229
|
* This will Initiate an account inside the payment service providers and they will generate a secret token which is allow user add its payment information.
|
|
230
230
|
* @summary Initiate a payment setup
|
|
@@ -233,5 +233,5 @@ export declare class PaymentsSetupApi extends BaseAPI {
|
|
|
233
233
|
* @throws {RequiredError}
|
|
234
234
|
* @memberof PaymentsSetupApi
|
|
235
235
|
*/
|
|
236
|
-
initiatePaymentSetup(requestParameters: PaymentsSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiatePaymentSetupResponseClass, any>>;
|
|
236
|
+
initiatePaymentSetup(requestParameters: PaymentsSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiatePaymentSetupResponseClass, any, {}>>;
|
|
237
237
|
}
|