@emilgroup/public-api-sdk-node 1.0.2 → 1.1.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 +30 -1
- package/README.md +3 -5
- package/api/documents-api.ts +31 -17
- package/api/leads-api.ts +482 -0
- package/api/notifications-api.ts +15 -9
- package/api/{payment-setup-api.ts → payments-setup-api.ts} +56 -44
- package/api/products-api.ts +73 -433
- package/api.ts +7 -5
- package/base.ts +3 -3
- package/common.ts +6 -6
- package/configuration.ts +3 -3
- package/dist/api/documents-api.d.ts +31 -18
- package/dist/api/documents-api.js +28 -16
- package/dist/api/leads-api.d.ts +266 -0
- package/dist/api/leads-api.js +506 -0
- package/dist/api/notifications-api.d.ts +15 -10
- package/dist/api/notifications-api.js +12 -8
- package/dist/api/{payment-setup-api.d.ts → payments-setup-api.d.ts} +50 -40
- package/dist/api/{payment-setup-api.js → payments-setup-api.js} +47 -39
- package/dist/api/products-api.d.ts +75 -251
- package/dist/api/products-api.js +52 -383
- package/dist/api.d.ts +5 -4
- package/dist/api.js +5 -4
- package/dist/base.d.ts +3 -3
- package/dist/base.js +4 -4
- package/dist/common.d.ts +6 -6
- package/dist/common.js +4 -4
- package/dist/configuration.d.ts +3 -3
- package/dist/configuration.js +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +8 -8
- package/dist/models/complete-braintree-payment-setup-request-dto.js +3 -3
- package/dist/models/complete-payment-setup-request-dto.d.ts +3 -3
- package/dist/models/complete-payment-setup-request-dto.js +3 -3
- package/dist/models/complete-payment-setup-response-class.d.ts +25 -0
- package/dist/models/complete-payment-setup-response-class.js +15 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +9 -9
- package/dist/models/complete-stripe-payment-setup-request-dto.js +3 -3
- package/dist/models/create-account-request-dto.d.ts +19 -6
- package/dist/models/create-account-request-dto.js +10 -4
- package/dist/models/create-bank-account-request-dto.d.ts +7 -7
- package/dist/models/create-bank-account-request-dto.js +3 -3
- package/dist/models/create-custom-application-request-dto.d.ts +6 -6
- package/dist/models/create-custom-application-request-dto.js +3 -3
- 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 +21 -15
- package/dist/models/create-document-request-dto.js +3 -3
- package/dist/models/create-estimated-invoice-request-dto.d.ts +11 -11
- package/dist/models/create-estimated-invoice-request-dto.js +3 -3
- package/dist/models/create-estimated-invoice-response-class.d.ts +25 -0
- package/dist/models/create-estimated-invoice-response-class.js +15 -0
- package/dist/models/create-lead-request-dto.d.ts +23 -23
- package/dist/models/create-lead-request-dto.js +3 -3
- 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/index.d.ts +27 -0
- package/dist/models/index.js +27 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +4 -4
- package/dist/models/initiate-braintree-payment-setup-request-dto.js +3 -3
- 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 +3 -3
- package/dist/models/initiate-payment-setup-request-dto.js +3 -3
- 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 +4 -4
- package/dist/models/initiate-stripe-payment-setup-request-dto.js +3 -3
- 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 +128 -0
- package/dist/models/invoice-class.js +15 -0
- package/dist/models/invoice-item-class.d.ts +108 -0
- package/dist/models/invoice-item-class.js +15 -0
- 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 +77 -0
- package/dist/models/lead-class.js +15 -0
- package/dist/models/lead-policy-class.d.ts +44 -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/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 +5 -5
- package/dist/models/policy-object-request-dto.js +3 -3
- package/dist/models/premium-override-dto.d.ts +8 -8
- package/dist/models/premium-override-dto.js +3 -3
- package/dist/models/premium-override-request-dto.d.ts +4 -4
- package/dist/models/premium-override-request-dto.js +3 -3
- package/dist/models/product-factor-class.d.ts +54 -0
- package/dist/models/product-factor-class.js +15 -0
- package/dist/models/product-field-class.d.ts +120 -0
- package/dist/models/product-field-class.js +15 -0
- package/dist/models/send-notification-request-dto.d.ts +5 -5
- package/dist/models/send-notification-request-dto.js +3 -3
- 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 +18 -18
- package/dist/models/update-lead-request-dto.js +3 -3
- 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 +4 -4
- package/dist/models/uploaded-document-dto.js +3 -3
- package/index.ts +3 -3
- package/models/complete-braintree-payment-setup-request-dto.ts +8 -8
- package/models/complete-payment-setup-request-dto.ts +3 -3
- package/models/complete-payment-setup-response-class.ts +31 -0
- package/models/complete-stripe-payment-setup-request-dto.ts +9 -9
- package/models/create-account-request-dto.ts +19 -5
- package/models/create-bank-account-request-dto.ts +7 -7
- package/models/create-custom-application-request-dto.ts +5 -5
- package/models/create-custom-application-response-class.ts +30 -0
- package/models/create-document-request-dto.ts +19 -13
- package/models/create-estimated-invoice-request-dto.ts +10 -10
- package/models/create-estimated-invoice-response-class.ts +31 -0
- package/models/create-lead-request-dto.ts +22 -22
- 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/index.ts +27 -0
- package/models/initiate-braintree-payment-setup-request-dto.ts +4 -4
- 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 +3 -3
- package/models/initiate-payment-setup-response-class.ts +38 -0
- package/models/initiate-stripe-payment-setup-request-dto.ts +4 -4
- 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 +134 -0
- package/models/invoice-item-class.ts +114 -0
- 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 +83 -0
- package/models/lead-policy-class.ts +50 -0
- package/models/lead-policy-object-class.ts +36 -0
- package/models/list-documents-response-class.ts +37 -0
- package/models/payment-method-class.ts +66 -0
- package/models/policy-object-request-dto.ts +5 -5
- package/models/premium-override-dto.ts +6 -6
- package/models/premium-override-request-dto.ts +4 -4
- package/models/product-factor-class.ts +60 -0
- package/models/product-field-class.ts +126 -0
- package/models/send-notification-request-dto.ts +5 -5
- package/models/send-notification-response-class.ts +30 -0
- package/models/update-lead-request-dto.ts +17 -17
- package/models/update-lead-response-class.ts +31 -0
- package/models/uploaded-document-dto.ts +4 -4
- package/package.json +1 -1
package/api/products-api.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
* The
|
|
4
|
+
* Emil PublicAPI
|
|
5
|
+
* The Emil Public API description
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -23,11 +23,19 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { CreateCustomApplicationRequestDto } from '../models';
|
|
25
25
|
// @ts-ignore
|
|
26
|
+
import { CreateCustomApplicationResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
26
28
|
import { CreateEstimatedInvoiceRequestDto } from '../models';
|
|
27
29
|
// @ts-ignore
|
|
28
|
-
import {
|
|
30
|
+
import { CreateEstimatedInvoiceResponseClass } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
import { GetCustomCssResponseClass } from '../models';
|
|
33
|
+
// @ts-ignore
|
|
34
|
+
import { InsuredObjectClass } from '../models';
|
|
29
35
|
// @ts-ignore
|
|
30
|
-
import {
|
|
36
|
+
import { InsuredObjectTypeClass } from '../models';
|
|
37
|
+
// @ts-ignore
|
|
38
|
+
import { ProductFactorClass } from '../models';
|
|
31
39
|
// URLSearchParams not necessarily used
|
|
32
40
|
// @ts-ignore
|
|
33
41
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -39,7 +47,8 @@ const FormData = require('form-data');
|
|
|
39
47
|
export const ProductsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40
48
|
return {
|
|
41
49
|
/**
|
|
42
|
-
*
|
|
50
|
+
* This will create an invoice product.
|
|
51
|
+
* @summary Create the invoice product
|
|
43
52
|
* @param {string} productCode
|
|
44
53
|
* @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto
|
|
45
54
|
* @param {string} [authorization] Bearer Token
|
|
@@ -89,53 +98,8 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
89
98
|
};
|
|
90
99
|
},
|
|
91
100
|
/**
|
|
92
|
-
*
|
|
93
|
-
* @
|
|
94
|
-
* @param {string} [authorization] Bearer Token
|
|
95
|
-
* @param {*} [options] Override http request option.
|
|
96
|
-
* @throws {RequiredError}
|
|
97
|
-
*/
|
|
98
|
-
createLead: async (createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
99
|
-
// verify required parameter 'createLeadRequestDto' is not null or undefined
|
|
100
|
-
assertParamExists('createLead', 'createLeadRequestDto', createLeadRequestDto)
|
|
101
|
-
const localVarPath = `/publicapi/v1/leads`;
|
|
102
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
104
|
-
let baseOptions;
|
|
105
|
-
let baseAccessToken;
|
|
106
|
-
if (configuration) {
|
|
107
|
-
baseOptions = configuration.baseOptions;
|
|
108
|
-
baseAccessToken = configuration.accessToken;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
112
|
-
const localVarHeaderParameter = {} as any;
|
|
113
|
-
const localVarQueryParameter = {} as any;
|
|
114
|
-
|
|
115
|
-
// authentication bearer required
|
|
116
|
-
// http bearer authentication required
|
|
117
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
118
|
-
|
|
119
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
120
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
126
|
-
|
|
127
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
128
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
129
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
130
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createLeadRequestDto, localVarRequestOptions, configuration)
|
|
131
|
-
|
|
132
|
-
return {
|
|
133
|
-
url: toPathString(localVarUrlObj),
|
|
134
|
-
options: localVarRequestOptions,
|
|
135
|
-
};
|
|
136
|
-
},
|
|
137
|
-
/**
|
|
138
|
-
*
|
|
101
|
+
* This will create a custom application for a specific provider.
|
|
102
|
+
* @summary Create the custom application
|
|
139
103
|
* @param {string} productCode
|
|
140
104
|
* @param {CreateCustomApplicationRequestDto} createCustomApplicationRequestDto
|
|
141
105
|
* @param {string} [authorization] Bearer Token
|
|
@@ -185,7 +149,8 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
185
149
|
};
|
|
186
150
|
},
|
|
187
151
|
/**
|
|
188
|
-
*
|
|
152
|
+
* 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.
|
|
153
|
+
* @summary List insured object types
|
|
189
154
|
* @param {string} [authorization] Bearer Token
|
|
190
155
|
* @param {*} [options] Override http request option.
|
|
191
156
|
* @throws {RequiredError}
|
|
@@ -225,7 +190,8 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
225
190
|
};
|
|
226
191
|
},
|
|
227
192
|
/**
|
|
228
|
-
*
|
|
193
|
+
* 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.
|
|
194
|
+
* @summary List insured objects
|
|
229
195
|
* @param {string} productCode
|
|
230
196
|
* @param {string} [authorization] Bearer Token
|
|
231
197
|
* @param {*} [options] Override http request option.
|
|
@@ -269,51 +235,8 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
269
235
|
};
|
|
270
236
|
},
|
|
271
237
|
/**
|
|
272
|
-
*
|
|
273
|
-
* @
|
|
274
|
-
* @param {string} [authorization] Bearer Token
|
|
275
|
-
* @param {*} [options] Override http request option.
|
|
276
|
-
* @throws {RequiredError}
|
|
277
|
-
*/
|
|
278
|
-
getLead: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
279
|
-
// verify required parameter 'code' is not null or undefined
|
|
280
|
-
assertParamExists('getLead', 'code', code)
|
|
281
|
-
const localVarPath = `/publicapi/v1/leads/{code}`
|
|
282
|
-
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
283
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
284
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
285
|
-
let baseOptions;
|
|
286
|
-
let baseAccessToken;
|
|
287
|
-
if (configuration) {
|
|
288
|
-
baseOptions = configuration.baseOptions;
|
|
289
|
-
baseAccessToken = configuration.accessToken;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
293
|
-
const localVarHeaderParameter = {} as any;
|
|
294
|
-
const localVarQueryParameter = {} as any;
|
|
295
|
-
|
|
296
|
-
// authentication bearer required
|
|
297
|
-
// http bearer authentication required
|
|
298
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
299
|
-
|
|
300
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
301
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
307
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
308
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
309
|
-
|
|
310
|
-
return {
|
|
311
|
-
url: toPathString(localVarUrlObj),
|
|
312
|
-
options: localVarRequestOptions,
|
|
313
|
-
};
|
|
314
|
-
},
|
|
315
|
-
/**
|
|
316
|
-
*
|
|
238
|
+
* This will generate a custom css for booking funnel, based on product.
|
|
239
|
+
* @summary Generate a custom CSS
|
|
317
240
|
* @param {string} productCode
|
|
318
241
|
* @param {string} [authorization] Bearer Token
|
|
319
242
|
* @param {*} [options] Override http request option.
|
|
@@ -357,7 +280,8 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
357
280
|
};
|
|
358
281
|
},
|
|
359
282
|
/**
|
|
360
|
-
*
|
|
283
|
+
* 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.
|
|
284
|
+
* @summary List product factors
|
|
361
285
|
* @param {string} productCode
|
|
362
286
|
* @param {string} allValues
|
|
363
287
|
* @param {string} [authorization] Bearer Token
|
|
@@ -402,96 +326,6 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
402
326
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
403
327
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
404
328
|
|
|
405
|
-
return {
|
|
406
|
-
url: toPathString(localVarUrlObj),
|
|
407
|
-
options: localVarRequestOptions,
|
|
408
|
-
};
|
|
409
|
-
},
|
|
410
|
-
/**
|
|
411
|
-
*
|
|
412
|
-
* @param {string} [authorization] Bearer Token
|
|
413
|
-
* @param {*} [options] Override http request option.
|
|
414
|
-
* @throws {RequiredError}
|
|
415
|
-
*/
|
|
416
|
-
initiateLead: async (authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
417
|
-
const localVarPath = `/publicapi/v1/leads/initiate`;
|
|
418
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
419
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
420
|
-
let baseOptions;
|
|
421
|
-
let baseAccessToken;
|
|
422
|
-
if (configuration) {
|
|
423
|
-
baseOptions = configuration.baseOptions;
|
|
424
|
-
baseAccessToken = configuration.accessToken;
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
428
|
-
const localVarHeaderParameter = {} as any;
|
|
429
|
-
const localVarQueryParameter = {} as any;
|
|
430
|
-
|
|
431
|
-
// authentication bearer required
|
|
432
|
-
// http bearer authentication required
|
|
433
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
434
|
-
|
|
435
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
436
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
442
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
443
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
444
|
-
|
|
445
|
-
return {
|
|
446
|
-
url: toPathString(localVarUrlObj),
|
|
447
|
-
options: localVarRequestOptions,
|
|
448
|
-
};
|
|
449
|
-
},
|
|
450
|
-
/**
|
|
451
|
-
*
|
|
452
|
-
* @param {string} code
|
|
453
|
-
* @param {UpdateLeadRequestDto} updateLeadRequestDto
|
|
454
|
-
* @param {string} [authorization] Bearer Token
|
|
455
|
-
* @param {*} [options] Override http request option.
|
|
456
|
-
* @throws {RequiredError}
|
|
457
|
-
*/
|
|
458
|
-
updateLead: async (code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
459
|
-
// verify required parameter 'code' is not null or undefined
|
|
460
|
-
assertParamExists('updateLead', 'code', code)
|
|
461
|
-
// verify required parameter 'updateLeadRequestDto' is not null or undefined
|
|
462
|
-
assertParamExists('updateLead', 'updateLeadRequestDto', updateLeadRequestDto)
|
|
463
|
-
const localVarPath = `/publicapi/v1/leads/{code}`
|
|
464
|
-
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
465
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
466
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
467
|
-
let baseOptions;
|
|
468
|
-
let baseAccessToken;
|
|
469
|
-
if (configuration) {
|
|
470
|
-
baseOptions = configuration.baseOptions;
|
|
471
|
-
baseAccessToken = configuration.accessToken;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
475
|
-
const localVarHeaderParameter = {} as any;
|
|
476
|
-
const localVarQueryParameter = {} as any;
|
|
477
|
-
|
|
478
|
-
// authentication bearer required
|
|
479
|
-
// http bearer authentication required
|
|
480
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
481
|
-
|
|
482
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
483
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
489
|
-
|
|
490
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
491
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
492
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
493
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateLeadRequestDto, localVarRequestOptions, configuration)
|
|
494
|
-
|
|
495
329
|
return {
|
|
496
330
|
url: toPathString(localVarUrlObj),
|
|
497
331
|
options: localVarRequestOptions,
|
|
@@ -508,117 +342,79 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
508
342
|
const localVarAxiosParamCreator = ProductsApiAxiosParamCreator(configuration)
|
|
509
343
|
return {
|
|
510
344
|
/**
|
|
511
|
-
*
|
|
345
|
+
* This will create an invoice product.
|
|
346
|
+
* @summary Create the invoice product
|
|
512
347
|
* @param {string} productCode
|
|
513
348
|
* @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto
|
|
514
349
|
* @param {string} [authorization] Bearer Token
|
|
515
350
|
* @param {*} [options] Override http request option.
|
|
516
351
|
* @throws {RequiredError}
|
|
517
352
|
*/
|
|
518
|
-
async createEstimatedInvoice(productCode: string, createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
353
|
+
async createEstimatedInvoice(productCode: string, createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEstimatedInvoiceResponseClass>> {
|
|
519
354
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createEstimatedInvoice(productCode, createEstimatedInvoiceRequestDto, authorization, options);
|
|
520
355
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
521
356
|
},
|
|
522
357
|
/**
|
|
523
|
-
*
|
|
524
|
-
* @
|
|
525
|
-
* @param {string} [authorization] Bearer Token
|
|
526
|
-
* @param {*} [options] Override http request option.
|
|
527
|
-
* @throws {RequiredError}
|
|
528
|
-
*/
|
|
529
|
-
async createLead(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
530
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createLead(createLeadRequestDto, authorization, options);
|
|
531
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
532
|
-
},
|
|
533
|
-
/**
|
|
534
|
-
*
|
|
358
|
+
* This will create a custom application for a specific provider.
|
|
359
|
+
* @summary Create the custom application
|
|
535
360
|
* @param {string} productCode
|
|
536
361
|
* @param {CreateCustomApplicationRequestDto} createCustomApplicationRequestDto
|
|
537
362
|
* @param {string} [authorization] Bearer Token
|
|
538
363
|
* @param {*} [options] Override http request option.
|
|
539
364
|
* @throws {RequiredError}
|
|
540
365
|
*/
|
|
541
|
-
async customApplication(productCode: string, createCustomApplicationRequestDto: CreateCustomApplicationRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
366
|
+
async customApplication(productCode: string, createCustomApplicationRequestDto: CreateCustomApplicationRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCustomApplicationResponseClass>> {
|
|
542
367
|
const localVarAxiosArgs = await localVarAxiosParamCreator.customApplication(productCode, createCustomApplicationRequestDto, authorization, options);
|
|
543
368
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
544
369
|
},
|
|
545
370
|
/**
|
|
546
|
-
*
|
|
371
|
+
* 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.
|
|
372
|
+
* @summary List insured object types
|
|
547
373
|
* @param {string} [authorization] Bearer Token
|
|
548
374
|
* @param {*} [options] Override http request option.
|
|
549
375
|
* @throws {RequiredError}
|
|
550
376
|
*/
|
|
551
|
-
async getInsuredObjectTypes(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
377
|
+
async getInsuredObjectTypes(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InsuredObjectTypeClass>>> {
|
|
552
378
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getInsuredObjectTypes(authorization, options);
|
|
553
379
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
554
380
|
},
|
|
555
381
|
/**
|
|
556
|
-
*
|
|
382
|
+
* 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.
|
|
383
|
+
* @summary List insured objects
|
|
557
384
|
* @param {string} productCode
|
|
558
385
|
* @param {string} [authorization] Bearer Token
|
|
559
386
|
* @param {*} [options] Override http request option.
|
|
560
387
|
* @throws {RequiredError}
|
|
561
388
|
*/
|
|
562
|
-
async getInsuredObjects(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
389
|
+
async getInsuredObjects(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InsuredObjectClass>>> {
|
|
563
390
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getInsuredObjects(productCode, authorization, options);
|
|
564
391
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
565
392
|
},
|
|
566
393
|
/**
|
|
567
|
-
*
|
|
568
|
-
* @
|
|
569
|
-
* @param {string} [authorization] Bearer Token
|
|
570
|
-
* @param {*} [options] Override http request option.
|
|
571
|
-
* @throws {RequiredError}
|
|
572
|
-
*/
|
|
573
|
-
async getLead(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
574
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getLead(code, authorization, options);
|
|
575
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
576
|
-
},
|
|
577
|
-
/**
|
|
578
|
-
*
|
|
394
|
+
* This will generate a custom css for booking funnel, based on product.
|
|
395
|
+
* @summary Generate a custom CSS
|
|
579
396
|
* @param {string} productCode
|
|
580
397
|
* @param {string} [authorization] Bearer Token
|
|
581
398
|
* @param {*} [options] Override http request option.
|
|
582
399
|
* @throws {RequiredError}
|
|
583
400
|
*/
|
|
584
|
-
async getProductCustomCss(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
401
|
+
async getProductCustomCss(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomCssResponseClass>> {
|
|
585
402
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getProductCustomCss(productCode, authorization, options);
|
|
586
403
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
587
404
|
},
|
|
588
405
|
/**
|
|
589
|
-
*
|
|
406
|
+
* 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.
|
|
407
|
+
* @summary List product factors
|
|
590
408
|
* @param {string} productCode
|
|
591
409
|
* @param {string} allValues
|
|
592
410
|
* @param {string} [authorization] Bearer Token
|
|
593
411
|
* @param {*} [options] Override http request option.
|
|
594
412
|
* @throws {RequiredError}
|
|
595
413
|
*/
|
|
596
|
-
async getProductFactors(productCode: string, allValues: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
414
|
+
async getProductFactors(productCode: string, allValues: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductFactorClass>>> {
|
|
597
415
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getProductFactors(productCode, allValues, authorization, options);
|
|
598
416
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
599
417
|
},
|
|
600
|
-
/**
|
|
601
|
-
*
|
|
602
|
-
* @param {string} [authorization] Bearer Token
|
|
603
|
-
* @param {*} [options] Override http request option.
|
|
604
|
-
* @throws {RequiredError}
|
|
605
|
-
*/
|
|
606
|
-
async initiateLead(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
607
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.initiateLead(authorization, options);
|
|
608
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
609
|
-
},
|
|
610
|
-
/**
|
|
611
|
-
*
|
|
612
|
-
* @param {string} code
|
|
613
|
-
* @param {UpdateLeadRequestDto} updateLeadRequestDto
|
|
614
|
-
* @param {string} [authorization] Bearer Token
|
|
615
|
-
* @param {*} [options] Override http request option.
|
|
616
|
-
* @throws {RequiredError}
|
|
617
|
-
*/
|
|
618
|
-
async updateLead(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
619
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateLead(code, updateLeadRequestDto, authorization, options);
|
|
620
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
621
|
-
},
|
|
622
418
|
}
|
|
623
419
|
};
|
|
624
420
|
|
|
@@ -630,107 +426,73 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
630
426
|
const localVarFp = ProductsApiFp(configuration)
|
|
631
427
|
return {
|
|
632
428
|
/**
|
|
633
|
-
*
|
|
429
|
+
* This will create an invoice product.
|
|
430
|
+
* @summary Create the invoice product
|
|
634
431
|
* @param {string} productCode
|
|
635
432
|
* @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto
|
|
636
433
|
* @param {string} [authorization] Bearer Token
|
|
637
434
|
* @param {*} [options] Override http request option.
|
|
638
435
|
* @throws {RequiredError}
|
|
639
436
|
*/
|
|
640
|
-
createEstimatedInvoice(productCode: string, createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
437
|
+
createEstimatedInvoice(productCode: string, createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<CreateEstimatedInvoiceResponseClass> {
|
|
641
438
|
return localVarFp.createEstimatedInvoice(productCode, createEstimatedInvoiceRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
642
439
|
},
|
|
643
440
|
/**
|
|
644
|
-
*
|
|
645
|
-
* @
|
|
646
|
-
* @param {string} [authorization] Bearer Token
|
|
647
|
-
* @param {*} [options] Override http request option.
|
|
648
|
-
* @throws {RequiredError}
|
|
649
|
-
*/
|
|
650
|
-
createLead(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
|
|
651
|
-
return localVarFp.createLead(createLeadRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
652
|
-
},
|
|
653
|
-
/**
|
|
654
|
-
*
|
|
441
|
+
* This will create a custom application for a specific provider.
|
|
442
|
+
* @summary Create the custom application
|
|
655
443
|
* @param {string} productCode
|
|
656
444
|
* @param {CreateCustomApplicationRequestDto} createCustomApplicationRequestDto
|
|
657
445
|
* @param {string} [authorization] Bearer Token
|
|
658
446
|
* @param {*} [options] Override http request option.
|
|
659
447
|
* @throws {RequiredError}
|
|
660
448
|
*/
|
|
661
|
-
customApplication(productCode: string, createCustomApplicationRequestDto: CreateCustomApplicationRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
449
|
+
customApplication(productCode: string, createCustomApplicationRequestDto: CreateCustomApplicationRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCustomApplicationResponseClass> {
|
|
662
450
|
return localVarFp.customApplication(productCode, createCustomApplicationRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
663
451
|
},
|
|
664
452
|
/**
|
|
665
|
-
*
|
|
453
|
+
* 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.
|
|
454
|
+
* @summary List insured object types
|
|
666
455
|
* @param {string} [authorization] Bearer Token
|
|
667
456
|
* @param {*} [options] Override http request option.
|
|
668
457
|
* @throws {RequiredError}
|
|
669
458
|
*/
|
|
670
|
-
getInsuredObjectTypes(authorization?: string, options?: any): AxiosPromise<
|
|
459
|
+
getInsuredObjectTypes(authorization?: string, options?: any): AxiosPromise<Array<InsuredObjectTypeClass>> {
|
|
671
460
|
return localVarFp.getInsuredObjectTypes(authorization, options).then((request) => request(axios, basePath));
|
|
672
461
|
},
|
|
673
462
|
/**
|
|
674
|
-
*
|
|
463
|
+
* 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.
|
|
464
|
+
* @summary List insured objects
|
|
675
465
|
* @param {string} productCode
|
|
676
466
|
* @param {string} [authorization] Bearer Token
|
|
677
467
|
* @param {*} [options] Override http request option.
|
|
678
468
|
* @throws {RequiredError}
|
|
679
469
|
*/
|
|
680
|
-
getInsuredObjects(productCode: string, authorization?: string, options?: any): AxiosPromise<
|
|
470
|
+
getInsuredObjects(productCode: string, authorization?: string, options?: any): AxiosPromise<Array<InsuredObjectClass>> {
|
|
681
471
|
return localVarFp.getInsuredObjects(productCode, authorization, options).then((request) => request(axios, basePath));
|
|
682
472
|
},
|
|
683
473
|
/**
|
|
684
|
-
*
|
|
685
|
-
* @
|
|
686
|
-
* @param {string} [authorization] Bearer Token
|
|
687
|
-
* @param {*} [options] Override http request option.
|
|
688
|
-
* @throws {RequiredError}
|
|
689
|
-
*/
|
|
690
|
-
getLead(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
691
|
-
return localVarFp.getLead(code, authorization, options).then((request) => request(axios, basePath));
|
|
692
|
-
},
|
|
693
|
-
/**
|
|
694
|
-
*
|
|
474
|
+
* This will generate a custom css for booking funnel, based on product.
|
|
475
|
+
* @summary Generate a custom CSS
|
|
695
476
|
* @param {string} productCode
|
|
696
477
|
* @param {string} [authorization] Bearer Token
|
|
697
478
|
* @param {*} [options] Override http request option.
|
|
698
479
|
* @throws {RequiredError}
|
|
699
480
|
*/
|
|
700
|
-
getProductCustomCss(productCode: string, authorization?: string, options?: any): AxiosPromise<
|
|
481
|
+
getProductCustomCss(productCode: string, authorization?: string, options?: any): AxiosPromise<GetCustomCssResponseClass> {
|
|
701
482
|
return localVarFp.getProductCustomCss(productCode, authorization, options).then((request) => request(axios, basePath));
|
|
702
483
|
},
|
|
703
484
|
/**
|
|
704
|
-
*
|
|
485
|
+
* 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.
|
|
486
|
+
* @summary List product factors
|
|
705
487
|
* @param {string} productCode
|
|
706
488
|
* @param {string} allValues
|
|
707
489
|
* @param {string} [authorization] Bearer Token
|
|
708
490
|
* @param {*} [options] Override http request option.
|
|
709
491
|
* @throws {RequiredError}
|
|
710
492
|
*/
|
|
711
|
-
getProductFactors(productCode: string, allValues: string, authorization?: string, options?: any): AxiosPromise<
|
|
493
|
+
getProductFactors(productCode: string, allValues: string, authorization?: string, options?: any): AxiosPromise<Array<ProductFactorClass>> {
|
|
712
494
|
return localVarFp.getProductFactors(productCode, allValues, authorization, options).then((request) => request(axios, basePath));
|
|
713
495
|
},
|
|
714
|
-
/**
|
|
715
|
-
*
|
|
716
|
-
* @param {string} [authorization] Bearer Token
|
|
717
|
-
* @param {*} [options] Override http request option.
|
|
718
|
-
* @throws {RequiredError}
|
|
719
|
-
*/
|
|
720
|
-
initiateLead(authorization?: string, options?: any): AxiosPromise<void> {
|
|
721
|
-
return localVarFp.initiateLead(authorization, options).then((request) => request(axios, basePath));
|
|
722
|
-
},
|
|
723
|
-
/**
|
|
724
|
-
*
|
|
725
|
-
* @param {string} code
|
|
726
|
-
* @param {UpdateLeadRequestDto} updateLeadRequestDto
|
|
727
|
-
* @param {string} [authorization] Bearer Token
|
|
728
|
-
* @param {*} [options] Override http request option.
|
|
729
|
-
* @throws {RequiredError}
|
|
730
|
-
*/
|
|
731
|
-
updateLead(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
|
|
732
|
-
return localVarFp.updateLead(code, updateLeadRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
733
|
-
},
|
|
734
496
|
};
|
|
735
497
|
};
|
|
736
498
|
|
|
@@ -762,27 +524,6 @@ export interface ProductsApiCreateEstimatedInvoiceRequest {
|
|
|
762
524
|
readonly authorization?: string
|
|
763
525
|
}
|
|
764
526
|
|
|
765
|
-
/**
|
|
766
|
-
* Request parameters for createLead operation in ProductsApi.
|
|
767
|
-
* @export
|
|
768
|
-
* @interface ProductsApiCreateLeadRequest
|
|
769
|
-
*/
|
|
770
|
-
export interface ProductsApiCreateLeadRequest {
|
|
771
|
-
/**
|
|
772
|
-
*
|
|
773
|
-
* @type {CreateLeadRequestDto}
|
|
774
|
-
* @memberof ProductsApiCreateLead
|
|
775
|
-
*/
|
|
776
|
-
readonly createLeadRequestDto: CreateLeadRequestDto
|
|
777
|
-
|
|
778
|
-
/**
|
|
779
|
-
* Bearer Token
|
|
780
|
-
* @type {string}
|
|
781
|
-
* @memberof ProductsApiCreateLead
|
|
782
|
-
*/
|
|
783
|
-
readonly authorization?: string
|
|
784
|
-
}
|
|
785
|
-
|
|
786
527
|
/**
|
|
787
528
|
* Request parameters for customApplication operation in ProductsApi.
|
|
788
529
|
* @export
|
|
@@ -846,27 +587,6 @@ export interface ProductsApiGetInsuredObjectsRequest {
|
|
|
846
587
|
readonly authorization?: string
|
|
847
588
|
}
|
|
848
589
|
|
|
849
|
-
/**
|
|
850
|
-
* Request parameters for getLead operation in ProductsApi.
|
|
851
|
-
* @export
|
|
852
|
-
* @interface ProductsApiGetLeadRequest
|
|
853
|
-
*/
|
|
854
|
-
export interface ProductsApiGetLeadRequest {
|
|
855
|
-
/**
|
|
856
|
-
*
|
|
857
|
-
* @type {string}
|
|
858
|
-
* @memberof ProductsApiGetLead
|
|
859
|
-
*/
|
|
860
|
-
readonly code: string
|
|
861
|
-
|
|
862
|
-
/**
|
|
863
|
-
* Bearer Token
|
|
864
|
-
* @type {string}
|
|
865
|
-
* @memberof ProductsApiGetLead
|
|
866
|
-
*/
|
|
867
|
-
readonly authorization?: string
|
|
868
|
-
}
|
|
869
|
-
|
|
870
590
|
/**
|
|
871
591
|
* Request parameters for getProductCustomCss operation in ProductsApi.
|
|
872
592
|
* @export
|
|
@@ -916,48 +636,6 @@ export interface ProductsApiGetProductFactorsRequest {
|
|
|
916
636
|
readonly authorization?: string
|
|
917
637
|
}
|
|
918
638
|
|
|
919
|
-
/**
|
|
920
|
-
* Request parameters for initiateLead operation in ProductsApi.
|
|
921
|
-
* @export
|
|
922
|
-
* @interface ProductsApiInitiateLeadRequest
|
|
923
|
-
*/
|
|
924
|
-
export interface ProductsApiInitiateLeadRequest {
|
|
925
|
-
/**
|
|
926
|
-
* Bearer Token
|
|
927
|
-
* @type {string}
|
|
928
|
-
* @memberof ProductsApiInitiateLead
|
|
929
|
-
*/
|
|
930
|
-
readonly authorization?: string
|
|
931
|
-
}
|
|
932
|
-
|
|
933
|
-
/**
|
|
934
|
-
* Request parameters for updateLead operation in ProductsApi.
|
|
935
|
-
* @export
|
|
936
|
-
* @interface ProductsApiUpdateLeadRequest
|
|
937
|
-
*/
|
|
938
|
-
export interface ProductsApiUpdateLeadRequest {
|
|
939
|
-
/**
|
|
940
|
-
*
|
|
941
|
-
* @type {string}
|
|
942
|
-
* @memberof ProductsApiUpdateLead
|
|
943
|
-
*/
|
|
944
|
-
readonly code: string
|
|
945
|
-
|
|
946
|
-
/**
|
|
947
|
-
*
|
|
948
|
-
* @type {UpdateLeadRequestDto}
|
|
949
|
-
* @memberof ProductsApiUpdateLead
|
|
950
|
-
*/
|
|
951
|
-
readonly updateLeadRequestDto: UpdateLeadRequestDto
|
|
952
|
-
|
|
953
|
-
/**
|
|
954
|
-
* Bearer Token
|
|
955
|
-
* @type {string}
|
|
956
|
-
* @memberof ProductsApiUpdateLead
|
|
957
|
-
*/
|
|
958
|
-
readonly authorization?: string
|
|
959
|
-
}
|
|
960
|
-
|
|
961
639
|
/**
|
|
962
640
|
* ProductsApi - object-oriented interface
|
|
963
641
|
* @export
|
|
@@ -966,7 +644,8 @@ export interface ProductsApiUpdateLeadRequest {
|
|
|
966
644
|
*/
|
|
967
645
|
export class ProductsApi extends BaseAPI {
|
|
968
646
|
/**
|
|
969
|
-
*
|
|
647
|
+
* This will create an invoice product.
|
|
648
|
+
* @summary Create the invoice product
|
|
970
649
|
* @param {ProductsApiCreateEstimatedInvoiceRequest} requestParameters Request parameters.
|
|
971
650
|
* @param {*} [options] Override http request option.
|
|
972
651
|
* @throws {RequiredError}
|
|
@@ -977,18 +656,8 @@ export class ProductsApi extends BaseAPI {
|
|
|
977
656
|
}
|
|
978
657
|
|
|
979
658
|
/**
|
|
980
|
-
*
|
|
981
|
-
* @
|
|
982
|
-
* @param {*} [options] Override http request option.
|
|
983
|
-
* @throws {RequiredError}
|
|
984
|
-
* @memberof ProductsApi
|
|
985
|
-
*/
|
|
986
|
-
public createLead(requestParameters: ProductsApiCreateLeadRequest, options?: AxiosRequestConfig) {
|
|
987
|
-
return ProductsApiFp(this.configuration).createLead(requestParameters.createLeadRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
988
|
-
}
|
|
989
|
-
|
|
990
|
-
/**
|
|
991
|
-
*
|
|
659
|
+
* This will create a custom application for a specific provider.
|
|
660
|
+
* @summary Create the custom application
|
|
992
661
|
* @param {ProductsApiCustomApplicationRequest} requestParameters Request parameters.
|
|
993
662
|
* @param {*} [options] Override http request option.
|
|
994
663
|
* @throws {RequiredError}
|
|
@@ -999,7 +668,8 @@ export class ProductsApi extends BaseAPI {
|
|
|
999
668
|
}
|
|
1000
669
|
|
|
1001
670
|
/**
|
|
1002
|
-
*
|
|
671
|
+
* 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.
|
|
672
|
+
* @summary List insured object types
|
|
1003
673
|
* @param {ProductsApiGetInsuredObjectTypesRequest} requestParameters Request parameters.
|
|
1004
674
|
* @param {*} [options] Override http request option.
|
|
1005
675
|
* @throws {RequiredError}
|
|
@@ -1010,7 +680,8 @@ export class ProductsApi extends BaseAPI {
|
|
|
1010
680
|
}
|
|
1011
681
|
|
|
1012
682
|
/**
|
|
1013
|
-
*
|
|
683
|
+
* 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.
|
|
684
|
+
* @summary List insured objects
|
|
1014
685
|
* @param {ProductsApiGetInsuredObjectsRequest} requestParameters Request parameters.
|
|
1015
686
|
* @param {*} [options] Override http request option.
|
|
1016
687
|
* @throws {RequiredError}
|
|
@@ -1021,18 +692,8 @@ export class ProductsApi extends BaseAPI {
|
|
|
1021
692
|
}
|
|
1022
693
|
|
|
1023
694
|
/**
|
|
1024
|
-
*
|
|
1025
|
-
* @
|
|
1026
|
-
* @param {*} [options] Override http request option.
|
|
1027
|
-
* @throws {RequiredError}
|
|
1028
|
-
* @memberof ProductsApi
|
|
1029
|
-
*/
|
|
1030
|
-
public getLead(requestParameters: ProductsApiGetLeadRequest, options?: AxiosRequestConfig) {
|
|
1031
|
-
return ProductsApiFp(this.configuration).getLead(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1032
|
-
}
|
|
1033
|
-
|
|
1034
|
-
/**
|
|
1035
|
-
*
|
|
695
|
+
* This will generate a custom css for booking funnel, based on product.
|
|
696
|
+
* @summary Generate a custom CSS
|
|
1036
697
|
* @param {ProductsApiGetProductCustomCssRequest} requestParameters Request parameters.
|
|
1037
698
|
* @param {*} [options] Override http request option.
|
|
1038
699
|
* @throws {RequiredError}
|
|
@@ -1043,7 +704,8 @@ export class ProductsApi extends BaseAPI {
|
|
|
1043
704
|
}
|
|
1044
705
|
|
|
1045
706
|
/**
|
|
1046
|
-
*
|
|
707
|
+
* 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.
|
|
708
|
+
* @summary List product factors
|
|
1047
709
|
* @param {ProductsApiGetProductFactorsRequest} requestParameters Request parameters.
|
|
1048
710
|
* @param {*} [options] Override http request option.
|
|
1049
711
|
* @throws {RequiredError}
|
|
@@ -1052,26 +714,4 @@ export class ProductsApi extends BaseAPI {
|
|
|
1052
714
|
public getProductFactors(requestParameters: ProductsApiGetProductFactorsRequest, options?: AxiosRequestConfig) {
|
|
1053
715
|
return ProductsApiFp(this.configuration).getProductFactors(requestParameters.productCode, requestParameters.allValues, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1054
716
|
}
|
|
1055
|
-
|
|
1056
|
-
/**
|
|
1057
|
-
*
|
|
1058
|
-
* @param {ProductsApiInitiateLeadRequest} requestParameters Request parameters.
|
|
1059
|
-
* @param {*} [options] Override http request option.
|
|
1060
|
-
* @throws {RequiredError}
|
|
1061
|
-
* @memberof ProductsApi
|
|
1062
|
-
*/
|
|
1063
|
-
public initiateLead(requestParameters: ProductsApiInitiateLeadRequest = {}, options?: AxiosRequestConfig) {
|
|
1064
|
-
return ProductsApiFp(this.configuration).initiateLead(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1065
|
-
}
|
|
1066
|
-
|
|
1067
|
-
/**
|
|
1068
|
-
*
|
|
1069
|
-
* @param {ProductsApiUpdateLeadRequest} requestParameters Request parameters.
|
|
1070
|
-
* @param {*} [options] Override http request option.
|
|
1071
|
-
* @throws {RequiredError}
|
|
1072
|
-
* @memberof ProductsApi
|
|
1073
|
-
*/
|
|
1074
|
-
public updateLead(requestParameters: ProductsApiUpdateLeadRequest, options?: AxiosRequestConfig) {
|
|
1075
|
-
return ProductsApiFp(this.configuration).updateLead(requestParameters.code, requestParameters.updateLeadRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1076
|
-
}
|
|
1077
717
|
}
|