@emilgroup/public-api-sdk 1.0.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.
Files changed (175) hide show
  1. package/.openapi-generator/FILES +63 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +51 -0
  5. package/api/documents-api.ts +438 -0
  6. package/api/leads-api.ts +478 -0
  7. package/api/notifications-api.ts +165 -0
  8. package/api/payments-setup-api.ts +300 -0
  9. package/api/products-api.ts +713 -0
  10. package/api.ts +40 -0
  11. package/base.ts +247 -0
  12. package/common.ts +198 -0
  13. package/configuration.ts +101 -0
  14. package/dist/api/documents-api.d.ts +252 -0
  15. package/dist/api/documents-api.js +439 -0
  16. package/dist/api/leads-api.d.ts +266 -0
  17. package/dist/api/leads-api.js +502 -0
  18. package/dist/api/notifications-api.d.ts +97 -0
  19. package/dist/api/notifications-api.js +224 -0
  20. package/dist/api/payments-setup-api.d.ts +172 -0
  21. package/dist/api/payments-setup-api.js +329 -0
  22. package/dist/api/products-api.d.ts +396 -0
  23. package/dist/api/products-api.js +700 -0
  24. package/dist/api.d.ts +20 -0
  25. package/dist/api.js +40 -0
  26. package/dist/base.d.ts +72 -0
  27. package/dist/base.js +293 -0
  28. package/dist/common.d.ts +91 -0
  29. package/dist/common.js +276 -0
  30. package/dist/configuration.d.ts +83 -0
  31. package/dist/configuration.js +44 -0
  32. package/dist/index.d.ts +15 -0
  33. package/dist/index.js +35 -0
  34. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +48 -0
  35. package/dist/models/complete-braintree-payment-setup-request-dto.js +15 -0
  36. package/dist/models/complete-payment-setup-request-dto.d.ts +32 -0
  37. package/dist/models/complete-payment-setup-request-dto.js +15 -0
  38. package/dist/models/complete-payment-setup-response-class.d.ts +25 -0
  39. package/dist/models/complete-payment-setup-response-class.js +15 -0
  40. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +60 -0
  41. package/dist/models/complete-stripe-payment-setup-request-dto.js +15 -0
  42. package/dist/models/create-account-request-dto.d.ts +115 -0
  43. package/dist/models/create-account-request-dto.js +27 -0
  44. package/dist/models/create-bank-account-request-dto.d.ts +30 -0
  45. package/dist/models/create-bank-account-request-dto.js +15 -0
  46. package/dist/models/create-custom-application-request-dto.d.ts +35 -0
  47. package/dist/models/create-custom-application-request-dto.js +20 -0
  48. package/dist/models/create-custom-application-response-class.d.ts +24 -0
  49. package/dist/models/create-custom-application-response-class.js +15 -0
  50. package/dist/models/create-document-request-dto.d.ts +101 -0
  51. package/dist/models/create-document-request-dto.js +31 -0
  52. package/dist/models/create-estimated-invoice-request-dto.d.ts +49 -0
  53. package/dist/models/create-estimated-invoice-request-dto.js +20 -0
  54. package/dist/models/create-estimated-invoice-response-class.d.ts +31 -0
  55. package/dist/models/create-estimated-invoice-response-class.js +15 -0
  56. package/dist/models/create-lead-request-dto.d.ts +84 -0
  57. package/dist/models/create-lead-request-dto.js +22 -0
  58. package/dist/models/create-lead-response-class.d.ts +25 -0
  59. package/dist/models/create-lead-response-class.js +15 -0
  60. package/dist/models/document-class.d.ts +130 -0
  61. package/dist/models/document-class.js +41 -0
  62. package/dist/models/get-custom-css-response-class.d.ts +24 -0
  63. package/dist/models/get-custom-css-response-class.js +15 -0
  64. package/dist/models/get-lead-response-class.d.ts +25 -0
  65. package/dist/models/get-lead-response-class.js +15 -0
  66. package/dist/models/index.d.ts +45 -0
  67. package/dist/models/index.js +61 -0
  68. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +30 -0
  69. package/dist/models/initiate-braintree-payment-setup-request-dto.js +15 -0
  70. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
  71. package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
  72. package/dist/models/initiate-lead-response-class.d.ts +24 -0
  73. package/dist/models/initiate-lead-response-class.js +15 -0
  74. package/dist/models/initiate-payment-setup-request-dto.d.ts +32 -0
  75. package/dist/models/initiate-payment-setup-request-dto.js +15 -0
  76. package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
  77. package/dist/models/initiate-payment-setup-response-class.js +15 -0
  78. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +30 -0
  79. package/dist/models/initiate-stripe-payment-setup-request-dto.js +15 -0
  80. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
  81. package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
  82. package/dist/models/insured-object-class.d.ts +67 -0
  83. package/dist/models/insured-object-class.js +15 -0
  84. package/dist/models/insured-object-type-class.d.ts +48 -0
  85. package/dist/models/insured-object-type-class.js +15 -0
  86. package/dist/models/invoice-class.d.ts +128 -0
  87. package/dist/models/invoice-class.js +15 -0
  88. package/dist/models/invoice-item-class.d.ts +108 -0
  89. package/dist/models/invoice-item-class.js +15 -0
  90. package/dist/models/invoice-status-class.d.ts +42 -0
  91. package/dist/models/invoice-status-class.js +15 -0
  92. package/dist/models/lead-account-class.d.ts +109 -0
  93. package/dist/models/lead-account-class.js +22 -0
  94. package/dist/models/lead-bank-account-class.d.ts +30 -0
  95. package/dist/models/lead-bank-account-class.js +15 -0
  96. package/dist/models/lead-class.d.ts +77 -0
  97. package/dist/models/lead-class.js +15 -0
  98. package/dist/models/lead-policy-class.d.ts +43 -0
  99. package/dist/models/lead-policy-class.js +15 -0
  100. package/dist/models/lead-policy-object-class.d.ts +30 -0
  101. package/dist/models/lead-policy-object-class.js +15 -0
  102. package/dist/models/list-documents-response-class.d.ts +31 -0
  103. package/dist/models/list-documents-response-class.js +15 -0
  104. package/dist/models/payment-method-class.d.ts +60 -0
  105. package/dist/models/payment-method-class.js +15 -0
  106. package/dist/models/policy-object-request-dto.d.ts +30 -0
  107. package/dist/models/policy-object-request-dto.js +15 -0
  108. package/dist/models/premium-override-dto.d.ts +53 -0
  109. package/dist/models/premium-override-dto.js +25 -0
  110. package/dist/models/premium-override-request-dto.d.ts +25 -0
  111. package/dist/models/premium-override-request-dto.js +15 -0
  112. package/dist/models/product-factor-class.d.ts +60 -0
  113. package/dist/models/product-factor-class.js +15 -0
  114. package/dist/models/product-field-class.d.ts +120 -0
  115. package/dist/models/product-field-class.js +15 -0
  116. package/dist/models/send-notification-request-dto.d.ts +36 -0
  117. package/dist/models/send-notification-request-dto.js +15 -0
  118. package/dist/models/send-notification-response-class.d.ts +24 -0
  119. package/dist/models/send-notification-response-class.js +15 -0
  120. package/dist/models/update-lead-request-dto.d.ts +84 -0
  121. package/dist/models/update-lead-request-dto.js +22 -0
  122. package/dist/models/update-lead-response-class.d.ts +25 -0
  123. package/dist/models/update-lead-response-class.js +15 -0
  124. package/dist/models/uploaded-document-dto.d.ts +24 -0
  125. package/dist/models/uploaded-document-dto.js +15 -0
  126. package/git_push.sh +57 -0
  127. package/index.ts +19 -0
  128. package/models/complete-braintree-payment-setup-request-dto.ts +54 -0
  129. package/models/complete-payment-setup-request-dto.ts +38 -0
  130. package/models/complete-payment-setup-response-class.ts +31 -0
  131. package/models/complete-stripe-payment-setup-request-dto.ts +66 -0
  132. package/models/create-account-request-dto.ts +125 -0
  133. package/models/create-bank-account-request-dto.ts +36 -0
  134. package/models/create-custom-application-request-dto.ts +44 -0
  135. package/models/create-custom-application-response-class.ts +30 -0
  136. package/models/create-document-request-dto.ts +111 -0
  137. package/models/create-estimated-invoice-request-dto.ts +58 -0
  138. package/models/create-estimated-invoice-response-class.ts +37 -0
  139. package/models/create-lead-request-dto.ts +93 -0
  140. package/models/create-lead-response-class.ts +31 -0
  141. package/models/document-class.ts +141 -0
  142. package/models/get-custom-css-response-class.ts +30 -0
  143. package/models/get-lead-response-class.ts +31 -0
  144. package/models/index.ts +45 -0
  145. package/models/initiate-braintree-payment-setup-request-dto.ts +36 -0
  146. package/models/initiate-braintree-payment-setup-response-class.ts +30 -0
  147. package/models/initiate-lead-response-class.ts +30 -0
  148. package/models/initiate-payment-setup-request-dto.ts +38 -0
  149. package/models/initiate-payment-setup-response-class.ts +38 -0
  150. package/models/initiate-stripe-payment-setup-request-dto.ts +36 -0
  151. package/models/initiate-stripe-payment-setup-response-class.ts +36 -0
  152. package/models/insured-object-class.ts +73 -0
  153. package/models/insured-object-type-class.ts +54 -0
  154. package/models/invoice-class.ts +134 -0
  155. package/models/invoice-item-class.ts +114 -0
  156. package/models/invoice-status-class.ts +48 -0
  157. package/models/lead-account-class.ts +118 -0
  158. package/models/lead-bank-account-class.ts +36 -0
  159. package/models/lead-class.ts +83 -0
  160. package/models/lead-policy-class.ts +49 -0
  161. package/models/lead-policy-object-class.ts +36 -0
  162. package/models/list-documents-response-class.ts +37 -0
  163. package/models/payment-method-class.ts +66 -0
  164. package/models/policy-object-request-dto.ts +36 -0
  165. package/models/premium-override-dto.ts +63 -0
  166. package/models/premium-override-request-dto.ts +31 -0
  167. package/models/product-factor-class.ts +66 -0
  168. package/models/product-field-class.ts +126 -0
  169. package/models/send-notification-request-dto.ts +42 -0
  170. package/models/send-notification-response-class.ts +30 -0
  171. package/models/update-lead-request-dto.ts +93 -0
  172. package/models/update-lead-response-class.ts +31 -0
  173. package/models/uploaded-document-dto.ts +30 -0
  174. package/package.json +27 -0
  175. package/tsconfig.json +22 -0
