@lcdp/api-react-rest-client 2.5.5-develop.6787497078 → 2.5.5-develop.6796323718
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/auth/src/apis/AuthApi.js +51 -35
- package/auth/src/apis/ManageApiKeyApi.js +77 -53
- package/auth/src/apis/SearchApiKeyApi.js +52 -36
- package/auth/src/runtime.d.ts +2 -2
- package/auth/src/runtime.js +1 -1
- package/banking-operation/src/apis/ManageLevyApi.js +52 -36
- package/banking-operation/src/apis/ManageOrderPaymentApi.js +52 -36
- package/banking-operation/src/apis/SearchLevyApi.js +52 -36
- package/banking-operation/src/apis/SearchOrderPaymentApi.js +26 -18
- package/banking-operation/src/runtime.d.ts +2 -2
- package/banking-operation/src/runtime.js +1 -1
- package/catalog/src/apis/ManageProductInsightApi.js +77 -53
- package/catalog/src/apis/SearchProductInsightApi.js +52 -36
- package/catalog/src/runtime.d.ts +2 -2
- package/catalog/src/runtime.js +1 -1
- package/challenge/src/apis/ManageChallengesApi.js +26 -18
- package/challenge/src/runtime.d.ts +2 -2
- package/challenge/src/runtime.js +1 -1
- package/configuration/src/apis/ManageVariableApi.js +25 -17
- package/configuration/src/apis/ManageVatApi.js +51 -35
- package/configuration/src/apis/SearchVatApi.js +52 -36
- package/configuration/src/runtime.d.ts +2 -2
- package/configuration/src/runtime.js +1 -1
- package/content/src/apis/ManageContentApi.js +26 -18
- package/content/src/runtime.d.ts +2 -2
- package/content/src/runtime.js +1 -1
- package/factory/src/apis/ManageAssemblyApi.js +53 -35
- package/factory/src/apis/ManageAssemblyOperationApi.js +26 -18
- package/factory/src/apis/SearchAssemblyApi.js +104 -72
- package/factory/src/apis/SearchAssemblyLineApi.js +52 -36
- package/factory/src/apis/SearchAssemblyOperationApi.js +52 -36
- package/factory/src/runtime.d.ts +2 -2
- package/factory/src/runtime.js +1 -1
- package/favorite/src/apis/ManageFavoriteProductApi.js +103 -71
- package/favorite/src/runtime.d.ts +2 -2
- package/favorite/src/runtime.js +1 -1
- package/geo/src/apis/SearchCountryApi.js +26 -18
- package/geo/src/runtime.d.ts +2 -2
- package/geo/src/runtime.js +1 -1
- package/inventory/src/apis/ManageInventoryApi.js +126 -86
- package/inventory/src/apis/SearchInventoryApi.js +260 -180
- package/inventory/src/runtime.d.ts +2 -2
- package/inventory/src/runtime.js +1 -1
- package/invoice/src/apis/ManageInvoiceApi.js +52 -36
- package/invoice/src/apis/ManageInvoiceLineApi.js +51 -35
- package/invoice/src/apis/ManageInvoicesSummaryApi.js +25 -17
- package/invoice/src/apis/SearchInvoiceApi.js +52 -36
- package/invoice/src/apis/SearchInvoiceLineApi.js +26 -18
- package/invoice/src/apis/SearchOrderTallyApi.js +52 -36
- package/invoice/src/runtime.d.ts +2 -2
- package/invoice/src/runtime.js +1 -1
- package/laboratory/src/apis/ManageLaboratoryApi.js +26 -18
- package/laboratory/src/apis/SearchLaboratoryApi.js +52 -36
- package/laboratory/src/runtime.d.ts +2 -2
- package/laboratory/src/runtime.js +1 -1
- package/laboratory-store/src/apis/ManageLaboratoryStoreApi.js +52 -36
- package/laboratory-store/src/apis/ManageLaboratoryStoreImageApi.js +106 -70
- package/laboratory-store/src/apis/SearchLaboratoryStoreApi.js +52 -36
- package/laboratory-store/src/runtime.d.ts +2 -2
- package/laboratory-store/src/runtime.js +1 -1
- package/laboratory-store-log/src/apis/SearchLaboratoryStoreLogApi.js +26 -18
- package/laboratory-store-log/src/runtime.d.ts +2 -2
- package/laboratory-store-log/src/runtime.js +1 -1
- package/lexicon/src/apis/ManageLexiconApi.js +51 -35
- package/lexicon/src/apis/SearchLexiconApi.js +104 -72
- package/lexicon/src/runtime.d.ts +2 -2
- package/lexicon/src/runtime.js +1 -1
- package/litigation/src/apis/ManageLitigationApi.js +25 -17
- package/litigation/src/runtime.d.ts +2 -2
- package/litigation/src/runtime.js +1 -1
- package/magic-cart/src/apis/ManageExpressOrderApi.js +26 -18
- package/magic-cart/src/runtime.d.ts +2 -2
- package/magic-cart/src/runtime.js +1 -1
- package/mandate/src/apis/ManageMandatesApi.js +103 -71
- package/mandate/src/runtime.d.ts +2 -2
- package/mandate/src/runtime.js +1 -1
- package/mangopay-hook/src/runtime.d.ts +2 -2
- package/mangopay-hook/src/runtime.js +1 -1
- package/message/src/apis/ManageMessageApi.js +127 -87
- package/message/src/apis/SearchMessageApi.js +78 -54
- package/message/src/runtime.d.ts +2 -2
- package/message/src/runtime.js +1 -1
- package/notification/src/apis/ManageNotificationApi.js +51 -35
- package/notification/src/apis/ManageNotificationTypeApi.js +79 -53
- package/notification/src/apis/SearchNotificationApi.js +52 -36
- package/notification/src/apis/SearchNotificationTypeApi.js +78 -54
- package/notification/src/runtime.d.ts +2 -2
- package/notification/src/runtime.js +1 -1
- package/order/src/apis/ManageMetaOrderApi.js +51 -35
- package/order/src/apis/ManageOrderApi.js +229 -157
- package/order/src/apis/ManageOrderItemApi.js +128 -88
- package/order/src/apis/SearchOrderApi.js +104 -72
- package/order/src/apis/SearchOrderItemApi.js +130 -90
- package/order/src/runtime.d.ts +2 -2
- package/order/src/runtime.js +1 -1
- package/order-log/src/apis/SearchOrderLogApi.js +26 -18
- package/order-log/src/runtime.d.ts +2 -2
- package/order-log/src/runtime.js +1 -1
- package/outrage-message/src/apis/ManageOutrageMessageApi.js +77 -53
- package/outrage-message/src/apis/SearchOutrageMessageApi.js +52 -36
- package/outrage-message/src/runtime.d.ts +2 -2
- package/outrage-message/src/runtime.js +1 -1
- package/package.json +1 -1
- package/product/src/apis/ManageProductApi.js +52 -36
- package/product/src/apis/ManageProductImageApi.js +52 -34
- package/product/src/apis/ManageProductProscriptionApi.js +51 -35
- package/product/src/apis/SearchProductApi.js +52 -36
- package/product/src/apis/SearchProductImageApi.js +52 -36
- package/product/src/apis/SearchProductMetadataApi.js +104 -72
- package/product/src/apis/SearchProductProscriptionApi.js +26 -18
- package/product/src/runtime.d.ts +2 -2
- package/product/src/runtime.js +1 -1
- package/pub/src/apis/ManagePubApi.js +102 -70
- package/pub/src/apis/ManagePubImageApi.js +28 -18
- package/pub/src/apis/SearchPubApi.js +78 -54
- package/pub/src/runtime.d.ts +2 -2
- package/pub/src/runtime.js +1 -1
- package/recommendation/src/apis/SearchFavoriteProductRecommendationApi.js +26 -18
- package/recommendation/src/apis/SearchProductPriceRecommendationApi.js +26 -18
- package/recommendation/src/apis/SearchProductRecommendationApi.js +26 -18
- package/recommendation/src/runtime.d.ts +2 -2
- package/recommendation/src/runtime.js +1 -1
- package/rfx/src/apis/ManageRfiApi.js +25 -17
- package/rfx/src/apis/ManageRfilApi.js +25 -17
- package/rfx/src/apis/ManageRfoApi.js +25 -17
- package/rfx/src/apis/ManageRfoiApi.js +52 -36
- package/rfx/src/apis/SearchRfoiApi.js +26 -18
- package/rfx/src/runtime.d.ts +2 -2
- package/rfx/src/runtime.js +1 -1
- package/sale-offer/src/apis/ManageSaleOfferApi.js +153 -105
- package/sale-offer/src/apis/SearchSaleOfferApi.js +52 -36
- package/sale-offer/src/runtime.d.ts +2 -2
- package/sale-offer/src/runtime.js +1 -1
- package/sale-offer-log/src/apis/SearchSaleOfferLogApi.js +26 -18
- package/sale-offer-log/src/runtime.d.ts +2 -2
- package/sale-offer-log/src/runtime.js +1 -1
- package/servant/src/apis/ManageTaskApi.js +25 -17
- package/servant/src/apis/SearchServantApi.js +26 -18
- package/servant/src/runtime.d.ts +2 -2
- package/servant/src/runtime.js +1 -1
- package/shipment/src/apis/ManageOrderCarriageApi.js +26 -18
- package/shipment/src/apis/ManageShipmentApi.js +52 -36
- package/shipment/src/apis/SearchOrderCarriageApi.js +52 -36
- package/shipment/src/runtime.d.ts +2 -2
- package/shipment/src/runtime.js +1 -1
- package/shopping-cart/src/apis/ManageCartApi.js +52 -36
- package/shopping-cart/src/apis/ManageCartSubCartApi.js +77 -53
- package/shopping-cart/src/apis/ManageCartSubCartLineApi.js +128 -88
- package/shopping-cart/src/runtime.d.ts +2 -2
- package/shopping-cart/src/runtime.js +1 -1
- package/statistic/src/apis/SearchSaleOfferStatisticsApi.js +52 -36
- package/statistic/src/runtime.d.ts +2 -2
- package/statistic/src/runtime.js +1 -1
- package/subscription/src/apis/ManageSubscriptionApi.js +77 -53
- package/subscription/src/apis/ManageSubscriptionPlanApi.js +26 -18
- package/subscription/src/apis/SearchSubscriptionApi.js +26 -18
- package/subscription/src/apis/SearchSubscriptionPlanApi.js +52 -36
- package/subscription/src/apis/SearchSubscriptionPlanFeatureApi.js +26 -18
- package/subscription/src/runtime.d.ts +2 -2
- package/subscription/src/runtime.js +1 -1
- package/thread/src/apis/ManageThreadCommentApi.js +52 -36
- package/thread/src/apis/SearchThreadApi.js +26 -18
- package/thread/src/apis/SearchThreadCommentApi.js +26 -18
- package/thread/src/runtime.d.ts +2 -2
- package/thread/src/runtime.js +1 -1
- package/ubo/src/apis/ManageUboDeclarationApi.js +26 -18
- package/ubo/src/apis/SearchUboDeclarationApi.js +26 -18
- package/ubo/src/runtime.d.ts +2 -2
- package/ubo/src/runtime.js +1 -1
- package/user/src/apis/ManagePasswordApi.js +50 -34
- package/user/src/apis/ManageUserApi.js +177 -121
- package/user/src/apis/ManageUserBankAccountApi.js +52 -36
- package/user/src/apis/ManageUserDocumentApi.js +82 -54
- package/user/src/apis/ManageUserFavoriteLaboratoryStoreApi.js +100 -68
- package/user/src/apis/ManageUserRestrictionApi.js +200 -136
- package/user/src/apis/ManageUserRoleApi.js +26 -18
- package/user/src/apis/ManageUserRuleApi.js +51 -35
- package/user/src/apis/ManageUserSocialNetworksApi.js +52 -36
- package/user/src/apis/ManageUserTransportApi.js +26 -18
- package/user/src/apis/SearchUserApi.js +156 -108
- package/user/src/apis/SearchUserDocumentApi.js +180 -124
- package/user/src/apis/SearchUserFavoriteLaboratoryStoreApi.js +52 -36
- package/user/src/apis/SearchUserFeatureApi.js +26 -18
- package/user/src/apis/SearchUserRestrictionApi.js +104 -72
- package/user/src/apis/SearchUserRuleApi.js +26 -18
- package/user/src/apis/SearchUserSocialNetworksApi.js +52 -36
- package/user/src/apis/SearchUserTransportApi.js +52 -36
- package/user/src/runtime.d.ts +2 -2
- package/user/src/runtime.js +1 -1
- package/wish/src/apis/ManageWishApi.js +75 -51
- package/wish/src/apis/SearchProductEnthusiasmApi.js +26 -18
- package/wish/src/apis/SearchWishApi.js +52 -36
- package/wish/src/runtime.d.ts +2 -2
- package/wish/src/runtime.js +1 -1
|
@@ -255,39 +255,47 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
255
255
|
*/
|
|
256
256
|
ManageUserApi.prototype.deleteCurrentUserRaw = function () {
|
|
257
257
|
return __awaiter(this, void 0, void 0, function () {
|
|
258
|
-
var queryParameters, headerParameters, token, tokenString, response, response_4;
|
|
259
|
-
return __generator(this, function (
|
|
260
|
-
switch (
|
|
258
|
+
var queryParameters, headerParameters, token, tokenString, _a, response, response_4;
|
|
259
|
+
return __generator(this, function (_b) {
|
|
260
|
+
switch (_b.label) {
|
|
261
261
|
case 0:
|
|
262
262
|
queryParameters = {};
|
|
263
263
|
headerParameters = {};
|
|
264
264
|
if (this.configuration && this.configuration.apiKey) {
|
|
265
265
|
headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
|
|
266
266
|
}
|
|
267
|
-
if (this.configuration && this.configuration.accessToken)
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
_a.label = 1;
|
|
267
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
268
|
+
token = this.configuration.accessToken;
|
|
269
|
+
if (!(typeof token === 'function')) return [3 /*break*/, 2];
|
|
270
|
+
return [4 /*yield*/, token("bearerAuth", [])];
|
|
275
271
|
case 1:
|
|
276
|
-
_a.
|
|
272
|
+
_a = _b.sent();
|
|
273
|
+
return [3 /*break*/, 3];
|
|
274
|
+
case 2:
|
|
275
|
+
_a = token;
|
|
276
|
+
_b.label = 3;
|
|
277
|
+
case 3:
|
|
278
|
+
tokenString = _a;
|
|
279
|
+
if (tokenString) {
|
|
280
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
281
|
+
}
|
|
282
|
+
_b.label = 4;
|
|
283
|
+
case 4:
|
|
284
|
+
_b.trys.push([4, 6, , 7]);
|
|
277
285
|
return [4 /*yield*/, this.request({
|
|
278
286
|
path: "/users/me",
|
|
279
287
|
method: 'DELETE',
|
|
280
288
|
headers: headerParameters,
|
|
281
289
|
query: queryParameters,
|
|
282
290
|
})];
|
|
283
|
-
case
|
|
284
|
-
response =
|
|
291
|
+
case 5:
|
|
292
|
+
response = _b.sent();
|
|
285
293
|
return [2 /*return*/, new runtime_1.VoidApiResponse(response)];
|
|
286
|
-
case
|
|
287
|
-
response_4 =
|
|
294
|
+
case 6:
|
|
295
|
+
response_4 = _b.sent();
|
|
288
296
|
console.debug(response_4);
|
|
289
297
|
throw response_4;
|
|
290
|
-
case
|
|
298
|
+
case 7: return [2 /*return*/];
|
|
291
299
|
}
|
|
292
300
|
});
|
|
293
301
|
});
|
|
@@ -312,9 +320,9 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
312
320
|
*/
|
|
313
321
|
ManageUserApi.prototype.deleteUserRaw = function (requestParameters) {
|
|
314
322
|
return __awaiter(this, void 0, void 0, function () {
|
|
315
|
-
var queryParameters, headerParameters, token, tokenString, response, response_5;
|
|
316
|
-
return __generator(this, function (
|
|
317
|
-
switch (
|
|
323
|
+
var queryParameters, headerParameters, token, tokenString, _a, response, response_5;
|
|
324
|
+
return __generator(this, function (_b) {
|
|
325
|
+
switch (_b.label) {
|
|
318
326
|
case 0:
|
|
319
327
|
if (requestParameters.userId === null || requestParameters.userId === undefined) {
|
|
320
328
|
throw new runtime_1.RequiredError('userId', 'Required parameter requestParameters.userId was null or undefined when calling deleteUser.');
|
|
@@ -324,30 +332,38 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
324
332
|
if (this.configuration && this.configuration.apiKey) {
|
|
325
333
|
headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
|
|
326
334
|
}
|
|
327
|
-
if (this.configuration && this.configuration.accessToken)
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
_a.label = 1;
|
|
335
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
336
|
+
token = this.configuration.accessToken;
|
|
337
|
+
if (!(typeof token === 'function')) return [3 /*break*/, 2];
|
|
338
|
+
return [4 /*yield*/, token("bearerAuth", [])];
|
|
335
339
|
case 1:
|
|
336
|
-
_a.
|
|
340
|
+
_a = _b.sent();
|
|
341
|
+
return [3 /*break*/, 3];
|
|
342
|
+
case 2:
|
|
343
|
+
_a = token;
|
|
344
|
+
_b.label = 3;
|
|
345
|
+
case 3:
|
|
346
|
+
tokenString = _a;
|
|
347
|
+
if (tokenString) {
|
|
348
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
349
|
+
}
|
|
350
|
+
_b.label = 4;
|
|
351
|
+
case 4:
|
|
352
|
+
_b.trys.push([4, 6, , 7]);
|
|
337
353
|
return [4 /*yield*/, this.request({
|
|
338
354
|
path: "/users/{userId}".replace("{".concat("userId", "}"), encodeURIComponent(String(requestParameters.userId))),
|
|
339
355
|
method: 'DELETE',
|
|
340
356
|
headers: headerParameters,
|
|
341
357
|
query: queryParameters,
|
|
342
358
|
})];
|
|
343
|
-
case
|
|
344
|
-
response =
|
|
359
|
+
case 5:
|
|
360
|
+
response = _b.sent();
|
|
345
361
|
return [2 /*return*/, new runtime_1.VoidApiResponse(response)];
|
|
346
|
-
case
|
|
347
|
-
response_5 =
|
|
362
|
+
case 6:
|
|
363
|
+
response_5 = _b.sent();
|
|
348
364
|
console.debug(response_5);
|
|
349
365
|
throw response_5;
|
|
350
|
-
case
|
|
366
|
+
case 7: return [2 /*return*/];
|
|
351
367
|
}
|
|
352
368
|
});
|
|
353
369
|
});
|
|
@@ -373,9 +389,9 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
373
389
|
*/
|
|
374
390
|
ManageUserApi.prototype.setCurrentUserHolidayModeEnabledRaw = function (requestParameters) {
|
|
375
391
|
return __awaiter(this, void 0, void 0, function () {
|
|
376
|
-
var queryParameters, headerParameters, token, tokenString, response, response_6;
|
|
377
|
-
return __generator(this, function (
|
|
378
|
-
switch (
|
|
392
|
+
var queryParameters, headerParameters, token, tokenString, _a, response, response_6;
|
|
393
|
+
return __generator(this, function (_b) {
|
|
394
|
+
switch (_b.label) {
|
|
379
395
|
case 0:
|
|
380
396
|
if (requestParameters.body === null || requestParameters.body === undefined) {
|
|
381
397
|
throw new runtime_1.RequiredError('body', 'Required parameter requestParameters.body was null or undefined when calling setCurrentUserHolidayModeEnabled.');
|
|
@@ -386,16 +402,24 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
386
402
|
if (this.configuration && this.configuration.apiKey) {
|
|
387
403
|
headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
|
|
388
404
|
}
|
|
389
|
-
if (this.configuration && this.configuration.accessToken)
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
_a.label = 1;
|
|
405
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
406
|
+
token = this.configuration.accessToken;
|
|
407
|
+
if (!(typeof token === 'function')) return [3 /*break*/, 2];
|
|
408
|
+
return [4 /*yield*/, token("bearerAuth", [])];
|
|
397
409
|
case 1:
|
|
398
|
-
_a.
|
|
410
|
+
_a = _b.sent();
|
|
411
|
+
return [3 /*break*/, 3];
|
|
412
|
+
case 2:
|
|
413
|
+
_a = token;
|
|
414
|
+
_b.label = 3;
|
|
415
|
+
case 3:
|
|
416
|
+
tokenString = _a;
|
|
417
|
+
if (tokenString) {
|
|
418
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
419
|
+
}
|
|
420
|
+
_b.label = 4;
|
|
421
|
+
case 4:
|
|
422
|
+
_b.trys.push([4, 6, , 7]);
|
|
399
423
|
return [4 /*yield*/, this.request({
|
|
400
424
|
path: "/users/me/holiday-mode-enabled",
|
|
401
425
|
method: 'PUT',
|
|
@@ -403,14 +427,14 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
403
427
|
query: queryParameters,
|
|
404
428
|
body: requestParameters.body,
|
|
405
429
|
})];
|
|
406
|
-
case
|
|
407
|
-
response =
|
|
430
|
+
case 5:
|
|
431
|
+
response = _b.sent();
|
|
408
432
|
return [2 /*return*/, new runtime_1.VoidApiResponse(response)];
|
|
409
|
-
case
|
|
410
|
-
response_6 =
|
|
433
|
+
case 6:
|
|
434
|
+
response_6 = _b.sent();
|
|
411
435
|
console.debug(response_6);
|
|
412
436
|
throw response_6;
|
|
413
|
-
case
|
|
437
|
+
case 7: return [2 /*return*/];
|
|
414
438
|
}
|
|
415
439
|
});
|
|
416
440
|
});
|
|
@@ -436,9 +460,9 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
436
460
|
*/
|
|
437
461
|
ManageUserApi.prototype.setUserCustomCommissionsRaw = function (requestParameters) {
|
|
438
462
|
return __awaiter(this, void 0, void 0, function () {
|
|
439
|
-
var queryParameters, headerParameters, token, tokenString, response, response_7;
|
|
440
|
-
return __generator(this, function (
|
|
441
|
-
switch (
|
|
463
|
+
var queryParameters, headerParameters, token, tokenString, _a, response, response_7;
|
|
464
|
+
return __generator(this, function (_b) {
|
|
465
|
+
switch (_b.label) {
|
|
442
466
|
case 0:
|
|
443
467
|
if (requestParameters.userId === null || requestParameters.userId === undefined) {
|
|
444
468
|
throw new runtime_1.RequiredError('userId', 'Required parameter requestParameters.userId was null or undefined when calling setUserCustomCommissions.');
|
|
@@ -449,16 +473,24 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
449
473
|
if (this.configuration && this.configuration.apiKey) {
|
|
450
474
|
headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
|
|
451
475
|
}
|
|
452
|
-
if (this.configuration && this.configuration.accessToken)
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
457
|
-
}
|
|
458
|
-
}
|
|
459
|
-
_a.label = 1;
|
|
476
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
477
|
+
token = this.configuration.accessToken;
|
|
478
|
+
if (!(typeof token === 'function')) return [3 /*break*/, 2];
|
|
479
|
+
return [4 /*yield*/, token("bearerAuth", [])];
|
|
460
480
|
case 1:
|
|
461
|
-
_a.
|
|
481
|
+
_a = _b.sent();
|
|
482
|
+
return [3 /*break*/, 3];
|
|
483
|
+
case 2:
|
|
484
|
+
_a = token;
|
|
485
|
+
_b.label = 3;
|
|
486
|
+
case 3:
|
|
487
|
+
tokenString = _a;
|
|
488
|
+
if (tokenString) {
|
|
489
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
490
|
+
}
|
|
491
|
+
_b.label = 4;
|
|
492
|
+
case 4:
|
|
493
|
+
_b.trys.push([4, 6, , 7]);
|
|
462
494
|
return [4 /*yield*/, this.request({
|
|
463
495
|
path: "/users/{userId}/custom-commissions".replace("{".concat("userId", "}"), encodeURIComponent(String(requestParameters.userId))),
|
|
464
496
|
method: 'PATCH',
|
|
@@ -466,14 +498,14 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
466
498
|
query: queryParameters,
|
|
467
499
|
body: (0, models_1.UserCustomCommissionsUpdateParametersToJSON)(requestParameters.userCustomCommissionsUpdateParameters),
|
|
468
500
|
})];
|
|
469
|
-
case
|
|
470
|
-
response =
|
|
501
|
+
case 5:
|
|
502
|
+
response = _b.sent();
|
|
471
503
|
return [2 /*return*/, new runtime_1.VoidApiResponse(response)];
|
|
472
|
-
case
|
|
473
|
-
response_7 =
|
|
504
|
+
case 6:
|
|
505
|
+
response_7 = _b.sent();
|
|
474
506
|
console.debug(response_7);
|
|
475
507
|
throw response_7;
|
|
476
|
-
case
|
|
508
|
+
case 7: return [2 /*return*/];
|
|
477
509
|
}
|
|
478
510
|
});
|
|
479
511
|
});
|
|
@@ -499,9 +531,9 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
499
531
|
*/
|
|
500
532
|
ManageUserApi.prototype.setUserHolidayModeEnabledRaw = function (requestParameters) {
|
|
501
533
|
return __awaiter(this, void 0, void 0, function () {
|
|
502
|
-
var queryParameters, headerParameters, token, tokenString, response, response_8;
|
|
503
|
-
return __generator(this, function (
|
|
504
|
-
switch (
|
|
534
|
+
var queryParameters, headerParameters, token, tokenString, _a, response, response_8;
|
|
535
|
+
return __generator(this, function (_b) {
|
|
536
|
+
switch (_b.label) {
|
|
505
537
|
case 0:
|
|
506
538
|
if (requestParameters.userId === null || requestParameters.userId === undefined) {
|
|
507
539
|
throw new runtime_1.RequiredError('userId', 'Required parameter requestParameters.userId was null or undefined when calling setUserHolidayModeEnabled.');
|
|
@@ -515,16 +547,24 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
515
547
|
if (this.configuration && this.configuration.apiKey) {
|
|
516
548
|
headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
|
|
517
549
|
}
|
|
518
|
-
if (this.configuration && this.configuration.accessToken)
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
_a.label = 1;
|
|
550
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
551
|
+
token = this.configuration.accessToken;
|
|
552
|
+
if (!(typeof token === 'function')) return [3 /*break*/, 2];
|
|
553
|
+
return [4 /*yield*/, token("bearerAuth", [])];
|
|
526
554
|
case 1:
|
|
527
|
-
_a.
|
|
555
|
+
_a = _b.sent();
|
|
556
|
+
return [3 /*break*/, 3];
|
|
557
|
+
case 2:
|
|
558
|
+
_a = token;
|
|
559
|
+
_b.label = 3;
|
|
560
|
+
case 3:
|
|
561
|
+
tokenString = _a;
|
|
562
|
+
if (tokenString) {
|
|
563
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
564
|
+
}
|
|
565
|
+
_b.label = 4;
|
|
566
|
+
case 4:
|
|
567
|
+
_b.trys.push([4, 6, , 7]);
|
|
528
568
|
return [4 /*yield*/, this.request({
|
|
529
569
|
path: "/users/{userId}/holiday-mode-enabled".replace("{".concat("userId", "}"), encodeURIComponent(String(requestParameters.userId))),
|
|
530
570
|
method: 'PUT',
|
|
@@ -532,14 +572,14 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
532
572
|
query: queryParameters,
|
|
533
573
|
body: requestParameters.body,
|
|
534
574
|
})];
|
|
535
|
-
case
|
|
536
|
-
response =
|
|
575
|
+
case 5:
|
|
576
|
+
response = _b.sent();
|
|
537
577
|
return [2 /*return*/, new runtime_1.VoidApiResponse(response)];
|
|
538
|
-
case
|
|
539
|
-
response_8 =
|
|
578
|
+
case 6:
|
|
579
|
+
response_8 = _b.sent();
|
|
540
580
|
console.debug(response_8);
|
|
541
581
|
throw response_8;
|
|
542
|
-
case
|
|
582
|
+
case 7: return [2 /*return*/];
|
|
543
583
|
}
|
|
544
584
|
});
|
|
545
585
|
});
|
|
@@ -565,9 +605,9 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
565
605
|
*/
|
|
566
606
|
ManageUserApi.prototype.updateCurrentUserRaw = function (requestParameters) {
|
|
567
607
|
return __awaiter(this, void 0, void 0, function () {
|
|
568
|
-
var queryParameters, headerParameters, token, tokenString, response, contentType, response_9;
|
|
569
|
-
return __generator(this, function (
|
|
570
|
-
switch (
|
|
608
|
+
var queryParameters, headerParameters, token, tokenString, _a, response, contentType, response_9;
|
|
609
|
+
return __generator(this, function (_b) {
|
|
610
|
+
switch (_b.label) {
|
|
571
611
|
case 0:
|
|
572
612
|
if (requestParameters.userUpdateParameters === null || requestParameters.userUpdateParameters === undefined) {
|
|
573
613
|
throw new runtime_1.RequiredError('userUpdateParameters', 'Required parameter requestParameters.userUpdateParameters was null or undefined when calling updateCurrentUser.');
|
|
@@ -578,16 +618,24 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
578
618
|
if (this.configuration && this.configuration.apiKey) {
|
|
579
619
|
headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
|
|
580
620
|
}
|
|
581
|
-
if (this.configuration && this.configuration.accessToken)
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
586
|
-
}
|
|
587
|
-
}
|
|
588
|
-
_a.label = 1;
|
|
621
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
622
|
+
token = this.configuration.accessToken;
|
|
623
|
+
if (!(typeof token === 'function')) return [3 /*break*/, 2];
|
|
624
|
+
return [4 /*yield*/, token("bearerAuth", [])];
|
|
589
625
|
case 1:
|
|
590
|
-
_a.
|
|
626
|
+
_a = _b.sent();
|
|
627
|
+
return [3 /*break*/, 3];
|
|
628
|
+
case 2:
|
|
629
|
+
_a = token;
|
|
630
|
+
_b.label = 3;
|
|
631
|
+
case 3:
|
|
632
|
+
tokenString = _a;
|
|
633
|
+
if (tokenString) {
|
|
634
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
635
|
+
}
|
|
636
|
+
_b.label = 4;
|
|
637
|
+
case 4:
|
|
638
|
+
_b.trys.push([4, 6, , 7]);
|
|
591
639
|
return [4 /*yield*/, this.request({
|
|
592
640
|
path: "/users/me",
|
|
593
641
|
method: 'PATCH',
|
|
@@ -595,8 +643,8 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
595
643
|
query: queryParameters,
|
|
596
644
|
body: (0, models_1.UserUpdateParametersToJSON)(requestParameters.userUpdateParameters),
|
|
597
645
|
})];
|
|
598
|
-
case
|
|
599
|
-
response =
|
|
646
|
+
case 5:
|
|
647
|
+
response = _b.sent();
|
|
600
648
|
contentType = response.headers.get("content-type");
|
|
601
649
|
if (contentType && contentType.indexOf("application/json") !== -1) {
|
|
602
650
|
return [2 /*return*/, new runtime_1.JSONApiResponse(response, function (jsonValue) { return (0, models_1.UserFromJSON)(jsonValue); })];
|
|
@@ -608,12 +656,12 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
608
656
|
// TODO : Better handling of others application types
|
|
609
657
|
return [2 /*return*/, new runtime_1.BlobWithMetaApiResponse(response)];
|
|
610
658
|
}
|
|
611
|
-
return [3 /*break*/,
|
|
612
|
-
case
|
|
613
|
-
response_9 =
|
|
659
|
+
return [3 /*break*/, 7];
|
|
660
|
+
case 6:
|
|
661
|
+
response_9 = _b.sent();
|
|
614
662
|
console.debug(response_9);
|
|
615
663
|
throw response_9;
|
|
616
|
-
case
|
|
664
|
+
case 7: return [2 /*return*/];
|
|
617
665
|
}
|
|
618
666
|
});
|
|
619
667
|
});
|
|
@@ -640,9 +688,9 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
640
688
|
*/
|
|
641
689
|
ManageUserApi.prototype.updateUserRaw = function (requestParameters) {
|
|
642
690
|
return __awaiter(this, void 0, void 0, function () {
|
|
643
|
-
var queryParameters, headerParameters, token, tokenString, response, contentType, response_10;
|
|
644
|
-
return __generator(this, function (
|
|
645
|
-
switch (
|
|
691
|
+
var queryParameters, headerParameters, token, tokenString, _a, response, contentType, response_10;
|
|
692
|
+
return __generator(this, function (_b) {
|
|
693
|
+
switch (_b.label) {
|
|
646
694
|
case 0:
|
|
647
695
|
if (requestParameters.userId === null || requestParameters.userId === undefined) {
|
|
648
696
|
throw new runtime_1.RequiredError('userId', 'Required parameter requestParameters.userId was null or undefined when calling updateUser.');
|
|
@@ -656,16 +704,24 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
656
704
|
if (this.configuration && this.configuration.apiKey) {
|
|
657
705
|
headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
|
|
658
706
|
}
|
|
659
|
-
if (this.configuration && this.configuration.accessToken)
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
664
|
-
}
|
|
665
|
-
}
|
|
666
|
-
_a.label = 1;
|
|
707
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
708
|
+
token = this.configuration.accessToken;
|
|
709
|
+
if (!(typeof token === 'function')) return [3 /*break*/, 2];
|
|
710
|
+
return [4 /*yield*/, token("bearerAuth", [])];
|
|
667
711
|
case 1:
|
|
668
|
-
_a.
|
|
712
|
+
_a = _b.sent();
|
|
713
|
+
return [3 /*break*/, 3];
|
|
714
|
+
case 2:
|
|
715
|
+
_a = token;
|
|
716
|
+
_b.label = 3;
|
|
717
|
+
case 3:
|
|
718
|
+
tokenString = _a;
|
|
719
|
+
if (tokenString) {
|
|
720
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
721
|
+
}
|
|
722
|
+
_b.label = 4;
|
|
723
|
+
case 4:
|
|
724
|
+
_b.trys.push([4, 6, , 7]);
|
|
669
725
|
return [4 /*yield*/, this.request({
|
|
670
726
|
path: "/users/{userId}".replace("{".concat("userId", "}"), encodeURIComponent(String(requestParameters.userId))),
|
|
671
727
|
method: 'PATCH',
|
|
@@ -673,8 +729,8 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
673
729
|
query: queryParameters,
|
|
674
730
|
body: (0, models_1.UserUpdateParametersToJSON)(requestParameters.userUpdateParameters),
|
|
675
731
|
})];
|
|
676
|
-
case
|
|
677
|
-
response =
|
|
732
|
+
case 5:
|
|
733
|
+
response = _b.sent();
|
|
678
734
|
contentType = response.headers.get("content-type");
|
|
679
735
|
if (contentType && contentType.indexOf("application/json") !== -1) {
|
|
680
736
|
return [2 /*return*/, new runtime_1.JSONApiResponse(response, function (jsonValue) { return (0, models_1.UserFromJSON)(jsonValue); })];
|
|
@@ -686,12 +742,12 @@ var ManageUserApi = /** @class */ (function (_super) {
|
|
|
686
742
|
// TODO : Better handling of others application types
|
|
687
743
|
return [2 /*return*/, new runtime_1.BlobWithMetaApiResponse(response)];
|
|
688
744
|
}
|
|
689
|
-
return [3 /*break*/,
|
|
690
|
-
case
|
|
691
|
-
response_10 =
|
|
745
|
+
return [3 /*break*/, 7];
|
|
746
|
+
case 6:
|
|
747
|
+
response_10 = _b.sent();
|
|
692
748
|
console.debug(response_10);
|
|
693
749
|
throw response_10;
|
|
694
|
-
case
|
|
750
|
+
case 7: return [2 /*return*/];
|
|
695
751
|
}
|
|
696
752
|
});
|
|
697
753
|
});
|
|
@@ -81,9 +81,9 @@ var ManageUserBankAccountApi = /** @class */ (function (_super) {
|
|
|
81
81
|
*/
|
|
82
82
|
ManageUserBankAccountApi.prototype.createOrUpdateCurrentUserBankAccountRaw = function (requestParameters) {
|
|
83
83
|
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
-
var queryParameters, headerParameters, token, tokenString, response, contentType, response_1;
|
|
85
|
-
return __generator(this, function (
|
|
86
|
-
switch (
|
|
84
|
+
var queryParameters, headerParameters, token, tokenString, _a, response, contentType, response_1;
|
|
85
|
+
return __generator(this, function (_b) {
|
|
86
|
+
switch (_b.label) {
|
|
87
87
|
case 0:
|
|
88
88
|
if (requestParameters.userBankAccountCreationParameters === null || requestParameters.userBankAccountCreationParameters === undefined) {
|
|
89
89
|
throw new runtime_1.RequiredError('userBankAccountCreationParameters', 'Required parameter requestParameters.userBankAccountCreationParameters was null or undefined when calling createOrUpdateCurrentUserBankAccount.');
|
|
@@ -94,16 +94,24 @@ var ManageUserBankAccountApi = /** @class */ (function (_super) {
|
|
|
94
94
|
if (this.configuration && this.configuration.apiKey) {
|
|
95
95
|
headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
|
|
96
96
|
}
|
|
97
|
-
if (this.configuration && this.configuration.accessToken)
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
_a.label = 1;
|
|
97
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
98
|
+
token = this.configuration.accessToken;
|
|
99
|
+
if (!(typeof token === 'function')) return [3 /*break*/, 2];
|
|
100
|
+
return [4 /*yield*/, token("bearerAuth", [])];
|
|
105
101
|
case 1:
|
|
106
|
-
_a.
|
|
102
|
+
_a = _b.sent();
|
|
103
|
+
return [3 /*break*/, 3];
|
|
104
|
+
case 2:
|
|
105
|
+
_a = token;
|
|
106
|
+
_b.label = 3;
|
|
107
|
+
case 3:
|
|
108
|
+
tokenString = _a;
|
|
109
|
+
if (tokenString) {
|
|
110
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
111
|
+
}
|
|
112
|
+
_b.label = 4;
|
|
113
|
+
case 4:
|
|
114
|
+
_b.trys.push([4, 6, , 7]);
|
|
107
115
|
return [4 /*yield*/, this.request({
|
|
108
116
|
path: "/users/me/bank-account",
|
|
109
117
|
method: 'POST',
|
|
@@ -111,8 +119,8 @@ var ManageUserBankAccountApi = /** @class */ (function (_super) {
|
|
|
111
119
|
query: queryParameters,
|
|
112
120
|
body: (0, models_1.UserBankAccountCreationParametersToJSON)(requestParameters.userBankAccountCreationParameters),
|
|
113
121
|
})];
|
|
114
|
-
case
|
|
115
|
-
response =
|
|
122
|
+
case 5:
|
|
123
|
+
response = _b.sent();
|
|
116
124
|
contentType = response.headers.get("content-type");
|
|
117
125
|
if (contentType && contentType.indexOf("application/json") !== -1) {
|
|
118
126
|
return [2 /*return*/, new runtime_1.JSONApiResponse(response, function (jsonValue) { return (0, models_1.UserBankAccountLinkFromJSON)(jsonValue); })];
|
|
@@ -124,12 +132,12 @@ var ManageUserBankAccountApi = /** @class */ (function (_super) {
|
|
|
124
132
|
// TODO : Better handling of others application types
|
|
125
133
|
return [2 /*return*/, new runtime_1.BlobWithMetaApiResponse(response)];
|
|
126
134
|
}
|
|
127
|
-
return [3 /*break*/,
|
|
128
|
-
case
|
|
129
|
-
response_1 =
|
|
135
|
+
return [3 /*break*/, 7];
|
|
136
|
+
case 6:
|
|
137
|
+
response_1 = _b.sent();
|
|
130
138
|
console.debug(response_1);
|
|
131
139
|
throw response_1;
|
|
132
|
-
case
|
|
140
|
+
case 7: return [2 /*return*/];
|
|
133
141
|
}
|
|
134
142
|
});
|
|
135
143
|
});
|
|
@@ -158,9 +166,9 @@ var ManageUserBankAccountApi = /** @class */ (function (_super) {
|
|
|
158
166
|
*/
|
|
159
167
|
ManageUserBankAccountApi.prototype.createOrUpdateUserBankAccountRaw = function (requestParameters) {
|
|
160
168
|
return __awaiter(this, void 0, void 0, function () {
|
|
161
|
-
var queryParameters, headerParameters, token, tokenString, response, contentType, response_2;
|
|
162
|
-
return __generator(this, function (
|
|
163
|
-
switch (
|
|
169
|
+
var queryParameters, headerParameters, token, tokenString, _a, response, contentType, response_2;
|
|
170
|
+
return __generator(this, function (_b) {
|
|
171
|
+
switch (_b.label) {
|
|
164
172
|
case 0:
|
|
165
173
|
if (requestParameters.userId === null || requestParameters.userId === undefined) {
|
|
166
174
|
throw new runtime_1.RequiredError('userId', 'Required parameter requestParameters.userId was null or undefined when calling createOrUpdateUserBankAccount.');
|
|
@@ -174,16 +182,24 @@ var ManageUserBankAccountApi = /** @class */ (function (_super) {
|
|
|
174
182
|
if (this.configuration && this.configuration.apiKey) {
|
|
175
183
|
headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
|
|
176
184
|
}
|
|
177
|
-
if (this.configuration && this.configuration.accessToken)
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
_a.label = 1;
|
|
185
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
186
|
+
token = this.configuration.accessToken;
|
|
187
|
+
if (!(typeof token === 'function')) return [3 /*break*/, 2];
|
|
188
|
+
return [4 /*yield*/, token("bearerAuth", [])];
|
|
185
189
|
case 1:
|
|
186
|
-
_a.
|
|
190
|
+
_a = _b.sent();
|
|
191
|
+
return [3 /*break*/, 3];
|
|
192
|
+
case 2:
|
|
193
|
+
_a = token;
|
|
194
|
+
_b.label = 3;
|
|
195
|
+
case 3:
|
|
196
|
+
tokenString = _a;
|
|
197
|
+
if (tokenString) {
|
|
198
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
199
|
+
}
|
|
200
|
+
_b.label = 4;
|
|
201
|
+
case 4:
|
|
202
|
+
_b.trys.push([4, 6, , 7]);
|
|
187
203
|
return [4 /*yield*/, this.request({
|
|
188
204
|
path: "/users/{userId}/bank-account".replace("{".concat("userId", "}"), encodeURIComponent(String(requestParameters.userId))),
|
|
189
205
|
method: 'POST',
|
|
@@ -191,8 +207,8 @@ var ManageUserBankAccountApi = /** @class */ (function (_super) {
|
|
|
191
207
|
query: queryParameters,
|
|
192
208
|
body: (0, models_1.UserBankAccountCreationParametersToJSON)(requestParameters.userBankAccountCreationParameters),
|
|
193
209
|
})];
|
|
194
|
-
case
|
|
195
|
-
response =
|
|
210
|
+
case 5:
|
|
211
|
+
response = _b.sent();
|
|
196
212
|
contentType = response.headers.get("content-type");
|
|
197
213
|
if (contentType && contentType.indexOf("application/json") !== -1) {
|
|
198
214
|
return [2 /*return*/, new runtime_1.JSONApiResponse(response, function (jsonValue) { return (0, models_1.UserBankAccountLinkFromJSON)(jsonValue); })];
|
|
@@ -204,12 +220,12 @@ var ManageUserBankAccountApi = /** @class */ (function (_super) {
|
|
|
204
220
|
// TODO : Better handling of others application types
|
|
205
221
|
return [2 /*return*/, new runtime_1.BlobWithMetaApiResponse(response)];
|
|
206
222
|
}
|
|
207
|
-
return [3 /*break*/,
|
|
208
|
-
case
|
|
209
|
-
response_2 =
|
|
223
|
+
return [3 /*break*/, 7];
|
|
224
|
+
case 6:
|
|
225
|
+
response_2 = _b.sent();
|
|
210
226
|
console.debug(response_2);
|
|
211
227
|
throw response_2;
|
|
212
|
-
case
|
|
228
|
+
case 7: return [2 /*return*/];
|
|
213
229
|
}
|
|
214
230
|
});
|
|
215
231
|
});
|