@tradecafe/offer-service-sdk 0.0.29 → 0.0.30
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/dist/api/apis.d.ts +20 -0
- package/dist/api/apis.js +57 -0
- package/dist/api/apis.js.map +1 -0
- package/dist/api/automatedOffersApi.d.ts +112 -0
- package/dist/api/automatedOffersApi.js +877 -0
- package/dist/api/automatedOffersApi.js.map +1 -0
- package/dist/api/futureBidsApi.d.ts +65 -0
- package/dist/api/futureBidsApi.js +459 -0
- package/dist/api/futureBidsApi.js.map +1 -0
- package/dist/api/healthApi.d.ts +32 -0
- package/dist/api/healthApi.js +175 -0
- package/dist/api/healthApi.js.map +1 -0
- package/dist/api/matchedOffersApi.d.ts +177 -0
- package/dist/api/matchedOffersApi.js +1411 -0
- package/dist/api/matchedOffersApi.js.map +1 -0
- package/dist/api/offersApi.d.ts +184 -0
- package/dist/api/offersApi.js +1470 -0
- package/dist/api/offersApi.js.map +1 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +19 -0
- package/dist/api.js.map +1 -0
- 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/createAutomatedOfferDto.d.ts +109 -0
- package/dist/model/createAutomatedOfferDto.js +362 -0
- package/dist/model/createAutomatedOfferDto.js.map +1 -0
- package/dist/model/createMatchedOfferDto.d.ts +83 -0
- package/dist/model/createMatchedOfferDto.js +311 -0
- package/dist/model/createMatchedOfferDto.js.map +1 -0
- package/dist/model/createOfferDto.d.ts +99 -0
- package/dist/model/createOfferDto.js +343 -0
- package/dist/model/createOfferDto.js.map +1 -0
- package/dist/model/createOfferDtoAttributes.d.ts +48 -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/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 +43 -0
- package/dist/model/generalAddressDto.js +166 -0
- package/dist/model/generalAddressDto.js.map +1 -0
- package/dist/model/healthControllerPing200Response.d.ts +24 -0
- package/dist/model/healthControllerPing200Response.js +36 -0
- package/dist/model/healthControllerPing200Response.js.map +1 -0
- package/dist/model/healthControllerPing200ResponseInfoValue.d.ts +10 -0
- package/dist/model/healthControllerPing200ResponseInfoValue.js +37 -0
- package/dist/model/healthControllerPing200ResponseInfoValue.js.map +1 -0
- package/dist/model/healthControllerPing503Response.d.ts +24 -0
- package/dist/model/healthControllerPing503Response.js +36 -0
- package/dist/model/healthControllerPing503Response.js.map +1 -0
- package/dist/model/models.d.ts +71 -0
- package/dist/model/models.js +308 -0
- package/dist/model/models.js.map +1 -0
- package/dist/model/offerAttributesDto.d.ts +48 -0
- package/dist/model/offerAttributesDto.js +155 -0
- package/dist/model/offerAttributesDto.js.map +1 -0
- package/dist/model/offerAttributesDtoEstablishment.d.ts +43 -0
- package/dist/model/offerAttributesDtoEstablishment.js +166 -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/package.json +1 -1
|
@@ -0,0 +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)[];
|
package/dist/api/apis.js
ADDED
|
@@ -0,0 +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];
|
|
57
|
+
//# sourceMappingURL=apis.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apis.js","sourceRoot":"","sources":["../../api/apis.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,2DAA0D;AAC1D,kDAAgC;AAChC,iDAAgD;AAChD,8CAA4B;AAC5B,yCAAwC;AACxC,qDAAmC;AACnC,uDAAsD;AACtD,8CAA4B;AAC5B,yCAAwC;AAGxC;IAA+B,6BAAK;IAChC,mBAAoB,QAA8B,EAAS,IAAS,EAAS,UAAmB;QAAhG,YACI,kBAAM,qBAAqB,CAAC,SAE/B;QAHmB,cAAQ,GAAR,QAAQ,CAAsB;QAAS,UAAI,GAAJ,IAAI,CAAK;QAAS,gBAAU,GAAV,UAAU,CAAS;QAE5F,KAAI,CAAC,IAAI,GAAG,WAAW,CAAC;;IAC5B,CAAC;IACL,gBAAC;AAAD,CAAC,AALD,CAA+B,KAAK,GAKnC;AALY,8BAAS;AAST,QAAA,IAAI,GAAG,CAAC,uCAAkB,EAAE,6BAAa,EAAE,qBAAS,EAAE,mCAAgB,EAAE,qBAAS,CAAC,CAAC"}
|
|
@@ -0,0 +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
|
+
}
|