wallaby-cash 3.2.0 → 3.3.0

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.
@@ -1756,6 +1756,25 @@ export interface CreateWalletV2RequestDto {
1756
1756
  */
1757
1757
  walletOwnershipType: "SINGLE_OWNER";
1758
1758
  }
1759
+ export interface DetectRestrictionResponseDto {
1760
+ /**
1761
+ * Returns true if the transfer can proceed
1762
+ * @example true
1763
+ */
1764
+ canTransfer: boolean;
1765
+ /**
1766
+ * Restriction message
1767
+ * @minLength 1
1768
+ * @maxLength 256
1769
+ * @pattern ^.*$
1770
+ */
1771
+ message: string;
1772
+ /**
1773
+ * Restriction code
1774
+ * @example "3"
1775
+ */
1776
+ restrictionCode: string;
1777
+ }
1759
1778
  export type DetectTransferRestrictionData = DetectTransferRestrictionResponseDto;
1760
1779
  export interface DetectTransferRestrictionParams {
1761
1780
  /**
@@ -1824,13 +1843,13 @@ export interface DetectTransferRestrictionResponseDto {
1824
1843
  */
1825
1844
  fromAddress: string;
1826
1845
  /**
1827
- * Restriction code message
1846
+ * Restriction code
1828
1847
  * @minLength 1
1829
1848
  * @maxLength 256
1830
1849
  * @pattern ^.*$
1831
1850
  * @example "SUCCESS"
1832
1851
  */
1833
- restrictionCodeMessage: string;
1852
+ restrictionCode: string;
1834
1853
  /**
1835
1854
  * Recipient address
1836
1855
  * @minLength 1
@@ -2203,10 +2222,16 @@ export interface GetActivitieesParams {
2203
2222
  * @format date-time
2204
2223
  */
2205
2224
  fromDate?: string;
2206
- /** Limit per page */
2207
- limit: Object;
2208
- /** Page number */
2209
- page: Object;
2225
+ /**
2226
+ * Limit per page
2227
+ * @default 50
2228
+ */
2229
+ limit: number;
2230
+ /**
2231
+ * Page number
2232
+ * @default 1
2233
+ */
2234
+ page: number;
2210
2235
  /**
2211
2236
  * Search
2212
2237
  * @minLength 3
@@ -2243,10 +2268,16 @@ export interface GetAllChainsParams {
2243
2268
  * @format date-time
2244
2269
  */
2245
2270
  fromDate?: string;
2246
- /** Limit per page */
2247
- limit: Object;
2248
- /** Page number */
2249
- page: Object;
2271
+ /**
2272
+ * Limit per page
2273
+ * @default 50
2274
+ */
2275
+ limit: number;
2276
+ /**
2277
+ * Page number
2278
+ * @default 1
2279
+ */
2280
+ page: number;
2250
2281
  /**
2251
2282
  * Search
2252
2283
  * @minLength 3
@@ -2279,10 +2310,16 @@ export interface GetAllMerchantsParams {
2279
2310
  * @format date-time
2280
2311
  */
2281
2312
  fromDate?: string;
2282
- /** Limit per page */
2283
- limit: Object;
2284
- /** Page number */
2285
- page: Object;
2313
+ /**
2314
+ * Limit per page
2315
+ * @default 50
2316
+ */
2317
+ limit: number;
2318
+ /**
2319
+ * Page number
2320
+ * @default 1
2321
+ */
2322
+ page: number;
2286
2323
  /**
2287
2324
  * Search
2288
2325
  * @minLength 3
@@ -2319,10 +2356,16 @@ export interface GetAllUsersParams {
2319
2356
  * @format date-time
2320
2357
  */
2321
2358
  fromDate?: string;
2322
- /** Limit per page */
2323
- limit: Object;
2324
- /** Page number */
2325
- page: Object;
2359
+ /**
2360
+ * Limit per page
2361
+ * @default 50
2362
+ */
2363
+ limit: number;
2364
+ /**
2365
+ * Page number
2366
+ * @default 1
2367
+ */
2368
+ page: number;
2326
2369
  /**
2327
2370
  * Search
2328
2371
  * @minLength 3
@@ -2367,10 +2410,16 @@ export interface GetAllWalletsParams {
2367
2410
  * @format date-time
2368
2411
  */
2369
2412
  fromDate?: string;
2370
- /** Limit per page */
2371
- limit: Object;
2372
- /** Page number */
2373
- page: Object;
2413
+ /**
2414
+ * Limit per page
2415
+ * @default 50
2416
+ */
2417
+ limit: number;
2418
+ /**
2419
+ * Page number
2420
+ * @default 1
2421
+ */
2422
+ page: number;
2374
2423
  /**
2375
2424
  * Search
2376
2425
  * @minLength 3
@@ -2439,10 +2488,16 @@ export interface GetAssetsByUserIdParams {
2439
2488
  groupBy?: string;
2440
2489
  /** Asset visibility status */
2441
2490
  isVisible?: boolean;
2442
- /** Limit per page */
2443
- limit: Object;
2444
- /** Page number */
2445
- page: Object;
2491
+ /**
2492
+ * Limit per page
2493
+ * @default 50
2494
+ */
2495
+ limit: number;
2496
+ /**
2497
+ * Page number
2498
+ * @default 1
2499
+ */
2500
+ page: number;
2446
2501
  /**
2447
2502
  * Denomination to show asset price in, eg, USD
2448
2503
  * @example "USD will return the asset price in US Dollars"
@@ -2490,10 +2545,16 @@ export interface GetAssetsConfigurationsParams {
2490
2545
  * @format date-time
2491
2546
  */
2492
2547
  fromDate?: string;
2493
- /** Limit per page */
2494
- limit: Object;
2495
- /** Page number */
2496
- page: Object;
2548
+ /**
2549
+ * Limit per page
2550
+ * @default 50
2551
+ */
2552
+ limit: number;
2553
+ /**
2554
+ * Page number
2555
+ * @default 1
2556
+ */
2557
+ page: number;
2497
2558
  /**
2498
2559
  * Search
2499
2560
  * @minLength 3
@@ -2569,10 +2630,16 @@ export interface GetCurrentUserMerchantAssetsParams {
2569
2630
  isDefault?: boolean;
2570
2631
  /** Asset visibility status */
2571
2632
  isVisible?: boolean;
2572
- /** Limit per page */
2573
- limit: Object;
2574
- /** Page number */
2575
- page: Object;
2633
+ /**
2634
+ * Limit per page
2635
+ * @default 50
2636
+ */
2637
+ limit: number;
2638
+ /**
2639
+ * Page number
2640
+ * @default 1
2641
+ */
2642
+ page: number;
2576
2643
  /**
2577
2644
  * Search
2578
2645
  * @minLength 3
@@ -2615,10 +2682,16 @@ export interface GetCurrentUserMerchantAssetsUsersMerchantAssetsParams {
2615
2682
  isDefault?: boolean;
2616
2683
  /** Asset visibility status */
2617
2684
  isVisible?: boolean;
2618
- /** Limit per page */
2619
- limit: Object;
2620
- /** Page number */
2621
- page: Object;
2685
+ /**
2686
+ * Limit per page
2687
+ * @default 50
2688
+ */
2689
+ limit: number;
2690
+ /**
2691
+ * Page number
2692
+ * @default 1
2693
+ */
2694
+ page: number;
2622
2695
  /**
2623
2696
  * Search
2624
2697
  * @minLength 3
@@ -2732,8 +2805,11 @@ export interface GetMerchantAdminsParams {
2732
2805
  * @format date-time
2733
2806
  */
2734
2807
  fromDate?: string;
2735
- /** Limit per page */
2736
- limit: Object;
2808
+ /**
2809
+ * Limit per page
2810
+ * @default 50
2811
+ */
2812
+ limit: number;
2737
2813
  /**
2738
2814
  * @format uuid
2739
2815
  * @minLength 36
@@ -2742,8 +2818,11 @@ export interface GetMerchantAdminsParams {
2742
2818
  * @example "180b0a0f-6935-4047-a32d-b2a4d50acfc9"
2743
2819
  */
2744
2820
  merchantId: string;
2745
- /** Page number */
2746
- page: Object;
2821
+ /**
2822
+ * Page number
2823
+ * @default 1
2824
+ */
2825
+ page: number;
2747
2826
  /**
2748
2827
  * Search
2749
2828
  * @minLength 3
@@ -2779,8 +2858,11 @@ export interface GetMerchantAssetsParams {
2779
2858
  isDefault?: boolean;
2780
2859
  /** Asset visibility status */
2781
2860
  isVisible?: boolean;
2782
- /** Limit per page */
2783
- limit: Object;
2861
+ /**
2862
+ * Limit per page
2863
+ * @default 50
2864
+ */
2865
+ limit: number;
2784
2866
  /**
2785
2867
  * @format uuid
2786
2868
  * @minLength 36
@@ -2789,8 +2871,11 @@ export interface GetMerchantAssetsParams {
2789
2871
  * @example "180b0a0f-6935-4047-a32d-b2a4d50acfc9"
2790
2872
  */
2791
2873
  merchantId: string;
2792
- /** Page number */
2793
- page: Object;
2874
+ /**
2875
+ * Page number
2876
+ * @default 1
2877
+ */
2878
+ page: number;
2794
2879
  /**
2795
2880
  * Search
2796
2881
  * @minLength 3
@@ -2840,8 +2925,11 @@ export interface GetMerchantUsersParams {
2840
2925
  * @format date-time
2841
2926
  */
2842
2927
  fromDate?: string;
2843
- /** Limit per page */
2844
- limit: Object;
2928
+ /**
2929
+ * Limit per page
2930
+ * @default 50
2931
+ */
2932
+ limit: number;
2845
2933
  /**
2846
2934
  * @format uuid
2847
2935
  * @minLength 36
@@ -2850,8 +2938,11 @@ export interface GetMerchantUsersParams {
2850
2938
  * @example "180b0a0f-6935-4047-a32d-b2a4d50acfc9"
2851
2939
  */
2852
2940
  merchantId: string;
2853
- /** Page number */
2854
- page: Object;
2941
+ /**
2942
+ * Page number
2943
+ * @default 1
2944
+ */
2945
+ page: number;
2855
2946
  /**
2856
2947
  * Search
2857
2948
  * @minLength 3
@@ -2889,8 +2980,11 @@ export interface GetMerchantWalletsParams {
2889
2980
  * @format date-time
2890
2981
  */
2891
2982
  fromDate?: string;
2892
- /** Limit per page */
2893
- limit: Object;
2983
+ /**
2984
+ * Limit per page
2985
+ * @default 50
2986
+ */
2987
+ limit: number;
2894
2988
  /**
2895
2989
  * @format uuid
2896
2990
  * @minLength 36
@@ -2899,8 +2993,11 @@ export interface GetMerchantWalletsParams {
2899
2993
  * @example "180b0a0f-6935-4047-a32d-b2a4d50acfc9"
2900
2994
  */
2901
2995
  merchantId: string;
2902
- /** Page number */
2903
- page: Object;
2996
+ /**
2997
+ * Page number
2998
+ * @default 1
2999
+ */
3000
+ page: number;
2904
3001
  /**
2905
3002
  * Search
2906
3003
  * @minLength 3
@@ -2951,10 +3048,16 @@ export interface GetPendingTransactionsParams {
2951
3048
  * @format date-time
2952
3049
  */
2953
3050
  fromDate?: string;
2954
- /** Limit per page */
2955
- limit: Object;
2956
- /** Page number */
2957
- page: Object;
3051
+ /**
3052
+ * Limit per page
3053
+ * @default 50
3054
+ */
3055
+ limit: number;
3056
+ /**
3057
+ * Page number
3058
+ * @default 1
3059
+ */
3060
+ page: number;
2958
3061
  /**
2959
3062
  * Search
2960
3063
  * @minLength 3
@@ -2987,6 +3090,52 @@ export interface GetPendingTransactionsResponseDto {
2987
3090
  */
2988
3091
  transactions: PendingTransactionDto[];
2989
3092
  }
