@binance/wallet 18.0.0 → 19.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -2431,6 +2431,84 @@ interface GetCloudMiningPaymentAndRefundHistoryResponse {
2431
2431
  rows?: Array<GetCloudMiningPaymentAndRefundHistoryResponseRowsInner>;
2432
2432
  }
2433
2433
  //#endregion
2434
+ //#region src/rest-api/types/get-country-list-response-countries-inner.d.ts
2435
+ /**
2436
+ * Binance Wallet REST API
2437
+ *
2438
+ * OpenAPI Specification for the Binance Wallet REST API
2439
+ *
2440
+ * The version of the OpenAPI document: 1.0.0
2441
+ *
2442
+ *
2443
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2444
+ * https://openapi-generator.tech
2445
+ * Do not edit the class manually.
2446
+ */
2447
+ /**
2448
+ *
2449
+ * @export
2450
+ * @interface GetCountryListResponseCountriesInner
2451
+ */
2452
+ interface GetCountryListResponseCountriesInner {
2453
+ /**
2454
+ *
2455
+ * @type {string}
2456
+ * @memberof GetCountryListResponseCountriesInner
2457
+ */
2458
+ countryCode?: string;
2459
+ /**
2460
+ *
2461
+ * @type {string}
2462
+ * @memberof GetCountryListResponseCountriesInner
2463
+ */
2464
+ countryName?: string;
2465
+ /**
2466
+ *
2467
+ * @type {string}
2468
+ * @memberof GetCountryListResponseCountriesInner
2469
+ */
2470
+ blockType?: string;
2471
+ /**
2472
+ *
2473
+ * @type {boolean}
2474
+ * @memberof GetCountryListResponseCountriesInner
2475
+ */
2476
+ depositAllowed?: boolean;
2477
+ /**
2478
+ *
2479
+ * @type {boolean}
2480
+ * @memberof GetCountryListResponseCountriesInner
2481
+ */
2482
+ withdrawalAllowed?: boolean;
2483
+ /**
2484
+ *
2485
+ * @type {boolean}
2486
+ * @memberof GetCountryListResponseCountriesInner
2487
+ */
2488
+ hasRegionRestrictions?: boolean;
2489
+ }
2490
+ //#endregion
2491
+ //#region src/rest-api/types/get-country-list-response.d.ts
2492
+ /**
2493
+ *
2494
+ * @export
2495
+ * @interface GetCountryListResponse
2496
+ */
2497
+ interface GetCountryListResponse {
2498
+ /**
2499
+ *
2500
+ * @type {Array<GetCountryListResponseCountriesInner>}
2501
+ * @memberof GetCountryListResponse
2502
+ */
2503
+ countries?: Array<GetCountryListResponseCountriesInner>;
2504
+ /**
2505
+ *
2506
+ * @type {number | bigint}
2507
+ * @memberof GetCountryListResponse
2508
+ */
2509
+ lastUpdated?: number | bigint;
2510
+ }
2511
+ //#endregion
2434
2512
  //#region src/rest-api/types/get-open-symbol-list-response-inner.d.ts
2435
2513
  /**
2436
2514
  * Binance Wallet REST API
@@ -2472,6 +2550,78 @@ interface GetOpenSymbolListResponseInner {
2472
2550
  */
2473
2551
  interface GetOpenSymbolListResponse extends Array<GetOpenSymbolListResponseInner> {}
2474
2552
  //#endregion
2553
+ //#region src/rest-api/types/get-region-list-response-regions-inner.d.ts
2554
+ /**
2555
+ * Binance Wallet REST API
2556
+ *
2557
+ * OpenAPI Specification for the Binance Wallet REST API
2558
+ *
2559
+ * The version of the OpenAPI document: 1.0.0
2560
+ *
2561
+ *
2562
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2563
+ * https://openapi-generator.tech
2564
+ * Do not edit the class manually.
2565
+ */
2566
+ /**
2567
+ *
2568
+ * @export
2569
+ * @interface GetRegionListResponseRegionsInner
2570
+ */
2571
+ interface GetRegionListResponseRegionsInner {
2572
+ /**
2573
+ *
2574
+ * @type {string}
2575
+ * @memberof GetRegionListResponseRegionsInner
2576
+ */
2577
+ regionName?: string;
2578
+ /**
2579
+ *
2580
+ * @type {string}
2581
+ * @memberof GetRegionListResponseRegionsInner
2582
+ */
2583
+ blockType?: string;
2584
+ /**
2585
+ *
2586
+ * @type {boolean}
2587
+ * @memberof GetRegionListResponseRegionsInner
2588
+ */
2589
+ depositAllowed?: boolean;
2590
+ /**
2591
+ *
2592
+ * @type {boolean}
2593
+ * @memberof GetRegionListResponseRegionsInner
2594
+ */
2595
+ withdrawalAllowed?: boolean;
2596
+ }
2597
+ //#endregion
2598
+ //#region src/rest-api/types/get-region-list-response.d.ts
2599
+ /**
2600
+ *
2601
+ * @export
2602
+ * @interface GetRegionListResponse
2603
+ */
2604
+ interface GetRegionListResponse {
2605
+ /**
2606
+ *
2607
+ * @type {string}
2608
+ * @memberof GetRegionListResponse
2609
+ */
2610
+ countryCode?: string;
2611
+ /**
2612
+ *
2613
+ * @type {Array<GetRegionListResponseRegionsInner>}
2614
+ * @memberof GetRegionListResponse
2615
+ */
2616
+ regions?: Array<GetRegionListResponseRegionsInner>;
2617
+ /**
2618
+ *
2619
+ * @type {number | bigint}
2620
+ * @memberof GetRegionListResponse
2621
+ */
2622
+ lastUpdated?: number | bigint;
2623
+ }
2624
+ //#endregion
2475
2625
  //#region src/rest-api/types/get-spot-delist-schedule-response-inner.d.ts
