@binance/fiat 4.0.0 → 5.0.2

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.mts CHANGED
@@ -1,109 +1,6 @@
1
- import { RestApiResponse, ConfigurationRestAPI } from '@binance/common';
2
- export { BadRequestError, ConnectorClientError, FIAT_REST_API_PROD_URL, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError } from '@binance/common';
1
+ import { BadRequestError, ConfigurationRestAPI, ConnectorClientError, FIAT_REST_API_PROD_URL, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, RestApiResponse, ServerError, TooManyRequestsError, UnauthorizedError } from "@binance/common";
3
2
 
4
- /**
5
- * Binance Fiat REST API
6
- *
7
- * OpenAPI Specification for the Binance Fiat REST API
8
- *
9
- * The version of the OpenAPI document: 1.0.0
10
- *
11
- *
12
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13
- * https://openapi-generator.tech
14
- * Do not edit the class manually.
15
- */
16
- /**
17
- *
18
- * @export
19
- * @interface DepositResponseData
20
- */
21
- interface DepositResponseData {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof DepositResponseData
26
- */
27
- orderId?: string;
28
- }
29
-
30
- /**
31
- * Binance Fiat REST API
32
- *
33
- * OpenAPI Specification for the Binance Fiat REST API
34
- *
35
- * The version of the OpenAPI document: 1.0.0
36
- *
37
- *
38
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
39
- * https://openapi-generator.tech
40
- * Do not edit the class manually.
41
- */
42
-
43
- /**
44
- *
45
- * @export
46
- * @interface DepositResponse
47
- */
48
- interface DepositResponse {
49
- /**
50
- *
51
- * @type {string}
52
- * @memberof DepositResponse
53
- */
54
- code?: string;
55
- /**
56
- *
57
- * @type {string}
58
- * @memberof DepositResponse
59
- */
60
- message?: string;
61
- /**
62
- *
63
- * @type {DepositResponseData}
64
- * @memberof DepositResponse
65
- */
66
- data?: DepositResponseData;
67
- }
68
-
69
- /**
70
- * Binance Fiat REST API
71
- *
72
- * OpenAPI Specification for the Binance Fiat REST API
73
- *
74
- * The version of the OpenAPI document: 1.0.0
75
- *
76
- *
77
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
78
- * https://openapi-generator.tech
79
- * Do not edit the class manually.
80
- */
81
-
82
- /**
83
- *
84
- * @export
85
- * @interface FiatWithdrawResponse
86
- */
87
- interface FiatWithdrawResponse {
88
- /**
89
- *
90
- * @type {string}
91
- * @memberof FiatWithdrawResponse
92
- */
93
- code?: string;
94
- /**
95
- *
96
- * @type {string}
97
- * @memberof FiatWithdrawResponse
98
- */
99
- message?: string;
100
- /**
101
- *
102
- * @type {DepositResponseData}
103
- * @memberof FiatWithdrawResponse
104
- */
105
- data?: DepositResponseData;
106
- }
3
+ //#region src/rest-api/types/get-fiat-deposit-withdraw-history-response-data-inner.d.ts
107
4
 
108
5
  /**
109
6
  * Binance Fiat REST API
@@ -123,74 +20,63 @@ interface FiatWithdrawResponse {
123
20
  * @interface GetFiatDepositWithdrawHistoryResponseDataInner
124
21
  */
125
22
  interface GetFiatDepositWithdrawHistoryResponseDataInner {
126
- /**
127
- *
128
- * @type {string}
129
- * @memberof GetFiatDepositWithdrawHistoryResponseDataInner
130
- */
131
- orderNo?: string;
132
- /**
133
- *
134
- * @type {string}
135
- * @memberof GetFiatDepositWithdrawHistoryResponseDataInner
136
- */
137
- fiatCurrency?: string;
138
- /**
139
- *
140
- * @type {string}
141
- * @memberof GetFiatDepositWithdrawHistoryResponseDataInner
142
- */
143
- indicatedAmount?: string;
144
- /**
145
- *
146
- * @type {string}
147
- * @memberof GetFiatDepositWithdrawHistoryResponseDataInner
148
- */
149
- amount?: string;
150
- /**
151
- *
152
- * @type {string}
153
- * @memberof GetFiatDepositWithdrawHistoryResponseDataInner
154
- */
155
- totalFee?: string;
156
- /**
157
- *
158
- * @type {string}
159
- * @memberof GetFiatDepositWithdrawHistoryResponseDataInner
160
- */
161
- method?: string;
162
- /**
163
- *
164
- * @type {string}
165
- * @memberof GetFiatDepositWithdrawHistoryResponseDataInner
166
- */
167
- status?: string;
168
- /**
169
- *
170
- * @type {number | bigint}
171
- * @memberof GetFiatDepositWithdrawHistoryResponseDataInner
172
- */
173
- createTime?: number | bigint;
174
- /**
175
- *
176
- * @type {number | bigint}
177
- * @memberof GetFiatDepositWithdrawHistoryResponseDataInner
178
- */
179
- updateTime?: number | bigint;
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof GetFiatDepositWithdrawHistoryResponseDataInner
27
+ */
28
+ orderNo?: string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof GetFiatDepositWithdrawHistoryResponseDataInner
33
+ */
34
+ fiatCurrency?: string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof GetFiatDepositWithdrawHistoryResponseDataInner
39
+ */
40
+ indicatedAmount?: string;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof GetFiatDepositWithdrawHistoryResponseDataInner
45
+ */
46
+ amount?: string;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof GetFiatDepositWithdrawHistoryResponseDataInner
51
+ */
52
+ totalFee?: string;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof GetFiatDepositWithdrawHistoryResponseDataInner
57
+ */
58
+ method?: string;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof GetFiatDepositWithdrawHistoryResponseDataInner
63
+ */
64
+ status?: string;
65
+ /**
66
+ *
67
+ * @type {number | bigint}
68
+ * @memberof GetFiatDepositWithdrawHistoryResponseDataInner
69
+ */
70
+ createTime?: number | bigint;
71
+ /**
72
+ *
73
+ * @type {number | bigint}
74
+ * @memberof GetFiatDepositWithdrawHistoryResponseDataInner
75
+ */
76
+ updateTime?: number | bigint;
180
77
  }
