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

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 (271) hide show
  1. package/CHANGELOG.md +35 -1
  2. package/dist/catalogs/snapshot-validation.js +2 -1
  3. package/dist/catalogs/snapshot-validation.js.map +1 -1
  4. package/dist/client.d.ts +6 -0
  5. package/dist/client.d.ts.map +1 -1
  6. package/dist/client.js +6 -0
  7. package/dist/client.js.map +1 -1
  8. package/dist/gen/ai/v1/assistant_pb.d.ts +4164 -0
  9. package/dist/gen/ai/v1/assistant_pb.d.ts.map +1 -0
  10. package/dist/gen/ai/v1/assistant_pb.js +1174 -0
  11. package/dist/gen/ai/v1/assistant_pb.js.map +1 -0
  12. package/dist/gen/alerts/v1/price_alerts_pb.d.ts +776 -0
  13. package/dist/gen/alerts/v1/price_alerts_pb.d.ts.map +1 -0
  14. package/dist/gen/alerts/v1/price_alerts_pb.js +378 -0
  15. package/dist/gen/alerts/v1/price_alerts_pb.js.map +1 -0
  16. package/dist/gen/auth/v1/address_book_pb.d.ts +6 -0
  17. package/dist/gen/auth/v1/address_book_pb.d.ts.map +1 -1
  18. package/dist/gen/auth/v1/address_book_pb.js +6 -0
  19. package/dist/gen/auth/v1/address_book_pb.js.map +1 -1
  20. package/dist/gen/auth/v1/api_keys_pb.d.ts +242 -2
  21. package/dist/gen/auth/v1/api_keys_pb.d.ts.map +1 -1
  22. package/dist/gen/auth/v1/api_keys_pb.js +81 -2
  23. package/dist/gen/auth/v1/api_keys_pb.js.map +1 -1
  24. package/dist/gen/auth/v1/auth_pb.d.ts +48 -6
  25. package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
  26. package/dist/gen/auth/v1/auth_pb.js +48 -6
  27. package/dist/gen/auth/v1/auth_pb.js.map +1 -1
  28. package/dist/gen/auth/v1/policies_pb.d.ts +83 -19
  29. package/dist/gen/auth/v1/policies_pb.d.ts.map +1 -1
  30. package/dist/gen/auth/v1/policies_pb.js +74 -16
  31. package/dist/gen/auth/v1/policies_pb.js.map +1 -1
  32. package/dist/gen/auth/v1/social_verification_pb.d.ts +167 -11
  33. package/dist/gen/auth/v1/social_verification_pb.d.ts.map +1 -1
  34. package/dist/gen/auth/v1/social_verification_pb.js +41 -3
  35. package/dist/gen/auth/v1/social_verification_pb.js.map +1 -1
  36. package/dist/gen/auth/v1/subaccounts_pb.d.ts +17 -6
  37. package/dist/gen/auth/v1/subaccounts_pb.d.ts.map +1 -1
  38. package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
  39. package/dist/gen/chain/deposit/v1/deposit_pb.d.ts +4 -2
  40. package/dist/gen/chain/deposit/v1/deposit_pb.d.ts.map +1 -1
  41. package/dist/gen/chain/deposit/v1/deposit_pb.js.map +1 -1
  42. package/dist/gen/chain/guard/v1/guard_signer_pb.d.ts +5 -0
  43. package/dist/gen/chain/guard/v1/guard_signer_pb.d.ts.map +1 -1
  44. package/dist/gen/chain/guard/v1/guard_signer_pb.js.map +1 -1
  45. package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts +10 -0
  46. package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts.map +1 -1
  47. package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js +1 -1
  48. package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js.map +1 -1
  49. package/dist/gen/chain/lifecycle/v1/types_pb.d.ts +32 -4
  50. package/dist/gen/chain/lifecycle/v1/types_pb.d.ts.map +1 -1
  51. package/dist/gen/chain/lifecycle/v1/types_pb.js +32 -4
  52. package/dist/gen/chain/lifecycle/v1/types_pb.js.map +1 -1
  53. package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts +391 -42
  54. package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts.map +1 -1
  55. package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js +103 -17
  56. package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js.map +1 -1
  57. package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +170 -3
  58. package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -1
  59. package/dist/gen/chain/withdraw/v1/withdraw_pb.js +63 -2
  60. package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
  61. package/dist/gen/claims/v1/claims_pb.d.ts +1 -1
  62. package/dist/gen/claims/v1/claims_pb.js +1 -1
  63. package/dist/gen/claims/v1/claims_pb.js.map +1 -1
  64. package/dist/gen/index.d.ts +14 -10
  65. package/dist/gen/index.js +11 -7
  66. package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts +1 -1
  67. package/dist/gen/ledger/v1/catalog_pb.d.ts +9 -1
  68. package/dist/gen/ledger/v1/catalog_pb.d.ts.map +1 -1
  69. package/dist/gen/ledger/v1/catalog_pb.js +9 -1
  70. package/dist/gen/ledger/v1/catalog_pb.js.map +1 -1
  71. package/dist/gen/marketdata/v1/marketdata_pb.d.ts +8 -0
  72. package/dist/gen/marketdata/v1/marketdata_pb.d.ts.map +1 -1
  73. package/dist/gen/marketdata/v1/marketdata_pb.js +1 -1
  74. package/dist/gen/marketdata/v1/marketdata_pb.js.map +1 -1
  75. package/dist/gen/orders/v1/orders_pb.d.ts +4 -4
  76. package/dist/gen/orders/v1/orders_pb.js.map +1 -1
  77. package/dist/gen/orders/v1/orders_read_pb.d.ts +1 -1
  78. package/dist/gen/polyester/ratelimit/v1/types_pb.d.ts +20 -1
  79. package/dist/gen/polyester/ratelimit/v1/types_pb.d.ts.map +1 -1
  80. package/dist/gen/polyester/ratelimit/v1/types_pb.js +20 -1
  81. package/dist/gen/polyester/ratelimit/v1/types_pb.js.map +1 -1
  82. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +1186 -127
  83. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts.map +1 -1
  84. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +282 -5
  85. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -1
  86. package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +253 -38
  87. package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts.map +1 -1
  88. package/dist/gen/swap/quickswap/v1/quickswap_pb.js +180 -36
  89. package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
  90. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts +933 -0
  91. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts.map +1 -0
  92. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.js +292 -0
  93. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.js.map +1 -0
  94. package/dist/gen/system/v1/system_pb.d.ts +77 -0
  95. package/dist/gen/system/v1/system_pb.d.ts.map +1 -0
  96. package/dist/gen/system/v1/system_pb.js +34 -0
  97. package/dist/gen/system/v1/system_pb.js.map +1 -0
  98. package/dist/gen/tradews/v1/trade_ws_pb.d.ts +2 -2
  99. package/dist/gen/tradews/v1/trade_ws_pb.js.map +1 -1
  100. package/dist/index.d.ts +14 -6
  101. package/dist/services/api-keys/api-keys.codecs.js +10 -1
  102. package/dist/services/api-keys/api-keys.codecs.js.map +1 -1
  103. package/dist/services/api-keys/api-keys.d.ts +16 -1
  104. package/dist/services/api-keys/api-keys.d.ts.map +1 -1
  105. package/dist/services/api-keys/api-keys.js +25 -1
  106. package/dist/services/api-keys/api-keys.js.map +1 -1
  107. package/dist/services/api-keys/api-keys.schemas.d.ts +116 -1
  108. package/dist/services/api-keys/api-keys.schemas.d.ts.map +1 -1
  109. package/dist/services/api-keys/api-keys.schemas.js +29 -3
  110. package/dist/services/api-keys/api-keys.schemas.js.map +1 -1
  111. package/dist/services/api-keys/api-keys.types.d.ts +2 -2
  112. package/dist/services/api-keys/index.d.ts +2 -2
  113. package/dist/services/assistant/assistant-events.schemas.d.ts +4618 -0
  114. package/dist/services/assistant/assistant-events.schemas.d.ts.map +1 -0
  115. package/dist/services/assistant/assistant-events.schemas.js +485 -0
  116. package/dist/services/assistant/assistant-events.schemas.js.map +1 -0
  117. package/dist/services/assistant/assistant.codecs.d.ts +24 -0
  118. package/dist/services/assistant/assistant.codecs.d.ts.map +1 -0
  119. package/dist/services/assistant/assistant.codecs.js +88 -0
  120. package/dist/services/assistant/assistant.codecs.js.map +1 -0
  121. package/dist/services/assistant/assistant.d.ts +76 -0
  122. package/dist/services/assistant/assistant.d.ts.map +1 -0
  123. package/dist/services/assistant/assistant.js +133 -0
  124. package/dist/services/assistant/assistant.js.map +1 -0
  125. package/dist/services/assistant/assistant.schemas.d.ts +184 -0
  126. package/dist/services/assistant/assistant.schemas.d.ts.map +1 -0
  127. package/dist/services/assistant/assistant.schemas.js +135 -0
  128. package/dist/services/assistant/assistant.schemas.js.map +1 -0
  129. package/dist/services/assistant/assistant.types.d.ts +4 -0
  130. package/dist/services/assistant/service.d.ts +8 -0
  131. package/dist/services/assistant/service.d.ts.map +1 -0
  132. package/dist/services/assistant/service.js +9 -0
  133. package/dist/services/assistant/service.js.map +1 -0
  134. package/dist/services/auto-withdraw/auto-withdraw.codecs.d.ts +9 -2
  135. package/dist/services/auto-withdraw/auto-withdraw.codecs.d.ts.map +1 -1
  136. package/dist/services/auto-withdraw/auto-withdraw.codecs.js +9 -1
  137. package/dist/services/auto-withdraw/auto-withdraw.codecs.js.map +1 -1
  138. package/dist/services/auto-withdraw/auto-withdraw.d.ts +15 -4
  139. package/dist/services/auto-withdraw/auto-withdraw.d.ts.map +1 -1
  140. package/dist/services/auto-withdraw/auto-withdraw.js +24 -8
  141. package/dist/services/auto-withdraw/auto-withdraw.js.map +1 -1
  142. package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +394 -26
  143. package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts.map +1 -1
  144. package/dist/services/auto-withdraw/auto-withdraw.schemas.js +67 -12
  145. package/dist/services/auto-withdraw/auto-withdraw.schemas.js.map +1 -1
  146. package/dist/services/auto-withdraw/auto-withdraw.types.d.ts +3 -3
  147. package/dist/services/balances/balances.js +1 -1
  148. package/dist/services/balances/balances.schemas.d.ts +3 -3
  149. package/dist/services/candles/candles.js +1 -1
  150. package/dist/services/candles/candles.schemas.d.ts +10 -10
  151. package/dist/services/candles/candles.schemas.js +5 -2
  152. package/dist/services/candles/candles.schemas.js.map +1 -1
  153. package/dist/services/changelog/changelog.schemas.d.ts +17 -17
  154. package/dist/services/checkpoints/checkpoints.schemas.d.ts +1 -1
  155. package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
  156. package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +3 -3
  157. package/dist/services/lifecycle/lifecycle.codecs.d.ts +2 -2
  158. package/dist/services/lifecycle/lifecycle.codecs.d.ts.map +1 -1
  159. package/dist/services/lifecycle/lifecycle.codecs.js +3 -1
  160. package/dist/services/lifecycle/lifecycle.codecs.js.map +1 -1
  161. package/dist/services/lifecycle/lifecycle.schemas.d.ts +210 -186
  162. package/dist/services/lifecycle/lifecycle.schemas.d.ts.map +1 -1
  163. package/dist/services/lifecycle/lifecycle.schemas.js +7 -1
  164. package/dist/services/lifecycle/lifecycle.schemas.js.map +1 -1
  165. package/dist/services/market-data/market-data.js +1 -1
  166. package/dist/services/market-data/market-data.schemas.js +7 -2
  167. package/dist/services/market-data/market-data.schemas.js.map +1 -1
  168. package/dist/services/market-overview/market-overview.schemas.d.ts +1 -1
  169. package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
  170. package/dist/services/orders/order-errors.schemas.d.ts +2 -2
  171. package/dist/services/orders/orders-batch.schemas.d.ts +54 -54
  172. package/dist/services/orders/orders-input.schemas.d.ts +6 -6
  173. package/dist/services/orders/orders-input.schemas.js +1 -1
  174. package/dist/services/orders/orders-modify.schemas.js +1 -1
  175. package/dist/services/orders/orders-output.schemas.d.ts +16 -16
  176. package/dist/services/orders/orders-output.schemas.js +3 -3
  177. package/dist/services/orders/orders-risk.schemas.js +1 -1
  178. package/dist/services/orders/orders.codecs.js +1 -1
  179. package/dist/services/orders/orders.js +3 -3
  180. package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +15 -15
  181. package/dist/services/policies/shared.codecs.js +24 -3
  182. package/dist/services/policies/shared.codecs.js.map +1 -1
  183. package/dist/services/policies/shared.d.ts +1 -1
  184. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +3 -3
  185. package/dist/services/price-alerts/price-alerts.codecs.d.ts +20 -0
  186. package/dist/services/price-alerts/price-alerts.codecs.d.ts.map +1 -0
  187. package/dist/services/price-alerts/price-alerts.codecs.js +66 -0
  188. package/dist/services/price-alerts/price-alerts.codecs.js.map +1 -0
  189. package/dist/services/price-alerts/price-alerts.d.ts +38 -0
  190. package/dist/services/price-alerts/price-alerts.d.ts.map +1 -0
  191. package/dist/services/price-alerts/price-alerts.js +60 -0
  192. package/dist/services/price-alerts/price-alerts.js.map +1 -0
  193. package/dist/services/price-alerts/price-alerts.schemas.d.ts +309 -0
  194. package/dist/services/price-alerts/price-alerts.schemas.d.ts.map +1 -0
  195. package/dist/services/price-alerts/price-alerts.schemas.js +130 -0
  196. package/dist/services/price-alerts/price-alerts.schemas.js.map +1 -0
  197. package/dist/services/price-alerts/price-alerts.types.d.ts +3 -0
  198. package/dist/services/price-alerts/service.d.ts +8 -0
  199. package/dist/services/price-alerts/service.d.ts.map +1 -0
  200. package/dist/services/price-alerts/service.js +9 -0
  201. package/dist/services/price-alerts/service.js.map +1 -0
  202. package/dist/services/social-verification/social-verification.codecs.js +13 -5
  203. package/dist/services/social-verification/social-verification.codecs.js.map +1 -1
  204. package/dist/services/social-verification/social-verification.d.ts +18 -3
  205. package/dist/services/social-verification/social-verification.d.ts.map +1 -1
  206. package/dist/services/social-verification/social-verification.js +26 -3
  207. package/dist/services/social-verification/social-verification.js.map +1 -1
  208. package/dist/services/social-verification/social-verification.schemas.d.ts +33 -7
  209. package/dist/services/social-verification/social-verification.schemas.d.ts.map +1 -1
  210. package/dist/services/social-verification/social-verification.schemas.js +35 -10
  211. package/dist/services/social-verification/social-verification.schemas.js.map +1 -1
  212. package/dist/services/social-verification/social-verification.types.d.ts +2 -2
  213. package/dist/services/subaccounts/subaccounts.schemas.d.ts +8 -8
  214. package/dist/services/system/service.d.ts +8 -0
  215. package/dist/services/system/service.d.ts.map +1 -0
  216. package/dist/services/system/service.js +9 -0
  217. package/dist/services/system/service.js.map +1 -0
  218. package/dist/services/system/system.d.ts +25 -0
  219. package/dist/services/system/system.d.ts.map +1 -0
  220. package/dist/services/system/system.js +24 -0
  221. package/dist/services/system/system.js.map +1 -0
  222. package/dist/services/trades/trades.js +1 -1
  223. package/dist/services/trades/trades.schemas.d.ts +1 -1
  224. package/dist/services/trades/trades.schemas.js +1 -1
  225. package/dist/services/trading-withdraws/trading-withdraws.d.ts +7 -1
  226. package/dist/services/trading-withdraws/trading-withdraws.d.ts.map +1 -1
  227. package/dist/services/trading-withdraws/trading-withdraws.js +11 -1
  228. package/dist/services/trading-withdraws/trading-withdraws.js.map +1 -1
  229. package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts +42 -1
  230. package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts.map +1 -1
  231. package/dist/services/trading-withdraws/trading-withdraws.schemas.js +19 -3
  232. package/dist/services/trading-withdraws/trading-withdraws.schemas.js.map +1 -1
  233. package/dist/services/trading-withdraws/trading-withdraws.types.d.ts +2 -2
  234. package/dist/services/transfers/transfers.schemas.d.ts +5 -5
  235. package/dist/services/triggers/trigger-child-order.schemas.js +1 -1
  236. package/dist/services/triggers/trigger-input.schemas.d.ts +2 -2
  237. package/dist/services/triggers/trigger-input.schemas.js +1 -1
  238. package/dist/services/triggers/triggers-output.schemas.d.ts +49 -49
  239. package/dist/services/triggers/triggers.codecs.js +1 -1
  240. package/dist/services/triggers/triggers.js +2 -2
  241. package/dist/shared/catalog-config.d.ts +5 -0
  242. package/dist/shared/catalog-config.d.ts.map +1 -1
  243. package/dist/shared/catalog-config.js.map +1 -1
  244. package/dist/shared/connect-error-mapping.d.ts.map +1 -1
  245. package/dist/shared/connect-error-mapping.js +1 -0
  246. package/dist/shared/connect-error-mapping.js.map +1 -1
  247. package/dist/shared/error-detail.d.ts +24 -10
  248. package/dist/shared/error-detail.d.ts.map +1 -1
  249. package/dist/shared/error-detail.js +2 -0
  250. package/dist/shared/error-detail.js.map +1 -1
  251. package/dist/shared/error-details/alerts.js +15 -0
  252. package/dist/shared/error-details/alerts.js.map +1 -0
  253. package/dist/shared/error-details/assistant.js +15 -0
  254. package/dist/shared/error-details/assistant.js.map +1 -0
  255. package/dist/shared/error-details/withdraw.js +11 -2
  256. package/dist/shared/error-details/withdraw.js.map +1 -1
  257. package/dist/shared/ledger-codes.d.ts +4 -2
  258. package/dist/shared/ledger-codes.d.ts.map +1 -1
  259. package/dist/shared/ledger-codes.js +6 -3
  260. package/dist/shared/ledger-codes.js.map +1 -1
  261. package/dist/shared/rate-limit.schemas.d.ts +3 -3
  262. package/dist/shared/rate-limit.schemas.d.ts.map +1 -1
  263. package/dist/shared/rate-limit.schemas.js +4 -1
  264. package/dist/shared/rate-limit.schemas.js.map +1 -1
  265. package/dist/shared/transports.d.ts +2 -1
  266. package/dist/shared/transports.d.ts.map +1 -1
  267. package/dist/shared/transports.js.map +1 -1
  268. package/dist/wired-services.d.ts.map +1 -1
  269. package/dist/wired-services.js +11 -5
  270. package/dist/wired-services.js.map +1 -1
  271. package/package.json +1 -1