2476
2626
  /**
2477
2627
  * Binance Wallet REST API
@@ -5619,6 +5769,29 @@ interface TravelRuleApiInterface {
5619
5769
  * @memberof TravelRuleApiInterface
5620
5770
  */
5621
5771
  fetchAddressVerificationList(requestParameters?: FetchAddressVerificationListRequest): Promise<RestApiResponse<FetchAddressVerificationListResponse>>;
5772
+ /**
5773
+ * Query the active country list for travel rule questionnaires.
5774
+ *
5775
+ * Weight: 1
5776
+ *
5777
+ * @summary Get Country List (USER_DATA)
5778
+ *
5779
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5780
+ * @memberof TravelRuleApiInterface
5781
+ */
5782
+ getCountryList(): Promise<RestApiResponse<GetCountryListResponse>>;
5783
+ /**
5784
+ * Query the active region/city list for a given country.
5785
+ *
5786
+ * Weight: 1
5787
+ *
5788
+ * @summary Get Region List (USER_DATA)
5789
+ * @param {GetRegionListRequest} requestParameters Request parameters.
5790
+ *
5791
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5792
+ * @memberof TravelRuleApiInterface
5793
+ */
5794
+ getRegionList(requestParameters: GetRegionListRequest): Promise<RestApiResponse<GetRegionListResponse>>;
5622
5795
  /**
5623
5796
  * Submit questionnaire for brokers of local entities that require travel rule.
5624
5797
  * The questionnaire is only applies to transactions from un-hosted wallets or VASPs that are not
@@ -5972,6 +6145,18 @@ interface FetchAddressVerificationListRequest {
5972
6145
  */
5973
6146
  readonly recvWindow?: number | bigint;
5974
6147
  }
6148
+ /**
6149
+ * Request parameters for getRegionList operation in TravelRuleApi.
6150
+ * @interface GetRegionListRequest
6151
+ */
6152
+ interface GetRegionListRequest {
6153
+ /**
6154
+ * ISO 2-digit country code (from `Country List` API).
6155
+ * @type {string}
6156
+ * @memberof TravelRuleApiGetRegionList
6157
+ */
6158
+ readonly countryCode: string;
6159
+ }
5975
6160
  /**
5976
6161
  * Request parameters for submitDepositQuestionnaire operation in TravelRuleApi.
5977
6162
  * @interface SubmitDepositQuestionnaireRequest
@@ -6388,6 +6573,31 @@ declare class TravelRuleApi implements TravelRuleApiInterface {
6388
6573
  * @see {@link https://developers.binance.com/docs/wallet/travel-rule/address-verification-list Binance API Documentation}
6389
6574
  */
6390
6575
  fetchAddressVerificationList(requestParameters?: FetchAddressVerificationListRequest): Promise<RestApiResponse<FetchAddressVerificationListResponse>>;
6576
+ /**
6577
+ * Query the active country list for travel rule questionnaires.
6578
+ *
6579
+ * Weight: 1
6580
+ *
6581
+ * @summary Get Country List (USER_DATA)
6582
+ * @returns {Promise<RestApiResponse<GetCountryListResponse>>}
6583
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
6584
+ * @memberof TravelRuleApi
6585
+ * @see {@link https://developers.binance.com/docs/wallet/travel-rule/country-list Binance API Documentation}
6586
+ */
6587
+ getCountryList(): Promise<RestApiResponse<GetCountryListResponse>>;
6588
+ /**
6589
+ * Query the active region/city list for a given country.
6590
+ *
6591
+ * Weight: 1
6592
+ *
6593
+ * @summary Get Region List (USER_DATA)
6594
+ * @param {GetRegionListRequest} requestParameters Request parameters.
6595
+ * @returns {Promise<RestApiResponse<GetRegionListResponse>>}
6596
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
6597
+ * @memberof TravelRuleApi
6598
+ * @see {@link https://developers.binance.com/docs/wallet/travel-rule/region-list Binance API Documentation}
6599
+ */
6600
+ getRegionList(requestParameters: GetRegionListRequest): Promise<RestApiResponse<GetRegionListResponse>>;
6391
6601
  /**
6392
6602
  * Submit questionnaire for brokers of local entities that require travel rule.
6393
6603
  * The questionnaire is only applies to transactions from un-hosted wallets or VASPs that are not
@@ -7172,6 +7382,31 @@ declare class RestAPI {
7172
7382
  * @see {@link https://developers.binance.com/docs/wallet/travel-rule/address-verification-list Binance API Documentation}
7173
7383
  */
7174
7384
  fetchAddressVerificationList(requestParameters?: FetchAddressVerificationListRequest): Promise<RestApiResponse<FetchAddressVerificationListResponse>>;
