@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.ts CHANGED
@@ -1,110 +1,9 @@
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 rolldown:runtime
107
4
 
5
+ //#endregion
6
+ //#region src/rest-api/types/get-fiat-deposit-withdraw-history-response-data-inner.d.ts
108
7
  /**
109
8
  * Binance Fiat REST API
110
9
  *
@@ -123,113 +22,102 @@ interface FiatWithdrawResponse {
123
22
  * @interface GetFiatDepositWithdrawHistoryResponseDataInner
124
23
  */
125
24
  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;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof GetFiatDepositWithdrawHistoryResponseDataInner
29
+ */
30
+ orderNo?: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof GetFiatDepositWithdrawHistoryResponseDataInner
35
+ */
36
+ fiatCurrency?: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof GetFiatDepositWithdrawHistoryResponseDataInner
41
+ */
42
+ indicatedAmount?: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof GetFiatDepositWithdrawHistoryResponseDataInner
47
+ */
48
+ amount?: string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof GetFiatDepositWithdrawHistoryResponseDataInner
53
+ */
54
+ totalFee?: string;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof GetFiatDepositWithdrawHistoryResponseDataInner
59
+ */
60
+ method?: string;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof GetFiatDepositWithdrawHistoryResponseDataInner
65
+ */
66
+ status?: string;
67
+ /**
68
+ *
69
+ * @type {number | bigint}
70
+ * @memberof GetFiatDepositWithdrawHistoryResponseDataInner
71
+ */
72
+ createTime?: number | bigint;
73
+ /**
74
+ *
75
+ * @type {number | bigint}
76
+ * @memberof GetFiatDepositWithdrawHistoryResponseDataInner
77
+ */
78
+ updateTime?: number | bigint;
180
79
  }
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
- */
194
-
80
+ //#endregion
81
+ //#region src/rest-api/types/get-fiat-deposit-withdraw-history-response.d.ts
195
82
  /**
196
83
  *
197
84
  * @export
198
85
  * @interface GetFiatDepositWithdrawHistoryResponse
199
86
  */
200
87
  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;
88
+ /**
89
+ *
90
+ * @type {string}
91
+ * @memberof GetFiatDepositWithdrawHistoryResponse
92
+ */
93
+ code?: string;
94
+ /**
95
+ *
96
+ * @type {string}
97
+ * @memberof GetFiatDepositWithdrawHistoryResponse
98
+ */
99
+ message?: string;
100
+ /**
101
+ *
102
+ * @type {Array<GetFiatDepositWithdrawHistoryResponseDataInner>}
103
+ * @memberof GetFiatDepositWithdrawHistoryResponse
104
+ */
105
+ data?: Array<GetFiatDepositWithdrawHistoryResponseDataInner>;
106
+ /**
107
+ *
108
+ * @type {number | bigint}
109
+ * @memberof GetFiatDepositWithdrawHistoryResponse
110
+ */
111
+ total?: number | bigint;
112
+ /**
113
+ *
114
+ * @type {boolean}
115
+ * @memberof GetFiatDepositWithdrawHistoryResponse
116
+ */
117
+ success?: boolean;
231
118
  }
232
-
119
+ //#endregion
120
+ //#region src/rest-api/types/get-fiat-payments-history-response-data-inner.d.ts
233
121
  /**
234
122
  * Binance Fiat REST API
235
123
  *
@@ -248,656 +136,353 @@ interface GetFiatDepositWithdrawHistoryResponse {
248
136
  * @interface GetFiatPaymentsHistoryResponseDataInner
249
137
  */
250
138
  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;
