@tradecafe/offer-service-sdk 0.0.50 → 0.0.52
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 +186 -54
- package/dist/api/matchedOffersApi.js.map +1 -1
- package/dist/model/bulkChangeFreightRatesDto.d.ts +19 -0
- package/dist/model/bulkChangeFreightRatesDto.js +41 -0
- package/dist/model/bulkChangeFreightRatesDto.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 +2 -0
- package/dist/model/models.js +6 -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/bulkChangeFreightRatesDto.ts +56 -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 +6 -0
- package/model/offerAttributesDto.ts +18 -0
- package/package.json +1 -1
|
@@ -317,11 +317,77 @@ var MatchedOffersApi = (function () {
|
|
|
317
317
|
});
|
|
318
318
|
});
|
|
319
319
|
};
|
|
320
|
-
MatchedOffersApi.prototype.
|
|
320
|
+
MatchedOffersApi.prototype.matchedOffersControllerBulkchangefreightrates = function (account, bulkChangeFreightRatesDto, options) {
|
|
321
321
|
if (options === void 0) { options = { headers: {} }; }
|
|
322
322
|
return __awaiter(this, void 0, void 0, function () {
|
|
323
323
|
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_4, _i, _a, interceptor;
|
|
324
324
|
var _this = this;
|
|
325
|
+
return __generator(this, function (_b) {
|
|
326
|
+
localVarPath = this.basePath + '/matched-offers/{account}/bulk/freight-rates'
|
|
327
|
+
.replace('{' + 'account' + '}', encodeURIComponent(String(account)));
|
|
328
|
+
localVarQueryParameters = {};
|
|
329
|
+
localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
330
|
+
localVarFormParams = {};
|
|
331
|
+
if (account === null || account === undefined) {
|
|
332
|
+
throw new Error('Required parameter account was null or undefined when calling matchedOffersControllerBulkchangefreightrates.');
|
|
333
|
+
}
|
|
334
|
+
if (bulkChangeFreightRatesDto === null || bulkChangeFreightRatesDto === undefined) {
|
|
335
|
+
throw new Error('Required parameter bulkChangeFreightRatesDto was null or undefined when calling matchedOffersControllerBulkchangefreightrates.');
|
|
336
|
+
}
|
|
337
|
+
Object.assign(localVarHeaderParams, options.headers);
|
|
338
|
+
localVarUseFormData = false;
|
|
339
|
+
localVarRequestOptions = {
|
|
340
|
+
method: 'PUT',
|
|
341
|
+
qs: localVarQueryParameters,
|
|
342
|
+
headers: localVarHeaderParams,
|
|
343
|
+
uri: localVarPath,
|
|
344
|
+
useQuerystring: this._useQuerystring,
|
|
345
|
+
json: true,
|
|
346
|
+
body: models_1.ObjectSerializer.serialize(bulkChangeFreightRatesDto, "BulkChangeFreightRatesDto")
|
|
347
|
+
};
|
|
348
|
+
authenticationPromise = Promise.resolve();
|
|
349
|
+
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
350
|
+
interceptorPromise = authenticationPromise;
|
|
351
|
+
_loop_4 = function (interceptor) {
|
|
352
|
+
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
353
|
+
};
|
|
354
|
+
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
355
|
+
interceptor = _a[_i];
|
|
356
|
+
_loop_4(interceptor);
|
|
357
|
+
}
|
|
358
|
+
return [2, interceptorPromise.then(function () {
|
|
359
|
+
if (Object.keys(localVarFormParams).length) {
|
|
360
|
+
if (localVarUseFormData) {
|
|
361
|
+
localVarRequestOptions.formData = localVarFormParams;
|
|
362
|
+
}
|
|
363
|
+
else {
|
|
364
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
return new Promise(function (resolve, reject) {
|
|
368
|
+
(0, request_1.default)(localVarRequestOptions, function (error, response, body) {
|
|
369
|
+
if (error) {
|
|
370
|
+
reject(error);
|
|
371
|
+
}
|
|
372
|
+
else {
|
|
373
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
374
|
+
resolve({ response: response, body: body });
|
|
375
|
+
}
|
|
376
|
+
else {
|
|
377
|
+
reject(new apis_1.HttpError(response, body, response.statusCode));
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
});
|
|
381
|
+
});
|
|
382
|
+
})];
|
|
383
|
+
});
|
|
384
|
+
});
|
|
385
|
+
};
|
|
386
|
+
MatchedOffersApi.prototype.matchedOffersControllerBulkupdatedeliverydates = function (account, bulkUpdateDeliveryDatesDto, options) {
|
|
387
|
+
if (options === void 0) { options = { headers: {} }; }
|
|
388
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
389
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_5, _i, _a, interceptor;
|
|
390
|
+
var _this = this;
|
|
325
391
|
return __generator(this, function (_b) {
|
|
326
392
|
localVarPath = this.basePath + '/matched-offers/{account}/bulk/delivery-dates'
|
|
327
393
|
.replace('{' + 'account' + '}', encodeURIComponent(String(account)));
|
|
@@ -348,12 +414,78 @@ var MatchedOffersApi = (function () {
|
|
|
348
414
|
authenticationPromise = Promise.resolve();
|
|
349
415
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
350
416
|
interceptorPromise = authenticationPromise;
|
|
351
|
-
|
|
417
|
+
_loop_5 = function (interceptor) {
|
|
352
418
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
353
419
|
};
|
|
354
420
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
355
421
|
interceptor = _a[_i];
|
|
356
|
-
|
|
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.matchedOffersControllerBulkupdatedocscountry = function (account, bulkUpdateDocsCountryDto, 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/docs-country'
|
|
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 matchedOffersControllerBulkupdatedocscountry.');
|
|
465
|
+
}
|
|
466
|
+
if (bulkUpdateDocsCountryDto === null || bulkUpdateDocsCountryDto === undefined) {
|
|
467
|
+
throw new Error('Required parameter bulkUpdateDocsCountryDto was null or undefined when calling matchedOffersControllerBulkupdatedocscountry.');
|
|
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(bulkUpdateDocsCountryDto, "BulkUpdateDocsCountryDto")
|
|
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);
|
|
357
489
|
}
|
|
358
490
|
return [2, interceptorPromise.then(function () {
|
|
359
491
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -386,7 +518,7 @@ var MatchedOffersApi = (function () {
|
|
|
386
518
|
MatchedOffersApi.prototype.matchedOffersControllerCountsbystatus = function (account, options) {
|
|
387
519
|
if (options === void 0) { options = { headers: {} }; }
|
|
388
520
|
return __awaiter(this, void 0, void 0, function () {
|
|
389
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
521
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_7, _i, _a, interceptor;
|
|
390
522
|
var _this = this;
|
|
391
523
|
return __generator(this, function (_b) {
|
|
392
524
|
localVarPath = this.basePath + '/matched-offers/{account}/counts-by-status'
|
|
@@ -410,12 +542,12 @@ var MatchedOffersApi = (function () {
|
|
|
410
542
|
authenticationPromise = Promise.resolve();
|
|
411
543
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
412
544
|
interceptorPromise = authenticationPromise;
|
|
413
|
-
|
|
545
|
+
_loop_7 = function (interceptor) {
|
|
414
546
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
415
547
|
};
|
|
416
548
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
417
549
|
interceptor = _a[_i];
|
|
418
|
-
|
|
550
|
+
_loop_7(interceptor);
|
|
419
551
|
}
|
|
420
552
|
return [2, interceptorPromise.then(function () {
|
|
421
553
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -448,7 +580,7 @@ var MatchedOffersApi = (function () {
|
|
|
448
580
|
MatchedOffersApi.prototype.matchedOffersControllerCreate = function (account, createMatchedOfferDto, options) {
|
|
449
581
|
if (options === void 0) { options = { headers: {} }; }
|
|
450
582
|
return __awaiter(this, void 0, void 0, function () {
|
|
451
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
583
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_8, _i, _a, interceptor;
|
|
452
584
|
var _this = this;
|
|
453
585
|
return __generator(this, function (_b) {
|
|
454
586
|
localVarPath = this.basePath + '/matched-offers/{account}'
|
|
@@ -476,12 +608,12 @@ var MatchedOffersApi = (function () {
|
|
|
476
608
|
authenticationPromise = Promise.resolve();
|
|
477
609
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
478
610
|
interceptorPromise = authenticationPromise;
|
|
479
|
-
|
|
611
|
+
_loop_8 = function (interceptor) {
|
|
480
612
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
481
613
|
};
|
|
482
614
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
483
615
|
interceptor = _a[_i];
|
|
484
|
-
|
|
616
|
+
_loop_8(interceptor);
|
|
485
617
|
}
|
|
486
618
|
return [2, interceptorPromise.then(function () {
|
|
487
619
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -514,7 +646,7 @@ var MatchedOffersApi = (function () {
|
|
|
514
646
|
MatchedOffersApi.prototype.matchedOffersControllerDeletebid = function (id, userId, account, options) {
|
|
515
647
|
if (options === void 0) { options = { headers: {} }; }
|
|
516
648
|
return __awaiter(this, void 0, void 0, function () {
|
|
517
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
649
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_9, _i, _a, interceptor;
|
|
518
650
|
var _this = this;
|
|
519
651
|
return __generator(this, function (_b) {
|
|
520
652
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/{userId}/bid'
|
|
@@ -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.matchedOffersControllerFilter = function (account, skip, limit, sort, fields, body, 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}/search'
|
|
@@ -621,12 +753,12 @@ var MatchedOffersApi = (function () {
|
|
|
621
753
|
authenticationPromise = Promise.resolve();
|
|
622
754
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
623
755
|
interceptorPromise = authenticationPromise;
|
|
624
|
-
|
|
756
|
+
_loop_10 = function (interceptor) {
|
|
625
757
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
626
758
|
};
|
|
627
759
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
628
760
|
interceptor = _a[_i];
|
|
629
|
-
|
|
761
|
+
_loop_10(interceptor);
|
|
630
762
|
}
|
|
631
763
|
return [2, interceptorPromise.then(function () {
|
|
632
764
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -659,7 +791,7 @@ var MatchedOffersApi = (function () {
|
|
|
659
791
|
MatchedOffersApi.prototype.matchedOffersControllerFindall = function (account, createMatchedOfferDto, skip, limit, sort, fields, options) {
|
|
660
792
|
if (options === void 0) { options = { headers: {} }; }
|
|
661
793
|
return __awaiter(this, void 0, void 0, function () {
|
|
662
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
794
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_11, _i, _a, interceptor;
|
|
663
795
|
var _this = this;
|
|
664
796
|
return __generator(this, function (_b) {
|
|
665
797
|
localVarPath = this.basePath + '/matched-offers/{account}'
|
|
@@ -699,12 +831,12 @@ var MatchedOffersApi = (function () {
|
|
|
699
831
|
authenticationPromise = Promise.resolve();
|
|
700
832
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
701
833
|
interceptorPromise = authenticationPromise;
|
|
702
|
-
|
|
834
|
+
_loop_11 = function (interceptor) {
|
|
703
835
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
704
836
|
};
|
|
705
837
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
706
838
|
interceptor = _a[_i];
|
|
707
|
-
|
|
839
|
+
_loop_11(interceptor);
|
|
708
840
|
}
|
|
709
841
|
return [2, interceptorPromise.then(function () {
|
|
710
842
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -737,7 +869,7 @@ var MatchedOffersApi = (function () {
|
|
|
737
869
|
MatchedOffersApi.prototype.matchedOffersControllerFindcountries = function (account, options) {
|
|
738
870
|
if (options === void 0) { options = { headers: {} }; }
|
|
739
871
|
return __awaiter(this, void 0, void 0, function () {
|
|
740
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
872
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_12, _i, _a, interceptor;
|
|
741
873
|
var _this = this;
|
|
742
874
|
return __generator(this, function (_b) {
|
|
743
875
|
localVarPath = this.basePath + '/matched-offers/{account}/countries'
|
|
@@ -761,12 +893,12 @@ var MatchedOffersApi = (function () {
|
|
|
761
893
|
authenticationPromise = Promise.resolve();
|
|
762
894
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
763
895
|
interceptorPromise = authenticationPromise;
|
|
764
|
-
|
|
896
|
+
_loop_12 = function (interceptor) {
|
|
765
897
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
766
898
|
};
|
|
767
899
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
768
900
|
interceptor = _a[_i];
|
|
769
|
-
|
|
901
|
+
_loop_12(interceptor);
|
|
770
902
|
}
|
|
771
903
|
return [2, interceptorPromise.then(function () {
|
|
772
904
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -799,7 +931,7 @@ var MatchedOffersApi = (function () {
|
|
|
799
931
|
MatchedOffersApi.prototype.matchedOffersControllerFindone = function (id, account, fields, options) {
|
|
800
932
|
if (options === void 0) { options = { headers: {} }; }
|
|
801
933
|
return __awaiter(this, void 0, void 0, function () {
|
|
802
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
934
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_13, _i, _a, interceptor;
|
|
803
935
|
var _this = this;
|
|
804
936
|
return __generator(this, function (_b) {
|
|
805
937
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}'
|
|
@@ -830,12 +962,12 @@ var MatchedOffersApi = (function () {
|
|
|
830
962
|
authenticationPromise = Promise.resolve();
|
|
831
963
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
832
964
|
interceptorPromise = authenticationPromise;
|
|
833
|
-
|
|
965
|
+
_loop_13 = function (interceptor) {
|
|
834
966
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
835
967
|
};
|
|
836
968
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
837
969
|
interceptor = _a[_i];
|
|
838
|
-
|
|
970
|
+
_loop_13(interceptor);
|
|
839
971
|
}
|
|
840
972
|
return [2, interceptorPromise.then(function () {
|
|
841
973
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -868,7 +1000,7 @@ var MatchedOffersApi = (function () {
|
|
|
868
1000
|
MatchedOffersApi.prototype.matchedOffersControllerGenerateoffernumber = function (id, account, options) {
|
|
869
1001
|
if (options === void 0) { options = { headers: {} }; }
|
|
870
1002
|
return __awaiter(this, void 0, void 0, function () {
|
|
871
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1003
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_14, _i, _a, interceptor;
|
|
872
1004
|
var _this = this;
|
|
873
1005
|
return __generator(this, function (_b) {
|
|
874
1006
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/generate/number'
|
|
@@ -896,12 +1028,12 @@ var MatchedOffersApi = (function () {
|
|
|
896
1028
|
authenticationPromise = Promise.resolve();
|
|
897
1029
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
898
1030
|
interceptorPromise = authenticationPromise;
|
|
899
|
-
|
|
1031
|
+
_loop_14 = function (interceptor) {
|
|
900
1032
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
901
1033
|
};
|
|
902
1034
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
903
1035
|
interceptor = _a[_i];
|
|
904
|
-
|
|
1036
|
+
_loop_14(interceptor);
|
|
905
1037
|
}
|
|
906
1038
|
return [2, interceptorPromise.then(function () {
|
|
907
1039
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -934,7 +1066,7 @@ var MatchedOffersApi = (function () {
|
|
|
934
1066
|
MatchedOffersApi.prototype.matchedOffersControllerLogview = function (id, account, body, options) {
|
|
935
1067
|
if (options === void 0) { options = { headers: {} }; }
|
|
936
1068
|
return __awaiter(this, void 0, void 0, function () {
|
|
937
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1069
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_15, _i, _a, interceptor;
|
|
938
1070
|
var _this = this;
|
|
939
1071
|
return __generator(this, function (_b) {
|
|
940
1072
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/view'
|
|
@@ -966,12 +1098,12 @@ var MatchedOffersApi = (function () {
|
|
|
966
1098
|
authenticationPromise = Promise.resolve();
|
|
967
1099
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
968
1100
|
interceptorPromise = authenticationPromise;
|
|
969
|
-
|
|
1101
|
+
_loop_15 = function (interceptor) {
|
|
970
1102
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
971
1103
|
};
|
|
972
1104
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
973
1105
|
interceptor = _a[_i];
|
|
974
|
-
|
|
1106
|
+
_loop_15(interceptor);
|
|
975
1107
|
}
|
|
976
1108
|
return [2, interceptorPromise.then(function () {
|
|
977
1109
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1004,7 +1136,7 @@ var MatchedOffersApi = (function () {
|
|
|
1004
1136
|
MatchedOffersApi.prototype.matchedOffersControllerRemove = function (id, account, options) {
|
|
1005
1137
|
if (options === void 0) { options = { headers: {} }; }
|
|
1006
1138
|
return __awaiter(this, void 0, void 0, function () {
|
|
1007
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1139
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_16, _i, _a, interceptor;
|
|
1008
1140
|
var _this = this;
|
|
1009
1141
|
return __generator(this, function (_b) {
|
|
1010
1142
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}'
|
|
@@ -1032,12 +1164,12 @@ var MatchedOffersApi = (function () {
|
|
|
1032
1164
|
authenticationPromise = Promise.resolve();
|
|
1033
1165
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1034
1166
|
interceptorPromise = authenticationPromise;
|
|
1035
|
-
|
|
1167
|
+
_loop_16 = function (interceptor) {
|
|
1036
1168
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1037
1169
|
};
|
|
1038
1170
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1039
1171
|
interceptor = _a[_i];
|
|
1040
|
-
|
|
1172
|
+
_loop_16(interceptor);
|
|
1041
1173
|
}
|
|
1042
1174
|
return [2, interceptorPromise.then(function () {
|
|
1043
1175
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1070,7 +1202,7 @@ var MatchedOffersApi = (function () {
|
|
|
1070
1202
|
MatchedOffersApi.prototype.matchedOffersControllerRemovepin = function (id, account, pinActionDto, options) {
|
|
1071
1203
|
if (options === void 0) { options = { headers: {} }; }
|
|
1072
1204
|
return __awaiter(this, void 0, void 0, function () {
|
|
1073
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1205
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_17, _i, _a, interceptor;
|
|
1074
1206
|
var _this = this;
|
|
1075
1207
|
return __generator(this, function (_b) {
|
|
1076
1208
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/unpin'
|
|
@@ -1102,12 +1234,12 @@ var MatchedOffersApi = (function () {
|
|
|
1102
1234
|
authenticationPromise = Promise.resolve();
|
|
1103
1235
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1104
1236
|
interceptorPromise = authenticationPromise;
|
|
1105
|
-
|
|
1237
|
+
_loop_17 = function (interceptor) {
|
|
1106
1238
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1107
1239
|
};
|
|
1108
1240
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1109
1241
|
interceptor = _a[_i];
|
|
1110
|
-
|
|
1242
|
+
_loop_17(interceptor);
|
|
1111
1243
|
}
|
|
1112
1244
|
return [2, interceptorPromise.then(function () {
|
|
1113
1245
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1140,7 +1272,7 @@ var MatchedOffersApi = (function () {
|
|
|
1140
1272
|
MatchedOffersApi.prototype.matchedOffersControllerReopen = function (id, account, options) {
|
|
1141
1273
|
if (options === void 0) { options = { headers: {} }; }
|
|
1142
1274
|
return __awaiter(this, void 0, void 0, function () {
|
|
1143
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1275
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_18, _i, _a, interceptor;
|
|
1144
1276
|
var _this = this;
|
|
1145
1277
|
return __generator(this, function (_b) {
|
|
1146
1278
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/reopen'
|
|
@@ -1168,12 +1300,12 @@ var MatchedOffersApi = (function () {
|
|
|
1168
1300
|
authenticationPromise = Promise.resolve();
|
|
1169
1301
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1170
1302
|
interceptorPromise = authenticationPromise;
|
|
1171
|
-
|
|
1303
|
+
_loop_18 = function (interceptor) {
|
|
1172
1304
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1173
1305
|
};
|
|
1174
1306
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1175
1307
|
interceptor = _a[_i];
|
|
1176
|
-
|
|
1308
|
+
_loop_18(interceptor);
|
|
1177
1309
|
}
|
|
1178
1310
|
return [2, interceptorPromise.then(function () {
|
|
1179
1311
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1206,7 +1338,7 @@ var MatchedOffersApi = (function () {
|
|
|
1206
1338
|
MatchedOffersApi.prototype.matchedOffersControllerSetconfirmindex = function (id, account, body, options) {
|
|
1207
1339
|
if (options === void 0) { options = { headers: {} }; }
|
|
1208
1340
|
return __awaiter(this, void 0, void 0, function () {
|
|
1209
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1341
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_19, _i, _a, interceptor;
|
|
1210
1342
|
var _this = this;
|
|
1211
1343
|
return __generator(this, function (_b) {
|
|
1212
1344
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/confirm/index'
|
|
@@ -1238,12 +1370,12 @@ var MatchedOffersApi = (function () {
|
|
|
1238
1370
|
authenticationPromise = Promise.resolve();
|
|
1239
1371
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1240
1372
|
interceptorPromise = authenticationPromise;
|
|
1241
|
-
|
|
1373
|
+
_loop_19 = function (interceptor) {
|
|
1242
1374
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1243
1375
|
};
|
|
1244
1376
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1245
1377
|
interceptor = _a[_i];
|
|
1246
|
-
|
|
1378
|
+
_loop_19(interceptor);
|
|
1247
1379
|
}
|
|
1248
1380
|
return [2, interceptorPromise.then(function () {
|
|
1249
1381
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1276,7 +1408,7 @@ var MatchedOffersApi = (function () {
|
|
|
1276
1408
|
MatchedOffersApi.prototype.matchedOffersControllerTotal = function (account, body, options) {
|
|
1277
1409
|
if (options === void 0) { options = { headers: {} }; }
|
|
1278
1410
|
return __awaiter(this, void 0, void 0, function () {
|
|
1279
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1411
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_20, _i, _a, interceptor;
|
|
1280
1412
|
var _this = this;
|
|
1281
1413
|
return __generator(this, function (_b) {
|
|
1282
1414
|
localVarPath = this.basePath + '/matched-offers/{account}/total'
|
|
@@ -1304,12 +1436,12 @@ var MatchedOffersApi = (function () {
|
|
|
1304
1436
|
authenticationPromise = Promise.resolve();
|
|
1305
1437
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1306
1438
|
interceptorPromise = authenticationPromise;
|
|
1307
|
-
|
|
1439
|
+
_loop_20 = function (interceptor) {
|
|
1308
1440
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1309
1441
|
};
|
|
1310
1442
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1311
1443
|
interceptor = _a[_i];
|
|
1312
|
-
|
|
1444
|
+
_loop_20(interceptor);
|
|
1313
1445
|
}
|
|
1314
1446
|
return [2, interceptorPromise.then(function () {
|
|
1315
1447
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1342,7 +1474,7 @@ var MatchedOffersApi = (function () {
|
|
|
1342
1474
|
MatchedOffersApi.prototype.matchedOffersControllerUpdate = function (id, account, body, options) {
|
|
1343
1475
|
if (options === void 0) { options = { headers: {} }; }
|
|
1344
1476
|
return __awaiter(this, void 0, void 0, function () {
|
|
1345
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1477
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_21, _i, _a, interceptor;
|
|
1346
1478
|
var _this = this;
|
|
1347
1479
|
return __generator(this, function (_b) {
|
|
1348
1480
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}'
|
|
@@ -1374,12 +1506,12 @@ var MatchedOffersApi = (function () {
|
|
|
1374
1506
|
authenticationPromise = Promise.resolve();
|
|
1375
1507
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1376
1508
|
interceptorPromise = authenticationPromise;
|
|
1377
|
-
|
|
1509
|
+
_loop_21 = function (interceptor) {
|
|
1378
1510
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1379
1511
|
};
|
|
1380
1512
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1381
1513
|
interceptor = _a[_i];
|
|
1382
|
-
|
|
1514
|
+
_loop_21(interceptor);
|
|
1383
1515
|
}
|
|
1384
1516
|
return [2, interceptorPromise.then(function () {
|
|
1385
1517
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1412,7 +1544,7 @@ var MatchedOffersApi = (function () {
|
|
|
1412
1544
|
MatchedOffersApi.prototype.matchedOffersControllerUpdatestatus = function (account, body, options) {
|
|
1413
1545
|
if (options === void 0) { options = { headers: {} }; }
|
|
1414
1546
|
return __awaiter(this, void 0, void 0, function () {
|
|
1415
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1547
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_22, _i, _a, interceptor;
|
|
1416
1548
|
var _this = this;
|
|
1417
1549
|
return __generator(this, function (_b) {
|
|
1418
1550
|
localVarPath = this.basePath + '/matched-offers/{account}/status'
|
|
@@ -1440,12 +1572,12 @@ var MatchedOffersApi = (function () {
|
|
|
1440
1572
|
authenticationPromise = Promise.resolve();
|
|
1441
1573
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1442
1574
|
interceptorPromise = authenticationPromise;
|
|
1443
|
-
|
|
1575
|
+
_loop_22 = function (interceptor) {
|
|
1444
1576
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1445
1577
|
};
|
|
1446
1578
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1447
1579
|
interceptor = _a[_i];
|
|
1448
|
-
|
|
1580
|
+
_loop_22(interceptor);
|
|
1449
1581
|
}
|
|
1450
1582
|
return [2, interceptorPromise.then(function () {
|
|
1451
1583
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1478,7 +1610,7 @@ var MatchedOffersApi = (function () {
|
|
|
1478
1610
|
MatchedOffersApi.prototype.matchedOffersControllerValidatestatus = function (account, body, options) {
|
|
1479
1611
|
if (options === void 0) { options = { headers: {} }; }
|
|
1480
1612
|
return __awaiter(this, void 0, void 0, function () {
|
|
1481
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1613
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_23, _i, _a, interceptor;
|
|
1482
1614
|
var _this = this;
|
|
1483
1615
|
return __generator(this, function (_b) {
|
|
1484
1616
|
localVarPath = this.basePath + '/matched-offers/{account}/status/validate'
|
|
@@ -1506,12 +1638,12 @@ var MatchedOffersApi = (function () {
|
|
|
1506
1638
|
authenticationPromise = Promise.resolve();
|
|
1507
1639
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1508
1640
|
interceptorPromise = authenticationPromise;
|
|
1509
|
-
|
|
1641
|
+
_loop_23 = function (interceptor) {
|
|
1510
1642
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1511
1643
|
};
|
|
1512
1644
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1513
1645
|
interceptor = _a[_i];
|
|
1514
|
-
|
|
1646
|
+
_loop_23(interceptor);
|
|
1515
1647
|
}
|
|
1516
1648
|
return [2, interceptorPromise.then(function () {
|
|
1517
1649
|
if (Object.keys(localVarFormParams).length) {
|