7385
+ /**
7386
+ * Query the active country list for travel rule questionnaires.
7387
+ *
7388
+ * Weight: 1
7389
+ *
7390
+ * @summary Get Country List (USER_DATA)
7391
+ *
7392
+ * @returns {Promise<RestApiResponse<GetCountryListResponse>>}
7393
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
7394
+ * @see {@link https://developers.binance.com/docs/wallet/travel-rule/country-list Binance API Documentation}
7395
+ */
7396
+ getCountryList(): Promise<RestApiResponse<GetCountryListResponse>>;
7397
+ /**
7398
+ * Query the active region/city list for a given country.
7399
+ *
7400
+ * Weight: 1
7401
+ *
7402
+ * @summary Get Region List (USER_DATA)
7403
+ * @param {GetRegionListRequest} requestParameters Request parameters.
7404
+ *
7405
+ * @returns {Promise<RestApiResponse<GetRegionListResponse>>}
7406
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
7407
+ * @see {@link https://developers.binance.com/docs/wallet/travel-rule/region-list Binance API Documentation}
7408
+ */
7409
+ getRegionList(requestParameters: GetRegionListRequest): Promise<RestApiResponse<GetRegionListResponse>>;
7175
7410
  /**
7176
7411
  * Submit questionnaire for brokers of local entities that require travel rule.
7177
7412
  * The questionnaire is only applies to transactions from un-hosted wallets or VASPs that are not
@@ -7299,7 +7534,7 @@ declare class RestAPI {
7299
7534
  withdrawTravelRule(requestParameters: WithdrawTravelRuleRequest): Promise<RestApiResponse<WithdrawTravelRuleResponse>>;
7300
7535
  }
7301
7536
  declare namespace index_d_exports {
7302
- export { AccountApi, AccountApiInterface, AccountApiTradingStatusRequest, AccountApiTradingStatusResponse, AccountApiTradingStatusResponseData, AccountApiTradingStatusResponseDataTriggerCondition, AccountInfoRequest, AccountInfoResponse, AccountStatusRequest, AccountStatusResponse, AllCoinsInformationRequest, AllCoinsInformationResponse, AllCoinsInformationResponseInner, AllCoinsInformationResponseInnerNetworkListInner, AssetApi, AssetApiInterface, AssetDetailRequest, AssetDetailResponse, AssetDetailResponseCTR, AssetDetailResponseSKY, AssetDividendRecordRequest, AssetDividendRecordResponse, AssetDividendRecordResponseRowsInner, BrokerWithdrawRequest, BrokerWithdrawResponse, CapitalApi, CapitalApiInterface, CheckQuestionnaireRequirementsRequest, CheckQuestionnaireRequirementsResponse, DailyAccountSnapshotRequest, DailyAccountSnapshotResponse, DailyAccountSnapshotResponseSnapshotVosInner, DailyAccountSnapshotResponseSnapshotVosInnerData, DailyAccountSnapshotResponseSnapshotVosInnerDataAssetsInner, DailyAccountSnapshotResponseSnapshotVosInnerDataBalancesInner, DailyAccountSnapshotResponseSnapshotVosInnerDataPositionInner, DailyAccountSnapshotResponseSnapshotVosInnerDataUserAssetsInner, DepositAddressRequest, DepositAddressResponse, DepositHistoryRequest, DepositHistoryResponse, DepositHistoryResponseInner, DepositHistoryTravelRuleRequest, DepositHistoryTravelRuleResponse, DepositHistoryTravelRuleResponseInner, DepositHistoryV2Request, DepositHistoryV2Response, DepositHistoryV2ResponseInner, DepositHistoryV2ResponseInnerQuestionnaire, DisableFastWithdrawSwitchRequest, DustConvertRequest, DustConvertResponse, DustConvertResponseTransferResultInner, DustConvertibleAssetsRequest, DustConvertibleAssetsResponse, DustConvertibleAssetsResponseDetailsInner, DustTransferRequest, DustTransferResponse, DustTransferResponseTransferResultInner, DustlogRequest, DustlogResponse, DustlogResponseUserAssetDribbletsInner, DustlogResponseUserAssetDribbletsInnerUserAssetDribbletDetailsInner, EnableFastWithdrawSwitchRequest, FetchAddressVerificationListRequest, FetchAddressVerificationListResponse, FetchAddressVerificationListResponseInner, FetchAddressVerificationListResponseInnerAddressQuestionnaire, FetchDepositAddressListWithNetworkRequest, FetchDepositAddressListWithNetworkResponse, FetchDepositAddressListWithNetworkResponseInner, FetchWithdrawAddressListResponse, FetchWithdrawAddressListResponseInner, FetchWithdrawQuotaResponse, FundingWalletRequest, FundingWalletResponse, FundingWalletResponseInner, GetApiKeyPermissionRequest, GetApiKeyPermissionResponse, GetAssetsThatCanBeConvertedIntoBnbRequest, GetAssetsThatCanBeConvertedIntoBnbResponse, GetAssetsThatCanBeConvertedIntoBnbResponseDetailsInner, GetCloudMiningPaymentAndRefundHistoryRequest, GetCloudMiningPaymentAndRefundHistoryResponse, GetCloudMiningPaymentAndRefundHistoryResponseRowsInner, GetOpenSymbolListResponse, GetOpenSymbolListResponseInner, GetSpotDelistScheduleResponse, GetSpotDelistScheduleResponseInner, GetSymbolsDelistScheduleForSpotRequest, GetSymbolsDelistScheduleForSpotResponse, GetSymbolsDelistScheduleForSpotResponseInner, OneClickArrivalDepositApplyRequest, OneClickArrivalDepositApplyResponse, OthersApi, OthersApiInterface, QueryUserDelegationHistoryRequest, QueryUserDelegationHistoryResponse, QueryUserDelegationHistoryResponseRowsInner, QueryUserUniversalTransferHistoryRequest, QueryUserUniversalTransferHistoryResponse, QueryUserUniversalTransferHistoryResponseRowsInner, QueryUserWalletBalanceRequest, QueryUserWalletBalanceResponse, QueryUserWalletBalanceResponseInner, RestAPI, SubmitDepositQuestionnaireRequest, SubmitDepositQuestionnaireResponse, SubmitDepositQuestionnaireTravelRuleRequest, SubmitDepositQuestionnaireTravelRuleResponse, SubmitDepositQuestionnaireV2Request, SubmitDepositQuestionnaireV2Response, SystemStatusResponse, ToggleBnbBurnOnSpotTradeAndMarginInterestRequest, ToggleBnbBurnOnSpotTradeAndMarginInterestResponse, TradeFeeRequest, TradeFeeResponse, TradeFeeResponseInner, TravelRuleApi, TravelRuleApiInterface, UserAssetRequest, UserAssetResponse, UserAssetResponseInner, UserUniversalTransferRequest, UserUniversalTransferResponse, VaspListRequest, VaspListResponse, VaspListResponseInner, WithdrawHistoryRequest, WithdrawHistoryResponse, WithdrawHistoryResponseInner, WithdrawHistoryV1Request, WithdrawHistoryV1Response, WithdrawHistoryV2Request, WithdrawHistoryV2Response, WithdrawHistoryV2ResponseInner, WithdrawRequest, WithdrawResponse, WithdrawTravelRuleRequest, WithdrawTravelRuleResponse };
7537
+ export { AccountApi, AccountApiInterface, AccountApiTradingStatusRequest, AccountApiTradingStatusResponse, AccountApiTradingStatusResponseData, AccountApiTradingStatusResponseDataTriggerCondition, AccountInfoRequest, AccountInfoResponse, AccountStatusRequest, AccountStatusResponse, AllCoinsInformationRequest, AllCoinsInformationResponse, AllCoinsInformationResponseInner, AllCoinsInformationResponseInnerNetworkListInner, AssetApi, AssetApiInterface, AssetDetailRequest, AssetDetailResponse, AssetDetailResponseCTR, AssetDetailResponseSKY, AssetDividendRecordRequest, AssetDividendRecordResponse, AssetDividendRecordResponseRowsInner, BrokerWithdrawRequest, BrokerWithdrawResponse, CapitalApi, CapitalApiInterface, CheckQuestionnaireRequirementsRequest, CheckQuestionnaireRequirementsResponse, DailyAccountSnapshotRequest, DailyAccountSnapshotResponse, DailyAccountSnapshotResponseSnapshotVosInner, DailyAccountSnapshotResponseSnapshotVosInnerData, DailyAccountSnapshotResponseSnapshotVosInnerDataAssetsInner, DailyAccountSnapshotResponseSnapshotVosInnerDataBalancesInner, DailyAccountSnapshotResponseSnapshotVosInnerDataPositionInner, DailyAccountSnapshotResponseSnapshotVosInnerDataUserAssetsInner, DepositAddressRequest, DepositAddressResponse, DepositHistoryRequest, DepositHistoryResponse, DepositHistoryResponseInner, DepositHistoryTravelRuleRequest, DepositHistoryTravelRuleResponse, DepositHistoryTravelRuleResponseInner, DepositHistoryV2Request, DepositHistoryV2Response, DepositHistoryV2ResponseInner, DepositHistoryV2ResponseInnerQuestionnaire, DisableFastWithdrawSwitchRequest, DustConvertRequest, DustConvertResponse, DustConvertResponseTransferResultInner, DustConvertibleAssetsRequest, DustConvertibleAssetsResponse, DustConvertibleAssetsResponseDetailsInner, DustTransferRequest, DustTransferResponse, DustTransferResponseTransferResultInner, DustlogRequest, DustlogResponse, DustlogResponseUserAssetDribbletsInner, DustlogResponseUserAssetDribbletsInnerUserAssetDribbletDetailsInner, EnableFastWithdrawSwitchRequest, FetchAddressVerificationListRequest, FetchAddressVerificationListResponse, FetchAddressVerificationListResponseInner, FetchAddressVerificationListResponseInnerAddressQuestionnaire, FetchDepositAddressListWithNetworkRequest, FetchDepositAddressListWithNetworkResponse, FetchDepositAddressListWithNetworkResponseInner, FetchWithdrawAddressListResponse, FetchWithdrawAddressListResponseInner, FetchWithdrawQuotaResponse, FundingWalletRequest, FundingWalletResponse, FundingWalletResponseInner, GetApiKeyPermissionRequest, GetApiKeyPermissionResponse, GetAssetsThatCanBeConvertedIntoBnbRequest, GetAssetsThatCanBeConvertedIntoBnbResponse, GetAssetsThatCanBeConvertedIntoBnbResponseDetailsInner, GetCloudMiningPaymentAndRefundHistoryRequest, GetCloudMiningPaymentAndRefundHistoryResponse, GetCloudMiningPaymentAndRefundHistoryResponseRowsInner, GetCountryListResponse, GetCountryListResponseCountriesInner, GetOpenSymbolListResponse, GetOpenSymbolListResponseInner, GetRegionListRequest, GetRegionListResponse, GetRegionListResponseRegionsInner, GetSpotDelistScheduleResponse, GetSpotDelistScheduleResponseInner, GetSymbolsDelistScheduleForSpotRequest, GetSymbolsDelistScheduleForSpotResponse, GetSymbolsDelistScheduleForSpotResponseInner, OneClickArrivalDepositApplyRequest, OneClickArrivalDepositApplyResponse, OthersApi, OthersApiInterface, QueryUserDelegationHistoryRequest, QueryUserDelegationHistoryResponse, QueryUserDelegationHistoryResponseRowsInner, QueryUserUniversalTransferHistoryRequest, QueryUserUniversalTransferHistoryResponse, QueryUserUniversalTransferHistoryResponseRowsInner, QueryUserWalletBalanceRequest, QueryUserWalletBalanceResponse, QueryUserWalletBalanceResponseInner, RestAPI, SubmitDepositQuestionnaireRequest, SubmitDepositQuestionnaireResponse, SubmitDepositQuestionnaireTravelRuleRequest, SubmitDepositQuestionnaireTravelRuleResponse, SubmitDepositQuestionnaireV2Request, SubmitDepositQuestionnaireV2Response, SystemStatusResponse, ToggleBnbBurnOnSpotTradeAndMarginInterestRequest, ToggleBnbBurnOnSpotTradeAndMarginInterestResponse, TradeFeeRequest, TradeFeeResponse, TradeFeeResponseInner, TravelRuleApi, TravelRuleApiInterface, UserAssetRequest, UserAssetResponse, UserAssetResponseInner, UserUniversalTransferRequest, UserUniversalTransferResponse, VaspListRequest, VaspListResponse, VaspListResponseInner, WithdrawHistoryRequest, WithdrawHistoryResponse, WithdrawHistoryResponseInner, WithdrawHistoryV1Request, WithdrawHistoryV1Response, WithdrawHistoryV2Request, WithdrawHistoryV2Response, WithdrawHistoryV2ResponseInner, WithdrawRequest, WithdrawResponse, WithdrawTravelRuleRequest, WithdrawTravelRuleResponse };
7303
7538
  }
7304
7539
  //#endregion
7305
7540
  //#region src/wallet.d.ts
package/dist/index.d.ts CHANGED
@@ -2431,6 +2431,84 @@ interface GetCloudMiningPaymentAndRefundHistoryResponse {
2431
2431
  rows?: Array<GetCloudMiningPaymentAndRefundHistoryResponseRowsInner>;
2432
2432
  }
2433
2433
  //#endregion
2434
+ //#region src/rest-api/types/get-country-list-response-countries-inner.d.ts
2435
+ /**
2436
+ * Binance Wallet REST API
2437
+ *
2438
+ * OpenAPI Specification for the Binance Wallet REST API
2439
+ *
2440
+ * The version of the OpenAPI document: 1.0.0
2441
+ *
2442
+ *
2443
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2444
+ * https://openapi-generator.tech
2445
+ * Do not edit the class manually.
2446
+ */
2447
+ /**
2448
+ *
2449
+ * @export
2450
+ * @interface GetCountryListResponseCountriesInner
2451
+ */
2452
+ interface GetCountryListResponseCountriesInner {
2453
+ /**
2454
+ *
2455
+ * @type {string}
2456
+ * @memberof GetCountryListResponseCountriesInner
2457
+ */
2458
+ countryCode?: string;
2459
+ /**
2460
+ *
2461
+ * @type {string}
2462
+ * @memberof GetCountryListResponseCountriesInner
2463
+ */
2464
+ countryName?: string;
2465
+ /**
2466
+ *
2467
+ * @type {string}
2468
+ * @memberof GetCountryListResponseCountriesInner
2469
+ */
2470
+ blockType?: string;
2471
+ /**
2472
+ *
2473
+ * @type {boolean}
2474
+ * @memberof GetCountryListResponseCountriesInner
2475
+ */
2476
+ depositAllowed?: boolean;
2477
+ /**
2478
+ *
2479
+ * @type {boolean}
2480
+ * @memberof GetCountryListResponseCountriesInner
2481
+ */
2482
+ withdrawalAllowed?: boolean;
2483
+ /**
2484
+ *
2485
+ * @type {boolean}
2486
+ * @memberof GetCountryListResponseCountriesInner
2487
+ */
2488
+ hasRegionRestrictions?: boolean;
2489
+ }
2490
+ //#endregion
2491
+ //#region src/rest-api/types/get-country-list-response.d.ts
2492
+ /**
2493
+ *
2494
+ * @export
2495
+ * @interface GetCountryListResponse
2496
+ */
2497
+ interface GetCountryListResponse {
2498
+ /**
2499
+ *
2500
+ * @type {Array<GetCountryListResponseCountriesInner>}
2501
+ * @memberof GetCountryListResponse
2502
+ */
2503
+ countries?: Array<GetCountryListResponseCountriesInner>;
2504
+ /**
2505
+ *
2506
+ * @type {number | bigint}
2507
+ * @memberof GetCountryListResponse
2508
+ */
2509
+ lastUpdated?: number | bigint;
2510
+ }
2511
+ //#endregion
2434
2512
  //#region src/rest-api/types/get-open-symbol-list-response-inner.d.ts
