@polyester/sdk 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/core-client.d.ts +1 -0
  3. package/dist/core-client.d.ts.map +1 -1
  4. package/dist/gen/index.d.ts +2 -1
  5. package/dist/gen/index.js +2 -1
  6. package/dist/gen/orders/v1/orders_pb.d.ts +26 -1
  7. package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
  8. package/dist/gen/orders/v1/orders_pb.js +8 -1
  9. package/dist/gen/orders/v1/orders_pb.js.map +1 -1
  10. package/dist/gen/polyester/ratelimit/v1/types_pb.d.ts +310 -0
  11. package/dist/gen/polyester/ratelimit/v1/types_pb.d.ts.map +1 -0
  12. package/dist/gen/polyester/ratelimit/v1/types_pb.js +263 -0
  13. package/dist/gen/polyester/ratelimit/v1/types_pb.js.map +1 -0
  14. package/dist/gen/tradews/v1/trade_ws_pb.d.ts +7 -1
  15. package/dist/gen/tradews/v1/trade_ws_pb.d.ts.map +1 -1
  16. package/dist/gen/tradews/v1/trade_ws_pb.js +1 -1
  17. package/dist/gen/tradews/v1/trade_ws_pb.js.map +1 -1
  18. package/dist/index.d.ts +4 -3
  19. package/dist/index.js +3 -3
  20. package/dist/services/accounts/accounts.schemas.js +1 -1
  21. package/dist/services/address-book/address-book.schemas.d.ts +54 -54
  22. package/dist/services/address-book/address-book.schemas.js +1 -1
  23. package/dist/services/api-keys/api-keys.schemas.d.ts +3 -3
  24. package/dist/services/api-keys/api-keys.schemas.js +1 -1
  25. package/dist/services/auth/auth.js +1 -1
  26. package/dist/services/balances/balances.schemas.d.ts +1 -1
  27. package/dist/services/candles/candles.schemas.d.ts +10 -10
  28. package/dist/services/candles/candles.schemas.js +1 -1
  29. package/dist/services/heatmap/heatmap.schemas.d.ts +13 -13
  30. package/dist/services/heatmap/heatmap.schemas.js +1 -1
  31. package/dist/services/lifecycle/lifecycle.schemas.d.ts +114 -114
  32. package/dist/services/lifecycle/lifecycle.schemas.js +1 -1
  33. package/dist/services/market-overview/market-overview.schemas.d.ts +3 -3
  34. package/dist/services/market-overview/market-overview.schemas.js +1 -1
  35. package/dist/services/mfa/mfa.schemas.js +1 -1
  36. package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
  37. package/dist/services/orders/index.d.ts +2 -2
  38. package/dist/services/orders/order-errors.schemas.d.ts +23 -2
  39. package/dist/services/orders/order-errors.schemas.d.ts.map +1 -1
  40. package/dist/services/orders/order-errors.schemas.js +3 -1
  41. package/dist/services/orders/order-errors.schemas.js.map +1 -1
  42. package/dist/services/orders/orders-batch.schemas.d.ts +360 -19
  43. package/dist/services/orders/orders-batch.schemas.d.ts.map +1 -1
  44. package/dist/services/orders/orders-batch.schemas.js +5 -3
  45. package/dist/services/orders/orders-batch.schemas.js.map +1 -1
  46. package/dist/services/orders/orders-input.schemas.d.ts +37 -3
  47. package/dist/services/orders/orders-input.schemas.d.ts.map +1 -1
  48. package/dist/services/orders/orders-modify.schemas.js +1 -1
  49. package/dist/services/orders/orders-output.schemas.d.ts +10 -10
  50. package/dist/services/orders/orders-output.schemas.js +1 -1
  51. package/dist/services/orders/orders.schemas.d.ts +2 -2
  52. package/dist/services/orders/orders.types.d.ts +2 -2
  53. package/dist/services/policies/shared.codecs.js +1 -1
  54. package/dist/services/social-verification/social-verification.schemas.js +1 -1
  55. package/dist/services/subaccounts/subaccounts.js +1 -1
  56. package/dist/services/subaccounts/subaccounts.schemas.d.ts +5 -5
  57. package/dist/services/subaccounts/subaccounts.schemas.js +1 -1
  58. package/dist/services/trades/trades.schemas.js +1 -1
  59. package/dist/services/trading-withdraws/trading-withdraws.js +1 -1
  60. package/dist/services/transfers/transfers.schemas.d.ts +3 -3
  61. package/dist/services/transfers/transfers.schemas.js +1 -1
  62. package/dist/services/triggers/trigger-input.schemas.d.ts +1 -1
  63. package/dist/services/triggers/triggers-output.schemas.d.ts +13 -13
  64. package/dist/services/triggers/triggers-output.schemas.js +1 -1
  65. package/dist/services/whiteboard/whiteboard.schemas.js +1 -1
  66. package/dist/services/zipper/zipper.schemas.d.ts +1 -0
  67. package/dist/services/zipper/zipper.schemas.d.ts.map +1 -1
  68. package/dist/shared/connect-error-mapping.d.ts.map +1 -1
  69. package/dist/shared/connect-error-mapping.js +24 -1
  70. package/dist/shared/connect-error-mapping.js.map +1 -1
  71. package/dist/shared/errors.d.ts +5 -0
  72. package/dist/shared/errors.d.ts.map +1 -1
  73. package/dist/shared/errors.js +3 -0
  74. package/dist/shared/errors.js.map +1 -1
  75. package/dist/shared/rate-limit.schemas.d.ts +32 -0
  76. package/dist/shared/rate-limit.schemas.d.ts.map +1 -0
  77. package/dist/shared/rate-limit.schemas.js +60 -0
  78. package/dist/shared/rate-limit.schemas.js.map +1 -0
  79. package/dist/shared/schemas.js +2 -2
  80. package/dist/shared/schemas.js.map +1 -1
  81. package/dist/utils/connect-order-errors.d.ts +7 -1
  82. package/dist/utils/connect-order-errors.d.ts.map +1 -1
  83. package/dist/utils/connect-order-errors.js +22 -1
  84. package/dist/utils/connect-order-errors.js.map +1 -1
  85. package/package.json +1 -1
