@tradecafe/offer-service-sdk 0.0.5 → 0.0.6
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 +15 -14
- package/api/apis.ts +3 -1
- package/api/futureBidsApi.ts +368 -0
- package/dist/api/apis.d.ts +18 -16
- package/dist/api/apis.js +54 -52
- package/dist/api/apis.js.map +1 -1
- package/dist/api/futureBidsApi.d.ts +55 -0
- package/dist/api/futureBidsApi.js +378 -0
- package/dist/api/futureBidsApi.js.map +1 -0
- package/dist/api/healthApi.d.ts +32 -32
- package/dist/api/healthApi.js +174 -174
- package/dist/api/matchedOffersApi.d.ts +143 -143
- package/dist/api/matchedOffersApi.js +1129 -1129
- package/dist/api/offersApi.d.ts +175 -175
- package/dist/api/offersApi.js +1397 -1397
- package/dist/api.d.ts +2 -2
- package/dist/api.js +18 -18
- 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 +49 -49
- package/dist/model/models.js +231 -231
- package/package.json +1 -1
|
@@ -0,0 +1,378 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
+
function step(op) {
|
|
16
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
+
switch (op[0]) {
|
|
21
|
+
case 0: case 1: t = op; break;
|
|
22
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
+
default:
|
|
26
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
+
if (t[2]) _.ops.pop();
|
|
31
|
+
_.trys.pop(); continue;
|
|
32
|
+
}
|
|
33
|
+
op = body.call(thisArg, _);
|
|
34
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
39
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
40
|
+
};
|
|
41
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42
|
+
exports.FutureBidsApi = exports.FutureBidsApiApiKeys = void 0;
|
|
43
|
+
var request_1 = __importDefault(require("request"));
|
|
44
|
+
var models_1 = require("../model/models");
|
|
45
|
+
var apis_1 = require("./apis");
|
|
46
|
+
var defaultBasePath = 'http://localhost';
|
|
47
|
+
var FutureBidsApiApiKeys;
|
|
48
|
+
(function (FutureBidsApiApiKeys) {
|
|
49
|
+
})(FutureBidsApiApiKeys = exports.FutureBidsApiApiKeys || (exports.FutureBidsApiApiKeys = {}));
|
|
50
|
+
var FutureBidsApi = (function () {
|
|
51
|
+
function FutureBidsApi(basePathOrUsername, password, basePath) {
|
|
52
|
+
this._basePath = defaultBasePath;
|
|
53
|
+
this._defaultHeaders = {};
|
|
54
|
+
this._useQuerystring = false;
|
|
55
|
+
this.authentications = {
|
|
56
|
+
'default': new models_1.VoidAuth(),
|
|
57
|
+
};
|
|
58
|
+
this.interceptors = [];
|
|
59
|
+
if (password) {
|
|
60
|
+
if (basePath) {
|
|
61
|
+
this.basePath = basePath;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
if (basePathOrUsername) {
|
|
66
|
+
this.basePath = basePathOrUsername;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
Object.defineProperty(FutureBidsApi.prototype, "useQuerystring", {
|
|
71
|
+
set: function (value) {
|
|
72
|
+
this._useQuerystring = value;
|
|
73
|
+
},
|
|
74
|
+
enumerable: false,
|
|
75
|
+
configurable: true
|
|
76
|
+
});
|
|
77
|
+
Object.defineProperty(FutureBidsApi.prototype, "basePath", {
|
|
78
|
+
get: function () {
|
|
79
|
+
return this._basePath;
|
|
80
|
+
},
|
|
81
|
+
set: function (basePath) {
|
|
82
|
+
this._basePath = basePath;
|
|
83
|
+
},
|
|
84
|
+
enumerable: false,
|
|
85
|
+
configurable: true
|
|
86
|
+
});
|
|
87
|
+
Object.defineProperty(FutureBidsApi.prototype, "defaultHeaders", {
|
|
88
|
+
get: function () {
|
|
89
|
+
return this._defaultHeaders;
|
|
90
|
+
},
|
|
91
|
+
set: function (defaultHeaders) {
|
|
92
|
+
this._defaultHeaders = defaultHeaders;
|
|
93
|
+
},
|
|
94
|
+
enumerable: false,
|
|
95
|
+
configurable: true
|
|
96
|
+
});
|
|
97
|
+
FutureBidsApi.prototype.setDefaultAuthentication = function (auth) {
|
|
98
|
+
this.authentications.default = auth;
|
|
99
|
+
};
|
|
100
|
+
FutureBidsApi.prototype.setApiKey = function (key, value) {
|
|
101
|
+
this.authentications[FutureBidsApiApiKeys[key]].apiKey = value;
|
|
102
|
+
};
|
|
103
|
+
FutureBidsApi.prototype.addInterceptor = function (interceptor) {
|
|
104
|
+
this.interceptors.push(interceptor);
|
|
105
|
+
};
|
|
106
|
+
FutureBidsApi.prototype.futureBidsControllerAddfuturebid = function (matchedOfferId, userId, body, options) {
|
|
107
|
+
if (options === void 0) { options = { headers: {} }; }
|
|
108
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
109
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_1, _i, _a, interceptor;
|
|
110
|
+
var _this = this;
|
|
111
|
+
return __generator(this, function (_b) {
|
|
112
|
+
localVarPath = this.basePath + '/future-bids/{matchedOfferId}/{userId}'
|
|
113
|
+
.replace('{' + 'matchedOfferId' + '}', encodeURIComponent(String(matchedOfferId)))
|
|
114
|
+
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
|
|
115
|
+
localVarQueryParameters = {};
|
|
116
|
+
localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
117
|
+
localVarFormParams = {};
|
|
118
|
+
if (matchedOfferId === null || matchedOfferId === undefined) {
|
|
119
|
+
throw new Error('Required parameter matchedOfferId was null or undefined when calling futureBidsControllerAddfuturebid.');
|
|
120
|
+
}
|
|
121
|
+
if (userId === null || userId === undefined) {
|
|
122
|
+
throw new Error('Required parameter userId was null or undefined when calling futureBidsControllerAddfuturebid.');
|
|
123
|
+
}
|
|
124
|
+
if (body === null || body === undefined) {
|
|
125
|
+
throw new Error('Required parameter body was null or undefined when calling futureBidsControllerAddfuturebid.');
|
|
126
|
+
}
|
|
127
|
+
Object.assign(localVarHeaderParams, options.headers);
|
|
128
|
+
localVarUseFormData = false;
|
|
129
|
+
localVarRequestOptions = {
|
|
130
|
+
method: 'POST',
|
|
131
|
+
qs: localVarQueryParameters,
|
|
132
|
+
headers: localVarHeaderParams,
|
|
133
|
+
uri: localVarPath,
|
|
134
|
+
useQuerystring: this._useQuerystring,
|
|
135
|
+
json: true,
|
|
136
|
+
body: models_1.ObjectSerializer.serialize(body, "object")
|
|
137
|
+
};
|
|
138
|
+
authenticationPromise = Promise.resolve();
|
|
139
|
+
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
140
|
+
interceptorPromise = authenticationPromise;
|
|
141
|
+
_loop_1 = function (interceptor) {
|
|
142
|
+
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
143
|
+
};
|
|
144
|
+
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
145
|
+
interceptor = _a[_i];
|
|
146
|
+
_loop_1(interceptor);
|
|
147
|
+
}
|
|
148
|
+
return [2, interceptorPromise.then(function () {
|
|
149
|
+
if (Object.keys(localVarFormParams).length) {
|
|
150
|
+
if (localVarUseFormData) {
|
|
151
|
+
localVarRequestOptions.formData = localVarFormParams;
|
|
152
|
+
}
|
|
153
|
+
else {
|
|
154
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
return new Promise(function (resolve, reject) {
|
|
158
|
+
(0, request_1.default)(localVarRequestOptions, function (error, response, body) {
|
|
159
|
+
if (error) {
|
|
160
|
+
reject(error);
|
|
161
|
+
}
|
|
162
|
+
else {
|
|
163
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
164
|
+
resolve({ response: response, body: body });
|
|
165
|
+
}
|
|
166
|
+
else {
|
|
167
|
+
reject(new apis_1.HttpError(response, body, response.statusCode));
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
});
|
|
171
|
+
});
|
|
172
|
+
})];
|
|
173
|
+
});
|
|
174
|
+
});
|
|
175
|
+
};
|
|
176
|
+
FutureBidsApi.prototype.futureBidsControllerFindall = function (body, skip, limit, sort, options) {
|
|
177
|
+
if (options === void 0) { options = { headers: {} }; }
|
|
178
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
179
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_2, _i, _a, interceptor;
|
|
180
|
+
var _this = this;
|
|
181
|
+
return __generator(this, function (_b) {
|
|
182
|
+
localVarPath = this.basePath + '/future-bids';
|
|
183
|
+
localVarQueryParameters = {};
|
|
184
|
+
localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
185
|
+
localVarFormParams = {};
|
|
186
|
+
if (body === null || body === undefined) {
|
|
187
|
+
throw new Error('Required parameter body was null or undefined when calling futureBidsControllerFindall.');
|
|
188
|
+
}
|
|
189
|
+
if (skip !== undefined) {
|
|
190
|
+
localVarQueryParameters['skip'] = models_1.ObjectSerializer.serialize(skip, "number");
|
|
191
|
+
}
|
|
192
|
+
if (limit !== undefined) {
|
|
193
|
+
localVarQueryParameters['limit'] = models_1.ObjectSerializer.serialize(limit, "number");
|
|
194
|
+
}
|
|
195
|
+
if (sort !== undefined) {
|
|
196
|
+
localVarQueryParameters['sort'] = models_1.ObjectSerializer.serialize(sort, "string");
|
|
197
|
+
}
|
|
198
|
+
Object.assign(localVarHeaderParams, options.headers);
|
|
199
|
+
localVarUseFormData = false;
|
|
200
|
+
localVarRequestOptions = {
|
|
201
|
+
method: 'GET',
|
|
202
|
+
qs: localVarQueryParameters,
|
|
203
|
+
headers: localVarHeaderParams,
|
|
204
|
+
uri: localVarPath,
|
|
205
|
+
useQuerystring: this._useQuerystring,
|
|
206
|
+
json: true,
|
|
207
|
+
body: models_1.ObjectSerializer.serialize(body, "object")
|
|
208
|
+
};
|
|
209
|
+
authenticationPromise = Promise.resolve();
|
|
210
|
+
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
211
|
+
interceptorPromise = authenticationPromise;
|
|
212
|
+
_loop_2 = function (interceptor) {
|
|
213
|
+
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
214
|
+
};
|
|
215
|
+
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
216
|
+
interceptor = _a[_i];
|
|
217
|
+
_loop_2(interceptor);
|
|
218
|
+
}
|
|
219
|
+
return [2, interceptorPromise.then(function () {
|
|
220
|
+
if (Object.keys(localVarFormParams).length) {
|
|
221
|
+
if (localVarUseFormData) {
|
|
222
|
+
localVarRequestOptions.formData = localVarFormParams;
|
|
223
|
+
}
|
|
224
|
+
else {
|
|
225
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
return new Promise(function (resolve, reject) {
|
|
229
|
+
(0, request_1.default)(localVarRequestOptions, function (error, response, body) {
|
|
230
|
+
if (error) {
|
|
231
|
+
reject(error);
|
|
232
|
+
}
|
|
233
|
+
else {
|
|
234
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
235
|
+
resolve({ response: response, body: body });
|
|
236
|
+
}
|
|
237
|
+
else {
|
|
238
|
+
reject(new apis_1.HttpError(response, body, response.statusCode));
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
});
|
|
242
|
+
});
|
|
243
|
+
})];
|
|
244
|
+
});
|
|
245
|
+
});
|
|
246
|
+
};
|
|
247
|
+
FutureBidsApi.prototype.futureBidsControllerRemovefuturebid = function (id, options) {
|
|
248
|
+
if (options === void 0) { options = { headers: {} }; }
|
|
249
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
250
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_3, _i, _a, interceptor;
|
|
251
|
+
var _this = this;
|
|
252
|
+
return __generator(this, function (_b) {
|
|
253
|
+
localVarPath = this.basePath + '/future-bids/{id}'
|
|
254
|
+
.replace('{' + 'id' + '}', encodeURIComponent(String(id)));
|
|
255
|
+
localVarQueryParameters = {};
|
|
256
|
+
localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
257
|
+
localVarFormParams = {};
|
|
258
|
+
if (id === null || id === undefined) {
|
|
259
|
+
throw new Error('Required parameter id was null or undefined when calling futureBidsControllerRemovefuturebid.');
|
|
260
|
+
}
|
|
261
|
+
Object.assign(localVarHeaderParams, options.headers);
|
|
262
|
+
localVarUseFormData = false;
|
|
263
|
+
localVarRequestOptions = {
|
|
264
|
+
method: 'DELETE',
|
|
265
|
+
qs: localVarQueryParameters,
|
|
266
|
+
headers: localVarHeaderParams,
|
|
267
|
+
uri: localVarPath,
|
|
268
|
+
useQuerystring: this._useQuerystring,
|
|
269
|
+
json: true,
|
|
270
|
+
};
|
|
271
|
+
authenticationPromise = Promise.resolve();
|
|
272
|
+
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
273
|
+
interceptorPromise = authenticationPromise;
|
|
274
|
+
_loop_3 = function (interceptor) {
|
|
275
|
+
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
276
|
+
};
|
|
277
|
+
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
278
|
+
interceptor = _a[_i];
|
|
279
|
+
_loop_3(interceptor);
|
|
280
|
+
}
|
|
281
|
+
return [2, interceptorPromise.then(function () {
|
|
282
|
+
if (Object.keys(localVarFormParams).length) {
|
|
283
|
+
if (localVarUseFormData) {
|
|
284
|
+
localVarRequestOptions.formData = localVarFormParams;
|
|
285
|
+
}
|
|
286
|
+
else {
|
|
287
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
return new Promise(function (resolve, reject) {
|
|
291
|
+
(0, request_1.default)(localVarRequestOptions, function (error, response, body) {
|
|
292
|
+
if (error) {
|
|
293
|
+
reject(error);
|
|
294
|
+
}
|
|
295
|
+
else {
|
|
296
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
297
|
+
resolve({ response: response, body: body });
|
|
298
|
+
}
|
|
299
|
+
else {
|
|
300
|
+
reject(new apis_1.HttpError(response, body, response.statusCode));
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
});
|
|
304
|
+
});
|
|
305
|
+
})];
|
|
306
|
+
});
|
|
307
|
+
});
|
|
308
|
+
};
|
|
309
|
+
FutureBidsApi.prototype.futureBidsControllerUpdate = function (id, body, options) {
|
|
310
|
+
if (options === void 0) { options = { headers: {} }; }
|
|
311
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
312
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_4, _i, _a, interceptor;
|
|
313
|
+
var _this = this;
|
|
314
|
+
return __generator(this, function (_b) {
|
|
315
|
+
localVarPath = this.basePath + '/future-bids/{id}'
|
|
316
|
+
.replace('{' + 'id' + '}', encodeURIComponent(String(id)));
|
|
317
|
+
localVarQueryParameters = {};
|
|
318
|
+
localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
319
|
+
localVarFormParams = {};
|
|
320
|
+
if (id === null || id === undefined) {
|
|
321
|
+
throw new Error('Required parameter id was null or undefined when calling futureBidsControllerUpdate.');
|
|
322
|
+
}
|
|
323
|
+
if (body === null || body === undefined) {
|
|
324
|
+
throw new Error('Required parameter body was null or undefined when calling futureBidsControllerUpdate.');
|
|
325
|
+
}
|
|
326
|
+
Object.assign(localVarHeaderParams, options.headers);
|
|
327
|
+
localVarUseFormData = false;
|
|
328
|
+
localVarRequestOptions = {
|
|
329
|
+
method: 'PUT',
|
|
330
|
+
qs: localVarQueryParameters,
|
|
331
|
+
headers: localVarHeaderParams,
|
|
332
|
+
uri: localVarPath,
|
|
333
|
+
useQuerystring: this._useQuerystring,
|
|
334
|
+
json: true,
|
|
335
|
+
body: models_1.ObjectSerializer.serialize(body, "object")
|
|
336
|
+
};
|
|
337
|
+
authenticationPromise = Promise.resolve();
|
|
338
|
+
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
339
|
+
interceptorPromise = authenticationPromise;
|
|
340
|
+
_loop_4 = function (interceptor) {
|
|
341
|
+
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
342
|
+
};
|
|
343
|
+
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
344
|
+
interceptor = _a[_i];
|
|
345
|
+
_loop_4(interceptor);
|
|
346
|
+
}
|
|
347
|
+
return [2, interceptorPromise.then(function () {
|
|
348
|
+
if (Object.keys(localVarFormParams).length) {
|
|
349
|
+
if (localVarUseFormData) {
|
|
350
|
+
localVarRequestOptions.formData = localVarFormParams;
|
|
351
|
+
}
|
|
352
|
+
else {
|
|
353
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
return new Promise(function (resolve, reject) {
|
|
357
|
+
(0, request_1.default)(localVarRequestOptions, function (error, response, body) {
|
|
358
|
+
if (error) {
|
|
359
|
+
reject(error);
|
|
360
|
+
}
|
|
361
|
+
else {
|
|
362
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
363
|
+
resolve({ response: response, body: body });
|
|
364
|
+
}
|
|
365
|
+
else {
|
|
366
|
+
reject(new apis_1.HttpError(response, body, response.statusCode));
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
});
|
|
370
|
+
});
|
|
371
|
+
})];
|
|
372
|
+
});
|
|
373
|
+
});
|
|
374
|
+
};
|
|
375
|
+
return FutureBidsApi;
|
|
376
|
+
}());
|
|
377
|
+
exports.FutureBidsApi = FutureBidsApi;
|
|
378
|
+
//# sourceMappingURL=futureBidsApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"futureBidsApi.js","sourceRoot":"","sources":["../../api/futureBidsApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,oDAAsC;AAKtC,0CAA0F;AAE1F,+BAAgD;AAEhD,IAAI,eAAe,GAAG,kBAAkB,CAAC;AAMzC,IAAY,oBACX;AADD,WAAY,oBAAoB;AAChC,CAAC,EADW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAC/B;AAED;IAYI,uBAAY,kBAA0B,EAAE,QAAiB,EAAE,QAAiB;QAXlE,cAAS,GAAG,eAAe,CAAC;QAC5B,oBAAe,GAAS,EAAE,CAAC;QAC3B,oBAAe,GAAa,KAAK,CAAC;QAElC,oBAAe,GAAG;YACxB,SAAS,EAAkB,IAAI,iBAAQ,EAAE;SAC5C,CAAA;QAES,iBAAY,GAAkB,EAAE,CAAC;QAIvC,IAAI,QAAQ,EAAE;YACV,IAAI,QAAQ,EAAE;gBACV,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;aAC5B;SACJ;aAAM;YACH,IAAI,kBAAkB,EAAE;gBACpB,IAAI,CAAC,QAAQ,GAAG,kBAAkB,CAAA;aACrC;SACJ;IACL,CAAC;IAED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AW;4BAAX,WAAW;iBAErB;gBAED,WAAO,kBAAkB,CAAC,IAAI,CAAC;wBAC3B,IAAI,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,MAAM,EAAE;4BACxC,IAAI,mBAAmB,EAAE;gCACf,sBAAuB,CAAC,QAAQ,GAAG,kBAAkB,CAAC;6BAC/D;iCAAM;gCACH,sBAAsB,CAAC,IAAI,GAAG,kBAAkB,CAAC;6BACpD;yBACJ;wBACD,OAAO,IAAI,OAAO,CAAmD,UAAC,OAAO,EAAE,MAAM;4BACjF,IAAA,iBAAe,EAAC,sBAAsB,EAAE,UAAC,KAAK,EAAE,QAAQ,EAAE,IAAI;gCAC1D,IAAI,KAAK,EAAE;oCACP,MAAM,CAAC,KAAK,CAAC,CAAC;iCACjB;qCAAM;oCACH,IAAI,QAAQ,CAAC,UAAU,IAAI,QAAQ,CAAC,UAAU,IAAI,GAAG,IAAI,QAAQ,CAAC,UAAU,IAAI,GAAG,EAAE;wCACjF,OAAO,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC;qCAC/C;yCAAM;wCACH,MAAM,CAAC,IAAI,gBAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC,CAAC;qCAC9D;iCACJ;4BACL,CAAC,CAAC,CAAC;wBACP,CAAC,CAAC,CAAC;oBACP,CAAC,CAAC,EAAC;;;KACN;IACL,oBAAC;AAAD,CAAC,AAhVD,IAgVC;AAhVY,sCAAa"}
|
package/dist/api/healthApi.d.ts
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import http from 'http';
|
|
3
|
-
import { HealthControllerPing200Response } from '../model/healthControllerPing200Response';
|
|
4
|
-
import { Authentication, Interceptor } from '../model/models';
|
|
5
|
-
export declare enum HealthApiApiKeys {
|
|
6
|
-
}
|
|
7
|
-
export declare class HealthApi {
|
|
8
|
-
protected _basePath: string;
|
|
9
|
-
protected _defaultHeaders: any;
|
|
10
|
-
protected _useQuerystring: boolean;
|
|
11
|
-
protected authentications: {
|
|
12
|
-
default: Authentication;
|
|
13
|
-
};
|
|
14
|
-
protected interceptors: Interceptor[];
|
|
15
|
-
constructor(basePath?: string);
|
|
16
|
-
set useQuerystring(value: boolean);
|
|
17
|
-
set basePath(basePath: string);
|
|
18
|
-
set defaultHeaders(defaultHeaders: any);
|
|
19
|
-
get defaultHeaders(): any;
|
|
20
|
-
get basePath(): string;
|
|
21
|
-
setDefaultAuthentication(auth: Authentication): void;
|
|
22
|
-
setApiKey(key: HealthApiApiKeys, value: string): void;
|
|
23
|
-
addInterceptor(interceptor: Interceptor): void;
|
|
24
|
-
healthControllerPing(options?: {
|
|
25
|
-
headers: {
|
|
26
|
-
[name: string]: string;
|
|
27
|
-
};
|
|
28
|
-
}): Promise<{
|
|
29
|
-
response: http.IncomingMessage;
|
|
30
|
-
body: HealthControllerPing200Response;
|
|
31
|
-
}>;
|
|
32
|
-
}
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import http from 'http';
|
|
3
|
+
import { HealthControllerPing200Response } from '../model/healthControllerPing200Response';
|
|
4
|
+
import { Authentication, Interceptor } from '../model/models';
|
|
5
|
+
export declare enum HealthApiApiKeys {
|
|
6
|
+
}
|
|
7
|
+
export declare class HealthApi {
|
|
8
|
+
protected _basePath: string;
|
|
9
|
+
protected _defaultHeaders: any;
|
|
10
|
+
protected _useQuerystring: boolean;
|
|
11
|
+
protected authentications: {
|
|
12
|
+
default: Authentication;
|
|
13
|
+
};
|
|
14
|
+
protected interceptors: Interceptor[];
|
|
15
|
+
constructor(basePath?: string);
|
|
16
|
+
set useQuerystring(value: boolean);
|
|
17
|
+
set basePath(basePath: string);
|
|
18
|
+
set defaultHeaders(defaultHeaders: any);
|
|
19
|
+
get defaultHeaders(): any;
|
|
20
|
+
get basePath(): string;
|
|
21
|
+
setDefaultAuthentication(auth: Authentication): void;
|
|
22
|
+
setApiKey(key: HealthApiApiKeys, value: string): void;
|
|
23
|
+
addInterceptor(interceptor: Interceptor): void;
|
|
24
|
+
healthControllerPing(options?: {
|
|
25
|
+
headers: {
|
|
26
|
+
[name: string]: string;
|
|
27
|
+
};
|
|
28
|
+
}): Promise<{
|
|
29
|
+
response: http.IncomingMessage;
|
|
30
|
+
body: HealthControllerPing200Response;
|
|
31
|
+
}>;
|
|
32
|
+
}
|