@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/dist/api/products-api.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
* The
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public API description
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
|
-
*
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -53,7 +53,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
56
|
-
while (_) try {
|
|
56
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
57
57
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
58
58
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
59
59
|
switch (op[0]) {
|
|
@@ -97,7 +97,8 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
*
|
|
100
|
+
* This will create an invoice product.
|
|
101
|
+
* @summary Create the invoice product
|
|
101
102
|
* @param {string} productCode
|
|
102
103
|
* @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto
|
|
103
104
|
* @param {string} [authorization] Bearer Token
|
|
@@ -149,55 +150,8 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
149
150
|
});
|
|
150
151
|
},
|
|
151
152
|
/**
|
|
152
|
-
*
|
|
153
|
-
* @
|
|
154
|
-
* @param {string} [authorization] Bearer Token
|
|
155
|
-
* @param {*} [options] Override http request option.
|
|
156
|
-
* @throws {RequiredError}
|
|
157
|
-
*/
|
|
158
|
-
createLead: function (createLeadRequestDto, authorization, options) {
|
|
159
|
-
if (options === void 0) { options = {}; }
|
|
160
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
161
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
162
|
-
return __generator(this, function (_a) {
|
|
163
|
-
switch (_a.label) {
|
|
164
|
-
case 0:
|
|
165
|
-
// verify required parameter 'createLeadRequestDto' is not null or undefined
|
|
166
|
-
(0, common_1.assertParamExists)('createLead', 'createLeadRequestDto', createLeadRequestDto);
|
|
167
|
-
localVarPath = "/publicapi/v1/leads";
|
|
168
|
-
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
169
|
-
if (configuration) {
|
|
170
|
-
baseOptions = configuration.baseOptions;
|
|
171
|
-
baseAccessToken = configuration.accessToken;
|
|
172
|
-
}
|
|
173
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
174
|
-
localVarHeaderParameter = {};
|
|
175
|
-
localVarQueryParameter = {};
|
|
176
|
-
// authentication bearer required
|
|
177
|
-
// http bearer authentication required
|
|
178
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
179
|
-
case 1:
|
|
180
|
-
// authentication bearer required
|
|
181
|
-
// http bearer authentication required
|
|
182
|
-
_a.sent();
|
|
183
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
184
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
185
|
-
}
|
|
186
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
187
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
188
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
189
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
190
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createLeadRequestDto, localVarRequestOptions, configuration);
|
|
191
|
-
return [2 /*return*/, {
|
|
192
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
193
|
-
options: localVarRequestOptions,
|
|
194
|
-
}];
|
|
195
|
-
}
|
|
196
|
-
});
|
|
197
|
-
});
|
|
198
|
-
},
|
|
199
|
-
/**
|
|
200
|
-
*
|
|
153
|
+
* This will create a custom application for a specific provider.
|
|
154
|
+
* @summary Create the custom application
|
|
201
155
|
* @param {string} productCode
|
|
202
156
|
* @param {CreateCustomApplicationRequestDto} createCustomApplicationRequestDto
|
|
203
157
|
* @param {string} [authorization] Bearer Token
|
|
@@ -249,7 +203,8 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
249
203
|
});
|
|
250
204
|
},
|
|
251
205
|
/**
|
|
252
|
-
*
|
|
206
|
+
* 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.
|
|
207
|
+
* @summary List insured object types
|
|
253
208
|
* @param {string} [authorization] Bearer Token
|
|
254
209
|
* @param {*} [options] Override http request option.
|
|
255
210
|
* @throws {RequiredError}
|
|
@@ -292,7 +247,8 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
292
247
|
});
|
|
293
248
|
},
|
|
294
249
|
/**
|
|
295
|
-
*
|
|
250
|
+
* 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.
|
|
251
|
+
* @summary List insured objects
|
|
296
252
|
* @param {string} productCode
|
|
297
253
|
* @param {string} [authorization] Bearer Token
|
|
298
254
|
* @param {*} [options] Override http request option.
|
|
@@ -339,54 +295,8 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
339
295
|
});
|
|
340
296
|
},
|
|
341
297
|
/**
|
|
342
|
-
*
|
|
343
|
-
* @
|
|
344
|
-
* @param {string} [authorization] Bearer Token
|
|
345
|
-
* @param {*} [options] Override http request option.
|
|
346
|
-
* @throws {RequiredError}
|
|
347
|
-
*/
|
|
348
|
-
getLead: function (code, authorization, options) {
|
|
349
|
-
if (options === void 0) { options = {}; }
|
|
350
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
351
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
352
|
-
return __generator(this, function (_a) {
|
|
353
|
-
switch (_a.label) {
|
|
354
|
-
case 0:
|
|
355
|
-
// verify required parameter 'code' is not null or undefined
|
|
356
|
-
(0, common_1.assertParamExists)('getLead', 'code', code);
|
|
357
|
-
localVarPath = "/publicapi/v1/leads/{code}"
|
|
358
|
-
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
359
|
-
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
360
|
-
if (configuration) {
|
|
361
|
-
baseOptions = configuration.baseOptions;
|
|
362
|
-
baseAccessToken = configuration.accessToken;
|
|
363
|
-
}
|
|
364
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
365
|
-
localVarHeaderParameter = {};
|
|
366
|
-
localVarQueryParameter = {};
|
|
367
|
-
// authentication bearer required
|
|
368
|
-
// http bearer authentication required
|
|
369
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
370
|
-
case 1:
|
|
371
|
-
// authentication bearer required
|
|
372
|
-
// http bearer authentication required
|
|
373
|
-
_a.sent();
|
|
374
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
375
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
376
|
-
}
|
|
377
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
378
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
379
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
380
|
-
return [2 /*return*/, {
|
|
381
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
382
|
-
options: localVarRequestOptions,
|
|
383
|
-
}];
|
|
384
|
-
}
|
|
385
|
-
});
|
|
386
|
-
});
|
|
387
|
-
},
|
|
388
|
-
/**
|
|
389
|
-
*
|
|
298
|
+
* This will generate a custom css for booking funnel, based on product.
|
|
299
|
+
* @summary Generate a custom CSS
|
|
390
300
|
* @param {string} productCode
|
|
391
301
|
* @param {string} [authorization] Bearer Token
|
|
392
302
|
* @param {*} [options] Override http request option.
|
|
@@ -433,7 +343,8 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
433
343
|
});
|
|
434
344
|
},
|
|
435
345
|
/**
|
|
436
|
-
*
|
|
346
|
+
* 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.
|
|
347
|
+
* @summary List product factors
|
|
437
348
|
* @param {string} productCode
|
|
438
349
|
* @param {string} allValues
|
|
439
350
|
* @param {string} [authorization] Bearer Token
|
|
@@ -485,101 +396,6 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
485
396
|
});
|
|
486
397
|
});
|
|
487
398
|
},
|
|
488
|
-
/**
|
|
489
|
-
*
|
|
490
|
-
* @param {string} [authorization] Bearer Token
|
|
491
|
-
* @param {*} [options] Override http request option.
|
|
492
|
-
* @throws {RequiredError}
|
|
493
|
-
*/
|
|
494
|
-
initiateLead: function (authorization, options) {
|
|
495
|
-
if (options === void 0) { options = {}; }
|
|
496
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
497
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
498
|
-
return __generator(this, function (_a) {
|
|
499
|
-
switch (_a.label) {
|
|
500
|
-
case 0:
|
|
501
|
-
localVarPath = "/publicapi/v1/leads/initiate";
|
|
502
|
-
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
503
|
-
if (configuration) {
|
|
504
|
-
baseOptions = configuration.baseOptions;
|
|
505
|
-
baseAccessToken = configuration.accessToken;
|
|
506
|
-
}
|
|
507
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
508
|
-
localVarHeaderParameter = {};
|
|
509
|
-
localVarQueryParameter = {};
|
|
510
|
-
// authentication bearer required
|
|
511
|
-
// http bearer authentication required
|
|
512
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
513
|
-
case 1:
|
|
514
|
-
// authentication bearer required
|
|
515
|
-
// http bearer authentication required
|
|
516
|
-
_a.sent();
|
|
517
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
518
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
519
|
-
}
|
|
520
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
521
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
522
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
523
|
-
return [2 /*return*/, {
|
|
524
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
525
|
-
options: localVarRequestOptions,
|
|
526
|
-
}];
|
|
527
|
-
}
|
|
528
|
-
});
|
|
529
|
-
});
|
|
530
|
-
},
|
|
531
|
-
/**
|
|
532
|
-
*
|
|
533
|
-
* @param {string} code
|
|
534
|
-
* @param {UpdateLeadRequestDto} updateLeadRequestDto
|
|
535
|
-
* @param {string} [authorization] Bearer Token
|
|
536
|
-
* @param {*} [options] Override http request option.
|
|
537
|
-
* @throws {RequiredError}
|
|
538
|
-
*/
|
|
539
|
-
updateLead: function (code, updateLeadRequestDto, authorization, options) {
|
|
540
|
-
if (options === void 0) { options = {}; }
|
|
541
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
542
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
543
|
-
return __generator(this, function (_a) {
|
|
544
|
-
switch (_a.label) {
|
|
545
|
-
case 0:
|
|
546
|
-
// verify required parameter 'code' is not null or undefined
|
|
547
|
-
(0, common_1.assertParamExists)('updateLead', 'code', code);
|
|
548
|
-
// verify required parameter 'updateLeadRequestDto' is not null or undefined
|
|
549
|
-
(0, common_1.assertParamExists)('updateLead', 'updateLeadRequestDto', updateLeadRequestDto);
|
|
550
|
-
localVarPath = "/publicapi/v1/leads/{code}"
|
|
551
|
-
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
552
|
-
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
553
|
-
if (configuration) {
|
|
554
|
-
baseOptions = configuration.baseOptions;
|
|
555
|
-
baseAccessToken = configuration.accessToken;
|
|
556
|
-
}
|
|
557
|
-
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
558
|
-
localVarHeaderParameter = {};
|
|
559
|
-
localVarQueryParameter = {};
|
|
560
|
-
// authentication bearer required
|
|
561
|
-
// http bearer authentication required
|
|
562
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
563
|
-
case 1:
|
|
564
|
-
// authentication bearer required
|
|
565
|
-
// http bearer authentication required
|
|
566
|
-
_a.sent();
|
|
567
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
568
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
569
|
-
}
|
|
570
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
571
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
572
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
573
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
574
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateLeadRequestDto, localVarRequestOptions, configuration);
|
|
575
|
-
return [2 /*return*/, {
|
|
576
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
577
|
-
options: localVarRequestOptions,
|
|
578
|
-
}];
|
|
579
|
-
}
|
|
580
|
-
});
|
|
581
|
-
});
|
|
582
|
-
},
|
|
583
399
|
};
|
|
584
400
|
};
|
|
585
401
|
exports.ProductsApiAxiosParamCreator = ProductsApiAxiosParamCreator;
|
|
@@ -591,7 +407,8 @@ var ProductsApiFp = function (configuration) {
|
|
|
591
407
|
var localVarAxiosParamCreator = (0, exports.ProductsApiAxiosParamCreator)(configuration);
|
|
592
408
|
return {
|
|
593
409
|
/**
|
|
594
|
-
*
|
|
410
|
+
* This will create an invoice product.
|
|
411
|
+
* @summary Create the invoice product
|
|
595
412
|
* @param {string} productCode
|
|
596
413
|
* @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto
|
|
597
414
|
* @param {string} [authorization] Bearer Token
|
|
@@ -612,27 +429,8 @@ var ProductsApiFp = function (configuration) {
|
|
|
612
429
|
});
|
|
613
430
|
},
|
|
614
431
|
/**
|
|
615
|
-
*
|
|
616
|
-
* @
|
|
617
|
-
* @param {string} [authorization] Bearer Token
|
|
618
|
-
* @param {*} [options] Override http request option.
|
|
619
|
-
* @throws {RequiredError}
|
|
620
|
-
*/
|
|
621
|
-
createLead: function (createLeadRequestDto, authorization, options) {
|
|
622
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
623
|
-
var localVarAxiosArgs;
|
|
624
|
-
return __generator(this, function (_a) {
|
|
625
|
-
switch (_a.label) {
|
|
626
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createLead(createLeadRequestDto, authorization, options)];
|
|
627
|
-
case 1:
|
|
628
|
-
localVarAxiosArgs = _a.sent();
|
|
629
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
630
|
-
}
|
|
631
|
-
});
|
|
632
|
-
});
|
|
633
|
-
},
|
|
634
|
-
/**
|
|
635
|
-
*
|
|
432
|
+
* This will create a custom application for a specific provider.
|
|
433
|
+
* @summary Create the custom application
|
|
636
434
|
* @param {string} productCode
|
|
637
435
|
* @param {CreateCustomApplicationRequestDto} createCustomApplicationRequestDto
|
|
638
436
|
* @param {string} [authorization] Bearer Token
|
|
@@ -653,7 +451,8 @@ var ProductsApiFp = function (configuration) {
|
|
|
653
451
|
});
|
|
654
452
|
},
|
|
655
453
|
/**
|
|
656
|
-
*
|
|
454
|
+
* 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.
|
|
455
|
+
* @summary List insured object types
|
|
657
456
|
* @param {string} [authorization] Bearer Token
|
|
658
457
|
* @param {*} [options] Override http request option.
|
|
659
458
|
* @throws {RequiredError}
|
|
@@ -672,7 +471,8 @@ var ProductsApiFp = function (configuration) {
|
|
|
672
471
|
});
|
|
673
472
|
},
|
|
674
473
|
/**
|
|
675
|
-
*
|
|
474
|
+
* 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.
|
|
475
|
+
* @summary List insured objects
|
|
676
476
|
* @param {string} productCode
|
|
677
477
|
* @param {string} [authorization] Bearer Token
|
|
678
478
|
* @param {*} [options] Override http request option.
|
|
@@ -692,27 +492,8 @@ var ProductsApiFp = function (configuration) {
|
|
|
692
492
|
});
|
|
693
493
|
},
|
|
694
494
|
/**
|
|
695
|
-
*
|
|
696
|
-
* @
|
|
697
|
-
* @param {string} [authorization] Bearer Token
|
|
698
|
-
* @param {*} [options] Override http request option.
|
|
699
|
-
* @throws {RequiredError}
|
|
700
|
-
*/
|
|
701
|
-
getLead: function (code, authorization, options) {
|
|
702
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
703
|
-
var localVarAxiosArgs;
|
|
704
|
-
return __generator(this, function (_a) {
|
|
705
|
-
switch (_a.label) {
|
|
706
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getLead(code, authorization, options)];
|
|
707
|
-
case 1:
|
|
708
|
-
localVarAxiosArgs = _a.sent();
|
|
709
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
710
|
-
}
|
|
711
|
-
});
|
|
712
|
-
});
|
|
713
|
-
},
|
|
714
|
-
/**
|
|
715
|
-
*
|
|
495
|
+
* This will generate a custom css for booking funnel, based on product.
|
|
496
|
+
* @summary Generate a custom CSS
|
|
716
497
|
* @param {string} productCode
|
|
717
498
|
* @param {string} [authorization] Bearer Token
|
|
718
499
|
* @param {*} [options] Override http request option.
|
|
@@ -732,7 +513,8 @@ var ProductsApiFp = function (configuration) {
|
|
|
732
513
|
});
|
|
733
514
|
},
|
|
734
515
|
/**
|
|
735
|
-
*
|
|
516
|
+
* 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.
|
|
517
|
+
* @summary List product factors
|
|
736
518
|
* @param {string} productCode
|
|
737
519
|
* @param {string} allValues
|
|
738
520
|
* @param {string} [authorization] Bearer Token
|
|
@@ -752,46 +534,6 @@ var ProductsApiFp = function (configuration) {
|
|
|
752
534
|
});
|
|
753
535
|
});
|
|
754
536
|
},
|
|
755
|
-
/**
|
|
756
|
-
*
|
|
757
|
-
* @param {string} [authorization] Bearer Token
|
|
758
|
-
* @param {*} [options] Override http request option.
|
|
759
|
-
* @throws {RequiredError}
|
|
760
|
-
*/
|
|
761
|
-
initiateLead: function (authorization, options) {
|
|
762
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
763
|
-
var localVarAxiosArgs;
|
|
764
|
-
return __generator(this, function (_a) {
|
|
765
|
-
switch (_a.label) {
|
|
766
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.initiateLead(authorization, options)];
|
|
767
|
-
case 1:
|
|
768
|
-
localVarAxiosArgs = _a.sent();
|
|
769
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
770
|
-
}
|
|
771
|
-
});
|
|
772
|
-
});
|
|
773
|
-
},
|
|
774
|
-
/**
|
|
775
|
-
*
|
|
776
|
-
* @param {string} code
|
|
777
|
-
* @param {UpdateLeadRequestDto} updateLeadRequestDto
|
|
778
|
-
* @param {string} [authorization] Bearer Token
|
|
779
|
-
* @param {*} [options] Override http request option.
|
|
780
|
-
* @throws {RequiredError}
|
|
781
|
-
*/
|
|
782
|
-
updateLead: function (code, updateLeadRequestDto, authorization, options) {
|
|
783
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
784
|
-
var localVarAxiosArgs;
|
|
785
|
-
return __generator(this, function (_a) {
|
|
786
|
-
switch (_a.label) {
|
|
787
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateLead(code, updateLeadRequestDto, authorization, options)];
|
|
788
|
-
case 1:
|
|
789
|
-
localVarAxiosArgs = _a.sent();
|
|
790
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
791
|
-
}
|
|
792
|
-
});
|
|
793
|
-
});
|
|
794
|
-
},
|
|
795
537
|
};
|
|
796
538
|
};
|
|
797
539
|
exports.ProductsApiFp = ProductsApiFp;
|
|
@@ -803,7 +545,8 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
803
545
|
var localVarFp = (0, exports.ProductsApiFp)(configuration);
|
|
804
546
|
return {
|
|
805
547
|
/**
|
|
806
|
-
*
|
|
548
|
+
* This will create an invoice product.
|
|
549
|
+
* @summary Create the invoice product
|
|
807
550
|
* @param {string} productCode
|
|
808
551
|
* @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto
|
|
809
552
|
* @param {string} [authorization] Bearer Token
|
|
@@ -814,17 +557,8 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
814
557
|
return localVarFp.createEstimatedInvoice(productCode, createEstimatedInvoiceRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
815
558
|
},
|
|
816
559
|
/**
|
|
817
|
-
*
|
|
818
|
-
* @
|
|
819
|
-
* @param {string} [authorization] Bearer Token
|
|
820
|
-
* @param {*} [options] Override http request option.
|
|
821
|
-
* @throws {RequiredError}
|
|
822
|
-
*/
|
|
823
|
-
createLead: function (createLeadRequestDto, authorization, options) {
|
|
824
|
-
return localVarFp.createLead(createLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
825
|
-
},
|
|
826
|
-
/**
|
|
827
|
-
*
|
|
560
|
+
* This will create a custom application for a specific provider.
|
|
561
|
+
* @summary Create the custom application
|
|
828
562
|
* @param {string} productCode
|
|
829
563
|
* @param {CreateCustomApplicationRequestDto} createCustomApplicationRequestDto
|
|
830
564
|
* @param {string} [authorization] Bearer Token
|
|
@@ -835,7 +569,8 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
835
569
|
return localVarFp.customApplication(productCode, createCustomApplicationRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
836
570
|
},
|
|
837
571
|
/**
|
|
838
|
-
*
|
|
572
|
+
* 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.
|
|
573
|
+
* @summary List insured object types
|
|
839
574
|
* @param {string} [authorization] Bearer Token
|
|
840
575
|
* @param {*} [options] Override http request option.
|
|
841
576
|
* @throws {RequiredError}
|
|
@@ -844,7 +579,8 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
844
579
|
return localVarFp.getInsuredObjectTypes(authorization, options).then(function (request) { return request(axios, basePath); });
|
|
845
580
|
},
|
|
846
581
|
/**
|
|
847
|
-
*
|
|
582
|
+
* 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.
|
|
583
|
+
* @summary List insured objects
|
|
848
584
|
* @param {string} productCode
|
|
849
585
|
* @param {string} [authorization] Bearer Token
|
|
850
586
|
* @param {*} [options] Override http request option.
|
|
@@ -854,17 +590,8 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
854
590
|
return localVarFp.getInsuredObjects(productCode, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
855
591
|
},
|
|
856
592
|
/**
|
|
857
|
-
*
|
|
858
|
-
* @
|
|
859
|
-
* @param {string} [authorization] Bearer Token
|
|
860
|
-
* @param {*} [options] Override http request option.
|
|
861
|
-
* @throws {RequiredError}
|
|
862
|
-
*/
|
|
863
|
-
getLead: function (code, authorization, options) {
|
|
864
|
-
return localVarFp.getLead(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
865
|
-
},
|
|
866
|
-
/**
|
|
867
|
-
*
|
|
593
|
+
* This will generate a custom css for booking funnel, based on product.
|
|
594
|
+
* @summary Generate a custom CSS
|
|
868
595
|
* @param {string} productCode
|
|
869
596
|
* @param {string} [authorization] Bearer Token
|
|
870
597
|
* @param {*} [options] Override http request option.
|
|
@@ -874,7 +601,8 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
874
601
|
return localVarFp.getProductCustomCss(productCode, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
875
602
|
},
|
|
876
603
|
/**
|
|
877
|
-
*
|
|
604
|
+
* 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.
|
|
605
|
+
* @summary List product factors
|
|
878
606
|
* @param {string} productCode
|
|
879
607
|
* @param {string} allValues
|
|
880
608
|
* @param {string} [authorization] Bearer Token
|
|
@@ -884,26 +612,6 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
884
612
|
getProductFactors: function (productCode, allValues, authorization, options) {
|
|
885
613
|
return localVarFp.getProductFactors(productCode, allValues, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
886
614
|
},
|
|
887
|
-
/**
|
|
888
|
-
*
|
|
889
|
-
* @param {string} [authorization] Bearer Token
|
|
890
|
-
* @param {*} [options] Override http request option.
|
|
891
|
-
* @throws {RequiredError}
|
|
892
|
-
*/
|
|
893
|
-
initiateLead: function (authorization, options) {
|
|
894
|
-
return localVarFp.initiateLead(authorization, options).then(function (request) { return request(axios, basePath); });
|
|
895
|
-
},
|
|
896
|
-
/**
|
|
897
|
-
*
|
|
898
|
-
* @param {string} code
|
|
899
|
-
* @param {UpdateLeadRequestDto} updateLeadRequestDto
|
|
900
|
-
* @param {string} [authorization] Bearer Token
|
|
901
|
-
* @param {*} [options] Override http request option.
|
|
902
|
-
* @throws {RequiredError}
|
|
903
|
-
*/
|
|
904
|
-
updateLead: function (code, updateLeadRequestDto, authorization, options) {
|
|
905
|
-
return localVarFp.updateLead(code, updateLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
906
|
-
},
|
|
907
615
|
};
|
|
908
616
|
};
|
|
909
617
|
exports.ProductsApiFactory = ProductsApiFactory;
|
|
@@ -919,7 +627,8 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
919
627
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
920
628
|
}
|
|
921
629
|
/**
|
|
922
|
-
*
|
|
630
|
+
* This will create an invoice product.
|
|
631
|
+
* @summary Create the invoice product
|
|
923
632
|
* @param {ProductsApiCreateEstimatedInvoiceRequest} requestParameters Request parameters.
|
|
924
633
|
* @param {*} [options] Override http request option.
|
|
925
634
|
* @throws {RequiredError}
|
|
@@ -930,18 +639,8 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
930
639
|
return (0, exports.ProductsApiFp)(this.configuration).createEstimatedInvoice(requestParameters.productCode, requestParameters.createEstimatedInvoiceRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
931
640
|
};
|
|
932
641
|
/**
|
|
933
|
-
*
|
|
934
|
-
* @
|
|
935
|
-
* @param {*} [options] Override http request option.
|
|
936
|
-
* @throws {RequiredError}
|
|
937
|
-
* @memberof ProductsApi
|
|
938
|
-
*/
|
|
939
|
-
ProductsApi.prototype.createLead = function (requestParameters, options) {
|
|
940
|
-
var _this = this;
|
|
941
|
-
return (0, exports.ProductsApiFp)(this.configuration).createLead(requestParameters.createLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
942
|
-
};
|
|
943
|
-
/**
|
|
944
|
-
*
|
|
642
|
+
* This will create a custom application for a specific provider.
|
|
643
|
+
* @summary Create the custom application
|
|
945
644
|
* @param {ProductsApiCustomApplicationRequest} requestParameters Request parameters.
|
|
946
645
|
* @param {*} [options] Override http request option.
|
|
947
646
|
* @throws {RequiredError}
|
|
@@ -952,7 +651,8 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
952
651
|
return (0, exports.ProductsApiFp)(this.configuration).customApplication(requestParameters.productCode, requestParameters.createCustomApplicationRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
953
652
|
};
|
|
954
653
|
/**
|
|
955
|
-
*
|
|
654
|
+
* 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.
|
|
655
|
+
* @summary List insured object types
|
|
956
656
|
* @param {ProductsApiGetInsuredObjectTypesRequest} requestParameters Request parameters.
|
|
957
657
|
* @param {*} [options] Override http request option.
|
|
958
658
|
* @throws {RequiredError}
|
|
@@ -964,7 +664,8 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
964
664
|
return (0, exports.ProductsApiFp)(this.configuration).getInsuredObjectTypes(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
965
665
|
};
|
|
966
666
|
/**
|
|
967
|
-
*
|
|
667
|
+
* 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.
|
|
668
|
+
* @summary List insured objects
|
|
968
669
|
* @param {ProductsApiGetInsuredObjectsRequest} requestParameters Request parameters.
|
|
969
670
|
* @param {*} [options] Override http request option.
|
|
970
671
|
* @throws {RequiredError}
|
|
@@ -975,18 +676,8 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
975
676
|
return (0, exports.ProductsApiFp)(this.configuration).getInsuredObjects(requestParameters.productCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
976
677
|
};
|
|
977
678
|
/**
|
|
978
|
-
*
|
|
979
|
-
* @
|
|
980
|
-
* @param {*} [options] Override http request option.
|
|
981
|
-
* @throws {RequiredError}
|
|
982
|
-
* @memberof ProductsApi
|
|
983
|
-
*/
|
|
984
|
-
ProductsApi.prototype.getLead = function (requestParameters, options) {
|
|
985
|
-
var _this = this;
|
|
986
|
-
return (0, exports.ProductsApiFp)(this.configuration).getLead(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
987
|
-
};
|
|
988
|
-
/**
|
|
989
|
-
*
|
|
679
|
+
* This will generate a custom css for booking funnel, based on product.
|
|
680
|
+
* @summary Generate a custom CSS
|
|
990
681
|
* @param {ProductsApiGetProductCustomCssRequest} requestParameters Request parameters.
|
|
991
682
|
* @param {*} [options] Override http request option.
|
|
992
683
|
* @throws {RequiredError}
|
|
@@ -997,7 +688,8 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
997
688
|
return (0, exports.ProductsApiFp)(this.configuration).getProductCustomCss(requestParameters.productCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
998
689
|
};
|
|
999
690
|
/**
|
|
1000
|
-
*
|
|
691
|
+
* 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.
|
|
692
|
+
* @summary List product factors
|
|
1001
693
|
* @param {ProductsApiGetProductFactorsRequest} requestParameters Request parameters.
|
|
1002
694
|
* @param {*} [options] Override http request option.
|
|
1003
695
|
* @throws {RequiredError}
|
|
@@ -1007,29 +699,6 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
1007
699
|
var _this = this;
|
|
1008
700
|
return (0, exports.ProductsApiFp)(this.configuration).getProductFactors(requestParameters.productCode, requestParameters.allValues, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1009
701
|
};
|
|
1010
|
-
/**
|
|
1011
|
-
*
|
|
1012
|
-
* @param {ProductsApiInitiateLeadRequest} requestParameters Request parameters.
|
|
1013
|
-
* @param {*} [options] Override http request option.
|
|
1014
|
-
* @throws {RequiredError}
|
|
1015
|
-
* @memberof ProductsApi
|
|
1016
|
-
*/
|
|
1017
|
-
ProductsApi.prototype.initiateLead = function (requestParameters, options) {
|
|
1018
|
-
var _this = this;
|
|
1019
|
-
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1020
|
-
return (0, exports.ProductsApiFp)(this.configuration).initiateLead(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1021
|
-
};
|
|
1022
|
-
/**
|
|
1023
|
-
*
|
|
1024
|
-
* @param {ProductsApiUpdateLeadRequest} requestParameters Request parameters.
|
|
1025
|
-
* @param {*} [options] Override http request option.
|
|
1026
|
-
* @throws {RequiredError}
|
|
1027
|
-
* @memberof ProductsApi
|
|
1028
|
-
*/
|
|
1029
|
-
ProductsApi.prototype.updateLead = function (requestParameters, options) {
|
|
1030
|
-
var _this = this;
|
|
1031
|
-
return (0, exports.ProductsApiFp)(this.configuration).updateLead(requestParameters.code, requestParameters.updateLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1032
|
-
};
|
|
1033
702
|
return ProductsApi;
|
|
1034
703
|
}(base_1.BaseAPI));
|
|
1035
704
|
exports.ProductsApi = ProductsApi;
|
package/dist/api.d.ts
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* The
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public API description
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
export * from './api/documents-api';
|
|
13
|
+
export * from './api/leads-api';
|
|
13
14
|
export * from './api/notifications-api';
|
|
14
|
-
export * from './api/
|
|
15
|
+
export * from './api/payments-setup-api';
|
|
15
16
|
export * from './api/products-api';
|
|
16
17
|
export declare enum Environment {
|
|
17
18
|
Production = "https://apiv2.emil.de",
|