2435
2513
  /**
2436
2514
  * Binance Wallet REST API
@@ -2472,6 +2550,78 @@ interface GetOpenSymbolListResponseInner {
2472
2550
  */
2473
2551
  interface GetOpenSymbolListResponse extends Array<GetOpenSymbolListResponseInner> {}
2474
2552
  //#endregion
2553
+ //#region src/rest-api/types/get-region-list-response-regions-inner.d.ts
2554
+ /**
2555
+ * Binance Wallet REST API
2556
+ *
2557
+ * OpenAPI Specification for the Binance Wallet REST API
2558
+ *
2559
+ * The version of the OpenAPI document: 1.0.0
2560
+ *
2561
+ *
2562
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2563
+ * https://openapi-generator.tech
2564
+ * Do not edit the class manually.
2565
+ */
2566
+ /**
2567
+ *
2568
+ * @export
2569
+ * @interface GetRegionListResponseRegionsInner
2570
+ */
2571
+ interface GetRegionListResponseRegionsInner {
2572
+ /**
2573
+ *
2574
+ * @type {string}
2575
+ * @memberof GetRegionListResponseRegionsInner
2576
+ */
2577
+ regionName?: string;
2578
+ /**
2579
+ *
2580
+ * @type {string}
2581
+ * @memberof GetRegionListResponseRegionsInner
2582
+ */
2583
+ blockType?: string;
2584
+ /**
2585
+ *
2586
+ * @type {boolean}
2587
+ * @memberof GetRegionListResponseRegionsInner
2588
+ */
2589
+ depositAllowed?: boolean;
2590
+ /**
2591
+ *
2592
+ * @type {boolean}
2593
+ * @memberof GetRegionListResponseRegionsInner
2594
+ */
2595
+ withdrawalAllowed?: boolean;
2596
+ }
2597
+ //#endregion
2598
+ //#region src/rest-api/types/get-region-list-response.d.ts
2599
+ /**
2600
+ *
2601
+ * @export
2602
+ * @interface GetRegionListResponse
2603
+ */
2604
+ interface GetRegionListResponse {
2605
+ /**
2606
+ *
2607
+ * @type {string}
2608
+ * @memberof GetRegionListResponse
2609
+ */
2610
+ countryCode?: string;
2611
+ /**
2612
+ *
2613
+ * @type {Array<GetRegionListResponseRegionsInner>}
2614
+ * @memberof GetRegionListResponse
2615
+ */
2616
+ regions?: Array<GetRegionListResponseRegionsInner>;
2617
+ /**
2618
+ *
2619
+ * @type {number | bigint}
2620
+ * @memberof GetRegionListResponse
2621
+ */
2622
+ lastUpdated?: number | bigint;
2623
+ }
2624
+ //#endregion
2475
2625
  //#region src/rest-api/types/get-spot-delist-schedule-response-inner.d.ts
