@emilgroup/billing-sdk-node 1.1.0 → 1.4.0
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 +53 -20
- package/README.md +2 -2
- package/api/documents-api.ts +442 -0
- package/api/leads-api.ts +482 -0
- package/api/{recurring-invoices-api.ts → notifications-api.ts} +47 -43
- package/api/payments-setup-api.ts +408 -0
- package/api/products-api.ts +891 -0
- package/api.ts +13 -18
- package/base.ts +30 -39
- package/common.ts +64 -3
- package/configuration.ts +3 -3
- package/dist/api/documents-api.d.ts +252 -0
- package/dist/api/documents-api.js +443 -0
- package/dist/api/leads-api.d.ts +266 -0
- package/dist/api/leads-api.js +506 -0
- package/dist/api/notifications-api.d.ts +97 -0
- package/dist/api/{recurring-invoices-api.js → notifications-api.js} +47 -43
- package/dist/api/payments-setup-api.d.ts +228 -0
- package/dist/api/payments-setup-api.js +426 -0
- package/dist/api/products-api.d.ts +497 -0
- package/dist/api/products-api.js +827 -0
- package/dist/api.d.ts +8 -12
- package/dist/api.js +8 -14
- package/dist/base.d.ts +7 -7
- package/dist/base.js +27 -28
- package/dist/common.d.ts +29 -3
- package/dist/common.js +38 -5
- package/dist/configuration.d.ts +3 -3
- package/dist/configuration.js +3 -3
- package/dist/index.d.ts +4 -4
- package/dist/index.js +5 -4
- package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +48 -0
- package/dist/models/{create-custom-estimated-invoice-response-class.js → complete-braintree-payment-setup-request-dto.js} +3 -3
- package/dist/models/complete-payment-setup-request-dto.d.ts +32 -0
- package/dist/models/{create-correction-invoices-response-class.js → complete-payment-setup-request-dto.js} +3 -3
- package/dist/models/complete-payment-setup-response-class.d.ts +25 -0
- package/dist/models/{list-invoices-response-class.js → complete-payment-setup-response-class.js} +3 -3
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +60 -0
- package/dist/models/{create-invoice-response-class.js → complete-stripe-payment-setup-request-dto.js} +3 -3
- package/dist/models/create-account-request-dto.d.ts +132 -0
- package/dist/models/create-account-request-dto.js +31 -0
- package/dist/models/create-bank-account-request-dto.d.ts +30 -0
- package/dist/models/create-bank-account-request-dto.js +15 -0
- package/dist/models/create-custom-application-request-dto.d.ts +35 -0
- package/dist/models/{create-custom-estimated-invoice-request-dto.js → create-custom-application-request-dto.js} +5 -5
- package/dist/models/create-custom-application-response-class.d.ts +24 -0
- package/dist/models/create-custom-application-response-class.js +15 -0
- package/dist/models/create-document-request-dto.d.ts +101 -0
- package/dist/models/create-document-request-dto.js +31 -0
- package/dist/models/create-estimated-invoice-request-dto.d.ts +33 -9
- package/dist/models/create-estimated-invoice-request-dto.js +8 -3
- package/dist/models/create-estimated-invoice-response-class.d.ts +7 -7
- package/dist/models/create-estimated-invoice-response-class.js +3 -3
- package/dist/models/create-lead-request-dto.d.ts +83 -0
- package/dist/models/create-lead-request-dto.js +15 -0
- package/dist/models/create-lead-response-class.d.ts +25 -0
- package/dist/models/create-lead-response-class.js +15 -0
- package/dist/models/document-class.d.ts +130 -0
- package/dist/models/document-class.js +41 -0
- package/dist/models/get-custom-css-response-class.d.ts +24 -0
- package/dist/models/get-custom-css-response-class.js +15 -0
- package/dist/models/get-lead-response-class.d.ts +25 -0
- package/dist/models/get-lead-response-class.js +15 -0
- package/dist/models/get-public-psp-settings-response-class.d.ts +30 -0
- package/dist/models/get-public-psp-settings-response-class.js +15 -0
- package/dist/models/index.d.ts +48 -15
- package/dist/models/index.js +48 -15
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +30 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
- package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
- package/dist/models/initiate-lead-response-class.d.ts +24 -0
- package/dist/models/initiate-lead-response-class.js +15 -0
- package/dist/models/initiate-payment-setup-request-dto.d.ts +32 -0
- package/dist/models/initiate-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
- package/dist/models/initiate-payment-setup-response-class.js +15 -0
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +30 -0
- package/dist/models/initiate-stripe-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
- package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
- package/dist/models/insured-object-class.d.ts +67 -0
- package/dist/models/insured-object-class.js +15 -0
- package/dist/models/insured-object-type-class.d.ts +48 -0
- package/dist/models/insured-object-type-class.js +15 -0
- package/dist/models/invoice-class.d.ts +22 -15
- package/dist/models/invoice-class.js +3 -3
- package/dist/models/invoice-item-class.d.ts +17 -17
- package/dist/models/invoice-item-class.js +3 -3
- package/dist/models/invoice-status-class.d.ts +42 -0
- package/dist/models/invoice-status-class.js +15 -0
- package/dist/models/lead-account-class.d.ts +109 -0
- package/dist/models/lead-account-class.js +22 -0
- package/dist/models/lead-bank-account-class.d.ts +30 -0
- package/dist/models/lead-bank-account-class.js +15 -0
- package/dist/models/lead-class.d.ts +96 -0
- package/dist/models/lead-class.js +15 -0
- package/dist/models/lead-policy-class.d.ts +43 -0
- package/dist/models/lead-policy-class.js +15 -0
- package/dist/models/lead-policy-object-class.d.ts +30 -0
- package/dist/models/lead-policy-object-class.js +15 -0
- package/dist/models/list-documents-response-class.d.ts +31 -0
- package/dist/models/list-documents-response-class.js +15 -0
- package/dist/models/list-products-response-class.d.ts +31 -0
- package/dist/models/list-products-response-class.js +15 -0
- package/dist/models/payment-method-class.d.ts +60 -0
- package/dist/models/payment-method-class.js +15 -0
- package/dist/models/policy-object-request-dto.d.ts +30 -0
- package/dist/models/policy-object-request-dto.js +15 -0
- package/dist/models/policy-premium-class.d.ts +55 -0
- package/dist/models/policy-premium-class.js +15 -0
- package/dist/models/policy-premium-item-class.d.ts +73 -0
- package/dist/models/policy-premium-item-class.js +15 -0
- package/dist/models/premium-formula-class.d.ts +72 -0
- package/dist/models/premium-formula-class.js +15 -0
- package/dist/models/premium-override-dto.d.ts +54 -0
- package/dist/models/premium-override-dto.js +26 -0
- package/dist/models/premium-override-request-dto.d.ts +25 -0
- package/dist/models/premium-override-request-dto.js +15 -0
- package/dist/models/product-class.d.ts +74 -0
- package/dist/models/product-class.js +15 -0
- package/dist/models/product-factor-class.d.ts +60 -0
- package/dist/models/product-factor-class.js +15 -0
- package/dist/models/product-field-class.d.ts +132 -0
- package/dist/models/product-field-class.js +15 -0
- package/dist/models/product-version-class.d.ts +61 -0
- package/dist/models/product-version-class.js +22 -0
- package/dist/models/send-notification-request-dto.d.ts +36 -0
- package/dist/models/send-notification-request-dto.js +15 -0
- package/dist/models/send-notification-response-class.d.ts +24 -0
- package/dist/models/send-notification-response-class.js +15 -0
- package/dist/models/update-lead-request-dto.d.ts +83 -0
- package/dist/models/update-lead-request-dto.js +15 -0
- package/dist/models/update-lead-response-class.d.ts +25 -0
- package/dist/models/update-lead-response-class.js +15 -0
- package/dist/models/uploaded-document-dto.d.ts +24 -0
- package/dist/models/uploaded-document-dto.js +15 -0
- package/index.ts +4 -4
- package/models/complete-braintree-payment-setup-request-dto.ts +54 -0
- package/models/complete-payment-setup-request-dto.ts +38 -0
- package/models/complete-payment-setup-response-class.ts +31 -0
- package/models/complete-stripe-payment-setup-request-dto.ts +66 -0
- package/models/create-account-request-dto.ts +143 -0
- package/models/create-bank-account-request-dto.ts +36 -0
- package/models/create-custom-application-request-dto.ts +44 -0
- package/models/create-custom-application-response-class.ts +30 -0
- package/models/create-document-request-dto.ts +111 -0
- package/models/create-estimated-invoice-request-dto.ts +36 -9
- package/models/create-estimated-invoice-response-class.ts +7 -7
- package/models/create-lead-request-dto.ts +89 -0
- package/models/create-lead-response-class.ts +31 -0
- package/models/document-class.ts +141 -0
- package/models/get-custom-css-response-class.ts +30 -0
- package/models/get-lead-response-class.ts +31 -0
- package/models/get-public-psp-settings-response-class.ts +36 -0
- package/models/index.ts +48 -15
- package/models/initiate-braintree-payment-setup-request-dto.ts +36 -0
- package/models/initiate-braintree-payment-setup-response-class.ts +30 -0
- package/models/initiate-lead-response-class.ts +30 -0
- package/models/initiate-payment-setup-request-dto.ts +38 -0
- package/models/initiate-payment-setup-response-class.ts +38 -0
- package/models/initiate-stripe-payment-setup-request-dto.ts +36 -0
- package/models/initiate-stripe-payment-setup-response-class.ts +36 -0
- package/models/insured-object-class.ts +73 -0
- package/models/insured-object-type-class.ts +54 -0
- package/models/invoice-class.ts +22 -15
- package/models/invoice-item-class.ts +17 -17
- package/models/invoice-status-class.ts +48 -0
- package/models/lead-account-class.ts +118 -0
- package/models/lead-bank-account-class.ts +36 -0
- package/models/lead-class.ts +102 -0
- package/models/lead-policy-class.ts +49 -0
- package/models/lead-policy-object-class.ts +36 -0
- package/models/list-documents-response-class.ts +37 -0
- package/models/list-products-response-class.ts +37 -0
- package/models/payment-method-class.ts +66 -0
- package/models/policy-object-request-dto.ts +36 -0
- package/models/policy-premium-class.ts +61 -0
- package/models/policy-premium-item-class.ts +79 -0
- package/models/premium-formula-class.ts +78 -0
- package/models/premium-override-dto.ts +64 -0
- package/models/premium-override-request-dto.ts +31 -0
- package/models/product-class.ts +80 -0
- package/models/product-factor-class.ts +66 -0
- package/models/product-field-class.ts +138 -0
- package/models/product-version-class.ts +70 -0
- package/models/send-notification-request-dto.ts +42 -0
- package/models/send-notification-response-class.ts +30 -0
- package/models/update-lead-request-dto.ts +89 -0
- package/models/update-lead-response-class.ts +31 -0
- package/models/uploaded-document-dto.ts +30 -0
- package/package.json +2 -3
- package/api/correction-invoices-api.ts +0 -165
- package/api/estimated-invoices-api.ts +0 -268
- package/api/initial-invoices-api.ts +0 -165
- package/api/invoices-api.ts +0 -402
- package/dist/api/correction-invoices-api.d.ts +0 -93
- package/dist/api/correction-invoices-api.js +0 -224
- package/dist/api/estimated-invoices-api.d.ts +0 -146
- package/dist/api/estimated-invoices-api.js +0 -313
- package/dist/api/initial-invoices-api.d.ts +0 -93
- package/dist/api/initial-invoices-api.js +0 -224
- package/dist/api/invoices-api.d.ts +0 -234
- package/dist/api/invoices-api.js +0 -373
- package/dist/api/recurring-invoices-api.d.ts +0 -93
- package/dist/models/create-correction-invoices-response-class.d.ts +0 -25
- package/dist/models/create-custom-estimated-invoice-request-dto.d.ts +0 -35
- package/dist/models/create-custom-estimated-invoice-response-class.d.ts +0 -24
- package/dist/models/create-invoice-request-dto.d.ts +0 -75
- package/dist/models/create-invoice-request-dto.js +0 -24
- package/dist/models/create-invoice-response-class.d.ts +0 -25
- package/dist/models/list-invoices-response-class.d.ts +0 -31
- package/dist/models/list-policies-billing-dates-response-class.d.ts +0 -30
- package/dist/models/list-policies-billing-dates-response-class.js +0 -15
- package/dist/models/list-request-dto.d.ts +0 -54
- package/dist/models/list-request-dto.js +0 -15
- package/dist/models/policy-dto.d.ts +0 -85
- package/dist/models/policy-dto.js +0 -15
- package/dist/models/policy-object-dto.d.ts +0 -42
- package/dist/models/policy-object-dto.js +0 -15
- package/dist/models/policy-premium-dto.d.ts +0 -43
- package/dist/models/policy-premium-dto.js +0 -15
- package/dist/models/policy-premium-item-dto.d.ts +0 -49
- package/dist/models/policy-premium-item-dto.js +0 -15
- package/dist/models/policy-version-dto.d.ts +0 -55
- package/dist/models/policy-version-dto.js +0 -15
- package/dist/models/premium-formula-dto.d.ts +0 -72
- package/dist/models/premium-formula-dto.js +0 -15
- package/dist/models/timeslice-dto.d.ts +0 -62
- package/dist/models/timeslice-dto.js +0 -15
- package/models/create-correction-invoices-response-class.ts +0 -31
- package/models/create-custom-estimated-invoice-request-dto.ts +0 -44
- package/models/create-custom-estimated-invoice-response-class.ts +0 -30
- package/models/create-invoice-request-dto.ts +0 -84
- package/models/create-invoice-response-class.ts +0 -31
- package/models/list-invoices-response-class.ts +0 -37
- package/models/list-policies-billing-dates-response-class.ts +0 -36
- package/models/list-request-dto.ts +0 -60
- package/models/policy-dto.ts +0 -91
- package/models/policy-object-dto.ts +0 -48
- package/models/policy-premium-dto.ts +0 -49
- package/models/policy-premium-item-dto.ts +0 -55
- package/models/policy-version-dto.ts +0 -61
- package/models/premium-formula-dto.ts +0 -78
- package/models/timeslice-dto.ts +0 -68
|
@@ -0,0 +1,891 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil PublicAPI
|
|
5
|
+
* The Emil Public API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
17
|
+
import { Configuration } from '../configuration';
|
|
18
|
+
// Some imports not used depending on template conditions
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { CreateCustomApplicationRequestDto } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { CreateCustomApplicationResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { CreateEstimatedInvoiceRequestDto } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { CreateEstimatedInvoiceResponseClass } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
import { GetCustomCssResponseClass } from '../models';
|
|
33
|
+
// @ts-ignore
|
|
34
|
+
import { InsuredObjectClass } from '../models';
|
|
35
|
+
// @ts-ignore
|
|
36
|
+
import { InsuredObjectTypeClass } from '../models';
|
|
37
|
+
// @ts-ignore
|
|
38
|
+
import { ListProductsResponseClass } from '../models';
|
|
39
|
+
// @ts-ignore
|
|
40
|
+
import { ProductFactorClass } from '../models';
|
|
41
|
+
// URLSearchParams not necessarily used
|
|
42
|
+
// @ts-ignore
|
|
43
|
+
import { URL, URLSearchParams } from 'url';
|
|
44
|
+
const FormData = require('form-data');
|
|
45
|
+
/**
|
|
46
|
+
* ProductsApi - axios parameter creator
|
|
47
|
+
* @export
|
|
48
|
+
*/
|
|
49
|
+
export const ProductsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
50
|
+
return {
|
|
51
|
+
/**
|
|
52
|
+
* This will create an invoice product.
|
|
53
|
+
* @summary Create the invoice product
|
|
54
|
+
* @param {string} productCode
|
|
55
|
+
* @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto
|
|
56
|
+
* @param {string} [authorization] Bearer Token
|
|
57
|
+
* @param {*} [options] Override http request option.
|
|
58
|
+
* @throws {RequiredError}
|
|
59
|
+
*/
|
|
60
|
+
createEstimatedInvoice: async (productCode: string, createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
61
|
+
// verify required parameter 'productCode' is not null or undefined
|
|
62
|
+
assertParamExists('createEstimatedInvoice', 'productCode', productCode)
|
|
63
|
+
// verify required parameter 'createEstimatedInvoiceRequestDto' is not null or undefined
|
|
64
|
+
assertParamExists('createEstimatedInvoice', 'createEstimatedInvoiceRequestDto', createEstimatedInvoiceRequestDto)
|
|
65
|
+
const localVarPath = `/publicapi/v1/products/{product_code}/product-invoice`
|
|
66
|
+
.replace(`{${"product_code"}}`, encodeURIComponent(String(productCode)));
|
|
67
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
68
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
69
|
+
let baseOptions;
|
|
70
|
+
let baseAccessToken;
|
|
71
|
+
if (configuration) {
|
|
72
|
+
baseOptions = configuration.baseOptions;
|
|
73
|
+
baseAccessToken = configuration.accessToken;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
77
|
+
const localVarHeaderParameter = {} as any;
|
|
78
|
+
const localVarQueryParameter = {} as any;
|
|
79
|
+
|
|
80
|
+
// authentication bearer required
|
|
81
|
+
// http bearer authentication required
|
|
82
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
83
|
+
|
|
84
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
85
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
91
|
+
|
|
92
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
93
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
94
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
95
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createEstimatedInvoiceRequestDto, localVarRequestOptions, configuration)
|
|
96
|
+
|
|
97
|
+
return {
|
|
98
|
+
url: toPathString(localVarUrlObj),
|
|
99
|
+
options: localVarRequestOptions,
|
|
100
|
+
};
|
|
101
|
+
},
|
|
102
|
+
/**
|
|
103
|
+
* This will create a custom application for a specific provider.
|
|
104
|
+
* @summary Create the custom application
|
|
105
|
+
* @param {string} productCode
|
|
106
|
+
* @param {CreateCustomApplicationRequestDto} createCustomApplicationRequestDto
|
|
107
|
+
* @param {string} [authorization] Bearer Token
|
|
108
|
+
* @param {*} [options] Override http request option.
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
*/
|
|
111
|
+
customApplication: async (productCode: string, createCustomApplicationRequestDto: CreateCustomApplicationRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
112
|
+
// verify required parameter 'productCode' is not null or undefined
|
|
113
|
+
assertParamExists('customApplication', 'productCode', productCode)
|
|
114
|
+
// verify required parameter 'createCustomApplicationRequestDto' is not null or undefined
|
|
115
|
+
assertParamExists('customApplication', 'createCustomApplicationRequestDto', createCustomApplicationRequestDto)
|
|
116
|
+
const localVarPath = `/publicapi/v1/products/{product_code}/custom-application`
|
|
117
|
+
.replace(`{${"product_code"}}`, encodeURIComponent(String(productCode)));
|
|
118
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
119
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
120
|
+
let baseOptions;
|
|
121
|
+
let baseAccessToken;
|
|
122
|
+
if (configuration) {
|
|
123
|
+
baseOptions = configuration.baseOptions;
|
|
124
|
+
baseAccessToken = configuration.accessToken;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
128
|
+
const localVarHeaderParameter = {} as any;
|
|
129
|
+
const localVarQueryParameter = {} as any;
|
|
130
|
+
|
|
131
|
+
// authentication bearer required
|
|
132
|
+
// http bearer authentication required
|
|
133
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
134
|
+
|
|
135
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
136
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
142
|
+
|
|
143
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
144
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
145
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
146
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createCustomApplicationRequestDto, localVarRequestOptions, configuration)
|
|
147
|
+
|
|
148
|
+
return {
|
|
149
|
+
url: toPathString(localVarUrlObj),
|
|
150
|
+
options: localVarRequestOptions,
|
|
151
|
+
};
|
|
152
|
+
},
|
|
153
|
+
/**
|
|
154
|
+
* 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.
|
|
155
|
+
* @summary List insured object types
|
|
156
|
+
* @param {string} [authorization] Bearer Token
|
|
157
|
+
* @param {*} [options] Override http request option.
|
|
158
|
+
* @throws {RequiredError}
|
|
159
|
+
*/
|
|
160
|
+
getInsuredObjectTypes: async (authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
161
|
+
const localVarPath = `/publicapi/v1/products/{product_code}/insured-object-types`;
|
|
162
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
163
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
164
|
+
let baseOptions;
|
|
165
|
+
let baseAccessToken;
|
|
166
|
+
if (configuration) {
|
|
167
|
+
baseOptions = configuration.baseOptions;
|
|
168
|
+
baseAccessToken = configuration.accessToken;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
172
|
+
const localVarHeaderParameter = {} as any;
|
|
173
|
+
const localVarQueryParameter = {} as any;
|
|
174
|
+
|
|
175
|
+
// authentication bearer required
|
|
176
|
+
// http bearer authentication required
|
|
177
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
178
|
+
|
|
179
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
180
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
186
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
187
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
188
|
+
|
|
189
|
+
return {
|
|
190
|
+
url: toPathString(localVarUrlObj),
|
|
191
|
+
options: localVarRequestOptions,
|
|
192
|
+
};
|
|
193
|
+
},
|
|
194
|
+
/**
|
|
195
|
+
* 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.
|
|
196
|
+
* @summary List insured objects
|
|
197
|
+
* @param {string} productCode
|
|
198
|
+
* @param {string} [authorization] Bearer Token
|
|
199
|
+
* @param {*} [options] Override http request option.
|
|
200
|
+
* @throws {RequiredError}
|
|
201
|
+
*/
|
|
202
|
+
getInsuredObjects: async (productCode: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
203
|
+
// verify required parameter 'productCode' is not null or undefined
|
|
204
|
+
assertParamExists('getInsuredObjects', 'productCode', productCode)
|
|
205
|
+
const localVarPath = `/publicapi/v1/products/{product_code}/insured-objects`
|
|
206
|
+
.replace(`{${"product_code"}}`, encodeURIComponent(String(productCode)));
|
|
207
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
208
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
209
|
+
let baseOptions;
|
|
210
|
+
let baseAccessToken;
|
|
211
|
+
if (configuration) {
|
|
212
|
+
baseOptions = configuration.baseOptions;
|
|
213
|
+
baseAccessToken = configuration.accessToken;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
217
|
+
const localVarHeaderParameter = {} as any;
|
|
218
|
+
const localVarQueryParameter = {} as any;
|
|
219
|
+
|
|
220
|
+
// authentication bearer required
|
|
221
|
+
// http bearer authentication required
|
|
222
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
223
|
+
|
|
224
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
225
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
231
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
232
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
233
|
+
|
|
234
|
+
return {
|
|
235
|
+
url: toPathString(localVarUrlObj),
|
|
236
|
+
options: localVarRequestOptions,
|
|
237
|
+
};
|
|
238
|
+
},
|
|
239
|
+
/**
|
|
240
|
+
* This will generate a custom css for booking funnel, based on product.
|
|
241
|
+
* @summary Generate a custom CSS
|
|
242
|
+
* @param {string} productCode
|
|
243
|
+
* @param {string} [authorization] Bearer Token
|
|
244
|
+
* @param {*} [options] Override http request option.
|
|
245
|
+
* @throws {RequiredError}
|
|
246
|
+
*/
|
|
247
|
+
getProductCustomCss: async (productCode: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
248
|
+
// verify required parameter 'productCode' is not null or undefined
|
|
249
|
+
assertParamExists('getProductCustomCss', 'productCode', productCode)
|
|
250
|
+
const localVarPath = `/publicapi/v1/products/{product_code}/custom-css`
|
|
251
|
+
.replace(`{${"product_code"}}`, encodeURIComponent(String(productCode)));
|
|
252
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
253
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
254
|
+
let baseOptions;
|
|
255
|
+
let baseAccessToken;
|
|
256
|
+
if (configuration) {
|
|
257
|
+
baseOptions = configuration.baseOptions;
|
|
258
|
+
baseAccessToken = configuration.accessToken;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
262
|
+
const localVarHeaderParameter = {} as any;
|
|
263
|
+
const localVarQueryParameter = {} as any;
|
|
264
|
+
|
|
265
|
+
// authentication bearer required
|
|
266
|
+
// http bearer authentication required
|
|
267
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
268
|
+
|
|
269
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
270
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
276
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
277
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
278
|
+
|
|
279
|
+
return {
|
|
280
|
+
url: toPathString(localVarUrlObj),
|
|
281
|
+
options: localVarRequestOptions,
|
|
282
|
+
};
|
|
283
|
+
},
|
|
284
|
+
/**
|
|
285
|
+
* 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.
|
|
286
|
+
* @summary List product factors
|
|
287
|
+
* @param {string} productCode
|
|
288
|
+
* @param {string} allValues
|
|
289
|
+
* @param {string} [authorization] Bearer Token
|
|
290
|
+
* @param {*} [options] Override http request option.
|
|
291
|
+
* @throws {RequiredError}
|
|
292
|
+
*/
|
|
293
|
+
getProductFactors: async (productCode: string, allValues: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
294
|
+
// verify required parameter 'productCode' is not null or undefined
|
|
295
|
+
assertParamExists('getProductFactors', 'productCode', productCode)
|
|
296
|
+
// verify required parameter 'allValues' is not null or undefined
|
|
297
|
+
assertParamExists('getProductFactors', 'allValues', allValues)
|
|
298
|
+
const localVarPath = `/publicapi/v1/products/{product_code}/product-factors`
|
|
299
|
+
.replace(`{${"product_code"}}`, encodeURIComponent(String(productCode)));
|
|
300
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
301
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
302
|
+
let baseOptions;
|
|
303
|
+
let baseAccessToken;
|
|
304
|
+
if (configuration) {
|
|
305
|
+
baseOptions = configuration.baseOptions;
|
|
306
|
+
baseAccessToken = configuration.accessToken;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
310
|
+
const localVarHeaderParameter = {} as any;
|
|
311
|
+
const localVarQueryParameter = {} as any;
|
|
312
|
+
|
|
313
|
+
// authentication bearer required
|
|
314
|
+
// http bearer authentication required
|
|
315
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
316
|
+
|
|
317
|
+
if (allValues !== undefined) {
|
|
318
|
+
localVarQueryParameter['all_values'] = allValues;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
322
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
328
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
329
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
330
|
+
|
|
331
|
+
return {
|
|
332
|
+
url: toPathString(localVarUrlObj),
|
|
333
|
+
options: localVarRequestOptions,
|
|
334
|
+
};
|
|
335
|
+
},
|
|
336
|
+
/**
|
|
337
|
+
* 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.
|
|
338
|
+
* @summary List products
|
|
339
|
+
* @param {string} [authorization] Bearer Token
|
|
340
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
341
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
342
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
343
|
+
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
344
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
345
|
+
* @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
|
|
346
|
+
* @param {*} [options] Override http request option.
|
|
347
|
+
* @throws {RequiredError}
|
|
348
|
+
*/
|
|
349
|
+
listProducts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
350
|
+
const localVarPath = `/publicapi/v1/products`;
|
|
351
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
352
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
353
|
+
let baseOptions;
|
|
354
|
+
let baseAccessToken;
|
|
355
|
+
if (configuration) {
|
|
356
|
+
baseOptions = configuration.baseOptions;
|
|
357
|
+
baseAccessToken = configuration.accessToken;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
361
|
+
const localVarHeaderParameter = {} as any;
|
|
362
|
+
const localVarQueryParameter = {} as any;
|
|
363
|
+
|
|
364
|
+
// authentication bearer required
|
|
365
|
+
// http bearer authentication required
|
|
366
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
367
|
+
|
|
368
|
+
if (pageSize !== undefined) {
|
|
369
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
if (pageToken !== undefined) {
|
|
373
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
if (filter !== undefined) {
|
|
377
|
+
localVarQueryParameter['filter'] = filter;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
if (search !== undefined) {
|
|
381
|
+
localVarQueryParameter['search'] = search;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
if (order !== undefined) {
|
|
385
|
+
localVarQueryParameter['order'] = order;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
if (expand !== undefined) {
|
|
389
|
+
localVarQueryParameter['expand'] = expand;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
393
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
399
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
400
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
401
|
+
|
|
402
|
+
return {
|
|
403
|
+
url: toPathString(localVarUrlObj),
|
|
404
|
+
options: localVarRequestOptions,
|
|
405
|
+
};
|
|
406
|
+
},
|
|
407
|
+
}
|
|
408
|
+
};
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* ProductsApi - functional programming interface
|
|
412
|
+
* @export
|
|
413
|
+
*/
|
|
414
|
+
export const ProductsApiFp = function(configuration?: Configuration) {
|
|
415
|
+
const localVarAxiosParamCreator = ProductsApiAxiosParamCreator(configuration)
|
|
416
|
+
return {
|
|
417
|
+
/**
|
|
418
|
+
* This will create an invoice product.
|
|
419
|
+
* @summary Create the invoice product
|
|
420
|
+
* @param {string} productCode
|
|
421
|
+
* @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto
|
|
422
|
+
* @param {string} [authorization] Bearer Token
|
|
423
|
+
* @param {*} [options] Override http request option.
|
|
424
|
+
* @throws {RequiredError}
|
|
425
|
+
*/
|
|
426
|
+
async createEstimatedInvoice(productCode: string, createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEstimatedInvoiceResponseClass>> {
|
|
427
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createEstimatedInvoice(productCode, createEstimatedInvoiceRequestDto, authorization, options);
|
|
428
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
429
|
+
},
|
|
430
|
+
/**
|
|
431
|
+
* This will create a custom application for a specific provider.
|
|
432
|
+
* @summary Create the custom application
|
|
433
|
+
* @param {string} productCode
|
|
434
|
+
* @param {CreateCustomApplicationRequestDto} createCustomApplicationRequestDto
|
|
435
|
+
* @param {string} [authorization] Bearer Token
|
|
436
|
+
* @param {*} [options] Override http request option.
|
|
437
|
+
* @throws {RequiredError}
|
|
438
|
+
*/
|
|
439
|
+
async customApplication(productCode: string, createCustomApplicationRequestDto: CreateCustomApplicationRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCustomApplicationResponseClass>> {
|
|
440
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.customApplication(productCode, createCustomApplicationRequestDto, authorization, options);
|
|
441
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
442
|
+
},
|
|
443
|
+
/**
|
|
444
|
+
* 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.
|
|
445
|
+
* @summary List insured object types
|
|
446
|
+
* @param {string} [authorization] Bearer Token
|
|
447
|
+
* @param {*} [options] Override http request option.
|
|
448
|
+
* @throws {RequiredError}
|
|
449
|
+
*/
|
|
450
|
+
async getInsuredObjectTypes(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InsuredObjectTypeClass>>> {
|
|
451
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInsuredObjectTypes(authorization, options);
|
|
452
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
453
|
+
},
|
|
454
|
+
/**
|
|
455
|
+
* 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.
|
|
456
|
+
* @summary List insured objects
|
|
457
|
+
* @param {string} productCode
|
|
458
|
+
* @param {string} [authorization] Bearer Token
|
|
459
|
+
* @param {*} [options] Override http request option.
|
|
460
|
+
* @throws {RequiredError}
|
|
461
|
+
*/
|
|
462
|
+
async getInsuredObjects(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InsuredObjectClass>>> {
|
|
463
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInsuredObjects(productCode, authorization, options);
|
|
464
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
465
|
+
},
|
|
466
|
+
/**
|
|
467
|
+
* This will generate a custom css for booking funnel, based on product.
|
|
468
|
+
* @summary Generate a custom CSS
|
|
469
|
+
* @param {string} productCode
|
|
470
|
+
* @param {string} [authorization] Bearer Token
|
|
471
|
+
* @param {*} [options] Override http request option.
|
|
472
|
+
* @throws {RequiredError}
|
|
473
|
+
*/
|
|
474
|
+
async getProductCustomCss(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomCssResponseClass>> {
|
|
475
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getProductCustomCss(productCode, authorization, options);
|
|
476
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
477
|
+
},
|
|
478
|
+
/**
|
|
479
|
+
* 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.
|
|
480
|
+
* @summary List product factors
|
|
481
|
+
* @param {string} productCode
|
|
482
|
+
* @param {string} allValues
|
|
483
|
+
* @param {string} [authorization] Bearer Token
|
|
484
|
+
* @param {*} [options] Override http request option.
|
|
485
|
+
* @throws {RequiredError}
|
|
486
|
+
*/
|
|
487
|
+
async getProductFactors(productCode: string, allValues: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductFactorClass>>> {
|
|
488
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getProductFactors(productCode, allValues, authorization, options);
|
|
489
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
490
|
+
},
|
|
491
|
+
/**
|
|
492
|
+
* 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.
|
|
493
|
+
* @summary List products
|
|
494
|
+
* @param {string} [authorization] Bearer Token
|
|
495
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
496
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
497
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
498
|
+
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
499
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
500
|
+
* @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
|
|
501
|
+
* @param {*} [options] Override http request option.
|
|
502
|
+
* @throws {RequiredError}
|
|
503
|
+
*/
|
|
504
|
+
async listProducts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductsResponseClass>> {
|
|
505
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listProducts(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
506
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
507
|
+
},
|
|
508
|
+
}
|
|
509
|
+
};
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* ProductsApi - factory interface
|
|
513
|
+
* @export
|
|
514
|
+
*/
|
|
515
|
+
export const ProductsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
516
|
+
const localVarFp = ProductsApiFp(configuration)
|
|
517
|
+
return {
|
|
518
|
+
/**
|
|
519
|
+
* This will create an invoice product.
|
|
520
|
+
* @summary Create the invoice product
|
|
521
|
+
* @param {string} productCode
|
|
522
|
+
* @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto
|
|
523
|
+
* @param {string} [authorization] Bearer Token
|
|
524
|
+
* @param {*} [options] Override http request option.
|
|
525
|
+
* @throws {RequiredError}
|
|
526
|
+
*/
|
|
527
|
+
createEstimatedInvoice(productCode: string, createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<CreateEstimatedInvoiceResponseClass> {
|
|
528
|
+
return localVarFp.createEstimatedInvoice(productCode, createEstimatedInvoiceRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
529
|
+
},
|
|
530
|
+
/**
|
|
531
|
+
* This will create a custom application for a specific provider.
|
|
532
|
+
* @summary Create the custom application
|
|
533
|
+
* @param {string} productCode
|
|
534
|
+
* @param {CreateCustomApplicationRequestDto} createCustomApplicationRequestDto
|
|
535
|
+
* @param {string} [authorization] Bearer Token
|
|
536
|
+
* @param {*} [options] Override http request option.
|
|
537
|
+
* @throws {RequiredError}
|
|
538
|
+
*/
|
|
539
|
+
customApplication(productCode: string, createCustomApplicationRequestDto: CreateCustomApplicationRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCustomApplicationResponseClass> {
|
|
540
|
+
return localVarFp.customApplication(productCode, createCustomApplicationRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
541
|
+
},
|
|
542
|
+
/**
|
|
543
|
+
* 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.
|
|
544
|
+
* @summary List insured object types
|
|
545
|
+
* @param {string} [authorization] Bearer Token
|
|
546
|
+
* @param {*} [options] Override http request option.
|
|
547
|
+
* @throws {RequiredError}
|
|
548
|
+
*/
|
|
549
|
+
getInsuredObjectTypes(authorization?: string, options?: any): AxiosPromise<Array<InsuredObjectTypeClass>> {
|
|
550
|
+
return localVarFp.getInsuredObjectTypes(authorization, options).then((request) => request(axios, basePath));
|
|
551
|
+
},
|
|
552
|
+
/**
|
|
553
|
+
* 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.
|
|
554
|
+
* @summary List insured objects
|
|
555
|
+
* @param {string} productCode
|
|
556
|
+
* @param {string} [authorization] Bearer Token
|
|
557
|
+
* @param {*} [options] Override http request option.
|
|
558
|
+
* @throws {RequiredError}
|
|
559
|
+
*/
|
|
560
|
+
getInsuredObjects(productCode: string, authorization?: string, options?: any): AxiosPromise<Array<InsuredObjectClass>> {
|
|
561
|
+
return localVarFp.getInsuredObjects(productCode, authorization, options).then((request) => request(axios, basePath));
|
|
562
|
+
},
|
|
563
|
+
/**
|
|
564
|
+
* This will generate a custom css for booking funnel, based on product.
|
|
565
|
+
* @summary Generate a custom CSS
|
|
566
|
+
* @param {string} productCode
|
|
567
|
+
* @param {string} [authorization] Bearer Token
|
|
568
|
+
* @param {*} [options] Override http request option.
|
|
569
|
+
* @throws {RequiredError}
|
|
570
|
+
*/
|
|
571
|
+
getProductCustomCss(productCode: string, authorization?: string, options?: any): AxiosPromise<GetCustomCssResponseClass> {
|
|
572
|
+
return localVarFp.getProductCustomCss(productCode, authorization, options).then((request) => request(axios, basePath));
|
|
573
|
+
},
|
|
574
|
+
/**
|
|
575
|
+
* 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.
|
|
576
|
+
* @summary List product factors
|
|
577
|
+
* @param {string} productCode
|
|
578
|
+
* @param {string} allValues
|
|
579
|
+
* @param {string} [authorization] Bearer Token
|
|
580
|
+
* @param {*} [options] Override http request option.
|
|
581
|
+
* @throws {RequiredError}
|
|
582
|
+
*/
|
|
583
|
+
getProductFactors(productCode: string, allValues: string, authorization?: string, options?: any): AxiosPromise<Array<ProductFactorClass>> {
|
|
584
|
+
return localVarFp.getProductFactors(productCode, allValues, authorization, options).then((request) => request(axios, basePath));
|
|
585
|
+
},
|
|
586
|
+
/**
|
|
587
|
+
* 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.
|
|
588
|
+
* @summary List products
|
|
589
|
+
* @param {string} [authorization] Bearer Token
|
|
590
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
591
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
592
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
593
|
+
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
594
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
595
|
+
* @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
|
|
596
|
+
* @param {*} [options] Override http request option.
|
|
597
|
+
* @throws {RequiredError}
|
|
598
|
+
*/
|
|
599
|
+
listProducts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListProductsResponseClass> {
|
|
600
|
+
return localVarFp.listProducts(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
601
|
+
},
|
|
602
|
+
};
|
|
603
|
+
};
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* Request parameters for createEstimatedInvoice operation in ProductsApi.
|
|
607
|
+
* @export
|
|
608
|
+
* @interface ProductsApiCreateEstimatedInvoiceRequest
|
|
609
|
+
*/
|
|
610
|
+
export interface ProductsApiCreateEstimatedInvoiceRequest {
|
|
611
|
+
/**
|
|
612
|
+
*
|
|
613
|
+
* @type {string}
|
|
614
|
+
* @memberof ProductsApiCreateEstimatedInvoice
|
|
615
|
+
*/
|
|
616
|
+
readonly productCode: string
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
*
|
|
620
|
+
* @type {CreateEstimatedInvoiceRequestDto}
|
|
621
|
+
* @memberof ProductsApiCreateEstimatedInvoice
|
|
622
|
+
*/
|
|
623
|
+
readonly createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* Bearer Token
|
|
627
|
+
* @type {string}
|
|
628
|
+
* @memberof ProductsApiCreateEstimatedInvoice
|
|
629
|
+
*/
|
|
630
|
+
readonly authorization?: string
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* Request parameters for customApplication operation in ProductsApi.
|
|
635
|
+
* @export
|
|
636
|
+
* @interface ProductsApiCustomApplicationRequest
|
|
637
|
+
*/
|
|
638
|
+
export interface ProductsApiCustomApplicationRequest {
|
|
639
|
+
/**
|
|
640
|
+
*
|
|
641
|
+
* @type {string}
|
|
642
|
+
* @memberof ProductsApiCustomApplication
|
|
643
|
+
*/
|
|
644
|
+
readonly productCode: string
|
|
645
|
+
|
|
646
|
+
/**
|
|
647
|
+
*
|
|
648
|
+
* @type {CreateCustomApplicationRequestDto}
|
|
649
|
+
* @memberof ProductsApiCustomApplication
|
|
650
|
+
*/
|
|
651
|
+
readonly createCustomApplicationRequestDto: CreateCustomApplicationRequestDto
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* Bearer Token
|
|
655
|
+
* @type {string}
|
|
656
|
+
* @memberof ProductsApiCustomApplication
|
|
657
|
+
*/
|
|
658
|
+
readonly authorization?: string
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* Request parameters for getInsuredObjectTypes operation in ProductsApi.
|
|
663
|
+
* @export
|
|
664
|
+
* @interface ProductsApiGetInsuredObjectTypesRequest
|
|
665
|
+
*/
|
|
666
|
+
export interface ProductsApiGetInsuredObjectTypesRequest {
|
|
667
|
+
/**
|
|
668
|
+
* Bearer Token
|
|
669
|
+
* @type {string}
|
|
670
|
+
* @memberof ProductsApiGetInsuredObjectTypes
|
|
671
|
+
*/
|
|
672
|
+
readonly authorization?: string
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
/**
|
|
676
|
+
* Request parameters for getInsuredObjects operation in ProductsApi.
|
|
677
|
+
* @export
|
|
678
|
+
* @interface ProductsApiGetInsuredObjectsRequest
|
|
679
|
+
*/
|
|
680
|
+
export interface ProductsApiGetInsuredObjectsRequest {
|
|
681
|
+
/**
|
|
682
|
+
*
|
|
683
|
+
* @type {string}
|
|
684
|
+
* @memberof ProductsApiGetInsuredObjects
|
|
685
|
+
*/
|
|
686
|
+
readonly productCode: string
|
|
687
|
+
|
|
688
|
+
/**
|
|
689
|
+
* Bearer Token
|
|
690
|
+
* @type {string}
|
|
691
|
+
* @memberof ProductsApiGetInsuredObjects
|
|
692
|
+
*/
|
|
693
|
+
readonly authorization?: string
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* Request parameters for getProductCustomCss operation in ProductsApi.
|
|
698
|
+
* @export
|
|
699
|
+
* @interface ProductsApiGetProductCustomCssRequest
|
|
700
|
+
*/
|
|
701
|
+
export interface ProductsApiGetProductCustomCssRequest {
|
|
702
|
+
/**
|
|
703
|
+
*
|
|
704
|
+
* @type {string}
|
|
705
|
+
* @memberof ProductsApiGetProductCustomCss
|
|
706
|
+
*/
|
|
707
|
+
readonly productCode: string
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* Bearer Token
|
|
711
|
+
* @type {string}
|
|
712
|
+
* @memberof ProductsApiGetProductCustomCss
|
|
713
|
+
*/
|
|
714
|
+
readonly authorization?: string
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* Request parameters for getProductFactors operation in ProductsApi.
|
|
719
|
+
* @export
|
|
720
|
+
* @interface ProductsApiGetProductFactorsRequest
|
|
721
|
+
*/
|
|
722
|
+
export interface ProductsApiGetProductFactorsRequest {
|
|
723
|
+
/**
|
|
724
|
+
*
|
|
725
|
+
* @type {string}
|
|
726
|
+
* @memberof ProductsApiGetProductFactors
|
|
727
|
+
*/
|
|
728
|
+
readonly productCode: string
|
|
729
|
+
|
|
730
|
+
/**
|
|
731
|
+
*
|
|
732
|
+
* @type {string}
|
|
733
|
+
* @memberof ProductsApiGetProductFactors
|
|
734
|
+
*/
|
|
735
|
+
readonly allValues: string
|
|
736
|
+
|
|
737
|
+
/**
|
|
738
|
+
* Bearer Token
|
|
739
|
+
* @type {string}
|
|
740
|
+
* @memberof ProductsApiGetProductFactors
|
|
741
|
+
*/
|
|
742
|
+
readonly authorization?: string
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
/**
|
|
746
|
+
* Request parameters for listProducts operation in ProductsApi.
|
|
747
|
+
* @export
|
|
748
|
+
* @interface ProductsApiListProductsRequest
|
|
749
|
+
*/
|
|
750
|
+
export interface ProductsApiListProductsRequest {
|
|
751
|
+
/**
|
|
752
|
+
* Bearer Token
|
|
753
|
+
* @type {string}
|
|
754
|
+
* @memberof ProductsApiListProducts
|
|
755
|
+
*/
|
|
756
|
+
readonly authorization?: string
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
760
|
+
* @type {any}
|
|
761
|
+
* @memberof ProductsApiListProducts
|
|
762
|
+
*/
|
|
763
|
+
readonly pageSize?: any
|
|
764
|
+
|
|
765
|
+
/**
|
|
766
|
+
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
767
|
+
* @type {any}
|
|
768
|
+
* @memberof ProductsApiListProducts
|
|
769
|
+
*/
|
|
770
|
+
readonly pageToken?: any
|
|
771
|
+
|
|
772
|
+
/**
|
|
773
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
774
|
+
* @type {any}
|
|
775
|
+
* @memberof ProductsApiListProducts
|
|
776
|
+
*/
|
|
777
|
+
readonly filter?: any
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
781
|
+
* @type {any}
|
|
782
|
+
* @memberof ProductsApiListProducts
|
|
783
|
+
*/
|
|
784
|
+
readonly search?: any
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
788
|
+
* @type {any}
|
|
789
|
+
* @memberof ProductsApiListProducts
|
|
790
|
+
*/
|
|
791
|
+
readonly order?: any
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* You can expand product versions and insured object types list in this endpoint.
|
|
795
|
+
* @type {any}
|
|
796
|
+
* @memberof ProductsApiListProducts
|
|
797
|
+
*/
|
|
798
|
+
readonly expand?: any
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
/**
|
|
802
|
+
* ProductsApi - object-oriented interface
|
|
803
|
+
* @export
|
|
804
|
+
* @class ProductsApi
|
|
805
|
+
* @extends {BaseAPI}
|
|
806
|
+
*/
|
|
807
|
+
export class ProductsApi extends BaseAPI {
|
|
808
|
+
/**
|
|
809
|
+
* This will create an invoice product.
|
|
810
|
+
* @summary Create the invoice product
|
|
811
|
+
* @param {ProductsApiCreateEstimatedInvoiceRequest} requestParameters Request parameters.
|
|
812
|
+
* @param {*} [options] Override http request option.
|
|
813
|
+
* @throws {RequiredError}
|
|
814
|
+
* @memberof ProductsApi
|
|
815
|
+
*/
|
|
816
|
+
public createEstimatedInvoice(requestParameters: ProductsApiCreateEstimatedInvoiceRequest, options?: AxiosRequestConfig) {
|
|
817
|
+
return ProductsApiFp(this.configuration).createEstimatedInvoice(requestParameters.productCode, requestParameters.createEstimatedInvoiceRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* This will create a custom application for a specific provider.
|
|
822
|
+
* @summary Create the custom application
|
|
823
|
+
* @param {ProductsApiCustomApplicationRequest} requestParameters Request parameters.
|
|
824
|
+
* @param {*} [options] Override http request option.
|
|
825
|
+
* @throws {RequiredError}
|
|
826
|
+
* @memberof ProductsApi
|
|
827
|
+
*/
|
|
828
|
+
public customApplication(requestParameters: ProductsApiCustomApplicationRequest, options?: AxiosRequestConfig) {
|
|
829
|
+
return ProductsApiFp(this.configuration).customApplication(requestParameters.productCode, requestParameters.createCustomApplicationRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
/**
|
|
833
|
+
* 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.
|
|
834
|
+
* @summary List insured object types
|
|
835
|
+
* @param {ProductsApiGetInsuredObjectTypesRequest} requestParameters Request parameters.
|
|
836
|
+
* @param {*} [options] Override http request option.
|
|
837
|
+
* @throws {RequiredError}
|
|
838
|
+
* @memberof ProductsApi
|
|
839
|
+
*/
|
|
840
|
+
public getInsuredObjectTypes(requestParameters: ProductsApiGetInsuredObjectTypesRequest = {}, options?: AxiosRequestConfig) {
|
|
841
|
+
return ProductsApiFp(this.configuration).getInsuredObjectTypes(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
/**
|
|
845
|
+
* 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.
|
|
846
|
+
* @summary List insured objects
|
|
847
|
+
* @param {ProductsApiGetInsuredObjectsRequest} requestParameters Request parameters.
|
|
848
|
+
* @param {*} [options] Override http request option.
|
|
849
|
+
* @throws {RequiredError}
|
|
850
|
+
* @memberof ProductsApi
|
|
851
|
+
*/
|
|
852
|
+
public getInsuredObjects(requestParameters: ProductsApiGetInsuredObjectsRequest, options?: AxiosRequestConfig) {
|
|
853
|
+
return ProductsApiFp(this.configuration).getInsuredObjects(requestParameters.productCode, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
/**
|
|
857
|
+
* This will generate a custom css for booking funnel, based on product.
|
|
858
|
+
* @summary Generate a custom CSS
|
|
859
|
+
* @param {ProductsApiGetProductCustomCssRequest} requestParameters Request parameters.
|
|
860
|
+
* @param {*} [options] Override http request option.
|
|
861
|
+
* @throws {RequiredError}
|
|
862
|
+
* @memberof ProductsApi
|
|
863
|
+
*/
|
|
864
|
+
public getProductCustomCss(requestParameters: ProductsApiGetProductCustomCssRequest, options?: AxiosRequestConfig) {
|
|
865
|
+
return ProductsApiFp(this.configuration).getProductCustomCss(requestParameters.productCode, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
/**
|
|
869
|
+
* 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.
|
|
870
|
+
* @summary List product factors
|
|
871
|
+
* @param {ProductsApiGetProductFactorsRequest} requestParameters Request parameters.
|
|
872
|
+
* @param {*} [options] Override http request option.
|
|
873
|
+
* @throws {RequiredError}
|
|
874
|
+
* @memberof ProductsApi
|
|
875
|
+
*/
|
|
876
|
+
public getProductFactors(requestParameters: ProductsApiGetProductFactorsRequest, options?: AxiosRequestConfig) {
|
|
877
|
+
return ProductsApiFp(this.configuration).getProductFactors(requestParameters.productCode, requestParameters.allValues, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
/**
|
|
881
|
+
* 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.
|
|
882
|
+
* @summary List products
|
|
883
|
+
* @param {ProductsApiListProductsRequest} requestParameters Request parameters.
|
|
884
|
+
* @param {*} [options] Override http request option.
|
|
885
|
+
* @throws {RequiredError}
|
|
886
|
+
* @memberof ProductsApi
|
|
887
|
+
*/
|
|
888
|
+
public listProducts(requestParameters: ProductsApiListProductsRequest = {}, options?: AxiosRequestConfig) {
|
|
889
|
+
return ProductsApiFp(this.configuration).listProducts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
890
|
+
}
|
|
891
|
+
}
|