139
+ /**
140
+ *
141
+ * @type {string}
142
+ * @memberof GetFiatPaymentsHistoryResponseDataInner
143
+ */
144
+ orderNo?: string;
145
+ /**
146
+ *
147
+ * @type {string}
148
+ * @memberof GetFiatPaymentsHistoryResponseDataInner
149
+ */
150
+ sourceAmount?: string;
151
+ /**
152
+ *
153
+ * @type {string}
154
+ * @memberof GetFiatPaymentsHistoryResponseDataInner
155
+ */
156
+ fiatCurrency?: string;
157
+ /**
158
+ *
159
+ * @type {string}
160
+ * @memberof GetFiatPaymentsHistoryResponseDataInner
161
+ */
162
+ obtainAmount?: string;
163
+ /**
164
+ *
165
+ * @type {string}
166
+ * @memberof GetFiatPaymentsHistoryResponseDataInner
167
+ */
168
+ cryptoCurrency?: string;
169
+ /**
170
+ *
171
+ * @type {string}
172
+ * @memberof GetFiatPaymentsHistoryResponseDataInner
173
+ */
174
+ totalFee?: string;
175
+ /**
176
+ *
177
+ * @type {string}
178
+ * @memberof GetFiatPaymentsHistoryResponseDataInner
179
+ */
180
+ price?: string;
181
+ /**
182
+ *
183
+ * @type {string}
184
+ * @memberof GetFiatPaymentsHistoryResponseDataInner
185
+ */
186
+ status?: string;
187
+ /**
188
+ *
189
+ * @type {string}
190
+ * @memberof GetFiatPaymentsHistoryResponseDataInner
191
+ */
192
+ paymentMethod?: string;
193
+ /**
194
+ *
195
+ * @type {number | bigint}
196
+ * @memberof GetFiatPaymentsHistoryResponseDataInner
197
+ */
198
+ createTime?: number | bigint;
199
+ /**
200
+ *
201
+ * @type {number | bigint}
202
+ * @memberof GetFiatPaymentsHistoryResponseDataInner
203
+ */
204
+ updateTime?: number | bigint;
317
205
  }
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
-
206
+ //#endregion
207
+ //#region src/rest-api/types/get-fiat-payments-history-response.d.ts
332
208
  /**
333
209
  *
334
210
  * @export
335
211
  * @interface GetFiatPaymentsHistoryResponse
336
212
  */
337
213
  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;
214
+ /**
215
+ *
216
+ * @type {string}
217
+ * @memberof GetFiatPaymentsHistoryResponse
218
+ */
219
+ code?: string;
220
+ /**
221
+ *
222
+ * @type {string}
223
+ * @memberof GetFiatPaymentsHistoryResponse
224
+ */
225
+ message?: string;
226
+ /**
227
+ *
228
+ * @type {Array<GetFiatPaymentsHistoryResponseDataInner>}
229
+ * @memberof GetFiatPaymentsHistoryResponse
230
+ */
231
+ data?: Array<GetFiatPaymentsHistoryResponseDataInner>;
232
+ /**
233
+ *
234
+ * @type {number | bigint}
235
+ * @memberof GetFiatPaymentsHistoryResponse
236
+ */
237
+ total?: number | bigint;
238
+ /**
239
+ *
240
+ * @type {boolean}
241
+ * @memberof GetFiatPaymentsHistoryResponse
242
+ */
243
+ success?: boolean;
368
244
  }
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;
436
- }
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
-
245
+ //#endregion
246
+ //#region src/rest-api/modules/fiat-api.d.ts
490
247
  /**
491
248
  * FiatApi - interface
492
249
  * @interface FiatApi
493
250
  */
494
251
  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;
252
+ /**
253
+ * Get Fiat Deposit/Withdraw History
254
+ *
255
+ * If beginTime and endTime are not sent, the recent 30-day data will be returned.
256
+ *
257
+ * Weight: 45000
258
+ *
259
+ * @summary Get Fiat Deposit/Withdraw History (USER_DATA)
260
+ * @param {GetFiatDepositWithdrawHistoryRequest} requestParameters Request parameters.
261
+ *
262
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
263
+ * @memberof FiatApiInterface
264
+ */
265
+ getFiatDepositWithdrawHistory(requestParameters: GetFiatDepositWithdrawHistoryRequest): Promise<RestApiResponse<GetFiatDepositWithdrawHistoryResponse>>;
266
+ /**
267
+ * Get Fiat Deposit/Withdraw History
268
+ *
269
+ * If beginTime and endTime are not sent, the recent 30-day data will be returned.
270
+ * paymentMethod: Only when requesting payments history for buy (transactionType=0), response contains paymentMethod representing the way of purchase. Now we have:
271
+ * Cash Balance
272
+ * Credit Card
273
+ * Online Banking
274
+ * Bank Transfer
275
+ *
276
+ * Weight: 1
277
+ *
278
+ * @summary Get Fiat Payments History (USER_DATA)
279
+ * @param {GetFiatPaymentsHistoryRequest} requestParameters Request parameters.
280
+ *
281
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
282
+ * @memberof FiatApiInterface
283
+ */
284
+ getFiatPaymentsHistory(requestParameters: GetFiatPaymentsHistoryRequest): Promise<RestApiResponse<GetFiatPaymentsHistoryResponse>>;
572
285
  }
573
286
  /**
574
287
  * Request parameters for getFiatDepositWithdrawHistory operation in FiatApi.
575
288
  * @interface GetFiatDepositWithdrawHistoryRequest
576
289
  */
577
290
  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;
