@tradecafe/offer-service-sdk 0.0.49 → 0.0.51
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 +9 -0
- package/api/matchedOffersApi.ts +69 -0
- package/dist/api/matchedOffersApi.d.ts +9 -0
- package/dist/api/matchedOffersApi.js +120 -54
- package/dist/api/matchedOffersApi.js.map +1 -1
- package/dist/model/associatedCostDto.d.ts +16 -0
- package/dist/model/associatedCostDto.js +31 -0
- package/dist/model/associatedCostDto.js.map +1 -0
- 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/costAmountDto.d.ts +3 -0
- package/dist/model/costAmountDto.js +15 -0
- package/dist/model/costAmountDto.js.map +1 -1
- package/dist/model/costAttributesDto.d.ts +32 -0
- package/dist/model/costAttributesDto.js +101 -0
- package/dist/model/costAttributesDto.js.map +1 -0
- package/dist/model/costAttributesDtoAssociated.d.ts +16 -0
- package/dist/model/costAttributesDtoAssociated.js +31 -0
- package/dist/model/costAttributesDtoAssociated.js.map +1 -0
- package/dist/model/costAttributesDtoDefaultCost.d.ts +18 -0
- package/dist/model/costAttributesDtoDefaultCost.js +41 -0
- package/dist/model/costAttributesDtoDefaultCost.js.map +1 -0
- package/dist/model/costDto.d.ts +15 -1
- package/dist/model/costDto.js +61 -1
- package/dist/model/costDto.js.map +1 -1
- package/dist/model/costDtoAmount.d.ts +17 -0
- package/dist/model/costDtoAmount.js +36 -0
- package/dist/model/costDtoAmount.js.map +1 -0
- package/dist/model/costDtoAttributes.d.ts +32 -0
- package/dist/model/costDtoAttributes.js +101 -0
- package/dist/model/costDtoAttributes.js.map +1 -0
- package/dist/model/costDtoSource.d.ts +2 -1
- package/dist/model/costDtoSource.js +8 -3
- package/dist/model/costDtoSource.js.map +1 -1
- package/dist/model/costSourceDto.d.ts +15 -0
- package/dist/model/costSourceDto.js +26 -0
- package/dist/model/costSourceDto.js.map +1 -0
- package/dist/model/defaultCostDto.d.ts +18 -0
- package/dist/model/defaultCostDto.js +41 -0
- package/dist/model/defaultCostDto.js.map +1 -0
- package/dist/model/models.d.ts +9 -0
- package/dist/model/models.js +27 -0
- package/dist/model/models.js.map +1 -1
- package/model/associatedCostDto.ts +52 -0
- package/model/bulkChangeFreightRatesDto.ts +56 -0
- package/model/costAmountDto.ts +28 -1
- package/model/costAttributesDto.ts +174 -0
- package/model/costAttributesDtoAssociated.ts +56 -0
- package/model/costAttributesDtoDefaultCost.ts +74 -0
- package/model/costDto.ts +110 -6
- package/model/costDtoAmount.ts +65 -0
- package/model/costDtoAttributes.ts +178 -0
- package/model/costDtoSource.ts +16 -7
- package/model/costSourceDto.ts +43 -0
- package/model/defaultCostDto.ts +70 -0
- package/model/models.ts +27 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -10,13 +10,21 @@ api/offersApi.ts
|
|
|
10
10
|
git_push.sh
|
|
11
11
|
model/addFutureBidDto.ts
|
|
12
12
|
model/addMatchedDeliveryDateDto.ts
|
|
13
|
+
model/associatedCostDto.ts
|
|
13
14
|
model/bulkAddRelistingDto.ts
|
|
14
15
|
model/bulkAddTertiaryCostsDto.ts
|
|
16
|
+
model/bulkChangeFreightRatesDto.ts
|
|
15
17
|
model/bulkUpdateDeliveryDatesDto.ts
|
|
16
18
|
model/bulkUpdateMatchedDeliveryDatesDto.ts
|
|
17
19
|
model/costAmountDto.ts
|
|
20
|
+
model/costAttributesDto.ts
|
|
21
|
+
model/costAttributesDtoAssociated.ts
|
|
22
|
+
model/costAttributesDtoDefaultCost.ts
|
|
18
23
|
model/costDto.ts
|
|
24
|
+
model/costDtoAmount.ts
|
|
25
|
+
model/costDtoAttributes.ts
|
|
19
26
|
model/costDtoSource.ts
|
|
27
|
+
model/costSourceDto.ts
|
|
20
28
|
model/createAutomatedOfferDto.ts
|
|
21
29
|
model/createMatchedOfferDto.ts
|
|
22
30
|
model/createMatchedOfferDtoAttributes.ts
|
|
@@ -25,6 +33,7 @@ model/createOfferDtoAttributes.ts
|
|
|
25
33
|
model/createOfferDtoFormula.ts
|
|
26
34
|
model/createOfferDtoPacking.ts
|
|
27
35
|
model/createOfferDtoWeight.ts
|
|
36
|
+
model/defaultCostDto.ts
|
|
28
37
|
model/formulaDto.ts
|
|
29
38
|
model/formulaLineDto.ts
|
|
30
39
|
model/generalAddressDto.ts
|
package/api/matchedOffersApi.ts
CHANGED
|
@@ -16,6 +16,7 @@ import http from 'http';
|
|
|
16
16
|
|
|
17
17
|
/* tslint:disable:no-unused-locals */
|
|
18
18
|
import { BulkAddTertiaryCostsDto } from '../model/bulkAddTertiaryCostsDto';
|
|
19
|
+
import { BulkChangeFreightRatesDto } from '../model/bulkChangeFreightRatesDto';
|
|
19
20
|
import { BulkUpdateDeliveryDatesDto } from '../model/bulkUpdateDeliveryDatesDto';
|
|
20
21
|
import { CreateMatchedOfferDto } from '../model/createMatchedOfferDto';
|
|
21
22
|
import { PinActionDto } from '../model/pinActionDto';
|
|
@@ -321,6 +322,74 @@ export class MatchedOffersApi {
|
|
|
321
322
|
});
|
|
322
323
|
});
|
|
323
324
|
}
|
|
325
|
+
/**
|
|
326
|
+
*
|
|
327
|
+
* @summary Changes freight rates for multiple matched offers in a single operation
|
|
328
|
+
* @param account
|
|
329
|
+
* @param bulkChangeFreightRatesDto
|
|
330
|
+
*/
|
|
331
|
+
public async matchedOffersControllerBulkchangefreightrates (account: string, bulkChangeFreightRatesDto: BulkChangeFreightRatesDto, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body?: any; }> {
|
|
332
|
+
const localVarPath = this.basePath + '/matched-offers/{account}/bulk/freight-rates'
|
|
333
|
+
.replace('{' + 'account' + '}', encodeURIComponent(String(account)));
|
|
334
|
+
let localVarQueryParameters: any = {};
|
|
335
|
+
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
336
|
+
let localVarFormParams: any = {};
|
|
337
|
+
|
|
338
|
+
// verify required parameter 'account' is not null or undefined
|
|
339
|
+
if (account === null || account === undefined) {
|
|
340
|
+
throw new Error('Required parameter account was null or undefined when calling matchedOffersControllerBulkchangefreightrates.');
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
// verify required parameter 'bulkChangeFreightRatesDto' is not null or undefined
|
|
344
|
+
if (bulkChangeFreightRatesDto === null || bulkChangeFreightRatesDto === undefined) {
|
|
345
|
+
throw new Error('Required parameter bulkChangeFreightRatesDto was null or undefined when calling matchedOffersControllerBulkchangefreightrates.');
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
349
|
+
|
|
350
|
+
let localVarUseFormData = false;
|
|
351
|
+
|
|
352
|
+
let localVarRequestOptions: localVarRequest.Options = {
|
|
353
|
+
method: 'PUT',
|
|
354
|
+
qs: localVarQueryParameters,
|
|
355
|
+
headers: localVarHeaderParams,
|
|
356
|
+
uri: localVarPath,
|
|
357
|
+
useQuerystring: this._useQuerystring,
|
|
358
|
+
json: true,
|
|
359
|
+
body: ObjectSerializer.serialize(bulkChangeFreightRatesDto, "BulkChangeFreightRatesDto")
|
|
360
|
+
};
|
|
361
|
+
|
|
362
|
+
let authenticationPromise = Promise.resolve();
|
|
363
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
364
|
+
|
|
365
|
+
let interceptorPromise = authenticationPromise;
|
|
366
|
+
for (const interceptor of this.interceptors) {
|
|
367
|
+
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
return interceptorPromise.then(() => {
|
|
371
|
+
if (Object.keys(localVarFormParams).length) {
|
|
372
|
+
if (localVarUseFormData) {
|
|
373
|
+
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
374
|
+
} else {
|
|
375
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
return new Promise<{ response: http.IncomingMessage; body?: any; }>((resolve, reject) => {
|
|
379
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
380
|
+
if (error) {
|
|
381
|
+
reject(error);
|
|
382
|
+
} else {
|
|
383
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
384
|
+
resolve({ response: response, body: body });
|
|
385
|
+
} else {
|
|
386
|
+
reject(new HttpError(response, body, response.statusCode));
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
});
|
|
390
|
+
});
|
|
391
|
+
});
|
|
392
|
+
}
|
|
324
393
|
/**
|
|
325
394
|
*
|
|
326
395
|
* @summary Updates delivery dates on multiple matched offers in a single operation
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import http from 'http';
|
|
3
3
|
import { BulkAddTertiaryCostsDto } from '../model/bulkAddTertiaryCostsDto';
|
|
4
|
+
import { BulkChangeFreightRatesDto } from '../model/bulkChangeFreightRatesDto';
|
|
4
5
|
import { BulkUpdateDeliveryDatesDto } from '../model/bulkUpdateDeliveryDatesDto';
|
|
5
6
|
import { CreateMatchedOfferDto } from '../model/createMatchedOfferDto';
|
|
6
7
|
import { PinActionDto } from '../model/pinActionDto';
|
|
@@ -48,6 +49,14 @@ export declare class MatchedOffersApi {
|
|
|
48
49
|
response: http.IncomingMessage;
|
|
49
50
|
body?: any;
|
|
50
51
|
}>;
|
|
52
|
+
matchedOffersControllerBulkchangefreightrates(account: string, bulkChangeFreightRatesDto: BulkChangeFreightRatesDto, options?: {
|
|
53
|
+
headers: {
|
|
54
|
+
[name: string]: string;
|
|
55
|
+
};
|
|
56
|
+
}): Promise<{
|
|
57
|
+
response: http.IncomingMessage;
|
|
58
|
+
body?: any;
|
|
59
|
+
}>;
|
|
51
60
|
matchedOffersControllerBulkupdatedeliverydates(account: string, bulkUpdateDeliveryDatesDto: BulkUpdateDeliveryDatesDto, options?: {
|
|
52
61
|
headers: {
|
|
53
62
|
[name: string]: string;
|
|
@@ -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,12 @@ 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);
|
|
357
423
|
}
|
|
358
424
|
return [2, interceptorPromise.then(function () {
|
|
359
425
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -386,7 +452,7 @@ var MatchedOffersApi = (function () {
|
|
|
386
452
|
MatchedOffersApi.prototype.matchedOffersControllerCountsbystatus = function (account, options) {
|
|
387
453
|
if (options === void 0) { options = { headers: {} }; }
|
|
388
454
|
return __awaiter(this, void 0, void 0, function () {
|
|
389
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
455
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_6, _i, _a, interceptor;
|
|
390
456
|
var _this = this;
|
|
391
457
|
return __generator(this, function (_b) {
|
|
392
458
|
localVarPath = this.basePath + '/matched-offers/{account}/counts-by-status'
|
|
@@ -410,12 +476,12 @@ var MatchedOffersApi = (function () {
|
|
|
410
476
|
authenticationPromise = Promise.resolve();
|
|
411
477
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
412
478
|
interceptorPromise = authenticationPromise;
|
|
413
|
-
|
|
479
|
+
_loop_6 = function (interceptor) {
|
|
414
480
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
415
481
|
};
|
|
416
482
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
417
483
|
interceptor = _a[_i];
|
|
418
|
-
|
|
484
|
+
_loop_6(interceptor);
|
|
419
485
|
}
|
|
420
486
|
return [2, interceptorPromise.then(function () {
|
|
421
487
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -448,7 +514,7 @@ var MatchedOffersApi = (function () {
|
|
|
448
514
|
MatchedOffersApi.prototype.matchedOffersControllerCreate = function (account, createMatchedOfferDto, options) {
|
|
449
515
|
if (options === void 0) { options = { headers: {} }; }
|
|
450
516
|
return __awaiter(this, void 0, void 0, function () {
|
|
451
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
517
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_7, _i, _a, interceptor;
|
|
452
518
|
var _this = this;
|
|
453
519
|
return __generator(this, function (_b) {
|
|
454
520
|
localVarPath = this.basePath + '/matched-offers/{account}'
|
|
@@ -476,12 +542,12 @@ var MatchedOffersApi = (function () {
|
|
|
476
542
|
authenticationPromise = Promise.resolve();
|
|
477
543
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
478
544
|
interceptorPromise = authenticationPromise;
|
|
479
|
-
|
|
545
|
+
_loop_7 = function (interceptor) {
|
|
480
546
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
481
547
|
};
|
|
482
548
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
483
549
|
interceptor = _a[_i];
|
|
484
|
-
|
|
550
|
+
_loop_7(interceptor);
|
|
485
551
|
}
|
|
486
552
|
return [2, interceptorPromise.then(function () {
|
|
487
553
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -514,7 +580,7 @@ var MatchedOffersApi = (function () {
|
|
|
514
580
|
MatchedOffersApi.prototype.matchedOffersControllerDeletebid = function (id, userId, account, options) {
|
|
515
581
|
if (options === void 0) { options = { headers: {} }; }
|
|
516
582
|
return __awaiter(this, void 0, void 0, function () {
|
|
517
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
583
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_8, _i, _a, interceptor;
|
|
518
584
|
var _this = this;
|
|
519
585
|
return __generator(this, function (_b) {
|
|
520
586
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/{userId}/bid'
|
|
@@ -546,12 +612,12 @@ var MatchedOffersApi = (function () {
|
|
|
546
612
|
authenticationPromise = Promise.resolve();
|
|
547
613
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
548
614
|
interceptorPromise = authenticationPromise;
|
|
549
|
-
|
|
615
|
+
_loop_8 = function (interceptor) {
|
|
550
616
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
551
617
|
};
|
|
552
618
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
553
619
|
interceptor = _a[_i];
|
|
554
|
-
|
|
620
|
+
_loop_8(interceptor);
|
|
555
621
|
}
|
|
556
622
|
return [2, interceptorPromise.then(function () {
|
|
557
623
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -584,7 +650,7 @@ var MatchedOffersApi = (function () {
|
|
|
584
650
|
MatchedOffersApi.prototype.matchedOffersControllerFilter = function (account, skip, limit, sort, fields, body, options) {
|
|
585
651
|
if (options === void 0) { options = { headers: {} }; }
|
|
586
652
|
return __awaiter(this, void 0, void 0, function () {
|
|
587
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
653
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_9, _i, _a, interceptor;
|
|
588
654
|
var _this = this;
|
|
589
655
|
return __generator(this, function (_b) {
|
|
590
656
|
localVarPath = this.basePath + '/matched-offers/{account}/search'
|
|
@@ -621,12 +687,12 @@ var MatchedOffersApi = (function () {
|
|
|
621
687
|
authenticationPromise = Promise.resolve();
|
|
622
688
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
623
689
|
interceptorPromise = authenticationPromise;
|
|
624
|
-
|
|
690
|
+
_loop_9 = function (interceptor) {
|
|
625
691
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
626
692
|
};
|
|
627
693
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
628
694
|
interceptor = _a[_i];
|
|
629
|
-
|
|
695
|
+
_loop_9(interceptor);
|
|
630
696
|
}
|
|
631
697
|
return [2, interceptorPromise.then(function () {
|
|
632
698
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -659,7 +725,7 @@ var MatchedOffersApi = (function () {
|
|
|
659
725
|
MatchedOffersApi.prototype.matchedOffersControllerFindall = function (account, createMatchedOfferDto, skip, limit, sort, fields, options) {
|
|
660
726
|
if (options === void 0) { options = { headers: {} }; }
|
|
661
727
|
return __awaiter(this, void 0, void 0, function () {
|
|
662
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
728
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_10, _i, _a, interceptor;
|
|
663
729
|
var _this = this;
|
|
664
730
|
return __generator(this, function (_b) {
|
|
665
731
|
localVarPath = this.basePath + '/matched-offers/{account}'
|
|
@@ -699,12 +765,12 @@ var MatchedOffersApi = (function () {
|
|
|
699
765
|
authenticationPromise = Promise.resolve();
|
|
700
766
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
701
767
|
interceptorPromise = authenticationPromise;
|
|
702
|
-
|
|
768
|
+
_loop_10 = function (interceptor) {
|
|
703
769
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
704
770
|
};
|
|
705
771
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
706
772
|
interceptor = _a[_i];
|
|
707
|
-
|
|
773
|
+
_loop_10(interceptor);
|
|
708
774
|
}
|
|
709
775
|
return [2, interceptorPromise.then(function () {
|
|
710
776
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -737,7 +803,7 @@ var MatchedOffersApi = (function () {
|
|
|
737
803
|
MatchedOffersApi.prototype.matchedOffersControllerFindcountries = function (account, options) {
|
|
738
804
|
if (options === void 0) { options = { headers: {} }; }
|
|
739
805
|
return __awaiter(this, void 0, void 0, function () {
|
|
740
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
806
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_11, _i, _a, interceptor;
|
|
741
807
|
var _this = this;
|
|
742
808
|
return __generator(this, function (_b) {
|
|
743
809
|
localVarPath = this.basePath + '/matched-offers/{account}/countries'
|
|
@@ -761,12 +827,12 @@ var MatchedOffersApi = (function () {
|
|
|
761
827
|
authenticationPromise = Promise.resolve();
|
|
762
828
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
763
829
|
interceptorPromise = authenticationPromise;
|
|
764
|
-
|
|
830
|
+
_loop_11 = function (interceptor) {
|
|
765
831
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
766
832
|
};
|
|
767
833
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
768
834
|
interceptor = _a[_i];
|
|
769
|
-
|
|
835
|
+
_loop_11(interceptor);
|
|
770
836
|
}
|
|
771
837
|
return [2, interceptorPromise.then(function () {
|
|
772
838
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -799,7 +865,7 @@ var MatchedOffersApi = (function () {
|
|
|
799
865
|
MatchedOffersApi.prototype.matchedOffersControllerFindone = function (id, account, fields, options) {
|
|
800
866
|
if (options === void 0) { options = { headers: {} }; }
|
|
801
867
|
return __awaiter(this, void 0, void 0, function () {
|
|
802
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
868
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_12, _i, _a, interceptor;
|
|
803
869
|
var _this = this;
|
|
804
870
|
return __generator(this, function (_b) {
|
|
805
871
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}'
|
|
@@ -830,12 +896,12 @@ var MatchedOffersApi = (function () {
|
|
|
830
896
|
authenticationPromise = Promise.resolve();
|
|
831
897
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
832
898
|
interceptorPromise = authenticationPromise;
|
|
833
|
-
|
|
899
|
+
_loop_12 = function (interceptor) {
|
|
834
900
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
835
901
|
};
|
|
836
902
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
837
903
|
interceptor = _a[_i];
|
|
838
|
-
|
|
904
|
+
_loop_12(interceptor);
|
|
839
905
|
}
|
|
840
906
|
return [2, interceptorPromise.then(function () {
|
|
841
907
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -868,7 +934,7 @@ var MatchedOffersApi = (function () {
|
|
|
868
934
|
MatchedOffersApi.prototype.matchedOffersControllerGenerateoffernumber = function (id, account, options) {
|
|
869
935
|
if (options === void 0) { options = { headers: {} }; }
|
|
870
936
|
return __awaiter(this, void 0, void 0, function () {
|
|
871
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
937
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_13, _i, _a, interceptor;
|
|
872
938
|
var _this = this;
|
|
873
939
|
return __generator(this, function (_b) {
|
|
874
940
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/generate/number'
|
|
@@ -896,12 +962,12 @@ var MatchedOffersApi = (function () {
|
|
|
896
962
|
authenticationPromise = Promise.resolve();
|
|
897
963
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
898
964
|
interceptorPromise = authenticationPromise;
|
|
899
|
-
|
|
965
|
+
_loop_13 = function (interceptor) {
|
|
900
966
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
901
967
|
};
|
|
902
968
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
903
969
|
interceptor = _a[_i];
|
|
904
|
-
|
|
970
|
+
_loop_13(interceptor);
|
|
905
971
|
}
|
|
906
972
|
return [2, interceptorPromise.then(function () {
|
|
907
973
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -934,7 +1000,7 @@ var MatchedOffersApi = (function () {
|
|
|
934
1000
|
MatchedOffersApi.prototype.matchedOffersControllerLogview = function (id, account, body, options) {
|
|
935
1001
|
if (options === void 0) { options = { headers: {} }; }
|
|
936
1002
|
return __awaiter(this, void 0, void 0, function () {
|
|
937
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1003
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_14, _i, _a, interceptor;
|
|
938
1004
|
var _this = this;
|
|
939
1005
|
return __generator(this, function (_b) {
|
|
940
1006
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/view'
|
|
@@ -966,12 +1032,12 @@ var MatchedOffersApi = (function () {
|
|
|
966
1032
|
authenticationPromise = Promise.resolve();
|
|
967
1033
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
968
1034
|
interceptorPromise = authenticationPromise;
|
|
969
|
-
|
|
1035
|
+
_loop_14 = function (interceptor) {
|
|
970
1036
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
971
1037
|
};
|
|
972
1038
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
973
1039
|
interceptor = _a[_i];
|
|
974
|
-
|
|
1040
|
+
_loop_14(interceptor);
|
|
975
1041
|
}
|
|
976
1042
|
return [2, interceptorPromise.then(function () {
|
|
977
1043
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1004,7 +1070,7 @@ var MatchedOffersApi = (function () {
|
|
|
1004
1070
|
MatchedOffersApi.prototype.matchedOffersControllerRemove = function (id, account, options) {
|
|
1005
1071
|
if (options === void 0) { options = { headers: {} }; }
|
|
1006
1072
|
return __awaiter(this, void 0, void 0, function () {
|
|
1007
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1073
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_15, _i, _a, interceptor;
|
|
1008
1074
|
var _this = this;
|
|
1009
1075
|
return __generator(this, function (_b) {
|
|
1010
1076
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}'
|
|
@@ -1032,12 +1098,12 @@ var MatchedOffersApi = (function () {
|
|
|
1032
1098
|
authenticationPromise = Promise.resolve();
|
|
1033
1099
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1034
1100
|
interceptorPromise = authenticationPromise;
|
|
1035
|
-
|
|
1101
|
+
_loop_15 = function (interceptor) {
|
|
1036
1102
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1037
1103
|
};
|
|
1038
1104
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1039
1105
|
interceptor = _a[_i];
|
|
1040
|
-
|
|
1106
|
+
_loop_15(interceptor);
|
|
1041
1107
|
}
|
|
1042
1108
|
return [2, interceptorPromise.then(function () {
|
|
1043
1109
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1070,7 +1136,7 @@ var MatchedOffersApi = (function () {
|
|
|
1070
1136
|
MatchedOffersApi.prototype.matchedOffersControllerRemovepin = function (id, account, pinActionDto, options) {
|
|
1071
1137
|
if (options === void 0) { options = { headers: {} }; }
|
|
1072
1138
|
return __awaiter(this, void 0, void 0, function () {
|
|
1073
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1139
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_16, _i, _a, interceptor;
|
|
1074
1140
|
var _this = this;
|
|
1075
1141
|
return __generator(this, function (_b) {
|
|
1076
1142
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/unpin'
|
|
@@ -1102,12 +1168,12 @@ var MatchedOffersApi = (function () {
|
|
|
1102
1168
|
authenticationPromise = Promise.resolve();
|
|
1103
1169
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1104
1170
|
interceptorPromise = authenticationPromise;
|
|
1105
|
-
|
|
1171
|
+
_loop_16 = function (interceptor) {
|
|
1106
1172
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1107
1173
|
};
|
|
1108
1174
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1109
1175
|
interceptor = _a[_i];
|
|
1110
|
-
|
|
1176
|
+
_loop_16(interceptor);
|
|
1111
1177
|
}
|
|
1112
1178
|
return [2, interceptorPromise.then(function () {
|
|
1113
1179
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1140,7 +1206,7 @@ var MatchedOffersApi = (function () {
|
|
|
1140
1206
|
MatchedOffersApi.prototype.matchedOffersControllerReopen = function (id, account, options) {
|
|
1141
1207
|
if (options === void 0) { options = { headers: {} }; }
|
|
1142
1208
|
return __awaiter(this, void 0, void 0, function () {
|
|
1143
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1209
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_17, _i, _a, interceptor;
|
|
1144
1210
|
var _this = this;
|
|
1145
1211
|
return __generator(this, function (_b) {
|
|
1146
1212
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/reopen'
|
|
@@ -1168,12 +1234,12 @@ var MatchedOffersApi = (function () {
|
|
|
1168
1234
|
authenticationPromise = Promise.resolve();
|
|
1169
1235
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1170
1236
|
interceptorPromise = authenticationPromise;
|
|
1171
|
-
|
|
1237
|
+
_loop_17 = function (interceptor) {
|
|
1172
1238
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1173
1239
|
};
|
|
1174
1240
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1175
1241
|
interceptor = _a[_i];
|
|
1176
|
-
|
|
1242
|
+
_loop_17(interceptor);
|
|
1177
1243
|
}
|
|
1178
1244
|
return [2, interceptorPromise.then(function () {
|
|
1179
1245
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1206,7 +1272,7 @@ var MatchedOffersApi = (function () {
|
|
|
1206
1272
|
MatchedOffersApi.prototype.matchedOffersControllerSetconfirmindex = function (id, account, body, options) {
|
|
1207
1273
|
if (options === void 0) { options = { headers: {} }; }
|
|
1208
1274
|
return __awaiter(this, void 0, void 0, function () {
|
|
1209
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1275
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_18, _i, _a, interceptor;
|
|
1210
1276
|
var _this = this;
|
|
1211
1277
|
return __generator(this, function (_b) {
|
|
1212
1278
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}/confirm/index'
|
|
@@ -1238,12 +1304,12 @@ var MatchedOffersApi = (function () {
|
|
|
1238
1304
|
authenticationPromise = Promise.resolve();
|
|
1239
1305
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1240
1306
|
interceptorPromise = authenticationPromise;
|
|
1241
|
-
|
|
1307
|
+
_loop_18 = function (interceptor) {
|
|
1242
1308
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1243
1309
|
};
|
|
1244
1310
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1245
1311
|
interceptor = _a[_i];
|
|
1246
|
-
|
|
1312
|
+
_loop_18(interceptor);
|
|
1247
1313
|
}
|
|
1248
1314
|
return [2, interceptorPromise.then(function () {
|
|
1249
1315
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1276,7 +1342,7 @@ var MatchedOffersApi = (function () {
|
|
|
1276
1342
|
MatchedOffersApi.prototype.matchedOffersControllerTotal = function (account, body, options) {
|
|
1277
1343
|
if (options === void 0) { options = { headers: {} }; }
|
|
1278
1344
|
return __awaiter(this, void 0, void 0, function () {
|
|
1279
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1345
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_19, _i, _a, interceptor;
|
|
1280
1346
|
var _this = this;
|
|
1281
1347
|
return __generator(this, function (_b) {
|
|
1282
1348
|
localVarPath = this.basePath + '/matched-offers/{account}/total'
|
|
@@ -1304,12 +1370,12 @@ var MatchedOffersApi = (function () {
|
|
|
1304
1370
|
authenticationPromise = Promise.resolve();
|
|
1305
1371
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1306
1372
|
interceptorPromise = authenticationPromise;
|
|
1307
|
-
|
|
1373
|
+
_loop_19 = function (interceptor) {
|
|
1308
1374
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1309
1375
|
};
|
|
1310
1376
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1311
1377
|
interceptor = _a[_i];
|
|
1312
|
-
|
|
1378
|
+
_loop_19(interceptor);
|
|
1313
1379
|
}
|
|
1314
1380
|
return [2, interceptorPromise.then(function () {
|
|
1315
1381
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1342,7 +1408,7 @@ var MatchedOffersApi = (function () {
|
|
|
1342
1408
|
MatchedOffersApi.prototype.matchedOffersControllerUpdate = function (id, account, body, options) {
|
|
1343
1409
|
if (options === void 0) { options = { headers: {} }; }
|
|
1344
1410
|
return __awaiter(this, void 0, void 0, function () {
|
|
1345
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1411
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_20, _i, _a, interceptor;
|
|
1346
1412
|
var _this = this;
|
|
1347
1413
|
return __generator(this, function (_b) {
|
|
1348
1414
|
localVarPath = this.basePath + '/matched-offers/{account}/{id}'
|
|
@@ -1374,12 +1440,12 @@ var MatchedOffersApi = (function () {
|
|
|
1374
1440
|
authenticationPromise = Promise.resolve();
|
|
1375
1441
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1376
1442
|
interceptorPromise = authenticationPromise;
|
|
1377
|
-
|
|
1443
|
+
_loop_20 = function (interceptor) {
|
|
1378
1444
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1379
1445
|
};
|
|
1380
1446
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1381
1447
|
interceptor = _a[_i];
|
|
1382
|
-
|
|
1448
|
+
_loop_20(interceptor);
|
|
1383
1449
|
}
|
|
1384
1450
|
return [2, interceptorPromise.then(function () {
|
|
1385
1451
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1412,7 +1478,7 @@ var MatchedOffersApi = (function () {
|
|
|
1412
1478
|
MatchedOffersApi.prototype.matchedOffersControllerUpdatestatus = function (account, body, options) {
|
|
1413
1479
|
if (options === void 0) { options = { headers: {} }; }
|
|
1414
1480
|
return __awaiter(this, void 0, void 0, function () {
|
|
1415
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1481
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_21, _i, _a, interceptor;
|
|
1416
1482
|
var _this = this;
|
|
1417
1483
|
return __generator(this, function (_b) {
|
|
1418
1484
|
localVarPath = this.basePath + '/matched-offers/{account}/status'
|
|
@@ -1440,12 +1506,12 @@ var MatchedOffersApi = (function () {
|
|
|
1440
1506
|
authenticationPromise = Promise.resolve();
|
|
1441
1507
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1442
1508
|
interceptorPromise = authenticationPromise;
|
|
1443
|
-
|
|
1509
|
+
_loop_21 = function (interceptor) {
|
|
1444
1510
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1445
1511
|
};
|
|
1446
1512
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1447
1513
|
interceptor = _a[_i];
|
|
1448
|
-
|
|
1514
|
+
_loop_21(interceptor);
|
|
1449
1515
|
}
|
|
1450
1516
|
return [2, interceptorPromise.then(function () {
|
|
1451
1517
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1478,7 +1544,7 @@ var MatchedOffersApi = (function () {
|
|
|
1478
1544
|
MatchedOffersApi.prototype.matchedOffersControllerValidatestatus = function (account, body, options) {
|
|
1479
1545
|
if (options === void 0) { options = { headers: {} }; }
|
|
1480
1546
|
return __awaiter(this, void 0, void 0, function () {
|
|
1481
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1547
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_22, _i, _a, interceptor;
|
|
1482
1548
|
var _this = this;
|
|
1483
1549
|
return __generator(this, function (_b) {
|
|
1484
1550
|
localVarPath = this.basePath + '/matched-offers/{account}/status/validate'
|
|
@@ -1506,12 +1572,12 @@ var MatchedOffersApi = (function () {
|
|
|
1506
1572
|
authenticationPromise = Promise.resolve();
|
|
1507
1573
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1508
1574
|
interceptorPromise = authenticationPromise;
|
|
1509
|
-
|
|
1575
|
+
_loop_22 = function (interceptor) {
|
|
1510
1576
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1511
1577
|
};
|
|
1512
1578
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1513
1579
|
interceptor = _a[_i];
|
|
1514
|
-
|
|
1580
|
+
_loop_22(interceptor);
|
|
1515
1581
|
}
|
|
1516
1582
|
return [2, interceptorPromise.then(function () {
|
|
1517
1583
|
if (Object.keys(localVarFormParams).length) {
|