181
-
182
- /**
183
- * Binance Fiat REST API
184
- *
185
- * OpenAPI Specification for the Binance Fiat REST API
186
- *
187
- * The version of the OpenAPI document: 1.0.0
188
- *
189
- *
190
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
191
- * https://openapi-generator.tech
192
- * Do not edit the class manually.
193
- */
78
+ //#endregion
79
+ //#region src/rest-api/types/get-fiat-deposit-withdraw-history-response.d.ts
194
80
 
195
81
  /**
196
82
  *
@@ -198,38 +84,39 @@ interface GetFiatDepositWithdrawHistoryResponseDataInner {
198
84
  * @interface GetFiatDepositWithdrawHistoryResponse
199
85
  */
200
86
  interface GetFiatDepositWithdrawHistoryResponse {
201
- /**
202
- *
203
- * @type {string}
204
- * @memberof GetFiatDepositWithdrawHistoryResponse
205
- */
206
- code?: string;
207
- /**
208
- *
209
- * @type {string}
210
- * @memberof GetFiatDepositWithdrawHistoryResponse
211
- */
212
- message?: string;
213
- /**
214
- *
215
- * @type {Array<GetFiatDepositWithdrawHistoryResponseDataInner>}
216
- * @memberof GetFiatDepositWithdrawHistoryResponse
217
- */
218
- data?: Array<GetFiatDepositWithdrawHistoryResponseDataInner>;
219
- /**
220
- *
221
- * @type {number | bigint}
222
- * @memberof GetFiatDepositWithdrawHistoryResponse
223
- */
224
- total?: number | bigint;
225
- /**
226
- *
227
- * @type {boolean}
228
- * @memberof GetFiatDepositWithdrawHistoryResponse
229
- */
230
- success?: boolean;
87
+ /**
88
+ *
89
+ * @type {string}
90
+ * @memberof GetFiatDepositWithdrawHistoryResponse
91
+ */
92
+ code?: string;
93
+ /**
94
+ *
95
+ * @type {string}
96
+ * @memberof GetFiatDepositWithdrawHistoryResponse
97
+ */
98
+ message?: string;
99
+ /**
100
+ *
101
+ * @type {Array<GetFiatDepositWithdrawHistoryResponseDataInner>}
102
+ * @memberof GetFiatDepositWithdrawHistoryResponse
103
+ */
104
+ data?: Array<GetFiatDepositWithdrawHistoryResponseDataInner>;
105
+ /**
106
+ *
107
+ * @type {number | bigint}
108
+ * @memberof GetFiatDepositWithdrawHistoryResponse
109
+ */
110
+ total?: number | bigint;
111
+ /**
112
+ *
113
+ * @type {boolean}
114
+ * @memberof GetFiatDepositWithdrawHistoryResponse
115
+ */
116
+ success?: boolean;
231
117
  }
232
-
118
+ //#endregion
119
+ //#region src/rest-api/types/get-fiat-payments-history-response-data-inner.d.ts
233
120
  /**
234
121
  * Binance Fiat REST API
235
122
  *
@@ -248,656 +135,353 @@ interface GetFiatDepositWithdrawHistoryResponse {
248
135
  * @interface GetFiatPaymentsHistoryResponseDataInner
249
136
  */
250
137
  interface GetFiatPaymentsHistoryResponseDataInner {
251
- /**
252
- *
253
- * @type {string}
254
- * @memberof GetFiatPaymentsHistoryResponseDataInner
255
- */
256
- orderNo?: string;
257
- /**
258
- *
259
- * @type {string}
260
- * @memberof GetFiatPaymentsHistoryResponseDataInner
261
- */
262
- sourceAmount?: string;
263
- /**
264
- *
265
- * @type {string}
266
- * @memberof GetFiatPaymentsHistoryResponseDataInner
267
- */
268
- fiatCurrency?: string;
269
- /**
270
- *
271
- * @type {string}
272
- * @memberof GetFiatPaymentsHistoryResponseDataInner
273
- */
274
- obtainAmount?: string;
275
- /**
276
- *
277
- * @type {string}
278
- * @memberof GetFiatPaymentsHistoryResponseDataInner
279
- */
280
- cryptoCurrency?: string;
281
- /**
282
- *
283
- * @type {string}
284
- * @memberof GetFiatPaymentsHistoryResponseDataInner
285
- */
286
- totalFee?: string;
287
- /**
288
- *
289
- * @type {string}
290
- * @memberof GetFiatPaymentsHistoryResponseDataInner
291
- */
292
- price?: string;
293
- /**
294
- *
295
- * @type {string}
296
- * @memberof GetFiatPaymentsHistoryResponseDataInner
297
- */
298
- status?: string;
299
- /**
300
- *
301
- * @type {string}
302
- * @memberof GetFiatPaymentsHistoryResponseDataInner
303
- */
304
- paymentMethod?: string;
305
- /**
306
- *
307
- * @type {number | bigint}
308
- * @memberof GetFiatPaymentsHistoryResponseDataInner
309
- */
310
- createTime?: number | bigint;
311
- /**
312
- *
313
- * @type {number | bigint}
314
- * @memberof GetFiatPaymentsHistoryResponseDataInner
315
- */
316
- updateTime?: number | bigint;
138
+ /**
139
+ *
140
+ * @type {string}
141
+ * @memberof GetFiatPaymentsHistoryResponseDataInner
142
+ */
143
+ orderNo?: string;
144
+ /**
145
+ *
146
+ * @type {string}
147
+ * @memberof GetFiatPaymentsHistoryResponseDataInner
148
+ */
149
+ sourceAmount?: string;
150
+ /**
151
+ *
152
+ * @type {string}
153
+ * @memberof GetFiatPaymentsHistoryResponseDataInner
154
+ */
155
+ fiatCurrency?: string;
156
+ /**
157
+ *
158
+ * @type {string}
159
+ * @memberof GetFiatPaymentsHistoryResponseDataInner
160
+ */
161
+ obtainAmount?: string;
162
+ /**
163
+ *
164
+ * @type {string}
165
+ * @memberof GetFiatPaymentsHistoryResponseDataInner
166
+ */
167
+ cryptoCurrency?: string;
168
+ /**
169
+ *
170
+ * @type {string}
171
+ * @memberof GetFiatPaymentsHistoryResponseDataInner
172
+ */
173
+ totalFee?: string;
174
+ /**
175
+ *
176
+ * @type {string}
177
+ * @memberof GetFiatPaymentsHistoryResponseDataInner
178
+ */
179
+ price?: string;
180
+ /**
181
+ *
182
+ * @type {string}
183
+ * @memberof GetFiatPaymentsHistoryResponseDataInner
184
+ */
185
+ status?: string;
186
+ /**
187
+ *
188
+ * @type {string}
189
+ * @memberof GetFiatPaymentsHistoryResponseDataInner
190
+ */
191
+ paymentMethod?: string;
192
+ /**
193
+ *
194
+ * @type {number | bigint}
195
+ * @memberof GetFiatPaymentsHistoryResponseDataInner
196
+ */
197
+ createTime?: number | bigint;
198
+ /**
199
+ *
200
+ * @type {number | bigint}
201
+ * @memberof GetFiatPaymentsHistoryResponseDataInner
202
+ */
203
+ updateTime?: number | bigint;
317
204
  }
