@emilgroup/public-api-sdk 1.40.1-beta.26 → 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 +43 -239
- 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 -26
- package/dist/base.js +60 -243
- 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
package/api/partners-api.ts
CHANGED
|
@@ -59,13 +59,8 @@ export const PartnersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
59
59
|
// http bearer authentication required
|
|
60
60
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
61
61
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
65
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
66
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
67
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
68
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
62
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
63
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
69
64
|
}
|
|
70
65
|
|
|
71
66
|
|
|
@@ -165,6 +160,6 @@ export class PartnersApi extends BaseAPI {
|
|
|
165
160
|
* @memberof PartnersApi
|
|
166
161
|
*/
|
|
167
162
|
public validatePartner(requestParameters: PartnersApiValidatePartnerRequest, options?: AxiosRequestConfig) {
|
|
168
|
-
return PartnersApiFp(this.configuration).validatePartner(requestParameters.validatePartnerRequestDto, requestParameters.authorization,
|
|
163
|
+
return PartnersApiFp(this.configuration).validatePartner(requestParameters.validatePartnerRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
169
164
|
}
|
|
170
165
|
}
|
|
@@ -66,22 +66,12 @@ export const PaymentsSetupApiAxiosParamCreator = function (configuration?: Confi
|
|
|
66
66
|
// http bearer authentication required
|
|
67
67
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
68
68
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
const idempotencyKeyIsAuth = 'Idempotency-Key'.toLowerCase() === 'authorization';
|
|
72
|
-
const idempotencyKeyValue = idempotencyKeyIsAuth ? (idempotencyKey || baseAccessToken) : idempotencyKey;
|
|
73
|
-
const idempotencyKeyKeepEmpty = idempotencyKeyIsAuth && idempotencyKeyValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
74
|
-
if (idempotencyKeyValue || idempotencyKeyKeepEmpty) {
|
|
75
|
-
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKeyValue);
|
|
69
|
+
if (idempotencyKey !== undefined && idempotencyKey !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
70
|
+
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey ? idempotencyKey : baseAccessToken);
|
|
76
71
|
}
|
|
77
72
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
81
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
82
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
83
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
84
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
73
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
74
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
85
75
|
}
|
|
86
76
|
|
|
87
77
|
|
|
@@ -125,22 +115,12 @@ export const PaymentsSetupApiAxiosParamCreator = function (configuration?: Confi
|
|
|
125
115
|
// http bearer authentication required
|
|
126
116
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
127
117
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
const idempotencyKeyIsAuth = 'Idempotency-Key'.toLowerCase() === 'authorization';
|
|
131
|
-
const idempotencyKeyValue = idempotencyKeyIsAuth ? (idempotencyKey || baseAccessToken) : idempotencyKey;
|
|
132
|
-
const idempotencyKeyKeepEmpty = idempotencyKeyIsAuth && idempotencyKeyValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
133
|
-
if (idempotencyKeyValue || idempotencyKeyKeepEmpty) {
|
|
134
|
-
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKeyValue);
|
|
118
|
+
if (idempotencyKey !== undefined && idempotencyKey !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
119
|
+
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey ? idempotencyKey : baseAccessToken);
|
|
135
120
|
}
|
|
136
121
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
140
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
141
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
142
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
143
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
122
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
123
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
144
124
|
}
|
|
145
125
|
|
|
146
126
|
|
|
@@ -185,22 +165,12 @@ export const PaymentsSetupApiAxiosParamCreator = function (configuration?: Confi
|
|
|
185
165
|
// http bearer authentication required
|
|
186
166
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
187
167
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
const idempotencyKeyIsAuth = 'Idempotency-Key'.toLowerCase() === 'authorization';
|
|
191
|
-
const idempotencyKeyValue = idempotencyKeyIsAuth ? (idempotencyKey || baseAccessToken) : idempotencyKey;
|
|
192
|
-
const idempotencyKeyKeepEmpty = idempotencyKeyIsAuth && idempotencyKeyValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
193
|
-
if (idempotencyKeyValue || idempotencyKeyKeepEmpty) {
|
|
194
|
-
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKeyValue);
|
|
168
|
+
if (idempotencyKey !== undefined && idempotencyKey !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
169
|
+
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey ? idempotencyKey : baseAccessToken);
|
|
195
170
|
}
|
|
196
171
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
200
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
201
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
202
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
203
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
172
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
173
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
204
174
|
}
|
|
205
175
|
|
|
206
176
|
|
|
@@ -244,22 +214,12 @@ export const PaymentsSetupApiAxiosParamCreator = function (configuration?: Confi
|
|
|
244
214
|
// http bearer authentication required
|
|
245
215
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
246
216
|
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
const idempotencyKeyIsAuth = 'Idempotency-Key'.toLowerCase() === 'authorization';
|
|
250
|
-
const idempotencyKeyValue = idempotencyKeyIsAuth ? (idempotencyKey || baseAccessToken) : idempotencyKey;
|
|
251
|
-
const idempotencyKeyKeepEmpty = idempotencyKeyIsAuth && idempotencyKeyValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
252
|
-
if (idempotencyKeyValue || idempotencyKeyKeepEmpty) {
|
|
253
|
-
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKeyValue);
|
|
217
|
+
if (idempotencyKey !== undefined && idempotencyKey !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
218
|
+
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey ? idempotencyKey : baseAccessToken);
|
|
254
219
|
}
|
|
255
220
|
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
259
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
260
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
261
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
262
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
221
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
222
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
263
223
|
}
|
|
264
224
|
|
|
265
225
|
|
|
@@ -518,7 +478,7 @@ export class PaymentsSetupApi extends BaseAPI {
|
|
|
518
478
|
* @memberof PaymentsSetupApi
|
|
519
479
|
*/
|
|
520
480
|
public completePaymentSetup(requestParameters: PaymentsSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig) {
|
|
521
|
-
return PaymentsSetupApiFp(this.configuration).completePaymentSetup(requestParameters.completePaymentSetupRequestDto, requestParameters.idempotencyKey, requestParameters.authorization,
|
|
481
|
+
return PaymentsSetupApiFp(this.configuration).completePaymentSetup(requestParameters.completePaymentSetupRequestDto, requestParameters.idempotencyKey, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
522
482
|
}
|
|
523
483
|
|
|
524
484
|
/**
|
|
@@ -530,7 +490,7 @@ export class PaymentsSetupApi extends BaseAPI {
|
|
|
530
490
|
* @memberof PaymentsSetupApi
|
|
531
491
|
*/
|
|
532
492
|
public getPublicPSPConfig(requestParameters: PaymentsSetupApiGetPublicPSPConfigRequest = {}, options?: AxiosRequestConfig) {
|
|
533
|
-
return PaymentsSetupApiFp(this.configuration).getPublicPSPConfig(requestParameters.idempotencyKey, requestParameters.authorization,
|
|
493
|
+
return PaymentsSetupApiFp(this.configuration).getPublicPSPConfig(requestParameters.idempotencyKey, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
534
494
|
}
|
|
535
495
|
|
|
536
496
|
/**
|
|
@@ -542,7 +502,7 @@ export class PaymentsSetupApi extends BaseAPI {
|
|
|
542
502
|
* @memberof PaymentsSetupApi
|
|
543
503
|
*/
|
|
544
504
|
public getPublicPSPConfigForProduct(requestParameters: PaymentsSetupApiGetPublicPSPConfigForProductRequest, options?: AxiosRequestConfig) {
|
|
545
|
-
return PaymentsSetupApiFp(this.configuration).getPublicPSPConfigForProduct(requestParameters.productSlug, requestParameters.idempotencyKey, requestParameters.authorization,
|
|
505
|
+
return PaymentsSetupApiFp(this.configuration).getPublicPSPConfigForProduct(requestParameters.productSlug, requestParameters.idempotencyKey, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
546
506
|
}
|
|
547
507
|
|
|
548
508
|
/**
|
|
@@ -554,6 +514,6 @@ export class PaymentsSetupApi extends BaseAPI {
|
|
|
554
514
|
* @memberof PaymentsSetupApi
|
|
555
515
|
*/
|
|
556
516
|
public initiatePaymentSetup(requestParameters: PaymentsSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig) {
|
|
557
|
-
return PaymentsSetupApiFp(this.configuration).initiatePaymentSetup(requestParameters.initiatePaymentSetupRequestDto, requestParameters.idempotencyKey, requestParameters.authorization,
|
|
517
|
+
return PaymentsSetupApiFp(this.configuration).initiatePaymentSetup(requestParameters.initiatePaymentSetupRequestDto, requestParameters.idempotencyKey, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
558
518
|
}
|
|
559
519
|
}
|
|
@@ -69,13 +69,8 @@ export const ProductVersionsApiAxiosParamCreator = function (configuration?: Con
|
|
|
69
69
|
// http bearer authentication required
|
|
70
70
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
71
71
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
75
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
76
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
77
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
78
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
72
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
73
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
79
74
|
}
|
|
80
75
|
|
|
81
76
|
|
|
@@ -122,13 +117,8 @@ export const ProductVersionsApiAxiosParamCreator = function (configuration?: Con
|
|
|
122
117
|
// http bearer authentication required
|
|
123
118
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
124
119
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
128
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
129
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
130
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
131
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
120
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
121
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
132
122
|
}
|
|
133
123
|
|
|
134
124
|
|
|
@@ -172,13 +162,8 @@ export const ProductVersionsApiAxiosParamCreator = function (configuration?: Con
|
|
|
172
162
|
// http bearer authentication required
|
|
173
163
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
174
164
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
178
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
179
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
180
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
181
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
165
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
166
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
182
167
|
}
|
|
183
168
|
|
|
184
169
|
|
|
@@ -229,13 +214,8 @@ export const ProductVersionsApiAxiosParamCreator = function (configuration?: Con
|
|
|
229
214
|
localVarQueryParameter['all_values'] = allValues;
|
|
230
215
|
}
|
|
231
216
|
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
235
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
236
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
237
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
238
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
217
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
218
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
239
219
|
}
|
|
240
220
|
|
|
241
221
|
|
|
@@ -482,7 +462,7 @@ export class ProductVersionsApi extends BaseAPI {
|
|
|
482
462
|
* @memberof ProductVersionsApi
|
|
483
463
|
*/
|
|
484
464
|
public calculateProductTariffQuote(requestParameters: ProductVersionsApiCalculateProductTariffQuoteRequest, options?: AxiosRequestConfig) {
|
|
485
|
-
return ProductVersionsApiFp(this.configuration).calculateProductTariffQuote(requestParameters.productVersionId, requestParameters.calculateProductTariffQuoteRequestDto, requestParameters.authorization,
|
|
465
|
+
return ProductVersionsApiFp(this.configuration).calculateProductTariffQuote(requestParameters.productVersionId, requestParameters.calculateProductTariffQuoteRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
486
466
|
}
|
|
487
467
|
|
|
488
468
|
/**
|
|
@@ -494,7 +474,7 @@ export class ProductVersionsApi extends BaseAPI {
|
|
|
494
474
|
* @memberof ProductVersionsApi
|
|
495
475
|
*/
|
|
496
476
|
public getInsuredObjectsPerVersion(requestParameters: ProductVersionsApiGetInsuredObjectsPerVersionRequest, options?: AxiosRequestConfig) {
|
|
497
|
-
return ProductVersionsApiFp(this.configuration).getInsuredObjectsPerVersion(requestParameters.productVersionId, requestParameters.authorization,
|
|
477
|
+
return ProductVersionsApiFp(this.configuration).getInsuredObjectsPerVersion(requestParameters.productVersionId, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
498
478
|
}
|
|
499
479
|
|
|
500
480
|
/**
|
|
@@ -506,7 +486,7 @@ export class ProductVersionsApi extends BaseAPI {
|
|
|
506
486
|
* @memberof ProductVersionsApi
|
|
507
487
|
*/
|
|
508
488
|
public getProductConfigTariffs(requestParameters: ProductVersionsApiGetProductConfigTariffsRequest, options?: AxiosRequestConfig) {
|
|
509
|
-
return ProductVersionsApiFp(this.configuration).getProductConfigTariffs(requestParameters.productVersionId, requestParameters.authorization,
|
|
489
|
+
return ProductVersionsApiFp(this.configuration).getProductConfigTariffs(requestParameters.productVersionId, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
510
490
|
}
|
|
511
491
|
|
|
512
492
|
/**
|
|
@@ -518,6 +498,6 @@ export class ProductVersionsApi extends BaseAPI {
|
|
|
518
498
|
* @memberof ProductVersionsApi
|
|
519
499
|
*/
|
|
520
500
|
public getProductFactorsPerVersion(requestParameters: ProductVersionsApiGetProductFactorsPerVersionRequest, options?: AxiosRequestConfig) {
|
|
521
|
-
return ProductVersionsApiFp(this.configuration).getProductFactorsPerVersion(requestParameters.productVersionId, requestParameters.allValues, requestParameters.authorization,
|
|
501
|
+
return ProductVersionsApiFp(this.configuration).getProductFactorsPerVersion(requestParameters.productVersionId, requestParameters.allValues, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
522
502
|
}
|
|
523
503
|
}
|
package/api/products-api.ts
CHANGED
|
@@ -83,13 +83,8 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
83
83
|
// http bearer authentication required
|
|
84
84
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
85
85
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
89
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
90
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
91
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
92
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
86
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
87
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
93
88
|
}
|
|
94
89
|
|
|
95
90
|
|
|
@@ -139,13 +134,8 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
139
134
|
// http bearer authentication required
|
|
140
135
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
141
136
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
145
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
146
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
147
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
148
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
137
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
138
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
149
139
|
}
|
|
150
140
|
|
|
151
141
|
|
|
@@ -195,13 +185,8 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
195
185
|
// http bearer authentication required
|
|
196
186
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
197
187
|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
201
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
202
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
203
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
204
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
188
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
189
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
205
190
|
}
|
|
206
191
|
|
|
207
192
|
|
|
@@ -248,13 +233,8 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
248
233
|
// http bearer authentication required
|
|
249
234
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
250
235
|
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
254
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
255
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
256
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
257
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
236
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
237
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
258
238
|
}
|
|
259
239
|
|
|
260
240
|
|
|
@@ -308,13 +288,8 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
308
288
|
localVarQueryParameter['product_version_id'] = productVersionId;
|
|
309
289
|
}
|
|
310
290
|
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
314
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
315
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
316
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
317
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
291
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
292
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
318
293
|
}
|
|
319
294
|
|
|
320
295
|
|
|
@@ -363,13 +338,8 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
363
338
|
localVarQueryParameter['language'] = language;
|
|
364
339
|
}
|
|
365
340
|
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
369
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
370
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
371
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
372
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
341
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
342
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
373
343
|
}
|
|
374
344
|
|
|
375
345
|
|
|
@@ -430,13 +400,8 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
430
400
|
localVarQueryParameter['product_version_id'] = productVersionId;
|
|
431
401
|
}
|
|
432
402
|
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
436
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
437
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
438
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
439
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
403
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
404
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
440
405
|
}
|
|
441
406
|
|
|
442
407
|
|
|
@@ -480,13 +445,8 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
480
445
|
// http bearer authentication required
|
|
481
446
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
482
447
|
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
486
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
487
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
488
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
489
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
448
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
449
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
490
450
|
}
|
|
491
451
|
|
|
492
452
|
|
|
@@ -561,13 +521,8 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
561
521
|
localVarQueryParameter['filters'] = filters;
|
|
562
522
|
}
|
|
563
523
|
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
567
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
568
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
569
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
570
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
524
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
525
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
571
526
|
}
|
|
572
527
|
|
|
573
528
|
|
|
@@ -1151,7 +1106,7 @@ export class ProductsApi extends BaseAPI {
|
|
|
1151
1106
|
* @memberof ProductsApi
|
|
1152
1107
|
*/
|
|
1153
1108
|
public calculateProductFields(requestParameters: ProductsApiCalculateProductFieldsRequest, options?: AxiosRequestConfig) {
|
|
1154
|
-
return ProductsApiFp(this.configuration).calculateProductFields(requestParameters.productCode, requestParameters.calculateProductFieldsRequestDto, requestParameters.authorization,
|
|
1109
|
+
return ProductsApiFp(this.configuration).calculateProductFields(requestParameters.productCode, requestParameters.calculateProductFieldsRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1155
1110
|
}
|
|
1156
1111
|
|
|
1157
1112
|
/**
|
|
@@ -1163,7 +1118,7 @@ export class ProductsApi extends BaseAPI {
|
|
|
1163
1118
|
* @memberof ProductsApi
|
|
1164
1119
|
*/
|
|
1165
1120
|
public createEstimatedInvoice(requestParameters: ProductsApiCreateEstimatedInvoiceRequest, options?: AxiosRequestConfig) {
|
|
1166
|
-
return ProductsApiFp(this.configuration).createEstimatedInvoice(requestParameters.productCode, requestParameters.createEstimatedInvoiceRequestDto, requestParameters.authorization,
|
|
1121
|
+
return ProductsApiFp(this.configuration).createEstimatedInvoice(requestParameters.productCode, requestParameters.createEstimatedInvoiceRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1167
1122
|
}
|
|
1168
1123
|
|
|
1169
1124
|
/**
|
|
@@ -1175,7 +1130,7 @@ export class ProductsApi extends BaseAPI {
|
|
|
1175
1130
|
* @memberof ProductsApi
|
|
1176
1131
|
*/
|
|
1177
1132
|
public customApplication(requestParameters: ProductsApiCustomApplicationRequest, options?: AxiosRequestConfig) {
|
|
1178
|
-
return ProductsApiFp(this.configuration).customApplication(requestParameters.productCode, requestParameters.createCustomApplicationRequestDto, requestParameters.authorization,
|
|
1133
|
+
return ProductsApiFp(this.configuration).customApplication(requestParameters.productCode, requestParameters.createCustomApplicationRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1179
1134
|
}
|
|
1180
1135
|
|
|
1181
1136
|
/**
|
|
@@ -1187,7 +1142,7 @@ export class ProductsApi extends BaseAPI {
|
|
|
1187
1142
|
* @memberof ProductsApi
|
|
1188
1143
|
*/
|
|
1189
1144
|
public getInsuredObjectTypes(requestParameters: ProductsApiGetInsuredObjectTypesRequest, options?: AxiosRequestConfig) {
|
|
1190
|
-
return ProductsApiFp(this.configuration).getInsuredObjectTypes(requestParameters.productCode, requestParameters.authorization,
|
|
1145
|
+
return ProductsApiFp(this.configuration).getInsuredObjectTypes(requestParameters.productCode, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1191
1146
|
}
|
|
1192
1147
|
|
|
1193
1148
|
/**
|
|
@@ -1199,7 +1154,7 @@ export class ProductsApi extends BaseAPI {
|
|
|
1199
1154
|
* @memberof ProductsApi
|
|
1200
1155
|
*/
|
|
1201
1156
|
public getInsuredObjects(requestParameters: ProductsApiGetInsuredObjectsRequest, options?: AxiosRequestConfig) {
|
|
1202
|
-
return ProductsApiFp(this.configuration).getInsuredObjects(requestParameters.productCode, requestParameters.authorization, requestParameters.language, requestParameters.productVersionId,
|
|
1157
|
+
return ProductsApiFp(this.configuration).getInsuredObjects(requestParameters.productCode, requestParameters.authorization, requestParameters.language, requestParameters.productVersionId, options).then((request) => request(this.axios, this.basePath));
|
|
1203
1158
|
}
|
|
1204
1159
|
|
|
1205
1160
|
/**
|
|
@@ -1211,7 +1166,7 @@ export class ProductsApi extends BaseAPI {
|
|
|
1211
1166
|
* @memberof ProductsApi
|
|
1212
1167
|
*/
|
|
1213
1168
|
public getProductCustomCss(requestParameters: ProductsApiGetProductCustomCssRequest, options?: AxiosRequestConfig) {
|
|
1214
|
-
return ProductsApiFp(this.configuration).getProductCustomCss(requestParameters.productCode, requestParameters.authorization, requestParameters.language,
|
|
1169
|
+
return ProductsApiFp(this.configuration).getProductCustomCss(requestParameters.productCode, requestParameters.authorization, requestParameters.language, options).then((request) => request(this.axios, this.basePath));
|
|
1215
1170
|
}
|
|
1216
1171
|
|
|
1217
1172
|
/**
|
|
@@ -1223,7 +1178,7 @@ export class ProductsApi extends BaseAPI {
|
|
|
1223
1178
|
* @memberof ProductsApi
|
|
1224
1179
|
*/
|
|
1225
1180
|
public getProductFactors(requestParameters: ProductsApiGetProductFactorsRequest, options?: AxiosRequestConfig) {
|
|
1226
|
-
return ProductsApiFp(this.configuration).getProductFactors(requestParameters.productCode, requestParameters.allValues, requestParameters.authorization, requestParameters.language, requestParameters.productVersionId,
|
|
1181
|
+
return ProductsApiFp(this.configuration).getProductFactors(requestParameters.productCode, requestParameters.allValues, requestParameters.authorization, requestParameters.language, requestParameters.productVersionId, options).then((request) => request(this.axios, this.basePath));
|
|
1227
1182
|
}
|
|
1228
1183
|
|
|
1229
1184
|
/**
|
|
@@ -1235,7 +1190,7 @@ export class ProductsApi extends BaseAPI {
|
|
|
1235
1190
|
* @memberof ProductsApi
|
|
1236
1191
|
*/
|
|
1237
1192
|
public getProductLanguages(requestParameters: ProductsApiGetProductLanguagesRequest, options?: AxiosRequestConfig) {
|
|
1238
|
-
return ProductsApiFp(this.configuration).getProductLanguages(requestParameters.productCode, requestParameters.authorization,
|
|
1193
|
+
return ProductsApiFp(this.configuration).getProductLanguages(requestParameters.productCode, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1239
1194
|
}
|
|
1240
1195
|
|
|
1241
1196
|
/**
|
|
@@ -1247,6 +1202,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
1247
1202
|
* @memberof ProductsApi
|
|
1248
1203
|
*/
|
|
1249
1204
|
public listProducts(requestParameters: ProductsApiListProductsRequest = {}, options?: AxiosRequestConfig) {
|
|
1250
|
-
return ProductsApiFp(this.configuration).listProducts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters,
|
|
1205
|
+
return ProductsApiFp(this.configuration).listProducts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1251
1206
|
}
|
|
1252
1207
|
}
|