@polyester/sdk 0.35.0-devnet-20261111025029 → 0.35.0-devnet-20261111031027

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 (151) hide show
  1. package/CHANGELOG.md +17 -1
  2. package/dist/catalogs/index.d.ts +2 -2
  3. package/dist/catalogs/snapshot-validation.js +5 -2
  4. package/dist/catalogs/snapshot-validation.js.map +1 -1
  5. package/dist/gen/auth/v1/api_keys_pb.d.ts +5 -1
  6. package/dist/gen/auth/v1/api_keys_pb.d.ts.map +1 -1
  7. package/dist/gen/auth/v1/api_keys_pb.js.map +1 -1
  8. package/dist/gen/auth/v1/auth_pb.d.ts +8 -1
  9. package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
  10. package/dist/gen/auth/v1/auth_pb.js +8 -1
  11. package/dist/gen/auth/v1/auth_pb.js.map +1 -1
  12. package/dist/gen/auth/v1/policies_pb.d.ts +116 -8
  13. package/dist/gen/auth/v1/policies_pb.d.ts.map +1 -1
  14. package/dist/gen/auth/v1/policies_pb.js +102 -3
  15. package/dist/gen/auth/v1/policies_pb.js.map +1 -1
  16. package/dist/gen/auth/v1/profile_pb.d.ts +4 -2
  17. package/dist/gen/auth/v1/profile_pb.d.ts.map +1 -1
  18. package/dist/gen/auth/v1/profile_pb.js.map +1 -1
  19. package/dist/gen/auth/v1/resolve_pb.d.ts +1 -0
  20. package/dist/gen/auth/v1/resolve_pb.d.ts.map +1 -1
  21. package/dist/gen/auth/v1/resolve_pb.js.map +1 -1
  22. package/dist/gen/auth/v1/social_verification_pb.d.ts +3 -0
  23. package/dist/gen/auth/v1/social_verification_pb.d.ts.map +1 -1
  24. package/dist/gen/auth/v1/social_verification_pb.js.map +1 -1
  25. package/dist/gen/auth/v1/subaccounts_pb.d.ts +8 -3
  26. package/dist/gen/auth/v1/subaccounts_pb.d.ts.map +1 -1
  27. package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
  28. package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +2 -1
  29. package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -1
  30. package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
  31. package/dist/gen/chain/zipper/v1/zipper_pb.d.ts +57 -3
  32. package/dist/gen/chain/zipper/v1/zipper_pb.d.ts.map +1 -1
  33. package/dist/gen/chain/zipper/v1/zipper_pb.js +41 -3
  34. package/dist/gen/chain/zipper/v1/zipper_pb.js.map +1 -1
  35. package/dist/gen/checkpoints/v1/checkpoints_pb.d.ts +2 -1
  36. package/dist/gen/checkpoints/v1/checkpoints_pb.d.ts.map +1 -1
  37. package/dist/gen/checkpoints/v1/checkpoints_pb.js.map +1 -1
  38. package/dist/gen/claims/v1/claims_pb.d.ts +19 -2
  39. package/dist/gen/claims/v1/claims_pb.d.ts.map +1 -1
  40. package/dist/gen/claims/v1/claims_pb.js +11 -2
  41. package/dist/gen/claims/v1/claims_pb.js.map +1 -1
  42. package/dist/gen/ledger/v1/catalog_pb.d.ts +44 -1
  43. package/dist/gen/ledger/v1/catalog_pb.d.ts.map +1 -1
  44. package/dist/gen/ledger/v1/catalog_pb.js +44 -1
  45. package/dist/gen/ledger/v1/catalog_pb.js.map +1 -1
  46. package/dist/gen/marketdata/v1/heatmap_pb.d.ts +6 -0
  47. package/dist/gen/marketdata/v1/heatmap_pb.d.ts.map +1 -1
  48. package/dist/gen/marketdata/v1/heatmap_pb.js.map +1 -1
  49. package/dist/gen/orders/v1/orders_pb.d.ts +25 -4
  50. package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
  51. package/dist/gen/orders/v1/orders_pb.js +18 -5
  52. package/dist/gen/orders/v1/orders_pb.js.map +1 -1
  53. package/dist/gen/rewards/v1/rewards_pb.d.ts +74 -3
  54. package/dist/gen/rewards/v1/rewards_pb.d.ts.map +1 -1
  55. package/dist/gen/rewards/v1/rewards_pb.js +16 -4
  56. package/dist/gen/rewards/v1/rewards_pb.js.map +1 -1
  57. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +145 -3
  58. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts.map +1 -1
  59. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +27 -3
  60. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -1
  61. package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +48 -19
  62. package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts.map +1 -1
  63. package/dist/gen/swap/quickswap/v1/quickswap_pb.js +3 -1
  64. package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
  65. package/dist/gen/transfer/v1/internal_transfer_pb.d.ts +101 -2
  66. package/dist/gen/transfer/v1/internal_transfer_pb.d.ts.map +1 -1
  67. package/dist/gen/transfer/v1/internal_transfer_pb.js +14 -2
  68. package/dist/gen/transfer/v1/internal_transfer_pb.js.map +1 -1
  69. package/dist/gen/vip/v1/vip_pb.d.ts +1 -0
  70. package/dist/gen/vip/v1/vip_pb.d.ts.map +1 -1
  71. package/dist/gen/vip/v1/vip_pb.js.map +1 -1
  72. package/dist/index.d.ts +5 -5
  73. package/dist/index.js +2 -2
  74. package/dist/services/address-book/address-book.schemas.d.ts +2 -2
  75. package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +19 -19
  76. package/dist/services/candles/candles.schemas.d.ts +10 -10
  77. package/dist/services/claims/claims.d.ts +5 -2
  78. package/dist/services/claims/claims.d.ts.map +1 -1
  79. package/dist/services/claims/claims.js +5 -2
  80. package/dist/services/claims/claims.js.map +1 -1
  81. package/dist/services/heatmap/heatmap.schemas.d.ts +12 -12
  82. package/dist/services/internal-transfers/internal-transfers.d.ts +13 -4
  83. package/dist/services/internal-transfers/internal-transfers.d.ts.map +1 -1
  84. package/dist/services/internal-transfers/internal-transfers.js +17 -3
  85. package/dist/services/internal-transfers/internal-transfers.js.map +1 -1
  86. package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +56 -1
  87. package/dist/services/internal-transfers/internal-transfers.schemas.d.ts.map +1 -1
  88. package/dist/services/internal-transfers/internal-transfers.schemas.js +32 -2
  89. package/dist/services/internal-transfers/internal-transfers.schemas.js.map +1 -1
  90. package/dist/services/internal-transfers/internal-transfers.types.d.ts +2 -2
  91. package/dist/services/lifecycle/lifecycle.schemas.d.ts +54 -54
  92. package/dist/services/market-overview/market-overview.schemas.d.ts +3 -3
  93. package/dist/services/orders/order-errors.schemas.d.ts +1 -1
  94. package/dist/services/orders/orders-batch.schemas.d.ts +34 -34
  95. package/dist/services/orders/orders-input.schemas.d.ts +4 -4
  96. package/dist/services/orders/orders-output.schemas.d.ts +16 -16
  97. package/dist/services/orders/orders.d.ts +2 -0
  98. package/dist/services/orders/orders.d.ts.map +1 -1
  99. package/dist/services/orders/orders.js +2 -0
  100. package/dist/services/orders/orders.js.map +1 -1
  101. package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +15 -15
  102. package/dist/services/policies/api-key-policies/api-key-policies.schemas.js +1 -1
  103. package/dist/services/policies/shared.codecs.js +64 -3
  104. package/dist/services/policies/shared.codecs.js.map +1 -1
  105. package/dist/services/policies/shared.d.ts +1 -1
  106. package/dist/services/policies/shared.d.ts.map +1 -1
  107. package/dist/services/policies/shared.js +5 -14
  108. package/dist/services/policies/shared.js.map +1 -1
  109. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +3 -3
  110. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js +3 -3
  111. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js.map +1 -1
  112. package/dist/services/rewards/rewards.d.ts +13 -3
  113. package/dist/services/rewards/rewards.d.ts.map +1 -1
  114. package/dist/services/rewards/rewards.js +17 -3
  115. package/dist/services/rewards/rewards.js.map +1 -1
  116. package/dist/services/rewards/rewards.schemas.d.ts +101 -4
  117. package/dist/services/rewards/rewards.schemas.d.ts.map +1 -1
  118. package/dist/services/rewards/rewards.schemas.js +12 -2
  119. package/dist/services/rewards/rewards.schemas.js.map +1 -1
  120. package/dist/services/rewards/rewards.types.d.ts +2 -2
  121. package/dist/services/subaccounts/subaccounts.schemas.d.ts +16 -16
  122. package/dist/services/trades/trades.schemas.d.ts +1 -1
  123. package/dist/services/transfers/transfers.schemas.d.ts +4 -4
  124. package/dist/services/triggers/trigger-input.schemas.d.ts +1 -1
  125. package/dist/services/triggers/triggers-output.schemas.d.ts +15 -15
  126. package/dist/services/zipper/zipper.schemas.d.ts +2 -2
  127. package/dist/services/zipper/zipper.schemas.d.ts.map +1 -1
  128. package/dist/services/zipper/zipper.schemas.js +13 -2
  129. package/dist/services/zipper/zipper.schemas.js.map +1 -1
  130. package/dist/services/zipper/zipper.types.d.ts +2 -2
  131. package/dist/shared/catalog-config.d.ts +13 -1
  132. package/dist/shared/catalog-config.d.ts.map +1 -1
  133. package/dist/shared/catalog-config.js +7 -1
  134. package/dist/shared/catalog-config.js.map +1 -1
  135. package/dist/shared/connect-error-mapping.d.ts.map +1 -1
  136. package/dist/shared/connect-error-mapping.js +5 -1
  137. package/dist/shared/connect-error-mapping.js.map +1 -1
  138. package/dist/shared/error-detail.d.ts +2 -0
  139. package/dist/shared/error-detail.d.ts.map +1 -1
  140. package/dist/shared/error-detail.js.map +1 -1
  141. package/dist/shared/error-details/claims.js +7 -2
  142. package/dist/shared/error-details/claims.js.map +1 -1
  143. package/dist/shared/errors.d.ts +20 -3
  144. package/dist/shared/errors.d.ts.map +1 -1
  145. package/dist/shared/errors.js +17 -1
  146. package/dist/shared/errors.js.map +1 -1
  147. package/dist/shared/ledger-codes.d.ts +5 -1
  148. package/dist/shared/ledger-codes.d.ts.map +1 -1
  149. package/dist/shared/ledger-codes.js +24 -3
  150. package/dist/shared/ledger-codes.js.map +1 -1
  151. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"quickswap_broker_pb.js","names":[],"sources":["../../../../../src/gen/swap/quickswap/v1/quickswap_broker_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file swap/quickswap/v1/quickswap_broker.proto (package swap.quickswap.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../../polyester/api/options_pb.js\";\nimport type { ChargedFee, QuickSwap, QuickSwapReason, QuickSwapStatus, QuickSwapTerms, RequestedFees, TokenAmount } from \"./quickswap_pb.js\";\nimport { file_swap_quickswap_v1_quickswap } from \"./quickswap_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file swap/quickswap/v1/quickswap_broker.proto.\n */\nexport const file_swap_quickswap_v1_quickswap_broker: GenFile = /*@__PURE__*/\n fileDesc(\"Cihzd2FwL3F1aWNrc3dhcC92MS9xdWlja3N3YXBfYnJva2VyLnByb3RvEhFzd2FwLnF1aWNrc3dhcC52MSK6AgoGQnJva2VyEgwKBG5hbWUYASABKAkSFAoMZGlzcGxheV9uYW1lGAIgASgJEg8KB2VuYWJsZWQYAyABKAgSFwoPcm9vdF9hY2NvdW50X2lkGAQgASgGEiAKGGRlZmF1bHRfdmF1bHRfYWNjb3VudF9pZBgFIAEoBhIcChRtYXhfYWZmaWxpYXRlX3ZhdWx0cxgGIAEoDRIrCgRyb2xlGAcgASgOMh0uc3dhcC5xdWlja3N3YXAudjEuQnJva2VyUm9sZRIRCglxdW90ZV9ycHMYCCABKA0SEgoKY3JlYXRlX3JwcxgJIAEoDRIQCghyZWFkX3JwcxgKIAEoDRIeChZtYXhfdW5mdW5kZWRfYWRkcmVzc2VzGAsgASgNEhwKFG1heF9jcmVhdGVzX3Blcl9ob3VyGAwgASgNIl4KC0Jyb2tlclVzYWdl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nF1aWNrc3dhcC52MS5HZXRCcm9rZXJTdGF0c1JlcXVlc3QaKS5zd2FwLnF1aWNrc3dhcC52MS5HZXRCcm9rZXJTdGF0c1Jlc3BvbnNlIgAaAEJLWklnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL3N3YXAvcXVpY2tzd2FwL3YxO3F1aWNrc3dhcHYxYgZwcm90bzM=\", [file_google_protobuf_timestamp, file_polyester_api_options, file_swap_quickswap_v1_quickswap]);\n\n/**\n * Broker is a broker org.\n *\n * @generated from message swap.quickswap.v1.Broker\n */\nexport type Broker = Message<\"swap.quickswap.v1.Broker\"> & {\n /**\n * Broker name: the immutable identifier used in every request.\n *\n * @generated from field: string name = 1;\n */\n name: string;\n\n /**\n * Display name.\n *\n * @generated from field: string display_name = 2;\n */\n displayName: string;\n\n /**\n * Whether the broker may quote and create QuickSwaps. A disabled broker\n * keeps reads, vaults, keys and members.\n *\n * @generated from field: bool enabled = 3;\n */\n enabled: boolean;\n\n /**\n * Public account ID of the broker's root account.\n *\n * @generated from field: fixed64 root_account_id = 4;\n */\n rootAccountId: bigint;\n\n /**\n * Public sub-account ID of the default vault, credited with broker fees\n * that name no affiliate.\n *\n * @generated from field: fixed64 default_vault_account_id = 5;\n */\n defaultVaultAccountId: bigint;\n\n /**\n * Affiliate vaults the broker may create, active and disabled together.\n * At the limit, CreateAffiliateVault fails with RESOURCE_EXHAUSTED /\n * BROKER_LIMIT.\n *\n * @generated from field: uint32 max_affiliate_vaults = 6;\n */\n maxAffiliateVaults: number;\n\n /**\n * The caller's role; BROKER_ROLE_UNSPECIFIED for a broker API key.\n *\n * @generated from field: swap.quickswap.v1.BrokerRole role = 7;\n */\n role: BrokerRole;\n\n /**\n * Quote requests per second allowed for each API key of the broker, which\n * is also the burst. Over the rate, QuoteQuickSwap fails with\n * RESOURCE_EXHAUSTED / BROKER_LIMIT and a Retry-After header.\n *\n * @generated from field: uint32 quote_rps = 8;\n */\n quoteRps: number;\n\n /**\n * Create requests per second allowed for each API key of the broker, which\n * is also the burst. Over the rate, CreateQuickSwap fails with\n * RESOURCE_EXHAUSTED / BROKER_LIMIT and a Retry-After header.\n *\n * @generated from field: uint32 create_rps = 9;\n */\n createRps: number;\n\n /**\n * Read requests per second allowed for each API key of the broker, which is\n * also the burst. GetQuickSwap and every QuickSwapBrokerService call by an\n * API key count as reads. Over the rate, the call fails with\n * RESOURCE_EXHAUSTED / BROKER_LIMIT and a Retry-After header.\n *\n * @generated from field: uint32 read_rps = 10;\n */\n readRps: number;\n\n /**\n * Unfunded Quick Swaps the broker may hold at once: Quick Swaps whose\n * deposit address is being issued or is still awaiting a deposit within\n * its funding window. At the limit, CreateQuickSwap fails with\n * RESOURCE_EXHAUSTED / BROKER_LIMIT; a deposit or the end of a funding\n * window frees a slot.\n *\n * @generated from field: uint32 max_unfunded_addresses = 11;\n */\n maxUnfundedAddresses: number;\n\n /**\n * Quick Swaps the broker may create in any rolling hour. At the limit,\n * CreateQuickSwap fails with RESOURCE_EXHAUSTED / BROKER_LIMIT until the\n * oldest create of the hour is more than an hour old.\n *\n * @generated from field: uint32 max_creates_per_hour = 12;\n */\n maxCreatesPerHour: number;\n};\n\n/**\n * Describes the message swap.quickswap.v1.Broker.\n * Use `create(BrokerSchema)` to create a new message.\n */\nexport const BrokerSchema: GenMessage<Broker> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 0);\n\n/**\n * BrokerUsage is the broker's current use of its limits, counted exactly as\n * the limits are enforced: the next create is refused while a count is at or\n * above its limit on Broker. A count can be above its limit after the limit\n * is lowered. The counts are read when the request is served and can change\n * right after with concurrent creates, deposits and expiring funding windows.\n *\n * @generated from message swap.quickswap.v1.BrokerUsage\n */\nexport type BrokerUsage = Message<\"swap.quickswap.v1.BrokerUsage\"> & {\n /**\n * Unfunded Quick Swaps held now, counted against\n * Broker.max_unfunded_addresses.\n *\n * @generated from field: uint32 unfunded_addresses = 1;\n */\n unfundedAddresses: number;\n\n /**\n * Quick Swaps created in the last hour, counted against\n * Broker.max_creates_per_hour.\n *\n * @generated from field: uint32 creates_last_hour = 2;\n */\n createsLastHour: number;\n\n /**\n * Affiliate vaults created, active and disabled together, counted against\n * Broker.max_affiliate_vaults.\n *\n * @generated from field: uint32 affiliate_vaults = 3;\n */\n affiliateVaults: number;\n};\n\n/**\n * Describes the message swap.quickswap.v1.BrokerUsage.\n * Use `create(BrokerUsageSchema)` to create a new message.\n */\nexport const BrokerUsageSchema: GenMessage<BrokerUsage> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 1);\n\n/**\n * AffiliateVault is a sub-account of the broker root, owned by the broker,\n * credited with the fees of one affiliate. Affiliate vaults are never\n * deleted.\n *\n * @generated from message swap.quickswap.v1.AffiliateVault\n */\nexport type AffiliateVault = Message<\"swap.quickswap.v1.AffiliateVault\"> & {\n /**\n * Public sub-account ID of the vault; name it in AffiliateShare.account_id.\n *\n * @generated from field: fixed64 account_id = 1;\n */\n accountId: bigint;\n\n /**\n * Broker-chosen label, unique per broker.\n *\n * @generated from field: string label = 2;\n */\n label: string;\n\n /**\n * Whether new QuickSwaps can name the vault.\n *\n * @generated from field: swap.quickswap.v1.VaultStatus status = 3;\n */\n status: VaultStatus;\n\n /**\n * When the vault was created.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 4;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * When the vault was last changed.\n *\n * @generated from field: google.protobuf.Timestamp updated_at = 5;\n */\n updatedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.AffiliateVault.\n * Use `create(AffiliateVaultSchema)` to create a new message.\n */\nexport const AffiliateVaultSchema: GenMessage<AffiliateVault> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 2);\n\n/**\n * BrokerKey is a broker API key, without its secret.\n *\n * @generated from message swap.quickswap.v1.BrokerKey\n */\nexport type BrokerKey = Message<\"swap.quickswap.v1.BrokerKey\"> & {\n /**\n * Public key ID: the part of the token between \"qsk_\" and the second \"_\".\n *\n * @generated from field: string key_id = 1;\n */\n keyId: string;\n\n /**\n * Label given at creation; empty for a key created by rotation.\n *\n * @generated from field: string label = 2;\n */\n label: string;\n\n /**\n * When the key was created.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 3;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * Public account ID of the member who created the key; 0 for a key that a\n * key created by rotating itself.\n *\n * @generated from field: fixed64 created_by_account_id = 4;\n */\n createdByAccountId: bigint;\n\n /**\n * Key this key replaced by rotation; empty otherwise.\n *\n * @generated from field: string rotated_from = 5;\n */\n rotatedFrom: string;\n\n /**\n * End of the key's rotation overlap; the key stops working then. Unset\n * while the key works until revoked.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 6;\n */\n expiresAt?: Timestamp | undefined;\n\n /**\n * When the key was revoked; unset while not revoked.\n *\n * @generated from field: google.protobuf.Timestamp revoked_at = 7;\n */\n revokedAt?: Timestamp | undefined;\n\n /**\n * Whether the key works now: neither revoked nor past expires_at.\n *\n * @generated from field: bool active = 8;\n */\n active: boolean;\n};\n\n/**\n * Describes the message swap.quickswap.v1.BrokerKey.\n * Use `create(BrokerKeySchema)` to create a new message.\n */\nexport const BrokerKeySchema: GenMessage<BrokerKey> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 3);\n\n/**\n * Member is a person with a role in the broker org.\n *\n * @generated from message swap.quickswap.v1.Member\n */\nexport type Member = Message<\"swap.quickswap.v1.Member\"> & {\n /**\n * Public account ID of the person's own account.\n *\n * @generated from field: fixed64 account_id = 1;\n */\n accountId: bigint;\n\n /**\n * Role.\n *\n * @generated from field: swap.quickswap.v1.BrokerRole role = 2;\n */\n role: BrokerRole;\n\n /**\n * When the person got this role.\n *\n * @generated from field: google.protobuf.Timestamp since = 3;\n */\n since?: Timestamp | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.Member.\n * Use `create(MemberSchema)` to create a new message.\n */\nexport const MemberSchema: GenMessage<Member> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 4);\n\n/**\n * Invite is a pending invitation to join a broker org.\n *\n * @generated from message swap.quickswap.v1.Invite\n */\nexport type Invite = Message<\"swap.quickswap.v1.Invite\"> & {\n /**\n * Public invite ID.\n *\n * @generated from field: fixed64 invite_id = 1;\n */\n inviteId: bigint;\n\n /**\n * Broker name.\n *\n * @generated from field: string broker = 2;\n */\n broker: string;\n\n /**\n * Broker display name.\n *\n * @generated from field: string broker_display_name = 3;\n */\n brokerDisplayName: string;\n\n /**\n * Public account ID of the invited person.\n *\n * @generated from field: fixed64 account_id = 4;\n */\n accountId: bigint;\n\n /**\n * Role the person gets on accepting.\n *\n * @generated from field: swap.quickswap.v1.BrokerRole role = 5;\n */\n role: BrokerRole;\n\n /**\n * Public account ID of the member who invited them.\n *\n * @generated from field: fixed64 invited_by_account_id = 6;\n */\n invitedByAccountId: bigint;\n\n /**\n * When the invite was sent.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 7;\n */\n createdAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.Invite.\n * Use `create(InviteSchema)` to create a new message.\n */\nexport const InviteSchema: GenMessage<Invite> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 5);\n\n/**\n * Membership is the caller's role in one broker org.\n *\n * @generated from message swap.quickswap.v1.Membership\n */\nexport type Membership = Message<\"swap.quickswap.v1.Membership\"> & {\n /**\n * Broker name.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Broker display name.\n *\n * @generated from field: string broker_display_name = 2;\n */\n brokerDisplayName: string;\n\n /**\n * The caller's role.\n *\n * @generated from field: swap.quickswap.v1.BrokerRole role = 3;\n */\n role: BrokerRole;\n};\n\n/**\n * Describes the message swap.quickswap.v1.Membership.\n * Use `create(MembershipSchema)` to create a new message.\n */\nexport const MembershipSchema: GenMessage<Membership> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 6);\n\n/**\n * GetBrokerRequest names a broker.\n *\n * @generated from message swap.quickswap.v1.GetBrokerRequest\n */\nexport type GetBrokerRequest = Message<\"swap.quickswap.v1.GetBrokerRequest\"> & {\n /**\n * Broker name. A broker API key may name only its own broker.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.GetBrokerRequest.\n * Use `create(GetBrokerRequestSchema)` to create a new message.\n */\nexport const GetBrokerRequestSchema: GenMessage<GetBrokerRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 7);\n\n/**\n * GetBrokerResponse returns the broker, with its limits, and its current\n * usage of them.\n *\n * @generated from message swap.quickswap.v1.GetBrokerResponse\n */\nexport type GetBrokerResponse = Message<\"swap.quickswap.v1.GetBrokerResponse\"> & {\n /**\n * The broker, with its limits.\n *\n * @generated from field: swap.quickswap.v1.Broker broker = 1;\n */\n broker?: Broker | undefined;\n\n /**\n * Current usage of the broker's limits.\n *\n * @generated from field: swap.quickswap.v1.BrokerUsage usage = 2;\n */\n usage?: BrokerUsage | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.GetBrokerResponse.\n * Use `create(GetBrokerResponseSchema)` to create a new message.\n */\nexport const GetBrokerResponseSchema: GenMessage<GetBrokerResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 8);\n\n/**\n * ListMyBrokersRequest lists the caller's broker memberships and invites.\n *\n * @generated from message swap.quickswap.v1.ListMyBrokersRequest\n */\nexport type ListMyBrokersRequest = Message<\"swap.quickswap.v1.ListMyBrokersRequest\"> & {\n};\n\n/**\n * Describes the message swap.quickswap.v1.ListMyBrokersRequest.\n * Use `create(ListMyBrokersRequestSchema)` to create a new message.\n */\nexport const ListMyBrokersRequestSchema: GenMessage<ListMyBrokersRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 9);\n\n/**\n * ListMyBrokersResponse lists every membership and pending invite of the\n * caller, by broker name. Both lists are naturally bounded.\n *\n * @generated from message swap.quickswap.v1.ListMyBrokersResponse\n */\nexport type ListMyBrokersResponse = Message<\"swap.quickswap.v1.ListMyBrokersResponse\"> & {\n /**\n * Brokers the caller is a member of.\n *\n * @generated from field: repeated swap.quickswap.v1.Membership memberships = 1;\n */\n memberships: Membership[];\n\n /**\n * Pending invites addressed to the caller.\n *\n * @generated from field: repeated swap.quickswap.v1.Invite invites = 2;\n */\n invites: Invite[];\n};\n\n/**\n * Describes the message swap.quickswap.v1.ListMyBrokersResponse.\n * Use `create(ListMyBrokersResponseSchema)` to create a new message.\n */\nexport const ListMyBrokersResponseSchema: GenMessage<ListMyBrokersResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 10);\n\n/**\n * RespondToInviteRequest accepts or declines a pending invite addressed to\n * the caller.\n *\n * @generated from message swap.quickswap.v1.RespondToInviteRequest\n */\nexport type RespondToInviteRequest = Message<\"swap.quickswap.v1.RespondToInviteRequest\"> & {\n /**\n * Public invite ID.\n *\n * @generated from field: fixed64 invite_id = 1;\n */\n inviteId: bigint;\n\n /**\n * True to accept, false to decline.\n *\n * @generated from field: bool accept = 2;\n */\n accept: boolean;\n};\n\n/**\n * Describes the message swap.quickswap.v1.RespondToInviteRequest.\n * Use `create(RespondToInviteRequestSchema)` to create a new message.\n */\nexport const RespondToInviteRequestSchema: GenMessage<RespondToInviteRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 11);\n\n/**\n * RespondToInviteResponse returns the caller's new membership.\n *\n * @generated from message swap.quickswap.v1.RespondToInviteResponse\n */\nexport type RespondToInviteResponse = Message<\"swap.quickswap.v1.RespondToInviteResponse\"> & {\n /**\n * The membership; unset when the invite was declined.\n *\n * @generated from field: swap.quickswap.v1.Membership membership = 1;\n */\n membership?: Membership | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.RespondToInviteResponse.\n * Use `create(RespondToInviteResponseSchema)` to create a new message.\n */\nexport const RespondToInviteResponseSchema: GenMessage<RespondToInviteResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 12);\n\n/**\n * ListMembersRequest lists a broker's members.\n *\n * @generated from message swap.quickswap.v1.ListMembersRequest\n */\nexport type ListMembersRequest = Message<\"swap.quickswap.v1.ListMembersRequest\"> & {\n /**\n * Broker name.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ListMembersRequest.\n * Use `create(ListMembersRequestSchema)` to create a new message.\n */\nexport const ListMembersRequestSchema: GenMessage<ListMembersRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 13);\n\n/**\n * ListMembersResponse lists every member and pending invite of the broker,\n * Owner first, then by account ID. Both lists are naturally bounded.\n *\n * @generated from message swap.quickswap.v1.ListMembersResponse\n */\nexport type ListMembersResponse = Message<\"swap.quickswap.v1.ListMembersResponse\"> & {\n /**\n * Members.\n *\n * @generated from field: repeated swap.quickswap.v1.Member members = 1;\n */\n members: Member[];\n\n /**\n * Pending invites, newest first.\n *\n * @generated from field: repeated swap.quickswap.v1.Invite invites = 2;\n */\n invites: Invite[];\n};\n\n/**\n * Describes the message swap.quickswap.v1.ListMembersResponse.\n * Use `create(ListMembersResponseSchema)` to create a new message.\n */\nexport const ListMembersResponseSchema: GenMessage<ListMembersResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 14);\n\n/**\n * InviteMemberRequest invites a person to the broker.\n *\n * @generated from message swap.quickswap.v1.InviteMemberRequest\n */\nexport type InviteMemberRequest = Message<\"swap.quickswap.v1.InviteMemberRequest\"> & {\n /**\n * Broker name.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Public account ID of the person's own account.\n *\n * @generated from field: fixed64 account_id = 2;\n */\n accountId: bigint;\n\n /**\n * Role the person gets on accepting; never OWNER.\n *\n * @generated from field: swap.quickswap.v1.BrokerRole role = 3;\n */\n role: BrokerRole;\n};\n\n/**\n * Describes the message swap.quickswap.v1.InviteMemberRequest.\n * Use `create(InviteMemberRequestSchema)` to create a new message.\n */\nexport const InviteMemberRequestSchema: GenMessage<InviteMemberRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 15);\n\n/**\n * InviteMemberResponse returns the pending invite.\n *\n * @generated from message swap.quickswap.v1.InviteMemberResponse\n */\nexport type InviteMemberResponse = Message<\"swap.quickswap.v1.InviteMemberResponse\"> & {\n /**\n * The invite.\n *\n * @generated from field: swap.quickswap.v1.Invite invite = 1;\n */\n invite?: Invite | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.InviteMemberResponse.\n * Use `create(InviteMemberResponseSchema)` to create a new message.\n */\nexport const InviteMemberResponseSchema: GenMessage<InviteMemberResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 16);\n\n/**\n * SetMemberRoleRequest changes a member's role.\n *\n * @generated from message swap.quickswap.v1.SetMemberRoleRequest\n */\nexport type SetMemberRoleRequest = Message<\"swap.quickswap.v1.SetMemberRoleRequest\"> & {\n /**\n * Broker name.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Public account ID of the member.\n *\n * @generated from field: fixed64 account_id = 2;\n */\n accountId: bigint;\n\n /**\n * New role; never OWNER.\n *\n * @generated from field: swap.quickswap.v1.BrokerRole role = 3;\n */\n role: BrokerRole;\n};\n\n/**\n * Describes the message swap.quickswap.v1.SetMemberRoleRequest.\n * Use `create(SetMemberRoleRequestSchema)` to create a new message.\n */\nexport const SetMemberRoleRequestSchema: GenMessage<SetMemberRoleRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 17);\n\n/**\n * SetMemberRoleResponse is empty.\n *\n * @generated from message swap.quickswap.v1.SetMemberRoleResponse\n */\nexport type SetMemberRoleResponse = Message<\"swap.quickswap.v1.SetMemberRoleResponse\"> & {\n};\n\n/**\n * Describes the message swap.quickswap.v1.SetMemberRoleResponse.\n * Use `create(SetMemberRoleResponseSchema)` to create a new message.\n */\nexport const SetMemberRoleResponseSchema: GenMessage<SetMemberRoleResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 18);\n\n/**\n * RemoveMemberRequest removes a member, or cancels the person's pending\n * invite.\n *\n * @generated from message swap.quickswap.v1.RemoveMemberRequest\n */\nexport type RemoveMemberRequest = Message<\"swap.quickswap.v1.RemoveMemberRequest\"> & {\n /**\n * Broker name.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Public account ID of the member or invited person.\n *\n * @generated from field: fixed64 account_id = 2;\n */\n accountId: bigint;\n};\n\n/**\n * Describes the message swap.quickswap.v1.RemoveMemberRequest.\n * Use `create(RemoveMemberRequestSchema)` to create a new message.\n */\nexport const RemoveMemberRequestSchema: GenMessage<RemoveMemberRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 19);\n\n/**\n * RemoveMemberResponse is empty.\n *\n * @generated from message swap.quickswap.v1.RemoveMemberResponse\n */\nexport type RemoveMemberResponse = Message<\"swap.quickswap.v1.RemoveMemberResponse\"> & {\n};\n\n/**\n * Describes the message swap.quickswap.v1.RemoveMemberResponse.\n * Use `create(RemoveMemberResponseSchema)` to create a new message.\n */\nexport const RemoveMemberResponseSchema: GenMessage<RemoveMemberResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 20);\n\n/**\n * TransferOwnershipRequest makes another member the Owner.\n *\n * @generated from message swap.quickswap.v1.TransferOwnershipRequest\n */\nexport type TransferOwnershipRequest = Message<\"swap.quickswap.v1.TransferOwnershipRequest\"> & {\n /**\n * Broker name.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Public account ID of the member who becomes the Owner.\n *\n * @generated from field: fixed64 account_id = 2;\n */\n accountId: bigint;\n};\n\n/**\n * Describes the message swap.quickswap.v1.TransferOwnershipRequest.\n * Use `create(TransferOwnershipRequestSchema)` to create a new message.\n */\nexport const TransferOwnershipRequestSchema: GenMessage<TransferOwnershipRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 21);\n\n/**\n * TransferOwnershipResponse is empty.\n *\n * @generated from message swap.quickswap.v1.TransferOwnershipResponse\n */\nexport type TransferOwnershipResponse = Message<\"swap.quickswap.v1.TransferOwnershipResponse\"> & {\n};\n\n/**\n * Describes the message swap.quickswap.v1.TransferOwnershipResponse.\n * Use `create(TransferOwnershipResponseSchema)` to create a new message.\n */\nexport const TransferOwnershipResponseSchema: GenMessage<TransferOwnershipResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 22);\n\n/**\n * ListKeysRequest lists a broker's API keys, working and past.\n *\n * @generated from message swap.quickswap.v1.ListKeysRequest\n */\nexport type ListKeysRequest = Message<\"swap.quickswap.v1.ListKeysRequest\"> & {\n /**\n * Broker name. A broker API key may name only its own broker.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Maximum number of keys to return; 0 means 100, at most 200.\n *\n * @generated from field: uint32 limit = 2;\n */\n limit: number;\n\n /**\n * Opaque keyset cursor from a previous next_page_token, exclusive, bound to\n * the broker and ordered newest first by creation time, then key ID. Empty\n * for the first page.\n *\n * @generated from field: string page_token = 3;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ListKeysRequest.\n * Use `create(ListKeysRequestSchema)` to create a new message.\n */\nexport const ListKeysRequestSchema: GenMessage<ListKeysRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 23);\n\n/**\n * ListKeysResponse lists the broker's API keys newest first: by creation\n * time, then key ID, both descending. A broker has at most two working keys;\n * revoked and expired keys stay listed.\n *\n * @generated from message swap.quickswap.v1.ListKeysResponse\n */\nexport type ListKeysResponse = Message<\"swap.quickswap.v1.ListKeysResponse\"> & {\n /**\n * Keys.\n *\n * @generated from field: repeated swap.quickswap.v1.BrokerKey keys = 1;\n */\n keys: BrokerKey[];\n\n /**\n * Cursor of the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ListKeysResponse.\n * Use `create(ListKeysResponseSchema)` to create a new message.\n */\nexport const ListKeysResponseSchema: GenMessage<ListKeysResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 24);\n\n/**\n * CreateKeyRequest creates a broker API key.\n *\n * @generated from message swap.quickswap.v1.CreateKeyRequest\n */\nexport type CreateKeyRequest = Message<\"swap.quickswap.v1.CreateKeyRequest\"> & {\n /**\n * Broker name.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Label, 1 to 64 characters without leading or trailing whitespace.\n *\n * @generated from field: string label = 2;\n */\n label: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.CreateKeyRequest.\n * Use `create(CreateKeyRequestSchema)` to create a new message.\n */\nexport const CreateKeyRequestSchema: GenMessage<CreateKeyRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 25);\n\n/**\n * CreateKeyResponse returns the key and its token. The token is shown only\n * here and cannot be recovered.\n *\n * @generated from message swap.quickswap.v1.CreateKeyResponse\n */\nexport type CreateKeyResponse = Message<\"swap.quickswap.v1.CreateKeyResponse\"> & {\n /**\n * The key.\n *\n * @generated from field: swap.quickswap.v1.BrokerKey key = 1;\n */\n key?: BrokerKey | undefined;\n\n /**\n * Bearer token qsk_<key id>_<secret>. Store it as a server secret.\n *\n * @generated from field: string token = 2;\n */\n token: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.CreateKeyResponse.\n * Use `create(CreateKeyResponseSchema)` to create a new message.\n */\nexport const CreateKeyResponseSchema: GenMessage<CreateKeyResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 26);\n\n/**\n * RotateKeyRequest replaces a key by a new one. The old key keeps working\n * for the overlap, then stops.\n *\n * @generated from message swap.quickswap.v1.RotateKeyRequest\n */\nexport type RotateKeyRequest = Message<\"swap.quickswap.v1.RotateKeyRequest\"> & {\n /**\n * Broker name. A broker API key may name only its own broker.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Key to rotate. A broker API key may rotate only itself.\n *\n * @generated from field: string key_id = 2;\n */\n keyId: string;\n\n /**\n * How long the old key keeps working, in seconds, from 0 to 604800 (7\n * days). Default 86400 (24 hours). 0 revokes it immediately.\n *\n * @generated from field: optional uint32 overlap_seconds = 3;\n */\n overlapSeconds?: number | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.RotateKeyRequest.\n * Use `create(RotateKeyRequestSchema)` to create a new message.\n */\nexport const RotateKeyRequestSchema: GenMessage<RotateKeyRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 27);\n\n/**\n * RotateKeyResponse returns the new key, its token and the old key. The token\n * is shown only here and cannot be recovered.\n *\n * @generated from message swap.quickswap.v1.RotateKeyResponse\n */\nexport type RotateKeyResponse = Message<\"swap.quickswap.v1.RotateKeyResponse\"> & {\n /**\n * The new key.\n *\n * @generated from field: swap.quickswap.v1.BrokerKey key = 1;\n */\n key?: BrokerKey | undefined;\n\n /**\n * Bearer token qsk_<key id>_<secret> of the new key.\n *\n * @generated from field: string token = 2;\n */\n token: string;\n\n /**\n * The old key, with the end of its overlap.\n *\n * @generated from field: swap.quickswap.v1.BrokerKey previous_key = 3;\n */\n previousKey?: BrokerKey | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.RotateKeyResponse.\n * Use `create(RotateKeyResponseSchema)` to create a new message.\n */\nexport const RotateKeyResponseSchema: GenMessage<RotateKeyResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 28);\n\n/**\n * RevokeKeyRequest revokes a key immediately.\n *\n * @generated from message swap.quickswap.v1.RevokeKeyRequest\n */\nexport type RevokeKeyRequest = Message<\"swap.quickswap.v1.RevokeKeyRequest\"> & {\n /**\n * Broker name.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Key to revoke.\n *\n * @generated from field: string key_id = 2;\n */\n keyId: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.RevokeKeyRequest.\n * Use `create(RevokeKeyRequestSchema)` to create a new message.\n */\nexport const RevokeKeyRequestSchema: GenMessage<RevokeKeyRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 29);\n\n/**\n * RevokeKeyResponse returns the revoked key.\n *\n * @generated from message swap.quickswap.v1.RevokeKeyResponse\n */\nexport type RevokeKeyResponse = Message<\"swap.quickswap.v1.RevokeKeyResponse\"> & {\n /**\n * The key.\n *\n * @generated from field: swap.quickswap.v1.BrokerKey key = 1;\n */\n key?: BrokerKey | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.RevokeKeyResponse.\n * Use `create(RevokeKeyResponseSchema)` to create a new message.\n */\nexport const RevokeKeyResponseSchema: GenMessage<RevokeKeyResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 30);\n\n/**\n * CreateAffiliateVaultRequest creates, or returns, the affiliate vault with a\n * label.\n *\n * @generated from message swap.quickswap.v1.CreateAffiliateVaultRequest\n */\nexport type CreateAffiliateVaultRequest = Message<\"swap.quickswap.v1.CreateAffiliateVaultRequest\"> & {\n /**\n * Broker name. A broker API key may name only its own broker.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Label, 1 to 64 characters without leading or trailing whitespace, unique\n * per broker. The same label always returns the same vault.\n *\n * @generated from field: string label = 2;\n */\n label: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.CreateAffiliateVaultRequest.\n * Use `create(CreateAffiliateVaultRequestSchema)` to create a new message.\n */\nexport const CreateAffiliateVaultRequestSchema: GenMessage<CreateAffiliateVaultRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 31);\n\n/**\n * CreateAffiliateVaultResponse returns the vault.\n *\n * @generated from message swap.quickswap.v1.CreateAffiliateVaultResponse\n */\nexport type CreateAffiliateVaultResponse = Message<\"swap.quickswap.v1.CreateAffiliateVaultResponse\"> & {\n /**\n * The vault.\n *\n * @generated from field: swap.quickswap.v1.AffiliateVault vault = 1;\n */\n vault?: AffiliateVault | undefined;\n\n /**\n * Whether this request created it.\n *\n * @generated from field: bool created = 2;\n */\n created: boolean;\n};\n\n/**\n * Describes the message swap.quickswap.v1.CreateAffiliateVaultResponse.\n * Use `create(CreateAffiliateVaultResponseSchema)` to create a new message.\n */\nexport const CreateAffiliateVaultResponseSchema: GenMessage<CreateAffiliateVaultResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 32);\n\n/**\n * ListVaultsRequest lists a broker's affiliate vaults.\n *\n * @generated from message swap.quickswap.v1.ListVaultsRequest\n */\nexport type ListVaultsRequest = Message<\"swap.quickswap.v1.ListVaultsRequest\"> & {\n /**\n * Broker name. A broker API key may name only its own broker.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Maximum number of vaults to return; 0 means 100, at most 200.\n *\n * @generated from field: uint32 limit = 2;\n */\n limit: number;\n\n /**\n * Opaque keyset cursor from a previous next_page_token, exclusive, bound to\n * the broker and ordered by ascending account_id. Empty for the first page.\n *\n * @generated from field: string page_token = 3;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ListVaultsRequest.\n * Use `create(ListVaultsRequestSchema)` to create a new message.\n */\nexport const ListVaultsRequestSchema: GenMessage<ListVaultsRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 33);\n\n/**\n * ListVaultsResponse lists vaults in ascending account_id order.\n *\n * @generated from message swap.quickswap.v1.ListVaultsResponse\n */\nexport type ListVaultsResponse = Message<\"swap.quickswap.v1.ListVaultsResponse\"> & {\n /**\n * The vaults.\n *\n * @generated from field: repeated swap.quickswap.v1.AffiliateVault vaults = 1;\n */\n vaults: AffiliateVault[];\n\n /**\n * Cursor of the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ListVaultsResponse.\n * Use `create(ListVaultsResponseSchema)` to create a new message.\n */\nexport const ListVaultsResponseSchema: GenMessage<ListVaultsResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 34);\n\n/**\n * GetVaultRequest names one affiliate vault.\n *\n * @generated from message swap.quickswap.v1.GetVaultRequest\n */\nexport type GetVaultRequest = Message<\"swap.quickswap.v1.GetVaultRequest\"> & {\n /**\n * Broker name. A broker API key may name only its own broker.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Public sub-account ID of the vault.\n *\n * @generated from field: fixed64 account_id = 2;\n */\n accountId: bigint;\n};\n\n/**\n * Describes the message swap.quickswap.v1.GetVaultRequest.\n * Use `create(GetVaultRequestSchema)` to create a new message.\n */\nexport const GetVaultRequestSchema: GenMessage<GetVaultRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 35);\n\n/**\n * GetVaultResponse returns the vault.\n *\n * @generated from message swap.quickswap.v1.GetVaultResponse\n */\nexport type GetVaultResponse = Message<\"swap.quickswap.v1.GetVaultResponse\"> & {\n /**\n * The vault.\n *\n * @generated from field: swap.quickswap.v1.AffiliateVault vault = 1;\n */\n vault?: AffiliateVault | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.GetVaultResponse.\n * Use `create(GetVaultResponseSchema)` to create a new message.\n */\nexport const GetVaultResponseSchema: GenMessage<GetVaultResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 36);\n\n/**\n * SetVaultStatusRequest enables or disables an affiliate vault for new\n * QuickSwaps.\n *\n * @generated from message swap.quickswap.v1.SetVaultStatusRequest\n */\nexport type SetVaultStatusRequest = Message<\"swap.quickswap.v1.SetVaultStatusRequest\"> & {\n /**\n * Broker name. A broker API key may name only its own broker.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Public sub-account ID of the vault.\n *\n * @generated from field: fixed64 account_id = 2;\n */\n accountId: bigint;\n\n /**\n * New status.\n *\n * @generated from field: swap.quickswap.v1.VaultStatus status = 3;\n */\n status: VaultStatus;\n};\n\n/**\n * Describes the message swap.quickswap.v1.SetVaultStatusRequest.\n * Use `create(SetVaultStatusRequestSchema)` to create a new message.\n */\nexport const SetVaultStatusRequestSchema: GenMessage<SetVaultStatusRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 37);\n\n/**\n * SetVaultStatusResponse returns the vault.\n *\n * @generated from message swap.quickswap.v1.SetVaultStatusResponse\n */\nexport type SetVaultStatusResponse = Message<\"swap.quickswap.v1.SetVaultStatusResponse\"> & {\n /**\n * The vault.\n *\n * @generated from field: swap.quickswap.v1.AffiliateVault vault = 1;\n */\n vault?: AffiliateVault | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.SetVaultStatusResponse.\n * Use `create(SetVaultStatusResponseSchema)` to create a new message.\n */\nexport const SetVaultStatusResponseSchema: GenMessage<SetVaultStatusResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 38);\n\n/**\n * QuickSwapSummary is one QuickSwap in a list: its state and fees. Get it\n * with QuickSwapService.GetQuickSwap for its quote, deposit and withdrawals.\n *\n * @generated from message swap.quickswap.v1.QuickSwapSummary\n */\nexport type QuickSwapSummary = Message<\"swap.quickswap.v1.QuickSwapSummary\"> & {\n /**\n * Public QuickSwap identifier.\n *\n * @generated from field: fixed64 swap_id = 1;\n */\n swapId: bigint;\n\n /**\n * The broker's idempotency key that created it.\n *\n * @generated from field: string idempotency_key = 2;\n */\n idempotencyKey: string;\n\n /**\n * Current status.\n *\n * @generated from field: swap.quickswap.v1.QuickSwapStatus status = 3;\n */\n status: QuickSwapStatus;\n\n /**\n * Why the status is notable; REASON_UNSPECIFIED otherwise.\n *\n * @generated from field: swap.quickswap.v1.QuickSwapReason reason = 4;\n */\n reason: QuickSwapReason;\n\n /**\n * True when status is terminal.\n *\n * @generated from field: bool is_terminal = 5;\n */\n isTerminal: boolean;\n\n /**\n * Accepted economic terms.\n *\n * @generated from field: swap.quickswap.v1.QuickSwapTerms terms = 6;\n */\n terms?: QuickSwapTerms | undefined;\n\n /**\n * Broker and affiliate fees as requested, fixed at creation; unset when\n * the request set none.\n *\n * @generated from field: swap.quickswap.v1.RequestedFees fees = 7;\n */\n fees?: RequestedFees | undefined;\n\n /**\n * Broker and affiliate fees charged so far, as settled, as on QuickSwap.\n *\n * @generated from field: repeated swap.quickswap.v1.ChargedFee charged_fees = 8;\n */\n chargedFees: ChargedFee[];\n\n /**\n * When the QuickSwap was created.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 9;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * When the QuickSwap last changed.\n *\n * @generated from field: google.protobuf.Timestamp updated_at = 10;\n */\n updatedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.QuickSwapSummary.\n * Use `create(QuickSwapSummarySchema)` to create a new message.\n */\nexport const QuickSwapSummarySchema: GenMessage<QuickSwapSummary> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 39);\n\n/**\n * QuickSwapBrokerServiceGetQuickSwapRequest reads one QuickSwap belonging to this broker.\n *\n * @generated from message swap.quickswap.v1.QuickSwapBrokerServiceGetQuickSwapRequest\n */\nexport type QuickSwapBrokerServiceGetQuickSwapRequest = Message<\"swap.quickswap.v1.QuickSwapBrokerServiceGetQuickSwapRequest\"> & {\n /**\n * Broker name. A broker API key may name only its own broker.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Public QuickSwap ID. Another broker's swap is indistinguishable from an\n * unknown ID.\n *\n * @generated from field: fixed64 swap_id = 2;\n */\n swapId: bigint;\n};\n\n/**\n * Describes the message swap.quickswap.v1.QuickSwapBrokerServiceGetQuickSwapRequest.\n * Use `create(QuickSwapBrokerServiceGetQuickSwapRequestSchema)` to create a new message.\n */\nexport const QuickSwapBrokerServiceGetQuickSwapRequestSchema: GenMessage<QuickSwapBrokerServiceGetQuickSwapRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 40);\n\n/**\n * QuickSwapBrokerServiceGetQuickSwapResponse carries the broker's full swap detail.\n *\n * @generated from message swap.quickswap.v1.QuickSwapBrokerServiceGetQuickSwapResponse\n */\nexport type QuickSwapBrokerServiceGetQuickSwapResponse = Message<\"swap.quickswap.v1.QuickSwapBrokerServiceGetQuickSwapResponse\"> & {\n /**\n * The broker-owned QuickSwap, including its quote, addresses, progress and fees.\n *\n * @generated from field: swap.quickswap.v1.QuickSwap quick_swap = 1;\n */\n quickSwap?: QuickSwap | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.QuickSwapBrokerServiceGetQuickSwapResponse.\n * Use `create(QuickSwapBrokerServiceGetQuickSwapResponseSchema)` to create a new message.\n */\nexport const QuickSwapBrokerServiceGetQuickSwapResponseSchema: GenMessage<QuickSwapBrokerServiceGetQuickSwapResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 41);\n\n/**\n * ListQuickSwapsRequest lists the broker's QuickSwaps, newest first, with\n * optional filters. Every filter narrows the list.\n *\n * @generated from message swap.quickswap.v1.ListQuickSwapsRequest\n */\nexport type ListQuickSwapsRequest = Message<\"swap.quickswap.v1.ListQuickSwapsRequest\"> & {\n /**\n * Broker name. A broker API key may name only its own broker.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Only QuickSwaps whose fees credit this vault: an affiliate vault they\n * name, or the default vault when they set a broker fee. Zero for every\n * QuickSwap.\n *\n * @generated from field: fixed64 vault_account_id = 2;\n */\n vaultAccountId: bigint;\n\n /**\n * Only QuickSwaps in one of these statuses, at most 16; empty for every\n * status.\n *\n * @generated from field: repeated swap.quickswap.v1.QuickSwapStatus statuses = 3;\n */\n statuses: QuickSwapStatus[];\n\n /**\n * Only QuickSwaps created at or after start_time; unset for no lower\n * bound.\n *\n * @generated from field: google.protobuf.Timestamp start_time = 4;\n */\n startTime?: Timestamp | undefined;\n\n /**\n * Only QuickSwaps created before end_time (exclusive); unset for no upper\n * bound.\n *\n * @generated from field: google.protobuf.Timestamp end_time = 5;\n */\n endTime?: Timestamp | undefined;\n\n /**\n * Maximum number of QuickSwaps to return; 0 means 100, at most 200.\n *\n * @generated from field: uint32 limit = 6;\n */\n limit: number;\n\n /**\n * Opaque keyset cursor from a previous next_page_token, exclusive, bound\n * to the broker, the filters and the newest-first order by creation time,\n * then swap_id. Reuse it with the same filters. Empty for the first page.\n *\n * @generated from field: string page_token = 7;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ListQuickSwapsRequest.\n * Use `create(ListQuickSwapsRequestSchema)` to create a new message.\n */\nexport const ListQuickSwapsRequestSchema: GenMessage<ListQuickSwapsRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 42);\n\n/**\n * ListQuickSwapsResponse lists QuickSwaps newest first: by creation time,\n * then swap_id, both descending. A QuickSwap created after the first page\n * was read is not listed by later pages; every earlier one is listed exactly\n * once.\n *\n * @generated from message swap.quickswap.v1.ListQuickSwapsResponse\n */\nexport type ListQuickSwapsResponse = Message<\"swap.quickswap.v1.ListQuickSwapsResponse\"> & {\n /**\n * The QuickSwaps.\n *\n * @generated from field: repeated swap.quickswap.v1.QuickSwapSummary quick_swaps = 1;\n */\n quickSwaps: QuickSwapSummary[];\n\n /**\n * Cursor of the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ListQuickSwapsResponse.\n * Use `create(ListQuickSwapsResponseSchema)` to create a new message.\n */\nexport const ListQuickSwapsResponseSchema: GenMessage<ListQuickSwapsResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 43);\n\n/**\n * GetFeeTotalsRequest totals the broker and affiliate fees charged to the\n * broker's QuickSwaps in a time window.\n *\n * @generated from message swap.quickswap.v1.GetFeeTotalsRequest\n */\nexport type GetFeeTotalsRequest = Message<\"swap.quickswap.v1.GetFeeTotalsRequest\"> & {\n /**\n * Broker name. A broker API key may name only its own broker.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * How to group the totals.\n *\n * @generated from field: swap.quickswap.v1.FeeTotalsGrouping group_by = 2;\n */\n groupBy: FeeTotalsGrouping;\n\n /**\n * Start of the window, inclusive: fees charged at or after it.\n *\n * @generated from field: google.protobuf.Timestamp start_time = 3;\n */\n startTime?: Timestamp | undefined;\n\n /**\n * End of the window, exclusive, at most 366 days after start_time.\n *\n * @generated from field: google.protobuf.Timestamp end_time = 4;\n */\n endTime?: Timestamp | undefined;\n\n /**\n * Only fees credited to this vault; zero for every vault.\n *\n * @generated from field: fixed64 vault_account_id = 5;\n */\n vaultAccountId: bigint;\n};\n\n/**\n * Describes the message swap.quickswap.v1.GetFeeTotalsRequest.\n * Use `create(GetFeeTotalsRequestSchema)` to create a new message.\n */\nexport const GetFeeTotalsRequestSchema: GenMessage<GetFeeTotalsRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 44);\n\n/**\n * FeeTotal is the fees charged in one group and asset.\n *\n * @generated from message swap.quickswap.v1.FeeTotal\n */\nexport type FeeTotal = Message<\"swap.quickswap.v1.FeeTotal\"> & {\n /**\n * BY_VAULT: public sub-account ID of the credited vault; zero otherwise.\n *\n * @generated from field: fixed64 vault_account_id = 1;\n */\n vaultAccountId: bigint;\n\n /**\n * BY_DAY or BY_MONTH: start of the UTC day or month; unset for BY_VAULT.\n *\n * @generated from field: google.protobuf.Timestamp period_start = 2;\n */\n periodStart?: Timestamp | undefined;\n\n /**\n * Asset credited, as an AssetConfig.ledger_id from\n * GET /v1/chain/deposit-withdraw/config.\n *\n * @generated from field: uint32 asset_id = 3;\n */\n assetId: number;\n\n /**\n * Total credited, in base units of 18 decimals.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount amount = 4;\n */\n amount?: TokenAmount | undefined;\n\n /**\n * QuickSwaps that were charged a fee in this group and asset.\n *\n * @generated from field: uint64 swap_count = 5;\n */\n swapCount: bigint;\n};\n\n/**\n * Describes the message swap.quickswap.v1.FeeTotal.\n * Use `create(FeeTotalSchema)` to create a new message.\n */\nexport const FeeTotalSchema: GenMessage<FeeTotal> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 45);\n\n/**\n * GetFeeTotalsResponse lists every group and asset with a fee in the window,\n * complete (the window is bounded): by vault, then asset, for BY_VAULT; by\n * period, then asset, for BY_DAY and BY_MONTH, oldest first.\n *\n * @generated from message swap.quickswap.v1.GetFeeTotalsResponse\n */\nexport type GetFeeTotalsResponse = Message<\"swap.quickswap.v1.GetFeeTotalsResponse\"> & {\n /**\n * The totals.\n *\n * @generated from field: repeated swap.quickswap.v1.FeeTotal totals = 1;\n */\n totals: FeeTotal[];\n};\n\n/**\n * Describes the message swap.quickswap.v1.GetFeeTotalsResponse.\n * Use `create(GetFeeTotalsResponseSchema)` to create a new message.\n */\nexport const GetFeeTotalsResponseSchema: GenMessage<GetFeeTotalsResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 46);\n\n/**\n * GetBrokerStatsRequest reads the broker's QuickSwap activity in a time\n * window, per UTC day or month.\n *\n * @generated from message swap.quickswap.v1.GetBrokerStatsRequest\n */\nexport type GetBrokerStatsRequest = Message<\"swap.quickswap.v1.GetBrokerStatsRequest\"> & {\n /**\n * Broker name. A broker API key may name only its own broker.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * The period to group by.\n *\n * @generated from field: swap.quickswap.v1.StatsPeriod group_by = 2;\n */\n groupBy: StatsPeriod;\n\n /**\n * Start of the window, inclusive. A window that starts or ends inside a\n * period counts only the part of that period inside the window.\n *\n * @generated from field: google.protobuf.Timestamp start_time = 3;\n */\n startTime?: Timestamp | undefined;\n\n /**\n * End of the window, exclusive, at most 366 days after start_time.\n *\n * @generated from field: google.protobuf.Timestamp end_time = 4;\n */\n endTime?: Timestamp | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.GetBrokerStatsRequest.\n * Use `create(GetBrokerStatsRequestSchema)` to create a new message.\n */\nexport const GetBrokerStatsRequestSchema: GenMessage<GetBrokerStatsRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 47);\n\n/**\n * StatusCount is how many QuickSwaps are in one status.\n *\n * @generated from message swap.quickswap.v1.StatusCount\n */\nexport type StatusCount = Message<\"swap.quickswap.v1.StatusCount\"> & {\n /**\n * The status.\n *\n * @generated from field: swap.quickswap.v1.QuickSwapStatus status = 1;\n */\n status: QuickSwapStatus;\n\n /**\n * QuickSwaps in it.\n *\n * @generated from field: uint64 count = 2;\n */\n count: bigint;\n};\n\n/**\n * Describes the message swap.quickswap.v1.StatusCount.\n * Use `create(StatusCountSchema)` to create a new message.\n */\nexport const StatusCountSchema: GenMessage<StatusCount> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 48);\n\n/**\n * AssetVolume is a total amount in one asset.\n *\n * @generated from message swap.quickswap.v1.AssetVolume\n */\nexport type AssetVolume = Message<\"swap.quickswap.v1.AssetVolume\"> & {\n /**\n * Asset, as an AssetConfig.ledger_id from\n * GET /v1/chain/deposit-withdraw/config.\n *\n * @generated from field: uint32 asset_id = 1;\n */\n assetId: number;\n\n /**\n * Total, in base units of 18 decimals.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount amount = 2;\n */\n amount?: TokenAmount | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.AssetVolume.\n * Use `create(AssetVolumeSchema)` to create a new message.\n */\nexport const AssetVolumeSchema: GenMessage<AssetVolume> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 49);\n\n/**\n * FeeSplit is the fees charged in one asset, by who they credit. Every\n * amount is set, zero included.\n *\n * @generated from message swap.quickswap.v1.FeeSplit\n */\nexport type FeeSplit = Message<\"swap.quickswap.v1.FeeSplit\"> & {\n /**\n * Asset charged, as an AssetConfig.ledger_id from\n * GET /v1/chain/deposit-withdraw/config.\n *\n * @generated from field: uint32 asset_id = 1;\n */\n assetId: number;\n\n /**\n * Service fees, credited to Polyester, in base units of 18 decimals.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount service_fee = 2;\n */\n serviceFee?: TokenAmount | undefined;\n\n /**\n * Broker fees, credited to the broker's default vault, in base units of\n * 18 decimals.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount broker_fee = 3;\n */\n brokerFee?: TokenAmount | undefined;\n\n /**\n * Affiliate fees, credited to the broker's affiliate vaults, in base\n * units of 18 decimals.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount affiliate_fee = 4;\n */\n affiliateFee?: TokenAmount | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.FeeSplit.\n * Use `create(FeeSplitSchema)` to create a new message.\n */\nexport const FeeSplitSchema: GenMessage<FeeSplit> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 50);\n\n/**\n * BrokerStatsPeriod is a broker's QuickSwap activity in one UTC day or\n * month. A QuickSwap counts in the period it was created in, with its\n * current status, its credited deposit and its destination payout, so a\n * period's numbers keep moving until its QuickSwaps end. A fee counts in the\n * period it was charged in, as in GetFeeTotals, which can be later than the\n * period its QuickSwap was created in.\n *\n * @generated from message swap.quickswap.v1.BrokerStatsPeriod\n */\nexport type BrokerStatsPeriod = Message<\"swap.quickswap.v1.BrokerStatsPeriod\"> & {\n /**\n * Start of the UTC day or month.\n *\n * @generated from field: google.protobuf.Timestamp period_start = 1;\n */\n periodStart?: Timestamp | undefined;\n\n /**\n * QuickSwaps created in the period, inside the window.\n *\n * @generated from field: uint64 created_count = 2;\n */\n createdCount: bigint;\n\n /**\n * Those QuickSwaps by current status, in QuickSwapStatus number order;\n * statuses with none are omitted. The counts total created_count.\n *\n * @generated from field: repeated swap.quickswap.v1.StatusCount statuses = 3;\n */\n statuses: StatusCount[];\n\n /**\n * Deposits credited to those QuickSwaps and taken in for execution, per\n * asset, in asset_id order: including a deposit later found ineligible\n * and returned, excluding a deposit held for review before credit.\n *\n * @generated from field: repeated swap.quickswap.v1.AssetVolume deposited = 4;\n */\n deposited: AssetVolume[];\n\n /**\n * Paid to the destination of those QuickSwaps whose DESTINATION\n * withdrawal is FINALIZED, per asset, in asset_id order: after service,\n * broker and affiliate fees, before the destination network fee.\n *\n * @generated from field: repeated swap.quickswap.v1.AssetVolume delivered = 5;\n */\n delivered: AssetVolume[];\n\n /**\n * Fees charged to the broker's QuickSwaps in the period, per asset, in\n * asset_id order. broker_fee plus affiliate_fee equals the GetFeeTotals\n * total of the same window, period and asset.\n *\n * @generated from field: repeated swap.quickswap.v1.FeeSplit fees = 6;\n */\n fees: FeeSplit[];\n};\n\n/**\n * Describes the message swap.quickswap.v1.BrokerStatsPeriod.\n * Use `create(BrokerStatsPeriodSchema)` to create a new message.\n */\nexport const BrokerStatsPeriodSchema: GenMessage<BrokerStatsPeriod> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 51);\n\n/**\n * GetBrokerStatsResponse lists every period of the window with a QuickSwap\n * created or a fee charged, oldest first, complete (the window is bounded).\n * Periods with neither are omitted.\n *\n * @generated from message swap.quickswap.v1.GetBrokerStatsResponse\n */\nexport type GetBrokerStatsResponse = Message<\"swap.quickswap.v1.GetBrokerStatsResponse\"> & {\n /**\n * The periods.\n *\n * @generated from field: repeated swap.quickswap.v1.BrokerStatsPeriod periods = 1;\n */\n periods: BrokerStatsPeriod[];\n};\n\n/**\n * Describes the message swap.quickswap.v1.GetBrokerStatsResponse.\n * Use `create(GetBrokerStatsResponseSchema)` to create a new message.\n */\nexport const GetBrokerStatsResponseSchema: GenMessage<GetBrokerStatsResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 52);\n\n/**\n * BrokerRole is a person's role in a broker org. A broker has exactly one\n * Owner.\n *\n * @generated from enum swap.quickswap.v1.BrokerRole\n */\nexport enum BrokerRole {\n /**\n * No role; rejected in requests and never returned.\n *\n * @generated from enum value: BROKER_ROLE_UNSPECIFIED = 0;\n */\n BROKER_ROLE_UNSPECIFIED = 0,\n\n /**\n * Everything, including transferring ownership. Exactly one per broker.\n *\n * @generated from enum value: OWNER = 1;\n */\n OWNER = 1,\n\n /**\n * Everything except changing the Owner or transferring ownership.\n *\n * @generated from enum value: ADMIN = 2;\n */\n ADMIN = 2,\n\n /**\n * Internal transfers, withdrawals and payout settings.\n *\n * @generated from enum value: FINANCE = 3;\n */\n FINANCE = 3,\n\n /**\n * Creates affiliate vaults and views balances.\n *\n * @generated from enum value: AFFILIATE_MANAGER = 4;\n */\n AFFILIATE_MANAGER = 4,\n\n /**\n * Read-only.\n *\n * @generated from enum value: VIEWER = 5;\n */\n VIEWER = 5,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.BrokerRole.\n */\nexport const BrokerRoleSchema: GenEnum<BrokerRole> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap_broker, 0);\n\n/**\n * VaultStatus says whether an affiliate vault can be named by new QuickSwaps.\n *\n * @generated from enum swap.quickswap.v1.VaultStatus\n */\nexport enum VaultStatus {\n /**\n * No status; rejected in requests and never returned.\n *\n * @generated from enum value: VAULT_STATUS_UNSPECIFIED = 0;\n */\n VAULT_STATUS_UNSPECIFIED = 0,\n\n /**\n * New QuickSwaps can credit the vault.\n *\n * @generated from enum value: VAULT_ACTIVE = 1;\n */\n VAULT_ACTIVE = 1,\n\n /**\n * New QuickSwaps naming the vault are refused with AFFILIATE_VAULT_UNKNOWN.\n * QuickSwaps already created still credit it.\n *\n * @generated from enum value: VAULT_DISABLED = 2;\n */\n VAULT_DISABLED = 2,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.VaultStatus.\n */\nexport const VaultStatusSchema: GenEnum<VaultStatus> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap_broker, 1);\n\n/**\n * FeeTotalsGrouping is how GetFeeTotals groups the fees.\n *\n * @generated from enum swap.quickswap.v1.FeeTotalsGrouping\n */\nexport enum FeeTotalsGrouping {\n /**\n * No grouping; rejected.\n *\n * @generated from enum value: GROUPING_UNSPECIFIED = 0;\n */\n GROUPING_UNSPECIFIED = 0,\n\n /**\n * By credited vault.\n *\n * @generated from enum value: BY_VAULT = 1;\n */\n BY_VAULT = 1,\n\n /**\n * By UTC day the fee was charged.\n *\n * @generated from enum value: BY_DAY = 2;\n */\n BY_DAY = 2,\n\n /**\n * By UTC month the fee was charged.\n *\n * @generated from enum value: BY_MONTH = 3;\n */\n BY_MONTH = 3,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.FeeTotalsGrouping.\n */\nexport const FeeTotalsGroupingSchema: GenEnum<FeeTotalsGrouping> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap_broker, 2);\n\n/**\n * StatsPeriod is the UTC calendar period GetBrokerStats groups by.\n *\n * @generated from enum swap.quickswap.v1.StatsPeriod\n */\nexport enum StatsPeriod {\n /**\n * No period; rejected.\n *\n * @generated from enum value: PERIOD_UNSPECIFIED = 0;\n */\n PERIOD_UNSPECIFIED = 0,\n\n /**\n * A UTC day.\n *\n * @generated from enum value: DAY = 1;\n */\n DAY = 1,\n\n /**\n * A UTC month.\n *\n * @generated from enum value: MONTH = 2;\n */\n MONTH = 2,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.StatsPeriod.\n */\nexport const StatsPeriodSchema: GenEnum<StatsPeriod> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap_broker, 3);\n\n/**\n * QuickSwapBrokerService administers a broker org, over ConnectRPC and REST.\n * Every request names its broker. The caller is either the broker's API key,\n * sent as a bearer token (see QuickSwapService), or a member's interactive\n * session token; a person who is not a member of the broker gets NOT_FOUND /\n * BROKER_NOT_FOUND. Each RPC maps to one broker action:\n *\n * | Action | Owner | Admin | Finance | Affiliate manager | Viewer | API key |\n * | --- | --- | --- | --- | --- | --- | --- |\n * | Read (GetBroker, ListKeys, ListVaults, GetVault, ListMembers, ListQuickSwaps, GetQuickSwap, GetFeeTotals, GetBrokerStats) | yes | yes | yes | yes | yes | yes, except ListMembers |\n * | Create vaults (CreateAffiliateVault, SetVaultStatus) | yes | yes | no | yes | no | yes |\n * | Manage keys (CreateKey, RotateKey, RevokeKey) | yes | yes | no | no | no | RotateKey of itself only |\n * | Manage members (InviteMember, SetMemberRole, RemoveMember) | yes | yes, never the Owner | no | no | no | no |\n * | Transfer ownership | yes | no | no | no | no | no |\n *\n * A member managing keys or members must also send a fresh step-up proof in\n * the X-Auth-Step-Up header, obtained by completing an MFA challenge for\n * fresh step-up; each proof authorizes one change. Reads, vaults and a key\n * rotating itself need none. A denied action fails with PERMISSION_DENIED /\n * ACTION_DENIED, a missing or used proof with PERMISSION_DENIED /\n * STEP_UP_REQUIRED.\n *\n * REST errors are application/problem+json (see ErrorDetail) with the HTTP\n * statuses of QuickSwapService.\n *\n * @generated from service swap.quickswap.v1.QuickSwapBrokerService\n */\nexport const QuickSwapBrokerService: GenService<{\n /**\n * GetBroker returns the broker, its limits and current usage of them, and\n * the caller's role.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.GetBroker\n */\n getBroker: {\n methodKind: \"unary\";\n input: typeof GetBrokerRequestSchema;\n output: typeof GetBrokerResponseSchema;\n },\n /**\n * ListMyBrokers lists the brokers the caller is a member of and the\n * invites addressed to the caller. Session token only.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.ListMyBrokers\n */\n listMyBrokers: {\n methodKind: \"unary\";\n input: typeof ListMyBrokersRequestSchema;\n output: typeof ListMyBrokersResponseSchema;\n },\n /**\n * RespondToInvite accepts or declines a pending invite addressed to the\n * caller. Session token only; no step-up proof is needed.\n *\n * Errors:\n * - NOT_FOUND: INVITE_NOT_FOUND.\n * - ALREADY_EXISTS: ALREADY_MEMBER.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.RespondToInvite\n */\n respondToInvite: {\n methodKind: \"unary\";\n input: typeof RespondToInviteRequestSchema;\n output: typeof RespondToInviteResponseSchema;\n },\n /**\n * ListMembers lists the broker's members and pending invites. Session\n * token only.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND.\n * - PERMISSION_DENIED: ACTION_DENIED.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.ListMembers\n */\n listMembers: {\n methodKind: \"unary\";\n input: typeof ListMembersRequestSchema;\n output: typeof ListMembersResponseSchema;\n },\n /**\n * InviteMember invites a person with any role but OWNER; the person\n * accepts with their own login. Inviting again replaces the pending invite.\n * Session token and step-up proof only.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND, or MEMBER_NOT_FOUND when the account does\n * not exist.\n * - PERMISSION_DENIED: ACTION_DENIED or STEP_UP_REQUIRED.\n * - ALREADY_EXISTS: ALREADY_MEMBER.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.InviteMember\n */\n inviteMember: {\n methodKind: \"unary\";\n input: typeof InviteMemberRequestSchema;\n output: typeof InviteMemberResponseSchema;\n },\n /**\n * SetMemberRole changes a member's role to any role but OWNER. The Owner's\n * role cannot be changed; transfer ownership instead. Session token and\n * step-up proof only.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND or MEMBER_NOT_FOUND.\n * - PERMISSION_DENIED: ACTION_DENIED or STEP_UP_REQUIRED.\n * - FAILED_PRECONDITION: OWNER_IMMUTABLE.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.SetMemberRole\n */\n setMemberRole: {\n methodKind: \"unary\";\n input: typeof SetMemberRoleRequestSchema;\n output: typeof SetMemberRoleResponseSchema;\n },\n /**\n * RemoveMember removes a member, ending their access immediately, or\n * cancels the person's pending invite. The Owner cannot be removed. Session\n * token and step-up proof only.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND or MEMBER_NOT_FOUND.\n * - PERMISSION_DENIED: ACTION_DENIED or STEP_UP_REQUIRED.\n * - FAILED_PRECONDITION: OWNER_IMMUTABLE.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.RemoveMember\n */\n removeMember: {\n methodKind: \"unary\";\n input: typeof RemoveMemberRequestSchema;\n output: typeof RemoveMemberResponseSchema;\n },\n /**\n * TransferOwnership makes another member the Owner; the caller, the\n * current Owner, becomes an Admin in the same change. Session token and\n * step-up proof only.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND or MEMBER_NOT_FOUND.\n * - PERMISSION_DENIED: ACTION_DENIED or STEP_UP_REQUIRED.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.TransferOwnership\n */\n transferOwnership: {\n methodKind: \"unary\";\n input: typeof TransferOwnershipRequestSchema;\n output: typeof TransferOwnershipResponseSchema;\n },\n /**\n * ListKeys lists the broker's API keys, without secrets, a page at a time.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND.\n * - INVALID_ARGUMENT: a page_token from another broker or malformed.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.ListKeys\n */\n listKeys: {\n methodKind: \"unary\";\n input: typeof ListKeysRequestSchema;\n output: typeof ListKeysResponseSchema;\n },\n /**\n * CreateKey creates an API key. A broker has at most two working keys.\n * Session token and step-up proof only.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND.\n * - PERMISSION_DENIED: ACTION_DENIED or STEP_UP_REQUIRED.\n * - FAILED_PRECONDITION: KEY_LIMIT.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.CreateKey\n */\n createKey: {\n methodKind: \"unary\";\n input: typeof CreateKeyRequestSchema;\n output: typeof CreateKeyResponseSchema;\n },\n /**\n * RotateKey replaces a working key by a new one. The old key keeps working\n * until the overlap ends, then only the new key does. A broker API key may\n * rotate itself without a step-up proof; a member needs a session token and\n * step-up proof.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND or KEY_NOT_FOUND.\n * - PERMISSION_DENIED: ACTION_DENIED or STEP_UP_REQUIRED.\n * - FAILED_PRECONDITION: KEY_LIMIT, when the broker would have more than\n * two working keys during the overlap.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.RotateKey\n */\n rotateKey: {\n methodKind: \"unary\";\n input: typeof RotateKeyRequestSchema;\n output: typeof RotateKeyResponseSchema;\n },\n /**\n * RevokeKey revokes a key immediately. The broker's last key that works\n * without an expiry cannot be revoked. Session token and step-up proof\n * only.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND or KEY_NOT_FOUND.\n * - PERMISSION_DENIED: ACTION_DENIED or STEP_UP_REQUIRED.\n * - FAILED_PRECONDITION: LAST_KEY.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.RevokeKey\n */\n revokeKey: {\n methodKind: \"unary\";\n input: typeof RevokeKeyRequestSchema;\n output: typeof RevokeKeyResponseSchema;\n },\n /**\n * CreateAffiliateVault creates, or returns, the affiliate vault with label.\n * Create a vault before the first QuickSwap that credits it: a QuickSwap\n * naming a vault that does not exist yet is refused. Concurrent and\n * repeated requests with the same label return the same vault. No step-up\n * proof is needed.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND.\n * - PERMISSION_DENIED: ACTION_DENIED.\n * - RESOURCE_EXHAUSTED: BROKER_LIMIT, the broker's vault limit.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.CreateAffiliateVault\n */\n createAffiliateVault: {\n methodKind: \"unary\";\n input: typeof CreateAffiliateVaultRequestSchema;\n output: typeof CreateAffiliateVaultResponseSchema;\n },\n /**\n * ListVaults lists the broker's affiliate vaults.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND.\n * - INVALID_ARGUMENT: a page_token from another broker or malformed.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.ListVaults\n */\n listVaults: {\n methodKind: \"unary\";\n input: typeof ListVaultsRequestSchema;\n output: typeof ListVaultsResponseSchema;\n },\n /**\n * GetVault returns one affiliate vault.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND or VAULT_NOT_FOUND.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.GetVault\n */\n getVault: {\n methodKind: \"unary\";\n input: typeof GetVaultRequestSchema;\n output: typeof GetVaultResponseSchema;\n },\n /**\n * SetVaultStatus enables or disables an affiliate vault for new\n * QuickSwaps. No step-up proof is needed.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND or VAULT_NOT_FOUND.\n * - PERMISSION_DENIED: ACTION_DENIED.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.SetVaultStatus\n */\n setVaultStatus: {\n methodKind: \"unary\";\n input: typeof SetVaultStatusRequestSchema;\n output: typeof SetVaultStatusResponseSchema;\n },\n /**\n * ListQuickSwaps lists the broker's QuickSwaps, newest first, filtered by\n * vault, status and creation time.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND.\n * - INVALID_ARGUMENT: a page_token from another broker, other filters or\n * malformed.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.ListQuickSwaps\n */\n listQuickSwaps: {\n methodKind: \"unary\";\n input: typeof ListQuickSwapsRequestSchema;\n output: typeof ListQuickSwapsResponseSchema;\n },\n /**\n * GetQuickSwap returns the full detail of one of the broker's QuickSwaps,\n * including its addresses, quote, progress, requested and charged fees.\n * Every broker member role can read it with a session token.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND or SWAP_NOT_FOUND, including another broker's swap.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.GetQuickSwap\n */\n getQuickSwap: {\n methodKind: \"unary\";\n input: typeof QuickSwapBrokerServiceGetQuickSwapRequestSchema;\n output: typeof QuickSwapBrokerServiceGetQuickSwapResponseSchema;\n },\n /**\n * GetFeeTotals totals the broker and affiliate fees charged to the\n * broker's QuickSwaps in a window, per asset, by vault, day or month.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.GetFeeTotals\n */\n getFeeTotals: {\n methodKind: \"unary\";\n input: typeof GetFeeTotalsRequestSchema;\n output: typeof GetFeeTotalsResponseSchema;\n },\n /**\n * GetBrokerStats reads the broker's QuickSwap activity in a window, per UTC\n * day or month: QuickSwaps created by status, deposits credited and\n * payouts delivered per asset, and the service, broker and affiliate fees\n * charged per asset.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND.\n * - INTERNAL: STATS_INCOMPLETE, with the swap_id of a QuickSwap whose\n * records the stats cannot read.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.GetBrokerStats\n */\n getBrokerStats: {\n methodKind: \"unary\";\n input: typeof GetBrokerStatsRequestSchema;\n output: typeof GetBrokerStatsResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_swap_quickswap_v1_quickswap_broker, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAa,0CACX,uBAAS,wvWAAwvW;CAAC;CAAgC;CAA4B;AAAgC,CAAC;;;;;AAkHj2W,MAAa,eACX,0BAAY,yCAAyC,CAAC;;;;;AAyCxD,MAAa,oBACX,0BAAY,yCAAyC,CAAC;;;;;AAkDxD,MAAa,uBACX,0BAAY,yCAAyC,CAAC;;;;;AAuExD,MAAa,kBACX,0BAAY,yCAAyC,CAAC;;;;;AAkCxD,MAAa,e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WAAA,WAAA,uBAAA,KAAA;;;;;;CAOA,WAAA,WAAA,YAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,mBACX,uBAAS,yCAAyC,CAAC;;;;;;AAOrD,IAAY,cAAL,yBAAA,aAAA;;;;;;CAML,YAAA,YAAA,8BAAA,KAAA;;;;;;CAOA,YAAA,YAAA,kBAAA,KAAA;;;;;;;CAQA,YAAA,YAAA,oBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,oBACX,uBAAS,yCAAyC,CAAC;;;;;;AAOrD,IAAY,oBAAL,yBAAA,mBAAA;;;;;;CAML,kBAAA,kBAAA,0BAAA,KAAA;;;;;;CAOA,kBAAA,kBAAA,cAAA,KAAA;;;;;;CAOA,kBAAA,kBAAA,YAAA,KAAA;;;;;;CAOA,kBAAA,kBAAA,cAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,0BACX,uBAAS,yCAAyC,CAAC;;;;;;AAOrD,IAAY,cAAL,yBAAA,aAAA;;;;;;CAML,YAAA,YAAA,wBAAA,KAAA;;;;;;CAOA,YAAA,YAAA,SAAA,KAAA;;;;;;CAOA,YAAA,YAAA,WAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,oBACX,uBAAS,yCAAyC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BrD,MAAa,yBA2TX,0BAAY,yCAAyC,CAAC"}