@@ -251,7 +251,7 @@ declare const GetAddressBookViewInputSchema: v.SchemaWithPipe<readonly [v.Strict
251
251
  type GetAddressBookViewInput = v.InferInput<typeof GetAddressBookViewInputSchema>;
252
252
  declare const AddressBookSchema: v.ObjectSchema<{
253
253
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
254
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
254
+ readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
255
255
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
256
256
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
257
257
  }, undefined>, undefined>;
@@ -270,7 +270,7 @@ type AddressBookTagSummary = v.InferOutput<typeof AddressBookTagSummarySchema>;
270
270
  declare const AddressBookTagSchema: v.ObjectSchema<{
271
271
  readonly tagId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
272
272
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
273
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
273
+ readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
274
274
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
275
275
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
276
276
  }, undefined>, undefined>;
@@ -295,7 +295,7 @@ type AddressBookTag = v.InferOutput<typeof AddressBookTagSchema>;
295
295
  declare const AddressBookEntrySchema: v.ObjectSchema<{
296
296
  readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
297
297
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
298
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
298
+ readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
299
299
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
300
300
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
301
301
  }, undefined>, undefined>;
@@ -327,7 +327,7 @@ declare const AddressBookEntrySchema: v.ObjectSchema<{
327
327
  readonly value: v.ObjectSchema<{
328
328
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
329
329
  readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
330
- readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
330
+ readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
331
331
  readonly smartAccountAddress: v.StringSchema<undefined>;
332
332
  readonly rootUsername: v.StringSchema<undefined>;
333
333
  readonly subaccountLabel: v.StringSchema<undefined>;
@@ -339,7 +339,7 @@ declare const AddressBookEntrySchema: v.ObjectSchema<{
339
339
  readonly tags: v.ArraySchema<v.ObjectSchema<{
340
340
  readonly tagId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
341
341
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
342
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
342
+ readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
343
343
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
344
344
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
345
345
  }, undefined>, undefined>;
@@ -366,7 +366,7 @@ type AddressBookEntry = v.InferOutput<typeof AddressBookEntrySchema>;
366
366
  declare const AddressBookEntriesSchema: v.ArraySchema<v.ObjectSchema<{
367
367
  readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
368
368
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
369
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
369
+ readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
370
370
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
371
371
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
372
372
  }, undefined>, undefined>;
@@ -398,7 +398,7 @@ declare const AddressBookEntriesSchema: v.ArraySchema<v.ObjectSchema<{
398
398
  readonly value: v.ObjectSchema<{
399
399
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
400
400
  readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
401
- readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
401
+ readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
402
402
  readonly smartAccountAddress: v.StringSchema<undefined>;
403
403
  readonly rootUsername: v.StringSchema<undefined>;
404
404
  readonly subaccountLabel: v.StringSchema<undefined>;
@@ -410,7 +410,7 @@ declare const AddressBookEntriesSchema: v.ArraySchema<v.ObjectSchema<{
410
410
  readonly tags: v.ArraySchema<v.ObjectSchema<{
411
411
  readonly tagId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
412
412
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
413
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
413
+ readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
414
414
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
415
415
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
416
416
  }, undefined>, undefined>;
@@ -437,11 +437,11 @@ type AddressBookEntries = v.InferOutput<typeof AddressBookEntriesSchema>;
437
437
  declare const TransferCounterpartySchema: v.ObjectSchema<{
438
438
  readonly counterpartyId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
439
439
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
440
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
440
+ readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
441
441
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
442
442
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
443
443
  }, undefined>, undefined>;
444
- readonly direction: v.SchemaWithPipe<readonly [v.EnumSchema<typeof TransferCounterpartyDirection, undefined>, v.TransformAction<TransferCounterpartyDirection, "withdrawTo" | "unspecified" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
444
+ readonly direction: v.SchemaWithPipe<readonly [v.EnumSchema<typeof TransferCounterpartyDirection, undefined>, v.TransformAction<TransferCounterpartyDirection, "unspecified" | "withdrawTo" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
445
445
  readonly kind: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AddressBookEntryKind, undefined>, v.TransformAction<AddressBookEntryKind, "unspecified" | "external" | "internal">]>;
446
446
  readonly saved: v.BooleanSchema<undefined>;
447
447
  readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
@@ -471,7 +471,7 @@ declare const TransferCounterpartySchema: v.ObjectSchema<{
471
471
  readonly value: v.ObjectSchema<{
472
472
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
473
473
  readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
474
- readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
474
+ readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
475
475
  readonly smartAccountAddress: v.StringSchema<undefined>;
476
476
  readonly rootUsername: v.StringSchema<undefined>;
477
477
  readonly subaccountLabel: v.StringSchema<undefined>;
@@ -485,11 +485,11 @@ type TransferCounterparty = v.InferOutput<typeof TransferCounterpartySchema>;
485
485
  declare const TransferCounterpartiesSchema: v.ArraySchema<v.ObjectSchema<{
486
486
  readonly counterpartyId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
487
487
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
488
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
488
+ readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
489
489
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
490
490
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
491
491
  }, undefined>, undefined>;
492
- readonly direction: v.SchemaWithPipe<readonly [v.EnumSchema<typeof TransferCounterpartyDirection, undefined>, v.TransformAction<TransferCounterpartyDirection, "withdrawTo" | "unspecified" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
492
+ readonly direction: v.SchemaWithPipe<readonly [v.EnumSchema<typeof TransferCounterpartyDirection, undefined>, v.TransformAction<TransferCounterpartyDirection, "unspecified" | "withdrawTo" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
493
493
  readonly kind: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AddressBookEntryKind, undefined>, v.TransformAction<AddressBookEntryKind, "unspecified" | "external" | "internal">]>;
494
494
  readonly saved: v.BooleanSchema<undefined>;
495
495
  readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
@@ -519,7 +519,7 @@ declare const TransferCounterpartiesSchema: v.ArraySchema<v.ObjectSchema<{
519
519
  readonly value: v.ObjectSchema<{
520
520
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
521
521
  readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
522
- readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
522
+ readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
523
523
  readonly smartAccountAddress: v.StringSchema<undefined>;
524
524
  readonly rootUsername: v.StringSchema<undefined>;
525
525
  readonly subaccountLabel: v.StringSchema<undefined>;
@@ -532,18 +532,18 @@ declare const TransferCounterpartiesSchema: v.ArraySchema<v.ObjectSchema<{
532
532
  type TransferCounterparties = v.InferOutput<typeof TransferCounterpartiesSchema>;
533
533
  declare const TransferDestinationSchema: v.ObjectSchema<{
534
534
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
535
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
535
+ readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
536
536
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
537
537
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
538
538
  }, undefined>, undefined>;
539
539
  readonly kind: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AddressBookEntryKind, undefined>, v.TransformAction<AddressBookEntryKind, "unspecified" | "external" | "internal">]>;
540
540
  readonly saved: v.BooleanSchema<undefined>;
541
541
  readonly whitelisted: v.BooleanSchema<undefined>;
542
- readonly whitelistStatus: v.SchemaWithPipe<readonly [v.EnumSchema<typeof DestinationWhitelistStatus, undefined>, v.TransformAction<DestinationWhitelistStatus, "active" | "unspecified" | "notWhitelisted" | "unresolved">]>;
542
+ readonly whitelistStatus: v.SchemaWithPipe<readonly [v.EnumSchema<typeof DestinationWhitelistStatus, undefined>, v.TransformAction<DestinationWhitelistStatus, "unspecified" | "active" | "notWhitelisted" | "unresolved">]>;
543
543
  readonly addressBookEntry: v.OptionalSchema<v.ObjectSchema<{
544
544
  readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
545
545
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
546
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
546
+ readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
547
547
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
548
548
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
549
549
  }, undefined>, undefined>;
@@ -575,7 +575,7 @@ declare const TransferDestinationSchema: v.ObjectSchema<{
575
575
  readonly value: v.ObjectSchema<{
576
576
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
577
577
  readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
578
- readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
578
+ readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
579
579
  readonly smartAccountAddress: v.StringSchema<undefined>;
580
580
  readonly rootUsername: v.StringSchema<undefined>;
581
581
  readonly subaccountLabel: v.StringSchema<undefined>;
@@ -587,7 +587,7 @@ declare const TransferDestinationSchema: v.ObjectSchema<{
587
587
  readonly tags: v.ArraySchema<v.ObjectSchema<{
588
588
  readonly tagId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
589
589
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
590
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
590
+ readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
591
591
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
592
592
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
593
593
  }, undefined>, undefined>;
@@ -621,7 +621,7 @@ declare const TransferDestinationSchema: v.ObjectSchema<{
621
621
  readonly value: v.ObjectSchema<{
622
622
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
623
623
  readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
624
- readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
624
+ readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
625
625
  readonly smartAccountAddress: v.StringSchema<undefined>;
626
626
  readonly rootUsername: v.StringSchema<undefined>;
627
627
  readonly subaccountLabel: v.StringSchema<undefined>;
@@ -648,18 +648,18 @@ declare const TransferDestinationSchema: v.ObjectSchema<{
648
648
  type TransferDestination = v.InferOutput<typeof TransferDestinationSchema>;
649
649
  declare const TransferDestinationsSchema: v.ArraySchema<v.ObjectSchema<{
650
650
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
651
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
651
+ readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
652
652
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
653
653
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
654
654
  }, undefined>, undefined>;
655
655
  readonly kind: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AddressBookEntryKind, undefined>, v.TransformAction<AddressBookEntryKind, "unspecified" | "external" | "internal">]>;
656
656
  readonly saved: v.BooleanSchema<undefined>;
657
657
  readonly whitelisted: v.BooleanSchema<undefined>;
658
- readonly whitelistStatus: v.SchemaWithPipe<readonly [v.EnumSchema<typeof DestinationWhitelistStatus, undefined>, v.TransformAction<DestinationWhitelistStatus, "active" | "unspecified" | "notWhitelisted" | "unresolved">]>;
658
+ readonly whitelistStatus: v.SchemaWithPipe<readonly [v.EnumSchema<typeof DestinationWhitelistStatus, undefined>, v.TransformAction<DestinationWhitelistStatus, "unspecified" | "active" | "notWhitelisted" | "unresolved">]>;
659
659
  readonly addressBookEntry: v.OptionalSchema<v.ObjectSchema<{
660
660
  readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
661
661
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
662
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
662
+ readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
663
663
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
664
664
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
665
665
  }, undefined>, undefined>;
@@ -691,7 +691,7 @@ declare const TransferDestinationsSchema: v.ArraySchema<v.ObjectSchema<{
691
691
  readonly value: v.ObjectSchema<{
692
692
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
693
693
  readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
694
- readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
694
+ readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
695
695
  readonly smartAccountAddress: v.StringSchema<undefined>;
696
696
  readonly rootUsername: v.StringSchema<undefined>;
697
697
  readonly subaccountLabel: v.StringSchema<undefined>;
@@ -703,7 +703,7 @@ declare const TransferDestinationsSchema: v.ArraySchema<v.ObjectSchema<{
703
703
  readonly tags: v.ArraySchema<v.ObjectSchema<{
704
704
  readonly tagId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
705
705
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
706
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
706
+ readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
707
707
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
708
708
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
709
709
  }, undefined>, undefined>;
@@ -737,7 +737,7 @@ declare const TransferDestinationsSchema: v.ArraySchema<v.ObjectSchema<{
737
737
  readonly value: v.ObjectSchema<{
738
738
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
739
739
  readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
740
- readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
740
+ readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
741
741
  readonly smartAccountAddress: v.StringSchema<undefined>;
742
742
  readonly rootUsername: v.StringSchema<undefined>;
743
743
  readonly subaccountLabel: v.StringSchema<undefined>;
@@ -765,13 +765,13 @@ type TransferDestinations = v.InferOutput<typeof TransferDestinationsSchema>;
765
765
  declare const InternalTransferWhitelistEntrySchema: v.ObjectSchema<{
766
766
  readonly entryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
767
767
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
768
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
768
+ readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
769
769
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
770
770
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
771
771
  }, undefined>, undefined>;
772
772
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
773
773
  readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
774
- readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
774
+ readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
775
775
  readonly smartAccountAddress: v.StringSchema<undefined>;
776
776
  readonly rootUsername: v.StringSchema<undefined>;
777
777
  readonly subaccountLabel: v.StringSchema<undefined>;
@@ -795,13 +795,13 @@ type InternalTransferWhitelistEntry = v.InferOutput<typeof InternalTransferWhite
795
795
  declare const InternalTransferWhitelistEntriesSchema: v.ArraySchema<v.ObjectSchema<{
796
796
  readonly entryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
797
797
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
798
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
798
+ readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
799
799
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
800
800
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
801
801
  }, undefined>, undefined>;
802
802
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
803
803
  readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
804
- readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
804
+ readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
805
805
  readonly smartAccountAddress: v.StringSchema<undefined>;
806
806
  readonly rootUsername: v.StringSchema<undefined>;
807
807
  readonly subaccountLabel: v.StringSchema<undefined>;
@@ -837,7 +837,7 @@ declare const MirroredWithdrawWhitelistEntrySchema: v.ObjectSchema<{
837
837
  type MirroredWithdrawWhitelistEntry = v.InferOutput<typeof MirroredWithdrawWhitelistEntrySchema>;
838
838
  declare const WithdrawWhitelistViewSchema: v.ObjectSchema<{
839
839
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
840
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
840
+ readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
841
841
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
842
842
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
843
843
  }, undefined>, undefined>;
@@ -861,14 +861,14 @@ declare const AddressBookEntriesViewSchema: v.ObjectSchema<{
861
861
  readonly external: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
862
862
  readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
863
863
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
864
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
864
+ readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
865
865
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
866
866
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
867
867
  }, undefined>, undefined>;
868
868
  readonly label: v.StringSchema<undefined>;
869
869
  readonly note: v.StringSchema<undefined>;
870
870
  readonly tagIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>, undefined>, readonly []>;
871
- readonly whitelistStatus: v.SchemaWithPipe<readonly [v.EnumSchema<typeof DestinationWhitelistStatus, undefined>, v.TransformAction<DestinationWhitelistStatus, "active" | "unspecified" | "notWhitelisted" | "unresolved">]>;
871
+ readonly whitelistStatus: v.SchemaWithPipe<readonly [v.EnumSchema<typeof DestinationWhitelistStatus, undefined>, v.TransformAction<DestinationWhitelistStatus, "unspecified" | "active" | "notWhitelisted" | "unresolved">]>;
872
872
  readonly polychainChainId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
873
873
  readonly address: v.StringSchema<undefined>;
874
874
  readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
@@ -890,17 +890,17 @@ declare const AddressBookEntriesViewSchema: v.ObjectSchema<{
890
890
  readonly internal: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
891
891
  readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
892
892
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
893
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
893
+ readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
894
894
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
895
895
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
896
896
  }, undefined>, undefined>;
897
897
  readonly label: v.StringSchema<undefined>;
898
898
  readonly note: v.StringSchema<undefined>;
899
899
  readonly tagIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>, undefined>, readonly []>;
900
- readonly whitelistStatus: v.SchemaWithPipe<readonly [v.EnumSchema<typeof DestinationWhitelistStatus, undefined>, v.TransformAction<DestinationWhitelistStatus, "active" | "unspecified" | "notWhitelisted" | "unresolved">]>;
900
+ readonly whitelistStatus: v.SchemaWithPipe<readonly [v.EnumSchema<typeof DestinationWhitelistStatus, undefined>, v.TransformAction<DestinationWhitelistStatus, "unspecified" | "active" | "notWhitelisted" | "unresolved">]>;
901
901
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
902
902
  readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
903
- readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
903
+ readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
904
904
  readonly smartAccountAddress: v.StringSchema<undefined>;
905
905
  readonly rootUsername: v.StringSchema<undefined>;
906
906
  readonly subaccountLabel: v.StringSchema<undefined>;
@@ -925,11 +925,11 @@ type AddressBookEntriesView = v.InferOutput<typeof AddressBookEntriesViewSchema>
925
925
  declare const AddressBookRecentDestinationsViewSchema: v.ObjectSchema<{
926
926
  readonly external: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
927
927
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
928
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
928
+ readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
929
929
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
930
930
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
931
931
  }, undefined>, undefined>;
932
- readonly lastDirection: v.SchemaWithPipe<readonly [v.EnumSchema<typeof TransferCounterpartyDirection, undefined>, v.TransformAction<TransferCounterpartyDirection, "withdrawTo" | "unspecified" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
932
+ readonly lastDirection: v.SchemaWithPipe<readonly [v.EnumSchema<typeof TransferCounterpartyDirection, undefined>, v.TransformAction<TransferCounterpartyDirection, "unspecified" | "withdrawTo" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
933
933
  readonly saved: v.BooleanSchema<undefined>;
934
934
  readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
935
935
  readonly useCount: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
@@ -945,11 +945,11 @@ declare const AddressBookRecentDestinationsViewSchema: v.ObjectSchema<{
945
945
  }, undefined>, undefined>, readonly []>;
946
946
  readonly internal: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
947
947
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
948
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
948
+ readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
949
949
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
950
950
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
951
951
  }, undefined>, undefined>;
952
- readonly lastDirection: v.SchemaWithPipe<readonly [v.EnumSchema<typeof TransferCounterpartyDirection, undefined>, v.TransformAction<TransferCounterpartyDirection, "withdrawTo" | "unspecified" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
952
+ readonly lastDirection: v.SchemaWithPipe<readonly [v.EnumSchema<typeof TransferCounterpartyDirection, undefined>, v.TransformAction<TransferCounterpartyDirection, "unspecified" | "withdrawTo" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
953
953
  readonly saved: v.BooleanSchema<undefined>;
954
954
  readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
955
955
  readonly useCount: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
@@ -962,7 +962,7 @@ declare const AddressBookRecentDestinationsViewSchema: v.ObjectSchema<{
962
962
  } | undefined, number | undefined>]>;
963
963
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
964
964
  readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
965
- readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
965
+ readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
966
966
  readonly smartAccountAddress: v.StringSchema<undefined>;
967
967
  readonly rootUsername: v.StringSchema<undefined>;
968
968
  readonly subaccountLabel: v.StringSchema<undefined>;
@@ -972,7 +972,7 @@ type AddressBookRecentDestinationsView = v.InferOutput<typeof AddressBookRecentD
972
972
  declare const AddressBookViewSchema: v.ObjectSchema<{
973
973
  readonly books: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
974
974
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
975
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
975
+ readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
976
976
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
977
977
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
978
978
  }, undefined>, undefined>;
@@ -985,14 +985,14 @@ declare const AddressBookViewSchema: v.ObjectSchema<{
985
985
  readonly external: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
986
986
  readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
987
987
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
988
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
988
+ readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
989
989
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
990
990
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
991
991
  }, undefined>, undefined>;
992
992
  readonly label: v.StringSchema<undefined>;
993
993
  readonly note: v.StringSchema<undefined>;
994
994
  readonly tagIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>, undefined>, readonly []>;
995
- readonly whitelistStatus: v.SchemaWithPipe<readonly [v.EnumSchema<typeof DestinationWhitelistStatus, undefined>, v.TransformAction<DestinationWhitelistStatus, "active" | "unspecified" | "notWhitelisted" | "unresolved">]>;
995
+ readonly whitelistStatus: v.SchemaWithPipe<readonly [v.EnumSchema<typeof DestinationWhitelistStatus, undefined>, v.TransformAction<DestinationWhitelistStatus, "unspecified" | "active" | "notWhitelisted" | "unresolved">]>;
996
996
  readonly polychainChainId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
997
997
  readonly address: v.StringSchema<undefined>;
998
998
  readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
@@ -1014,17 +1014,17 @@ declare const AddressBookViewSchema: v.ObjectSchema<{
1014
1014
  readonly internal: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1015
1015
  readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1016
1016
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
1017
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
1017
+ readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
1018
1018
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1019
1019
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1020
1020
  }, undefined>, undefined>;
1021
1021
  readonly label: v.StringSchema<undefined>;
1022
1022
  readonly note: v.StringSchema<undefined>;
1023
1023
  readonly tagIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>, undefined>, readonly []>;
1024
- readonly whitelistStatus: v.SchemaWithPipe<readonly [v.EnumSchema<typeof DestinationWhitelistStatus, undefined>, v.TransformAction<DestinationWhitelistStatus, "active" | "unspecified" | "notWhitelisted" | "unresolved">]>;
1024
+ readonly whitelistStatus: v.SchemaWithPipe<readonly [v.EnumSchema<typeof DestinationWhitelistStatus, undefined>, v.TransformAction<DestinationWhitelistStatus, "unspecified" | "active" | "notWhitelisted" | "unresolved">]>;
1025
1025
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1026
1026
  readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1027
- readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
1027
+ readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
1028
1028
  readonly smartAccountAddress: v.StringSchema<undefined>;
1029
1029
  readonly rootUsername: v.StringSchema<undefined>;
1030
1030
  readonly subaccountLabel: v.StringSchema<undefined>;
@@ -1048,11 +1048,11 @@ declare const AddressBookViewSchema: v.ObjectSchema<{
1048
1048
  readonly recentDestinations: v.OptionalSchema<v.ObjectSchema<{
1049
1049
  readonly external: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1050
1050
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
1051
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
1051
+ readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
1052
1052
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1053
1053
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1054
1054
  }, undefined>, undefined>;
1055
- readonly lastDirection: v.SchemaWithPipe<readonly [v.EnumSchema<typeof TransferCounterpartyDirection, undefined>, v.TransformAction<TransferCounterpartyDirection, "withdrawTo" | "unspecified" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
1055
+ readonly lastDirection: v.SchemaWithPipe<readonly [v.EnumSchema<typeof TransferCounterpartyDirection, undefined>, v.TransformAction<TransferCounterpartyDirection, "unspecified" | "withdrawTo" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
1056
1056
  readonly saved: v.BooleanSchema<undefined>;
1057
1057
  readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1058
1058
  readonly useCount: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
@@ -1068,11 +1068,11 @@ declare const AddressBookViewSchema: v.ObjectSchema<{
1068
1068
  }, undefined>, undefined>, readonly []>;
1069
1069
  readonly internal: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1070
1070
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
1071
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
1071
+ readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
1072
1072
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1073
1073
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1074
1074
  }, undefined>, undefined>;
1075
- readonly lastDirection: v.SchemaWithPipe<readonly [v.EnumSchema<typeof TransferCounterpartyDirection, undefined>, v.TransformAction<TransferCounterpartyDirection, "withdrawTo" | "unspecified" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
1075
+ readonly lastDirection: v.SchemaWithPipe<readonly [v.EnumSchema<typeof TransferCounterpartyDirection, undefined>, v.TransformAction<TransferCounterpartyDirection, "unspecified" | "withdrawTo" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
1076
1076
  readonly saved: v.BooleanSchema<undefined>;
1077
1077
  readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1078
1078
  readonly useCount: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
@@ -1085,7 +1085,7 @@ declare const AddressBookViewSchema: v.ObjectSchema<{
1085
1085
  } | undefined, number | undefined>]>;
1086
1086
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1087
1087
  readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1088
- readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
1088
+ readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
1089
1089
  readonly smartAccountAddress: v.StringSchema<undefined>;
1090
1090
  readonly rootUsername: v.StringSchema<undefined>;
1091
1091
  readonly subaccountLabel: v.StringSchema<undefined>;
@@ -1098,7 +1098,7 @@ declare const AddressBookViewSchema: v.ObjectSchema<{
1098
1098
  }, undefined>, undefined>, readonly []>;
1099
1099
  readonly withdrawWhitelist: v.OptionalSchema<v.ObjectSchema<{
1100
1100
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
1101
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
1101
+ readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
1102
1102
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1103
1103
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1104
1104
  }, undefined>, undefined>;
@@ -1122,7 +1122,7 @@ declare const AddressBookViewSchema: v.ObjectSchema<{
1122
1122
  type AddressBookView = v.InferOutput<typeof AddressBookViewSchema>;
1123
1123
  declare const AddressBookViewInvalidatedSchema: v.ObjectSchema<{
1124
1124
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
1125
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
1125
+ readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
1126
1126
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1127
1127
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1128
1128
  }, undefined>, undefined>;
@@ -1,5 +1,5 @@
1
- import { BigIntStringSchema, OptionalTimestampMsSchema, PublicIdSchema, TimestampMsSchema as TimestampMsSchema$1, idInputSchema, optionalSubaccountIdInputSchema, positiveBigintStringInputSchema } from "../../shared/schemas.js";
2
1
  import { requiredEnumLabel } from "../../shared/proto-enum-codec.js";
2
+ import { BigIntStringSchema, OptionalTimestampMsSchema, PublicIdSchema, TimestampMsSchema as TimestampMsSchema$1, idInputSchema, optionalSubaccountIdInputSchema, positiveBigintStringInputSchema } from "../../shared/schemas.js";
3
3
  import { buildProtoPatch, defineProtoPatchFields } from "../../utils/proto-patch.js";
4
4
  import { AccountScopeInputEntries, accountScopeToSubaccountId } from "../../shared/account-scope.js";
5
5
  import { SubaccountRole } from "../../gen/auth/v1/subaccounts_pb.js";
@@ -134,7 +134,7 @@ declare const ApiKeySchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
134
134
  seconds: bigint;
135
135
  nanos: number;
136
136
  } | undefined, string | undefined>]>;
137
- readonly status: v.SchemaWithPipe<readonly [v.EnumSchema<typeof ApiKeyStatus$1, undefined>, v.TransformAction<ApiKeyStatus$1, "disabled" | "active" | "unspecified" | "revoked">]>;
137
+ readonly status: v.SchemaWithPipe<readonly [v.EnumSchema<typeof ApiKeyStatus$1, undefined>, v.TransformAction<ApiKeyStatus$1, "unspecified" | "disabled" | "active" | "revoked">]>;
138
138
  readonly createdByActor: v.StringSchema<undefined>;
139
139
  readonly revision: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
140
140
  }, undefined>, v.TransformAction<{
@@ -153,7 +153,7 @@ declare const ApiKeySchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
153
153
  lastUsedAt?: number | undefined;
154
154
  publicKeyEd25519: Uint8Array<ArrayBufferLike>;
155
155
  expiresAt?: string | undefined;
156
- status: "disabled" | "active" | "unspecified" | "revoked";
156
+ status: "unspecified" | "disabled" | "active" | "revoked";
157
157
  createdByActor: string;
158
158
  revision: string;
159
159
  }, {
@@ -171,7 +171,7 @@ declare const ApiKeySchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
171
171
  lastUsedAt?: number | undefined;
172
172
  publicKeyEd25519: Uint8Array<ArrayBufferLike>;
173
173
  expiresAt?: string | undefined;
174
- status: "disabled" | "active" | "unspecified" | "revoked";
174
+ status: "unspecified" | "disabled" | "active" | "revoked";
175
175
  createdByActor: string;
176
176
  revision: string;
177
177
  }>]>;
@@ -1,7 +1,7 @@
1
+ import { requiredEnumLabel } from "../../shared/proto-enum-codec.js";
1
2
  import { tsObjToMs, tsObjToNsString } from "../../utils/time.js";
2
3
  import { BigIntStringSchema, OptionalPublicIdSchema, OptionalTimestampMsSchema, TimestampMsSchema, TimestampSchema, positiveBigintStringInputSchema } from "../../shared/schemas.js";
3
4
  import { ApiKeyStatus } from "../../gen/auth/v1/api_keys_pb.js";
4
- import { requiredEnumLabel } from "../../shared/proto-enum-codec.js";
5
5
  import { buildProtoPatch, defineProtoPatchFields } from "../../utils/proto-patch.js";
6
6
  import { toTimestamp } from "../../utils/timestamp.js";
7
7
  import { AccountScopeInputEntries, accountScopeToSubaccountId } from "../../shared/account-scope.js";
@@ -1,6 +1,6 @@
1
1
  import { AuthService as AuthService$1 } from "../../gen/auth/v1/auth_pb.js";
2
- import { toConnectCallOptions } from "../../shared/request-options.js";
3
2
  import { OptionalPublicIdSchema, PublicIdSchema, TimestampSchema } from "../../shared/schemas.js";
3
+ import { toConnectCallOptions } from "../../shared/request-options.js";
4
4
  import { ProfileService } from "./profile/profile.js";
5
5
  import { MfaSessionInfoSchema } from "../mfa/mfa.schemas.js";
6
6
  import { createClient } from "@connectrpc/connect";
@@ -110,7 +110,7 @@ declare function createBalanceHistoryResponseSchema(): v.SchemaWithPipe<readonly
110
110
  points: number;
111
111
  series: {
112
112
  assetId: number;
113
- accountCode: "funding" | "trading" | "unspecified";
113
+ accountCode: "unspecified" | "funding" | "trading";
114
114
  balance: string[];
115
115
  }[];
116
116
  }>]>;