@emilgroup/public-api-sdk 1.40.1-beta.27 → 1.40.1-beta.28
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/README.md +2 -2
- package/api/address-completions-validations-api.ts +6 -16
- package/api/booking-funnels-api.ts +3 -8
- package/api/documents-api.ts +21 -56
- package/api/health-api.ts +1 -1
- package/api/ibanvalidator-api.ts +3 -8
- package/api/leads-api.ts +24 -64
- package/api/named-ranges-api.ts +3 -8
- package/api/notifications-api.ts +9 -24
- package/api/partners-api.ts +3 -8
- package/api/payments-setup-api.ts +20 -60
- package/api/product-versions-api.ts +12 -32
- package/api/products-api.ts +27 -72
- package/base.ts +54 -310
- package/common.ts +2 -3
- package/configuration.ts +0 -20
- package/dist/api/address-completions-validations-api.d.ts +2 -2
- package/dist/api/address-completions-validations-api.js +14 -22
- package/dist/api/booking-funnels-api.d.ts +1 -1
- package/dist/api/booking-funnels-api.js +7 -11
- package/dist/api/documents-api.d.ts +7 -7
- package/dist/api/documents-api.js +53 -93
- package/dist/api/health-api.d.ts +1 -1
- package/dist/api/health-api.js +1 -1
- package/dist/api/ibanvalidator-api.d.ts +1 -1
- package/dist/api/ibanvalidator-api.js +8 -15
- package/dist/api/leads-api.d.ts +8 -8
- package/dist/api/leads-api.js +64 -120
- package/dist/api/named-ranges-api.d.ts +1 -1
- package/dist/api/named-ranges-api.js +7 -11
- package/dist/api/notifications-api.d.ts +3 -3
- package/dist/api/notifications-api.js +24 -45
- package/dist/api/partners-api.d.ts +1 -1
- package/dist/api/partners-api.js +8 -15
- package/dist/api/payments-setup-api.d.ts +4 -4
- package/dist/api/payments-setup-api.js +40 -80
- package/dist/api/product-versions-api.d.ts +4 -4
- package/dist/api/product-versions-api.js +31 -56
- package/dist/api/products-api.d.ts +9 -9
- package/dist/api/products-api.js +68 -119
- package/dist/base.d.ts +0 -33
- package/dist/base.js +72 -308
- package/dist/common.d.ts +1 -1
- package/dist/common.js +0 -1
- package/dist/configuration.d.ts +0 -17
- package/dist/configuration.js +0 -2
- package/package.json +2 -2
|
@@ -93,5 +93,5 @@ export declare class PartnersApi extends BaseAPI {
|
|
|
93
93
|
* @throws {RequiredError}
|
|
94
94
|
* @memberof PartnersApi
|
|
95
95
|
*/
|
|
96
|
-
validatePartner(requestParameters: PartnersApiValidatePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidatePartnerResponseClass, any, {}
|
|
96
|
+
validatePartner(requestParameters: PartnersApiValidatePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidatePartnerResponseClass, any, {}>>;
|
|
97
97
|
}
|
package/dist/api/partners-api.js
CHANGED
|
@@ -103,10 +103,9 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
validatePartner: function (validatePartnerRequestDto, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
switch (_b.label) {
|
|
106
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
107
|
+
return __generator(this, function (_a) {
|
|
108
|
+
switch (_a.label) {
|
|
110
109
|
case 0:
|
|
111
110
|
// verify required parameter 'validatePartnerRequestDto' is not null or undefined
|
|
112
111
|
(0, common_1.assertParamExists)('validatePartner', 'validatePartnerRequestDto', validatePartnerRequestDto);
|
|
@@ -121,19 +120,13 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
121
120
|
localVarQueryParameter = {};
|
|
122
121
|
// authentication bearer required
|
|
123
122
|
// http bearer authentication required
|
|
124
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
125
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
126
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
127
|
-
];
|
|
123
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
128
124
|
case 1:
|
|
129
125
|
// authentication bearer required
|
|
130
126
|
// http bearer authentication required
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
135
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
136
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
127
|
+
_a.sent();
|
|
128
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
129
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
137
130
|
}
|
|
138
131
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
139
132
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -224,7 +217,7 @@ var PartnersApi = /** @class */ (function (_super) {
|
|
|
224
217
|
*/
|
|
225
218
|
PartnersApi.prototype.validatePartner = function (requestParameters, options) {
|
|
226
219
|
var _this = this;
|
|
227
|
-
return (0, exports.PartnersApiFp)(this.configuration).validatePartner(requestParameters.validatePartnerRequestDto, requestParameters.authorization,
|
|
220
|
+
return (0, exports.PartnersApiFp)(this.configuration).validatePartner(requestParameters.validatePartnerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
228
221
|
};
|
|
229
222
|
return PartnersApi;
|
|
230
223
|
}(base_1.BaseAPI));
|
|
@@ -261,7 +261,7 @@ export declare class PaymentsSetupApi extends BaseAPI {
|
|
|
261
261
|
* @throws {RequiredError}
|
|
262
262
|
* @memberof PaymentsSetupApi
|
|
263
263
|
*/
|
|
264
|
-
completePaymentSetup(requestParameters: PaymentsSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompletePaymentSetupResponseClass, any, {}
|
|
264
|
+
completePaymentSetup(requestParameters: PaymentsSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompletePaymentSetupResponseClass, any, {}>>;
|
|
265
265
|
/**
|
|
266
266
|
* This will send the customer the public key to load the payment form and complete the payment setup.
|
|
267
267
|
* @summary Get public key and psp
|
|
@@ -270,7 +270,7 @@ export declare class PaymentsSetupApi extends BaseAPI {
|
|
|
270
270
|
* @throws {RequiredError}
|
|
271
271
|
* @memberof PaymentsSetupApi
|
|
272
272
|
*/
|
|
273
|
-
getPublicPSPConfig(requestParameters?: PaymentsSetupApiGetPublicPSPConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPublicPspSettingsResponseClass, any, {}
|
|
273
|
+
getPublicPSPConfig(requestParameters?: PaymentsSetupApiGetPublicPSPConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPublicPspSettingsResponseClass, any, {}>>;
|
|
274
274
|
/**
|
|
275
275
|
* Retrieves the details of the psp-settings that was previously created. Supply the unique psp-settings code that was returned when you created it and Emil Api will return the corresponding psp-settings information.
|
|
276
276
|
* @summary Retrieve the psp-settings
|
|
@@ -279,7 +279,7 @@ export declare class PaymentsSetupApi extends BaseAPI {
|
|
|
279
279
|
* @throws {RequiredError}
|
|
280
280
|
* @memberof PaymentsSetupApi
|
|
281
281
|
*/
|
|
282
|
-
getPublicPSPConfigForProduct(requestParameters: PaymentsSetupApiGetPublicPSPConfigForProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPublicPspSettingsResponseClass, any, {}
|
|
282
|
+
getPublicPSPConfigForProduct(requestParameters: PaymentsSetupApiGetPublicPSPConfigForProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPublicPspSettingsResponseClass, any, {}>>;
|
|
283
283
|
/**
|
|
284
284
|
* This will Initiate an account inside the payment service providers and they will generate a secret token which is allow user add its payment information.
|
|
285
285
|
* @summary Initiate a payment setup
|
|
@@ -288,5 +288,5 @@ export declare class PaymentsSetupApi extends BaseAPI {
|
|
|
288
288
|
* @throws {RequiredError}
|
|
289
289
|
* @memberof PaymentsSetupApi
|
|
290
290
|
*/
|
|
291
|
-
initiatePaymentSetup(requestParameters: PaymentsSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiatePaymentSetupResponseClass, any, {}
|
|
291
|
+
initiatePaymentSetup(requestParameters: PaymentsSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiatePaymentSetupResponseClass, any, {}>>;
|
|
292
292
|
}
|
|
@@ -104,10 +104,9 @@ var PaymentsSetupApiAxiosParamCreator = function (configuration) {
|
|
|
104
104
|
completePaymentSetup: function (completePaymentSetupRequestDto, idempotencyKey, authorization, options) {
|
|
105
105
|
if (options === void 0) { options = {}; }
|
|
106
106
|
return __awaiter(_this, void 0, void 0, function () {
|
|
107
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
switch (_c.label) {
|
|
107
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
108
|
+
return __generator(this, function (_a) {
|
|
109
|
+
switch (_a.label) {
|
|
111
110
|
case 0:
|
|
112
111
|
// verify required parameter 'completePaymentSetupRequestDto' is not null or undefined
|
|
113
112
|
(0, common_1.assertParamExists)('completePaymentSetup', 'completePaymentSetupRequestDto', completePaymentSetupRequestDto);
|
|
@@ -122,25 +121,16 @@ var PaymentsSetupApiAxiosParamCreator = function (configuration) {
|
|
|
122
121
|
localVarQueryParameter = {};
|
|
123
122
|
// authentication bearer required
|
|
124
123
|
// http bearer authentication required
|
|
125
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
126
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
127
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
128
|
-
];
|
|
124
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
129
125
|
case 1:
|
|
130
126
|
// authentication bearer required
|
|
131
127
|
// http bearer authentication required
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
idempotencyKeyKeepEmpty = idempotencyKeyIsAuth && idempotencyKeyValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
136
|
-
if (idempotencyKeyValue || idempotencyKeyKeepEmpty) {
|
|
137
|
-
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKeyValue);
|
|
128
|
+
_a.sent();
|
|
129
|
+
if (idempotencyKey !== undefined && idempotencyKey !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
130
|
+
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey ? idempotencyKey : baseAccessToken);
|
|
138
131
|
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _b === void 0 ? void 0 : _b['X-Emil-Account']);
|
|
142
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
143
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
132
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
133
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
144
134
|
}
|
|
145
135
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
146
136
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -166,10 +156,9 @@ var PaymentsSetupApiAxiosParamCreator = function (configuration) {
|
|
|
166
156
|
getPublicPSPConfig: function (idempotencyKey, authorization, options) {
|
|
167
157
|
if (options === void 0) { options = {}; }
|
|
168
158
|
return __awaiter(_this, void 0, void 0, function () {
|
|
169
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
switch (_c.label) {
|
|
159
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
160
|
+
return __generator(this, function (_a) {
|
|
161
|
+
switch (_a.label) {
|
|
173
162
|
case 0:
|
|
174
163
|
localVarPath = "/publicapi/v1/payment-setup/get-psp-config";
|
|
175
164
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -182,25 +171,16 @@ var PaymentsSetupApiAxiosParamCreator = function (configuration) {
|
|
|
182
171
|
localVarQueryParameter = {};
|
|
183
172
|
// authentication bearer required
|
|
184
173
|
// http bearer authentication required
|
|
185
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
186
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
187
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
188
|
-
];
|
|
174
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
189
175
|
case 1:
|
|
190
176
|
// authentication bearer required
|
|
191
177
|
// http bearer authentication required
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
idempotencyKeyKeepEmpty = idempotencyKeyIsAuth && idempotencyKeyValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
196
|
-
if (idempotencyKeyValue || idempotencyKeyKeepEmpty) {
|
|
197
|
-
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKeyValue);
|
|
178
|
+
_a.sent();
|
|
179
|
+
if (idempotencyKey !== undefined && idempotencyKey !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
180
|
+
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey ? idempotencyKey : baseAccessToken);
|
|
198
181
|
}
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _b === void 0 ? void 0 : _b['X-Emil-Account']);
|
|
202
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
203
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
182
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
183
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
204
184
|
}
|
|
205
185
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
206
186
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -225,10 +205,9 @@ var PaymentsSetupApiAxiosParamCreator = function (configuration) {
|
|
|
225
205
|
getPublicPSPConfigForProduct: function (productSlug, idempotencyKey, authorization, options) {
|
|
226
206
|
if (options === void 0) { options = {}; }
|
|
227
207
|
return __awaiter(_this, void 0, void 0, function () {
|
|
228
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
switch (_c.label) {
|
|
208
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
209
|
+
return __generator(this, function (_a) {
|
|
210
|
+
switch (_a.label) {
|
|
232
211
|
case 0:
|
|
233
212
|
// verify required parameter 'productSlug' is not null or undefined
|
|
234
213
|
(0, common_1.assertParamExists)('getPublicPSPConfigForProduct', 'productSlug', productSlug);
|
|
@@ -244,25 +223,16 @@ var PaymentsSetupApiAxiosParamCreator = function (configuration) {
|
|
|
244
223
|
localVarQueryParameter = {};
|
|
245
224
|
// authentication bearer required
|
|
246
225
|
// http bearer authentication required
|
|
247
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
248
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
249
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
250
|
-
];
|
|
226
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
251
227
|
case 1:
|
|
252
228
|
// authentication bearer required
|
|
253
229
|
// http bearer authentication required
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
idempotencyKeyKeepEmpty = idempotencyKeyIsAuth && idempotencyKeyValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
258
|
-
if (idempotencyKeyValue || idempotencyKeyKeepEmpty) {
|
|
259
|
-
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKeyValue);
|
|
230
|
+
_a.sent();
|
|
231
|
+
if (idempotencyKey !== undefined && idempotencyKey !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
232
|
+
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey ? idempotencyKey : baseAccessToken);
|
|
260
233
|
}
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _b === void 0 ? void 0 : _b['X-Emil-Account']);
|
|
264
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
265
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
234
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
235
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
266
236
|
}
|
|
267
237
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
268
238
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -287,10 +257,9 @@ var PaymentsSetupApiAxiosParamCreator = function (configuration) {
|
|
|
287
257
|
initiatePaymentSetup: function (initiatePaymentSetupRequestDto, idempotencyKey, authorization, options) {
|
|
288
258
|
if (options === void 0) { options = {}; }
|
|
289
259
|
return __awaiter(_this, void 0, void 0, function () {
|
|
290
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
switch (_c.label) {
|
|
260
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
261
|
+
return __generator(this, function (_a) {
|
|
262
|
+
switch (_a.label) {
|
|
294
263
|
case 0:
|
|
295
264
|
// verify required parameter 'initiatePaymentSetupRequestDto' is not null or undefined
|
|
296
265
|
(0, common_1.assertParamExists)('initiatePaymentSetup', 'initiatePaymentSetupRequestDto', initiatePaymentSetupRequestDto);
|
|
@@ -305,25 +274,16 @@ var PaymentsSetupApiAxiosParamCreator = function (configuration) {
|
|
|
305
274
|
localVarQueryParameter = {};
|
|
306
275
|
// authentication bearer required
|
|
307
276
|
// http bearer authentication required
|
|
308
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
309
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
310
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
311
|
-
];
|
|
277
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
312
278
|
case 1:
|
|
313
279
|
// authentication bearer required
|
|
314
280
|
// http bearer authentication required
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
idempotencyKeyKeepEmpty = idempotencyKeyIsAuth && idempotencyKeyValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
319
|
-
if (idempotencyKeyValue || idempotencyKeyKeepEmpty) {
|
|
320
|
-
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKeyValue);
|
|
281
|
+
_a.sent();
|
|
282
|
+
if (idempotencyKey !== undefined && idempotencyKey !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
283
|
+
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey ? idempotencyKey : baseAccessToken);
|
|
321
284
|
}
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _b === void 0 ? void 0 : _b['X-Emil-Account']);
|
|
325
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
326
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
285
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
286
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
327
287
|
}
|
|
328
288
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
329
289
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -516,7 +476,7 @@ var PaymentsSetupApi = /** @class */ (function (_super) {
|
|
|
516
476
|
*/
|
|
517
477
|
PaymentsSetupApi.prototype.completePaymentSetup = function (requestParameters, options) {
|
|
518
478
|
var _this = this;
|
|
519
|
-
return (0, exports.PaymentsSetupApiFp)(this.configuration).completePaymentSetup(requestParameters.completePaymentSetupRequestDto, requestParameters.idempotencyKey, requestParameters.authorization,
|
|
479
|
+
return (0, exports.PaymentsSetupApiFp)(this.configuration).completePaymentSetup(requestParameters.completePaymentSetupRequestDto, requestParameters.idempotencyKey, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
520
480
|
};
|
|
521
481
|
/**
|
|
522
482
|
* This will send the customer the public key to load the payment form and complete the payment setup.
|
|
@@ -529,7 +489,7 @@ var PaymentsSetupApi = /** @class */ (function (_super) {
|
|
|
529
489
|
PaymentsSetupApi.prototype.getPublicPSPConfig = function (requestParameters, options) {
|
|
530
490
|
var _this = this;
|
|
531
491
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
532
|
-
return (0, exports.PaymentsSetupApiFp)(this.configuration).getPublicPSPConfig(requestParameters.idempotencyKey, requestParameters.authorization,
|
|
492
|
+
return (0, exports.PaymentsSetupApiFp)(this.configuration).getPublicPSPConfig(requestParameters.idempotencyKey, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
533
493
|
};
|
|
534
494
|
/**
|
|
535
495
|
* Retrieves the details of the psp-settings that was previously created. Supply the unique psp-settings code that was returned when you created it and Emil Api will return the corresponding psp-settings information.
|
|
@@ -541,7 +501,7 @@ var PaymentsSetupApi = /** @class */ (function (_super) {
|
|
|
541
501
|
*/
|
|
542
502
|
PaymentsSetupApi.prototype.getPublicPSPConfigForProduct = function (requestParameters, options) {
|
|
543
503
|
var _this = this;
|
|
544
|
-
return (0, exports.PaymentsSetupApiFp)(this.configuration).getPublicPSPConfigForProduct(requestParameters.productSlug, requestParameters.idempotencyKey, requestParameters.authorization,
|
|
504
|
+
return (0, exports.PaymentsSetupApiFp)(this.configuration).getPublicPSPConfigForProduct(requestParameters.productSlug, requestParameters.idempotencyKey, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
545
505
|
};
|
|
546
506
|
/**
|
|
547
507
|
* This will Initiate an account inside the payment service providers and they will generate a secret token which is allow user add its payment information.
|
|
@@ -553,7 +513,7 @@ var PaymentsSetupApi = /** @class */ (function (_super) {
|
|
|
553
513
|
*/
|
|
554
514
|
PaymentsSetupApi.prototype.initiatePaymentSetup = function (requestParameters, options) {
|
|
555
515
|
var _this = this;
|
|
556
|
-
return (0, exports.PaymentsSetupApiFp)(this.configuration).initiatePaymentSetup(requestParameters.initiatePaymentSetupRequestDto, requestParameters.idempotencyKey, requestParameters.authorization,
|
|
516
|
+
return (0, exports.PaymentsSetupApiFp)(this.configuration).initiatePaymentSetup(requestParameters.initiatePaymentSetupRequestDto, requestParameters.idempotencyKey, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
557
517
|
};
|
|
558
518
|
return PaymentsSetupApi;
|
|
559
519
|
}(base_1.BaseAPI));
|
|
@@ -252,7 +252,7 @@ export declare class ProductVersionsApi extends BaseAPI {
|
|
|
252
252
|
* @throws {RequiredError}
|
|
253
253
|
* @memberof ProductVersionsApi
|
|
254
254
|
*/
|
|
255
|
-
calculateProductTariffQuote(requestParameters: ProductVersionsApiCalculateProductTariffQuoteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CalculateProductTariffQuoteResponseClass, any, {}
|
|
255
|
+
calculateProductTariffQuote(requestParameters: ProductVersionsApiCalculateProductTariffQuoteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CalculateProductTariffQuoteResponseClass, any, {}>>;
|
|
256
256
|
/**
|
|
257
257
|
* 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.
|
|
258
258
|
* @summary List insured objects
|
|
@@ -261,7 +261,7 @@ export declare class ProductVersionsApi extends BaseAPI {
|
|
|
261
261
|
* @throws {RequiredError}
|
|
262
262
|
* @memberof ProductVersionsApi
|
|
263
263
|
*/
|
|
264
|
-
getInsuredObjectsPerVersion(requestParameters: ProductVersionsApiGetInsuredObjectsPerVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InsuredObjectClass[], any, {}
|
|
264
|
+
getInsuredObjectsPerVersion(requestParameters: ProductVersionsApiGetInsuredObjectsPerVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InsuredObjectClass[], any, {}>>;
|
|
265
265
|
/**
|
|
266
266
|
* Retrieves list of available tariffs for the published product config version
|
|
267
267
|
* @summary Retrieve the Product Config Tariffs
|
|
@@ -270,7 +270,7 @@ export declare class ProductVersionsApi extends BaseAPI {
|
|
|
270
270
|
* @throws {RequiredError}
|
|
271
271
|
* @memberof ProductVersionsApi
|
|
272
272
|
*/
|
|
273
|
-
getProductConfigTariffs(requestParameters: ProductVersionsApiGetProductConfigTariffsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductConfigTariffsResponseClass, any, {}
|
|
273
|
+
getProductConfigTariffs(requestParameters: ProductVersionsApiGetProductConfigTariffsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductConfigTariffsResponseClass, any, {}>>;
|
|
274
274
|
/**
|
|
275
275
|
* 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.
|
|
276
276
|
* @summary List product factors
|
|
@@ -279,5 +279,5 @@ export declare class ProductVersionsApi extends BaseAPI {
|
|
|
279
279
|
* @throws {RequiredError}
|
|
280
280
|
* @memberof ProductVersionsApi
|
|
281
281
|
*/
|
|
282
|
-
getProductFactorsPerVersion(requestParameters: ProductVersionsApiGetProductFactorsPerVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductFactorForVersionClass[], any, {}
|
|
282
|
+
getProductFactorsPerVersion(requestParameters: ProductVersionsApiGetProductFactorsPerVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductFactorForVersionClass[], any, {}>>;
|
|
283
283
|
}
|
|
@@ -104,10 +104,9 @@ var ProductVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
104
104
|
calculateProductTariffQuote: function (productVersionId, calculateProductTariffQuoteRequestDto, authorization, options) {
|
|
105
105
|
if (options === void 0) { options = {}; }
|
|
106
106
|
return __awaiter(_this, void 0, void 0, function () {
|
|
107
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
switch (_b.label) {
|
|
107
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
108
|
+
return __generator(this, function (_a) {
|
|
109
|
+
switch (_a.label) {
|
|
111
110
|
case 0:
|
|
112
111
|
// verify required parameter 'productVersionId' is not null or undefined
|
|
113
112
|
(0, common_1.assertParamExists)('calculateProductTariffQuote', 'productVersionId', productVersionId);
|
|
@@ -125,19 +124,13 @@ var ProductVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
125
124
|
localVarQueryParameter = {};
|
|
126
125
|
// authentication bearer required
|
|
127
126
|
// http bearer authentication required
|
|
128
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
129
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
130
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
131
|
-
];
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
132
128
|
case 1:
|
|
133
129
|
// authentication bearer required
|
|
134
130
|
// http bearer authentication required
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
139
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
140
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
131
|
+
_a.sent();
|
|
132
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
133
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
141
134
|
}
|
|
142
135
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
143
136
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -163,10 +156,9 @@ var ProductVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
163
156
|
getInsuredObjectsPerVersion: function (productVersionId, authorization, options) {
|
|
164
157
|
if (options === void 0) { options = {}; }
|
|
165
158
|
return __awaiter(_this, void 0, void 0, function () {
|
|
166
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
switch (_b.label) {
|
|
159
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
160
|
+
return __generator(this, function (_a) {
|
|
161
|
+
switch (_a.label) {
|
|
170
162
|
case 0:
|
|
171
163
|
// verify required parameter 'productVersionId' is not null or undefined
|
|
172
164
|
(0, common_1.assertParamExists)('getInsuredObjectsPerVersion', 'productVersionId', productVersionId);
|
|
@@ -182,19 +174,13 @@ var ProductVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
182
174
|
localVarQueryParameter = {};
|
|
183
175
|
// authentication bearer required
|
|
184
176
|
// http bearer authentication required
|
|
185
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
186
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
187
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
188
|
-
];
|
|
177
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
189
178
|
case 1:
|
|
190
179
|
// authentication bearer required
|
|
191
180
|
// http bearer authentication required
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
196
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
197
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
181
|
+
_a.sent();
|
|
182
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
183
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
198
184
|
}
|
|
199
185
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
200
186
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -218,10 +204,9 @@ var ProductVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
218
204
|
getProductConfigTariffs: function (productVersionId, authorization, options) {
|
|
219
205
|
if (options === void 0) { options = {}; }
|
|
220
206
|
return __awaiter(_this, void 0, void 0, function () {
|
|
221
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
switch (_b.label) {
|
|
207
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
208
|
+
return __generator(this, function (_a) {
|
|
209
|
+
switch (_a.label) {
|
|
225
210
|
case 0:
|
|
226
211
|
// verify required parameter 'productVersionId' is not null or undefined
|
|
227
212
|
(0, common_1.assertParamExists)('getProductConfigTariffs', 'productVersionId', productVersionId);
|
|
@@ -237,19 +222,13 @@ var ProductVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
237
222
|
localVarQueryParameter = {};
|
|
238
223
|
// authentication bearer required
|
|
239
224
|
// http bearer authentication required
|
|
240
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
241
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
242
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
243
|
-
];
|
|
225
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
244
226
|
case 1:
|
|
245
227
|
// authentication bearer required
|
|
246
228
|
// http bearer authentication required
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
251
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
252
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
229
|
+
_a.sent();
|
|
230
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
231
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
253
232
|
}
|
|
254
233
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
255
234
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -274,10 +253,9 @@ var ProductVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
274
253
|
getProductFactorsPerVersion: function (productVersionId, allValues, authorization, options) {
|
|
275
254
|
if (options === void 0) { options = {}; }
|
|
276
255
|
return __awaiter(_this, void 0, void 0, function () {
|
|
277
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
switch (_b.label) {
|
|
256
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
257
|
+
return __generator(this, function (_a) {
|
|
258
|
+
switch (_a.label) {
|
|
281
259
|
case 0:
|
|
282
260
|
// verify required parameter 'productVersionId' is not null or undefined
|
|
283
261
|
(0, common_1.assertParamExists)('getProductFactorsPerVersion', 'productVersionId', productVersionId);
|
|
@@ -299,15 +277,12 @@ var ProductVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
299
277
|
case 1:
|
|
300
278
|
// authentication bearer required
|
|
301
279
|
// http bearer authentication required
|
|
302
|
-
|
|
280
|
+
_a.sent();
|
|
303
281
|
if (allValues !== undefined) {
|
|
304
282
|
localVarQueryParameter['all_values'] = allValues;
|
|
305
283
|
}
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
309
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
310
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
284
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
285
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
311
286
|
}
|
|
312
287
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
313
288
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -496,7 +471,7 @@ var ProductVersionsApi = /** @class */ (function (_super) {
|
|
|
496
471
|
*/
|
|
497
472
|
ProductVersionsApi.prototype.calculateProductTariffQuote = function (requestParameters, options) {
|
|
498
473
|
var _this = this;
|
|
499
|
-
return (0, exports.ProductVersionsApiFp)(this.configuration).calculateProductTariffQuote(requestParameters.productVersionId, requestParameters.calculateProductTariffQuoteRequestDto, requestParameters.authorization,
|
|
474
|
+
return (0, exports.ProductVersionsApiFp)(this.configuration).calculateProductTariffQuote(requestParameters.productVersionId, requestParameters.calculateProductTariffQuoteRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
500
475
|
};
|
|
501
476
|
/**
|
|
502
477
|
* 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.
|
|
@@ -508,7 +483,7 @@ var ProductVersionsApi = /** @class */ (function (_super) {
|
|
|
508
483
|
*/
|
|
509
484
|
ProductVersionsApi.prototype.getInsuredObjectsPerVersion = function (requestParameters, options) {
|
|
510
485
|
var _this = this;
|
|
511
|
-
return (0, exports.ProductVersionsApiFp)(this.configuration).getInsuredObjectsPerVersion(requestParameters.productVersionId, requestParameters.authorization,
|
|
486
|
+
return (0, exports.ProductVersionsApiFp)(this.configuration).getInsuredObjectsPerVersion(requestParameters.productVersionId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
512
487
|
};
|
|
513
488
|
/**
|
|
514
489
|
* Retrieves list of available tariffs for the published product config version
|
|
@@ -520,7 +495,7 @@ var ProductVersionsApi = /** @class */ (function (_super) {
|
|
|
520
495
|
*/
|
|
521
496
|
ProductVersionsApi.prototype.getProductConfigTariffs = function (requestParameters, options) {
|
|
522
497
|
var _this = this;
|
|
523
|
-
return (0, exports.ProductVersionsApiFp)(this.configuration).getProductConfigTariffs(requestParameters.productVersionId, requestParameters.authorization,
|
|
498
|
+
return (0, exports.ProductVersionsApiFp)(this.configuration).getProductConfigTariffs(requestParameters.productVersionId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
524
499
|
};
|
|
525
500
|
/**
|
|
526
501
|
* 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.
|
|
@@ -532,7 +507,7 @@ var ProductVersionsApi = /** @class */ (function (_super) {
|
|
|
532
507
|
*/
|
|
533
508
|
ProductVersionsApi.prototype.getProductFactorsPerVersion = function (requestParameters, options) {
|
|
534
509
|
var _this = this;
|
|
535
|
-
return (0, exports.ProductVersionsApiFp)(this.configuration).getProductFactorsPerVersion(requestParameters.productVersionId, requestParameters.allValues, requestParameters.authorization,
|
|
510
|
+
return (0, exports.ProductVersionsApiFp)(this.configuration).getProductFactorsPerVersion(requestParameters.productVersionId, requestParameters.allValues, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
536
511
|
};
|
|
537
512
|
return ProductVersionsApi;
|
|
538
513
|
}(base_1.BaseAPI));
|