@tradecafe/offer-service-sdk 0.0.54 → 0.0.56
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 +198 -66
- package/dist/api/matchedOffersApi.js.map +1 -1
- package/dist/model/bulkChangeIncotermDto.d.ts +16 -0
- package/dist/model/bulkChangeIncotermDto.js +31 -0
- package/dist/model/bulkChangeIncotermDto.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/bulkChangeIncotermDto.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.matchedOffersControllerBulkchangeincoterm = function (account, bulkChangeIncotermDto, 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/incoterm'
|
|
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 matchedOffersControllerBulkchangeincoterm.');
|
|
399
|
+
}
|
|
400
|
+
if (bulkChangeIncotermDto === null || bulkChangeIncotermDto === undefined) {
|
|
401
|
+
throw new Error('Required parameter bulkChangeIncotermDto was null or undefined when calling matchedOffersControllerBulkchangeincoterm.');
|
|
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(bulkChangeIncotermDto, "BulkChangeIncotermDto")
|
|
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.matchedOffersControllerBulkchangesellingtrader = function (account, bulkChangeSellingTraderDto, 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/selling-trader'
|
|
393
459
|
.replace('{' + 'account' + '}', encodeURIComponent(String(account)));
|
|
@@ -414,12 +480,12 @@ 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);
|
|
423
489
|
}
|
|
424
490
|
return [2, interceptorPromise.then(function () {
|
|
425
491
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -452,7 +518,7 @@ var MatchedOffersApi = (function () {
|
|
|
452
518
|
MatchedOffersApi.prototype.matchedOffersControllerBulkchangesellprices = function (account, bulkChangeSellPricesDto, options) {
|
|
453
519
|
if (options === void 0) { options = { headers: {} }; }
|
|
454
520
|
return __awaiter(this, void 0, void 0, function () {
|
|
455
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
521
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_7, _i, _a, interceptor;
|
|
456
522
|
var _this = this;
|
|
457
523
|
return __generator(this, function (_b) {
|
|
458
524
|
localVarPath = this.basePath + '/matched-offers/{account}/bulk/sell-prices'
|
|
@@ -480,12 +546,78 @@ var MatchedOffersApi = (function () {
|
|
|
480
546
|
authenticationPromise = Promise.resolve();
|
|
481
547
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
482
548
|
interceptorPromise = authenticationPromise;
|
|
483
|
-
|
|
549
|
+
_loop_7 = function (interceptor) {
|
|
484
550
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
485
551
|
};
|
|
486
552
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
487
553
|
interceptor = _a[_i];
|
|
488
|
-
|
|
554
|
+
_loop_7(interceptor);
|
|
555
|
+
}
|
|
556
|
+
return [2, interceptorPromise.then(function () {
|
|
557
|
+
if (Object.keys(localVarFormParams).length) {
|
|
558
|
+
if (localVarUseFormData) {
|
|
559
|
+
localVarRequestOptions.formData = localVarFormParams;
|
|
560
|
+
}
|
|
561
|
+
else {
|
|
562
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
return new Promise(function (resolve, reject) {
|
|
566
|
+
(0, request_1.default)(localVarRequestOptions, function (error, response, body) {
|
|
567
|
+
if (error) {
|
|
568
|
+
reject(error);
|
|
569
|
+
}
|
|
570
|
+
else {
|
|
571
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
572
|
+
resolve({ response: response, body: body });
|
|
573
|
+
}
|
|
574
|
+
else {
|
|
575
|
+
reject(new apis_1.HttpError(response, body, response.statusCode));
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
});
|
|
579
|
+
});
|
|
580
|
+
})];
|
|
581
|
+
});
|
|
582
|
+
});
|
|
583
|
+
};
|
|
584
|
+
MatchedOffersApi.prototype.matchedOffersControllerBulkdeletebuyerspecialinstructions = function (account, bulkDeleteBuyerSpecialInstructionsDto, options) {
|
|
585
|
+
if (options === void 0) { options = { headers: {} }; }
|
|
586
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
587
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_8, _i, _a, interceptor;
|
|
588
|
+
var _this = this;
|
|
589
|
+
return __generator(this, function (_b) {
|
|
590
|
+
localVarPath = this.basePath + '/matched-offers/{account}/bulk/buyer-special-instructions'
|
|
591
|
+
.replace('{' + 'account' + '}', encodeURIComponent(String(account)));
|
|
592
|
+
localVarQueryParameters = {};
|
|
593
|
+
localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
594
|
+
localVarFormParams = {};
|
|
595
|
+
if (account === null || account === undefined) {
|
|
596
|
+
throw new Error('Required parameter account was null or undefined when calling matchedOffersControllerBulkdeletebuyerspecialinstructions.');
|
|
597
|
+
}
|
|
598
|
+
if (bulkDeleteBuyerSpecialInstructionsDto === null || bulkDeleteBuyerSpecialInstructionsDto === undefined) {
|
|
599
|
+
throw new Error('Required parameter bulkDeleteBuyerSpecialInstructionsDto was null or undefined when calling matchedOffersControllerBulkdeletebuyerspecialinstructions.');
|
|
600
|
+
}
|
|
601
|
+
Object.assign(localVarHeaderParams, options.headers);
|
|
602
|
+
localVarUseFormData = false;
|
|
603
|
+
localVarRequestOptions = {
|
|
604
|
+
method: 'DELETE',
|
|
605
|
+
qs: localVarQueryParameters,
|
|
606
|
+
headers: localVarHeaderParams,
|
|
607
|
+
uri: localVarPath,
|
|
608
|
+
useQuerystring: this._useQuerystring,
|
|
609
|
+
json: true,
|
|
610
|
+
body: models_1.ObjectSerializer.serialize(bulkDeleteBuyerSpecialInstructionsDto, "BulkDeleteBuyerSpecialInstructionsDto")
|
|
611
|
+
};
|
|
612
|
+
authenticationPromise = Promise.resolve();
|
|
613
|
+
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
614
|
+
interceptorPromise = authenticationPromise;
|
|
615
|
+
_loop_8 = function (interceptor) {
|
|
616
|
+
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
617
|
+
};
|
|
618
|
+
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
619
|
+
interceptor = _a[_i];
|
|
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.matchedOffersControllerBulkupdatebuyerspecialinstructions = function (account, bulkUpdateBuyerSpecialInstructionsDto, 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/buyer-special-instructions'
|
|
@@ -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.matchedOffersControllerBulkupdatedeliverydates = function (account, bulkUpdateDeliveryDatesDto, 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/delivery-dates'
|
|
@@ -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.matchedOffersControllerBulkupdatedocscountry = function (account, bulkUpdateDocsCountryDto, 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}/bulk/docs-country'
|
|
@@ -678,12 +810,12 @@ var MatchedOffersApi = (function () {
|
|
|
678
810
|
authenticationPromise = Promise.resolve();
|
|
679
811
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
680
812
|
interceptorPromise = authenticationPromise;
|
|
681
|
-
|
|
813
|
+
_loop_11 = function (interceptor) {
|
|
682
814
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
683
815
|
};
|
|
684
816
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
685
817
|
interceptor = _a[_i];
|
|
686
|
-
|
|
818
|
+
_loop_11(interceptor);
|
|
687
819
|
}
|
|
688
820
|
return [2, interceptorPromise.then(function () {
|
|
689
821
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -716,7 +848,7 @@ var MatchedOffersApi = (function () {
|
|
|
716
848
|
MatchedOffersApi.prototype.matchedOffersControllerCountsbystatus = function (account, options) {
|
|
717
849
|
if (options === void 0) { options = { headers: {} }; }
|
|
718
850
|
return __awaiter(this, void 0, void 0, function () {
|
|
719
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
851
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_12, _i, _a, interceptor;
|
|
720
852
|
var _this = this;
|
|
721
853
|
return __generator(this, function (_b) {
|
|
722
854
|
localVarPath = this.basePath + '/matched-offers/{account}/counts-by-status'
|
|
@@ -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.matchedOffersControllerCreate = function (account, createMatchedOfferDto, 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}'
|
|
@@ -806,12 +938,12 @@ var MatchedOffersApi = (function () {
|
|
|
806
938
|
authenticationPromise = Promise.resolve();
|
|
807
939
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
808
940
|
interceptorPromise = authenticationPromise;
|
|
809
|
-
|
|
941
|
+
_loop_13 = function (interceptor) {
|
|
810
942
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
811
943
|
};
|
|
812
944
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
813
945
|
interceptor = _a[_i];
|
|
814
|
-
|
|
946
|
+
_loop_13(interceptor);
|
|
815
947
|
}
|
|
816
948
|
return [2, interceptorPromise.then(function () {
|
|
817
949
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -844,7 +976,7 @@ var MatchedOffersApi = (function () {
|
|
|
844
976
|
MatchedOffersApi.prototype.matchedOffersControllerDeletebid = function (id, userId, account, options) {
|
|
845
977
|
if (options === void 0) { options = { headers: {} }; }
|
|
846
978
|
return __awaiter(this, void 0, void 0, function () {
|
|
847
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
979
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_14, _i, _a, interceptor;
|
|
848
980
|
var _this = this;
|
|
849
981
|
return __generator(this, function (_b) {
|
|
850
982
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/{userId}/bid'
|
|
@@ -876,12 +1008,12 @@ var MatchedOffersApi = (function () {
|
|
|
876
1008
|
authenticationPromise = Promise.resolve();
|
|
877
1009
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
878
1010
|
interceptorPromise = authenticationPromise;
|
|
879
|
-
|
|
1011
|
+
_loop_14 = function (interceptor) {
|
|
880
1012
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
881
1013
|
};
|
|
882
1014
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
883
1015
|
interceptor = _a[_i];
|
|
884
|
-
|
|
1016
|
+
_loop_14(interceptor);
|
|
885
1017
|
}
|
|
886
1018
|
return [2, interceptorPromise.then(function () {
|
|
887
1019
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -914,7 +1046,7 @@ var MatchedOffersApi = (function () {
|
|
|
914
1046
|
MatchedOffersApi.prototype.matchedOffersControllerFilter = function (account, skip, limit, sort, fields, body, options) {
|
|
915
1047
|
if (options === void 0) { options = { headers: {} }; }
|
|
916
1048
|
return __awaiter(this, void 0, void 0, function () {
|
|
917
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1049
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_15, _i, _a, interceptor;
|
|
918
1050
|
var _this = this;
|
|
919
1051
|
return __generator(this, function (_b) {
|
|
920
1052
|
localVarPath = this.basePath + '/matched-offers/{account}/search'
|
|
@@ -951,12 +1083,12 @@ var MatchedOffersApi = (function () {
|
|
|
951
1083
|
authenticationPromise = Promise.resolve();
|
|
952
1084
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
953
1085
|
interceptorPromise = authenticationPromise;
|
|
954
|
-
|
|
1086
|
+
_loop_15 = function (interceptor) {
|
|
955
1087
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
956
1088
|
};
|
|
957
1089
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
958
1090
|
interceptor = _a[_i];
|
|
959
|
-
|
|
1091
|
+
_loop_15(interceptor);
|
|
960
1092
|
}
|
|
961
1093
|
return [2, interceptorPromise.then(function () {
|
|
962
1094
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -989,7 +1121,7 @@ var MatchedOffersApi = (function () {
|
|
|
989
1121
|
MatchedOffersApi.prototype.matchedOffersControllerFindall = function (account, createMatchedOfferDto, skip, limit, sort, fields, options) {
|
|
990
1122
|
if (options === void 0) { options = { headers: {} }; }
|
|
991
1123
|
return __awaiter(this, void 0, void 0, function () {
|
|
992
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1124
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_16, _i, _a, interceptor;
|
|
993
1125
|
var _this = this;
|
|
994
1126
|
return __generator(this, function (_b) {
|
|
995
1127
|
localVarPath = this.basePath + '/matched-offers/{account}'
|
|
@@ -1029,12 +1161,12 @@ var MatchedOffersApi = (function () {
|
|
|
1029
1161
|
authenticationPromise = Promise.resolve();
|
|
1030
1162
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1031
1163
|
interceptorPromise = authenticationPromise;
|
|
1032
|
-
|
|
1164
|
+
_loop_16 = function (interceptor) {
|
|
1033
1165
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1034
1166
|
};
|
|
1035
1167
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1036
1168
|
interceptor = _a[_i];
|
|
1037
|
-
|
|
1169
|
+
_loop_16(interceptor);
|
|
1038
1170
|
}
|
|
1039
1171
|
return [2, interceptorPromise.then(function () {
|
|
1040
1172
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1067,7 +1199,7 @@ var MatchedOffersApi = (function () {
|
|
|
1067
1199
|
MatchedOffersApi.prototype.matchedOffersControllerFindcountries = function (account, options) {
|
|
1068
1200
|
if (options === void 0) { options = { headers: {} }; }
|
|
1069
1201
|
return __awaiter(this, void 0, void 0, function () {
|
|
1070
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1202
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_17, _i, _a, interceptor;
|
|
1071
1203
|
var _this = this;
|
|
1072
1204
|
return __generator(this, function (_b) {
|
|
1073
1205
|
localVarPath = this.basePath + '/matched-offers/{account}/countries'
|
|
@@ -1091,12 +1223,12 @@ var MatchedOffersApi = (function () {
|
|
|
1091
1223
|
authenticationPromise = Promise.resolve();
|
|
1092
1224
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1093
1225
|
interceptorPromise = authenticationPromise;
|
|
1094
|
-
|
|
1226
|
+
_loop_17 = function (interceptor) {
|
|
1095
1227
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1096
1228
|
};
|
|
1097
1229
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1098
1230
|
interceptor = _a[_i];
|
|
1099
|
-
|
|
1231
|
+
_loop_17(interceptor);
|
|
1100
1232
|
}
|
|
1101
1233
|
return [2, interceptorPromise.then(function () {
|
|
1102
1234
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1129,7 +1261,7 @@ var MatchedOffersApi = (function () {
|
|
|
1129
1261
|
MatchedOffersApi.prototype.matchedOffersControllerFindone = function (id, account, fields, options) {
|
|
1130
1262
|
if (options === void 0) { options = { headers: {} }; }
|
|
1131
1263
|
return __awaiter(this, void 0, void 0, function () {
|
|
1132
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1264
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_18, _i, _a, interceptor;
|
|
1133
1265
|
var _this = this;
|
|
1134
1266
|
return __generator(this, function (_b) {
|
|
1135
1267
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}'
|
|
@@ -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.matchedOffersControllerGenerateoffernumber = function (id, account, 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}/generate/number'
|
|
@@ -1226,12 +1358,12 @@ var MatchedOffersApi = (function () {
|
|
|
1226
1358
|
authenticationPromise = Promise.resolve();
|
|
1227
1359
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1228
1360
|
interceptorPromise = authenticationPromise;
|
|
1229
|
-
|
|
1361
|
+
_loop_19 = function (interceptor) {
|
|
1230
1362
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1231
1363
|
};
|
|
1232
1364
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1233
1365
|
interceptor = _a[_i];
|
|
1234
|
-
|
|
1366
|
+
_loop_19(interceptor);
|
|
1235
1367
|
}
|
|
1236
1368
|
return [2, interceptorPromise.then(function () {
|
|
1237
1369
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1264,7 +1396,7 @@ var MatchedOffersApi = (function () {
|
|
|
1264
1396
|
MatchedOffersApi.prototype.matchedOffersControllerLogview = function (id, account, body, options) {
|
|
1265
1397
|
if (options === void 0) { options = { headers: {} }; }
|
|
1266
1398
|
return __awaiter(this, void 0, void 0, function () {
|
|
1267
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1399
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_20, _i, _a, interceptor;
|
|
1268
1400
|
var _this = this;
|
|
1269
1401
|
return __generator(this, function (_b) {
|
|
1270
1402
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/view'
|
|
@@ -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.matchedOffersControllerRemove = function (id, account, 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}'
|
|
@@ -1362,12 +1494,12 @@ var MatchedOffersApi = (function () {
|
|
|
1362
1494
|
authenticationPromise = Promise.resolve();
|
|
1363
1495
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1364
1496
|
interceptorPromise = authenticationPromise;
|
|
1365
|
-
|
|
1497
|
+
_loop_21 = function (interceptor) {
|
|
1366
1498
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1367
1499
|
};
|
|
1368
1500
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1369
1501
|
interceptor = _a[_i];
|
|
1370
|
-
|
|
1502
|
+
_loop_21(interceptor);
|
|
1371
1503
|
}
|
|
1372
1504
|
return [2, interceptorPromise.then(function () {
|
|
1373
1505
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1400,7 +1532,7 @@ var MatchedOffersApi = (function () {
|
|
|
1400
1532
|
MatchedOffersApi.prototype.matchedOffersControllerRemovepin = function (id, account, pinActionDto, options) {
|
|
1401
1533
|
if (options === void 0) { options = { headers: {} }; }
|
|
1402
1534
|
return __awaiter(this, void 0, void 0, function () {
|
|
1403
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1535
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_22, _i, _a, interceptor;
|
|
1404
1536
|
var _this = this;
|
|
1405
1537
|
return __generator(this, function (_b) {
|
|
1406
1538
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/unpin'
|
|
@@ -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.matchedOffersControllerReopen = function (id, account, 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}/reopen'
|
|
@@ -1498,12 +1630,12 @@ var MatchedOffersApi = (function () {
|
|
|
1498
1630
|
authenticationPromise = Promise.resolve();
|
|
1499
1631
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1500
1632
|
interceptorPromise = authenticationPromise;
|
|
1501
|
-
|
|
1633
|
+
_loop_23 = function (interceptor) {
|
|
1502
1634
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1503
1635
|
};
|
|
1504
1636
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1505
1637
|
interceptor = _a[_i];
|
|
1506
|
-
|
|
1638
|
+
_loop_23(interceptor);
|
|
1507
1639
|
}
|
|
1508
1640
|
return [2, interceptorPromise.then(function () {
|
|
1509
1641
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1536,7 +1668,7 @@ var MatchedOffersApi = (function () {
|
|
|
1536
1668
|
MatchedOffersApi.prototype.matchedOffersControllerSetconfirmindex = function (id, account, body, options) {
|
|
1537
1669
|
if (options === void 0) { options = { headers: {} }; }
|
|
1538
1670
|
return __awaiter(this, void 0, void 0, function () {
|
|
1539
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1671
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_24, _i, _a, interceptor;
|
|
1540
1672
|
var _this = this;
|
|
1541
1673
|
return __generator(this, function (_b) {
|
|
1542
1674
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/confirm/index'
|
|
@@ -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.matchedOffersControllerTotal = function (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}/total'
|
|
@@ -1634,12 +1766,12 @@ var MatchedOffersApi = (function () {
|
|
|
1634
1766
|
authenticationPromise = Promise.resolve();
|
|
1635
1767
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1636
1768
|
interceptorPromise = authenticationPromise;
|
|
1637
|
-
|
|
1769
|
+
_loop_25 = function (interceptor) {
|
|
1638
1770
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1639
1771
|
};
|
|
1640
1772
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1641
1773
|
interceptor = _a[_i];
|
|
1642
|
-
|
|
1774
|
+
_loop_25(interceptor);
|
|
1643
1775
|
}
|
|
1644
1776
|
return [2, interceptorPromise.then(function () {
|
|
1645
1777
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1672,7 +1804,7 @@ var MatchedOffersApi = (function () {
|
|
|
1672
1804
|
MatchedOffersApi.prototype.matchedOffersControllerUpdate = function (id, account, body, options) {
|
|
1673
1805
|
if (options === void 0) { options = { headers: {} }; }
|
|
1674
1806
|
return __awaiter(this, void 0, void 0, function () {
|
|
1675
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1807
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_26, _i, _a, interceptor;
|
|
1676
1808
|
var _this = this;
|
|
1677
1809
|
return __generator(this, function (_b) {
|
|
1678
1810
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}'
|
|
@@ -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.matchedOffersControllerUpdatestatus = 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'
|
|
@@ -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) {
|
|
@@ -1808,7 +1940,7 @@ var MatchedOffersApi = (function () {
|
|
|
1808
1940
|
MatchedOffersApi.prototype.matchedOffersControllerValidatestatus = function (account, body, options) {
|
|
1809
1941
|
if (options === void 0) { options = { headers: {} }; }
|
|
1810
1942
|
return __awaiter(this, void 0, void 0, function () {
|
|
1811
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1943
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_28, _i, _a, interceptor;
|
|
1812
1944
|
var _this = this;
|
|
1813
1945
|
return __generator(this, function (_b) {
|
|
1814
1946
|
localVarPath = this.basePath + '/matched-offers/{account}/status/validate'
|
|
@@ -1836,12 +1968,12 @@ var MatchedOffersApi = (function () {
|
|
|
1836
1968
|
authenticationPromise = Promise.resolve();
|
|
1837
1969
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1838
1970
|
interceptorPromise = authenticationPromise;
|
|
1839
|
-
|
|
1971
|
+
_loop_28 = function (interceptor) {
|
|
1840
1972
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1841
1973
|
};
|
|
1842
1974
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1843
1975
|
interceptor = _a[_i];
|
|
1844
|
-
|
|
1976
|
+
_loop_28(interceptor);
|
|
1845
1977
|
}
|
|
1846
1978
|
return [2, interceptorPromise.then(function () {
|
|
1847
1979
|
if (Object.keys(localVarFormParams).length) {
|