2476
2626
  /**
2477
2627
  * Binance Wallet REST API
@@ -5619,6 +5769,29 @@ interface TravelRuleApiInterface {
5619
5769
  * @memberof TravelRuleApiInterface
5620
5770
  */
5621
5771
  fetchAddressVerificationList(requestParameters?: FetchAddressVerificationListRequest): Promise<RestApiResponse<FetchAddressVerificationListResponse>>;
5772
+ /**
5773
+ * Query the active country list for travel rule questionnaires.
5774
+ *
5775
+ * Weight: 1
5776
+ *
5777
+ * @summary Get Country List (USER_DATA)
5778
+ *
5779
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5780
+ * @memberof TravelRuleApiInterface
5781
+ */
5782
+ getCountryList(): Promise<RestApiResponse<GetCountryListResponse>>;
5783
+ /**
5784
+ * Query the active region/city list for a given country.
5785
+ *
5786
+ * Weight: 1
5787
+ *
5788
+ * @summary Get Region List (USER_DATA)
5789
+ * @param {GetRegionListRequest} requestParameters Request parameters.
5790
+ *
5791
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
5792
+ * @memberof TravelRuleApiInterface
5793
+ */
5794
+ getRegionList(requestParameters: GetRegionListRequest): Promise<RestApiResponse<GetRegionListResponse>>;
5622
5795
  /**
5623
5796
  * Submit questionnaire for brokers of local entities that require travel rule.
5624
5797
  * The questionnaire is only applies to transactions from un-hosted wallets or VASPs that are not
@@ -5972,6 +6145,18 @@ interface FetchAddressVerificationListRequest {
5972
6145
  */