318
-
319
- /**
320
- * Binance Fiat REST API
321
- *
322
- * OpenAPI Specification for the Binance Fiat REST API
323
- *
324
- * The version of the OpenAPI document: 1.0.0
325
- *
326
- *
327
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
328
- * https://openapi-generator.tech
329
- * Do not edit the class manually.
330
- */
331
-
205
+ //#endregion
206
+ //#region src/rest-api/types/get-fiat-payments-history-response.d.ts
332
207
  /**
333
208
  *
334
209
  * @export
335
210
  * @interface GetFiatPaymentsHistoryResponse
336
211
  */
337
212
  interface GetFiatPaymentsHistoryResponse {
338
- /**
339
- *
340
- * @type {string}
341
- * @memberof GetFiatPaymentsHistoryResponse
342
- */
343
- code?: string;
344
- /**
345
- *
346
- * @type {string}
347
- * @memberof GetFiatPaymentsHistoryResponse
348
- */
349
- message?: string;
350
- /**
351
- *
352
- * @type {Array<GetFiatPaymentsHistoryResponseDataInner>}
353
- * @memberof GetFiatPaymentsHistoryResponse
354
- */
355
- data?: Array<GetFiatPaymentsHistoryResponseDataInner>;
356
- /**
357
- *
358
- * @type {number | bigint}
359
- * @memberof GetFiatPaymentsHistoryResponse
360
- */
361
- total?: number | bigint;
362
- /**
363
- *
364
- * @type {boolean}
365
- * @memberof GetFiatPaymentsHistoryResponse
366
- */
367
- success?: boolean;
368
- }
369
-
370
- /**
371
- * Binance Fiat REST API
372
- *
373
- * OpenAPI Specification for the Binance Fiat REST API
374
- *
375
- * The version of the OpenAPI document: 1.0.0
376
- *
377
- *
378
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
379
- * https://openapi-generator.tech
380
- * Do not edit the class manually.
381
- */
382
- /**
383
- *
384
- * @export
385
- * @interface GetOrderDetailResponseData
386
- */
387
- interface GetOrderDetailResponseData {
388
- /**
389
- *
390
- * @type {string}
391
- * @memberof GetOrderDetailResponseData
392
- */
393
- orderId?: string;
394
- /**
395
- *
396
- * @type {string}
397
- * @memberof GetOrderDetailResponseData
398
- */
399
- orderStatus?: string;
400
- /**
401
- *
402
- * @type {string}
403
- * @memberof GetOrderDetailResponseData
404
- */
405
- amount?: string;
406
- /**
407
- *
408
- * @type {string}
409
- * @memberof GetOrderDetailResponseData
410
- */
411
- fee?: string;
412
- /**
413
- *
414
- * @type {string}
415
- * @memberof GetOrderDetailResponseData
416
- */
417
- fiatCurrency?: string;
418
- /**
419
- *
420
- * @type {string}
421
- * @memberof GetOrderDetailResponseData
422
- */
423
- errorCode?: string;
424
- /**
425
- *
426
- * @type {string}
427
- * @memberof GetOrderDetailResponseData
428
- */
429
- errorMessage?: string;
430
- /**
431
- *
432
- * @type {object}
433
- * @memberof GetOrderDetailResponseData
434
- */
435
- ext?: object;
213
+ /**
214
+ *
215
+ * @type {string}
216
+ * @memberof GetFiatPaymentsHistoryResponse
217
+ */
218
+ code?: string;
219
+ /**
220
+ *
221
+ * @type {string}
222
+ * @memberof GetFiatPaymentsHistoryResponse
223
+ */
224
+ message?: string;
225
+ /**
226
+ *
227
+ * @type {Array<GetFiatPaymentsHistoryResponseDataInner>}
228
+ * @memberof GetFiatPaymentsHistoryResponse
229
+ */
230
+ data?: Array<GetFiatPaymentsHistoryResponseDataInner>;
231
+ /**
232
+ *
233
+ * @type {number | bigint}
234
+ * @memberof GetFiatPaymentsHistoryResponse
235
+ */
236
+ total?: number | bigint;
237
+ /**
238
+ *
239
+ * @type {boolean}
240
+ * @memberof GetFiatPaymentsHistoryResponse
241
+ */
242
+ success?: boolean;
436
243
  }
