@emilgroup/public-api-sdk-node 1.0.1 → 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 +34 -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 +169 -0
- package/api/{payment-setup-api.ts → payments-setup-api.ts} +56 -44
- package/api/products-api.ts +88 -333
- package/api.ts +9 -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 +97 -0
- package/dist/api/notifications-api.js +228 -0
- 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 +82 -197
- package/dist/api/products-api.js +65 -300
- package/dist/api.d.ts +6 -4
- package/dist/api.js +6 -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 +29 -4
- 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 +7 -6
- package/dist/models/create-custom-application-request-dto.js +5 -4
- 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 +14 -6
- package/dist/models/create-estimated-invoice-request-dto.js +5 -4
- 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 +24 -17
- 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 +31 -0
- package/dist/models/index.js +31 -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 +53 -0
- package/dist/models/premium-override-dto.js +25 -0
- package/dist/models/premium-override-request-dto.d.ts +25 -0
- package/dist/models/premium-override-request-dto.js +15 -0
- package/dist/models/product-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 +36 -0
- package/dist/models/send-notification-request-dto.js +15 -0
- package/dist/models/send-notification-response-class.d.ts +24 -0
- package/dist/models/send-notification-response-class.js +15 -0
- package/dist/models/update-lead-request-dto.d.ts +84 -0
- package/dist/models/update-lead-request-dto.js +22 -0
- package/dist/models/update-lead-response-class.d.ts +25 -0
- package/dist/models/update-lead-response-class.js +15 -0
- package/dist/models/uploaded-document-dto.d.ts +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 +29 -3
- package/models/create-bank-account-request-dto.ts +7 -7
- package/models/create-custom-application-request-dto.ts +7 -6
- 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 +14 -6
- package/models/create-estimated-invoice-response-class.ts +31 -0
- package/models/create-lead-request-dto.ts +23 -16
- 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 +31 -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 +63 -0
- package/models/premium-override-request-dto.ts +31 -0
- package/models/product-factor-class.ts +60 -0
- package/models/product-field-class.ts +126 -0
- package/models/send-notification-request-dto.ts +42 -0
- package/models/send-notification-response-class.ts +30 -0
- package/models/update-lead-request-dto.ts +93 -0
- 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,7 +295,8 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
339
295
|
});
|
|
340
296
|
},
|
|
341
297
|
/**
|
|
342
|
-
*
|
|
298
|
+
* This will generate a custom css for booking funnel, based on product.
|
|
299
|
+
* @summary Generate a custom CSS
|
|
343
300
|
* @param {string} productCode
|
|
344
301
|
* @param {string} [authorization] Bearer Token
|
|
345
302
|
* @param {*} [options] Override http request option.
|
|
@@ -386,13 +343,15 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
386
343
|
});
|
|
387
344
|
},
|
|
388
345
|
/**
|
|
389
|
-
*
|
|
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
|
|
390
348
|
* @param {string} productCode
|
|
349
|
+
* @param {string} allValues
|
|
391
350
|
* @param {string} [authorization] Bearer Token
|
|
392
351
|
* @param {*} [options] Override http request option.
|
|
393
352
|
* @throws {RequiredError}
|
|
394
353
|
*/
|
|
395
|
-
getProductFactors: function (productCode, authorization, options) {
|
|
354
|
+
getProductFactors: function (productCode, allValues, authorization, options) {
|
|
396
355
|
if (options === void 0) { options = {}; }
|
|
397
356
|
return __awaiter(_this, void 0, void 0, function () {
|
|
398
357
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -401,6 +360,8 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
401
360
|
case 0:
|
|
402
361
|
// verify required parameter 'productCode' is not null or undefined
|
|
403
362
|
(0, common_1.assertParamExists)('getProductFactors', 'productCode', productCode);
|
|
363
|
+
// verify required parameter 'allValues' is not null or undefined
|
|
364
|
+
(0, common_1.assertParamExists)('getProductFactors', 'allValues', allValues);
|
|
404
365
|
localVarPath = "/publicapi/v1/products/{product_code}/product-factors"
|
|
405
366
|
.replace("{".concat("product_code", "}"), encodeURIComponent(String(productCode)));
|
|
406
367
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -418,49 +379,9 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
418
379
|
// authentication bearer required
|
|
419
380
|
// http bearer authentication required
|
|
420
381
|
_a.sent();
|
|
421
|
-
if (
|
|
422
|
-
|
|
382
|
+
if (allValues !== undefined) {
|
|
383
|
+
localVarQueryParameter['all_values'] = allValues;
|
|
423
384
|
}
|
|
424
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
425
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
426
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
427
|
-
return [2 /*return*/, {
|
|
428
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
429
|
-
options: localVarRequestOptions,
|
|
430
|
-
}];
|
|
431
|
-
}
|
|
432
|
-
});
|
|
433
|
-
});
|
|
434
|
-
},
|
|
435
|
-
/**
|
|
436
|
-
*
|
|
437
|
-
* @param {string} [authorization] Bearer Token
|
|
438
|
-
* @param {*} [options] Override http request option.
|
|
439
|
-
* @throws {RequiredError}
|
|
440
|
-
*/
|
|
441
|
-
initiateLead: function (authorization, options) {
|
|
442
|
-
if (options === void 0) { options = {}; }
|
|
443
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
444
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
445
|
-
return __generator(this, function (_a) {
|
|
446
|
-
switch (_a.label) {
|
|
447
|
-
case 0:
|
|
448
|
-
localVarPath = "/publicapi/v1/leads/initiate";
|
|
449
|
-
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
450
|
-
if (configuration) {
|
|
451
|
-
baseOptions = configuration.baseOptions;
|
|
452
|
-
baseAccessToken = configuration.accessToken;
|
|
453
|
-
}
|
|
454
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
455
|
-
localVarHeaderParameter = {};
|
|
456
|
-
localVarQueryParameter = {};
|
|
457
|
-
// authentication bearer required
|
|
458
|
-
// http bearer authentication required
|
|
459
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
460
|
-
case 1:
|
|
461
|
-
// authentication bearer required
|
|
462
|
-
// http bearer authentication required
|
|
463
|
-
_a.sent();
|
|
464
385
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
465
386
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
466
387
|
}
|
|
@@ -475,58 +396,6 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
475
396
|
});
|
|
476
397
|
});
|
|
477
398
|
},
|
|
478
|
-
/**
|
|
479
|
-
*
|
|
480
|
-
* @param {string} code
|
|
481
|
-
* @param {CreateLeadRequestDto} createLeadRequestDto
|
|
482
|
-
* @param {string} [authorization] Bearer Token
|
|
483
|
-
* @param {*} [options] Override http request option.
|
|
484
|
-
* @throws {RequiredError}
|
|
485
|
-
*/
|
|
486
|
-
updateLead: function (code, createLeadRequestDto, authorization, options) {
|
|
487
|
-
if (options === void 0) { options = {}; }
|
|
488
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
489
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
490
|
-
return __generator(this, function (_a) {
|
|
491
|
-
switch (_a.label) {
|
|
492
|
-
case 0:
|
|
493
|
-
// verify required parameter 'code' is not null or undefined
|
|
494
|
-
(0, common_1.assertParamExists)('updateLead', 'code', code);
|
|
495
|
-
// verify required parameter 'createLeadRequestDto' is not null or undefined
|
|
496
|
-
(0, common_1.assertParamExists)('updateLead', 'createLeadRequestDto', createLeadRequestDto);
|
|
497
|
-
localVarPath = "/publicapi/v1/leads/{code}"
|
|
498
|
-
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
499
|
-
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
500
|
-
if (configuration) {
|
|
501
|
-
baseOptions = configuration.baseOptions;
|
|
502
|
-
baseAccessToken = configuration.accessToken;
|
|
503
|
-
}
|
|
504
|
-
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
505
|
-
localVarHeaderParameter = {};
|
|
506
|
-
localVarQueryParameter = {};
|
|
507
|
-
// authentication bearer required
|
|
508
|
-
// http bearer authentication required
|
|
509
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
510
|
-
case 1:
|
|
511
|
-
// authentication bearer required
|
|
512
|
-
// http bearer authentication required
|
|
513
|
-
_a.sent();
|
|
514
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
515
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
516
|
-
}
|
|
517
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
518
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
519
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
520
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
521
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createLeadRequestDto, localVarRequestOptions, configuration);
|
|
522
|
-
return [2 /*return*/, {
|
|
523
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
524
|
-
options: localVarRequestOptions,
|
|
525
|
-
}];
|
|
526
|
-
}
|
|
527
|
-
});
|
|
528
|
-
});
|
|
529
|
-
},
|
|
530
399
|
};
|
|
531
400
|
};
|
|
532
401
|
exports.ProductsApiAxiosParamCreator = ProductsApiAxiosParamCreator;
|
|
@@ -538,7 +407,8 @@ var ProductsApiFp = function (configuration) {
|
|
|
538
407
|
var localVarAxiosParamCreator = (0, exports.ProductsApiAxiosParamCreator)(configuration);
|
|
539
408
|
return {
|
|
540
409
|
/**
|
|
541
|
-
*
|
|
410
|
+
* This will create an invoice product.
|
|
411
|
+
* @summary Create the invoice product
|
|
542
412
|
* @param {string} productCode
|
|
543
413
|
* @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto
|
|
544
414
|
* @param {string} [authorization] Bearer Token
|
|
@@ -559,27 +429,8 @@ var ProductsApiFp = function (configuration) {
|
|
|
559
429
|
});
|
|
560
430
|
},
|
|
561
431
|
/**
|
|
562
|
-
*
|
|
563
|
-
* @
|
|
564
|
-
* @param {string} [authorization] Bearer Token
|
|
565
|
-
* @param {*} [options] Override http request option.
|
|
566
|
-
* @throws {RequiredError}
|
|
567
|
-
*/
|
|
568
|
-
createLead: function (createLeadRequestDto, authorization, options) {
|
|
569
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
570
|
-
var localVarAxiosArgs;
|
|
571
|
-
return __generator(this, function (_a) {
|
|
572
|
-
switch (_a.label) {
|
|
573
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createLead(createLeadRequestDto, authorization, options)];
|
|
574
|
-
case 1:
|
|
575
|
-
localVarAxiosArgs = _a.sent();
|
|
576
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
577
|
-
}
|
|
578
|
-
});
|
|
579
|
-
});
|
|
580
|
-
},
|
|
581
|
-
/**
|
|
582
|
-
*
|
|
432
|
+
* This will create a custom application for a specific provider.
|
|
433
|
+
* @summary Create the custom application
|
|
583
434
|
* @param {string} productCode
|
|
584
435
|
* @param {CreateCustomApplicationRequestDto} createCustomApplicationRequestDto
|
|
585
436
|
* @param {string} [authorization] Bearer Token
|
|
@@ -600,7 +451,8 @@ var ProductsApiFp = function (configuration) {
|
|
|
600
451
|
});
|
|
601
452
|
},
|
|
602
453
|
/**
|
|
603
|
-
*
|
|
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
|
|
604
456
|
* @param {string} [authorization] Bearer Token
|
|
605
457
|
* @param {*} [options] Override http request option.
|
|
606
458
|
* @throws {RequiredError}
|
|
@@ -619,7 +471,8 @@ var ProductsApiFp = function (configuration) {
|
|
|
619
471
|
});
|
|
620
472
|
},
|
|
621
473
|
/**
|
|
622
|
-
*
|
|
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
|
|
623
476
|
* @param {string} productCode
|
|
624
477
|
* @param {string} [authorization] Bearer Token
|
|
625
478
|
* @param {*} [options] Override http request option.
|
|
@@ -639,7 +492,8 @@ var ProductsApiFp = function (configuration) {
|
|
|
639
492
|
});
|
|
640
493
|
},
|
|
641
494
|
/**
|
|
642
|
-
*
|
|
495
|
+
* This will generate a custom css for booking funnel, based on product.
|
|
496
|
+
* @summary Generate a custom CSS
|
|
643
497
|
* @param {string} productCode
|
|
644
498
|
* @param {string} [authorization] Bearer Token
|
|
645
499
|
* @param {*} [options] Override http request option.
|
|
@@ -659,58 +513,20 @@ var ProductsApiFp = function (configuration) {
|
|
|
659
513
|
});
|
|
660
514
|
},
|
|
661
515
|
/**
|
|
662
|
-
*
|
|
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
|
|
663
518
|
* @param {string} productCode
|
|
519
|
+
* @param {string} allValues
|
|
664
520
|
* @param {string} [authorization] Bearer Token
|
|
665
521
|
* @param {*} [options] Override http request option.
|
|
666
522
|
* @throws {RequiredError}
|
|
667
523
|
*/
|
|
668
|
-
getProductFactors: function (productCode, authorization, options) {
|
|
669
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
670
|
-
var localVarAxiosArgs;
|
|
671
|
-
return __generator(this, function (_a) {
|
|
672
|
-
switch (_a.label) {
|
|
673
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductFactors(productCode, authorization, options)];
|
|
674
|
-
case 1:
|
|
675
|
-
localVarAxiosArgs = _a.sent();
|
|
676
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
677
|
-
}
|
|
678
|
-
});
|
|
679
|
-
});
|
|
680
|
-
},
|
|
681
|
-
/**
|
|
682
|
-
*
|
|
683
|
-
* @param {string} [authorization] Bearer Token
|
|
684
|
-
* @param {*} [options] Override http request option.
|
|
685
|
-
* @throws {RequiredError}
|
|
686
|
-
*/
|
|
687
|
-
initiateLead: function (authorization, options) {
|
|
688
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
689
|
-
var localVarAxiosArgs;
|
|
690
|
-
return __generator(this, function (_a) {
|
|
691
|
-
switch (_a.label) {
|
|
692
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.initiateLead(authorization, options)];
|
|
693
|
-
case 1:
|
|
694
|
-
localVarAxiosArgs = _a.sent();
|
|
695
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
696
|
-
}
|
|
697
|
-
});
|
|
698
|
-
});
|
|
699
|
-
},
|
|
700
|
-
/**
|
|
701
|
-
*
|
|
702
|
-
* @param {string} code
|
|
703
|
-
* @param {CreateLeadRequestDto} createLeadRequestDto
|
|
704
|
-
* @param {string} [authorization] Bearer Token
|
|
705
|
-
* @param {*} [options] Override http request option.
|
|
706
|
-
* @throws {RequiredError}
|
|
707
|
-
*/
|
|
708
|
-
updateLead: function (code, createLeadRequestDto, authorization, options) {
|
|
524
|
+
getProductFactors: function (productCode, allValues, authorization, options) {
|
|
709
525
|
return __awaiter(this, void 0, void 0, function () {
|
|
710
526
|
var localVarAxiosArgs;
|
|
711
527
|
return __generator(this, function (_a) {
|
|
712
528
|
switch (_a.label) {
|
|
713
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
529
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductFactors(productCode, allValues, authorization, options)];
|
|
714
530
|
case 1:
|
|
715
531
|
localVarAxiosArgs = _a.sent();
|
|
716
532
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -729,7 +545,8 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
729
545
|
var localVarFp = (0, exports.ProductsApiFp)(configuration);
|
|
730
546
|
return {
|
|
731
547
|
/**
|
|
732
|
-
*
|
|
548
|
+
* This will create an invoice product.
|
|
549
|
+
* @summary Create the invoice product
|
|
733
550
|
* @param {string} productCode
|
|
734
551
|
* @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto
|
|
735
552
|
* @param {string} [authorization] Bearer Token
|
|
@@ -740,17 +557,8 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
740
557
|
return localVarFp.createEstimatedInvoice(productCode, createEstimatedInvoiceRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
741
558
|
},
|
|
742
559
|
/**
|
|
743
|
-
*
|
|
744
|
-
* @
|
|
745
|
-
* @param {string} [authorization] Bearer Token
|
|
746
|
-
* @param {*} [options] Override http request option.
|
|
747
|
-
* @throws {RequiredError}
|
|
748
|
-
*/
|
|
749
|
-
createLead: function (createLeadRequestDto, authorization, options) {
|
|
750
|
-
return localVarFp.createLead(createLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
751
|
-
},
|
|
752
|
-
/**
|
|
753
|
-
*
|
|
560
|
+
* This will create a custom application for a specific provider.
|
|
561
|
+
* @summary Create the custom application
|
|
754
562
|
* @param {string} productCode
|
|
755
563
|
* @param {CreateCustomApplicationRequestDto} createCustomApplicationRequestDto
|
|
756
564
|
* @param {string} [authorization] Bearer Token
|
|
@@ -761,7 +569,8 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
761
569
|
return localVarFp.customApplication(productCode, createCustomApplicationRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
762
570
|
},
|
|
763
571
|
/**
|
|
764
|
-
*
|
|
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
|
|
765
574
|
* @param {string} [authorization] Bearer Token
|
|
766
575
|
* @param {*} [options] Override http request option.
|
|
767
576
|
* @throws {RequiredError}
|
|
@@ -770,7 +579,8 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
770
579
|
return localVarFp.getInsuredObjectTypes(authorization, options).then(function (request) { return request(axios, basePath); });
|
|
771
580
|
},
|
|
772
581
|
/**
|
|
773
|
-
*
|
|
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
|
|
774
584
|
* @param {string} productCode
|
|
775
585
|
* @param {string} [authorization] Bearer Token
|
|
776
586
|
* @param {*} [options] Override http request option.
|
|
@@ -780,7 +590,8 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
780
590
|
return localVarFp.getInsuredObjects(productCode, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
781
591
|
},
|
|
782
592
|
/**
|
|
783
|
-
*
|
|
593
|
+
* This will generate a custom css for booking funnel, based on product.
|
|
594
|
+
* @summary Generate a custom CSS
|
|
784
595
|
* @param {string} productCode
|
|
785
596
|
* @param {string} [authorization] Bearer Token
|
|
786
597
|
* @param {*} [options] Override http request option.
|
|
@@ -790,34 +601,16 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
790
601
|
return localVarFp.getProductCustomCss(productCode, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
791
602
|
},
|
|
792
603
|
/**
|
|
793
|
-
*
|
|
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
|
|
794
606
|
* @param {string} productCode
|
|
607
|
+
* @param {string} allValues
|
|
795
608
|
* @param {string} [authorization] Bearer Token
|
|
796
609
|
* @param {*} [options] Override http request option.
|
|
797
610
|
* @throws {RequiredError}
|
|
798
611
|
*/
|
|
799
|
-
getProductFactors: function (productCode, authorization, options) {
|
|
800
|
-
return localVarFp.getProductFactors(productCode, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
801
|
-
},
|
|
802
|
-
/**
|
|
803
|
-
*
|
|
804
|
-
* @param {string} [authorization] Bearer Token
|
|
805
|
-
* @param {*} [options] Override http request option.
|
|
806
|
-
* @throws {RequiredError}
|
|
807
|
-
*/
|
|
808
|
-
initiateLead: function (authorization, options) {
|
|
809
|
-
return localVarFp.initiateLead(authorization, options).then(function (request) { return request(axios, basePath); });
|
|
810
|
-
},
|
|
811
|
-
/**
|
|
812
|
-
*
|
|
813
|
-
* @param {string} code
|
|
814
|
-
* @param {CreateLeadRequestDto} createLeadRequestDto
|
|
815
|
-
* @param {string} [authorization] Bearer Token
|
|
816
|
-
* @param {*} [options] Override http request option.
|
|
817
|
-
* @throws {RequiredError}
|
|
818
|
-
*/
|
|
819
|
-
updateLead: function (code, createLeadRequestDto, authorization, options) {
|
|
820
|
-
return localVarFp.updateLead(code, createLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
612
|
+
getProductFactors: function (productCode, allValues, authorization, options) {
|
|
613
|
+
return localVarFp.getProductFactors(productCode, allValues, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
821
614
|
},
|
|
822
615
|
};
|
|
823
616
|
};
|
|
@@ -834,7 +627,8 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
834
627
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
835
628
|
}
|
|
836
629
|
/**
|
|
837
|
-
*
|
|
630
|
+
* This will create an invoice product.
|
|
631
|
+
* @summary Create the invoice product
|
|
838
632
|
* @param {ProductsApiCreateEstimatedInvoiceRequest} requestParameters Request parameters.
|
|
839
633
|
* @param {*} [options] Override http request option.
|
|
840
634
|
* @throws {RequiredError}
|
|
@@ -845,18 +639,8 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
845
639
|
return (0, exports.ProductsApiFp)(this.configuration).createEstimatedInvoice(requestParameters.productCode, requestParameters.createEstimatedInvoiceRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
846
640
|
};
|
|
847
641
|
/**
|
|
848
|
-
*
|
|
849
|
-
* @
|
|
850
|
-
* @param {*} [options] Override http request option.
|
|
851
|
-
* @throws {RequiredError}
|
|
852
|
-
* @memberof ProductsApi
|
|
853
|
-
*/
|
|
854
|
-
ProductsApi.prototype.createLead = function (requestParameters, options) {
|
|
855
|
-
var _this = this;
|
|
856
|
-
return (0, exports.ProductsApiFp)(this.configuration).createLead(requestParameters.createLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
857
|
-
};
|
|
858
|
-
/**
|
|
859
|
-
*
|
|
642
|
+
* This will create a custom application for a specific provider.
|
|
643
|
+
* @summary Create the custom application
|
|
860
644
|
* @param {ProductsApiCustomApplicationRequest} requestParameters Request parameters.
|
|
861
645
|
* @param {*} [options] Override http request option.
|
|
862
646
|
* @throws {RequiredError}
|
|
@@ -867,7 +651,8 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
867
651
|
return (0, exports.ProductsApiFp)(this.configuration).customApplication(requestParameters.productCode, requestParameters.createCustomApplicationRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
868
652
|
};
|
|
869
653
|
/**
|
|
870
|
-
*
|
|
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
|
|
871
656
|
* @param {ProductsApiGetInsuredObjectTypesRequest} requestParameters Request parameters.
|
|
872
657
|
* @param {*} [options] Override http request option.
|
|
873
658
|
* @throws {RequiredError}
|
|
@@ -879,7 +664,8 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
879
664
|
return (0, exports.ProductsApiFp)(this.configuration).getInsuredObjectTypes(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
880
665
|
};
|
|
881
666
|
/**
|
|
882
|
-
*
|
|
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
|
|
883
669
|
* @param {ProductsApiGetInsuredObjectsRequest} requestParameters Request parameters.
|
|
884
670
|
* @param {*} [options] Override http request option.
|
|
885
671
|
* @throws {RequiredError}
|
|
@@ -890,7 +676,8 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
890
676
|
return (0, exports.ProductsApiFp)(this.configuration).getInsuredObjects(requestParameters.productCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
891
677
|
};
|
|
892
678
|
/**
|
|
893
|
-
*
|
|
679
|
+
* This will generate a custom css for booking funnel, based on product.
|
|
680
|
+
* @summary Generate a custom CSS
|
|
894
681
|
* @param {ProductsApiGetProductCustomCssRequest} requestParameters Request parameters.
|
|
895
682
|
* @param {*} [options] Override http request option.
|
|
896
683
|
* @throws {RequiredError}
|
|
@@ -901,7 +688,8 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
901
688
|
return (0, exports.ProductsApiFp)(this.configuration).getProductCustomCss(requestParameters.productCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
902
689
|
};
|
|
903
690
|
/**
|
|
904
|
-
*
|
|
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
|
|
905
693
|
* @param {ProductsApiGetProductFactorsRequest} requestParameters Request parameters.
|
|
906
694
|
* @param {*} [options] Override http request option.
|
|
907
695
|
* @throws {RequiredError}
|
|
@@ -909,30 +697,7 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
909
697
|
*/
|
|
910
698
|
ProductsApi.prototype.getProductFactors = function (requestParameters, options) {
|
|
911
699
|
var _this = this;
|
|
912
|
-
return (0, exports.ProductsApiFp)(this.configuration).getProductFactors(requestParameters.productCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
913
|
-
};
|
|
914
|
-
/**
|
|
915
|
-
*
|
|
916
|
-
* @param {ProductsApiInitiateLeadRequest} requestParameters Request parameters.
|
|
917
|
-
* @param {*} [options] Override http request option.
|
|
918
|
-
* @throws {RequiredError}
|
|
919
|
-
* @memberof ProductsApi
|
|
920
|
-
*/
|
|
921
|
-
ProductsApi.prototype.initiateLead = function (requestParameters, options) {
|
|
922
|
-
var _this = this;
|
|
923
|
-
if (requestParameters === void 0) { requestParameters = {}; }
|
|
924
|
-
return (0, exports.ProductsApiFp)(this.configuration).initiateLead(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
925
|
-
};
|
|
926
|
-
/**
|
|
927
|
-
*
|
|
928
|
-
* @param {ProductsApiUpdateLeadRequest} requestParameters Request parameters.
|
|
929
|
-
* @param {*} [options] Override http request option.
|
|
930
|
-
* @throws {RequiredError}
|
|
931
|
-
* @memberof ProductsApi
|
|
932
|
-
*/
|
|
933
|
-
ProductsApi.prototype.updateLead = function (requestParameters, options) {
|
|
934
|
-
var _this = this;
|
|
935
|
-
return (0, exports.ProductsApiFp)(this.configuration).updateLead(requestParameters.code, requestParameters.createLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
700
|
+
return (0, exports.ProductsApiFp)(this.configuration).getProductFactors(requestParameters.productCode, requestParameters.allValues, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
936
701
|
};
|
|
937
702
|
return ProductsApi;
|
|
938
703
|
}(base_1.BaseAPI));
|
package/dist/api.d.ts
CHANGED
|
@@ -1,16 +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/
|
|
13
|
+
export * from './api/leads-api';
|
|
14
|
+
export * from './api/notifications-api';
|
|
15
|
+
export * from './api/payments-setup-api';
|
|
14
16
|
export * from './api/products-api';
|
|
15
17
|
export declare enum Environment {
|
|
16
18
|
Production = "https://apiv2.emil.de",
|
package/dist/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
|
|
@@ -29,7 +29,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
exports.Environment = void 0;
|
|
31
31
|
__exportStar(require("./api/documents-api"), exports);
|
|
32
|
-
__exportStar(require("./api/
|
|
32
|
+
__exportStar(require("./api/leads-api"), exports);
|
|
33
|
+
__exportStar(require("./api/notifications-api"), exports);
|
|
34
|
+
__exportStar(require("./api/payments-setup-api"), exports);
|
|
33
35
|
__exportStar(require("./api/products-api"), exports);
|
|
34
36
|
var Environment;
|
|
35
37
|
(function (Environment) {
|
package/dist/base.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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
|