@@ -3,7 +3,7 @@ import { Message } from "@bufbuild/protobuf";
3
3
  import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
4
4
  import { Timestamp } from "@bufbuild/protobuf/wkt";
5
5
  declare namespace social_verification_pb_d_exports {
6
- export { GetSocialVerificationRequest, GetSocialVerificationRequestSchema, GetSocialVerificationResponse, GetSocialVerificationResponseSchema, SocialProvider, SocialProviderSchema, SocialVerification, SocialVerificationMethod, SocialVerificationMethodSchema, SocialVerificationReadyRequest, SocialVerificationReadyRequestSchema, SocialVerificationReadyResponse, SocialVerificationReadyResponseSchema, SocialVerificationSchema, SocialVerificationService, SocialVerificationStatus, SocialVerificationStatusSchema, StartSocialVerificationRequest, StartSocialVerificationRequestSchema, StartSocialVerificationResponse, StartSocialVerificationResponseSchema, file_auth_v1_social_verification };
6
+ export { ConfirmSocialVerificationRequest, ConfirmSocialVerificationRequestSchema, ConfirmSocialVerificationResponse, ConfirmSocialVerificationResponseSchema, GetSocialVerificationRequest, GetSocialVerificationRequestSchema, GetSocialVerificationResponse, GetSocialVerificationResponseSchema, SocialProvider, SocialProviderSchema, SocialVerification, SocialVerificationMethod, SocialVerificationMethodSchema, SocialVerificationReadyRequest, SocialVerificationReadyRequestSchema, SocialVerificationReadyResponse, SocialVerificationReadyResponseSchema, SocialVerificationSchema, SocialVerificationService, SocialVerificationStatus, SocialVerificationStatusSchema, StartSocialVerificationRequest, StartSocialVerificationRequestSchema, StartSocialVerificationResponse, StartSocialVerificationResponseSchema, UnlinkSocialAccountRequest, UnlinkSocialAccountRequestSchema, UnlinkSocialAccountResponse, UnlinkSocialAccountResponseSchema, file_auth_v1_social_verification };
7
7
  }
8
8
  /**
9
9
  * Describes the file auth/v1/social_verification.proto.
@@ -37,21 +37,33 @@ type SocialVerification = Message<"auth.v1.SocialVerification"> & {
37
37
  method: SocialVerificationMethod;
38
38
  /**
39
39
  * Provider handle being verified. Handles are returned lowercase and without
40
- * a leading "@".
40
+ * a leading "@". For Telegram, the username of the account that submitted the
41
+ * code; empty when that account has no username.
41
42
  *
42
43
  * @generated from field: string handle = 2;
43
44
  */
44
45
  handle: string;
45
46
  /**
46
- * Stable provider-side user identifier. Empty until verification succeeds.
47
+ * Stable provider-side user identifier. Empty until verification succeeds,
48
+ * except for Telegram: while the status is STATUS_AWAITING_CONFIRMATION, it is
49
+ * the numeric user ID of the Telegram account that submitted the code, the
50
+ * value ConfirmSocialVerification takes.
47
51
  *
48
52
  * @generated from field: string provider_user_id = 3;
49
53
  */
50
54
  providerUserId: string;
55
+ /**
56
+ * Provider display name of the account being verified, for showing it to the
57
+ * user. Telegram only: the account's name, set once the code is submitted.
58
+ * Empty for other providers.
59
+ *
60
+ * @generated from field: string display_name = 17;
61
+ */
62
+ displayName: string;
51
63
  /**
52
64
  * Challenge code the user must submit according to the verification method.
53
- * Discord codes are returned only when a challenge is issued. Codes expire
54
- * after 15 minutes.
65
+ * Discord and Telegram codes are returned only when a challenge is issued.
66
+ * Codes expire after 15 minutes.
55
67
  *
56
68
  * @generated from field: string challenge_code = 13;
57
69
  */
@@ -127,14 +139,15 @@ type StartSocialVerificationRequest = Message<"auth.v1.StartSocialVerificationRe
127
139
  provider: SocialProvider;
