@tradecafe/offer-service-sdk 0.0.47 → 0.0.48
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 +5 -0
- package/api/matchedOffersApi.ts +145 -0
- package/dist/api/matchedOffersApi.d.ts +18 -0
- package/dist/api/matchedOffersApi.js +187 -51
- package/dist/api/matchedOffersApi.js.map +1 -1
- package/dist/model/bulkAddTertiaryCostsDto.d.ts +16 -0
- package/dist/model/bulkAddTertiaryCostsDto.js +26 -0
- package/dist/model/bulkAddTertiaryCostsDto.js.map +1 -0
- package/dist/model/bulkUpdateDeliveryDatesDto.d.ts +16 -0
- package/dist/model/bulkUpdateDeliveryDatesDto.js +31 -0
- package/dist/model/bulkUpdateDeliveryDatesDto.js.map +1 -0
- package/dist/model/costAmountDto.d.ts +14 -0
- package/dist/model/costAmountDto.js +21 -0
- package/dist/model/costAmountDto.js.map +1 -0
- package/dist/model/costDto.d.ts +21 -0
- package/dist/model/costDto.js +51 -0
- package/dist/model/costDto.js.map +1 -0
- package/dist/model/costDtoSource.d.ts +14 -0
- package/dist/model/costDtoSource.js +21 -0
- package/dist/model/costDtoSource.js.map +1 -0
- package/dist/model/models.d.ts +5 -0
- package/dist/model/models.js +15 -0
- package/dist/model/models.js.map +1 -1
- package/model/bulkAddTertiaryCostsDto.ts +44 -0
- package/model/bulkUpdateDeliveryDatesDto.ts +52 -0
- package/model/costAmountDto.ts +34 -0
- package/model/costDto.ts +86 -0
- package/model/costDtoSource.ts +38 -0
- package/model/models.ts +15 -0
- package/package.json +1 -1
|
@@ -247,11 +247,147 @@ var MatchedOffersApi = (function () {
|
|
|
247
247
|
});
|
|
248
248
|
});
|
|
249
249
|
};
|
|
250
|
-
MatchedOffersApi.prototype.
|
|
250
|
+
MatchedOffersApi.prototype.matchedOffersControllerBulkaddtertiarycosts = function (account, userId, bulkAddTertiaryCostsDto, options) {
|
|
251
251
|
if (options === void 0) { options = { headers: {} }; }
|
|
252
252
|
return __awaiter(this, void 0, void 0, function () {
|
|
253
253
|
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_3, _i, _a, interceptor;
|
|
254
254
|
var _this = this;
|
|
255
|
+
return __generator(this, function (_b) {
|
|
256
|
+
localVarPath = this.basePath + '/matched-offers/{account}/bulk/tertiary-costs/{userId}'
|
|
257
|
+
.replace('{' + 'account' + '}', encodeURIComponent(String(account)))
|
|
258
|
+
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
|
|
259
|
+
localVarQueryParameters = {};
|
|
260
|
+
localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
261
|
+
localVarFormParams = {};
|
|
262
|
+
if (account === null || account === undefined) {
|
|
263
|
+
throw new Error('Required parameter account was null or undefined when calling matchedOffersControllerBulkaddtertiarycosts.');
|
|
264
|
+
}
|
|
265
|
+
if (userId === null || userId === undefined) {
|
|
266
|
+
throw new Error('Required parameter userId was null or undefined when calling matchedOffersControllerBulkaddtertiarycosts.');
|
|
267
|
+
}
|
|
268
|
+
if (bulkAddTertiaryCostsDto === null || bulkAddTertiaryCostsDto === undefined) {
|
|
269
|
+
throw new Error('Required parameter bulkAddTertiaryCostsDto was null or undefined when calling matchedOffersControllerBulkaddtertiarycosts.');
|
|
270
|
+
}
|
|
271
|
+
Object.assign(localVarHeaderParams, options.headers);
|
|
272
|
+
localVarUseFormData = false;
|
|
273
|
+
localVarRequestOptions = {
|
|
274
|
+
method: 'PUT',
|
|
275
|
+
qs: localVarQueryParameters,
|
|
276
|
+
headers: localVarHeaderParams,
|
|
277
|
+
uri: localVarPath,
|
|
278
|
+
useQuerystring: this._useQuerystring,
|
|
279
|
+
json: true,
|
|
280
|
+
body: models_1.ObjectSerializer.serialize(bulkAddTertiaryCostsDto, "BulkAddTertiaryCostsDto")
|
|
281
|
+
};
|
|
282
|
+
authenticationPromise = Promise.resolve();
|
|
283
|
+
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
284
|
+
interceptorPromise = authenticationPromise;
|
|
285
|
+
_loop_3 = function (interceptor) {
|
|
286
|
+
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
287
|
+
};
|
|
288
|
+
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
289
|
+
interceptor = _a[_i];
|
|
290
|
+
_loop_3(interceptor);
|
|
291
|
+
}
|
|
292
|
+
return [2, interceptorPromise.then(function () {
|
|
293
|
+
if (Object.keys(localVarFormParams).length) {
|
|
294
|
+
if (localVarUseFormData) {
|
|
295
|
+
localVarRequestOptions.formData = localVarFormParams;
|
|
296
|
+
}
|
|
297
|
+
else {
|
|
298
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
return new Promise(function (resolve, reject) {
|
|
302
|
+
(0, request_1.default)(localVarRequestOptions, function (error, response, body) {
|
|
303
|
+
if (error) {
|
|
304
|
+
reject(error);
|
|
305
|
+
}
|
|
306
|
+
else {
|
|
307
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
308
|
+
resolve({ response: response, body: body });
|
|
309
|
+
}
|
|
310
|
+
else {
|
|
311
|
+
reject(new apis_1.HttpError(response, body, response.statusCode));
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
});
|
|
315
|
+
});
|
|
316
|
+
})];
|
|
317
|
+
});
|
|
318
|
+
});
|
|
319
|
+
};
|
|
320
|
+
MatchedOffersApi.prototype.matchedOffersControllerBulkupdatedeliverydates = function (account, bulkUpdateDeliveryDatesDto, options) {
|
|
321
|
+
if (options === void 0) { options = { headers: {} }; }
|
|
322
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
323
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_4, _i, _a, interceptor;
|
|
324
|
+
var _this = this;
|
|
325
|
+
return __generator(this, function (_b) {
|
|
326
|
+
localVarPath = this.basePath + '/matched-offers/{account}/bulk/delivery-dates'
|
|
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 matchedOffersControllerBulkupdatedeliverydates.');
|
|
333
|
+
}
|
|
334
|
+
if (bulkUpdateDeliveryDatesDto === null || bulkUpdateDeliveryDatesDto === undefined) {
|
|
335
|
+
throw new Error('Required parameter bulkUpdateDeliveryDatesDto was null or undefined when calling matchedOffersControllerBulkupdatedeliverydates.');
|
|
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(bulkUpdateDeliveryDatesDto, "BulkUpdateDeliveryDatesDto")
|
|
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.matchedOffersControllerCountsbystatus = function (account, 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;
|
|
255
391
|
return __generator(this, function (_b) {
|
|
256
392
|
localVarPath = this.basePath + '/matched-offers/{account}/counts-by-status'
|
|
257
393
|
.replace('{' + 'account' + '}', encodeURIComponent(String(account)));
|
|
@@ -274,12 +410,12 @@ var MatchedOffersApi = (function () {
|
|
|
274
410
|
authenticationPromise = Promise.resolve();
|
|
275
411
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
276
412
|
interceptorPromise = authenticationPromise;
|
|
277
|
-
|
|
413
|
+
_loop_5 = function (interceptor) {
|
|
278
414
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
279
415
|
};
|
|
280
416
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
281
417
|
interceptor = _a[_i];
|
|
282
|
-
|
|
418
|
+
_loop_5(interceptor);
|
|
283
419
|
}
|
|
284
420
|
return [2, interceptorPromise.then(function () {
|
|
285
421
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -312,7 +448,7 @@ var MatchedOffersApi = (function () {
|
|
|
312
448
|
MatchedOffersApi.prototype.matchedOffersControllerCreate = function (account, createMatchedOfferDto, options) {
|
|
313
449
|
if (options === void 0) { options = { headers: {} }; }
|
|
314
450
|
return __awaiter(this, void 0, void 0, function () {
|
|
315
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
451
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_6, _i, _a, interceptor;
|
|
316
452
|
var _this = this;
|
|
317
453
|
return __generator(this, function (_b) {
|
|
318
454
|
localVarPath = this.basePath + '/matched-offers/{account}'
|
|
@@ -340,12 +476,12 @@ var MatchedOffersApi = (function () {
|
|
|
340
476
|
authenticationPromise = Promise.resolve();
|
|
341
477
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
342
478
|
interceptorPromise = authenticationPromise;
|
|
343
|
-
|
|
479
|
+
_loop_6 = function (interceptor) {
|
|
344
480
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
345
481
|
};
|
|
346
482
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
347
483
|
interceptor = _a[_i];
|
|
348
|
-
|
|
484
|
+
_loop_6(interceptor);
|
|
349
485
|
}
|
|
350
486
|
return [2, interceptorPromise.then(function () {
|
|
351
487
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -378,7 +514,7 @@ var MatchedOffersApi = (function () {
|
|
|
378
514
|
MatchedOffersApi.prototype.matchedOffersControllerDeletebid = function (id, userId, account, options) {
|
|
379
515
|
if (options === void 0) { options = { headers: {} }; }
|
|
380
516
|
return __awaiter(this, void 0, void 0, function () {
|
|
381
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
517
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_7, _i, _a, interceptor;
|
|
382
518
|
var _this = this;
|
|
383
519
|
return __generator(this, function (_b) {
|
|
384
520
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/{userId}/bid'
|
|
@@ -410,12 +546,12 @@ var MatchedOffersApi = (function () {
|
|
|
410
546
|
authenticationPromise = Promise.resolve();
|
|
411
547
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
412
548
|
interceptorPromise = authenticationPromise;
|
|
413
|
-
|
|
549
|
+
_loop_7 = function (interceptor) {
|
|
414
550
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
415
551
|
};
|
|
416
552
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
417
553
|
interceptor = _a[_i];
|
|
418
|
-
|
|
554
|
+
_loop_7(interceptor);
|
|
419
555
|
}
|
|
420
556
|
return [2, interceptorPromise.then(function () {
|
|
421
557
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -448,7 +584,7 @@ var MatchedOffersApi = (function () {
|
|
|
448
584
|
MatchedOffersApi.prototype.matchedOffersControllerFilter = function (account, skip, limit, sort, fields, body, options) {
|
|
449
585
|
if (options === void 0) { options = { headers: {} }; }
|
|
450
586
|
return __awaiter(this, void 0, void 0, function () {
|
|
451
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
587
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_8, _i, _a, interceptor;
|
|
452
588
|
var _this = this;
|
|
453
589
|
return __generator(this, function (_b) {
|
|
454
590
|
localVarPath = this.basePath + '/matched-offers/{account}/search'
|
|
@@ -485,12 +621,12 @@ var MatchedOffersApi = (function () {
|
|
|
485
621
|
authenticationPromise = Promise.resolve();
|
|
486
622
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
487
623
|
interceptorPromise = authenticationPromise;
|
|
488
|
-
|
|
624
|
+
_loop_8 = function (interceptor) {
|
|
489
625
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
490
626
|
};
|
|
491
627
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
492
628
|
interceptor = _a[_i];
|
|
493
|
-
|
|
629
|
+
_loop_8(interceptor);
|
|
494
630
|
}
|
|
495
631
|
return [2, interceptorPromise.then(function () {
|
|
496
632
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -523,7 +659,7 @@ var MatchedOffersApi = (function () {
|
|
|
523
659
|
MatchedOffersApi.prototype.matchedOffersControllerFindall = function (account, createMatchedOfferDto, skip, limit, sort, fields, options) {
|
|
524
660
|
if (options === void 0) { options = { headers: {} }; }
|
|
525
661
|
return __awaiter(this, void 0, void 0, function () {
|
|
526
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
662
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_9, _i, _a, interceptor;
|
|
527
663
|
var _this = this;
|
|
528
664
|
return __generator(this, function (_b) {
|
|
529
665
|
localVarPath = this.basePath + '/matched-offers/{account}'
|
|
@@ -563,12 +699,12 @@ var MatchedOffersApi = (function () {
|
|
|
563
699
|
authenticationPromise = Promise.resolve();
|
|
564
700
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
565
701
|
interceptorPromise = authenticationPromise;
|
|
566
|
-
|
|
702
|
+
_loop_9 = function (interceptor) {
|
|
567
703
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
568
704
|
};
|
|
569
705
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
570
706
|
interceptor = _a[_i];
|
|
571
|
-
|
|
707
|
+
_loop_9(interceptor);
|
|
572
708
|
}
|
|
573
709
|
return [2, interceptorPromise.then(function () {
|
|
574
710
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -601,7 +737,7 @@ var MatchedOffersApi = (function () {
|
|
|
601
737
|
MatchedOffersApi.prototype.matchedOffersControllerFindcountries = function (account, options) {
|
|
602
738
|
if (options === void 0) { options = { headers: {} }; }
|
|
603
739
|
return __awaiter(this, void 0, void 0, function () {
|
|
604
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
740
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_10, _i, _a, interceptor;
|
|
605
741
|
var _this = this;
|
|
606
742
|
return __generator(this, function (_b) {
|
|
607
743
|
localVarPath = this.basePath + '/matched-offers/{account}/countries'
|
|
@@ -625,12 +761,12 @@ var MatchedOffersApi = (function () {
|
|
|
625
761
|
authenticationPromise = Promise.resolve();
|
|
626
762
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
627
763
|
interceptorPromise = authenticationPromise;
|
|
628
|
-
|
|
764
|
+
_loop_10 = function (interceptor) {
|
|
629
765
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
630
766
|
};
|
|
631
767
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
632
768
|
interceptor = _a[_i];
|
|
633
|
-
|
|
769
|
+
_loop_10(interceptor);
|
|
634
770
|
}
|
|
635
771
|
return [2, interceptorPromise.then(function () {
|
|
636
772
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -663,7 +799,7 @@ var MatchedOffersApi = (function () {
|
|
|
663
799
|
MatchedOffersApi.prototype.matchedOffersControllerFindone = function (id, account, fields, options) {
|
|
664
800
|
if (options === void 0) { options = { headers: {} }; }
|
|
665
801
|
return __awaiter(this, void 0, void 0, function () {
|
|
666
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
802
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_11, _i, _a, interceptor;
|
|
667
803
|
var _this = this;
|
|
668
804
|
return __generator(this, function (_b) {
|
|
669
805
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}'
|
|
@@ -694,12 +830,12 @@ var MatchedOffersApi = (function () {
|
|
|
694
830
|
authenticationPromise = Promise.resolve();
|
|
695
831
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
696
832
|
interceptorPromise = authenticationPromise;
|
|
697
|
-
|
|
833
|
+
_loop_11 = function (interceptor) {
|
|
698
834
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
699
835
|
};
|
|
700
836
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
701
837
|
interceptor = _a[_i];
|
|
702
|
-
|
|
838
|
+
_loop_11(interceptor);
|
|
703
839
|
}
|
|
704
840
|
return [2, interceptorPromise.then(function () {
|
|
705
841
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -732,7 +868,7 @@ var MatchedOffersApi = (function () {
|
|
|
732
868
|
MatchedOffersApi.prototype.matchedOffersControllerGenerateoffernumber = function (id, account, options) {
|
|
733
869
|
if (options === void 0) { options = { headers: {} }; }
|
|
734
870
|
return __awaiter(this, void 0, void 0, function () {
|
|
735
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
871
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_12, _i, _a, interceptor;
|
|
736
872
|
var _this = this;
|
|
737
873
|
return __generator(this, function (_b) {
|
|
738
874
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/generate/number'
|
|
@@ -760,12 +896,12 @@ var MatchedOffersApi = (function () {
|
|
|
760
896
|
authenticationPromise = Promise.resolve();
|
|
761
897
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
762
898
|
interceptorPromise = authenticationPromise;
|
|
763
|
-
|
|
899
|
+
_loop_12 = function (interceptor) {
|
|
764
900
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
765
901
|
};
|
|
766
902
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
767
903
|
interceptor = _a[_i];
|
|
768
|
-
|
|
904
|
+
_loop_12(interceptor);
|
|
769
905
|
}
|
|
770
906
|
return [2, interceptorPromise.then(function () {
|
|
771
907
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -798,7 +934,7 @@ var MatchedOffersApi = (function () {
|
|
|
798
934
|
MatchedOffersApi.prototype.matchedOffersControllerLogview = function (id, account, body, options) {
|
|
799
935
|
if (options === void 0) { options = { headers: {} }; }
|
|
800
936
|
return __awaiter(this, void 0, void 0, function () {
|
|
801
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
937
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_13, _i, _a, interceptor;
|
|
802
938
|
var _this = this;
|
|
803
939
|
return __generator(this, function (_b) {
|
|
804
940
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/view'
|
|
@@ -830,12 +966,12 @@ var MatchedOffersApi = (function () {
|
|
|
830
966
|
authenticationPromise = Promise.resolve();
|
|
831
967
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
832
968
|
interceptorPromise = authenticationPromise;
|
|
833
|
-
|
|
969
|
+
_loop_13 = function (interceptor) {
|
|
834
970
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
835
971
|
};
|
|
836
972
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
837
973
|
interceptor = _a[_i];
|
|
838
|
-
|
|
974
|
+
_loop_13(interceptor);
|
|
839
975
|
}
|
|
840
976
|
return [2, interceptorPromise.then(function () {
|
|
841
977
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -868,7 +1004,7 @@ var MatchedOffersApi = (function () {
|
|
|
868
1004
|
MatchedOffersApi.prototype.matchedOffersControllerRemove = function (id, account, options) {
|
|
869
1005
|
if (options === void 0) { options = { headers: {} }; }
|
|
870
1006
|
return __awaiter(this, void 0, void 0, function () {
|
|
871
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1007
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_14, _i, _a, interceptor;
|
|
872
1008
|
var _this = this;
|
|
873
1009
|
return __generator(this, function (_b) {
|
|
874
1010
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}'
|
|
@@ -896,12 +1032,12 @@ var MatchedOffersApi = (function () {
|
|
|
896
1032
|
authenticationPromise = Promise.resolve();
|
|
897
1033
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
898
1034
|
interceptorPromise = authenticationPromise;
|
|
899
|
-
|
|
1035
|
+
_loop_14 = function (interceptor) {
|
|
900
1036
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
901
1037
|
};
|
|
902
1038
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
903
1039
|
interceptor = _a[_i];
|
|
904
|
-
|
|
1040
|
+
_loop_14(interceptor);
|
|
905
1041
|
}
|
|
906
1042
|
return [2, interceptorPromise.then(function () {
|
|
907
1043
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -934,7 +1070,7 @@ var MatchedOffersApi = (function () {
|
|
|
934
1070
|
MatchedOffersApi.prototype.matchedOffersControllerRemovepin = function (id, account, pinActionDto, options) {
|
|
935
1071
|
if (options === void 0) { options = { headers: {} }; }
|
|
936
1072
|
return __awaiter(this, void 0, void 0, function () {
|
|
937
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1073
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_15, _i, _a, interceptor;
|
|
938
1074
|
var _this = this;
|
|
939
1075
|
return __generator(this, function (_b) {
|
|
940
1076
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/unpin'
|
|
@@ -966,12 +1102,12 @@ var MatchedOffersApi = (function () {
|
|
|
966
1102
|
authenticationPromise = Promise.resolve();
|
|
967
1103
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
968
1104
|
interceptorPromise = authenticationPromise;
|
|
969
|
-
|
|
1105
|
+
_loop_15 = function (interceptor) {
|
|
970
1106
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
971
1107
|
};
|
|
972
1108
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
973
1109
|
interceptor = _a[_i];
|
|
974
|
-
|
|
1110
|
+
_loop_15(interceptor);
|
|
975
1111
|
}
|
|
976
1112
|
return [2, interceptorPromise.then(function () {
|
|
977
1113
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1004,7 +1140,7 @@ var MatchedOffersApi = (function () {
|
|
|
1004
1140
|
MatchedOffersApi.prototype.matchedOffersControllerReopen = function (id, account, options) {
|
|
1005
1141
|
if (options === void 0) { options = { headers: {} }; }
|
|
1006
1142
|
return __awaiter(this, void 0, void 0, function () {
|
|
1007
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1143
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_16, _i, _a, interceptor;
|
|
1008
1144
|
var _this = this;
|
|
1009
1145
|
return __generator(this, function (_b) {
|
|
1010
1146
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/reopen'
|
|
@@ -1032,12 +1168,12 @@ var MatchedOffersApi = (function () {
|
|
|
1032
1168
|
authenticationPromise = Promise.resolve();
|
|
1033
1169
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1034
1170
|
interceptorPromise = authenticationPromise;
|
|
1035
|
-
|
|
1171
|
+
_loop_16 = function (interceptor) {
|
|
1036
1172
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1037
1173
|
};
|
|
1038
1174
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1039
1175
|
interceptor = _a[_i];
|
|
1040
|
-
|
|
1176
|
+
_loop_16(interceptor);
|
|
1041
1177
|
}
|
|
1042
1178
|
return [2, interceptorPromise.then(function () {
|
|
1043
1179
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1070,7 +1206,7 @@ var MatchedOffersApi = (function () {
|
|
|
1070
1206
|
MatchedOffersApi.prototype.matchedOffersControllerSetconfirmindex = function (id, account, body, options) {
|
|
1071
1207
|
if (options === void 0) { options = { headers: {} }; }
|
|
1072
1208
|
return __awaiter(this, void 0, void 0, function () {
|
|
1073
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1209
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_17, _i, _a, interceptor;
|
|
1074
1210
|
var _this = this;
|
|
1075
1211
|
return __generator(this, function (_b) {
|
|
1076
1212
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/confirm/index'
|
|
@@ -1102,12 +1238,12 @@ var MatchedOffersApi = (function () {
|
|
|
1102
1238
|
authenticationPromise = Promise.resolve();
|
|
1103
1239
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1104
1240
|
interceptorPromise = authenticationPromise;
|
|
1105
|
-
|
|
1241
|
+
_loop_17 = function (interceptor) {
|
|
1106
1242
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1107
1243
|
};
|
|
1108
1244
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1109
1245
|
interceptor = _a[_i];
|
|
1110
|
-
|
|
1246
|
+
_loop_17(interceptor);
|
|
1111
1247
|
}
|
|
1112
1248
|
return [2, interceptorPromise.then(function () {
|
|
1113
1249
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1140,7 +1276,7 @@ var MatchedOffersApi = (function () {
|
|
|
1140
1276
|
MatchedOffersApi.prototype.matchedOffersControllerTotal = function (account, body, options) {
|
|
1141
1277
|
if (options === void 0) { options = { headers: {} }; }
|
|
1142
1278
|
return __awaiter(this, void 0, void 0, function () {
|
|
1143
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1279
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_18, _i, _a, interceptor;
|
|
1144
1280
|
var _this = this;
|
|
1145
1281
|
return __generator(this, function (_b) {
|
|
1146
1282
|
localVarPath = this.basePath + '/matched-offers/{account}/total'
|
|
@@ -1168,12 +1304,12 @@ var MatchedOffersApi = (function () {
|
|
|
1168
1304
|
authenticationPromise = Promise.resolve();
|
|
1169
1305
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1170
1306
|
interceptorPromise = authenticationPromise;
|
|
1171
|
-
|
|
1307
|
+
_loop_18 = function (interceptor) {
|
|
1172
1308
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1173
1309
|
};
|
|
1174
1310
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1175
1311
|
interceptor = _a[_i];
|
|
1176
|
-
|
|
1312
|
+
_loop_18(interceptor);
|
|
1177
1313
|
}
|
|
1178
1314
|
return [2, interceptorPromise.then(function () {
|
|
1179
1315
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1206,7 +1342,7 @@ var MatchedOffersApi = (function () {
|
|
|
1206
1342
|
MatchedOffersApi.prototype.matchedOffersControllerUpdate = function (id, account, body, options) {
|
|
1207
1343
|
if (options === void 0) { options = { headers: {} }; }
|
|
1208
1344
|
return __awaiter(this, void 0, void 0, function () {
|
|
1209
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1345
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_19, _i, _a, interceptor;
|
|
1210
1346
|
var _this = this;
|
|
1211
1347
|
return __generator(this, function (_b) {
|
|
1212
1348
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}'
|
|
@@ -1238,12 +1374,12 @@ var MatchedOffersApi = (function () {
|
|
|
1238
1374
|
authenticationPromise = Promise.resolve();
|
|
1239
1375
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1240
1376
|
interceptorPromise = authenticationPromise;
|
|
1241
|
-
|
|
1377
|
+
_loop_19 = function (interceptor) {
|
|
1242
1378
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1243
1379
|
};
|
|
1244
1380
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1245
1381
|
interceptor = _a[_i];
|
|
1246
|
-
|
|
1382
|
+
_loop_19(interceptor);
|
|
1247
1383
|
}
|
|
1248
1384
|
return [2, interceptorPromise.then(function () {
|
|
1249
1385
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1276,7 +1412,7 @@ var MatchedOffersApi = (function () {
|
|
|
1276
1412
|
MatchedOffersApi.prototype.matchedOffersControllerUpdatestatus = function (account, body, options) {
|
|
1277
1413
|
if (options === void 0) { options = { headers: {} }; }
|
|
1278
1414
|
return __awaiter(this, void 0, void 0, function () {
|
|
1279
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1415
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_20, _i, _a, interceptor;
|
|
1280
1416
|
var _this = this;
|
|
1281
1417
|
return __generator(this, function (_b) {
|
|
1282
1418
|
localVarPath = this.basePath + '/matched-offers/{account}/status'
|
|
@@ -1304,12 +1440,12 @@ var MatchedOffersApi = (function () {
|
|
|
1304
1440
|
authenticationPromise = Promise.resolve();
|
|
1305
1441
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1306
1442
|
interceptorPromise = authenticationPromise;
|
|
1307
|
-
|
|
1443
|
+
_loop_20 = function (interceptor) {
|
|
1308
1444
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1309
1445
|
};
|
|
1310
1446
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1311
1447
|
interceptor = _a[_i];
|
|
1312
|
-
|
|
1448
|
+
_loop_20(interceptor);
|
|
1313
1449
|
}
|
|
1314
1450
|
return [2, interceptorPromise.then(function () {
|
|
1315
1451
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1342,7 +1478,7 @@ var MatchedOffersApi = (function () {
|
|
|
1342
1478
|
MatchedOffersApi.prototype.matchedOffersControllerValidatestatus = function (account, body, options) {
|
|
1343
1479
|
if (options === void 0) { options = { headers: {} }; }
|
|
1344
1480
|
return __awaiter(this, void 0, void 0, function () {
|
|
1345
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1481
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_21, _i, _a, interceptor;
|
|
1346
1482
|
var _this = this;
|
|
1347
1483
|
return __generator(this, function (_b) {
|
|
1348
1484
|
localVarPath = this.basePath + '/matched-offers/{account}/status/validate'
|
|
@@ -1370,12 +1506,12 @@ var MatchedOffersApi = (function () {
|
|
|
1370
1506
|
authenticationPromise = Promise.resolve();
|
|
1371
1507
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1372
1508
|
interceptorPromise = authenticationPromise;
|
|
1373
|
-
|
|
1509
|
+
_loop_21 = function (interceptor) {
|
|
1374
1510
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1375
1511
|
};
|
|
1376
1512
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1377
1513
|
interceptor = _a[_i];
|
|
1378
|
-
|
|
1514
|
+
_loop_21(interceptor);
|
|
1379
1515
|
}
|
|
1380
1516
|
return [2, interceptorPromise.then(function () {
|
|
1381
1517
|
if (Object.keys(localVarFormParams).length) {
|