437
-
438
- /**
439
- * Binance Fiat REST API
440
- *
441
- * OpenAPI Specification for the Binance Fiat REST API
442
- *
443
- * The version of the OpenAPI document: 1.0.0
444
- *
445
- *
446
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
447
- * https://openapi-generator.tech
448
- * Do not edit the class manually.
449
- */
450
-
451
- /**
452
- *
453
- * @export
454
- * @interface GetOrderDetailResponse
455
- */
456
- interface GetOrderDetailResponse {
457
- /**
458
- *
459
- * @type {string}
460
- * @memberof GetOrderDetailResponse
461
- */
462
- code?: string;
463
- /**
464
- *
465
- * @type {string}
466
- * @memberof GetOrderDetailResponse
467
- */
468
- message?: string;
469
- /**
470
- *
471
- * @type {GetOrderDetailResponseData}
472
- * @memberof GetOrderDetailResponse
473
- */
474
- data?: GetOrderDetailResponseData;
475
- }
476
-
477
- /**
478
- * Binance Fiat REST API
479
- *
480
- * OpenAPI Specification for the Binance Fiat REST API
481
- *
482
- * The version of the OpenAPI document: 1.0.0
483
- *
484
- *
485
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
486
- * https://openapi-generator.tech
487
- * Do not edit the class manually.
488
- */
489
-
244
+ //#endregion
245
+ //#region src/rest-api/modules/fiat-api.d.ts
490
246
  /**
491
247
  * FiatApi - interface
492
248
  * @interface FiatApi
493
249
  */
494
250
  interface FiatApiInterface {
495
- /**
496
- * Submit withdraw request, in this version, we only support BRL withdrawal via bank_transfer.
497
- *
498
- * You need to call this api first, and call query order detail api in a loop to get the status of the order until this order is successful.
499
- *
500
- * Before calling this api, please make sure you have already completed your KYC or KYB, and already activated your fiat service on our website.
501
- *
502
- * you need to bind your bank account on web/app before using the corresponding account number
503
- *
504
- * Weight: 45000
505
- *
506
- * @summary Fiat Withdraw(WITHDRAW)
507
- * @param {FiatWithdrawRequest} requestParameters Request parameters.
508
- *
509
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
510
- * @memberof FiatApiInterface
511
- */
512
- fiatWithdraw(requestParameters?: FiatWithdrawRequest): Promise<RestApiResponse<FiatWithdrawResponse>>;
513
- /**
514
- * Get Fiat Deposit/Withdraw History
515
- *
516
- * If beginTime and endTime are not sent, the recent 30-day data will be returned.
517
- *
518
- * Weight: 45000
519
- *
520
- * @summary Get Fiat Deposit/Withdraw History (USER_DATA)
521
- * @param {GetFiatDepositWithdrawHistoryRequest} requestParameters Request parameters.
522
- *
523
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
524
- * @memberof FiatApiInterface
525
- */
526
- getFiatDepositWithdrawHistory(requestParameters: GetFiatDepositWithdrawHistoryRequest): Promise<RestApiResponse<GetFiatDepositWithdrawHistoryResponse>>;
527
- /**
528
- * Get Fiat Deposit/Withdraw History
529
- *
530
- * If beginTime and endTime are not sent, the recent 30-day data will be returned.
531
- * paymentMethod: Only when requesting payments history for buy (transactionType=0), response contains paymentMethod representing the way of purchase. Now we have:
532
- * Cash Balance
533
- * Credit Card
534
- * Online Banking
535
- * Bank Transfer
536
- *
537
- * Weight: 1
538
- *
539
- * @summary Get Fiat Payments History (USER_DATA)
540
- * @param {GetFiatPaymentsHistoryRequest} requestParameters Request parameters.
541
- *
542
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
543
- * @memberof FiatApiInterface
544
- */
545
- getFiatPaymentsHistory(requestParameters: GetFiatPaymentsHistoryRequest): Promise<RestApiResponse<GetFiatPaymentsHistoryResponse>>;
546
- /**
547
- * Get Order Detail
548
- *
549
- * Before calling this api, please make sure you have already completed your KYC or KYB, and already activated your fiat service on our website.
550
- *
551
- * Weight: 45000
552
- *
553
- * @summary Get Order Detail(USER_DATA)
554
- * @param {GetOrderDetailRequest} requestParameters Request parameters.
555
- *
556
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
557
- * @memberof FiatApiInterface
558
- */
559
- getOrderDetail(requestParameters: GetOrderDetailRequest): Promise<RestApiResponse<GetOrderDetailResponse>>;
560
- }
561
- /**
562
- * Request parameters for fiatWithdraw operation in FiatApi.
563
- * @interface FiatWithdrawRequest
564
- */
565
- interface FiatWithdrawRequest {
566
- /**
567
- *
568
- * @type {number | bigint}
569
- * @memberof FiatApiFiatWithdraw
570
- */
571
- readonly recvWindow?: number | bigint;
251
+ /**
252
+ * Get Fiat Deposit/Withdraw History
253
+ *
254
+ * If beginTime and endTime are not sent, the recent 30-day data will be returned.
255
+ *
256
+ * Weight: 45000
257
+ *
258
+ * @summary Get Fiat Deposit/Withdraw History (USER_DATA)
259
+ * @param {GetFiatDepositWithdrawHistoryRequest} requestParameters Request parameters.
260
+ *
261
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
262
+ * @memberof FiatApiInterface
263
+ */
264
+ getFiatDepositWithdrawHistory(requestParameters: GetFiatDepositWithdrawHistoryRequest): Promise<RestApiResponse<GetFiatDepositWithdrawHistoryResponse>>;
265
+ /**
266
+ * Get Fiat Deposit/Withdraw History
267
+ *
268
+ * If beginTime and endTime are not sent, the recent 30-day data will be returned.
269
+ * paymentMethod: Only when requesting payments history for buy (transactionType=0), response contains paymentMethod representing the way of purchase. Now we have:
270
+ * Cash Balance
271
+ * Credit Card
272
+ * Online Banking
273
+ * Bank Transfer
274
+ *
275
+ * Weight: 1
276
+ *
277
+ * @summary Get Fiat Payments History (USER_DATA)
278
+ * @param {GetFiatPaymentsHistoryRequest} requestParameters Request parameters.
279
+ *
280
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
281
+ * @memberof FiatApiInterface
282
+ */
283
+ getFiatPaymentsHistory(requestParameters: GetFiatPaymentsHistoryRequest): Promise<RestApiResponse<GetFiatPaymentsHistoryResponse>>;
572
284
  }
573
285
  /**
574
286
  * Request parameters for getFiatDepositWithdrawHistory operation in FiatApi.
575
287
  * @interface GetFiatDepositWithdrawHistoryRequest
576
288
  */
577
289
  interface GetFiatDepositWithdrawHistoryRequest {
578
- /**
579
- * 0-buy,1-sell
580
- * @type {string}
581
- * @memberof FiatApiGetFiatDepositWithdrawHistory
582
- */
583
- readonly transactionType: string;
584
- /**
585
- *
586
- * @type {number | bigint}
587
- * @memberof FiatApiGetFiatDepositWithdrawHistory
588
- */
589
- readonly beginTime?: number | bigint;
590
- /**
591
- *
592
- * @type {number | bigint}
593
- * @memberof FiatApiGetFiatDepositWithdrawHistory
594
- */
595
- readonly endTime?: number | bigint;
596
- /**
597
- * default 1
598
- * @type {number | bigint}
599
- * @memberof FiatApiGetFiatDepositWithdrawHistory
600
- */
601
- readonly page?: number | bigint;
602
- /**
603
- * default 100, max 500
604
- * @type {number | bigint}
605
- * @memberof FiatApiGetFiatDepositWithdrawHistory
606
- */
607
- readonly rows?: number | bigint;
608
- /**
609
- *
610
- * @type {number | bigint}
611
- * @memberof FiatApiGetFiatDepositWithdrawHistory
612
- */
613
- readonly recvWindow?: number | bigint;
290
+ /**
291
+ * 0-buy,1-sell
292
+ * @type {string}
293
+ * @memberof FiatApiGetFiatDepositWithdrawHistory
294
+ */
295
+ readonly transactionType: string;
296
+ /**
297
+ *
298
+ * @type {number | bigint}
299
+ * @memberof FiatApiGetFiatDepositWithdrawHistory
300
+ */
301
+ readonly beginTime?: number | bigint;
302
+ /**
303
+ *
304
+ * @type {number | bigint}
305
+ * @memberof FiatApiGetFiatDepositWithdrawHistory
306
+ */
307
+ readonly endTime?: number | bigint;
308
+ /**
309
+ * default 1
310
+ * @type {number | bigint}
311
+ * @memberof FiatApiGetFiatDepositWithdrawHistory
312
+ */
313
+ readonly page?: number | bigint;
314
+ /**
315
+ * default 100, max 500
316
+ * @type {number | bigint}
317
+ * @memberof FiatApiGetFiatDepositWithdrawHistory
318
+ */
319
+ readonly rows?: number | bigint;
320
+ /**
321
+ *
322
+ * @type {number | bigint}
323
+ * @memberof FiatApiGetFiatDepositWithdrawHistory
324
+ */
325
+ readonly recvWindow?: number | bigint;
614
326
  }
615
327
  /**
616
328
  * Request parameters for getFiatPaymentsHistory operation in FiatApi.
617
329
  * @interface GetFiatPaymentsHistoryRequest
618
330
  */
619
331
  interface GetFiatPaymentsHistoryRequest {
620
- /**
621
- * 0-buy,1-sell
622
- * @type {string}
623
- * @memberof FiatApiGetFiatPaymentsHistory
624
- */
625
- readonly transactionType: string;
626
- /**
627
- *
628
- * @type {number | bigint}
629
- * @memberof FiatApiGetFiatPaymentsHistory
630
- */
631
- readonly beginTime?: number | bigint;
632
- /**
633
- *
634
- * @type {number | bigint}
635
- * @memberof FiatApiGetFiatPaymentsHistory
636
- */
637
- readonly endTime?: number | bigint;
638
- /**
639
- * default 1
640
- * @type {number | bigint}
641
- * @memberof FiatApiGetFiatPaymentsHistory
642
- */
643
- readonly page?: number | bigint;
644
- /**
645
- * default 100, max 500
646
- * @type {number | bigint}
647
- * @memberof FiatApiGetFiatPaymentsHistory
648
- */
649
- readonly rows?: number | bigint;
650
- /**
651
- *
652
- * @type {number | bigint}
653
- * @memberof FiatApiGetFiatPaymentsHistory
654
- */
655
- readonly recvWindow?: number | bigint;
656
- }
657
- /**
658
- * Request parameters for getOrderDetail operation in FiatApi.
659
- * @interface GetOrderDetailRequest
660
- */
661
- interface GetOrderDetailRequest {
662
- /**
663
- * order id retrieved from the api call of withdrawal
664
- * @type {string}
665
- * @memberof FiatApiGetOrderDetail
666
- */
667
- readonly orderId: string;
668
- /**
669
- *
670
- * @type {number | bigint}
671
- * @memberof FiatApiGetOrderDetail
672
- */
673
- readonly recvWindow?: number | bigint;
332
+ /**
333
+ * 0-buy,1-sell
334
+ * @type {string}
335
+ * @memberof FiatApiGetFiatPaymentsHistory
336
+ */
337
+ readonly transactionType: string;
338
+ /**
339
+ *
340
+ * @type {number | bigint}
341
+ * @memberof FiatApiGetFiatPaymentsHistory
342
+ */
343
+ readonly beginTime?: number | bigint;
344
+ /**
345
+ *
346
+ * @type {number | bigint}
347
+ * @memberof FiatApiGetFiatPaymentsHistory
348
+ */
349
+ readonly endTime?: number | bigint;
350
+ /**
351
+ * default 1
352
+ * @type {number | bigint}
353
+ * @memberof FiatApiGetFiatPaymentsHistory
354
+ */
355
+ readonly page?: number | bigint;
356
+ /**
357
+ * default 100, max 500
358
+ * @type {number | bigint}
359
+ * @memberof FiatApiGetFiatPaymentsHistory
360
+ */
361
+ readonly rows?: number | bigint;
362
+ /**
363
+ *
364
+ * @type {number | bigint}
365
+ * @memberof FiatApiGetFiatPaymentsHistory
366
+ */
367
+ readonly recvWindow?: number | bigint;
674
368
  }
675
369
  /**
676
370
  * FiatApi - object-oriented interface
677
371
  * @class FiatApi
678
372
  */
679
373
  declare class FiatApi implements FiatApiInterface {
680
- private readonly configuration;
681
- private localVarAxiosParamCreator;
682
- constructor(configuration: ConfigurationRestAPI);
683
- /**
684
- * Submit withdraw request, in this version, we only support BRL withdrawal via bank_transfer.
685
- *
686
- * You need to call this api first, and call query order detail api in a loop to get the status of the order until this order is successful.
687
- *
688
- * Before calling this api, please make sure you have already completed your KYC or KYB, and already activated your fiat service on our website.
689
- *
690
- * you need to bind your bank account on web/app before using the corresponding account number
691
- *
692
- * Weight: 45000
693
- *
694
- * @summary Fiat Withdraw(WITHDRAW)
695
- * @param {FiatWithdrawRequest} requestParameters Request parameters.
696
- * @returns {Promise<RestApiResponse<FiatWithdrawResponse>>}
697
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
698
- * @memberof FiatApi
699
- * @see {@link https://developers.binance.com/docs/fiat/rest-api/Fiat-Withdraw Binance API Documentation}
700
- */
701
- fiatWithdraw(requestParameters?: FiatWithdrawRequest): Promise<RestApiResponse<FiatWithdrawResponse>>;
702
- /**
703
- * Get Fiat Deposit/Withdraw History
704
- *
705
- * If beginTime and endTime are not sent, the recent 30-day data will be returned.
706
- *
707
- * Weight: 45000
708
- *
709
- * @summary Get Fiat Deposit/Withdraw History (USER_DATA)
710
- * @param {GetFiatDepositWithdrawHistoryRequest} requestParameters Request parameters.
711
- * @returns {Promise<RestApiResponse<GetFiatDepositWithdrawHistoryResponse>>}
712
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
713
- * @memberof FiatApi
714
- * @see {@link https://developers.binance.com/docs/fiat/rest-api/Get-Fiat-Deposit-Withdraw-History Binance API Documentation}
715
- */
716
- getFiatDepositWithdrawHistory(requestParameters: GetFiatDepositWithdrawHistoryRequest): Promise<RestApiResponse<GetFiatDepositWithdrawHistoryResponse>>;
717
- /**
718
- * Get Fiat Deposit/Withdraw History
719
- *
720
- * If beginTime and endTime are not sent, the recent 30-day data will be returned.
721
- * paymentMethod: Only when requesting payments history for buy (transactionType=0), response contains paymentMethod representing the way of purchase. Now we have:
722
- * Cash Balance
723
- * Credit Card
724
- * Online Banking
725
- * Bank Transfer
726
- *
727
- * Weight: 1
728
- *
729
- * @summary Get Fiat Payments History (USER_DATA)
730
- * @param {GetFiatPaymentsHistoryRequest} requestParameters Request parameters.
731
- * @returns {Promise<RestApiResponse<GetFiatPaymentsHistoryResponse>>}
732
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
733
- * @memberof FiatApi
734
- * @see {@link https://developers.binance.com/docs/fiat/rest-api/Get-Fiat-Payments-History Binance API Documentation}
735
- */
736
- getFiatPaymentsHistory(requestParameters: GetFiatPaymentsHistoryRequest): Promise<RestApiResponse<GetFiatPaymentsHistoryResponse>>;
737
- /**
738
- * Get Order Detail
739
- *
740
- * Before calling this api, please make sure you have already completed your KYC or KYB, and already activated your fiat service on our website.
741
- *
742
- * Weight: 45000
743
- *
744
- * @summary Get Order Detail(USER_DATA)
745
- * @param {GetOrderDetailRequest} requestParameters Request parameters.
746
- * @returns {Promise<RestApiResponse<GetOrderDetailResponse>>}
747
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
748
- * @memberof FiatApi
749
- * @see {@link https://developers.binance.com/docs/fiat/rest-api/Get-Order-Detail Binance API Documentation}
750
- */
751
- getOrderDetail(requestParameters: GetOrderDetailRequest): Promise<RestApiResponse<GetOrderDetailResponse>>;
374
+ private readonly configuration;
375
+ private localVarAxiosParamCreator;
376
+ constructor(configuration: ConfigurationRestAPI);
377
+ /**
378
+ * Get Fiat Deposit/Withdraw History
379
+ *
380
+ * If beginTime and endTime are not sent, the recent 30-day data will be returned.
381
+ *
382
+ * Weight: 45000
383
+ *
384
+ * @summary Get Fiat Deposit/Withdraw History (USER_DATA)
385
+ * @param {GetFiatDepositWithdrawHistoryRequest} requestParameters Request parameters.
386
+ * @returns {Promise<RestApiResponse<GetFiatDepositWithdrawHistoryResponse>>}
387
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
388
+ * @memberof FiatApi
389
+ * @see {@link https://developers.binance.com/docs/fiat/rest-api/Get-Fiat-Deposit-Withdraw-History Binance API Documentation}
390
+ */
391
+ getFiatDepositWithdrawHistory(requestParameters: GetFiatDepositWithdrawHistoryRequest): Promise<RestApiResponse<GetFiatDepositWithdrawHistoryResponse>>;
392
+ /**
393
+ * Get Fiat Deposit/Withdraw History
394
+ *
395
+ * If beginTime and endTime are not sent, the recent 30-day data will be returned.
396
+ * paymentMethod: Only when requesting payments history for buy (transactionType=0), response contains paymentMethod representing the way of purchase. Now we have:
397
+ * Cash Balance
398
+ * Credit Card
399
+ * Online Banking
400
+ * Bank Transfer
401
+ *
402
+ * Weight: 1
403
+ *
404
+ * @summary Get Fiat Payments History (USER_DATA)
405
+ * @param {GetFiatPaymentsHistoryRequest} requestParameters Request parameters.
406
+ * @returns {Promise<RestApiResponse<GetFiatPaymentsHistoryResponse>>}
407
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
408
+ * @memberof FiatApi
409
+ * @see {@link https://developers.binance.com/docs/fiat/rest-api/Get-Fiat-Payments-History Binance API Documentation}
410
+ */
411
+ getFiatPaymentsHistory(requestParameters: GetFiatPaymentsHistoryRequest): Promise<RestApiResponse<GetFiatPaymentsHistoryResponse>>;
752
412
  }
