@tradecafe/offer-service-sdk 0.0.36 → 0.0.37
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 +41 -38
- package/dist/api/apis.d.ts +20 -20
- package/dist/api/apis.js +56 -56
- package/dist/api/automatedOffersApi.d.ts +112 -112
- package/dist/api/automatedOffersApi.js +876 -876
- 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 +177 -177
- package/dist/api/matchedOffersApi.js +1410 -1410
- package/dist/api/offersApi.d.ts +184 -184
- package/dist/api/offersApi.js +1469 -1469
- 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/createAutomatedOfferDto.d.ts +117 -115
- package/dist/model/createAutomatedOfferDto.js +396 -391
- package/dist/model/createAutomatedOfferDto.js.map +1 -1
- package/dist/model/createMatchedOfferDto.d.ts +83 -83
- package/dist/model/createMatchedOfferDto.js +310 -310
- package/dist/model/createOfferDto.d.ts +107 -105
- package/dist/model/createOfferDto.js +377 -372
- package/dist/model/createOfferDto.js.map +1 -1
- package/dist/model/createOfferDtoAttributes.d.ts +49 -49
- package/dist/model/createOfferDtoAttributes.js +159 -159
- 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/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/models.d.ts +74 -71
- package/dist/model/models.js +316 -307
- package/dist/model/models.js.map +1 -1
- package/dist/model/offerAttributesDto.d.ts +49 -49
- package/dist/model/offerAttributesDto.js +159 -159
- package/dist/model/offerAttributesDtoEstablishment.d.ts +43 -43
- package/dist/model/offerAttributesDtoEstablishment.js +165 -165
- package/dist/model/overwriteItemDto.d.ts +21 -0
- package/dist/model/overwriteItemDto.js +51 -0
- package/dist/model/overwriteItemDto.js.map +1 -0
- package/dist/model/overwriteItemDtoWeight.d.ts +14 -0
- package/dist/model/overwriteItemDtoWeight.js +21 -0
- package/dist/model/overwriteItemDtoWeight.js.map +1 -0
- 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/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 -0
- package/dist/model/weightDto.js +21 -0
- package/dist/model/weightDto.js.map +1 -0
- package/model/createAutomatedOfferDto.ts +10 -0
- package/model/createOfferDto.ts +10 -0
- package/model/models.ts +9 -0
- package/model/overwriteItemDto.ts +86 -0
- package/model/overwriteItemDtoWeight.ts +38 -0
- package/model/weightDto.ts +34 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -1,38 +1,41 @@
|
|
|
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/createAutomatedOfferDto.ts
|
|
13
|
-
model/createMatchedOfferDto.ts
|
|
14
|
-
model/createOfferDto.ts
|
|
15
|
-
model/createOfferDtoAttributes.ts
|
|
16
|
-
model/createOfferDtoFormula.ts
|
|
17
|
-
model/createOfferDtoPacking.ts
|
|
18
|
-
model/createOfferDtoWeight.ts
|
|
19
|
-
model/formulaDto.ts
|
|
20
|
-
model/formulaLineDto.ts
|
|
21
|
-
model/generalAddressDto.ts
|
|
22
|
-
model/healthControllerPing200Response.ts
|
|
23
|
-
model/healthControllerPing200ResponseInfoValue.ts
|
|
24
|
-
model/healthControllerPing503Response.ts
|
|
25
|
-
model/models.ts
|
|
26
|
-
model/offerAttributesDto.ts
|
|
27
|
-
model/offerAttributesDtoEstablishment.ts
|
|
28
|
-
model/
|
|
29
|
-
model/
|
|
30
|
-
model/
|
|
31
|
-
model/
|
|
32
|
-
model/
|
|
33
|
-
model/
|
|
34
|
-
model/
|
|
35
|
-
model/
|
|
36
|
-
model/
|
|
37
|
-
|
|
38
|
-
|
|
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/createAutomatedOfferDto.ts
|
|
13
|
+
model/createMatchedOfferDto.ts
|
|
14
|
+
model/createOfferDto.ts
|
|
15
|
+
model/createOfferDtoAttributes.ts
|
|
16
|
+
model/createOfferDtoFormula.ts
|
|
17
|
+
model/createOfferDtoPacking.ts
|
|
18
|
+
model/createOfferDtoWeight.ts
|
|
19
|
+
model/formulaDto.ts
|
|
20
|
+
model/formulaLineDto.ts
|
|
21
|
+
model/generalAddressDto.ts
|
|
22
|
+
model/healthControllerPing200Response.ts
|
|
23
|
+
model/healthControllerPing200ResponseInfoValue.ts
|
|
24
|
+
model/healthControllerPing503Response.ts
|
|
25
|
+
model/models.ts
|
|
26
|
+
model/offerAttributesDto.ts
|
|
27
|
+
model/offerAttributesDtoEstablishment.ts
|
|
28
|
+
model/overwriteItemDto.ts
|
|
29
|
+
model/overwriteItemDtoWeight.ts
|
|
30
|
+
model/packing.ts
|
|
31
|
+
model/pinActionDto.ts
|
|
32
|
+
model/relistingConfigDto.ts
|
|
33
|
+
model/relistingDetailDto.ts
|
|
34
|
+
model/relistingDetailDtoRandomConfig.ts
|
|
35
|
+
model/relistingRandomConfigDto.ts
|
|
36
|
+
model/updateFutureBidDto.ts
|
|
37
|
+
model/userPin.ts
|
|
38
|
+
model/weight.ts
|
|
39
|
+
model/weightDto.ts
|
|
40
|
+
package.json
|
|
41
|
+
tsconfig.json
|
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
|
|
@@ -1,112 +1,112 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import http from 'http';
|
|
3
|
-
import { CreateAutomatedOfferDto } from '../model/createAutomatedOfferDto';
|
|
4
|
-
import { Authentication, Interceptor } from '../model/models';
|
|
5
|
-
export declare enum AutomatedOffersApiApiKeys {
|
|
6
|
-
}
|
|
7
|
-
export declare class AutomatedOffersApi {
|
|
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: AutomatedOffersApiApiKeys, value: string): void;
|
|
23
|
-
addInterceptor(interceptor: Interceptor): void;
|
|
24
|
-
automatedOffersControllerCreate(account: string, createAutomatedOfferDto: CreateAutomatedOfferDto, options?: {
|
|
25
|
-
headers: {
|
|
26
|
-
[name: string]: string;
|
|
27
|
-
};
|
|
28
|
-
}): Promise<{
|
|
29
|
-
response: http.IncomingMessage;
|
|
30
|
-
body?: any;
|
|
31
|
-
}>;
|
|
32
|
-
automatedOffersControllerCreatebulk(account: string, createAutomatedOfferDto: Array<CreateAutomatedOfferDto>, options?: {
|
|
33
|
-
headers: {
|
|
34
|
-
[name: string]: string;
|
|
35
|
-
};
|
|
36
|
-
}): Promise<{
|
|
37
|
-
response: http.IncomingMessage;
|
|
38
|
-
body?: any;
|
|
39
|
-
}>;
|
|
40
|
-
automatedOffersControllerFilter(account: string, skip?: number, limit?: number, sort?: string, fields?: Array<string>, body?: object, options?: {
|
|
41
|
-
headers: {
|
|
42
|
-
[name: string]: string;
|
|
43
|
-
};
|
|
44
|
-
}): Promise<{
|
|
45
|
-
response: http.IncomingMessage;
|
|
46
|
-
body?: any;
|
|
47
|
-
}>;
|
|
48
|
-
automatedOffersControllerFindall(account: string, createAutomatedOfferDto: CreateAutomatedOfferDto, skip?: number, limit?: number, sort?: string, fields?: Array<string>, options?: {
|
|
49
|
-
headers: {
|
|
50
|
-
[name: string]: string;
|
|
51
|
-
};
|
|
52
|
-
}): Promise<{
|
|
53
|
-
response: http.IncomingMessage;
|
|
54
|
-
body?: any;
|
|
55
|
-
}>;
|
|
56
|
-
automatedOffersControllerFindone(id: string, account: string, fields?: string, options?: {
|
|
57
|
-
headers: {
|
|
58
|
-
[name: string]: string;
|
|
59
|
-
};
|
|
60
|
-
}): Promise<{
|
|
61
|
-
response: http.IncomingMessage;
|
|
62
|
-
body?: any;
|
|
63
|
-
}>;
|
|
64
|
-
automatedOffersControllerGetbids(account: string, skip?: number, limit?: number, sort?: string, fields?: Array<string>, body?: object, options?: {
|
|
65
|
-
headers: {
|
|
66
|
-
[name: string]: string;
|
|
67
|
-
};
|
|
68
|
-
}): Promise<{
|
|
69
|
-
response: http.IncomingMessage;
|
|
70
|
-
body?: any;
|
|
71
|
-
}>;
|
|
72
|
-
automatedOffersControllerRemove(id: string, account: string, options?: {
|
|
73
|
-
headers: {
|
|
74
|
-
[name: string]: string;
|
|
75
|
-
};
|
|
76
|
-
}): Promise<{
|
|
77
|
-
response: http.IncomingMessage;
|
|
78
|
-
body?: any;
|
|
79
|
-
}>;
|
|
80
|
-
automatedOffersControllerUpdate(id: string, account: string, body: object, options?: {
|
|
81
|
-
headers: {
|
|
82
|
-
[name: string]: string;
|
|
83
|
-
};
|
|
84
|
-
}): Promise<{
|
|
85
|
-
response: http.IncomingMessage;
|
|
86
|
-
body?: any;
|
|
87
|
-
}>;
|
|
88
|
-
automatedOffersControllerUpdaterelistingstatus(automatedOfferId: string, id: string, account: string, body: object, options?: {
|
|
89
|
-
headers: {
|
|
90
|
-
[name: string]: string;
|
|
91
|
-
};
|
|
92
|
-
}): Promise<{
|
|
93
|
-
response: http.IncomingMessage;
|
|
94
|
-
body?: any;
|
|
95
|
-
}>;
|
|
96
|
-
automatedOffersControllerUpdatestatus(account: string, body: object, options?: {
|
|
97
|
-
headers: {
|
|
98
|
-
[name: string]: string;
|
|
99
|
-
};
|
|
100
|
-
}): Promise<{
|
|
101
|
-
response: http.IncomingMessage;
|
|
102
|
-
body?: any;
|
|
103
|
-
}>;
|
|
104
|
-
automatedOffersControllerViews(account: string, body?: object, options?: {
|
|
105
|
-
headers: {
|
|
106
|
-
[name: string]: string;
|
|
107
|
-
};
|
|
108
|
-
}): Promise<{
|
|
109
|
-
response: http.IncomingMessage;
|
|
110
|
-
body?: any;
|
|
111
|
-
}>;
|
|
112
|
-
}
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import http from 'http';
|
|
3
|
+
import { CreateAutomatedOfferDto } from '../model/createAutomatedOfferDto';
|
|
4
|
+
import { Authentication, Interceptor } from '../model/models';
|
|
5
|
+
export declare enum AutomatedOffersApiApiKeys {
|
|
6
|
+
}
|
|
7
|
+
export declare class AutomatedOffersApi {
|
|
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: AutomatedOffersApiApiKeys, value: string): void;
|
|
23
|
+
addInterceptor(interceptor: Interceptor): void;
|
|
24
|
+
automatedOffersControllerCreate(account: string, createAutomatedOfferDto: CreateAutomatedOfferDto, options?: {
|
|
25
|
+
headers: {
|
|
26
|
+
[name: string]: string;
|
|
27
|
+
};
|
|
28
|
+
}): Promise<{
|
|
29
|
+
response: http.IncomingMessage;
|
|
30
|
+
body?: any;
|
|
31
|
+
}>;
|
|
32
|
+
automatedOffersControllerCreatebulk(account: string, createAutomatedOfferDto: Array<CreateAutomatedOfferDto>, options?: {
|
|
33
|
+
headers: {
|
|
34
|
+
[name: string]: string;
|
|
35
|
+
};
|
|
36
|
+
}): Promise<{
|
|
37
|
+
response: http.IncomingMessage;
|
|
38
|
+
body?: any;
|
|
39
|
+
}>;
|
|
40
|
+
automatedOffersControllerFilter(account: string, skip?: number, limit?: number, sort?: string, fields?: Array<string>, body?: object, options?: {
|
|
41
|
+
headers: {
|
|
42
|
+
[name: string]: string;
|
|
43
|
+
};
|
|
44
|
+
}): Promise<{
|
|
45
|
+
response: http.IncomingMessage;
|
|
46
|
+
body?: any;
|
|
47
|
+
}>;
|
|
48
|
+
automatedOffersControllerFindall(account: string, createAutomatedOfferDto: CreateAutomatedOfferDto, skip?: number, limit?: number, sort?: string, fields?: Array<string>, options?: {
|
|
49
|
+
headers: {
|
|
50
|
+
[name: string]: string;
|
|
51
|
+
};
|
|
52
|
+
}): Promise<{
|
|
53
|
+
response: http.IncomingMessage;
|
|
54
|
+
body?: any;
|
|
55
|
+
}>;
|
|
56
|
+
automatedOffersControllerFindone(id: string, account: string, fields?: string, options?: {
|
|
57
|
+
headers: {
|
|
58
|
+
[name: string]: string;
|
|
59
|
+
};
|
|
60
|
+
}): Promise<{
|
|
61
|
+
response: http.IncomingMessage;
|
|
62
|
+
body?: any;
|
|
63
|
+
}>;
|
|
64
|
+
automatedOffersControllerGetbids(account: string, skip?: number, limit?: number, sort?: string, fields?: Array<string>, body?: object, options?: {
|
|
65
|
+
headers: {
|
|
66
|
+
[name: string]: string;
|
|
67
|
+
};
|
|
68
|
+
}): Promise<{
|
|
69
|
+
response: http.IncomingMessage;
|
|
70
|
+
body?: any;
|
|
71
|
+
}>;
|
|
72
|
+
automatedOffersControllerRemove(id: string, account: string, options?: {
|
|
73
|
+
headers: {
|
|
74
|
+
[name: string]: string;
|
|
75
|
+
};
|
|
76
|
+
}): Promise<{
|
|
77
|
+
response: http.IncomingMessage;
|
|
78
|
+
body?: any;
|
|
79
|
+
}>;
|
|
80
|
+
automatedOffersControllerUpdate(id: string, account: string, body: object, options?: {
|
|
81
|
+
headers: {
|
|
82
|
+
[name: string]: string;
|
|
83
|
+
};
|
|
84
|
+
}): Promise<{
|
|
85
|
+
response: http.IncomingMessage;
|
|
86
|
+
body?: any;
|
|
87
|
+
}>;
|
|
88
|
+
automatedOffersControllerUpdaterelistingstatus(automatedOfferId: string, id: string, account: string, body: object, options?: {
|
|
89
|
+
headers: {
|
|
90
|
+
[name: string]: string;
|
|
91
|
+
};
|
|
92
|
+
}): Promise<{
|
|
93
|
+
response: http.IncomingMessage;
|
|
94
|
+
body?: any;
|
|
95
|
+
}>;
|
|
96
|
+
automatedOffersControllerUpdatestatus(account: string, body: object, options?: {
|
|
97
|
+
headers: {
|
|
98
|
+
[name: string]: string;
|
|
99
|
+
};
|
|
100
|
+
}): Promise<{
|
|
101
|
+
response: http.IncomingMessage;
|
|
102
|
+
body?: any;
|
|
103
|
+
}>;
|
|
104
|
+
automatedOffersControllerViews(account: string, body?: object, options?: {
|
|
105
|
+
headers: {
|
|
106
|
+
[name: string]: string;
|
|
107
|
+
};
|
|
108
|
+
}): Promise<{
|
|
109
|
+
response: http.IncomingMessage;
|
|
110
|
+
body?: any;
|
|
111
|
+
}>;
|
|
112
|
+
}
|