3093
+ export type GetRestrictionData = DetectRestrictionResponseDto;
3094
+ export interface GetRestrictionParams {
3095
+ /**
3096
+ * Transfer amount being sent
3097
+ * @minLength 1
3098
+ * @maxLength 256
3099
+ * @pattern ^-?\d*\.?\d+$
3100
+ * @example "109203.1281"
3101
+ */
3102
+ amount: string;
3103
+ /**
3104
+ * Asset ID inside wallaby system
3105
+ * @format uuid
3106
+ * @minLength 36
3107
+ * @maxLength 36
3108
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
3109
+ * @example "ed378076-80c0-43ed-9914-5988e1abd748"
3110
+ */
3111
+ assetId?: string;
3112
+ /**
3113
+ * Optional blockchain name to check transfer restrictions for, required when using contract address in the request
3114
+ * @example "ETHEREUM"
3115
+ */
3116
+ blockchainName?: string;
3117
+ /**
3118
+ * Optional token contract address on chain. When both contractAddress and blockchainName are supplied, assetId is ignored.
3119
+ * @minLength 1
3120
+ * @maxLength 256
3121
+ * @example "0x28aef3b18daec312860dd030102a427ed43dac71"
3122
+ */
3123
+ contractAddress?: string;
3124
+ /**
3125
+ * Origin address
3126
+ * @minLength 1
3127
+ * @maxLength 256
3128
+ * @example "0x9bf4001d307dfd62b26a2f1307ee0c0307632d59"
3129
+ */
3130
+ fromAddress: string;
3131
+ /**
3132
+ * Recipient address
3133
+ * @minLength 1
3134
+ * @maxLength 256
3135
+ * @example "0xb44e88ff3c67de6e6548a6caf006bf6e1cb84111"
3136
+ */
3137
+ toAddress: string;
3138
+ }
2990
3139
  export type GetSwapByIdData = SwapHistoryItemDto;
