@tradecafe/offer-service-sdk 0.0.26 → 0.0.27
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 +49 -16
- package/api/automatedOffersApi.ts +13 -12
- package/api/futureBidsApi.ts +20 -18
- package/api/matchedOffersApi.ts +26 -24
- package/api/offersApi.ts +13 -12
- package/dist/api/apis.d.ts +20 -20
- package/dist/api/apis.js +56 -56
- package/dist/api/automatedOffersApi.d.ts +104 -103
- package/dist/api/automatedOffersApi.js +798 -798
- package/dist/api/automatedOffersApi.js.map +1 -1
- package/dist/api/futureBidsApi.d.ts +65 -63
- package/dist/api/futureBidsApi.js +455 -455
- package/dist/api/futureBidsApi.js.map +1 -1
- package/dist/api/healthApi.d.ts +32 -32
- package/dist/api/healthApi.js +174 -174
- package/dist/api/matchedOffersApi.d.ts +177 -175
- package/dist/api/matchedOffersApi.js +1401 -1401
- package/dist/api/matchedOffersApi.js.map +1 -1
- package/dist/api/offersApi.d.ts +184 -183
- package/dist/api/offersApi.js +1460 -1460
- package/dist/api/offersApi.js.map +1 -1
- package/dist/api.d.ts +2 -2
- package/dist/api.js +18 -18
- package/dist/model/addFutureBidDto.d.ts +17 -0
- package/dist/model/addFutureBidDto.js +36 -0
- package/dist/model/addFutureBidDto.js.map +1 -0
- package/dist/model/bidDto.d.ts +46 -0
- package/dist/model/bidDto.js +156 -0
- package/dist/model/bidDto.js.map +1 -0
- package/dist/model/bidDtoPacking.d.ts +15 -0
- package/dist/model/bidDtoPacking.js +26 -0
- package/dist/model/bidDtoPacking.js.map +1 -0
- package/dist/model/bidDtoWeight.d.ts +15 -0
- package/dist/model/bidDtoWeight.js +26 -0
- package/dist/model/bidDtoWeight.js.map +1 -0
- package/dist/model/bidNoteAttributesDto.d.ts +15 -0
- package/dist/model/bidNoteAttributesDto.js +26 -0
- package/dist/model/bidNoteAttributesDto.js.map +1 -0
- package/dist/model/bidNoteDto.d.ts +24 -0
- package/dist/model/bidNoteDto.js +61 -0
- package/dist/model/bidNoteDto.js.map +1 -0
- package/dist/model/bidNoteDtoAccount.d.ts +13 -0
- package/dist/model/bidNoteDtoAccount.js +15 -0
- package/dist/model/bidNoteDtoAccount.js.map +1 -0
- package/dist/model/bidNoteDtoAttributes.d.ts +15 -0
- package/dist/model/bidNoteDtoAttributes.js +26 -0
- package/dist/model/bidNoteDtoAttributes.js.map +1 -0
- package/dist/model/bidPackingDto.d.ts +15 -0
- package/dist/model/bidPackingDto.js +26 -0
- package/dist/model/bidPackingDto.js.map +1 -0
- package/dist/model/bidWeightDto.d.ts +15 -0
- package/dist/model/bidWeightDto.js +26 -0
- package/dist/model/bidWeightDto.js.map +1 -0
- package/dist/model/createAutomatedOfferDto.d.ts +107 -0
- package/dist/model/createAutomatedOfferDto.js +352 -0
- package/dist/model/createAutomatedOfferDto.js.map +1 -0
- package/dist/model/createMatchedOfferDto.d.ts +84 -0
- package/dist/model/createMatchedOfferDto.js +311 -0
- package/dist/model/createMatchedOfferDto.js.map +1 -0
- package/dist/model/createMatchedOfferDtoBid.d.ts +46 -0
- package/dist/model/createMatchedOfferDtoBid.js +156 -0
- package/dist/model/createMatchedOfferDtoBid.js.map +1 -0
- package/dist/model/createOfferDto.d.ts +97 -0
- package/dist/model/createOfferDto.js +333 -0
- package/dist/model/createOfferDto.js.map +1 -0
- package/dist/model/createOfferDtoAttributes.d.ts +49 -0
- package/dist/model/createOfferDtoAttributes.js +155 -0
- package/dist/model/createOfferDtoAttributes.js.map +1 -0
- package/dist/model/createOfferDtoFormula.d.ts +19 -0
- package/dist/model/createOfferDtoFormula.js +41 -0
- package/dist/model/createOfferDtoFormula.js.map +1 -0
- package/dist/model/createOfferDtoPacking.d.ts +17 -0
- package/dist/model/createOfferDtoPacking.js +36 -0
- package/dist/model/createOfferDtoPacking.js.map +1 -0
- package/dist/model/createOfferDtoWeight.d.ts +15 -0
- package/dist/model/createOfferDtoWeight.js +26 -0
- package/dist/model/createOfferDtoWeight.js.map +1 -0
- package/dist/model/dealProductBatchDto.d.ts +20 -0
- package/dist/model/dealProductBatchDto.js +51 -0
- package/dist/model/dealProductBatchDto.js.map +1 -0
- package/dist/model/formulaDto.d.ts +19 -0
- package/dist/model/formulaDto.js +41 -0
- package/dist/model/formulaDto.js.map +1 -0
- package/dist/model/formulaLineDto.d.ts +17 -0
- package/dist/model/formulaLineDto.js +36 -0
- package/dist/model/formulaLineDto.js.map +1 -0
- package/dist/model/generalAddressDto.d.ts +19 -0
- package/dist/model/generalAddressDto.js +46 -0
- package/dist/model/generalAddressDto.js.map +1 -0
- 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/models.d.ts +82 -49
- package/dist/model/models.js +340 -231
- package/dist/model/models.js.map +1 -1
- package/dist/model/offerAttributesDto.d.ts +49 -0
- package/dist/model/offerAttributesDto.js +155 -0
- package/dist/model/offerAttributesDto.js.map +1 -0
- package/dist/model/offerAttributesDtoEstablishment.d.ts +19 -0
- package/dist/model/offerAttributesDtoEstablishment.js +46 -0
- package/dist/model/offerAttributesDtoEstablishment.js.map +1 -0
- package/dist/model/packing.d.ts +17 -0
- package/dist/model/packing.js +36 -0
- package/dist/model/packing.js.map +1 -0
- package/dist/model/pinActionDto.d.ts +14 -0
- package/dist/model/pinActionDto.js +21 -0
- package/dist/model/pinActionDto.js.map +1 -0
- package/dist/model/relistingConfigDto.d.ts +17 -0
- package/dist/model/relistingConfigDto.js +36 -0
- package/dist/model/relistingConfigDto.js.map +1 -0
- package/dist/model/relistingDetailDto.d.ts +31 -0
- package/dist/model/relistingDetailDto.js +63 -0
- package/dist/model/relistingDetailDto.js.map +1 -0
- package/dist/model/relistingDetailDtoRandomConfig.d.ts +19 -0
- package/dist/model/relistingDetailDtoRandomConfig.js +46 -0
- package/dist/model/relistingDetailDtoRandomConfig.js.map +1 -0
- package/dist/model/relistingRandomConfigDto.d.ts +19 -0
- package/dist/model/relistingRandomConfigDto.js +46 -0
- package/dist/model/relistingRandomConfigDto.js.map +1 -0
- package/dist/model/updateFutureBidDto.d.ts +17 -0
- package/dist/model/updateFutureBidDto.js +36 -0
- package/dist/model/updateFutureBidDto.js.map +1 -0
- package/dist/model/userPin.d.ts +15 -0
- package/dist/model/userPin.js +26 -0
- package/dist/model/userPin.js.map +1 -0
- package/dist/model/weight.d.ts +15 -0
- package/dist/model/weight.js +26 -0
- package/dist/model/weight.js.map +1 -0
- package/model/addFutureBidDto.ts +61 -0
- package/model/bidDto.ts +270 -0
- package/model/bidDtoPacking.ts +47 -0
- package/model/bidDtoWeight.ts +47 -0
- package/model/bidNoteAttributesDto.ts +43 -0
- package/model/bidNoteDto.ts +102 -0
- package/model/bidNoteDtoAccount.ts +29 -0
- package/model/bidNoteDtoAttributes.ts +47 -0
- package/model/bidPackingDto.ts +43 -0
- package/model/bidWeightDto.ts +43 -0
- package/model/createAutomatedOfferDto.ts +579 -0
- package/model/createMatchedOfferDto.ts +541 -0
- package/model/createMatchedOfferDtoBid.ts +274 -0
- package/model/createOfferDto.ts +553 -0
- package/model/createOfferDtoAttributes.ts +270 -0
- package/model/createOfferDtoFormula.ts +75 -0
- package/model/createOfferDtoPacking.ts +65 -0
- package/model/createOfferDtoWeight.ts +47 -0
- package/model/dealProductBatchDto.ts +88 -0
- package/model/formulaDto.ts +71 -0
- package/model/formulaLineDto.ts +61 -0
- package/model/generalAddressDto.ts +79 -0
- package/model/models.ts +108 -0
- package/model/offerAttributesDto.ts +266 -0
- package/model/offerAttributesDtoEstablishment.ts +83 -0
- package/model/packing.ts +61 -0
- package/model/pinActionDto.ts +34 -0
- package/model/relistingConfigDto.ts +61 -0
- package/model/relistingDetailDto.ts +96 -0
- package/model/relistingDetailDtoRandomConfig.ts +83 -0
- package/model/relistingRandomConfigDto.ts +79 -0
- package/model/updateFutureBidDto.ts +61 -0
- package/model/userPin.ts +43 -0
- package/model/weight.ts +43 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -1,16 +1,49 @@
|
|
|
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/
|
|
12
|
-
model/
|
|
13
|
-
model/
|
|
14
|
-
model/
|
|
15
|
-
|
|
16
|
-
|
|
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/bidDto.ts
|
|
13
|
+
model/bidDtoPacking.ts
|
|
14
|
+
model/bidDtoWeight.ts
|
|
15
|
+
model/bidNoteAttributesDto.ts
|
|
16
|
+
model/bidNoteDto.ts
|
|
17
|
+
model/bidNoteDtoAccount.ts
|
|
18
|
+
model/bidNoteDtoAttributes.ts
|
|
19
|
+
model/bidPackingDto.ts
|
|
20
|
+
model/bidWeightDto.ts
|
|
21
|
+
model/createAutomatedOfferDto.ts
|
|
22
|
+
model/createMatchedOfferDto.ts
|
|
23
|
+
model/createMatchedOfferDtoBid.ts
|
|
24
|
+
model/createOfferDto.ts
|
|
25
|
+
model/createOfferDtoAttributes.ts
|
|
26
|
+
model/createOfferDtoFormula.ts
|
|
27
|
+
model/createOfferDtoPacking.ts
|
|
28
|
+
model/createOfferDtoWeight.ts
|
|
29
|
+
model/dealProductBatchDto.ts
|
|
30
|
+
model/formulaDto.ts
|
|
31
|
+
model/formulaLineDto.ts
|
|
32
|
+
model/generalAddressDto.ts
|
|
33
|
+
model/healthControllerPing200Response.ts
|
|
34
|
+
model/healthControllerPing200ResponseInfoValue.ts
|
|
35
|
+
model/healthControllerPing503Response.ts
|
|
36
|
+
model/models.ts
|
|
37
|
+
model/offerAttributesDto.ts
|
|
38
|
+
model/offerAttributesDtoEstablishment.ts
|
|
39
|
+
model/packing.ts
|
|
40
|
+
model/pinActionDto.ts
|
|
41
|
+
model/relistingConfigDto.ts
|
|
42
|
+
model/relistingDetailDto.ts
|
|
43
|
+
model/relistingDetailDtoRandomConfig.ts
|
|
44
|
+
model/relistingRandomConfigDto.ts
|
|
45
|
+
model/updateFutureBidDto.ts
|
|
46
|
+
model/userPin.ts
|
|
47
|
+
model/weight.ts
|
|
48
|
+
package.json
|
|
49
|
+
tsconfig.json
|
|
@@ -15,6 +15,7 @@ import localVarRequest from 'request';
|
|
|
15
15
|
import http from 'http';
|
|
16
16
|
|
|
17
17
|
/* tslint:disable:no-unused-locals */
|
|
18
|
+
import { CreateAutomatedOfferDto } from '../model/createAutomatedOfferDto';
|
|
18
19
|
|
|
19
20
|
import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models';
|
|
20
21
|
|
|
@@ -89,9 +90,9 @@ export class AutomatedOffersApi {
|
|
|
89
90
|
*
|
|
90
91
|
* @summary Creates a new automated offers
|
|
91
92
|
* @param account
|
|
92
|
-
* @param
|
|
93
|
+
* @param createAutomatedOfferDto
|
|
93
94
|
*/
|
|
94
|
-
public async automatedOffersControllerCreate (account: string,
|
|
95
|
+
public async automatedOffersControllerCreate (account: string, createAutomatedOfferDto: CreateAutomatedOfferDto, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body?: any; }> {
|
|
95
96
|
const localVarPath = this.basePath + '/automated-offers/{account}'
|
|
96
97
|
.replace('{' + 'account' + '}', encodeURIComponent(String(account)));
|
|
97
98
|
let localVarQueryParameters: any = {};
|
|
@@ -103,9 +104,9 @@ export class AutomatedOffersApi {
|
|
|
103
104
|
throw new Error('Required parameter account was null or undefined when calling automatedOffersControllerCreate.');
|
|
104
105
|
}
|
|
105
106
|
|
|
106
|
-
// verify required parameter '
|
|
107
|
-
if (
|
|
108
|
-
throw new Error('Required parameter
|
|
107
|
+
// verify required parameter 'createAutomatedOfferDto' is not null or undefined
|
|
108
|
+
if (createAutomatedOfferDto === null || createAutomatedOfferDto === undefined) {
|
|
109
|
+
throw new Error('Required parameter createAutomatedOfferDto was null or undefined when calling automatedOffersControllerCreate.');
|
|
109
110
|
}
|
|
110
111
|
|
|
111
112
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -119,7 +120,7 @@ export class AutomatedOffersApi {
|
|
|
119
120
|
uri: localVarPath,
|
|
120
121
|
useQuerystring: this._useQuerystring,
|
|
121
122
|
json: true,
|
|
122
|
-
body: ObjectSerializer.serialize(
|
|
123
|
+
body: ObjectSerializer.serialize(createAutomatedOfferDto, "CreateAutomatedOfferDto")
|
|
123
124
|
};
|
|
124
125
|
|
|
125
126
|
let authenticationPromise = Promise.resolve();
|
|
@@ -235,12 +236,12 @@ export class AutomatedOffersApi {
|
|
|
235
236
|
*
|
|
236
237
|
* @summary Retrieves a list of all automated offer
|
|
237
238
|
* @param account
|
|
238
|
-
* @param
|
|
239
|
+
* @param createAutomatedOfferDto
|
|
239
240
|
* @param skip
|
|
240
241
|
* @param limit
|
|
241
242
|
* @param sort
|
|
242
243
|
*/
|
|
243
|
-
public async automatedOffersControllerFindall (account: string,
|
|
244
|
+
public async automatedOffersControllerFindall (account: string, createAutomatedOfferDto: CreateAutomatedOfferDto, skip?: number, limit?: number, sort?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body?: any; }> {
|
|
244
245
|
const localVarPath = this.basePath + '/automated-offers/{account}'
|
|
245
246
|
.replace('{' + 'account' + '}', encodeURIComponent(String(account)));
|
|
246
247
|
let localVarQueryParameters: any = {};
|
|
@@ -252,9 +253,9 @@ export class AutomatedOffersApi {
|
|
|
252
253
|
throw new Error('Required parameter account was null or undefined when calling automatedOffersControllerFindall.');
|
|
253
254
|
}
|
|
254
255
|
|
|
255
|
-
// verify required parameter '
|
|
256
|
-
if (
|
|
257
|
-
throw new Error('Required parameter
|
|
256
|
+
// verify required parameter 'createAutomatedOfferDto' is not null or undefined
|
|
257
|
+
if (createAutomatedOfferDto === null || createAutomatedOfferDto === undefined) {
|
|
258
|
+
throw new Error('Required parameter createAutomatedOfferDto was null or undefined when calling automatedOffersControllerFindall.');
|
|
258
259
|
}
|
|
259
260
|
|
|
260
261
|
if (skip !== undefined) {
|
|
@@ -280,7 +281,7 @@ export class AutomatedOffersApi {
|
|
|
280
281
|
uri: localVarPath,
|
|
281
282
|
useQuerystring: this._useQuerystring,
|
|
282
283
|
json: true,
|
|
283
|
-
body: ObjectSerializer.serialize(
|
|
284
|
+
body: ObjectSerializer.serialize(createAutomatedOfferDto, "CreateAutomatedOfferDto")
|
|
284
285
|
};
|
|
285
286
|
|
|
286
287
|
let authenticationPromise = Promise.resolve();
|
package/api/futureBidsApi.ts
CHANGED
|
@@ -15,6 +15,8 @@ import localVarRequest from 'request';
|
|
|
15
15
|
import http from 'http';
|
|
16
16
|
|
|
17
17
|
/* tslint:disable:no-unused-locals */
|
|
18
|
+
import { AddFutureBidDto } from '../model/addFutureBidDto';
|
|
19
|
+
import { UpdateFutureBidDto } from '../model/updateFutureBidDto';
|
|
18
20
|
|
|
19
21
|
import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models';
|
|
20
22
|
|
|
@@ -91,9 +93,9 @@ export class FutureBidsApi {
|
|
|
91
93
|
* @param matchedOfferId
|
|
92
94
|
* @param userId
|
|
93
95
|
* @param account
|
|
94
|
-
* @param
|
|
96
|
+
* @param addFutureBidDto
|
|
95
97
|
*/
|
|
96
|
-
public async futureBidsControllerAddfuturebid (matchedOfferId: string, userId: string, account: string,
|
|
98
|
+
public async futureBidsControllerAddfuturebid (matchedOfferId: string, userId: string, account: string, addFutureBidDto: AddFutureBidDto, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body?: any; }> {
|
|
97
99
|
const localVarPath = this.basePath + '/future-bids/{account}/{matchedOfferId}/{userId}'
|
|
98
100
|
.replace('{' + 'matchedOfferId' + '}', encodeURIComponent(String(matchedOfferId)))
|
|
99
101
|
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)))
|
|
@@ -117,9 +119,9 @@ export class FutureBidsApi {
|
|
|
117
119
|
throw new Error('Required parameter account was null or undefined when calling futureBidsControllerAddfuturebid.');
|
|
118
120
|
}
|
|
119
121
|
|
|
120
|
-
// verify required parameter '
|
|
121
|
-
if (
|
|
122
|
-
throw new Error('Required parameter
|
|
122
|
+
// verify required parameter 'addFutureBidDto' is not null or undefined
|
|
123
|
+
if (addFutureBidDto === null || addFutureBidDto === undefined) {
|
|
124
|
+
throw new Error('Required parameter addFutureBidDto was null or undefined when calling futureBidsControllerAddfuturebid.');
|
|
123
125
|
}
|
|
124
126
|
|
|
125
127
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -133,7 +135,7 @@ export class FutureBidsApi {
|
|
|
133
135
|
uri: localVarPath,
|
|
134
136
|
useQuerystring: this._useQuerystring,
|
|
135
137
|
json: true,
|
|
136
|
-
body: ObjectSerializer.serialize(
|
|
138
|
+
body: ObjectSerializer.serialize(addFutureBidDto, "AddFutureBidDto")
|
|
137
139
|
};
|
|
138
140
|
|
|
139
141
|
let authenticationPromise = Promise.resolve();
|
|
@@ -171,12 +173,12 @@ export class FutureBidsApi {
|
|
|
171
173
|
*
|
|
172
174
|
* @summary Retrieves a list of all future bids
|
|
173
175
|
* @param account
|
|
174
|
-
* @param
|
|
176
|
+
* @param addFutureBidDto
|
|
175
177
|
* @param skip
|
|
176
178
|
* @param limit
|
|
177
179
|
* @param sort
|
|
178
180
|
*/
|
|
179
|
-
public async futureBidsControllerFindall (account: string,
|
|
181
|
+
public async futureBidsControllerFindall (account: string, addFutureBidDto: AddFutureBidDto, skip?: number, limit?: number, sort?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body?: any; }> {
|
|
180
182
|
const localVarPath = this.basePath + '/future-bids/{account}'
|
|
181
183
|
.replace('{' + 'account' + '}', encodeURIComponent(String(account)));
|
|
182
184
|
let localVarQueryParameters: any = {};
|
|
@@ -188,9 +190,9 @@ export class FutureBidsApi {
|
|
|
188
190
|
throw new Error('Required parameter account was null or undefined when calling futureBidsControllerFindall.');
|
|
189
191
|
}
|
|
190
192
|
|
|
191
|
-
// verify required parameter '
|
|
192
|
-
if (
|
|
193
|
-
throw new Error('Required parameter
|
|
193
|
+
// verify required parameter 'addFutureBidDto' is not null or undefined
|
|
194
|
+
if (addFutureBidDto === null || addFutureBidDto === undefined) {
|
|
195
|
+
throw new Error('Required parameter addFutureBidDto was null or undefined when calling futureBidsControllerFindall.');
|
|
194
196
|
}
|
|
195
197
|
|
|
196
198
|
if (skip !== undefined) {
|
|
@@ -216,7 +218,7 @@ export class FutureBidsApi {
|
|
|
216
218
|
uri: localVarPath,
|
|
217
219
|
useQuerystring: this._useQuerystring,
|
|
218
220
|
json: true,
|
|
219
|
-
body: ObjectSerializer.serialize(
|
|
221
|
+
body: ObjectSerializer.serialize(addFutureBidDto, "AddFutureBidDto")
|
|
220
222
|
};
|
|
221
223
|
|
|
222
224
|
let authenticationPromise = Promise.resolve();
|
|
@@ -384,9 +386,9 @@ export class FutureBidsApi {
|
|
|
384
386
|
* @summary update the future bid
|
|
385
387
|
* @param id
|
|
386
388
|
* @param account
|
|
387
|
-
* @param
|
|
389
|
+
* @param updateFutureBidDto
|
|
388
390
|
*/
|
|
389
|
-
public async futureBidsControllerUpdate (id: string, account: string,
|
|
391
|
+
public async futureBidsControllerUpdate (id: string, account: string, updateFutureBidDto: UpdateFutureBidDto, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body?: any; }> {
|
|
390
392
|
const localVarPath = this.basePath + '/future-bids/{account}/{id}'
|
|
391
393
|
.replace('{' + 'id' + '}', encodeURIComponent(String(id)))
|
|
392
394
|
.replace('{' + 'account' + '}', encodeURIComponent(String(account)));
|
|
@@ -404,9 +406,9 @@ export class FutureBidsApi {
|
|
|
404
406
|
throw new Error('Required parameter account was null or undefined when calling futureBidsControllerUpdate.');
|
|
405
407
|
}
|
|
406
408
|
|
|
407
|
-
// verify required parameter '
|
|
408
|
-
if (
|
|
409
|
-
throw new Error('Required parameter
|
|
409
|
+
// verify required parameter 'updateFutureBidDto' is not null or undefined
|
|
410
|
+
if (updateFutureBidDto === null || updateFutureBidDto === undefined) {
|
|
411
|
+
throw new Error('Required parameter updateFutureBidDto was null or undefined when calling futureBidsControllerUpdate.');
|
|
410
412
|
}
|
|
411
413
|
|
|
412
414
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -420,7 +422,7 @@ export class FutureBidsApi {
|
|
|
420
422
|
uri: localVarPath,
|
|
421
423
|
useQuerystring: this._useQuerystring,
|
|
422
424
|
json: true,
|
|
423
|
-
body: ObjectSerializer.serialize(
|
|
425
|
+
body: ObjectSerializer.serialize(updateFutureBidDto, "UpdateFutureBidDto")
|
|
424
426
|
};
|
|
425
427
|
|
|
426
428
|
let authenticationPromise = Promise.resolve();
|
package/api/matchedOffersApi.ts
CHANGED
|
@@ -15,6 +15,8 @@ import localVarRequest from 'request';
|
|
|
15
15
|
import http from 'http';
|
|
16
16
|
|
|
17
17
|
/* tslint:disable:no-unused-locals */
|
|
18
|
+
import { CreateMatchedOfferDto } from '../model/createMatchedOfferDto';
|
|
19
|
+
import { PinActionDto } from '../model/pinActionDto';
|
|
18
20
|
|
|
19
21
|
import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models';
|
|
20
22
|
|
|
@@ -172,9 +174,9 @@ export class MatchedOffersApi {
|
|
|
172
174
|
* @summary Pins a matched offer for a specified user
|
|
173
175
|
* @param id
|
|
174
176
|
* @param account
|
|
175
|
-
* @param
|
|
177
|
+
* @param pinActionDto
|
|
176
178
|
*/
|
|
177
|
-
public async matchedOffersControllerAddpin (id: string, account: string,
|
|
179
|
+
public async matchedOffersControllerAddpin (id: string, account: string, pinActionDto: PinActionDto, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body?: any; }> {
|
|
178
180
|
const localVarPath = this.basePath + '/matched-offers/{account}/{id}/pin'
|
|
179
181
|
.replace('{' + 'id' + '}', encodeURIComponent(String(id)))
|
|
180
182
|
.replace('{' + 'account' + '}', encodeURIComponent(String(account)));
|
|
@@ -192,9 +194,9 @@ export class MatchedOffersApi {
|
|
|
192
194
|
throw new Error('Required parameter account was null or undefined when calling matchedOffersControllerAddpin.');
|
|
193
195
|
}
|
|
194
196
|
|
|
195
|
-
// verify required parameter '
|
|
196
|
-
if (
|
|
197
|
-
throw new Error('Required parameter
|
|
197
|
+
// verify required parameter 'pinActionDto' is not null or undefined
|
|
198
|
+
if (pinActionDto === null || pinActionDto === undefined) {
|
|
199
|
+
throw new Error('Required parameter pinActionDto was null or undefined when calling matchedOffersControllerAddpin.');
|
|
198
200
|
}
|
|
199
201
|
|
|
200
202
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -208,7 +210,7 @@ export class MatchedOffersApi {
|
|
|
208
210
|
uri: localVarPath,
|
|
209
211
|
useQuerystring: this._useQuerystring,
|
|
210
212
|
json: true,
|
|
211
|
-
body: ObjectSerializer.serialize(
|
|
213
|
+
body: ObjectSerializer.serialize(pinActionDto, "PinActionDto")
|
|
212
214
|
};
|
|
213
215
|
|
|
214
216
|
let authenticationPromise = Promise.resolve();
|
|
@@ -307,9 +309,9 @@ export class MatchedOffersApi {
|
|
|
307
309
|
*
|
|
308
310
|
* @summary Creates a new matched offer
|
|
309
311
|
* @param account
|
|
310
|
-
* @param
|
|
312
|
+
* @param createMatchedOfferDto
|
|
311
313
|
*/
|
|
312
|
-
public async matchedOffersControllerCreate (account: string,
|
|
314
|
+
public async matchedOffersControllerCreate (account: string, createMatchedOfferDto: CreateMatchedOfferDto, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body?: any; }> {
|
|
313
315
|
const localVarPath = this.basePath + '/matched-offers/{account}'
|
|
314
316
|
.replace('{' + 'account' + '}', encodeURIComponent(String(account)));
|
|
315
317
|
let localVarQueryParameters: any = {};
|
|
@@ -321,9 +323,9 @@ export class MatchedOffersApi {
|
|
|
321
323
|
throw new Error('Required parameter account was null or undefined when calling matchedOffersControllerCreate.');
|
|
322
324
|
}
|
|
323
325
|
|
|
324
|
-
// verify required parameter '
|
|
325
|
-
if (
|
|
326
|
-
throw new Error('Required parameter
|
|
326
|
+
// verify required parameter 'createMatchedOfferDto' is not null or undefined
|
|
327
|
+
if (createMatchedOfferDto === null || createMatchedOfferDto === undefined) {
|
|
328
|
+
throw new Error('Required parameter createMatchedOfferDto was null or undefined when calling matchedOffersControllerCreate.');
|
|
327
329
|
}
|
|
328
330
|
|
|
329
331
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -337,7 +339,7 @@ export class MatchedOffersApi {
|
|
|
337
339
|
uri: localVarPath,
|
|
338
340
|
useQuerystring: this._useQuerystring,
|
|
339
341
|
json: true,
|
|
340
|
-
body: ObjectSerializer.serialize(
|
|
342
|
+
body: ObjectSerializer.serialize(createMatchedOfferDto, "CreateMatchedOfferDto")
|
|
341
343
|
};
|
|
342
344
|
|
|
343
345
|
let authenticationPromise = Promise.resolve();
|
|
@@ -528,12 +530,12 @@ export class MatchedOffersApi {
|
|
|
528
530
|
*
|
|
529
531
|
* @summary Retrieves a list of all matched offers
|
|
530
532
|
* @param account
|
|
531
|
-
* @param
|
|
533
|
+
* @param createMatchedOfferDto
|
|
532
534
|
* @param skip
|
|
533
535
|
* @param limit
|
|
534
536
|
* @param sort
|
|
535
537
|
*/
|
|
536
|
-
public async matchedOffersControllerFindall (account: string,
|
|
538
|
+
public async matchedOffersControllerFindall (account: string, createMatchedOfferDto: CreateMatchedOfferDto, skip?: number, limit?: number, sort?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body?: any; }> {
|
|
537
539
|
const localVarPath = this.basePath + '/matched-offers/{account}'
|
|
538
540
|
.replace('{' + 'account' + '}', encodeURIComponent(String(account)));
|
|
539
541
|
let localVarQueryParameters: any = {};
|
|
@@ -545,9 +547,9 @@ export class MatchedOffersApi {
|
|
|
545
547
|
throw new Error('Required parameter account was null or undefined when calling matchedOffersControllerFindall.');
|
|
546
548
|
}
|
|
547
549
|
|
|
548
|
-
// verify required parameter '
|
|
549
|
-
if (
|
|
550
|
-
throw new Error('Required parameter
|
|
550
|
+
// verify required parameter 'createMatchedOfferDto' is not null or undefined
|
|
551
|
+
if (createMatchedOfferDto === null || createMatchedOfferDto === undefined) {
|
|
552
|
+
throw new Error('Required parameter createMatchedOfferDto was null or undefined when calling matchedOffersControllerFindall.');
|
|
551
553
|
}
|
|
552
554
|
|
|
553
555
|
if (skip !== undefined) {
|
|
@@ -573,7 +575,7 @@ export class MatchedOffersApi {
|
|
|
573
575
|
uri: localVarPath,
|
|
574
576
|
useQuerystring: this._useQuerystring,
|
|
575
577
|
json: true,
|
|
576
|
-
body: ObjectSerializer.serialize(
|
|
578
|
+
body: ObjectSerializer.serialize(createMatchedOfferDto, "CreateMatchedOfferDto")
|
|
577
579
|
};
|
|
578
580
|
|
|
579
581
|
let authenticationPromise = Promise.resolve();
|
|
@@ -952,9 +954,9 @@ export class MatchedOffersApi {
|
|
|
952
954
|
* @summary Unpins a matched offer for a specified user
|
|
953
955
|
* @param id
|
|
954
956
|
* @param account
|
|
955
|
-
* @param
|
|
957
|
+
* @param pinActionDto
|
|
956
958
|
*/
|
|
957
|
-
public async matchedOffersControllerRemovepin (id: string, account: string,
|
|
959
|
+
public async matchedOffersControllerRemovepin (id: string, account: string, pinActionDto: PinActionDto, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body?: any; }> {
|
|
958
960
|
const localVarPath = this.basePath + '/matched-offers/{account}/{id}/unpin'
|
|
959
961
|
.replace('{' + 'id' + '}', encodeURIComponent(String(id)))
|
|
960
962
|
.replace('{' + 'account' + '}', encodeURIComponent(String(account)));
|
|
@@ -972,9 +974,9 @@ export class MatchedOffersApi {
|
|
|
972
974
|
throw new Error('Required parameter account was null or undefined when calling matchedOffersControllerRemovepin.');
|
|
973
975
|
}
|
|
974
976
|
|
|
975
|
-
// verify required parameter '
|
|
976
|
-
if (
|
|
977
|
-
throw new Error('Required parameter
|
|
977
|
+
// verify required parameter 'pinActionDto' is not null or undefined
|
|
978
|
+
if (pinActionDto === null || pinActionDto === undefined) {
|
|
979
|
+
throw new Error('Required parameter pinActionDto was null or undefined when calling matchedOffersControllerRemovepin.');
|
|
978
980
|
}
|
|
979
981
|
|
|
980
982
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -988,7 +990,7 @@ export class MatchedOffersApi {
|
|
|
988
990
|
uri: localVarPath,
|
|
989
991
|
useQuerystring: this._useQuerystring,
|
|
990
992
|
json: true,
|
|
991
|
-
body: ObjectSerializer.serialize(
|
|
993
|
+
body: ObjectSerializer.serialize(pinActionDto, "PinActionDto")
|
|
992
994
|
};
|
|
993
995
|
|
|
994
996
|
let authenticationPromise = Promise.resolve();
|
package/api/offersApi.ts
CHANGED
|
@@ -15,6 +15,7 @@ import localVarRequest from 'request';
|
|
|
15
15
|
import http from 'http';
|
|
16
16
|
|
|
17
17
|
/* tslint:disable:no-unused-locals */
|
|
18
|
+
import { CreateOfferDto } from '../model/createOfferDto';
|
|
18
19
|
|
|
19
20
|
import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models';
|
|
20
21
|
|
|
@@ -443,9 +444,9 @@ export class OffersApi {
|
|
|
443
444
|
*
|
|
444
445
|
* @summary Creates a new offer
|
|
445
446
|
* @param account
|
|
446
|
-
* @param
|
|
447
|
+
* @param createOfferDto
|
|
447
448
|
*/
|
|
448
|
-
public async offersControllerCreate (account: string,
|
|
449
|
+
public async offersControllerCreate (account: string, createOfferDto: CreateOfferDto, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body?: any; }> {
|
|
449
450
|
const localVarPath = this.basePath + '/offers/{account}'
|
|
450
451
|
.replace('{' + 'account' + '}', encodeURIComponent(String(account)));
|
|
451
452
|
let localVarQueryParameters: any = {};
|
|
@@ -457,9 +458,9 @@ export class OffersApi {
|
|
|
457
458
|
throw new Error('Required parameter account was null or undefined when calling offersControllerCreate.');
|
|
458
459
|
}
|
|
459
460
|
|
|
460
|
-
// verify required parameter '
|
|
461
|
-
if (
|
|
462
|
-
throw new Error('Required parameter
|
|
461
|
+
// verify required parameter 'createOfferDto' is not null or undefined
|
|
462
|
+
if (createOfferDto === null || createOfferDto === undefined) {
|
|
463
|
+
throw new Error('Required parameter createOfferDto was null or undefined when calling offersControllerCreate.');
|
|
463
464
|
}
|
|
464
465
|
|
|
465
466
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
@@ -473,7 +474,7 @@ export class OffersApi {
|
|
|
473
474
|
uri: localVarPath,
|
|
474
475
|
useQuerystring: this._useQuerystring,
|
|
475
476
|
json: true,
|
|
476
|
-
body: ObjectSerializer.serialize(
|
|
477
|
+
body: ObjectSerializer.serialize(createOfferDto, "CreateOfferDto")
|
|
477
478
|
};
|
|
478
479
|
|
|
479
480
|
let authenticationPromise = Promise.resolve();
|
|
@@ -657,12 +658,12 @@ export class OffersApi {
|
|
|
657
658
|
*
|
|
658
659
|
* @summary Retrieves a list of all offers
|
|
659
660
|
* @param account
|
|
660
|
-
* @param
|
|
661
|
+
* @param createOfferDto
|
|
661
662
|
* @param skip
|
|
662
663
|
* @param limit
|
|
663
664
|
* @param sort
|
|
664
665
|
*/
|
|
665
|
-
public async offersControllerFindall (account: string,
|
|
666
|
+
public async offersControllerFindall (account: string, createOfferDto: CreateOfferDto, skip?: number, limit?: number, sort?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body?: any; }> {
|
|
666
667
|
const localVarPath = this.basePath + '/offers/{account}'
|
|
667
668
|
.replace('{' + 'account' + '}', encodeURIComponent(String(account)));
|
|
668
669
|
let localVarQueryParameters: any = {};
|
|
@@ -674,9 +675,9 @@ export class OffersApi {
|
|
|
674
675
|
throw new Error('Required parameter account was null or undefined when calling offersControllerFindall.');
|
|
675
676
|
}
|
|
676
677
|
|
|
677
|
-
// verify required parameter '
|
|
678
|
-
if (
|
|
679
|
-
throw new Error('Required parameter
|
|
678
|
+
// verify required parameter 'createOfferDto' is not null or undefined
|
|
679
|
+
if (createOfferDto === null || createOfferDto === undefined) {
|
|
680
|
+
throw new Error('Required parameter createOfferDto was null or undefined when calling offersControllerFindall.');
|
|
680
681
|
}
|
|
681
682
|
|
|
682
683
|
if (skip !== undefined) {
|
|
@@ -702,7 +703,7 @@ export class OffersApi {
|
|
|
702
703
|
uri: localVarPath,
|
|
703
704
|
useQuerystring: this._useQuerystring,
|
|
704
705
|
json: true,
|
|
705
|
-
body: ObjectSerializer.serialize(
|
|
706
|
+
body: ObjectSerializer.serialize(createOfferDto, "CreateOfferDto")
|
|
706
707
|
};
|
|
707
708
|
|
|
708
709
|
let authenticationPromise = Promise.resolve();
|
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
|