128
140
  /**
129
141
  * Verification method. If unspecified, profile verification is used for
130
- * X/Twitter and channel verification is used for Discord.
142
+ * X/Twitter, channel verification for Discord and direct message
143
+ * verification for Telegram.
131
144
  *
132
145
  * @generated from field: auth.v1.SocialVerificationMethod method = 3;
133
146
  */
134
147
  method: SocialVerificationMethod;
135
148
  /**
136
149
  * Provider handle the user claims. Required for X/Twitter and omitted for
137
- * Discord, where the authenticated bot supplies the provider identity.
150
+ * Discord and Telegram, where the provider bot supplies the provider identity.
138
151
  * A leading "@" is accepted and removed from X/Twitter handles.
139
152
  *
140
153
  * @generated from field: string handle = 2;
@@ -172,6 +185,14 @@ type StartSocialVerificationResponse = Message<"auth.v1.StartSocialVerificationR
172
185
  * @generated from field: auth.v1.SocialVerification verification = 3;
173
186
  */
174
187
  verification?: SocialVerification | undefined;
188
+ /**
189
+ * Link that completes the user action, when the provider has one. Telegram:
190
+ * opening it starts a chat with the Polyester bot that submits the code.
191
+ * Empty for other providers.
192
+ *
193
+ * @generated from field: string action_url = 4;
194
+ */
195
+ actionUrl: string;
175
196
  };
176
197
  /**
177
198
  * Describes the message auth.v1.StartSocialVerificationResponse.
@@ -256,6 +277,91 @@ type GetSocialVerificationResponse = Message<"auth.v1.GetSocialVerificationRespo
256
277
  * Use `create(GetSocialVerificationResponseSchema)` to create a new message.
257
278
  */
258
279
  declare const GetSocialVerificationResponseSchema: GenMessage<GetSocialVerificationResponse>;
280
+ /**
281
+ * ConfirmSocialVerificationRequest links the provider account that submitted
282
+ * the caller's challenge code.
283
+ *
284
+ * @generated from message auth.v1.ConfirmSocialVerificationRequest
285
+ */
286
+ type ConfirmSocialVerificationRequest = Message<"auth.v1.ConfirmSocialVerificationRequest"> & {
287
+ /**
288
+ * Provider account to confirm. Only TELEGRAM is accepted.
289
+ *
290
+ * @generated from field: auth.v1.SocialProvider provider = 1;
291
+ */
292
+ provider: SocialProvider;
293
+ /**
294
+ * Provider user ID the user confirms, as provider_user_id of the verification
295
+ * in STATUS_AWAITING_CONFIRMATION. The request fails when it is not the
296
+ * account that submitted the code, so the user links exactly the account
297
+ * they were shown.
298
+ *
299
+ * @generated from field: string provider_user_id = 2;
300
+ */
301
+ providerUserId: string;
302
+ };
303
+ /**
304
+ * Describes the message auth.v1.ConfirmSocialVerificationRequest.
305
+ * Use `create(ConfirmSocialVerificationRequestSchema)` to create a new message.
306
+ */
307
+ declare const ConfirmSocialVerificationRequestSchema: GenMessage<ConfirmSocialVerificationRequest>;
308
+ /**
309
+ * ConfirmSocialVerificationResponse returns the verification after the
310
+ * provider account was linked.
311
+ *
312
+ * @generated from message auth.v1.ConfirmSocialVerificationResponse
313
+ */
314
+ type ConfirmSocialVerificationResponse = Message<"auth.v1.ConfirmSocialVerificationResponse"> & {
315
+ /**
316
+ * Current verification state, STATUS_VERIFIED.
317
+ *
318
+ * @generated from field: auth.v1.SocialVerification verification = 1;
319
+ */
320
+ verification?: SocialVerification | undefined;
321
+ };
322
+ /**
323
+ * Describes the message auth.v1.ConfirmSocialVerificationResponse.
324
+ * Use `create(ConfirmSocialVerificationResponseSchema)` to create a new message.
325
+ */
326
+ declare const ConfirmSocialVerificationResponseSchema: GenMessage<ConfirmSocialVerificationResponse>;
327
+ /**
328
+ * UnlinkSocialAccountRequest removes the caller's linked provider account, or
329
+ * cancels a link in progress.
330
+ *
331
+ * @generated from message auth.v1.UnlinkSocialAccountRequest
332
+ */
333
+ type UnlinkSocialAccountRequest = Message<"auth.v1.UnlinkSocialAccountRequest"> & {
334
+ /**
335
+ * Provider account to unlink. Only TELEGRAM is accepted.
336
+ *
337
+ * @generated from field: auth.v1.SocialProvider provider = 1;
338
+ */
339
+ provider: SocialProvider;
340
+ };
341
+ /**
342
+ * Describes the message auth.v1.UnlinkSocialAccountRequest.
343
+ * Use `create(UnlinkSocialAccountRequestSchema)` to create a new message.
344
+ */
345
+ declare const UnlinkSocialAccountRequestSchema: GenMessage<UnlinkSocialAccountRequest>;
346
+ /**
347
+ * UnlinkSocialAccountResponse returns the verification after unlinking.
348
+ *
349
+ * @generated from message auth.v1.UnlinkSocialAccountResponse
350
+ */
351
+ type UnlinkSocialAccountResponse = Message<"auth.v1.UnlinkSocialAccountResponse"> & {
352
+ /**
353
+ * Current verification state, STATUS_CANCELLED. Absent when no verification
354
+ * was ever started for the provider.
355
+ *
356
+ * @generated from field: auth.v1.SocialVerification verification = 1;
357
+ */
358
+ verification?: SocialVerification | undefined;
359
+ };
360
+ /**
361
+ * Describes the message auth.v1.UnlinkSocialAccountResponse.
362
+ * Use `create(UnlinkSocialAccountResponseSchema)` to create a new message.
363
+ */
364
+ declare const UnlinkSocialAccountResponseSchema: GenMessage<UnlinkSocialAccountResponse>;
259
365
  /**
260
366
  * Social account provider used for account ownership verification.
261
367
  *
@@ -279,7 +385,14 @@ declare enum SocialProvider {
279
385
  *
280
386
  * @generated from enum value: DISCORD = 2;
281
387
  */
282
- DISCORD = 2
388
+ DISCORD = 2,
389
+ /**
390
+ * Telegram account linking. The user sends the challenge code to the Polyester
391
+ * Telegram bot, then confirms the Telegram account that sent it.
392
+ *
393
+ * @generated from enum value: TELEGRAM = 3;
394
+ */
395
+ TELEGRAM = 3
283
396
  }
284
397
  /**
285
398
  * Describes the enum auth.v1.SocialProvider.
@@ -334,11 +447,18 @@ declare enum SocialVerificationStatus {
334
447
  */
335
448
  STATUS_EXPIRED = 6,
336
449
  /**
337
- * Verification was cancelled.
450
+ * Verification was cancelled, or the linked account was unlinked.
338
451
  *
339
452
  * @generated from enum value: STATUS_CANCELLED = 7;
340
453
  */
341
- STATUS_CANCELLED = 7
454
+ STATUS_CANCELLED = 7,
455
+ /**
456
+ * A provider account submitted the challenge code. The user must confirm that
457
+ * account with ConfirmSocialVerification before it is linked. Telegram only.
458
+ *
459
+ * @generated from enum value: STATUS_AWAITING_CONFIRMATION = 8;
460
+ */
461
+ STATUS_AWAITING_CONFIRMATION = 8
342
462
  }
343
463
  /**
344
464
  * Describes the enum auth.v1.SocialVerificationStatus.
@@ -387,6 +507,9 @@ declare const SocialVerificationMethodSchema: GenEnum<SocialVerificationMethod>;
387
507
  declare const SocialVerificationService: GenService<{
388
508
  /**
389
509
  * Start or restart social verification by issuing a new challenge code.
510
+ * For Telegram, open action_url to send the code to the Polyester bot, then
511
+ * confirm the account with ConfirmSocialVerification.
512
+ * AUTH_SOCIAL_VERIFICATION_INVALID_STATE for Telegram means a Telegram account is already linked; unlink it first.
390
513
  *
391
514
  * @generated from rpc auth.v1.SocialVerificationService.StartSocialVerification
392
515
  */
