@tradecafe/offer-service-sdk 0.0.51 → 0.0.53
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 +252 -54
- 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/bulkUpdateBuyerSpecialInstructionsDto.d.ts +19 -0
- package/dist/model/bulkUpdateBuyerSpecialInstructionsDto.js +46 -0
- package/dist/model/bulkUpdateBuyerSpecialInstructionsDto.js.map +1 -0
- package/dist/model/bulkUpdateDocsCountryDto.d.ts +16 -0
- package/dist/model/bulkUpdateDocsCountryDto.js +31 -0
- package/dist/model/bulkUpdateDocsCountryDto.js.map +1 -0
- package/dist/model/createAutomatedOfferDto.d.ts +1 -0
- package/dist/model/createAutomatedOfferDto.js +5 -0
- package/dist/model/createAutomatedOfferDto.js.map +1 -1
- package/dist/model/createOfferDto.d.ts +1 -0
- package/dist/model/createOfferDto.js +5 -0
- package/dist/model/createOfferDto.js.map +1 -1
- package/dist/model/createOfferDtoAttributes.d.ts +2 -0
- package/dist/model/createOfferDtoAttributes.js +10 -0
- package/dist/model/createOfferDtoAttributes.js.map +1 -1
- package/dist/model/models.d.ts +4 -0
- package/dist/model/models.js +12 -0
- package/dist/model/models.js.map +1 -1
- package/dist/model/offerAttributesDto.d.ts +2 -0
- package/dist/model/offerAttributesDto.js +10 -0
- package/dist/model/offerAttributesDto.js.map +1 -1
- package/model/bulkChangeSellPriceItemDto.ts +62 -0
- package/model/bulkChangeSellPricesDto.ts +50 -0
- package/model/bulkUpdateBuyerSpecialInstructionsDto.ts +61 -0
- package/model/bulkUpdateDocsCountryDto.ts +52 -0
- package/model/createAutomatedOfferDto.ts +9 -0
- package/model/createOfferDto.ts +9 -0
- package/model/createOfferDtoAttributes.ts +18 -0
- package/model/models.ts +12 -0
- package/model/offerAttributesDto.ts +18 -0
- package/package.json +1 -1
|
@@ -383,11 +383,143 @@ var MatchedOffersApi = (function () {
|
|
|
383
383
|
});
|
|
384
384
|
});
|
|
385
385
|
};
|
|
386
|
-
MatchedOffersApi.prototype.
|
|
386
|
+
MatchedOffersApi.prototype.matchedOffersControllerBulkchangesellprices = function (account, bulkChangeSellPricesDto, 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/sell-prices'
|
|
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 matchedOffersControllerBulkchangesellprices.');
|
|
399
|
+
}
|
|
400
|
+
if (bulkChangeSellPricesDto === null || bulkChangeSellPricesDto === undefined) {
|
|
401
|
+
throw new Error('Required parameter bulkChangeSellPricesDto was null or undefined when calling matchedOffersControllerBulkchangesellprices.');
|
|
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(bulkChangeSellPricesDto, "BulkChangeSellPricesDto")
|
|
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.matchedOffersControllerBulkupdatebuyerspecialinstructions = function (account, bulkUpdateBuyerSpecialInstructionsDto, 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/buyer-special-instructions'
|
|
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 matchedOffersControllerBulkupdatebuyerspecialinstructions.');
|
|
465
|
+
}
|
|
466
|
+
if (bulkUpdateBuyerSpecialInstructionsDto === null || bulkUpdateBuyerSpecialInstructionsDto === undefined) {
|
|
467
|
+
throw new Error('Required parameter bulkUpdateBuyerSpecialInstructionsDto was null or undefined when calling matchedOffersControllerBulkupdatebuyerspecialinstructions.');
|
|
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(bulkUpdateBuyerSpecialInstructionsDto, "BulkUpdateBuyerSpecialInstructionsDto")
|
|
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.matchedOffersControllerBulkupdatedeliverydates = function (account, bulkUpdateDeliveryDatesDto, 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;
|
|
391
523
|
return __generator(this, function (_b) {
|
|
392
524
|
localVarPath = this.basePath + '/matched-offers/{account}/bulk/delivery-dates'
|
|
393
525
|
.replace('{' + 'account' + '}', encodeURIComponent(String(account)));
|
|
@@ -414,12 +546,78 @@ var MatchedOffersApi = (function () {
|
|
|
414
546
|
authenticationPromise = Promise.resolve();
|
|
415
547
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
416
548
|
interceptorPromise = authenticationPromise;
|
|
417
|
-
|
|
549
|
+
_loop_7 = function (interceptor) {
|
|
418
550
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
419
551
|
};
|
|
420
552
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
421
553
|
interceptor = _a[_i];
|
|
422
|
-
|
|
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.matchedOffersControllerBulkupdatedocscountry = function (account, bulkUpdateDocsCountryDto, 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/docs-country'
|
|
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 matchedOffersControllerBulkupdatedocscountry.');
|
|
597
|
+
}
|
|
598
|
+
if (bulkUpdateDocsCountryDto === null || bulkUpdateDocsCountryDto === undefined) {
|
|
599
|
+
throw new Error('Required parameter bulkUpdateDocsCountryDto was null or undefined when calling matchedOffersControllerBulkupdatedocscountry.');
|
|
600
|
+
}
|
|
601
|
+
Object.assign(localVarHeaderParams, options.headers);
|
|
602
|
+
localVarUseFormData = false;
|
|
603
|
+
localVarRequestOptions = {
|
|
604
|
+
method: 'PUT',
|
|
605
|
+
qs: localVarQueryParameters,
|
|
606
|
+
headers: localVarHeaderParams,
|
|
607
|
+
uri: localVarPath,
|
|
608
|
+
useQuerystring: this._useQuerystring,
|
|
609
|
+
json: true,
|
|
610
|
+
body: models_1.ObjectSerializer.serialize(bulkUpdateDocsCountryDto, "BulkUpdateDocsCountryDto")
|
|
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);
|
|
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.matchedOffersControllerCountsbystatus = function (account, 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}/counts-by-status'
|
|
@@ -476,12 +674,12 @@ var MatchedOffersApi = (function () {
|
|
|
476
674
|
authenticationPromise = Promise.resolve();
|
|
477
675
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
478
676
|
interceptorPromise = authenticationPromise;
|
|
479
|
-
|
|
677
|
+
_loop_9 = function (interceptor) {
|
|
480
678
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
481
679
|
};
|
|
482
680
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
483
681
|
interceptor = _a[_i];
|
|
484
|
-
|
|
682
|
+
_loop_9(interceptor);
|
|
485
683
|
}
|
|
486
684
|
return [2, interceptorPromise.then(function () {
|
|
487
685
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -514,7 +712,7 @@ var MatchedOffersApi = (function () {
|
|
|
514
712
|
MatchedOffersApi.prototype.matchedOffersControllerCreate = function (account, createMatchedOfferDto, options) {
|
|
515
713
|
if (options === void 0) { options = { headers: {} }; }
|
|
516
714
|
return __awaiter(this, void 0, void 0, function () {
|
|
517
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
715
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_10, _i, _a, interceptor;
|
|
518
716
|
var _this = this;
|
|
519
717
|
return __generator(this, function (_b) {
|
|
520
718
|
localVarPath = this.basePath + '/matched-offers/{account}'
|
|
@@ -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.matchedOffersControllerDeletebid = function (id, userId, account, 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}/{id}/{userId}/bid'
|
|
@@ -612,12 +810,12 @@ var MatchedOffersApi = (function () {
|
|
|
612
810
|
authenticationPromise = Promise.resolve();
|
|
613
811
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
614
812
|
interceptorPromise = authenticationPromise;
|
|
615
|
-
|
|
813
|
+
_loop_11 = function (interceptor) {
|
|
616
814
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
617
815
|
};
|
|
618
816
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
619
817
|
interceptor = _a[_i];
|
|
620
|
-
|
|
818
|
+
_loop_11(interceptor);
|
|
621
819
|
}
|
|
622
820
|
return [2, interceptorPromise.then(function () {
|
|
623
821
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -650,7 +848,7 @@ var MatchedOffersApi = (function () {
|
|
|
650
848
|
MatchedOffersApi.prototype.matchedOffersControllerFilter = function (account, skip, limit, sort, fields, body, options) {
|
|
651
849
|
if (options === void 0) { options = { headers: {} }; }
|
|
652
850
|
return __awaiter(this, void 0, void 0, function () {
|
|
653
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
851
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_12, _i, _a, interceptor;
|
|
654
852
|
var _this = this;
|
|
655
853
|
return __generator(this, function (_b) {
|
|
656
854
|
localVarPath = this.basePath + '/matched-offers/{account}/search'
|
|
@@ -687,12 +885,12 @@ var MatchedOffersApi = (function () {
|
|
|
687
885
|
authenticationPromise = Promise.resolve();
|
|
688
886
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
689
887
|
interceptorPromise = authenticationPromise;
|
|
690
|
-
|
|
888
|
+
_loop_12 = function (interceptor) {
|
|
691
889
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
692
890
|
};
|
|
693
891
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
694
892
|
interceptor = _a[_i];
|
|
695
|
-
|
|
893
|
+
_loop_12(interceptor);
|
|
696
894
|
}
|
|
697
895
|
return [2, interceptorPromise.then(function () {
|
|
698
896
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -725,7 +923,7 @@ var MatchedOffersApi = (function () {
|
|
|
725
923
|
MatchedOffersApi.prototype.matchedOffersControllerFindall = function (account, createMatchedOfferDto, skip, limit, sort, fields, options) {
|
|
726
924
|
if (options === void 0) { options = { headers: {} }; }
|
|
727
925
|
return __awaiter(this, void 0, void 0, function () {
|
|
728
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
926
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_13, _i, _a, interceptor;
|
|
729
927
|
var _this = this;
|
|
730
928
|
return __generator(this, function (_b) {
|
|
731
929
|
localVarPath = this.basePath + '/matched-offers/{account}'
|
|
@@ -765,12 +963,12 @@ var MatchedOffersApi = (function () {
|
|
|
765
963
|
authenticationPromise = Promise.resolve();
|
|
766
964
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
767
965
|
interceptorPromise = authenticationPromise;
|
|
768
|
-
|
|
966
|
+
_loop_13 = function (interceptor) {
|
|
769
967
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
770
968
|
};
|
|
771
969
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
772
970
|
interceptor = _a[_i];
|
|
773
|
-
|
|
971
|
+
_loop_13(interceptor);
|
|
774
972
|
}
|
|
775
973
|
return [2, interceptorPromise.then(function () {
|
|
776
974
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -803,7 +1001,7 @@ var MatchedOffersApi = (function () {
|
|
|
803
1001
|
MatchedOffersApi.prototype.matchedOffersControllerFindcountries = function (account, options) {
|
|
804
1002
|
if (options === void 0) { options = { headers: {} }; }
|
|
805
1003
|
return __awaiter(this, void 0, void 0, function () {
|
|
806
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1004
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_14, _i, _a, interceptor;
|
|
807
1005
|
var _this = this;
|
|
808
1006
|
return __generator(this, function (_b) {
|
|
809
1007
|
localVarPath = this.basePath + '/matched-offers/{account}/countries'
|
|
@@ -827,12 +1025,12 @@ var MatchedOffersApi = (function () {
|
|
|
827
1025
|
authenticationPromise = Promise.resolve();
|
|
828
1026
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
829
1027
|
interceptorPromise = authenticationPromise;
|
|
830
|
-
|
|
1028
|
+
_loop_14 = function (interceptor) {
|
|
831
1029
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
832
1030
|
};
|
|
833
1031
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
834
1032
|
interceptor = _a[_i];
|
|
835
|
-
|
|
1033
|
+
_loop_14(interceptor);
|
|
836
1034
|
}
|
|
837
1035
|
return [2, interceptorPromise.then(function () {
|
|
838
1036
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -865,7 +1063,7 @@ var MatchedOffersApi = (function () {
|
|
|
865
1063
|
MatchedOffersApi.prototype.matchedOffersControllerFindone = function (id, account, fields, options) {
|
|
866
1064
|
if (options === void 0) { options = { headers: {} }; }
|
|
867
1065
|
return __awaiter(this, void 0, void 0, function () {
|
|
868
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1066
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_15, _i, _a, interceptor;
|
|
869
1067
|
var _this = this;
|
|
870
1068
|
return __generator(this, function (_b) {
|
|
871
1069
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}'
|
|
@@ -896,12 +1094,12 @@ var MatchedOffersApi = (function () {
|
|
|
896
1094
|
authenticationPromise = Promise.resolve();
|
|
897
1095
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
898
1096
|
interceptorPromise = authenticationPromise;
|
|
899
|
-
|
|
1097
|
+
_loop_15 = function (interceptor) {
|
|
900
1098
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
901
1099
|
};
|
|
902
1100
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
903
1101
|
interceptor = _a[_i];
|
|
904
|
-
|
|
1102
|
+
_loop_15(interceptor);
|
|
905
1103
|
}
|
|
906
1104
|
return [2, interceptorPromise.then(function () {
|
|
907
1105
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -934,7 +1132,7 @@ var MatchedOffersApi = (function () {
|
|
|
934
1132
|
MatchedOffersApi.prototype.matchedOffersControllerGenerateoffernumber = function (id, account, options) {
|
|
935
1133
|
if (options === void 0) { options = { headers: {} }; }
|
|
936
1134
|
return __awaiter(this, void 0, void 0, function () {
|
|
937
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1135
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_16, _i, _a, interceptor;
|
|
938
1136
|
var _this = this;
|
|
939
1137
|
return __generator(this, function (_b) {
|
|
940
1138
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/generate/number'
|
|
@@ -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.matchedOffersControllerLogview = function (id, account, body, 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}/view'
|
|
@@ -1032,12 +1230,12 @@ var MatchedOffersApi = (function () {
|
|
|
1032
1230
|
authenticationPromise = Promise.resolve();
|
|
1033
1231
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1034
1232
|
interceptorPromise = authenticationPromise;
|
|
1035
|
-
|
|
1233
|
+
_loop_17 = function (interceptor) {
|
|
1036
1234
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1037
1235
|
};
|
|
1038
1236
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1039
1237
|
interceptor = _a[_i];
|
|
1040
|
-
|
|
1238
|
+
_loop_17(interceptor);
|
|
1041
1239
|
}
|
|
1042
1240
|
return [2, interceptorPromise.then(function () {
|
|
1043
1241
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1070,7 +1268,7 @@ var MatchedOffersApi = (function () {
|
|
|
1070
1268
|
MatchedOffersApi.prototype.matchedOffersControllerRemove = function (id, account, options) {
|
|
1071
1269
|
if (options === void 0) { options = { headers: {} }; }
|
|
1072
1270
|
return __awaiter(this, void 0, void 0, function () {
|
|
1073
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1271
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_18, _i, _a, interceptor;
|
|
1074
1272
|
var _this = this;
|
|
1075
1273
|
return __generator(this, function (_b) {
|
|
1076
1274
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}'
|
|
@@ -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.matchedOffersControllerRemovepin = function (id, account, pinActionDto, 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}/unpin'
|
|
@@ -1168,12 +1366,12 @@ var MatchedOffersApi = (function () {
|
|
|
1168
1366
|
authenticationPromise = Promise.resolve();
|
|
1169
1367
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1170
1368
|
interceptorPromise = authenticationPromise;
|
|
1171
|
-
|
|
1369
|
+
_loop_19 = function (interceptor) {
|
|
1172
1370
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1173
1371
|
};
|
|
1174
1372
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1175
1373
|
interceptor = _a[_i];
|
|
1176
|
-
|
|
1374
|
+
_loop_19(interceptor);
|
|
1177
1375
|
}
|
|
1178
1376
|
return [2, interceptorPromise.then(function () {
|
|
1179
1377
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1206,7 +1404,7 @@ var MatchedOffersApi = (function () {
|
|
|
1206
1404
|
MatchedOffersApi.prototype.matchedOffersControllerReopen = function (id, account, options) {
|
|
1207
1405
|
if (options === void 0) { options = { headers: {} }; }
|
|
1208
1406
|
return __awaiter(this, void 0, void 0, function () {
|
|
1209
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1407
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_20, _i, _a, interceptor;
|
|
1210
1408
|
var _this = this;
|
|
1211
1409
|
return __generator(this, function (_b) {
|
|
1212
1410
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/reopen'
|
|
@@ -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.matchedOffersControllerSetconfirmindex = function (id, account, body, 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}/confirm/index'
|
|
@@ -1304,12 +1502,12 @@ var MatchedOffersApi = (function () {
|
|
|
1304
1502
|
authenticationPromise = Promise.resolve();
|
|
1305
1503
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1306
1504
|
interceptorPromise = authenticationPromise;
|
|
1307
|
-
|
|
1505
|
+
_loop_21 = function (interceptor) {
|
|
1308
1506
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1309
1507
|
};
|
|
1310
1508
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1311
1509
|
interceptor = _a[_i];
|
|
1312
|
-
|
|
1510
|
+
_loop_21(interceptor);
|
|
1313
1511
|
}
|
|
1314
1512
|
return [2, interceptorPromise.then(function () {
|
|
1315
1513
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1342,7 +1540,7 @@ var MatchedOffersApi = (function () {
|
|
|
1342
1540
|
MatchedOffersApi.prototype.matchedOffersControllerTotal = function (account, body, options) {
|
|
1343
1541
|
if (options === void 0) { options = { headers: {} }; }
|
|
1344
1542
|
return __awaiter(this, void 0, void 0, function () {
|
|
1345
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1543
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_22, _i, _a, interceptor;
|
|
1346
1544
|
var _this = this;
|
|
1347
1545
|
return __generator(this, function (_b) {
|
|
1348
1546
|
localVarPath = this.basePath + '/matched-offers/{account}/total'
|
|
@@ -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.matchedOffersControllerUpdate = function (id, 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}/{id}'
|
|
@@ -1440,12 +1638,12 @@ var MatchedOffersApi = (function () {
|
|
|
1440
1638
|
authenticationPromise = Promise.resolve();
|
|
1441
1639
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1442
1640
|
interceptorPromise = authenticationPromise;
|
|
1443
|
-
|
|
1641
|
+
_loop_23 = function (interceptor) {
|
|
1444
1642
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1445
1643
|
};
|
|
1446
1644
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1447
1645
|
interceptor = _a[_i];
|
|
1448
|
-
|
|
1646
|
+
_loop_23(interceptor);
|
|
1449
1647
|
}
|
|
1450
1648
|
return [2, interceptorPromise.then(function () {
|
|
1451
1649
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1478,7 +1676,7 @@ var MatchedOffersApi = (function () {
|
|
|
1478
1676
|
MatchedOffersApi.prototype.matchedOffersControllerUpdatestatus = function (account, body, options) {
|
|
1479
1677
|
if (options === void 0) { options = { headers: {} }; }
|
|
1480
1678
|
return __awaiter(this, void 0, void 0, function () {
|
|
1481
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1679
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_24, _i, _a, interceptor;
|
|
1482
1680
|
var _this = this;
|
|
1483
1681
|
return __generator(this, function (_b) {
|
|
1484
1682
|
localVarPath = this.basePath + '/matched-offers/{account}/status'
|
|
@@ -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.matchedOffersControllerValidatestatus = 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/validate'
|
|
@@ -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) {
|