@polyester/sdk 0.24.1 → 0.25.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +18 -12
  3. package/dist/account-signer/create-polyester-account-signer.d.ts +9 -5
  4. package/dist/account-signer/create-polyester-account-signer.d.ts.map +1 -1
  5. package/dist/account-signer/create-polyester-account-signer.js +9 -5
  6. package/dist/account-signer/create-polyester-account-signer.js.map +1 -1
  7. package/dist/account-signer/types.d.ts +9 -3
  8. package/dist/account-signer/types.d.ts.map +1 -1
  9. package/dist/account-signer/types.js.map +1 -1
  10. package/dist/core-client.d.ts +3 -0
  11. package/dist/core-client.d.ts.map +1 -1
  12. package/dist/core-client.js +5 -0
  13. package/dist/core-client.js.map +1 -1
  14. package/dist/environment.d.ts.map +1 -1
  15. package/dist/environment.js +0 -4
  16. package/dist/environment.js.map +1 -1
  17. package/dist/gen/auth/v1/auth_pb.d.ts +7 -4
  18. package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
  19. package/dist/gen/auth/v1/auth_pb.js.map +1 -1
  20. package/dist/gen/claims/v1/claims_pb.d.ts +313 -0
  21. package/dist/gen/claims/v1/claims_pb.d.ts.map +1 -0
  22. package/dist/gen/claims/v1/claims_pb.js +135 -0
  23. package/dist/gen/claims/v1/claims_pb.js.map +1 -0
  24. package/dist/gen/index.d.ts +2 -1
  25. package/dist/gen/index.js +2 -1
  26. package/dist/gen/orders/v1/orders_pb.d.ts +50 -3
  27. package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
  28. package/dist/gen/orders/v1/orders_pb.js +55 -43
  29. package/dist/gen/orders/v1/orders_pb.js.map +1 -1
  30. package/dist/gen/orders/v1/orders_read_pb.d.ts +10 -0
  31. package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
  32. package/dist/gen/orders/v1/orders_read_pb.js +3 -1
  33. package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
  34. package/dist/index.d.ts +4 -1
  35. package/dist/services/accounts/accounts.schemas.d.ts +2 -2
  36. package/dist/services/accounts/accounts.schemas.d.ts.map +1 -1
  37. package/dist/services/accounts/accounts.schemas.js +3 -3
  38. package/dist/services/accounts/accounts.schemas.js.map +1 -1
  39. package/dist/services/address-book/address-book.schemas.d.ts +67 -68
  40. package/dist/services/address-book/address-book.schemas.d.ts.map +1 -1
  41. package/dist/services/address-book/address-book.schemas.js +11 -13
  42. package/dist/services/address-book/address-book.schemas.js.map +1 -1
  43. package/dist/services/api-keys/api-keys.schemas.d.ts +1 -2
  44. package/dist/services/api-keys/api-keys.schemas.d.ts.map +1 -1
  45. package/dist/services/api-keys/api-keys.schemas.js +4 -9
  46. package/dist/services/api-keys/api-keys.schemas.js.map +1 -1
  47. package/dist/services/auth/auth.d.ts +2 -3
  48. package/dist/services/auth/auth.d.ts.map +1 -1
  49. package/dist/services/auth/auth.js +4 -2
  50. package/dist/services/auth/auth.js.map +1 -1
  51. package/dist/services/auth/cookie-constants.d.ts +1 -1
  52. package/dist/services/auth/cookie-constants.d.ts.map +1 -1
  53. package/dist/services/auth/cookie-constants.js +1 -1
  54. package/dist/services/auth/cookie-constants.js.map +1 -1
  55. package/dist/services/balances/balances.schemas.d.ts +3 -3
  56. package/dist/services/balances/balances.schemas.d.ts.map +1 -1
  57. package/dist/services/balances/balances.schemas.js +7 -12
  58. package/dist/services/balances/balances.schemas.js.map +1 -1
  59. package/dist/services/candles/candles.schemas.d.ts +3 -3
  60. package/dist/services/candles/candles.schemas.d.ts.map +1 -1
  61. package/dist/services/candles/candles.schemas.js +5 -6
  62. package/dist/services/candles/candles.schemas.js.map +1 -1
  63. package/dist/services/chain-analytics/chain-analytics.schemas.d.ts +3 -3
  64. package/dist/services/chain-analytics/chain-analytics.schemas.d.ts.map +1 -1
  65. package/dist/services/chain-analytics/chain-analytics.schemas.js +2 -3
  66. package/dist/services/chain-analytics/chain-analytics.schemas.js.map +1 -1
  67. package/dist/services/claims/claims.codecs.d.ts +8 -0
  68. package/dist/services/claims/claims.codecs.d.ts.map +1 -0
  69. package/dist/services/claims/claims.codecs.js +17 -0
  70. package/dist/services/claims/claims.codecs.js.map +1 -0
  71. package/dist/services/claims/claims.d.ts +19 -0
  72. package/dist/services/claims/claims.d.ts.map +1 -0
  73. package/dist/services/claims/claims.js +30 -0
  74. package/dist/services/claims/claims.js.map +1 -0
  75. package/dist/services/claims/claims.schemas.d.ts +122 -0
  76. package/dist/services/claims/claims.schemas.d.ts.map +1 -0
  77. package/dist/services/claims/claims.schemas.js +47 -0
  78. package/dist/services/claims/claims.schemas.js.map +1 -0
  79. package/dist/services/claims/claims.types.d.ts +3 -0
  80. package/dist/services/claims/index.d.ts +5 -0
  81. package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
  82. package/dist/services/heatmap/heatmap.schemas.d.ts.map +1 -1
  83. package/dist/services/heatmap/heatmap.schemas.js +10 -10
  84. package/dist/services/heatmap/heatmap.schemas.js.map +1 -1
  85. package/dist/services/internal-transfers/internal-transfers.schemas.d.ts.map +1 -1
  86. package/dist/services/internal-transfers/internal-transfers.schemas.js +1 -5
  87. package/dist/services/internal-transfers/internal-transfers.schemas.js.map +1 -1
  88. package/dist/services/lifecycle/lifecycle.schemas.d.ts +63 -63
  89. package/dist/services/lifecycle/lifecycle.schemas.d.ts.map +1 -1
  90. package/dist/services/lifecycle/lifecycle.schemas.js +10 -11
  91. package/dist/services/lifecycle/lifecycle.schemas.js.map +1 -1
  92. package/dist/services/market-overview/market-overview.schemas.d.ts +1 -1
  93. package/dist/services/market-overview/market-overview.schemas.d.ts.map +1 -1
  94. package/dist/services/market-overview/market-overview.schemas.js +3 -3
  95. package/dist/services/market-overview/market-overview.schemas.js.map +1 -1
  96. package/dist/services/mfa/mfa.schemas.d.ts +11 -11
  97. package/dist/services/mfa/mfa.schemas.d.ts.map +1 -1
  98. package/dist/services/mfa/mfa.schemas.js +4 -5
  99. package/dist/services/mfa/mfa.schemas.js.map +1 -1
  100. package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
  101. package/dist/services/orders/order-enums.codecs.js +2 -1
  102. package/dist/services/orders/order-enums.codecs.js.map +1 -1
  103. package/dist/services/orders/order-errors.schemas.d.ts +4 -5
  104. package/dist/services/orders/order-errors.schemas.d.ts.map +1 -1
  105. package/dist/services/orders/orders-batch.schemas.d.ts +110 -32
  106. package/dist/services/orders/orders-batch.schemas.d.ts.map +1 -1
  107. package/dist/services/orders/orders-batch.schemas.js +9 -10
  108. package/dist/services/orders/orders-batch.schemas.js.map +1 -1
  109. package/dist/services/orders/orders-input.schemas.d.ts +111 -8
  110. package/dist/services/orders/orders-input.schemas.d.ts.map +1 -1
  111. package/dist/services/orders/orders-input.schemas.js +20 -4
  112. package/dist/services/orders/orders-input.schemas.js.map +1 -1
  113. package/dist/services/orders/orders-modify.schemas.d.ts +2 -2
  114. package/dist/services/orders/orders-modify.schemas.d.ts.map +1 -1
  115. package/dist/services/orders/orders-modify.schemas.js +3 -3
  116. package/dist/services/orders/orders-modify.schemas.js.map +1 -1
  117. package/dist/services/orders/orders-output.schemas.d.ts +48 -32
  118. package/dist/services/orders/orders-output.schemas.d.ts.map +1 -1
  119. package/dist/services/orders/orders-output.schemas.js +16 -16
  120. package/dist/services/orders/orders-output.schemas.js.map +1 -1
  121. package/dist/services/orders/orders-risk.schemas.d.ts +0 -1
  122. package/dist/services/orders/orders-risk.schemas.d.ts.map +1 -1
  123. package/dist/services/orders/orders-risk.schemas.js +4 -4
  124. package/dist/services/orders/orders-risk.schemas.js.map +1 -1
  125. package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +4 -4
  126. package/dist/services/policies/shared.codecs.js +3 -3
  127. package/dist/services/policies/shared.codecs.js.map +1 -1
  128. package/dist/services/policies/shared.d.ts +0 -1
  129. package/dist/services/policies/shared.d.ts.map +1 -1
  130. package/dist/services/policies/shared.js +2 -3
  131. package/dist/services/policies/shared.js.map +1 -1
  132. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +2 -2
  133. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts.map +1 -1
  134. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js +2 -5
  135. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js.map +1 -1
  136. package/dist/services/rate-limits/rate-limits.schemas.d.ts +6 -7
  137. package/dist/services/rate-limits/rate-limits.schemas.d.ts.map +1 -1
  138. package/dist/services/rate-limits/rate-limits.schemas.js +2 -3
  139. package/dist/services/rate-limits/rate-limits.schemas.js.map +1 -1
  140. package/dist/services/social-verification/social-verification.schemas.d.ts.map +1 -1
  141. package/dist/services/social-verification/social-verification.schemas.js +4 -4
  142. package/dist/services/social-verification/social-verification.schemas.js.map +1 -1
  143. package/dist/services/subaccounts/subaccounts.schemas.d.ts +23 -24
  144. package/dist/services/subaccounts/subaccounts.schemas.d.ts.map +1 -1
  145. package/dist/services/subaccounts/subaccounts.schemas.js +10 -12
  146. package/dist/services/subaccounts/subaccounts.schemas.js.map +1 -1
  147. package/dist/services/trades/trades.schemas.d.ts +1 -1
  148. package/dist/services/trades/trades.schemas.d.ts.map +1 -1
  149. package/dist/services/trades/trades.schemas.js +4 -8
  150. package/dist/services/trades/trades.schemas.js.map +1 -1
  151. package/dist/services/transfers/transfers.schemas.d.ts +3 -4
  152. package/dist/services/transfers/transfers.schemas.d.ts.map +1 -1
  153. package/dist/services/transfers/transfers.schemas.js +5 -10
  154. package/dist/services/transfers/transfers.schemas.js.map +1 -1
  155. package/dist/services/triggers/trigger-input.schemas.d.ts +2 -2
  156. package/dist/services/triggers/triggers-output.schemas.d.ts +56 -58
  157. package/dist/services/triggers/triggers-output.schemas.d.ts.map +1 -1
  158. package/dist/services/triggers/triggers-output.schemas.js +34 -36
  159. package/dist/services/triggers/triggers-output.schemas.js.map +1 -1
  160. package/dist/services/whiteboard/whiteboard.schemas.d.ts +42 -42
  161. package/dist/services/whiteboard/whiteboard.schemas.d.ts.map +1 -1
  162. package/dist/services/whiteboard/whiteboard.schemas.js +9 -10
  163. package/dist/services/whiteboard/whiteboard.schemas.js.map +1 -1
  164. package/dist/shared/proto-enum-codec.js +11 -6
  165. package/dist/shared/proto-enum-codec.js.map +1 -1
  166. package/dist/shared/rate-limit.schemas.d.ts +4 -5
  167. package/dist/shared/rate-limit.schemas.d.ts.map +1 -1
  168. package/dist/shared/rate-limit.schemas.js +41 -46
  169. package/dist/shared/rate-limit.schemas.js.map +1 -1
  170. package/dist/shared/schemas.js +5 -1
  171. package/dist/shared/schemas.js.map +1 -1
  172. package/dist/utils/timestamp.js +8 -1
  173. package/dist/utils/timestamp.js.map +1 -1
  174. package/dist/wired-services.d.ts.map +1 -1
  175. package/dist/wired-services.js +2 -0
  176. package/dist/wired-services.js.map +1 -1
  177. package/package.json +1 -1
