@tradecafe/offer-service-sdk 0.0.52 → 0.0.54
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 +4 -0
- package/api/matchedOffersApi.ts +207 -0
- package/dist/api/matchedOffersApi.d.ts +27 -0
- package/dist/api/matchedOffersApi.js +255 -57
- package/dist/api/matchedOffersApi.js.map +1 -1
- package/dist/model/bulkChangeSellPriceItemDto.d.ts +20 -0
- package/dist/model/bulkChangeSellPriceItemDto.js +46 -0
- package/dist/model/bulkChangeSellPriceItemDto.js.map +1 -0
- package/dist/model/bulkChangeSellPricesDto.d.ts +18 -0
- package/dist/model/bulkChangeSellPricesDto.js +36 -0
- package/dist/model/bulkChangeSellPricesDto.js.map +1 -0
- 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/bulkUpdateBuyerSpecialInstructionsDto.d.ts +19 -0
- package/dist/model/bulkUpdateBuyerSpecialInstructionsDto.js +46 -0
- package/dist/model/bulkUpdateBuyerSpecialInstructionsDto.js.map +1 -0
- package/dist/model/models.d.ts +4 -0
- package/dist/model/models.js +12 -0
- package/dist/model/models.js.map +1 -1
- package/model/bulkChangeSellPriceItemDto.ts +62 -0
- package/model/bulkChangeSellPricesDto.ts +50 -0
- package/model/bulkChangeSellingTraderDto.ts +43 -0
- package/model/bulkUpdateBuyerSpecialInstructionsDto.ts +61 -0
- package/model/models.ts +12 -0
- package/package.json +1 -1
|
@@ -383,11 +383,209 @@ 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;
|
|
457
|
+
return __generator(this, function (_b) {
|
|
458
|
+
localVarPath = this.basePath + '/matched-offers/{account}/bulk/sell-prices'
|
|
459
|
+
.replace('{' + 'account' + '}', encodeURIComponent(String(account)));
|
|
460
|
+
localVarQueryParameters = {};
|
|
461
|
+
localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
462
|
+
localVarFormParams = {};
|
|
463
|
+
if (account === null || account === undefined) {
|
|
464
|
+
throw new Error('Required parameter account was null or undefined when calling matchedOffersControllerBulkchangesellprices.');
|
|
465
|
+
}
|
|
466
|
+
if (bulkChangeSellPricesDto === null || bulkChangeSellPricesDto === undefined) {
|
|
467
|
+
throw new Error('Required parameter bulkChangeSellPricesDto was null or undefined when calling matchedOffersControllerBulkchangesellprices.');
|
|
468
|
+
}
|
|
469
|
+
Object.assign(localVarHeaderParams, options.headers);
|
|
470
|
+
localVarUseFormData = false;
|
|
471
|
+
localVarRequestOptions = {
|
|
472
|
+
method: 'PUT',
|
|
473
|
+
qs: localVarQueryParameters,
|
|
474
|
+
headers: localVarHeaderParams,
|
|
475
|
+
uri: localVarPath,
|
|
476
|
+
useQuerystring: this._useQuerystring,
|
|
477
|
+
json: true,
|
|
478
|
+
body: models_1.ObjectSerializer.serialize(bulkChangeSellPricesDto, "BulkChangeSellPricesDto")
|
|
479
|
+
};
|
|
480
|
+
authenticationPromise = Promise.resolve();
|
|
481
|
+
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
482
|
+
interceptorPromise = authenticationPromise;
|
|
483
|
+
_loop_6 = function (interceptor) {
|
|
484
|
+
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
485
|
+
};
|
|
486
|
+
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
487
|
+
interceptor = _a[_i];
|
|
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.matchedOffersControllerBulkupdatebuyerspecialinstructions = function (account, bulkUpdateBuyerSpecialInstructionsDto, 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 matchedOffersControllerBulkupdatebuyerspecialinstructions.');
|
|
531
|
+
}
|
|
532
|
+
if (bulkUpdateBuyerSpecialInstructionsDto === null || bulkUpdateBuyerSpecialInstructionsDto === undefined) {
|
|
533
|
+
throw new Error('Required parameter bulkUpdateBuyerSpecialInstructionsDto was null or undefined when calling matchedOffersControllerBulkupdatebuyerspecialinstructions.');
|
|
534
|
+
}
|
|
535
|
+
Object.assign(localVarHeaderParams, options.headers);
|
|
536
|
+
localVarUseFormData = false;
|
|
537
|
+
localVarRequestOptions = {
|
|
538
|
+
method: 'PUT',
|
|
539
|
+
qs: localVarQueryParameters,
|
|
540
|
+
headers: localVarHeaderParams,
|
|
541
|
+
uri: localVarPath,
|
|
542
|
+
useQuerystring: this._useQuerystring,
|
|
543
|
+
json: true,
|
|
544
|
+
body: models_1.ObjectSerializer.serialize(bulkUpdateBuyerSpecialInstructionsDto, "BulkUpdateBuyerSpecialInstructionsDto")
|
|
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);
|
|
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.matchedOffersControllerBulkupdatedeliverydates = function (account, bulkUpdateDeliveryDatesDto, 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;
|
|
391
589
|
return __generator(this, function (_b) {
|
|
392
590
|
localVarPath = this.basePath + '/matched-offers/{account}/bulk/delivery-dates'
|
|
393
591
|
.replace('{' + 'account' + '}', encodeURIComponent(String(account)));
|
|
@@ -414,12 +612,12 @@ var MatchedOffersApi = (function () {
|
|
|
414
612
|
authenticationPromise = Promise.resolve();
|
|
415
613
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
416
614
|
interceptorPromise = authenticationPromise;
|
|
417
|
-
|
|
615
|
+
_loop_8 = function (interceptor) {
|
|
418
616
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
419
617
|
};
|
|
420
618
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
421
619
|
interceptor = _a[_i];
|
|
422
|
-
|
|
620
|
+
_loop_8(interceptor);
|
|
423
621
|
}
|
|
424
622
|
return [2, interceptorPromise.then(function () {
|
|
425
623
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -452,7 +650,7 @@ var MatchedOffersApi = (function () {
|
|
|
452
650
|
MatchedOffersApi.prototype.matchedOffersControllerBulkupdatedocscountry = function (account, bulkUpdateDocsCountryDto, options) {
|
|
453
651
|
if (options === void 0) { options = { headers: {} }; }
|
|
454
652
|
return __awaiter(this, void 0, void 0, function () {
|
|
455
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
653
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_9, _i, _a, interceptor;
|
|
456
654
|
var _this = this;
|
|
457
655
|
return __generator(this, function (_b) {
|
|
458
656
|
localVarPath = this.basePath + '/matched-offers/{account}/bulk/docs-country'
|
|
@@ -480,12 +678,12 @@ var MatchedOffersApi = (function () {
|
|
|
480
678
|
authenticationPromise = Promise.resolve();
|
|
481
679
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
482
680
|
interceptorPromise = authenticationPromise;
|
|
483
|
-
|
|
681
|
+
_loop_9 = function (interceptor) {
|
|
484
682
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
485
683
|
};
|
|
486
684
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
487
685
|
interceptor = _a[_i];
|
|
488
|
-
|
|
686
|
+
_loop_9(interceptor);
|
|
489
687
|
}
|
|
490
688
|
return [2, interceptorPromise.then(function () {
|
|
491
689
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -518,7 +716,7 @@ var MatchedOffersApi = (function () {
|
|
|
518
716
|
MatchedOffersApi.prototype.matchedOffersControllerCountsbystatus = function (account, options) {
|
|
519
717
|
if (options === void 0) { options = { headers: {} }; }
|
|
520
718
|
return __awaiter(this, void 0, void 0, function () {
|
|
521
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
719
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_10, _i, _a, interceptor;
|
|
522
720
|
var _this = this;
|
|
523
721
|
return __generator(this, function (_b) {
|
|
524
722
|
localVarPath = this.basePath + '/matched-offers/{account}/counts-by-status'
|
|
@@ -542,12 +740,12 @@ var MatchedOffersApi = (function () {
|
|
|
542
740
|
authenticationPromise = Promise.resolve();
|
|
543
741
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
544
742
|
interceptorPromise = authenticationPromise;
|
|
545
|
-
|
|
743
|
+
_loop_10 = function (interceptor) {
|
|
546
744
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
547
745
|
};
|
|
548
746
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
549
747
|
interceptor = _a[_i];
|
|
550
|
-
|
|
748
|
+
_loop_10(interceptor);
|
|
551
749
|
}
|
|
552
750
|
return [2, interceptorPromise.then(function () {
|
|
553
751
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -580,7 +778,7 @@ var MatchedOffersApi = (function () {
|
|
|
580
778
|
MatchedOffersApi.prototype.matchedOffersControllerCreate = function (account, createMatchedOfferDto, options) {
|
|
581
779
|
if (options === void 0) { options = { headers: {} }; }
|
|
582
780
|
return __awaiter(this, void 0, void 0, function () {
|
|
583
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
781
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_11, _i, _a, interceptor;
|
|
584
782
|
var _this = this;
|
|
585
783
|
return __generator(this, function (_b) {
|
|
586
784
|
localVarPath = this.basePath + '/matched-offers/{account}'
|
|
@@ -608,12 +806,12 @@ var MatchedOffersApi = (function () {
|
|
|
608
806
|
authenticationPromise = Promise.resolve();
|
|
609
807
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
610
808
|
interceptorPromise = authenticationPromise;
|
|
611
|
-
|
|
809
|
+
_loop_11 = function (interceptor) {
|
|
612
810
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
613
811
|
};
|
|
614
812
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
615
813
|
interceptor = _a[_i];
|
|
616
|
-
|
|
814
|
+
_loop_11(interceptor);
|
|
617
815
|
}
|
|
618
816
|
return [2, interceptorPromise.then(function () {
|
|
619
817
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -646,7 +844,7 @@ var MatchedOffersApi = (function () {
|
|
|
646
844
|
MatchedOffersApi.prototype.matchedOffersControllerDeletebid = function (id, userId, account, options) {
|
|
647
845
|
if (options === void 0) { options = { headers: {} }; }
|
|
648
846
|
return __awaiter(this, void 0, void 0, function () {
|
|
649
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
847
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_12, _i, _a, interceptor;
|
|
650
848
|
var _this = this;
|
|
651
849
|
return __generator(this, function (_b) {
|
|
652
850
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/{userId}/bid'
|
|
@@ -678,12 +876,12 @@ var MatchedOffersApi = (function () {
|
|
|
678
876
|
authenticationPromise = Promise.resolve();
|
|
679
877
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
680
878
|
interceptorPromise = authenticationPromise;
|
|
681
|
-
|
|
879
|
+
_loop_12 = function (interceptor) {
|
|
682
880
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
683
881
|
};
|
|
684
882
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
685
883
|
interceptor = _a[_i];
|
|
686
|
-
|
|
884
|
+
_loop_12(interceptor);
|
|
687
885
|
}
|
|
688
886
|
return [2, interceptorPromise.then(function () {
|
|
689
887
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -716,7 +914,7 @@ var MatchedOffersApi = (function () {
|
|
|
716
914
|
MatchedOffersApi.prototype.matchedOffersControllerFilter = function (account, skip, limit, sort, fields, body, options) {
|
|
717
915
|
if (options === void 0) { options = { headers: {} }; }
|
|
718
916
|
return __awaiter(this, void 0, void 0, function () {
|
|
719
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
917
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_13, _i, _a, interceptor;
|
|
720
918
|
var _this = this;
|
|
721
919
|
return __generator(this, function (_b) {
|
|
722
920
|
localVarPath = this.basePath + '/matched-offers/{account}/search'
|
|
@@ -753,12 +951,12 @@ var MatchedOffersApi = (function () {
|
|
|
753
951
|
authenticationPromise = Promise.resolve();
|
|
754
952
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
755
953
|
interceptorPromise = authenticationPromise;
|
|
756
|
-
|
|
954
|
+
_loop_13 = function (interceptor) {
|
|
757
955
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
758
956
|
};
|
|
759
957
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
760
958
|
interceptor = _a[_i];
|
|
761
|
-
|
|
959
|
+
_loop_13(interceptor);
|
|
762
960
|
}
|
|
763
961
|
return [2, interceptorPromise.then(function () {
|
|
764
962
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -791,7 +989,7 @@ var MatchedOffersApi = (function () {
|
|
|
791
989
|
MatchedOffersApi.prototype.matchedOffersControllerFindall = function (account, createMatchedOfferDto, skip, limit, sort, fields, options) {
|
|
792
990
|
if (options === void 0) { options = { headers: {} }; }
|
|
793
991
|
return __awaiter(this, void 0, void 0, function () {
|
|
794
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
992
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_14, _i, _a, interceptor;
|
|
795
993
|
var _this = this;
|
|
796
994
|
return __generator(this, function (_b) {
|
|
797
995
|
localVarPath = this.basePath + '/matched-offers/{account}'
|
|
@@ -831,12 +1029,12 @@ var MatchedOffersApi = (function () {
|
|
|
831
1029
|
authenticationPromise = Promise.resolve();
|
|
832
1030
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
833
1031
|
interceptorPromise = authenticationPromise;
|
|
834
|
-
|
|
1032
|
+
_loop_14 = function (interceptor) {
|
|
835
1033
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
836
1034
|
};
|
|
837
1035
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
838
1036
|
interceptor = _a[_i];
|
|
839
|
-
|
|
1037
|
+
_loop_14(interceptor);
|
|
840
1038
|
}
|
|
841
1039
|
return [2, interceptorPromise.then(function () {
|
|
842
1040
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -869,7 +1067,7 @@ var MatchedOffersApi = (function () {
|
|
|
869
1067
|
MatchedOffersApi.prototype.matchedOffersControllerFindcountries = function (account, options) {
|
|
870
1068
|
if (options === void 0) { options = { headers: {} }; }
|
|
871
1069
|
return __awaiter(this, void 0, void 0, function () {
|
|
872
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1070
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_15, _i, _a, interceptor;
|
|
873
1071
|
var _this = this;
|
|
874
1072
|
return __generator(this, function (_b) {
|
|
875
1073
|
localVarPath = this.basePath + '/matched-offers/{account}/countries'
|
|
@@ -893,12 +1091,12 @@ var MatchedOffersApi = (function () {
|
|
|
893
1091
|
authenticationPromise = Promise.resolve();
|
|
894
1092
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
895
1093
|
interceptorPromise = authenticationPromise;
|
|
896
|
-
|
|
1094
|
+
_loop_15 = function (interceptor) {
|
|
897
1095
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
898
1096
|
};
|
|
899
1097
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
900
1098
|
interceptor = _a[_i];
|
|
901
|
-
|
|
1099
|
+
_loop_15(interceptor);
|
|
902
1100
|
}
|
|
903
1101
|
return [2, interceptorPromise.then(function () {
|
|
904
1102
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -931,7 +1129,7 @@ var MatchedOffersApi = (function () {
|
|
|
931
1129
|
MatchedOffersApi.prototype.matchedOffersControllerFindone = function (id, account, fields, options) {
|
|
932
1130
|
if (options === void 0) { options = { headers: {} }; }
|
|
933
1131
|
return __awaiter(this, void 0, void 0, function () {
|
|
934
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1132
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_16, _i, _a, interceptor;
|
|
935
1133
|
var _this = this;
|
|
936
1134
|
return __generator(this, function (_b) {
|
|
937
1135
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}'
|
|
@@ -962,12 +1160,12 @@ var MatchedOffersApi = (function () {
|
|
|
962
1160
|
authenticationPromise = Promise.resolve();
|
|
963
1161
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
964
1162
|
interceptorPromise = authenticationPromise;
|
|
965
|
-
|
|
1163
|
+
_loop_16 = function (interceptor) {
|
|
966
1164
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
967
1165
|
};
|
|
968
1166
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
969
1167
|
interceptor = _a[_i];
|
|
970
|
-
|
|
1168
|
+
_loop_16(interceptor);
|
|
971
1169
|
}
|
|
972
1170
|
return [2, interceptorPromise.then(function () {
|
|
973
1171
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1000,7 +1198,7 @@ var MatchedOffersApi = (function () {
|
|
|
1000
1198
|
MatchedOffersApi.prototype.matchedOffersControllerGenerateoffernumber = function (id, account, options) {
|
|
1001
1199
|
if (options === void 0) { options = { headers: {} }; }
|
|
1002
1200
|
return __awaiter(this, void 0, void 0, function () {
|
|
1003
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1201
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_17, _i, _a, interceptor;
|
|
1004
1202
|
var _this = this;
|
|
1005
1203
|
return __generator(this, function (_b) {
|
|
1006
1204
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/generate/number'
|
|
@@ -1028,12 +1226,12 @@ var MatchedOffersApi = (function () {
|
|
|
1028
1226
|
authenticationPromise = Promise.resolve();
|
|
1029
1227
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1030
1228
|
interceptorPromise = authenticationPromise;
|
|
1031
|
-
|
|
1229
|
+
_loop_17 = function (interceptor) {
|
|
1032
1230
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1033
1231
|
};
|
|
1034
1232
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1035
1233
|
interceptor = _a[_i];
|
|
1036
|
-
|
|
1234
|
+
_loop_17(interceptor);
|
|
1037
1235
|
}
|
|
1038
1236
|
return [2, interceptorPromise.then(function () {
|
|
1039
1237
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1066,7 +1264,7 @@ var MatchedOffersApi = (function () {
|
|
|
1066
1264
|
MatchedOffersApi.prototype.matchedOffersControllerLogview = function (id, account, body, options) {
|
|
1067
1265
|
if (options === void 0) { options = { headers: {} }; }
|
|
1068
1266
|
return __awaiter(this, void 0, void 0, function () {
|
|
1069
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1267
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_18, _i, _a, interceptor;
|
|
1070
1268
|
var _this = this;
|
|
1071
1269
|
return __generator(this, function (_b) {
|
|
1072
1270
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/view'
|
|
@@ -1098,12 +1296,12 @@ var MatchedOffersApi = (function () {
|
|
|
1098
1296
|
authenticationPromise = Promise.resolve();
|
|
1099
1297
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1100
1298
|
interceptorPromise = authenticationPromise;
|
|
1101
|
-
|
|
1299
|
+
_loop_18 = function (interceptor) {
|
|
1102
1300
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1103
1301
|
};
|
|
1104
1302
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1105
1303
|
interceptor = _a[_i];
|
|
1106
|
-
|
|
1304
|
+
_loop_18(interceptor);
|
|
1107
1305
|
}
|
|
1108
1306
|
return [2, interceptorPromise.then(function () {
|
|
1109
1307
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1136,7 +1334,7 @@ var MatchedOffersApi = (function () {
|
|
|
1136
1334
|
MatchedOffersApi.prototype.matchedOffersControllerRemove = function (id, account, options) {
|
|
1137
1335
|
if (options === void 0) { options = { headers: {} }; }
|
|
1138
1336
|
return __awaiter(this, void 0, void 0, function () {
|
|
1139
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1337
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_19, _i, _a, interceptor;
|
|
1140
1338
|
var _this = this;
|
|
1141
1339
|
return __generator(this, function (_b) {
|
|
1142
1340
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}'
|
|
@@ -1164,12 +1362,12 @@ var MatchedOffersApi = (function () {
|
|
|
1164
1362
|
authenticationPromise = Promise.resolve();
|
|
1165
1363
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1166
1364
|
interceptorPromise = authenticationPromise;
|
|
1167
|
-
|
|
1365
|
+
_loop_19 = function (interceptor) {
|
|
1168
1366
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1169
1367
|
};
|
|
1170
1368
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1171
1369
|
interceptor = _a[_i];
|
|
1172
|
-
|
|
1370
|
+
_loop_19(interceptor);
|
|
1173
1371
|
}
|
|
1174
1372
|
return [2, interceptorPromise.then(function () {
|
|
1175
1373
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1202,7 +1400,7 @@ var MatchedOffersApi = (function () {
|
|
|
1202
1400
|
MatchedOffersApi.prototype.matchedOffersControllerRemovepin = function (id, account, pinActionDto, options) {
|
|
1203
1401
|
if (options === void 0) { options = { headers: {} }; }
|
|
1204
1402
|
return __awaiter(this, void 0, void 0, function () {
|
|
1205
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1403
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_20, _i, _a, interceptor;
|
|
1206
1404
|
var _this = this;
|
|
1207
1405
|
return __generator(this, function (_b) {
|
|
1208
1406
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/unpin'
|
|
@@ -1234,12 +1432,12 @@ var MatchedOffersApi = (function () {
|
|
|
1234
1432
|
authenticationPromise = Promise.resolve();
|
|
1235
1433
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1236
1434
|
interceptorPromise = authenticationPromise;
|
|
1237
|
-
|
|
1435
|
+
_loop_20 = function (interceptor) {
|
|
1238
1436
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1239
1437
|
};
|
|
1240
1438
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1241
1439
|
interceptor = _a[_i];
|
|
1242
|
-
|
|
1440
|
+
_loop_20(interceptor);
|
|
1243
1441
|
}
|
|
1244
1442
|
return [2, interceptorPromise.then(function () {
|
|
1245
1443
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1272,7 +1470,7 @@ var MatchedOffersApi = (function () {
|
|
|
1272
1470
|
MatchedOffersApi.prototype.matchedOffersControllerReopen = function (id, account, options) {
|
|
1273
1471
|
if (options === void 0) { options = { headers: {} }; }
|
|
1274
1472
|
return __awaiter(this, void 0, void 0, function () {
|
|
1275
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1473
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_21, _i, _a, interceptor;
|
|
1276
1474
|
var _this = this;
|
|
1277
1475
|
return __generator(this, function (_b) {
|
|
1278
1476
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/reopen'
|
|
@@ -1300,12 +1498,12 @@ var MatchedOffersApi = (function () {
|
|
|
1300
1498
|
authenticationPromise = Promise.resolve();
|
|
1301
1499
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1302
1500
|
interceptorPromise = authenticationPromise;
|
|
1303
|
-
|
|
1501
|
+
_loop_21 = function (interceptor) {
|
|
1304
1502
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1305
1503
|
};
|
|
1306
1504
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1307
1505
|
interceptor = _a[_i];
|
|
1308
|
-
|
|
1506
|
+
_loop_21(interceptor);
|
|
1309
1507
|
}
|
|
1310
1508
|
return [2, interceptorPromise.then(function () {
|
|
1311
1509
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1338,7 +1536,7 @@ var MatchedOffersApi = (function () {
|
|
|
1338
1536
|
MatchedOffersApi.prototype.matchedOffersControllerSetconfirmindex = function (id, account, body, options) {
|
|
1339
1537
|
if (options === void 0) { options = { headers: {} }; }
|
|
1340
1538
|
return __awaiter(this, void 0, void 0, function () {
|
|
1341
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1539
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_22, _i, _a, interceptor;
|
|
1342
1540
|
var _this = this;
|
|
1343
1541
|
return __generator(this, function (_b) {
|
|
1344
1542
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/confirm/index'
|
|
@@ -1370,12 +1568,12 @@ var MatchedOffersApi = (function () {
|
|
|
1370
1568
|
authenticationPromise = Promise.resolve();
|
|
1371
1569
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1372
1570
|
interceptorPromise = authenticationPromise;
|
|
1373
|
-
|
|
1571
|
+
_loop_22 = function (interceptor) {
|
|
1374
1572
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1375
1573
|
};
|
|
1376
1574
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1377
1575
|
interceptor = _a[_i];
|
|
1378
|
-
|
|
1576
|
+
_loop_22(interceptor);
|
|
1379
1577
|
}
|
|
1380
1578
|
return [2, interceptorPromise.then(function () {
|
|
1381
1579
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1408,7 +1606,7 @@ var MatchedOffersApi = (function () {
|
|
|
1408
1606
|
MatchedOffersApi.prototype.matchedOffersControllerTotal = function (account, body, options) {
|
|
1409
1607
|
if (options === void 0) { options = { headers: {} }; }
|
|
1410
1608
|
return __awaiter(this, void 0, void 0, function () {
|
|
1411
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1609
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_23, _i, _a, interceptor;
|
|
1412
1610
|
var _this = this;
|
|
1413
1611
|
return __generator(this, function (_b) {
|
|
1414
1612
|
localVarPath = this.basePath + '/matched-offers/{account}/total'
|
|
@@ -1436,12 +1634,12 @@ var MatchedOffersApi = (function () {
|
|
|
1436
1634
|
authenticationPromise = Promise.resolve();
|
|
1437
1635
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1438
1636
|
interceptorPromise = authenticationPromise;
|
|
1439
|
-
|
|
1637
|
+
_loop_23 = function (interceptor) {
|
|
1440
1638
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1441
1639
|
};
|
|
1442
1640
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1443
1641
|
interceptor = _a[_i];
|
|
1444
|
-
|
|
1642
|
+
_loop_23(interceptor);
|
|
1445
1643
|
}
|
|
1446
1644
|
return [2, interceptorPromise.then(function () {
|
|
1447
1645
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1474,7 +1672,7 @@ var MatchedOffersApi = (function () {
|
|
|
1474
1672
|
MatchedOffersApi.prototype.matchedOffersControllerUpdate = function (id, account, body, options) {
|
|
1475
1673
|
if (options === void 0) { options = { headers: {} }; }
|
|
1476
1674
|
return __awaiter(this, void 0, void 0, function () {
|
|
1477
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1675
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_24, _i, _a, interceptor;
|
|
1478
1676
|
var _this = this;
|
|
1479
1677
|
return __generator(this, function (_b) {
|
|
1480
1678
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}'
|
|
@@ -1506,12 +1704,12 @@ var MatchedOffersApi = (function () {
|
|
|
1506
1704
|
authenticationPromise = Promise.resolve();
|
|
1507
1705
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1508
1706
|
interceptorPromise = authenticationPromise;
|
|
1509
|
-
|
|
1707
|
+
_loop_24 = function (interceptor) {
|
|
1510
1708
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1511
1709
|
};
|
|
1512
1710
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1513
1711
|
interceptor = _a[_i];
|
|
1514
|
-
|
|
1712
|
+
_loop_24(interceptor);
|
|
1515
1713
|
}
|
|
1516
1714
|
return [2, interceptorPromise.then(function () {
|
|
1517
1715
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1544,7 +1742,7 @@ var MatchedOffersApi = (function () {
|
|
|
1544
1742
|
MatchedOffersApi.prototype.matchedOffersControllerUpdatestatus = function (account, body, options) {
|
|
1545
1743
|
if (options === void 0) { options = { headers: {} }; }
|
|
1546
1744
|
return __awaiter(this, void 0, void 0, function () {
|
|
1547
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1745
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_25, _i, _a, interceptor;
|
|
1548
1746
|
var _this = this;
|
|
1549
1747
|
return __generator(this, function (_b) {
|
|
1550
1748
|
localVarPath = this.basePath + '/matched-offers/{account}/status'
|
|
@@ -1572,12 +1770,12 @@ var MatchedOffersApi = (function () {
|
|
|
1572
1770
|
authenticationPromise = Promise.resolve();
|
|
1573
1771
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1574
1772
|
interceptorPromise = authenticationPromise;
|
|
1575
|
-
|
|
1773
|
+
_loop_25 = function (interceptor) {
|
|
1576
1774
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1577
1775
|
};
|
|
1578
1776
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1579
1777
|
interceptor = _a[_i];
|
|
1580
|
-
|
|
1778
|
+
_loop_25(interceptor);
|
|
1581
1779
|
}
|
|
1582
1780
|
return [2, interceptorPromise.then(function () {
|
|
1583
1781
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1610,7 +1808,7 @@ var MatchedOffersApi = (function () {
|
|
|
1610
1808
|
MatchedOffersApi.prototype.matchedOffersControllerValidatestatus = function (account, body, options) {
|
|
1611
1809
|
if (options === void 0) { options = { headers: {} }; }
|
|
1612
1810
|
return __awaiter(this, void 0, void 0, function () {
|
|
1613
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1811
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_26, _i, _a, interceptor;
|
|
1614
1812
|
var _this = this;
|
|
1615
1813
|
return __generator(this, function (_b) {
|
|
1616
1814
|
localVarPath = this.basePath + '/matched-offers/{account}/status/validate'
|
|
@@ -1638,12 +1836,12 @@ var MatchedOffersApi = (function () {
|
|
|
1638
1836
|
authenticationPromise = Promise.resolve();
|
|
1639
1837
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1640
1838
|
interceptorPromise = authenticationPromise;
|
|
1641
|
-
|
|
1839
|
+
_loop_26 = function (interceptor) {
|
|
1642
1840
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1643
1841
|
};
|
|
1644
1842
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1645
1843
|
interceptor = _a[_i];
|
|
1646
|
-
|
|
1844
|
+
_loop_26(interceptor);
|
|
1647
1845
|
}
|
|
1648
1846
|
return [2, interceptorPromise.then(function () {
|
|
1649
1847
|
if (Object.keys(localVarFormParams).length) {
|