291
+ /**
292
+ * 0-buy,1-sell
293
+ * @type {string}
294
+ * @memberof FiatApiGetFiatDepositWithdrawHistory
295
+ */
296
+ readonly transactionType: string;
297
+ /**
298
+ *
299
+ * @type {number | bigint}
300
+ * @memberof FiatApiGetFiatDepositWithdrawHistory
301
+ */
302
+ readonly beginTime?: number | bigint;
303
+ /**
304
+ *
305
+ * @type {number | bigint}
306
+ * @memberof FiatApiGetFiatDepositWithdrawHistory
307
+ */
308
+ readonly endTime?: number | bigint;
309
+ /**
310
+ * default 1
311
+ * @type {number | bigint}
312
+ * @memberof FiatApiGetFiatDepositWithdrawHistory
313
+ */
314
+ readonly page?: number | bigint;
315
+ /**
316
+ * default 100, max 500
317
+ * @type {number | bigint}
318
+ * @memberof FiatApiGetFiatDepositWithdrawHistory
319
+ */
320
+ readonly rows?: number | bigint;
321
+ /**
322
+ *
323
+ * @type {number | bigint}
324
+ * @memberof FiatApiGetFiatDepositWithdrawHistory
325
+ */
326
+ readonly recvWindow?: number | bigint;
614
327
  }
615
328
  /**
616
329
  * Request parameters for getFiatPaymentsHistory operation in FiatApi.
617
330
  * @interface GetFiatPaymentsHistoryRequest
618
331
  */
619
332
  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;
333
+ /**
334
+ * 0-buy,1-sell
335
+ * @type {string}
336
+ * @memberof FiatApiGetFiatPaymentsHistory
337
+ */
338
+ readonly transactionType: string;
339
+ /**
340
+ *
341
+ * @type {number | bigint}
342
+ * @memberof FiatApiGetFiatPaymentsHistory
343
+ */
344
+ readonly beginTime?: number | bigint;
345
+ /**
346
+ *
347
+ * @type {number | bigint}
348
+ * @memberof FiatApiGetFiatPaymentsHistory
349
+ */
350
+ readonly endTime?: number | bigint;
351
+ /**
352
+ * default 1
353
+ * @type {number | bigint}
354
+ * @memberof FiatApiGetFiatPaymentsHistory
355
+ */
356
+ readonly page?: number | bigint;
357
+ /**
358
+ * default 100, max 500
359
+ * @type {number | bigint}
360
+ * @memberof FiatApiGetFiatPaymentsHistory
361
+ */
362
+ readonly rows?: number | bigint;
363
+ /**
364
+ *
365
+ * @type {number | bigint}
366
+ * @memberof FiatApiGetFiatPaymentsHistory
367
+ */
368
+ readonly recvWindow?: number | bigint;
674
369
  }
675
370
  /**
676
371
  * FiatApi - object-oriented interface
677
372
  * @class FiatApi
678
373
  */
679
374
  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>>;
375
+ private readonly configuration;
376
+ private localVarAxiosParamCreator;
377
+ constructor(configuration: ConfigurationRestAPI);
378
+ /**
379
+ * Get Fiat Deposit/Withdraw History
380
+ *
381
+ * If beginTime and endTime are not sent, the recent 30-day data will be returned.
382
+ *
383
+ * Weight: 45000
384
+ *
385
+ * @summary Get Fiat Deposit/Withdraw History (USER_DATA)
386
+ * @param {GetFiatDepositWithdrawHistoryRequest} requestParameters Request parameters.
387
+ * @returns {Promise<RestApiResponse<GetFiatDepositWithdrawHistoryResponse>>}
388
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
389
+ * @memberof FiatApi
390
+ * @see {@link https://developers.binance.com/docs/fiat/rest-api/Get-Fiat-Deposit-Withdraw-History Binance API Documentation}
391
+ */
392
+ getFiatDepositWithdrawHistory(requestParameters: GetFiatDepositWithdrawHistoryRequest): Promise<RestApiResponse<GetFiatDepositWithdrawHistoryResponse>>;
393
+ /**
394
+ * Get Fiat Deposit/Withdraw History
395
+ *
396
+ * If beginTime and endTime are not sent, the recent 30-day data will be returned.
397
+ * paymentMethod: Only when requesting payments history for buy (transactionType=0), response contains paymentMethod representing the way of purchase. Now we have:
398
+ * Cash Balance
399
+ * Credit Card
400
+ * Online Banking
401
+ * Bank Transfer
402
+ *
403
+ * Weight: 1
404
+ *
405
+ * @summary Get Fiat Payments History (USER_DATA)
406
+ * @param {GetFiatPaymentsHistoryRequest} requestParameters Request parameters.
407
+ * @returns {Promise<RestApiResponse<GetFiatPaymentsHistoryResponse>>}
408
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
409
+ * @memberof FiatApi
410
+ * @see {@link https://developers.binance.com/docs/fiat/rest-api/Get-Fiat-Payments-History Binance API Documentation}
411
+ */
412
+ getFiatPaymentsHistory(requestParameters: GetFiatPaymentsHistoryRequest): Promise<RestApiResponse<GetFiatPaymentsHistoryResponse>>;
752
413
  }
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
-
414
+ //#endregion
415
+ //#region src/rest-api/rest-api.d.ts
767
416
  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>>;