@@ -400,6 +523,7 @@ declare const SocialVerificationService: GenService<{
400
523
  * AUTH_RESOURCE_NOT_FOUND means no verification exists; start one first.
401
524
  * AUTH_SOCIAL_VERIFICATION_EXPIRED means the challenge window passed; start a new verification, then mark it ready again.
402
525
  * AUTH_SOCIAL_VERIFICATION_INVALID_STATE means Ready is not valid in the current state; call GetSocialVerification for the current status.
526
+ * Telegram linking does not use Ready and always answers AUTH_SOCIAL_VERIFICATION_INVALID_STATE.
403
527
  *
404
528
  * @generated from rpc auth.v1.SocialVerificationService.SocialVerificationReady
405
529
  */
@@ -408,6 +532,38 @@ declare const SocialVerificationService: GenService<{
408
532
  input: typeof SocialVerificationReadyRequestSchema;
409
533
  output: typeof SocialVerificationReadyResponseSchema;
410
534
  };
535
+ /**
536
+ * Link the Telegram account that submitted the caller's challenge code. A
537
+ * linked Telegram account becomes a channel to the account, so the caller
538
+ * needs enrolled MFA and a fresh, single-use step-up proof in the
539
+ * X-Auth-Step-Up header, obtained by completing an MFA challenge for fresh
540
+ * step-up. The link consumes the proof; a retried confirmation of an existing
541
+ * link needs no new proof.
542
+ * AUTH_RESOURCE_NOT_FOUND means no verification exists; start one first.
543
+ * AUTH_SOCIAL_VERIFICATION_EXPIRED means the challenge window passed; start a new verification.
544
+ * AUTH_SOCIAL_VERIFICATION_INVALID_STATE means no submitted account awaits confirmation, or provider_user_id is not the account that submitted the code.
545
+ * AUTH_SOCIAL_ACCOUNT_ALREADY_LINKED means that Telegram account is linked to another Polyester account; the verification fails.
546
+ * AUTH_MFA_NOT_ENROLLED means enroll MFA first; AUTH_STEP_UP_REQUIRED and AUTH_STEP_UP_PROOF_UNAVAILABLE mean complete a new fresh step-up and retry.
547
+ *
548
+ * @generated from rpc auth.v1.SocialVerificationService.ConfirmSocialVerification
549
+ */
550
+ confirmSocialVerification: {
551
+ methodKind: "unary";
552
+ input: typeof ConfirmSocialVerificationRequestSchema;
553
+ output: typeof ConfirmSocialVerificationResponseSchema;
554
+ };
555
+ /**
556
+ * Unlink the caller's Telegram account, or cancel a Telegram link in progress.
557
+ * Unlinking again succeeds and changes nothing. To link again, start a new
558
+ * verification.
559
+ *
560
+ * @generated from rpc auth.v1.SocialVerificationService.UnlinkSocialAccount
561
+ */
562
+ unlinkSocialAccount: {
563
+ methodKind: "unary";
564
+ input: typeof UnlinkSocialAccountRequestSchema;
565
+ output: typeof UnlinkSocialAccountResponseSchema;
566
+ };
411
567
  /**
412
568
  * Get current verification status for the caller.
413
569
  * A failed verification uses error_code for its machine-readable outcome.
@@ -424,5 +580,5 @@ declare const SocialVerificationService: GenService<{
424
580
  };
425
581
  }>;
426
582
  //#endregion
427
- export { GetSocialVerificationRequest, GetSocialVerificationRequestSchema, GetSocialVerificationResponse, GetSocialVerificationResponseSchema, SocialProvider, SocialProviderSchema, SocialVerification, SocialVerificationMethod, SocialVerificationMethodSchema, SocialVerificationReadyRequest, SocialVerificationReadyRequestSchema, SocialVerificationReadyResponse, SocialVerificationReadyResponseSchema, SocialVerificationSchema, SocialVerificationService, SocialVerificationStatus, SocialVerificationStatusSchema, StartSocialVerificationRequest, StartSocialVerificationRequestSchema, StartSocialVerificationResponse, StartSocialVerificationResponseSchema, file_auth_v1_social_verification, social_verification_pb_d_exports };
583
+ export { ConfirmSocialVerificationRequest, ConfirmSocialVerificationRequestSchema, ConfirmSocialVerificationResponse, ConfirmSocialVerificationResponseSchema, GetSocialVerificationRequest, GetSocialVerificationRequestSchema, GetSocialVerificationResponse, GetSocialVerificationResponseSchema, SocialProvider, SocialProviderSchema, SocialVerification, SocialVerificationMethod, SocialVerificationMethodSchema, SocialVerificationReadyRequest, SocialVerificationReadyRequestSchema, SocialVerificationReadyResponse, SocialVerificationReadyResponseSchema, SocialVerificationSchema, SocialVerificationService, SocialVerificationStatus, SocialVerificationStatusSchema, StartSocialVerificationRequest, StartSocialVerificationRequestSchema, StartSocialVerificationResponse, StartSocialVerificationResponseSchema, UnlinkSocialAccountRequest, UnlinkSocialAccountRequestSchema, UnlinkSocialAccountResponse, UnlinkSocialAccountResponseSchema, file_auth_v1_social_verification, social_verification_pb_d_exports };
428
584
  //# sourceMappingURL=social_verification_pb.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"social_verification_pb.d.ts","names":[],"sources":["../../../../src/gen/auth/v1/social_verification_pb.ts"],"mappings":";;;;;;;;;;cAgBa,kCAAkC;;;;;;;KASnC,qBAAqB;;;;;;EAM/B;;;;;;EAOA,UAAU;;;;;;;EAQV,QAAQ;;;;;;;EAQR;;;;;;EAOA;;;;;;;;EASA;;;;;;EAOA,QAAQ;;;;;;EAOR,cAAc;;;;;;EAOd,YAAY;;;;;;EAOZ,aAAa;;;;;;EAOb;;;;;;;EAQA;;;;;;;EAQA,WAAW;;;;;;EAOX,YAAY;;;;;;cAOD,0BAA0B,WAAW;;;;;;;KAStC,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AStC;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;;EAWjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;;;;;;;;EAiBjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;EASjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;;EAWjB;IACE;IACA,cAAc;IACd,eAAe"}
@@ -5,6 +5,8 @@ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf
5
5
  import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
6
6
  //#region src/gen/auth/v1/social_verification_pb.ts
7
7
  var social_verification_pb_exports = /* @__PURE__ */ __exportAll({
8
+ ConfirmSocialVerificationRequestSchema: () => ConfirmSocialVerificationRequestSchema,
9
+ ConfirmSocialVerificationResponseSchema: () => ConfirmSocialVerificationResponseSchema,
8
10
  GetSocialVerificationRequestSchema: () => GetSocialVerificationRequestSchema,
9
11
  GetSocialVerificationResponseSchema: () => GetSocialVerificationResponseSchema,
10
12
  SocialProvider: () => SocialProvider,
@@ -19,12 +21,14 @@ var social_verification_pb_exports = /* @__PURE__ */ __exportAll({
19
21
  SocialVerificationStatusSchema: () => SocialVerificationStatusSchema,
20
22
  StartSocialVerificationRequestSchema: () => StartSocialVerificationRequestSchema,
21
23
  StartSocialVerificationResponseSchema: () => StartSocialVerificationResponseSchema,
24
+ UnlinkSocialAccountRequestSchema: () => UnlinkSocialAccountRequestSchema,
25
+ UnlinkSocialAccountResponseSchema: () => UnlinkSocialAccountResponseSchema,
22
26
  file_auth_v1_social_verification: () => file_auth_v1_social_verification
23
27
  });
24
28
  /**
25
29
  * Describes the file auth/v1/social_verification.proto.
26
30
  */
27
- const file_auth_v1_social_verification = /*@__PURE__*/ fileDesc("CiFhdXRoL3YxL3NvY2lhbF92ZXJpZmljYXRpb24ucHJvdG8SB2F1dGgudjEiiAQKElNvY2lhbFZlcmlmaWNhdGlvbhIKCgJpZBgMIAEoAxIpCghwcm92aWRlchgBIAEoDj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4KF1N0YXJ0U29jaWFsVmVyaWZpY2F0aW9uEicuYXV0aC52MS5TdGFydFNvY2lhbFZlcmlmaWNhdGlvblJlcXVlc3QaKC5hdXRoLnYxLlN0YXJ0U29jaWFsVmVyaWZpY2F0aW9uUmVzcG9uc2UiABJuChdTb2NpYWxWZXJpZmljYXRpb25SZWFkeRInLmF1dGgudjEuU29jaWFsVmVyaWZpY2F0aW9uUmVhZHlSZXF1ZXN0GiguYXV0aC52MS5Tb2NpYWxWZXJpZmljYXRpb25SZWFkeVJlc3BvbnNlIgASdAoZQ29uZmlybVNvY2lhbFZlcmlmaWNhdGlvbhIpLmF1dGgudjEuQ29uZmlybVNvY2lhbFZlcmlmaWNhdGlvblJlcXVlc3QaKi5hdXRoLnYxLkNvbmZpcm1Tb2NpYWxWZXJpZmljYXRpb25SZXNwb25zZSIAEmIKE1VubGlua1NvY2lhbEFjY291bnQSIy5hdXRoLnYxLlVubGlua1NvY2lhbEFjY291bnRSZXF1ZXN0GiQuYXV0aC52MS5VbmxpbmtTb2NpYWxBY2NvdW50UmVzcG9uc2UiABJoChVHZXRTb2NpYWxWZXJpZmljYXRpb24SJS5hdXRoLnYxLkdldFNvY2lhbFZlcmlmaWNhdGlvblJlcXVlc3QaJi5hdXRoLnYxLkdldFNvY2lhbFZlcmlmaWNhdGlvblJlc3BvbnNlIgAaAEI8WjpnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2F1dGgvdjE7YXV0aHYxYgZwcm90bzM=", [
28
32
  file_auth_v1_auth,
29
33
  file_google_protobuf_timestamp,
30
34
  file_polyester_api_options
@@ -65,6 +69,26 @@ const GetSocialVerificationRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v
65
69
  */
66
70
  const GetSocialVerificationResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_social_verification, 6);
67
71
  /**
72
+ * Describes the message auth.v1.ConfirmSocialVerificationRequest.
73
+ * Use `create(ConfirmSocialVerificationRequestSchema)` to create a new message.
74
+ */
75
+ const ConfirmSocialVerificationRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_social_verification, 7);
76
+ /**
77
+ * Describes the message auth.v1.ConfirmSocialVerificationResponse.
78
+ * Use `create(ConfirmSocialVerificationResponseSchema)` to create a new message.
79
+ */
80
+ const ConfirmSocialVerificationResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_social_verification, 8);
81
+ /**
82
+ * Describes the message auth.v1.UnlinkSocialAccountRequest.
83
+ * Use `create(UnlinkSocialAccountRequestSchema)` to create a new message.
84
+ */
85
+ const UnlinkSocialAccountRequestSchema = /*@__PURE__*/ messageDesc(file_auth_v1_social_verification, 9);
86
+ /**
87
+ * Describes the message auth.v1.UnlinkSocialAccountResponse.
88
+ * Use `create(UnlinkSocialAccountResponseSchema)` to create a new message.
89
+ */
90
+ const UnlinkSocialAccountResponseSchema = /*@__PURE__*/ messageDesc(file_auth_v1_social_verification, 10);
91
+ /**
68
92
  * Social account provider used for account ownership verification.
69
93
  *
70
94
  * @generated from enum auth.v1.SocialProvider
@@ -88,6 +112,13 @@ let SocialProvider = /* @__PURE__ */ function(SocialProvider) {
88
112
  * @generated from enum value: DISCORD = 2;
89
113
  */
90
114
  SocialProvider[SocialProvider["DISCORD"] = 2] = "DISCORD";
115
+ /**
116
+ * Telegram account linking. The user sends the challenge code to the Polyester
117
+ * Telegram bot, then confirms the Telegram account that sent it.
118
+ *
119
+ * @generated from enum value: TELEGRAM = 3;
120
+ */
121
+ SocialProvider[SocialProvider["TELEGRAM"] = 3] = "TELEGRAM";
91
122
  return SocialProvider;
92
123
  }({});
93
124
  /**
@@ -143,11 +174,18 @@ let SocialVerificationStatus = /* @__PURE__ */ function(SocialVerificationStatus
143
174
  */
144
175
  SocialVerificationStatus[SocialVerificationStatus["STATUS_EXPIRED"] = 6] = "STATUS_EXPIRED";
145
176
  /**
146
- * Verification was cancelled.
177
+ * Verification was cancelled, or the linked account was unlinked.
147
178
  *
148
179
  * @generated from enum value: STATUS_CANCELLED = 7;
149
180
  */
150
181
  SocialVerificationStatus[SocialVerificationStatus["STATUS_CANCELLED"] = 7] = "STATUS_CANCELLED";
182
+ /**
183
+ * A provider account submitted the challenge code. The user must confirm that
184
+ * account with ConfirmSocialVerification before it is linked. Telegram only.
185
+ *
186
+ * @generated from enum value: STATUS_AWAITING_CONFIRMATION = 8;
187
+ */
188
+ SocialVerificationStatus[SocialVerificationStatus["STATUS_AWAITING_CONFIRMATION"] = 8] = "STATUS_AWAITING_CONFIRMATION";
151
189
  return SocialVerificationStatus;
152
190
  }({});
153
191
  /**
@@ -197,6 +235,6 @@ const SocialVerificationMethodSchema = /*@__PURE__*/ enumDesc(file_auth_v1_socia
197
235
  */
198
236
  const SocialVerificationService = /*@__PURE__*/ serviceDesc(file_auth_v1_social_verification, 0);
199
237
  //#endregion
200
- export { GetSocialVerificationRequestSchema, GetSocialVerificationResponseSchema, SocialProvider, SocialProviderSchema, SocialVerificationMethod, SocialVerificationMethodSchema, SocialVerificationReadyRequestSchema, SocialVerificationReadyResponseSchema, SocialVerificationSchema, SocialVerificationService, SocialVerificationStatus, SocialVerificationStatusSchema, StartSocialVerificationRequestSchema, StartSocialVerificationResponseSchema, file_auth_v1_social_verification, social_verification_pb_exports };
238
+ export { ConfirmSocialVerificationRequestSchema, ConfirmSocialVerificationResponseSchema, GetSocialVerificationRequestSchema, GetSocialVerificationResponseSchema, SocialProvider, SocialProviderSchema, SocialVerificationMethod, SocialVerificationMethodSchema, SocialVerificationReadyRequestSchema, SocialVerificationReadyResponseSchema, SocialVerificationSchema, SocialVerificationService, SocialVerificationStatus, SocialVerificationStatusSchema, StartSocialVerificationRequestSchema, StartSocialVerificationResponseSchema, UnlinkSocialAccountRequestSchema, UnlinkSocialAccountResponseSchema, file_auth_v1_social_verification, social_verification_pb_exports };
201
239
 
202
240
  //# sourceMappingURL=social_verification_pb.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"social_verification_pb.js","names":[],"sources":["../../../../src/gen/auth/v1/social_verification_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file auth/v1/social_verification.proto (package auth.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 { AuthErrorCode } from \"./auth_pb.js\";\nimport { file_auth_v1_auth } from \"./auth_pb.js\";\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 { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file auth/v1/social_verification.proto.\n */\nexport const file_auth_v1_social_verification: GenFile = /*@__PURE__*/\n fileDesc(\"CiFhdXRoL3YxL3NvY2lhbF92ZXJpZmljYXRpb24ucHJvdG8SB2F1dGgudjEiiAQKElNvY2lhbFZlcmlmaWNhdGlvbhIKCgJpZBgMIAEoAxIpCghwcm92aWRlchgBIAEoDjIXLmF1dGgudjEuU29jaWFsUHJvdmlkZXISMQoGbWV0aG9kGAsgASgOMiEuYXV0aC52MS5Tb2NpYWxWZXJpZmljYXRpb25NZXRob2QSDgoGaGFuZGxlGAIgASgJEhgKEHByb3ZpZGVyX3VzZXJfaWQYAyABKAkSFgoOY2hhbGxlbmdlX2NvZGUYDSABKAkSMQoGc3RhdHVzGAQgASgOMiEuYXV0aC52MS5Tb2NpYWxWZXJpZmljYXRpb25TdGF0dXMSMAoMcmVxdWVzdGVkX2F0GAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgpleHBpcmVzX2F0GAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIvCgt2ZXJpZmllZF9hdBgHIAEoCzIaLmdvb2dsZS5wcm90b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auth, file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * SocialVerification describes the caller's current verification state for one\n * social provider.\n *\n * @generated from message auth.v1.SocialVerification\n */\nexport type SocialVerification = Message<\"auth.v1.SocialVerification\"> & {\n /**\n * Verification identifier.\n *\n * @generated from field: int64 id = 12;\n */\n id: bigint;\n\n /**\n * Provider account being verified.\n *\n * @generated from field: auth.v1.SocialProvider provider = 1;\n */\n provider: SocialProvider;\n\n /**\n * Method used for this verification. If unspecified at start time, the\n * provider default is used.\n *\n * @generated from field: auth.v1.SocialVerificationMethod method = 11;\n */\n method: SocialVerificationMethod;\n\n /**\n * Provider handle being verified. Handles are returned lowercase and without\n * a leading \"@\".\n *\n * @generated from field: string handle = 2;\n */\n handle: string;\n\n /**\n * Stable provider-side user identifier. Empty until verification succeeds.\n *\n * @generated from field: string provider_user_id = 3;\n */\n providerUserId: string;\n\n /**\n * Challenge code the user must submit according to the verification method.\n * Discord codes are returned only when a challenge is issued. Codes expire\n * after 15 minutes.\n *\n * @generated from field: string challenge_code = 13;\n */\n challengeCode: string;\n\n /**\n * Current verification status.\n *\n * @generated from field: auth.v1.SocialVerificationStatus status = 4;\n */\n status: SocialVerificationStatus;\n\n /**\n * Time in UTC when the current challenge code was issued.\n *\n * @generated from field: google.protobuf.Timestamp requested_at = 5;\n */\n requestedAt?: Timestamp | undefined;\n\n /**\n * Time in UTC when the current challenge code expires.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 6;\n */\n expiresAt?: Timestamp | undefined;\n\n /**\n * Time in UTC when verification succeeded. Empty until status is STATUS_VERIFIED.\n *\n * @generated from field: google.protobuf.Timestamp verified_at = 7;\n */\n verifiedAt?: Timestamp | undefined;\n\n /**\n * Number of recorded provider-check attempts for this challenge.\n *\n * @generated from field: int32 attempts = 9;\n */\n attempts: number;\n\n /**\n * Last verification error, if the most recent check failed. Empty when there\n * is no recorded error.\n *\n * @generated from field: string last_error = 10;\n */\n lastError: string;\n\n /**\n * Stable machine-readable error code for the current failed verification.\n * AUTH_UNSPECIFIED when no typed error applies.\n *\n * @generated from field: auth.v1.AuthErrorCode error_code = 16;\n */\n errorCode: AuthErrorCode;\n\n /**\n * Time in UTC when this verification state last changed.\n *\n * @generated from field: google.protobuf.Timestamp updated_at = 15;\n */\n updatedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.SocialVerification.\n * Use `create(SocialVerificationSchema)` to create a new message.\n */\nexport const SocialVerificationSchema: GenMessage<SocialVerification> = /*@__PURE__*/\n messageDesc(file_auth_v1_social_verification, 0);\n\n/**\n * StartSocialVerificationRequest starts or restarts social account verification.\n * Starting again for the same provider replaces the previous challenge.\n *\n * @generated from message auth.v1.StartSocialVerificationRequest\n */\nexport type StartSocialVerificationRequest = Message<\"auth.v1.StartSocialVerificationRequest\"> & {\n /**\n * Provider account to verify.\n *\n * @generated from field: auth.v1.SocialProvider provider = 1;\n */\n provider: SocialProvider;\n\n /**\n * Verification method. If unspecified, profile verification is used for\n * X/Twitter and channel verification is used for Discord.\n *\n * @generated from field: auth.v1.SocialVerificationMethod method = 3;\n */\n method: SocialVerificationMethod;\n\n /**\n * Provider handle the user claims. Required for X/Twitter and omitted for\n * Discord, where the authenticated bot supplies the provider identity.\n * A leading \"@\" is accepted and removed from X/Twitter handles.\n *\n * @generated from field: string handle = 2;\n */\n handle: string;\n};\n\n/**\n * Describes the message auth.v1.StartSocialVerificationRequest.\n * Use `create(StartSocialVerificationRequestSchema)` to create a new message.\n */\nexport const StartSocialVerificationRequestSchema: GenMessage<StartSocialVerificationRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_social_verification, 1);\n\n/**\n * Response returned after starting social account verification.\n *\n * @generated from message auth.v1.StartSocialVerificationResponse\n */\nexport type StartSocialVerificationResponse = Message<\"auth.v1.StartSocialVerificationResponse\"> & {\n /**\n * Newly issued challenge code the user must submit according to the\n * verification method.\n *\n * @generated from field: string challenge_code = 1;\n */\n challengeCode: string;\n\n /**\n * Time in UTC when the challenge code expires. Social verification challenges\n * expire after 15 minutes.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 2;\n */\n expiresAt?: Timestamp | undefined;\n\n /**\n * Current verification state after issuing the challenge.\n *\n * @generated from field: auth.v1.SocialVerification verification = 3;\n */\n verification?: SocialVerification | undefined;\n};\n\n/**\n * Describes the message auth.v1.StartSocialVerificationResponse.\n * Use `create(StartSocialVerificationResponseSchema)` to create a new message.\n */\nexport const StartSocialVerificationResponseSchema: GenMessage<StartSocialVerificationResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_social_verification, 2);\n\n/**\n * SocialVerificationReadyRequest tells the API that the challenge code has been\n * placed and the provider account is ready to check.\n *\n * @generated from message auth.v1.SocialVerificationReadyRequest\n */\nexport type SocialVerificationReadyRequest = Message<\"auth.v1.SocialVerificationReadyRequest\"> & {\n /**\n * Provider account to check.\n *\n * @generated from field: auth.v1.SocialProvider provider = 1;\n */\n provider: SocialProvider;\n};\n\n/**\n * Describes the message auth.v1.SocialVerificationReadyRequest.\n * Use `create(SocialVerificationReadyRequestSchema)` to create a new message.\n */\nexport const SocialVerificationReadyRequestSchema: GenMessage<SocialVerificationReadyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_social_verification, 3);\n\n/**\n * SocialVerificationReadyResponse returns the verification after it has been\n * queued for a provider check.\n *\n * @generated from message auth.v1.SocialVerificationReadyResponse\n */\nexport type SocialVerificationReadyResponse = Message<\"auth.v1.SocialVerificationReadyResponse\"> & {\n /**\n * Current verification state after the provider check was requested.\n *\n * @generated from field: auth.v1.SocialVerification verification = 1;\n */\n verification?: SocialVerification | undefined;\n};\n\n/**\n * Describes the message auth.v1.SocialVerificationReadyResponse.\n * Use `create(SocialVerificationReadyResponseSchema)` to create a new message.\n */\nexport const SocialVerificationReadyResponseSchema: GenMessage<SocialVerificationReadyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_social_verification, 4);\n\n/**\n * GetSocialVerificationRequest fetches the caller's current social verification\n * state for one provider.\n *\n * @generated from message auth.v1.GetSocialVerificationRequest\n */\nexport type GetSocialVerificationRequest = Message<\"auth.v1.GetSocialVerificationRequest\"> & {\n /**\n * Provider account to inspect.\n *\n * @generated from field: auth.v1.SocialProvider provider = 1;\n */\n provider: SocialProvider;\n};\n\n/**\n * Describes the message auth.v1.GetSocialVerificationRequest.\n * Use `create(GetSocialVerificationRequestSchema)` to create a new message.\n */\nexport const GetSocialVerificationRequestSchema: GenMessage<GetSocialVerificationRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_social_verification, 5);\n\n/**\n * GetSocialVerificationResponse contains the caller's current social\n * verification state for one provider. A successful response with verification\n * absent means the caller has not started verification for that provider.\n *\n * @generated from message auth.v1.GetSocialVerificationResponse\n */\nexport type GetSocialVerificationResponse = Message<\"auth.v1.GetSocialVerificationResponse\"> & {\n /**\n * Current verification state for the requested provider. Absent when no\n * verification has been started.\n *\n * @generated from field: auth.v1.SocialVerification verification = 1;\n */\n verification?: SocialVerification | undefined;\n};\n\n/**\n * Describes the message auth.v1.GetSocialVerificationResponse.\n * Use `create(GetSocialVerificationResponseSchema)` to create a new message.\n */\nexport const GetSocialVerificationResponseSchema: GenMessage<GetSocialVerificationResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_social_verification, 6);\n\n/**\n * Social account provider used for account ownership verification.\n *\n * @generated from enum auth.v1.SocialProvider\n */\nexport enum SocialProvider {\n /**\n * No social provider was specified.\n *\n * @generated from enum value: PROVIDER_UNSPECIFIED = 0;\n */\n PROVIDER_UNSPECIFIED = 0,\n\n /**\n * X/Twitter account verification.\n *\n * @generated from enum value: TWITTER = 1;\n */\n TWITTER = 1,\n\n /**\n * Discord account verification.\n *\n * @generated from enum value: DISCORD = 2;\n */\n DISCORD = 2,\n}\n\n/**\n * Describes the enum auth.v1.SocialProvider.\n */\nexport const SocialProviderSchema: GenEnum<SocialProvider> = /*@__PURE__*/\n enumDesc(file_auth_v1_social_verification, 0);\n\n/**\n * Current state of a social account verification attempt.\n *\n * @generated from enum auth.v1.SocialVerificationStatus\n */\nexport enum SocialVerificationStatus {\n /**\n * No verification status was specified.\n *\n * @generated from enum value: STATUS_UNSPECIFIED = 0;\n */\n STATUS_UNSPECIFIED = 0,\n\n /**\n * Code issued; waiting for the user to complete the provider-specific action.\n *\n * @generated from enum value: STATUS_PENDING_USER_ACTION = 1;\n */\n STATUS_PENDING_USER_ACTION = 1,\n\n /**\n * User marked the code as placed and the verification check is waiting to run.\n *\n * @generated from enum value: STATUS_QUEUED = 2;\n */\n STATUS_QUEUED = 2,\n\n /**\n * Verification check is currently running.\n *\n * @generated from enum value: STATUS_IN_PROGRESS = 3;\n */\n STATUS_IN_PROGRESS = 3,\n\n /**\n * Provider account ownership was verified successfully.\n *\n * @generated from enum value: STATUS_VERIFIED = 4;\n */\n STATUS_VERIFIED = 4,\n\n /**\n * Verification failed. Start a new verification to receive a new challenge code.\n *\n * @generated from enum value: STATUS_FAILED = 5;\n */\n STATUS_FAILED = 5,\n\n /**\n * Challenge code expired before verification completed.\n *\n * @generated from enum value: STATUS_EXPIRED = 6;\n */\n STATUS_EXPIRED = 6,\n\n /**\n * Verification was cancelled.\n *\n * @generated from enum value: STATUS_CANCELLED = 7;\n */\n STATUS_CANCELLED = 7,\n}\n\n/**\n * Describes the enum auth.v1.SocialVerificationStatus.\n */\nexport const SocialVerificationStatusSchema: GenEnum<SocialVerificationStatus> = /*@__PURE__*/\n enumDesc(file_auth_v1_social_verification, 1);\n\n/**\n * How the user proves control of the provider account.\n *\n * @generated from enum auth.v1.SocialVerificationMethod\n */\nexport enum SocialVerificationMethod {\n /**\n * No method was specified. The provider default is used.\n *\n * @generated from enum value: METHOD_UNSPECIFIED = 0;\n */\n METHOD_UNSPECIFIED = 0,\n\n /**\n * User places the challenge code in their public provider profile.\n *\n * @generated from enum value: METHOD_PROFILE = 1;\n */\n METHOD_PROFILE = 1,\n\n /**\n * User posts the challenge code in a provider channel.\n *\n * @generated from enum value: METHOD_CHANNEL = 2;\n */\n METHOD_CHANNEL = 2,\n\n /**\n * User sends the challenge code in a direct message.\n *\n * @generated from enum value: METHOD_DM = 3;\n */\n METHOD_DM = 3,\n}\n\n/**\n * Describes the enum auth.v1.SocialVerificationMethod.\n */\nexport const SocialVerificationMethodSchema: GenEnum<SocialVerificationMethod> = /*@__PURE__*/\n enumDesc(file_auth_v1_social_verification, 2);\n\n/**\n * SocialVerificationService verifies ownership of external social accounts.\n *\n * @generated from service auth.v1.SocialVerificationService\n */\nexport const SocialVerificationService: GenService<{\n /**\n * Start or restart social verification by issuing a new challenge code.\n *\n * @generated from rpc auth.v1.SocialVerificationService.StartSocialVerification\n */\n startSocialVerification: {\n methodKind: \"unary\";\n input: typeof StartSocialVerificationRequestSchema;\n output: typeof StartSocialVerificationResponseSchema;\n },\n /**\n * Mark a verification as ready after the challenge code has been placed.\n * AUTH_RESOURCE_NOT_FOUND means no verification exists; start one first.\n * AUTH_SOCIAL_VERIFICATION_EXPIRED means the challenge window passed; start a new verification, then mark it ready again.\n * AUTH_SOCIAL_VERIFICATION_INVALID_STATE means Ready is not valid in the current state; call GetSocialVerification for the current status.\n *\n * @generated from rpc auth.v1.SocialVerificationService.SocialVerificationReady\n */\n socialVerificationReady: {\n methodKind: \"unary\";\n input: typeof SocialVerificationReadyRequestSchema;\n output: typeof SocialVerificationReadyResponseSchema;\n },\n /**\n * Get current verification status for the caller.\n * A failed verification uses error_code for its machine-readable outcome.\n * An API key needs READ_SOCIAL_VERIFICATION and must be scoped to the main\n * account. It reads the status only: provider, method, handle, status, and\n * verification time, with every other field left empty.\n *\n * @generated from rpc auth.v1.SocialVerificationService.GetSocialVerification\n */\n getSocialVerification: {\n methodKind: \"unary\";\n input: typeof GetSocialVerificationRequestSchema;\n output: typeof GetSocialVerificationResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_auth_v1_social_verification, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAa,mCACX,uBAAS,gpFAAgpF;CAAC;CAAm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CACX,uBAAS,kCAAkC,CAAC;;;;;;AAO9C,MAAa,4BAuCX,0BAAY,kCAAkC,CAAC"}
1
+ {"version":3,"file":"social_verification_pb.js","names":[],"sources":["../../../../src/gen/auth/v1/social_verification_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file auth/v1/social_verification.proto (package auth.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 { AuthErrorCode } from \"./auth_pb.js\";\nimport { file_auth_v1_auth } from \"./auth_pb.js\";\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 { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file auth/v1/social_verification.proto.\n */\nexport const file_auth_v1_social_verification: GenFile = /*@__PURE__*/\n fileDesc(\"CiFhdXRoL3YxL3NvY2lhbF92ZXJpZmljYXRpb24ucHJvdG8SB2F1dGgudjEingQKElNvY2lhbFZlcmlmaWNhdGlvbhIKCgJpZBgMIAEoAxIpCghwcm92aWRlchgBIAEoDjIXLmF1dGgudjEuU29jaWFsUHJvdmlkZXISMQoGbWV0aG9kGAsgASgOMiEuYXV0aC52MS5Tb2NpYWxWZXJpZmljYXRpb25NZXRob2QSDgoGaGFuZGxlGAIgASgJEhgKEHByb3ZpZGVyX3VzZXJfaWQYAyABKAkSFAoMZGlzcGxheV9uYW1lGBEgASgJEhYKDmNoYWxsZW5nZV9jb2RlGA0gASgJEjEKBnN0YXR1cxgEIAEoDjIhLmF1dGgudjEuU29jaWFsVmVyaWZpY2F0aW9uU3RhdHVzEjAKDHJlcXVlc3RlZF9hdBgFIAEoCzIaLmdvb2dsZS5wcm90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FgoSTUVUSE9EX1VOU1BFQ0lGSUVEEAASEgoOTUVUSE9EX1BST0ZJTEUQARISCg5NRVRIT0RfQ0hBTk5FTBACEg0KCU1FVEhPRF9ETRADMsEEChlTb2NpYWxWZXJpZmljYXRpb25TZXJ2aWNlEm4KF1N0YXJ0U29jaWFsVmVyaWZpY2F0aW9uEicuYXV0aC52MS5TdGFydFNvY2lhbFZlcmlmaWNhdGlvblJlcXVlc3QaKC5hdXRoLnYxLlN0YXJ0U29jaWFsVmVyaWZpY2F0aW9uUmVzcG9uc2UiABJuChdTb2NpYWxWZXJpZmljYXRpb25SZWFkeRInLmF1dGgudjEuU29jaWFsVmVyaWZpY2F0aW9uUmVhZHlSZXF1ZXN0GiguYXV0aC52MS5Tb2NpYWxWZXJpZmljYXRpb25SZWFkeVJlc3BvbnNlIgASdAoZQ29uZmlybVNvY2lhbFZlcmlmaWNhdGlvbhIpLmF1dGgudjEuQ29uZmlybVNvY2lhbFZlcmlmaWNhdGlvblJlcXVlc3QaKi5hdXRoLnYxLkNvbmZpcm1Tb2NpYWxWZXJpZmljYXRpb25SZXNwb25zZSIAEmIKE1VubGlua1NvY2lhbEFjY291bnQSIy5hdXRoLnYxLlVubGlua1NvY2lhbEFjY291bnRSZXF1ZXN0GiQuYXV0aC52MS5VbmxpbmtTb2NpYWxBY2NvdW50UmVzcG9uc2UiABJoChVHZXRTb2NpYWxWZXJpZmljYXRpb24SJS5hdXRoLnYxLkdldFNvY2lhbFZlcmlmaWNhdGlvblJlcXVlc3QaJi5hdXRoLnYxLkdldFNvY2lhbFZlcmlmaWNhdGlvblJlc3BvbnNlIgAaAEI8WjpnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2F1dGgvdjE7YXV0aHYxYgZwcm90bzM=\", [file_auth_v1_auth, file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * SocialVerification describes the caller's current verification state for one\n * social provider.\n *\n * @generated from message auth.v1.SocialVerification\n */\nexport type SocialVerification = Message<\"auth.v1.SocialVerification\"> & {\n /**\n * Verification identifier.\n *\n * @generated from field: int64 id = 12;\n */\n id: bigint;\n\n /**\n * Provider account being verified.\n *\n * @generated from field: auth.v1.SocialProvider provider = 1;\n */\n provider: SocialProvider;\n\n /**\n * Method used for this verification. If unspecified at start time, the\n * provider default is used.\n *\n * @generated from field: auth.v1.SocialVerificationMethod method = 11;\n */\n method: SocialVerificationMethod;\n\n /**\n * Provider handle being verified. Handles are returned lowercase and without\n * a leading \"@\". For Telegram, the username of the account that submitted the\n * code; empty when that account has no username.\n *\n * @generated from field: string handle = 2;\n */\n handle: string;\n\n /**\n * Stable provider-side user identifier. Empty until verification succeeds,\n * except for Telegram: while the status is STATUS_AWAITING_CONFIRMATION, it is\n * the numeric user ID of the Telegram account that submitted the code, the\n * value ConfirmSocialVerification takes.\n *\n * @generated from field: string provider_user_id = 3;\n */\n providerUserId: string;\n\n /**\n * Provider display name of the account being verified, for showing it to the\n * user. Telegram only: the account's name, set once the code is submitted.\n * Empty for other providers.\n *\n * @generated from field: string display_name = 17;\n */\n displayName: string;\n\n /**\n * Challenge code the user must submit according to the verification method.\n * Discord and Telegram codes are returned only when a challenge is issued.\n * Codes expire after 15 minutes.\n *\n * @generated from field: string challenge_code = 13;\n */\n challengeCode: string;\n\n /**\n * Current verification status.\n *\n * @generated from field: auth.v1.SocialVerificationStatus status = 4;\n */\n status: SocialVerificationStatus;\n\n /**\n * Time in UTC when the current challenge code was issued.\n *\n * @generated from field: google.protobuf.Timestamp requested_at = 5;\n */\n requestedAt?: Timestamp | undefined;\n\n /**\n * Time in UTC when the current challenge code expires.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 6;\n */\n expiresAt?: Timestamp | undefined;\n\n /**\n * Time in UTC when verification succeeded. Empty until status is STATUS_VERIFIED.\n *\n * @generated from field: google.protobuf.Timestamp verified_at = 7;\n */\n verifiedAt?: Timestamp | undefined;\n\n /**\n * Number of recorded provider-check attempts for this challenge.\n *\n * @generated from field: int32 attempts = 9;\n */\n attempts: number;\n\n /**\n * Last verification error, if the most recent check failed. Empty when there\n * is no recorded error.\n *\n * @generated from field: string last_error = 10;\n */\n lastError: string;\n\n /**\n * Stable machine-readable error code for the current failed verification.\n * AUTH_UNSPECIFIED when no typed error applies.\n *\n * @generated from field: auth.v1.AuthErrorCode error_code = 16;\n */\n errorCode: AuthErrorCode;\n\n /**\n * Time in UTC when this verification state last changed.\n *\n * @generated from field: google.protobuf.Timestamp updated_at = 15;\n */\n updatedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.SocialVerification.\n * Use `create(SocialVerificationSchema)` to create a new message.\n */\nexport const SocialVerificationSchema: GenMessage<SocialVerification> = /*@__PURE__*/\n messageDesc(file_auth_v1_social_verification, 0);\n\n/**\n * StartSocialVerificationRequest starts or restarts social account verification.\n * Starting again for the same provider replaces the previous challenge.\n *\n * @generated from message auth.v1.StartSocialVerificationRequest\n */\nexport type StartSocialVerificationRequest = Message<\"auth.v1.StartSocialVerificationRequest\"> & {\n /**\n * Provider account to verify.\n *\n * @generated from field: auth.v1.SocialProvider provider = 1;\n */\n provider: SocialProvider;\n\n /**\n * Verification method. If unspecified, profile verification is used for\n * X/Twitter, channel verification for Discord and direct message\n * verification for Telegram.\n *\n * @generated from field: auth.v1.SocialVerificationMethod method = 3;\n */\n method: SocialVerificationMethod;\n\n /**\n * Provider handle the user claims. Required for X/Twitter and omitted for\n * Discord and Telegram, where the provider bot supplies the provider identity.\n * A leading \"@\" is accepted and removed from X/Twitter handles.\n *\n * @generated from field: string handle = 2;\n */\n handle: string;\n};\n\n/**\n * Describes the message auth.v1.StartSocialVerificationRequest.\n * Use `create(StartSocialVerificationRequestSchema)` to create a new message.\n */\nexport const StartSocialVerificationRequestSchema: GenMessage<StartSocialVerificationRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_social_verification, 1);\n\n/**\n * Response returned after starting social account verification.\n *\n * @generated from message auth.v1.StartSocialVerificationResponse\n */\nexport type StartSocialVerificationResponse = Message<\"auth.v1.StartSocialVerificationResponse\"> & {\n /**\n * Newly issued challenge code the user must submit according to the\n * verification method.\n *\n * @generated from field: string challenge_code = 1;\n */\n challengeCode: string;\n\n /**\n * Time in UTC when the challenge code expires. Social verification challenges\n * expire after 15 minutes.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 2;\n */\n expiresAt?: Timestamp | undefined;\n\n /**\n * Current verification state after issuing the challenge.\n *\n * @generated from field: auth.v1.SocialVerification verification = 3;\n */\n verification?: SocialVerification | undefined;\n\n /**\n * Link that completes the user action, when the provider has one. Telegram:\n * opening it starts a chat with the Polyester bot that submits the code.\n * Empty for other providers.\n *\n * @generated from field: string action_url = 4;\n */\n actionUrl: string;\n};\n\n/**\n * Describes the message auth.v1.StartSocialVerificationResponse.\n * Use `create(StartSocialVerificationResponseSchema)` to create a new message.\n */\nexport const StartSocialVerificationResponseSchema: GenMessage<StartSocialVerificationResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_social_verification, 2);\n\n/**\n * SocialVerificationReadyRequest tells the API that the challenge code has been\n * placed and the provider account is ready to check.\n *\n * @generated from message auth.v1.SocialVerificationReadyRequest\n */\nexport type SocialVerificationReadyRequest = Message<\"auth.v1.SocialVerificationReadyRequest\"> & {\n /**\n * Provider account to check.\n *\n * @generated from field: auth.v1.SocialProvider provider = 1;\n */\n provider: SocialProvider;\n};\n\n/**\n * Describes the message auth.v1.SocialVerificationReadyRequest.\n * Use `create(SocialVerificationReadyRequestSchema)` to create a new message.\n */\nexport const SocialVerificationReadyRequestSchema: GenMessage<SocialVerificationReadyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_social_verification, 3);\n\n/**\n * SocialVerificationReadyResponse returns the verification after it has been\n * queued for a provider check.\n *\n * @generated from message auth.v1.SocialVerificationReadyResponse\n */\nexport type SocialVerificationReadyResponse = Message<\"auth.v1.SocialVerificationReadyResponse\"> & {\n /**\n * Current verification state after the provider check was requested.\n *\n * @generated from field: auth.v1.SocialVerification verification = 1;\n */\n verification?: SocialVerification | undefined;\n};\n\n/**\n * Describes the message auth.v1.SocialVerificationReadyResponse.\n * Use `create(SocialVerificationReadyResponseSchema)` to create a new message.\n */\nexport const SocialVerificationReadyResponseSchema: GenMessage<SocialVerificationReadyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_social_verification, 4);\n\n/**\n * GetSocialVerificationRequest fetches the caller's current social verification\n * state for one provider.\n *\n * @generated from message auth.v1.GetSocialVerificationRequest\n */\nexport type GetSocialVerificationRequest = Message<\"auth.v1.GetSocialVerificationRequest\"> & {\n /**\n * Provider account to inspect.\n *\n * @generated from field: auth.v1.SocialProvider provider = 1;\n */\n provider: SocialProvider;\n};\n\n/**\n * Describes the message auth.v1.GetSocialVerificationRequest.\n * Use `create(GetSocialVerificationRequestSchema)` to create a new message.\n */\nexport const GetSocialVerificationRequestSchema: GenMessage<GetSocialVerificationRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_social_verification, 5);\n\n/**\n * GetSocialVerificationResponse contains the caller's current social\n * verification state for one provider. A successful response with verification\n * absent means the caller has not started verification for that provider.\n *\n * @generated from message auth.v1.GetSocialVerificationResponse\n */\nexport type GetSocialVerificationResponse = Message<\"auth.v1.GetSocialVerificationResponse\"> & {\n /**\n * Current verification state for the requested provider. Absent when no\n * verification has been started.\n *\n * @generated from field: auth.v1.SocialVerification verification = 1;\n */\n verification?: SocialVerification | undefined;\n};\n\n/**\n * Describes the message auth.v1.GetSocialVerificationResponse.\n * Use `create(GetSocialVerificationResponseSchema)` to create a new message.\n */\nexport const GetSocialVerificationResponseSchema: GenMessage<GetSocialVerificationResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_social_verification, 6);\n\n/**\n * ConfirmSocialVerificationRequest links the provider account that submitted\n * the caller's challenge code.\n *\n * @generated from message auth.v1.ConfirmSocialVerificationRequest\n */\nexport type ConfirmSocialVerificationRequest = Message<\"auth.v1.ConfirmSocialVerificationRequest\"> & {\n /**\n * Provider account to confirm. Only TELEGRAM is accepted.\n *\n * @generated from field: auth.v1.SocialProvider provider = 1;\n */\n provider: SocialProvider;\n\n /**\n * Provider user ID the user confirms, as provider_user_id of the verification\n * in STATUS_AWAITING_CONFIRMATION. The request fails when it is not the\n * account that submitted the code, so the user links exactly the account\n * they were shown.\n *\n * @generated from field: string provider_user_id = 2;\n */\n providerUserId: string;\n};\n\n/**\n * Describes the message auth.v1.ConfirmSocialVerificationRequest.\n * Use `create(ConfirmSocialVerificationRequestSchema)` to create a new message.\n */\nexport const ConfirmSocialVerificationRequestSchema: GenMessage<ConfirmSocialVerificationRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_social_verification, 7);\n\n/**\n * ConfirmSocialVerificationResponse returns the verification after the\n * provider account was linked.\n *\n * @generated from message auth.v1.ConfirmSocialVerificationResponse\n */\nexport type ConfirmSocialVerificationResponse = Message<\"auth.v1.ConfirmSocialVerificationResponse\"> & {\n /**\n * Current verification state, STATUS_VERIFIED.\n *\n * @generated from field: auth.v1.SocialVerification verification = 1;\n */\n verification?: SocialVerification | undefined;\n};\n\n/**\n * Describes the message auth.v1.ConfirmSocialVerificationResponse.\n * Use `create(ConfirmSocialVerificationResponseSchema)` to create a new message.\n */\nexport const ConfirmSocialVerificationResponseSchema: GenMessage<ConfirmSocialVerificationResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_social_verification, 8);\n\n/**\n * UnlinkSocialAccountRequest removes the caller's linked provider account, or\n * cancels a link in progress.\n *\n * @generated from message auth.v1.UnlinkSocialAccountRequest\n */\nexport type UnlinkSocialAccountRequest = Message<\"auth.v1.UnlinkSocialAccountRequest\"> & {\n /**\n * Provider account to unlink. Only TELEGRAM is accepted.\n *\n * @generated from field: auth.v1.SocialProvider provider = 1;\n */\n provider: SocialProvider;\n};\n\n/**\n * Describes the message auth.v1.UnlinkSocialAccountRequest.\n * Use `create(UnlinkSocialAccountRequestSchema)` to create a new message.\n */\nexport const UnlinkSocialAccountRequestSchema: GenMessage<UnlinkSocialAccountRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_social_verification, 9);\n\n/**\n * UnlinkSocialAccountResponse returns the verification after unlinking.\n *\n * @generated from message auth.v1.UnlinkSocialAccountResponse\n */\nexport type UnlinkSocialAccountResponse = Message<\"auth.v1.UnlinkSocialAccountResponse\"> & {\n /**\n * Current verification state, STATUS_CANCELLED. Absent when no verification\n * was ever started for the provider.\n *\n * @generated from field: auth.v1.SocialVerification verification = 1;\n */\n verification?: SocialVerification | undefined;\n};\n\n/**\n * Describes the message auth.v1.UnlinkSocialAccountResponse.\n * Use `create(UnlinkSocialAccountResponseSchema)` to create a new message.\n */\nexport const UnlinkSocialAccountResponseSchema: GenMessage<UnlinkSocialAccountResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_social_verification, 10);\n\n/**\n * Social account provider used for account ownership verification.\n *\n * @generated from enum auth.v1.SocialProvider\n */\nexport enum SocialProvider {\n /**\n * No social provider was specified.\n *\n * @generated from enum value: PROVIDER_UNSPECIFIED = 0;\n */\n PROVIDER_UNSPECIFIED = 0,\n\n /**\n * X/Twitter account verification.\n *\n * @generated from enum value: TWITTER = 1;\n */\n TWITTER = 1,\n\n /**\n * Discord account verification.\n *\n * @generated from enum value: DISCORD = 2;\n */\n DISCORD = 2,\n\n /**\n * Telegram account linking. The user sends the challenge code to the Polyester\n * Telegram bot, then confirms the Telegram account that sent it.\n *\n * @generated from enum value: TELEGRAM = 3;\n */\n TELEGRAM = 3,\n}\n\n/**\n * Describes the enum auth.v1.SocialProvider.\n */\nexport const SocialProviderSchema: GenEnum<SocialProvider> = /*@__PURE__*/\n enumDesc(file_auth_v1_social_verification, 0);\n\n/**\n * Current state of a social account verification attempt.\n *\n * @generated from enum auth.v1.SocialVerificationStatus\n */\nexport enum SocialVerificationStatus {\n /**\n * No verification status was specified.\n *\n * @generated from enum value: STATUS_UNSPECIFIED = 0;\n */\n STATUS_UNSPECIFIED = 0,\n\n /**\n * Code issued; waiting for the user to complete the provider-specific action.\n *\n * @generated from enum value: STATUS_PENDING_USER_ACTION = 1;\n */\n STATUS_PENDING_USER_ACTION = 1,\n\n /**\n * User marked the code as placed and the verification check is waiting to run.\n *\n * @generated from enum value: STATUS_QUEUED = 2;\n */\n STATUS_QUEUED = 2,\n\n /**\n * Verification check is currently running.\n *\n * @generated from enum value: STATUS_IN_PROGRESS = 3;\n */\n STATUS_IN_PROGRESS = 3,\n\n /**\n * Provider account ownership was verified successfully.\n *\n * @generated from enum value: STATUS_VERIFIED = 4;\n */\n STATUS_VERIFIED = 4,\n\n /**\n * Verification failed. Start a new verification to receive a new challenge code.\n *\n * @generated from enum value: STATUS_FAILED = 5;\n */\n STATUS_FAILED = 5,\n\n /**\n * Challenge code expired before verification completed.\n *\n * @generated from enum value: STATUS_EXPIRED = 6;\n */\n STATUS_EXPIRED = 6,\n\n /**\n * Verification was cancelled, or the linked account was unlinked.\n *\n * @generated from enum value: STATUS_CANCELLED = 7;\n */\n STATUS_CANCELLED = 7,\n\n /**\n * A provider account submitted the challenge code. The user must confirm that\n * account with ConfirmSocialVerification before it is linked. Telegram only.\n *\n * @generated from enum value: STATUS_AWAITING_CONFIRMATION = 8;\n */\n STATUS_AWAITING_CONFIRMATION = 8,\n}\n\n/**\n * Describes the enum auth.v1.SocialVerificationStatus.\n */\nexport const SocialVerificationStatusSchema: GenEnum<SocialVerificationStatus> = /*@__PURE__*/\n enumDesc(file_auth_v1_social_verification, 1);\n\n/**\n * How the user proves control of the provider account.\n *\n * @generated from enum auth.v1.SocialVerificationMethod\n */\nexport enum SocialVerificationMethod {\n /**\n * No method was specified. The provider default is used.\n *\n * @generated from enum value: METHOD_UNSPECIFIED = 0;\n */\n METHOD_UNSPECIFIED = 0,\n\n /**\n * User places the challenge code in their public provider profile.\n *\n * @generated from enum value: METHOD_PROFILE = 1;\n */\n METHOD_PROFILE = 1,\n\n /**\n * User posts the challenge code in a provider channel.\n *\n * @generated from enum value: METHOD_CHANNEL = 2;\n */\n METHOD_CHANNEL = 2,\n\n /**\n * User sends the challenge code in a direct message.\n *\n * @generated from enum value: METHOD_DM = 3;\n */\n METHOD_DM = 3,\n}\n\n/**\n * Describes the enum auth.v1.SocialVerificationMethod.\n */\nexport const SocialVerificationMethodSchema: GenEnum<SocialVerificationMethod> = /*@__PURE__*/\n enumDesc(file_auth_v1_social_verification, 2);\n\n/**\n * SocialVerificationService verifies ownership of external social accounts.\n *\n * @generated from service auth.v1.SocialVerificationService\n */\nexport const SocialVerificationService: GenService<{\n /**\n * Start or restart social verification by issuing a new challenge code.\n * For Telegram, open action_url to send the code to the Polyester bot, then\n * confirm the account with ConfirmSocialVerification.\n * AUTH_SOCIAL_VERIFICATION_INVALID_STATE for Telegram means a Telegram account is already linked; unlink it first.\n *\n * @generated from rpc auth.v1.SocialVerificationService.StartSocialVerification\n */\n startSocialVerification: {\n methodKind: \"unary\";\n input: typeof StartSocialVerificationRequestSchema;\n output: typeof StartSocialVerificationResponseSchema;\n },\n /**\n * Mark a verification as ready after the challenge code has been placed.\n * AUTH_RESOURCE_NOT_FOUND means no verification exists; start one first.\n * AUTH_SOCIAL_VERIFICATION_EXPIRED means the challenge window passed; start a new verification, then mark it ready again.\n * AUTH_SOCIAL_VERIFICATION_INVALID_STATE means Ready is not valid in the current state; call GetSocialVerification for the current status.\n * Telegram linking does not use Ready and always answers AUTH_SOCIAL_VERIFICATION_INVALID_STATE.\n *\n * @generated from rpc auth.v1.SocialVerificationService.SocialVerificationReady\n */\n socialVerificationReady: {\n methodKind: \"unary\";\n input: typeof SocialVerificationReadyRequestSchema;\n output: typeof SocialVerificationReadyResponseSchema;\n },\n /**\n * Link the Telegram account that submitted the caller's challenge code. A\n * linked Telegram account becomes a channel to the account, so the caller\n * needs enrolled MFA and a fresh, single-use step-up proof in the\n * X-Auth-Step-Up header, obtained by completing an MFA challenge for fresh\n * step-up. The link consumes the proof; a retried confirmation of an existing\n * link needs no new proof.\n * AUTH_RESOURCE_NOT_FOUND means no verification exists; start one first.\n * AUTH_SOCIAL_VERIFICATION_EXPIRED means the challenge window passed; start a new verification.\n * AUTH_SOCIAL_VERIFICATION_INVALID_STATE means no submitted account awaits confirmation, or provider_user_id is not the account that submitted the code.\n * AUTH_SOCIAL_ACCOUNT_ALREADY_LINKED means that Telegram account is linked to another Polyester account; the verification fails.\n * AUTH_MFA_NOT_ENROLLED means enroll MFA first; AUTH_STEP_UP_REQUIRED and AUTH_STEP_UP_PROOF_UNAVAILABLE mean complete a new fresh step-up and retry.\n *\n * @generated from rpc auth.v1.SocialVerificationService.ConfirmSocialVerification\n */\n confirmSocialVerification: {\n methodKind: \"unary\";\n input: typeof ConfirmSocialVerificationRequestSchema;\n output: typeof ConfirmSocialVerificationResponseSchema;\n },\n /**\n * Unlink the caller's Telegram account, or cancel a Telegram link in progress.\n * Unlinking again succeeds and changes nothing. To link again, start a new\n * verification.\n *\n * @generated from rpc auth.v1.SocialVerificationService.UnlinkSocialAccount\n */\n unlinkSocialAccount: {\n methodKind: \"unary\";\n input: typeof UnlinkSocialAccountRequestSchema;\n output: typeof UnlinkSocialAccountResponseSchema;\n },\n /**\n * Get current verification status for the caller.\n * A failed verification uses error_code for its machine-readable outcome.\n * An API key needs READ_SOCIAL_VERIFICATION and must be scoped to the main\n * account. It reads the status only: provider, method, handle, status, and\n * verification time, with every other field left empty.\n *\n * @generated from rpc auth.v1.SocialVerificationService.GetSocialVerification\n */\n getSocialVerification: {\n methodKind: \"unary\";\n input: typeof GetSocialVerificationRequestSchema;\n output: typeof GetSocialVerificationResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_auth_v1_social_verification, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAa,mCACX,uBAAS,wgHAAwgH;CAAC;CAAmB;CAAgC;AAA0B,CAAC;;;;;AAmIlmH,MAAa,2BACX,0BAAY,kCAAkC,CAAC;;;;;AAuCjD,MAAa,uCACX,0BAAY,kCAAkC,CAAC;;;;;AA6CjD,MAAa,wCACX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AAA;;;;;;CAOA,yBAAA,yBAAA,oBAAA,KAAA;;;;;;CAOA,yBAAA,yBAAA,eAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,iCACX,uBAAS,kCAAkC,CAAC;;;;;;AAO9C,MAAa,4BA2EX,0BAAY,kCAAkC,CAAC"}
@@ -1854,7 +1854,10 @@ declare const ActivityEventSourceSchema: GenEnum<ActivityEventSource>;
1854
1854
  */
1855
1855
  declare const SubaccountViewService: GenService<{
1856
1856
  /**
1857
- * Aggregate commonly-needed read data for a sub-account dashboard page.
1857
+ * Aggregate commonly-needed read data for a sub-account dashboard page. An
1858
+ * API key needs READ_SUBACCOUNTS within its scope; it gets the members and
1859
+ * invites expansions only with READ_SUBACCOUNT_MEMBERS and
1860
+ * READ_SUBACCOUNT_INVITES, and never the API-key or policy expansions.
1858
1861
  *
1859
1862
  * @generated from rpc auth.v1.SubaccountViewService.GetSubaccount
1860
1863
  */
@@ -1864,7 +1867,8 @@ declare const SubaccountViewService: GenService<{
1864
1867
  output: typeof GetSubaccountResponseSchema;
1865
1868
  };
1866
1869
  /**
1867
- * List audit and activity events for a sub-account.
1870
+ * List audit and activity events for a sub-account. An API key needs
1871
+ * READ_SUBACCOUNT_ACTIVITY within its scope.
1868
1872
  *
1869
1873
  * @generated from rpc auth.v1.SubaccountViewService.ListSubaccountActivity
1870
1874
  */
@@ -1881,7 +1885,8 @@ declare const SubaccountViewService: GenService<{
1881
1885
  */
1882
1886
  declare const SubaccountService: GenService<{
1883
1887
  /**
1884
- * List sub-accounts owned by or shared with the caller.
1888
+ * List sub-accounts owned by or shared with the caller. An API key needs
1889
+ * READ_SUBACCOUNTS and lists only the sub-accounts within its scope.
1885
1890
  *
1886
1891
  * @generated from rpc auth.v1.SubaccountService.ListSubaccounts
1887
1892
  */
@@ -1934,7 +1939,8 @@ declare const SubaccountService: GenService<{
1934
1939
  output: typeof SetSubaccountMemberMFARequirementResponseSchema;
1935
1940
  };
1936
1941
  /**
1937
- * List current members for a sub-account visible to any current member.
1942
+ * List current members for a sub-account visible to any current member. An
1943
+ * API key needs READ_SUBACCOUNT_MEMBERS within its scope.
1938
1944
  *
1939
1945
  * @generated from rpc auth.v1.SubaccountService.ListSubaccountMembers
1940
1946
  */
@@ -1944,7 +1950,8 @@ declare const SubaccountService: GenService<{
1944
1950
  output: typeof ListSubaccountMembersResponseSchema;
1945
1951
  };
1946
1952
  /**
1947
- * Remove a member from a sub-account (owner/admin only).
1953
+ * Remove a member from a sub-account (owner/admin only). The member's
1954
+ * assistant API keys on the sub-account are revoked with the removal.
1948
1955
  *
1949
1956
  * @generated from rpc auth.v1.SubaccountService.RemoveSubaccountMember
1950
1957
  */
@@ -1954,7 +1961,9 @@ declare const SubaccountService: GenService<{
1954
1961
  output: typeof RemoveSubaccountMemberResponseSchema;
1955
1962
  };
1956
1963
  /**
1957
- * Update an existing sub-account member's role (owner/admin only).
1964
+ * Update an existing sub-account member's role (owner/admin only). A role
1965
+ * that cannot manage API keys revokes the member's assistant API keys on the
1966
+ * sub-account with the change.
1958
1967
  *
1959
1968
  * @generated from rpc auth.v1.SubaccountService.UpdateSubaccountMemberRole
1960
1969
  */
@@ -1975,6 +1984,8 @@ declare const SubaccountService: GenService<{
1975
1984
  };
1976
1985
  /**
1977
1986
  * List incoming invitations and invitations for administered sub-accounts.
1987
+ * An API key needs READ_SUBACCOUNT_INVITES and lists only the outgoing
1988
+ * invitations of the sub-accounts within its scope.
1978
1989
  *
1979
1990
  * @generated from rpc auth.v1.SubaccountService.ListSubaccountInvites
1980
1991
  */
@@ -1 +1 @@
1
- {"version":3,"file":"subaccounts_pb.d.ts","names":[],"sources":["../../../../src/gen/auth/v1/subaccounts_pb.ts"],"mappings":";;;;;;;;;;;;cAoBa,0BAA0B;;;;;;KAQ3B,iCAAiC;;;;;;EAM3C,YAAY;;;;;;EAOZ;;;;;;EAOA;;;;;;;EAQA,cAAc;;;;;;cAOH,sCAAsC,WAAW;;;;;;KAQlD,2BAA2B;;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