wallaby-cash 3.0.2 → 3.1.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.
@@ -122,10 +122,13 @@ export interface AddMerchantWalletAssetsResponseDto {
122
122
  export type AddNewAssetData = AddMerchantAssetResponseDto;
123
123
  export type AddNewDeviceData = AddNewDeviceResponseDto;
124
124
  export interface AddNewDeviceRequestDto {
125
- /** @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc" */
125
+ /**
126
+ * The public key of the new device to add. The new share will be encrypted to this key.
127
+ * @pattern /^[0-9a-fA-F]{128}$/
128
+ */
126
129
  clientAuthPubKey: string;
127
- /** Backup share encrypted by the Wallaby pub key */
128
- encryptedBackupShare: SymmetricEncrypted | AsymmetricEncryptedDto;
130
+ /** Backup share encrypted with the KEK: symmetric as returned during wallet creation, or Legacy backup share ECIES-encrypted with the legacy wallet auth public key */
131
+ encryptedBackupShare: SymmetricEncryptedDto;
129
132
  /**
130
133
  * The ID of the wallet to add a new device to
131
134
  * @format uuid
@@ -151,7 +154,29 @@ export interface AddNewDeviceResponseDto {
151
154
  export interface AddUserAssetDto {
152
155
  /** Asset Config ID */
153
156
  assetConfigId: string;
157
+ /**
158
+ * Client auth public key associated with the signed message. Required when adding a Canton asset whose party is not yet registered.
159
+ * @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc"
160
+ */
161
+ clientAuthPubKey?: string;
154
162
  config?: AssetConfig;
163
+ /** Seed encrypted asymmetrically by the current user corresponding wallaby auth public key. Used by the enclave to register the Canton party. */
164
+ encryptedSeed?: EncryptedDataInterface;
165
+ /**
166
+ * Array of encrypted client shares which will be utilized to reconstruct the seed used by the enclave to register the Canton party.
167
+ * @maxItems 100
168
+ */
169
+ encryptedShares?: EncryptedDataInterface[];
170
+ /**
171
+ * Signed message retrieved from the backend. Required when adding a Canton asset whose party is not yet registered.
172
+ * @example "717ea458b62a430cb37ced7c22ebec97"
173
+ */
174
+ message?: string;
175
+ /**
176
+ * Signature generated after signing the provided message field. Required when adding a Canton asset whose party is not yet registered.
177
+ * @example "0xb44e88ff3c67de6e6548a6caf006bf6e1cb841119d0b9ea1b7e9b2d36a5e0ed42fd9f5e543243d1d73dc4b7800cc2026f74961f4edc769699678a316abb34e661c"
178
+ */
179
+ signature?: string;
155
180
  /** User ID */
156
181
  userId: string;
157
182
  /** User Wallet ID */
@@ -175,11 +200,8 @@ export interface AdminBurnRequestDto {
175
200
  burns: BurnRequestItemDto[];
176
201
  /** @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc" */
177
202
  clientAuthPubKey: string;
178
- /**
179
- * Seed encrypted asymmetrically by current user corresponding wallaby auth public key, to be decrypted inside the secure code execution environment
180
- * @example "{"iv":"b7b643ebccf35c262aa2d5c2729c5f3d","ephemPublicKey":"040cff71ed16f1105c45c2214c9e72d3eabde48efe3759c6f150352b19aa8054c302dc1fd8b4f3927bd7d74ae0186854b3a13de7673be4f8424a6ba3702c239729","ciphertext":"736bc1881a02fa08df4a3f1e35d426660e3c35471facba2866e960f8a19b783bac30d037b07dc9e6406e258d09a4a7e4a7cf58d20cf7b8b7201db0f80849a48d20389039e3fc196f42796fe6d501f47afb030f9946ecbc148d8da1e46c3793a4","mac":"b6cbbdbbc3a311d919340fc3ec9ee1911d9ead6d989efa73e0ac3303c51a353e"}"
181
- */
182
- encryptedSeed: EncryptedDataInterface;
203
+ /** Seed encrypted symmetrically by the enclave master key */
204
+ encryptedSeed: SymmetricEncryptedDto;
183
205
  /**
184
206
  * Message retrieved from the backend
185
207
  * @example "717ea458b62a430cb37ced7c22ebec97"
@@ -190,6 +212,11 @@ export interface AdminBurnRequestDto {
190
212
  * @example "0xb44e88ff3c67de6e6548a6caf006bf6e1cb841119d0b9ea1b7e9b2d36a5e0ed42fd9f5e543243d1d73dc4b7800cc2026f74961f4edc769699678a316abb34e661c"
191
213
  */
192
214
  signature: string;
215
+ /**
216
+ * Wallet ID
217
+ * @example "123e4567-e89b-12d3-a456-426614174000"
218
+ */
219
+ walletId: string;
193
220
  }
194
221
  export interface AdminForceClaimRequestDto {
195
222
  /**
@@ -212,11 +239,8 @@ export interface AdminForceClaimRequestDto {
212
239
  blockchainName: "BITCOIN" | "ETHEREUM" | "ALGORAND" | "AVALANCHE" | "POLYGON" | "BASE" | "BSC" | "SUI" | "INJECTIVE" | "SEI" | "APTOS" | "SOLANA" | "POLYMESH" | "HEDERA" | "CANTON";
213
240
  /** @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc" */
214
241
  clientAuthPubKey: string;
215
- /**
216
- * Seed encrypted asymmetrically by current user corresponding wallaby auth public key, to be decrypted inside the secure code execution environment
217
- * @example "{"iv":"b7b643ebccf35c262aa2d5c2729c5f3d","ephemPublicKey":"040cff71ed16f1105c45c2214c9e72d3eabde48efe3759c6f150352b19aa8054c302dc1fd8b4f3927bd7d74ae0186854b3a13de7673be4f8424a6ba3702c239729","ciphertext":"736bc1881a02fa08df4a3f1e35d426660e3c35471facba2866e960f8a19b783bac30d037b07dc9e6406e258d09a4a7e4a7cf58d20cf7b8b7201db0f80849a48d20389039e3fc196f42796fe6d501f47afb030f9946ecbc148d8da1e46c3793a4","mac":"b6cbbdbbc3a311d919340fc3ec9ee1911d9ead6d989efa73e0ac3303c51a353e"}"
218
- */
219
- encryptedSeed: EncryptedDataInterface;
242
+ /** Seed encrypted symmetrically by the enclave master key */
243
+ encryptedSeed: SymmetricEncryptedDto;
220
244
  /**
221
245
  * Message retrieved from the backend
222
246
  * @example "717ea458b62a430cb37ced7c22ebec97"
@@ -232,6 +256,11 @@ export interface AdminForceClaimRequestDto {
232
256
  * @example "0xFf07a12eE165F0fAC3048ADb409ab314fCFb142C"
233
257
  */
234
258
  wallet: string;
259
+ /**
260
+ * Wallet ID
261
+ * @example "123e4567-e89b-12d3-a456-426614174000"
262
+ */
263
+ walletId: string;
235
264
  }
236
265
  export interface AdminMintRequestDto {
237
266
  /**
@@ -252,11 +281,8 @@ export interface AdminMintRequestDto {
252
281
  blockchainName: string;
253
282
  /** @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc" */
254
283
  clientAuthPubKey: string;
255
- /**
256
- * Seed encrypted asymmetrically by current user corresponding wallaby auth public key, to be decrypted inside the secure code execution environment
257
- * @example "{"iv":"b7b643ebccf35c262aa2d5c2729c5f3d","ephemPublicKey":"040cff71ed16f1105c45c2214c9e72d3eabde48efe3759c6f150352b19aa8054c302dc1fd8b4f3927bd7d74ae0186854b3a13de7673be4f8424a6ba3702c239729","ciphertext":"736bc1881a02fa08df4a3f1e35d426660e3c35471facba2866e960f8a19b783bac30d037b07dc9e6406e258d09a4a7e4a7cf58d20cf7b8b7201db0f80849a48d20389039e3fc196f42796fe6d501f47afb030f9946ecbc148d8da1e46c3793a4","mac":"b6cbbdbbc3a311d919340fc3ec9ee1911d9ead6d989efa73e0ac3303c51a353e"}"
258
- */
259
- encryptedSeed: EncryptedDataInterface;
284
+ /** Seed encrypted symmetrically by the KEK */
285
+ encryptedSeed: SymmetricEncryptedDto;
260
286
  /**
261
287
  * Message retrieved from the backend
262
288
  * @example "717ea458b62a430cb37ced7c22ebec97"
@@ -272,6 +298,11 @@ export interface AdminMintRequestDto {
272
298
  * @example "0xb44e88ff3c67de6e6548a6caf006bf6e1cb841119d0b9ea1b7e9b2d36a5e0ed42fd9f5e543243d1d73dc4b7800cc2026f74961f4edc769699678a316abb34e661c"
273
299
  */
274
300
  signature: string;
301
+ /**
302
+ * Wallet ID
303
+ * @example "123e4567-e89b-12d3-a456-426614174000"
304
+ */
305
+ walletId: string;
275
306
  }
276
307
  export interface AdminPurchaseRequestDto {
277
308
  /**
@@ -291,11 +322,8 @@ export interface AdminPurchaseRequestDto {
291
322
  blockchainName: "BITCOIN" | "ETHEREUM" | "ALGORAND" | "AVALANCHE" | "POLYGON" | "BASE" | "BSC" | "SUI" | "INJECTIVE" | "SEI" | "APTOS" | "SOLANA" | "POLYMESH" | "HEDERA" | "CANTON";
292
323
  /** @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc" */
293
324
  clientAuthPubKey: string;
294
- /**
295
- * Seed encrypted asymmetrically by current user corresponding wallaby auth public key, to be decrypted inside the secure code execution environment
296
- * @example "{"iv":"b7b643ebccf35c262aa2d5c2729c5f3d","ephemPublicKey":"040cff71ed16f1105c45c2214c9e72d3eabde48efe3759c6f150352b19aa8054c302dc1fd8b4f3927bd7d74ae0186854b3a13de7673be4f8424a6ba3702c239729","ciphertext":"736bc1881a02fa08df4a3f1e35d426660e3c35471facba2866e960f8a19b783bac30d037b07dc9e6406e258d09a4a7e4a7cf58d20cf7b8b7201db0f80849a48d20389039e3fc196f42796fe6d501f47afb030f9946ecbc148d8da1e46c3793a4","mac":"b6cbbdbbc3a311d919340fc3ec9ee1911d9ead6d989efa73e0ac3303c51a353e"}"
297
- */
298
- encryptedSeed: EncryptedDataInterface;
325
+ /** Seed encrypted symmetrically by the enclave master key */
326
+ encryptedSeed: SymmetricEncryptedDto;
299
327
  /**
300
328
  * Message retrieved from the backend
301
329
  * @example "717ea458b62a430cb37ced7c22ebec97"
@@ -336,6 +364,11 @@ export interface AdminPurchaseRequestDto {
336
364
  * @example "20"
337
365
  */
338
366
  totalAmount: string;
367
+ /**
368
+ * Wallet ID
369
+ * @example "123e4567-e89b-12d3-a456-426614174000"
370
+ */
371
+ walletId: string;
339
372
  }
340
373
  export interface AdminPurchaseWithInterestRequestDto {
341
374
  /**
@@ -355,11 +388,8 @@ export interface AdminPurchaseWithInterestRequestDto {
355
388
  blockchainName: "BITCOIN" | "ETHEREUM" | "ALGORAND" | "AVALANCHE" | "POLYGON" | "BASE" | "BSC" | "SUI" | "INJECTIVE" | "SEI" | "APTOS" | "SOLANA" | "POLYMESH" | "HEDERA" | "CANTON";
356
389
  /** @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc" */
357
390
  clientAuthPubKey: string;
358
- /**
359
- * Seed encrypted asymmetrically by current user corresponding wallaby auth public key, to be decrypted inside the secure code execution environment
360
- * @example "{"iv":"b7b643ebccf35c262aa2d5c2729c5f3d","ephemPublicKey":"040cff71ed16f1105c45c2214c9e72d3eabde48efe3759c6f150352b19aa8054c302dc1fd8b4f3927bd7d74ae0186854b3a13de7673be4f8424a6ba3702c239729","ciphertext":"736bc1881a02fa08df4a3f1e35d426660e3c35471facba2866e960f8a19b783bac30d037b07dc9e6406e258d09a4a7e4a7cf58d20cf7b8b7201db0f80849a48d20389039e3fc196f42796fe6d501f47afb030f9946ecbc148d8da1e46c3793a4","mac":"b6cbbdbbc3a311d919340fc3ec9ee1911d9ead6d989efa73e0ac3303c51a353e"}"
361
- */
362
- encryptedSeed: EncryptedDataInterface;
391
+ /** Seed encrypted symmetrically by the enclave master key */
392
+ encryptedSeed: SymmetricEncryptedDto;
363
393
  /**
364
394
  * Message retrieved from the backend
365
395
  * @example "717ea458b62a430cb37ced7c22ebec97"
@@ -405,6 +435,11 @@ export interface AdminPurchaseWithInterestRequestDto {
405
435
  * @example "20"
406
436
  */
407
437
  totalAmount: string;
438
+ /**
439
+ * Wallet ID
440
+ * @example "123e4567-e89b-12d3-a456-426614174000"
441
+ */
442
+ walletId: string;
408
443
  }
409
444
  export interface AdminSetIdentityRequestDto {
410
445
  /**
@@ -429,11 +464,8 @@ export interface AdminSetIdentityRequestDto {
429
464
  blockchainName: "BITCOIN" | "ETHEREUM" | "ALGORAND" | "AVALANCHE" | "POLYGON" | "BASE" | "BSC" | "SUI" | "INJECTIVE" | "SEI" | "APTOS" | "SOLANA" | "POLYMESH" | "HEDERA" | "CANTON";
430
465
  /** @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc" */
431
466
  clientAuthPubKey: string;
432
- /**
433
- * Seed encrypted asymmetrically by current user corresponding wallaby auth public key, to be decrypted inside the secure code execution environment
434
- * @example "{"iv":"b7b643ebccf35c262aa2d5c2729c5f3d","ephemPublicKey":"040cff71ed16f1105c45c2214c9e72d3eabde48efe3759c6f150352b19aa8054c302dc1fd8b4f3927bd7d74ae0186854b3a13de7673be4f8424a6ba3702c239729","ciphertext":"736bc1881a02fa08df4a3f1e35d426660e3c35471facba2866e960f8a19b783bac30d037b07dc9e6406e258d09a4a7e4a7cf58d20cf7b8b7201db0f80849a48d20389039e3fc196f42796fe6d501f47afb030f9946ecbc148d8da1e46c3793a4","mac":"b6cbbdbbc3a311d919340fc3ec9ee1911d9ead6d989efa73e0ac3303c51a353e"}"
435
- */
436
- encryptedSeed: EncryptedDataInterface;
467
+ /** Seed encrypted symmetrically by the enclave master key */
468
+ encryptedSeed: SymmetricEncryptedDto;
437
469
  /**
438
470
  * When the last accreditation change happened, as a unix timestamp
439
471
  * @example 1700000000
@@ -464,12 +496,21 @@ export interface AdminSetIdentityRequestDto {
464
496
  * @example "0xb44e88ff3c67de6e6548a6caf006bf6e1cb841119d0b9ea1b7e9b2d36a5e0ed42fd9f5e543243d1d73dc4b7800cc2026f74961f4edc769699678a316abb34e661c"
465
497
  */
466
498
  signature: string;
499
+ /**
500
+ * Wallet ID
501
+ * @example "123e4567-e89b-12d3-a456-426614174000"
502
+ */
503
+ walletId: string;
467
504
  }
468
505
  export interface AdminTransaction {
469
506
  /** The message returned from the Relayer API */
470
507
  message: string;
508
+ /** The reason returned from the Relayer API (SOL format) */
509
+ reason: string;
471
510
  /** The signature of the request sent to the Relayer API */
472
511
  reqSignature: string;
512
+ /** The request ID returned from the Relayer API (SOL format) */
513
+ requestId: string;
473
514
  /** Flag denoting if the signature was used */
474
515
  signatureUsed: boolean;
475
516
  /** The logs of the transaction returned from the Relayer API */
@@ -555,7 +596,7 @@ export interface AllowanceTransactionRequestDto {
555
596
  * The asset contract address
556
597
  * @minLength 1
557
598
  * @maxLength 256
558
- * @pattern ^(0x)?[0-9a-fA-Z]+$
599
+ * @pattern ^(0x)?[0-9a-fA-F]+$
559
600
  * @example "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
560
601
  */
561
602
  contractAddress?: string;
@@ -586,7 +627,7 @@ export interface AllowanceTransactionRequestDto {
586
627
  * The owner's address
587
628
  * @minLength 1
588
629
  * @maxLength 256
589
- * @pattern ^(0x)?[0-9a-fA-Z]+$
630
+ * @pattern ^(0x)?[0-9a-fA-F]+$
590
631
  * @example "0x44Fa139F39D97b000cfAB1266ce8154782Bcef9D"
591
632
  */
592
633
  ownerAddress: string;
@@ -607,10 +648,18 @@ export interface AllowanceTransactionRequestDto {
607
648
  * The spender's address
608
649
  * @minLength 1
609
650
  * @maxLength 256
610
- * @pattern ^(0x)?[0-9a-fA-Z]+$
651
+ * @pattern ^(0x)?[0-9a-fA-F]+$
611
652
  * @example "0x44Fa139F39D97b000cfAB1266ce8154782Bcef9D"
612
653
  */
613
654
  spenderAddress: string;
655
+ /**
656
+ * Wallet ID
657
+ * @minLength 36
658
+ * @maxLength 36
659
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
660
+ * @example "a4dedb83-4d59-41ca-84b5-4b24a98878d8"
661
+ */
662
+ walletId: string;
614
663
  }
615
664
  export interface AllowanceTransactionResponseDto {
616
665
  /** The transaction's details */
@@ -663,7 +712,7 @@ export interface AppOptInRequestDto {
663
712
  * The address of the account that wants to opt-in
664
713
  * @minLength 1
665
714
  * @maxLength 256
666
- * @pattern ^(0x)?[0-9a-fA-Z]+$
715
+ * @pattern ^(0x)?[0-9a-fA-F]+$
667
716
  * @example "GR45UFDRAHU6AZ7FPWNUS52BN7ETV2WBR2CXCY44AIRMUCSIVN7MLYOWBM"
668
717
  */
669
718
  originAddress: string;
@@ -680,6 +729,14 @@ export interface AppOptInRequestDto {
680
729
  * @example "0xb44e88ff3c67de6e6548a6caf006bf6e1cb841119d0b9ea1b7e9b2d36a5e0ed42fd9f5e543243d1d73dc4b7800cc2026f74961f4edc769699678a316abb34e661c"
681
730
  */
682
731
  signature: string;
732
+ /**
733
+ * Wallet ID
734
+ * @minLength 36
735
+ * @maxLength 36
736
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
737
+ * @example "a4dedb83-4d59-41ca-84b5-4b24a98878d8"
738
+ */
739
+ walletId: string;
683
740
  }
684
741
  export type AppOptInTransactionData = TransactionResponseDto;
685
742
  export type ArchiveAssetData = VerifyAssetConfigResponseDto;
@@ -726,10 +783,6 @@ export interface AssetConfig {
726
783
  * @example "b1d4b3b0-1b1b-4b3b-8b1b-1b1b4b3b8b1b"
727
784
  */
728
785
  merchantId?: string;
729
- /** The number of signer required to broadcast the transaction */
730
- multisigSignerThreshold?: number;
731
- /** Multisig version */
732
- multisigVersion?: number;
733
786
  /** @example "Algorand" */
734
787
  name: string;
735
788
  ownerAddresses?: string[];
@@ -747,7 +800,7 @@ export interface AssetConfig {
747
800
  /** Distributions associated with this token (for Upside v5 RestrictedLockupTokens) */
748
801
  tokenDistributions: TokenDistribution[];
749
802
  /**
750
- * Optional value only used when dealing with non native assets (aka tokens), it can be ERC_20, BEP_20, ALGO_STANDARD, ALGO_APP. If native asset, keep the field empty
803
+ * Optional value only used when dealing with non native assets (aka tokens), it can be ERC_20, BEP_20, ALGO_STANDARD, ALGO_APP. Use null for native assets (coins).
751
804
  * @example "ERC_20"
752
805
  */
753
806
  tokenStandard: "ERC_20" | "ERC_1404" | "BEP_20" | "ARC_20" | "ARC_1404" | "MRC_20" | "BRC_20" | "ALGO_STANDARD" | "ALGO_APP" | "SUI_COIN" | "SUI_MOVE_COIN" | "SUI_SECURITY_TOKEN" | "TOKEN_FACTORY" | "SEI_ERC_20" | "APT_FUNGIBLE_ASSET" | "SPL_TOKEN" | "SPL_TOKEN_2022" | "POLYMESH_ASSET" | "HBAR_ERC_20";
@@ -785,7 +838,7 @@ export interface AssetOptInRequestDto {
785
838
  * The address of the account that wants to opt-in
786
839
  * @minLength 1
787
840
  * @maxLength 256
788
- * @pattern ^(0x)?[0-9a-fA-Z]+$
841
+ * @pattern ^(0x)?[0-9a-fA-F]+$
789
842
  * @example "GR45UFDRAHU6AZ7FPWNUS52BN7ETV2WBR2CXCY44AIRMUCSIVN7MLYOWBM"
790
843
  */
791
844
  originAddress: string;
@@ -802,6 +855,14 @@ export interface AssetOptInRequestDto {
802
855
  * @example "0xb44e88ff3c67de6e6548a6caf006bf6e1cb841119d0b9ea1b7e9b2d36a5e0ed42fd9f5e543243d1d73dc4b7800cc2026f74961f4edc769699678a316abb34e661c"
803
856
  */
804
857
  signature: string;
858
+ /**
859
+ * Wallet ID
860
+ * @minLength 36
861
+ * @maxLength 36
862
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
863
+ * @example "a4dedb83-4d59-41ca-84b5-4b24a98878d8"
864
+ */
865
+ walletId: string;
805
866
  }
806
867
  export type AssetOptInTransactionData = TransactionResponseDto;
807
868
  export interface AssetPriceData {
@@ -863,7 +924,7 @@ export interface AssetTokenInfoResponseDto {
863
924
  /**
864
925
  * token contract address or identifier on chain
865
926
  * @maxLength 256
866
- * @pattern ^(0x)?[0-9a-fA-Z]+$
927
+ * @pattern ^(0x)?[0-9a-fA-F]+$
867
928
  * @example "0x28aef3b18daec312860dd030102a427ed43dac71"
868
929
  */
869
930
  tokenContractAddress: string;
@@ -880,7 +941,7 @@ export interface AuthChangePublicKeyDto {
880
941
  * New client auth public key to be set
881
942
  * @minLength 128
882
943
  * @maxLength 256
883
- * @pattern ^(0x)?[0-9a-fA-Z]+$
944
+ * @pattern ^(0x)?[0-9a-fA-F]+$
884
945
  */
885
946
  newClientAuthPubKey: string;
886
947
  /**
@@ -913,23 +974,33 @@ export interface AuthLogoutResponseDto {
913
974
  */
914
975
  message: string;
915
976
  }
977
+ export interface AuthRefreshAccessTokenRequestDto {
978
+ /** Refresh token for the user */
979
+ refreshToken: string;
980
+ }
916
981
  export interface AuthRefreshAccessTokenResponseDto {
917
982
  /**
918
983
  * New access token for the user
919
984
  * @minLength 128
920
- * @maxLength 256
921
985
  * @pattern ^[a-zA-Z0-9-_.]+\.[a-zA-Z0-9-_.]+\.[a-zA-Z0-9-_.]+$
922
986
  */
923
987
  accessToken: string;
988
+ /** New refresh token for the user */
989
+ refreshToken: string;
924
990
  }
925
991
  export interface AuthResponseDto {
926
992
  /**
927
993
  * Access token for the user
928
994
  * @minLength 128
929
- * @maxLength 256
930
995
  * @pattern ^[a-zA-Z0-9-_.]+\.[a-zA-Z0-9-_.]+\.[a-zA-Z0-9-_.]+$
931
996
  */
932
997
  accessToken: string;
998
+ /**
999
+ * Refresh token for the user
1000
+ * @minLength 96
1001
+ * @pattern ^(0x)?[0-9a-fA-F]+$
1002
+ */
1003
+ refreshToken?: string;
933
1004
  user: AuthUserResponseDto;
934
1005
  }
935
1006
  export interface AuthSignatureMessageRequestDto {
@@ -937,11 +1008,19 @@ export interface AuthSignatureMessageRequestDto {
937
1008
  * The client authentication public key that is associated with the device
938
1009
  * @minLength 128
939
1010
  * @maxLength 256
940
- * @pattern ^(0x)?[0-9a-fA-Z]+$
1011
+ * @pattern ^(0x)?[0-9a-fA-F]+$
941
1012
  */
942
1013
  clientAuthPubKey: string;
943
1014
  /** The passkey challenge type, i.e. "webauthn.create" or "webauthn.get" */
944
1015
  passkeyChallengeType: "webauthn.create" | "webauthn.get";
1016
+ /**
1017
+ * The id of the wallet the encrypted shares belong to
1018
+ * @minLength 36
1019
+ * @maxLength 36
1020
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
1021
+ * @example "a4dedb83-4d59-41ca-84b5-4b24a98878d8"
1022
+ */
1023
+ walletId?: string;
945
1024
  }
946
1025
  export interface AuthSignatureMessageResponseDto {
947
1026
  /** Passkey public key authentication options */
@@ -965,13 +1044,21 @@ export interface AuthSignatureMessageResponseDto {
965
1044
  message: string;
966
1045
  /** Passkey public key registration options */
967
1046
  registrationOptions: object;
1047
+ /**
1048
+ * Wallaby Auth Public Key
1049
+ * @minLength 128
1050
+ * @maxLength 256
1051
+ * @pattern ^(0x)?[0-9a-fA-F]+$
1052
+ * @example "4ecb720b1392468c75803d6252ac987c113206955070b96df1208c1c480338168e1407cec4b5af2f91d12af9b725cbd85af994b29c6364971a7ef8d955be83dc"
1053
+ */
1054
+ wallabyAuthPubKey: string;
968
1055
  }
969
1056
  export interface AuthUserResponseDto {
970
1057
  /**
971
1058
  * Auth Public key
972
1059
  * @minLength 128
973
1060
  * @maxLength 256
974
- * @pattern ^(0x)?[0-9a-fA-Z]+$
1061
+ * @pattern ^(0x)?[0-9a-fA-F]+$
975
1062
  * @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc"
976
1063
  */
977
1064
  clientAuthPubKey: string;
@@ -1012,7 +1099,7 @@ export interface AuthUserResponseDto {
1012
1099
  * Wallaby Auth Public Key
1013
1100
  * @minLength 128
1014
1101
  * @maxLength 256
1015
- * @pattern ^(0x)?[0-9a-fA-Z]+$
1102
+ * @pattern ^(0x)?[0-9a-fA-F]+$
1016
1103
  * @example "4ecb720b1392468c75803d6252ac987c113206955070b96df1208c1c480338168e1407cec4b5af2f91d12af9b725cbd85af994b29c6364971a7ef8d955be83dc"
1017
1104
  */
1018
1105
  wallabyAuthPubKey: string;
@@ -1029,7 +1116,7 @@ export interface BalanceQueryDto {
1029
1116
  /**
1030
1117
  * Asset valid address
1031
1118
  * @maxLength 256
1032
- * @pattern ^(0x)?[0-9a-fA-Z]+$
1119
+ * @pattern ^(0x)?[0-9a-fA-F]+$
1033
1120
  * @example "0x9bf4001d307dfd62b26a2f1307ee0c0307632d59"
1034
1121
  */
1035
1122
  address: string;
@@ -1066,7 +1153,7 @@ export interface BalanceResponseDto {
1066
1153
  /**
1067
1154
  * Asset valid address
1068
1155
  * @maxLength 256
1069
- * @pattern ^(0x)?[0-9a-fA-Z]+$
1156
+ * @pattern ^(0x)?[0-9a-fA-F]+$
1070
1157
  * @example "0x9bf4001d307dfd62b26a2f1307ee0c0307632d59"
1071
1158
  */
1072
1159
  address: string;
@@ -1240,6 +1327,11 @@ export interface Chain {
1240
1327
  name: "BITCOIN" | "ETHEREUM" | "ALGORAND" | "AVALANCHE" | "POLYGON" | "BASE" | "BSC" | "SUI" | "INJECTIVE" | "SEI" | "APTOS" | "SOLANA" | "POLYMESH" | "HEDERA" | "CANTON";
1241
1328
  /** Search */
1242
1329
  search: string;
1330
+ /**
1331
+ * Signature scheme for key derivation (secp256k1, ed25519, sr25519)
1332
+ * @example "secp256k1"
1333
+ */
1334
+ signatureScheme: "secp256k1" | "ed25519" | "sr25519";
1243
1335
  /**
1244
1336
  * Status
1245
1337
  * @example "UP"
@@ -1293,7 +1385,7 @@ export interface CheckAppOptinForAddressParams {
1293
1385
  * The address of the account that is being checked for optin status on particular assets or apps
1294
1386
  * @minLength 1
1295
1387
  * @maxLength 256
1296
- * @pattern ^(0x)?[0-9a-fA-Z]+$
1388
+ * @pattern ^(0x)?[0-9a-fA-F]+$
1297
1389
  * @example "KFMRQHJVVONKOLXTEQ33CNUQZ4NBGU2EDCE25KNKVMRYPRKLKCNQDAWWTM"
1298
1390
  */
1299
1391
  address: string;
@@ -1304,7 +1396,7 @@ export interface CheckAssetOptinForAddressParams {
1304
1396
  * The address of the account that is being checked for optin status on particular assets or apps
1305
1397
  * @minLength 1
1306
1398
  * @maxLength 256
1307
- * @pattern ^(0x)?[0-9a-fA-Z]+$
1399
+ * @pattern ^(0x)?[0-9a-fA-F]+$
1308
1400
  * @example "KFMRQHJVVONKOLXTEQ33CNUQZ4NBGU2EDCE25KNKVMRYPRKLKCNQDAWWTM"
1309
1401
  */
1310
1402
  address: string;
@@ -1329,12 +1421,11 @@ export interface ClaimableBalance {
1329
1421
  /**
1330
1422
  * Token contract address or identifier of the payment token on chain
1331
1423
  * @maxLength 256
1332
- * @pattern ^(0x)?[0-9a-fA-Z]+$
1424
+ * @pattern ^(0x)?[0-9a-fA-F]+$
1333
1425
  * @example "0x28aef3b18daec312860dd030102a427ed43dac71"
1334
1426
  */
1335
1427
  paymentTokenContractAddress: string;
1336
1428
  }
1337
- export type ConvertStandardPhraseToAlgoSpecificData = any;
1338
1429
  export type CreateAdminWalletData = WalletCreatedDto;
1339
1430
  export type CreateAllowanceTransactionData = AllowanceTransactionResponseDto;
1340
1431
  export type CreateApiKeyData = CreateMerchantApiKeyResponseDto;
@@ -1351,7 +1442,7 @@ export interface CreateAssetConfigDto {
1351
1442
  /**
1352
1443
  * Only required for Non-native assets (aka tokens)
1353
1444
  * @maxLength 256
1354
- * @pattern ^(0x)?[0-9a-fA-Z]+$
1445
+ * @pattern ^(0x)?[0-9a-fA-F]+$
1355
1446
  */
1356
1447
  contractAddress?: string;
1357
1448
  /**
@@ -1393,7 +1484,7 @@ export interface CreateAssetConfigDto {
1393
1484
  /**
1394
1485
  * Only required for Sui blockchain assets
1395
1486
  * @maxLength 256
1396
- * @pattern ^(0x)?[0-9a-fA-Z]+$
1487
+ * @pattern ^(0x)?[0-9a-fA-F]+$
1397
1488
  */
1398
1489
  suiObjectId?: string;
1399
1490
  /**
@@ -1473,6 +1564,11 @@ export interface CreateChainDto {
1473
1564
  * @example "Chain Name"
1474
1565
  */
1475
1566
  name: "BITCOIN" | "ETHEREUM" | "ALGORAND" | "AVALANCHE" | "POLYGON" | "BASE" | "BSC" | "SUI" | "INJECTIVE" | "SEI" | "APTOS" | "SOLANA" | "POLYMESH" | "HEDERA" | "CANTON";
1567
+ /**
1568
+ * Signature scheme for key derivation
1569
+ * @example "secp256k1"
1570
+ */
1571
+ signatureScheme: "secp256k1" | "ed25519" | "sr25519";
1476
1572
  /**
1477
1573
  * Testnet ID
1478
1574
  * @example "1"
@@ -1519,7 +1615,7 @@ export interface CreateMerchantApiKeyResponseDto {
1519
1615
  /**
1520
1616
  * @minLength 128
1521
1617
  * @maxLength 256
1522
- * @pattern ^(0x)?[0-9a-fA-Z]+$
1618
+ * @pattern ^(0x)?[0-9a-fA-F]+$
1523
1619
  * @example "Private key to be returned once"
1524
1620
  */
1525
1621
  clientJWTPrivKey: string;
@@ -1556,7 +1652,6 @@ export interface CreateMerchantDto {
1556
1652
  name: string;
1557
1653
  status?: "active" | "inactive" | "invalidated";
1558
1654
  }
1559
- export type CreateMultisigAssetData = UserAsset;
1560
1655
  export type CreateReleaseScheduleData = AdminTxResponse;
1561
1656
  export interface CreateReleaseScheduleDto {
1562
1657
  /**
@@ -1579,11 +1674,8 @@ export interface CreateReleaseScheduleDto {
1579
1674
  * @example 3600
1580
1675
  */
1581
1676
  delayUntilFirstReleaseInSeconds: number;
1582
- /**
1583
- * Seed encrypted asymmetrically by current user corresponding wallaby auth public key, to be decrypted inside the secure code execution environment
1584
- * @example "{"iv":"b7b643ebccf35c262aa2d5c2729c5f3d","ephemPublicKey":"040cff71ed16f1105c45c2214c9e72d3eabde48efe3759c6f150352b19aa8054c302dc1fd8b4f3927bd7d74ae0186854b3a13de7673be4f8424a6ba3702c239729","ciphertext":"736bc1881a02fa08df4a3f1e35d426660e3c35471facba2866e960f8a19b783bac30d037b07dc9e6406e258d09a4a7e4a7cf58d20cf7b8b7201db0f80849a48d20389039e3fc196f42796fe6d501f47afb030f9946ecbc148d8da1e46c3793a4","mac":"b6cbbdbbc3a311d919340fc3ec9ee1911d9ead6d989efa73e0ac3303c51a353e"}"
1585
- */
1586
- encryptedSeed: EncryptedDataInterface;
1677
+ /** Seed encrypted symmetrically by the enclave master key */
1678
+ encryptedSeed: SymmetricEncryptedDto;
1587
1679
  /**
1588
1680
  * Initial release portion in bips: 1 bip = 0.01%
1589
1681
  * @example 1000
@@ -1609,11 +1701,16 @@ export interface CreateReleaseScheduleDto {
1609
1701
  * @example "0xb44e88ff3c67de6e6548a6caf006bf6e1cb841119d0b9ea1b7e9b2d36a5e0ed42fd9f5e543243d1d73dc4b7800cc2026f74961f4edc769699678a316abb34e661c"
1610
1702
  */
1611
1703
  signature: string;
1704
+ /**
1705
+ * Wallet ID
1706
+ * @example "123e4567-e89b-12d3-a456-426614174000"
1707
+ */
1708
+ walletId: string;
1612
1709
  }
1613
1710
  export type CreateWalletData = WalletCreatedDto;
1614
1711
  export type CreateWalletV2Data = WalletCreatedDto;
1615
1712
  export interface CreateWalletV2RequestDto {
1616
- /** The public key of the device which is to hold the backup share. Only used for entity wallets and optional for those as well. If not specified, both shares will be wrapped by the clientAuthPubKey. */
1713
+ /** The public key of the backup device. If not specified, both shares will be wrapped by the clientAuthPubKey. */
1617
1714
  backupDevicePublicKey: string;
1618
1715
  /** @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc" */
1619
1716
  clientAuthPubKey: string;
@@ -1626,7 +1723,7 @@ export interface CreateWalletV2RequestDto {
1626
1723
  * The number of shares to split the phrase into. Param only relevant if the user selected RETURN_ONLY_ENCRYPTED_SHARES or RETURN_BOTH_ENCRYPTED_SHARES_AND_SEED
1627
1724
  * @example 5
1628
1725
  */
1629
- numShares: number;
1726
+ numShares?: number;
1630
1727
  /**
1631
1728
  * @format uuid
1632
1729
  * @minLength 36
@@ -1646,18 +1743,18 @@ export interface CreateWalletV2RequestDto {
1646
1743
  * The number of shares needed to recover the initial seed. Param only relevant if the user selected RETURN_ONLY_ENCRYPTED_SHARES or RETURN_BOTH_ENCRYPTED_SHARES_AND_SEED
1647
1744
  * @example 3
1648
1745
  */
1649
- threshold: number;
1746
+ threshold?: number;
1650
1747
  /**
1651
- * Whether wallaby system should keep a share or not after split, false by default. Automatically true for entity wallets.
1652
- * @default false
1653
- * @example false
1748
+ * Whether wallaby system should keep a share or not after split, true by default. Automatically true for entity wallets.
1749
+ * @default true
1750
+ * @example true
1654
1751
  */
1655
1752
  wallabyKeepsOne: boolean;
1656
1753
  /**
1657
1754
  * Specifies the ownership model of the wallet, ie, whether it is single-owner or multi-owner
1658
1755
  * @default "SINGLE_OWNER"
1659
1756
  */
1660
- walletOwnershipType: "SINGLE_OWNER" | "MULTI_OWNER";
1757
+ walletOwnershipType: "SINGLE_OWNER";
1661
1758
  }
1662
1759
  export type DetectTransferRestrictionData = DetectTransferRestrictionResponseDto;
1663
1760
  export interface DetectTransferRestrictionParams {
@@ -1674,7 +1771,7 @@ export interface DetectTransferRestrictionParams {
1674
1771
  * Origin address
1675
1772
  * @minLength 1
1676
1773
  * @maxLength 256
1677
- * @pattern ^(0x)?[0-9a-fA-Z]+$
1774
+ * @pattern ^(0x)?[0-9a-fA-F]+$
1678
1775
  * @example "0x9bf4001d307dfd62b26a2f1307ee0c0307632d59"
1679
1776
  */
1680
1777
  fromAddress: string;
@@ -1682,7 +1779,7 @@ export interface DetectTransferRestrictionParams {
1682
1779
  * Recipient address
1683
1780
  * @minLength 1
1684
1781
  * @maxLength 256
1685
- * @pattern ^(0x)?[0-9a-fA-Z]+$
1782
+ * @pattern ^(0x)?[0-9a-fA-F]+$
1686
1783
  * @example "0xb44e88ff3c67de6e6548a6caf006bf6e1cb84111"
1687
1784
  */
1688
1785
  toAddress: string;
@@ -1690,7 +1787,7 @@ export interface DetectTransferRestrictionParams {
1690
1787
  * Optional ERC1404 token contract address on chain, when this is supplied, the assetId field will be ignored
1691
1788
  * @minLength 1
1692
1789
  * @maxLength 256
1693
- * @pattern ^(0x)?[0-9a-fA-Z]+$
1790
+ * @pattern ^(0x)?[0-9a-fA-F]+$
1694
1791
  * @example "0x28aef3b18daec312860dd030102a427ed43dac71"
1695
1792
  */
1696
1793
  tokenContractAddress?: string;
@@ -1722,7 +1819,7 @@ export interface DetectTransferRestrictionResponseDto {
1722
1819
  * Origin address
1723
1820
  * @minLength 1
1724
1821
  * @maxLength 256
1725
- * @pattern ^(0x)?[0-9a-fA-Z]+$
1822
+ * @pattern ^(0x)?[0-9a-fA-F]+$
1726
1823
  * @example "0x9bf4001d307dfd62b26a2f1307ee0c0307632d59"
1727
1824
  */
1728
1825
  fromAddress: string;
@@ -1738,7 +1835,7 @@ export interface DetectTransferRestrictionResponseDto {
1738
1835
  * Recipient address
1739
1836
  * @minLength 1
1740
1837
  * @maxLength 256
1741
- * @pattern ^(0x)?[0-9a-fA-Z]+$
1838
+ * @pattern ^(0x)?[0-9a-fA-F]+$
1742
1839
  * @example "0xb44e88ff3c67de6e6548a6caf006bf6e1cb84111"
1743
1840
  */
1744
1841
  toAddress: string;
@@ -1746,7 +1843,7 @@ export interface DetectTransferRestrictionResponseDto {
1746
1843
  * ERC1404 Token contract address on chain
1747
1844
  * @minLength 1
1748
1845
  * @maxLength 256
1749
- * @pattern ^(0x)?[0-9a-fA-Z]+$
1846
+ * @pattern ^(0x)?[0-9a-fA-F]+$
1750
1847
  * @example "0xb44e88ff3c67de6e6548a6caf006bf6e1cb84111"
1751
1848
  */
1752
1849
  tokenContractAddress: string;
@@ -1771,7 +1868,7 @@ export interface EncryptedDataInterface {
1771
1868
  * Ephemeral public key
1772
1869
  * @minLength 128
1773
1870
  * @maxLength 256
1774
- * @pattern ^(0x)?[0-9a-fA-Z]+$
1871
+ * @pattern ^(0x)?[0-9a-fA-F]+$
1775
1872
  * @example "040cff71ed16f1105c45c2214c9e72d3eabde48efe3759c6f150352b19aa8054c302dc1fd8b4f3927bd7d74ae0186854b3a13de7673be4f8424a6ba3702c239729"
1776
1873
  */
1777
1874
  ephemPublicKey: string;
@@ -1779,7 +1876,7 @@ export interface EncryptedDataInterface {
1779
1876
  * Initialization vector
1780
1877
  * @minLength 32
1781
1878
  * @maxLength 32
1782
- * @pattern ^(0x)?[0-9a-fA-Z]+$
1879
+ * @pattern ^(0x)?[0-9a-fA-F]+$
1783
1880
  * @example "b7b643ebccf35c262aa2d5c2729c5f3d"
1784
1881
  */
1785
1882
  iv: string;
@@ -1825,6 +1922,14 @@ export interface ExecuteSwapRequestDto {
1825
1922
  * @example "0xb44e88ff3c67de6e6548a6caf006bf6e1cb841119d0b9ea1b7e9b2d36a5e0ed42fd9f5e543243d1d73dc4b7800cc2026f74961f4edc769699678a316abb34e661c"
1826
1923
  */
1827
1924
  signature: string;
1925
+ /**
1926
+ * Wallet ID the swap is executed for (must own the quote source address)
1927
+ * @minLength 36
1928
+ * @maxLength 36
1929
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
1930
+ * @example "a4dedb83-4d59-41ca-84b5-4b24a98878d8"
1931
+ */
1932
+ walletId: string;
1828
1933
  }
1829
1934
  export interface FeeEstimatesResponseDto {
1830
1935
  /**
@@ -1860,6 +1965,16 @@ export interface FeeEstimatesResponseDto {
1860
1965
  */
1861
1966
  lowestFee?: string;
1862
1967
  }
1968
+ export interface FeeItemDto {
1969
+ /** @example "0.001" */
1970
+ amount: string;
1971
+ /** @example "2.50" */
1972
+ amountUSD?: string | null;
1973
+ /** @example "https://example.com/eth.png" */
1974
+ icon?: string;
1975
+ /** @example "ETH" */
1976
+ symbol?: string;
1977
+ }
1863
1978
  export type FetchAssetPairPriceData = AssetPriceResponseDto;
1864
1979
  export interface FetchAssetPairPriceParams {
1865
1980
  /**
@@ -1876,7 +1991,7 @@ export interface FetchBalanceParams {
1876
1991
  /**
1877
1992
  * Asset valid address
1878
1993
  * @maxLength 256
1879
- * @pattern ^(0x)?[0-9a-fA-Z]+$
1994
+ * @pattern ^(0x)?[0-9a-fA-F]+$
1880
1995
  * @example "0x9bf4001d307dfd62b26a2f1307ee0c0307632d59"
1881
1996
  */
1882
1997
  address: string;
@@ -1923,7 +2038,7 @@ export interface FetchEvmTokenAssetInfoParams {
1923
2038
  /**
1924
2039
  * token contract address or identifier on chain
1925
2040
  * @maxLength 256
1926
- * @pattern ^(0x)?[0-9a-fA-Z]+$
2041
+ * @pattern ^(0x)?[0-9a-fA-F]+$
1927
2042
  * @example "0x28aef3b18daec312860dd030102a427ed43dac71"
1928
2043
  */
1929
2044
  tokenContractAddress: string;
@@ -1948,7 +2063,7 @@ export interface FetchMessageForTransferRestrictionParams {
1948
2063
  * Optional ERC1404 token contract address on chain, when this is supplied, the assetId field will be ignored
1949
2064
  * @minLength 1
1950
2065
  * @maxLength 256
1951
- * @pattern ^(0x)?[0-9a-fA-Z]+$
2066
+ * @pattern ^(0x)?[0-9a-fA-F]+$
1952
2067
  * @example "0x28aef3b18daec312860dd030102a427ed43dac71"
1953
2068
  */
1954
2069
  tokenContractAddress?: string;
@@ -1958,7 +2073,7 @@ export interface FetchOnlyBalanceParams {
1958
2073
  /**
1959
2074
  * Asset valid address
1960
2075
  * @maxLength 256
1961
- * @pattern ^(0x)?[0-9a-fA-Z]+$
2076
+ * @pattern ^(0x)?[0-9a-fA-F]+$
1962
2077
  * @example "0x9bf4001d307dfd62b26a2f1307ee0c0307632d59"
1963
2078
  */
1964
2079
  address: string;
@@ -2006,23 +2121,12 @@ export interface FetchTransactionByHashOrReferenceParams {
2006
2121
  */
2007
2122
  transactionReference?: string;
2008
2123
  }
2009
- export type FetchTransactionParticipantsData = GetTransactionParticipantResponseDto;
2010
- export interface FetchTransactionParticipantsParams {
2011
- /**
2012
- * Transaction Id
2013
- * @minLength 36
2014
- * @maxLength 36
2015
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
2016
- * @example "6e464058-67c1-4273-a6a4-8aae522e34be"
2017
- */
2018
- reference: string;
2019
- }
2020
2124
  export type FetchTransactionsData = TransactionHistoryResponse;
2021
2125
  export interface FetchTransactionsParams {
2022
2126
  /**
2023
2127
  * Asset valid address
2024
2128
  * @maxLength 256
2025
- * @pattern ^(0x)?[0-9a-fA-Z]+$
2129
+ * @pattern ^(0x)?[0-9a-fA-F]+$
2026
2130
  * @example "0x9bf4001d307dfd62b26a2f1307ee0c0307632d59"
2027
2131
  */
2028
2132
  address: string;
@@ -2051,7 +2155,8 @@ export type ForceClaimPrincipalData = AdminTxResponse;
2051
2155
  export type GenerateExternalSignatureMessageData = AuthSignatureMessageResponseDto;
2052
2156
  export interface GenerateMissingAddressRequestDto {
2053
2157
  /**
2054
- * Blockchain name for which the address needs to be generated.
2158
+ * Blockchain name for which the address needs to be generated. Deprecated - this field is no longer being used.
2159
+ * @deprecated
2055
2160
  * @example "CANTON"
2056
2161
  */
2057
2162
  chainName: "BITCOIN" | "ETHEREUM" | "ALGORAND" | "AVALANCHE" | "POLYGON" | "BASE" | "BSC" | "SUI" | "INJECTIVE" | "SEI" | "APTOS" | "SOLANA" | "POLYMESH" | "HEDERA" | "CANTON";
@@ -2098,6 +2203,10 @@ export interface GetActivitieesParams {
2098
2203
  * @format date-time
2099
2204
  */
2100
2205
  fromDate?: string;
2206
+ /** Limit per page */
2207
+ limit: Object;
2208
+ /** Page number */
2209
+ page: Object;
2101
2210
  /**
2102
2211
  * Search
2103
2212
  * @minLength 3
@@ -2134,6 +2243,10 @@ export interface GetAllChainsParams {
2134
2243
  * @format date-time
2135
2244
  */
2136
2245
  fromDate?: string;
2246
+ /** Limit per page */
2247
+ limit: Object;
2248
+ /** Page number */
2249
+ page: Object;
2137
2250
  /**
2138
2251
  * Search
2139
2252
  * @minLength 3
@@ -2166,6 +2279,10 @@ export interface GetAllMerchantsParams {
2166
2279
  * @format date-time
2167
2280
  */
2168
2281
  fromDate?: string;
2282
+ /** Limit per page */
2283
+ limit: Object;
2284
+ /** Page number */
2285
+ page: Object;
2169
2286
  /**
2170
2287
  * Search
2171
2288
  * @minLength 3
@@ -2202,6 +2319,10 @@ export interface GetAllUsersParams {
2202
2319
  * @format date-time
2203
2320
  */
2204
2321
  fromDate?: string;
2322
+ /** Limit per page */
2323
+ limit: Object;
2324
+ /** Page number */
2325
+ page: Object;
2205
2326
  /**
2206
2327
  * Search
2207
2328
  * @minLength 3
@@ -2246,6 +2367,10 @@ export interface GetAllWalletsParams {
2246
2367
  * @format date-time
2247
2368
  */
2248
2369
  fromDate?: string;
2370
+ /** Limit per page */
2371
+ limit: Object;
2372
+ /** Page number */
2373
+ page: Object;
2249
2374
  /**
2250
2375
  * Search
2251
2376
  * @minLength 3
@@ -2278,6 +2403,21 @@ export interface GetAllWalletsResponseDto {
2278
2403
  */
2279
2404
  wallets: Wallet[];
2280
2405
  }
2406
+ export type GetAssetConfigByIdData = GetAssetConfigByIdResponseDto;
2407
+ export interface GetAssetConfigByIdParams {
2408
+ /**
2409
+ * Asset Config ID
2410
+ * @format uuid
2411
+ * @minLength 36
2412
+ * @maxLength 36
2413
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
2414
+ * @example "a4dedb83-4d59-41ca-84b5-4b24a98878d8"
2415
+ */
2416
+ assetConfigId: string;
2417
+ }
2418
+ export interface GetAssetConfigByIdResponseDto {
2419
+ asset: AssetConfig;
2420
+ }
2281
2421
  export interface GetAssetConfigResponseDto {
2282
2422
  /** @maxItems 5000 */
2283
2423
  assets: AssetConfig[];
@@ -2299,6 +2439,10 @@ export interface GetAssetsByUserIdParams {
2299
2439
  groupBy?: string;
2300
2440
  /** Asset visibility status */
2301
2441
  isVisible?: boolean;
2442
+ /** Limit per page */
2443
+ limit: Object;
2444
+ /** Page number */
2445
+ page: Object;
2302
2446
  /**
2303
2447
  * Denomination to show asset price in, eg, USD
2304
2448
  * @example "USD will return the asset price in US Dollars"
@@ -2336,11 +2480,20 @@ export interface GetAssetsByUserIdParams {
2336
2480
  export type GetAssetsConfigurationsData = GetAssetConfigResponseDto;
2337
2481
  export interface GetAssetsConfigurationsParams {
2338
2482
  chainName?: "BITCOIN" | "ETHEREUM" | "ALGORAND" | "AVALANCHE" | "POLYGON" | "BASE" | "BSC" | "SUI" | "INJECTIVE" | "SEI" | "APTOS" | "SOLANA" | "POLYMESH" | "HEDERA" | "CANTON";
2483
+ /**
2484
+ * Filter assets by contract address
2485
+ * @maxLength 256
2486
+ */
2487
+ contractAddress?: string;
2339
2488
  /**
2340
2489
  * Filter by date range from
2341
2490
  * @format date-time
2342
2491
  */
2343
2492
  fromDate?: string;
2493
+ /** Limit per page */
2494
+ limit: Object;
2495
+ /** Page number */
2496
+ page: Object;
2344
2497
  /**
2345
2498
  * Search
2346
2499
  * @minLength 3
@@ -2375,6 +2528,28 @@ export interface GetAssetsConfigurationsParams {
2375
2528
  }
2376
2529
  /** @example "9KS7gmuAvvaemARt59QRW2mXP6WesRX7pVqzw4afPXc=" */
2377
2530
  export type GetCallbackPublicKeyData = string;
2531
+ export interface GetCallbackPublicKeyParams {
2532
+ /**
2533
+ * Key audience used in derivation label. Defaults to "upside".
2534
+ * @example "upside"
2535
+ */
2536
+ audience?: string;
2537
+ /**
2538
+ * Network chain name used in derivation label.
2539
+ * @example "ethereum"
2540
+ */
2541
+ chain: string;
2542
+ /**
2543
+ * Contract address used in derivation label.
2544
+ * @example "0x1234567890abcdef1234567890abcdef12345678"
2545
+ */
2546
+ contractAddress: string;
2547
+ /**
2548
+ * Key version used in derivation label.
2549
+ * @example "v1"
2550
+ */
2551
+ keyVersion?: string;
2552
+ }
2378
2553
  export interface GetChainsResponseDto {
2379
2554
  /** @maxItems 100 */
2380
2555
  chains: Chain[];
@@ -2394,6 +2569,10 @@ export interface GetCurrentUserMerchantAssetsParams {
2394
2569
  isDefault?: boolean;
2395
2570
  /** Asset visibility status */
2396
2571
  isVisible?: boolean;
2572
+ /** Limit per page */
2573
+ limit: Object;
2574
+ /** Page number */
2575
+ page: Object;
2397
2576
  /**
2398
2577
  * Search
2399
2578
  * @minLength 3
@@ -2436,6 +2615,10 @@ export interface GetCurrentUserMerchantAssetsUsersMerchantAssetsParams {
2436
2615
  isDefault?: boolean;
2437
2616
  /** Asset visibility status */
2438
2617
  isVisible?: boolean;
2618
+ /** Limit per page */
2619
+ limit: Object;
2620
+ /** Page number */
2621
+ page: Object;
2439
2622
  /**
2440
2623
  * Search
2441
2624
  * @minLength 3
@@ -2517,7 +2700,7 @@ export interface GetEstimateFeeParams {
2517
2700
  * Origin or spender address
2518
2701
  * @minLength 1
2519
2702
  * @maxLength 256
2520
- * @pattern ^(0x)?[0-9a-fA-Z]+$
2703
+ * @pattern ^(0x)?[0-9a-fA-F]+$
2521
2704
  * @example "0x6127DCB35b4625C2559526EEc22300c2Df804B5c"
2522
2705
  */
2523
2706
  originAddress: string;
@@ -2525,7 +2708,7 @@ export interface GetEstimateFeeParams {
2525
2708
  * Recipient address
2526
2709
  * @minLength 1
2527
2710
  * @maxLength 256
2528
- * @pattern ^(0x)?[0-9a-fA-Z]+$
2711
+ * @pattern ^(0x)?[0-9a-fA-F]+$
2529
2712
  * @example "0x7cBc2e807d0191c5b9EA332CCec2423f8d72D626"
2530
2713
  */
2531
2714
  recipientAddress: string;
@@ -2549,6 +2732,8 @@ export interface GetMerchantAdminsParams {
2549
2732
  * @format date-time
2550
2733
  */
2551
2734
  fromDate?: string;
2735
+ /** Limit per page */
2736
+ limit: Object;
2552
2737
  /**
2553
2738
  * @format uuid
2554
2739
  * @minLength 36
@@ -2557,6 +2742,8 @@ export interface GetMerchantAdminsParams {
2557
2742
  * @example "180b0a0f-6935-4047-a32d-b2a4d50acfc9"
2558
2743
  */
2559
2744
  merchantId: string;
2745
+ /** Page number */
2746
+ page: Object;
2560
2747
  /**
2561
2748
  * Search
2562
2749
  * @minLength 3
@@ -2592,6 +2779,8 @@ export interface GetMerchantAssetsParams {
2592
2779
  isDefault?: boolean;
2593
2780
  /** Asset visibility status */
2594
2781
  isVisible?: boolean;
2782
+ /** Limit per page */
2783
+ limit: Object;
2595
2784
  /**
2596
2785
  * @format uuid
2597
2786
  * @minLength 36
@@ -2600,6 +2789,8 @@ export interface GetMerchantAssetsParams {
2600
2789
  * @example "180b0a0f-6935-4047-a32d-b2a4d50acfc9"
2601
2790
  */
2602
2791
  merchantId: string;
2792
+ /** Page number */
2793
+ page: Object;
2603
2794
  /**
2604
2795
  * Search
2605
2796
  * @minLength 3
@@ -2649,6 +2840,8 @@ export interface GetMerchantUsersParams {
2649
2840
  * @format date-time
2650
2841
  */
2651
2842
  fromDate?: string;
2843
+ /** Limit per page */
2844
+ limit: Object;
2652
2845
  /**
2653
2846
  * @format uuid
2654
2847
  * @minLength 36
@@ -2657,6 +2850,8 @@ export interface GetMerchantUsersParams {
2657
2850
  * @example "180b0a0f-6935-4047-a32d-b2a4d50acfc9"
2658
2851
  */
2659
2852
  merchantId: string;
2853
+ /** Page number */
2854
+ page: Object;
2660
2855
  /**
2661
2856
  * Search
2662
2857
  * @minLength 3
@@ -2694,6 +2889,8 @@ export interface GetMerchantWalletsParams {
2694
2889
  * @format date-time
2695
2890
  */
2696
2891
  fromDate?: string;
2892
+ /** Limit per page */
2893
+ limit: Object;
2697
2894
  /**
2698
2895
  * @format uuid
2699
2896
  * @minLength 36
@@ -2702,6 +2899,8 @@ export interface GetMerchantWalletsParams {
2702
2899
  * @example "180b0a0f-6935-4047-a32d-b2a4d50acfc9"
2703
2900
  */
2704
2901
  merchantId: string;
2902
+ /** Page number */
2903
+ page: Object;
2705
2904
  /**
2706
2905
  * Search
2707
2906
  * @minLength 3
@@ -2739,29 +2938,6 @@ export interface GetOneMerchantParams {
2739
2938
  export interface GetOneMerchantResponseDto {
2740
2939
  merchant: Merchant;
2741
2940
  }
2742
- export type GetParticipantsByUserIdData = GetParticipantsByUserIdResponseDto;
2743
- export interface GetParticipantsByUserIdParams {
2744
- /**
2745
- * Participant approval status
2746
- * @default "pending-approval"
2747
- */
2748
- status?: "pending-approval" | "approved" | "rejected";
2749
- /**
2750
- * User ID
2751
- * @minLength 36
2752
- * @maxLength 36
2753
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
2754
- * @example "6e464058-67c1-4273-a6a4-8aae522e34be"
2755
- */
2756
- userId: string;
2757
- }
2758
- export interface GetParticipantsByUserIdResponseDto {
2759
- /**
2760
- * The list of multisig transaction by participant user id
2761
- * @maxItems 1000
2762
- */
2763
- multisigTransactions: Transaction[];
2764
- }
2765
2941
  export type GetPasskeyCredentialsData = PasskeyCredentialResponseDto;
2766
2942
  export type GetPendingTransactionsData = GetPendingTransactionsResponseDto;
2767
2943
  export interface GetPendingTransactionsParams {
@@ -2775,6 +2951,10 @@ export interface GetPendingTransactionsParams {
2775
2951
  * @format date-time
2776
2952
  */
2777
2953
  fromDate?: string;
2954
+ /** Limit per page */
2955
+ limit: Object;
2956
+ /** Page number */
2957
+ page: Object;
2778
2958
  /**
2779
2959
  * Search
2780
2960
  * @minLength 3
@@ -2835,6 +3015,10 @@ export interface GetSwapHistoryParams {
2835
3015
  * @format date-time
2836
3016
  */
2837
3017
  fromDate?: string;
3018
+ /** Limit per page */
3019
+ limit: Object;
3020
+ /** Page number */
3021
+ page: Object;
2838
3022
  /**
2839
3023
  * Search
2840
3024
  * @minLength 3
@@ -2876,15 +3060,6 @@ export interface GetSwapsResponseDto {
2876
3060
  /** List of swap history items */
2877
3061
  swaps: SwapHistoryItemDto[];
2878
3062
  }
2879
- export interface GetTransactionParticipantResponseDto {
2880
- /**
2881
- * A list of all participants allowed to sign the transaction
2882
- * @maxItems 100
2883
- */
2884
- participants: MultisigParticipant[];
2885
- /** The transaction's details */
2886
- transaction: Transaction;
2887
- }
2888
3063
  export type GetTransactionsData = GetTransactionsResponseDto;
2889
3064
  export interface GetTransactionsParams {
2890
3065
  /**
@@ -2904,7 +3079,7 @@ export interface GetTransactionsParams {
2904
3079
  * Origin or spender address
2905
3080
  * @minLength 1
2906
3081
  * @maxLength 256
2907
- * @pattern ^(0x)?[0-9a-fA-Z]+$
3082
+ * @pattern ^(0x)?[0-9a-fA-F]+$
2908
3083
  * @example "0x6127DCB35b4625C2559526EEc22300c2Df804B5c"
2909
3084
  */
2910
3085
  fromAddress?: string;
@@ -2913,6 +3088,10 @@ export interface GetTransactionsParams {
2913
3088
  * @format date-time
2914
3089
  */
2915
3090
  fromDate?: string;
3091
+ /** Limit per page */
3092
+ limit: Object;
3093
+ /** Page number */
3094
+ page: Object;
2916
3095
  /**
2917
3096
  * Transaction reference
2918
3097
  * @minLength 36
@@ -2942,7 +3121,7 @@ export interface GetTransactionsParams {
2942
3121
  * Recipient address
2943
3122
  * @minLength 1
2944
3123
  * @maxLength 256
2945
- * @pattern ^(0x)?[0-9a-fA-Z]+$
3124
+ * @pattern ^(0x)?[0-9a-fA-F]+$
2946
3125
  * @example "0x7cBc2e807d0191c5b9EA332CCec2423f8d72D626"
2947
3126
  */
2948
3127
  toAddress?: string;
@@ -2957,7 +3136,7 @@ export interface GetTransactionsParams {
2957
3136
  * Wallet address to retrieve both incoming and outgoing transaction
2958
3137
  * @minLength 1
2959
3138
  * @maxLength 256
2960
- * @pattern ^(0x)?[0-9a-fA-Z]+$
3139
+ * @pattern ^(0x)?[0-9a-fA-F]+$
2961
3140
  * @example "0x6127DCB35b4625C2559526EEc22300c2Df804B5c"
2962
3141
  */
2963
3142
  walletAddress?: string;
@@ -3046,6 +3225,10 @@ export interface GetUserAssetsByWalletIdParams {
3046
3225
  * @deprecated
3047
3226
  */
3048
3227
  isVisible?: boolean;
3228
+ /** Limit per page */
3229
+ limit: Object;
3230
+ /** Page number */
3231
+ page: Object;
3049
3232
  /**
3050
3233
  * Denomination to show asset price in, eg, USD
3051
3234
  * @example "USD will return the asset price in US Dollars"
@@ -3106,13 +3289,13 @@ export interface GetWallabyAuthPubKeyDto {
3106
3289
  * Client auth public key
3107
3290
  * @minLength 128
3108
3291
  * @maxLength 256
3109
- * @pattern ^(0x)?[0-9a-fA-Z]+$
3292
+ * @pattern ^(0x)?[0-9a-fA-F]+$
3110
3293
  * @example "4a47e489d2029b295d314570d2430d462bf91eb2d8550277b4df454e219f96eefbb281a4d3a4d46f454056840624ce80f5e10e64ff6226753b3bf8ed5134d388"
3111
3294
  */
3112
3295
  clientAuthPubKey: string;
3113
3296
  }
3114
3297
  export interface ImportSeedPhraseV2RequestDto {
3115
- /** The public key of the device which is to hold the backup share. Only used for entity wallets and optional for those as well. If not specified, both shares will be wrapped by the clientAuthPubKey. */
3298
+ /** The public key of the backup device. If not specified, both shares will be wrapped by the clientAuthPubKey. */
3116
3299
  backupDevicePublicKey: string;
3117
3300
  /** @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc" */
3118
3301
  clientAuthPubKey: string;
@@ -3130,7 +3313,7 @@ export interface ImportSeedPhraseV2RequestDto {
3130
3313
  * The number of shares to split the phrase into. Param only relevant if the user selected RETURN_ONLY_ENCRYPTED_SHARES or RETURN_BOTH_ENCRYPTED_SHARES_AND_SEED
3131
3314
  * @example 5
3132
3315
  */
3133
- numShares: number;
3316
+ numShares?: number;
3134
3317
  /**
3135
3318
  * @format uuid
3136
3319
  * @minLength 36
@@ -3150,148 +3333,60 @@ export interface ImportSeedPhraseV2RequestDto {
3150
3333
  * The number of shares needed to recover the initial seed. Param only relevant if the user selected RETURN_ONLY_ENCRYPTED_SHARES or RETURN_BOTH_ENCRYPTED_SHARES_AND_SEED
3151
3334
  * @example 3
3152
3335
  */
3153
- threshold: number;
3336
+ threshold?: number;
3154
3337
  /**
3155
- * Whether wallaby system should keep a share or not after split, false by default. Automatically true for entity wallets.
3156
- * @default false
3157
- * @example false
3338
+ * Whether wallaby system should keep a share or not after split, true by default. Automatically true for entity wallets.
3339
+ * @default true
3340
+ * @example true
3158
3341
  */
3159
3342
  wallabyKeepsOne: boolean;
3343
+ /**
3344
+ * The wallet ID associated with the wallet, it can be undefined for new wallets
3345
+ * @format uuid
3346
+ * @minLength 36
3347
+ * @maxLength 36
3348
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
3349
+ * @example "73d642c9-6762-421b-8f7b-5393cb220791"
3350
+ */
3351
+ walletId: string;
3160
3352
  /**
3161
3353
  * Specifies the ownership model of the wallet, ie, whether it is single-owner or multi-owner
3162
3354
  * @default "SINGLE_OWNER"
3163
3355
  */
3164
- walletOwnershipType: "SINGLE_OWNER" | "MULTI_OWNER";
3356
+ walletOwnershipType: "SINGLE_OWNER";
3165
3357
  }
3166
3358
  export type ImportWalletSeedPhraseData = WalletCreatedDto;
3167
3359
  export type ImportWalletSeedPhraseV2Data = WalletCreatedDto;
3168
- export type InitKeyExchangeData = InitKeyExchangeResponseDto;
3169
- export interface InitKeyExchangeDto {
3170
- /**
3171
- * Client auth public key
3172
- * @minLength 128
3173
- * @maxLength 256
3174
- * @pattern ^(0x)?[0-9a-fA-Z]+$
3175
- * @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc"
3176
- */
3360
+ export type InitiateWalletRecoveryData = InitiateWalletRecoveryResponseDto;
3361
+ export interface InitiateWalletRecoveryDto {
3362
+ /** @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc" */
3177
3363
  clientAuthPubKey: string;
3178
- }
3179
- export interface InitKeyExchangeResponseDto {
3180
3364
  /**
3181
- * MPC user generated id, this is crucial for subsequent operations
3182
- * @minLength 36
3183
- * @maxLength 36
3184
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
3365
+ * User reference UUID
3185
3366
  * @example "6e464058-67c1-4273-a6a4-8aae522e34be"
3186
3367
  */
3187
- mpcUserId: string;
3368
+ externalUserId: string;
3369
+ }
3370
+ export interface InitiateWalletRecoveryResponseDto {
3371
+ /** @example "6e46405867c14273a6a48aae522e34be" */
3372
+ signatureMessage: string;
3373
+ /** @example "4ecb720b1392468c75803d6252ac987c113206955070b96df1208c1c480338168e1407cec4b5af2f91d12af9b725cbd85af994b29c6364971a7ef8d955be83dc" */
3374
+ wallabyAuthPubKey: string;
3375
+ }
3376
+ export interface InviteMerchantAdminDto {
3188
3377
  /**
3189
- * MPC server wrapper/public key
3190
- * @minLength 128
3378
+ * @format email
3379
+ * @minLength 5
3191
3380
  * @maxLength 256
3192
- * @pattern ^(0x)?[0-9a-fA-Z]+$
3193
- * @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc"
3381
+ * @pattern ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
3382
+ * @example "email@republic.com"
3194
3383
  */
3195
- serverWrapperKey: string;
3196
- }
3197
- export interface InitMultiSigTransferRequestDto {
3384
+ email: string;
3198
3385
  /**
3199
- * Transfer amount
3200
- * @example 100.12
3201
- */
3202
- amount: number;
3203
- /** @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc" */
3204
- clientAuthPubKey: string;
3205
- /**
3206
- * Seed encrypted asymmetrically by current user corresponding wallaby auth public key, to be decrypted inside the secure code execution environment
3207
- * @example "{"iv":"b7b643ebccf35c262aa2d5c2729c5f3d","ephemPublicKey":"040cff71ed16f1105c45c2214c9e72d3eabde48efe3759c6f150352b19aa8054c302dc1fd8b4f3927bd7d74ae0186854b3a13de7673be4f8424a6ba3702c239729","ciphertext":"736bc1881a02fa08df4a3f1e35d426660e3c35471facba2866e960f8a19b783bac30d037b07dc9e6406e258d09a4a7e4a7cf58d20cf7b8b7201db0f80849a48d20389039e3fc196f42796fe6d501f47afb030f9946ecbc148d8da1e46c3793a4","mac":"b6cbbdbbc3a311d919340fc3ec9ee1911d9ead6d989efa73e0ac3303c51a353e"}"
3208
- */
3209
- initialSignerEncryptedSeed: EncryptedDataInterface;
3210
- /**
3211
- * Transaction memo or note
3212
- * @minLength 1
3213
- * @maxLength 256
3214
- * @pattern ^.*$
3215
- * @example "Hello 1282991"
3216
- */
3217
- memo: string;
3218
- /**
3219
- * Message retrieved from the backend
3220
- * @example "717ea458b62a430cb37ced7c22ebec97"
3221
- */
3222
- message: string;
3223
- /**
3224
- * Origin address of the multisig asset
3225
- * @minLength 1
3226
- * @maxLength 256
3227
- * @pattern ^(0x)?[0-9a-fA-Z]+$
3228
- * @example "GR45UFDRAHU6AZ7FPWNUS52BN7ETV2WBR2CXCY44AIRMUCSIVN7MLYOWBM"
3229
- */
3230
- multiSigAssetOriginAddress: string;
3231
- /**
3232
- * The ID of the multisig asset to be used for transfer request
3233
- * @format uuid
3234
- * @minLength 36
3235
- * @maxLength 36
3236
- * @example "14dedb83-4d59-41ca-84b5-4b24a98878d0"
3237
- */
3238
- multisigAssetId: string;
3239
- /**
3240
- * Recipient address
3241
- * @minLength 1
3242
- * @maxLength 256
3243
- * @pattern ^(0x)?[0-9a-fA-Z]+$
3244
- * @example "LEECDQ7TZEN332SCXPGDU6LOEHUYBFMPEMOMY27GJMK57X5UV4D56YSKX4"
3245
- */
3246
- recipientAddress: string;
3247
- /**
3248
- * Transaction reference
3249
- * @minLength 36
3250
- * @maxLength 256
3251
- * @pattern ^[a-zA-Z0-9-]+$
3252
- * @example "a4dedb83-4d59-41ca-84b5-4b24a98878d8"
3253
- */
3254
- reference: string;
3255
- /**
3256
- * Signature generated after signing the provided data field
3257
- * @example "0xb44e88ff3c67de6e6548a6caf006bf6e1cb841119d0b9ea1b7e9b2d36a5e0ed42fd9f5e543243d1d73dc4b7800cc2026f74961f4edc769699678a316abb34e661c"
3258
- */
3259
- signature: string;
3260
- }
3261
- export type InitMultisigAppOptinData = any;
3262
- export type InitMultisigAssetOptinData = any;
3263
- export type InitMultisigRawTransactionData = any;
3264
- export type InitMultisigTransferData = any;
3265
- export type InitiateWalletRecoveryData = InitiateWalletRecoveryResponseDto;
3266
- export interface InitiateWalletRecoveryDto {
3267
- /** @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc" */
3268
- clientAuthPubKey: string;
3269
- /**
3270
- * User reference UUID
3271
- * @example "6e464058-67c1-4273-a6a4-8aae522e34be"
3272
- */
3273
- externalUserId: string;
3274
- }
3275
- export interface InitiateWalletRecoveryResponseDto {
3276
- /** @example "6e46405867c14273a6a48aae522e34be" */
3277
- signatureMessage: string;
3278
- /** @example "4ecb720b1392468c75803d6252ac987c113206955070b96df1208c1c480338168e1407cec4b5af2f91d12af9b725cbd85af994b29c6364971a7ef8d955be83dc" */
3279
- wallabyAuthPubKey: string;
3280
- }
3281
- export interface InviteMerchantAdminDto {
3282
- /**
3283
- * @format email
3284
- * @minLength 5
3285
- * @maxLength 256
3286
- * @pattern ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
3287
- * @example "email@republic.com"
3288
- */
3289
- email: string;
3290
- /**
3291
- * @minLength 2
3292
- * @maxLength 256
3293
- * @pattern ^[a-zA-Z0-9-]+$
3294
- * @example "Joanna"
3386
+ * @minLength 2
3387
+ * @maxLength 256
3388
+ * @pattern ^[a-zA-Z0-9-]+$
3389
+ * @example "Joanna"
3295
3390
  */
3296
3391
  firstName: string;
3297
3392
  /**
@@ -3320,12 +3415,24 @@ export interface KeyShare {
3320
3415
  encryptedKey: string;
3321
3416
  /** Key ID */
3322
3417
  id: string;
3418
+ /**
3419
+ * Timestamp indicating this key share has been re-encrypted under enclave master key
3420
+ * @format date-time
3421
+ */
3422
+ migratedWallabyShareAt?: string | null;
3423
+ /** Reason this key share failed migration, when migrationStatus = failed */
3424
+ migrationErrorMessage?: string | null;
3425
+ /**
3426
+ * Status of the wallaby share migration for this key share
3427
+ * @example "not_required"
3428
+ */
3429
+ migrationStatus: "not_required" | "pending" | "migrated" | "failed";
3323
3430
  type: KeyType;
3324
3431
  /** Key update time */
3325
3432
  updatedAt: object;
3326
3433
  user: User;
3327
3434
  wallet: Wallet;
3328
- /** The public key used to wrap the encryptedKey */
3435
+ /** The public key used to wrap the encryptedKey. Wallaby share is now encrypted by the enclave, so this is not longer require for WALLABY_SHARE type. */
3329
3436
  wrappingPublicKey: string;
3330
3437
  }
3331
3438
  export interface KeyShareDto {
@@ -3333,14 +3440,14 @@ export interface KeyShareDto {
3333
3440
  encrypted: EncryptedDataInterface;
3334
3441
  /**
3335
3442
  * Key type name
3336
- * @example "added_user_share"
3443
+ * @example "owner_main_device_share"
3337
3444
  */
3338
- type: "wallaby_share" | "owner_main_device_share" | "owner_backup_device_share" | "added_user_share";
3445
+ type: "wallaby_share" | "owner_main_device_share" | "owner_backup_device_share";
3339
3446
  /**
3340
3447
  * Wrapping public key
3341
3448
  * @minLength 1
3342
3449
  * @maxLength 256
3343
- * @pattern ^(0x)?[0-9a-fA-Z]+$
3450
+ * @pattern ^(0x)?[0-9a-fA-F]+$
3344
3451
  * @example "0x1234567890abcdef1234567890abcdef12345678"
3345
3452
  */
3346
3453
  wrappingPublicKey: string;
@@ -3350,7 +3457,7 @@ export interface KeyType {
3350
3457
  id: number;
3351
3458
  keyShares: KeyShare[];
3352
3459
  /** name */
3353
- name: "wallaby_share" | "owner_main_device_share" | "owner_backup_device_share" | "added_user_share";
3460
+ name: "wallaby_share" | "owner_main_device_share" | "owner_backup_device_share";
3354
3461
  }
3355
3462
  export type LogoutData = AuthLogoutResponseDto;
3356
3463
  export interface Merchant {
@@ -3451,222 +3558,7 @@ export interface MintRequestItemDto {
3451
3558
  */
3452
3559
  scheduleId: number;
3453
3560
  }
3454
- export interface MnemonicConversionToAlgoSpecificRequestDto {
3455
- /** @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc" */
3456
- clientAuthPubKey: string;
3457
- /**
3458
- * Seed encrypted asymmetrically by current user corresponding wallaby auth public key, to be decrypted inside the secure code execution environment
3459
- * @example "{"iv":"b7b643ebccf35c262aa2d5c2729c5f3d","ephemPublicKey":"040cff71ed16f1105c45c2214c9e72d3eabde48efe3759c6f150352b19aa8054c302dc1fd8b4f3927bd7d74ae0186854b3a13de7673be4f8424a6ba3702c239729","ciphertext":"736bc1881a02fa08df4a3f1e35d426660e3c35471facba2866e960f8a19b783bac30d037b07dc9e6406e258d09a4a7e4a7cf58d20cf7b8b7201db0f80849a48d20389039e3fc196f42796fe6d501f47afb030f9946ecbc148d8da1e46c3793a4","mac":"b6cbbdbbc3a311d919340fc3ec9ee1911d9ead6d989efa73e0ac3303c51a353e"}"
3460
- */
3461
- encryptedSeed: EncryptedDataInterface;
3462
- /**
3463
- * Message retrieved from the backend
3464
- * @example "717ea458b62a430cb37ced7c22ebec97"
3465
- */
3466
- message: string;
3467
- /**
3468
- * Request reference, random UUID value
3469
- * @example "a4dedb83-4d59-41ca-84b5-4b24a98878d8"
3470
- */
3471
- reference: string;
3472
- /**
3473
- * Signature generated after signing the provided data field
3474
- * @example "0xb44e88ff3c67de6e6548a6caf006bf6e1cb841119d0b9ea1b7e9b2d36a5e0ed42fd9f5e543243d1d73dc4b7800cc2026f74961f4edc769699678a316abb34e661c"
3475
- */
3476
- signature: string;
3477
- }
3478
- export interface MultiSigAppOptInRequestDto {
3479
- /**
3480
- * App Index value is the app id being used on chain
3481
- * @example 14241387
3482
- */
3483
- appIndex: number;
3484
- /** @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc" */
3485
- clientAuthPubKey: string;
3486
- /**
3487
- * Seed encrypted asymmetrically by current user corresponding wallaby auth public key, to be decrypted inside the secure code execution environment
3488
- * @example "{"iv":"b7b643ebccf35c262aa2d5c2729c5f3d","ephemPublicKey":"040cff71ed16f1105c45c2214c9e72d3eabde48efe3759c6f150352b19aa8054c302dc1fd8b4f3927bd7d74ae0186854b3a13de7673be4f8424a6ba3702c239729","ciphertext":"736bc1881a02fa08df4a3f1e35d426660e3c35471facba2866e960f8a19b783bac30d037b07dc9e6406e258d09a4a7e4a7cf58d20cf7b8b7201db0f80849a48d20389039e3fc196f42796fe6d501f47afb030f9946ecbc148d8da1e46c3793a4","mac":"b6cbbdbbc3a311d919340fc3ec9ee1911d9ead6d989efa73e0ac3303c51a353e"}"
3489
- */
3490
- initialSignerEncryptedSeed: object;
3491
- /**
3492
- * Transaction memo or note
3493
- * @minLength 1
3494
- * @maxLength 256
3495
- * @pattern ^.*$
3496
- * @example "Hello 1282991"
3497
- */
3498
- memo: string;
3499
- /**
3500
- * Message retrieved from the backend
3501
- * @example "717ea458b62a430cb37ced7c22ebec97"
3502
- */
3503
- message: string;
3504
- /**
3505
- * Origin address of the multisig asset
3506
- * @minLength 1
3507
- * @maxLength 256
3508
- * @pattern ^(0x)?[0-9a-fA-Z]+$
3509
- * @example "GR45UFDRAHU6AZ7FPWNUS52BN7ETV2WBR2CXCY44AIRMUCSIVN7MLYOWBM"
3510
- */
3511
- multiSigAssetOriginAddress: string;
3512
- /**
3513
- * The ID of the multisig asset to be used for transfer request
3514
- * @format uuid
3515
- * @minLength 36
3516
- * @maxLength 36
3517
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
3518
- * @example "14dedb83-4d59-41ca-84b5-4b24a98878d0"
3519
- */
3520
- multisigAssetId: string;
3521
- /**
3522
- * Transaction reference
3523
- * @minLength 36
3524
- * @maxLength 256
3525
- * @pattern ^[a-zA-Z0-9-]+$
3526
- * @example "a4dedb83-4d59-41ca-84b5-4b24a98878d8"
3527
- */
3528
- reference: string;
3529
- /**
3530
- * Signature generated after signing the provided data field
3531
- * @example "0xb44e88ff3c67de6e6548a6caf006bf6e1cb841119d0b9ea1b7e9b2d36a5e0ed42fd9f5e543243d1d73dc4b7800cc2026f74961f4edc769699678a316abb34e661c"
3532
- */
3533
- signature: string;
3534
- }
3535
- export interface MultiSigAssetOptInRequestDto {
3536
- /**
3537
- * Asset Index value is the asset id being used on chain
3538
- * @example 14241387
3539
- */
3540
- assetIndex: number;
3541
- /** @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc" */
3542
- clientAuthPubKey: string;
3543
- /**
3544
- * Seed encrypted asymmetrically by current user corresponding wallaby auth public key, to be decrypted inside the secure code execution environment
3545
- * @example "{"iv":"b7b643ebccf35c262aa2d5c2729c5f3d","ephemPublicKey":"040cff71ed16f1105c45c2214c9e72d3eabde48efe3759c6f150352b19aa8054c302dc1fd8b4f3927bd7d74ae0186854b3a13de7673be4f8424a6ba3702c239729","ciphertext":"736bc1881a02fa08df4a3f1e35d426660e3c35471facba2866e960f8a19b783bac30d037b07dc9e6406e258d09a4a7e4a7cf58d20cf7b8b7201db0f80849a48d20389039e3fc196f42796fe6d501f47afb030f9946ecbc148d8da1e46c3793a4","mac":"b6cbbdbbc3a311d919340fc3ec9ee1911d9ead6d989efa73e0ac3303c51a353e"}"
3546
- */
3547
- initialSignerEncryptedSeed: object;
3548
- /**
3549
- * Transaction memo or note
3550
- * @minLength 1
3551
- * @maxLength 256
3552
- * @pattern ^.*$
3553
- * @example "Hello 1282991"
3554
- */
3555
- memo: string;
3556
- /**
3557
- * Message retrieved from the backend
3558
- * @example "717ea458b62a430cb37ced7c22ebec97"
3559
- */
3560
- message: string;
3561
- /**
3562
- * Origin address of the multisig asset
3563
- * @minLength 1
3564
- * @maxLength 256
3565
- * @pattern ^(0x)?[0-9a-fA-Z]+$
3566
- * @example "GR45UFDRAHU6AZ7FPWNUS52BN7ETV2WBR2CXCY44AIRMUCSIVN7MLYOWBM"
3567
- */
3568
- multiSigAssetOriginAddress: string;
3569
- /**
3570
- * The ID of the multisig asset to be used for transfer request
3571
- * @format uuid
3572
- * @minLength 36
3573
- * @maxLength 36
3574
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
3575
- * @example "14dedb83-4d59-41ca-84b5-4b24a98878d0"
3576
- */
3577
- multisigAssetId: string;
3578
- /**
3579
- * Transaction reference
3580
- * @minLength 36
3581
- * @maxLength 256
3582
- * @pattern ^[a-zA-Z0-9-]+$
3583
- * @example "a4dedb83-4d59-41ca-84b5-4b24a98878d8"
3584
- */
3585
- reference: string;
3586
- /**
3587
- * Signature generated after signing the provided data field
3588
- * @example "0xb44e88ff3c67de6e6548a6caf006bf6e1cb841119d0b9ea1b7e9b2d36a5e0ed42fd9f5e543243d1d73dc4b7800cc2026f74961f4edc769699678a316abb34e661c"
3589
- */
3590
- signature: string;
3591
- }
3592
- export interface MultisigCreationRequestDto {
3593
- /**
3594
- * Asset symbol
3595
- * @example "ALGO"
3596
- */
3597
- assetSymbol: string;
3598
- /**
3599
- * The address of the account that is initiating the multisig asset creation
3600
- * @example "GR45UFDRAHU6AZ7FPWNUS52BN7ETV2WBR2CXCY44AIRMUCSIVN7MLYOWBM"
3601
- */
3602
- creatorAddress: string;
3603
- /**
3604
- * The array containing the addresses of the users requested to participate in the multisig
3605
- * @maxItems 100
3606
- * @example ["LEECDQ7TZEN332SCXPGDU6LOEHUYBFMPEMOMY27GJMK57X5UV4D56YSKX4","ZW3ISEHZUHPO7OZGMKLKIIMKVICOUDRCERI454I3DB2BH52HGLSO67W754"]
3607
- */
3608
- participants: string[];
3609
- /**
3610
- * The threshold of the multi-sig
3611
- * @example 2
3612
- */
3613
- threshold: number;
3614
- /**
3615
- * Optional value only used when dealing with non native assets (aka tokens), it can be ERC_20, BEP_20, ALGO_STANDARD, ALGO_APP. If native asset, keep the field empty
3616
- * @example "ALGO_STANDARD"
3617
- */
3618
- tokenType: "ERC_20" | "ERC_1404" | "BEP_20" | "ARC_20" | "ARC_1404" | "MRC_20" | "BRC_20" | "ALGO_STANDARD" | "ALGO_APP" | "SUI_COIN" | "SUI_MOVE_COIN" | "SUI_SECURITY_TOKEN" | "TOKEN_FACTORY" | "SEI_ERC_20" | "APT_FUNGIBLE_ASSET" | "SPL_TOKEN" | "SPL_TOKEN_2022" | "POLYMESH_ASSET" | "HBAR_ERC_20";
3619
- /**
3620
- * Version of the multi-sig
3621
- * @example 1
3622
- */
3623
- version: number;
3624
- }
3625
- export interface MultisigParams {
3626
- /**
3627
- * The addresses list of participants who were part of the multisig asset/address creation
3628
- * @maxItems 100
3629
- * @example []
3630
- */
3631
- addrs: string[];
3632
- /**
3633
- * The threshold the multisig asset, the number of signers it needs to reach before a transaction can be broadcasted successfully
3634
- * @example 3
3635
- */
3636
- threshold: number;
3637
- /**
3638
- * The version of the multisig asset
3639
- * @example 1
3640
- */
3641
- version: number;
3642
- }
3643
- export interface MultisigParticipant {
3644
- /** Wallaby Asset ID */
3645
- assetId: string;
3646
- /** Asset Name */
3647
- assetName: string;
3648
- /**
3649
- * Asset Symbol
3650
- * @example ""
3651
- */
3652
- assetSymbol: string;
3653
- /** Chain ID */
3654
- chainId: string;
3655
- /** Chain Name */
3656
- chainName: string;
3657
- /** The API caller, internal or external for third party uses */
3658
- status: "pending-approval" | "approved" | "rejected";
3659
- /** The transaction the user is participting on */
3660
- transaction: Transaction;
3661
- /** The transaction id */
3662
- transactionId: string;
3663
- /** The user participant on the transaction */
3664
- user: User;
3665
- /** Address of the signer */
3666
- userAddress: string;
3667
- /** Wallet user ID */
3668
- userId: string;
3669
- }
3561
+ export type Object = object;
3670
3562
  export interface PaginationDto {
3671
3563
  currentPage: number;
3672
3564
  nextPage: number;
@@ -3737,104 +3629,6 @@ export interface PendingTransactionDto {
3737
3629
  /** Sender address */
3738
3630
  sender: string;
3739
3631
  }
3740
- export interface RawMultiTxInitiationRequestDto {
3741
- /**
3742
- * Asset symbol
3743
- * @minLength 2
3744
- * @maxLength 256
3745
- * @pattern ^[a-zA-Z0-9-]+$
3746
- * @example "ALGO"
3747
- */
3748
- assetSymbol: string;
3749
- /** @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc" */
3750
- clientAuthPubKey: string;
3751
- /**
3752
- * Seed encrypted asymmetrically by current user corresponding wallaby auth public key, to be decrypted inside the secure code execution environment
3753
- * @example "{"iv":"b7b643ebccf35c262aa2d5c2729c5f3d","ephemPublicKey":"040cff71ed16f1105c45c2214c9e72d3eabde48efe3759c6f150352b19aa8054c302dc1fd8b4f3927bd7d74ae0186854b3a13de7673be4f8424a6ba3702c239729","ciphertext":"736bc1881a02fa08df4a3f1e35d426660e3c35471facba2866e960f8a19b783bac30d037b07dc9e6406e258d09a4a7e4a7cf58d20cf7b8b7201db0f80849a48d20389039e3fc196f42796fe6d501f47afb030f9946ecbc148d8da1e46c3793a4","mac":"b6cbbdbbc3a311d919340fc3ec9ee1911d9ead6d989efa73e0ac3303c51a353e"}"
3754
- */
3755
- initialSignerEncryptedSeed: EncryptedDataInterface;
3756
- /**
3757
- * The address of the account initiating the multisig raw transaction request, the initiator should be among the addresses that were used as participants when the the multisig address was created
3758
- * @minLength 1
3759
- * @maxLength 256
3760
- * @pattern ^(0x)?[0-9a-fA-Z]+$
3761
- * @example "GD64YIY3TWGDMCNPP553DZPPR6LDUSFQOIJVFDPPXWEG3FVOJCCDBBHU5A"
3762
- */
3763
- initiatorAddress: string;
3764
- /**
3765
- * Message retrieved from the backend
3766
- * @example "717ea458b62a430cb37ced7c22ebec97"
3767
- */
3768
- message: string;
3769
- /**
3770
- * The params that were used to create this multisig asset/address. This is in terms of participant addresses, threshold and version
3771
- * @example {"version":1,"threshold":2,"addrs":["GR45UFDRAHU6AZ7FPWNUS52BN7ETV2WBR2CXCY44AIRMUCSIVN7MLYOWBM","LEECDQ7TZEN332SCXPGDU6LOEHUYBFMPEMOMY27GJMK57X5UV4D56YSKX4","ZW3ISEHZUHPO7OZGMKLKIIMKVICOUDRCERI454I3DB2BH52HGLSO67W754"]}
3772
- */
3773
- multisigParams: MultisigParams;
3774
- /**
3775
- * Algorand json raw transaction data, in unsigned format.
3776
- * @example {"appIndex":13997710,"appArgs":[],"onComplete":1,"accounts":["IKSNMZFYNMXFBWB2JCPMEC4HT7UECC354UDCKNHQTNKF7WQG3UQW7YZHWA"]}
3777
- */
3778
- rawTransaction: object;
3779
- /**
3780
- * Transaction reference
3781
- * @minLength 36
3782
- * @maxLength 256
3783
- * @pattern ^[a-zA-Z0-9-]+$
3784
- * @example "a4dedb83-4d59-41ca-84b5-4b24a98878d8"
3785
- */
3786
- reference: string;
3787
- /**
3788
- * Signature generated after signing the provided data field
3789
- * @example "0xb44e88ff3c67de6e6548a6caf006bf6e1cb841119d0b9ea1b7e9b2d36a5e0ed42fd9f5e543243d1d73dc4b7800cc2026f74961f4edc769699678a316abb34e661c"
3790
- */
3791
- signature: string;
3792
- }
3793
- export interface RawTxRequestDto {
3794
- /**
3795
- * Asset symbol
3796
- * @minLength 1
3797
- * @maxLength 100
3798
- * @pattern ^[a-zA-Z0-9-]+$
3799
- * @example "ETH"
3800
- */
3801
- assetSymbol: string;
3802
- /**
3803
- * Blockchain name
3804
- * @example "ETHEREUM"
3805
- */
3806
- chainName: string;
3807
- /** @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc" */
3808
- clientAuthPubKey: string;
3809
- /**
3810
- * Message retrieved from the backend
3811
- * @example "717ea458b62a430cb37ced7c22ebec97"
3812
- */
3813
- message: string;
3814
- /**
3815
- * Transaction json raw data
3816
- * @example {"from":"0xEB014f8c8B418Db6b45774c326A0E64C78914dC0","gasPrice":"20000000000","gas":"21000","to":"0x3535353535353535353535353535353535353535","value":"1000000000000000000","data":""}
3817
- */
3818
- rawTransaction: object;
3819
- /**
3820
- * Transaction reference
3821
- * @minLength 36
3822
- * @maxLength 256
3823
- * @pattern ^[a-zA-Z0-9-]+$
3824
- * @example "a4dedb83-4d59-41ca-84b5-4b24a98878d8"
3825
- */
3826
- reference: string;
3827
- /**
3828
- * Signature generated after signing the provided data field
3829
- * @example "0xb44e88ff3c67de6e6548a6caf006bf6e1cb841119d0b9ea1b7e9b2d36a5e0ed42fd9f5e543243d1d73dc4b7800cc2026f74961f4edc769699678a316abb34e661c"
3830
- */
3831
- signature: string;
3832
- /**
3833
- * Seed encrypted asymmetrically by current user corresponding wallaby auth public key, to be decrypted inside the secure code execution environment
3834
- * @example "{"iv":"b7b643ebccf35c262aa2d5c2729c5f3d","ephemPublicKey":"040cff71ed16f1105c45c2214c9e72d3eabde48efe3759c6f150352b19aa8054c302dc1fd8b4f3927bd7d74ae0186854b3a13de7673be4f8424a6ba3702c239729","ciphertext":"736bc1881a02fa08df4a3f1e35d426660e3c35471facba2866e960f8a19b783bac30d037b07dc9e6406e258d09a4a7e4a7cf58d20cf7b8b7201db0f80849a48d20389039e3fc196f42796fe6d501f47afb030f9946ecbc148d8da1e46c3793a4","mac":"b6cbbdbbc3a311d919340fc3ec9ee1911d9ead6d989efa73e0ac3303c51a353e"}"
3835
- */
3836
- signerEncryptedSeed: EncryptedDataInterface;
3837
- }
3838
3632
  export type ReconstructSeedPhraseData = SeedPhraseReconstructResponseDto;
3839
3633
  export type RecoverWalletData = WalletCompleteRecoveryCodeResponseDto;
3840
3634
  export type RefreshAccessTokenData = AuthRefreshAccessTokenResponseDto;
@@ -3905,7 +3699,6 @@ export interface RemoveUserFromUserResponseDto {
3905
3699
  */
3906
3700
  message: string;
3907
3701
  }
3908
- export type RequestSeedphraseSplitData = SeedPhraseSharesSplitResponseDto;
3909
3702
  export type RequestSwapQuoteData = SwapQuoteResponseDto;
3910
3703
  export interface RequestSwapQuoteDto {
3911
3704
  /**
@@ -4010,185 +3803,87 @@ export interface ResolvePendingTransactionResponseDto {
4010
3803
  * Transaction hash of the broadcasted transaction
4011
3804
  * @minLength 64
4012
3805
  * @maxLength 256
4013
- * @pattern ^(0x)?[0-9a-fA-Z]+$
3806
+ * @pattern ^(0x)?[0-9a-fA-F]+$
4014
3807
  * @example "0x2767143ab32e685e9f6b44e9b539ac0b8396f83b2505419e0056e501a193f19d"
4015
3808
  */
4016
3809
  hash: string;
4017
3810
  /**
4018
3811
  * Unique identifier for pending transaction
4019
- * @minLength 64
4020
- * @maxLength 256
4021
- */
4022
- id: string;
4023
- /**
4024
- * Final status of the transaction
4025
- * @example "confirmed"
4026
- */
4027
- status: "confirmed" | "denied";
4028
- }
4029
- export type RevokeMerchantAdminsData = GetMerchantUsersResponseDto;
4030
- export interface RevokeMerchantAdminsParams {
4031
- /**
4032
- * @format uuid
4033
- * @minLength 36
4034
- * @maxLength 36
4035
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
4036
- * @example "180b0a0f-6935-4047-a32d-b2a4d50acfc9"
4037
- */
4038
- merchantId: string;
4039
- /**
4040
- * @format uuid
4041
- * @minLength 36
4042
- * @maxLength 36
4043
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
4044
- * @example "180b0a0f-6935-4047-a32d-b2a4d50acfc9"
4045
- */
4046
- userId: string;
4047
- }
4048
- export interface SeedPhraseReconstructRequestDto {
4049
- /** @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc" */
4050
- clientAuthPubKey: string;
4051
- /**
4052
- * A list of encrypted shares, these should be encrypted by the user corresponding server wrapper key
4053
- * @maxItems 100
4054
- * @example [{"iv":"b7b643ebccf35c262aa2d5c2729c5f3d","ephemPublicKey":"040cff71ed16f1105c45c2214c9e72d3eabde48efe3759c6f150352b19aa8054c302dc1fd8b4f3927bd7d74ae0186854b3a13de7673be4f8424a6ba3702c239729","ciphertext":"736bc1881a02fa08df4a3f1e35d426660e3c35471facba2866e960f8a19b783bac30d037b07dc9e6406e258d09a4a7e4a7cf58d20cf7b8b7201db0f80849a48d20389039e3fc196f42796fe6d501f47afb030f9946ecbc148d8da1e46c3793a4","mac":"b6cbbdbbc3a311d919340fc3ec9ee1911d9ead6d989efa73e0ac3303c51a353e"},{"iv":"b7b643ebccf35c262aa2d5c2729c5f3d","ephemPublicKey":"040cff71ed16f1105c45c2214c9e72d3eabde48efe3759c6f150352b19aa8054c302dc1fd8b4f3927bd7d74ae0186854b3a13de7673be4f8424a6ba3702c239729","ciphertext":"736bc1881a02fa08df4a3f1e35d426660e3c35471facba2866e960f8a19b783bac30d037b07dc9e6406e258d09a4a7e4a7cf58d20cf7b8b7201db0f80849a48d20389039e3fc196f42796fe6d501f47afb030f9946ecbc148d8da1e46c3793a4","mac":"b6cbbdbbc3a311d919340fc3ec9ee1911d9ead6d989efa73e0ac3303c51a353e"}]
4055
- */
4056
- encryptedShares: EncryptedDataInterface[];
4057
- /**
4058
- * Message retrieved from the backend
4059
- * @example "717ea458b62a430cb37ced7c22ebec97"
4060
- */
4061
- message: string;
4062
- /**
4063
- * MPC user id, the user id that is returned after the initial key exchange request
4064
- * @minLength 36
4065
- * @maxLength 36
4066
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
4067
- * @example "a4dedb83-4d59-41ca-84b5-4b24a98878d8"
4068
- */
4069
- mpcUserId?: string;
4070
- /**
4071
- * Optional public key to encrypt the recovered seed phrase with
4072
- * @minLength 128
4073
- * @maxLength 256
4074
- * @pattern ^(0x)?[0-9a-fA-Z]+$
4075
- * @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc"
4076
- */
4077
- recoveryPubKey?: string;
4078
- /**
4079
- * Signature generated after signing the provided data field
4080
- * @example "0xb44e88ff3c67de6e6548a6caf006bf6e1cb841119d0b9ea1b7e9b2d36a5e0ed42fd9f5e543243d1d73dc4b7800cc2026f74961f4edc769699678a316abb34e661c"
4081
- */
4082
- signature: string;
4083
- /**
4084
- * The id of the wallet the encrypted shares belong to
4085
- * @minLength 36
4086
- * @maxLength 36
4087
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
4088
- * @example "a4dedb83-4d59-41ca-84b5-4b24a98878d8"
4089
- */
4090
- walletId?: string;
4091
- }
4092
- export interface SeedPhraseReconstructResponseDto {
4093
- /**
4094
- * Seed encrypted asymmetrically, can only be decrypted by the original user, holding the corresponding decryption key
4095
- * @example "{"iv":"b7b643ebccf35c262aa2d5c2729c5f3d","ephemPublicKey":"040cff71ed16f1105c45c2214c9e72d3eabde48efe3759c6f150352b19aa8054c302dc1fd8b4f3927bd7d74ae0186854b3a13de7673be4f8424a6ba3702c239729","ciphertext":"736bc1881a02fa08df4a3f1e35d426660e3c35471facba2866e960f8a19b783bac30d037b07dc9e6406e258d09a4a7e4a7cf58d20cf7b8b7201db0f80849a48d20389039e3fc196f42796fe6d501f47afb030f9946ecbc148d8da1e46c3793a4","mac":"b6cbbdbbc3a311d919340fc3ec9ee1911d9ead6d989efa73e0ac3303c51a353e"}"
4096
- */
4097
- encryptedSeed: EncryptedDataInterface;
4098
- }
4099
- export interface SeedPhraseSharesSplitResponseDto {
4100
- /**
4101
- * Split request reference, unique value to uniquely reference a split operation
4102
- * @minLength 36
4103
- * @maxLength 36
4104
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
4105
- * @example "a4dedb83-4d59-41ca-84b5-4b24a98878d8"
4106
- */
4107
- reference: string;
4108
- /**
4109
- * A list of encrypted shares split from a seed phrase. These shares are encrypted with the user wrapper key, only corresponding user private key can decrypt
4110
- * @maxItems 100
4111
- * @example [{"iv":"b7b643ebccf35c262aa2d5c2729c5f3d","ephemPublicKey":"040cff71ed16f1105c45c2214c9e72d3eabde48efe3759c6f150352b19aa8054c302dc1fd8b4f3927bd7d74ae0186854b3a13de7673be4f8424a6ba3702c239729","ciphertext":"736bc1881a02fa08df4a3f1e35d426660e3c35471facba2866e960f8a19b783bac30d037b07dc9e6406e258d09a4a7e4a7cf58d20cf7b8b7201db0f80849a48d20389039e3fc196f42796fe6d501f47afb030f9946ecbc148d8da1e46c3793a4","mac":"b6cbbdbbc3a311d919340fc3ec9ee1911d9ead6d989efa73e0ac3303c51a353e"},{"iv":"b7b643ebccf35c262aa2d5c2729c5f3d","ephemPublicKey":"040cff71ed16f1105c45c2214c9e72d3eabde48efe3759c6f150352b19aa8054c302dc1fd8b4f3927bd7d74ae0186854b3a13de7673be4f8424a6ba3702c239729","ciphertext":"736bc1881a02fa08df4a3f1e35d426660e3c35471facba2866e960f8a19b783bac30d037b07dc9e6406e258d09a4a7e4a7cf58d20cf7b8b7201db0f80849a48d20389039e3fc196f42796fe6d501f47afb030f9946ecbc148d8da1e46c3793a4","mac":"b6cbbdbbc3a311d919340fc3ec9ee1911d9ead6d989efa73e0ac3303c51a353e"}]
4112
- */
4113
- shares: KeyShareDto[];
4114
- }
4115
- export interface SeedPhraseSplitRequestDto {
4116
- /**
4117
- * Optional array of public keys used to encrypt shares with respect to shares ordering
4118
- * @maxItems 100
4119
- * @example []
4120
- */
4121
- customPubKeys: string[];
4122
- /**
4123
- * Seed encrypted asymmetrically by current user corresponding wallaby auth public key, to be decrypted inside the secure code execution environment
4124
- * @example "{"iv":"b7b643ebccf35c262aa2d5c2729c5f3d","ephemPublicKey":"040cff71ed16f1105c45c2214c9e72d3eabde48efe3759c6f150352b19aa8054c302dc1fd8b4f3927bd7d74ae0186854b3a13de7673be4f8424a6ba3702c239729","ciphertext":"736bc1881a02fa08df4a3f1e35d426660e3c35471facba2866e960f8a19b783bac30d037b07dc9e6406e258d09a4a7e4a7cf58d20cf7b8b7201db0f80849a48d20389039e3fc196f42796fe6d501f47afb030f9946ecbc148d8da1e46c3793a4","mac":"b6cbbdbbc3a311d919340fc3ec9ee1911d9ead6d989efa73e0ac3303c51a353e"}"
4125
- */
4126
- encryptedSeed: EncryptedDataInterface;
4127
- /**
4128
- * MPC user id, the user id that is returned initially after the key exchange request. Optional
4129
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
4130
- * @example "a4dedb83-4d59-41ca-84b5-4b24a98878d8"
3812
+ * @minLength 64
3813
+ * @maxLength 256
4131
3814
  */
4132
- mpcUserId?: string;
3815
+ id: string;
4133
3816
  /**
4134
- * The number of shares to split the phrase into
4135
- * @example 5
3817
+ * Final status of the transaction
3818
+ * @example "confirmed"
4136
3819
  */
4137
- numShares: number;
3820
+ status: "confirmed" | "denied";
3821
+ }
3822
+ export type RevokeMerchantAdminsData = GetMerchantUsersResponseDto;
3823
+ export interface RevokeMerchantAdminsParams {
4138
3824
  /**
4139
- * Client generated request reference, unique value to uniquely identify a split operation
3825
+ * @format uuid
4140
3826
  * @minLength 36
4141
3827
  * @maxLength 36
4142
3828
  * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
4143
- * @example "a4dedb83-4d59-41ca-84b5-4b24a98878d8"
4144
- */
4145
- reference: string;
4146
- /**
4147
- * The number of shares needed to recover the initial seed
4148
- * @example 3
3829
+ * @example "180b0a0f-6935-4047-a32d-b2a4d50acfc9"
4149
3830
  */
4150
- threshold: number;
3831
+ merchantId: string;
4151
3832
  /**
4152
- * Whether wallaby system should keep a share or not after split, false by default
4153
- * @default false
4154
- * @example false
3833
+ * @format uuid
3834
+ * @minLength 36
3835
+ * @maxLength 36
3836
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
3837
+ * @example "180b0a0f-6935-4047-a32d-b2a4d50acfc9"
4155
3838
  */
4156
- wallabyKeepsOne: boolean;
3839
+ userId: string;
4157
3840
  }
4158
- export type SendTransactionData = TransactionResponseDto;
4159
- export type SendV2TransactionData = TransactionResponseDto;
4160
- export type SetIdentityData = AdminTxResponse;
4161
- export type ShareWalletData = ShareWalletResponseDto;
4162
- export interface ShareWalletRequestDto {
3841
+ export interface SeedPhraseReconstructRequestDto {
4163
3842
  /** @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc" */
4164
3843
  clientAuthPubKey: string;
4165
- /** The external user ID of the user to share the wallet with */
4166
- externalUserIdToBeAdded: string;
3844
+ /**
3845
+ * A list of encrypted shares, these should be encrypted by the user corresponding server wrapper key
3846
+ * @maxItems 100
3847
+ * @example [{"iv":"b7b643ebccf35c262aa2d5c2729c5f3d","ephemPublicKey":"040cff71ed16f1105c45c2214c9e72d3eabde48efe3759c6f150352b19aa8054c302dc1fd8b4f3927bd7d74ae0186854b3a13de7673be4f8424a6ba3702c239729","ciphertext":"736bc1881a02fa08df4a3f1e35d426660e3c35471facba2866e960f8a19b783bac30d037b07dc9e6406e258d09a4a7e4a7cf58d20cf7b8b7201db0f80849a48d20389039e3fc196f42796fe6d501f47afb030f9946ecbc148d8da1e46c3793a4","mac":"b6cbbdbbc3a311d919340fc3ec9ee1911d9ead6d989efa73e0ac3303c51a353e"},{"iv":"b7b643ebccf35c262aa2d5c2729c5f3d","ephemPublicKey":"040cff71ed16f1105c45c2214c9e72d3eabde48efe3759c6f150352b19aa8054c302dc1fd8b4f3927bd7d74ae0186854b3a13de7673be4f8424a6ba3702c239729","ciphertext":"736bc1881a02fa08df4a3f1e35d426660e3c35471facba2866e960f8a19b783bac30d037b07dc9e6406e258d09a4a7e4a7cf58d20cf7b8b7201db0f80849a48d20389039e3fc196f42796fe6d501f47afb030f9946ecbc148d8da1e46c3793a4","mac":"b6cbbdbbc3a311d919340fc3ec9ee1911d9ead6d989efa73e0ac3303c51a353e"}]
3848
+ */
3849
+ encryptedShares: EncryptedDataInterface[];
4167
3850
  /**
4168
3851
  * Message retrieved from the backend
4169
3852
  * @example "717ea458b62a430cb37ced7c22ebec97"
4170
3853
  */
4171
3854
  message: string;
4172
3855
  /**
4173
- * Owner share encrypted asymetrically by the Wallaby pub key
4174
- * @example "{"iv":"b7b643ebccf35c262aa2d5c2729c5f3d","ephemPublicKey":"040cff71ed16f1105c45c2214c9e72d3eabde48efe3759c6f150352b19aa8054c302dc1fd8b4f3927bd7d74ae0186854b3a13de7673be4f8424a6ba3702c239729","ciphertext":"736bc1881a02fa08df4a3f1e35d426660e3c35471facba2866e960f8a19b783bac30d037b07dc9e6406e258d09a4a7e4a7cf58d20cf7b8b7201db0f80849a48d20389039e3fc196f42796fe6d501f47afb030f9946ecbc148d8da1e46c3793a4","mac":"b6cbbdbbc3a311d919340fc3ec9ee1911d9ead6d989efa73e0ac3303c51a353e"}"
3856
+ * Optional public key to encrypt the recovered seed phrase with
3857
+ * @minLength 128
3858
+ * @maxLength 256
3859
+ * @pattern ^(0x)?[0-9a-fA-F]+$
3860
+ * @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc"
4175
3861
  */
4176
- ownerShare: EncryptedDataInterface;
3862
+ recoveryPubKey?: string;
4177
3863
  /**
4178
3864
  * Signature generated after signing the provided data field
4179
3865
  * @example "0xb44e88ff3c67de6e6548a6caf006bf6e1cb841119d0b9ea1b7e9b2d36a5e0ed42fd9f5e543243d1d73dc4b7800cc2026f74961f4edc769699678a316abb34e661c"
4180
3866
  */
4181
3867
  signature: string;
4182
- /** The ID of the wallet to be shared */
4183
- walletId: string;
3868
+ /**
3869
+ * The id of the wallet the encrypted shares belong to
3870
+ * @minLength 36
3871
+ * @maxLength 36
3872
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
3873
+ * @example "a4dedb83-4d59-41ca-84b5-4b24a98878d8"
3874
+ */
3875
+ walletId?: string;
4184
3876
  }
4185
- export interface ShareWalletResponseDto {
3877
+ export interface SeedPhraseReconstructResponseDto {
4186
3878
  /**
4187
- * @maxItems 100
4188
- * @example ["a4dedb83-4d59-41ca-84b5-4b24a98878d8"]
3879
+ * Seed encrypted asymmetrically, can only be decrypted by the original user, holding the corresponding decryption key
3880
+ * @example "{"iv":"b7b643ebccf35c262aa2d5c2729c5f3d","ephemPublicKey":"040cff71ed16f1105c45c2214c9e72d3eabde48efe3759c6f150352b19aa8054c302dc1fd8b4f3927bd7d74ae0186854b3a13de7673be4f8424a6ba3702c239729","ciphertext":"736bc1881a02fa08df4a3f1e35d426660e3c35471facba2866e960f8a19b783bac30d037b07dc9e6406e258d09a4a7e4a7cf58d20cf7b8b7201db0f80849a48d20389039e3fc196f42796fe6d501f47afb030f9946ecbc148d8da1e46c3793a4","mac":"b6cbbdbbc3a311d919340fc3ec9ee1911d9ead6d989efa73e0ac3303c51a353e"}"
4189
3881
  */
4190
- references: string[];
3882
+ encryptedSeed: EncryptedDataInterface;
4191
3883
  }
3884
+ export type SendTransactionData = TransactionResponseDto;
3885
+ export type SendV2TransactionData = TransactionResponseDto;
3886
+ export type SetIdentityData = AdminTxResponse;
4192
3887
  export interface ShowMerchantAssetBodyDto {
4193
3888
  /**
4194
3889
  * @format uuid
@@ -4219,36 +3914,7 @@ export interface ShowMerchantAssetResponseDto {
4219
3914
  message?: string;
4220
3915
  }
4221
3916
  export type ShowMerchantAssetToWalletHoldersData = ShowMerchantAssetResponseDto;
4222
- export type SignAndBroadcastRawTxData = TransactionResponseDto;
4223
3917
  export type SignInData = AuthResponseDto;
4224
- export interface SignOnMultiSigRequestDto {
4225
- /** @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc" */
4226
- clientAuthPubKey: string;
4227
- /**
4228
- * Message retrieved from the backend
4229
- * @example "717ea458b62a430cb37ced7c22ebec97"
4230
- */
4231
- message: string;
4232
- /**
4233
- * The ID of the multisig transaction currently pending, awaiting signatures of participants
4234
- * @minLength 36
4235
- * @maxLength 36
4236
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
4237
- * @example "a4dedb83-4d59-41ca-84b5-4b24a98878d8"
4238
- */
4239
- pendingMultisigTransactionID: string;
4240
- /**
4241
- * Signature generated after signing the provided data field
4242
- * @example "0xb44e88ff3c67de6e6548a6caf006bf6e1cb841119d0b9ea1b7e9b2d36a5e0ed42fd9f5e543243d1d73dc4b7800cc2026f74961f4edc769699678a316abb34e661c"
4243
- */
4244
- signature: string;
4245
- /**
4246
- * Seed encrypted asymmetrically by current user corresponding wallaby auth public key, to be decrypted inside the secure code execution environment
4247
- * @example "{"iv":"b7b643ebccf35c262aa2d5c2729c5f3d","ephemPublicKey":"040cff71ed16f1105c45c2214c9e72d3eabde48efe3759c6f150352b19aa8054c302dc1fd8b4f3927bd7d74ae0186854b3a13de7673be4f8424a6ba3702c239729","ciphertext":"736bc1881a02fa08df4a3f1e35d426660e3c35471facba2866e960f8a19b783bac30d037b07dc9e6406e258d09a4a7e4a7cf58d20cf7b8b7201db0f80849a48d20389039e3fc196f42796fe6d501f47afb030f9946ecbc148d8da1e46c3793a4","mac":"b6cbbdbbc3a311d919340fc3ec9ee1911d9ead6d989efa73e0ac3303c51a353e"}"
4248
- */
4249
- signerEncryptedSeed: EncryptedDataInterface;
4250
- }
4251
- export type SignOnMultisigTransactionRequestData = any;
4252
3918
  export type SignUpData = AuthResponseDto;
4253
3919
  export type SignUpExternalData = AuthResponseDto;
4254
3920
  export interface SigninRequestDto {
@@ -4396,6 +4062,8 @@ export interface SwapChainProviderMapping {
4396
4062
  updatedAt: string;
4397
4063
  }
4398
4064
  export interface SwapHistoryItemDto {
4065
+ /** Estimated allowance approval gas fee */
4066
+ allowanceFee?: FeeItemDto[];
4399
4067
  /**
4400
4068
  * Timestamp when swap was completed
4401
4069
  * @format date-time
@@ -4407,7 +4075,7 @@ export interface SwapHistoryItemDto {
4407
4075
  * @format date-time
4408
4076
  * @example "2024-01-15T10:30:00Z"
4409
4077
  */
4410
- executedAt: string;
4078
+ executedAt: string | null;
4411
4079
  /**
4412
4080
  * Explorer link for the transaction
4413
4081
  * @example "https://scan.li.fi/tx/0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890"
@@ -4434,23 +4102,17 @@ export interface SwapHistoryItemDto {
4434
4102
  * @example "ETH"
4435
4103
  */
4436
4104
  fromAssetSymbol: string;
4437
- /**
4438
- * Estimated gas fee in USD
4439
- * @pattern ^-?\d*\.?\d+$
4440
- * @example "0.9639"
4441
- */
4442
- gasFeeUsd: string | null;
4105
+ /** Estimated gas fee per token */
4106
+ gasFee?: FeeItemDto[];
4443
4107
  /**
4444
4108
  * Swap quote ID
4445
4109
  * @example "805ea051-af5a-4dbd-867d-143c678dc4e6"
4446
4110
  */
4447
4111
  id: string;
4448
- /**
4449
- * Other fees in USD (protocol, bridge, etc.)
4450
- * @pattern ^-?\d*\.?\d+$
4451
- * @example "0.4793"
4452
- */
4453
- otherFeesUsd: string | null;
4112
+ /** Provider (LiFi platform) fee per token */
4113
+ providerFee?: FeeItemDto[];
4114
+ /** Republic integrator fee per token */
4115
+ republicFee?: FeeItemDto[];
4454
4116
  /**
4455
4117
  * Slippage tolerance percentage
4456
4118
  * @example 0.5
@@ -4460,7 +4122,7 @@ export interface SwapHistoryItemDto {
4460
4122
  * Current status of the swap
4461
4123
  * @example "completed"
4462
4124
  */
4463
- status: "quote" | "in_progress" | "completed" | "failed" | "abandoned" | "invalid";
4125
+ status: "quote" | "executing" | "in_progress" | "completed" | "failed" | "abandoned" | "execution_failed" | "invalid";
4464
4126
  /**
4465
4127
  * To address
4466
4128
  * @example "0xFf07a12eE165F0fAC3048ADb409ab314fCFb142C"
@@ -4585,6 +4247,8 @@ export interface SwapProviderAsset {
4585
4247
  updatedAt: string;
4586
4248
  }
4587
4249
  export interface SwapQuoteResponseDto {
4250
+ /** Estimated allowance (ERC-20 approve) gas fee broken down per token */
4251
+ allowanceFee?: FeeItemDto[];
4588
4252
  /**
4589
4253
  * Timestamp when the quote expires
4590
4254
  * @example "2026-01-28T12:35:00.000Z"
@@ -4615,22 +4279,18 @@ export interface SwapQuoteResponseDto {
4615
4279
  * @example "ETH"
4616
4280
  */
4617
4281
  fromAssetSymbol: string;
4618
- /**
4619
- * Estimated gas fee in USD
4620
- * @example "0.9639"
4621
- */
4622
- gasFeeInUSD: string;
4282
+ /** Estimated gas fee broken down per token */
4283
+ gasFee?: FeeItemDto[];
4623
4284
  /**
4624
4285
  * Unique identifier for the swap quote
4625
4286
  * @format uuid
4626
4287
  * @example "805ea051-af5a-4dbd-867d-143c678dc4e6"
4627
4288
  */
4628
4289
  id: string;
4629
- /**
4630
- * Other fees (protocol, bridge, etc.) in USD
4631
- * @example "0.4793"
4632
- */
4633
- otherFeesInUSD: string;
4290
+ /** Swap provider (LiFi platform) fee broken down per token */
4291
+ providerFee?: FeeItemDto[];
4292
+ /** Republic integrator fee broken down per token */
4293
+ republicFee?: FeeItemDto[];
4634
4294
  /**
4635
4295
  * Slippage tolerance (decimal). 0.5 means 0.5%
4636
4296
  * @example 0.5
@@ -4662,6 +4322,19 @@ export interface SwapQuoteResponseDto {
4662
4322
  */
4663
4323
  toAssetSymbol: string;
4664
4324
  }
4325
+ export interface SymmetricEncryptedDto {
4326
+ /** Ciphertext of the encrypted data */
4327
+ ciphertext: string;
4328
+ /** Initialization vector used for encryption */
4329
+ iv: string;
4330
+ /** Authentication tag for verifying the integrity of the encrypted data */
4331
+ tag: string;
4332
+ /**
4333
+ * Version of the encryption scheme
4334
+ * @example 1
4335
+ */
4336
+ v: number;
4337
+ }
4665
4338
  export interface TokenDistribution {
4666
4339
  config: AssetConfig;
4667
4340
  /**
@@ -4721,17 +4394,6 @@ export interface Transaction {
4721
4394
  * @format uuid
4722
4395
  */
4723
4396
  merchantId: string;
4724
- /**
4725
- * List of participant of a multisig transaction
4726
- * @maxItems 100
4727
- */
4728
- multisigParticipants?: MultisigParticipant[];
4729
- /** The number of signer that have approved the transaction */
4730
- multisigSignerApprovedCount: number;
4731
- /** The number of signer required to broadcast the transaction */
4732
- multisigSignerThreshold: number;
4733
- /** Multisig version */
4734
- multisigVersion: number;
4735
4397
  /** The network environment to be used for the transaction */
4736
4398
  networkEnvironment: string;
4737
4399
  /** Transaction Nonce */
@@ -4768,7 +4430,7 @@ export interface Transaction {
4768
4430
  transactionFailedReason: string;
4769
4431
  /** Transfer objects data */
4770
4432
  transferObjects: string;
4771
- /** The transaction signed blob data, useful to keep track of multisig transactions intermediary signed states */
4433
+ /** The transaction signed blob data */
4772
4434
  txBlob: string;
4773
4435
  user: User;
4774
4436
  /** User email to be used for notification */
@@ -4778,7 +4440,7 @@ export interface TransactionHistoryResponse {
4778
4440
  /**
4779
4441
  * Account address
4780
4442
  * @maxLength 256
4781
- * @pattern ^(0x)?[0-9a-fA-Z]+$
4443
+ * @pattern ^(0x)?[0-9a-fA-F]+$
4782
4444
  * @example "0x9bf4001d307dfd62b26a2f1307ee0c0307632d59"
4783
4445
  */
4784
4446
  address: string;
@@ -4829,17 +4491,6 @@ export interface TransactionResponse {
4829
4491
  * @format uuid
4830
4492
  */
4831
4493
  merchantId: string;
4832
- /**
4833
- * List of participant of a multisig transaction
4834
- * @maxItems 100
4835
- */
4836
- multisigParticipants?: MultisigParticipant[];
4837
- /** The number of signer that have approved the transaction */
4838
- multisigSignerApprovedCount: number;
4839
- /** The number of signer required to broadcast the transaction */
4840
- multisigSignerThreshold: number;
4841
- /** Multisig version */
4842
- multisigVersion: number;
4843
4494
  /** The network environment to be used for the transaction */
4844
4495
  networkEnvironment: string;
4845
4496
  /** Transaction Nonce */
@@ -4876,7 +4527,7 @@ export interface TransactionResponse {
4876
4527
  transactionFailedReason: string;
4877
4528
  /** Transfer objects data */
4878
4529
  transferObjects: string;
4879
- /** The transaction signed blob data, useful to keep track of multisig transactions intermediary signed states */
4530
+ /** The transaction signed blob data */
4880
4531
  txBlob: string;
4881
4532
  /** Transaction asset symbol. Deprecated, use entryType instead */
4882
4533
  type?: "INCOMING" | "OUTGOING" | "SWAP" | "UNKNOWN";
@@ -4927,7 +4578,7 @@ export interface TransactionStatusDataResponseDto {
4927
4578
  * Origin address
4928
4579
  * @minLength 1
4929
4580
  * @maxLength 256
4930
- * @pattern ^(0x)?[0-9a-fA-Z]+$
4581
+ * @pattern ^(0x)?[0-9a-fA-F]+$
4931
4582
  * @example "0x9bf4001d307dfd62b26a2f1307ee0c0307632d59"
4932
4583
  */
4933
4584
  fromAddress: string;
@@ -4978,7 +4629,7 @@ export interface TransactionStatusDataResponseDto {
4978
4629
  * Recipient address
4979
4630
  * @minLength 1
4980
4631
  * @maxLength 256
4981
- * @pattern ^(0x)?[0-9a-fA-Z]+$
4632
+ * @pattern ^(0x)?[0-9a-fA-F]+$
4982
4633
  * @example "0x9bf4001d307dfd62b26a2f1307ee0c0307632d59"
4983
4634
  */
4984
4635
  toAddress: string;
@@ -4986,7 +4637,7 @@ export interface TransactionStatusDataResponseDto {
4986
4637
  * Transaction hash of the broadcasted transaction
4987
4638
  * @minLength 64
4988
4639
  * @maxLength 256
4989
- * @pattern ^(0x)?[0-9a-fA-Z]+$
4640
+ * @pattern ^(0x)?[0-9a-fA-F]+$
4990
4641
  * @example "0x2767143ab32e685e9f6b44e9b539ac0b8396f83b2505419e0056e501a193f19d"
4991
4642
  */
4992
4643
  transactionHash: string;
@@ -5038,7 +4689,7 @@ export interface TransferRequestDto {
5038
4689
  * Origin address
5039
4690
  * @minLength 1
5040
4691
  * @maxLength 256
5041
- * @pattern ^(0x)?[0-9a-fA-Z]+$
4692
+ * @pattern ^(0x)?[0-9a-fA-F]+$
5042
4693
  * @example "0x6127DCB35b4625C2559526EEc22300c2Df804B5c"
5043
4694
  */
5044
4695
  originAddress: string;
@@ -5046,7 +4697,7 @@ export interface TransferRequestDto {
5046
4697
  * Recipient address
5047
4698
  * @minLength 1
5048
4699
  * @maxLength 256
5049
- * @pattern ^(0x)?[0-9a-fA-Z]+$
4700
+ * @pattern ^(0x)?[0-9a-fA-F]+$
5050
4701
  * @example "0x7cBc2e807d0191c5b9EA332CCec2423f8d72D626"
5051
4702
  */
5052
4703
  recipientAddress: string;
@@ -5068,6 +4719,14 @@ export interface TransferRequestDto {
5068
4719
  * @example "TRANSFER_TX"
5069
4720
  */
5070
4721
  transactionType?: "TRANSFER_TX" | "OPTIN_TX" | "ALLOWANCE_TX" | "SWAP_ALLOWANCE_TX" | "SWAP_TX" | "CLAIM_DIVIDEND_TX";
4722
+ /**
4723
+ * Wallet ID
4724
+ * @minLength 36
4725
+ * @maxLength 36
4726
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
4727
+ * @example "a4dedb83-4d59-41ca-84b5-4b24a98878d8"
4728
+ */
4729
+ walletId: string;
5071
4730
  }
5072
4731
  export interface UTXOFundsMove {
5073
4732
  /**
@@ -5101,25 +4760,6 @@ export interface UnarchiveAssetParams {
5101
4760
  */
5102
4761
  assetConfigId: string;
5103
4762
  }
5104
- export type UnshareWalletData = ShareWalletResponseDto;
5105
- export interface UnshareWalletRequestDto {
5106
- /** @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc" */
5107
- clientAuthPubKey: string;
5108
- /** The external user ID of the user to remove wallet access from */
5109
- externalUserIdToBeRemoved: string;
5110
- /**
5111
- * Message retrieved from the backend
5112
- * @example "717ea458b62a430cb37ced7c22ebec97"
5113
- */
5114
- message: string;
5115
- /**
5116
- * Signature generated after signing the provided data field
5117
- * @example "0xb44e88ff3c67de6e6548a6caf006bf6e1cb841119d0b9ea1b7e9b2d36a5e0ed42fd9f5e543243d1d73dc4b7800cc2026f74961f4edc769699678a316abb34e661c"
5118
- */
5119
- signature: string;
5120
- /** The ID of the wallet to be unshared */
5121
- walletId: string;
5122
- }
5123
4763
  export type UnverifyAssetData = VerifyAssetConfigResponseDto;
5124
4764
  export interface UnverifyAssetParams {
5125
4765
  /**
@@ -5139,7 +4779,7 @@ export interface UpdateAssetConfigDto {
5139
4779
  /**
5140
4780
  * Only required for Non-native assets (aka tokens)
5141
4781
  * @maxLength 256
5142
- * @pattern ^(0x)?[0-9a-fA-Z]+$
4782
+ * @pattern ^(0x)?[0-9a-fA-F]+$
5143
4783
  */
5144
4784
  contractAddress?: string;
5145
4785
  decimals?: number;
@@ -5166,7 +4806,7 @@ export interface UpdateAssetConfigDto {
5166
4806
  name?: string;
5167
4807
  /**
5168
4808
  * The object ID of the asset (used for Sui tokens)
5169
- * @pattern ^(0x)?[0-9a-fA-Z]+$
4809
+ * @pattern ^(0x)?[0-9a-fA-F]+$
5170
4810
  */
5171
4811
  suiObjectId?: string;
5172
4812
  /**
@@ -5252,6 +4892,11 @@ export interface UpdateChainDto {
5252
4892
  * @example "Chain Name"
5253
4893
  */
5254
4894
  name?: "BITCOIN" | "ETHEREUM" | "ALGORAND" | "AVALANCHE" | "POLYGON" | "BASE" | "BSC" | "SUI" | "INJECTIVE" | "SEI" | "APTOS" | "SOLANA" | "POLYMESH" | "HEDERA" | "CANTON";
4895
+ /**
4896
+ * Signature scheme for key derivation
4897
+ * @example "secp256k1"
4898
+ */
4899
+ signatureScheme?: "secp256k1" | "ed25519" | "sr25519";
5255
4900
  /**
5256
4901
  * Testnet ID
5257
4902
  * @example "1"
@@ -5401,6 +5046,13 @@ export interface UpdateUserAssetRequestDto {
5401
5046
  walletId: string;
5402
5047
  }
5403
5048
  export interface UpsideCallbackBodyDto {
5049
+ /**
5050
+ * The request signature for verification (SOL format)
5051
+ * @minLength 1
5052
+ * @maxLength 256
5053
+ * @pattern ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
5054
+ */
5055
+ clientRequestSignature?: string;
5404
5056
  /**
5405
5057
  * A message describing the callback status
5406
5058
  * @minLength 1
@@ -5408,22 +5060,26 @@ export interface UpsideCallbackBodyDto {
5408
5060
  * @pattern ^.*$
5409
5061
  * @example "Transaction processed successfully"
5410
5062
  */
5411
- message: string;
5063
+ message?: string;
5064
+ /** The reason for the callback status (SOL format) */
5065
+ reason?: string;
5412
5066
  /**
5413
- * The request signature for verification
5067
+ * The request signature for verification (EVM format)
5414
5068
  * @minLength 1
5415
5069
  * @maxLength 256
5416
5070
  * @pattern ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
5417
5071
  */
5418
- reqSignature: string;
5072
+ reqSignature?: string;
5073
+ /** The request ID from the relayer (SOL format) */
5074
+ requestId?: string;
5419
5075
  /**
5420
5076
  * The status of the callback
5421
5077
  * @minLength 1
5422
5078
  * @maxLength 50
5423
5079
  * @pattern ^[a-zA-Z_]+$
5424
- * @example "success"
5080
+ * @example "SUCCESS"
5425
5081
  */
5426
- status: string;
5082
+ status: "QUEUED" | "PENDING" | "SUCCESS" | "FAILED";
5427
5083
  /**
5428
5084
  * The transaction hash if the status is success
5429
5085
  * @minLength 66
@@ -5432,6 +5088,8 @@ export interface UpsideCallbackBodyDto {
5432
5088
  * @example "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
5433
5089
  */
5434
5090
  txHash?: string;
5091
+ /** The blockchain transaction hash (SOL format) */
5092
+ txId?: string;
5435
5093
  /** @maxItems 100 */
5436
5094
  txLogs: AdminTransactionTxLog[];
5437
5095
  /** @maxItems 100 */
@@ -5479,11 +5137,6 @@ export interface User {
5479
5137
  * @example "6e464058-67c1-4273-a6a4-8aae522e34be"
5480
5138
  */
5481
5139
  merchantId: string;
5482
- /**
5483
- * MPC service user id mapping
5484
- * @example "6e464058-67c1-4273-a6a4-8aae522e34be"
5485
- */
5486
- mpcUserId: string;
5487
5140
  /**
5488
5141
  * User Role ID
5489
5142
  * @example "merchant_admin"
@@ -5736,7 +5389,7 @@ export interface V2TransferRequestDto {
5736
5389
  * Origin address
5737
5390
  * @minLength 1
5738
5391
  * @maxLength 256
5739
- * @pattern ^(0x)?[0-9a-fA-Z]+$
5392
+ * @pattern ^(0x)?[0-9a-fA-F]+$
5740
5393
  * @example "0x6127DCB35b4625C2559526EEc22300c2Df804B5c"
5741
5394
  */
5742
5395
  originAddress: string;
@@ -5744,7 +5397,7 @@ export interface V2TransferRequestDto {
5744
5397
  * Recipient address
5745
5398
  * @minLength 1
5746
5399
  * @maxLength 256
5747
- * @pattern ^(0x)?[0-9a-fA-Z]+$
5400
+ * @pattern ^(0x)?[0-9a-fA-F]+$
5748
5401
  * @example "0x7cBc2e807d0191c5b9EA332CCec2423f8d72D626"
5749
5402
  */
5750
5403
  recipientAddress: string;
@@ -5766,6 +5419,14 @@ export interface V2TransferRequestDto {
5766
5419
  * @example "TRANSFER_TX"
5767
5420
  */
5768
5421
  transactionType?: "TRANSFER_TX" | "OPTIN_TX" | "ALLOWANCE_TX" | "SWAP_ALLOWANCE_TX" | "SWAP_TX" | "CLAIM_DIVIDEND_TX";
5422
+ /**
5423
+ * Wallet ID
5424
+ * @minLength 36
5425
+ * @maxLength 36
5426
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
5427
+ * @example "a4dedb83-4d59-41ca-84b5-4b24a98878d8"
5428
+ */
5429
+ walletId: string;
5769
5430
  }
5770
5431
  export type VerifyAccessData = VerifyAccessResponseDto;
5771
5432
  export interface VerifyAccessRequestDto {
@@ -5906,7 +5567,7 @@ export interface WallabyAuthPubKeyResponseDto {
5906
5567
  * Wallaby Auth Public Key
5907
5568
  * @minLength 128
5908
5569
  * @maxLength 256
5909
- * @pattern ^(0x)?[0-9a-fA-Z]+$
5570
+ * @pattern ^(0x)?[0-9a-fA-F]+$
5910
5571
  * @example "4ecb720b1392468c75803d6252ac987c113206955070b96df1208c1c480338168e1407cec4b5af2f91d12af9b725cbd85af994b29c6364971a7ef8d955be83dc"
5911
5572
  */
5912
5573
  wallabyAuthPubKey: string;
@@ -5919,12 +5580,26 @@ export interface Wallet {
5919
5580
  * @example "user_created"
5920
5581
  */
5921
5582
  creationType?: "user_imported" | "user_created" | null;
5583
+ /** The hashed default EVM address + user salt, used for quick look up purposes */
5584
+ hashedEthAddressSalt: string;
5585
+ /**
5586
+ * The hashed seed phrase + user salt, used for quick look up purposes. Deprecated - use hashedEthAddressSalt instead
5587
+ * @deprecated
5588
+ */
5589
+ hashedSeedPhraseSalt: string;
5922
5590
  /** Wallet ID */
5923
5591
  id: string;
5592
+ /**
5593
+ * Status of the wallaby auth key migration for this wallet
5594
+ * @example "not_required"
5595
+ */
5596
+ keyMigrationStatus: "not_required" | "pending" | "migrated" | "failed";
5924
5597
  keyShares: KeyShare;
5925
5598
  merchant: Merchant;
5926
5599
  /** Merchant ID */
5927
5600
  merchantId: string;
5601
+ /** Reason this wallet failed key migration, when keyMigrationStatus = failed */
5602
+ migrationErrorMessage?: string | null;
5928
5603
  /** Wallet revision number */
5929
5604
  revisionId: string;
5930
5605
  /** Wallet revision name */
@@ -5934,6 +5609,7 @@ export interface Wallet {
5934
5609
  /** Wallet user ID */
5935
5610
  userId: string;
5936
5611
  walletAddresses: WalletAddress;
5612
+ walletKeks: WalletKek;
5937
5613
  }
5938
5614
  export interface WalletAddress {
5939
5615
  /** Wallet Address */
@@ -5954,14 +5630,14 @@ export interface WalletAddressType {
5954
5630
  /** Address Type ID */
5955
5631
  id: number;
5956
5632
  /** name */
5957
- name: "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" | "MATIC:ALL:DEFAULT" | "BASE:ALL:DEFAULT" | "SEI:ALL:DEFAULT" | "HBAR:ALL:DEFAULT" | "CC:ALL:DEFAULT";
5633
+ name: "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";
5958
5634
  walletAddresses: WalletAddress;
5959
5635
  }
5960
5636
  export interface WalletAddressesInfoEntry {
5961
5637
  address: string;
5962
5638
  chainId: string;
5963
5639
  chainName: string;
5964
- type: "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" | "MATIC:ALL:DEFAULT" | "BASE:ALL:DEFAULT" | "SEI:ALL:DEFAULT" | "HBAR:ALL:DEFAULT" | "CC:ALL:DEFAULT";
5640
+ type: "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";
5965
5641
  }
5966
5642
  export interface WalletBulkBalanceQueryDto {
5967
5643
  /**
@@ -5994,6 +5670,11 @@ export interface WalletCompleteRecoveryCodeDto {
5994
5670
  * @example "0xb44e88ff3c67de6e6548a6caf006bf6e1cb841119d0b9ea1b7e9b2d36a5e0ed42fd9f5e543243d1d73dc4b7800cc2026f74961f4edc769699678a316abb34e661c"
5995
5671
  */
5996
5672
  signature: string;
5673
+ /**
5674
+ * Wallet ID. When set, recovery skips scanning by derived EVM origin address and validates this wallet belongs to the user and matches the derived address.
5675
+ * @example "a4dedb83-4d59-41ca-84b5-4b24a98878d8"
5676
+ */
5677
+ walletId?: string;
5997
5678
  }
5998
5679
  export interface WalletCompleteRecoveryCodeResponseDto {
5999
5680
  /**
@@ -6010,11 +5691,10 @@ export interface WalletCreatedDto {
6010
5691
  * @maxItems 1000
6011
5692
  */
6012
5693
  assets: UserAssetDto[];
6013
- /**
6014
- * Single Wrapper Encrypted seed phrase encrypted with its corresponding wallabyAuthPubKey
6015
- * @example "{"iv":"b7b643ebccf35c262aa2d5c2729c5f3d","ephemPublicKey":"040cff71ed16f1105c45c2214c9e72d3eabde48efe3759c6f150352b19aa8054c302dc1fd8b4f3927bd7d74ae0186854b3a13de7673be4f8424a6ba3702c239729","ciphertext":"736bc1881a02fa08df4a3f1e35d426660e3c35471facba2866e960f8a19b783bac30d037b07dc9e6406e258d09a4a7e4a7cf58d20cf7b8b7201db0f80849a48d20389039e3fc196f42796fe6d501f47afb030f9946ecbc148d8da1e46c3793a4","mac":"b6cbbdbbc3a311d919340fc3ec9ee1911d9ead6d989efa73e0ac3303c51a353e"}"
6016
- */
6017
- encryptedSeed: EncryptedDataInterface;
5694
+ /** Backup share encrypted symmetrically with a random KEK. Present when wallabyKeepsOne=true and totalShares>=3. */
5695
+ encryptedBackupShare?: SymmetricEncryptedDto;
5696
+ /** Encrypted seed phrase. For standard wallets: ECIES-encrypted with the clientAuthPubKey. For admin wallets: AES-GCM encrypted blob (opaque to the caller). */
5697
+ encryptedSeed: EncryptedDataInterface | SymmetricEncryptedDto;
6018
5698
  encryptedSeedForSharesSplit: EncryptedDataInterface;
6019
5699
  /**
6020
5700
  * Split request reference, unique value to uniquely reference a split operation
@@ -6030,6 +5710,7 @@ export interface WalletCreatedDto {
6030
5710
  shares: EncryptedDataInterface[];
6031
5711
  /**
6032
5712
  * Wallaby Auth Pub Key
5713
+ * @deprecated
6033
5714
  * @example "0xb3a4611225c37c6f1cb5414532c87be388f512c00cbcec6cfc5a4c283742796d"
6034
5715
  */
6035
5716
  wallabyAuthPubKey: string;
@@ -6046,7 +5727,7 @@ export interface WalletDto {
6046
5727
  id: string;
6047
5728
  /**
6048
5729
  * Wallet revision ID
6049
- * @example "v1"
5730
+ * @example "v2"
6050
5731
  */
6051
5732
  revisionName: string;
6052
5733
  /**
@@ -6055,6 +5736,7 @@ export interface WalletDto {
6055
5736
  */
6056
5737
  userId: string;
6057
5738
  }
5739
+ export type WalletKek = object;
6058
5740
  export interface WalletSeedImportRequestDto {
6059
5741
  /** @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc" */
6060
5742
  clientAuthPubKey: string;
@@ -6073,21 +5755,17 @@ export interface WalletSeedImportRequestDto {
6073
5755
  * @example "0xb44e88ff3c67de6e6548a6caf006bf6e1cb841119d0b9ea1b7e9b2d36a5e0ed42fd9f5e543243d1d73dc4b7800cc2026f74961f4edc769699678a316abb34e661c"
6074
5756
  */
6075
5757
  signature: string;
6076
- }
6077
- export interface WalletSharesRetrievedDto {
6078
5758
  /**
6079
- * A list of encrypted shares split from a seed phrase. These shares are encrypted with the user public key.
6080
- * @maxItems 100
6081
- * @default []
6082
- * @example [{"iv":"b7b643ebccf35c262aa2d5c2729c5f3d","ephemPublicKey":"040cff71ed16f1105c45c2214c9e72d3eabde48efe3759c6f150352b19aa8054c302dc1fd8b4f3927bd7d74ae0186854b3a13de7673be4f8424a6ba3702c239729","ciphertext":"736bc1881a02fa08df4a3f1e35d426660e3c35471facba2866e960f8a19b783bac30d037b07dc9e6406e258d09a4a7e4a7cf58d20cf7b8b7201db0f80849a48d20389039e3fc196f42796fe6d501f47afb030f9946ecbc148d8da1e46c3793a4","mac":"b6cbbdbbc3a311d919340fc3ec9ee1911d9ead6d989efa73e0ac3303c51a353e"},{"iv":"b7b643ebccf35c262aa2d5c2729c5f3d","ephemPublicKey":"040cff71ed16f1105c45c2214c9e72d3eabde48efe3759c6f150352b19aa8054c302dc1fd8b4f3927bd7d74ae0186854b3a13de7673be4f8424a6ba3702c239729","ciphertext":"736bc1881a02fa08df4a3f1e35d426660e3c35471facba2866e960f8a19b783bac30d037b07dc9e6406e258d09a4a7e4a7cf58d20cf7b8b7201db0f80849a48d20389039e3fc196f42796fe6d501f47afb030f9946ecbc148d8da1e46c3793a4","mac":"b6cbbdbbc3a311d919340fc3ec9ee1911d9ead6d989efa73e0ac3303c51a353e"}]
5759
+ * The wallet ID associated with the wallet, it can be undefined for new wallets
5760
+ * @format uuid
6083
5761
  */
6084
- shares: KeyShareDto[];
5762
+ walletId: string;
6085
5763
  }
6086
5764
  export interface WalletType {
6087
5765
  /** Wallet Type ID */
6088
5766
  id: number;
6089
5767
  /** Roles for this wallet type */
6090
- roles: ("single_sig" | "entity" | "shares_single_owner" | "contract_admin" | "reserve_admin" | "wallets_admin" | "transfer_admin" | "soft_burn_admin" | "mint_admin" | "automation_admin")[];
5768
+ roles: ("single_sig" | "shares_single_owner" | "contract_admin" | "reserve_admin" | "wallets_admin" | "transfer_admin" | "soft_burn_admin" | "mint_admin" | "automation_admin")[];
6091
5769
  wallets: Wallet[];
6092
5770
  }
6093
5771
  export type WhitelistApiKeyOriginsData = AddMerchantApiKeyOriginResponseDto;
@@ -6224,15 +5902,14 @@ export declare namespace Auth {
6224
5902
  * No description
6225
5903
  * @tags Auth
6226
5904
  * @name RefreshAccessToken
6227
- * @summary Users will be able to sign up by providing a signature and message. Use the same pair keys used on sign up
5905
+ * @summary Exchange a refresh token for a new access token and refresh token pair
6228
5906
  * @request POST:/api/v1/auth/refresh-access-token
6229
- * @deprecated
6230
5907
  * @secure
6231
5908
  */
6232
5909
  namespace RefreshAccessToken {
6233
5910
  type RequestParams = {};
6234
5911
  type RequestQuery = {};
6235
- type RequestBody = never;
5912
+ type RequestBody = AuthRefreshAccessTokenRequestDto;
6236
5913
  type RequestHeaders = {
6237
5914
  /** A unique identifier for the request, used for tracing and debugging */
6238
5915
  "x-client-request-id"?: string;
@@ -6240,10 +5917,10 @@ export declare namespace Auth {
6240
5917
  type ResponseBody = RefreshAccessTokenData;
6241
5918
  }
6242
5919
  /**
6243
- * No description
5920
+ * @description Invalidates the current access token and its associated refresh token. Other active sessions are preserved.
6244
5921
  * @tags Auth
6245
5922
  * @name Logout
6246
- * @summary Invalidate the current session by revoking the bearer token
5923
+ * @summary Revoke the current session by invalidating the access token and its linked refresh token.
6247
5924
  * @request POST:/api/v1/auth/logout
6248
5925
  * @secure
6249
5926
  */
@@ -6329,6 +6006,10 @@ export declare namespace Chains {
6329
6006
  * @format date-time
6330
6007
  */
6331
6008
  fromDate?: string;
6009
+ /** Limit per page */
6010
+ limit: Object;
6011
+ /** Page number */
6012
+ page: Object;
6332
6013
  /**
6333
6014
  * Search
6334
6015
  * @minLength 3
@@ -6421,11 +6102,20 @@ export declare namespace Assets {
6421
6102
  type RequestParams = {};
6422
6103
  type RequestQuery = {
6423
6104
  chainName?: "BITCOIN" | "ETHEREUM" | "ALGORAND" | "AVALANCHE" | "POLYGON" | "BASE" | "BSC" | "SUI" | "INJECTIVE" | "SEI" | "APTOS" | "SOLANA" | "POLYMESH" | "HEDERA" | "CANTON";
6105
+ /**
6106
+ * Filter assets by contract address
6107
+ * @maxLength 256
6108
+ */
6109
+ contractAddress?: string;
6424
6110
  /**
6425
6111
  * Filter by date range from
6426
6112
  * @format date-time
6427
6113
  */
6428
6114
  fromDate?: string;
6115
+ /** Limit per page */
6116
+ limit: Object;
6117
+ /** Page number */
6118
+ page: Object;
6429
6119
  /**
6430
6120
  * Search
6431
6121
  * @minLength 3
@@ -6483,6 +6173,34 @@ export declare namespace Assets {
6483
6173
  };
6484
6174
  type ResponseBody = CreateAssetConfigData;
6485
6175
  }
6176
+ /**
6177
+ * No description
6178
+ * @tags Assets
6179
+ * @name GetAssetConfigById
6180
+ * @summary Get asset configuration by ID
6181
+ * @request GET:/api/v1/assets/configurations/{assetConfigId}
6182
+ * @secure
6183
+ */
6184
+ namespace GetAssetConfigById {
6185
+ type RequestParams = {
6186
+ /**
6187
+ * Asset Config ID
6188
+ * @format uuid
6189
+ * @minLength 36
6190
+ * @maxLength 36
6191
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
6192
+ * @example "a4dedb83-4d59-41ca-84b5-4b24a98878d8"
6193
+ */
6194
+ assetConfigId: string;
6195
+ };
6196
+ type RequestQuery = {};
6197
+ type RequestBody = never;
6198
+ type RequestHeaders = {
6199
+ /** A unique identifier for the request, used for tracing and debugging */
6200
+ "x-client-request-id"?: string;
6201
+ };
6202
+ type ResponseBody = GetAssetConfigByIdData;
6203
+ }
6486
6204
  /**
6487
6205
  * No description
6488
6206
  * @tags Assets
@@ -6641,6 +6359,10 @@ export declare namespace Merchants {
6641
6359
  * @format date-time
6642
6360
  */
6643
6361
  fromDate?: string;
6362
+ /** Limit per page */
6363
+ limit: Object;
6364
+ /** Page number */
6365
+ page: Object;
6644
6366
  /**
6645
6367
  * Search
6646
6368
  * @minLength 3
@@ -6773,6 +6495,10 @@ export declare namespace Merchants {
6773
6495
  isDefault?: boolean;
6774
6496
  /** Asset visibility status */
6775
6497
  isVisible?: boolean;
6498
+ /** Limit per page */
6499
+ limit: Object;
6500
+ /** Page number */
6501
+ page: Object;
6776
6502
  /**
6777
6503
  * Search
6778
6504
  * @minLength 3
@@ -6835,6 +6561,10 @@ export declare namespace Merchants {
6835
6561
  * @format date-time
6836
6562
  */
6837
6563
  fromDate?: string;
6564
+ /** Limit per page */
6565
+ limit: Object;
6566
+ /** Page number */
6567
+ page: Object;
6838
6568
  /**
6839
6569
  * Search
6840
6570
  * @minLength 3
@@ -6890,6 +6620,10 @@ export declare namespace Merchants {
6890
6620
  * @format date-time
6891
6621
  */
6892
6622
  fromDate?: string;
6623
+ /** Limit per page */
6624
+ limit: Object;
6625
+ /** Page number */
6626
+ page: Object;
6893
6627
  /**
6894
6628
  * Search
6895
6629
  * @minLength 3
@@ -6998,6 +6732,10 @@ export declare namespace Merchants {
6998
6732
  * @format date-time
6999
6733
  */
7000
6734
  fromDate?: string;
6735
+ /** Limit per page */
6736
+ limit: Object;
6737
+ /** Page number */
6738
+ page: Object;
7001
6739
  /**
7002
6740
  * Search
7003
6741
  * @minLength 3
@@ -7172,6 +6910,10 @@ export declare namespace Wallets {
7172
6910
  * @format date-time
7173
6911
  */
7174
6912
  fromDate?: string;
6913
+ /** Limit per page */
6914
+ limit: Object;
6915
+ /** Page number */
6916
+ page: Object;
7175
6917
  /**
7176
6918
  * Search
7177
6919
  * @minLength 3
@@ -7292,42 +7034,6 @@ export declare namespace Wallets {
7292
7034
  };
7293
7035
  type ResponseBody = ImportWalletSeedPhraseV2Data;
7294
7036
  }
7295
- /**
7296
- * No description
7297
- * @tags Wallets, MPC
7298
- * @name ShareWallet
7299
- * @summary Share an entity wallet with another user
7300
- * @request POST:/api/v1/wallets/initiate-share-wallet
7301
- * @secure
7302
- */
7303
- namespace ShareWallet {
7304
- type RequestParams = {};
7305
- type RequestQuery = {};
7306
- type RequestBody = ShareWalletRequestDto;
7307
- type RequestHeaders = {
7308
- /** A unique identifier for the request, used for tracing and debugging */
7309
- "x-client-request-id"?: string;
7310
- };
7311
- type ResponseBody = ShareWalletData;
7312
- }
7313
- /**
7314
- * No description
7315
- * @tags Wallets, MPC
7316
- * @name UnshareWallet
7317
- * @summary Unshare an entity wallet with a user previously granted access
7318
- * @request POST:/api/v1/wallets/unshare-wallet
7319
- * @secure
7320
- */
7321
- namespace UnshareWallet {
7322
- type RequestParams = {};
7323
- type RequestQuery = {};
7324
- type RequestBody = UnshareWalletRequestDto;
7325
- type RequestHeaders = {
7326
- /** A unique identifier for the request, used for tracing and debugging */
7327
- "x-client-request-id"?: string;
7328
- };
7329
- type ResponseBody = UnshareWalletData;
7330
- }
7331
7037
  /**
7332
7038
  * No description
7333
7039
  * @tags Wallets
@@ -7417,6 +7123,10 @@ export declare namespace Wallets {
7417
7123
  * @deprecated
7418
7124
  */
7419
7125
  isVisible?: boolean;
7126
+ /** Limit per page */
7127
+ limit: Object;
7128
+ /** Page number */
7129
+ page: Object;
7420
7130
  /**
7421
7131
  * Denomination to show asset price in, eg, USD
7422
7132
  * @example "USD will return the asset price in US Dollars"
@@ -7528,77 +7238,43 @@ export declare namespace Wallets {
7528
7238
  };
7529
7239
  type ResponseBody = UpdateUserAssetData;
7530
7240
  }
7531
- /**
7532
- * No description
7533
- * @tags Wallets, Multisig
7534
- * @name CreateMultisigAsset
7535
- * @summary Initiate creation for a new multisig asset, by specifying participants and the threshold
7536
- * @request POST:/api/v1/wallets/create-multisig-asset
7537
- * @secure
7538
- */
7539
- namespace CreateMultisigAsset {
7540
- type RequestParams = {};
7541
- type RequestQuery = {};
7542
- type RequestBody = MultisigCreationRequestDto;
7543
- type RequestHeaders = {
7544
- /** A unique identifier for the request, used for tracing and debugging */
7545
- "x-client-request-id"?: string;
7546
- };
7547
- type ResponseBody = CreateMultisigAssetData;
7548
- }
7549
7241
  /**
7550
7242
  * No description
7551
7243
  * @tags Wallets, Recovery
7552
7244
  * @name InitiateWalletRecovery
7553
7245
  * @summary Wallet Recovery - Step 1: Initiate wallet recovery
7554
7246
  * @request POST:/api/v1/wallets/recover/init
7247
+ * @deprecated
7555
7248
  * @secure
7556
7249
  */
7557
7250
  namespace InitiateWalletRecovery {
7558
7251
  type RequestParams = {};
7559
7252
  type RequestQuery = {};
7560
- type RequestBody = InitiateWalletRecoveryDto;
7561
- type RequestHeaders = {
7562
- /** A unique identifier for the request, used for tracing and debugging */
7563
- "x-client-request-id"?: string;
7564
- };
7565
- type ResponseBody = InitiateWalletRecoveryData;
7566
- }
7567
- /**
7568
- * No description
7569
- * @tags Wallets, Recovery
7570
- * @name RecoverWallet
7571
- * @summary Wallet Recovery - Step 2 and final: Recover the lost wallet and its assets
7572
- * @request POST:/api/v1/wallets/recover
7573
- * @secure
7574
- */
7575
- namespace RecoverWallet {
7576
- type RequestParams = {};
7577
- type RequestQuery = {};
7578
- type RequestBody = WalletCompleteRecoveryCodeDto;
7253
+ type RequestBody = InitiateWalletRecoveryDto;
7579
7254
  type RequestHeaders = {
7580
7255
  /** A unique identifier for the request, used for tracing and debugging */
7581
7256
  "x-client-request-id"?: string;
7582
7257
  };
7583
- type ResponseBody = RecoverWalletData;
7258
+ type ResponseBody = InitiateWalletRecoveryData;
7584
7259
  }
7585
7260
  /**
7586
7261
  * No description
7587
- * @tags Wallets, Algorand
7588
- * @name ConvertStandardPhraseToAlgoSpecific
7589
- * @summary Convert BIP39 Standard seed phrase to Algorand fixed 25 words mnemonic phrase
7590
- * @request POST:/api/v1/wallets/convert-mnemonic-seed
7262
+ * @tags Wallets, Recovery
7263
+ * @name RecoverWallet
7264
+ * @summary Wallet Recovery - Step 2 and final: Recover the lost wallet and its assets
7265
+ * @request POST:/api/v1/wallets/recover
7266
+ * @deprecated
7591
7267
  * @secure
7592
7268
  */
7593
- namespace ConvertStandardPhraseToAlgoSpecific {
7269
+ namespace RecoverWallet {
7594
7270
  type RequestParams = {};
7595
7271
  type RequestQuery = {};
7596
- type RequestBody = MnemonicConversionToAlgoSpecificRequestDto;
7272
+ type RequestBody = WalletCompleteRecoveryCodeDto;
7597
7273
  type RequestHeaders = {
7598
7274
  /** A unique identifier for the request, used for tracing and debugging */
7599
7275
  "x-client-request-id"?: string;
7600
7276
  };
7601
- type ResponseBody = ConvertStandardPhraseToAlgoSpecificData;
7277
+ type ResponseBody = RecoverWalletData;
7602
7278
  }
7603
7279
  /**
7604
7280
  * No description
@@ -7654,6 +7330,10 @@ export declare namespace Wallets {
7654
7330
  * @format date-time
7655
7331
  */
7656
7332
  fromDate?: string;
7333
+ /** Limit per page */
7334
+ limit: Object;
7335
+ /** Page number */
7336
+ page: Object;
7657
7337
  /**
7658
7338
  * Search
7659
7339
  * @minLength 3
@@ -7723,7 +7403,7 @@ export declare namespace Wallets {
7723
7403
  }
7724
7404
  /**
7725
7405
  * No description
7726
- * @tags Wallets, Transactions
7406
+ * @tags Wallets, Swaps
7727
7407
  * @name ExecuteSwap
7728
7408
  * @summary Execute a swap transaction between supported assets
7729
7409
  * @request POST:/api/v1/wallets/execute-swap
@@ -7769,7 +7449,7 @@ export declare namespace Transactions {
7769
7449
  * Origin or spender address
7770
7450
  * @minLength 1
7771
7451
  * @maxLength 256
7772
- * @pattern ^(0x)?[0-9a-fA-Z]+$
7452
+ * @pattern ^(0x)?[0-9a-fA-F]+$
7773
7453
  * @example "0x6127DCB35b4625C2559526EEc22300c2Df804B5c"
7774
7454
  */
7775
7455
  fromAddress?: string;
@@ -7778,6 +7458,10 @@ export declare namespace Transactions {
7778
7458
  * @format date-time
7779
7459
  */
7780
7460
  fromDate?: string;
7461
+ /** Limit per page */
7462
+ limit: Object;
7463
+ /** Page number */
7464
+ page: Object;
7781
7465
  /**
7782
7466
  * Transaction reference
7783
7467
  * @minLength 36
@@ -7807,7 +7491,7 @@ export declare namespace Transactions {
7807
7491
  * Recipient address
7808
7492
  * @minLength 1
7809
7493
  * @maxLength 256
7810
- * @pattern ^(0x)?[0-9a-fA-Z]+$
7494
+ * @pattern ^(0x)?[0-9a-fA-F]+$
7811
7495
  * @example "0x7cBc2e807d0191c5b9EA332CCec2423f8d72D626"
7812
7496
  */
7813
7497
  toAddress?: string;
@@ -7822,7 +7506,7 @@ export declare namespace Transactions {
7822
7506
  * Wallet address to retrieve both incoming and outgoing transaction
7823
7507
  * @minLength 1
7824
7508
  * @maxLength 256
7825
- * @pattern ^(0x)?[0-9a-fA-Z]+$
7509
+ * @pattern ^(0x)?[0-9a-fA-F]+$
7826
7510
  * @example "0x6127DCB35b4625C2559526EEc22300c2Df804B5c"
7827
7511
  */
7828
7512
  walletAddress?: string;
@@ -7855,6 +7539,10 @@ export declare namespace Transactions {
7855
7539
  * @format date-time
7856
7540
  */
7857
7541
  fromDate?: string;
7542
+ /** Limit per page */
7543
+ limit: Object;
7544
+ /** Page number */
7545
+ page: Object;
7858
7546
  /**
7859
7547
  * Search
7860
7548
  * @minLength 3
@@ -7941,78 +7629,6 @@ export declare namespace Transactions {
7941
7629
  };
7942
7630
  type ResponseBody = SendV2TransactionData;
7943
7631
  }
7944
- /**
7945
- * No description
7946
- * @tags Transactions
7947
- * @name InitMultisigTransfer
7948
- * @summary User initiating and signing a multi-sig transfer request
7949
- * @request POST:/api/v1/transactions/init-multisig-transfer
7950
- * @secure
7951
- */
7952
- namespace InitMultisigTransfer {
7953
- type RequestParams = {};
7954
- type RequestQuery = {};
7955
- type RequestBody = InitMultiSigTransferRequestDto;
7956
- type RequestHeaders = {
7957
- /** A unique identifier for the request, used for tracing and debugging */
7958
- "x-client-request-id"?: string;
7959
- };
7960
- type ResponseBody = InitMultisigTransferData;
7961
- }
7962
- /**
7963
- * No description
7964
- * @tags Transactions, Multisig
7965
- * @name InitMultisigAssetOptin
7966
- * @summary User initiating a multi-sig asset optin request and subsequently signs the first signature on the request
7967
- * @request POST:/api/v1/transactions/init-multisig-asset-optin
7968
- * @secure
7969
- */
7970
- namespace InitMultisigAssetOptin {
7971
- type RequestParams = {};
7972
- type RequestQuery = {};
7973
- type RequestBody = MultiSigAssetOptInRequestDto;
7974
- type RequestHeaders = {
7975
- /** A unique identifier for the request, used for tracing and debugging */
7976
- "x-client-request-id"?: string;
7977
- };
7978
- type ResponseBody = InitMultisigAssetOptinData;
7979
- }
7980
- /**
7981
- * No description
7982
- * @tags Transactions, Multisig
7983
- * @name InitMultisigAppOptin
7984
- * @summary User initiating a multi-sig app optin request and subsequently signs the first signature on the request
7985
- * @request POST:/api/v1/transactions/init-multisig-app-optin
7986
- * @secure
7987
- */
7988
- namespace InitMultisigAppOptin {
7989
- type RequestParams = {};
7990
- type RequestQuery = {};
7991
- type RequestBody = MultiSigAppOptInRequestDto;
7992
- type RequestHeaders = {
7993
- /** A unique identifier for the request, used for tracing and debugging */
7994
- "x-client-request-id"?: string;
7995
- };
7996
- type ResponseBody = InitMultisigAppOptinData;
7997
- }
7998
- /**
7999
- * No description
8000
- * @tags Transactions, Multisig
8001
- * @name SignOnMultisigTransactionRequest
8002
- * @summary Append signature to an existing multisig transaction request: It can be a request to transfer, optin, etc, ...
8003
- * @request POST:/api/v1/transactions/sign-multisig-request
8004
- * @secure
8005
- */
8006
- namespace SignOnMultisigTransactionRequest {
8007
- type RequestParams = {};
8008
- type RequestQuery = {};
8009
- type RequestBody = SignOnMultiSigRequestDto;
8010
- type RequestHeaders = {
8011
- /** A unique identifier for the request, used for tracing and debugging */
8012
- "x-client-request-id"?: string;
8013
- };
8014
- type ResponseBody = SignOnMultisigTransactionRequestData;
8015
- }
8016
7632
  /**
8017
7633
  * No description
8018
7634
  * @tags Transactions, Optin
@@ -8082,7 +7698,7 @@ export declare namespace Transactions {
8082
7698
  * Origin or spender address
8083
7699
  * @minLength 1
8084
7700
  * @maxLength 256
8085
- * @pattern ^(0x)?[0-9a-fA-Z]+$
7701
+ * @pattern ^(0x)?[0-9a-fA-F]+$
8086
7702
  * @example "0x6127DCB35b4625C2559526EEc22300c2Df804B5c"
8087
7703
  */
8088
7704
  originAddress: string;
@@ -8090,7 +7706,7 @@ export declare namespace Transactions {
8090
7706
  * Recipient address
8091
7707
  * @minLength 1
8092
7708
  * @maxLength 256
8093
- * @pattern ^(0x)?[0-9a-fA-Z]+$
7709
+ * @pattern ^(0x)?[0-9a-fA-F]+$
8094
7710
  * @example "0x7cBc2e807d0191c5b9EA332CCec2423f8d72D626"
8095
7711
  */
8096
7712
  recipientAddress: string;
@@ -8112,24 +7728,6 @@ export declare namespace Transactions {
8112
7728
  };
8113
7729
  type ResponseBody = GetEstimateFeeData;
8114
7730
  }
8115
- /**
8116
- * @description The sign and broadcast transaction API was designed and implemented specifically for uses cases where the caller has their own custom raw transaction that is not yet currently supported by Wallaby
8117
- * @tags Transactions, Raw, Transactions
8118
- * @name SignAndBroadcastRawTx
8119
- * @summary Sign and broadcast raw transaction API
8120
- * @request POST:/api/v1/transactions/sign-broadcast-rawtx
8121
- * @secure
8122
- */
8123
- namespace SignAndBroadcastRawTx {
8124
- type RequestParams = {};
8125
- type RequestQuery = {};
8126
- type RequestBody = RawTxRequestDto;
8127
- type RequestHeaders = {
8128
- /** A unique identifier for the request, used for tracing and debugging */
8129
- "x-client-request-id"?: string;
8130
- };
8131
- type ResponseBody = SignAndBroadcastRawTxData;
8132
- }
8133
7731
  /**
8134
7732
  * No description
8135
7733
  * @tags Transactions, Query
@@ -8161,24 +7759,6 @@ export declare namespace Transactions {
8161
7759
  };
8162
7760
  type ResponseBody = FetchTransactionByHashOrReferenceData;
8163
7761
  }
8164
- /**
8165
- * No description
8166
- * @tags Transactions, Transactions, Multisig, Raw
8167
- * @name InitMultisigRawTransaction
8168
- * @summary Initiate a multisig raw transaction and sign the first signature on that same transaction
8169
- * @request POST:/api/v1/transactions/init-sign-broadcast-multisig-rawtx
8170
- * @secure
8171
- */
8172
- namespace InitMultisigRawTransaction {
8173
- type RequestParams = {};
8174
- type RequestQuery = {};
8175
- type RequestBody = RawMultiTxInitiationRequestDto;
8176
- type RequestHeaders = {
8177
- /** A unique identifier for the request, used for tracing and debugging */
8178
- "x-client-request-id"?: string;
8179
- };
8180
- type ResponseBody = InitMultisigRawTransactionData;
8181
- }
8182
7762
  /**
8183
7763
  * No description
8184
7764
  * @tags Transactions, Query
@@ -8203,33 +7783,6 @@ export declare namespace Transactions {
8203
7783
  };
8204
7784
  type ResponseBody = GetDetailedRawTransactionDataByReferenceData;
8205
7785
  }
8206
- /**
8207
- * No description
8208
- * @tags Transactions, Query
8209
- * @name FetchTransactionParticipants
8210
- * @summary Fetch transaction's participants
8211
- * @request GET:/api/v1/transactions/{reference}/participants
8212
- * @secure
8213
- */
8214
- namespace FetchTransactionParticipants {
8215
- type RequestParams = {
8216
- /**
8217
- * Transaction Id
8218
- * @minLength 36
8219
- * @maxLength 36
8220
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
8221
- * @example "6e464058-67c1-4273-a6a4-8aae522e34be"
8222
- */
8223
- reference: string;
8224
- };
8225
- type RequestQuery = {};
8226
- type RequestBody = never;
8227
- type RequestHeaders = {
8228
- /** A unique identifier for the request, used for tracing and debugging */
8229
- "x-client-request-id"?: string;
8230
- };
8231
- type ResponseBody = FetchTransactionParticipantsData;
8232
- }
8233
7786
  /**
8234
7787
  * No description
8235
7788
  * @tags Transactions, Transactions, ERC1404
@@ -8254,7 +7807,7 @@ export declare namespace Transactions {
8254
7807
  * Origin address
8255
7808
  * @minLength 1
8256
7809
  * @maxLength 256
8257
- * @pattern ^(0x)?[0-9a-fA-Z]+$
7810
+ * @pattern ^(0x)?[0-9a-fA-F]+$
8258
7811
  * @example "0x9bf4001d307dfd62b26a2f1307ee0c0307632d59"
8259
7812
  */
8260
7813
  fromAddress: string;
@@ -8262,7 +7815,7 @@ export declare namespace Transactions {
8262
7815
  * Recipient address
8263
7816
  * @minLength 1
8264
7817
  * @maxLength 256
8265
- * @pattern ^(0x)?[0-9a-fA-Z]+$
7818
+ * @pattern ^(0x)?[0-9a-fA-F]+$
8266
7819
  * @example "0xb44e88ff3c67de6e6548a6caf006bf6e1cb84111"
8267
7820
  */
8268
7821
  toAddress: string;
@@ -8270,7 +7823,7 @@ export declare namespace Transactions {
8270
7823
  * Optional ERC1404 token contract address on chain, when this is supplied, the assetId field will be ignored
8271
7824
  * @minLength 1
8272
7825
  * @maxLength 256
8273
- * @pattern ^(0x)?[0-9a-fA-Z]+$
7826
+ * @pattern ^(0x)?[0-9a-fA-F]+$
8274
7827
  * @example "0x28aef3b18daec312860dd030102a427ed43dac71"
8275
7828
  */
8276
7829
  tokenContractAddress?: string;
@@ -8319,7 +7872,7 @@ export declare namespace Transactions {
8319
7872
  * Optional ERC1404 token contract address on chain, when this is supplied, the assetId field will be ignored
8320
7873
  * @minLength 1
8321
7874
  * @maxLength 256
8322
- * @pattern ^(0x)?[0-9a-fA-Z]+$
7875
+ * @pattern ^(0x)?[0-9a-fA-F]+$
8323
7876
  * @example "0x28aef3b18daec312860dd030102a427ed43dac71"
8324
7877
  */
8325
7878
  tokenContractAddress?: string;
@@ -8333,7 +7886,7 @@ export declare namespace Transactions {
8333
7886
  }
8334
7887
  /**
8335
7888
  * No description
8336
- * @tags Transactions, Optin
7889
+ * @tags Transactions
8337
7890
  * @name CheckAssetOptinForAddress
8338
7891
  * @summary Get the list of all assets that the current account has opted into. This is only relevant for the Algorand chain
8339
7892
  * @request GET:/api/v1/transactions/check-asset-optin
@@ -8346,7 +7899,7 @@ export declare namespace Transactions {
8346
7899
  * The address of the account that is being checked for optin status on particular assets or apps
8347
7900
  * @minLength 1
8348
7901
  * @maxLength 256
8349
- * @pattern ^(0x)?[0-9a-fA-Z]+$
7902
+ * @pattern ^(0x)?[0-9a-fA-F]+$
8350
7903
  * @example "KFMRQHJVVONKOLXTEQ33CNUQZ4NBGU2EDCE25KNKVMRYPRKLKCNQDAWWTM"
8351
7904
  */
8352
7905
  address: string;
@@ -8360,7 +7913,7 @@ export declare namespace Transactions {
8360
7913
  }
8361
7914
  /**
8362
7915
  * No description
8363
- * @tags Transactions, Optin
7916
+ * @tags Transactions
8364
7917
  * @name CheckAppOptinForAddress
8365
7918
  * @summary Get the list of all apps that the current account has opted into. This is only relevant for the Algorand chain
8366
7919
  * @request GET:/api/v1/transactions/check-app-optin
@@ -8373,7 +7926,7 @@ export declare namespace Transactions {
8373
7926
  * The address of the account that is being checked for optin status on particular assets or apps
8374
7927
  * @minLength 1
8375
7928
  * @maxLength 256
8376
- * @pattern ^(0x)?[0-9a-fA-Z]+$
7929
+ * @pattern ^(0x)?[0-9a-fA-F]+$
8377
7930
  * @example "KFMRQHJVVONKOLXTEQ33CNUQZ4NBGU2EDCE25KNKVMRYPRKLKCNQDAWWTM"
8378
7931
  */
8379
7932
  address: string;
@@ -8419,7 +7972,7 @@ export declare namespace Query {
8419
7972
  /**
8420
7973
  * Asset valid address
8421
7974
  * @maxLength 256
8422
- * @pattern ^(0x)?[0-9a-fA-Z]+$
7975
+ * @pattern ^(0x)?[0-9a-fA-F]+$
8423
7976
  * @example "0x9bf4001d307dfd62b26a2f1307ee0c0307632d59"
8424
7977
  */
8425
7978
  address: string;
@@ -8473,7 +8026,7 @@ export declare namespace Query {
8473
8026
  /**
8474
8027
  * Asset valid address
8475
8028
  * @maxLength 256
8476
- * @pattern ^(0x)?[0-9a-fA-Z]+$
8029
+ * @pattern ^(0x)?[0-9a-fA-F]+$
8477
8030
  * @example "0x9bf4001d307dfd62b26a2f1307ee0c0307632d59"
8478
8031
  */
8479
8032
  address: string;
@@ -8563,7 +8116,7 @@ export declare namespace Query {
8563
8116
  /**
8564
8117
  * Asset valid address
8565
8118
  * @maxLength 256
8566
- * @pattern ^(0x)?[0-9a-fA-Z]+$
8119
+ * @pattern ^(0x)?[0-9a-fA-F]+$
8567
8120
  * @example "0x9bf4001d307dfd62b26a2f1307ee0c0307632d59"
8568
8121
  */
8569
8122
  address: string;
@@ -8615,7 +8168,7 @@ export declare namespace Query {
8615
8168
  /**
8616
8169
  * token contract address or identifier on chain
8617
8170
  * @maxLength 256
8618
- * @pattern ^(0x)?[0-9a-fA-Z]+$
8171
+ * @pattern ^(0x)?[0-9a-fA-F]+$
8619
8172
  * @example "0x28aef3b18daec312860dd030102a427ed43dac71"
8620
8173
  */
8621
8174
  tokenContractAddress: string;
@@ -8656,42 +8209,6 @@ export declare namespace Query {
8656
8209
  }
8657
8210
  }
8658
8211
  export declare namespace Mpc {
8659
- /**
8660
- * No description
8661
- * @tags Mpc
8662
- * @name InitKeyExchange
8663
- * @summary Initialize key exchange process, the keys exchanged will be later used for encryption/decryption of the payloads exchanged
8664
- * @request POST:/api/v1/mpc/init-key-exchange
8665
- * @secure
8666
- */
8667
- namespace InitKeyExchange {
8668
- type RequestParams = {};
8669
- type RequestQuery = {};
8670
- type RequestBody = InitKeyExchangeDto;
8671
- type RequestHeaders = {
8672
- /** A unique identifier for the request, used for tracing and debugging */
8673
- "x-client-request-id"?: string;
8674
- };
8675
- type ResponseBody = InitKeyExchangeData;
8676
- }
8677
- /**
8678
- * No description
8679
- * @tags Mpc
8680
- * @name RequestSeedphraseSplit
8681
- * @summary Request seed phrase split and return shares that can be used later for recovery
8682
- * @request POST:/api/v1/mpc/request-seed-split
8683
- * @secure
8684
- */
8685
- namespace RequestSeedphraseSplit {
8686
- type RequestParams = {};
8687
- type RequestQuery = {};
8688
- type RequestBody = SeedPhraseSplitRequestDto;
8689
- type RequestHeaders = {
8690
- /** A unique identifier for the request, used for tracing and debugging */
8691
- "x-client-request-id"?: string;
8692
- };
8693
- type ResponseBody = RequestSeedphraseSplitData;
8694
- }
8695
8212
  /**
8696
8213
  * No description
8697
8214
  * @tags Mpc
@@ -8728,6 +8245,10 @@ export declare namespace Users {
8728
8245
  * @format date-time
8729
8246
  */
8730
8247
  fromDate?: string;
8248
+ /** Limit per page */
8249
+ limit: Object;
8250
+ /** Page number */
8251
+ page: Object;
8731
8252
  /**
8732
8253
  * Search
8733
8254
  * @minLength 3
@@ -8854,6 +8375,10 @@ export declare namespace Users {
8854
8375
  isDefault?: boolean;
8855
8376
  /** Asset visibility status */
8856
8377
  isVisible?: boolean;
8378
+ /** Limit per page */
8379
+ limit: Object;
8380
+ /** Page number */
8381
+ page: Object;
8857
8382
  /**
8858
8383
  * Search
8859
8384
  * @minLength 3
@@ -8912,6 +8437,10 @@ export declare namespace Users {
8912
8437
  isDefault?: boolean;
8913
8438
  /** Asset visibility status */
8914
8439
  isVisible?: boolean;
8440
+ /** Limit per page */
8441
+ limit: Object;
8442
+ /** Page number */
8443
+ page: Object;
8915
8444
  /**
8916
8445
  * Search
8917
8446
  * @minLength 3
@@ -8976,6 +8505,10 @@ export declare namespace Users {
8976
8505
  groupBy?: string;
8977
8506
  /** Asset visibility status */
8978
8507
  isVisible?: boolean;
8508
+ /** Limit per page */
8509
+ limit: Object;
8510
+ /** Page number */
8511
+ page: Object;
8979
8512
  /**
8980
8513
  * Denomination to show asset price in, eg, USD
8981
8514
  * @example "USD will return the asset price in US Dollars"
@@ -9121,39 +8654,6 @@ export declare namespace Users {
9121
8654
  };
9122
8655
  type ResponseBody = GetUserByExternalUserIdData;
9123
8656
  }
9124
- /**
9125
- * No description
9126
- * @tags Users
9127
- * @name GetParticipantsByUserId
9128
- * @summary Returns multisig participants by user id
9129
- * @request GET:/api/v1/users/{userId}/multisig-transactions
9130
- * @secure
9131
- */
9132
- namespace GetParticipantsByUserId {
9133
- type RequestParams = {
9134
- /**
9135
- * User ID
9136
- * @minLength 36
9137
- * @maxLength 36
9138
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
9139
- * @example "6e464058-67c1-4273-a6a4-8aae522e34be"
9140
- */
9141
- userId: string;
9142
- };
9143
- type RequestQuery = {
9144
- /**
9145
- * Participant approval status
9146
- * @default "pending-approval"
9147
- */
9148
- status?: "pending-approval" | "approved" | "rejected";
9149
- };
9150
- type RequestBody = never;
9151
- type RequestHeaders = {
9152
- /** A unique identifier for the request, used for tracing and debugging */
9153
- "x-client-request-id"?: string;
9154
- };
9155
- type ResponseBody = GetParticipantsByUserIdData;
9156
- }
9157
8657
  }
9158
8658
  export declare namespace AdminTransactions {
9159
8659
  /**
@@ -9350,7 +8850,28 @@ export declare namespace AdminTransactions {
9350
8850
  */
9351
8851
  namespace GetCallbackPublicKey {
9352
8852
  type RequestParams = {};
9353
- type RequestQuery = {};
8853
+ type RequestQuery = {
8854
+ /**
8855
+ * Key audience used in derivation label. Defaults to "upside".
8856
+ * @example "upside"
8857
+ */
8858
+ audience?: string;
8859
+ /**
8860
+ * Network chain name used in derivation label.
8861
+ * @example "ethereum"
8862
+ */
8863
+ chain: string;
8864
+ /**
8865
+ * Contract address used in derivation label.
8866
+ * @example "0x1234567890abcdef1234567890abcdef12345678"
8867
+ */
8868
+ contractAddress: string;
8869
+ /**
8870
+ * Key version used in derivation label.
8871
+ * @example "v1"
8872
+ */
8873
+ keyVersion?: string;
8874
+ };
9354
8875
  type RequestBody = never;
9355
8876
  type RequestHeaders = {
9356
8877
  /** A unique identifier for the request, used for tracing and debugging */
@@ -9404,9 +8925,10 @@ export declare namespace AdminTransactions {
9404
8925
  type ResponseBody = UpsideCallbackData;
9405
8926
  }
9406
8927
  }
9407
- export declare namespace V1 {
8928
+ export declare namespace Dashboard {
9408
8929
  /**
9409
8930
  * No description
8931
+ * @tags Dashboard
9410
8932
  * @name GetDashboardData
9411
8933
  * @summary Create new merchant. This endpoint is only available for super admin and republic admin
9412
8934
  * @request GET:/api/v1/dashboard
@@ -9422,8 +8944,11 @@ export declare namespace V1 {
9422
8944
  };
9423
8945
  type ResponseBody = any;
9424
8946
  }
8947
+ }
8948
+ export declare namespace UserActivity {
9425
8949
  /**
9426
8950
  * No description
8951
+ * @tags UserActivity
9427
8952
  * @name GetActivitiees
9428
8953
  * @summary Get all activities. This endpoint is only available for super admin and republic admin
9429
8954
  * @request GET:/api/v1/users-activities
@@ -9437,6 +8962,10 @@ export declare namespace V1 {
9437
8962
  * @format date-time
9438
8963
  */
9439
8964
  fromDate?: string;
8965
+ /** Limit per page */
8966
+ limit: Object;
8967
+ /** Page number */
8968
+ page: Object;
9440
8969
  /**
9441
8970
  * Search
9442
8971
  * @minLength 3
@@ -9530,7 +9059,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
9530
9059
  /**
9531
9060
  * @title STAGING
9532
9061
  * @version 1.0
9533
- * @baseUrl https://staging-testnet.wallaby.cash
9062
+ * @baseUrl https://dev-testnet.wallaby.cash
9534
9063
  * @contact
9535
9064
  *
9536
9065
  * The STAGING is an API that manages the wallets of the Republic Crypto
@@ -9616,18 +9145,17 @@ export declare class Api<SecurityDataType extends unknown> {
9616
9145
  *
9617
9146
  * @tags Auth
9618
9147
  * @name RefreshAccessToken
9619
- * @summary Users will be able to sign up by providing a signature and message. Use the same pair keys used on sign up
9148
+ * @summary Exchange a refresh token for a new access token and refresh token pair
9620
9149
  * @request POST:/api/v1/auth/refresh-access-token
9621
- * @deprecated
9622
9150
  * @secure
9623
9151
  */
9624
- refreshAccessToken: (params?: RequestParams) => Promise<AuthRefreshAccessTokenResponseDto>;
9152
+ refreshAccessToken: (data: AuthRefreshAccessTokenRequestDto, params?: RequestParams) => Promise<AuthRefreshAccessTokenResponseDto>;
9625
9153
  /**
9626
- * No description
9154
+ * @description Invalidates the current access token and its associated refresh token. Other active sessions are preserved.
9627
9155
  *
9628
9156
  * @tags Auth
9629
9157
  * @name Logout
9630
- * @summary Invalidate the current session by revoking the bearer token
9158
+ * @summary Revoke the current session by invalidating the access token and its linked refresh token.
9631
9159
  * @request POST:/api/v1/auth/logout
9632
9160
  * @secure
9633
9161
  */
@@ -9716,6 +9244,16 @@ export declare class Api<SecurityDataType extends unknown> {
9716
9244
  * @secure
9717
9245
  */
9718
9246
  createAssetConfig: (data: CreateAssetConfigDto, params?: RequestParams) => Promise<CreateAssetConfigResponseDto>;
9247
+ /**
9248
+ * No description
9249
+ *
9250
+ * @tags Assets
9251
+ * @name GetAssetConfigById
9252
+ * @summary Get asset configuration by ID
9253
+ * @request GET:/api/v1/assets/configurations/{assetConfigId}
9254
+ * @secure
9255
+ */
9256
+ getAssetConfigById: ({ assetConfigId, ...query }: GetAssetConfigByIdParams, params?: RequestParams) => Promise<GetAssetConfigByIdResponseDto>;
9719
9257
  /**
9720
9258
  * No description
9721
9259
  *
@@ -10000,26 +9538,6 @@ export declare class Api<SecurityDataType extends unknown> {
10000
9538
  * @secure
10001
9539
  */
10002
9540
  importWalletSeedPhraseV2: (data: ImportSeedPhraseV2RequestDto, params?: RequestParams) => Promise<WalletCreatedDto>;
10003
- /**
10004
- * No description
10005
- *
10006
- * @tags Wallets, MPC
10007
- * @name ShareWallet
10008
- * @summary Share an entity wallet with another user
10009
- * @request POST:/api/v1/wallets/initiate-share-wallet
10010
- * @secure
10011
- */
10012
- shareWallet: (data: ShareWalletRequestDto, params?: RequestParams) => Promise<ShareWalletResponseDto>;
10013
- /**
10014
- * No description
10015
- *
10016
- * @tags Wallets, MPC
10017
- * @name UnshareWallet
10018
- * @summary Unshare an entity wallet with a user previously granted access
10019
- * @request POST:/api/v1/wallets/unshare-wallet
10020
- * @secure
10021
- */
10022
- unshareWallet: (data: UnshareWalletRequestDto, params?: RequestParams) => Promise<ShareWalletResponseDto>;
10023
9541
  /**
10024
9542
  * No description
10025
9543
  *
@@ -10080,16 +9598,6 @@ export declare class Api<SecurityDataType extends unknown> {
10080
9598
  * @secure
10081
9599
  */
10082
9600
  updateUserAsset: (query: UpdateUserAssetParams, data: UpdateUserAssetRequestDto, params?: RequestParams) => Promise<UserAssetDto>;
10083
- /**
10084
- * No description
10085
- *
10086
- * @tags Wallets, Multisig
10087
- * @name CreateMultisigAsset
10088
- * @summary Initiate creation for a new multisig asset, by specifying participants and the threshold
10089
- * @request POST:/api/v1/wallets/create-multisig-asset
10090
- * @secure
10091
- */
10092
- createMultisigAsset: (data: MultisigCreationRequestDto, params?: RequestParams) => Promise<UserAsset>;
10093
9601
  /**
10094
9602
  * No description
10095
9603
  *
@@ -10097,6 +9605,7 @@ export declare class Api<SecurityDataType extends unknown> {
10097
9605
  * @name InitiateWalletRecovery
10098
9606
  * @summary Wallet Recovery - Step 1: Initiate wallet recovery
10099
9607
  * @request POST:/api/v1/wallets/recover/init
9608
+ * @deprecated
10100
9609
  * @secure
10101
9610
  */
10102
9611
  initiateWalletRecovery: (data: InitiateWalletRecoveryDto, params?: RequestParams) => Promise<InitiateWalletRecoveryResponseDto>;
@@ -10107,19 +9616,10 @@ export declare class Api<SecurityDataType extends unknown> {
10107
9616
  * @name RecoverWallet
10108
9617
  * @summary Wallet Recovery - Step 2 and final: Recover the lost wallet and its assets
10109
9618
  * @request POST:/api/v1/wallets/recover
9619
+ * @deprecated
10110
9620
  * @secure
10111
9621
  */
10112
9622
  recoverWallet: (data: WalletCompleteRecoveryCodeDto, params?: RequestParams) => Promise<WalletCompleteRecoveryCodeResponseDto>;
10113
- /**
10114
- * No description
10115
- *
10116
- * @tags Wallets, Algorand
10117
- * @name ConvertStandardPhraseToAlgoSpecific
10118
- * @summary Convert BIP39 Standard seed phrase to Algorand fixed 25 words mnemonic phrase
10119
- * @request POST:/api/v1/wallets/convert-mnemonic-seed
10120
- * @secure
10121
- */
10122
- convertStandardPhraseToAlgoSpecific: (data: MnemonicConversionToAlgoSpecificRequestDto, params?: RequestParams) => Promise<any>;
10123
9623
  /**
10124
9624
  * No description
10125
9625
  *
@@ -10153,7 +9653,7 @@ export declare class Api<SecurityDataType extends unknown> {
10153
9653
  /**
10154
9654
  * No description
10155
9655
  *
10156
- * @tags Wallets, Transactions
9656
+ * @tags Wallets, Swaps
10157
9657
  * @name ExecuteSwap
10158
9658
  * @summary Execute a swap transaction between supported assets
10159
9659
  * @request POST:/api/v1/wallets/execute-swap
@@ -10212,46 +9712,6 @@ export declare class Api<SecurityDataType extends unknown> {
10212
9712
  * @secure
10213
9713
  */
10214
9714
  sendV2Transaction: (data: V2TransferRequestDto, params?: RequestParams) => Promise<TransactionResponseDto>;
10215
- /**
10216
- * No description
10217
- *
10218
- * @tags Transactions
10219
- * @name InitMultisigTransfer
10220
- * @summary User initiating and signing a multi-sig transfer request
10221
- * @request POST:/api/v1/transactions/init-multisig-transfer
10222
- * @secure
10223
- */
10224
- initMultisigTransfer: (data: InitMultiSigTransferRequestDto, params?: RequestParams) => Promise<any>;
10225
- /**
10226
- * No description
10227
- *
10228
- * @tags Transactions, Multisig
10229
- * @name InitMultisigAssetOptin
10230
- * @summary User initiating a multi-sig asset optin request and subsequently signs the first signature on the request
10231
- * @request POST:/api/v1/transactions/init-multisig-asset-optin
10232
- * @secure
10233
- */
10234
- initMultisigAssetOptin: (data: MultiSigAssetOptInRequestDto, params?: RequestParams) => Promise<any>;
10235
- /**
10236
- * No description
10237
- *
10238
- * @tags Transactions, Multisig
10239
- * @name InitMultisigAppOptin
10240
- * @summary User initiating a multi-sig app optin request and subsequently signs the first signature on the request
10241
- * @request POST:/api/v1/transactions/init-multisig-app-optin
10242
- * @secure
10243
- */
10244
- initMultisigAppOptin: (data: MultiSigAppOptInRequestDto, params?: RequestParams) => Promise<any>;
10245
- /**
10246
- * No description
10247
- *
10248
- * @tags Transactions, Multisig
10249
- * @name SignOnMultisigTransactionRequest
10250
- * @summary Append signature to an existing multisig transaction request: It can be a request to transfer, optin, etc, ...
10251
- * @request POST:/api/v1/transactions/sign-multisig-request
10252
- * @secure
10253
- */
10254
- signOnMultisigTransactionRequest: (data: SignOnMultiSigRequestDto, params?: RequestParams) => Promise<any>;
10255
9715
  /**
10256
9716
  * No description
10257
9717
  *
@@ -10282,16 +9742,6 @@ export declare class Api<SecurityDataType extends unknown> {
10282
9742
  * @secure
10283
9743
  */
10284
9744
  getEstimateFee: (query: GetEstimateFeeParams, params?: RequestParams) => Promise<FeeEstimatesResponseDto>;
10285
- /**
10286
- * @description The sign and broadcast transaction API was designed and implemented specifically for uses cases where the caller has their own custom raw transaction that is not yet currently supported by Wallaby
10287
- *
10288
- * @tags Transactions, Raw, Transactions
10289
- * @name SignAndBroadcastRawTx
10290
- * @summary Sign and broadcast raw transaction API
10291
- * @request POST:/api/v1/transactions/sign-broadcast-rawtx
10292
- * @secure
10293
- */
10294
- signAndBroadcastRawTx: (data: RawTxRequestDto, params?: RequestParams) => Promise<TransactionResponseDto>;
10295
9745
  /**
10296
9746
  * No description
10297
9747
  *
@@ -10302,16 +9752,6 @@ export declare class Api<SecurityDataType extends unknown> {
10302
9752
  * @secure
10303
9753
  */
10304
9754
  fetchTransactionByHashOrReference: (query: FetchTransactionByHashOrReferenceParams, params?: RequestParams) => Promise<TransactionStatusDataResponseDto>;
10305
- /**
10306
- * No description
10307
- *
10308
- * @tags Transactions, Transactions, Multisig, Raw
10309
- * @name InitMultisigRawTransaction
10310
- * @summary Initiate a multisig raw transaction and sign the first signature on that same transaction
10311
- * @request POST:/api/v1/transactions/init-sign-broadcast-multisig-rawtx
10312
- * @secure
10313
- */
10314
- initMultisigRawTransaction: (data: RawMultiTxInitiationRequestDto, params?: RequestParams) => Promise<any>;
10315
9755
  /**
10316
9756
  * No description
10317
9757
  *
@@ -10322,16 +9762,6 @@ export declare class Api<SecurityDataType extends unknown> {
10322
9762
  * @secure
10323
9763
  */
10324
9764
  getDetailedRawTransactionDataByReference: (query: GetDetailedRawTransactionDataByReferenceParams, params?: RequestParams) => Promise<Transaction>;
10325
- /**
10326
- * No description
10327
- *
10328
- * @tags Transactions, Query
10329
- * @name FetchTransactionParticipants
10330
- * @summary Fetch transaction's participants
10331
- * @request GET:/api/v1/transactions/{reference}/participants
10332
- * @secure
10333
- */
10334
- fetchTransactionParticipants: ({ reference, ...query }: FetchTransactionParticipantsParams, params?: RequestParams) => Promise<GetTransactionParticipantResponseDto>;
10335
9765
  /**
10336
9766
  * No description
10337
9767
  *
@@ -10355,7 +9785,7 @@ export declare class Api<SecurityDataType extends unknown> {
10355
9785
  /**
10356
9786
  * No description
10357
9787
  *
10358
- * @tags Transactions, Optin
9788
+ * @tags Transactions
10359
9789
  * @name CheckAssetOptinForAddress
10360
9790
  * @summary Get the list of all assets that the current account has opted into. This is only relevant for the Algorand chain
10361
9791
  * @request GET:/api/v1/transactions/check-asset-optin
@@ -10365,7 +9795,7 @@ export declare class Api<SecurityDataType extends unknown> {
10365
9795
  /**
10366
9796
  * No description
10367
9797
  *
10368
- * @tags Transactions, Optin
9798
+ * @tags Transactions
10369
9799
  * @name CheckAppOptinForAddress
10370
9800
  * @summary Get the list of all apps that the current account has opted into. This is only relevant for the Algorand chain
10371
9801
  * @request GET:/api/v1/transactions/check-app-optin
@@ -10456,26 +9886,6 @@ export declare class Api<SecurityDataType extends unknown> {
10456
9886
  fetchAssetPairPrice: (query: FetchAssetPairPriceParams, params?: RequestParams) => Promise<AssetPriceResponseDto>;
10457
9887
  };
10458
9888
  mpc: {
10459
- /**
10460
- * No description
10461
- *
10462
- * @tags Mpc
10463
- * @name InitKeyExchange
10464
- * @summary Initialize key exchange process, the keys exchanged will be later used for encryption/decryption of the payloads exchanged
10465
- * @request POST:/api/v1/mpc/init-key-exchange
10466
- * @secure
10467
- */
10468
- initKeyExchange: (data: InitKeyExchangeDto, params?: RequestParams) => Promise<InitKeyExchangeResponseDto>;
10469
- /**
10470
- * No description
10471
- *
10472
- * @tags Mpc
10473
- * @name RequestSeedphraseSplit
10474
- * @summary Request seed phrase split and return shares that can be used later for recovery
10475
- * @request POST:/api/v1/mpc/request-seed-split
10476
- * @secure
10477
- */
10478
- requestSeedphraseSplit: (data: SeedPhraseSplitRequestDto, params?: RequestParams) => Promise<SeedPhraseSharesSplitResponseDto>;
10479
9889
  /**
10480
9890
  * No description
10481
9891
  *
@@ -10608,16 +10018,6 @@ export declare class Api<SecurityDataType extends unknown> {
10608
10018
  * @secure
10609
10019
  */
10610
10020
  getUserByExternalUserId: ({ externalUserId, ...query }: GetUserByExternalUserIdParams, params?: RequestParams) => Promise<GetUserByExternalUserIdResponseDto>;
10611
- /**
10612
- * No description
10613
- *
10614
- * @tags Users
10615
- * @name GetParticipantsByUserId
10616
- * @summary Returns multisig participants by user id
10617
- * @request GET:/api/v1/users/{userId}/multisig-transactions
10618
- * @secure
10619
- */
10620
- getParticipantsByUserId: ({ userId, ...query }: GetParticipantsByUserIdParams, params?: RequestParams) => Promise<GetParticipantsByUserIdResponseDto>;
10621
10021
  };
10622
10022
  adminTransactions: {
10623
10023
  /**
@@ -10719,7 +10119,7 @@ export declare class Api<SecurityDataType extends unknown> {
10719
10119
  * @request GET:/api/v1/transactions/admin/callback_pk
10720
10120
  * @secure
10721
10121
  */
10722
- getCallbackPublicKey: (params?: RequestParams) => Promise<string>;
10122
+ getCallbackPublicKey: (query: GetCallbackPublicKeyParams, params?: RequestParams) => Promise<string>;
10723
10123
  /**
10724
10124
  * No description
10725
10125
  *
@@ -10741,19 +10141,23 @@ export declare class Api<SecurityDataType extends unknown> {
10741
10141
  */
10742
10142
  upsideCallback: (data: UpsideCallbackBodyDto, params?: RequestParams) => Promise<UpsideCallbackResponseDto>;
10743
10143
  };
10744
- v1: {
10144
+ dashboard: {
10745
10145
  /**
10746
10146
  * No description
10747
10147
  *
10148
+ * @tags Dashboard
10748
10149
  * @name GetDashboardData
10749
10150
  * @summary Create new merchant. This endpoint is only available for super admin and republic admin
10750
10151
  * @request GET:/api/v1/dashboard
10751
10152
  * @secure
10752
10153
  */
10753
10154
  getDashboardData: (params?: RequestParams) => Promise<any>;
10155
+ };
10156
+ userActivity: {
10754
10157
  /**
10755
10158
  * No description
10756
10159
  *
10160
+ * @tags UserActivity
10757
10161
  * @name GetActivitiees
10758
10162
  * @summary Get all activities. This endpoint is only available for super admin and republic admin
10759
10163
  * @request GET:/api/v1/users-activities