@polyester/sdk 0.20.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/README.md +9 -9
- package/dist/environment.d.ts +2 -2
- package/dist/environment.d.ts.map +1 -1
- package/dist/environment.js +4 -4
- package/dist/environment.js.map +1 -1
- package/dist/gen/auth/v1/api_keys_pb.d.ts +3 -1
- package/dist/gen/auth/v1/api_keys_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/api_keys_pb.js.map +1 -1
- package/dist/gen/auth/v1/auth_pb.d.ts +49 -5
- package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/auth_pb.js +21 -3
- package/dist/gen/auth/v1/auth_pb.js.map +1 -1
- package/dist/gen/auth/v1/profile_pb.d.ts +7 -0
- package/dist/gen/auth/v1/profile_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/profile_pb.js +1 -1
- package/dist/gen/auth/v1/profile_pb.js.map +1 -1
- package/dist/gen/auth/v1/social_verification_pb.d.ts +12 -9
- package/dist/gen/auth/v1/social_verification_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/social_verification_pb.js.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.d.ts +3 -1
- package/dist/gen/auth/v1/subaccounts_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.d.ts +4 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.d.ts.map +1 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.js.map +1 -1
- package/dist/gen/marketdata/v1/marketdata_pb.d.ts +20 -1
- package/dist/gen/marketdata/v1/marketdata_pb.d.ts.map +1 -1
- package/dist/gen/marketdata/v1/marketdata_pb.js +1 -1
- package/dist/gen/marketdata/v1/marketdata_pb.js.map +1 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.d.ts +138 -13
- package/dist/gen/marketoverview/v1/marketoverview_pb.d.ts.map +1 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.js +23 -6
- package/dist/gen/marketoverview/v1/marketoverview_pb.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/services/auth/auth.d.ts +7 -0
- package/dist/services/auth/auth.d.ts.map +1 -1
- package/dist/services/auth/auth.js +9 -0
- package/dist/services/auth/auth.js.map +1 -1
- package/dist/services/auth/profile/profile.schemas.d.ts +1 -0
- package/dist/services/auth/profile/profile.schemas.d.ts.map +1 -1
- package/dist/services/auth/profile/profile.schemas.js +2 -1
- package/dist/services/auth/profile/profile.schemas.js.map +1 -1
- package/dist/services/candles/candles.schemas.d.ts +9 -0
- package/dist/services/candles/candles.schemas.d.ts.map +1 -1
- package/dist/services/candles/candles.schemas.js +6 -0
- package/dist/services/candles/candles.schemas.js.map +1 -1
- package/dist/services/deposit/deposit.schemas.d.ts +1 -1
- package/dist/services/deposit/deposit.schemas.js +1 -1
- package/dist/services/deposit/deposit.schemas.js.map +1 -1
- package/dist/services/fees/fees.schemas.d.ts +1 -1
- package/dist/services/fees/fees.schemas.js +1 -1
- package/dist/services/fees/fees.schemas.js.map +1 -1
- package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +1 -1
- package/dist/services/internal-transfers/internal-transfers.schemas.js +1 -1
- package/dist/services/internal-transfers/internal-transfers.schemas.js.map +1 -1
- package/dist/services/market-overview/index.d.ts +2 -2
- package/dist/services/market-overview/market-overview.codecs.js +2 -2
- package/dist/services/market-overview/market-overview.codecs.js.map +1 -1
- package/dist/services/market-overview/market-overview.d.ts +7 -1
- package/dist/services/market-overview/market-overview.d.ts.map +1 -1
- package/dist/services/market-overview/market-overview.js +11 -1
- package/dist/services/market-overview/market-overview.js.map +1 -1
- package/dist/services/market-overview/market-overview.schemas.d.ts +72 -12
- package/dist/services/market-overview/market-overview.schemas.d.ts.map +1 -1
- package/dist/services/market-overview/market-overview.schemas.js +30 -7
- package/dist/services/market-overview/market-overview.schemas.js.map +1 -1
- package/dist/services/market-overview/market-overview.types.d.ts +2 -2
- package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
- package/dist/services/orders/orders-batch.schemas.d.ts +14 -14
- package/dist/services/orders/orders-input.schemas.d.ts +1 -1
- package/dist/services/orders/orders-output.schemas.d.ts +6 -6
- package/dist/services/social-verification/social-verification.d.ts +1 -1
- package/dist/services/social-verification/social-verification.js +1 -1
- package/dist/services/social-verification/social-verification.js.map +1 -1
- package/dist/services/social-verification/social-verification.schemas.d.ts +17 -11
- package/dist/services/social-verification/social-verification.schemas.d.ts.map +1 -1
- package/dist/services/social-verification/social-verification.schemas.js +12 -5
- package/dist/services/social-verification/social-verification.schemas.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +1 -1
- package/dist/services/triggers/triggers-output.schemas.d.ts +1 -1
- package/dist/services/triggers/triggers-output.schemas.d.ts.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.js +1 -2
- package/dist/services/triggers/triggers-output.schemas.js.map +1 -1
- package/dist/shared/validation.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth_pb.js","names":[],"sources":["../../../../src/gen/auth/v1/auth_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file auth/v1/auth.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 { SessionInfo } from \"./mfa_pb.js\";\nimport { file_auth_v1_mfa } from \"./mfa_pb.js\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file auth/v1/auth.proto.\n */\nexport const file_auth_v1_auth: GenFile = /*@__PURE__*/\n fileDesc(\"ChJhdXRoL3YxL2F1dGgucHJvdG8SB2F1dGgudjEiMgoPR2V0Tm9uY2VSZXF1ZXN0Eh8KFXNtYXJ0X2FjY291bnRfYWRkcmVzcxgBIAEoCUIAIlEKEEdldE5vbmNlUmVzcG9uc2USDQoFbm9uY2UYASABKAkSLgoKZXhwaXJlc19hdBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiwAEKFkxvZ2luV2l0aFdhbGxldFJlcXVlc3QSHwoVc21hcnRfYWNjb3VudF9hZGRyZXNzGAEgASgJQgASDwoFbm9uY2UYAiABKAlCABITCglzaWduYXR1cmUYAyABKAlCABIUCgp1c2VyX2FnZW50GAQgASgJQgASDAoCaXAYBSABKAlCABIgChZwcmltYXJ5X3dhbGxldF9hZGRyZXNzGAYgASgJQgASGQoPd2FsbGV0X3Byb3ZpZGVyGAcgASgJQgAirAEKF0xvZ2luV2l0aFdhbGxldFJlc3BvbnNlEhQKDGFjY2Vzc190b2tlbhgBIAEoCRIuCgpleHBpcmVzX2F0GAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBISCgphY2NvdW50X2lkGAogASgGEhAKCHVzZXJuYW1lGA0gASgJEiUKB3Nlc3Npb24YFCABKAsyFC5hdXRoLnYxLlNlc3Npb25JbmZvIgsKCU1lUmVxdWVzdCKnAQoKTWVSZXNwb25zZRISCgphY2NvdW50X2lkGAEgASgGEhkKCmFwaV9rZXlfaWQYCiABKAlCAEgAiAEBEhAKCHVzZXJuYW1lGAsgASgJEiIKGnJvb3Rfc21hcnRfYWNjb3VudF9hZGRyZXNzGAwgASgJEiUKB3Nlc3Npb24YFCABKAsyFC5hdXRoLnYxLlNlc3Npb25JbmZvQg0KC19hcGlfa2V5X2lkIkgKD0F1dGhFcnJvckRldGFpbB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3YxO2F1dGh2MWIGcHJvdG8z\", [file_auth_v1_mfa, file_google_protobuf_timestamp]);\n\n/**\n * GetNonceRequest requests a short-lived login nonce for a smart-account\n * address. The wallet must sign a message containing this nonce before login.\n *\n * @generated from message auth.v1.GetNonceRequest\n */\nexport type GetNonceRequest = Message<\"auth.v1.GetNonceRequest\"> & {\n /**\n * Smart-account EVM address, formatted as 0x plus 40 hex characters.\n *\n * @generated from field: string smart_account_address = 1;\n */\n smartAccountAddress: string;\n};\n\n/**\n * Describes the message auth.v1.GetNonceRequest.\n * Use `create(GetNonceRequestSchema)` to create a new message.\n */\nexport const GetNonceRequestSchema: GenMessage<GetNonceRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 0);\n\n/**\n * GetNonceResponse contains the nonce that must be signed for wallet login.\n *\n * @generated from message auth.v1.GetNonceResponse\n */\nexport type GetNonceResponse = Message<\"auth.v1.GetNonceResponse\"> & {\n /**\n * Random login nonce. The nonce is single-purpose and is replaced by each new\n * nonce request for the same smart-account address.\n *\n * @generated from field: string nonce = 1;\n */\n nonce: string;\n\n /**\n * Time in UTC when the nonce expires. Login nonces expire after 5 minutes.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 2;\n */\n expiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.GetNonceResponse.\n * Use `create(GetNonceResponseSchema)` to create a new message.\n */\nexport const GetNonceResponseSchema: GenMessage<GetNonceResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 1);\n\n/**\n * LoginWithWalletRequest completes smart-account wallet login using a signed\n * nonce.\n *\n * @generated from message auth.v1.LoginWithWalletRequest\n */\nexport type LoginWithWalletRequest = Message<\"auth.v1.LoginWithWalletRequest\"> & {\n /**\n * Smart-account EVM address that produced the signature, formatted as 0x plus\n * 40 hex characters.\n *\n * @generated from field: string smart_account_address = 1;\n */\n smartAccountAddress: string;\n\n /**\n * Nonce returned by GetNonce. The nonce must be unused and not expired.\n *\n * @generated from field: string nonce = 2;\n */\n nonce: string;\n\n /**\n * Signature over the canonical login message containing the nonce. Maximum\n * length is 8192 characters to support universal wallet signatures.\n *\n * @generated from field: string signature = 3;\n */\n signature: string;\n\n /**\n * Optional user-agent string for account security and audit displays. Maximum\n * length is 512 characters.\n *\n * @generated from field: string user_agent = 4;\n */\n userAgent: string;\n\n /**\n * Optional caller IP address for account security and audit displays. Maximum\n * length is 64 characters.\n *\n * @generated from field: string ip = 5;\n */\n ip: string;\n\n /**\n * Optional primary wallet address that controls this smart account, formatted\n * as 0x plus 40 hex characters. This value is metadata and is not used for\n * signature verification.\n *\n * @generated from field: string primary_wallet_address = 6;\n */\n primaryWalletAddress: string;\n\n /**\n * Optional provider hint for the primary wallet. Maximum length is 32 characters.\n *\n * @generated from field: string wallet_provider = 7;\n */\n walletProvider: string;\n};\n\n/**\n * Describes the message auth.v1.LoginWithWalletRequest.\n * Use `create(LoginWithWalletRequestSchema)` to create a new message.\n */\nexport const LoginWithWalletRequestSchema: GenMessage<LoginWithWalletRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 2);\n\n/**\n * LoginWithWalletResponse returns a session token for the authenticated root\n * account.\n *\n * @generated from message auth.v1.LoginWithWalletResponse\n */\nexport type LoginWithWalletResponse = Message<\"auth.v1.LoginWithWalletResponse\"> & {\n /**\n * Bearer access token for authenticated API calls.\n *\n * @generated from field: string access_token = 1;\n */\n accessToken: string;\n\n /**\n * Time in UTC when access_token expires.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 2;\n */\n expiresAt?: Timestamp | undefined;\n\n /**\n * Root account the token is bound to (opaque ID).\n *\n * @generated from field: fixed64 account_id = 10;\n */\n accountId: bigint;\n\n /**\n * Optional current username for the root account (empty if not set).\n *\n * @generated from field: string username = 13;\n */\n username: string;\n\n /**\n * Session assurance details for the issued access token.\n *\n * @generated from field: auth.v1.SessionInfo session = 20;\n */\n session?: SessionInfo | undefined;\n};\n\n/**\n * Describes the message auth.v1.LoginWithWalletResponse.\n * Use `create(LoginWithWalletResponseSchema)` to create a new message.\n */\nexport const LoginWithWalletResponseSchema: GenMessage<LoginWithWalletResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 3);\n\n/**\n * MeRequest introspects the authenticated caller from the presented access\n * token or API key.\n *\n * @generated from message auth.v1.MeRequest\n */\nexport type MeRequest = Message<\"auth.v1.MeRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.MeRequest.\n * Use `create(MeRequestSchema)` to create a new message.\n */\nexport const MeRequestSchema: GenMessage<MeRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 4);\n\n/**\n * MeResponse describes the authenticated caller and current session context.\n *\n * @generated from message auth.v1.MeResponse\n */\nexport type MeResponse = Message<\"auth.v1.MeResponse\"> & {\n /**\n * Root account identifier (opaque ID).\n *\n * @generated from field: fixed64 account_id = 1;\n */\n accountId: bigint;\n\n /**\n * Stable public identifier of the API key that authenticated this request,\n * formatted as \"ak_\" followed by 32 lowercase hexadecimal characters.\n * Absent when the request was not authenticated with an API key.\n *\n * @generated from field: optional string api_key_id = 10;\n */\n apiKeyId?: string | undefined;\n\n /**\n * Optional current username for the root account (empty if not set).\n *\n * @generated from field: string username = 11;\n */\n username: string;\n\n /**\n * Root smart-account EVM address, formatted as 0x plus 40 hex characters.\n * Empty if not set.\n *\n * @generated from field: string root_smart_account_address = 12;\n */\n rootSmartAccountAddress: string;\n\n /**\n * Session assurance details for the presented access token, if any.\n *\n * @generated from field: auth.v1.SessionInfo session = 20;\n */\n session?: SessionInfo | undefined;\n};\n\n/**\n * Describes the message auth.v1.MeResponse.\n * Use `create(MeResponseSchema)` to create a new message.\n */\nexport const MeResponseSchema: GenMessage<MeResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 5);\n\n/**\n * AuthErrorDetail describes an authentication or account-domain failure.\n *\n * @generated from message auth.v1.AuthErrorDetail\n */\nexport type AuthErrorDetail = Message<\"auth.v1.AuthErrorDetail\"> & {\n /**\n * Stable machine-readable auth error code.\n *\n * @generated from field: auth.v1.AuthErrorCode code = 1;\n */\n code: AuthErrorCode;\n\n /**\n * Human-readable error message.\n *\n * @generated from field: string message = 2;\n */\n message: string;\n};\n\n/**\n * Describes the message auth.v1.AuthErrorDetail.\n * Use `create(AuthErrorDetailSchema)` to create a new message.\n */\nexport const AuthErrorDetailSchema: GenMessage<AuthErrorDetail> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 6);\n\n/**\n * High-level error codes for authentication and account-domain failures.\n *\n * @generated from enum auth.v1.AuthErrorCode\n */\nexport enum AuthErrorCode {\n /**\n * No auth error code specified.\n *\n * @generated from enum value: AUTH_UNSPECIFIED = 0;\n */\n AUTH_UNSPECIFIED = 0,\n\n /**\n * Username format or characters are invalid.\n *\n * @generated from enum value: AUTH_USERNAME_INVALID = 1;\n */\n AUTH_USERNAME_INVALID = 1,\n\n /**\n * Username is already used by another account.\n *\n * @generated from enum value: AUTH_USERNAME_TAKEN = 2;\n */\n AUTH_USERNAME_TAKEN = 2,\n\n /**\n * Username was changed too recently.\n *\n * @generated from enum value: AUTH_USERNAME_COOLDOWN = 3;\n */\n AUTH_USERNAME_COOLDOWN = 3,\n\n /**\n * Account is not currently eligible to claim or change a username.\n *\n * @generated from enum value: AUTH_USERNAME_FEATURE_LOCKED = 4;\n */\n AUTH_USERNAME_FEATURE_LOCKED = 4,\n\n /**\n * Username is reserved and cannot be claimed by this account.\n *\n * @generated from enum value: AUTH_USERNAME_RESERVED = 5;\n */\n AUTH_USERNAME_RESERVED = 5,\n\n /**\n * Request is malformed or missing required input.\n *\n * @generated from enum value: AUTH_INVALID_REQUEST = 6;\n */\n AUTH_INVALID_REQUEST = 6,\n\n /**\n * Authentication is required for this operation.\n *\n * @generated from enum value: AUTH_AUTHENTICATION_REQUIRED = 7;\n */\n AUTH_AUTHENTICATION_REQUIRED = 7,\n\n /**\n * Presented session type is not allowed for this operation.\n *\n * @generated from enum value: AUTH_SESSION_KIND_NOT_ALLOWED = 8;\n */\n AUTH_SESSION_KIND_NOT_ALLOWED = 8,\n\n /**\n * Wallet login failed because the nonce or signature could not be verified.\n *\n * @generated from enum value: AUTH_WALLET_LOGIN_FAILED = 9;\n */\n AUTH_WALLET_LOGIN_FAILED = 9,\n\n /**\n * Requested resource was not found.\n *\n * @generated from enum value: AUTH_RESOURCE_NOT_FOUND = 10;\n */\n AUTH_RESOURCE_NOT_FOUND = 10,\n\n /**\n * Caller does not have access to the requested sub-account.\n *\n * @generated from enum value: AUTH_SUBACCOUNT_ACCESS_DENIED = 11;\n */\n AUTH_SUBACCOUNT_ACCESS_DENIED = 11,\n\n /**\n * Caller does not have access to the requested API key.\n *\n * @generated from enum value: AUTH_API_KEY_ACCESS_DENIED = 12;\n */\n AUTH_API_KEY_ACCESS_DENIED = 12,\n\n /**\n * Requested API key status transition is not allowed.\n *\n * @generated from enum value: AUTH_API_KEY_INVALID_STATUS_TRANSITION = 14;\n */\n AUTH_API_KEY_INVALID_STATUS_TRANSITION = 14,\n\n /**\n * Policy definition or binding is invalid.\n *\n * @generated from enum value: AUTH_POLICY_INVALID = 15;\n */\n AUTH_POLICY_INVALID = 15,\n\n /**\n * Smart-account address is already linked to another account.\n *\n * @generated from enum value: AUTH_SMART_ACCOUNT_ALREADY_LINKED = 16;\n */\n AUTH_SMART_ACCOUNT_ALREADY_LINKED = 16,\n\n /**\n * Caller does not have access to the requested invite.\n *\n * @generated from enum value: AUTH_INVITE_ACCESS_DENIED = 17;\n */\n AUTH_INVITE_ACCESS_DENIED = 17,\n\n /**\n * Invite cannot be used in its current state.\n *\n * @generated from enum value: AUTH_INVITE_INVALID_STATE = 18;\n */\n AUTH_INVITE_INVALID_STATE = 18,\n\n /**\n * MFA is not available for this account.\n *\n * @generated from enum value: AUTH_MFA_DISABLED = 19;\n */\n AUTH_MFA_DISABLED = 19,\n\n /**\n * Required MFA factor is not enrolled.\n *\n * @generated from enum value: AUTH_MFA_NOT_ENROLLED = 20;\n */\n AUTH_MFA_NOT_ENROLLED = 20,\n\n /**\n * MFA session is missing, expired, or invalid.\n *\n * @generated from enum value: AUTH_MFA_SESSION_INVALID = 21;\n */\n AUTH_MFA_SESSION_INVALID = 21,\n\n /**\n * MFA challenge was not found.\n *\n * @generated from enum value: AUTH_MFA_CHALLENGE_NOT_FOUND = 22;\n */\n AUTH_MFA_CHALLENGE_NOT_FOUND = 22,\n\n /**\n * MFA challenge payload is invalid.\n *\n * @generated from enum value: AUTH_MFA_CHALLENGE_INVALID = 23;\n */\n AUTH_MFA_CHALLENGE_INVALID = 23,\n\n /**\n * MFA challenge is locked after too many failed attempts.\n *\n * @generated from enum value: AUTH_MFA_CHALLENGE_LOCKED = 24;\n */\n AUTH_MFA_CHALLENGE_LOCKED = 24,\n\n /**\n * One-time password is invalid.\n *\n * @generated from enum value: AUTH_MFA_OTP_INVALID = 25;\n */\n AUTH_MFA_OTP_INVALID = 25,\n\n /**\n * Recovery code is invalid.\n *\n * @generated from enum value: AUTH_MFA_RECOVERY_INVALID = 26;\n */\n AUTH_MFA_RECOVERY_INVALID = 26,\n\n /**\n * Passkey verification is not available for this challenge.\n *\n * @generated from enum value: AUTH_MFA_PASSKEY_NOT_AVAILABLE = 27;\n */\n AUTH_MFA_PASSKEY_NOT_AVAILABLE = 27,\n\n /**\n * Passkey credential is invalid for this account or challenge.\n *\n * @generated from enum value: AUTH_MFA_PASSKEY_CREDENTIAL_INVALID = 28;\n */\n AUTH_MFA_PASSKEY_CREDENTIAL_INVALID = 28,\n\n /**\n * Passkey verification failed.\n *\n * @generated from enum value: AUTH_MFA_PASSKEY_VERIFY_FAILED = 29;\n */\n AUTH_MFA_PASSKEY_VERIFY_FAILED = 29,\n\n /**\n * MFA enrollment binding is invalid or expired.\n *\n * @generated from enum value: AUTH_MFA_ENROLLMENT_BINDING_INVALID = 30;\n */\n AUTH_MFA_ENROLLMENT_BINDING_INVALID = 30,\n\n /**\n * A fresh step-up proof is required for this protected operation.\n *\n * @generated from enum value: AUTH_STEP_UP_REQUIRED = 31;\n */\n AUTH_STEP_UP_REQUIRED = 31,\n\n /**\n * A requested step-up proof is unavailable.\n *\n * @generated from enum value: AUTH_STEP_UP_PROOF_UNAVAILABLE = 32;\n */\n AUTH_STEP_UP_PROOF_UNAVAILABLE = 32,\n\n /**\n * The step-up proof has already been claimed.\n *\n * @generated from enum value: AUTH_STEP_UP_ALREADY_CLAIMED = 33;\n */\n AUTH_STEP_UP_ALREADY_CLAIMED = 33,\n\n /**\n * The requested policy cannot be removed because it is still in use.\n *\n * @generated from enum value: AUTH_POLICY_IN_USE = 34;\n */\n AUTH_POLICY_IN_USE = 34,\n\n /**\n * The requested policy is locked against this mutation.\n *\n * @generated from enum value: AUTH_POLICY_LOCKED = 35;\n */\n AUTH_POLICY_LOCKED = 35,\n\n /**\n * The requested policy does not belong to the target account scope.\n *\n * @generated from enum value: AUTH_POLICY_SCOPE_MISMATCH = 36;\n */\n AUTH_POLICY_SCOPE_MISMATCH = 36,\n\n /**\n * The resource changed after the caller read it.\n *\n * @generated from enum value: AUTH_REVISION_CONFLICT = 37;\n */\n AUTH_REVISION_CONFLICT = 37,\n\n /**\n * A recently MFA-elevated interactive session is required.\n *\n * @generated from enum value: AUTH_MFA_ELEVATION_REQUIRED = 38;\n */\n AUTH_MFA_ELEVATION_REQUIRED = 38,\n\n /**\n * At least one active MFA factor must remain enrolled.\n *\n * @generated from enum value: AUTH_MFA_LAST_FACTOR_REQUIRED = 39;\n */\n AUTH_MFA_LAST_FACTOR_REQUIRED = 39,\n\n /**\n * An unexpected internal failure prevented the auth mutation from completing.\n *\n * @generated from enum value: AUTH_INTERNAL_ERROR = 40;\n */\n AUTH_INTERNAL_ERROR = 40,\n}\n\n/**\n * Describes the enum auth.v1.AuthErrorCode.\n */\nexport const AuthErrorCodeSchema: GenEnum<AuthErrorCode> = /*@__PURE__*/\n enumDesc(file_auth_v1_auth, 0);\n\n/**\n * AuthService manages wallet login and caller authentication context.\n *\n * @generated from service auth.v1.AuthService\n */\nexport const AuthService: GenService<{\n /**\n * Get a short-lived login nonce.\n *\n * @generated from rpc auth.v1.AuthService.GetNonce\n */\n getNonce: {\n methodKind: \"unary\";\n input: typeof GetNonceRequestSchema;\n output: typeof GetNonceResponseSchema;\n },\n /**\n * Verify a signed nonce and issue an access token.\n *\n * @generated from rpc auth.v1.AuthService.LoginWithWallet\n */\n loginWithWallet: {\n methodKind: \"unary\";\n input: typeof LoginWithWalletRequestSchema;\n output: typeof LoginWithWalletResponseSchema;\n },\n /**\n * Return the caller's current auth context.\n *\n * @generated from rpc auth.v1.AuthService.Me\n */\n me: {\n methodKind: \"unary\";\n input: typeof MeRequestSchema;\n output: typeof MeResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_auth_v1_auth, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAeA,MAAa,oBACX,uBAAS,ojGAAojG,CAAC,kBAAkB,8BAA8B,CAAC;;;;;AAqBjnG,MAAa,wBACX,0BAAY,mBAAmB,CAAC;;;;;AA4BlC,MAAa,yBACX,0BAAY,mBAAmB,CAAC;;;;;AAqElC,MAAa,+BACX,0BAAY,mBAAmB,CAAC;;;;;AAiDlC,MAAa,gCACX,0BAAY,mBAAmB,CAAC;;;;;AAelC,MAAa,kBACX,0BAAY,mBAAmB,CAAC;;;;;AAmDlC,MAAa,mBACX,0BAAY,mBAAmB,CAAC;;;;;AA2BlC,MAAa,wBACX,0BAAY,mBAAmB,CAAC;;;;;;AAOlC,IAAY,gBAAL,yBAAA,eAAA;;;;;;CAML,cAAA,cAAA,sBAAA,KAAA;;;;;;CAOA,cAAA,cAAA,2BAAA,KAAA;;;;;;CAOA,cAAA,cAAA,yBAAA,KAAA;;;;;;CAOA,cAAA,cAAA,4BAAA,KAAA;;;;;;CAOA,cAAA,cAAA,kCAAA,KAAA;;;;;;CAOA,cAAA,cAAA,4BAAA,KAAA;;;;;;CAOA,cAAA,cAAA,0BAAA,KAAA;;;;;;CAOA,cAAA,cAAA,kCAAA,KAAA;;;;;;CAOA,cA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mBAAmB,CAAC;;;;;;AAO/B,MAAa,cAgCX,0BAAY,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"auth_pb.js","names":[],"sources":["../../../../src/gen/auth/v1/auth_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file auth/v1/auth.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 { SessionInfo } from \"./mfa_pb.js\";\nimport { file_auth_v1_mfa } from \"./mfa_pb.js\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file auth/v1/auth.proto.\n */\nexport const file_auth_v1_auth: GenFile = /*@__PURE__*/\n fileDesc(\"ChJhdXRoL3YxL2F1dGgucHJvdG8SB2F1dGgudjEiMgoPR2V0Tm9uY2VSZXF1ZXN0Eh8KFXNtYXJ0X2FjY291bnRfYWRkcmVzcxgBIAEoCUIAIlEKEEdldE5vbmNlUmVzcG9uc2USDQoFbm9uY2UYASABKAkSLgoKZXhwaXJlc19hdBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiwAEKFkxvZ2luV2l0aFdhbGxldFJlcXVlc3QSHwoVc21hcnRfYWNjb3VudF9hZGRyZXNzGAEgASgJQgASDwoFbm9uY2UYAiABKAlCABITCglzaWduYXR1cmUYAyABKAlCABIUCgp1c2VyX2FnZW50GAQgASgJQgASDAoCaXAYBSABKAlCABIgChZwcmltYXJ5X3dhbGxldF9hZGRyZXNzGAYgASgJQgASGQoPd2FsbGV0X3Byb3ZpZGVyGAcgASgJQgAirAEKF0xvZ2luV2l0aFdhbGxldFJlc3BvbnNl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VEhfUkVWSVNJT05fQ09ORkxJQ1QQJRIfChtBVVRIX01GQV9FTEVWQVRJT05fUkVRVUlSRUQQJhIhCh1BVVRIX01GQV9MQVNUX0ZBQ1RPUl9SRVFVSVJFRBAnEhcKE0FVVEhfSU5URVJOQUxfRVJST1IQKBIbChdBVVRIX1RFUk1TX05PVF9BQ0NFUFRFRBApMqgCCgtBdXRoU2VydmljZRJBCghHZXROb25jZRIYLmF1dGgudjEuR2V0Tm9uY2VSZXF1ZXN0GhkuYXV0aC52MS5HZXROb25jZVJlc3BvbnNlIgASVgoPTG9naW5XaXRoV2FsbGV0Eh8uYXV0aC52MS5Mb2dpbldpdGhXYWxsZXRSZXF1ZXN0GiAuYXV0aC52MS5Mb2dpbldpdGhXYWxsZXRSZXNwb25zZSIAEk0KC0FjY2VwdFRlcm1zEhsuYXV0aC52MS5BY2NlcHRUZXJtc1JlcXVlc3QaHC5hdXRoLnYxLkFjY2VwdFRlcm1zUmVzcG9uc2UiA5ACAhIvCgJNZRISLmF1dGgudjEuTWVSZXF1ZXN0GhMuYXV0aC52MS5NZVJlc3BvbnNlIgBCPFo6Z2l0aHViLmNvbS9GYWJyaWMtTGFicy9wb2x5ZXN0ZXItc2RrLWdvL2dlbi9hdXRoL3YxO2F1dGh2MWIGcHJvdG8z\", [file_auth_v1_mfa, file_google_protobuf_timestamp]);\n\n/**\n * GetNonceRequest requests a short-lived login nonce for a smart-account\n * address. The wallet must sign a message containing this nonce before login.\n *\n * @generated from message auth.v1.GetNonceRequest\n */\nexport type GetNonceRequest = Message<\"auth.v1.GetNonceRequest\"> & {\n /**\n * Smart-account EVM address, formatted as 0x plus 40 hex characters.\n *\n * @generated from field: string smart_account_address = 1;\n */\n smartAccountAddress: string;\n};\n\n/**\n * Describes the message auth.v1.GetNonceRequest.\n * Use `create(GetNonceRequestSchema)` to create a new message.\n */\nexport const GetNonceRequestSchema: GenMessage<GetNonceRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 0);\n\n/**\n * GetNonceResponse contains the nonce that must be signed for wallet login.\n *\n * @generated from message auth.v1.GetNonceResponse\n */\nexport type GetNonceResponse = Message<\"auth.v1.GetNonceResponse\"> & {\n /**\n * Random login nonce. The nonce is single-purpose and is replaced by each new\n * nonce request for the same smart-account address.\n *\n * @generated from field: string nonce = 1;\n */\n nonce: string;\n\n /**\n * Time in UTC when the nonce expires. Login nonces expire after 5 minutes.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 2;\n */\n expiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.GetNonceResponse.\n * Use `create(GetNonceResponseSchema)` to create a new message.\n */\nexport const GetNonceResponseSchema: GenMessage<GetNonceResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 1);\n\n/**\n * LoginWithWalletRequest completes smart-account wallet login using a signed\n * nonce.\n *\n * @generated from message auth.v1.LoginWithWalletRequest\n */\nexport type LoginWithWalletRequest = Message<\"auth.v1.LoginWithWalletRequest\"> & {\n /**\n * Smart-account EVM address that produced the signature, formatted as 0x plus\n * 40 hex characters.\n *\n * @generated from field: string smart_account_address = 1;\n */\n smartAccountAddress: string;\n\n /**\n * Nonce returned by GetNonce. The nonce must be unused and not expired.\n *\n * @generated from field: string nonce = 2;\n */\n nonce: string;\n\n /**\n * Signature over the canonical login message containing the nonce. Maximum\n * length is 8192 characters to support universal wallet signatures.\n *\n * @generated from field: string signature = 3;\n */\n signature: string;\n\n /**\n * Optional user-agent string for account security and audit displays. Maximum\n * length is 512 characters.\n *\n * @generated from field: string user_agent = 4;\n */\n userAgent: string;\n\n /**\n * Optional caller IP address for account security and audit displays. Maximum\n * length is 64 characters.\n *\n * @generated from field: string ip = 5;\n */\n ip: string;\n\n /**\n * Optional primary wallet address that controls this smart account, formatted\n * as 0x plus 40 hex characters. This value is metadata and is not used for\n * signature verification.\n *\n * @generated from field: string primary_wallet_address = 6;\n */\n primaryWalletAddress: string;\n\n /**\n * Optional provider hint for the primary wallet. Maximum length is 32 characters.\n *\n * @generated from field: string wallet_provider = 7;\n */\n walletProvider: string;\n};\n\n/**\n * Describes the message auth.v1.LoginWithWalletRequest.\n * Use `create(LoginWithWalletRequestSchema)` to create a new message.\n */\nexport const LoginWithWalletRequestSchema: GenMessage<LoginWithWalletRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 2);\n\n/**\n * LoginWithWalletResponse returns a session token for the authenticated root\n * account.\n *\n * @generated from message auth.v1.LoginWithWalletResponse\n */\nexport type LoginWithWalletResponse = Message<\"auth.v1.LoginWithWalletResponse\"> & {\n /**\n * Bearer access token for authenticated API calls.\n *\n * @generated from field: string access_token = 1;\n */\n accessToken: string;\n\n /**\n * Time in UTC when access_token expires.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 2;\n */\n expiresAt?: Timestamp | undefined;\n\n /**\n * Root account the token is bound to (opaque ID).\n *\n * @generated from field: fixed64 account_id = 10;\n */\n accountId: bigint;\n\n /**\n * Optional current username for the root account (empty if not set).\n *\n * @generated from field: string username = 13;\n */\n username: string;\n\n /**\n * Session assurance details for the issued access token.\n *\n * @generated from field: auth.v1.SessionInfo session = 20;\n */\n session?: SessionInfo | undefined;\n};\n\n/**\n * Describes the message auth.v1.LoginWithWalletResponse.\n * Use `create(LoginWithWalletResponseSchema)` to create a new message.\n */\nexport const LoginWithWalletResponseSchema: GenMessage<LoginWithWalletResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 3);\n\n/**\n * MeRequest introspects the authenticated caller from the presented access\n * token or API key.\n *\n * @generated from message auth.v1.MeRequest\n */\nexport type MeRequest = Message<\"auth.v1.MeRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.MeRequest.\n * Use `create(MeRequestSchema)` to create a new message.\n */\nexport const MeRequestSchema: GenMessage<MeRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 4);\n\n/**\n * MeResponse describes the authenticated caller and current session context.\n *\n * @generated from message auth.v1.MeResponse\n */\nexport type MeResponse = Message<\"auth.v1.MeResponse\"> & {\n /**\n * Root account identifier (opaque ID).\n *\n * @generated from field: fixed64 account_id = 1;\n */\n accountId: bigint;\n\n /**\n * Stable public identifier of the API key that authenticated this request,\n * formatted as \"ak_\" followed by 32 lowercase hexadecimal characters.\n * Absent when the request was not authenticated with an API key.\n *\n * @generated from field: optional string api_key_id = 10;\n */\n apiKeyId?: string | undefined;\n\n /**\n * Optional current username for the root account (empty if not set).\n *\n * @generated from field: string username = 11;\n */\n username: string;\n\n /**\n * Root smart-account EVM address, formatted as 0x plus 40 hex characters.\n * Empty if not set.\n *\n * @generated from field: string root_smart_account_address = 12;\n */\n rootSmartAccountAddress: string;\n\n /**\n * Session assurance details for the presented access token, if any.\n *\n * @generated from field: auth.v1.SessionInfo session = 20;\n */\n session?: SessionInfo | undefined;\n};\n\n/**\n * Describes the message auth.v1.MeResponse.\n * Use `create(MeResponseSchema)` to create a new message.\n */\nexport const MeResponseSchema: GenMessage<MeResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 5);\n\n/**\n * AuthErrorDetail describes an authentication or account-domain failure.\n *\n * @generated from message auth.v1.AuthErrorDetail\n */\nexport type AuthErrorDetail = Message<\"auth.v1.AuthErrorDetail\"> & {\n /**\n * Stable machine-readable auth error code.\n *\n * @generated from field: auth.v1.AuthErrorCode code = 1;\n */\n code: AuthErrorCode;\n\n /**\n * Human-readable error message.\n *\n * @generated from field: string message = 2;\n */\n message: string;\n};\n\n/**\n * Describes the message auth.v1.AuthErrorDetail.\n * Use `create(AuthErrorDetailSchema)` to create a new message.\n */\nexport const AuthErrorDetailSchema: GenMessage<AuthErrorDetail> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 6);\n\n/**\n * AcceptTermsRequest records explicit consent to the currently required terms.\n *\n * @generated from message auth.v1.AcceptTermsRequest\n */\nexport type AcceptTermsRequest = Message<\"auth.v1.AcceptTermsRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.AcceptTermsRequest.\n * Use `create(AcceptTermsRequestSchema)` to create a new message.\n */\nexport const AcceptTermsRequestSchema: GenMessage<AcceptTermsRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 7);\n\n/**\n * AcceptTermsResponse confirms acceptance. Repeated acceptance of the current\n * version succeeds and preserves the first acceptance time.\n *\n * @generated from message auth.v1.AcceptTermsResponse\n */\nexport type AcceptTermsResponse = Message<\"auth.v1.AcceptTermsResponse\"> & {\n};\n\n/**\n * Describes the message auth.v1.AcceptTermsResponse.\n * Use `create(AcceptTermsResponseSchema)` to create a new message.\n */\nexport const AcceptTermsResponseSchema: GenMessage<AcceptTermsResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 8);\n\n/**\n * High-level error codes for authentication and account-domain failures.\n *\n * @generated from enum auth.v1.AuthErrorCode\n */\nexport enum AuthErrorCode {\n /**\n * No auth error code specified.\n *\n * @generated from enum value: AUTH_UNSPECIFIED = 0;\n */\n AUTH_UNSPECIFIED = 0,\n\n /**\n * Username format or characters are invalid.\n *\n * @generated from enum value: AUTH_USERNAME_INVALID = 1;\n */\n AUTH_USERNAME_INVALID = 1,\n\n /**\n * Username is already used by another account.\n *\n * @generated from enum value: AUTH_USERNAME_TAKEN = 2;\n */\n AUTH_USERNAME_TAKEN = 2,\n\n /**\n * Username was changed too recently.\n *\n * @generated from enum value: AUTH_USERNAME_COOLDOWN = 3;\n */\n AUTH_USERNAME_COOLDOWN = 3,\n\n /**\n * Account is not currently eligible to claim or change a username.\n *\n * @generated from enum value: AUTH_USERNAME_FEATURE_LOCKED = 4;\n */\n AUTH_USERNAME_FEATURE_LOCKED = 4,\n\n /**\n * Username is reserved and cannot be claimed by this account.\n *\n * @generated from enum value: AUTH_USERNAME_RESERVED = 5;\n */\n AUTH_USERNAME_RESERVED = 5,\n\n /**\n * Request is malformed or missing required input.\n *\n * @generated from enum value: AUTH_INVALID_REQUEST = 6;\n */\n AUTH_INVALID_REQUEST = 6,\n\n /**\n * Authentication is required for this operation.\n *\n * @generated from enum value: AUTH_AUTHENTICATION_REQUIRED = 7;\n */\n AUTH_AUTHENTICATION_REQUIRED = 7,\n\n /**\n * Presented session type is not allowed for this operation.\n *\n * @generated from enum value: AUTH_SESSION_KIND_NOT_ALLOWED = 8;\n */\n AUTH_SESSION_KIND_NOT_ALLOWED = 8,\n\n /**\n * Wallet login failed because the nonce or signature could not be verified.\n *\n * @generated from enum value: AUTH_WALLET_LOGIN_FAILED = 9;\n */\n AUTH_WALLET_LOGIN_FAILED = 9,\n\n /**\n * Requested resource was not found.\n *\n * @generated from enum value: AUTH_RESOURCE_NOT_FOUND = 10;\n */\n AUTH_RESOURCE_NOT_FOUND = 10,\n\n /**\n * Caller does not have access to the requested sub-account.\n *\n * @generated from enum value: AUTH_SUBACCOUNT_ACCESS_DENIED = 11;\n */\n AUTH_SUBACCOUNT_ACCESS_DENIED = 11,\n\n /**\n * Caller does not have access to the requested API key.\n *\n * @generated from enum value: AUTH_API_KEY_ACCESS_DENIED = 12;\n */\n AUTH_API_KEY_ACCESS_DENIED = 12,\n\n /**\n * Requested API key status transition is not allowed.\n *\n * @generated from enum value: AUTH_API_KEY_INVALID_STATUS_TRANSITION = 14;\n */\n AUTH_API_KEY_INVALID_STATUS_TRANSITION = 14,\n\n /**\n * Policy definition or binding is invalid.\n *\n * @generated from enum value: AUTH_POLICY_INVALID = 15;\n */\n AUTH_POLICY_INVALID = 15,\n\n /**\n * Smart-account address is already linked to another account.\n *\n * @generated from enum value: AUTH_SMART_ACCOUNT_ALREADY_LINKED = 16;\n */\n AUTH_SMART_ACCOUNT_ALREADY_LINKED = 16,\n\n /**\n * Caller does not have access to the requested invite.\n *\n * @generated from enum value: AUTH_INVITE_ACCESS_DENIED = 17;\n */\n AUTH_INVITE_ACCESS_DENIED = 17,\n\n /**\n * Invite cannot be used in its current state.\n *\n * @generated from enum value: AUTH_INVITE_INVALID_STATE = 18;\n */\n AUTH_INVITE_INVALID_STATE = 18,\n\n /**\n * MFA is not available for this account.\n *\n * @generated from enum value: AUTH_MFA_DISABLED = 19;\n */\n AUTH_MFA_DISABLED = 19,\n\n /**\n * Required MFA factor is not enrolled.\n *\n * @generated from enum value: AUTH_MFA_NOT_ENROLLED = 20;\n */\n AUTH_MFA_NOT_ENROLLED = 20,\n\n /**\n * MFA session is missing, expired, or invalid.\n *\n * @generated from enum value: AUTH_MFA_SESSION_INVALID = 21;\n */\n AUTH_MFA_SESSION_INVALID = 21,\n\n /**\n * MFA challenge was not found.\n *\n * @generated from enum value: AUTH_MFA_CHALLENGE_NOT_FOUND = 22;\n */\n AUTH_MFA_CHALLENGE_NOT_FOUND = 22,\n\n /**\n * MFA challenge payload is invalid.\n *\n * @generated from enum value: AUTH_MFA_CHALLENGE_INVALID = 23;\n */\n AUTH_MFA_CHALLENGE_INVALID = 23,\n\n /**\n * MFA challenge is locked after too many failed attempts.\n *\n * @generated from enum value: AUTH_MFA_CHALLENGE_LOCKED = 24;\n */\n AUTH_MFA_CHALLENGE_LOCKED = 24,\n\n /**\n * One-time password is invalid.\n *\n * @generated from enum value: AUTH_MFA_OTP_INVALID = 25;\n */\n AUTH_MFA_OTP_INVALID = 25,\n\n /**\n * Recovery code is invalid.\n *\n * @generated from enum value: AUTH_MFA_RECOVERY_INVALID = 26;\n */\n AUTH_MFA_RECOVERY_INVALID = 26,\n\n /**\n * Passkey verification is not available for this challenge.\n *\n * @generated from enum value: AUTH_MFA_PASSKEY_NOT_AVAILABLE = 27;\n */\n AUTH_MFA_PASSKEY_NOT_AVAILABLE = 27,\n\n /**\n * Passkey credential is invalid for this account or challenge.\n *\n * @generated from enum value: AUTH_MFA_PASSKEY_CREDENTIAL_INVALID = 28;\n */\n AUTH_MFA_PASSKEY_CREDENTIAL_INVALID = 28,\n\n /**\n * Passkey verification failed.\n *\n * @generated from enum value: AUTH_MFA_PASSKEY_VERIFY_FAILED = 29;\n */\n AUTH_MFA_PASSKEY_VERIFY_FAILED = 29,\n\n /**\n * MFA enrollment binding is invalid or expired.\n *\n * @generated from enum value: AUTH_MFA_ENROLLMENT_BINDING_INVALID = 30;\n */\n AUTH_MFA_ENROLLMENT_BINDING_INVALID = 30,\n\n /**\n * A fresh step-up proof is required for this protected operation.\n *\n * @generated from enum value: AUTH_STEP_UP_REQUIRED = 31;\n */\n AUTH_STEP_UP_REQUIRED = 31,\n\n /**\n * A requested step-up proof is unavailable.\n *\n * @generated from enum value: AUTH_STEP_UP_PROOF_UNAVAILABLE = 32;\n */\n AUTH_STEP_UP_PROOF_UNAVAILABLE = 32,\n\n /**\n * The step-up proof has already been claimed.\n *\n * @generated from enum value: AUTH_STEP_UP_ALREADY_CLAIMED = 33;\n */\n AUTH_STEP_UP_ALREADY_CLAIMED = 33,\n\n /**\n * The requested policy cannot be removed because it is still in use.\n *\n * @generated from enum value: AUTH_POLICY_IN_USE = 34;\n */\n AUTH_POLICY_IN_USE = 34,\n\n /**\n * The requested policy is locked against this mutation.\n *\n * @generated from enum value: AUTH_POLICY_LOCKED = 35;\n */\n AUTH_POLICY_LOCKED = 35,\n\n /**\n * The requested policy does not belong to the target account scope.\n *\n * @generated from enum value: AUTH_POLICY_SCOPE_MISMATCH = 36;\n */\n AUTH_POLICY_SCOPE_MISMATCH = 36,\n\n /**\n * The resource changed after the caller read it.\n *\n * @generated from enum value: AUTH_REVISION_CONFLICT = 37;\n */\n AUTH_REVISION_CONFLICT = 37,\n\n /**\n * A recently MFA-elevated interactive session is required.\n *\n * @generated from enum value: AUTH_MFA_ELEVATION_REQUIRED = 38;\n */\n AUTH_MFA_ELEVATION_REQUIRED = 38,\n\n /**\n * At least one active MFA factor must remain enrolled.\n *\n * @generated from enum value: AUTH_MFA_LAST_FACTOR_REQUIRED = 39;\n */\n AUTH_MFA_LAST_FACTOR_REQUIRED = 39,\n\n /**\n * An unexpected internal failure prevented the auth mutation from completing.\n *\n * @generated from enum value: AUTH_INTERNAL_ERROR = 40;\n */\n AUTH_INTERNAL_ERROR = 40,\n\n /**\n * The caller has not explicitly accepted the currently required terms.\n *\n * @generated from enum value: AUTH_TERMS_NOT_ACCEPTED = 41;\n */\n AUTH_TERMS_NOT_ACCEPTED = 41,\n}\n\n/**\n * Describes the enum auth.v1.AuthErrorCode.\n */\nexport const AuthErrorCodeSchema: GenEnum<AuthErrorCode> = /*@__PURE__*/\n enumDesc(file_auth_v1_auth, 0);\n\n/**\n * AuthService manages wallet login, explicit terms consent, and caller authentication context.\n *\n * @generated from service auth.v1.AuthService\n */\nexport const AuthService: GenService<{\n /**\n * Get a short-lived login nonce.\n *\n * @generated from rpc auth.v1.AuthService.GetNonce\n */\n getNonce: {\n methodKind: \"unary\";\n input: typeof GetNonceRequestSchema;\n output: typeof GetNonceResponseSchema;\n },\n /**\n * Verify a signed nonce and issue an access token. Login and account creation\n * do not accept terms; explicit consent is recorded only by AcceptTerms.\n *\n * @generated from rpc auth.v1.AuthService.LoginWithWallet\n */\n loginWithWallet: {\n methodKind: \"unary\";\n input: typeof LoginWithWalletRequestSchema;\n output: typeof LoginWithWalletResponseSchema;\n },\n /**\n * Explicitly accept the currently required terms for the caller's root account.\n * Requires an interactive JWT session; API keys are not allowed. No MFA is\n * required. Login, trading, reads, and use of existing resources remain available\n * without acceptance. Only CreateSubaccount, CreateApiKey, and\n * CreateDepositAddress require acceptance of the current version.\n *\n * @generated from rpc auth.v1.AuthService.AcceptTerms\n */\n acceptTerms: {\n methodKind: \"unary\";\n input: typeof AcceptTermsRequestSchema;\n output: typeof AcceptTermsResponseSchema;\n },\n /**\n * Return the caller's current auth context.\n *\n * @generated from rpc auth.v1.AuthService.Me\n */\n me: {\n methodKind: \"unary\";\n input: typeof MeRequestSchema;\n output: typeof MeResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_auth_v1_auth, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAeA,MAAa,oBACX,uBAAS,gwGAAgwG,CAAC,kBAAkB,8BAA8B,CAAC;;;;;AAqB7zG,MAAa,wBACX,0BAAY,mBAAmB,CAAC;;;;;AA4BlC,MAAa,yBACX,0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AAA;;;;;;CAOA,cAAA,cAAA,+BAAA,MAAA;;;;;;CAOA,cAAA,cAAA,0BAAA,MAAA;;;;;;CAOA,cAAA,cAAA,+BAAA,MAAA;;;;;;CAOA,cAAA,cAAA,oCAAA,MAAA;;;;;;CAOA,cAAA,cAAA,yCAAA,MAAA;;;;;;CAOA,cAAA,cAAA,oCAAA,MAAA;;;;;;CAOA,cAAA,cAAA,yCAAA,MAAA;;;;;;CAOA,cAAA,cAAA,2BAAA,MAAA;;;;;;CAOA,cAAA,cAAA,oCAAA,MAAA;;;;;;CAOA,cAAA,cAAA,kCAAA,MAAA;;;;;;CAOA,cAAA,cAAA,wBAAA,MAAA;;;;;;CAOA,cAAA,cAAA,wBAAA,MAAA;;;;;;CAOA,cAAA,cAAA,gCAAA,MAAA;;;;;;CAOA,cAAA,cAAA,4BAAA,MAAA;;;;;;CAOA,cAAA,cAAA,iCAAA,MAAA;;;;;;CAOA,cAAA,cAAA,mCAAA,MAAA;;;;;;CAOA,cAAA,cAAA,yBAAA,MAAA;;;;;;CAOA,cAAA,cAAA,6BAAA,MAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,sBACX,uBAAS,mBAAmB,CAAC;;;;;;AAO/B,MAAa,cA+CX,0BAAY,mBAAmB,CAAC"}
|
|
@@ -128,6 +128,13 @@ type UserProfile = Message<"auth.v1.UserProfile"> & {
|
|
|
128
128
|
* @generated from field: bool username_unlocked = 11;
|
|
129
129
|
*/
|
|
130
130
|
usernameUnlocked: boolean;
|
|
131
|
+
/**
|
|
132
|
+
* Whether the caller's root account explicitly accepted the currently required terms.
|
|
133
|
+
* False for new or existing accounts without current acceptance.
|
|
134
|
+
*
|
|
135
|
+
* @generated from field: bool current_terms_accepted = 13;
|
|
136
|
+
*/
|
|
137
|
+
currentTermsAccepted: boolean;
|
|
131
138
|
};
|
|
132
139
|
/**
|
|
133
140
|
* Describes the message auth.v1.UserProfile.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file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CAAgC;;;;;;EAM1C;;;;;;EAOA;;;;;;cAOW,qCAAqC,WAAW;;;;;;aAQjD;;;;;;EAMV;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;cAMW,wBAAwB,QAAQ;;;;;;cAQhC,gBAAgB;;;;;;EAM3B;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;EAQjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;EAQjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;EAQjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;EAQjB;IACE;IACA,cAAc;IACd,eAAe"}
|
|
@@ -22,7 +22,7 @@ var profile_pb_exports = /* @__PURE__ */ __exportAll({
|
|
|
22
22
|
/**
|
|
23
23
|
* Describes the file auth/v1/profile.proto.
|
|
24
24
|
*/
|
|
25
|
-
const file_auth_v1_profile = /*@__PURE__*/ fileDesc("
|
|
25
|
+
const file_auth_v1_profile = /*@__PURE__*/ fileDesc("ChVhdXRoL3YxL3Byb2ZpbGUucHJvdG8SB2F1dGgudjEidQoPQWNjb3VudElkZW50aXR5EhIKCmFjY291bnRfaWQYASABKAYSEgoIdXNlcm5hbWUYAiABKAlCABIUCgphdmF0YXJfdXJsGAMgASgJQgASJAoacm9vdF9zbWFydF9hY2NvdW50X2FkZHJlc3MYBCABKAlCACLtAgoLVXNlclByb2ZpbGUSEgoIdXNlcm5hbWUYASABKAlCABINCgNiaW8YAiABKAlCABIRCgd3ZWJzaXRlGAMgASgJQgASEQoHdHdpdHRlchgEIAEoCUIAEhgKEHR3aXR0ZXJfdmVyaWZpZWQYCCABKAgSEQoHZGlzY29yZBgJIAEoCUIAEhgKEGRpc2NvcmRfdmVyaWZpZWQYCiABKAgSFAoKYXZhdGFyX3VybBgFIAEoCUIAEi4KCmNyZWF0ZWRfYXQYDCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjsKF25leHRfdXNlcm5hbWVfY2hhbmdlX2F0GAYgASgLM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(AccountIdentitySchema)` to create a new message.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile_pb.js","names":[],"sources":["../../../../src/gen/auth/v1/profile_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file auth/v1/profile.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 { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file auth/v1/profile.proto.\n */\nexport const file_auth_v1_profile: GenFile = /*@__PURE__*/\n fileDesc(\"ChVhdXRoL3YxL3Byb2ZpbGUucHJvdG8SB2F1dGgudjEidQoPQWNjb3VudElkZW50aXR5EhIKCmFjY291bnRfaWQYASABKAYSEgoIdXNlcm5hbWUYAiABKAlCABIUCgphdmF0YXJfdXJsGAMgASgJQgASJAoacm9vdF9zbWFydF9hY2NvdW50X2FkZHJlc3MYBCABKAlCACLNAgoLVXNlclByb2ZpbGUSEgoIdXNlcm5hbWUYASABKAlCABINCgNiaW8YAiABKAlCABIRCgd3ZWJzaXRlGAMgASgJQgASEQoHdHdpdHRlchgEIAEoCUIAEhgKEHR3aXR0ZXJfdmVyaWZpZWQYCCABKAgSEQoHZGlzY29yZBgJIAEoCUIAEhgKEGRpc2NvcmRfdmVyaWZpZWQYCiABKAgSFAoKYXZhdGFyX3VybBgFIAEoCUIAEi4KCmNyZWF0ZWRfYXQYDCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjsKF25leHRfdXNlcm5hbWVfY2hhbmdlX2F0GAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIQCgh2aXBfd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k9GSUxFX1VOU1BFQ0lGSUVEEAASGQoVUFJPRklMRV9JTlZBTElEX0ZJRUxEEAESGgoWUFJPRklMRV9GSUVMRF9UT09fTE9ORxACEhcKE1BST0ZJTEVfVVJMX0lOVkFMSUQQAxIeChpQUk9GSUxFX1VSTF9TQ0hFTUVfSU5WQUxJRBAEMsEDCg5Qcm9maWxlU2VydmljZRJACgpHZXRQcm9maWxlEhouYXV0aC52MS5HZXRQcm9maWxlUmVxdWVzdBoULmF1dGgudjEuVXNlclByb2ZpbGUiABJCCg1VcGRhdGVQcm9maWxlEhkuYXV0aC52MS5Vc2VyUHJvZmlsZVBhdGNoGhQuYXV0aC52MS5Vc2VyUHJvZmlsZSIAEl8KEkdldFVzZXJuYW1lSGlzdG9yeRIiLmF1dGgudjEuR2V0VXNlcm5hbWVIaXN0b3J5UmVxdWVzdBojLmF1dGgudjEuR2V0VXNlcm5hbWVIaXN0b3J5UmVzcG9uc2UiABJuChdHZW5lcmF0ZVVzZXJuYW1lT3B0aW9ucxInLmF1dGgudjEuR2VuZXJhdGVVc2VybmFtZU9wdGlvbnNSZXF1ZXN0GiguYXV0aC52MS5HZW5lcmF0ZVVzZXJuYW1lT3B0aW9uc1Jlc3BvbnNlIgASWAoWQ2xhaW1HZW5lcmF0ZWRVc2VybmFtZRImLmF1dGgudjEuQ2xhaW1HZW5lcmF0ZWRVc2VybmFtZVJlcXVlc3QaFC5hdXRoLnYxLlVzZXJQcm9maWxlIgBCPFo6Z2l0aHViLmNvbS9GYWJyaWMtTGFicy9wb2x5ZXN0ZXItc2RrLWdvL2dlbi9hdXRoL3YxO2F1dGh2MWIGcHJvdG8z\", [file_google_protobuf_timestamp]);\n\n/**\n * AccountIdentity is a lightweight identity view for a root account.\n *\n * @generated from message auth.v1.AccountIdentity\n */\nexport type AccountIdentity = Message<\"auth.v1.AccountIdentity\"> & {\n /**\n * Root account identifier (opaque ID).\n *\n * @generated from field: fixed64 account_id = 1;\n */\n accountId: bigint;\n\n /**\n * Current username for the root account (unique, case-insensitive). Empty\n * means no username set.\n *\n * @generated from field: string username = 2;\n */\n username: string;\n\n /**\n * Avatar URL, if set. Maximum length is 256 characters.\n *\n * @generated from field: string avatar_url = 3;\n */\n avatarUrl: string;\n\n /**\n * Root smart-account EVM address. Useful as a stable identity fallback.\n *\n * @generated from field: string root_smart_account_address = 4;\n */\n rootSmartAccountAddress: string;\n};\n\n/**\n * Describes the message auth.v1.AccountIdentity.\n * Use `create(AccountIdentitySchema)` to create a new message.\n */\nexport const AccountIdentitySchema: GenMessage<AccountIdentity> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 0);\n\n/**\n * UserProfile is the caller's public profile and account metadata.\n *\n * @generated from message auth.v1.UserProfile\n */\nexport type UserProfile = Message<\"auth.v1.UserProfile\"> & {\n /**\n * Public username for the root account. Usernames are unique\n * case-insensitively and use 3 to 32 letters, digits, underscores, dots, or\n * hyphens. Empty means no username is set.\n *\n * @generated from field: string username = 1;\n */\n username: string;\n\n /**\n * Short public bio. Maximum length is 256 characters.\n *\n * @generated from field: string bio = 2;\n */\n bio: string;\n\n /**\n * Public website URL, if set. Maximum length is 256 characters.\n *\n * @generated from field: string website = 3;\n */\n website: string;\n\n /**\n * X/Twitter handle without \"@\". Maximum length is 15 characters.\n *\n * @generated from field: string twitter = 4;\n */\n twitter: string;\n\n /**\n * Whether the X/Twitter handle for this account has been verified.\n *\n * @generated from field: bool twitter_verified = 8;\n */\n twitterVerified: boolean;\n\n /**\n * Discord handle or username without \"@\". Maximum length is 64 characters.\n *\n * @generated from field: string discord = 9;\n */\n discord: string;\n\n /**\n * Whether the Discord handle for this account has been verified.\n *\n * @generated from field: bool discord_verified = 10;\n */\n discordVerified: boolean;\n\n /**\n * Avatar URL, if set. Maximum length is 256 characters.\n *\n * @generated from field: string avatar_url = 5;\n */\n avatarUrl: string;\n\n /**\n * Account creation time in UTC. This is the canonical \"member since\"\n * timestamp.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 12;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * Next time in UTC when the username can be changed again. Omitted when no\n * cooldown applies.\n *\n * @generated from field: google.protobuf.Timestamp next_username_change_at = 6;\n */\n nextUsernameChangeAt?: Timestamp | undefined;\n\n /**\n * Current VIP tier for this root account. A value of 0 is the base tier.\n * Read-only.\n *\n * @generated from field: int32 vip_tier = 7;\n */\n vipTier: number;\n\n /**\n * Whether this account is currently allowed to claim/change a username.\n *\n * @generated from field: bool username_unlocked = 11;\n */\n usernameUnlocked: boolean;\n};\n\n/**\n * Describes the message auth.v1.UserProfile.\n * Use `create(UserProfileSchema)` to create a new message.\n */\nexport const UserProfileSchema: GenMessage<UserProfile> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 1);\n\n/**\n * UserProfilePatch is a partial profile update. Fields are\n * optional/presence-aware:\n * - if a field is omitted, it is not modified\n * - if a field is present with an empty string, it is cleared\n * Username changes are subject to account eligibility, reserved-name checks,\n * uniqueness, and cooldown rules. Case-only username changes update display\n * casing without consuming the cooldown.\n *\n * @generated from message auth.v1.UserProfilePatch\n */\nexport type UserProfilePatch = Message<\"auth.v1.UserProfilePatch\"> & {\n /**\n * Public username for the root account. Use an empty string to clear it.\n * Non-empty values must be 3 to 32 letters, digits, underscores, dots, or\n * hyphens.\n *\n * @generated from field: optional string username = 1;\n */\n username?: string | undefined;\n\n /**\n * Short public bio. Use an empty string to clear it. Non-empty values must be\n * at most 256 characters and cannot contain \"<\" or \">\".\n *\n * @generated from field: optional string bio = 2;\n */\n bio?: string | undefined;\n\n /**\n * Public website URL. Use an empty string to clear it. Non-empty values must\n * be valid http(s) URLs up to 256 characters.\n *\n * @generated from field: optional string website = 3;\n */\n website?: string | undefined;\n\n /**\n * X/Twitter handle without \"@\". Use an empty string to clear it. Non-empty\n * values must be 1 to 15 letters, digits, or underscores.\n *\n * @generated from field: optional string twitter = 4;\n */\n twitter?: string | undefined;\n\n /**\n * Avatar URL. Use an empty string to clear it. Non-empty values must be valid\n * http(s) URLs up to 256 characters.\n *\n * @generated from field: optional string avatar_url = 5;\n */\n avatarUrl?: string | undefined;\n};\n\n/**\n * Describes the message auth.v1.UserProfilePatch.\n * Use `create(UserProfilePatchSchema)` to create a new message.\n */\nexport const UserProfilePatchSchema: GenMessage<UserProfilePatch> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 2);\n\n/**\n * GetProfileRequest fetches the authenticated caller's profile.\n *\n * @generated from message auth.v1.GetProfileRequest\n */\nexport type GetProfileRequest = Message<\"auth.v1.GetProfileRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.GetProfileRequest.\n * Use `create(GetProfileRequestSchema)` to create a new message.\n */\nexport const GetProfileRequestSchema: GenMessage<GetProfileRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 3);\n\n/**\n * ProfileErrorDetail describes a profile validation failure returned by the API.\n *\n * @generated from message auth.v1.ProfileErrorDetail\n */\nexport type ProfileErrorDetail = Message<\"auth.v1.ProfileErrorDetail\"> & {\n /**\n * Stable machine-readable profile error code.\n *\n * @generated from field: auth.v1.ProfileErrorCode code = 1;\n */\n code: ProfileErrorCode;\n\n /**\n * Field name associated with the error, such as \"bio\", \"website\", \"twitter\",\n * or \"avatar_url\".\n *\n * @generated from field: string field = 2;\n */\n field: string;\n\n /**\n * Human-friendly message for UI/debugging.\n *\n * @generated from field: string message = 3;\n */\n message: string;\n};\n\n/**\n * Describes the message auth.v1.ProfileErrorDetail.\n * Use `create(ProfileErrorDetailSchema)` to create a new message.\n */\nexport const ProfileErrorDetailSchema: GenMessage<ProfileErrorDetail> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 4);\n\n/**\n * UsernameHistoryEntry records a previous username claim for the caller.\n *\n * @generated from message auth.v1.UsernameHistoryEntry\n */\nexport type UsernameHistoryEntry = Message<\"auth.v1.UsernameHistoryEntry\"> & {\n /**\n * Username value that was set.\n *\n * @generated from field: string username = 1;\n */\n username: string;\n\n /**\n * Time in UTC when this username was set.\n *\n * @generated from field: google.protobuf.Timestamp set_at = 2;\n */\n setAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.UsernameHistoryEntry.\n * Use `create(UsernameHistoryEntrySchema)` to create a new message.\n */\nexport const UsernameHistoryEntrySchema: GenMessage<UsernameHistoryEntry> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 5);\n\n/**\n * GetUsernameHistoryRequest fetches recent username changes for the\n * authenticated caller.\n *\n * @generated from message auth.v1.GetUsernameHistoryRequest\n */\nexport type GetUsernameHistoryRequest = Message<\"auth.v1.GetUsernameHistoryRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.GetUsernameHistoryRequest.\n * Use `create(GetUsernameHistoryRequestSchema)` to create a new message.\n */\nexport const GetUsernameHistoryRequestSchema: GenMessage<GetUsernameHistoryRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 6);\n\n/**\n * GetUsernameHistoryResponse contains the caller's recent username history,\n * newest first. At most 20 entries are returned.\n *\n * @generated from message auth.v1.GetUsernameHistoryResponse\n */\nexport type GetUsernameHistoryResponse = Message<\"auth.v1.GetUsernameHistoryResponse\"> & {\n /**\n * Recent username history entries, newest first.\n *\n * @generated from field: repeated auth.v1.UsernameHistoryEntry history = 1;\n */\n history: UsernameHistoryEntry[];\n};\n\n/**\n * Describes the message auth.v1.GetUsernameHistoryResponse.\n * Use `create(GetUsernameHistoryResponseSchema)` to create a new message.\n */\nexport const GetUsernameHistoryResponseSchema: GenMessage<GetUsernameHistoryResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 7);\n\n/**\n * GenerateUsernameOptionsRequest requests a fresh set of generated usernames.\n *\n * @generated from message auth.v1.GenerateUsernameOptionsRequest\n */\nexport type GenerateUsernameOptionsRequest = Message<\"auth.v1.GenerateUsernameOptionsRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.GenerateUsernameOptionsRequest.\n * Use `create(GenerateUsernameOptionsRequestSchema)` to create a new message.\n */\nexport const GenerateUsernameOptionsRequestSchema: GenMessage<GenerateUsernameOptionsRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 8);\n\n/**\n * GenerateUsernameOptionsResponse contains five generated usernames that the\n * caller may claim before the offer expires.\n *\n * @generated from message auth.v1.GenerateUsernameOptionsResponse\n */\nexport type GenerateUsernameOptionsResponse = Message<\"auth.v1.GenerateUsernameOptionsResponse\"> & {\n /**\n * Five distinct generated usernames available when this offer was created.\n *\n * @generated from field: repeated string usernames = 1;\n */\n usernames: string[];\n\n /**\n * Opaque proof required to claim one of the returned usernames.\n *\n * @generated from field: string offer_token = 2;\n */\n offerToken: string;\n\n /**\n * Time in UTC after which this offer can no longer be claimed.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 3;\n */\n expiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.GenerateUsernameOptionsResponse.\n * Use `create(GenerateUsernameOptionsResponseSchema)` to create a new message.\n */\nexport const GenerateUsernameOptionsResponseSchema: GenMessage<GenerateUsernameOptionsResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 9);\n\n/**\n * ClaimGeneratedUsernameRequest selects one username from a generated offer.\n *\n * @generated from message auth.v1.ClaimGeneratedUsernameRequest\n */\nexport type ClaimGeneratedUsernameRequest = Message<\"auth.v1.ClaimGeneratedUsernameRequest\"> & {\n /**\n * Opaque proof returned with the generated username options.\n *\n * @generated from field: string offer_token = 1;\n */\n offerToken: string;\n\n /**\n * Zero-based position in the five returned username options.\n *\n * @generated from field: uint32 option_index = 2;\n */\n optionIndex: number;\n};\n\n/**\n * Describes the message auth.v1.ClaimGeneratedUsernameRequest.\n * Use `create(ClaimGeneratedUsernameRequestSchema)` to create a new message.\n */\nexport const ClaimGeneratedUsernameRequestSchema: GenMessage<ClaimGeneratedUsernameRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 10);\n\n/**\n * High-level error codes for profile domain errors (ProfileService).\n *\n * @generated from enum auth.v1.ProfileErrorCode\n */\nexport enum ProfileErrorCode {\n /**\n * No profile error code specified.\n *\n * @generated from enum value: PROFILE_UNSPECIFIED = 0;\n */\n PROFILE_UNSPECIFIED = 0,\n\n /**\n * Generic invalid field (format/characters).\n *\n * @generated from enum value: PROFILE_INVALID_FIELD = 1;\n */\n PROFILE_INVALID_FIELD = 1,\n\n /**\n * Field exceeds configured max length.\n *\n * @generated from enum value: PROFILE_FIELD_TOO_LONG = 2;\n */\n PROFILE_FIELD_TOO_LONG = 2,\n\n /**\n * URL is syntactically invalid.\n *\n * @generated from enum value: PROFILE_URL_INVALID = 3;\n */\n PROFILE_URL_INVALID = 3,\n\n /**\n * URL scheme is not allowed (e.g., non-http(s)).\n *\n * @generated from enum value: PROFILE_URL_SCHEME_INVALID = 4;\n */\n PROFILE_URL_SCHEME_INVALID = 4,\n}\n\n/**\n * Describes the enum auth.v1.ProfileErrorCode.\n */\nexport const ProfileErrorCodeSchema: GenEnum<ProfileErrorCode> = /*@__PURE__*/\n enumDesc(file_auth_v1_profile, 0);\n\n/**\n * ProfileService manages the authenticated caller's public profile.\n *\n * @generated from service auth.v1.ProfileService\n */\nexport const ProfileService: GenService<{\n /**\n * Get the caller's profile.\n *\n * @generated from rpc auth.v1.ProfileService.GetProfile\n */\n getProfile: {\n methodKind: \"unary\";\n input: typeof GetProfileRequestSchema;\n output: typeof UserProfileSchema;\n },\n /**\n * Update the caller's mutable profile fields. Omitted fields are unchanged;\n * present empty strings clear optional text fields.\n *\n * @generated from rpc auth.v1.ProfileService.UpdateProfile\n */\n updateProfile: {\n methodKind: \"unary\";\n input: typeof UserProfilePatchSchema;\n output: typeof UserProfileSchema;\n },\n /**\n * Get recent username history for the caller, newest first. Returns at most\n * 20 entries.\n *\n * @generated from rpc auth.v1.ProfileService.GetUsernameHistory\n */\n getUsernameHistory: {\n methodKind: \"unary\";\n input: typeof GetUsernameHistoryRequestSchema;\n output: typeof GetUsernameHistoryResponseSchema;\n },\n /**\n * Generate five random username options for an account that has never\n * claimed a username. Calling this method again returns a fresh set.\n *\n * @generated from rpc auth.v1.ProfileService.GenerateUsernameOptions\n */\n generateUsernameOptions: {\n methodKind: \"unary\";\n input: typeof GenerateUsernameOptionsRequestSchema;\n output: typeof GenerateUsernameOptionsResponseSchema;\n },\n /**\n * Claim one username by its position in a valid generated offer. The\n * selected value comes from the offer and cannot be supplied directly.\n *\n * @generated from rpc auth.v1.ProfileService.ClaimGeneratedUsername\n */\n claimGeneratedUsername: {\n methodKind: \"unary\";\n input: typeof ClaimGeneratedUsernameRequestSchema;\n output: typeof UserProfileSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_auth_v1_profile, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAaA,MAAa,uBACX,uBAAS,4/EAA4/E,CAAC,8BAA8B,CAAC;;;;;AA0CviF,MAAa,wBACX,0BAAY,sBAAsB,CAAC;;;;;AAsGrC,MAAa,oBACX,0BAAY,sBAAsB,CAAC;;;;;AA4DrC,MAAa,yBACX,0BAAY,sBAAsB,CAAC;;;;;AAcrC,MAAa,0BACX,0BAAY,sBAAsB,CAAC;;;;;AAmCrC,MAAa,2BACX,0BAAY,sBAAsB,CAAC;;;;;AA2BrC,MAAa,6BACX,0BAAY,sBAAsB,CAAC;;;;;AAerC,MAAa,kCACX,0BAAY,sBAAsB,CAAC;;;;;AAqBrC,MAAa,mCACX,0BAAY,sBAAsB,CAAC;;;;;AAcrC,MAAa,uCACX,0BAAY,sBAAsB,CAAC;;;;;AAmCrC,MAAa,wCACX,0BAAY,sBAAsB,CAAC;;;;;AA2BrC,MAAa,sCACX,0BAAY,sBAAsB,EAAE;;;;;;AAOtC,IAAY,mBAAL,yBAAA,kBAAA;;;;;;CAML,iBAAA,iBAAA,yBAAA,KAAA;;;;;;CAOA,iBAAA,iBAAA,2BAAA,KAAA;;;;;;CAOA,iBAAA,iBAAA,4BAAA,KAAA;;;;;;CAOA,iBAAA,iBAAA,yBAAA,KAAA;;;;;;CAOA,iBAAA,iBAAA,gCAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,yBACX,uBAAS,sBAAsB,CAAC;;;;;;AAOlC,MAAa,iBAwDX,0BAAY,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"profile_pb.js","names":[],"sources":["../../../../src/gen/auth/v1/profile_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file auth/v1/profile.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 { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file auth/v1/profile.proto.\n */\nexport const file_auth_v1_profile: GenFile = /*@__PURE__*/\n fileDesc(\"ChVhdXRoL3YxL3Byb2ZpbGUucHJvdG8SB2F1dGgudjEidQoPQWNjb3VudElkZW50aXR5EhIKCmFjY291bnRfaWQYASABKAYSEgoIdXNlcm5hbWUYAiABKAlCABIUCgphdmF0YXJfdXJsGAMgASgJQgASJAoacm9vdF9zbWFydF9hY2NvdW50X2FkZHJlc3MYBCABKAlCACLtAgoLVXNlclByb2ZpbGUSEgoIdXNlcm5hbWUYASABKAlCABINCgNiaW8YAiABKAlCABIRCgd3ZWJzaXRlGAMgASgJQgASEQoHdHdpdHRlchgEIAEoCUIAEhgKEHR3aXR0ZXJfdmVyaWZpZWQYCCABKAgSEQoHZGlzY29yZBgJIAEoCUIAEhgKEGRpc2NvcmRfdmVyaWZpZWQYCiABKAgSFAoKYXZhdGFyX3VybBgFIAEoCUIAEi4KCmNyZWF0ZWRfYXQYDCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjsKF25leHRfdXNlcm5hbWVfY2hhbmdlX2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VzZXJuYW1lUmVxdWVzdBIVCgtvZmZlcl90b2tlbhgBIAEoCUIAEhYKDG9wdGlvbl9pbmRleBgCIAEoDUIAKpsBChBQcm9maWxlRXJyb3JDb2RlEhcKE1BST0ZJTEVfVU5TUEVDSUZJRUQQABIZChVQUk9GSUxFX0lOVkFMSURfRklFTEQQARIaChZQUk9GSUxFX0ZJRUxEX1RPT19MT05HEAISFwoTUFJPRklMRV9VUkxfSU5WQUxJRBADEh4KGlBST0ZJTEVfVVJMX1NDSEVNRV9JTlZBTElEEAQywQMKDlByb2ZpbGVTZXJ2aWNlEkAKCkdldFByb2ZpbGUSGi5hdXRoLnYxLkdldFByb2ZpbGVSZXF1ZXN0GhQuYXV0aC52MS5Vc2VyUHJvZmlsZSIAEkIKDVVwZGF0ZVByb2ZpbGUSGS5hdXRoLnYxLlVzZXJQcm9maWxlUGF0Y2gaFC5hdXRoLnYxLlVzZXJQcm9maWxlIgASXwoSR2V0VXNlcm5hbWVIaXN0b3J5EiIuYXV0aC52MS5HZXRVc2VybmFtZUhpc3RvcnlSZXF1ZXN0GiMuYXV0aC52MS5HZXRVc2VybmFtZUhpc3RvcnlSZXNwb25zZSIAEm4KF0dlbmVyYXRlVXNlcm5hbWVPcHRpb25zEicuYXV0aC52MS5HZW5lcmF0ZVVzZXJuYW1lT3B0aW9uc1JlcXVlc3QaKC5hdXRoLnYxLkdlbmVyYXRlVXNlcm5hbWVPcHRpb25zUmVzcG9uc2UiABJYChZDbGFpbUdlbmVyYXRlZFVzZXJuYW1lEiYuYXV0aC52MS5DbGFpbUdlbmVyYXRlZFVzZXJuYW1lUmVxdWVzdBoULmF1dGgudjEuVXNlclByb2ZpbGUiAEI8WjpnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2F1dGgvdjE7YXV0aHYxYgZwcm90bzM=\", [file_google_protobuf_timestamp]);\n\n/**\n * AccountIdentity is a lightweight identity view for a root account.\n *\n * @generated from message auth.v1.AccountIdentity\n */\nexport type AccountIdentity = Message<\"auth.v1.AccountIdentity\"> & {\n /**\n * Root account identifier (opaque ID).\n *\n * @generated from field: fixed64 account_id = 1;\n */\n accountId: bigint;\n\n /**\n * Current username for the root account (unique, case-insensitive). Empty\n * means no username set.\n *\n * @generated from field: string username = 2;\n */\n username: string;\n\n /**\n * Avatar URL, if set. Maximum length is 256 characters.\n *\n * @generated from field: string avatar_url = 3;\n */\n avatarUrl: string;\n\n /**\n * Root smart-account EVM address. Useful as a stable identity fallback.\n *\n * @generated from field: string root_smart_account_address = 4;\n */\n rootSmartAccountAddress: string;\n};\n\n/**\n * Describes the message auth.v1.AccountIdentity.\n * Use `create(AccountIdentitySchema)` to create a new message.\n */\nexport const AccountIdentitySchema: GenMessage<AccountIdentity> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 0);\n\n/**\n * UserProfile is the caller's public profile and account metadata.\n *\n * @generated from message auth.v1.UserProfile\n */\nexport type UserProfile = Message<\"auth.v1.UserProfile\"> & {\n /**\n * Public username for the root account. Usernames are unique\n * case-insensitively and use 3 to 32 letters, digits, underscores, dots, or\n * hyphens. Empty means no username is set.\n *\n * @generated from field: string username = 1;\n */\n username: string;\n\n /**\n * Short public bio. Maximum length is 256 characters.\n *\n * @generated from field: string bio = 2;\n */\n bio: string;\n\n /**\n * Public website URL, if set. Maximum length is 256 characters.\n *\n * @generated from field: string website = 3;\n */\n website: string;\n\n /**\n * X/Twitter handle without \"@\". Maximum length is 15 characters.\n *\n * @generated from field: string twitter = 4;\n */\n twitter: string;\n\n /**\n * Whether the X/Twitter handle for this account has been verified.\n *\n * @generated from field: bool twitter_verified = 8;\n */\n twitterVerified: boolean;\n\n /**\n * Discord handle or username without \"@\". Maximum length is 64 characters.\n *\n * @generated from field: string discord = 9;\n */\n discord: string;\n\n /**\n * Whether the Discord handle for this account has been verified.\n *\n * @generated from field: bool discord_verified = 10;\n */\n discordVerified: boolean;\n\n /**\n * Avatar URL, if set. Maximum length is 256 characters.\n *\n * @generated from field: string avatar_url = 5;\n */\n avatarUrl: string;\n\n /**\n * Account creation time in UTC. This is the canonical \"member since\"\n * timestamp.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 12;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * Next time in UTC when the username can be changed again. Omitted when no\n * cooldown applies.\n *\n * @generated from field: google.protobuf.Timestamp next_username_change_at = 6;\n */\n nextUsernameChangeAt?: Timestamp | undefined;\n\n /**\n * Current VIP tier for this root account. A value of 0 is the base tier.\n * Read-only.\n *\n * @generated from field: int32 vip_tier = 7;\n */\n vipTier: number;\n\n /**\n * Whether this account is currently allowed to claim/change a username.\n *\n * @generated from field: bool username_unlocked = 11;\n */\n usernameUnlocked: boolean;\n\n /**\n * Whether the caller's root account explicitly accepted the currently required terms.\n * False for new or existing accounts without current acceptance.\n *\n * @generated from field: bool current_terms_accepted = 13;\n */\n currentTermsAccepted: boolean;\n};\n\n/**\n * Describes the message auth.v1.UserProfile.\n * Use `create(UserProfileSchema)` to create a new message.\n */\nexport const UserProfileSchema: GenMessage<UserProfile> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 1);\n\n/**\n * UserProfilePatch is a partial profile update. Fields are\n * optional/presence-aware:\n * - if a field is omitted, it is not modified\n * - if a field is present with an empty string, it is cleared\n * Username changes are subject to account eligibility, reserved-name checks,\n * uniqueness, and cooldown rules. Case-only username changes update display\n * casing without consuming the cooldown.\n *\n * @generated from message auth.v1.UserProfilePatch\n */\nexport type UserProfilePatch = Message<\"auth.v1.UserProfilePatch\"> & {\n /**\n * Public username for the root account. Use an empty string to clear it.\n * Non-empty values must be 3 to 32 letters, digits, underscores, dots, or\n * hyphens.\n *\n * @generated from field: optional string username = 1;\n */\n username?: string | undefined;\n\n /**\n * Short public bio. Use an empty string to clear it. Non-empty values must be\n * at most 256 characters and cannot contain \"<\" or \">\".\n *\n * @generated from field: optional string bio = 2;\n */\n bio?: string | undefined;\n\n /**\n * Public website URL. Use an empty string to clear it. Non-empty values must\n * be valid http(s) URLs up to 256 characters.\n *\n * @generated from field: optional string website = 3;\n */\n website?: string | undefined;\n\n /**\n * X/Twitter handle without \"@\". Use an empty string to clear it. Non-empty\n * values must be 1 to 15 letters, digits, or underscores.\n *\n * @generated from field: optional string twitter = 4;\n */\n twitter?: string | undefined;\n\n /**\n * Avatar URL. Use an empty string to clear it. Non-empty values must be valid\n * http(s) URLs up to 256 characters.\n *\n * @generated from field: optional string avatar_url = 5;\n */\n avatarUrl?: string | undefined;\n};\n\n/**\n * Describes the message auth.v1.UserProfilePatch.\n * Use `create(UserProfilePatchSchema)` to create a new message.\n */\nexport const UserProfilePatchSchema: GenMessage<UserProfilePatch> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 2);\n\n/**\n * GetProfileRequest fetches the authenticated caller's profile.\n *\n * @generated from message auth.v1.GetProfileRequest\n */\nexport type GetProfileRequest = Message<\"auth.v1.GetProfileRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.GetProfileRequest.\n * Use `create(GetProfileRequestSchema)` to create a new message.\n */\nexport const GetProfileRequestSchema: GenMessage<GetProfileRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 3);\n\n/**\n * ProfileErrorDetail describes a profile validation failure returned by the API.\n *\n * @generated from message auth.v1.ProfileErrorDetail\n */\nexport type ProfileErrorDetail = Message<\"auth.v1.ProfileErrorDetail\"> & {\n /**\n * Stable machine-readable profile error code.\n *\n * @generated from field: auth.v1.ProfileErrorCode code = 1;\n */\n code: ProfileErrorCode;\n\n /**\n * Field name associated with the error, such as \"bio\", \"website\", \"twitter\",\n * or \"avatar_url\".\n *\n * @generated from field: string field = 2;\n */\n field: string;\n\n /**\n * Human-friendly message for UI/debugging.\n *\n * @generated from field: string message = 3;\n */\n message: string;\n};\n\n/**\n * Describes the message auth.v1.ProfileErrorDetail.\n * Use `create(ProfileErrorDetailSchema)` to create a new message.\n */\nexport const ProfileErrorDetailSchema: GenMessage<ProfileErrorDetail> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 4);\n\n/**\n * UsernameHistoryEntry records a previous username claim for the caller.\n *\n * @generated from message auth.v1.UsernameHistoryEntry\n */\nexport type UsernameHistoryEntry = Message<\"auth.v1.UsernameHistoryEntry\"> & {\n /**\n * Username value that was set.\n *\n * @generated from field: string username = 1;\n */\n username: string;\n\n /**\n * Time in UTC when this username was set.\n *\n * @generated from field: google.protobuf.Timestamp set_at = 2;\n */\n setAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.UsernameHistoryEntry.\n * Use `create(UsernameHistoryEntrySchema)` to create a new message.\n */\nexport const UsernameHistoryEntrySchema: GenMessage<UsernameHistoryEntry> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 5);\n\n/**\n * GetUsernameHistoryRequest fetches recent username changes for the\n * authenticated caller.\n *\n * @generated from message auth.v1.GetUsernameHistoryRequest\n */\nexport type GetUsernameHistoryRequest = Message<\"auth.v1.GetUsernameHistoryRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.GetUsernameHistoryRequest.\n * Use `create(GetUsernameHistoryRequestSchema)` to create a new message.\n */\nexport const GetUsernameHistoryRequestSchema: GenMessage<GetUsernameHistoryRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 6);\n\n/**\n * GetUsernameHistoryResponse contains the caller's recent username history,\n * newest first. At most 20 entries are returned.\n *\n * @generated from message auth.v1.GetUsernameHistoryResponse\n */\nexport type GetUsernameHistoryResponse = Message<\"auth.v1.GetUsernameHistoryResponse\"> & {\n /**\n * Recent username history entries, newest first.\n *\n * @generated from field: repeated auth.v1.UsernameHistoryEntry history = 1;\n */\n history: UsernameHistoryEntry[];\n};\n\n/**\n * Describes the message auth.v1.GetUsernameHistoryResponse.\n * Use `create(GetUsernameHistoryResponseSchema)` to create a new message.\n */\nexport const GetUsernameHistoryResponseSchema: GenMessage<GetUsernameHistoryResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 7);\n\n/**\n * GenerateUsernameOptionsRequest requests a fresh set of generated usernames.\n *\n * @generated from message auth.v1.GenerateUsernameOptionsRequest\n */\nexport type GenerateUsernameOptionsRequest = Message<\"auth.v1.GenerateUsernameOptionsRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.GenerateUsernameOptionsRequest.\n * Use `create(GenerateUsernameOptionsRequestSchema)` to create a new message.\n */\nexport const GenerateUsernameOptionsRequestSchema: GenMessage<GenerateUsernameOptionsRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 8);\n\n/**\n * GenerateUsernameOptionsResponse contains five generated usernames that the\n * caller may claim before the offer expires.\n *\n * @generated from message auth.v1.GenerateUsernameOptionsResponse\n */\nexport type GenerateUsernameOptionsResponse = Message<\"auth.v1.GenerateUsernameOptionsResponse\"> & {\n /**\n * Five distinct generated usernames available when this offer was created.\n *\n * @generated from field: repeated string usernames = 1;\n */\n usernames: string[];\n\n /**\n * Opaque proof required to claim one of the returned usernames.\n *\n * @generated from field: string offer_token = 2;\n */\n offerToken: string;\n\n /**\n * Time in UTC after which this offer can no longer be claimed.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 3;\n */\n expiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.GenerateUsernameOptionsResponse.\n * Use `create(GenerateUsernameOptionsResponseSchema)` to create a new message.\n */\nexport const GenerateUsernameOptionsResponseSchema: GenMessage<GenerateUsernameOptionsResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 9);\n\n/**\n * ClaimGeneratedUsernameRequest selects one username from a generated offer.\n *\n * @generated from message auth.v1.ClaimGeneratedUsernameRequest\n */\nexport type ClaimGeneratedUsernameRequest = Message<\"auth.v1.ClaimGeneratedUsernameRequest\"> & {\n /**\n * Opaque proof returned with the generated username options.\n *\n * @generated from field: string offer_token = 1;\n */\n offerToken: string;\n\n /**\n * Zero-based position in the five returned username options.\n *\n * @generated from field: uint32 option_index = 2;\n */\n optionIndex: number;\n};\n\n/**\n * Describes the message auth.v1.ClaimGeneratedUsernameRequest.\n * Use `create(ClaimGeneratedUsernameRequestSchema)` to create a new message.\n */\nexport const ClaimGeneratedUsernameRequestSchema: GenMessage<ClaimGeneratedUsernameRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 10);\n\n/**\n * High-level error codes for profile domain errors (ProfileService).\n *\n * @generated from enum auth.v1.ProfileErrorCode\n */\nexport enum ProfileErrorCode {\n /**\n * No profile error code specified.\n *\n * @generated from enum value: PROFILE_UNSPECIFIED = 0;\n */\n PROFILE_UNSPECIFIED = 0,\n\n /**\n * Generic invalid field (format/characters).\n *\n * @generated from enum value: PROFILE_INVALID_FIELD = 1;\n */\n PROFILE_INVALID_FIELD = 1,\n\n /**\n * Field exceeds configured max length.\n *\n * @generated from enum value: PROFILE_FIELD_TOO_LONG = 2;\n */\n PROFILE_FIELD_TOO_LONG = 2,\n\n /**\n * URL is syntactically invalid.\n *\n * @generated from enum value: PROFILE_URL_INVALID = 3;\n */\n PROFILE_URL_INVALID = 3,\n\n /**\n * URL scheme is not allowed (e.g., non-http(s)).\n *\n * @generated from enum value: PROFILE_URL_SCHEME_INVALID = 4;\n */\n PROFILE_URL_SCHEME_INVALID = 4,\n}\n\n/**\n * Describes the enum auth.v1.ProfileErrorCode.\n */\nexport const ProfileErrorCodeSchema: GenEnum<ProfileErrorCode> = /*@__PURE__*/\n enumDesc(file_auth_v1_profile, 0);\n\n/**\n * ProfileService manages the authenticated caller's public profile.\n *\n * @generated from service auth.v1.ProfileService\n */\nexport const ProfileService: GenService<{\n /**\n * Get the caller's profile.\n *\n * @generated from rpc auth.v1.ProfileService.GetProfile\n */\n getProfile: {\n methodKind: \"unary\";\n input: typeof GetProfileRequestSchema;\n output: typeof UserProfileSchema;\n },\n /**\n * Update the caller's mutable profile fields. Omitted fields are unchanged;\n * present empty strings clear optional text fields.\n *\n * @generated from rpc auth.v1.ProfileService.UpdateProfile\n */\n updateProfile: {\n methodKind: \"unary\";\n input: typeof UserProfilePatchSchema;\n output: typeof UserProfileSchema;\n },\n /**\n * Get recent username history for the caller, newest first. Returns at most\n * 20 entries.\n *\n * @generated from rpc auth.v1.ProfileService.GetUsernameHistory\n */\n getUsernameHistory: {\n methodKind: \"unary\";\n input: typeof GetUsernameHistoryRequestSchema;\n output: typeof GetUsernameHistoryResponseSchema;\n },\n /**\n * Generate five random username options for an account that has never\n * claimed a username. Calling this method again returns a fresh set.\n *\n * @generated from rpc auth.v1.ProfileService.GenerateUsernameOptions\n */\n generateUsernameOptions: {\n methodKind: \"unary\";\n input: typeof GenerateUsernameOptionsRequestSchema;\n output: typeof GenerateUsernameOptionsResponseSchema;\n },\n /**\n * Claim one username by its position in a valid generated offer. The\n * selected value comes from the offer and cannot be supplied directly.\n *\n * @generated from rpc auth.v1.ProfileService.ClaimGeneratedUsername\n */\n claimGeneratedUsername: {\n methodKind: \"unary\";\n input: typeof ClaimGeneratedUsernameRequestSchema;\n output: typeof UserProfileSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_auth_v1_profile, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAaA,MAAa,uBACX,uBAAS,wiFAAwiF,CAAC,8BAA8B,CAAC;;;;;AA0CnlF,MAAa,wBACX,0BAAY,sBAAsB,CAAC;;;;;AA8GrC,MAAa,oBACX,0BAAY,sBAAsB,CAAC;;;;;AA4DrC,MAAa,yBACX,0BAAY,sBAAsB,CAAC;;;;;AAcrC,MAAa,0BACX,0BAAY,sBAAsB,CAAC;;;;;AAmCrC,MAAa,2BACX,0BAAY,sBAAsB,CAAC;;;;;AA2BrC,MAAa,6BACX,0BAAY,sBAAsB,CAAC;;;;;AAerC,MAAa,kCACX,0BAAY,sBAAsB,CAAC;;;;;AAqBrC,MAAa,mCACX,0BAAY,sBAAsB,CAAC;;;;;AAcrC,MAAa,uCACX,0BAAY,sBAAsB,CAAC;;;;;AAmCrC,MAAa,wCACX,0BAAY,sBAAsB,CAAC;;;;;AA2BrC,MAAa,sCACX,0BAAY,sBAAsB,EAAE;;;;;;AAOtC,IAAY,mBAAL,yBAAA,kBAAA;;;;;;CAML,iBAAA,iBAAA,yBAAA,KAAA;;;;;;CAOA,iBAAA,iBAAA,2BAAA,KAAA;;;;;;CAOA,iBAAA,iBAAA,4BAAA,KAAA;;;;;;CAOA,iBAAA,iBAAA,yBAAA,KAAA;;;;;;CAOA,iBAAA,iBAAA,gCAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,yBACX,uBAAS,sBAAsB,CAAC;;;;;;AAOlC,MAAa,iBAwDX,0BAAY,sBAAsB,CAAC"}
|
|
@@ -28,8 +28,8 @@ type SocialVerification = Message<"auth.v1.SocialVerification"> & {
|
|
|
28
28
|
*/
|
|
29
29
|
provider: SocialProvider;
|
|
30
30
|
/**
|
|
31
|
-
* Method used for this verification. If unspecified at start time,
|
|
32
|
-
*
|
|
31
|
+
* Method used for this verification. If unspecified at start time, the
|
|
32
|
+
* provider default is used.
|
|
33
33
|
*
|
|
34
34
|
* @generated from field: auth.v1.SocialVerificationMethod method = 11;
|
|
35
35
|
*/
|
|
@@ -48,8 +48,9 @@ type SocialVerification = Message<"auth.v1.SocialVerification"> & {
|
|
|
48
48
|
*/
|
|
49
49
|
providerUserId: string;
|
|
50
50
|
/**
|
|
51
|
-
* Challenge code the user must
|
|
52
|
-
*
|
|
51
|
+
* Challenge code the user must submit according to the verification method.
|
|
52
|
+
* Discord codes are returned only when a challenge is issued. Codes expire
|
|
53
|
+
* after 15 minutes.
|
|
53
54
|
*
|
|
54
55
|
* @generated from field: string challenge_code = 13;
|
|
55
56
|
*/
|
|
@@ -117,15 +118,16 @@ type StartSocialVerificationRequest = Message<"auth.v1.StartSocialVerificationRe
|
|
|
117
118
|
*/
|
|
118
119
|
provider: SocialProvider;
|
|
119
120
|
/**
|
|
120
|
-
* Verification method. If unspecified, profile verification is used
|
|
121
|
+
* Verification method. If unspecified, profile verification is used for
|
|
122
|
+
* X/Twitter and channel verification is used for Discord.
|
|
121
123
|
*
|
|
122
124
|
* @generated from field: auth.v1.SocialVerificationMethod method = 3;
|
|
123
125
|
*/
|
|
124
126
|
method: SocialVerificationMethod;
|
|
125
127
|
/**
|
|
126
|
-
* Provider handle the user claims.
|
|
127
|
-
*
|
|
128
|
-
*
|
|
128
|
+
* Provider handle the user claims. Required for X/Twitter and omitted for
|
|
129
|
+
* Discord, where the authenticated bot supplies the provider identity.
|
|
130
|
+
* A leading "@" is accepted and removed from X/Twitter handles.
|
|
129
131
|
*
|
|
130
132
|
* @generated from field: string handle = 2;
|
|
131
133
|
*/
|
|
@@ -143,7 +145,8 @@ declare const StartSocialVerificationRequestSchema: GenMessage<StartSocialVerifi
|
|
|
143
145
|
*/
|
|
144
146
|
type StartSocialVerificationResponse = Message<"auth.v1.StartSocialVerificationResponse"> & {
|
|
145
147
|
/**
|
|
146
|
-
*
|
|
148
|
+
* Newly issued challenge code the user must submit according to the
|
|
149
|
+
* verification method.
|
|
147
150
|
*
|
|
148
151
|
* @generated from field: string challenge_code = 1;
|
|
149
152
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"social_verification_pb.d.ts","names":[],"sources":["../../../../src/gen/auth/v1/social_verification_pb.ts"],"mappings":";;;;;;;;;cAaa,kCAAkC;;;;;;;KASnC,qBAAqB;;;;;;EAM/B;;;;;;EAOA,UAAU;;;;;;;EAQV,QAAQ;;;;;;;EAQR;;;;;;EAOA
|
|
1
|
+
{"version":3,"file":"social_verification_pb.d.ts","names":[],"sources":["../../../../src/gen/auth/v1/social_verification_pb.ts"],"mappings":";;;;;;;;;cAaa,kCAAkC;;;;;;;KASnC,qBAAqB;;;;;;EAM/B;;;;;;EAOA,UAAU;;;;;;;EAQV,QAAQ;;;;;;;EAQR;;;;;;EAOA;;;;;;;;EASA;;;;;;EAOA,QAAQ;;;;;;EAOR,cAAc;;;;;;EAOd,YAAY;;;;;;EAOZ,aAAa;;;;;;EAOb;;;;;;;EAQA;;;;;;EAOA,YAAY;;;;;;cAOD,0BAA0B,WAAW;;;;;;;KAStC,iCAAiC;;;;;;EAM3C,UAAU;;;;;;;EAQV,QAAQ;;;;;;;;EASR;;;;;;cAOW,sCAAsC,WAAW;;;;;;KAQlD,kCAAkC;;;;;;;EAO5C;;;;;;;EAQA,YAAY;;;;;;EAOZ,eAAe;;;;;;cAOJ,uCAAuC,WAAW;;;;;;;KASnD,iCAAiC;;;;;;EAM3C,UAAU;;;;;;cAOC,sCAAsC,WAAW;;;;;;;KASlD,kCAAkC;;;;;;EAM5C,eAAe;;;;;;cAOJ,uCAAuC,WAAW;;;;;;;KASnD,+BAA+B;;;;;;EAMzC,UAAU;;;;;;cAOC,oCAAoC,WAAW;;;;;;;;KAUhD,gCAAgC;;;;;;;EAO1C,eAAe;;;;;;cAOJ,qCAAqC,WAAW;;;;;;aAQjD;;;;;;EAMV;;;;;;EAOA;;;;;;EAOA;;;;;cAMW,sBAAsB,QAAQ;;;;;;aAQ/B;;;;;;EAMV;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;cAMW,gCAAgC,QAAQ;;;;;;aAQzC;;;;;;EAMV;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;cAMW,gCAAgC,QAAQ;;;;;;cAQxC,2BAA2B;;;;;;EAMtC;IACE;IACA,cAAc;IACd,eAAe;;;;;;;EAOjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;EAOjB;IACE;IACA,cAAc;IACd,eAAe"}
|
|
@@ -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 { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\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(\"CiFhdXRoL3YxL3NvY2lhbF92ZXJpZmljYXRpb24ucHJvdG8SB2F1dGgudjEi3AMKElNvY2lhbFZlcmlmaWNhdGlvbhIKCgJpZBgMIAEoAxIpCghwcm92aWRlchgBIAEoDjIXLmF1dGgudjEuU29jaWFsUHJvdmlkZXISMQoGbWV0aG9kGAsgASgOMiEuYXV0aC52MS5Tb2NpYWxWZXJpZmljYXRpb25NZXRob2QSDgoGaGFuZGxlGAIgASgJEhgKEHByb3ZpZGVyX3VzZXJfaWQYAyABKAkSFgoOY2hhbGxlbmdlX2NvZGUYDSABKAkSMQoGc3RhdHVzGAQgASgOMiEuYXV0aC52MS5Tb2NpYWxWZXJpZmljYXRpb25TdGF0dXMSMAoMcmVxdWVzdGVkX2F0GAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgpleHBpcmVzX2F0GAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIvCgt2ZXJpZmllZF9hdBgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASEAoIYXR0ZW1wdHMYCSABKAUSEgoKbGFzdF9lcnJvchgKIAEoCRIuCgp1cGRhdGVkX2F0GA8gASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCKWAQoeU3RhcnRTb2NpYWxWZXJpZmljYXRpb25SZXF1ZXN0EisKCHByb3ZpZGVyGAEgASgOMhcuYXV0aC52MS5Tb2NpYWxQcm92aWRlckIAEjMKBm1ldGhvZBgDIAEoDjIhLmF1dGgudjEuU29jaWFsV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ppChhTb2NpYWxWZXJpZmljYXRpb25NZXRob2QSFgoSTUVUSE9EX1VOU1BFQ0lGSUVEEAASEgoOTUVUSE9EX1BST0ZJTEUQARISCg5NRVRIT0RfQ0hBTk5FTBACEg0KCU1FVEhPRF9ETRADMuUCChlTb2NpYWxWZXJpZmljYXRpb25TZXJ2aWNlEm4KF1N0YXJ0U29jaWFsVmVyaWZpY2F0aW9uEicuYXV0aC52MS5TdGFydFNvY2lhbFZlcmlmaWNhdGlvblJlcXVlc3QaKC5hdXRoLnYxLlN0YXJ0U29jaWFsVmVyaWZpY2F0aW9uUmVzcG9uc2UiABJuChdTb2NpYWxWZXJpZmljYXRpb25SZWFkeRInLmF1dGgudjEuU29jaWFsVmVyaWZpY2F0aW9uUmVhZHlSZXF1ZXN0GiguYXV0aC52MS5Tb2NpYWxWZXJpZmljYXRpb25SZWFkeVJlc3BvbnNlIgASaAoVR2V0U29jaWFsVmVyaWZpY2F0aW9uEiUuYXV0aC52MS5HZXRTb2NpYWxWZXJpZmljYXRpb25SZXF1ZXN0GiYuYXV0aC52MS5HZXRTb2NpYWxWZXJpZmljYXRpb25SZXNwb25zZSIAQjxaOmdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vYXV0aC92MTthdXRodjFiBnByb3RvMw==\", [file_google_protobuf_timestamp]);\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, profile\n * verification 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 place according to the verification method.\n * Codes start with \"poly_\" and 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 * 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.\n *\n * @generated from field: auth.v1.SocialVerificationMethod method = 3;\n */\n method: SocialVerificationMethod;\n\n /**\n * Provider handle the user claims. A leading \"@\" is accepted and removed.\n * X/Twitter handles must be 1 to 15 letters, digits, or underscores.\n * Other provider handles can be up to 64 characters.\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 * Challenge code the user must place according to the 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 *\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 *\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":";;;;;;;;;;;;;;;;;;;;;;;;AAaA,MAAa,mCACX,uBAAS,olFAAolF,CAAC,8BAA8B,CAAC;;;;;AA6G/nF,MAAa,2BACX,0BAAY,kCAAkC,CAAC;;;;;AAqCjD,MAAa,uCACX,0BAAY,kCAAkC,CAAC;;;;;AAmCjD,MAAa,wCACX,0BAAY,kCAAkC,CAAC;;;;;AAqBjD,MAAa,uCACX,0BAAY,kCAAkC,CAAC;;;;;AAqBjD,MAAa,wCACX,0BAAY,kCAAkC,CAAC;;;;;AAqBjD,MAAa,qCACX,0BAAY,kCAAkC,CAAC;;;;;AAuBjD,MAAa,sCACX,0BAAY,kCAAkC,CAAC;;;;;;AAOjD,IAAY,iBAAL,yBAAA,gBAAA;;;;;;CAML,eAAA,eAAA,0BAAA,KAAA;;;;;;CAOA,eAAA,eAAA,aAAA,KAAA;;;;;;CAOA,eAAA,eAAA,aAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,uBACX,uBAAS,kCAAkC,CAAC;;;;;;AAO9C,IAAY,2BAAL,yBAAA,0BAAA;;;;;;CAML,yBAAA,yBAAA,wBAAA,KAAA;;;;;;CAOA,yBAAA,yBAAA,gCAAA,KAAA;;;;;;CAOA,yBAAA,yBAAA,mBAAA,KAAA;;;;;;CAOA,yBAAA,yBAAA,wBAAA,KAAA;;;;;;CAOA,yBAAA,yBAAA,qBAAA,KAAA;;;;;;CAOA,yBAAA,yBAAA,mBAAA,KAAA;;;;;;CAOA,yBAAA,yBAAA,oBAAA,KAAA;;;;;;CAOA,yBAAA,yBAAA,sBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,iCACX,uBAAS,kCAAkC,CAAC;;;;;;AAO9C,IAAY,2BAAL,yBAAA,0BAAA;;;;;;CAML,yBAAA,yBAAA,wBAAA,KAAA;;;;;;CAOA,yBAAA,yBAAA,oBAAA,KAAA;;;;;;CAOA,yBAAA,yBAAA,oBAAA,KAAA;;;;;;CAOA,yBAAA,yBAAA,eAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,iCACX,uBAAS,kCAAkC,CAAC;;;;;;AAO9C,MAAa,4BAgCX,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 { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\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(\"CiFhdXRoL3YxL3NvY2lhbF92ZXJpZmljYXRpb24ucHJvdG8SB2F1dGgudjEi3AMKElNvY2lhbFZlcmlmaWNhdGlvbhIKCgJpZBgMIAEoAxIpCghwcm92aWRlchgBIAEoDjIXLmF1dGgudjEuU29jaWFsUHJvdmlkZXISMQoGbWV0aG9kGAsgASgOMiEuYXV0aC52MS5Tb2NpYWxWZXJpZmljYXRpb25NZXRob2QSDgoGaGFuZGxlGAIgASgJEhgKEHByb3ZpZGVyX3VzZX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WFsVmVyaWZpY2F0aW9uEiUuYXV0aC52MS5HZXRTb2NpYWxWZXJpZmljYXRpb25SZXF1ZXN0GiYuYXV0aC52MS5HZXRTb2NpYWxWZXJpZmljYXRpb25SZXNwb25zZSIAQjxaOmdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vYXV0aC92MTthdXRodjFiBnByb3RvMw==\", [file_google_protobuf_timestamp]);\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 * 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 *\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 *\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":";;;;;;;;;;;;;;;;;;;;;;;;AAaA,MAAa,mCACX,uBAAS,olFAAolF,CAAC,8BAA8B,CAAC;;;;;AA8G/nF,MAAa,2BACX,0BAAY,kCAAkC,CAAC;;;;;AAsCjD,MAAa,uCACX,0BAAY,kCAAkC,CAAC;;;;;AAoCjD,MAAa,wCACX,0BAAY,kCAAkC,CAAC;;;;;AAqBjD,MAAa,uCACX,0BAAY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
/**
|
|
1791
|
-
* Create a new sub-account under the caller's root account.
|
|
1791
|
+
* Create a new sub-account under the caller's root account. Requires current
|
|
1792
|
+
* terms acceptance; otherwise FailedPrecondition with AUTH_TERMS_NOT_ACCEPTED
|
|
1793
|
+
* is returned.
|
|
1792
1794
|
*
|
|
1793
1795
|
* @generated from rpc auth.v1.SubaccountService.CreateSubaccount
|
|
1794
1796
|
*/
|
|
@@ -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;;;;;;EAMrC,MAAM;;;;;;EAON;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA,aAAa;;;;;;cAOF,gCAAgC,WAAW;;;;;;KAQ5C,6BAA6B;;;;;cAO5B,kCAAkC,WAAW;;;;;;KAQ9C,8BAA8B;;;;;;EAMxC,aAAa;;;;;;EAOb,OAAO;;;;;;cAOI,mCAAmC,WAAW;;;;;;KAQ/C,2CAA2C;;;;;;EAMrD;;;;;;cAOW,gDAAgD,WAAW;;;;;;KAQ5D,4CAA4C;;;;;;EAMtD,MAAM;;;;;;;EAQN,aAAa;;;;;;EAOb;;;;;;cAOW,iDAAiD,WAAW;;;;;;KAQ7D,qBAAqB;;;;;;EAM/B;;;;;;EAOA,MAAM;;;;;;cAOK,0BAA0B,WAAW;;;;;;KAQtC,aAAa;;;;;;EAMvB;;;;;;EAOA,MAAM;;;;;;EAON;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA,QAAQ;;;;;;EAOR;;;;;;EAOA;;;;;;EAOA;;;;;;;EAQA;;;;;;;EAQA;;;;;;;;EASA;;;;;;;;EASA;;;;;;;;;EAUA,YAAY;;;;;;EAOZ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