417
+ private configuration;
418
+ private fiatApi;
419
+ constructor(configuration: ConfigurationRestAPI);
420
+ /**
421
+ * Generic function to send a request.
422
+ * @param endpoint - The API endpoint to call.
423
+ * @param method - HTTP method to use (GET, POST, DELETE, etc.).
424
+ * @param params - Query parameters for the request.
425
+ *
426
+ * @returns A promise resolving to the response data object.
427
+ */
428
+ sendRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
429
+ /**
430
+ * Generic function to send a signed request.
431
+ * @param endpoint - The API endpoint to call.
432
+ * @param method - HTTP method to use (GET, POST, DELETE, etc.).
433
+ * @param params - Query parameters for the request.
434
+ *
435
+ * @returns A promise resolving to the response data object.
436
+ */
437
+ sendSignedRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', params?: Record<string, unknown>): Promise<RestApiResponse<T>>;
438
+ /**
439
+ * Get Fiat Deposit/Withdraw History
440
+ *
441
+ * If beginTime and endTime are not sent, the recent 30-day data will be returned.
442
+ *
443
+ * Weight: 45000
444
+ *
445
+ * @summary Get Fiat Deposit/Withdraw History (USER_DATA)
446
+ * @param {GetFiatDepositWithdrawHistoryRequest} requestParameters Request parameters.
447
+ *
448
+ * @returns {Promise<RestApiResponse<GetFiatDepositWithdrawHistoryResponse>>}
449
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
450
+ * @see {@link https://developers.binance.com/docs/fiat/rest-api/Get-Fiat-Deposit-Withdraw-History Binance API Documentation}
451
+ */
452
+ getFiatDepositWithdrawHistory(requestParameters: GetFiatDepositWithdrawHistoryRequest): Promise<RestApiResponse<GetFiatDepositWithdrawHistoryResponse>>;
453
+ /**
454
+ * Get Fiat Deposit/Withdraw History
455
+ *
456
+ * If beginTime and endTime are not sent, the recent 30-day data will be returned.
457
+ * paymentMethod: Only when requesting payments history for buy (transactionType=0), response contains paymentMethod representing the way of purchase. Now we have:
458
+ * Cash Balance
459
+ * Credit Card
460
+ * Online Banking
461
+ * Bank Transfer
462
+ *
463
+ * Weight: 1
464
+ *
465
+ * @summary Get Fiat Payments History (USER_DATA)
466
+ * @param {GetFiatPaymentsHistoryRequest} requestParameters Request parameters.
467
+ *
468
+ * @returns {Promise<RestApiResponse<GetFiatPaymentsHistoryResponse>>}
469
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
470
+ * @see {@link https://developers.binance.com/docs/fiat/rest-api/Get-Fiat-Payments-History Binance API Documentation}
471
+ */
472
+ getFiatPaymentsHistory(requestParameters: GetFiatPaymentsHistoryRequest): Promise<RestApiResponse<GetFiatPaymentsHistoryResponse>>;
858
473
  }
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 };
474
+ declare namespace index_d_exports {
475
+ export { FiatApi, FiatApiInterface, GetFiatDepositWithdrawHistoryRequest, GetFiatDepositWithdrawHistoryResponse, GetFiatDepositWithdrawHistoryResponseDataInner, GetFiatPaymentsHistoryRequest, GetFiatPaymentsHistoryResponse, GetFiatPaymentsHistoryResponseDataInner, RestAPI };
893
476
  }
894
-
477
+ //#endregion
478
+ //#region src/fiat.d.ts
895
479
  interface ConfigurationFiat {
896
- configurationRestAPI?: ConfigurationRestAPI;
480
+ configurationRestAPI?: ConfigurationRestAPI;
897
481
  }
898
482
  declare class Fiat {
899
- restAPI: RestAPI;
900
- constructor(config: ConfigurationFiat);
483
+ restAPI: RestAPI;
484
+ constructor(config: ConfigurationFiat);
901
485
  }
902
-
903
- export { type ConfigurationFiat, Fiat, index as FiatRestAPI };
486
+ //#endregion
487
+ export { BadRequestError, type ConfigurationFiat, ConnectorClientError, FIAT_REST_API_PROD_URL, Fiat, index_d_exports as FiatRestAPI, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError };
488
+ //# sourceMappingURL=index.d.ts.map