5973
6146
  readonly recvWindow?: number | bigint;
5974
6147
  }
6148
+ /**
6149
+ * Request parameters for getRegionList operation in TravelRuleApi.
6150
+ * @interface GetRegionListRequest
6151
+ */
6152
+ interface GetRegionListRequest {
6153
+ /**
6154
+ * ISO 2-digit country code (from `Country List` API).
6155
+ * @type {string}
6156
+ * @memberof TravelRuleApiGetRegionList
6157
+ */
6158
+ readonly countryCode: string;
6159
+ }
5975
6160
  /**
5976
6161
  * Request parameters for submitDepositQuestionnaire operation in TravelRuleApi.
5977
6162
  * @interface SubmitDepositQuestionnaireRequest
@@ -6388,6 +6573,31 @@ declare class TravelRuleApi implements TravelRuleApiInterface {
6388
6573
  * @see {@link https://developers.binance.com/docs/wallet/travel-rule/address-verification-list Binance API Documentation}
6389
6574
  */
6390
6575
  fetchAddressVerificationList(requestParameters?: FetchAddressVerificationListRequest): Promise<RestApiResponse<FetchAddressVerificationListResponse>>;
6576
+ /**
6577
+ * Query the active country list for travel rule questionnaires.
6578
+ *
6579
+ * Weight: 1
6580
+ *
6581
+ * @summary Get Country List (USER_DATA)
6582
+ * @returns {Promise<RestApiResponse<GetCountryListResponse>>}
6583
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
6584
+ * @memberof TravelRuleApi
6585
+ * @see {@link https://developers.binance.com/docs/wallet/travel-rule/country-list Binance API Documentation}
6586
+ */
6587
+ getCountryList(): Promise<RestApiResponse<GetCountryListResponse>>;
6588
+ /**
6589
+ * Query the active region/city list for a given country.
6590
+ *
6591
+ * Weight: 1
6592
+ *
6593
+ * @summary Get Region List (USER_DATA)
6594
+ * @param {GetRegionListRequest} requestParameters Request parameters.
6595
+ * @returns {Promise<RestApiResponse<GetRegionListResponse>>}
6596
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
6597
+ * @memberof TravelRuleApi
6598
+ * @see {@link https://developers.binance.com/docs/wallet/travel-rule/region-list Binance API Documentation}
6599
+ */
6600
+ getRegionList(requestParameters: GetRegionListRequest): Promise<RestApiResponse<GetRegionListResponse>>;
6391
6601
  /**
6392
6602
  * Submit questionnaire for brokers of local entities that require travel rule.
6393
6603
  * The questionnaire is only applies to transactions from un-hosted wallets or VASPs that are not
@@ -7172,6 +7382,31 @@ declare class RestAPI {
7172
7382
  * @see {@link https://developers.binance.com/docs/wallet/travel-rule/address-verification-list Binance API Documentation}
7173
7383
  */
7174
7384
  fetchAddressVerificationList(requestParameters?: FetchAddressVerificationListRequest): Promise<RestApiResponse<FetchAddressVerificationListResponse>>;