@@ -1,5 +1,4 @@
1
- import { SubaccountRole } from "../../gen/auth/v1/subaccounts_pb.js";
2
- import { AccountScopeType, AddressBookEntryKind, DestinationWhitelistStatus, InternalWhitelistResolutionStatus, TransferCounterpartyDirection } from "../../gen/auth/v1/address_book_pb.js";
1
+ import { AddressBookEntryKind, TransferCounterpartyDirection } from "../../gen/auth/v1/address_book_pb.js";
3
2
  import * as v from "valibot";
4
3
  //#region src/services/address-book/address-book.schemas.d.ts
5
4
  declare const ListAddressBookEntriesInputSchema: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
@@ -278,11 +277,11 @@ declare const GetAddressBookViewInputSchema: v.SchemaWithPipe<readonly [v.Strict
278
277
  type GetAddressBookViewInput = v.InferInput<typeof GetAddressBookViewInputSchema>;
279
278
  declare const AddressBookSchema: v.ObjectSchema<{
280
279
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
281
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
280
+ readonly scopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
282
281
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
283
282
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
284
283
  }, undefined>, undefined>;
285
- readonly callerRole: v.SchemaWithPipe<readonly [v.EnumSchema<typeof SubaccountRole, undefined>, v.TransformAction<SubaccountRole, "unspecified" | "owner" | "admin" | "treasury" | "leveraged_trader" | "trader" | "viewer">]>;
284
+ readonly callerRole: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "owner" | "admin" | "treasury" | "leveraged_trader" | "trader" | "viewer">]>;
286
285
  readonly label: v.StringSchema<undefined>;