753
-
754
- /**
755
- * Binance Fiat REST API
756
- *
757
- * OpenAPI Specification for the Binance Fiat REST API
758
- *
759
- * The version of the OpenAPI document: 1.0.0
760
- *
761
- *
762
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
763
- * https://openapi-generator.tech
764
- * Do not edit the class manually.
765
- */
766
-
413
+ //#endregion
414
+ //#region src/rest-api/rest-api.d.ts
767
415
  declare class RestAPI {
768
- private configuration;
769
- private fiatApi;
770
- constructor(configuration: ConfigurationRestAPI);
771
- /**
772
- * Generic function to send a request.
773
- * @param endpoint - The API endpoint to call.
774
- * @param method - HTTP method to use (GET, POST, DELETE, etc.).
775
- * @param params - Query parameters for the request.
776
- *
777
- * @returns A promise resolving to the response data object.
778
- */
779
- sendRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
780
- /**
781
- * Generic function to send a signed request.
782
- * @param endpoint - The API endpoint to call.
783
- * @param method - HTTP method to use (GET, POST, DELETE, etc.).
784
- * @param params - Query parameters for the request.
785
- *
786
- * @returns A promise resolving to the response data object.
787
- */
788
- sendSignedRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
789
- /**
790
- * Submit withdraw request, in this version, we only support BRL withdrawal via bank_transfer.
791
- *
792
- * You need to call this api first, and call query order detail api in a loop to get the status of the order until this order is successful.
793
- *
794
- * Before calling this api, please make sure you have already completed your KYC or KYB, and already activated your fiat service on our website.
795
- *
796
- * you need to bind your bank account on web/app before using the corresponding account number
797
- *
798
- * Weight: 45000
799
- *
800
- * @summary Fiat Withdraw(WITHDRAW)
801
- * @param {FiatWithdrawRequest} requestParameters Request parameters.
802
- *
803
- * @returns {Promise<RestApiResponse<FiatWithdrawResponse>>}
804
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
805
- * @see {@link https://developers.binance.com/docs/fiat/rest-api/Fiat-Withdraw Binance API Documentation}
806
- */
807
- fiatWithdraw(requestParameters?: FiatWithdrawRequest): Promise<RestApiResponse<FiatWithdrawResponse>>;
808
- /**
809
- * Get Fiat Deposit/Withdraw History
810
- *
811
- * If beginTime and endTime are not sent, the recent 30-day data will be returned.
812
- *
813
- * Weight: 45000
814
- *
815
- * @summary Get Fiat Deposit/Withdraw History (USER_DATA)
816
- * @param {GetFiatDepositWithdrawHistoryRequest} requestParameters Request parameters.
817
- *
818
- * @returns {Promise<RestApiResponse<GetFiatDepositWithdrawHistoryResponse>>}
819
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
820
- * @see {@link https://developers.binance.com/docs/fiat/rest-api/Get-Fiat-Deposit-Withdraw-History Binance API Documentation}
821
- */
822
- getFiatDepositWithdrawHistory(requestParameters: GetFiatDepositWithdrawHistoryRequest): Promise<RestApiResponse<GetFiatDepositWithdrawHistoryResponse>>;
823
- /**
824
- * Get Fiat Deposit/Withdraw History
825
- *
826
- * If beginTime and endTime are not sent, the recent 30-day data will be returned.
827
- * paymentMethod: Only when requesting payments history for buy (transactionType=0), response contains paymentMethod representing the way of purchase. Now we have:
828
- * Cash Balance
829
- * Credit Card
830
- * Online Banking
831
- * Bank Transfer
832
- *
833
- * Weight: 1
834
- *
835
- * @summary Get Fiat Payments History (USER_DATA)
836
- * @param {GetFiatPaymentsHistoryRequest} requestParameters Request parameters.
837
- *
838
- * @returns {Promise<RestApiResponse<GetFiatPaymentsHistoryResponse>>}
839
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
840
- * @see {@link https://developers.binance.com/docs/fiat/rest-api/Get-Fiat-Payments-History Binance API Documentation}
841
- */
842
- getFiatPaymentsHistory(requestParameters: GetFiatPaymentsHistoryRequest): Promise<RestApiResponse<GetFiatPaymentsHistoryResponse>>;
843
- /**
844
- * Get Order Detail
845
- *
846
- * Before calling this api, please make sure you have already completed your KYC or KYB, and already activated your fiat service on our website.
847
- *
848
- * Weight: 45000
849
- *
850
- * @summary Get Order Detail(USER_DATA)
851
- * @param {GetOrderDetailRequest} requestParameters Request parameters.
852
- *
853
- * @returns {Promise<RestApiResponse<GetOrderDetailResponse>>}
854
- * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
855
- * @see {@link https://developers.binance.com/docs/fiat/rest-api/Get-Order-Detail Binance API Documentation}
856
- */
857
- getOrderDetail(requestParameters: GetOrderDetailRequest): Promise<RestApiResponse<GetOrderDetailResponse>>;
416
+ private configuration;
417
+ private fiatApi;
418
+ constructor(configuration: ConfigurationRestAPI);
419
+ /**
420
+ * Generic function to send a request.
421
+ * @param endpoint - The API endpoint to call.
422
+ * @param method - HTTP method to use (GET, POST, DELETE, etc.).
423
+ * @param params - Query parameters for the request.
424
+ *
425
+ * @returns A promise resolving to the response data object.
426
+ */
427
+ sendRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
428
+ /**
429
+ * Generic function to send a signed request.
430
+ * @param endpoint - The API endpoint to call.
431
+ * @param method - HTTP method to use (GET, POST, DELETE, etc.).
432
+ * @param params - Query parameters for the request.
433
+ *
434
+ * @returns A promise resolving to the response data object.
435
+ */
436
+ sendSignedRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
437
+ /**
438
+ * Get Fiat Deposit/Withdraw History
439
+ *
440
+ * If beginTime and endTime are not sent, the recent 30-day data will be returned.
441
+ *
442
+ * Weight: 45000
443
+ *
444
+ * @summary Get Fiat Deposit/Withdraw History (USER_DATA)
445
+ * @param {GetFiatDepositWithdrawHistoryRequest} requestParameters Request parameters.
446
+ *
447
+ * @returns {Promise<RestApiResponse<GetFiatDepositWithdrawHistoryResponse>>}
448
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
449
+ * @see {@link https://developers.binance.com/docs/fiat/rest-api/Get-Fiat-Deposit-Withdraw-History Binance API Documentation}
450
+ */
451
+ getFiatDepositWithdrawHistory(requestParameters: GetFiatDepositWithdrawHistoryRequest): Promise<RestApiResponse<GetFiatDepositWithdrawHistoryResponse>>;
452
+ /**
453
+ * Get Fiat Deposit/Withdraw History
454
+ *
455
+ * If beginTime and endTime are not sent, the recent 30-day data will be returned.
456
+ * paymentMethod: Only when requesting payments history for buy (transactionType=0), response contains paymentMethod representing the way of purchase. Now we have:
457
+ * Cash Balance
458
+ * Credit Card
459
+ * Online Banking
460
+ * Bank Transfer
461
+ *
462
+ * Weight: 1
463
+ *
464
+ * @summary Get Fiat Payments History (USER_DATA)
465
+ * @param {GetFiatPaymentsHistoryRequest} requestParameters Request parameters.
466
+ *
467
+ * @returns {Promise<RestApiResponse<GetFiatPaymentsHistoryResponse>>}
468
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
469
+ * @see {@link https://developers.binance.com/docs/fiat/rest-api/Get-Fiat-Payments-History Binance API Documentation}
470
+ */
471
+ getFiatPaymentsHistory(requestParameters: GetFiatPaymentsHistoryRequest): Promise<RestApiResponse<GetFiatPaymentsHistoryResponse>>;
858
472
  }
