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