@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
|
@@ -1,177 +1,177 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import http from 'http';
|
|
3
|
-
import { CreateMatchedOfferDto } from '../model/createMatchedOfferDto';
|
|
4
|
-
import { PinActionDto } from '../model/pinActionDto';
|
|
5
|
-
import { Authentication, Interceptor } from '../model/models';
|
|
6
|
-
export declare enum MatchedOffersApiApiKeys {
|
|
7
|
-
}
|
|
8
|
-
export declare class MatchedOffersApi {
|
|
9
|
-
protected _basePath: string;
|
|
10
|
-
protected _defaultHeaders: any;
|
|
11
|
-
protected _useQuerystring: boolean;
|
|
12
|
-
protected authentications: {
|
|
13
|
-
default: Authentication;
|
|
14
|
-
};
|
|
15
|
-
protected interceptors: Interceptor[];
|
|
16
|
-
constructor(basePath?: string);
|
|
17
|
-
set useQuerystring(value: boolean);
|
|
18
|
-
set basePath(basePath: string);
|
|
19
|
-
set defaultHeaders(defaultHeaders: any);
|
|
20
|
-
get defaultHeaders(): any;
|
|
21
|
-
get basePath(): string;
|
|
22
|
-
setDefaultAuthentication(auth: Authentication): void;
|
|
23
|
-
setApiKey(key: MatchedOffersApiApiKeys, value: string): void;
|
|
24
|
-
addInterceptor(interceptor: Interceptor): void;
|
|
25
|
-
matchedOffersControllerAddbid(id: string, userId: string, account: string, body: object, options?: {
|
|
26
|
-
headers: {
|
|
27
|
-
[name: string]: string;
|
|
28
|
-
};
|
|
29
|
-
}): Promise<{
|
|
30
|
-
response: http.IncomingMessage;
|
|
31
|
-
body?: any;
|
|
32
|
-
}>;
|
|
33
|
-
matchedOffersControllerAddpin(id: string, account: string, pinActionDto: PinActionDto, options?: {
|
|
34
|
-
headers: {
|
|
35
|
-
[name: string]: string;
|
|
36
|
-
};
|
|
37
|
-
}): Promise<{
|
|
38
|
-
response: http.IncomingMessage;
|
|
39
|
-
body?: any;
|
|
40
|
-
}>;
|
|
41
|
-
matchedOffersControllerCountsbystatus(account: string, options?: {
|
|
42
|
-
headers: {
|
|
43
|
-
[name: string]: string;
|
|
44
|
-
};
|
|
45
|
-
}): Promise<{
|
|
46
|
-
response: http.IncomingMessage;
|
|
47
|
-
body?: any;
|
|
48
|
-
}>;
|
|
49
|
-
matchedOffersControllerCreate(account: string, createMatchedOfferDto: CreateMatchedOfferDto, options?: {
|
|
50
|
-
headers: {
|
|
51
|
-
[name: string]: string;
|
|
52
|
-
};
|
|
53
|
-
}): Promise<{
|
|
54
|
-
response: http.IncomingMessage;
|
|
55
|
-
body?: any;
|
|
56
|
-
}>;
|
|
57
|
-
matchedOffersControllerDeletebid(id: string, userId: string, account: string, options?: {
|
|
58
|
-
headers: {
|
|
59
|
-
[name: string]: string;
|
|
60
|
-
};
|
|
61
|
-
}): Promise<{
|
|
62
|
-
response: http.IncomingMessage;
|
|
63
|
-
body?: any;
|
|
64
|
-
}>;
|
|
65
|
-
matchedOffersControllerFilter(account: string, skip?: number, limit?: number, sort?: string, fields?: Array<string>, body?: object, options?: {
|
|
66
|
-
headers: {
|
|
67
|
-
[name: string]: string;
|
|
68
|
-
};
|
|
69
|
-
}): Promise<{
|
|
70
|
-
response: http.IncomingMessage;
|
|
71
|
-
body?: any;
|
|
72
|
-
}>;
|
|
73
|
-
matchedOffersControllerFindall(account: string, createMatchedOfferDto: CreateMatchedOfferDto, skip?: number, limit?: number, sort?: string, fields?: Array<string>, options?: {
|
|
74
|
-
headers: {
|
|
75
|
-
[name: string]: string;
|
|
76
|
-
};
|
|
77
|
-
}): Promise<{
|
|
78
|
-
response: http.IncomingMessage;
|
|
79
|
-
body?: any;
|
|
80
|
-
}>;
|
|
81
|
-
matchedOffersControllerFindcountries(account: string, options?: {
|
|
82
|
-
headers: {
|
|
83
|
-
[name: string]: string;
|
|
84
|
-
};
|
|
85
|
-
}): Promise<{
|
|
86
|
-
response: http.IncomingMessage;
|
|
87
|
-
body?: any;
|
|
88
|
-
}>;
|
|
89
|
-
matchedOffersControllerFindone(id: string, account: string, fields?: string, options?: {
|
|
90
|
-
headers: {
|
|
91
|
-
[name: string]: string;
|
|
92
|
-
};
|
|
93
|
-
}): Promise<{
|
|
94
|
-
response: http.IncomingMessage;
|
|
95
|
-
body?: any;
|
|
96
|
-
}>;
|
|
97
|
-
matchedOffersControllerGenerateoffernumber(id: string, account: string, options?: {
|
|
98
|
-
headers: {
|
|
99
|
-
[name: string]: string;
|
|
100
|
-
};
|
|
101
|
-
}): Promise<{
|
|
102
|
-
response: http.IncomingMessage;
|
|
103
|
-
body?: any;
|
|
104
|
-
}>;
|
|
105
|
-
matchedOffersControllerLogview(id: string, account: string, body: object, options?: {
|
|
106
|
-
headers: {
|
|
107
|
-
[name: string]: string;
|
|
108
|
-
};
|
|
109
|
-
}): Promise<{
|
|
110
|
-
response: http.IncomingMessage;
|
|
111
|
-
body?: any;
|
|
112
|
-
}>;
|
|
113
|
-
matchedOffersControllerRemove(id: string, account: string, options?: {
|
|
114
|
-
headers: {
|
|
115
|
-
[name: string]: string;
|
|
116
|
-
};
|
|
117
|
-
}): Promise<{
|
|
118
|
-
response: http.IncomingMessage;
|
|
119
|
-
body?: any;
|
|
120
|
-
}>;
|
|
121
|
-
matchedOffersControllerRemovepin(id: string, account: string, pinActionDto: PinActionDto, options?: {
|
|
122
|
-
headers: {
|
|
123
|
-
[name: string]: string;
|
|
124
|
-
};
|
|
125
|
-
}): Promise<{
|
|
126
|
-
response: http.IncomingMessage;
|
|
127
|
-
body?: any;
|
|
128
|
-
}>;
|
|
129
|
-
matchedOffersControllerReopen(id: string, account: string, options?: {
|
|
130
|
-
headers: {
|
|
131
|
-
[name: string]: string;
|
|
132
|
-
};
|
|
133
|
-
}): Promise<{
|
|
134
|
-
response: http.IncomingMessage;
|
|
135
|
-
body?: any;
|
|
136
|
-
}>;
|
|
137
|
-
matchedOffersControllerSetconfirmindex(id: string, account: string, body: object, options?: {
|
|
138
|
-
headers: {
|
|
139
|
-
[name: string]: string;
|
|
140
|
-
};
|
|
141
|
-
}): Promise<{
|
|
142
|
-
response: http.IncomingMessage;
|
|
143
|
-
body?: any;
|
|
144
|
-
}>;
|
|
145
|
-
matchedOffersControllerTotal(account: string, body: object, options?: {
|
|
146
|
-
headers: {
|
|
147
|
-
[name: string]: string;
|
|
148
|
-
};
|
|
149
|
-
}): Promise<{
|
|
150
|
-
response: http.IncomingMessage;
|
|
151
|
-
body?: any;
|
|
152
|
-
}>;
|
|
153
|
-
matchedOffersControllerUpdate(id: string, account: string, body: object, options?: {
|
|
154
|
-
headers: {
|
|
155
|
-
[name: string]: string;
|
|
156
|
-
};
|
|
157
|
-
}): Promise<{
|
|
158
|
-
response: http.IncomingMessage;
|
|
159
|
-
body?: any;
|
|
160
|
-
}>;
|
|
161
|
-
matchedOffersControllerUpdatestatus(account: string, body: object, options?: {
|
|
162
|
-
headers: {
|
|
163
|
-
[name: string]: string;
|
|
164
|
-
};
|
|
165
|
-
}): Promise<{
|
|
166
|
-
response: http.IncomingMessage;
|
|
167
|
-
body?: any;
|
|
168
|
-
}>;
|
|
169
|
-
matchedOffersControllerValidatestatus(account: string, body: object, options?: {
|
|
170
|
-
headers: {
|
|
171
|
-
[name: string]: string;
|
|
172
|
-
};
|
|
173
|
-
}): Promise<{
|
|
174
|
-
response: http.IncomingMessage;
|
|
175
|
-
body?: any;
|
|
176
|
-
}>;
|
|
177
|
-
}
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import http from 'http';
|
|
3
|
+
import { CreateMatchedOfferDto } from '../model/createMatchedOfferDto';
|
|
4
|
+
import { PinActionDto } from '../model/pinActionDto';
|
|
5
|
+
import { Authentication, Interceptor } from '../model/models';
|
|
6
|
+
export declare enum MatchedOffersApiApiKeys {
|
|
7
|
+
}
|
|
8
|
+
export declare class MatchedOffersApi {
|
|
9
|
+
protected _basePath: string;
|
|
10
|
+
protected _defaultHeaders: any;
|
|
11
|
+
protected _useQuerystring: boolean;
|
|
12
|
+
protected authentications: {
|
|
13
|
+
default: Authentication;
|
|
14
|
+
};
|
|
15
|
+
protected interceptors: Interceptor[];
|
|
16
|
+
constructor(basePath?: string);
|
|
17
|
+
set useQuerystring(value: boolean);
|
|
18
|
+
set basePath(basePath: string);
|
|
19
|
+
set defaultHeaders(defaultHeaders: any);
|
|
20
|
+
get defaultHeaders(): any;
|
|
21
|
+
get basePath(): string;
|
|
22
|
+
setDefaultAuthentication(auth: Authentication): void;
|
|
23
|
+
setApiKey(key: MatchedOffersApiApiKeys, value: string): void;
|
|
24
|
+
addInterceptor(interceptor: Interceptor): void;
|
|
25
|
+
matchedOffersControllerAddbid(id: string, userId: string, account: string, body: object, options?: {
|
|
26
|
+
headers: {
|
|
27
|
+
[name: string]: string;
|
|
28
|
+
};
|
|
29
|
+
}): Promise<{
|
|
30
|
+
response: http.IncomingMessage;
|
|
31
|
+
body?: any;
|
|
32
|
+
}>;
|
|
33
|
+
matchedOffersControllerAddpin(id: string, account: string, pinActionDto: PinActionDto, options?: {
|
|
34
|
+
headers: {
|
|
35
|
+
[name: string]: string;
|
|
36
|
+
};
|
|
37
|
+
}): Promise<{
|
|
38
|
+
response: http.IncomingMessage;
|
|
39
|
+
body?: any;
|
|
40
|
+
}>;
|
|
41
|
+
matchedOffersControllerCountsbystatus(account: string, options?: {
|
|
42
|
+
headers: {
|
|
43
|
+
[name: string]: string;
|
|
44
|
+
};
|
|
45
|
+
}): Promise<{
|
|
46
|
+
response: http.IncomingMessage;
|
|
47
|
+
body?: any;
|
|
48
|
+
}>;
|
|
49
|
+
matchedOffersControllerCreate(account: string, createMatchedOfferDto: CreateMatchedOfferDto, options?: {
|
|
50
|
+
headers: {
|
|
51
|
+
[name: string]: string;
|
|
52
|
+
};
|
|
53
|
+
}): Promise<{
|
|
54
|
+
response: http.IncomingMessage;
|
|
55
|
+
body?: any;
|
|
56
|
+
}>;
|
|
57
|
+
matchedOffersControllerDeletebid(id: string, userId: string, account: string, options?: {
|
|
58
|
+
headers: {
|
|
59
|
+
[name: string]: string;
|
|
60
|
+
};
|
|
61
|
+
}): Promise<{
|
|
62
|
+
response: http.IncomingMessage;
|
|
63
|
+
body?: any;
|
|
64
|
+
}>;
|
|
65
|
+
matchedOffersControllerFilter(account: string, skip?: number, limit?: number, sort?: string, fields?: Array<string>, body?: object, options?: {
|
|
66
|
+
headers: {
|
|
67
|
+
[name: string]: string;
|
|
68
|
+
};
|
|
69
|
+
}): Promise<{
|
|
70
|
+
response: http.IncomingMessage;
|
|
71
|
+
body?: any;
|
|
72
|
+
}>;
|
|
73
|
+
matchedOffersControllerFindall(account: string, createMatchedOfferDto: CreateMatchedOfferDto, skip?: number, limit?: number, sort?: string, fields?: Array<string>, options?: {
|
|
74
|
+
headers: {
|
|
75
|
+
[name: string]: string;
|
|
76
|
+
};
|
|
77
|
+
}): Promise<{
|
|
78
|
+
response: http.IncomingMessage;
|
|
79
|
+
body?: any;
|
|
80
|
+
}>;
|
|
81
|
+
matchedOffersControllerFindcountries(account: string, options?: {
|
|
82
|
+
headers: {
|
|
83
|
+
[name: string]: string;
|
|
84
|
+
};
|
|
85
|
+
}): Promise<{
|
|
86
|
+
response: http.IncomingMessage;
|
|
87
|
+
body?: any;
|
|
88
|
+
}>;
|
|
89
|
+
matchedOffersControllerFindone(id: string, account: string, fields?: string, options?: {
|
|
90
|
+
headers: {
|
|
91
|
+
[name: string]: string;
|
|
92
|
+
};
|
|
93
|
+
}): Promise<{
|
|
94
|
+
response: http.IncomingMessage;
|
|
95
|
+
body?: any;
|
|
96
|
+
}>;
|
|
97
|
+
matchedOffersControllerGenerateoffernumber(id: string, account: string, options?: {
|
|
98
|
+
headers: {
|
|
99
|
+
[name: string]: string;
|
|
100
|
+
};
|
|
101
|
+
}): Promise<{
|
|
102
|
+
response: http.IncomingMessage;
|
|
103
|
+
body?: any;
|
|
104
|
+
}>;
|
|
105
|
+
matchedOffersControllerLogview(id: string, account: string, body: object, options?: {
|
|
106
|
+
headers: {
|
|
107
|
+
[name: string]: string;
|
|
108
|
+
};
|
|
109
|
+
}): Promise<{
|
|
110
|
+
response: http.IncomingMessage;
|
|
111
|
+
body?: any;
|
|
112
|
+
}>;
|
|
113
|
+
matchedOffersControllerRemove(id: string, account: string, options?: {
|
|
114
|
+
headers: {
|
|
115
|
+
[name: string]: string;
|
|
116
|
+
};
|
|
117
|
+
}): Promise<{
|
|
118
|
+
response: http.IncomingMessage;
|
|
119
|
+
body?: any;
|
|
120
|
+
}>;
|
|
121
|
+
matchedOffersControllerRemovepin(id: string, account: string, pinActionDto: PinActionDto, options?: {
|
|
122
|
+
headers: {
|
|
123
|
+
[name: string]: string;
|
|
124
|
+
};
|
|
125
|
+
}): Promise<{
|
|
126
|
+
response: http.IncomingMessage;
|
|
127
|
+
body?: any;
|
|
128
|
+
}>;
|
|
129
|
+
matchedOffersControllerReopen(id: string, account: string, options?: {
|
|
130
|
+
headers: {
|
|
131
|
+
[name: string]: string;
|
|
132
|
+
};
|
|
133
|
+
}): Promise<{
|
|
134
|
+
response: http.IncomingMessage;
|
|
135
|
+
body?: any;
|
|
136
|
+
}>;
|
|
137
|
+
matchedOffersControllerSetconfirmindex(id: string, account: string, body: object, options?: {
|
|
138
|
+
headers: {
|
|
139
|
+
[name: string]: string;
|
|
140
|
+
};
|
|
141
|
+
}): Promise<{
|
|
142
|
+
response: http.IncomingMessage;
|
|
143
|
+
body?: any;
|
|
144
|
+
}>;
|
|
145
|
+
matchedOffersControllerTotal(account: string, body: object, options?: {
|
|
146
|
+
headers: {
|
|
147
|
+
[name: string]: string;
|
|
148
|
+
};
|
|
149
|
+
}): Promise<{
|
|
150
|
+
response: http.IncomingMessage;
|
|
151
|
+
body?: any;
|
|
152
|
+
}>;
|
|
153
|
+
matchedOffersControllerUpdate(id: string, account: string, body: object, options?: {
|
|
154
|
+
headers: {
|
|
155
|
+
[name: string]: string;
|
|
156
|
+
};
|
|
157
|
+
}): Promise<{
|
|
158
|
+
response: http.IncomingMessage;
|
|
159
|
+
body?: any;
|
|
160
|
+
}>;
|
|
161
|
+
matchedOffersControllerUpdatestatus(account: string, body: object, options?: {
|
|
162
|
+
headers: {
|
|
163
|
+
[name: string]: string;
|
|
164
|
+
};
|
|
165
|
+
}): Promise<{
|
|
166
|
+
response: http.IncomingMessage;
|
|
167
|
+
body?: any;
|
|
168
|
+
}>;
|
|
169
|
+
matchedOffersControllerValidatestatus(account: string, body: object, options?: {
|
|
170
|
+
headers: {
|
|
171
|
+
[name: string]: string;
|
|
172
|
+
};
|
|
173
|
+
}): Promise<{
|
|
174
|
+
response: http.IncomingMessage;
|
|
175
|
+
body?: any;
|
|
176
|
+
}>;
|
|
177
|
+
}
|