@@ -0,0 +1,700 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil PublicAPI
6
+ * The Emil Public API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __assign = (this && this.__assign) || function () {
31
+ __assign = Object.assign || function(t) {
32
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
33
+ s = arguments[i];
34
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
35
+ t[p] = s[p];
36
+ }
37
+ return t;
38
+ };
39
+ return __assign.apply(this, arguments);
40
+ };
41
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
42
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
43
+ return new (P || (P = Promise))(function (resolve, reject) {
44
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
45
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
46
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
47
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
48
+ });
49
+ };
50
+ var __generator = (this && this.__generator) || function (thisArg, body) {
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
+ function verb(n) { return function (v) { return step([n, v]); }; }
54
+ function step(op) {
55
+ if (f) throw new TypeError("Generator is already executing.");
56
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
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
+ if (y = 0, t) op = [op[0] & 2, t.value];
59
+ switch (op[0]) {
60
+ case 0: case 1: t = op; break;
61
+ case 4: _.label++; return { value: op[1], done: false };
62
+ case 5: _.label++; y = op[1]; op = [0]; continue;
63
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
64
+ default:
65
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
66
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
67
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
68
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
69
+ if (t[2]) _.ops.pop();
70
+ _.trys.pop(); continue;
71
+ }
72
+ op = body.call(thisArg, _);
73
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
74
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
+ }
76
+ };
77
+ var __importDefault = (this && this.__importDefault) || function (mod) {
78
+ return (mod && mod.__esModule) ? mod : { "default": mod };
79
+ };
80
+ Object.defineProperty(exports, "__esModule", { value: true });
81
+ exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = void 0;
82
+ var axios_1 = __importDefault(require("axios"));
83
+ // Some imports not used depending on template conditions
84
+ // @ts-ignore
85
+ var common_1 = require("../common");
86
+ // @ts-ignore
87
+ var base_1 = require("../base");
88
+ /**
89
+ * ProductsApi - axios parameter creator
90
+ * @export
91
+ */
92
+ var ProductsApiAxiosParamCreator = function (configuration) {
93
+ var _this = this;
94
+ return {
95
+ /**
96
+ * This will create an invoice product.
97
+ * @summary Create the invoice product
98
+ * @param {string} productCode
99
+ * @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto
100
+ * @param {string} [authorization] Bearer Token
101
+ * @param {*} [options] Override http request option.
102
+ * @throws {RequiredError}
103
+ */
104
+ createEstimatedInvoice: function (productCode, createEstimatedInvoiceRequestDto, authorization, options) {
105
+ if (options === void 0) { options = {}; }
106
+ return __awaiter(_this, void 0, void 0, function () {
107
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
108
+ return __generator(this, function (_a) {
109
+ switch (_a.label) {
110
+ case 0:
111
+ // verify required parameter 'productCode' is not null or undefined
112
+ (0, common_1.assertParamExists)('createEstimatedInvoice', 'productCode', productCode);
113
+ // verify required parameter 'createEstimatedInvoiceRequestDto' is not null or undefined
114
+ (0, common_1.assertParamExists)('createEstimatedInvoice', 'createEstimatedInvoiceRequestDto', createEstimatedInvoiceRequestDto);
115
+ localVarPath = "/publicapi/v1/products/{product_code}/product-invoice"
116
+ .replace("{".concat("product_code", "}"), encodeURIComponent(String(productCode)));
117
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
118
+ if (configuration) {
119
+ baseOptions = configuration.baseOptions;
120
+ baseAccessToken = configuration.accessToken;
121
+ }
122
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
123
+ localVarHeaderParameter = {};
124
+ localVarQueryParameter = {};
125
+ // authentication bearer required
126
+ // http bearer authentication required
127
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
128
+ case 1:
129
+ // authentication bearer required
130
+ // http bearer authentication required
131
+ _a.sent();
132
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
133
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
134
+ }
135
+ localVarHeaderParameter['Content-Type'] = 'application/json';
136
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
137
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
138
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
139
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createEstimatedInvoiceRequestDto, localVarRequestOptions, configuration);
140
+ return [2 /*return*/, {
141
+ url: (0, common_1.toPathString)(localVarUrlObj),
142
+ options: localVarRequestOptions,
143
+ }];
144
+ }
145
+ });
146
+ });
147
+ },
148
+ /**
149
+ * This will create a custom application for a specific provider.
150
+ * @summary Create the custom application
151
+ * @param {string} productCode
152
+ * @param {CreateCustomApplicationRequestDto} createCustomApplicationRequestDto
153
+ * @param {string} [authorization] Bearer Token
154
+ * @param {*} [options] Override http request option.
155
+ * @throws {RequiredError}
156
+ */
157
+ customApplication: function (productCode, createCustomApplicationRequestDto, authorization, options) {
158
+ if (options === void 0) { options = {}; }
159
+ return __awaiter(_this, void 0, void 0, function () {
160
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
161
+ return __generator(this, function (_a) {
162
+ switch (_a.label) {
163
+ case 0:
164
+ // verify required parameter 'productCode' is not null or undefined
165
+ (0, common_1.assertParamExists)('customApplication', 'productCode', productCode);
166
+ // verify required parameter 'createCustomApplicationRequestDto' is not null or undefined
167
+ (0, common_1.assertParamExists)('customApplication', 'createCustomApplicationRequestDto', createCustomApplicationRequestDto);
168
+ localVarPath = "/publicapi/v1/products/{product_code}/custom-application"
169
+ .replace("{".concat("product_code", "}"), encodeURIComponent(String(productCode)));
170
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
171
+ if (configuration) {
172
+ baseOptions = configuration.baseOptions;
173
+ baseAccessToken = configuration.accessToken;
174
+ }
175
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
176
+ localVarHeaderParameter = {};
177
+ localVarQueryParameter = {};
178
+ // authentication bearer required
179
+ // http bearer authentication required
180
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
181
+ case 1:
182
+ // authentication bearer required
183
+ // http bearer authentication required
184
+ _a.sent();
185
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
186
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
187
+ }
188
+ localVarHeaderParameter['Content-Type'] = 'application/json';
189
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
190
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
191
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
192
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createCustomApplicationRequestDto, localVarRequestOptions, configuration);
193
+ return [2 /*return*/, {
194
+ url: (0, common_1.toPathString)(localVarUrlObj),
195
+ options: localVarRequestOptions,
196
+ }];
197
+ }
198
+ });
199
+ });
200
+ },
201
+ /**
202
+ * 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.
203
+ * @summary List insured object types
204
+ * @param {string} [authorization] Bearer Token
205
+ * @param {*} [options] Override http request option.
206
+ * @throws {RequiredError}
207
+ */
208
+ getInsuredObjectTypes: function (authorization, options) {
209
+ if (options === void 0) { options = {}; }
210
+ return __awaiter(_this, void 0, void 0, function () {
211
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
212
+ return __generator(this, function (_a) {
213
+ switch (_a.label) {
214
+ case 0:
215
+ localVarPath = "/publicapi/v1/products/{product_code}/insured-object-types";
216
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
217
+ if (configuration) {
218
+ baseOptions = configuration.baseOptions;
219
+ baseAccessToken = configuration.accessToken;
220
+ }
221
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
222
+ localVarHeaderParameter = {};
223
+ localVarQueryParameter = {};
224
+ // authentication bearer required
225
+ // http bearer authentication required
226
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
227
+ case 1:
228
+ // authentication bearer required
229
+ // http bearer authentication required
230
+ _a.sent();
231
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
232
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
233
+ }
234
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
235
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
236
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
237
+ return [2 /*return*/, {
238
+ url: (0, common_1.toPathString)(localVarUrlObj),
239
+ options: localVarRequestOptions,
240
+ }];
241
+ }
242
+ });
243
+ });
244
+ },
245
+ /**
246
+ * 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.
247
+ * @summary List insured objects
248
+ * @param {string} productCode
249
+ * @param {string} [authorization] Bearer Token
250
+ * @param {*} [options] Override http request option.
251
+ * @throws {RequiredError}
252
+ */
253
+ getInsuredObjects: function (productCode, authorization, options) {
254
+ if (options === void 0) { options = {}; }
255
+ return __awaiter(_this, void 0, void 0, function () {
256
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
257
+ return __generator(this, function (_a) {
258
+ switch (_a.label) {
259
+ case 0:
260
+ // verify required parameter 'productCode' is not null or undefined
261
+ (0, common_1.assertParamExists)('getInsuredObjects', 'productCode', productCode);
262
+ localVarPath = "/publicapi/v1/products/{product_code}/insured-objects"
263
+ .replace("{".concat("product_code", "}"), encodeURIComponent(String(productCode)));
264
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
265
+ if (configuration) {
266
+ baseOptions = configuration.baseOptions;
267
+ baseAccessToken = configuration.accessToken;
268
+ }
269
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
270
+ localVarHeaderParameter = {};
271
+ localVarQueryParameter = {};
272
+ // authentication bearer required
273
+ // http bearer authentication required
274
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
275
+ case 1:
276
+ // authentication bearer required
277
+ // http bearer authentication required
278
+ _a.sent();
279
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
280
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
281
+ }
282
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
283
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
284
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
285
+ return [2 /*return*/, {
286
+ url: (0, common_1.toPathString)(localVarUrlObj),
287
+ options: localVarRequestOptions,
288
+ }];
289
+ }
290
+ });
291
+ });
292
+ },
293
+ /**
294
+ * This will generate a custom css for booking funnel, based on product.
295
+ * @summary Generate a custom CSS
296
+ * @param {string} productCode
297
+ * @param {string} [authorization] Bearer Token
298
+ * @param {*} [options] Override http request option.
299
+ * @throws {RequiredError}
300
+ */
301
+ getProductCustomCss: function (productCode, authorization, options) {
302
+ if (options === void 0) { options = {}; }
303
+ return __awaiter(_this, void 0, void 0, function () {
304
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
305
+ return __generator(this, function (_a) {
306
+ switch (_a.label) {
307
+ case 0:
308
+ // verify required parameter 'productCode' is not null or undefined
309
+ (0, common_1.assertParamExists)('getProductCustomCss', 'productCode', productCode);
310
+ localVarPath = "/publicapi/v1/products/{product_code}/custom-css"
311
+ .replace("{".concat("product_code", "}"), encodeURIComponent(String(productCode)));
312
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
313
+ if (configuration) {
314
+ baseOptions = configuration.baseOptions;
315
+ baseAccessToken = configuration.accessToken;
316
+ }
317
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
318
+ localVarHeaderParameter = {};
319
+ localVarQueryParameter = {};
320
+ // authentication bearer required
321
+ // http bearer authentication required
322
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
323
+ case 1:
324
+ // authentication bearer required
325
+ // http bearer authentication required
326
+ _a.sent();
327
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
328
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
329
+ }
330
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
331
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
332
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
333
+ return [2 /*return*/, {
334
+ url: (0, common_1.toPathString)(localVarUrlObj),
335
+ options: localVarRequestOptions,
336
+ }];
337
+ }
338
+ });
339
+ });
340
+ },
341
+ /**
342
+ * 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.
343
+ * @summary List product factors
344
+ * @param {string} productCode
345
+ * @param {string} allValues
346
+ * @param {string} [authorization] Bearer Token
347
+ * @param {*} [options] Override http request option.
348
+ * @throws {RequiredError}
349
+ */
350
+ getProductFactors: function (productCode, allValues, authorization, options) {
351
+ if (options === void 0) { options = {}; }
352
+ return __awaiter(_this, void 0, void 0, function () {
353
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
354
+ return __generator(this, function (_a) {
355
+ switch (_a.label) {
356
+ case 0:
357
+ // verify required parameter 'productCode' is not null or undefined
358
+ (0, common_1.assertParamExists)('getProductFactors', 'productCode', productCode);
359
+ // verify required parameter 'allValues' is not null or undefined
360
+ (0, common_1.assertParamExists)('getProductFactors', 'allValues', allValues);
361
+ localVarPath = "/publicapi/v1/products/{product_code}/product-factors"
362
+ .replace("{".concat("product_code", "}"), encodeURIComponent(String(productCode)));
363
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
364
+ if (configuration) {
365
+ baseOptions = configuration.baseOptions;
366
+ baseAccessToken = configuration.accessToken;
367
+ }
368
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
369
+ localVarHeaderParameter = {};
370
+ localVarQueryParameter = {};
371
+ // authentication bearer required
372
+ // http bearer authentication required
373
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
374
+ case 1:
375
+ // authentication bearer required
376
+ // http bearer authentication required
377
+ _a.sent();
378
+ if (allValues !== undefined) {
379
+ localVarQueryParameter['all_values'] = allValues;
380
+ }
381
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
382
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
383
+ }
384
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
385
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
386
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
387
+ return [2 /*return*/, {
388
+ url: (0, common_1.toPathString)(localVarUrlObj),
389
+ options: localVarRequestOptions,
390
+ }];
391
+ }
392
+ });
393
+ });
394
+ },
395
+ };
396
+ };
397
+ exports.ProductsApiAxiosParamCreator = ProductsApiAxiosParamCreator;
398
+ /**
399
+ * ProductsApi - functional programming interface
400
+ * @export
401
+ */
402
+ var ProductsApiFp = function (configuration) {
403
+ var localVarAxiosParamCreator = (0, exports.ProductsApiAxiosParamCreator)(configuration);
404
+ return {
405
+ /**
406
+ * This will create an invoice product.
407
+ * @summary Create the invoice product
408
+ * @param {string} productCode
409
+ * @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto
410
+ * @param {string} [authorization] Bearer Token
411
+ * @param {*} [options] Override http request option.
412
+ * @throws {RequiredError}
413
+ */
414
+ createEstimatedInvoice: function (productCode, createEstimatedInvoiceRequestDto, authorization, options) {
415
+ return __awaiter(this, void 0, void 0, function () {
416
+ var localVarAxiosArgs;
417
+ return __generator(this, function (_a) {
418
+ switch (_a.label) {
419
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createEstimatedInvoice(productCode, createEstimatedInvoiceRequestDto, authorization, options)];
420
+ case 1:
421
+ localVarAxiosArgs = _a.sent();
422
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
423
+ }
424
+ });
425
+ });
426
+ },
427
+ /**
428
+ * This will create a custom application for a specific provider.
429
+ * @summary Create the custom application
430
+ * @param {string} productCode
431
+ * @param {CreateCustomApplicationRequestDto} createCustomApplicationRequestDto
432
+ * @param {string} [authorization] Bearer Token
433
+ * @param {*} [options] Override http request option.
434
+ * @throws {RequiredError}
435
+ */
436
+ customApplication: function (productCode, createCustomApplicationRequestDto, authorization, options) {
437
+ return __awaiter(this, void 0, void 0, function () {
438
+ var localVarAxiosArgs;
439
+ return __generator(this, function (_a) {
440
+ switch (_a.label) {
441
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.customApplication(productCode, createCustomApplicationRequestDto, authorization, options)];
442
+ case 1:
443
+ localVarAxiosArgs = _a.sent();
444
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
445
+ }
446
+ });
447
+ });
448
+ },
449
+ /**
450
+ * 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.
451
+ * @summary List insured object types
452
+ * @param {string} [authorization] Bearer Token
453
+ * @param {*} [options] Override http request option.
454
+ * @throws {RequiredError}
455
+ */
456
+ getInsuredObjectTypes: function (authorization, options) {
457
+ return __awaiter(this, void 0, void 0, function () {
458
+ var localVarAxiosArgs;
459
+ return __generator(this, function (_a) {
460
+ switch (_a.label) {
461
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getInsuredObjectTypes(authorization, options)];
462
+ case 1:
463
+ localVarAxiosArgs = _a.sent();
464
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
465
+ }
466
+ });
467
+ });
468
+ },
469
+ /**
470
+ * 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.
471
+ * @summary List insured objects
472
+ * @param {string} productCode
473
+ * @param {string} [authorization] Bearer Token
474
+ * @param {*} [options] Override http request option.
475
+ * @throws {RequiredError}
476
+ */
477
+ getInsuredObjects: function (productCode, authorization, options) {
478
+ return __awaiter(this, void 0, void 0, function () {
479
+ var localVarAxiosArgs;
480
+ return __generator(this, function (_a) {
481
+ switch (_a.label) {
482
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getInsuredObjects(productCode, authorization, options)];
483
+ case 1:
484
+ localVarAxiosArgs = _a.sent();
485
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
486
+ }
487
+ });
488
+ });
489
+ },
490
+ /**
491
+ * This will generate a custom css for booking funnel, based on product.
492
+ * @summary Generate a custom CSS
493
+ * @param {string} productCode
494
+ * @param {string} [authorization] Bearer Token
495
+ * @param {*} [options] Override http request option.
496
+ * @throws {RequiredError}
497
+ */
498
+ getProductCustomCss: function (productCode, authorization, options) {
499
+ return __awaiter(this, void 0, void 0, function () {
500
+ var localVarAxiosArgs;
501
+ return __generator(this, function (_a) {
502
+ switch (_a.label) {
503
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductCustomCss(productCode, authorization, options)];
504
+ case 1:
505
+ localVarAxiosArgs = _a.sent();
506
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
507
+ }
508
+ });
509
+ });
510
+ },
511
+ /**
512
+ * 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.
513
+ * @summary List product factors
514
+ * @param {string} productCode
515
+ * @param {string} allValues
516
+ * @param {string} [authorization] Bearer Token
517
+ * @param {*} [options] Override http request option.
518
+ * @throws {RequiredError}
519
+ */
520
+ getProductFactors: function (productCode, allValues, authorization, options) {
521
+ return __awaiter(this, void 0, void 0, function () {
522
+ var localVarAxiosArgs;
523
+ return __generator(this, function (_a) {
524
+ switch (_a.label) {
525
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductFactors(productCode, allValues, authorization, options)];
526
+ case 1:
527
+ localVarAxiosArgs = _a.sent();
528
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
529
+ }
530
+ });
531
+ });
532
+ },
533
+ };
534
+ };
535
+ exports.ProductsApiFp = ProductsApiFp;
536
+ /**
537
+ * ProductsApi - factory interface
538
+ * @export
539
+ */
540
+ var ProductsApiFactory = function (configuration, basePath, axios) {
541
+ var localVarFp = (0, exports.ProductsApiFp)(configuration);
542
+ return {
543
+ /**
544
+ * This will create an invoice product.
545
+ * @summary Create the invoice product
546
+ * @param {string} productCode
547
+ * @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto
548
+ * @param {string} [authorization] Bearer Token
549
+ * @param {*} [options] Override http request option.
550
+ * @throws {RequiredError}
551
+ */
552
+ createEstimatedInvoice: function (productCode, createEstimatedInvoiceRequestDto, authorization, options) {
553
+ return localVarFp.createEstimatedInvoice(productCode, createEstimatedInvoiceRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
554
+ },
555
+ /**
556
+ * This will create a custom application for a specific provider.
557
+ * @summary Create the custom application
558
+ * @param {string} productCode
559
+ * @param {CreateCustomApplicationRequestDto} createCustomApplicationRequestDto
560
+ * @param {string} [authorization] Bearer Token
561
+ * @param {*} [options] Override http request option.
562
+ * @throws {RequiredError}
563
+ */
564
+ customApplication: function (productCode, createCustomApplicationRequestDto, authorization, options) {
565
+ return localVarFp.customApplication(productCode, createCustomApplicationRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
566
+ },
567
+ /**
568
+ * 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.
569
+ * @summary List insured object types
570
+ * @param {string} [authorization] Bearer Token
571
+ * @param {*} [options] Override http request option.
572
+ * @throws {RequiredError}
573
+ */
574
+ getInsuredObjectTypes: function (authorization, options) {
575
+ return localVarFp.getInsuredObjectTypes(authorization, options).then(function (request) { return request(axios, basePath); });
576
+ },
577
+ /**
578
+ * 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.
579
+ * @summary List insured objects
580
+ * @param {string} productCode
581
+ * @param {string} [authorization] Bearer Token
582
+ * @param {*} [options] Override http request option.
583
+ * @throws {RequiredError}
584
+ */
585
+ getInsuredObjects: function (productCode, authorization, options) {
586
+ return localVarFp.getInsuredObjects(productCode, authorization, options).then(function (request) { return request(axios, basePath); });
587
+ },
588
+ /**
589
+ * This will generate a custom css for booking funnel, based on product.
590
+ * @summary Generate a custom CSS
591
+ * @param {string} productCode
592
+ * @param {string} [authorization] Bearer Token
593
+ * @param {*} [options] Override http request option.
594
+ * @throws {RequiredError}
595
+ */
596
+ getProductCustomCss: function (productCode, authorization, options) {
597
+ return localVarFp.getProductCustomCss(productCode, authorization, options).then(function (request) { return request(axios, basePath); });
598
+ },
599
+ /**
600
+ * 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.
601
+ * @summary List product factors
602
+ * @param {string} productCode
603
+ * @param {string} allValues
604
+ * @param {string} [authorization] Bearer Token
605
+ * @param {*} [options] Override http request option.
606
+ * @throws {RequiredError}
607
+ */
608
+ getProductFactors: function (productCode, allValues, authorization, options) {
609
+ return localVarFp.getProductFactors(productCode, allValues, authorization, options).then(function (request) { return request(axios, basePath); });
610
+ },
611
+ };
612
+ };
613
+ exports.ProductsApiFactory = ProductsApiFactory;
614
+ /**
615
+ * ProductsApi - object-oriented interface
616
+ * @export
617
+ * @class ProductsApi
618
+ * @extends {BaseAPI}
619
+ */
620
+ var ProductsApi = /** @class */ (function (_super) {
621
+ __extends(ProductsApi, _super);
622
+ function ProductsApi() {
623
+ return _super !== null && _super.apply(this, arguments) || this;
624
+ }
625
+ /**
626
+ * This will create an invoice product.
627
+ * @summary Create the invoice product
628
+ * @param {ProductsApiCreateEstimatedInvoiceRequest} requestParameters Request parameters.
629
+ * @param {*} [options] Override http request option.
630
+ * @throws {RequiredError}
631
+ * @memberof ProductsApi
632
+ */
633
+ ProductsApi.prototype.createEstimatedInvoice = function (requestParameters, options) {
634
+ var _this = this;
635
+ return (0, exports.ProductsApiFp)(this.configuration).createEstimatedInvoice(requestParameters.productCode, requestParameters.createEstimatedInvoiceRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
636
+ };
637
+ /**
638
+ * This will create a custom application for a specific provider.
639
+ * @summary Create the custom application
640
+ * @param {ProductsApiCustomApplicationRequest} requestParameters Request parameters.
641
+ * @param {*} [options] Override http request option.
642
+ * @throws {RequiredError}
643
+ * @memberof ProductsApi
644
+ */
645
+ ProductsApi.prototype.customApplication = function (requestParameters, options) {
646
+ var _this = this;
647
+ return (0, exports.ProductsApiFp)(this.configuration).customApplication(requestParameters.productCode, requestParameters.createCustomApplicationRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
648
+ };
649
+ /**
650
+ * 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.
651
+ * @summary List insured object types
652
+ * @param {ProductsApiGetInsuredObjectTypesRequest} requestParameters Request parameters.
653
+ * @param {*} [options] Override http request option.
654
+ * @throws {RequiredError}
655
+ * @memberof ProductsApi
656
+ */
657
+ ProductsApi.prototype.getInsuredObjectTypes = function (requestParameters, options) {
658
+ var _this = this;
659
+ if (requestParameters === void 0) { requestParameters = {}; }
660
+ return (0, exports.ProductsApiFp)(this.configuration).getInsuredObjectTypes(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
661
+ };
662
+ /**
663
+ * 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.
664
+ * @summary List insured objects
665
+ * @param {ProductsApiGetInsuredObjectsRequest} requestParameters Request parameters.
666
+ * @param {*} [options] Override http request option.
667
+ * @throws {RequiredError}
668
+ * @memberof ProductsApi
669
+ */
670
+ ProductsApi.prototype.getInsuredObjects = function (requestParameters, options) {
671
+ var _this = this;
672
+ return (0, exports.ProductsApiFp)(this.configuration).getInsuredObjects(requestParameters.productCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
673
+ };
674
+ /**
675
+ * This will generate a custom css for booking funnel, based on product.
676
+ * @summary Generate a custom CSS
677
+ * @param {ProductsApiGetProductCustomCssRequest} requestParameters Request parameters.
678
+ * @param {*} [options] Override http request option.
679
+ * @throws {RequiredError}
680
+ * @memberof ProductsApi
681
+ */
682
+ ProductsApi.prototype.getProductCustomCss = function (requestParameters, options) {
683
+ var _this = this;
684
+ return (0, exports.ProductsApiFp)(this.configuration).getProductCustomCss(requestParameters.productCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
685
+ };
686
+ /**
687
+ * 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.
688
+ * @summary List product factors
689
+ * @param {ProductsApiGetProductFactorsRequest} requestParameters Request parameters.
690
+ * @param {*} [options] Override http request option.
691
+ * @throws {RequiredError}
692
+ * @memberof ProductsApi
693
+ */
694
+ ProductsApi.prototype.getProductFactors = function (requestParameters, options) {
695
+ var _this = this;
696
+ return (0, exports.ProductsApiFp)(this.configuration).getProductFactors(requestParameters.productCode, requestParameters.allValues, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
697
+ };
698
+ return ProductsApi;
699
+ }(base_1.BaseAPI));
700
+ exports.ProductsApi = ProductsApi;