287
286
  readonly ownerUsername: v.StringSchema<undefined>;
288
287
  readonly smartAccountAddress: v.StringSchema<undefined>;
@@ -297,7 +296,7 @@ type AddressBookTagSummary = v.InferOutput<typeof AddressBookTagSummarySchema>;
297
296
  declare const AddressBookTagSchema: v.ObjectSchema<{
298
297
  readonly tagId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
299
298
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
300
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
299
+ readonly scopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
301
300
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
302
301
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
303
302
  }, undefined>, undefined>;
@@ -322,11 +321,11 @@ type AddressBookTag = v.InferOutput<typeof AddressBookTagSchema>;
322
321
  declare const AddressBookEntrySchema: v.ObjectSchema<{
323
322
  readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
324
323
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
325
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
324
+ readonly scopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
326
325
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
327
326
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
328
327
  }, undefined>, undefined>;
329
- readonly kind: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AddressBookEntryKind, undefined>, v.TransformAction<AddressBookEntryKind, "unspecified" | "external" | "internal">]>;
328
+ readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "external" | "internal">]>;
330
329
  readonly label: v.StringSchema<undefined>;
331
330
  readonly note: v.StringSchema<undefined>;
332
331
  readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
@@ -354,7 +353,7 @@ declare const AddressBookEntrySchema: v.ObjectSchema<{
354
353
  readonly value: v.ObjectSchema<{
355
354
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
356
355
  readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
357
- readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
356
+ readonly targetScopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
358
357
  readonly smartAccountAddress: v.StringSchema<undefined>;
359
358
  readonly rootUsername: v.StringSchema<undefined>;
360
359
  readonly subaccountLabel: v.StringSchema<undefined>;
@@ -366,7 +365,7 @@ declare const AddressBookEntrySchema: v.ObjectSchema<{
366
365
  readonly tags: v.ArraySchema<v.ObjectSchema<{
367
366
  readonly tagId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
368
367
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
369
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
368
+ readonly scopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
370
369
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
371
370
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
372
371
  }, undefined>, undefined>;
@@ -393,11 +392,11 @@ type AddressBookEntry = v.InferOutput<typeof AddressBookEntrySchema>;
393
392
  declare const AddressBookEntriesSchema: v.ArraySchema<v.ObjectSchema<{
394
393
  readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
395
394
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
396
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
395
+ readonly scopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
397
396
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
398
397
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
399
398
  }, undefined>, undefined>;
400
- readonly kind: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AddressBookEntryKind, undefined>, v.TransformAction<AddressBookEntryKind, "unspecified" | "external" | "internal">]>;
399
+ readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "external" | "internal">]>;
401
400
  readonly label: v.StringSchema<undefined>;
402
401
  readonly note: v.StringSchema<undefined>;
403
402
  readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
@@ -425,7 +424,7 @@ declare const AddressBookEntriesSchema: v.ArraySchema<v.ObjectSchema<{
425
424
  readonly value: v.ObjectSchema<{
426
425
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
427
426
  readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
428
- readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
427
+ readonly targetScopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
429
428
  readonly smartAccountAddress: v.StringSchema<undefined>;
430
429
  readonly rootUsername: v.StringSchema<undefined>;
431
430
  readonly subaccountLabel: v.StringSchema<undefined>;
@@ -437,7 +436,7 @@ declare const AddressBookEntriesSchema: v.ArraySchema<v.ObjectSchema<{
437
436
  readonly tags: v.ArraySchema<v.ObjectSchema<{
438
437
  readonly tagId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
439
438
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
440
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
439
+ readonly scopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
441
440
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
442
441
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
443
442
  }, undefined>, undefined>;
@@ -464,12 +463,12 @@ type AddressBookEntries = v.InferOutput<typeof AddressBookEntriesSchema>;
464
463
  declare const TransferCounterpartySchema: v.ObjectSchema<{
465
464
  readonly counterpartyId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
466
465
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
467
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
466
+ readonly scopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
468
467
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
469
468
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
470
469
  }, undefined>, undefined>;
471
- readonly direction: v.SchemaWithPipe<readonly [v.EnumSchema<typeof TransferCounterpartyDirection, undefined>, v.TransformAction<TransferCounterpartyDirection, "unspecified" | "withdrawTo" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
472
- readonly kind: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AddressBookEntryKind, undefined>, v.TransformAction<AddressBookEntryKind, "unspecified" | "external" | "internal">]>;
470
+ readonly direction: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "withdrawTo" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
471
+ readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "external" | "internal">]>;
473
472
  readonly saved: v.BooleanSchema<undefined>;
474
473
  readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
475
474
  readonly useCount: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
@@ -498,7 +497,7 @@ declare const TransferCounterpartySchema: v.ObjectSchema<{
498
497
  readonly value: v.ObjectSchema<{
499
498
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
500
499
  readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
501
- readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
500
+ readonly targetScopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
502
501
  readonly smartAccountAddress: v.StringSchema<undefined>;
503
502
  readonly rootUsername: v.StringSchema<undefined>;
504
503
  readonly subaccountLabel: v.StringSchema<undefined>;
@@ -512,12 +511,12 @@ type TransferCounterparty = v.InferOutput<typeof TransferCounterpartySchema>;
512
511
  declare const TransferCounterpartiesSchema: v.ArraySchema<v.ObjectSchema<{
513
512
  readonly counterpartyId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
514
513
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
515
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
514
+ readonly scopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
516
515
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
517
516
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
518
517
  }, undefined>, undefined>;
519
- readonly direction: v.SchemaWithPipe<readonly [v.EnumSchema<typeof TransferCounterpartyDirection, undefined>, v.TransformAction<TransferCounterpartyDirection, "unspecified" | "withdrawTo" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
520
- readonly kind: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AddressBookEntryKind, undefined>, v.TransformAction<AddressBookEntryKind, "unspecified" | "external" | "internal">]>;
518
+ readonly direction: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "withdrawTo" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
519
+ readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "external" | "internal">]>;
521
520
  readonly saved: v.BooleanSchema<undefined>;
522
521
  readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
523
522
  readonly useCount: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
@@ -546,7 +545,7 @@ declare const TransferCounterpartiesSchema: v.ArraySchema<v.ObjectSchema<{
546
545
  readonly value: v.ObjectSchema<{
547
546
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
548
547
  readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
549
- readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
548
+ readonly targetScopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
550
549
  readonly smartAccountAddress: v.StringSchema<undefined>;
551
550
  readonly rootUsername: v.StringSchema<undefined>;
552
551
  readonly subaccountLabel: v.StringSchema<undefined>;
@@ -559,22 +558,22 @@ declare const TransferCounterpartiesSchema: v.ArraySchema<v.ObjectSchema<{
559
558
  type TransferCounterparties = v.InferOutput<typeof TransferCounterpartiesSchema>;
560
559
  declare const TransferDestinationSchema: v.ObjectSchema<{
561
560
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
562
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
561
+ readonly scopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
563
562
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
564
563
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
565
564
  }, undefined>, undefined>;
566
- readonly kind: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AddressBookEntryKind, undefined>, v.TransformAction<AddressBookEntryKind, "unspecified" | "external" | "internal">]>;
565
+ readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "external" | "internal">]>;
567
566
  readonly saved: v.BooleanSchema<undefined>;
568
567
  readonly whitelisted: v.BooleanSchema<undefined>;
569
- readonly whitelistStatus: v.SchemaWithPipe<readonly [v.EnumSchema<typeof DestinationWhitelistStatus, undefined>, v.TransformAction<DestinationWhitelistStatus, "unspecified" | "active" | "notWhitelisted" | "unresolved">]>;
568
+ readonly whitelistStatus: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "active" | "notWhitelisted" | "unresolved">]>;
570
569
  readonly addressBookEntry: v.OptionalSchema<v.ObjectSchema<{
571
570
  readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
572
571
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
573
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
572
+ readonly scopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
574
573
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
575
574
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
576
575
  }, undefined>, undefined>;
577
- readonly kind: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AddressBookEntryKind, undefined>, v.TransformAction<AddressBookEntryKind, "unspecified" | "external" | "internal">]>;
576
+ readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "external" | "internal">]>;
578
577
  readonly label: v.StringSchema<undefined>;
579
578
  readonly note: v.StringSchema<undefined>;
580
579
  readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
@@ -602,7 +601,7 @@ declare const TransferDestinationSchema: v.ObjectSchema<{
602
601
  readonly value: v.ObjectSchema<{
603
602
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
604
603
  readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
605
- readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
604
+ readonly targetScopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
606
605
  readonly smartAccountAddress: v.StringSchema<undefined>;
607
606
  readonly rootUsername: v.StringSchema<undefined>;
608
607
  readonly subaccountLabel: v.StringSchema<undefined>;
@@ -614,7 +613,7 @@ declare const TransferDestinationSchema: v.ObjectSchema<{
614
613
  readonly tags: v.ArraySchema<v.ObjectSchema<{
615
614
  readonly tagId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
616
615
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
617
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
616
+ readonly scopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
618
617
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
619
618
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
620
619
  }, undefined>, undefined>;
@@ -648,7 +647,7 @@ declare const TransferDestinationSchema: v.ObjectSchema<{
648
647
  readonly value: v.ObjectSchema<{
649
648
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
650
649
  readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
651
- readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
650
+ readonly targetScopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
652
651
  readonly smartAccountAddress: v.StringSchema<undefined>;
653
652
  readonly rootUsername: v.StringSchema<undefined>;
654
653
  readonly subaccountLabel: v.StringSchema<undefined>;
@@ -675,22 +674,22 @@ declare const TransferDestinationSchema: v.ObjectSchema<{
675
674
  type TransferDestination = v.InferOutput<typeof TransferDestinationSchema>;
676
675
  declare const TransferDestinationsSchema: v.ArraySchema<v.ObjectSchema<{
677
676
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
678
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
677
+ readonly scopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
679
678
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
680
679
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
681
680
  }, undefined>, undefined>;
682
- readonly kind: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AddressBookEntryKind, undefined>, v.TransformAction<AddressBookEntryKind, "unspecified" | "external" | "internal">]>;
681
+ readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "external" | "internal">]>;
683
682
  readonly saved: v.BooleanSchema<undefined>;
684
683
  readonly whitelisted: v.BooleanSchema<undefined>;
685
- readonly whitelistStatus: v.SchemaWithPipe<readonly [v.EnumSchema<typeof DestinationWhitelistStatus, undefined>, v.TransformAction<DestinationWhitelistStatus, "unspecified" | "active" | "notWhitelisted" | "unresolved">]>;
684
+ readonly whitelistStatus: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "active" | "notWhitelisted" | "unresolved">]>;
686
685
  readonly addressBookEntry: v.OptionalSchema<v.ObjectSchema<{
687
686
  readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
688
687
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
689
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
688
+ readonly scopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
690
689
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
691
690
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
692
691
  }, undefined>, undefined>;
693
- readonly kind: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AddressBookEntryKind, undefined>, v.TransformAction<AddressBookEntryKind, "unspecified" | "external" | "internal">]>;
692
+ readonly kind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "external" | "internal">]>;
694
693
  readonly label: v.StringSchema<undefined>;
695
694
  readonly note: v.StringSchema<undefined>;
696
695
  readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
@@ -718,7 +717,7 @@ declare const TransferDestinationsSchema: v.ArraySchema<v.ObjectSchema<{
718
717
  readonly value: v.ObjectSchema<{
719
718
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
720
719
  readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
721
- readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
720
+ readonly targetScopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
722
721
  readonly smartAccountAddress: v.StringSchema<undefined>;
723
722
  readonly rootUsername: v.StringSchema<undefined>;
724
723
  readonly subaccountLabel: v.StringSchema<undefined>;
@@ -730,7 +729,7 @@ declare const TransferDestinationsSchema: v.ArraySchema<v.ObjectSchema<{
730
729
  readonly tags: v.ArraySchema<v.ObjectSchema<{
731
730
  readonly tagId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
732
731
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
733
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
732
+ readonly scopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
734
733
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
735
734
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
736
735
  }, undefined>, undefined>;
@@ -764,7 +763,7 @@ declare const TransferDestinationsSchema: v.ArraySchema<v.ObjectSchema<{
764
763
  readonly value: v.ObjectSchema<{
765
764
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
766
765
  readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
767
- readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
766
+ readonly targetScopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
768
767
  readonly smartAccountAddress: v.StringSchema<undefined>;
769
768
  readonly rootUsername: v.StringSchema<undefined>;
770
769
  readonly subaccountLabel: v.StringSchema<undefined>;
@@ -792,13 +791,13 @@ type TransferDestinations = v.InferOutput<typeof TransferDestinationsSchema>;
792
791
  declare const InternalTransferWhitelistEntrySchema: v.ObjectSchema<{
793
792
  readonly entryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
794
793
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
795
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
794
+ readonly scopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
796
795
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
797
796
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
798
797
  }, undefined>, undefined>;
799
798
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
800
799
  readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
801
- readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
800
+ readonly targetScopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
802
801
  readonly smartAccountAddress: v.StringSchema<undefined>;
803
802
  readonly rootUsername: v.StringSchema<undefined>;
804
803
  readonly subaccountLabel: v.StringSchema<undefined>;
@@ -816,19 +815,19 @@ declare const InternalTransferWhitelistEntrySchema: v.ObjectSchema<{
816
815
  seconds: bigint;
817
816
  nanos: number;
818
817
  } | undefined, number | undefined>]>;
819
- readonly resolutionStatus: v.SchemaWithPipe<readonly [v.EnumSchema<typeof InternalWhitelistResolutionStatus, undefined>, v.TransformAction<InternalWhitelistResolutionStatus, "unspecified" | "unresolved" | "resolved">]>;
818
+ readonly resolutionStatus: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "unresolved" | "resolved">]>;
820
819
  }, undefined>;
821
820
  type InternalTransferWhitelistEntry = v.InferOutput<typeof InternalTransferWhitelistEntrySchema>;
822
821
  declare const InternalTransferWhitelistEntriesSchema: v.ArraySchema<v.ObjectSchema<{
823
822
  readonly entryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
824
823
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
825
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
824
+ readonly scopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
826
825
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
827
826
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
828
827
  }, undefined>, undefined>;
829
828
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
830
829
  readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
831
- readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
830
+ readonly targetScopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
832
831
  readonly smartAccountAddress: v.StringSchema<undefined>;
833
832
  readonly rootUsername: v.StringSchema<undefined>;
834
833
  readonly subaccountLabel: v.StringSchema<undefined>;
@@ -846,7 +845,7 @@ declare const InternalTransferWhitelistEntriesSchema: v.ArraySchema<v.ObjectSche
846
845
  seconds: bigint;
847
846
  nanos: number;
848
847
  } | undefined, number | undefined>]>;
849
- readonly resolutionStatus: v.SchemaWithPipe<readonly [v.EnumSchema<typeof InternalWhitelistResolutionStatus, undefined>, v.TransformAction<InternalWhitelistResolutionStatus, "unspecified" | "unresolved" | "resolved">]>;
848
+ readonly resolutionStatus: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "unresolved" | "resolved">]>;
850
849
  }, undefined>, undefined>;
851
850
  type InternalTransferWhitelistEntries = v.InferOutput<typeof InternalTransferWhitelistEntriesSchema>;
852
851
  declare const MirroredWithdrawWhitelistEntrySchema: v.ObjectSchema<{
@@ -864,7 +863,7 @@ declare const MirroredWithdrawWhitelistEntrySchema: v.ObjectSchema<{
864
863
  type MirroredWithdrawWhitelistEntry = v.InferOutput<typeof MirroredWithdrawWhitelistEntrySchema>;
865
864
  declare const WithdrawWhitelistViewSchema: v.ObjectSchema<{
866
865
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
867
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
866
+ readonly scopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
868
867
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
869
868
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
870
869
  }, undefined>, undefined>;
@@ -888,14 +887,14 @@ declare const AddressBookEntriesViewSchema: v.ObjectSchema<{
888
887
  readonly external: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
889
888
  readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
890
889
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
891
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
890
+ readonly scopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
892
891
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
893
892
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
894
893
  }, undefined>, undefined>;
895
894
  readonly label: v.StringSchema<undefined>;
896
895
  readonly note: v.StringSchema<undefined>;
897
896
  readonly tagIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>, undefined>, readonly []>;
898
- readonly whitelistStatus: v.SchemaWithPipe<readonly [v.EnumSchema<typeof DestinationWhitelistStatus, undefined>, v.TransformAction<DestinationWhitelistStatus, "unspecified" | "active" | "notWhitelisted" | "unresolved">]>;
897
+ readonly whitelistStatus: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "active" | "notWhitelisted" | "unresolved">]>;
899
898
  readonly polychainChainId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
900
899
  readonly address: v.StringSchema<undefined>;
901
900
  readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
@@ -917,17 +916,17 @@ declare const AddressBookEntriesViewSchema: v.ObjectSchema<{
917
916
  readonly internal: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
918
917
  readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
919
918
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
920
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
919
+ readonly scopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
921
920
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
922
921
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
923
922
  }, undefined>, undefined>;
924
923
  readonly label: v.StringSchema<undefined>;
925
924
  readonly note: v.StringSchema<undefined>;
926
925
  readonly tagIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>, undefined>, readonly []>;
927
- readonly whitelistStatus: v.SchemaWithPipe<readonly [v.EnumSchema<typeof DestinationWhitelistStatus, undefined>, v.TransformAction<DestinationWhitelistStatus, "unspecified" | "active" | "notWhitelisted" | "unresolved">]>;
926
+ readonly whitelistStatus: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "active" | "notWhitelisted" | "unresolved">]>;
928
927
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
929
928
  readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
930
- readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
929
+ readonly targetScopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
931
930
  readonly smartAccountAddress: v.StringSchema<undefined>;
932
931
  readonly rootUsername: v.StringSchema<undefined>;
933
932
  readonly subaccountLabel: v.StringSchema<undefined>;
@@ -952,11 +951,11 @@ type AddressBookEntriesView = v.InferOutput<typeof AddressBookEntriesViewSchema>
952
951
  declare const AddressBookRecentDestinationsViewSchema: v.ObjectSchema<{
953
952
  readonly external: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
954
953
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
955
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
954
+ readonly scopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
956
955
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
957
956
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
958
957
  }, undefined>, undefined>;
959
- readonly lastDirection: v.SchemaWithPipe<readonly [v.EnumSchema<typeof TransferCounterpartyDirection, undefined>, v.TransformAction<TransferCounterpartyDirection, "unspecified" | "withdrawTo" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
958
+ readonly lastDirection: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "withdrawTo" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
960
959
  readonly saved: v.BooleanSchema<undefined>;
961
960
  readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
962
961
  readonly useCount: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
@@ -972,11 +971,11 @@ declare const AddressBookRecentDestinationsViewSchema: v.ObjectSchema<{
972
971
  }, undefined>, undefined>, readonly []>;
973
972
  readonly internal: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
974
973
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
975
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
974
+ readonly scopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
976
975
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
977
976
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
978
977
  }, undefined>, undefined>;
979
- readonly lastDirection: v.SchemaWithPipe<readonly [v.EnumSchema<typeof TransferCounterpartyDirection, undefined>, v.TransformAction<TransferCounterpartyDirection, "unspecified" | "withdrawTo" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
978
+ readonly lastDirection: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "withdrawTo" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
980
979
  readonly saved: v.BooleanSchema<undefined>;
981
980
  readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
982
981
  readonly useCount: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
@@ -989,7 +988,7 @@ declare const AddressBookRecentDestinationsViewSchema: v.ObjectSchema<{
989
988
  } | undefined, number | undefined>]>;
990
989
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
991
990
  readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
992
- readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
991
+ readonly targetScopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
993
992
  readonly smartAccountAddress: v.StringSchema<undefined>;
994
993
  readonly rootUsername: v.StringSchema<undefined>;
995
994
  readonly subaccountLabel: v.StringSchema<undefined>;
@@ -999,11 +998,11 @@ type AddressBookRecentDestinationsView = v.InferOutput<typeof AddressBookRecentD
999
998
  declare const AddressBookViewSchema: v.ObjectSchema<{
1000
999
  readonly books: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1001
1000
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
1002
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
1001
+ readonly scopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
1003
1002
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1004
1003
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1005
1004
  }, undefined>, undefined>;
1006
- readonly callerRole: v.SchemaWithPipe<readonly [v.EnumSchema<typeof SubaccountRole, undefined>, v.TransformAction<SubaccountRole, "unspecified" | "owner" | "admin" | "treasury" | "leveraged_trader" | "trader" | "viewer">]>;
1005
+ readonly callerRole: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "owner" | "admin" | "treasury" | "leveraged_trader" | "trader" | "viewer">]>;
1007
1006
  readonly label: v.StringSchema<undefined>;