2991
3140
  export interface GetSwapByIdParams {
2992
3141
  /**
@@ -3015,10 +3164,16 @@ export interface GetSwapHistoryParams {
3015
3164
  * @format date-time
3016
3165
  */
3017
3166
  fromDate?: string;
3018
- /** Limit per page */
3019
- limit: Object;
3020
- /** Page number */
3021
- page: Object;
3167
+ /**
3168
+ * Limit per page
3169
+ * @default 50
3170
+ */
3171
+ limit: number;
3172
+ /**
3173
+ * Page number
3174
+ * @default 1
3175
+ */
3176
+ page: number;
3022
3177
  /**
3023
3178
  * Search
3024
3179
  * @minLength 3
@@ -3088,10 +3243,16 @@ export interface GetTransactionsParams {
3088
3243
  * @format date-time
3089
3244
  */
3090
3245
  fromDate?: string;
3091
- /** Limit per page */
3092
- limit: Object;
3093
- /** Page number */
3094
- page: Object;
3246
+ /**
3247
+ * Limit per page
3248
+ * @default 50
3249
+ */
3250
+ limit: number;
3251
+ /**
3252
+ * Page number
3253
+ * @default 1
3254
+ */
3255
+ page: number;
3095
3256
  /**
3096
3257
  * Transaction reference
3097
3258
  * @minLength 36
@@ -3225,10 +3386,16 @@ export interface GetUserAssetsByWalletIdParams {
3225
3386
  * @deprecated
3226
3387
  */
3227
3388
  isVisible?: boolean;
3228
- /** Limit per page */
3229
- limit: Object;
3230
- /** Page number */
3231
- page: Object;
3389
+ /**
3390
+ * Limit per page
3391
+ * @default 50
3392
+ */
3393
+ limit: number;
3394
+ /**
3395
+ * Page number
3396
+ * @default 1
3397
+ */
3398
+ page: number;
3232
3399
  /**
3233
3400
  * Denomination to show asset price in, eg, USD
3234
3401
  * @example "USD will return the asset price in US Dollars"
@@ -3294,6 +3461,62 @@ export interface GetWallabyAuthPubKeyDto {
3294
3461
  */
3295
3462
  clientAuthPubKey: string;
3296
3463
  }
