@binance/c2c 3.0.1 → 4.0.1
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/chunk.mjs +13 -0
- package/dist/index.d.mts +243 -296
- package/dist/index.d.ts +245 -298
- package/dist/index.js +235 -219
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +150 -204
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/chunk.mjs
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region rolldown:runtime
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __export = (all) => {
|
|
4
|
+
let target = {};
|
|
5
|
+
for (var name in all) __defProp(target, name, {
|
|
6
|
+
get: all[name],
|
|
7
|
+
enumerable: true
|
|
8
|
+
});
|
|
9
|
+
return target;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { __export as t };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { BadRequestError, C2C_REST_API_PROD_URL, ConfigurationRestAPI, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, RestApiResponse, ServerError, TooManyRequestsError, UnauthorizedError } from "@binance/common";
|
|
2
|
+
|
|
3
|
+
//#region src/rest-api/types/get-c2-ctrade-history-response-data-inner.d.ts
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* Binance C2C REST API
|
|
@@ -19,104 +20,93 @@ export { BadRequestError, C2C_REST_API_PROD_URL, ConnectorClientError, Forbidden
|
|
|
19
20
|
* @interface GetC2CTradeHistoryResponseDataInner
|
|
20
21
|
*/
|
|
21
22
|
interface GetC2CTradeHistoryResponseDataInner {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof GetC2CTradeHistoryResponseDataInner
|
|
27
|
+
*/
|
|
28
|
+
orderNumber?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof GetC2CTradeHistoryResponseDataInner
|
|
33
|
+
*/
|
|
34
|
+
advNo?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof GetC2CTradeHistoryResponseDataInner
|
|
39
|
+
*/
|
|
40
|
+
tradeType?: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof GetC2CTradeHistoryResponseDataInner
|
|
45
|
+
*/
|
|
46
|
+
asset?: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof GetC2CTradeHistoryResponseDataInner
|
|
51
|
+
*/
|
|
52
|
+
fiat?: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof GetC2CTradeHistoryResponseDataInner
|
|
57
|
+
*/
|
|
58
|
+
fiatSymbol?: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof GetC2CTradeHistoryResponseDataInner
|
|
63
|
+
*/
|
|
64
|
+
amount?: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof GetC2CTradeHistoryResponseDataInner
|
|
69
|
+
*/
|
|
70
|
+
totalPrice?: string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof GetC2CTradeHistoryResponseDataInner
|
|
75
|
+
*/
|
|
76
|
+
unitPrice?: string;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof GetC2CTradeHistoryResponseDataInner
|
|
81
|
+
*/
|
|
82
|
+
orderStatus?: string;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {number | bigint}
|
|
86
|
+
* @memberof GetC2CTradeHistoryResponseDataInner
|
|
87
|
+
*/
|
|
88
|
+
createTime?: number | bigint;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof GetC2CTradeHistoryResponseDataInner
|
|
93
|
+
*/
|
|
94
|
+
commission?: string;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof GetC2CTradeHistoryResponseDataInner
|
|
99
|
+
*/
|
|
100
|
+
counterPartNickName?: string;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof GetC2CTradeHistoryResponseDataInner
|
|
105
|
+
*/
|
|
106
|
+
advertisementRole?: string;
|
|
106
107
|
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
* Binance C2C REST API
|
|
110
|
-
*
|
|
111
|
-
* OpenAPI Specification for the Binance C2C REST API
|
|
112
|
-
*
|
|
113
|
-
* The version of the OpenAPI document: 1.0.0
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
117
|
-
* https://openapi-generator.tech
|
|
118
|
-
* Do not edit the class manually.
|
|
119
|
-
*/
|
|
108
|
+
//#endregion
|
|
109
|
+
//#region src/rest-api/types/get-c2-ctrade-history-response.d.ts
|
|
120
110
|
|
|
121
111
|
/**
|
|
122
112
|
*
|
|
@@ -124,227 +114,184 @@ interface GetC2CTradeHistoryResponseDataInner {
|
|
|
124
114
|
* @interface GetC2CTradeHistoryResponse
|
|
125
115
|
*/
|
|
126
116
|
interface GetC2CTradeHistoryResponse {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof GetC2CTradeHistoryResponse
|
|
121
|
+
*/
|
|
122
|
+
code?: string;
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @type {string}
|
|
126
|
+
* @memberof GetC2CTradeHistoryResponse
|
|
127
|
+
*/
|
|
128
|
+
message?: string;
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
* @type {Array<GetC2CTradeHistoryResponseDataInner>}
|
|
132
|
+
* @memberof GetC2CTradeHistoryResponse
|
|
133
|
+
*/
|
|
134
|
+
data?: Array<GetC2CTradeHistoryResponseDataInner>;
|
|
135
|
+
/**
|
|
136
|
+
*
|
|
137
|
+
* @type {number | bigint}
|
|
138
|
+
* @memberof GetC2CTradeHistoryResponse
|
|
139
|
+
*/
|
|
140
|
+
total?: number | bigint;
|
|
141
|
+
/**
|
|
142
|
+
*
|
|
143
|
+
* @type {boolean}
|
|
144
|
+
* @memberof GetC2CTradeHistoryResponse
|
|
145
|
+
*/
|
|
146
|
+
success?: boolean;
|
|
157
147
|
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
* Binance C2C REST API
|
|
161
|
-
*
|
|
162
|
-
* OpenAPI Specification for the Binance C2C REST API
|
|
163
|
-
*
|
|
164
|
-
* The version of the OpenAPI document: 1.0.0
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
168
|
-
* https://openapi-generator.tech
|
|
169
|
-
* Do not edit the class manually.
|
|
170
|
-
*/
|
|
148
|
+
//#endregion
|
|
149
|
+
//#region src/rest-api/modules/c2-capi.d.ts
|
|
171
150
|
|
|
172
151
|
/**
|
|
173
152
|
* C2CApi - interface
|
|
174
153
|
* @interface C2CApi
|
|
175
154
|
*/
|
|
176
155
|
interface C2CApiInterface {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
156
|
+
/**
|
|
157
|
+
* Get C2C Trade History
|
|
158
|
+
*
|
|
159
|
+
* The max interval between startTimestamp and endTimestamp is 30 days.
|
|
160
|
+
* If startTimestamp and endTimestamp are not sent, the recent 30 days' data will be returned.
|
|
161
|
+
* You can only view data from the past 6 months. To see all C2C orders, please check https://c2c.binance.com/en/fiatOrder
|
|
162
|
+
*
|
|
163
|
+
* Weight: 1
|
|
164
|
+
*
|
|
165
|
+
* @summary Get C2C Trade History (USER_DATA)
|
|
166
|
+
* @param {GetC2CTradeHistoryRequest} requestParameters Request parameters.
|
|
167
|
+
*
|
|
168
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
169
|
+
* @memberof C2CApiInterface
|
|
170
|
+
*/
|
|
171
|
+
getC2CTradeHistory(requestParameters?: GetC2CTradeHistoryRequest): Promise<RestApiResponse<GetC2CTradeHistoryResponse>>;
|
|
193
172
|
}
|
|
194
173
|
/**
|
|
195
174
|
* Request parameters for getC2CTradeHistory operation in C2CApi.
|
|
196
175
|
* @interface GetC2CTradeHistoryRequest
|
|
197
176
|
*/
|
|
198
177
|
interface GetC2CTradeHistoryRequest {
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
178
|
+
/**
|
|
179
|
+
* BUY, SELL
|
|
180
|
+
* @type {string}
|
|
181
|
+
* @memberof C2CApiGetC2CTradeHistory
|
|
182
|
+
*/
|
|
183
|
+
readonly tradeType?: string;
|
|
184
|
+
/**
|
|
185
|
+
*
|
|
186
|
+
* @type {number | bigint}
|
|
187
|
+
* @memberof C2CApiGetC2CTradeHistory
|
|
188
|
+
*/
|
|
189
|
+
readonly startTimestamp?: number | bigint;
|
|
190
|
+
/**
|
|
191
|
+
*
|
|
192
|
+
* @type {number | bigint}
|
|
193
|
+
* @memberof C2CApiGetC2CTradeHistory
|
|
194
|
+
*/
|
|
195
|
+
readonly endTimestamp?: number | bigint;
|
|
196
|
+
/**
|
|
197
|
+
* Default 1
|
|
198
|
+
* @type {number | bigint}
|
|
199
|
+
* @memberof C2CApiGetC2CTradeHistory
|
|
200
|
+
*/
|
|
201
|
+
readonly page?: number | bigint;
|
|
202
|
+
/**
|
|
203
|
+
* default 100, max 100
|
|
204
|
+
* @type {number | bigint}
|
|
205
|
+
* @memberof C2CApiGetC2CTradeHistory
|
|
206
|
+
*/
|
|
207
|
+
readonly rows?: number | bigint;
|
|
208
|
+
/**
|
|
209
|
+
*
|
|
210
|
+
* @type {number | bigint}
|
|
211
|
+
* @memberof C2CApiGetC2CTradeHistory
|
|
212
|
+
*/
|
|
213
|
+
readonly recvWindow?: number | bigint;
|
|
235
214
|
}
|
|
236
215
|
/**
|
|
237
216
|
* C2CApi - object-oriented interface
|
|
238
217
|
* @class C2CApi
|
|
239
218
|
*/
|
|
240
219
|
declare class C2CApi implements C2CApiInterface {
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
220
|
+
private readonly configuration;
|
|
221
|
+
private localVarAxiosParamCreator;
|
|
222
|
+
constructor(configuration: ConfigurationRestAPI);
|
|
223
|
+
/**
|
|
224
|
+
* Get C2C Trade History
|
|
225
|
+
*
|
|
226
|
+
* The max interval between startTimestamp and endTimestamp is 30 days.
|
|
227
|
+
* If startTimestamp and endTimestamp are not sent, the recent 30 days' data will be returned.
|
|
228
|
+
* You can only view data from the past 6 months. To see all C2C orders, please check https://c2c.binance.com/en/fiatOrder
|
|
229
|
+
*
|
|
230
|
+
* Weight: 1
|
|
231
|
+
*
|
|
232
|
+
* @summary Get C2C Trade History (USER_DATA)
|
|
233
|
+
* @param {GetC2CTradeHistoryRequest} requestParameters Request parameters.
|
|
234
|
+
* @returns {Promise<RestApiResponse<GetC2CTradeHistoryResponse>>}
|
|
235
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
236
|
+
* @memberof C2CApi
|
|
237
|
+
* @see {@link https://developers.binance.com/docs/c2c/rest-api/Get-C2C-Trade-History Binance API Documentation}
|
|
238
|
+
*/
|
|
239
|
+
getC2CTradeHistory(requestParameters?: GetC2CTradeHistoryRequest): Promise<RestApiResponse<GetC2CTradeHistoryResponse>>;
|
|
261
240
|
}
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
* Binance C2C REST API
|
|
265
|
-
*
|
|
266
|
-
* OpenAPI Specification for the Binance C2C REST API
|
|
267
|
-
*
|
|
268
|
-
* The version of the OpenAPI document: 1.0.0
|
|
269
|
-
*
|
|
270
|
-
*
|
|
271
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
272
|
-
* https://openapi-generator.tech
|
|
273
|
-
* Do not edit the class manually.
|
|
274
|
-
*/
|
|
275
|
-
|
|
241
|
+
//#endregion
|
|
242
|
+
//#region src/rest-api/rest-api.d.ts
|
|
276
243
|
declare class RestAPI {
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
244
|
+
private configuration;
|
|
245
|
+
private c2CApi;
|
|
246
|
+
constructor(configuration: ConfigurationRestAPI);
|
|
247
|
+
/**
|
|
248
|
+
* Generic function to send a request.
|
|
249
|
+
* @param endpoint - The API endpoint to call.
|
|
250
|
+
* @param method - HTTP method to use (GET, POST, DELETE, etc.).
|
|
251
|
+
* @param params - Query parameters for the request.
|
|
252
|
+
*
|
|
253
|
+
* @returns A promise resolving to the response data object.
|
|
254
|
+
*/
|
|
255
|
+
sendRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
|
|
256
|
+
/**
|
|
257
|
+
* Generic function to send a signed request.
|
|
258
|
+
* @param endpoint - The API endpoint to call.
|
|
259
|
+
* @param method - HTTP method to use (GET, POST, DELETE, etc.).
|
|
260
|
+
* @param params - Query parameters for the request.
|
|
261
|
+
*
|
|
262
|
+
* @returns A promise resolving to the response data object.
|
|
263
|
+
*/
|
|
264
|
+
sendSignedRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
|
|
265
|
+
/**
|
|
266
|
+
* Get C2C Trade History
|
|
267
|
+
*
|
|
268
|
+
* The max interval between startTimestamp and endTimestamp is 30 days.
|
|
269
|
+
* If startTimestamp and endTimestamp are not sent, the recent 30 days' data will be returned.
|
|
270
|
+
* You can only view data from the past 6 months. To see all C2C orders, please check https://c2c.binance.com/en/fiatOrder
|
|
271
|
+
*
|
|
272
|
+
* Weight: 1
|
|
273
|
+
*
|
|
274
|
+
* @summary Get C2C Trade History (USER_DATA)
|
|
275
|
+
* @param {GetC2CTradeHistoryRequest} requestParameters Request parameters.
|
|
276
|
+
*
|
|
277
|
+
* @returns {Promise<RestApiResponse<GetC2CTradeHistoryResponse>>}
|
|
278
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
279
|
+
* @see {@link https://developers.binance.com/docs/c2c/rest-api/Get-C2C-Trade-History Binance API Documentation}
|
|
280
|
+
*/
|
|
281
|
+
getC2CTradeHistory(requestParameters?: GetC2CTradeHistoryRequest): Promise<RestApiResponse<GetC2CTradeHistoryResponse>>;
|
|
315
282
|
}
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
* Binance C2C REST API
|
|
319
|
-
*
|
|
320
|
-
* OpenAPI Specification for the Binance C2C REST API
|
|
321
|
-
*
|
|
322
|
-
* The version of the OpenAPI document: 1.0.0
|
|
323
|
-
*
|
|
324
|
-
*
|
|
325
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
326
|
-
* https://openapi-generator.tech
|
|
327
|
-
* Do not edit the class manually.
|
|
328
|
-
*/
|
|
329
|
-
|
|
330
|
-
type index_C2CApi = C2CApi;
|
|
331
|
-
declare const index_C2CApi: typeof C2CApi;
|
|
332
|
-
type index_C2CApiInterface = C2CApiInterface;
|
|
333
|
-
type index_GetC2CTradeHistoryRequest = GetC2CTradeHistoryRequest;
|
|
334
|
-
type index_GetC2CTradeHistoryResponse = GetC2CTradeHistoryResponse;
|
|
335
|
-
type index_GetC2CTradeHistoryResponseDataInner = GetC2CTradeHistoryResponseDataInner;
|
|
336
|
-
type index_RestAPI = RestAPI;
|
|
337
|
-
declare const index_RestAPI: typeof RestAPI;
|
|
338
|
-
declare namespace index {
|
|
339
|
-
export { index_C2CApi as C2CApi, type index_C2CApiInterface as C2CApiInterface, type index_GetC2CTradeHistoryRequest as GetC2CTradeHistoryRequest, type index_GetC2CTradeHistoryResponse as GetC2CTradeHistoryResponse, type index_GetC2CTradeHistoryResponseDataInner as GetC2CTradeHistoryResponseDataInner, index_RestAPI as RestAPI };
|
|
283
|
+
declare namespace index_d_exports {
|
|
284
|
+
export { C2CApi, C2CApiInterface, GetC2CTradeHistoryRequest, GetC2CTradeHistoryResponse, GetC2CTradeHistoryResponseDataInner, RestAPI };
|
|
340
285
|
}
|
|
341
|
-
|
|
286
|
+
//#endregion
|
|
287
|
+
//#region src/c2c.d.ts
|
|
342
288
|
interface ConfigurationC2C {
|
|
343
|
-
|
|
289
|
+
configurationRestAPI?: ConfigurationRestAPI;
|
|
344
290
|
}
|
|
345
291
|
declare class C2C {
|
|
346
|
-
|
|
347
|
-
|
|
292
|
+
restAPI: RestAPI;
|
|
293
|
+
constructor(config: ConfigurationC2C);
|
|
348
294
|
}
|
|
349
|
-
|
|
350
|
-
export { C2C,
|
|
295
|
+
//#endregion
|
|
296
|
+
export { BadRequestError, C2C, index_d_exports as C2CRestAPI, C2C_REST_API_PROD_URL, ConfigurationC2C, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError };
|
|
297
|
+
//# sourceMappingURL=index.d.mts.map
|