1008
1007
  readonly ownerUsername: v.StringSchema<undefined>;
1009
1008
  readonly smartAccountAddress: v.StringSchema<undefined>;
@@ -1012,14 +1011,14 @@ declare const AddressBookViewSchema: v.ObjectSchema<{
1012
1011
  readonly external: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1013
1012
  readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1014
1013
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
1015
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
1014
+ readonly scopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
1016
1015
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1017
1016
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1018
1017
  }, undefined>, undefined>;
1019
1018
  readonly label: v.StringSchema<undefined>;
1020
1019
  readonly note: v.StringSchema<undefined>;
1021
1020
  readonly tagIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>, undefined>, readonly []>;
1022
- readonly whitelistStatus: v.SchemaWithPipe<readonly [v.EnumSchema<typeof DestinationWhitelistStatus, undefined>, v.TransformAction<DestinationWhitelistStatus, "unspecified" | "active" | "notWhitelisted" | "unresolved">]>;
1021
+ readonly whitelistStatus: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "active" | "notWhitelisted" | "unresolved">]>;
1023
1022
  readonly polychainChainId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
1024
1023
  readonly address: v.StringSchema<undefined>;
1025
1024
  readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
@@ -1041,17 +1040,17 @@ declare const AddressBookViewSchema: v.ObjectSchema<{
1041
1040
  readonly internal: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1042
1041
  readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1043
1042
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
1044
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
1043
+ readonly scopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
1045
1044
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1046
1045
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1047
1046
  }, undefined>, undefined>;
