@tradecafe/offer-service-sdk 0.0.53 → 0.0.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +2 -0
- package/api/matchedOffersApi.ts +138 -0
- package/dist/api/matchedOffersApi.d.ts +18 -0
- package/dist/api/matchedOffersApi.js +195 -63
- package/dist/api/matchedOffersApi.js.map +1 -1
- package/dist/model/bulkChangeSellingTraderDto.d.ts +16 -0
- package/dist/model/bulkChangeSellingTraderDto.js +31 -0
- package/dist/model/bulkChangeSellingTraderDto.js.map +1 -0
- package/dist/model/bulkDeleteBuyerSpecialInstructionsDto.d.ts +15 -0
- package/dist/model/bulkDeleteBuyerSpecialInstructionsDto.js +26 -0
- package/dist/model/bulkDeleteBuyerSpecialInstructionsDto.js.map +1 -0
- package/dist/model/models.d.ts +2 -0
- package/dist/model/models.js +6 -0
- package/dist/model/models.js.map +1 -1
- package/model/bulkChangeSellingTraderDto.ts +43 -0
- package/model/bulkDeleteBuyerSpecialInstructionsDto.ts +37 -0
- package/model/models.ts +6 -0
- package/package.json +1 -1
|
@@ -383,11 +383,77 @@ var MatchedOffersApi = (function () {
|
|
|
383
383
|
});
|
|
384
384
|
});
|
|
385
385
|
};
|
|
386
|
-
MatchedOffersApi.prototype.
|
|
386
|
+
MatchedOffersApi.prototype.matchedOffersControllerBulkchangesellingtrader = function (account, bulkChangeSellingTraderDto, options) {
|
|
387
387
|
if (options === void 0) { options = { headers: {} }; }
|
|
388
388
|
return __awaiter(this, void 0, void 0, function () {
|
|
389
389
|
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_5, _i, _a, interceptor;
|
|
390
390
|
var _this = this;
|
|
391
|
+
return __generator(this, function (_b) {
|
|
392
|
+
localVarPath = this.basePath + '/matched-offers/{account}/bulk/selling-trader'
|
|
393
|
+
.replace('{' + 'account' + '}', encodeURIComponent(String(account)));
|
|
394
|
+
localVarQueryParameters = {};
|
|
395
|
+
localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
396
|
+
localVarFormParams = {};
|
|
397
|
+
if (account === null || account === undefined) {
|
|
398
|
+
throw new Error('Required parameter account was null or undefined when calling matchedOffersControllerBulkchangesellingtrader.');
|
|
399
|
+
}
|
|
400
|
+
if (bulkChangeSellingTraderDto === null || bulkChangeSellingTraderDto === undefined) {
|
|
401
|
+
throw new Error('Required parameter bulkChangeSellingTraderDto was null or undefined when calling matchedOffersControllerBulkchangesellingtrader.');
|
|
402
|
+
}
|
|
403
|
+
Object.assign(localVarHeaderParams, options.headers);
|
|
404
|
+
localVarUseFormData = false;
|
|
405
|
+
localVarRequestOptions = {
|
|
406
|
+
method: 'PUT',
|
|
407
|
+
qs: localVarQueryParameters,
|
|
408
|
+
headers: localVarHeaderParams,
|
|
409
|
+
uri: localVarPath,
|
|
410
|
+
useQuerystring: this._useQuerystring,
|
|
411
|
+
json: true,
|
|
412
|
+
body: models_1.ObjectSerializer.serialize(bulkChangeSellingTraderDto, "BulkChangeSellingTraderDto")
|
|
413
|
+
};
|
|
414
|
+
authenticationPromise = Promise.resolve();
|
|
415
|
+
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
416
|
+
interceptorPromise = authenticationPromise;
|
|
417
|
+
_loop_5 = function (interceptor) {
|
|
418
|
+
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
419
|
+
};
|
|
420
|
+
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
421
|
+
interceptor = _a[_i];
|
|
422
|
+
_loop_5(interceptor);
|
|
423
|
+
}
|
|
424
|
+
return [2, interceptorPromise.then(function () {
|
|
425
|
+
if (Object.keys(localVarFormParams).length) {
|
|
426
|
+
if (localVarUseFormData) {
|
|
427
|
+
localVarRequestOptions.formData = localVarFormParams;
|
|
428
|
+
}
|
|
429
|
+
else {
|
|
430
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
return new Promise(function (resolve, reject) {
|
|
434
|
+
(0, request_1.default)(localVarRequestOptions, function (error, response, body) {
|
|
435
|
+
if (error) {
|
|
436
|
+
reject(error);
|
|
437
|
+
}
|
|
438
|
+
else {
|
|
439
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
440
|
+
resolve({ response: response, body: body });
|
|
441
|
+
}
|
|
442
|
+
else {
|
|
443
|
+
reject(new apis_1.HttpError(response, body, response.statusCode));
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
});
|
|
447
|
+
});
|
|
448
|
+
})];
|
|
449
|
+
});
|
|
450
|
+
});
|
|
451
|
+
};
|
|
452
|
+
MatchedOffersApi.prototype.matchedOffersControllerBulkchangesellprices = function (account, bulkChangeSellPricesDto, options) {
|
|
453
|
+
if (options === void 0) { options = { headers: {} }; }
|
|
454
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
455
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_6, _i, _a, interceptor;
|
|
456
|
+
var _this = this;
|
|
391
457
|
return __generator(this, function (_b) {
|
|
392
458
|
localVarPath = this.basePath + '/matched-offers/{account}/bulk/sell-prices'
|
|
393
459
|
.replace('{' + 'account' + '}', encodeURIComponent(String(account)));
|
|
@@ -414,12 +480,78 @@ var MatchedOffersApi = (function () {
|
|
|
414
480
|
authenticationPromise = Promise.resolve();
|
|
415
481
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
416
482
|
interceptorPromise = authenticationPromise;
|
|
417
|
-
|
|
483
|
+
_loop_6 = function (interceptor) {
|
|
418
484
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
419
485
|
};
|
|
420
486
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
421
487
|
interceptor = _a[_i];
|
|
422
|
-
|
|
488
|
+
_loop_6(interceptor);
|
|
489
|
+
}
|
|
490
|
+
return [2, interceptorPromise.then(function () {
|
|
491
|
+
if (Object.keys(localVarFormParams).length) {
|
|
492
|
+
if (localVarUseFormData) {
|
|
493
|
+
localVarRequestOptions.formData = localVarFormParams;
|
|
494
|
+
}
|
|
495
|
+
else {
|
|
496
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
return new Promise(function (resolve, reject) {
|
|
500
|
+
(0, request_1.default)(localVarRequestOptions, function (error, response, body) {
|
|
501
|
+
if (error) {
|
|
502
|
+
reject(error);
|
|
503
|
+
}
|
|
504
|
+
else {
|
|
505
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
506
|
+
resolve({ response: response, body: body });
|
|
507
|
+
}
|
|
508
|
+
else {
|
|
509
|
+
reject(new apis_1.HttpError(response, body, response.statusCode));
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
});
|
|
513
|
+
});
|
|
514
|
+
})];
|
|
515
|
+
});
|
|
516
|
+
});
|
|
517
|
+
};
|
|
518
|
+
MatchedOffersApi.prototype.matchedOffersControllerBulkdeletebuyerspecialinstructions = function (account, bulkDeleteBuyerSpecialInstructionsDto, options) {
|
|
519
|
+
if (options === void 0) { options = { headers: {} }; }
|
|
520
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
521
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_7, _i, _a, interceptor;
|
|
522
|
+
var _this = this;
|
|
523
|
+
return __generator(this, function (_b) {
|
|
524
|
+
localVarPath = this.basePath + '/matched-offers/{account}/bulk/buyer-special-instructions'
|
|
525
|
+
.replace('{' + 'account' + '}', encodeURIComponent(String(account)));
|
|
526
|
+
localVarQueryParameters = {};
|
|
527
|
+
localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
528
|
+
localVarFormParams = {};
|
|
529
|
+
if (account === null || account === undefined) {
|
|
530
|
+
throw new Error('Required parameter account was null or undefined when calling matchedOffersControllerBulkdeletebuyerspecialinstructions.');
|
|
531
|
+
}
|
|
532
|
+
if (bulkDeleteBuyerSpecialInstructionsDto === null || bulkDeleteBuyerSpecialInstructionsDto === undefined) {
|
|
533
|
+
throw new Error('Required parameter bulkDeleteBuyerSpecialInstructionsDto was null or undefined when calling matchedOffersControllerBulkdeletebuyerspecialinstructions.');
|
|
534
|
+
}
|
|
535
|
+
Object.assign(localVarHeaderParams, options.headers);
|
|
536
|
+
localVarUseFormData = false;
|
|
537
|
+
localVarRequestOptions = {
|
|
538
|
+
method: 'DELETE',
|
|
539
|
+
qs: localVarQueryParameters,
|
|
540
|
+
headers: localVarHeaderParams,
|
|
541
|
+
uri: localVarPath,
|
|
542
|
+
useQuerystring: this._useQuerystring,
|
|
543
|
+
json: true,
|
|
544
|
+
body: models_1.ObjectSerializer.serialize(bulkDeleteBuyerSpecialInstructionsDto, "BulkDeleteBuyerSpecialInstructionsDto")
|
|
545
|
+
};
|
|
546
|
+
authenticationPromise = Promise.resolve();
|
|
547
|
+
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
548
|
+
interceptorPromise = authenticationPromise;
|
|
549
|
+
_loop_7 = function (interceptor) {
|
|
550
|
+
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
551
|
+
};
|
|
552
|
+
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
553
|
+
interceptor = _a[_i];
|
|
554
|
+
_loop_7(interceptor);
|
|
423
555
|
}
|
|
424
556
|
return [2, interceptorPromise.then(function () {
|
|
425
557
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -452,7 +584,7 @@ var MatchedOffersApi = (function () {
|
|
|
452
584
|
MatchedOffersApi.prototype.matchedOffersControllerBulkupdatebuyerspecialinstructions = function (account, bulkUpdateBuyerSpecialInstructionsDto, options) {
|
|
453
585
|
if (options === void 0) { options = { headers: {} }; }
|
|
454
586
|
return __awaiter(this, void 0, void 0, function () {
|
|
455
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
587
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_8, _i, _a, interceptor;
|
|
456
588
|
var _this = this;
|
|
457
589
|
return __generator(this, function (_b) {
|
|
458
590
|
localVarPath = this.basePath + '/matched-offers/{account}/bulk/buyer-special-instructions'
|
|
@@ -480,12 +612,12 @@ var MatchedOffersApi = (function () {
|
|
|
480
612
|
authenticationPromise = Promise.resolve();
|
|
481
613
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
482
614
|
interceptorPromise = authenticationPromise;
|
|
483
|
-
|
|
615
|
+
_loop_8 = function (interceptor) {
|
|
484
616
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
485
617
|
};
|
|
486
618
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
487
619
|
interceptor = _a[_i];
|
|
488
|
-
|
|
620
|
+
_loop_8(interceptor);
|
|
489
621
|
}
|
|
490
622
|
return [2, interceptorPromise.then(function () {
|
|
491
623
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -518,7 +650,7 @@ var MatchedOffersApi = (function () {
|
|
|
518
650
|
MatchedOffersApi.prototype.matchedOffersControllerBulkupdatedeliverydates = function (account, bulkUpdateDeliveryDatesDto, options) {
|
|
519
651
|
if (options === void 0) { options = { headers: {} }; }
|
|
520
652
|
return __awaiter(this, void 0, void 0, function () {
|
|
521
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
653
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_9, _i, _a, interceptor;
|
|
522
654
|
var _this = this;
|
|
523
655
|
return __generator(this, function (_b) {
|
|
524
656
|
localVarPath = this.basePath + '/matched-offers/{account}/bulk/delivery-dates'
|
|
@@ -546,12 +678,12 @@ var MatchedOffersApi = (function () {
|
|
|
546
678
|
authenticationPromise = Promise.resolve();
|
|
547
679
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
548
680
|
interceptorPromise = authenticationPromise;
|
|
549
|
-
|
|
681
|
+
_loop_9 = function (interceptor) {
|
|
550
682
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
551
683
|
};
|
|
552
684
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
553
685
|
interceptor = _a[_i];
|
|
554
|
-
|
|
686
|
+
_loop_9(interceptor);
|
|
555
687
|
}
|
|
556
688
|
return [2, interceptorPromise.then(function () {
|
|
557
689
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -584,7 +716,7 @@ var MatchedOffersApi = (function () {
|
|
|
584
716
|
MatchedOffersApi.prototype.matchedOffersControllerBulkupdatedocscountry = function (account, bulkUpdateDocsCountryDto, options) {
|
|
585
717
|
if (options === void 0) { options = { headers: {} }; }
|
|
586
718
|
return __awaiter(this, void 0, void 0, function () {
|
|
587
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
719
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_10, _i, _a, interceptor;
|
|
588
720
|
var _this = this;
|
|
589
721
|
return __generator(this, function (_b) {
|
|
590
722
|
localVarPath = this.basePath + '/matched-offers/{account}/bulk/docs-country'
|
|
@@ -612,12 +744,12 @@ var MatchedOffersApi = (function () {
|
|
|
612
744
|
authenticationPromise = Promise.resolve();
|
|
613
745
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
614
746
|
interceptorPromise = authenticationPromise;
|
|
615
|
-
|
|
747
|
+
_loop_10 = function (interceptor) {
|
|
616
748
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
617
749
|
};
|
|
618
750
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
619
751
|
interceptor = _a[_i];
|
|
620
|
-
|
|
752
|
+
_loop_10(interceptor);
|
|
621
753
|
}
|
|
622
754
|
return [2, interceptorPromise.then(function () {
|
|
623
755
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -650,7 +782,7 @@ var MatchedOffersApi = (function () {
|
|
|
650
782
|
MatchedOffersApi.prototype.matchedOffersControllerCountsbystatus = function (account, options) {
|
|
651
783
|
if (options === void 0) { options = { headers: {} }; }
|
|
652
784
|
return __awaiter(this, void 0, void 0, function () {
|
|
653
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
785
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_11, _i, _a, interceptor;
|
|
654
786
|
var _this = this;
|
|
655
787
|
return __generator(this, function (_b) {
|
|
656
788
|
localVarPath = this.basePath + '/matched-offers/{account}/counts-by-status'
|
|
@@ -674,12 +806,12 @@ var MatchedOffersApi = (function () {
|
|
|
674
806
|
authenticationPromise = Promise.resolve();
|
|
675
807
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
676
808
|
interceptorPromise = authenticationPromise;
|
|
677
|
-
|
|
809
|
+
_loop_11 = function (interceptor) {
|
|
678
810
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
679
811
|
};
|
|
680
812
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
681
813
|
interceptor = _a[_i];
|
|
682
|
-
|
|
814
|
+
_loop_11(interceptor);
|
|
683
815
|
}
|
|
684
816
|
return [2, interceptorPromise.then(function () {
|
|
685
817
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -712,7 +844,7 @@ var MatchedOffersApi = (function () {
|
|
|
712
844
|
MatchedOffersApi.prototype.matchedOffersControllerCreate = function (account, createMatchedOfferDto, options) {
|
|
713
845
|
if (options === void 0) { options = { headers: {} }; }
|
|
714
846
|
return __awaiter(this, void 0, void 0, function () {
|
|
715
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
847
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_12, _i, _a, interceptor;
|
|
716
848
|
var _this = this;
|
|
717
849
|
return __generator(this, function (_b) {
|
|
718
850
|
localVarPath = this.basePath + '/matched-offers/{account}'
|
|
@@ -740,12 +872,12 @@ var MatchedOffersApi = (function () {
|
|
|
740
872
|
authenticationPromise = Promise.resolve();
|
|
741
873
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
742
874
|
interceptorPromise = authenticationPromise;
|
|
743
|
-
|
|
875
|
+
_loop_12 = function (interceptor) {
|
|
744
876
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
745
877
|
};
|
|
746
878
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
747
879
|
interceptor = _a[_i];
|
|
748
|
-
|
|
880
|
+
_loop_12(interceptor);
|
|
749
881
|
}
|
|
750
882
|
return [2, interceptorPromise.then(function () {
|
|
751
883
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -778,7 +910,7 @@ var MatchedOffersApi = (function () {
|
|
|
778
910
|
MatchedOffersApi.prototype.matchedOffersControllerDeletebid = function (id, userId, account, options) {
|
|
779
911
|
if (options === void 0) { options = { headers: {} }; }
|
|
780
912
|
return __awaiter(this, void 0, void 0, function () {
|
|
781
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
913
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_13, _i, _a, interceptor;
|
|
782
914
|
var _this = this;
|
|
783
915
|
return __generator(this, function (_b) {
|
|
784
916
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/{userId}/bid'
|
|
@@ -810,12 +942,12 @@ var MatchedOffersApi = (function () {
|
|
|
810
942
|
authenticationPromise = Promise.resolve();
|
|
811
943
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
812
944
|
interceptorPromise = authenticationPromise;
|
|
813
|
-
|
|
945
|
+
_loop_13 = function (interceptor) {
|
|
814
946
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
815
947
|
};
|
|
816
948
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
817
949
|
interceptor = _a[_i];
|
|
818
|
-
|
|
950
|
+
_loop_13(interceptor);
|
|
819
951
|
}
|
|
820
952
|
return [2, interceptorPromise.then(function () {
|
|
821
953
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -848,7 +980,7 @@ var MatchedOffersApi = (function () {
|
|
|
848
980
|
MatchedOffersApi.prototype.matchedOffersControllerFilter = function (account, skip, limit, sort, fields, body, options) {
|
|
849
981
|
if (options === void 0) { options = { headers: {} }; }
|
|
850
982
|
return __awaiter(this, void 0, void 0, function () {
|
|
851
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
983
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_14, _i, _a, interceptor;
|
|
852
984
|
var _this = this;
|
|
853
985
|
return __generator(this, function (_b) {
|
|
854
986
|
localVarPath = this.basePath + '/matched-offers/{account}/search'
|
|
@@ -885,12 +1017,12 @@ var MatchedOffersApi = (function () {
|
|
|
885
1017
|
authenticationPromise = Promise.resolve();
|
|
886
1018
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
887
1019
|
interceptorPromise = authenticationPromise;
|
|
888
|
-
|
|
1020
|
+
_loop_14 = function (interceptor) {
|
|
889
1021
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
890
1022
|
};
|
|
891
1023
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
892
1024
|
interceptor = _a[_i];
|
|
893
|
-
|
|
1025
|
+
_loop_14(interceptor);
|
|
894
1026
|
}
|
|
895
1027
|
return [2, interceptorPromise.then(function () {
|
|
896
1028
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -923,7 +1055,7 @@ var MatchedOffersApi = (function () {
|
|
|
923
1055
|
MatchedOffersApi.prototype.matchedOffersControllerFindall = function (account, createMatchedOfferDto, skip, limit, sort, fields, options) {
|
|
924
1056
|
if (options === void 0) { options = { headers: {} }; }
|
|
925
1057
|
return __awaiter(this, void 0, void 0, function () {
|
|
926
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1058
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_15, _i, _a, interceptor;
|
|
927
1059
|
var _this = this;
|
|
928
1060
|
return __generator(this, function (_b) {
|
|
929
1061
|
localVarPath = this.basePath + '/matched-offers/{account}'
|
|
@@ -963,12 +1095,12 @@ var MatchedOffersApi = (function () {
|
|
|
963
1095
|
authenticationPromise = Promise.resolve();
|
|
964
1096
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
965
1097
|
interceptorPromise = authenticationPromise;
|
|
966
|
-
|
|
1098
|
+
_loop_15 = function (interceptor) {
|
|
967
1099
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
968
1100
|
};
|
|
969
1101
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
970
1102
|
interceptor = _a[_i];
|
|
971
|
-
|
|
1103
|
+
_loop_15(interceptor);
|
|
972
1104
|
}
|
|
973
1105
|
return [2, interceptorPromise.then(function () {
|
|
974
1106
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1001,7 +1133,7 @@ var MatchedOffersApi = (function () {
|
|
|
1001
1133
|
MatchedOffersApi.prototype.matchedOffersControllerFindcountries = function (account, options) {
|
|
1002
1134
|
if (options === void 0) { options = { headers: {} }; }
|
|
1003
1135
|
return __awaiter(this, void 0, void 0, function () {
|
|
1004
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1136
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_16, _i, _a, interceptor;
|
|
1005
1137
|
var _this = this;
|
|
1006
1138
|
return __generator(this, function (_b) {
|
|
1007
1139
|
localVarPath = this.basePath + '/matched-offers/{account}/countries'
|
|
@@ -1025,12 +1157,12 @@ var MatchedOffersApi = (function () {
|
|
|
1025
1157
|
authenticationPromise = Promise.resolve();
|
|
1026
1158
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1027
1159
|
interceptorPromise = authenticationPromise;
|
|
1028
|
-
|
|
1160
|
+
_loop_16 = function (interceptor) {
|
|
1029
1161
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1030
1162
|
};
|
|
1031
1163
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1032
1164
|
interceptor = _a[_i];
|
|
1033
|
-
|
|
1165
|
+
_loop_16(interceptor);
|
|
1034
1166
|
}
|
|
1035
1167
|
return [2, interceptorPromise.then(function () {
|
|
1036
1168
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1063,7 +1195,7 @@ var MatchedOffersApi = (function () {
|
|
|
1063
1195
|
MatchedOffersApi.prototype.matchedOffersControllerFindone = function (id, account, fields, options) {
|
|
1064
1196
|
if (options === void 0) { options = { headers: {} }; }
|
|
1065
1197
|
return __awaiter(this, void 0, void 0, function () {
|
|
1066
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1198
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_17, _i, _a, interceptor;
|
|
1067
1199
|
var _this = this;
|
|
1068
1200
|
return __generator(this, function (_b) {
|
|
1069
1201
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}'
|
|
@@ -1094,12 +1226,12 @@ var MatchedOffersApi = (function () {
|
|
|
1094
1226
|
authenticationPromise = Promise.resolve();
|
|
1095
1227
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1096
1228
|
interceptorPromise = authenticationPromise;
|
|
1097
|
-
|
|
1229
|
+
_loop_17 = function (interceptor) {
|
|
1098
1230
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1099
1231
|
};
|
|
1100
1232
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1101
1233
|
interceptor = _a[_i];
|
|
1102
|
-
|
|
1234
|
+
_loop_17(interceptor);
|
|
1103
1235
|
}
|
|
1104
1236
|
return [2, interceptorPromise.then(function () {
|
|
1105
1237
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1132,7 +1264,7 @@ var MatchedOffersApi = (function () {
|
|
|
1132
1264
|
MatchedOffersApi.prototype.matchedOffersControllerGenerateoffernumber = function (id, account, options) {
|
|
1133
1265
|
if (options === void 0) { options = { headers: {} }; }
|
|
1134
1266
|
return __awaiter(this, void 0, void 0, function () {
|
|
1135
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1267
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_18, _i, _a, interceptor;
|
|
1136
1268
|
var _this = this;
|
|
1137
1269
|
return __generator(this, function (_b) {
|
|
1138
1270
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/generate/number'
|
|
@@ -1160,12 +1292,12 @@ var MatchedOffersApi = (function () {
|
|
|
1160
1292
|
authenticationPromise = Promise.resolve();
|
|
1161
1293
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1162
1294
|
interceptorPromise = authenticationPromise;
|
|
1163
|
-
|
|
1295
|
+
_loop_18 = function (interceptor) {
|
|
1164
1296
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1165
1297
|
};
|
|
1166
1298
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1167
1299
|
interceptor = _a[_i];
|
|
1168
|
-
|
|
1300
|
+
_loop_18(interceptor);
|
|
1169
1301
|
}
|
|
1170
1302
|
return [2, interceptorPromise.then(function () {
|
|
1171
1303
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1198,7 +1330,7 @@ var MatchedOffersApi = (function () {
|
|
|
1198
1330
|
MatchedOffersApi.prototype.matchedOffersControllerLogview = function (id, account, body, options) {
|
|
1199
1331
|
if (options === void 0) { options = { headers: {} }; }
|
|
1200
1332
|
return __awaiter(this, void 0, void 0, function () {
|
|
1201
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1333
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_19, _i, _a, interceptor;
|
|
1202
1334
|
var _this = this;
|
|
1203
1335
|
return __generator(this, function (_b) {
|
|
1204
1336
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/view'
|
|
@@ -1230,12 +1362,12 @@ var MatchedOffersApi = (function () {
|
|
|
1230
1362
|
authenticationPromise = Promise.resolve();
|
|
1231
1363
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1232
1364
|
interceptorPromise = authenticationPromise;
|
|
1233
|
-
|
|
1365
|
+
_loop_19 = function (interceptor) {
|
|
1234
1366
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1235
1367
|
};
|
|
1236
1368
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1237
1369
|
interceptor = _a[_i];
|
|
1238
|
-
|
|
1370
|
+
_loop_19(interceptor);
|
|
1239
1371
|
}
|
|
1240
1372
|
return [2, interceptorPromise.then(function () {
|
|
1241
1373
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1268,7 +1400,7 @@ var MatchedOffersApi = (function () {
|
|
|
1268
1400
|
MatchedOffersApi.prototype.matchedOffersControllerRemove = function (id, account, options) {
|
|
1269
1401
|
if (options === void 0) { options = { headers: {} }; }
|
|
1270
1402
|
return __awaiter(this, void 0, void 0, function () {
|
|
1271
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1403
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_20, _i, _a, interceptor;
|
|
1272
1404
|
var _this = this;
|
|
1273
1405
|
return __generator(this, function (_b) {
|
|
1274
1406
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}'
|
|
@@ -1296,12 +1428,12 @@ var MatchedOffersApi = (function () {
|
|
|
1296
1428
|
authenticationPromise = Promise.resolve();
|
|
1297
1429
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1298
1430
|
interceptorPromise = authenticationPromise;
|
|
1299
|
-
|
|
1431
|
+
_loop_20 = function (interceptor) {
|
|
1300
1432
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1301
1433
|
};
|
|
1302
1434
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1303
1435
|
interceptor = _a[_i];
|
|
1304
|
-
|
|
1436
|
+
_loop_20(interceptor);
|
|
1305
1437
|
}
|
|
1306
1438
|
return [2, interceptorPromise.then(function () {
|
|
1307
1439
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1334,7 +1466,7 @@ var MatchedOffersApi = (function () {
|
|
|
1334
1466
|
MatchedOffersApi.prototype.matchedOffersControllerRemovepin = function (id, account, pinActionDto, options) {
|
|
1335
1467
|
if (options === void 0) { options = { headers: {} }; }
|
|
1336
1468
|
return __awaiter(this, void 0, void 0, function () {
|
|
1337
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1469
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_21, _i, _a, interceptor;
|
|
1338
1470
|
var _this = this;
|
|
1339
1471
|
return __generator(this, function (_b) {
|
|
1340
1472
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/unpin'
|
|
@@ -1366,12 +1498,12 @@ var MatchedOffersApi = (function () {
|
|
|
1366
1498
|
authenticationPromise = Promise.resolve();
|
|
1367
1499
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1368
1500
|
interceptorPromise = authenticationPromise;
|
|
1369
|
-
|
|
1501
|
+
_loop_21 = function (interceptor) {
|
|
1370
1502
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1371
1503
|
};
|
|
1372
1504
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1373
1505
|
interceptor = _a[_i];
|
|
1374
|
-
|
|
1506
|
+
_loop_21(interceptor);
|
|
1375
1507
|
}
|
|
1376
1508
|
return [2, interceptorPromise.then(function () {
|
|
1377
1509
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1404,7 +1536,7 @@ var MatchedOffersApi = (function () {
|
|
|
1404
1536
|
MatchedOffersApi.prototype.matchedOffersControllerReopen = function (id, account, options) {
|
|
1405
1537
|
if (options === void 0) { options = { headers: {} }; }
|
|
1406
1538
|
return __awaiter(this, void 0, void 0, function () {
|
|
1407
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1539
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_22, _i, _a, interceptor;
|
|
1408
1540
|
var _this = this;
|
|
1409
1541
|
return __generator(this, function (_b) {
|
|
1410
1542
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/reopen'
|
|
@@ -1432,12 +1564,12 @@ var MatchedOffersApi = (function () {
|
|
|
1432
1564
|
authenticationPromise = Promise.resolve();
|
|
1433
1565
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1434
1566
|
interceptorPromise = authenticationPromise;
|
|
1435
|
-
|
|
1567
|
+
_loop_22 = function (interceptor) {
|
|
1436
1568
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1437
1569
|
};
|
|
1438
1570
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1439
1571
|
interceptor = _a[_i];
|
|
1440
|
-
|
|
1572
|
+
_loop_22(interceptor);
|
|
1441
1573
|
}
|
|
1442
1574
|
return [2, interceptorPromise.then(function () {
|
|
1443
1575
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1470,7 +1602,7 @@ var MatchedOffersApi = (function () {
|
|
|
1470
1602
|
MatchedOffersApi.prototype.matchedOffersControllerSetconfirmindex = function (id, account, body, options) {
|
|
1471
1603
|
if (options === void 0) { options = { headers: {} }; }
|
|
1472
1604
|
return __awaiter(this, void 0, void 0, function () {
|
|
1473
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1605
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_23, _i, _a, interceptor;
|
|
1474
1606
|
var _this = this;
|
|
1475
1607
|
return __generator(this, function (_b) {
|
|
1476
1608
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/confirm/index'
|
|
@@ -1502,12 +1634,12 @@ var MatchedOffersApi = (function () {
|
|
|
1502
1634
|
authenticationPromise = Promise.resolve();
|
|
1503
1635
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1504
1636
|
interceptorPromise = authenticationPromise;
|
|
1505
|
-
|
|
1637
|
+
_loop_23 = function (interceptor) {
|
|
1506
1638
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1507
1639
|
};
|
|
1508
1640
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1509
1641
|
interceptor = _a[_i];
|
|
1510
|
-
|
|
1642
|
+
_loop_23(interceptor);
|
|
1511
1643
|
}
|
|
1512
1644
|
return [2, interceptorPromise.then(function () {
|
|
1513
1645
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1540,7 +1672,7 @@ var MatchedOffersApi = (function () {
|
|
|
1540
1672
|
MatchedOffersApi.prototype.matchedOffersControllerTotal = function (account, body, options) {
|
|
1541
1673
|
if (options === void 0) { options = { headers: {} }; }
|
|
1542
1674
|
return __awaiter(this, void 0, void 0, function () {
|
|
1543
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1675
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_24, _i, _a, interceptor;
|
|
1544
1676
|
var _this = this;
|
|
1545
1677
|
return __generator(this, function (_b) {
|
|
1546
1678
|
localVarPath = this.basePath + '/matched-offers/{account}/total'
|
|
@@ -1568,12 +1700,12 @@ var MatchedOffersApi = (function () {
|
|
|
1568
1700
|
authenticationPromise = Promise.resolve();
|
|
1569
1701
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1570
1702
|
interceptorPromise = authenticationPromise;
|
|
1571
|
-
|
|
1703
|
+
_loop_24 = function (interceptor) {
|
|
1572
1704
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1573
1705
|
};
|
|
1574
1706
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1575
1707
|
interceptor = _a[_i];
|
|
1576
|
-
|
|
1708
|
+
_loop_24(interceptor);
|
|
1577
1709
|
}
|
|
1578
1710
|
return [2, interceptorPromise.then(function () {
|
|
1579
1711
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1606,7 +1738,7 @@ var MatchedOffersApi = (function () {
|
|
|
1606
1738
|
MatchedOffersApi.prototype.matchedOffersControllerUpdate = function (id, account, body, options) {
|
|
1607
1739
|
if (options === void 0) { options = { headers: {} }; }
|
|
1608
1740
|
return __awaiter(this, void 0, void 0, function () {
|
|
1609
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1741
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_25, _i, _a, interceptor;
|
|
1610
1742
|
var _this = this;
|
|
1611
1743
|
return __generator(this, function (_b) {
|
|
1612
1744
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}'
|
|
@@ -1638,12 +1770,12 @@ var MatchedOffersApi = (function () {
|
|
|
1638
1770
|
authenticationPromise = Promise.resolve();
|
|
1639
1771
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1640
1772
|
interceptorPromise = authenticationPromise;
|
|
1641
|
-
|
|
1773
|
+
_loop_25 = function (interceptor) {
|
|
1642
1774
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1643
1775
|
};
|
|
1644
1776
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1645
1777
|
interceptor = _a[_i];
|
|
1646
|
-
|
|
1778
|
+
_loop_25(interceptor);
|
|
1647
1779
|
}
|
|
1648
1780
|
return [2, interceptorPromise.then(function () {
|
|
1649
1781
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1676,7 +1808,7 @@ var MatchedOffersApi = (function () {
|
|
|
1676
1808
|
MatchedOffersApi.prototype.matchedOffersControllerUpdatestatus = function (account, body, options) {
|
|
1677
1809
|
if (options === void 0) { options = { headers: {} }; }
|
|
1678
1810
|
return __awaiter(this, void 0, void 0, function () {
|
|
1679
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1811
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_26, _i, _a, interceptor;
|
|
1680
1812
|
var _this = this;
|
|
1681
1813
|
return __generator(this, function (_b) {
|
|
1682
1814
|
localVarPath = this.basePath + '/matched-offers/{account}/status'
|
|
@@ -1704,12 +1836,12 @@ var MatchedOffersApi = (function () {
|
|
|
1704
1836
|
authenticationPromise = Promise.resolve();
|
|
1705
1837
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1706
1838
|
interceptorPromise = authenticationPromise;
|
|
1707
|
-
|
|
1839
|
+
_loop_26 = function (interceptor) {
|
|
1708
1840
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1709
1841
|
};
|
|
1710
1842
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1711
1843
|
interceptor = _a[_i];
|
|
1712
|
-
|
|
1844
|
+
_loop_26(interceptor);
|
|
1713
1845
|
}
|
|
1714
1846
|
return [2, interceptorPromise.then(function () {
|
|
1715
1847
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1742,7 +1874,7 @@ var MatchedOffersApi = (function () {
|
|
|
1742
1874
|
MatchedOffersApi.prototype.matchedOffersControllerValidatestatus = function (account, body, options) {
|
|
1743
1875
|
if (options === void 0) { options = { headers: {} }; }
|
|
1744
1876
|
return __awaiter(this, void 0, void 0, function () {
|
|
1745
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1877
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_27, _i, _a, interceptor;
|
|
1746
1878
|
var _this = this;
|
|
1747
1879
|
return __generator(this, function (_b) {
|
|
1748
1880
|
localVarPath = this.basePath + '/matched-offers/{account}/status/validate'
|
|
@@ -1770,12 +1902,12 @@ var MatchedOffersApi = (function () {
|
|
|
1770
1902
|
authenticationPromise = Promise.resolve();
|
|
1771
1903
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1772
1904
|
interceptorPromise = authenticationPromise;
|
|
1773
|
-
|
|
1905
|
+
_loop_27 = function (interceptor) {
|
|
1774
1906
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1775
1907
|
};
|
|
1776
1908
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1777
1909
|
interceptor = _a[_i];
|
|
1778
|
-
|
|
1910
|
+
_loop_27(interceptor);
|
|
1779
1911
|
}
|
|
1780
1912
|
return [2, interceptorPromise.then(function () {
|
|
1781
1913
|
if (Object.keys(localVarFormParams).length) {
|