859
-
860
- /**
861
- * Binance Fiat REST API
862
- *
863
- * OpenAPI Specification for the Binance Fiat REST API
864
- *
865
- * The version of the OpenAPI document: 1.0.0
866
- *
867
- *
868
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
869
- * https://openapi-generator.tech
870
- * Do not edit the class manually.
871
- */
872
-
873
- type index_DepositResponse = DepositResponse;
874
- type index_DepositResponseData = DepositResponseData;
875
- type index_FiatApi = FiatApi;
876
- declare const index_FiatApi: typeof FiatApi;
877
- type index_FiatApiInterface = FiatApiInterface;
878
- type index_FiatWithdrawRequest = FiatWithdrawRequest;
879
- type index_FiatWithdrawResponse = FiatWithdrawResponse;
880
- type index_GetFiatDepositWithdrawHistoryRequest = GetFiatDepositWithdrawHistoryRequest;
881
- type index_GetFiatDepositWithdrawHistoryResponse = GetFiatDepositWithdrawHistoryResponse;
882
- type index_GetFiatDepositWithdrawHistoryResponseDataInner = GetFiatDepositWithdrawHistoryResponseDataInner;
883
- type index_GetFiatPaymentsHistoryRequest = GetFiatPaymentsHistoryRequest;
884
- type index_GetFiatPaymentsHistoryResponse = GetFiatPaymentsHistoryResponse;
885
- type index_GetFiatPaymentsHistoryResponseDataInner = GetFiatPaymentsHistoryResponseDataInner;
886
- type index_GetOrderDetailRequest = GetOrderDetailRequest;
887
- type index_GetOrderDetailResponse = GetOrderDetailResponse;
888
- type index_GetOrderDetailResponseData = GetOrderDetailResponseData;
889
- type index_RestAPI = RestAPI;
890
- declare const index_RestAPI: typeof RestAPI;
891
- declare namespace index {
892
- export { type index_DepositResponse as DepositResponse, type index_DepositResponseData as DepositResponseData, index_FiatApi as FiatApi, type index_FiatApiInterface as FiatApiInterface, type index_FiatWithdrawRequest as FiatWithdrawRequest, type index_FiatWithdrawResponse as FiatWithdrawResponse, type index_GetFiatDepositWithdrawHistoryRequest as GetFiatDepositWithdrawHistoryRequest, type index_GetFiatDepositWithdrawHistoryResponse as GetFiatDepositWithdrawHistoryResponse, type index_GetFiatDepositWithdrawHistoryResponseDataInner as GetFiatDepositWithdrawHistoryResponseDataInner, type index_GetFiatPaymentsHistoryRequest as GetFiatPaymentsHistoryRequest, type index_GetFiatPaymentsHistoryResponse as GetFiatPaymentsHistoryResponse, type index_GetFiatPaymentsHistoryResponseDataInner as GetFiatPaymentsHistoryResponseDataInner, type index_GetOrderDetailRequest as GetOrderDetailRequest, type index_GetOrderDetailResponse as GetOrderDetailResponse, type index_GetOrderDetailResponseData as GetOrderDetailResponseData, index_RestAPI as RestAPI };
473
+ declare namespace index_d_exports {
474
+ export { FiatApi, FiatApiInterface, GetFiatDepositWithdrawHistoryRequest, GetFiatDepositWithdrawHistoryResponse, GetFiatDepositWithdrawHistoryResponseDataInner, GetFiatPaymentsHistoryRequest, GetFiatPaymentsHistoryResponse, GetFiatPaymentsHistoryResponseDataInner, RestAPI };
893
475
  }
894
-
476
+ //#endregion
477
+ //#region src/fiat.d.ts
895
478
  interface ConfigurationFiat {
896
- configurationRestAPI?: ConfigurationRestAPI;
479
+ configurationRestAPI?: ConfigurationRestAPI;
897
480
  }
898
481
  declare class Fiat {
899
- restAPI: RestAPI;
900
- constructor(config: ConfigurationFiat);
482
+ restAPI: RestAPI;
483
+ constructor(config: ConfigurationFiat);
901
484
  }
902
-
903
- export { type ConfigurationFiat, Fiat, index as FiatRestAPI };
485
+ //#endregion
486
+ export { BadRequestError, type ConfigurationFiat, ConnectorClientError, FIAT_REST_API_PROD_URL, Fiat, index_d_exports as FiatRestAPI, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError };
487
+ //# sourceMappingURL=index.d.mts.map