1048
1047
  readonly label: v.StringSchema<undefined>;
1049
1048
  readonly note: v.StringSchema<undefined>;
1050
1049
  readonly tagIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>, undefined>, readonly []>;
1051
- readonly whitelistStatus: v.SchemaWithPipe<readonly [v.EnumSchema<typeof DestinationWhitelistStatus, undefined>, v.TransformAction<DestinationWhitelistStatus, "unspecified" | "active" | "notWhitelisted" | "unresolved">]>;
1050
+ readonly whitelistStatus: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "active" | "notWhitelisted" | "unresolved">]>;
1052
1051
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1053
1052
  readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1054
- readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
1053
+ readonly targetScopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
1055
1054
  readonly smartAccountAddress: v.StringSchema<undefined>;
1056
1055
  readonly rootUsername: v.StringSchema<undefined>;
1057
1056
  readonly subaccountLabel: v.StringSchema<undefined>;
@@ -1075,11 +1074,11 @@ declare const AddressBookViewSchema: v.ObjectSchema<{
1075
1074
  readonly recentDestinations: v.OptionalSchema<v.ObjectSchema<{
1076
1075
  readonly external: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1077
1076
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
1078
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
1077
+ readonly scopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
1079
1078
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1080
1079
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1081
1080
  }, undefined>, undefined>;
1082
- readonly lastDirection: v.SchemaWithPipe<readonly [v.EnumSchema<typeof TransferCounterpartyDirection, undefined>, v.TransformAction<TransferCounterpartyDirection, "unspecified" | "withdrawTo" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
1081
+ readonly lastDirection: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "withdrawTo" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
1083
1082
  readonly saved: v.BooleanSchema<undefined>;
1084
1083
  readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1085
1084
  readonly useCount: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
@@ -1095,11 +1094,11 @@ declare const AddressBookViewSchema: v.ObjectSchema<{
1095
1094
  }, undefined>, undefined>, readonly []>;
1096
1095
  readonly internal: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1097
1096
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
1098
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
1097
+ readonly scopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
1099
1098
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1100
1099
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1101
1100
  }, undefined>, undefined>;
1102
- readonly lastDirection: v.SchemaWithPipe<readonly [v.EnumSchema<typeof TransferCounterpartyDirection, undefined>, v.TransformAction<TransferCounterpartyDirection, "unspecified" | "withdrawTo" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
1101
+ readonly lastDirection: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "withdrawTo" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
1103
1102
  readonly saved: v.BooleanSchema<undefined>;
1104
1103
  readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1105
1104
  readonly useCount: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
@@ -1112,7 +1111,7 @@ declare const AddressBookViewSchema: v.ObjectSchema<{
1112
1111
  } | undefined, number | undefined>]>;
1113
1112
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1114
1113
  readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1115
- readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
1114
+ readonly targetScopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
1116
1115
  readonly smartAccountAddress: v.StringSchema<undefined>;
1117
1116
  readonly rootUsername: v.StringSchema<undefined>;
1118
1117
  readonly subaccountLabel: v.StringSchema<undefined>;
@@ -1125,7 +1124,7 @@ declare const AddressBookViewSchema: v.ObjectSchema<{
1125
1124
  }, undefined>, undefined>, readonly []>;
1126
1125
  readonly withdrawWhitelist: v.OptionalSchema<v.ObjectSchema<{
1127
1126
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
1128
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
1127
+ readonly scopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
1129
1128
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1130
1129
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1131
1130
  }, undefined>, undefined>;
@@ -1150,7 +1149,7 @@ declare const AddressBookViewSchema: v.ObjectSchema<{
1150
1149
  type AddressBookView = v.InferOutput<typeof AddressBookViewSchema>;
1151
1150
  declare const AddressBookViewInvalidatedSchema: v.ObjectSchema<{
1152
1151
  readonly scope: v.OptionalSchema<v.ObjectSchema<{
1153
- readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "subaccount" | "root">]>;
1152
+ readonly scopeType: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "subaccount" | "root">]>;
1154
1153
  readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1155
1154
  readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
1156
1155
  }, undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"address-book.schemas.d.ts","names":[],"sources":["../../../src/services/address-book/address-book.schemas.ts"],"mappings":";;;;cAqDa,mCAAiC,EAAA,yBAA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