3464
+ export type GetWalletAddressesData = GetWalletAddressesResponseDto;
3465
+ export interface GetWalletAddressesParams {
3466
+ /** Filter by blockchain id */
3467
+ chainId?: string;
3468
+ /** Filter by blockchain name */
3469
+ chainName?: "BITCOIN" | "ETHEREUM" | "ALGORAND" | "AVALANCHE" | "POLYGON" | "BASE" | "BSC" | "SUI" | "INJECTIVE" | "SEI" | "APTOS" | "SOLANA" | "POLYMESH" | "HEDERA" | "CANTON";
3470
+ /**
3471
+ * Filter by date range from
3472
+ * @format date-time
3473
+ */
3474
+ fromDate?: string;
3475
+ /**
3476
+ * Limit per page
3477
+ * @default 50
3478
+ */
3479
+ limit: number;
3480
+ /**
3481
+ * Page number
3482
+ * @default 1
3483
+ */
3484
+ page: number;
3485
+ /**
3486
+ * Search
3487
+ * @minLength 3
3488
+ * @maxLength 100
3489
+ * @pattern ^[a-zA-Z0-9_ ]+$
3490
+ */
3491
+ search?: string;
3492
+ /**
3493
+ * Sort by
3494
+ * @default "updatedAt"
3495
+ */
3496
+ sortBy?: "createdAt" | "updatedAt";
3497
+ /**
3498
+ * Sort order
3499
+ * @default "DESC"
3500
+ */
3501
+ sortOrder?: "ASC" | "DESC";
3502
+ /**
3503
+ * Filter by date range from
3504
+ * @format date-time
3505
+ */
3506
+ toDate?: string;
3507
+ /** Filter by address type id */
3508
+ typeId?: number;
3509
+ /** Filter by address type name */
3510
+ typeName?: "BTC:MAINNET:SEGWIT" | "BTC:MAINNET:LEGACY" | "BTC:TESTNET:SEGWIT" | "BTC:TESTNET:LEGACY" | "ETH:ALL:DEFAULT" | "ALGO:ALL:DEFAULT" | "SUI:ALL:DEFAULT" | "INJ:ALL:DEFAULT" | "APT:ALL:DEFAULT" | "SOL:ALL:DEFAULT" | "POLYX:ALL:DEFAULT" | "BSC:ALL:DEFAULT" | "AVAX:ALL:DEFAULT" | "POL:ALL:DEFAULT" | "BASE:ALL:DEFAULT" | "SEI:ALL:DEFAULT" | "HBAR:ALL:DEFAULT" | "CC:ALL:DEFAULT";
3511
+ /** Wallet ID */
3512
+ walletId: string;
3513
+ }
3514
+ export interface GetWalletAddressesResponseDto {
3515
+ /** Typed list of wallet addresses. */
3516
+ addresses: WalletAddressesInfoEntry[];
3517
+ /** Pagination data */
3518
+ pagination: PaginationDto;
3519
+ }
3297
3520
  export interface ImportSeedPhraseV2RequestDto {
3298
3521
  /** The public key of the backup device. If not specified, both shares will be wrapped by the clientAuthPubKey. */
3299
3522
  backupDevicePublicKey: string;
@@ -3408,6 +3631,47 @@ export interface InviteMerchantAdminDto {
3408
3631
  role: string;
3409
3632
  }
3410
3633
  export type InviteMerchantAdminsData = GetMerchantUsersResponseDto;
3634
+ export interface IssueJWTTokenResponseDto {
3635
+ /**
3636
+ * Access token for the user
3637
+ * @minLength 128
3638
+ * @pattern ^[a-zA-Z0-9-_.]+\.[a-zA-Z0-9-_.]+\.[a-zA-Z0-9-_.]+$
3639
+ */
3640
+ accessToken: string;
3641
+ /**
3642
+ * Refresh token for the user
3643
+ * @minLength 96
3644
+ * @pattern ^(0x)?[0-9a-fA-F]+$
3645
+ */
3646
+ refreshToken: string;
3647
+ user: IssueJWTTokenUserDto;
3648
+ }
3649
+ export interface IssueJWTTokenUserDto {
3650
+ /**
3651
+ * User salt
3652
+ * @minLength 128
3653
+ * @maxLength 256
3654
+ * @pattern ^[a-zA-Z0-9]+$
3655
+ */
3656
+ clientSalt: string;
3657
+ /**
3658
+ * External user ID (UUID) provided on sign up
3659
+ * @minLength 36
3660
+ * @maxLength 36
3661
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
3662
+ * @example "6e464058-67c1-4273-a6a4-8aae522e34be"
3663
+ */
3664
+ externalUserId: string;
3665
+ /**
3666
+ * User ID (UUID)
3667
+ * @minLength 36
3668
+ * @maxLength 36
3669
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
3670
+ * @example "5768ad09-665c-475e-8d90-3e4dcbd296e3"
3671
+ */
3672
+ id: string;
3673
+ }
3674
+ export type IssueJwtTokenData = IssueJWTTokenResponseDto;
3411
3675
  export interface KeyShare {
3412
3676
  /** Key creation time */
3413
3677
  createdAt: object;
@@ -3558,7 +3822,6 @@ export interface MintRequestItemDto {
3558
3822
  */
3559
3823
  scheduleId: number;
3560
3824
  }
3561
- export type Object = object;
3562
3825
  export interface PaginationDto {
3563
3826
  currentPage: number;
3564
3827
  nextPage: number;
@@ -5898,6 +6161,24 @@ export declare namespace Auth {
5898
6161
  };
5899
6162
  type ResponseBody = SignInData;
5900
6163
  }
6164
+ /**
6165
+ * No description
6166
+ * @tags Auth
6167
+ * @name IssueJwtToken
6168
+ * @summary Issue a Wallaby JWT token for a user using only x-api-key and x-client-jwt headers. Requires mfaVerified and that the user belongs to the API key merchant.
6169
+ * @request POST:/api/v1/auth/issue-jwt-token
6170
+ * @secure
6171
+ */
6172
+ namespace IssueJwtToken {
6173
+ type RequestParams = {};
6174
+ type RequestQuery = {};
6175
+ type RequestBody = never;
6176
+ type RequestHeaders = {
6177
+ /** A unique identifier for the request, used for tracing and debugging */
6178
+ "x-client-request-id"?: string;
6179
+ };
6180
+ type ResponseBody = IssueJwtTokenData;
6181
+ }
5901
6182
  /**
5902
6183
  * No description
5903
6184
  * @tags Auth
@@ -6006,10 +6287,16 @@ export declare namespace Chains {
6006
6287
  * @format date-time
6007
6288
  */
6008
6289
  fromDate?: string;
6009
- /** Limit per page */
6010
- limit: Object;
6011
- /** Page number */
6012
- page: Object;
6290
+ /**
6291
+ * Limit per page
6292
+ * @default 50
6293
+ */
6294
+ limit: number;
6295
+ /**
6296
+ * Page number
6297
+ * @default 1
6298
+ */
6299
+ page: number;
6013
6300
  /**
6014
6301
  * Search
6015
6302
  * @minLength 3
@@ -6112,10 +6399,16 @@ export declare namespace Assets {
6112
6399
  * @format date-time
6113
6400
  */
6114
6401
  fromDate?: string;
6115
- /** Limit per page */
6116
- limit: Object;
6117
- /** Page number */
6118
- page: Object;
6402
+ /**
6403
+ * Limit per page
6404
+ * @default 50
6405
+ */
6406
+ limit: number;
6407
+ /**
6408
+ * Page number
6409
+ * @default 1
6410
+ */
6411
+ page: number;
6119
6412
  /**
6120
6413
  * Search
6121
6414
  * @minLength 3
@@ -6359,10 +6652,16 @@ export declare namespace Merchants {
6359
6652
  * @format date-time
6360
6653
  */
6361
6654
  fromDate?: string;
6362
- /** Limit per page */
6363
- limit: Object;
6364
- /** Page number */
6365
- page: Object;
6655
+ /**
6656
+ * Limit per page
6657
+ * @default 50
6658
+ */
6659
+ limit: number;
6660
+ /**
6661
+ * Page number
6662
+ * @default 1
6663
+ */
6664
+ page: number;
6366
6665
  /**
6367
6666
  * Search
6368
6667
  * @minLength 3
@@ -6495,10 +6794,16 @@ export declare namespace Merchants {
6495
6794
  isDefault?: boolean;
6496
6795
  /** Asset visibility status */
6497
6796
  isVisible?: boolean;
6498
- /** Limit per page */
6499
- limit: Object;
6500
- /** Page number */
6501
- page: Object;
6797
+ /**
6798
+ * Limit per page
6799
+ * @default 50
6800
+ */
6801
+ limit: number;
6802
+ /**
6803
+ * Page number
6804
+ * @default 1
6805
+ */
6806
+ page: number;
6502
6807
  /**
6503
6808
  * Search
6504
6809
  * @minLength 3
@@ -6561,10 +6866,16 @@ export declare namespace Merchants {
6561
6866
  * @format date-time
6562
6867
  */
6563
6868
  fromDate?: string;
6564
- /** Limit per page */
6565
- limit: Object;
6566
- /** Page number */
6567
- page: Object;
6869
+ /**
6870
+ * Limit per page
6871
+ * @default 50
6872
+ */
6873
+ limit: number;
6874
+ /**
6875
+ * Page number
6876
+ * @default 1
6877
+ */
6878
+ page: number;
6568
6879
  /**
6569
6880
  * Search
6570
6881
  * @minLength 3
@@ -6620,10 +6931,16 @@ export declare namespace Merchants {
6620
6931
  * @format date-time
6621
6932
  */
6622
6933
  fromDate?: string;
6623
- /** Limit per page */
6624
- limit: Object;
6625
- /** Page number */
6626
- page: Object;
6934
+ /**
6935
+ * Limit per page
6936
+ * @default 50
6937
+ */
6938
+ limit: number;
6939
+ /**
6940
+ * Page number
6941
+ * @default 1
6942
+ */
6943
+ page: number;
6627
6944
  /**
6628
6945
  * Search
6629
6946
  * @minLength 3
@@ -6732,10 +7049,16 @@ export declare namespace Merchants {
6732
7049
  * @format date-time
6733
7050
  */
6734
7051
  fromDate?: string;
6735
- /** Limit per page */
6736
- limit: Object;
6737
- /** Page number */
6738
- page: Object;
7052
+ /**
7053
+ * Limit per page
7054
+ * @default 50
7055
+ */
7056
+ limit: number;
7057
+ /**
7058
+ * Page number
7059
+ * @default 1
7060
+ */
7061
+ page: number;
6739
7062
  /**
6740
7063
  * Search
6741
7064
  * @minLength 3
@@ -6910,10 +7233,16 @@ export declare namespace Wallets {
6910
7233
  * @format date-time
6911
7234
  */
6912
7235
  fromDate?: string;
6913
- /** Limit per page */
6914
- limit: Object;
6915
- /** Page number */
6916
- page: Object;
7236
+ /**
7237
+ * Limit per page
7238
+ * @default 50
7239
+ */
7240
+ limit: number;
7241
+ /**
7242
+ * Page number
7243
+ * @default 1
7244
+ */
7245
+ page: number;
6917
7246
  /**
6918
7247
  * Search
6919
7248
  * @minLength 3
@@ -7123,10 +7452,16 @@ export declare namespace Wallets {
7123
7452
  * @deprecated
7124
7453
  */
7125
7454
  isVisible?: boolean;
7126
- /** Limit per page */
7127
- limit: Object;
7128
- /** Page number */
7129
- page: Object;
7455
+ /**
7456
+ * Limit per page
7457
+ * @default 50
7458
+ */
7459
+ limit: number;
7460
+ /**
7461
+ * Page number
7462
+ * @default 1
7463
+ */
7464
+ page: number;
7130
7465
  /**
7131
7466
  * Denomination to show asset price in, eg, USD
7132
7467
  * @example "USD will return the asset price in US Dollars"
@@ -7168,6 +7503,73 @@ export declare namespace Wallets {
7168
7503
  };
7169
7504
  type ResponseBody = GetUserAssetsByWalletIdData;
7170
7505
  }
7506
+ /**
7507
+ * No description
7508
+ * @tags Wallets
7509
+ * @name GetWalletAddresses
7510
+ * @summary Get all assets that exist in a certain wallet, by specifying a wallet ID
7511
+ * @request GET:/api/v1/wallets/{walletId}/addresses
7512
+ * @secure
7513
+ */
7514
+ namespace GetWalletAddresses {
7515
+ type RequestParams = {
7516
+ /** Wallet ID */
7517
+ walletId: string;
7518
+ };
7519
+ type RequestQuery = {
7520
+ /** Filter by blockchain id */
7521
+ chainId?: string;
7522
+ /** Filter by blockchain name */
7523
+ chainName?: "BITCOIN" | "ETHEREUM" | "ALGORAND" | "AVALANCHE" | "POLYGON" | "BASE" | "BSC" | "SUI" | "INJECTIVE" | "SEI" | "APTOS" | "SOLANA" | "POLYMESH" | "HEDERA" | "CANTON";
7524
+ /**
7525
+ * Filter by date range from
7526
+ * @format date-time
7527
+ */
7528
+ fromDate?: string;
7529
+ /**
7530
+ * Limit per page
7531
+ * @default 50
7532
+ */
7533
+ limit: number;
7534
+ /**
7535
+ * Page number
7536
+ * @default 1
7537
+ */
7538
+ page: number;
7539
+ /**
7540
+ * Search
7541
+ * @minLength 3
7542
+ * @maxLength 100
7543
+ * @pattern ^[a-zA-Z0-9_ ]+$
7544
+ */
7545
+ search?: string;
7546
+ /**
7547
+ * Sort by
7548
+ * @default "updatedAt"
7549
+ */
7550
+ sortBy?: "createdAt" | "updatedAt";
7551
+ /**
7552
+ * Sort order
7553
+ * @default "DESC"
7554
+ */
7555
+ sortOrder?: "ASC" | "DESC";
7556
+ /**
7557
+ * Filter by date range from
7558
+ * @format date-time
7559
+ */
7560
+ toDate?: string;
7561
+ /** Filter by address type id */
7562
+ typeId?: number;
7563
+ /** Filter by address type name */
7564
+ typeName?: "BTC:MAINNET:SEGWIT" | "BTC:MAINNET:LEGACY" | "BTC:TESTNET:SEGWIT" | "BTC:TESTNET:LEGACY" | "ETH:ALL:DEFAULT" | "ALGO:ALL:DEFAULT" | "SUI:ALL:DEFAULT" | "INJ:ALL:DEFAULT" | "APT:ALL:DEFAULT" | "SOL:ALL:DEFAULT" | "POLYX:ALL:DEFAULT" | "BSC:ALL:DEFAULT" | "AVAX:ALL:DEFAULT" | "POL:ALL:DEFAULT" | "BASE:ALL:DEFAULT" | "SEI:ALL:DEFAULT" | "HBAR:ALL:DEFAULT" | "CC:ALL:DEFAULT";
7565
+ };
7566
+ type RequestBody = never;
7567
+ type RequestHeaders = {
7568
+ /** A unique identifier for the request, used for tracing and debugging */
7569
+ "x-client-request-id"?: string;
7570
+ };
7571
+ type ResponseBody = GetWalletAddressesData;
7572
+ }
7171
7573
  /**
7172
7574
  * No description
7173
7575
  * @tags Wallets
@@ -7330,10 +7732,16 @@ export declare namespace Wallets {
7330
7732
  * @format date-time
7331
7733
  */
7332
7734
  fromDate?: string;
7333
- /** Limit per page */
7334
- limit: Object;
7335
- /** Page number */
7336
- page: Object;
7735
+ /**
7736
+ * Limit per page
7737
+ * @default 50
7738
+ */
7739
+ limit: number;
7740
+ /**
7741
+ * Page number
7742
+ * @default 1
7743
+ */
7744
+ page: number;
7337
7745
  /**
7338
7746
  * Search
7339
7747
  * @minLength 3
@@ -7458,10 +7866,16 @@ export declare namespace Transactions {
7458
7866
  * @format date-time
7459
7867
  */
7460
7868
  fromDate?: string;
7461
- /** Limit per page */
7462
- limit: Object;
7463
- /** Page number */
7464
- page: Object;
7869
+ /**
7870
+ * Limit per page
7871
+ * @default 50
7872
+ */
7873
+ limit: number;
7874
+ /**
7875
+ * Page number
7876
+ * @default 1
7877
+ */
7878
+ page: number;
7465
7879
  /**
7466
7880
  * Transaction reference
7467
7881
  * @minLength 36
@@ -7539,10 +7953,16 @@ export declare namespace Transactions {
7539
7953
  * @format date-time
7540
7954
  */
7541
7955
  fromDate?: string;
7542
- /** Limit per page */
7543
- limit: Object;
7544
- /** Page number */
7545
- page: Object;
7956
+ /**
7957
+ * Limit per page
7958
+ * @default 50
7959
+ */
7960
+ limit: number;
7961
+ /**
7962
+ * Page number
7963
+ * @default 1
7964
+ */
7965
+ page: number;
7546
7966
  /**
7547
7967
  * Search
7548
7968
  * @minLength 3
@@ -7785,10 +8205,11 @@ export declare namespace Transactions {
7785
8205
  }
7786
8206
  /**
7787
8207
  * No description
7788
- * @tags Transactions, Transactions, ERC1404
8208
+ * @tags Transactions, Transactions
7789
8209
  * @name DetectTransferRestriction
7790
8210
  * @summary Request to detect whether there is a transfer restriction on a particular transaction
7791
8211
  * @request GET:/api/v1/transactions/detect-transfers-restrictions
8212
+ * @deprecated
7792
8213
  * @secure
7793
8214
  */
7794
8215
  namespace DetectTransferRestriction {
@@ -7845,10 +8266,11 @@ export declare namespace Transactions {
7845
8266
  }
7846
8267
  /**
7847
8268
  * No description
7848
- * @tags Transactions, Transactions, ERC1404
8269
+ * @tags Transactions, Transactions
7849
8270
  * @name FetchMessageForTransferRestriction
7850
8271
  * @summary Request restriction message by providing a restriction code
7851
8272
  * @request GET:/api/v1/transactions/transfer-restriction-message
8273
+ * @deprecated
7852
8274
  * @secure
7853
8275
  */
7854
8276
  namespace FetchMessageForTransferRestriction {
@@ -7884,6 +8306,68 @@ export declare namespace Transactions {
7884
8306
  };
7885
8307
  type ResponseBody = FetchMessageForTransferRestrictionData;
7886
8308
  }
8309
+ /**
8310
+ * No description
8311
+ * @tags Transactions, Transactions
8312
+ * @name GetRestriction
8313
+ * @summary Request to detect whether there is a transfer restriction on a particular transaction
8314
+ * @request GET:/api/v1/transactions/restriction
8315
+ * @secure
8316
+ */
8317
+ namespace GetRestriction {
8318
+ type RequestParams = {};
8319
+ type RequestQuery = {
8320
+ /**
8321
+ * Transfer amount being sent
8322
+ * @minLength 1
8323
+ * @maxLength 256
8324
+ * @pattern ^-?\d*\.?\d+$
8325
+ * @example "109203.1281"
8326
+ */
8327
+ amount: string;
8328
+ /**
8329
+ * Asset ID inside wallaby system
8330
+ * @format uuid
8331
+ * @minLength 36
8332
+ * @maxLength 36
8333
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
8334
+ * @example "ed378076-80c0-43ed-9914-5988e1abd748"
8335
+ */
8336
+ assetId?: string;
8337
+ /**
8338
+ * Optional blockchain name to check transfer restrictions for, required when using contract address in the request
8339
+ * @example "ETHEREUM"
8340
+ */
8341
+ blockchainName?: string;
8342
+ /**
8343
+ * Optional token contract address on chain. When both contractAddress and blockchainName are supplied, assetId is ignored.
8344
+ * @minLength 1
8345
+ * @maxLength 256
8346
+ * @example "0x28aef3b18daec312860dd030102a427ed43dac71"
8347
+ */
8348
+ contractAddress?: string;
8349
+ /**
8350
+ * Origin address
8351
+ * @minLength 1
8352
+ * @maxLength 256
8353
+ * @example "0x9bf4001d307dfd62b26a2f1307ee0c0307632d59"
8354
+ */
8355
+ fromAddress: string;
8356
+ /**
8357
+ * Recipient address
8358
+ * @minLength 1
8359
+ * @maxLength 256
8360
+ * @example "0xb44e88ff3c67de6e6548a6caf006bf6e1cb84111"
8361
+ */
8362
+ toAddress: string;
8363
+ };
8364
+ type RequestBody = never;
8365
+ type RequestHeaders = {
8366
+ /** A unique identifier for the request, used for tracing and debugging */
8367
+ "x-client-request-id"?: string;
8368
+ };
8369
+ type ResponseBody = GetRestrictionData;
8370
+ }
7887
8371
  /**
7888
8372
  * No description
7889
8373
  * @tags Transactions
@@ -8245,10 +8729,16 @@ export declare namespace Users {
8245
8729
  * @format date-time
8246
8730
  */
8247
8731
  fromDate?: string;
8248
- /** Limit per page */
8249
- limit: Object;
8250
- /** Page number */
8251
- page: Object;
8732
+ /**
8733
+ * Limit per page
8734
+ * @default 50
8735
+ */
8736
+ limit: number;
8737
+ /**
8738
+ * Page number
8739
+ * @default 1
8740
+ */
8741
+ page: number;
8252
8742
  /**
8253
8743
  * Search
8254
8744
  * @minLength 3
@@ -8375,10 +8865,16 @@ export declare namespace Users {
8375
8865
  isDefault?: boolean;
8376
8866
  /** Asset visibility status */
8377
8867
  isVisible?: boolean;
8378
- /** Limit per page */
8379
- limit: Object;
8380
- /** Page number */
8381
- page: Object;
8868
+ /**
8869
+ * Limit per page
8870
+ * @default 50
8871
+ */
8872
+ limit: number;
8873
+ /**
8874
+ * Page number
8875
+ * @default 1
8876
+ */
8877
+ page: number;
8382
8878
  /**
8383
8879
  * Search
8384
8880
  * @minLength 3
@@ -8437,10 +8933,16 @@ export declare namespace Users {
8437
8933
  isDefault?: boolean;
8438
8934
  /** Asset visibility status */
8439
8935
  isVisible?: boolean;
8440
- /** Limit per page */
8441
- limit: Object;
8442
- /** Page number */
8443
- page: Object;
8936
+ /**
8937
+ * Limit per page
8938
+ * @default 50
8939
+ */
8940
+ limit: number;
8941
+ /**
8942
+ * Page number
8943
+ * @default 1
8944
+ */
8945
+ page: number;
8444
8946
  /**
8445
8947
  * Search
8446
8948
  * @minLength 3
@@ -8505,10 +9007,16 @@ export declare namespace Users {
8505
9007
  groupBy?: string;
8506
9008
  /** Asset visibility status */
8507
9009
  isVisible?: boolean;
8508
- /** Limit per page */
8509
- limit: Object;
8510
- /** Page number */
8511
- page: Object;
9010
+ /**
9011
+ * Limit per page
9012
+ * @default 50
9013
+ */
9014
+ limit: number;
9015
+ /**
9016
+ * Page number
9017
+ * @default 1
9018
+ */
9019
+ page: number;
8512
9020
  /**
8513
9021
  * Denomination to show asset price in, eg, USD
8514
9022
  * @example "USD will return the asset price in US Dollars"
@@ -8962,10 +9470,16 @@ export declare namespace UserActivity {
8962
9470
  * @format date-time
8963
9471
  */
8964
9472
  fromDate?: string;
8965
- /** Limit per page */
8966
- limit: Object;
8967
- /** Page number */
8968
- page: Object;
9473
+ /**
9474
+ * Limit per page
9475
+ * @default 50
9476
+ */
9477
+ limit: number;
9478
+ /**
9479
+ * Page number
9480
+ * @default 1
9481
+ */
9482
+ page: number;
8969
9483
  /**
8970
9484
  * Search
8971
9485
  * @minLength 3
@@ -9140,6 +9654,16 @@ export declare class Api<SecurityDataType extends unknown> {
9140
9654
  * @secure
9141
9655
  */
9142
9656
  signIn: (data: SigninRequestDto, params?: RequestParams) => Promise<AuthResponseDto>;
9657
+ /**
9658
+ * No description
9659
+ *
9660
+ * @tags Auth
9661
+ * @name IssueJwtToken
9662
+ * @summary Issue a Wallaby JWT token for a user using only x-api-key and x-client-jwt headers. Requires mfaVerified and that the user belongs to the API key merchant.
9663
+ * @request POST:/api/v1/auth/issue-jwt-token
9664
+ * @secure
9665
+ */
9666
+ issueJwtToken: (params?: RequestParams) => Promise<IssueJWTTokenResponseDto>;
9143
9667
  /**
9144
9668
  * No description
9145
9669
  *
@@ -9578,6 +10102,16 @@ export declare class Api<SecurityDataType extends unknown> {
9578
10102
  * @secure
9579
10103
  */
9580
10104
  getUserAssetsByWalletId: ({ walletId, ...query }: GetUserAssetsByWalletIdParams, params?: RequestParams) => Promise<GetUserAssetResponseDto>;
10105
+ /**
10106
+ * No description
10107
+ *
10108
+ * @tags Wallets
10109
+ * @name GetWalletAddresses
10110
+ * @summary Get all assets that exist in a certain wallet, by specifying a wallet ID
10111
+ * @request GET:/api/v1/wallets/{walletId}/addresses
10112
+ * @secure
10113
+ */
10114
+ getWalletAddresses: ({ walletId, ...query }: GetWalletAddressesParams, params?: RequestParams) => Promise<GetWalletAddressesResponseDto>;
9581
10115
  /**
9582
10116
  * No description
9583
10117
  *
@@ -9765,23 +10299,35 @@ export declare class Api<SecurityDataType extends unknown> {
9765
10299
  /**
9766
10300
  * No description
9767
10301
  *
9768
- * @tags Transactions, Transactions, ERC1404
10302
+ * @tags Transactions, Transactions
9769
10303
  * @name DetectTransferRestriction
9770
10304
  * @summary Request to detect whether there is a transfer restriction on a particular transaction
9771
10305
  * @request GET:/api/v1/transactions/detect-transfers-restrictions
10306
+ * @deprecated
9772
10307
  * @secure
9773
10308
  */
9774
10309
  detectTransferRestriction: (query: DetectTransferRestrictionParams, params?: RequestParams) => Promise<DetectTransferRestrictionResponseDto>;
9775
10310
  /**
9776
10311
  * No description
9777
10312
  *
9778
- * @tags Transactions, Transactions, ERC1404
10313
+ * @tags Transactions, Transactions
9779
10314
  * @name FetchMessageForTransferRestriction
9780
10315
  * @summary Request restriction message by providing a restriction code
9781
10316
  * @request GET:/api/v1/transactions/transfer-restriction-message
10317
+ * @deprecated
9782
10318
  * @secure
9783
10319
  */
9784
10320
  fetchMessageForTransferRestriction: (query: FetchMessageForTransferRestrictionParams, params?: RequestParams) => Promise<MessageForTransferRestrictionResponseDto>;
10321
+ /**
10322
+ * No description
10323
+ *
10324
+ * @tags Transactions, Transactions
10325
+ * @name GetRestriction
10326
+ * @summary Request to detect whether there is a transfer restriction on a particular transaction
10327
+ * @request GET:/api/v1/transactions/restriction
10328
+ * @secure
10329
+ */
10330
+ getRestriction: (query: GetRestrictionParams, params?: RequestParams) => Promise<DetectRestrictionResponseDto>;
9785
10331
  /**
9786
10332
  * No description
9787
10333
  *