@tradecafe/offer-service-sdk 0.0.57 → 0.0.58
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 +69 -68
- package/api/matchedOffersApi.ts +69 -0
- package/dist/api/apis.d.ts +20 -20
- package/dist/api/apis.js +56 -56
- package/dist/api/automatedOffersApi.d.ts +156 -156
- package/dist/api/automatedOffersApi.js +1218 -1218
- package/dist/api/futureBidsApi.d.ts +65 -65
- package/dist/api/futureBidsApi.js +456 -456
- package/dist/api/healthApi.d.ts +32 -32
- package/dist/api/healthApi.js +174 -174
- package/dist/api/matchedOffersApi.d.ts +267 -258
- package/dist/api/matchedOffersApi.js +2074 -2008
- package/dist/api/matchedOffersApi.js.map +1 -1
- package/dist/api/offersApi.d.ts +200 -200
- package/dist/api/offersApi.js +1605 -1605
- package/dist/api.d.ts +2 -2
- package/dist/api.js +18 -18
- package/dist/model/addFutureBidDto.d.ts +17 -17
- package/dist/model/addFutureBidDto.js +35 -35
- package/dist/model/addMatchedDeliveryDateDto.d.ts +14 -14
- package/dist/model/addMatchedDeliveryDateDto.js +20 -20
- package/dist/model/associatedCostDto.d.ts +16 -16
- package/dist/model/associatedCostDto.js +30 -30
- package/dist/model/bulkAddRelistingDto.d.ts +16 -16
- package/dist/model/bulkAddRelistingDto.js +25 -25
- package/dist/model/bulkAddTertiaryCostsDto.d.ts +16 -16
- package/dist/model/bulkAddTertiaryCostsDto.js +25 -25
- package/dist/model/bulkChangeDestinationLocationDto.d.ts +16 -0
- package/dist/model/bulkChangeDestinationLocationDto.js +31 -0
- package/dist/model/bulkChangeDestinationLocationDto.js.map +1 -0
- package/dist/model/bulkChangeFreightRatesDto.d.ts +19 -19
- package/dist/model/bulkChangeFreightRatesDto.js +40 -40
- package/dist/model/bulkChangeIncotermDto.d.ts +16 -16
- package/dist/model/bulkChangeIncotermDto.js +30 -30
- package/dist/model/bulkChangeSellPriceItemDto.d.ts +20 -20
- package/dist/model/bulkChangeSellPriceItemDto.js +45 -45
- package/dist/model/bulkChangeSellPricesDto.d.ts +23 -23
- package/dist/model/bulkChangeSellPricesDto.js +55 -55
- package/dist/model/bulkChangeSellingTraderDto.d.ts +16 -16
- package/dist/model/bulkChangeSellingTraderDto.js +30 -30
- package/dist/model/bulkDeleteBuyerSpecialInstructionsDto.d.ts +15 -15
- package/dist/model/bulkDeleteBuyerSpecialInstructionsDto.js +25 -25
- package/dist/model/bulkUpdateBuyerSpecialInstructionsDto.d.ts +19 -19
- package/dist/model/bulkUpdateBuyerSpecialInstructionsDto.js +45 -45
- package/dist/model/bulkUpdateDeliveryDatesDto.d.ts +16 -16
- package/dist/model/bulkUpdateDeliveryDatesDto.js +30 -30
- package/dist/model/bulkUpdateDocsCountryDto.d.ts +16 -16
- package/dist/model/bulkUpdateDocsCountryDto.js +30 -30
- package/dist/model/bulkUpdateMatchedDeliveryDatesDto.d.ts +15 -15
- package/dist/model/bulkUpdateMatchedDeliveryDatesDto.js +25 -25
- package/dist/model/costAmountDto.d.ts +17 -17
- package/dist/model/costAmountDto.js +35 -35
- package/dist/model/costAttributesDto.d.ts +32 -32
- package/dist/model/costAttributesDto.js +100 -100
- package/dist/model/costAttributesDtoAssociated.d.ts +16 -16
- package/dist/model/costAttributesDtoAssociated.js +30 -30
- package/dist/model/costAttributesDtoDefaultCost.d.ts +18 -18
- package/dist/model/costAttributesDtoDefaultCost.js +40 -40
- package/dist/model/costDto.d.ts +35 -35
- package/dist/model/costDto.js +110 -110
- package/dist/model/costDtoAmount.d.ts +17 -17
- package/dist/model/costDtoAmount.js +35 -35
- package/dist/model/costDtoAttributes.d.ts +32 -32
- package/dist/model/costDtoAttributes.js +100 -100
- package/dist/model/costDtoSource.d.ts +15 -15
- package/dist/model/costDtoSource.js +25 -25
- package/dist/model/costSourceDto.d.ts +15 -15
- package/dist/model/costSourceDto.js +25 -25
- package/dist/model/createAutomatedOfferDto.d.ts +124 -124
- package/dist/model/createAutomatedOfferDto.js +419 -419
- package/dist/model/createMatchedOfferDto.d.ts +85 -85
- package/dist/model/createMatchedOfferDto.js +315 -315
- package/dist/model/createMatchedOfferDtoAttributes.d.ts +34 -34
- package/dist/model/createMatchedOfferDtoAttributes.js +94 -94
- package/dist/model/createOfferDto.d.ts +111 -111
- package/dist/model/createOfferDto.js +397 -397
- package/dist/model/createOfferDtoAttributes.d.ts +52 -52
- package/dist/model/createOfferDtoAttributes.js +174 -174
- package/dist/model/createOfferDtoFormula.d.ts +19 -19
- package/dist/model/createOfferDtoFormula.js +40 -40
- package/dist/model/createOfferDtoPacking.d.ts +17 -17
- package/dist/model/createOfferDtoPacking.js +35 -35
- package/dist/model/createOfferDtoWeight.d.ts +15 -15
- package/dist/model/createOfferDtoWeight.js +25 -25
- package/dist/model/defaultCostDto.d.ts +18 -18
- package/dist/model/defaultCostDto.js +40 -40
- package/dist/model/formulaDto.d.ts +19 -19
- package/dist/model/formulaDto.js +40 -40
- package/dist/model/formulaLineDto.d.ts +17 -17
- package/dist/model/formulaLineDto.js +35 -35
- package/dist/model/generalAddressDto.d.ts +43 -43
- package/dist/model/generalAddressDto.js +165 -165
- package/dist/model/healthControllerPing200Response.d.ts +24 -24
- package/dist/model/healthControllerPing200Response.js +35 -35
- package/dist/model/healthControllerPing200ResponseInfoValue.d.ts +10 -10
- package/dist/model/healthControllerPing200ResponseInfoValue.js +36 -36
- package/dist/model/healthControllerPing503Response.d.ts +24 -24
- package/dist/model/healthControllerPing503Response.js +35 -35
- package/dist/model/matchedOfferAttributesDto.d.ts +34 -34
- package/dist/model/matchedOfferAttributesDto.js +94 -94
- package/dist/model/models.d.ts +102 -101
- package/dist/model/models.js +402 -399
- package/dist/model/models.js.map +1 -1
- package/dist/model/offerAttributesDto.d.ts +52 -52
- package/dist/model/offerAttributesDto.js +174 -174
- package/dist/model/offerAttributesDtoEstablishment.d.ts +43 -43
- package/dist/model/offerAttributesDtoEstablishment.js +165 -165
- package/dist/model/overwriteItemDto.d.ts +22 -22
- package/dist/model/overwriteItemDto.js +55 -55
- package/dist/model/overwriteItemDtoWeight.d.ts +14 -14
- package/dist/model/overwriteItemDtoWeight.js +20 -20
- package/dist/model/packing.d.ts +17 -17
- package/dist/model/packing.js +35 -35
- package/dist/model/pinActionDto.d.ts +14 -14
- package/dist/model/pinActionDto.js +20 -20
- package/dist/model/relistingConfigDto.d.ts +17 -17
- package/dist/model/relistingConfigDto.js +35 -35
- package/dist/model/relistingDetailDto.d.ts +31 -31
- package/dist/model/relistingDetailDto.js +62 -62
- package/dist/model/relistingDetailDtoRandomConfig.d.ts +19 -19
- package/dist/model/relistingDetailDtoRandomConfig.js +45 -45
- package/dist/model/relistingRandomConfigDto.d.ts +19 -19
- package/dist/model/relistingRandomConfigDto.js +45 -45
- package/dist/model/updateFutureBidDto.d.ts +17 -17
- package/dist/model/updateFutureBidDto.js +35 -35
- package/dist/model/updateMatchedDeliveryDateDto.d.ts +15 -15
- package/dist/model/updateMatchedDeliveryDateDto.js +25 -25
- package/dist/model/userPin.d.ts +15 -15
- package/dist/model/userPin.js +25 -25
- package/dist/model/weight.d.ts +15 -15
- package/dist/model/weight.js +25 -25
- package/dist/model/weightDto.d.ts +14 -14
- package/dist/model/weightDto.js +20 -20
- package/model/bulkChangeDestinationLocationDto.ts +43 -0
- package/model/models.ts +3 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -1,68 +1,69 @@
|
|
|
1
|
-
.gitignore
|
|
2
|
-
.openapi-generator-ignore
|
|
3
|
-
api.ts
|
|
4
|
-
api/apis.ts
|
|
5
|
-
api/automatedOffersApi.ts
|
|
6
|
-
api/futureBidsApi.ts
|
|
7
|
-
api/healthApi.ts
|
|
8
|
-
api/matchedOffersApi.ts
|
|
9
|
-
api/offersApi.ts
|
|
10
|
-
git_push.sh
|
|
11
|
-
model/addFutureBidDto.ts
|
|
12
|
-
model/addMatchedDeliveryDateDto.ts
|
|
13
|
-
model/associatedCostDto.ts
|
|
14
|
-
model/bulkAddRelistingDto.ts
|
|
15
|
-
model/bulkAddTertiaryCostsDto.ts
|
|
16
|
-
model/
|
|
17
|
-
model/
|
|
18
|
-
model/
|
|
19
|
-
model/
|
|
20
|
-
model/
|
|
21
|
-
model/
|
|
22
|
-
model/
|
|
23
|
-
model/
|
|
24
|
-
model/
|
|
25
|
-
model/
|
|
26
|
-
model/
|
|
27
|
-
model/
|
|
28
|
-
model/
|
|
29
|
-
model/
|
|
30
|
-
model/
|
|
31
|
-
model/
|
|
32
|
-
model/
|
|
33
|
-
model/
|
|
34
|
-
model/
|
|
35
|
-
model/
|
|
36
|
-
model/
|
|
37
|
-
model/
|
|
38
|
-
model/
|
|
39
|
-
model/
|
|
40
|
-
model/
|
|
41
|
-
model/
|
|
42
|
-
model/
|
|
43
|
-
model/
|
|
44
|
-
model/
|
|
45
|
-
model/
|
|
46
|
-
model/
|
|
47
|
-
model/
|
|
48
|
-
model/
|
|
49
|
-
model/
|
|
50
|
-
model/
|
|
51
|
-
model/
|
|
52
|
-
model/
|
|
53
|
-
model/
|
|
54
|
-
model/
|
|
55
|
-
model/
|
|
56
|
-
model/
|
|
57
|
-
model/
|
|
58
|
-
model/
|
|
59
|
-
model/
|
|
60
|
-
model/
|
|
61
|
-
model/
|
|
62
|
-
model/
|
|
63
|
-
model/
|
|
64
|
-
model/
|
|
65
|
-
model/
|
|
66
|
-
model/
|
|
67
|
-
|
|
68
|
-
|
|
1
|
+
.gitignore
|
|
2
|
+
.openapi-generator-ignore
|
|
3
|
+
api.ts
|
|
4
|
+
api/apis.ts
|
|
5
|
+
api/automatedOffersApi.ts
|
|
6
|
+
api/futureBidsApi.ts
|
|
7
|
+
api/healthApi.ts
|
|
8
|
+
api/matchedOffersApi.ts
|
|
9
|
+
api/offersApi.ts
|
|
10
|
+
git_push.sh
|
|
11
|
+
model/addFutureBidDto.ts
|
|
12
|
+
model/addMatchedDeliveryDateDto.ts
|
|
13
|
+
model/associatedCostDto.ts
|
|
14
|
+
model/bulkAddRelistingDto.ts
|
|
15
|
+
model/bulkAddTertiaryCostsDto.ts
|
|
16
|
+
model/bulkChangeDestinationLocationDto.ts
|
|
17
|
+
model/bulkChangeFreightRatesDto.ts
|
|
18
|
+
model/bulkChangeIncotermDto.ts
|
|
19
|
+
model/bulkChangeSellPriceItemDto.ts
|
|
20
|
+
model/bulkChangeSellPricesDto.ts
|
|
21
|
+
model/bulkChangeSellingTraderDto.ts
|
|
22
|
+
model/bulkDeleteBuyerSpecialInstructionsDto.ts
|
|
23
|
+
model/bulkUpdateBuyerSpecialInstructionsDto.ts
|
|
24
|
+
model/bulkUpdateDeliveryDatesDto.ts
|
|
25
|
+
model/bulkUpdateDocsCountryDto.ts
|
|
26
|
+
model/bulkUpdateMatchedDeliveryDatesDto.ts
|
|
27
|
+
model/costAmountDto.ts
|
|
28
|
+
model/costAttributesDto.ts
|
|
29
|
+
model/costAttributesDtoAssociated.ts
|
|
30
|
+
model/costAttributesDtoDefaultCost.ts
|
|
31
|
+
model/costDto.ts
|
|
32
|
+
model/costDtoAmount.ts
|
|
33
|
+
model/costDtoAttributes.ts
|
|
34
|
+
model/costDtoSource.ts
|
|
35
|
+
model/costSourceDto.ts
|
|
36
|
+
model/createAutomatedOfferDto.ts
|
|
37
|
+
model/createMatchedOfferDto.ts
|
|
38
|
+
model/createMatchedOfferDtoAttributes.ts
|
|
39
|
+
model/createOfferDto.ts
|
|
40
|
+
model/createOfferDtoAttributes.ts
|
|
41
|
+
model/createOfferDtoFormula.ts
|
|
42
|
+
model/createOfferDtoPacking.ts
|
|
43
|
+
model/createOfferDtoWeight.ts
|
|
44
|
+
model/defaultCostDto.ts
|
|
45
|
+
model/formulaDto.ts
|
|
46
|
+
model/formulaLineDto.ts
|
|
47
|
+
model/generalAddressDto.ts
|
|
48
|
+
model/healthControllerPing200Response.ts
|
|
49
|
+
model/healthControllerPing200ResponseInfoValue.ts
|
|
50
|
+
model/healthControllerPing503Response.ts
|
|
51
|
+
model/matchedOfferAttributesDto.ts
|
|
52
|
+
model/models.ts
|
|
53
|
+
model/offerAttributesDto.ts
|
|
54
|
+
model/offerAttributesDtoEstablishment.ts
|
|
55
|
+
model/overwriteItemDto.ts
|
|
56
|
+
model/overwriteItemDtoWeight.ts
|
|
57
|
+
model/packing.ts
|
|
58
|
+
model/pinActionDto.ts
|
|
59
|
+
model/relistingConfigDto.ts
|
|
60
|
+
model/relistingDetailDto.ts
|
|
61
|
+
model/relistingDetailDtoRandomConfig.ts
|
|
62
|
+
model/relistingRandomConfigDto.ts
|
|
63
|
+
model/updateFutureBidDto.ts
|
|
64
|
+
model/updateMatchedDeliveryDateDto.ts
|
|
65
|
+
model/userPin.ts
|
|
66
|
+
model/weight.ts
|
|
67
|
+
model/weightDto.ts
|
|
68
|
+
package.json
|
|
69
|
+
tsconfig.json
|
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 { BulkChangeDestinationLocationDto } from '../model/bulkChangeDestinationLocationDto';
|
|
19
20
|
import { BulkChangeFreightRatesDto } from '../model/bulkChangeFreightRatesDto';
|
|
20
21
|
import { BulkChangeIncotermDto } from '../model/bulkChangeIncotermDto';
|
|
21
22
|
import { BulkChangeSellPricesDto } from '../model/bulkChangeSellPricesDto';
|
|
@@ -328,6 +329,74 @@ export class MatchedOffersApi {
|
|
|
328
329
|
});
|
|
329
330
|
});
|
|
330
331
|
}
|
|
332
|
+
/**
|
|
333
|
+
*
|
|
334
|
+
* @summary Changes the destination location on multiple matched offers in a single operation
|
|
335
|
+
* @param account
|
|
336
|
+
* @param bulkChangeDestinationLocationDto
|
|
337
|
+
*/
|
|
338
|
+
public async matchedOffersControllerBulkchangedestinationlocation (account: string, bulkChangeDestinationLocationDto: BulkChangeDestinationLocationDto, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body?: any; }> {
|
|
339
|
+
const localVarPath = this.basePath + '/matched-offers/{account}/bulk/destination-location'
|
|
340
|
+
.replace('{' + 'account' + '}', encodeURIComponent(String(account)));
|
|
341
|
+
let localVarQueryParameters: any = {};
|
|
342
|
+
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
|
|
343
|
+
let localVarFormParams: any = {};
|
|
344
|
+
|
|
345
|
+
// verify required parameter 'account' is not null or undefined
|
|
346
|
+
if (account === null || account === undefined) {
|
|
347
|
+
throw new Error('Required parameter account was null or undefined when calling matchedOffersControllerBulkchangedestinationlocation.');
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
// verify required parameter 'bulkChangeDestinationLocationDto' is not null or undefined
|
|
351
|
+
if (bulkChangeDestinationLocationDto === null || bulkChangeDestinationLocationDto === undefined) {
|
|
352
|
+
throw new Error('Required parameter bulkChangeDestinationLocationDto was null or undefined when calling matchedOffersControllerBulkchangedestinationlocation.');
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
356
|
+
|
|
357
|
+
let localVarUseFormData = false;
|
|
358
|
+
|
|
359
|
+
let localVarRequestOptions: localVarRequest.Options = {
|
|
360
|
+
method: 'PUT',
|
|
361
|
+
qs: localVarQueryParameters,
|
|
362
|
+
headers: localVarHeaderParams,
|
|
363
|
+
uri: localVarPath,
|
|
364
|
+
useQuerystring: this._useQuerystring,
|
|
365
|
+
json: true,
|
|
366
|
+
body: ObjectSerializer.serialize(bulkChangeDestinationLocationDto, "BulkChangeDestinationLocationDto")
|
|
367
|
+
};
|
|
368
|
+
|
|
369
|
+
let authenticationPromise = Promise.resolve();
|
|
370
|
+
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
|
|
371
|
+
|
|
372
|
+
let interceptorPromise = authenticationPromise;
|
|
373
|
+
for (const interceptor of this.interceptors) {
|
|
374
|
+
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
return interceptorPromise.then(() => {
|
|
378
|
+
if (Object.keys(localVarFormParams).length) {
|
|
379
|
+
if (localVarUseFormData) {
|
|
380
|
+
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
381
|
+
} else {
|
|
382
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
return new Promise<{ response: http.IncomingMessage; body?: any; }>((resolve, reject) => {
|
|
386
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
387
|
+
if (error) {
|
|
388
|
+
reject(error);
|
|
389
|
+
} else {
|
|
390
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
391
|
+
resolve({ response: response, body: body });
|
|
392
|
+
} else {
|
|
393
|
+
reject(new HttpError(response, body, response.statusCode));
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
});
|
|
397
|
+
});
|
|
398
|
+
});
|
|
399
|
+
}
|
|
331
400
|
/**
|
|
332
401
|
*
|
|
333
402
|
* @summary Changes freight rates for multiple matched offers in a single operation
|
package/dist/api/apis.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
export * from './automatedOffersApi';
|
|
3
|
-
import { AutomatedOffersApi } from './automatedOffersApi';
|
|
4
|
-
export * from './futureBidsApi';
|
|
5
|
-
import { FutureBidsApi } from './futureBidsApi';
|
|
6
|
-
export * from './healthApi';
|
|
7
|
-
import { HealthApi } from './healthApi';
|
|
8
|
-
export * from './matchedOffersApi';
|
|
9
|
-
import { MatchedOffersApi } from './matchedOffersApi';
|
|
10
|
-
export * from './offersApi';
|
|
11
|
-
import { OffersApi } from './offersApi';
|
|
12
|
-
import * as http from 'http';
|
|
13
|
-
export declare class HttpError extends Error {
|
|
14
|
-
response: http.IncomingMessage;
|
|
15
|
-
body: any;
|
|
16
|
-
statusCode?: number | undefined;
|
|
17
|
-
constructor(response: http.IncomingMessage, body: any, statusCode?: number | undefined);
|
|
18
|
-
}
|
|
19
|
-
export { RequestFile } from '../model/models';
|
|
20
|
-
export declare const APIS: (typeof AutomatedOffersApi | typeof FutureBidsApi | typeof HealthApi | typeof MatchedOffersApi | typeof OffersApi)[];
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
export * from './automatedOffersApi';
|
|
3
|
+
import { AutomatedOffersApi } from './automatedOffersApi';
|
|
4
|
+
export * from './futureBidsApi';
|
|
5
|
+
import { FutureBidsApi } from './futureBidsApi';
|
|
6
|
+
export * from './healthApi';
|
|
7
|
+
import { HealthApi } from './healthApi';
|
|
8
|
+
export * from './matchedOffersApi';
|
|
9
|
+
import { MatchedOffersApi } from './matchedOffersApi';
|
|
10
|
+
export * from './offersApi';
|
|
11
|
+
import { OffersApi } from './offersApi';
|
|
12
|
+
import * as http from 'http';
|
|
13
|
+
export declare class HttpError extends Error {
|
|
14
|
+
response: http.IncomingMessage;
|
|
15
|
+
body: any;
|
|
16
|
+
statusCode?: number | undefined;
|
|
17
|
+
constructor(response: http.IncomingMessage, body: any, statusCode?: number | undefined);
|
|
18
|
+
}
|
|
19
|
+
export { RequestFile } from '../model/models';
|
|
20
|
+
export declare const APIS: (typeof AutomatedOffersApi | typeof FutureBidsApi | typeof HealthApi | typeof MatchedOffersApi | typeof OffersApi)[];
|
package/dist/api/apis.js
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
-
if (k2 === undefined) k2 = k;
|
|
19
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
20
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
21
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
22
|
-
}
|
|
23
|
-
Object.defineProperty(o, k2, desc);
|
|
24
|
-
}) : (function(o, m, k, k2) {
|
|
25
|
-
if (k2 === undefined) k2 = k;
|
|
26
|
-
o[k2] = m[k];
|
|
27
|
-
}));
|
|
28
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
29
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
30
|
-
};
|
|
31
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
|
-
exports.APIS = exports.HttpError = void 0;
|
|
33
|
-
__exportStar(require("./automatedOffersApi"), exports);
|
|
34
|
-
var automatedOffersApi_1 = require("./automatedOffersApi");
|
|
35
|
-
__exportStar(require("./futureBidsApi"), exports);
|
|
36
|
-
var futureBidsApi_1 = require("./futureBidsApi");
|
|
37
|
-
__exportStar(require("./healthApi"), exports);
|
|
38
|
-
var healthApi_1 = require("./healthApi");
|
|
39
|
-
__exportStar(require("./matchedOffersApi"), exports);
|
|
40
|
-
var matchedOffersApi_1 = require("./matchedOffersApi");
|
|
41
|
-
__exportStar(require("./offersApi"), exports);
|
|
42
|
-
var offersApi_1 = require("./offersApi");
|
|
43
|
-
var HttpError = (function (_super) {
|
|
44
|
-
__extends(HttpError, _super);
|
|
45
|
-
function HttpError(response, body, statusCode) {
|
|
46
|
-
var _this = _super.call(this, 'HTTP request failed') || this;
|
|
47
|
-
_this.response = response;
|
|
48
|
-
_this.body = body;
|
|
49
|
-
_this.statusCode = statusCode;
|
|
50
|
-
_this.name = 'HttpError';
|
|
51
|
-
return _this;
|
|
52
|
-
}
|
|
53
|
-
return HttpError;
|
|
54
|
-
}(Error));
|
|
55
|
-
exports.HttpError = HttpError;
|
|
56
|
-
exports.APIS = [automatedOffersApi_1.AutomatedOffersApi, futureBidsApi_1.FutureBidsApi, healthApi_1.HealthApi, matchedOffersApi_1.MatchedOffersApi, offersApi_1.OffersApi];
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
20
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
21
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
22
|
+
}
|
|
23
|
+
Object.defineProperty(o, k2, desc);
|
|
24
|
+
}) : (function(o, m, k, k2) {
|
|
25
|
+
if (k2 === undefined) k2 = k;
|
|
26
|
+
o[k2] = m[k];
|
|
27
|
+
}));
|
|
28
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
29
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
30
|
+
};
|
|
31
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
|
+
exports.APIS = exports.HttpError = void 0;
|
|
33
|
+
__exportStar(require("./automatedOffersApi"), exports);
|
|
34
|
+
var automatedOffersApi_1 = require("./automatedOffersApi");
|
|
35
|
+
__exportStar(require("./futureBidsApi"), exports);
|
|
36
|
+
var futureBidsApi_1 = require("./futureBidsApi");
|
|
37
|
+
__exportStar(require("./healthApi"), exports);
|
|
38
|
+
var healthApi_1 = require("./healthApi");
|
|
39
|
+
__exportStar(require("./matchedOffersApi"), exports);
|
|
40
|
+
var matchedOffersApi_1 = require("./matchedOffersApi");
|
|
41
|
+
__exportStar(require("./offersApi"), exports);
|
|
42
|
+
var offersApi_1 = require("./offersApi");
|
|
43
|
+
var HttpError = (function (_super) {
|
|
44
|
+
__extends(HttpError, _super);
|
|
45
|
+
function HttpError(response, body, statusCode) {
|
|
46
|
+
var _this = _super.call(this, 'HTTP request failed') || this;
|
|
47
|
+
_this.response = response;
|
|
48
|
+
_this.body = body;
|
|
49
|
+
_this.statusCode = statusCode;
|
|
50
|
+
_this.name = 'HttpError';
|
|
51
|
+
return _this;
|
|
52
|
+
}
|
|
53
|
+
return HttpError;
|
|
54
|
+
}(Error));
|
|
55
|
+
exports.HttpError = HttpError;
|
|
56
|
+
exports.APIS = [automatedOffersApi_1.AutomatedOffersApi, futureBidsApi_1.FutureBidsApi, healthApi_1.HealthApi, matchedOffersApi_1.MatchedOffersApi, offersApi_1.OffersApi];
|
|
57
57
|
//# sourceMappingURL=apis.js.map
|