7385
+ /**
7386
+ * Query the active country list for travel rule questionnaires.
7387
+ *
7388
+ * Weight: 1
7389
+ *
7390
+ * @summary Get Country List (USER_DATA)
7391
+ *
7392
+ * @returns {Promise<RestApiResponse<GetCountryListResponse>>}
7393
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
7394
+ * @see {@link https://developers.binance.com/docs/wallet/travel-rule/country-list Binance API Documentation}
7395
+ */
7396
+ getCountryList(): Promise<RestApiResponse<GetCountryListResponse>>;
7397
+ /**
7398
+ * Query the active region/city list for a given country.
7399
+ *
7400
+ * Weight: 1
7401
+ *
7402
+ * @summary Get Region List (USER_DATA)
7403
+ * @param {GetRegionListRequest} requestParameters Request parameters.
7404
+ *
7405
+ * @returns {Promise<RestApiResponse<GetRegionListResponse>>}
7406
+ * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
7407
+ * @see {@link https://developers.binance.com/docs/wallet/travel-rule/region-list Binance API Documentation}
7408
+ */
7409
+ getRegionList(requestParameters: GetRegionListRequest): Promise<RestApiResponse<GetRegionListResponse>>;
7175
7410
  /**
7176
7411
  * Submit questionnaire for brokers of local entities that require travel rule.
7177
7412
  * The questionnaire is only applies to transactions from un-hosted wallets or VASPs that are not
@@ -7299,7 +7534,7 @@ declare class RestAPI {
7299
7534
  withdrawTravelRule(requestParameters: WithdrawTravelRuleRequest): Promise<RestApiResponse<WithdrawTravelRuleResponse>>;
7300
7535
  }
7301
7536
  declare namespace index_d_exports {
7302
- export { AccountApi, AccountApiInterface, AccountApiTradingStatusRequest, AccountApiTradingStatusResponse, AccountApiTradingStatusResponseData, AccountApiTradingStatusResponseDataTriggerCondition, AccountInfoRequest, AccountInfoResponse, AccountStatusRequest, AccountStatusResponse, AllCoinsInformationRequest, AllCoinsInformationResponse, AllCoinsInformationResponseInner, AllCoinsInformationResponseInnerNetworkListInner, AssetApi, AssetApiInterface, AssetDetailRequest, AssetDetailResponse, AssetDetailResponseCTR, AssetDetailResponseSKY, AssetDividendRecordRequest, AssetDividendRecordResponse, AssetDividendRecordResponseRowsInner, BrokerWithdrawRequest, BrokerWithdrawResponse, CapitalApi, CapitalApiInterface, CheckQuestionnaireRequirementsRequest, CheckQuestionnaireRequirementsResponse, DailyAccountSnapshotRequest, DailyAccountSnapshotResponse, DailyAccountSnapshotResponseSnapshotVosInner, DailyAccountSnapshotResponseSnapshotVosInnerData, DailyAccountSnapshotResponseSnapshotVosInnerDataAssetsInner, DailyAccountSnapshotResponseSnapshotVosInnerDataBalancesInner, DailyAccountSnapshotResponseSnapshotVosInnerDataPositionInner, DailyAccountSnapshotResponseSnapshotVosInnerDataUserAssetsInner, DepositAddressRequest, DepositAddressResponse, DepositHistoryRequest, DepositHistoryResponse, DepositHistoryResponseInner, DepositHistoryTravelRuleRequest, DepositHistoryTravelRuleResponse, DepositHistoryTravelRuleResponseInner, DepositHistoryV2Request, DepositHistoryV2Response, DepositHistoryV2ResponseInner, DepositHistoryV2ResponseInnerQuestionnaire, DisableFastWithdrawSwitchRequest, DustConvertRequest, DustConvertResponse, DustConvertResponseTransferResultInner, DustConvertibleAssetsRequest, DustConvertibleAssetsResponse, DustConvertibleAssetsResponseDetailsInner, DustTransferRequest, DustTransferResponse, DustTransferResponseTransferResultInner, DustlogRequest, DustlogResponse, DustlogResponseUserAssetDribbletsInner, DustlogResponseUserAssetDribbletsInnerUserAssetDribbletDetailsInner, EnableFastWithdrawSwitchRequest, FetchAddressVerificationListRequest, FetchAddressVerificationListResponse, FetchAddressVerificationListResponseInner, FetchAddressVerificationListResponseInnerAddressQuestionnaire, FetchDepositAddressListWithNetworkRequest, FetchDepositAddressListWithNetworkResponse, FetchDepositAddressListWithNetworkResponseInner, FetchWithdrawAddressListResponse, FetchWithdrawAddressListResponseInner, FetchWithdrawQuotaResponse, FundingWalletRequest, FundingWalletResponse, FundingWalletResponseInner, GetApiKeyPermissionRequest, GetApiKeyPermissionResponse, GetAssetsThatCanBeConvertedIntoBnbRequest, GetAssetsThatCanBeConvertedIntoBnbResponse, GetAssetsThatCanBeConvertedIntoBnbResponseDetailsInner, GetCloudMiningPaymentAndRefundHistoryRequest, GetCloudMiningPaymentAndRefundHistoryResponse, GetCloudMiningPaymentAndRefundHistoryResponseRowsInner, GetOpenSymbolListResponse, GetOpenSymbolListResponseInner, GetSpotDelistScheduleResponse, GetSpotDelistScheduleResponseInner, GetSymbolsDelistScheduleForSpotRequest, GetSymbolsDelistScheduleForSpotResponse, GetSymbolsDelistScheduleForSpotResponseInner, OneClickArrivalDepositApplyRequest, OneClickArrivalDepositApplyResponse, OthersApi, OthersApiInterface, QueryUserDelegationHistoryRequest, QueryUserDelegationHistoryResponse, QueryUserDelegationHistoryResponseRowsInner, QueryUserUniversalTransferHistoryRequest, QueryUserUniversalTransferHistoryResponse, QueryUserUniversalTransferHistoryResponseRowsInner, QueryUserWalletBalanceRequest, QueryUserWalletBalanceResponse, QueryUserWalletBalanceResponseInner, RestAPI, SubmitDepositQuestionnaireRequest, SubmitDepositQuestionnaireResponse, SubmitDepositQuestionnaireTravelRuleRequest, SubmitDepositQuestionnaireTravelRuleResponse, SubmitDepositQuestionnaireV2Request, SubmitDepositQuestionnaireV2Response, SystemStatusResponse, ToggleBnbBurnOnSpotTradeAndMarginInterestRequest, ToggleBnbBurnOnSpotTradeAndMarginInterestResponse, TradeFeeRequest, TradeFeeResponse, TradeFeeResponseInner, TravelRuleApi, TravelRuleApiInterface, UserAssetRequest, UserAssetResponse, UserAssetResponseInner, UserUniversalTransferRequest, UserUniversalTransferResponse, VaspListRequest, VaspListResponse, VaspListResponseInner, WithdrawHistoryRequest, WithdrawHistoryResponse, WithdrawHistoryResponseInner, WithdrawHistoryV1Request, WithdrawHistoryV1Response, WithdrawHistoryV2Request, WithdrawHistoryV2Response, WithdrawHistoryV2ResponseInner, WithdrawRequest, WithdrawResponse, WithdrawTravelRuleRequest, WithdrawTravelRuleResponse };
7537
+ export { AccountApi, AccountApiInterface, AccountApiTradingStatusRequest, AccountApiTradingStatusResponse, AccountApiTradingStatusResponseData, AccountApiTradingStatusResponseDataTriggerCondition, AccountInfoRequest, AccountInfoResponse, AccountStatusRequest, AccountStatusResponse, AllCoinsInformationRequest, AllCoinsInformationResponse, AllCoinsInformationResponseInner, AllCoinsInformationResponseInnerNetworkListInner, AssetApi, AssetApiInterface, AssetDetailRequest, AssetDetailResponse, AssetDetailResponseCTR, AssetDetailResponseSKY, AssetDividendRecordRequest, AssetDividendRecordResponse, AssetDividendRecordResponseRowsInner, BrokerWithdrawRequest, BrokerWithdrawResponse, CapitalApi, CapitalApiInterface, CheckQuestionnaireRequirementsRequest, CheckQuestionnaireRequirementsResponse, DailyAccountSnapshotRequest, DailyAccountSnapshotResponse, DailyAccountSnapshotResponseSnapshotVosInner, DailyAccountSnapshotResponseSnapshotVosInnerData, DailyAccountSnapshotResponseSnapshotVosInnerDataAssetsInner, DailyAccountSnapshotResponseSnapshotVosInnerDataBalancesInner, DailyAccountSnapshotResponseSnapshotVosInnerDataPositionInner, DailyAccountSnapshotResponseSnapshotVosInnerDataUserAssetsInner, DepositAddressRequest, DepositAddressResponse, DepositHistoryRequest, DepositHistoryResponse, DepositHistoryResponseInner, DepositHistoryTravelRuleRequest, DepositHistoryTravelRuleResponse, DepositHistoryTravelRuleResponseInner, DepositHistoryV2Request, DepositHistoryV2Response, DepositHistoryV2ResponseInner, DepositHistoryV2ResponseInnerQuestionnaire, DisableFastWithdrawSwitchRequest, DustConvertRequest, DustConvertResponse, DustConvertResponseTransferResultInner, DustConvertibleAssetsRequest, DustConvertibleAssetsResponse, DustConvertibleAssetsResponseDetailsInner, DustTransferRequest, DustTransferResponse, DustTransferResponseTransferResultInner, DustlogRequest, DustlogResponse, DustlogResponseUserAssetDribbletsInner, DustlogResponseUserAssetDribbletsInnerUserAssetDribbletDetailsInner, EnableFastWithdrawSwitchRequest, FetchAddressVerificationListRequest, FetchAddressVerificationListResponse, FetchAddressVerificationListResponseInner, FetchAddressVerificationListResponseInnerAddressQuestionnaire, FetchDepositAddressListWithNetworkRequest, FetchDepositAddressListWithNetworkResponse, FetchDepositAddressListWithNetworkResponseInner, FetchWithdrawAddressListResponse, FetchWithdrawAddressListResponseInner, FetchWithdrawQuotaResponse, FundingWalletRequest, FundingWalletResponse, FundingWalletResponseInner, GetApiKeyPermissionRequest, GetApiKeyPermissionResponse, GetAssetsThatCanBeConvertedIntoBnbRequest, GetAssetsThatCanBeConvertedIntoBnbResponse, GetAssetsThatCanBeConvertedIntoBnbResponseDetailsInner, GetCloudMiningPaymentAndRefundHistoryRequest, GetCloudMiningPaymentAndRefundHistoryResponse, GetCloudMiningPaymentAndRefundHistoryResponseRowsInner, GetCountryListResponse, GetCountryListResponseCountriesInner, GetOpenSymbolListResponse, GetOpenSymbolListResponseInner, GetRegionListRequest, GetRegionListResponse, GetRegionListResponseRegionsInner, GetSpotDelistScheduleResponse, GetSpotDelistScheduleResponseInner, GetSymbolsDelistScheduleForSpotRequest, GetSymbolsDelistScheduleForSpotResponse, GetSymbolsDelistScheduleForSpotResponseInner, OneClickArrivalDepositApplyRequest, OneClickArrivalDepositApplyResponse, OthersApi, OthersApiInterface, QueryUserDelegationHistoryRequest, QueryUserDelegationHistoryResponse, QueryUserDelegationHistoryResponseRowsInner, QueryUserUniversalTransferHistoryRequest, QueryUserUniversalTransferHistoryResponse, QueryUserUniversalTransferHistoryResponseRowsInner, QueryUserWalletBalanceRequest, QueryUserWalletBalanceResponse, QueryUserWalletBalanceResponseInner, RestAPI, SubmitDepositQuestionnaireRequest, SubmitDepositQuestionnaireResponse, SubmitDepositQuestionnaireTravelRuleRequest, SubmitDepositQuestionnaireTravelRuleResponse, SubmitDepositQuestionnaireV2Request, SubmitDepositQuestionnaireV2Response, SystemStatusResponse, ToggleBnbBurnOnSpotTradeAndMarginInterestRequest, ToggleBnbBurnOnSpotTradeAndMarginInterestResponse, TradeFeeRequest, TradeFeeResponse, TradeFeeResponseInner, TravelRuleApi, TravelRuleApiInterface, UserAssetRequest, UserAssetResponse, UserAssetResponseInner, UserUniversalTransferRequest, UserUniversalTransferResponse, VaspListRequest, VaspListResponse, VaspListResponseInner, WithdrawHistoryRequest, WithdrawHistoryResponse, WithdrawHistoryResponseInner, WithdrawHistoryV1Request, WithdrawHistoryV1Response, WithdrawHistoryV2Request, WithdrawHistoryV2Response, WithdrawHistoryV2ResponseInner, WithdrawRequest, WithdrawResponse, WithdrawTravelRuleRequest, WithdrawTravelRuleResponse };
7303
7538
  }
7304
7539
  //#endregion
7305
7540
  //#region src/wallet.d.ts