1
+ {"version":3,"file":"quickswap_broker_pb.js","names":[],"sources":["../../../../../src/gen/swap/quickswap/v1/quickswap_broker_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file swap/quickswap/v1/quickswap_broker.proto (package swap.quickswap.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../../polyester/api/options_pb.js\";\nimport type { ChargedFee, QuickSwap, QuickSwapReason, QuickSwapStatus, QuickSwapTerms, RequestedFees, TokenAmount } from \"./quickswap_pb.js\";\nimport { file_swap_quickswap_v1_quickswap } from \"./quickswap_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file swap/quickswap/v1/quickswap_broker.proto.\n */\nexport const file_swap_quickswap_v1_quickswap_broker: GenFile = /*@__PURE__*/\n fileDesc(\"Cihzd2FwL3F1aWNrc3dhcC92MS9xdWlja3N3YXBfYnJva2VyLnByb3RvEhFzd2FwLnF1aWNrc3dhcC52MSK6AgoGQnJva2VyEgwKBG5hbWUYASABKAkSFAoMZGlzcGxheV9uYW1lGAIgASgJEg8KB2VuYWJsZWQYAyABKAgSFwoPcm9vdF9hY2NvdW50X2lkGAQgASgGEiAKGGRlZmF1bHRfdmF1bHRfYWNjb3VudF9pZBgFIAEoBhIcChRtYXhfYWZmaWxpYXRlX3ZhdWx0cxgGIAEoDRIrCgRyb2xlGAcgASgOMh0uc3dhcC5xdWlja3N3YXAudjEuQnJva2VyUm9sZRIRCglxdW90ZV9ycHMYCCABKA0SEgoKY3JlYXRlX3JwcxgJIAEoDRIQCghyZWFkX3JwcxgKIAEoDRIeChZtYXhfdW5mdW5kZWRfYWRkcmVzc2VzGAsgASgNEhwKFG1heF9jcmVhdGVzX3Blcl9ob3VyGAwgASgNIl4KC0Jyb2tlclVzYWdlEhoKEnVuZnVuZGVkX2FkZHJlc3NlcxgBIAEoDRIZChFjcmVhdGVzX2xhc3RfaG91chgCIAEoDRIYChBhZmZpbGlhdGVfdmF1bHRzGAMgASgNIsMBCg5BZmZpbGlhdGVWYXVsdBISCgphY2NvdW50X2lkGAEgASgGEg0KBWxhYmVsGAIgASgJEi4KBnN0Y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ZXRWYXVsdFN0YXR1cxIoLnN3YXAucXVpY2tzd2FwLnYxLlNldFZhdWx0U3RhdHVzUmVxdWVzdBopLnN3YXAucXVpY2tzd2FwLnYxLlNldFZhdWx0U3RhdHVzUmVzcG9uc2UiABJnCg5MaXN0UXVpY2tTd2FwcxIoLnN3YXAucXVpY2tzd2FwLnYxLkxpc3RRdWlja1N3YXBzUmVxdWVzdBopLnN3YXAucXVpY2tzd2FwLnYxLkxpc3RRdWlja1N3YXBzUmVzcG9uc2UiABKNAQoMR2V0UXVpY2tTd2FwEjwuc3dhcC5xdWlja3N3YXAudjEuUXVpY2tTd2FwQnJva2VyU2VydmljZUdldFF1aWNrU3dhcFJlcXVlc3QaPS5zd2FwLnF1aWNrc3dhcC52MS5RdWlja1N3YXBCcm9rZXJTZXJ2aWNlR2V0UXVpY2tTd2FwUmVzcG9uc2UiABJhCgxHZXRGZWVUb3RhbHMSJi5zd2FwLnF1aWNrc3dhcC52MS5HZXRGZWVUb3RhbHNSZXF1ZXN0Gicuc3dhcC5xdWlja3N3YXAudjEuR2V0RmVlVG90YWxzUmVzcG9uc2UiABJnCg5HZXRCcm9rZXJTdGF0cxIoLnN3YXAucXVpY2tzd2FwLnYxLkdldEJyb2tlclN0YXRzUmVxdWVzdBopLnN3YXAucXVpY2tzd2FwLnYxLkdldEJyb2tlclN0YXRzUmVzcG9uc2UiABoAQktaSWdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vc3dhcC9xdWlja3N3YXAvdjE7cXVpY2tzd2FwdjFiBnByb3RvMw==\", [file_google_protobuf_timestamp, file_polyester_api_options, file_swap_quickswap_v1_quickswap]);\n\n/**\n * Broker is a broker org.\n *\n * @generated from message swap.quickswap.v1.Broker\n */\nexport type Broker = Message<\"swap.quickswap.v1.Broker\"> & {\n /**\n * Broker name: the immutable identifier used in every request.\n *\n * @generated from field: string name = 1;\n */\n name: string;\n\n /**\n * Display name.\n *\n * @generated from field: string display_name = 2;\n */\n displayName: string;\n\n /**\n * Whether the broker may quote and create QuickSwaps. A disabled broker\n * keeps reads, vaults, keys and members.\n *\n * @generated from field: bool enabled = 3;\n */\n enabled: boolean;\n\n /**\n * Public account ID of the broker's root account.\n *\n * @generated from field: fixed64 root_account_id = 4;\n */\n rootAccountId: bigint;\n\n /**\n * Public sub-account ID of the default vault, credited with broker fees\n * that name no affiliate.\n *\n * @generated from field: fixed64 default_vault_account_id = 5;\n */\n defaultVaultAccountId: bigint;\n\n /**\n * Affiliate vaults the broker may create, active and disabled together.\n * At the limit, CreateAffiliateVault fails with RESOURCE_EXHAUSTED /\n * BROKER_LIMIT.\n *\n * @generated from field: uint32 max_affiliate_vaults = 6;\n */\n maxAffiliateVaults: number;\n\n /**\n * The caller's role; BROKER_ROLE_UNSPECIFIED for a broker API key.\n *\n * @generated from field: swap.quickswap.v1.BrokerRole role = 7;\n */\n role: BrokerRole;\n\n /**\n * Quote requests per second allowed for each API key of the broker, which\n * is also the burst. Over the rate, QuoteQuickSwap fails with\n * RESOURCE_EXHAUSTED / BROKER_LIMIT and a Retry-After header.\n *\n * @generated from field: uint32 quote_rps = 8;\n */\n quoteRps: number;\n\n /**\n * Create requests per second allowed for each API key of the broker, which\n * is also the burst. Over the rate, CreateQuickSwap fails with\n * RESOURCE_EXHAUSTED / BROKER_LIMIT and a Retry-After header.\n *\n * @generated from field: uint32 create_rps = 9;\n */\n createRps: number;\n\n /**\n * Read requests per second allowed for each API key of the broker, which is\n * also the burst. GetQuickSwap and every QuickSwapBrokerService call by an\n * API key count as reads. Over the rate, the call fails with\n * RESOURCE_EXHAUSTED / BROKER_LIMIT and a Retry-After header.\n *\n * @generated from field: uint32 read_rps = 10;\n */\n readRps: number;\n\n /**\n * Unfunded Quick Swaps the broker may hold at once: Quick Swaps whose\n * deposit address is being issued or is still awaiting a deposit within\n * its funding window. At the limit, CreateQuickSwap fails with\n * RESOURCE_EXHAUSTED / BROKER_LIMIT; a deposit or the end of a funding\n * window frees a slot.\n *\n * @generated from field: uint32 max_unfunded_addresses = 11;\n */\n maxUnfundedAddresses: number;\n\n /**\n * Quick Swaps the broker may create in any rolling hour. At the limit,\n * CreateQuickSwap fails with RESOURCE_EXHAUSTED / BROKER_LIMIT until the\n * oldest create of the hour is more than an hour old.\n *\n * @generated from field: uint32 max_creates_per_hour = 12;\n */\n maxCreatesPerHour: number;\n};\n\n/**\n * Describes the message swap.quickswap.v1.Broker.\n * Use `create(BrokerSchema)` to create a new message.\n */\nexport const BrokerSchema: GenMessage<Broker> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 0);\n\n/**\n * BrokerUsage is the broker's current use of its limits, counted exactly as\n * the limits are enforced: the next create is refused while a count is at or\n * above its limit on Broker. A count can be above its limit after the limit\n * is lowered. The counts are read when the request is served and can change\n * right after with concurrent creates, deposits and expiring funding windows.\n *\n * @generated from message swap.quickswap.v1.BrokerUsage\n */\nexport type BrokerUsage = Message<\"swap.quickswap.v1.BrokerUsage\"> & {\n /**\n * Unfunded Quick Swaps held now, counted against\n * Broker.max_unfunded_addresses.\n *\n * @generated from field: uint32 unfunded_addresses = 1;\n */\n unfundedAddresses: number;\n\n /**\n * Quick Swaps created in the last hour, counted against\n * Broker.max_creates_per_hour.\n *\n * @generated from field: uint32 creates_last_hour = 2;\n */\n createsLastHour: number;\n\n /**\n * Affiliate vaults created, active and disabled together, counted against\n * Broker.max_affiliate_vaults.\n *\n * @generated from field: uint32 affiliate_vaults = 3;\n */\n affiliateVaults: number;\n};\n\n/**\n * Describes the message swap.quickswap.v1.BrokerUsage.\n * Use `create(BrokerUsageSchema)` to create a new message.\n */\nexport const BrokerUsageSchema: GenMessage<BrokerUsage> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 1);\n\n/**\n * AffiliateVault is a sub-account of the broker root, owned by the broker,\n * credited with the fees of one affiliate. Affiliate vaults are never\n * deleted.\n *\n * @generated from message swap.quickswap.v1.AffiliateVault\n */\nexport type AffiliateVault = Message<\"swap.quickswap.v1.AffiliateVault\"> & {\n /**\n * Public sub-account ID of the vault; name it in AffiliateShare.account_id.\n *\n * @generated from field: fixed64 account_id = 1;\n */\n accountId: bigint;\n\n /**\n * Broker-chosen label, unique per broker.\n *\n * @generated from field: string label = 2;\n */\n label: string;\n\n /**\n * Whether new QuickSwaps can name the vault.\n *\n * @generated from field: swap.quickswap.v1.VaultStatus status = 3;\n */\n status: VaultStatus;\n\n /**\n * When the vault was created.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 4;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * When the vault was last changed.\n *\n * @generated from field: google.protobuf.Timestamp updated_at = 5;\n */\n updatedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.AffiliateVault.\n * Use `create(AffiliateVaultSchema)` to create a new message.\n */\nexport const AffiliateVaultSchema: GenMessage<AffiliateVault> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 2);\n\n/**\n * BrokerKey is a broker API key, without its secret.\n *\n * @generated from message swap.quickswap.v1.BrokerKey\n */\nexport type BrokerKey = Message<\"swap.quickswap.v1.BrokerKey\"> & {\n /**\n * Public key ID: the part of the token between \"qsk_\" and the second \"_\".\n *\n * @generated from field: string key_id = 1;\n */\n keyId: string;\n\n /**\n * Label given at creation; empty for a key created by rotation.\n *\n * @generated from field: string label = 2;\n */\n label: string;\n\n /**\n * When the key was created.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 3;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * Public account ID of the member who created the key; 0 for a key that a\n * key created by rotating itself.\n *\n * @generated from field: fixed64 created_by_account_id = 4;\n */\n createdByAccountId: bigint;\n\n /**\n * Key this key replaced by rotation; empty otherwise.\n *\n * @generated from field: string rotated_from = 5;\n */\n rotatedFrom: string;\n\n /**\n * End of the key's rotation overlap; the key stops working then. Unset\n * while the key works until revoked.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 6;\n */\n expiresAt?: Timestamp | undefined;\n\n /**\n * When the key was revoked; unset while not revoked.\n *\n * @generated from field: google.protobuf.Timestamp revoked_at = 7;\n */\n revokedAt?: Timestamp | undefined;\n\n /**\n * Whether the key works now: neither revoked nor past expires_at.\n *\n * @generated from field: bool active = 8;\n */\n active: boolean;\n};\n\n/**\n * Describes the message swap.quickswap.v1.BrokerKey.\n * Use `create(BrokerKeySchema)` to create a new message.\n */\nexport const BrokerKeySchema: GenMessage<BrokerKey> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 3);\n\n/**\n * Member is a person with a role in the broker org.\n *\n * @generated from message swap.quickswap.v1.Member\n */\nexport type Member = Message<\"swap.quickswap.v1.Member\"> & {\n /**\n * Public account ID of the person's own account.\n *\n * @generated from field: fixed64 account_id = 1;\n */\n accountId: bigint;\n\n /**\n * Role.\n *\n * @generated from field: swap.quickswap.v1.BrokerRole role = 2;\n */\n role: BrokerRole;\n\n /**\n * When the person got this role.\n *\n * @generated from field: google.protobuf.Timestamp since = 3;\n */\n since?: Timestamp | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.Member.\n * Use `create(MemberSchema)` to create a new message.\n */\nexport const MemberSchema: GenMessage<Member> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 4);\n\n/**\n * Invite is a pending invitation to join a broker org.\n *\n * @generated from message swap.quickswap.v1.Invite\n */\nexport type Invite = Message<\"swap.quickswap.v1.Invite\"> & {\n /**\n * Public invite ID.\n *\n * @generated from field: fixed64 invite_id = 1;\n */\n inviteId: bigint;\n\n /**\n * Broker name.\n *\n * @generated from field: string broker = 2;\n */\n broker: string;\n\n /**\n * Broker display name.\n *\n * @generated from field: string broker_display_name = 3;\n */\n brokerDisplayName: string;\n\n /**\n * Public account ID of the invited person.\n *\n * @generated from field: fixed64 account_id = 4;\n */\n accountId: bigint;\n\n /**\n * Role the person gets on accepting.\n *\n * @generated from field: swap.quickswap.v1.BrokerRole role = 5;\n */\n role: BrokerRole;\n\n /**\n * Public account ID of the member who invited them.\n *\n * @generated from field: fixed64 invited_by_account_id = 6;\n */\n invitedByAccountId: bigint;\n\n /**\n * When the invite was sent.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 7;\n */\n createdAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.Invite.\n * Use `create(InviteSchema)` to create a new message.\n */\nexport const InviteSchema: GenMessage<Invite> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 5);\n\n/**\n * Membership is the caller's role in one broker org.\n *\n * @generated from message swap.quickswap.v1.Membership\n */\nexport type Membership = Message<\"swap.quickswap.v1.Membership\"> & {\n /**\n * Broker name.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Broker display name.\n *\n * @generated from field: string broker_display_name = 2;\n */\n brokerDisplayName: string;\n\n /**\n * The caller's role.\n *\n * @generated from field: swap.quickswap.v1.BrokerRole role = 3;\n */\n role: BrokerRole;\n};\n\n/**\n * Describes the message swap.quickswap.v1.Membership.\n * Use `create(MembershipSchema)` to create a new message.\n */\nexport const MembershipSchema: GenMessage<Membership> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 6);\n\n/**\n * GetBrokerRequest names a broker.\n *\n * @generated from message swap.quickswap.v1.GetBrokerRequest\n */\nexport type GetBrokerRequest = Message<\"swap.quickswap.v1.GetBrokerRequest\"> & {\n /**\n * Broker name. A broker API key may name only its own broker.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.GetBrokerRequest.\n * Use `create(GetBrokerRequestSchema)` to create a new message.\n */\nexport const GetBrokerRequestSchema: GenMessage<GetBrokerRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 7);\n\n/**\n * GetBrokerResponse returns the broker, with its limits, and its current\n * usage of them.\n *\n * @generated from message swap.quickswap.v1.GetBrokerResponse\n */\nexport type GetBrokerResponse = Message<\"swap.quickswap.v1.GetBrokerResponse\"> & {\n /**\n * The broker, with its limits.\n *\n * @generated from field: swap.quickswap.v1.Broker broker = 1;\n */\n broker?: Broker | undefined;\n\n /**\n * Current usage of the broker's limits.\n *\n * @generated from field: swap.quickswap.v1.BrokerUsage usage = 2;\n */\n usage?: BrokerUsage | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.GetBrokerResponse.\n * Use `create(GetBrokerResponseSchema)` to create a new message.\n */\nexport const GetBrokerResponseSchema: GenMessage<GetBrokerResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 8);\n\n/**\n * ListMyBrokersRequest lists the caller's broker memberships and invites.\n *\n * @generated from message swap.quickswap.v1.ListMyBrokersRequest\n */\nexport type ListMyBrokersRequest = Message<\"swap.quickswap.v1.ListMyBrokersRequest\"> & {\n};\n\n/**\n * Describes the message swap.quickswap.v1.ListMyBrokersRequest.\n * Use `create(ListMyBrokersRequestSchema)` to create a new message.\n */\nexport const ListMyBrokersRequestSchema: GenMessage<ListMyBrokersRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 9);\n\n/**\n * ListMyBrokersResponse lists every membership and pending invite of the\n * caller, by broker name. Both lists are naturally bounded.\n *\n * @generated from message swap.quickswap.v1.ListMyBrokersResponse\n */\nexport type ListMyBrokersResponse = Message<\"swap.quickswap.v1.ListMyBrokersResponse\"> & {\n /**\n * Brokers the caller is a member of.\n *\n * @generated from field: repeated swap.quickswap.v1.Membership memberships = 1;\n */\n memberships: Membership[];\n\n /**\n * Pending invites addressed to the caller.\n *\n * @generated from field: repeated swap.quickswap.v1.Invite invites = 2;\n */\n invites: Invite[];\n};\n\n/**\n * Describes the message swap.quickswap.v1.ListMyBrokersResponse.\n * Use `create(ListMyBrokersResponseSchema)` to create a new message.\n */\nexport const ListMyBrokersResponseSchema: GenMessage<ListMyBrokersResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 10);\n\n/**\n * RespondToInviteRequest accepts or declines a pending invite addressed to\n * the caller.\n *\n * @generated from message swap.quickswap.v1.RespondToInviteRequest\n */\nexport type RespondToInviteRequest = Message<\"swap.quickswap.v1.RespondToInviteRequest\"> & {\n /**\n * Public invite ID.\n *\n * @generated from field: fixed64 invite_id = 1;\n */\n inviteId: bigint;\n\n /**\n * True to accept, false to decline.\n *\n * @generated from field: bool accept = 2;\n */\n accept: boolean;\n};\n\n/**\n * Describes the message swap.quickswap.v1.RespondToInviteRequest.\n * Use `create(RespondToInviteRequestSchema)` to create a new message.\n */\nexport const RespondToInviteRequestSchema: GenMessage<RespondToInviteRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 11);\n\n/**\n * RespondToInviteResponse returns the caller's new membership.\n *\n * @generated from message swap.quickswap.v1.RespondToInviteResponse\n */\nexport type RespondToInviteResponse = Message<\"swap.quickswap.v1.RespondToInviteResponse\"> & {\n /**\n * The membership; unset when the invite was declined.\n *\n * @generated from field: swap.quickswap.v1.Membership membership = 1;\n */\n membership?: Membership | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.RespondToInviteResponse.\n * Use `create(RespondToInviteResponseSchema)` to create a new message.\n */\nexport const RespondToInviteResponseSchema: GenMessage<RespondToInviteResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 12);\n\n/**\n * ListMembersRequest lists a broker's members.\n *\n * @generated from message swap.quickswap.v1.ListMembersRequest\n */\nexport type ListMembersRequest = Message<\"swap.quickswap.v1.ListMembersRequest\"> & {\n /**\n * Broker name.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ListMembersRequest.\n * Use `create(ListMembersRequestSchema)` to create a new message.\n */\nexport const ListMembersRequestSchema: GenMessage<ListMembersRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 13);\n\n/**\n * ListMembersResponse lists every member and pending invite of the broker,\n * Owner first, then by account ID. Both lists are naturally bounded.\n *\n * @generated from message swap.quickswap.v1.ListMembersResponse\n */\nexport type ListMembersResponse = Message<\"swap.quickswap.v1.ListMembersResponse\"> & {\n /**\n * Members.\n *\n * @generated from field: repeated swap.quickswap.v1.Member members = 1;\n */\n members: Member[];\n\n /**\n * Pending invites, newest first.\n *\n * @generated from field: repeated swap.quickswap.v1.Invite invites = 2;\n */\n invites: Invite[];\n};\n\n/**\n * Describes the message swap.quickswap.v1.ListMembersResponse.\n * Use `create(ListMembersResponseSchema)` to create a new message.\n */\nexport const ListMembersResponseSchema: GenMessage<ListMembersResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 14);\n\n/**\n * InviteMemberRequest invites a person to the broker.\n *\n * @generated from message swap.quickswap.v1.InviteMemberRequest\n */\nexport type InviteMemberRequest = Message<\"swap.quickswap.v1.InviteMemberRequest\"> & {\n /**\n * Broker name.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Public account ID of the person's own account.\n *\n * @generated from field: fixed64 account_id = 2;\n */\n accountId: bigint;\n\n /**\n * Role the person gets on accepting; never OWNER.\n *\n * @generated from field: swap.quickswap.v1.BrokerRole role = 3;\n */\n role: BrokerRole;\n};\n\n/**\n * Describes the message swap.quickswap.v1.InviteMemberRequest.\n * Use `create(InviteMemberRequestSchema)` to create a new message.\n */\nexport const InviteMemberRequestSchema: GenMessage<InviteMemberRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 15);\n\n/**\n * InviteMemberResponse returns the pending invite.\n *\n * @generated from message swap.quickswap.v1.InviteMemberResponse\n */\nexport type InviteMemberResponse = Message<\"swap.quickswap.v1.InviteMemberResponse\"> & {\n /**\n * The invite.\n *\n * @generated from field: swap.quickswap.v1.Invite invite = 1;\n */\n invite?: Invite | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.InviteMemberResponse.\n * Use `create(InviteMemberResponseSchema)` to create a new message.\n */\nexport const InviteMemberResponseSchema: GenMessage<InviteMemberResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 16);\n\n/**\n * SetMemberRoleRequest changes a member's role.\n *\n * @generated from message swap.quickswap.v1.SetMemberRoleRequest\n */\nexport type SetMemberRoleRequest = Message<\"swap.quickswap.v1.SetMemberRoleRequest\"> & {\n /**\n * Broker name.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Public account ID of the member.\n *\n * @generated from field: fixed64 account_id = 2;\n */\n accountId: bigint;\n\n /**\n * New role; never OWNER.\n *\n * @generated from field: swap.quickswap.v1.BrokerRole role = 3;\n */\n role: BrokerRole;\n};\n\n/**\n * Describes the message swap.quickswap.v1.SetMemberRoleRequest.\n * Use `create(SetMemberRoleRequestSchema)` to create a new message.\n */\nexport const SetMemberRoleRequestSchema: GenMessage<SetMemberRoleRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 17);\n\n/**\n * SetMemberRoleResponse is empty.\n *\n * @generated from message swap.quickswap.v1.SetMemberRoleResponse\n */\nexport type SetMemberRoleResponse = Message<\"swap.quickswap.v1.SetMemberRoleResponse\"> & {\n};\n\n/**\n * Describes the message swap.quickswap.v1.SetMemberRoleResponse.\n * Use `create(SetMemberRoleResponseSchema)` to create a new message.\n */\nexport const SetMemberRoleResponseSchema: GenMessage<SetMemberRoleResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 18);\n\n/**\n * RemoveMemberRequest removes a member, or cancels the person's pending\n * invite.\n *\n * @generated from message swap.quickswap.v1.RemoveMemberRequest\n */\nexport type RemoveMemberRequest = Message<\"swap.quickswap.v1.RemoveMemberRequest\"> & {\n /**\n * Broker name.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Public account ID of the member or invited person.\n *\n * @generated from field: fixed64 account_id = 2;\n */\n accountId: bigint;\n};\n\n/**\n * Describes the message swap.quickswap.v1.RemoveMemberRequest.\n * Use `create(RemoveMemberRequestSchema)` to create a new message.\n */\nexport const RemoveMemberRequestSchema: GenMessage<RemoveMemberRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 19);\n\n/**\n * RemoveMemberResponse is empty.\n *\n * @generated from message swap.quickswap.v1.RemoveMemberResponse\n */\nexport type RemoveMemberResponse = Message<\"swap.quickswap.v1.RemoveMemberResponse\"> & {\n};\n\n/**\n * Describes the message swap.quickswap.v1.RemoveMemberResponse.\n * Use `create(RemoveMemberResponseSchema)` to create a new message.\n */\nexport const RemoveMemberResponseSchema: GenMessage<RemoveMemberResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 20);\n\n/**\n * TransferOwnershipRequest makes another member the Owner.\n *\n * @generated from message swap.quickswap.v1.TransferOwnershipRequest\n */\nexport type TransferOwnershipRequest = Message<\"swap.quickswap.v1.TransferOwnershipRequest\"> & {\n /**\n * Broker name.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Public account ID of the member who becomes the Owner.\n *\n * @generated from field: fixed64 account_id = 2;\n */\n accountId: bigint;\n};\n\n/**\n * Describes the message swap.quickswap.v1.TransferOwnershipRequest.\n * Use `create(TransferOwnershipRequestSchema)` to create a new message.\n */\nexport const TransferOwnershipRequestSchema: GenMessage<TransferOwnershipRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 21);\n\n/**\n * TransferOwnershipResponse is empty.\n *\n * @generated from message swap.quickswap.v1.TransferOwnershipResponse\n */\nexport type TransferOwnershipResponse = Message<\"swap.quickswap.v1.TransferOwnershipResponse\"> & {\n};\n\n/**\n * Describes the message swap.quickswap.v1.TransferOwnershipResponse.\n * Use `create(TransferOwnershipResponseSchema)` to create a new message.\n */\nexport const TransferOwnershipResponseSchema: GenMessage<TransferOwnershipResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 22);\n\n/**\n * ListKeysRequest lists a broker's API keys, working and past.\n *\n * @generated from message swap.quickswap.v1.ListKeysRequest\n */\nexport type ListKeysRequest = Message<\"swap.quickswap.v1.ListKeysRequest\"> & {\n /**\n * Broker name. A broker API key may name only its own broker.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Maximum number of keys to return; 0 means 100, at most 200.\n *\n * @generated from field: uint32 limit = 2;\n */\n limit: number;\n\n /**\n * Opaque keyset cursor from a previous next_page_token, exclusive, bound to\n * the broker and ordered newest first by creation time, then key ID. Empty\n * for the first page.\n *\n * @generated from field: string page_token = 3;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ListKeysRequest.\n * Use `create(ListKeysRequestSchema)` to create a new message.\n */\nexport const ListKeysRequestSchema: GenMessage<ListKeysRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 23);\n\n/**\n * ListKeysResponse lists the broker's API keys newest first: by creation\n * time, then key ID, both descending. A broker has at most two working keys;\n * revoked and expired keys stay listed.\n *\n * @generated from message swap.quickswap.v1.ListKeysResponse\n */\nexport type ListKeysResponse = Message<\"swap.quickswap.v1.ListKeysResponse\"> & {\n /**\n * Keys.\n *\n * @generated from field: repeated swap.quickswap.v1.BrokerKey keys = 1;\n */\n keys: BrokerKey[];\n\n /**\n * Cursor of the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ListKeysResponse.\n * Use `create(ListKeysResponseSchema)` to create a new message.\n */\nexport const ListKeysResponseSchema: GenMessage<ListKeysResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 24);\n\n/**\n * CreateKeyRequest creates a broker API key.\n *\n * @generated from message swap.quickswap.v1.CreateKeyRequest\n */\nexport type CreateKeyRequest = Message<\"swap.quickswap.v1.CreateKeyRequest\"> & {\n /**\n * Broker name.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Label, 1 to 64 characters without leading or trailing whitespace.\n *\n * @generated from field: string label = 2;\n */\n label: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.CreateKeyRequest.\n * Use `create(CreateKeyRequestSchema)` to create a new message.\n */\nexport const CreateKeyRequestSchema: GenMessage<CreateKeyRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 25);\n\n/**\n * CreateKeyResponse returns the key and its token. The token is shown only\n * here and cannot be recovered.\n *\n * @generated from message swap.quickswap.v1.CreateKeyResponse\n */\nexport type CreateKeyResponse = Message<\"swap.quickswap.v1.CreateKeyResponse\"> & {\n /**\n * The key.\n *\n * @generated from field: swap.quickswap.v1.BrokerKey key = 1;\n */\n key?: BrokerKey | undefined;\n\n /**\n * Bearer token qsk_<key id>_<secret>. Store it as a server secret.\n *\n * @generated from field: string token = 2;\n */\n token: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.CreateKeyResponse.\n * Use `create(CreateKeyResponseSchema)` to create a new message.\n */\nexport const CreateKeyResponseSchema: GenMessage<CreateKeyResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 26);\n\n/**\n * RotateKeyRequest replaces a key by a new one. The old key keeps working\n * for the overlap, then stops.\n *\n * @generated from message swap.quickswap.v1.RotateKeyRequest\n */\nexport type RotateKeyRequest = Message<\"swap.quickswap.v1.RotateKeyRequest\"> & {\n /**\n * Broker name. A broker API key may name only its own broker.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Key to rotate. A broker API key may rotate only itself.\n *\n * @generated from field: string key_id = 2;\n */\n keyId: string;\n\n /**\n * How long the old key keeps working, in seconds, from 0 to 604800 (7\n * days). Default 86400 (24 hours). 0 revokes it immediately.\n *\n * @generated from field: optional uint32 overlap_seconds = 3;\n */\n overlapSeconds?: number | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.RotateKeyRequest.\n * Use `create(RotateKeyRequestSchema)` to create a new message.\n */\nexport const RotateKeyRequestSchema: GenMessage<RotateKeyRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 27);\n\n/**\n * RotateKeyResponse returns the new key, its token and the old key. The token\n * is shown only here and cannot be recovered.\n *\n * @generated from message swap.quickswap.v1.RotateKeyResponse\n */\nexport type RotateKeyResponse = Message<\"swap.quickswap.v1.RotateKeyResponse\"> & {\n /**\n * The new key.\n *\n * @generated from field: swap.quickswap.v1.BrokerKey key = 1;\n */\n key?: BrokerKey | undefined;\n\n /**\n * Bearer token qsk_<key id>_<secret> of the new key.\n *\n * @generated from field: string token = 2;\n */\n token: string;\n\n /**\n * The old key, with the end of its overlap.\n *\n * @generated from field: swap.quickswap.v1.BrokerKey previous_key = 3;\n */\n previousKey?: BrokerKey | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.RotateKeyResponse.\n * Use `create(RotateKeyResponseSchema)` to create a new message.\n */\nexport const RotateKeyResponseSchema: GenMessage<RotateKeyResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 28);\n\n/**\n * RevokeKeyRequest revokes a key immediately.\n *\n * @generated from message swap.quickswap.v1.RevokeKeyRequest\n */\nexport type RevokeKeyRequest = Message<\"swap.quickswap.v1.RevokeKeyRequest\"> & {\n /**\n * Broker name.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Key to revoke.\n *\n * @generated from field: string key_id = 2;\n */\n keyId: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.RevokeKeyRequest.\n * Use `create(RevokeKeyRequestSchema)` to create a new message.\n */\nexport const RevokeKeyRequestSchema: GenMessage<RevokeKeyRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 29);\n\n/**\n * RevokeKeyResponse returns the revoked key.\n *\n * @generated from message swap.quickswap.v1.RevokeKeyResponse\n */\nexport type RevokeKeyResponse = Message<\"swap.quickswap.v1.RevokeKeyResponse\"> & {\n /**\n * The key.\n *\n * @generated from field: swap.quickswap.v1.BrokerKey key = 1;\n */\n key?: BrokerKey | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.RevokeKeyResponse.\n * Use `create(RevokeKeyResponseSchema)` to create a new message.\n */\nexport const RevokeKeyResponseSchema: GenMessage<RevokeKeyResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 30);\n\n/**\n * CreateAffiliateVaultRequest creates, or returns, the affiliate vault with a\n * label.\n *\n * @generated from message swap.quickswap.v1.CreateAffiliateVaultRequest\n */\nexport type CreateAffiliateVaultRequest = Message<\"swap.quickswap.v1.CreateAffiliateVaultRequest\"> & {\n /**\n * Broker name. A broker API key may name only its own broker.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Label, 1 to 64 characters without leading or trailing whitespace, unique\n * per broker. The same label always returns the same vault.\n *\n * @generated from field: string label = 2;\n */\n label: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.CreateAffiliateVaultRequest.\n * Use `create(CreateAffiliateVaultRequestSchema)` to create a new message.\n */\nexport const CreateAffiliateVaultRequestSchema: GenMessage<CreateAffiliateVaultRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 31);\n\n/**\n * CreateAffiliateVaultResponse returns the vault.\n *\n * @generated from message swap.quickswap.v1.CreateAffiliateVaultResponse\n */\nexport type CreateAffiliateVaultResponse = Message<\"swap.quickswap.v1.CreateAffiliateVaultResponse\"> & {\n /**\n * The vault.\n *\n * @generated from field: swap.quickswap.v1.AffiliateVault vault = 1;\n */\n vault?: AffiliateVault | undefined;\n\n /**\n * Whether this request created it.\n *\n * @generated from field: bool created = 2;\n */\n created: boolean;\n};\n\n/**\n * Describes the message swap.quickswap.v1.CreateAffiliateVaultResponse.\n * Use `create(CreateAffiliateVaultResponseSchema)` to create a new message.\n */\nexport const CreateAffiliateVaultResponseSchema: GenMessage<CreateAffiliateVaultResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 32);\n\n/**\n * ListVaultsRequest lists a broker's affiliate vaults.\n *\n * @generated from message swap.quickswap.v1.ListVaultsRequest\n */\nexport type ListVaultsRequest = Message<\"swap.quickswap.v1.ListVaultsRequest\"> & {\n /**\n * Broker name. A broker API key may name only its own broker.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Maximum number of vaults to return; 0 means 100, at most 200.\n *\n * @generated from field: uint32 limit = 2;\n */\n limit: number;\n\n /**\n * Opaque keyset cursor from a previous next_page_token, exclusive, bound to\n * the broker and ordered by ascending account_id. Empty for the first page.\n *\n * @generated from field: string page_token = 3;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ListVaultsRequest.\n * Use `create(ListVaultsRequestSchema)` to create a new message.\n */\nexport const ListVaultsRequestSchema: GenMessage<ListVaultsRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 33);\n\n/**\n * ListVaultsResponse lists vaults in ascending account_id order.\n *\n * @generated from message swap.quickswap.v1.ListVaultsResponse\n */\nexport type ListVaultsResponse = Message<\"swap.quickswap.v1.ListVaultsResponse\"> & {\n /**\n * The vaults.\n *\n * @generated from field: repeated swap.quickswap.v1.AffiliateVault vaults = 1;\n */\n vaults: AffiliateVault[];\n\n /**\n * Cursor of the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ListVaultsResponse.\n * Use `create(ListVaultsResponseSchema)` to create a new message.\n */\nexport const ListVaultsResponseSchema: GenMessage<ListVaultsResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 34);\n\n/**\n * GetVaultRequest names one affiliate vault.\n *\n * @generated from message swap.quickswap.v1.GetVaultRequest\n */\nexport type GetVaultRequest = Message<\"swap.quickswap.v1.GetVaultRequest\"> & {\n /**\n * Broker name. A broker API key may name only its own broker.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Public sub-account ID of the vault.\n *\n * @generated from field: fixed64 account_id = 2;\n */\n accountId: bigint;\n};\n\n/**\n * Describes the message swap.quickswap.v1.GetVaultRequest.\n * Use `create(GetVaultRequestSchema)` to create a new message.\n */\nexport const GetVaultRequestSchema: GenMessage<GetVaultRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 35);\n\n/**\n * GetVaultResponse returns the vault.\n *\n * @generated from message swap.quickswap.v1.GetVaultResponse\n */\nexport type GetVaultResponse = Message<\"swap.quickswap.v1.GetVaultResponse\"> & {\n /**\n * The vault.\n *\n * @generated from field: swap.quickswap.v1.AffiliateVault vault = 1;\n */\n vault?: AffiliateVault | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.GetVaultResponse.\n * Use `create(GetVaultResponseSchema)` to create a new message.\n */\nexport const GetVaultResponseSchema: GenMessage<GetVaultResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 36);\n\n/**\n * SetVaultStatusRequest enables or disables an affiliate vault for new\n * QuickSwaps.\n *\n * @generated from message swap.quickswap.v1.SetVaultStatusRequest\n */\nexport type SetVaultStatusRequest = Message<\"swap.quickswap.v1.SetVaultStatusRequest\"> & {\n /**\n * Broker name. A broker API key may name only its own broker.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Public sub-account ID of the vault.\n *\n * @generated from field: fixed64 account_id = 2;\n */\n accountId: bigint;\n\n /**\n * New status.\n *\n * @generated from field: swap.quickswap.v1.VaultStatus status = 3;\n */\n status: VaultStatus;\n};\n\n/**\n * Describes the message swap.quickswap.v1.SetVaultStatusRequest.\n * Use `create(SetVaultStatusRequestSchema)` to create a new message.\n */\nexport const SetVaultStatusRequestSchema: GenMessage<SetVaultStatusRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 37);\n\n/**\n * SetVaultStatusResponse returns the vault.\n *\n * @generated from message swap.quickswap.v1.SetVaultStatusResponse\n */\nexport type SetVaultStatusResponse = Message<\"swap.quickswap.v1.SetVaultStatusResponse\"> & {\n /**\n * The vault.\n *\n * @generated from field: swap.quickswap.v1.AffiliateVault vault = 1;\n */\n vault?: AffiliateVault | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.SetVaultStatusResponse.\n * Use `create(SetVaultStatusResponseSchema)` to create a new message.\n */\nexport const SetVaultStatusResponseSchema: GenMessage<SetVaultStatusResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 38);\n\n/**\n * QuickSwapSummary is one QuickSwap in a list: its state and fees. Get it\n * with QuickSwapService.GetQuickSwap for its quote, deposit and withdrawals.\n *\n * @generated from message swap.quickswap.v1.QuickSwapSummary\n */\nexport type QuickSwapSummary = Message<\"swap.quickswap.v1.QuickSwapSummary\"> & {\n /**\n * Public QuickSwap identifier.\n *\n * @generated from field: fixed64 swap_id = 1;\n */\n swapId: bigint;\n\n /**\n * The broker's idempotency key that created it.\n *\n * @generated from field: string idempotency_key = 2;\n */\n idempotencyKey: string;\n\n /**\n * Current status.\n *\n * @generated from field: swap.quickswap.v1.QuickSwapStatus status = 3;\n */\n status: QuickSwapStatus;\n\n /**\n * Why the status is notable; REASON_UNSPECIFIED otherwise.\n *\n * @generated from field: swap.quickswap.v1.QuickSwapReason reason = 4;\n */\n reason: QuickSwapReason;\n\n /**\n * True when status is terminal.\n *\n * @generated from field: bool is_terminal = 5;\n */\n isTerminal: boolean;\n\n /**\n * Accepted economic terms.\n *\n * @generated from field: swap.quickswap.v1.QuickSwapTerms terms = 6;\n */\n terms?: QuickSwapTerms | undefined;\n\n /**\n * Broker and affiliate fees as requested, fixed at creation; unset when\n * the request set none.\n *\n * @generated from field: swap.quickswap.v1.RequestedFees fees = 7;\n */\n fees?: RequestedFees | undefined;\n\n /**\n * Broker and affiliate fees charged so far, as settled, as on QuickSwap.\n *\n * @generated from field: repeated swap.quickswap.v1.ChargedFee charged_fees = 8;\n */\n chargedFees: ChargedFee[];\n\n /**\n * When the QuickSwap was created.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 9;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * When the QuickSwap last changed.\n *\n * @generated from field: google.protobuf.Timestamp updated_at = 10;\n */\n updatedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.QuickSwapSummary.\n * Use `create(QuickSwapSummarySchema)` to create a new message.\n */\nexport const QuickSwapSummarySchema: GenMessage<QuickSwapSummary> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 39);\n\n/**\n * QuickSwapBrokerServiceGetQuickSwapRequest reads one QuickSwap belonging to this broker.\n *\n * @generated from message swap.quickswap.v1.QuickSwapBrokerServiceGetQuickSwapRequest\n */\nexport type QuickSwapBrokerServiceGetQuickSwapRequest = Message<\"swap.quickswap.v1.QuickSwapBrokerServiceGetQuickSwapRequest\"> & {\n /**\n * Broker name. A broker API key may name only its own broker.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Public QuickSwap ID. Another broker's swap is indistinguishable from an\n * unknown ID.\n *\n * @generated from field: fixed64 swap_id = 2;\n */\n swapId: bigint;\n};\n\n/**\n * Describes the message swap.quickswap.v1.QuickSwapBrokerServiceGetQuickSwapRequest.\n * Use `create(QuickSwapBrokerServiceGetQuickSwapRequestSchema)` to create a new message.\n */\nexport const QuickSwapBrokerServiceGetQuickSwapRequestSchema: GenMessage<QuickSwapBrokerServiceGetQuickSwapRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 40);\n\n/**\n * QuickSwapBrokerServiceGetQuickSwapResponse carries the broker's full swap detail.\n *\n * @generated from message swap.quickswap.v1.QuickSwapBrokerServiceGetQuickSwapResponse\n */\nexport type QuickSwapBrokerServiceGetQuickSwapResponse = Message<\"swap.quickswap.v1.QuickSwapBrokerServiceGetQuickSwapResponse\"> & {\n /**\n * The broker-owned QuickSwap, including its quote, addresses, progress and fees.\n *\n * @generated from field: swap.quickswap.v1.QuickSwap quick_swap = 1;\n */\n quickSwap?: QuickSwap | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.QuickSwapBrokerServiceGetQuickSwapResponse.\n * Use `create(QuickSwapBrokerServiceGetQuickSwapResponseSchema)` to create a new message.\n */\nexport const QuickSwapBrokerServiceGetQuickSwapResponseSchema: GenMessage<QuickSwapBrokerServiceGetQuickSwapResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 41);\n\n/**\n * ListQuickSwapsRequest lists the broker's QuickSwaps, newest first, with\n * optional filters. Every filter narrows the list.\n *\n * @generated from message swap.quickswap.v1.ListQuickSwapsRequest\n */\nexport type ListQuickSwapsRequest = Message<\"swap.quickswap.v1.ListQuickSwapsRequest\"> & {\n /**\n * Broker name. A broker API key may name only its own broker.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Only QuickSwaps whose fees credit this vault: an affiliate vault they\n * name, or the default vault when they set a broker fee. Zero for every\n * QuickSwap.\n *\n * @generated from field: fixed64 vault_account_id = 2;\n */\n vaultAccountId: bigint;\n\n /**\n * Only QuickSwaps in one of these statuses, at most 16; empty for every\n * status.\n *\n * @generated from field: repeated swap.quickswap.v1.QuickSwapStatus statuses = 3;\n */\n statuses: QuickSwapStatus[];\n\n /**\n * Only QuickSwaps created at or after start_time; unset for no lower\n * bound.\n *\n * @generated from field: google.protobuf.Timestamp start_time = 4;\n */\n startTime?: Timestamp | undefined;\n\n /**\n * Only QuickSwaps created before end_time (exclusive); unset for no upper\n * bound.\n *\n * @generated from field: google.protobuf.Timestamp end_time = 5;\n */\n endTime?: Timestamp | undefined;\n\n /**\n * Maximum number of QuickSwaps to return; 0 means 100, at most 200.\n *\n * @generated from field: uint32 limit = 6;\n */\n limit: number;\n\n /**\n * Opaque keyset cursor from a previous next_page_token, exclusive, bound\n * to the broker, the filters and the newest-first order by creation time,\n * then swap_id. Reuse it with the same filters. Empty for the first page.\n *\n * @generated from field: string page_token = 7;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ListQuickSwapsRequest.\n * Use `create(ListQuickSwapsRequestSchema)` to create a new message.\n */\nexport const ListQuickSwapsRequestSchema: GenMessage<ListQuickSwapsRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 42);\n\n/**\n * ListQuickSwapsResponse lists QuickSwaps newest first: by creation time,\n * then swap_id, both descending. A QuickSwap created after the first page\n * was read is not listed by later pages; every earlier one is listed exactly\n * once.\n *\n * @generated from message swap.quickswap.v1.ListQuickSwapsResponse\n */\nexport type ListQuickSwapsResponse = Message<\"swap.quickswap.v1.ListQuickSwapsResponse\"> & {\n /**\n * The QuickSwaps.\n *\n * @generated from field: repeated swap.quickswap.v1.QuickSwapSummary quick_swaps = 1;\n */\n quickSwaps: QuickSwapSummary[];\n\n /**\n * Cursor of the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ListQuickSwapsResponse.\n * Use `create(ListQuickSwapsResponseSchema)` to create a new message.\n */\nexport const ListQuickSwapsResponseSchema: GenMessage<ListQuickSwapsResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 43);\n\n/**\n * GetFeeTotalsRequest totals the broker and affiliate fees charged to the\n * broker's QuickSwaps in a time window.\n *\n * @generated from message swap.quickswap.v1.GetFeeTotalsRequest\n */\nexport type GetFeeTotalsRequest = Message<\"swap.quickswap.v1.GetFeeTotalsRequest\"> & {\n /**\n * Broker name. A broker API key may name only its own broker.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * How to group the totals.\n *\n * @generated from field: swap.quickswap.v1.FeeTotalsGrouping group_by = 2;\n */\n groupBy: FeeTotalsGrouping;\n\n /**\n * Start of the window, inclusive: fees charged at or after it.\n *\n * @generated from field: google.protobuf.Timestamp start_time = 3;\n */\n startTime?: Timestamp | undefined;\n\n /**\n * End of the window, exclusive, at most 366 days after start_time.\n *\n * @generated from field: google.protobuf.Timestamp end_time = 4;\n */\n endTime?: Timestamp | undefined;\n\n /**\n * Only fees credited to this vault; zero for every vault.\n *\n * @generated from field: fixed64 vault_account_id = 5;\n */\n vaultAccountId: bigint;\n};\n\n/**\n * Describes the message swap.quickswap.v1.GetFeeTotalsRequest.\n * Use `create(GetFeeTotalsRequestSchema)` to create a new message.\n */\nexport const GetFeeTotalsRequestSchema: GenMessage<GetFeeTotalsRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 44);\n\n/**\n * FeeTotal is the fees charged in one group and asset.\n *\n * @generated from message swap.quickswap.v1.FeeTotal\n */\nexport type FeeTotal = Message<\"swap.quickswap.v1.FeeTotal\"> & {\n /**\n * BY_VAULT: public sub-account ID of the credited vault; zero otherwise.\n *\n * @generated from field: fixed64 vault_account_id = 1;\n */\n vaultAccountId: bigint;\n\n /**\n * BY_DAY or BY_MONTH: start of the UTC day or month; unset for BY_VAULT.\n *\n * @generated from field: google.protobuf.Timestamp period_start = 2;\n */\n periodStart?: Timestamp | undefined;\n\n /**\n * Asset credited, as an AssetConfig.ledger_id from\n * GET /v1/chain/deposit-withdraw/config.\n *\n * @generated from field: uint32 asset_id = 3;\n */\n assetId: number;\n\n /**\n * Total credited, in base units of 18 decimals.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount amount = 4;\n */\n amount?: TokenAmount | undefined;\n\n /**\n * QuickSwaps that were charged a fee in this group and asset.\n *\n * @generated from field: uint64 swap_count = 5;\n */\n swapCount: bigint;\n};\n\n/**\n * Describes the message swap.quickswap.v1.FeeTotal.\n * Use `create(FeeTotalSchema)` to create a new message.\n */\nexport const FeeTotalSchema: GenMessage<FeeTotal> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 45);\n\n/**\n * GetFeeTotalsResponse lists every group and asset with a fee in the window,\n * complete (the window is bounded): by vault, then asset, for BY_VAULT; by\n * period, then asset, for BY_DAY and BY_MONTH, oldest first.\n *\n * @generated from message swap.quickswap.v1.GetFeeTotalsResponse\n */\nexport type GetFeeTotalsResponse = Message<\"swap.quickswap.v1.GetFeeTotalsResponse\"> & {\n /**\n * The totals.\n *\n * @generated from field: repeated swap.quickswap.v1.FeeTotal totals = 1;\n */\n totals: FeeTotal[];\n};\n\n/**\n * Describes the message swap.quickswap.v1.GetFeeTotalsResponse.\n * Use `create(GetFeeTotalsResponseSchema)` to create a new message.\n */\nexport const GetFeeTotalsResponseSchema: GenMessage<GetFeeTotalsResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 46);\n\n/**\n * GetBrokerStatsRequest reads the broker's QuickSwap activity in a time\n * window, per UTC day or month.\n *\n * @generated from message swap.quickswap.v1.GetBrokerStatsRequest\n */\nexport type GetBrokerStatsRequest = Message<\"swap.quickswap.v1.GetBrokerStatsRequest\"> & {\n /**\n * Broker name. A broker API key may name only its own broker.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * The period to group by.\n *\n * @generated from field: swap.quickswap.v1.StatsPeriod group_by = 2;\n */\n groupBy: StatsPeriod;\n\n /**\n * Start of the window, inclusive. A window that starts or ends inside a\n * period counts only the part of that period inside the window.\n *\n * @generated from field: google.protobuf.Timestamp start_time = 3;\n */\n startTime?: Timestamp | undefined;\n\n /**\n * End of the window, exclusive, at most 366 days after start_time.\n *\n * @generated from field: google.protobuf.Timestamp end_time = 4;\n */\n endTime?: Timestamp | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.GetBrokerStatsRequest.\n * Use `create(GetBrokerStatsRequestSchema)` to create a new message.\n */\nexport const GetBrokerStatsRequestSchema: GenMessage<GetBrokerStatsRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 47);\n\n/**\n * StatusCount is how many QuickSwaps are in one status.\n *\n * @generated from message swap.quickswap.v1.StatusCount\n */\nexport type StatusCount = Message<\"swap.quickswap.v1.StatusCount\"> & {\n /**\n * The status.\n *\n * @generated from field: swap.quickswap.v1.QuickSwapStatus status = 1;\n */\n status: QuickSwapStatus;\n\n /**\n * QuickSwaps in it.\n *\n * @generated from field: uint64 count = 2;\n */\n count: bigint;\n};\n\n/**\n * Describes the message swap.quickswap.v1.StatusCount.\n * Use `create(StatusCountSchema)` to create a new message.\n */\nexport const StatusCountSchema: GenMessage<StatusCount> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 48);\n\n/**\n * AssetVolume is a total amount in one asset.\n *\n * @generated from message swap.quickswap.v1.AssetVolume\n */\nexport type AssetVolume = Message<\"swap.quickswap.v1.AssetVolume\"> & {\n /**\n * Asset, as an AssetConfig.ledger_id from\n * GET /v1/chain/deposit-withdraw/config.\n *\n * @generated from field: uint32 asset_id = 1;\n */\n assetId: number;\n\n /**\n * Total, in base units of 18 decimals.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount amount = 2;\n */\n amount?: TokenAmount | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.AssetVolume.\n * Use `create(AssetVolumeSchema)` to create a new message.\n */\nexport const AssetVolumeSchema: GenMessage<AssetVolume> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 49);\n\n/**\n * FeeSplit is the fees charged in one asset, by who they credit. Every\n * amount is set, zero included.\n *\n * @generated from message swap.quickswap.v1.FeeSplit\n */\nexport type FeeSplit = Message<\"swap.quickswap.v1.FeeSplit\"> & {\n /**\n * Asset charged, as an AssetConfig.ledger_id from\n * GET /v1/chain/deposit-withdraw/config.\n *\n * @generated from field: uint32 asset_id = 1;\n */\n assetId: number;\n\n /**\n * Service fees, credited to Polyester, in base units of 18 decimals.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount service_fee = 2;\n */\n serviceFee?: TokenAmount | undefined;\n\n /**\n * Broker fees, credited to the broker's default vault, in base units of\n * 18 decimals.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount broker_fee = 3;\n */\n brokerFee?: TokenAmount | undefined;\n\n /**\n * Affiliate fees, credited to the broker's affiliate vaults, in base\n * units of 18 decimals.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount affiliate_fee = 4;\n */\n affiliateFee?: TokenAmount | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.FeeSplit.\n * Use `create(FeeSplitSchema)` to create a new message.\n */\nexport const FeeSplitSchema: GenMessage<FeeSplit> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 50);\n\n/**\n * BrokerStatsPeriod is a broker's QuickSwap activity in one UTC day or\n * month. A QuickSwap counts in the period it was created in, with its\n * current status, its credited deposit and its destination payout, so a\n * period's numbers keep moving until its QuickSwaps end. A fee counts in the\n * period it was charged in, as in GetFeeTotals, which can be later than the\n * period its QuickSwap was created in.\n *\n * @generated from message swap.quickswap.v1.BrokerStatsPeriod\n */\nexport type BrokerStatsPeriod = Message<\"swap.quickswap.v1.BrokerStatsPeriod\"> & {\n /**\n * Start of the UTC day or month.\n *\n * @generated from field: google.protobuf.Timestamp period_start = 1;\n */\n periodStart?: Timestamp | undefined;\n\n /**\n * QuickSwaps created in the period, inside the window.\n *\n * @generated from field: uint64 created_count = 2;\n */\n createdCount: bigint;\n\n /**\n * Those QuickSwaps by current status, in QuickSwapStatus number order;\n * statuses with none are omitted. The counts total created_count.\n *\n * @generated from field: repeated swap.quickswap.v1.StatusCount statuses = 3;\n */\n statuses: StatusCount[];\n\n /**\n * Deposits credited to those QuickSwaps and taken in for execution, per\n * asset, in asset_id order: including a deposit later found ineligible\n * and returned, excluding a deposit held for review before credit.\n *\n * @generated from field: repeated swap.quickswap.v1.AssetVolume deposited = 4;\n */\n deposited: AssetVolume[];\n\n /**\n * Paid to the destination of those QuickSwaps whose DESTINATION\n * withdrawal is FINALIZED, per asset, in asset_id order: after service,\n * broker and affiliate fees, before the destination network fee.\n *\n * @generated from field: repeated swap.quickswap.v1.AssetVolume delivered = 5;\n */\n delivered: AssetVolume[];\n\n /**\n * Fees charged to the broker's QuickSwaps in the period, per asset, in\n * asset_id order. broker_fee plus affiliate_fee equals the GetFeeTotals\n * total of the same window, period and asset.\n *\n * @generated from field: repeated swap.quickswap.v1.FeeSplit fees = 6;\n */\n fees: FeeSplit[];\n};\n\n/**\n * Describes the message swap.quickswap.v1.BrokerStatsPeriod.\n * Use `create(BrokerStatsPeriodSchema)` to create a new message.\n */\nexport const BrokerStatsPeriodSchema: GenMessage<BrokerStatsPeriod> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 51);\n\n/**\n * GetBrokerStatsResponse lists every period of the window with a QuickSwap\n * created or a fee charged, oldest first, complete (the window is bounded).\n * Periods with neither are omitted.\n *\n * @generated from message swap.quickswap.v1.GetBrokerStatsResponse\n */\nexport type GetBrokerStatsResponse = Message<\"swap.quickswap.v1.GetBrokerStatsResponse\"> & {\n /**\n * The periods.\n *\n * @generated from field: repeated swap.quickswap.v1.BrokerStatsPeriod periods = 1;\n */\n periods: BrokerStatsPeriod[];\n};\n\n/**\n * Describes the message swap.quickswap.v1.GetBrokerStatsResponse.\n * Use `create(GetBrokerStatsResponseSchema)` to create a new message.\n */\nexport const GetBrokerStatsResponseSchema: GenMessage<GetBrokerStatsResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 52);\n\n/**\n * ListVaultBalancesRequest selects a broker's default and affiliate vaults.\n *\n * @generated from message swap.quickswap.v1.ListVaultBalancesRequest\n */\nexport type ListVaultBalancesRequest = Message<\"swap.quickswap.v1.ListVaultBalancesRequest\"> & {\n /**\n * Broker name.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Public vault subaccount ID. Omit to include every vault, including disabled\n * affiliates. A root account or another broker's vault is NOT_FOUND.\n *\n * @generated from field: fixed64 vault_account_id = 2;\n */\n vaultAccountId: bigint;\n\n /**\n * Maximum vaults, default 20, max 200.\n *\n * @generated from field: uint32 limit = 3;\n */\n limit: number;\n\n /**\n * Opaque exclusive keyset cursor, bound to the broker and vault filter.\n * Reuse with the same broker and vault_account_id; limit may change.\n *\n * @generated from field: string page_token = 4;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ListVaultBalancesRequest.\n * Use `create(ListVaultBalancesRequestSchema)` to create a new message.\n */\nexport const ListVaultBalancesRequestSchema: GenMessage<ListVaultBalancesRequest> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 53);\n\n/**\n * VaultAssetBalance is the current posted balance in one asset.\n *\n * @generated from message swap.quickswap.v1.VaultAssetBalance\n */\nexport type VaultAssetBalance = Message<\"swap.quickswap.v1.VaultAssetBalance\"> & {\n /**\n * Unified asset ID, including assets no longer enabled for new swaps.\n *\n * @generated from field: uint32 asset_id = 1;\n */\n assetId: number;\n\n /**\n * Settled balance of the vault's Funding and Trading accounts, at 18 decimals.\n * Pending credits are excluded. This is not a withdrawability guarantee.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount amount = 2;\n */\n amount?: TokenAmount | undefined;\n\n /**\n * Funds committed to pending outgoing transfers, at 18 decimals. amount\n * still counts these funds and has NOT been reduced by pending_outgoing.\n * amount minus pending_outgoing is the balance not yet committed to an\n * outgoing transfer. This excludes order holds and is not a withdrawability guarantee.\n *\n * @generated from field: swap.quickswap.v1.TokenAmount pending_outgoing = 3;\n */\n pendingOutgoing?: TokenAmount | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.VaultAssetBalance.\n * Use `create(VaultAssetBalanceSchema)` to create a new message.\n */\nexport const VaultAssetBalanceSchema: GenMessage<VaultAssetBalance> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 54);\n\n/**\n * VaultBalance is one vault's current balance observation.\n *\n * @generated from message swap.quickswap.v1.VaultBalance\n */\nexport type VaultBalance = Message<\"swap.quickswap.v1.VaultBalance\"> & {\n /**\n * Public vault subaccount ID.\n *\n * @generated from field: fixed64 vault_account_id = 1;\n */\n vaultAccountId: bigint;\n\n /**\n * Asset balances in ascending asset_id order. Empty for an unfunded vault.\n *\n * @generated from field: repeated swap.quickswap.v1.VaultAssetBalance assets = 2;\n */\n assets: VaultAssetBalance[];\n\n /**\n * UTC time this vault's balance read completed. Vaults are read separately;\n * this does not describe an atomic snapshot across vaults or pages.\n *\n * @generated from field: google.protobuf.Timestamp as_of = 3;\n */\n asOf?: Timestamp | undefined;\n};\n\n/**\n * Describes the message swap.quickswap.v1.VaultBalance.\n * Use `create(VaultBalanceSchema)` to create a new message.\n */\nexport const VaultBalanceSchema: GenMessage<VaultBalance> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 55);\n\n/**\n * ListVaultBalancesResponse lists vaults in ascending account creation-ID\n * order, independent of their encoded public IDs. A failed balance read fails\n * the entire page; it is never represented as a zero balance.\n *\n * @generated from message swap.quickswap.v1.ListVaultBalancesResponse\n */\nexport type ListVaultBalancesResponse = Message<\"swap.quickswap.v1.ListVaultBalancesResponse\"> & {\n /**\n * Default and affiliate vault balances, at most limit vaults.\n *\n * @generated from field: repeated swap.quickswap.v1.VaultBalance vaults = 1;\n */\n vaults: VaultBalance[];\n\n /**\n * Opaque exclusive keyset cursor. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message swap.quickswap.v1.ListVaultBalancesResponse.\n * Use `create(ListVaultBalancesResponseSchema)` to create a new message.\n */\nexport const ListVaultBalancesResponseSchema: GenMessage<ListVaultBalancesResponse> = /*@__PURE__*/\n messageDesc(file_swap_quickswap_v1_quickswap_broker, 56);\n\n/**\n * BrokerRole is a person's role in a broker org. A broker has exactly one\n * Owner.\n *\n * @generated from enum swap.quickswap.v1.BrokerRole\n */\nexport enum BrokerRole {\n /**\n * No role; rejected in requests and never returned.\n *\n * @generated from enum value: BROKER_ROLE_UNSPECIFIED = 0;\n */\n BROKER_ROLE_UNSPECIFIED = 0,\n\n /**\n * Everything, including transferring ownership. Exactly one per broker.\n *\n * @generated from enum value: OWNER = 1;\n */\n OWNER = 1,\n\n /**\n * Everything except changing the Owner or transferring ownership.\n *\n * @generated from enum value: ADMIN = 2;\n */\n ADMIN = 2,\n\n /**\n * Internal transfers, withdrawals and payout settings.\n *\n * @generated from enum value: FINANCE = 3;\n */\n FINANCE = 3,\n\n /**\n * Creates affiliate vaults and views balances.\n *\n * @generated from enum value: AFFILIATE_MANAGER = 4;\n */\n AFFILIATE_MANAGER = 4,\n\n /**\n * Read-only.\n *\n * @generated from enum value: VIEWER = 5;\n */\n VIEWER = 5,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.BrokerRole.\n */\nexport const BrokerRoleSchema: GenEnum<BrokerRole> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap_broker, 0);\n\n/**\n * VaultStatus says whether an affiliate vault can be named by new QuickSwaps.\n *\n * @generated from enum swap.quickswap.v1.VaultStatus\n */\nexport enum VaultStatus {\n /**\n * No status; rejected in requests and never returned.\n *\n * @generated from enum value: VAULT_STATUS_UNSPECIFIED = 0;\n */\n VAULT_STATUS_UNSPECIFIED = 0,\n\n /**\n * New QuickSwaps can credit the vault.\n *\n * @generated from enum value: VAULT_ACTIVE = 1;\n */\n VAULT_ACTIVE = 1,\n\n /**\n * New QuickSwaps naming the vault are refused with AFFILIATE_VAULT_UNKNOWN.\n * QuickSwaps already created still credit it.\n *\n * @generated from enum value: VAULT_DISABLED = 2;\n */\n VAULT_DISABLED = 2,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.VaultStatus.\n */\nexport const VaultStatusSchema: GenEnum<VaultStatus> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap_broker, 1);\n\n/**\n * FeeTotalsGrouping is how GetFeeTotals groups the fees.\n *\n * @generated from enum swap.quickswap.v1.FeeTotalsGrouping\n */\nexport enum FeeTotalsGrouping {\n /**\n * No grouping; rejected.\n *\n * @generated from enum value: GROUPING_UNSPECIFIED = 0;\n */\n GROUPING_UNSPECIFIED = 0,\n\n /**\n * By credited vault.\n *\n * @generated from enum value: BY_VAULT = 1;\n */\n BY_VAULT = 1,\n\n /**\n * By UTC day the fee was charged.\n *\n * @generated from enum value: BY_DAY = 2;\n */\n BY_DAY = 2,\n\n /**\n * By UTC month the fee was charged.\n *\n * @generated from enum value: BY_MONTH = 3;\n */\n BY_MONTH = 3,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.FeeTotalsGrouping.\n */\nexport const FeeTotalsGroupingSchema: GenEnum<FeeTotalsGrouping> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap_broker, 2);\n\n/**\n * StatsPeriod is the UTC calendar period GetBrokerStats groups by.\n *\n * @generated from enum swap.quickswap.v1.StatsPeriod\n */\nexport enum StatsPeriod {\n /**\n * No period; rejected.\n *\n * @generated from enum value: PERIOD_UNSPECIFIED = 0;\n */\n PERIOD_UNSPECIFIED = 0,\n\n /**\n * A UTC day.\n *\n * @generated from enum value: DAY = 1;\n */\n DAY = 1,\n\n /**\n * A UTC month.\n *\n * @generated from enum value: MONTH = 2;\n */\n MONTH = 2,\n}\n\n/**\n * Describes the enum swap.quickswap.v1.StatsPeriod.\n */\nexport const StatsPeriodSchema: GenEnum<StatsPeriod> = /*@__PURE__*/\n enumDesc(file_swap_quickswap_v1_quickswap_broker, 3);\n\n/**\n * QuickSwapBrokerService administers a broker org, over ConnectRPC and REST.\n * Every request names its broker. The caller is either the broker's API key,\n * sent as a bearer token (see QuickSwapService), or a member's interactive\n * session token; a person who is not a member of the broker gets NOT_FOUND /\n * BROKER_NOT_FOUND. Each RPC maps to one broker action:\n *\n * | Action | Owner | Admin | Finance | Affiliate manager | Viewer | API key |\n * | --- | --- | --- | --- | --- | --- | --- |\n * | Read (GetBroker, ListKeys, ListVaults, GetVault, ListMembers, ListQuickSwaps, GetQuickSwap, GetFeeTotals, GetBrokerStats, ListVaultBalances) | yes | yes | yes | yes | yes | yes, except ListMembers |\n * | Create vaults (CreateAffiliateVault, SetVaultStatus) | yes | yes | no | yes | no | yes |\n * | Manage keys (CreateKey, RotateKey, RevokeKey) | yes | yes | no | no | no | RotateKey of itself only |\n * | Manage members (InviteMember, SetMemberRole, RemoveMember) | yes | yes, never the Owner | no | no | no | no |\n * | Transfer ownership | yes | no | no | no | no | no |\n *\n * A member managing keys or members must also send a fresh step-up proof in\n * the X-Auth-Step-Up header, obtained by completing an MFA challenge for\n * fresh step-up; each proof authorizes one change. Reads, vaults and a key\n * rotating itself need none. A denied action fails with PERMISSION_DENIED /\n * ACTION_DENIED, a missing or used proof with PERMISSION_DENIED /\n * STEP_UP_REQUIRED.\n *\n * REST errors are application/problem+json (see ErrorDetail) with the HTTP\n * statuses of QuickSwapService.\n *\n * @generated from service swap.quickswap.v1.QuickSwapBrokerService\n */\nexport const QuickSwapBrokerService: GenService<{\n /**\n * GetBroker returns the broker, its limits and current usage of them, and\n * the caller's role.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.GetBroker\n */\n getBroker: {\n methodKind: \"unary\";\n input: typeof GetBrokerRequestSchema;\n output: typeof GetBrokerResponseSchema;\n },\n /**\n * ListVaultBalances reads current balances for this broker's own vaults.\n * All broker roles and the broker's API keys can read, without step-up.\n * Errors: NOT_FOUND for an unknown broker or vault; UNAVAILABLE when a\n * balance cannot be read. No partial page is returned on a read failure.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.ListVaultBalances\n */\n listVaultBalances: {\n methodKind: \"unary\";\n input: typeof ListVaultBalancesRequestSchema;\n output: typeof ListVaultBalancesResponseSchema;\n },\n /**\n * ListMyBrokers lists the brokers the caller is a member of and the\n * invites addressed to the caller. Session token only.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.ListMyBrokers\n */\n listMyBrokers: {\n methodKind: \"unary\";\n input: typeof ListMyBrokersRequestSchema;\n output: typeof ListMyBrokersResponseSchema;\n },\n /**\n * RespondToInvite accepts or declines a pending invite addressed to the\n * caller. Session token only; no step-up proof is needed.\n *\n * Errors:\n * - NOT_FOUND: INVITE_NOT_FOUND.\n * - ALREADY_EXISTS: ALREADY_MEMBER.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.RespondToInvite\n */\n respondToInvite: {\n methodKind: \"unary\";\n input: typeof RespondToInviteRequestSchema;\n output: typeof RespondToInviteResponseSchema;\n },\n /**\n * ListMembers lists the broker's members and pending invites. Session\n * token only.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND.\n * - PERMISSION_DENIED: ACTION_DENIED.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.ListMembers\n */\n listMembers: {\n methodKind: \"unary\";\n input: typeof ListMembersRequestSchema;\n output: typeof ListMembersResponseSchema;\n },\n /**\n * InviteMember invites a person with any role but OWNER; the person\n * accepts with their own login. Inviting again replaces the pending invite.\n * Session token and step-up proof only.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND, or MEMBER_NOT_FOUND when the account does\n * not exist.\n * - PERMISSION_DENIED: ACTION_DENIED or STEP_UP_REQUIRED.\n * - ALREADY_EXISTS: ALREADY_MEMBER.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.InviteMember\n */\n inviteMember: {\n methodKind: \"unary\";\n input: typeof InviteMemberRequestSchema;\n output: typeof InviteMemberResponseSchema;\n },\n /**\n * SetMemberRole changes a member's role to any role but OWNER. The Owner's\n * role cannot be changed; transfer ownership instead. Session token and\n * step-up proof only.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND or MEMBER_NOT_FOUND.\n * - PERMISSION_DENIED: ACTION_DENIED or STEP_UP_REQUIRED.\n * - FAILED_PRECONDITION: OWNER_IMMUTABLE.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.SetMemberRole\n */\n setMemberRole: {\n methodKind: \"unary\";\n input: typeof SetMemberRoleRequestSchema;\n output: typeof SetMemberRoleResponseSchema;\n },\n /**\n * RemoveMember removes a member, ending their access immediately, or\n * cancels the person's pending invite. The Owner cannot be removed. Session\n * token and step-up proof only.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND or MEMBER_NOT_FOUND.\n * - PERMISSION_DENIED: ACTION_DENIED or STEP_UP_REQUIRED.\n * - FAILED_PRECONDITION: OWNER_IMMUTABLE.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.RemoveMember\n */\n removeMember: {\n methodKind: \"unary\";\n input: typeof RemoveMemberRequestSchema;\n output: typeof RemoveMemberResponseSchema;\n },\n /**\n * TransferOwnership makes another member the Owner; the caller, the\n * current Owner, becomes an Admin in the same change. Session token and\n * step-up proof only.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND or MEMBER_NOT_FOUND.\n * - PERMISSION_DENIED: ACTION_DENIED or STEP_UP_REQUIRED.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.TransferOwnership\n */\n transferOwnership: {\n methodKind: \"unary\";\n input: typeof TransferOwnershipRequestSchema;\n output: typeof TransferOwnershipResponseSchema;\n },\n /**\n * ListKeys lists the broker's API keys, without secrets, a page at a time.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND.\n * - INVALID_ARGUMENT: a page_token from another broker or malformed.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.ListKeys\n */\n listKeys: {\n methodKind: \"unary\";\n input: typeof ListKeysRequestSchema;\n output: typeof ListKeysResponseSchema;\n },\n /**\n * CreateKey creates an API key. A broker has at most two working keys.\n * Session token and step-up proof only.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND.\n * - PERMISSION_DENIED: ACTION_DENIED or STEP_UP_REQUIRED.\n * - FAILED_PRECONDITION: KEY_LIMIT.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.CreateKey\n */\n createKey: {\n methodKind: \"unary\";\n input: typeof CreateKeyRequestSchema;\n output: typeof CreateKeyResponseSchema;\n },\n /**\n * RotateKey replaces a working key by a new one. The old key keeps working\n * until the overlap ends, then only the new key does. A broker API key may\n * rotate itself without a step-up proof; a member needs a session token and\n * step-up proof.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND or KEY_NOT_FOUND.\n * - PERMISSION_DENIED: ACTION_DENIED or STEP_UP_REQUIRED.\n * - FAILED_PRECONDITION: KEY_LIMIT, when the broker would have more than\n * two working keys during the overlap.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.RotateKey\n */\n rotateKey: {\n methodKind: \"unary\";\n input: typeof RotateKeyRequestSchema;\n output: typeof RotateKeyResponseSchema;\n },\n /**\n * RevokeKey revokes a key immediately. The broker's last key that works\n * without an expiry cannot be revoked. Session token and step-up proof\n * only.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND or KEY_NOT_FOUND.\n * - PERMISSION_DENIED: ACTION_DENIED or STEP_UP_REQUIRED.\n * - FAILED_PRECONDITION: LAST_KEY.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.RevokeKey\n */\n revokeKey: {\n methodKind: \"unary\";\n input: typeof RevokeKeyRequestSchema;\n output: typeof RevokeKeyResponseSchema;\n },\n /**\n * CreateAffiliateVault creates, or returns, the affiliate vault with label.\n * Create a vault before the first QuickSwap that credits it: a QuickSwap\n * naming a vault that does not exist yet is refused. Concurrent and\n * repeated requests with the same label return the same vault. No step-up\n * proof is needed.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND.\n * - PERMISSION_DENIED: ACTION_DENIED.\n * - RESOURCE_EXHAUSTED: BROKER_LIMIT, the broker's vault limit.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.CreateAffiliateVault\n */\n createAffiliateVault: {\n methodKind: \"unary\";\n input: typeof CreateAffiliateVaultRequestSchema;\n output: typeof CreateAffiliateVaultResponseSchema;\n },\n /**\n * ListVaults lists the broker's affiliate vaults.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND.\n * - INVALID_ARGUMENT: a page_token from another broker or malformed.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.ListVaults\n */\n listVaults: {\n methodKind: \"unary\";\n input: typeof ListVaultsRequestSchema;\n output: typeof ListVaultsResponseSchema;\n },\n /**\n * GetVault returns one affiliate vault.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND or VAULT_NOT_FOUND.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.GetVault\n */\n getVault: {\n methodKind: \"unary\";\n input: typeof GetVaultRequestSchema;\n output: typeof GetVaultResponseSchema;\n },\n /**\n * SetVaultStatus enables or disables an affiliate vault for new\n * QuickSwaps. No step-up proof is needed.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND or VAULT_NOT_FOUND.\n * - PERMISSION_DENIED: ACTION_DENIED.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.SetVaultStatus\n */\n setVaultStatus: {\n methodKind: \"unary\";\n input: typeof SetVaultStatusRequestSchema;\n output: typeof SetVaultStatusResponseSchema;\n },\n /**\n * ListQuickSwaps lists the broker's QuickSwaps, newest first, filtered by\n * vault, status and creation time.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND.\n * - INVALID_ARGUMENT: a page_token from another broker, other filters or\n * malformed.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.ListQuickSwaps\n */\n listQuickSwaps: {\n methodKind: \"unary\";\n input: typeof ListQuickSwapsRequestSchema;\n output: typeof ListQuickSwapsResponseSchema;\n },\n /**\n * GetQuickSwap returns the full detail of one of the broker's QuickSwaps,\n * including its addresses, quote, progress, requested and charged fees.\n * Every broker member role can read it with a session token.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND or SWAP_NOT_FOUND, including another broker's swap.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.GetQuickSwap\n */\n getQuickSwap: {\n methodKind: \"unary\";\n input: typeof QuickSwapBrokerServiceGetQuickSwapRequestSchema;\n output: typeof QuickSwapBrokerServiceGetQuickSwapResponseSchema;\n },\n /**\n * GetFeeTotals totals the broker and affiliate fees charged to the\n * broker's QuickSwaps in a window, per asset, by vault, day or month.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.GetFeeTotals\n */\n getFeeTotals: {\n methodKind: \"unary\";\n input: typeof GetFeeTotalsRequestSchema;\n output: typeof GetFeeTotalsResponseSchema;\n },\n /**\n * GetBrokerStats reads the broker's QuickSwap activity in a window, per UTC\n * day or month: QuickSwaps created by status, deposits credited and\n * payouts delivered per asset, and the service, broker and affiliate fees\n * charged per asset.\n *\n * Errors:\n * - NOT_FOUND: BROKER_NOT_FOUND.\n * - INTERNAL: STATS_INCOMPLETE, with the swap_id of a QuickSwap whose\n * records the stats cannot read.\n *\n * @generated from rpc swap.quickswap.v1.QuickSwapBrokerService.GetBrokerStats\n */\n getBrokerStats: {\n methodKind: \"unary\";\n input: typeof GetBrokerStatsRequestSchema;\n output: typeof GetBrokerStatsResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_swap_quickswap_v1_quickswap_broker, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAa,0CACX,uBAAS,4iYAA4iY;CAAC;CAAgC;CAA4B;AAAgC,CAAC;;;;;AAkHrpY,MAAa,eACX,0BAAY,yCAAyC,CAAC;;;;;AAyCxD,MAAa,oBACX,0BAAY,yCAAyC,CAAC;;;;;AAkDxD,MAAa,uBACX,0BAAY,yCAAyC,CAAC;;;;;AAuExD,MAAa,kBACX,0BAAY,yCAAyC,CAAC;;;;;AAkCxD,MAAa,eACX,0BAAY,yCAAyC,CAAC;;;;;AA8DxD,MAAa,eACX,0BA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,6BAAA,KAAA;;;;;;CAOA,WAAA,WAAA,WAAA,KAAA;;;;;;CAOA,WAAA,WAAA,WAAA,KAAA;;;;;;CAOA,WAAA,WAAA,aAAA,KAAA;;;;;;CAOA,WAAA,WAAA,uBAAA,KAAA;;;;;;CAOA,WAAA,WAAA,YAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,mBACX,uBAAS,yCAAyC,CAAC;;;;;;AAOrD,IAAY,cAAL,yBAAA,aAAA;;;;;;CAML,YAAA,YAAA,8BAAA,KAAA;;;;;;CAOA,YAAA,YAAA,kBAAA,KAAA;;;;;;;CAQA,YAAA,YAAA,oBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,oBACX,uBAAS,yCAAyC,CAAC;;;;;;AAOrD,IAAY,oBAAL,yBAAA,mBAAA;;;;;;CAML,kBAAA,kBAAA,0BAAA,KAAA;;;;;;CAOA,kBAAA,kBAAA,cAAA,KAAA;;;;;;CAOA,kBAAA,kBAAA,YAAA,KAAA;;;;;;CAOA,kBAAA,kBAAA,cAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,0BACX,uBAAS,yCAAyC,CAAC;;;;;;AAOrD,IAAY,cAAL,yBAAA,aAAA;;;;;;CAML,YAAA,YAAA,wBAAA,KAAA;;;;;;CAOA,YAAA,YAAA,SAAA,KAAA;;;;;;CAOA,YAAA,YAAA,WAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,oBACX,uBAAS,yCAAyC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BrD,MAAa,yBAwUX,0BAAY,yCAAyC,CAAC"}
@@ -240,6 +240,13 @@ declare const QuickSwapTermsSchema: GenMessage<QuickSwapTerms>;
240
240
  * charged. A bridge has no settlement; its fees are charged at payout, in
241
241
  * the destination asset.
242
242
  *
243
+ * A quoted fee is an estimate, not a fixed amount. What is fixed is the
244
+ * rate (bps): each trading fee charged is that rate applied to what the leg
245
+ * actually receives once the deposit is credited, which can be hours or days
246
+ * after the quote. The quoted amount is not a cap: the fee charged and the
247
+ * output follow the actual deposit, execution prices and rounding, so they
248
+ * can be higher or lower than quoted.
249
+ *
243
250
  * @generated from message swap.quickswap.v1.QuoteFee
244
251
  */
245
252
  type QuoteFee = Message<"swap.quickswap.v1.QuoteFee"> & {
@@ -260,15 +267,16 @@ type QuoteFee = Message<"swap.quickswap.v1.QuoteFee"> & {
260
267
  /**
261
268
  * Fee in zipped_asset_id's token units; for a fee charged in the
262
269
  * intermediate asset, in the intermediate asset at its trading precision
263
- * (amount.decimals). Trading fees are rounded up, so the charged fee never
264
- * exceeds the quoted one.
270
+ * (amount.decimals). An estimate for deposit_amount at the quoted prices,
271
+ * with trading fees rounded up; the fee charged can be higher or lower.
265
272
  *
266
273
  * @generated from field: swap.quickswap.v1.TokenAmount amount = 3;
267
274
  */
268
275
  amount?: TokenAmount | undefined;
269
276
  /**
270
277
  * Rate of a trading fee in basis points of what the leg receives; zero for
271
- * a network fee.
278
+ * a network fee. The rate, not amount, is what is charged: bps of what the
279
+ * leg actually receives.
272
280
  *
273
281
  * @generated from field: uint32 bps = 4;
274
282
  */
@@ -287,8 +295,13 @@ type QuoteFee = Message<"swap.quickswap.v1.QuoteFee"> & {
287
295
  */
288
296
  declare const QuoteFeeSchema: GenMessage<QuoteFee>;
289
297
  /**
290
- * QuickSwapQuote is the priced view of a QuickSwap's terms. Price fields are
291
- * estimates at quoted_at; only the protection fields are guarantees.
298
+ * QuickSwapQuote is the priced view of a QuickSwap's terms. Prices, amounts
299
+ * and fees are estimates at quoted_at; only the protection fields are
300
+ * guarantees. A QuickSwap is priced when its deposit is credited, which can
301
+ * be hours or days after the quote: the deposit must be detected before
302
+ * DepositInstructions.funding_expires_at, and its confirmation, credit and
303
+ * execution can finish later. Its actual output and fees can therefore
304
+ * differ from the quote.
292
305
  *
293
306
  * The end user may deposit any amount from min_deposit_amount to
294
307
  * max_deposit_amount. min_amount_out applies only to a deposit of exactly
@@ -311,7 +324,8 @@ type QuickSwapQuote = Message<"swap.quickswap.v1.QuickSwapQuote"> & {
311
324
  /**
312
325
  * Expected destination amount for deposit_amount at quoted_at, after
313
326
  * trading fees and both quoted network fees, in destination token units. An
314
- * estimate, not a guarantee.
327
+ * estimate, not a guarantee: the delivered amount follows the actual
328
+ * deposit, execution and fees, bounded below only by the protection.
315
329
  *
316
330
  * @generated from field: swap.quickswap.v1.TokenAmount expected_amount_out = 2;
317
331
  */
@@ -378,10 +392,13 @@ type QuickSwapQuote = Message<"swap.quickswap.v1.QuickSwapQuote"> & {
378
392
  */
379
393
  intermediateAssetId: number;
380
394
  /**
381
- * Quoted fee components for deposit_amount: each leg's service, broker and
382
- * affiliate fees, in that order, legs in route order (a bridge has one set,
383
- * charged at payout), then network fees. Affiliates are in ascending
384
- * account_id order. Zero fees are omitted.
395
+ * Estimated fee components for deposit_amount at quoted_at: each leg's
396
+ * service, broker and affiliate fees, in that order, legs in route order (a
397
+ * bridge has one set, charged at payout), then network fees. Affiliates are
398
+ * in ascending account_id order. Zero fees are omitted. The fees charged
399
+ * are each rate applied to the actual execution and can differ from these
400
+ * amounts; QuickSwap.charged_fees reports the broker and affiliate fees as
401
+ * charged.
385
402
  *
386
403
  * @generated from field: repeated swap.quickswap.v1.QuoteFee fees = 8;
387
404
  */
@@ -905,7 +922,10 @@ type QuickSwap = Message<"swap.quickswap.v1.QuickSwap"> & {
905
922
  */
906
923
  refundMemo: string;
907
924
  /**
908
- * Quote and protection fixed at creation. Not refreshed on retries.
925
+ * Quote and protection fixed at creation. Not refreshed on retries. Its
926
+ * amounts and fees stay estimates: the QuickSwap is priced when its deposit
927
+ * is credited, and execution, withdrawals and charged_fees report the
928
+ * actual output and fees.
909
929
  *
910
930
  * @generated from field: swap.quickswap.v1.QuickSwapQuote quote = 14;
911
931
  */
@@ -999,7 +1019,9 @@ type QuickSwap = Message<"swap.quickswap.v1.QuickSwap"> & {
999
1019
  /**
1000
1020
  * Broker and affiliate fees charged so far, as settled: one entry per fee
1001
1021
  * kind, credited vault and asset, in kind, then account_id, then asset_id
1002
- * order. Grows while the QuickSwap executes or pays out a bridge.
1022
+ * order. Grows while the QuickSwap executes or pays out a bridge. Each is
1023
+ * the requested rate applied to the actual execution, so it can differ
1024
+ * from the quote's fee lines.
1003
1025
  *
1004
1026
  * @generated from field: repeated swap.quickswap.v1.ChargedFee charged_fees = 30;
1005
1027
  */
@@ -1118,7 +1140,8 @@ declare const QuoteQuickSwapRequestSchema: GenMessage<QuoteQuickSwapRequest>;
1118
1140
  type QuoteQuickSwapResponse = Message<"swap.quickswap.v1.QuoteQuickSwapResponse"> & {
1119
1141
  /**
1120
1142
  * Indicative quote, including whether the route needs a refund address.
1121
- * Creating a QuickSwap prices the terms again.
1143
+ * Its amounts and fees are estimates. Creating a QuickSwap prices the terms
1144
+ * again.
1122
1145
  *
1123
1146
  * @generated from field: swap.quickswap.v1.QuickSwapQuote quote = 1;
1124
1147
  */
@@ -1192,8 +1215,8 @@ type CreateQuickSwapRequest = Message<"swap.quickswap.v1.CreateQuickSwapRequest"
1192
1215
  destinationAddress: string;
1193
1216
  /**
1194
1217
  * Destination tag or memo for destination_address. Required when the
1195
- * destination network needs one; must be empty otherwise. At most 128 UTF-8
1196
- * bytes.
1218
+ * destination network requires one, optional when supported, and empty when
1219
+ * unsupported. See ChainConfig.memo_requirement. At most 128 UTF-8 bytes.
1197
1220
  *
1198
1221
  * @generated from field: string destination_memo = 4;
1199
1222
  */
@@ -1209,7 +1232,8 @@ type CreateQuickSwapRequest = Message<"swap.quickswap.v1.CreateQuickSwapRequest"
1209
1232
  returnAddress: string;
1210
1233
  /**
1211
1234
  * Destination tag or memo for return_address. Required when the source
1212
- * network needs one; must be empty otherwise. At most 128 UTF-8 bytes.
1235
+ * network requires one, optional when supported, and empty when unsupported.
1236
+ * See ChainConfig.memo_requirement. At most 128 UTF-8 bytes.
1213
1237
  *
1214
1238
  * @generated from field: string return_memo = 6;
1215
1239
  */
@@ -1234,7 +1258,8 @@ type CreateQuickSwapRequest = Message<"swap.quickswap.v1.CreateQuickSwapRequest"
1234
1258
  refundAddress: string;
1235
1259
  /**
1236
1260
  * Destination tag or memo for refund_address. Required when the refund
1237
- * network needs one; must be empty otherwise. At most 128 UTF-8 bytes.
1261
+ * network requires one, optional when supported, and empty when unsupported.
1262
+ * See ChainConfig.memo_requirement. At most 128 UTF-8 bytes.
1238
1263
  *
1239
1264
  * @generated from field: string refund_memo = 9;
1240
1265
  */
@@ -1464,7 +1489,9 @@ declare enum FeeKind {
1464
1489
  */
1465
1490
  AFFILIATE = 3,
1466
1491
  /**
1467
- * Network fee withheld from the deposit before it is credited.
1492
+ * Network fee withheld from the deposit before it is credited. A quote
1493
+ * shows an estimate; the fee withheld is the network's fee when the
1494
+ * deposit arrives.
1468
1495
  *
1469
1496
  * @generated from enum value: DEPOSIT_NETWORK = 4;
1470
1497
  */
@@ -2222,7 +2249,9 @@ declare const ErrorCodeSchema: GenEnum<ErrorCode>;
2222
2249
  declare const QuickSwapService: GenService<{
2223
2250
  /**
2224
2251
  * QuoteQuickSwap prices terms without creating a QuickSwap or reserving a
2225
- * deposit address. The quote states whether the route needs a refund
2252
+ * deposit address. The quote's output and fees are estimates: the fees
2253
+ * charged are their rates applied to the actual execution once the
2254
+ * deposit is credited. The quote states whether the route needs a refund
2226
2255
  * address.
2227
2256
  *
2228
2257
  * Errors: