@binance/copy-trading 3.0.1 → 3.0.3

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 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 { RestApiResponse, ConfigurationRestAPI } from '@binance/common';
2
- export { BadRequestError, COPY_TRADING_REST_API_PROD_URL, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError } from '@binance/common';
1
+ import { BadRequestError, COPY_TRADING_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-futures-lead-trader-status-response-data.d.ts
3
4
 
4
5
  /**
5
6
  * Binance Copy Trading REST API
@@ -19,32 +20,21 @@ export { BadRequestError, COPY_TRADING_REST_API_PROD_URL, ConnectorClientError,
19
20
  * @interface GetFuturesLeadTraderStatusResponseData
20
21
  */
21
22
  interface GetFuturesLeadTraderStatusResponseData {
22
- /**
23
- *
24
- * @type {boolean}
25
- * @memberof GetFuturesLeadTraderStatusResponseData
26
- */
27
- isLeadTrader?: boolean;
28
- /**
29
- *
30
- * @type {number | bigint}
31
- * @memberof GetFuturesLeadTraderStatusResponseData
32
- */
33
- time?: number | bigint;
23
+ /**
24
+ *
25
+ * @type {boolean}
26
+ * @memberof GetFuturesLeadTraderStatusResponseData
27
+ */
28
+ isLeadTrader?: boolean;
29
+ /**
30
+ *
31
+ * @type {number | bigint}
32
+ * @memberof GetFuturesLeadTraderStatusResponseData
33
+ */
34
+ time?: number | bigint;
34
35
  }
35
-
36
- /**
37
- * Binance Copy Trading REST API
38
- *
39
- * OpenAPI Specification for the Binance Copy Trading REST API
40
- *
41
- * The version of the OpenAPI document: 1.0.0
42
- *
43
- *
44
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
45
- * https://openapi-generator.tech
46
- * Do not edit the class manually.
47
- */
36
+ //#endregion
37
+ //#region src/rest-api/types/get-futures-lead-trader-status-response.d.ts
48
38
 
49
39
  /**
50
40
  *
@@ -52,32 +42,33 @@ interface GetFuturesLeadTraderStatusResponseData {
52
42
  * @interface GetFuturesLeadTraderStatusResponse
53
43
  */
54
44
  interface GetFuturesLeadTraderStatusResponse {
55
- /**
56
- *
57
- * @type {string}
58
- * @memberof GetFuturesLeadTraderStatusResponse
59
- */
60
- code?: string;
61
- /**
62
- *
63
- * @type {string}
64
- * @memberof GetFuturesLeadTraderStatusResponse
65
- */
66
- message?: string;
67
- /**
68
- *
69
- * @type {GetFuturesLeadTraderStatusResponseData}
70
- * @memberof GetFuturesLeadTraderStatusResponse
71
- */
72
- data?: GetFuturesLeadTraderStatusResponseData;
73
- /**
74
- *
75
- * @type {boolean}
76
- * @memberof GetFuturesLeadTraderStatusResponse
77
- */
78
- success?: boolean;
45
+ /**
46
+ *
47
+ * @type {string}
48
+ * @memberof GetFuturesLeadTraderStatusResponse
49
+ */
50
+ code?: string;
51
+ /**
52
+ *
53
+ * @type {string}
54
+ * @memberof GetFuturesLeadTraderStatusResponse
55
+ */
56
+ message?: string;
57
+ /**
58
+ *
59
+ * @type {GetFuturesLeadTraderStatusResponseData}
60
+ * @memberof GetFuturesLeadTraderStatusResponse
61
+ */
62
+ data?: GetFuturesLeadTraderStatusResponseData;
63
+ /**
64
+ *
65
+ * @type {boolean}
66
+ * @memberof GetFuturesLeadTraderStatusResponse
67
+ */
68
+ success?: boolean;
79
69
  }
80
-
70
+ //#endregion
71
+ //#region src/rest-api/types/get-futures-lead-trading-symbol-whitelist-response-data-inner.d.ts
81
72
  /**
82
73
  * Binance Copy Trading REST API
83
74
  *
@@ -96,265 +87,206 @@ interface GetFuturesLeadTraderStatusResponse {
96
87
  * @interface GetFuturesLeadTradingSymbolWhitelistResponseDataInner
97
88
  */
98
89
  interface GetFuturesLeadTradingSymbolWhitelistResponseDataInner {
99
- /**
100
- *
101
- * @type {string}
102
- * @memberof GetFuturesLeadTradingSymbolWhitelistResponseDataInner
103
- */
104
- symbol?: string;
105
- /**
106
- *
107
- * @type {string}
108
- * @memberof GetFuturesLeadTradingSymbolWhitelistResponseDataInner
109
- */
110
- baseAsset?: string;
111
- /**
112
- *
113
- * @type {string}
114
- * @memberof GetFuturesLeadTradingSymbolWhitelistResponseDataInner
115
- */
116
- quoteAsset?: string;
90
+ /**
91
+ *
92
+ * @type {string}
93
+ * @memberof GetFuturesLeadTradingSymbolWhitelistResponseDataInner
94
+ */
95
+ symbol?: string;
96
+ /**
97
+ *
98
+ * @type {string}
99
+ * @memberof GetFuturesLeadTradingSymbolWhitelistResponseDataInner
100
+ */
101
+ baseAsset?: string;
102
+ /**
103
+ *
104
+ * @type {string}
105
+ * @memberof GetFuturesLeadTradingSymbolWhitelistResponseDataInner
106
+ */
107
+ quoteAsset?: string;
117
108
  }
118
-
119
- /**
120
- * Binance Copy Trading REST API
121
- *
122
- * OpenAPI Specification for the Binance Copy Trading REST API
123
- *
124
- * The version of the OpenAPI document: 1.0.0
125
- *
126
- *
127
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
128
- * https://openapi-generator.tech
129
- * Do not edit the class manually.
130
- */
131
-
109
+ //#endregion
110
+ //#region src/rest-api/types/get-futures-lead-trading-symbol-whitelist-response.d.ts
132
111
  /**
133
112
  *
134
113
  * @export
135
114
  * @interface GetFuturesLeadTradingSymbolWhitelistResponse
136
115
  */
137
116
  interface GetFuturesLeadTradingSymbolWhitelistResponse {
138
- /**
139
- *
140
- * @type {string}
141
- * @memberof GetFuturesLeadTradingSymbolWhitelistResponse
142
- */
143
- code?: string;
144
- /**
145
- *
146
- * @type {string}
147
- * @memberof GetFuturesLeadTradingSymbolWhitelistResponse
148
- */
149
- message?: string;
150
- /**
151
- *
152
- * @type {Array<GetFuturesLeadTradingSymbolWhitelistResponseDataInner>}
153
- * @memberof GetFuturesLeadTradingSymbolWhitelistResponse
154
- */
155
- data?: Array<GetFuturesLeadTradingSymbolWhitelistResponseDataInner>;
117
+ /**
118
+ *
119
+ * @type {string}
120
+ * @memberof GetFuturesLeadTradingSymbolWhitelistResponse
121
+ */
122
+ code?: string;
123
+ /**
124
+ *
125
+ * @type {string}
126
+ * @memberof GetFuturesLeadTradingSymbolWhitelistResponse
127
+ */
128
+ message?: string;
129
+ /**
130
+ *
131
+ * @type {Array<GetFuturesLeadTradingSymbolWhitelistResponseDataInner>}
132
+ * @memberof GetFuturesLeadTradingSymbolWhitelistResponse
133
+ */
134
+ data?: Array<GetFuturesLeadTradingSymbolWhitelistResponseDataInner>;
156
135
  }
157
-
158
- /**
159
- * Binance Copy Trading REST API
160
- *
161
- * OpenAPI Specification for the Binance Copy Trading REST API
162
- *
163
- * The version of the OpenAPI document: 1.0.0
164
- *
165
- *
166
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
167
- * https://openapi-generator.tech
168
- * Do not edit the class manually.
169
- */
170
-
136
+ //#endregion
137
+ //#region src/rest-api/modules/future-copy-trading-api.d.ts
171
138
  /**
172
139
  * FutureCopyTradingApi - interface
173
140
  * @interface FutureCopyTradingApi
174
141
  */
175
142
  interface FutureCopyTradingApiInterface {
176
- /**
177
- * Get Futures Lead Trader Status
178
- *
179
- * Weight: 20
180
- *
181
- * @summary Get Futures Lead Trader Status(TRADE)
182
- * @param {GetFuturesLeadTraderStatusRequest} requestParameters Request parameters.
183
- *
184
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
185
- * @memberof FutureCopyTradingApiInterface
186
- */
187
- getFuturesLeadTraderStatus(requestParameters?: GetFuturesLeadTraderStatusRequest): Promise<RestApiResponse<GetFuturesLeadTraderStatusResponse>>;
188
- /**
189
- * Get Futures Lead Trading Symbol Whitelist
190
- *
191
- * Weight: 20
192
- *
193
- * @summary Get Futures Lead Trading Symbol Whitelist(USER_DATA)
194
- * @param {GetFuturesLeadTradingSymbolWhitelistRequest} requestParameters Request parameters.
195
- *
196
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
197
- * @memberof FutureCopyTradingApiInterface
198
- */
199
- getFuturesLeadTradingSymbolWhitelist(requestParameters?: GetFuturesLeadTradingSymbolWhitelistRequest): Promise<RestApiResponse<GetFuturesLeadTradingSymbolWhitelistResponse>>;
143
+ /**
144
+ * Get Futures Lead Trader Status
145
+ *
146
+ * Weight: 20
147
+ *
148
+ * @summary Get Futures Lead Trader Status(TRADE)
149
+ * @param {GetFuturesLeadTraderStatusRequest} requestParameters Request parameters.
150
+ *
151
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
152
+ * @memberof FutureCopyTradingApiInterface
153
+ */
154
+ getFuturesLeadTraderStatus(requestParameters?: GetFuturesLeadTraderStatusRequest): Promise<RestApiResponse<GetFuturesLeadTraderStatusResponse>>;
155
+ /**
156
+ * Get Futures Lead Trading Symbol Whitelist
157
+ *
158
+ * Weight: 20
159
+ *
160
+ * @summary Get Futures Lead Trading Symbol Whitelist(USER_DATA)
161
+ * @param {GetFuturesLeadTradingSymbolWhitelistRequest} requestParameters Request parameters.
162
+ *
163
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
164
+ * @memberof FutureCopyTradingApiInterface
165
+ */
166
+ getFuturesLeadTradingSymbolWhitelist(requestParameters?: GetFuturesLeadTradingSymbolWhitelistRequest): Promise<RestApiResponse<GetFuturesLeadTradingSymbolWhitelistResponse>>;
200
167
  }
201
168
  /**
202
169
  * Request parameters for getFuturesLeadTraderStatus operation in FutureCopyTradingApi.
203
170
  * @interface GetFuturesLeadTraderStatusRequest
204
171
  */
205
172
  interface GetFuturesLeadTraderStatusRequest {
206
- /**
207
- *
208
- * @type {number | bigint}
209
- * @memberof FutureCopyTradingApiGetFuturesLeadTraderStatus
210
- */
211
- readonly recvWindow?: number | bigint;
173
+ /**
174
+ *
175
+ * @type {number | bigint}
176
+ * @memberof FutureCopyTradingApiGetFuturesLeadTraderStatus
177
+ */
178
+ readonly recvWindow?: number | bigint;
212
179
  }
213
180
  /**
214
181
  * Request parameters for getFuturesLeadTradingSymbolWhitelist operation in FutureCopyTradingApi.
215
182
  * @interface GetFuturesLeadTradingSymbolWhitelistRequest
216
183
  */
217
184
  interface GetFuturesLeadTradingSymbolWhitelistRequest {
218
- /**
219
- *
220
- * @type {number | bigint}
221
- * @memberof FutureCopyTradingApiGetFuturesLeadTradingSymbolWhitelist
222
- */
223
- readonly recvWindow?: number | bigint;
185
+ /**
186
+ *
187
+ * @type {number | bigint}
188
+ * @memberof FutureCopyTradingApiGetFuturesLeadTradingSymbolWhitelist
189
+ */
190
+ readonly recvWindow?: number | bigint;
224
191
  }
225
192
  /**
226
193
  * FutureCopyTradingApi - object-oriented interface
227
194
  * @class FutureCopyTradingApi
228
195
  */
229
196
  declare class FutureCopyTradingApi implements FutureCopyTradingApiInterface {
230
- private readonly configuration;
231
- private localVarAxiosParamCreator;
232
- constructor(configuration: ConfigurationRestAPI);
233
- /**
234
- * Get Futures Lead Trader Status
235
- *
236
- * Weight: 20
237
- *
238
- * @summary Get Futures Lead Trader Status(TRADE)
239
- * @param {GetFuturesLeadTraderStatusRequest} requestParameters Request parameters.
240
- * @returns {Promise<RestApiResponse<GetFuturesLeadTraderStatusResponse>>}
241
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
242
- * @memberof FutureCopyTradingApi
243
- * @see {@link https://developers.binance.com/docs/copy_trading/future-copy-trading/Get-Futures-Lead-Trader-Status Binance API Documentation}
244
- */
245
- getFuturesLeadTraderStatus(requestParameters?: GetFuturesLeadTraderStatusRequest): Promise<RestApiResponse<GetFuturesLeadTraderStatusResponse>>;
246
- /**
247
- * Get Futures Lead Trading Symbol Whitelist
248
- *
249
- * Weight: 20
250
- *
251
- * @summary Get Futures Lead Trading Symbol Whitelist(USER_DATA)
252
- * @param {GetFuturesLeadTradingSymbolWhitelistRequest} requestParameters Request parameters.
253
- * @returns {Promise<RestApiResponse<GetFuturesLeadTradingSymbolWhitelistResponse>>}
254
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
255
- * @memberof FutureCopyTradingApi
256
- * @see {@link https://developers.binance.com/docs/copy_trading/future-copy-trading/Get-Futures-Lead-Trading-Symbol-Whitelist Binance API Documentation}
257
- */
258
- getFuturesLeadTradingSymbolWhitelist(requestParameters?: GetFuturesLeadTradingSymbolWhitelistRequest): Promise<RestApiResponse<GetFuturesLeadTradingSymbolWhitelistResponse>>;
197
+ private readonly configuration;
198
+ private localVarAxiosParamCreator;
199
+ constructor(configuration: ConfigurationRestAPI);
200
+ /**
201
+ * Get Futures Lead Trader Status
202
+ *
203
+ * Weight: 20
204
+ *
205
+ * @summary Get Futures Lead Trader Status(TRADE)
206
+ * @param {GetFuturesLeadTraderStatusRequest} requestParameters Request parameters.
207
+ * @returns {Promise<RestApiResponse<GetFuturesLeadTraderStatusResponse>>}
208
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
209
+ * @memberof FutureCopyTradingApi
210
+ * @see {@link https://developers.binance.com/docs/copy_trading/future-copy-trading/Get-Futures-Lead-Trader-Status Binance API Documentation}
211
+ */
212
+ getFuturesLeadTraderStatus(requestParameters?: GetFuturesLeadTraderStatusRequest): Promise<RestApiResponse<GetFuturesLeadTraderStatusResponse>>;
213
+ /**
214
+ * Get Futures Lead Trading Symbol Whitelist
215
+ *
216
+ * Weight: 20
217
+ *
218
+ * @summary Get Futures Lead Trading Symbol Whitelist(USER_DATA)
219
+ * @param {GetFuturesLeadTradingSymbolWhitelistRequest} requestParameters Request parameters.
220
+ * @returns {Promise<RestApiResponse<GetFuturesLeadTradingSymbolWhitelistResponse>>}
221
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
222
+ * @memberof FutureCopyTradingApi
223
+ * @see {@link https://developers.binance.com/docs/copy_trading/future-copy-trading/Get-Futures-Lead-Trading-Symbol-Whitelist Binance API Documentation}
224
+ */
225
+ getFuturesLeadTradingSymbolWhitelist(requestParameters?: GetFuturesLeadTradingSymbolWhitelistRequest): Promise<RestApiResponse<GetFuturesLeadTradingSymbolWhitelistResponse>>;
259
226
  }
260
-
261
- /**
262
- * Binance Copy Trading REST API
263
- *
264
- * OpenAPI Specification for the Binance Copy Trading REST API
265
- *
266
- * The version of the OpenAPI document: 1.0.0
267
- *
268
- *
269
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
270
- * https://openapi-generator.tech
271
- * Do not edit the class manually.
272
- */
273
-
227
+ //#endregion
228
+ //#region src/rest-api/rest-api.d.ts
274
229
  declare class RestAPI {
275
- private configuration;
276
- private futureCopyTradingApi;
277
- constructor(configuration: ConfigurationRestAPI);
278
- /**
279
- * Generic function to send a request.
280
- * @param endpoint - The API endpoint to call.
281
- * @param method - HTTP method to use (GET, POST, DELETE, etc.).
282
- * @param params - Query parameters for the request.
283
- *
284
- * @returns A promise resolving to the response data object.
285
- */
286
- sendRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
287
- /**
288
- * Generic function to send a signed request.
289
- * @param endpoint - The API endpoint to call.
290
- * @param method - HTTP method to use (GET, POST, DELETE, etc.).
291
- * @param params - Query parameters for the request.
292
- *
293
- * @returns A promise resolving to the response data object.
294
- */
295
- sendSignedRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
296
- /**
297
- * Get Futures Lead Trader Status
298
- *
299
- * Weight: 20
300
- *
301
- * @summary Get Futures Lead Trader Status(TRADE)
302
- * @param {GetFuturesLeadTraderStatusRequest} requestParameters Request parameters.
303
- *
304
- * @returns {Promise<RestApiResponse<GetFuturesLeadTraderStatusResponse>>}
305
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
306
- * @see {@link https://developers.binance.com/docs/copy_trading/future-copy-trading/Get-Futures-Lead-Trader-Status Binance API Documentation}
307
- */
308
- getFuturesLeadTraderStatus(requestParameters?: GetFuturesLeadTraderStatusRequest): Promise<RestApiResponse<GetFuturesLeadTraderStatusResponse>>;
309
- /**
310
- * Get Futures Lead Trading Symbol Whitelist
311
- *
312
- * Weight: 20
313
- *
314
- * @summary Get Futures Lead Trading Symbol Whitelist(USER_DATA)
315
- * @param {GetFuturesLeadTradingSymbolWhitelistRequest} requestParameters Request parameters.
316
- *
317
- * @returns {Promise<RestApiResponse<GetFuturesLeadTradingSymbolWhitelistResponse>>}
318
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
319
- * @see {@link https://developers.binance.com/docs/copy_trading/future-copy-trading/Get-Futures-Lead-Trading-Symbol-Whitelist Binance API Documentation}
320
- */
321
- getFuturesLeadTradingSymbolWhitelist(requestParameters?: GetFuturesLeadTradingSymbolWhitelistRequest): Promise<RestApiResponse<GetFuturesLeadTradingSymbolWhitelistResponse>>;
230
+ private configuration;
231
+ private futureCopyTradingApi;
232
+ constructor(configuration: ConfigurationRestAPI);
233
+ /**
234
+ * Generic function to send a request.
235
+ * @param endpoint - The API endpoint to call.
236
+ * @param method - HTTP method to use (GET, POST, DELETE, etc.).
237
+ * @param params - Query parameters for the request.
238
+ *
239
+ * @returns A promise resolving to the response data object.
240
+ */
241
+ sendRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
242
+ /**
243
+ * Generic function to send a signed request.
244
+ * @param endpoint - The API endpoint to call.
245
+ * @param method - HTTP method to use (GET, POST, DELETE, etc.).
246
+ * @param params - Query parameters for the request.
247
+ *
248
+ * @returns A promise resolving to the response data object.
249
+ */
250
+ sendSignedRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
251
+ /**
252
+ * Get Futures Lead Trader Status
253
+ *
254
+ * Weight: 20
255
+ *
256
+ * @summary Get Futures Lead Trader Status(TRADE)
257
+ * @param {GetFuturesLeadTraderStatusRequest} requestParameters Request parameters.
258
+ *
259
+ * @returns {Promise<RestApiResponse<GetFuturesLeadTraderStatusResponse>>}
260
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
261
+ * @see {@link https://developers.binance.com/docs/copy_trading/future-copy-trading/Get-Futures-Lead-Trader-Status Binance API Documentation}
262
+ */
263
+ getFuturesLeadTraderStatus(requestParameters?: GetFuturesLeadTraderStatusRequest): Promise<RestApiResponse<GetFuturesLeadTraderStatusResponse>>;
264
+ /**
265
+ * Get Futures Lead Trading Symbol Whitelist
266
+ *
267
+ * Weight: 20
268
+ *
269
+ * @summary Get Futures Lead Trading Symbol Whitelist(USER_DATA)
270
+ * @param {GetFuturesLeadTradingSymbolWhitelistRequest} requestParameters Request parameters.
271
+ *
272
+ * @returns {Promise<RestApiResponse<GetFuturesLeadTradingSymbolWhitelistResponse>>}
273
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
274
+ * @see {@link https://developers.binance.com/docs/copy_trading/future-copy-trading/Get-Futures-Lead-Trading-Symbol-Whitelist Binance API Documentation}
275
+ */
276
+ getFuturesLeadTradingSymbolWhitelist(requestParameters?: GetFuturesLeadTradingSymbolWhitelistRequest): Promise<RestApiResponse<GetFuturesLeadTradingSymbolWhitelistResponse>>;
322
277
  }
323
-
324
- /**
325
- * Binance Copy Trading REST API
326
- *
327
- * OpenAPI Specification for the Binance Copy Trading REST API
328
- *
329
- * The version of the OpenAPI document: 1.0.0
330
- *
331
- *
332
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
333
- * https://openapi-generator.tech
334
- * Do not edit the class manually.
335
- */
336
-
337
- type index_FutureCopyTradingApi = FutureCopyTradingApi;
338
- declare const index_FutureCopyTradingApi: typeof FutureCopyTradingApi;
339
- type index_FutureCopyTradingApiInterface = FutureCopyTradingApiInterface;
340
- type index_GetFuturesLeadTraderStatusRequest = GetFuturesLeadTraderStatusRequest;
341
- type index_GetFuturesLeadTraderStatusResponse = GetFuturesLeadTraderStatusResponse;
342
- type index_GetFuturesLeadTraderStatusResponseData = GetFuturesLeadTraderStatusResponseData;
343
- type index_GetFuturesLeadTradingSymbolWhitelistRequest = GetFuturesLeadTradingSymbolWhitelistRequest;
344
- type index_GetFuturesLeadTradingSymbolWhitelistResponse = GetFuturesLeadTradingSymbolWhitelistResponse;
345
- type index_GetFuturesLeadTradingSymbolWhitelistResponseDataInner = GetFuturesLeadTradingSymbolWhitelistResponseDataInner;
346
- type index_RestAPI = RestAPI;
347
- declare const index_RestAPI: typeof RestAPI;
348
- declare namespace index {
349
- export { index_FutureCopyTradingApi as FutureCopyTradingApi, type index_FutureCopyTradingApiInterface as FutureCopyTradingApiInterface, type index_GetFuturesLeadTraderStatusRequest as GetFuturesLeadTraderStatusRequest, type index_GetFuturesLeadTraderStatusResponse as GetFuturesLeadTraderStatusResponse, type index_GetFuturesLeadTraderStatusResponseData as GetFuturesLeadTraderStatusResponseData, type index_GetFuturesLeadTradingSymbolWhitelistRequest as GetFuturesLeadTradingSymbolWhitelistRequest, type index_GetFuturesLeadTradingSymbolWhitelistResponse as GetFuturesLeadTradingSymbolWhitelistResponse, type index_GetFuturesLeadTradingSymbolWhitelistResponseDataInner as GetFuturesLeadTradingSymbolWhitelistResponseDataInner, index_RestAPI as RestAPI };
278
+ declare namespace index_d_exports {
279
+ export { FutureCopyTradingApi, FutureCopyTradingApiInterface, GetFuturesLeadTraderStatusRequest, GetFuturesLeadTraderStatusResponse, GetFuturesLeadTraderStatusResponseData, GetFuturesLeadTradingSymbolWhitelistRequest, GetFuturesLeadTradingSymbolWhitelistResponse, GetFuturesLeadTradingSymbolWhitelistResponseDataInner, RestAPI };
350
280
  }
351
-
281
+ //#endregion
282
+ //#region src/copy-trading.d.ts
352
283
  interface ConfigurationCopyTrading {
353
- configurationRestAPI?: ConfigurationRestAPI;
284
+ configurationRestAPI?: ConfigurationRestAPI;
354
285
  }
355
286
  declare class CopyTrading {
356
- restAPI: RestAPI;
357
- constructor(config: ConfigurationCopyTrading);
287
+ restAPI: RestAPI;
288
+ constructor(config: ConfigurationCopyTrading);
358
289
  }
359
-
360
- export { type ConfigurationCopyTrading, CopyTrading, index as CopyTradingRestAPI };
290
+ //#endregion
291
+ export { BadRequestError, COPY_TRADING_REST_API_PROD_URL, type ConfigurationCopyTrading, ConnectorClientError, CopyTrading, index_d_exports as CopyTradingRestAPI, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError };
292
+ //# sourceMappingURL=index.d.mts.map