@emilgroup/public-api-sdk-node 1.35.1-beta.2 → 1.35.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 +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 +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 -3
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,9 @@ 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-summary-class.ts
|
|
119
133
|
models/update-lead-request-dto.ts
|
|
120
134
|
models/update-lead-response-class.ts
|
|
121
135
|
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-node@1.35.1-beta.
|
|
20
|
+
npm install @emilgroup/public-api-sdk-node@1.35.1-beta.20 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/public-api-sdk-node@1.35.1-beta.
|
|
24
|
+
yarn add @emilgroup/public-api-sdk-node@1.35.1-beta.20
|
|
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';
|
|
@@ -34,6 +40,57 @@ const FormData = require('form-data');
|
|
|
34
40
|
*/
|
|
35
41
|
export const ProductVersionsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
42
|
return {
|
|
43
|
+
/**
|
|
44
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version.
|
|
45
|
+
* @summary Calculates a quote for a selected tariff
|
|
46
|
+
* @param {number} productVersionId Product version id
|
|
47
|
+
* @param {CalculateProductTariffQuoteRequestDto} calculateProductTariffQuoteRequestDto
|
|
48
|
+
* @param {string} [authorization] Bearer Token
|
|
49
|
+
* @param {*} [options] Override http request option.
|
|
50
|
+
* @throws {RequiredError}
|
|
51
|
+
*/
|
|
52
|
+
calculateProductTariffQuote: async (productVersionId: number, calculateProductTariffQuoteRequestDto: CalculateProductTariffQuoteRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
53
|
+
// verify required parameter 'productVersionId' is not null or undefined
|
|
54
|
+
assertParamExists('calculateProductTariffQuote', 'productVersionId', productVersionId)
|
|
55
|
+
// verify required parameter 'calculateProductTariffQuoteRequestDto' is not null or undefined
|
|
56
|
+
assertParamExists('calculateProductTariffQuote', 'calculateProductTariffQuoteRequestDto', calculateProductTariffQuoteRequestDto)
|
|
57
|
+
const localVarPath = `/publicapi/v1/product_versions/{productVersionId}/tariff-quote`
|
|
58
|
+
.replace(`{${"productVersionId"}}`, encodeURIComponent(String(productVersionId)));
|
|
59
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
60
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
61
|
+
let baseOptions;
|
|
62
|
+
let baseAccessToken;
|
|
63
|
+
if (configuration) {
|
|
64
|
+
baseOptions = configuration.baseOptions;
|
|
65
|
+
baseAccessToken = configuration.accessToken;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
69
|
+
const localVarHeaderParameter = {} as any;
|
|
70
|
+
const localVarQueryParameter = {} as any;
|
|
71
|
+
|
|
72
|
+
// authentication bearer required
|
|
73
|
+
// http bearer authentication required
|
|
74
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
75
|
+
|
|
76
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
77
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
83
|
+
|
|
84
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
85
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
86
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
87
|
+
localVarRequestOptions.data = serializeDataIfNeeded(calculateProductTariffQuoteRequestDto, localVarRequestOptions, configuration)
|
|
88
|
+
|
|
89
|
+
return {
|
|
90
|
+
url: toPathString(localVarUrlObj),
|
|
91
|
+
options: localVarRequestOptions,
|
|
92
|
+
};
|
|
93
|
+
},
|
|
37
94
|
/**
|
|
38
95
|
* 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.
|
|
39
96
|
* @summary List insured objects
|
|
@@ -70,6 +127,51 @@ export const ProductVersionsApiAxiosParamCreator = function (configuration?: Con
|
|
|
70
127
|
|
|
71
128
|
|
|
72
129
|
|
|
130
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
131
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
132
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
133
|
+
|
|
134
|
+
return {
|
|
135
|
+
url: toPathString(localVarUrlObj),
|
|
136
|
+
options: localVarRequestOptions,
|
|
137
|
+
};
|
|
138
|
+
},
|
|
139
|
+
/**
|
|
140
|
+
* Retrieves list of available tariffs for the published product config version
|
|
141
|
+
* @summary Retrieve the Product Config Tariffs
|
|
142
|
+
* @param {number} productVersionId Product version id
|
|
143
|
+
* @param {string} [authorization] Bearer Token
|
|
144
|
+
* @param {*} [options] Override http request option.
|
|
145
|
+
* @throws {RequiredError}
|
|
146
|
+
*/
|
|
147
|
+
getProductConfigTariffs: async (productVersionId: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
148
|
+
// verify required parameter 'productVersionId' is not null or undefined
|
|
149
|
+
assertParamExists('getProductConfigTariffs', 'productVersionId', productVersionId)
|
|
150
|
+
const localVarPath = `/publicapi/v1/product_versions/{productVersionId}/tariffs`
|
|
151
|
+
.replace(`{${"productVersionId"}}`, encodeURIComponent(String(productVersionId)));
|
|
152
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
153
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
154
|
+
let baseOptions;
|
|
155
|
+
let baseAccessToken;
|
|
156
|
+
if (configuration) {
|
|
157
|
+
baseOptions = configuration.baseOptions;
|
|
158
|
+
baseAccessToken = configuration.accessToken;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
162
|
+
const localVarHeaderParameter = {} as any;
|
|
163
|
+
const localVarQueryParameter = {} as any;
|
|
164
|
+
|
|
165
|
+
// authentication bearer required
|
|
166
|
+
// http bearer authentication required
|
|
167
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
168
|
+
|
|
169
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
170
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
73
175
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
74
176
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
75
177
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -141,6 +243,19 @@ export const ProductVersionsApiAxiosParamCreator = function (configuration?: Con
|
|
|
141
243
|
export const ProductVersionsApiFp = function(configuration?: Configuration) {
|
|
142
244
|
const localVarAxiosParamCreator = ProductVersionsApiAxiosParamCreator(configuration)
|
|
143
245
|
return {
|
|
246
|
+
/**
|
|
247
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version.
|
|
248
|
+
* @summary Calculates a quote for a selected tariff
|
|
249
|
+
* @param {number} productVersionId Product version id
|
|
250
|
+
* @param {CalculateProductTariffQuoteRequestDto} calculateProductTariffQuoteRequestDto
|
|
251
|
+
* @param {string} [authorization] Bearer Token
|
|
252
|
+
* @param {*} [options] Override http request option.
|
|
253
|
+
* @throws {RequiredError}
|
|
254
|
+
*/
|
|
255
|
+
async calculateProductTariffQuote(productVersionId: number, calculateProductTariffQuoteRequestDto: CalculateProductTariffQuoteRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalculateProductTariffQuoteResponseClass>> {
|
|
256
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.calculateProductTariffQuote(productVersionId, calculateProductTariffQuoteRequestDto, authorization, options);
|
|
257
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
258
|
+
},
|
|
144
259
|
/**
|
|
145
260
|
* 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.
|
|
146
261
|
* @summary List insured objects
|
|
@@ -153,6 +268,18 @@ export const ProductVersionsApiFp = function(configuration?: Configuration) {
|
|
|
153
268
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getInsuredObjectsPerVersion(productVersionId, authorization, options);
|
|
154
269
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
155
270
|
},
|
|
271
|
+
/**
|
|
272
|
+
* Retrieves list of available tariffs for the published product config version
|
|
273
|
+
* @summary Retrieve the Product Config Tariffs
|
|
274
|
+
* @param {number} productVersionId Product version id
|
|
275
|
+
* @param {string} [authorization] Bearer Token
|
|
276
|
+
* @param {*} [options] Override http request option.
|
|
277
|
+
* @throws {RequiredError}
|
|
278
|
+
*/
|
|
279
|
+
async getProductConfigTariffs(productVersionId: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductConfigTariffsResponseClass>> {
|
|
280
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getProductConfigTariffs(productVersionId, authorization, options);
|
|
281
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
282
|
+
},
|
|
156
283
|
/**
|
|
157
284
|
* 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.
|
|
158
285
|
* @summary List product factors
|
|
@@ -176,6 +303,18 @@ export const ProductVersionsApiFp = function(configuration?: Configuration) {
|
|
|
176
303
|
export const ProductVersionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
177
304
|
const localVarFp = ProductVersionsApiFp(configuration)
|
|
178
305
|
return {
|
|
306
|
+
/**
|
|
307
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version.
|
|
308
|
+
* @summary Calculates a quote for a selected tariff
|
|
309
|
+
* @param {number} productVersionId Product version id
|
|
310
|
+
* @param {CalculateProductTariffQuoteRequestDto} calculateProductTariffQuoteRequestDto
|
|
311
|
+
* @param {string} [authorization] Bearer Token
|
|
312
|
+
* @param {*} [options] Override http request option.
|
|
313
|
+
* @throws {RequiredError}
|
|
314
|
+
*/
|
|
315
|
+
calculateProductTariffQuote(productVersionId: number, calculateProductTariffQuoteRequestDto: CalculateProductTariffQuoteRequestDto, authorization?: string, options?: any): AxiosPromise<CalculateProductTariffQuoteResponseClass> {
|
|
316
|
+
return localVarFp.calculateProductTariffQuote(productVersionId, calculateProductTariffQuoteRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
317
|
+
},
|
|
179
318
|
/**
|
|
180
319
|
* 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.
|
|
181
320
|
* @summary List insured objects
|
|
@@ -187,6 +326,17 @@ export const ProductVersionsApiFactory = function (configuration?: Configuration
|
|
|
187
326
|
getInsuredObjectsPerVersion(productVersionId: number, authorization?: string, options?: any): AxiosPromise<Array<InsuredObjectClass>> {
|
|
188
327
|
return localVarFp.getInsuredObjectsPerVersion(productVersionId, authorization, options).then((request) => request(axios, basePath));
|
|
189
328
|
},
|
|
329
|
+
/**
|
|
330
|
+
* Retrieves list of available tariffs for the published product config version
|
|
331
|
+
* @summary Retrieve the Product Config Tariffs
|
|
332
|
+
* @param {number} productVersionId Product version id
|
|
333
|
+
* @param {string} [authorization] Bearer Token
|
|
334
|
+
* @param {*} [options] Override http request option.
|
|
335
|
+
* @throws {RequiredError}
|
|
336
|
+
*/
|
|
337
|
+
getProductConfigTariffs(productVersionId: number, authorization?: string, options?: any): AxiosPromise<GetProductConfigTariffsResponseClass> {
|
|
338
|
+
return localVarFp.getProductConfigTariffs(productVersionId, authorization, options).then((request) => request(axios, basePath));
|
|
339
|
+
},
|
|
190
340
|
/**
|
|
191
341
|
* 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.
|
|
192
342
|
* @summary List product factors
|
|
@@ -202,6 +352,34 @@ export const ProductVersionsApiFactory = function (configuration?: Configuration
|
|
|
202
352
|
};
|
|
203
353
|
};
|
|
204
354
|
|
|
355
|
+
/**
|
|
356
|
+
* Request parameters for calculateProductTariffQuote operation in ProductVersionsApi.
|
|
357
|
+
* @export
|
|
358
|
+
* @interface ProductVersionsApiCalculateProductTariffQuoteRequest
|
|
359
|
+
*/
|
|
360
|
+
export interface ProductVersionsApiCalculateProductTariffQuoteRequest {
|
|
361
|
+
/**
|
|
362
|
+
* Product version id
|
|
363
|
+
* @type {number}
|
|
364
|
+
* @memberof ProductVersionsApiCalculateProductTariffQuote
|
|
365
|
+
*/
|
|
366
|
+
readonly productVersionId: number
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
*
|
|
370
|
+
* @type {CalculateProductTariffQuoteRequestDto}
|
|
371
|
+
* @memberof ProductVersionsApiCalculateProductTariffQuote
|
|
372
|
+
*/
|
|
373
|
+
readonly calculateProductTariffQuoteRequestDto: CalculateProductTariffQuoteRequestDto
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* Bearer Token
|
|
377
|
+
* @type {string}
|
|
378
|
+
* @memberof ProductVersionsApiCalculateProductTariffQuote
|
|
379
|
+
*/
|
|
380
|
+
readonly authorization?: string
|
|
381
|
+
}
|
|
382
|
+
|
|
205
383
|
/**
|
|
206
384
|
* Request parameters for getInsuredObjectsPerVersion operation in ProductVersionsApi.
|
|
207
385
|
* @export
|
|
@@ -223,6 +401,27 @@ export interface ProductVersionsApiGetInsuredObjectsPerVersionRequest {
|
|
|
223
401
|
readonly authorization?: string
|
|
224
402
|
}
|
|
225
403
|
|
|
404
|
+
/**
|
|
405
|
+
* Request parameters for getProductConfigTariffs operation in ProductVersionsApi.
|
|
406
|
+
* @export
|
|
407
|
+
* @interface ProductVersionsApiGetProductConfigTariffsRequest
|
|
408
|
+
*/
|
|
409
|
+
export interface ProductVersionsApiGetProductConfigTariffsRequest {
|
|
410
|
+
/**
|
|
411
|
+
* Product version id
|
|
412
|
+
* @type {number}
|
|
413
|
+
* @memberof ProductVersionsApiGetProductConfigTariffs
|
|
414
|
+
*/
|
|
415
|
+
readonly productVersionId: number
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* Bearer Token
|
|
419
|
+
* @type {string}
|
|
420
|
+
* @memberof ProductVersionsApiGetProductConfigTariffs
|
|
421
|
+
*/
|
|
422
|
+
readonly authorization?: string
|
|
423
|
+
}
|
|
424
|
+
|
|
226
425
|
/**
|
|
227
426
|
* Request parameters for getProductFactorsPerVersion operation in ProductVersionsApi.
|
|
228
427
|
* @export
|
|
@@ -258,6 +457,18 @@ export interface ProductVersionsApiGetProductFactorsPerVersionRequest {
|
|
|
258
457
|
* @extends {BaseAPI}
|
|
259
458
|
*/
|
|
260
459
|
export class ProductVersionsApi extends BaseAPI {
|
|
460
|
+
/**
|
|
461
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version.
|
|
462
|
+
* @summary Calculates a quote for a selected tariff
|
|
463
|
+
* @param {ProductVersionsApiCalculateProductTariffQuoteRequest} requestParameters Request parameters.
|
|
464
|
+
* @param {*} [options] Override http request option.
|
|
465
|
+
* @throws {RequiredError}
|
|
466
|
+
* @memberof ProductVersionsApi
|
|
467
|
+
*/
|
|
468
|
+
public calculateProductTariffQuote(requestParameters: ProductVersionsApiCalculateProductTariffQuoteRequest, options?: AxiosRequestConfig) {
|
|
469
|
+
return ProductVersionsApiFp(this.configuration).calculateProductTariffQuote(requestParameters.productVersionId, requestParameters.calculateProductTariffQuoteRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
470
|
+
}
|
|
471
|
+
|
|
261
472
|
/**
|
|
262
473
|
* 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.
|
|
263
474
|
* @summary List insured objects
|
|
@@ -270,6 +481,18 @@ export class ProductVersionsApi extends BaseAPI {
|
|
|
270
481
|
return ProductVersionsApiFp(this.configuration).getInsuredObjectsPerVersion(requestParameters.productVersionId, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
271
482
|
}
|
|
272
483
|
|
|
484
|
+
/**
|
|
485
|
+
* Retrieves list of available tariffs for the published product config version
|
|
486
|
+
* @summary Retrieve the Product Config Tariffs
|
|
487
|
+
* @param {ProductVersionsApiGetProductConfigTariffsRequest} requestParameters Request parameters.
|
|
488
|
+
* @param {*} [options] Override http request option.
|
|
489
|
+
* @throws {RequiredError}
|
|
490
|
+
* @memberof ProductVersionsApi
|
|
491
|
+
*/
|
|
492
|
+
public getProductConfigTariffs(requestParameters: ProductVersionsApiGetProductConfigTariffsRequest, options?: AxiosRequestConfig) {
|
|
493
|
+
return ProductVersionsApiFp(this.configuration).getProductConfigTariffs(requestParameters.productVersionId, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
494
|
+
}
|
|
495
|
+
|
|
273
496
|
/**
|
|
274
497
|
* 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.
|
|
275
498
|
* @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
|
}
|