@polyester/sdk 0.26.1 → 0.27.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/dist/account-signer/types.d.ts +3 -1
- package/dist/account-signer/types.d.ts.map +1 -1
- package/dist/account-signer/types.js.map +1 -1
- package/dist/gen/auth/v1/auth_pb.d.ts +30 -21
- package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/auth_pb.js +25 -8
- package/dist/gen/auth/v1/auth_pb.js.map +1 -1
- package/dist/gen/auth/v1/mfa_pb.js +1 -1
- package/dist/gen/auth/v1/mfa_pb.js.map +1 -1
- package/dist/gen/auth/v1/profile_pb.d.ts +2 -2
- package/dist/gen/auth/v1/profile_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/profile_pb.js +2 -1
- package/dist/gen/auth/v1/profile_pb.js.map +1 -1
- package/dist/gen/auth/v1/resolve_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/resolve_pb.js +2 -1
- package/dist/gen/auth/v1/resolve_pb.js.map +1 -1
- package/dist/gen/auth/v1/social_verification_pb.d.ts +3 -0
- package/dist/gen/auth/v1/social_verification_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/social_verification_pb.js +2 -1
- package/dist/gen/auth/v1/social_verification_pb.js.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.d.ts +90 -10
- package/dist/gen/auth/v1/subaccounts_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.js +40 -28
- package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
- package/dist/gen/claims/v1/claims_pb.d.ts +108 -2
- package/dist/gen/claims/v1/claims_pb.d.ts.map +1 -1
- package/dist/gen/claims/v1/claims_pb.js +109 -11
- package/dist/gen/claims/v1/claims_pb.js.map +1 -1
- package/dist/gen/index.d.ts +1 -1
- package/dist/gen/index.js +1 -1
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts.map +1 -1
- package/dist/gen/ledger/read/v1/ledger_read_pb.js +6 -1
- package/dist/gen/ledger/read/v1/ledger_read_pb.js.map +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.d.ts +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.d.ts +10 -0
- package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.js +1 -1
- package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
- package/dist/gen/polyester/api/options_pb.d.ts +39 -2
- package/dist/gen/polyester/api/options_pb.d.ts.map +1 -1
- package/dist/gen/polyester/api/options_pb.js +43 -2
- package/dist/gen/polyester/api/options_pb.js.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -2
- package/dist/services/auth/account-signer-auth.d.ts +13 -6
- package/dist/services/auth/account-signer-auth.d.ts.map +1 -1
- package/dist/services/auth/account-signer-auth.js +15 -13
- package/dist/services/auth/account-signer-auth.js.map +1 -1
- package/dist/services/auth/auth.d.ts +6 -4
- package/dist/services/auth/auth.d.ts.map +1 -1
- package/dist/services/auth/auth.js +7 -6
- package/dist/services/auth/auth.js.map +1 -1
- package/dist/services/auth/auth.types.d.ts +2 -2
- package/dist/services/auth/session.schemas.js +1 -0
- package/dist/services/auth/session.schemas.js.map +1 -1
- package/dist/services/auth/session.types.d.ts +1 -1
- package/dist/services/claims/claims.js +1 -1
- package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
- package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
- package/dist/services/orders/orders-output.schemas.d.ts +12 -6
- package/dist/services/orders/orders-output.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-output.schemas.js +2 -0
- package/dist/services/orders/orders-output.schemas.js.map +1 -1
- package/dist/services/subaccounts/index.d.ts +2 -2
- package/dist/services/subaccounts/subaccounts.d.ts +9 -3
- package/dist/services/subaccounts/subaccounts.d.ts.map +1 -1
- package/dist/services/subaccounts/subaccounts.js +13 -3
- package/dist/services/subaccounts/subaccounts.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +21 -2
- package/dist/services/subaccounts/subaccounts.schemas.d.ts.map +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.js +13 -2
- package/dist/services/subaccounts/subaccounts.schemas.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.types.d.ts +2 -2
- package/dist/services/trades/trades.schemas.d.ts +1 -1
- package/dist/services/triggers/trigger-input.schemas.d.ts +1 -1
- package/dist/services/triggers/triggers-output.schemas.d.ts +15 -15
- package/dist/shared/connect-error-mapping.d.ts.map +1 -1
- package/dist/shared/connect-error-mapping.js +6 -4
- package/dist/shared/connect-error-mapping.js.map +1 -1
- package/dist/shared/error-detail.d.ts +12 -8
- package/dist/shared/error-detail.d.ts.map +1 -1
- package/dist/shared/error-detail.js +30 -19
- package/dist/shared/error-detail.js.map +1 -1
- package/dist/shared/errors.d.ts +10 -1
- package/dist/shared/errors.d.ts.map +1 -1
- package/dist/shared/errors.js +12 -1
- package/dist/shared/errors.js.map +1 -1
- package/dist/wired-services.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa_pb.js","names":[],"sources":["../../../../src/gen/auth/v1/mfa_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file auth/v1/mfa.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_struct, file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../polyester/api/options_pb.js\";\nimport type { JsonObject, Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file auth/v1/mfa.proto.\n */\nexport const file_auth_v1_mfa: GenFile = /*@__PURE__*/\n fileDesc(\"ChFhdXRoL3YxL21mYS5wcm90bxIHYXV0aC52MSKkAQoLU2Vzc2lvbkluZm8SFAoKc2Vzc2lvbl9pZBgBIAEoCUIAEi4KDXNlc3Npb25fbGV2ZWwYAiABKA4yFS5hdXRoLnYxLlNlc3Npb25MZXZlbEIAEiAKFmF1dGhlbnRpY2F0aW9uX21ldGhvZHMYAyADKAlCABItCglhdXRoX3RpbWUYBCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wIsIBCglNRkFGYWN0b3ISEwoJZmFjdG9yX2lkGAEgASgJQgASLQoLZmFjdG9yX3R5cGUYAiABKA4yFi5hdXRoLnYxLk1GQUZhY3RvclR5cGVCABIPCgVsYWJlbBgDIAEoCUIAEi4KCmNyZWF0ZWRfYXQYBCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjAKDGxhc3RfdXNlZF9hdBgFIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiFwoVTGlzdE1GQUZhY3RvcnNSZXF1ZXN0IlkKFkxpc3RNRkFGYWN0b3JzUmVzcG9uc2USIwoHZmFjdG9ycxgBIAMoCzISLmF1dGgudjEuTUZBRmFjdG9yEhoKEmhhc19yZWNvdmVyeV9jb2RlcxgCIAEoCCItChpCZWdpblRPVFBFbnJvbGxtZW50UmVxdWVzdBIPCgVsYWJlbBgBIAEoCUIAIo8BChtCZWdpblRPVFBFbnJvbGxtZW50UmVzcG9uc2USFwoNZW5yb2xsbWVudF9pZBgBIAEoCUIAEhAKBnNlY3JldBgCIAEoCUIAEhUKC290cGF1dGhfdXJpGAMgASgJQgASLgoKZXhwaXJlc19hdBgEIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiRgobRmluaXNoVE9UUEVucm9sbG1lbnRSZXF1ZXN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YXV0aC52MS5SZWdlbmVyYXRlUmVjb3ZlcnlDb2Rlc1JlcXVlc3QaKC5hdXRoLnYxLlJlZ2VuZXJhdGVSZWNvdmVyeUNvZGVzUmVzcG9uc2UiABJXChBDbGFpbUZyZXNoU3RlcFVwEiAuYXV0aC52MS5DbGFpbUZyZXNoU3RlcFVwUmVxdWVzdBohLmF1dGgudjEuQ2xhaW1GcmVzaFN0ZXBVcFJlc3BvbnNlEl0KEkNvbnN1bWVGcmVzaFN0ZXBVcBIiLmF1dGgudjEuQ29uc3VtZUZyZXNoU3RlcFVwUmVxdWVzdBojLmF1dGgudjEuQ29uc3VtZUZyZXNoU3RlcFVwUmVzcG9uc2USXQoSUmVsZWFzZUZyZXNoU3RlcFVwEiIuYXV0aC52MS5SZWxlYXNlRnJlc2hTdGVwVXBSZXF1ZXN0GiMuYXV0aC52MS5SZWxlYXNlRnJlc2hTdGVwVXBSZXNwb25zZUI8WjpnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2F1dGgvdjE7YXV0aHYxYgZwcm90bzM=\", [file_google_protobuf_struct, file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * Current assurance details for an interactive session.\n *\n * @generated from message auth.v1.SessionInfo\n */\nexport type SessionInfo = Message<\"auth.v1.SessionInfo\"> & {\n /**\n * Stable session identifier shared by the primary and MFA-elevated tokens.\n *\n * @generated from field: string session_id = 1;\n */\n sessionId: string;\n\n /**\n * Assurance level represented by this session response.\n *\n * @generated from field: auth.v1.SessionLevel session_level = 2;\n */\n sessionLevel: SessionLevel;\n\n /**\n * Authentication methods used for this session state, such as wallet, TOTP, passkey, or recovery code. Maximum 8 unique values.\n *\n * @generated from field: repeated string authentication_methods = 3;\n */\n authenticationMethods: string[];\n\n /**\n * Time when the session was authenticated or elevated.\n *\n * @generated from field: google.protobuf.Timestamp auth_time = 4;\n */\n authTime?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.SessionInfo.\n * Use `create(SessionInfoSchema)` to create a new message.\n */\nexport const SessionInfoSchema: GenMessage<SessionInfo> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 0);\n\n/**\n * Enrolled MFA factor metadata visible to the account owner.\n *\n * @generated from message auth.v1.MFAFactor\n */\nexport type MFAFactor = Message<\"auth.v1.MFAFactor\"> & {\n /**\n * MFA factor identifier. Format: \"mfa_\" followed by 32 lowercase hex characters.\n *\n * @generated from field: string factor_id = 1;\n */\n factorId: string;\n\n /**\n * Type of enrolled factor.\n *\n * @generated from field: auth.v1.MFAFactorType factor_type = 2;\n */\n factorType: MFAFactorType;\n\n /**\n * Human-friendly label for the factor. Empty when no label is set.\n *\n * @generated from field: string label = 3;\n */\n label: string;\n\n /**\n * Time when the factor was enrolled.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 4;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * Time when the factor was last used. Empty if the factor has not been used.\n *\n * @generated from field: google.protobuf.Timestamp last_used_at = 5;\n */\n lastUsedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.MFAFactor.\n * Use `create(MFAFactorSchema)` to create a new message.\n */\nexport const MFAFactorSchema: GenMessage<MFAFactor> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 1);\n\n/**\n * Request to list the caller's MFA factors.\n *\n * @generated from message auth.v1.ListMFAFactorsRequest\n */\nexport type ListMFAFactorsRequest = Message<\"auth.v1.ListMFAFactorsRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.ListMFAFactorsRequest.\n * Use `create(ListMFAFactorsRequestSchema)` to create a new message.\n */\nexport const ListMFAFactorsRequestSchema: GenMessage<ListMFAFactorsRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 2);\n\n/**\n * Response containing the caller's enrolled MFA factors.\n *\n * @generated from message auth.v1.ListMFAFactorsResponse\n */\nexport type ListMFAFactorsResponse = Message<\"auth.v1.ListMFAFactorsResponse\"> & {\n /**\n * Enrolled MFA factors, ordered oldest first.\n *\n * @generated from field: repeated auth.v1.MFAFactor factors = 1;\n */\n factors: MFAFactor[];\n\n /**\n * True when the caller has at least one unused recovery code.\n *\n * @generated from field: bool has_recovery_codes = 2;\n */\n hasRecoveryCodes: boolean;\n};\n\n/**\n * Describes the message auth.v1.ListMFAFactorsResponse.\n * Use `create(ListMFAFactorsResponseSchema)` to create a new message.\n */\nexport const ListMFAFactorsResponseSchema: GenMessage<ListMFAFactorsResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 3);\n\n/**\n * Request to begin authenticator-app enrollment.\n *\n * @generated from message auth.v1.BeginTOTPEnrollmentRequest\n */\nexport type BeginTOTPEnrollmentRequest = Message<\"auth.v1.BeginTOTPEnrollmentRequest\"> & {\n /**\n * Optional human-friendly label. Defaults to \"Authenticator App\" when empty. Maximum 128 characters.\n *\n * @generated from field: string label = 1;\n */\n label: string;\n};\n\n/**\n * Describes the message auth.v1.BeginTOTPEnrollmentRequest.\n * Use `create(BeginTOTPEnrollmentRequestSchema)` to create a new message.\n */\nexport const BeginTOTPEnrollmentRequestSchema: GenMessage<BeginTOTPEnrollmentRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 4);\n\n/**\n * Response containing the authenticator-app enrollment secret.\n *\n * @generated from message auth.v1.BeginTOTPEnrollmentResponse\n */\nexport type BeginTOTPEnrollmentResponse = Message<\"auth.v1.BeginTOTPEnrollmentResponse\"> & {\n /**\n * Enrollment challenge identifier. Format: \"mfa_\" followed by 32 lowercase hex characters.\n *\n * @generated from field: string enrollment_id = 1;\n */\n enrollmentId: string;\n\n /**\n * Shared secret to enter into an authenticator app. Returned only when enrollment begins.\n *\n * @generated from field: string secret = 2;\n */\n secret: string;\n\n /**\n * Authenticator-app setup URI for QR-code display. Returned only when enrollment begins.\n *\n * @generated from field: string otpauth_uri = 3;\n */\n otpauthUri: string;\n\n /**\n * Time when this enrollment challenge expires.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 4;\n */\n expiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.BeginTOTPEnrollmentResponse.\n * Use `create(BeginTOTPEnrollmentResponseSchema)` to create a new message.\n */\nexport const BeginTOTPEnrollmentResponseSchema: GenMessage<BeginTOTPEnrollmentResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 5);\n\n/**\n * Request to finish authenticator-app enrollment.\n *\n * @generated from message auth.v1.FinishTOTPEnrollmentRequest\n */\nexport type FinishTOTPEnrollmentRequest = Message<\"auth.v1.FinishTOTPEnrollmentRequest\"> & {\n /**\n * Enrollment challenge identifier returned by BeginTOTPEnrollment.\n *\n * @generated from field: string enrollment_id = 1;\n */\n enrollmentId: string;\n\n /**\n * Current 6 to 8 digit code from the authenticator app.\n *\n * @generated from field: string code = 2;\n */\n code: string;\n};\n\n/**\n * Describes the message auth.v1.FinishTOTPEnrollmentRequest.\n * Use `create(FinishTOTPEnrollmentRequestSchema)` to create a new message.\n */\nexport const FinishTOTPEnrollmentRequestSchema: GenMessage<FinishTOTPEnrollmentRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 6);\n\n/**\n * Response returned after authenticator-app enrollment succeeds.\n *\n * @generated from message auth.v1.FinishTOTPEnrollmentResponse\n */\nexport type FinishTOTPEnrollmentResponse = Message<\"auth.v1.FinishTOTPEnrollmentResponse\"> & {\n /**\n * Newly enrolled MFA factor.\n *\n * @generated from field: auth.v1.MFAFactor factor = 1;\n */\n factor?: MFAFactor | undefined;\n\n /**\n * One-time recovery codes generated for the account. Store these securely; they are only returned in this response.\n *\n * @generated from field: repeated string recovery_codes = 2;\n */\n recoveryCodes: string[];\n\n /**\n * MFA-elevated session details after successful enrollment.\n *\n * @generated from field: auth.v1.SessionInfo session = 3;\n */\n session?: SessionInfo | undefined;\n\n /**\n * MFA-elevated session token issued after successful enrollment.\n *\n * @generated from field: string access_token = 4;\n */\n accessToken: string;\n\n /**\n * Time when access_token expires.\n *\n * @generated from field: google.protobuf.Timestamp access_token_expires_at = 5;\n */\n accessTokenExpiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.FinishTOTPEnrollmentResponse.\n * Use `create(FinishTOTPEnrollmentResponseSchema)` to create a new message.\n */\nexport const FinishTOTPEnrollmentResponseSchema: GenMessage<FinishTOTPEnrollmentResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 7);\n\n/**\n * Request to begin passkey enrollment.\n *\n * @generated from message auth.v1.BeginPasskeyEnrollmentRequest\n */\nexport type BeginPasskeyEnrollmentRequest = Message<\"auth.v1.BeginPasskeyEnrollmentRequest\"> & {\n /**\n * Optional human-friendly label for the passkey. Maximum 128 characters.\n *\n * @generated from field: string label = 1;\n */\n label: string;\n};\n\n/**\n * Describes the message auth.v1.BeginPasskeyEnrollmentRequest.\n * Use `create(BeginPasskeyEnrollmentRequestSchema)` to create a new message.\n */\nexport const BeginPasskeyEnrollmentRequestSchema: GenMessage<BeginPasskeyEnrollmentRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 8);\n\n/**\n * Response containing passkey enrollment options.\n *\n * @generated from message auth.v1.BeginPasskeyEnrollmentResponse\n */\nexport type BeginPasskeyEnrollmentResponse = Message<\"auth.v1.BeginPasskeyEnrollmentResponse\"> & {\n /**\n * Enrollment challenge identifier. Format: \"mfa_\" followed by 32 lowercase hex characters.\n *\n * @generated from field: string enrollment_id = 1;\n */\n enrollmentId: string;\n\n /**\n * Passkey creation options to pass to the browser or device authenticator.\n *\n * @generated from field: google.protobuf.Struct public_key = 2;\n */\n publicKey?: JsonObject | undefined;\n\n /**\n * Time when this enrollment challenge expires.\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.BeginPasskeyEnrollmentResponse.\n * Use `create(BeginPasskeyEnrollmentResponseSchema)` to create a new message.\n */\nexport const BeginPasskeyEnrollmentResponseSchema: GenMessage<BeginPasskeyEnrollmentResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 9);\n\n/**\n * Request to finish passkey enrollment.\n *\n * @generated from message auth.v1.FinishPasskeyEnrollmentRequest\n */\nexport type FinishPasskeyEnrollmentRequest = Message<\"auth.v1.FinishPasskeyEnrollmentRequest\"> & {\n /**\n * Enrollment challenge identifier returned by BeginPasskeyEnrollment.\n *\n * @generated from field: string enrollment_id = 1;\n */\n enrollmentId: string;\n\n /**\n * Passkey creation response returned by the browser or device authenticator.\n *\n * @generated from field: google.protobuf.Struct credential = 2;\n */\n credential?: JsonObject | undefined;\n};\n\n/**\n * Describes the message auth.v1.FinishPasskeyEnrollmentRequest.\n * Use `create(FinishPasskeyEnrollmentRequestSchema)` to create a new message.\n */\nexport const FinishPasskeyEnrollmentRequestSchema: GenMessage<FinishPasskeyEnrollmentRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 10);\n\n/**\n * Response returned after passkey enrollment succeeds.\n *\n * @generated from message auth.v1.FinishPasskeyEnrollmentResponse\n */\nexport type FinishPasskeyEnrollmentResponse = Message<\"auth.v1.FinishPasskeyEnrollmentResponse\"> & {\n /**\n * Newly enrolled MFA factor.\n *\n * @generated from field: auth.v1.MFAFactor factor = 1;\n */\n factor?: MFAFactor | undefined;\n\n /**\n * One-time recovery codes generated for the account. Store these securely; they are only returned in this response.\n *\n * @generated from field: repeated string recovery_codes = 2;\n */\n recoveryCodes: string[];\n\n /**\n * MFA-elevated session details after successful enrollment.\n *\n * @generated from field: auth.v1.SessionInfo session = 3;\n */\n session?: SessionInfo | undefined;\n\n /**\n * MFA-elevated session token issued after successful enrollment.\n *\n * @generated from field: string access_token = 4;\n */\n accessToken: string;\n\n /**\n * Time when access_token expires.\n *\n * @generated from field: google.protobuf.Timestamp access_token_expires_at = 5;\n */\n accessTokenExpiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.FinishPasskeyEnrollmentResponse.\n * Use `create(FinishPasskeyEnrollmentResponseSchema)` to create a new message.\n */\nexport const FinishPasskeyEnrollmentResponseSchema: GenMessage<FinishPasskeyEnrollmentResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 11);\n\n/**\n * Request to start an MFA challenge.\n *\n * @generated from message auth.v1.BeginMFAChallengeRequest\n */\nexport type BeginMFAChallengeRequest = Message<\"auth.v1.BeginMFAChallengeRequest\"> & {\n /**\n * Desired challenge outcome: session elevation or fresh step-up.\n *\n * @generated from field: auth.v1.MFAChallengePurpose purpose = 1;\n */\n purpose: MFAChallengePurpose;\n};\n\n/**\n * Describes the message auth.v1.BeginMFAChallengeRequest.\n * Use `create(BeginMFAChallengeRequestSchema)` to create a new message.\n */\nexport const BeginMFAChallengeRequestSchema: GenMessage<BeginMFAChallengeRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 12);\n\n/**\n * Response returned after starting an MFA challenge.\n *\n * @generated from message auth.v1.BeginMFAChallengeResponse\n */\nexport type BeginMFAChallengeResponse = Message<\"auth.v1.BeginMFAChallengeResponse\"> & {\n /**\n * Challenge identifier to submit when verifying a factor. Format: \"mfa_\" followed by 32 lowercase hex characters.\n *\n * @generated from field: string challenge_id = 1;\n */\n challengeId: string;\n\n /**\n * Factor types the caller may use for this challenge. Maximum 8 unique values.\n *\n * @generated from field: repeated auth.v1.MFAFactorType allowed_factor_types = 2;\n */\n allowedFactorTypes: MFAFactorType[];\n\n /**\n * Passkey request options when passkey verification is available. Empty when passkeys are not available.\n *\n * @generated from field: google.protobuf.Struct public_key = 3;\n */\n publicKey?: JsonObject | undefined;\n\n /**\n * Time when this challenge expires.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 4;\n */\n expiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.BeginMFAChallengeResponse.\n * Use `create(BeginMFAChallengeResponseSchema)` to create a new message.\n */\nexport const BeginMFAChallengeResponseSchema: GenMessage<BeginMFAChallengeResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 13);\n\n/**\n * Request to verify an MFA challenge with an authenticator-app code.\n *\n * @generated from message auth.v1.VerifyTOTPChallengeRequest\n */\nexport type VerifyTOTPChallengeRequest = Message<\"auth.v1.VerifyTOTPChallengeRequest\"> & {\n /**\n * Challenge identifier returned by BeginMFAChallenge.\n *\n * @generated from field: string challenge_id = 1;\n */\n challengeId: string;\n\n /**\n * Current 6 to 8 digit code from the authenticator app.\n *\n * @generated from field: string code = 2;\n */\n code: string;\n};\n\n/**\n * Describes the message auth.v1.VerifyTOTPChallengeRequest.\n * Use `create(VerifyTOTPChallengeRequestSchema)` to create a new message.\n */\nexport const VerifyTOTPChallengeRequestSchema: GenMessage<VerifyTOTPChallengeRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 14);\n\n/**\n * Request to verify an MFA challenge with a passkey.\n *\n * @generated from message auth.v1.FinishPasskeyChallengeRequest\n */\nexport type FinishPasskeyChallengeRequest = Message<\"auth.v1.FinishPasskeyChallengeRequest\"> & {\n /**\n * Challenge identifier returned by BeginMFAChallenge.\n *\n * @generated from field: string challenge_id = 1;\n */\n challengeId: string;\n\n /**\n * Passkey authentication response returned by the browser or device authenticator.\n *\n * @generated from field: google.protobuf.Struct credential = 2;\n */\n credential?: JsonObject | undefined;\n};\n\n/**\n * Describes the message auth.v1.FinishPasskeyChallengeRequest.\n * Use `create(FinishPasskeyChallengeRequestSchema)` to create a new message.\n */\nexport const FinishPasskeyChallengeRequestSchema: GenMessage<FinishPasskeyChallengeRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 15);\n\n/**\n * Request to verify an MFA challenge with a recovery code.\n *\n * @generated from message auth.v1.VerifyRecoveryCodeChallengeRequest\n */\nexport type VerifyRecoveryCodeChallengeRequest = Message<\"auth.v1.VerifyRecoveryCodeChallengeRequest\"> & {\n /**\n * Challenge identifier returned by BeginMFAChallenge.\n *\n * @generated from field: string challenge_id = 1;\n */\n challengeId: string;\n\n /**\n * One-time recovery code. Accepted format is 8 to 64 letters, numbers, or hyphens.\n *\n * @generated from field: string recovery_code = 2;\n */\n recoveryCode: string;\n};\n\n/**\n * Describes the message auth.v1.VerifyRecoveryCodeChallengeRequest.\n * Use `create(VerifyRecoveryCodeChallengeRequestSchema)` to create a new message.\n */\nexport const VerifyRecoveryCodeChallengeRequestSchema: GenMessage<VerifyRecoveryCodeChallengeRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 16);\n\n/**\n * Response returned after an MFA challenge is completed.\n *\n * @generated from message auth.v1.CompleteMFAChallengeResponse\n */\nexport type CompleteMFAChallengeResponse = Message<\"auth.v1.CompleteMFAChallengeResponse\"> & {\n /**\n * MFA-elevated session details after completing the challenge.\n *\n * @generated from field: auth.v1.SessionInfo session = 1;\n */\n session?: SessionInfo | undefined;\n\n /**\n * MFA-elevated session token returned after every successful challenge.\n *\n * @generated from field: string access_token = 2;\n */\n accessToken: string;\n\n /**\n * Time when access_token expires.\n *\n * @generated from field: google.protobuf.Timestamp access_token_expires_at = 3;\n */\n accessTokenExpiresAt?: Timestamp | undefined;\n\n /**\n * Fresh step-up token returned for fresh step-up challenges. Empty for session-elevation challenges.\n *\n * @generated from field: string step_up_token = 4;\n */\n stepUpToken: string;\n\n /**\n * Time when step_up_token expires. Empty when no step_up_token is returned.\n *\n * @generated from field: google.protobuf.Timestamp step_up_expires_at = 5;\n */\n stepUpExpiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.CompleteMFAChallengeResponse.\n * Use `create(CompleteMFAChallengeResponseSchema)` to create a new message.\n */\nexport const CompleteMFAChallengeResponseSchema: GenMessage<CompleteMFAChallengeResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 17);\n\n/**\n * Request to bind a fresh step-up proof to one protected request.\n *\n * @generated from message auth.v1.ClaimFreshStepUpRequest\n */\nexport type ClaimFreshStepUpRequest = Message<\"auth.v1.ClaimFreshStepUpRequest\"> & {\n /**\n * Client-generated request identifier for the protected request. Maximum 128 characters.\n *\n * @generated from field: string request_id = 1;\n */\n requestId: string;\n\n /**\n * Product action being protected, such as a withdrawal or security setting change. Maximum 64 characters.\n *\n * @generated from field: string action_type = 2;\n */\n actionType: string;\n\n /**\n * Product subject for the protected action, such as the target account, destination, or resource identifier. Maximum 128 characters.\n *\n * @generated from field: string subject = 3;\n */\n subject: string;\n};\n\n/**\n * Describes the message auth.v1.ClaimFreshStepUpRequest.\n * Use `create(ClaimFreshStepUpRequestSchema)` to create a new message.\n */\nexport const ClaimFreshStepUpRequestSchema: GenMessage<ClaimFreshStepUpRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 18);\n\n/**\n * Response returned after a fresh step-up proof is claimed.\n *\n * @generated from message auth.v1.ClaimFreshStepUpResponse\n */\nexport type ClaimFreshStepUpResponse = Message<\"auth.v1.ClaimFreshStepUpResponse\"> & {\n /**\n * Fresh step-up proof identifier. Format: \"mfa_\" followed by 32 lowercase hex characters.\n *\n * @generated from field: string step_up_id = 1;\n */\n stepUpId: string;\n\n /**\n * One-time nonce that must be echoed when consuming or releasing the claim.\n *\n * @generated from field: string claim_nonce = 2;\n */\n claimNonce: string;\n\n /**\n * Time when this claim expires if it is not consumed or released.\n *\n * @generated from field: google.protobuf.Timestamp claim_expires_at = 3;\n */\n claimExpiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.ClaimFreshStepUpResponse.\n * Use `create(ClaimFreshStepUpResponseSchema)` to create a new message.\n */\nexport const ClaimFreshStepUpResponseSchema: GenMessage<ClaimFreshStepUpResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 19);\n\n/**\n * Request to consume a claimed fresh step-up proof after the protected request succeeds.\n *\n * @generated from message auth.v1.ConsumeFreshStepUpRequest\n */\nexport type ConsumeFreshStepUpRequest = Message<\"auth.v1.ConsumeFreshStepUpRequest\"> & {\n /**\n * Fresh step-up proof identifier returned by ClaimFreshStepUp.\n *\n * @generated from field: string step_up_id = 1;\n */\n stepUpId: string;\n\n /**\n * Client-generated request identifier used when the proof was claimed.\n *\n * @generated from field: string request_id = 2;\n */\n requestId: string;\n\n /**\n * Product action type used when the proof was claimed.\n *\n * @generated from field: string action_type = 3;\n */\n actionType: string;\n\n /**\n * Product subject used when the proof was claimed.\n *\n * @generated from field: string subject = 4;\n */\n subject: string;\n\n /**\n * One-time nonce returned by ClaimFreshStepUp.\n *\n * @generated from field: string claim_nonce = 5;\n */\n claimNonce: string;\n};\n\n/**\n * Describes the message auth.v1.ConsumeFreshStepUpRequest.\n * Use `create(ConsumeFreshStepUpRequestSchema)` to create a new message.\n */\nexport const ConsumeFreshStepUpRequestSchema: GenMessage<ConsumeFreshStepUpRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 20);\n\n/**\n * Empty response returned after a fresh step-up proof is consumed.\n *\n * @generated from message auth.v1.ConsumeFreshStepUpResponse\n */\nexport type ConsumeFreshStepUpResponse = Message<\"auth.v1.ConsumeFreshStepUpResponse\"> & {\n};\n\n/**\n * Describes the message auth.v1.ConsumeFreshStepUpResponse.\n * Use `create(ConsumeFreshStepUpResponseSchema)` to create a new message.\n */\nexport const ConsumeFreshStepUpResponseSchema: GenMessage<ConsumeFreshStepUpResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 21);\n\n/**\n * Request to release a claimed fresh step-up proof when the protected request does not complete.\n *\n * @generated from message auth.v1.ReleaseFreshStepUpRequest\n */\nexport type ReleaseFreshStepUpRequest = Message<\"auth.v1.ReleaseFreshStepUpRequest\"> & {\n /**\n * Fresh step-up proof identifier returned by ClaimFreshStepUp.\n *\n * @generated from field: string step_up_id = 1;\n */\n stepUpId: string;\n\n /**\n * Client-generated request identifier used when the proof was claimed.\n *\n * @generated from field: string request_id = 2;\n */\n requestId: string;\n\n /**\n * Product action type used when the proof was claimed.\n *\n * @generated from field: string action_type = 3;\n */\n actionType: string;\n\n /**\n * Product subject used when the proof was claimed.\n *\n * @generated from field: string subject = 4;\n */\n subject: string;\n\n /**\n * One-time nonce returned by ClaimFreshStepUp.\n *\n * @generated from field: string claim_nonce = 5;\n */\n claimNonce: string;\n\n /**\n * Optional product-facing reason for releasing the claim. Maximum 128 characters.\n *\n * @generated from field: string reason = 6;\n */\n reason: string;\n};\n\n/**\n * Describes the message auth.v1.ReleaseFreshStepUpRequest.\n * Use `create(ReleaseFreshStepUpRequestSchema)` to create a new message.\n */\nexport const ReleaseFreshStepUpRequestSchema: GenMessage<ReleaseFreshStepUpRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 22);\n\n/**\n * Empty response returned after a fresh step-up proof is released.\n *\n * @generated from message auth.v1.ReleaseFreshStepUpResponse\n */\nexport type ReleaseFreshStepUpResponse = Message<\"auth.v1.ReleaseFreshStepUpResponse\"> & {\n};\n\n/**\n * Describes the message auth.v1.ReleaseFreshStepUpResponse.\n * Use `create(ReleaseFreshStepUpResponseSchema)` to create a new message.\n */\nexport const ReleaseFreshStepUpResponseSchema: GenMessage<ReleaseFreshStepUpResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 23);\n\n/**\n * Request to update an MFA factor label.\n *\n * @generated from message auth.v1.UpdateMFAFactorRequest\n */\nexport type UpdateMFAFactorRequest = Message<\"auth.v1.UpdateMFAFactorRequest\"> & {\n /**\n * MFA factor identifier to update.\n *\n * @generated from field: string factor_id = 1;\n */\n factorId: string;\n\n /**\n * New human-friendly label for the factor. Empty clears the label.\n *\n * @generated from field: string label = 2;\n */\n label: string;\n};\n\n/**\n * Describes the message auth.v1.UpdateMFAFactorRequest.\n * Use `create(UpdateMFAFactorRequestSchema)` to create a new message.\n */\nexport const UpdateMFAFactorRequestSchema: GenMessage<UpdateMFAFactorRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 24);\n\n/**\n * Response containing the updated MFA factor.\n *\n * @generated from message auth.v1.UpdateMFAFactorResponse\n */\nexport type UpdateMFAFactorResponse = Message<\"auth.v1.UpdateMFAFactorResponse\"> & {\n /**\n * Updated MFA factor metadata.\n *\n * @generated from field: auth.v1.MFAFactor factor = 1;\n */\n factor?: MFAFactor | undefined;\n};\n\n/**\n * Describes the message auth.v1.UpdateMFAFactorResponse.\n * Use `create(UpdateMFAFactorResponseSchema)` to create a new message.\n */\nexport const UpdateMFAFactorResponseSchema: GenMessage<UpdateMFAFactorResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 25);\n\n/**\n * Request to delete an MFA factor.\n *\n * @generated from message auth.v1.DeleteMFAFactorRequest\n */\nexport type DeleteMFAFactorRequest = Message<\"auth.v1.DeleteMFAFactorRequest\"> & {\n /**\n * MFA factor identifier to delete.\n *\n * @generated from field: string factor_id = 1;\n */\n factorId: string;\n};\n\n/**\n * Describes the message auth.v1.DeleteMFAFactorRequest.\n * Use `create(DeleteMFAFactorRequestSchema)` to create a new message.\n */\nexport const DeleteMFAFactorRequestSchema: GenMessage<DeleteMFAFactorRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 26);\n\n/**\n * Empty response returned after an MFA factor is deleted.\n *\n * @generated from message auth.v1.DeleteMFAFactorResponse\n */\nexport type DeleteMFAFactorResponse = Message<\"auth.v1.DeleteMFAFactorResponse\"> & {\n};\n\n/**\n * Describes the message auth.v1.DeleteMFAFactorResponse.\n * Use `create(DeleteMFAFactorResponseSchema)` to create a new message.\n */\nexport const DeleteMFAFactorResponseSchema: GenMessage<DeleteMFAFactorResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 27);\n\n/**\n * Request to rotate recovery codes.\n *\n * @generated from message auth.v1.RegenerateRecoveryCodesRequest\n */\nexport type RegenerateRecoveryCodesRequest = Message<\"auth.v1.RegenerateRecoveryCodesRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.RegenerateRecoveryCodesRequest.\n * Use `create(RegenerateRecoveryCodesRequestSchema)` to create a new message.\n */\nexport const RegenerateRecoveryCodesRequestSchema: GenMessage<RegenerateRecoveryCodesRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 28);\n\n/**\n * Response containing newly generated recovery codes.\n *\n * @generated from message auth.v1.RegenerateRecoveryCodesResponse\n */\nexport type RegenerateRecoveryCodesResponse = Message<\"auth.v1.RegenerateRecoveryCodesResponse\"> & {\n /**\n * New one-time recovery codes. Store these securely; they are only returned in this response.\n *\n * @generated from field: repeated string recovery_codes = 1;\n */\n recoveryCodes: string[];\n};\n\n/**\n * Describes the message auth.v1.RegenerateRecoveryCodesResponse.\n * Use `create(RegenerateRecoveryCodesResponseSchema)` to create a new message.\n */\nexport const RegenerateRecoveryCodesResponseSchema: GenMessage<RegenerateRecoveryCodesResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 29);\n\n/**\n * Session assurance level for the current interactive authentication context.\n *\n * @generated from enum auth.v1.SessionLevel\n */\nexport enum SessionLevel {\n /**\n * No session assurance level was specified.\n *\n * @generated from enum value: SESSION_LEVEL_UNSPECIFIED = 0;\n */\n SESSION_LEVEL_UNSPECIFIED = 0,\n\n /**\n * Primary login has completed, but MFA has not elevated this session.\n *\n * @generated from enum value: PRIMARY_AUTHENTICATED = 1;\n */\n PRIMARY_AUTHENTICATED = 1,\n\n /**\n * MFA has elevated this session for ordinary protected account activity.\n *\n * @generated from enum value: MFA_ELEVATED = 2;\n */\n MFA_ELEVATED = 2,\n\n /**\n * A short-lived proof for one high-risk action.\n *\n * @generated from enum value: FRESH_STEP_UP = 3;\n */\n FRESH_STEP_UP = 3,\n}\n\n/**\n * Describes the enum auth.v1.SessionLevel.\n */\nexport const SessionLevelSchema: GenEnum<SessionLevel> = /*@__PURE__*/\n enumDesc(file_auth_v1_mfa, 0);\n\n/**\n * Type of MFA factor or one-time recovery method.\n *\n * @generated from enum auth.v1.MFAFactorType\n */\nexport enum MFAFactorType {\n /**\n * No MFA factor type was specified.\n *\n * @generated from enum value: MFA_FACTOR_TYPE_UNSPECIFIED = 0;\n */\n MFA_FACTOR_TYPE_UNSPECIFIED = 0,\n\n /**\n * Time-based one-time password from an authenticator app.\n *\n * @generated from enum value: MFA_FACTOR_TYPE_TOTP = 1;\n */\n MFA_FACTOR_TYPE_TOTP = 1,\n\n /**\n * Passkey factor using device or hardware-key authentication.\n *\n * @generated from enum value: MFA_FACTOR_TYPE_PASSKEY = 2;\n */\n MFA_FACTOR_TYPE_PASSKEY = 2,\n\n /**\n * One-time recovery code.\n *\n * @generated from enum value: MFA_FACTOR_TYPE_RECOVERY_CODE = 3;\n */\n MFA_FACTOR_TYPE_RECOVERY_CODE = 3,\n}\n\n/**\n * Describes the enum auth.v1.MFAFactorType.\n */\nexport const MFAFactorTypeSchema: GenEnum<MFAFactorType> = /*@__PURE__*/\n enumDesc(file_auth_v1_mfa, 1);\n\n/**\n * Reason a user is completing an MFA challenge.\n *\n * @generated from enum auth.v1.MFAChallengePurpose\n */\nexport enum MFAChallengePurpose {\n /**\n * No MFA challenge purpose was specified.\n *\n * @generated from enum value: MFA_CHALLENGE_PURPOSE_UNSPECIFIED = 0;\n */\n MFA_CHALLENGE_PURPOSE_UNSPECIFIED = 0,\n\n /**\n * Elevates the current session after successful MFA.\n *\n * @generated from enum value: MFA_CHALLENGE_PURPOSE_SESSION_ELEVATION = 1;\n */\n MFA_CHALLENGE_PURPOSE_SESSION_ELEVATION = 1,\n\n /**\n * Creates a short-lived proof for one high-risk action.\n *\n * @generated from enum value: MFA_CHALLENGE_PURPOSE_FRESH_STEP_UP = 2;\n */\n MFA_CHALLENGE_PURPOSE_FRESH_STEP_UP = 2,\n}\n\n/**\n * Describes the enum auth.v1.MFAChallengePurpose.\n */\nexport const MFAChallengePurposeSchema: GenEnum<MFAChallengePurpose> = /*@__PURE__*/\n enumDesc(file_auth_v1_mfa, 2);\n\n/**\n * MFA management service for enrollment, challenges, fresh step-up proofs, and recovery codes.\n *\n * @generated from service auth.v1.MFAService\n */\nexport const MFAService: GenService<{\n /**\n * List the caller's enrolled MFA factors.\n *\n * @generated from rpc auth.v1.MFAService.ListMFAFactors\n */\n listMFAFactors: {\n methodKind: \"unary\";\n input: typeof ListMFAFactorsRequestSchema;\n output: typeof ListMFAFactorsResponseSchema;\n },\n /**\n * Start authenticator-app enrollment.\n *\n * @generated from rpc auth.v1.MFAService.BeginTOTPEnrollment\n */\n beginTOTPEnrollment: {\n methodKind: \"unary\";\n input: typeof BeginTOTPEnrollmentRequestSchema;\n output: typeof BeginTOTPEnrollmentResponseSchema;\n },\n /**\n * Finish authenticator-app enrollment.\n *\n * @generated from rpc auth.v1.MFAService.FinishTOTPEnrollment\n */\n finishTOTPEnrollment: {\n methodKind: \"unary\";\n input: typeof FinishTOTPEnrollmentRequestSchema;\n output: typeof FinishTOTPEnrollmentResponseSchema;\n },\n /**\n * Start passkey enrollment.\n *\n * @generated from rpc auth.v1.MFAService.BeginPasskeyEnrollment\n */\n beginPasskeyEnrollment: {\n methodKind: \"unary\";\n input: typeof BeginPasskeyEnrollmentRequestSchema;\n output: typeof BeginPasskeyEnrollmentResponseSchema;\n },\n /**\n * Finish passkey enrollment.\n *\n * @generated from rpc auth.v1.MFAService.FinishPasskeyEnrollment\n */\n finishPasskeyEnrollment: {\n methodKind: \"unary\";\n input: typeof FinishPasskeyEnrollmentRequestSchema;\n output: typeof FinishPasskeyEnrollmentResponseSchema;\n },\n /**\n * Start an MFA challenge for session elevation or fresh step-up.\n *\n * @generated from rpc auth.v1.MFAService.BeginMFAChallenge\n */\n beginMFAChallenge: {\n methodKind: \"unary\";\n input: typeof BeginMFAChallengeRequestSchema;\n output: typeof BeginMFAChallengeResponseSchema;\n },\n /**\n * Verify an MFA challenge with an authenticator-app code.\n *\n * @generated from rpc auth.v1.MFAService.VerifyTOTPChallenge\n */\n verifyTOTPChallenge: {\n methodKind: \"unary\";\n input: typeof VerifyTOTPChallengeRequestSchema;\n output: typeof CompleteMFAChallengeResponseSchema;\n },\n /**\n * Verify an MFA challenge with a passkey.\n *\n * @generated from rpc auth.v1.MFAService.FinishPasskeyChallenge\n */\n finishPasskeyChallenge: {\n methodKind: \"unary\";\n input: typeof FinishPasskeyChallengeRequestSchema;\n output: typeof CompleteMFAChallengeResponseSchema;\n },\n /**\n * Verify an MFA challenge with a recovery code.\n *\n * @generated from rpc auth.v1.MFAService.VerifyRecoveryCodeChallenge\n */\n verifyRecoveryCodeChallenge: {\n methodKind: \"unary\";\n input: typeof VerifyRecoveryCodeChallengeRequestSchema;\n output: typeof CompleteMFAChallengeResponseSchema;\n },\n /**\n * Update an enrolled MFA factor label.\n *\n * @generated from rpc auth.v1.MFAService.UpdateMFAFactor\n */\n updateMFAFactor: {\n methodKind: \"unary\";\n input: typeof UpdateMFAFactorRequestSchema;\n output: typeof UpdateMFAFactorResponseSchema;\n },\n /**\n * Delete an enrolled MFA factor.\n *\n * @generated from rpc auth.v1.MFAService.DeleteMFAFactor\n */\n deleteMFAFactor: {\n methodKind: \"unary\";\n input: typeof DeleteMFAFactorRequestSchema;\n output: typeof DeleteMFAFactorResponseSchema;\n },\n /**\n * Rotate the caller's recovery codes.\n *\n * @generated from rpc auth.v1.MFAService.RegenerateRecoveryCodes\n */\n regenerateRecoveryCodes: {\n methodKind: \"unary\";\n input: typeof RegenerateRecoveryCodesRequestSchema;\n output: typeof RegenerateRecoveryCodesResponseSchema;\n },\n /**\n * Claim a fresh step-up proof for one protected request.\n *\n * @generated from rpc auth.v1.MFAService.ClaimFreshStepUp\n */\n claimFreshStepUp: {\n methodKind: \"unary\";\n input: typeof ClaimFreshStepUpRequestSchema;\n output: typeof ClaimFreshStepUpResponseSchema;\n },\n /**\n * Consume a claimed fresh step-up proof after the protected request succeeds.\n *\n * @generated from rpc auth.v1.MFAService.ConsumeFreshStepUp\n */\n consumeFreshStepUp: {\n methodKind: \"unary\";\n input: typeof ConsumeFreshStepUpRequestSchema;\n output: typeof ConsumeFreshStepUpResponseSchema;\n },\n /**\n * Release a claimed fresh step-up proof when the protected request does not complete.\n *\n * @generated from rpc auth.v1.MFAService.ReleaseFreshStepUp\n */\n releaseFreshStepUp: {\n methodKind: \"unary\";\n input: typeof ReleaseFreshStepUpRequestSchema;\n output: typeof ReleaseF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"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file auth/v1/mfa.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_struct, file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../polyester/api/options_pb.js\";\nimport type { JsonObject, Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file auth/v1/mfa.proto.\n */\nexport const file_auth_v1_mfa: GenFile = /*@__PURE__*/\n fileDesc(\"ChFhdXRoL3YxL21mYS5wcm90bxIHYXV0aC52MSKkAQoLU2Vzc2lvbkluZm8SFAoKc2Vzc2lvbl9pZBgBIAEoCUIAEi4KDXNlc3Npb25fbGV2ZWwYAiABKA4yFS5hdXRoLnYxLlNlc3Npb25MZXZlbEIAEiAKFmF1dGhlbnRpY2F0aW9uX21ldGhvZHMYAyADKAlCABItCglhdXRoX3RpbWUYBCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wIsIBCglNRkFGYWN0b3ISEwoJZmFjdG9yX2lkGAEgASgJQgASLQoLZmFjdG9yX3R5cGUYAiABKA4yFi5hdXRoLnYxLk1GQUZhY3RvclR5cGVCABIPCgVsYWJlbBgDIAEoCUIAEi4KCmNyZWF0ZWRfYXQYBCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjAKDGxhc3RfdXNlZF9hdBgFIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiFwoVTGlzdE1GQUZhY3RvcnNSZXF1ZXN0IlkKFkxpc3RNRkFGYWN0b3JzUmVzcG9uc2USIwoHZmFjdG9ycxgBIAMoCzISLmF1dGgudjEuTUZBR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JS5hdXRoLnYxLkNvbXBsZXRlTUZBQ2hhbGxlbmdlUmVzcG9uc2UiABJWCg9VcGRhdGVNRkFGYWN0b3ISHy5hdXRoLnYxLlVwZGF0ZU1GQUZhY3RvclJlcXVlc3QaIC5hdXRoLnYxLlVwZGF0ZU1GQUZhY3RvclJlc3BvbnNlIgASVgoPRGVsZXRlTUZBRmFjdG9yEh8uYXV0aC52MS5EZWxldGVNRkFGYWN0b3JSZXF1ZXN0GiAuYXV0aC52MS5EZWxldGVNRkFGYWN0b3JSZXNwb25zZSIAEm4KF1JlZ2VuZXJhdGVSZWNvdmVyeUNvZGVzEicuYXV0aC52MS5SZWdlbmVyYXRlUmVjb3ZlcnlDb2Rlc1JlcXVlc3QaKC5hdXRoLnYxLlJlZ2VuZXJhdGVSZWNvdmVyeUNvZGVzUmVzcG9uc2UiABJZChBDbGFpbUZyZXNoU3RlcFVwEiAuYXV0aC52MS5DbGFpbUZyZXNoU3RlcFVwUmVxdWVzdBohLmF1dGgudjEuQ2xhaW1GcmVzaFN0ZXBVcFJlc3BvbnNlIgASXwoSQ29uc3VtZUZyZXNoU3RlcFVwEiIuYXV0aC52MS5Db25zdW1lRnJlc2hTdGVwVXBSZXF1ZXN0GiMuYXV0aC52MS5Db25zdW1lRnJlc2hTdGVwVXBSZXNwb25zZSIAEl8KElJlbGVhc2VGcmVzaFN0ZXBVcBIiLmF1dGgudjEuUmVsZWFzZUZyZXNoU3RlcFVwUmVxdWVzdBojLmF1dGgudjEuUmVsZWFzZUZyZXNoU3RlcFVwUmVzcG9uc2UiAEI8WjpnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2F1dGgvdjE7YXV0aHYxYgZwcm90bzM=\", [file_google_protobuf_struct, file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * Current assurance details for an interactive session.\n *\n * @generated from message auth.v1.SessionInfo\n */\nexport type SessionInfo = Message<\"auth.v1.SessionInfo\"> & {\n /**\n * Stable session identifier shared by the primary and MFA-elevated tokens.\n *\n * @generated from field: string session_id = 1;\n */\n sessionId: string;\n\n /**\n * Assurance level represented by this session response.\n *\n * @generated from field: auth.v1.SessionLevel session_level = 2;\n */\n sessionLevel: SessionLevel;\n\n /**\n * Authentication methods used for this session state, such as wallet, TOTP, passkey, or recovery code. Maximum 8 unique values.\n *\n * @generated from field: repeated string authentication_methods = 3;\n */\n authenticationMethods: string[];\n\n /**\n * Time when the session was authenticated or elevated.\n *\n * @generated from field: google.protobuf.Timestamp auth_time = 4;\n */\n authTime?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.SessionInfo.\n * Use `create(SessionInfoSchema)` to create a new message.\n */\nexport const SessionInfoSchema: GenMessage<SessionInfo> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 0);\n\n/**\n * Enrolled MFA factor metadata visible to the account owner.\n *\n * @generated from message auth.v1.MFAFactor\n */\nexport type MFAFactor = Message<\"auth.v1.MFAFactor\"> & {\n /**\n * MFA factor identifier. Format: \"mfa_\" followed by 32 lowercase hex characters.\n *\n * @generated from field: string factor_id = 1;\n */\n factorId: string;\n\n /**\n * Type of enrolled factor.\n *\n * @generated from field: auth.v1.MFAFactorType factor_type = 2;\n */\n factorType: MFAFactorType;\n\n /**\n * Human-friendly label for the factor. Empty when no label is set.\n *\n * @generated from field: string label = 3;\n */\n label: string;\n\n /**\n * Time when the factor was enrolled.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 4;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * Time when the factor was last used. Empty if the factor has not been used.\n *\n * @generated from field: google.protobuf.Timestamp last_used_at = 5;\n */\n lastUsedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.MFAFactor.\n * Use `create(MFAFactorSchema)` to create a new message.\n */\nexport const MFAFactorSchema: GenMessage<MFAFactor> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 1);\n\n/**\n * Request to list the caller's MFA factors.\n *\n * @generated from message auth.v1.ListMFAFactorsRequest\n */\nexport type ListMFAFactorsRequest = Message<\"auth.v1.ListMFAFactorsRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.ListMFAFactorsRequest.\n * Use `create(ListMFAFactorsRequestSchema)` to create a new message.\n */\nexport const ListMFAFactorsRequestSchema: GenMessage<ListMFAFactorsRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 2);\n\n/**\n * Response containing the caller's enrolled MFA factors.\n *\n * @generated from message auth.v1.ListMFAFactorsResponse\n */\nexport type ListMFAFactorsResponse = Message<\"auth.v1.ListMFAFactorsResponse\"> & {\n /**\n * Enrolled MFA factors, ordered oldest first.\n *\n * @generated from field: repeated auth.v1.MFAFactor factors = 1;\n */\n factors: MFAFactor[];\n\n /**\n * True when the caller has at least one unused recovery code.\n *\n * @generated from field: bool has_recovery_codes = 2;\n */\n hasRecoveryCodes: boolean;\n};\n\n/**\n * Describes the message auth.v1.ListMFAFactorsResponse.\n * Use `create(ListMFAFactorsResponseSchema)` to create a new message.\n */\nexport const ListMFAFactorsResponseSchema: GenMessage<ListMFAFactorsResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 3);\n\n/**\n * Request to begin authenticator-app enrollment.\n *\n * @generated from message auth.v1.BeginTOTPEnrollmentRequest\n */\nexport type BeginTOTPEnrollmentRequest = Message<\"auth.v1.BeginTOTPEnrollmentRequest\"> & {\n /**\n * Optional human-friendly label. Defaults to \"Authenticator App\" when empty. Maximum 128 characters.\n *\n * @generated from field: string label = 1;\n */\n label: string;\n};\n\n/**\n * Describes the message auth.v1.BeginTOTPEnrollmentRequest.\n * Use `create(BeginTOTPEnrollmentRequestSchema)` to create a new message.\n */\nexport const BeginTOTPEnrollmentRequestSchema: GenMessage<BeginTOTPEnrollmentRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 4);\n\n/**\n * Response containing the authenticator-app enrollment secret.\n *\n * @generated from message auth.v1.BeginTOTPEnrollmentResponse\n */\nexport type BeginTOTPEnrollmentResponse = Message<\"auth.v1.BeginTOTPEnrollmentResponse\"> & {\n /**\n * Enrollment challenge identifier. Format: \"mfa_\" followed by 32 lowercase hex characters.\n *\n * @generated from field: string enrollment_id = 1;\n */\n enrollmentId: string;\n\n /**\n * Shared secret to enter into an authenticator app. Returned only when enrollment begins.\n *\n * @generated from field: string secret = 2;\n */\n secret: string;\n\n /**\n * Authenticator-app setup URI for QR-code display. Returned only when enrollment begins.\n *\n * @generated from field: string otpauth_uri = 3;\n */\n otpauthUri: string;\n\n /**\n * Time when this enrollment challenge expires.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 4;\n */\n expiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.BeginTOTPEnrollmentResponse.\n * Use `create(BeginTOTPEnrollmentResponseSchema)` to create a new message.\n */\nexport const BeginTOTPEnrollmentResponseSchema: GenMessage<BeginTOTPEnrollmentResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 5);\n\n/**\n * Request to finish authenticator-app enrollment.\n *\n * @generated from message auth.v1.FinishTOTPEnrollmentRequest\n */\nexport type FinishTOTPEnrollmentRequest = Message<\"auth.v1.FinishTOTPEnrollmentRequest\"> & {\n /**\n * Enrollment challenge identifier returned by BeginTOTPEnrollment.\n *\n * @generated from field: string enrollment_id = 1;\n */\n enrollmentId: string;\n\n /**\n * Current 6 to 8 digit code from the authenticator app.\n *\n * @generated from field: string code = 2;\n */\n code: string;\n};\n\n/**\n * Describes the message auth.v1.FinishTOTPEnrollmentRequest.\n * Use `create(FinishTOTPEnrollmentRequestSchema)` to create a new message.\n */\nexport const FinishTOTPEnrollmentRequestSchema: GenMessage<FinishTOTPEnrollmentRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 6);\n\n/**\n * Response returned after authenticator-app enrollment succeeds.\n *\n * @generated from message auth.v1.FinishTOTPEnrollmentResponse\n */\nexport type FinishTOTPEnrollmentResponse = Message<\"auth.v1.FinishTOTPEnrollmentResponse\"> & {\n /**\n * Newly enrolled MFA factor.\n *\n * @generated from field: auth.v1.MFAFactor factor = 1;\n */\n factor?: MFAFactor | undefined;\n\n /**\n * One-time recovery codes generated for the account. Store these securely; they are only returned in this response.\n *\n * @generated from field: repeated string recovery_codes = 2;\n */\n recoveryCodes: string[];\n\n /**\n * MFA-elevated session details after successful enrollment.\n *\n * @generated from field: auth.v1.SessionInfo session = 3;\n */\n session?: SessionInfo | undefined;\n\n /**\n * MFA-elevated session token issued after successful enrollment.\n *\n * @generated from field: string access_token = 4;\n */\n accessToken: string;\n\n /**\n * Time when access_token expires.\n *\n * @generated from field: google.protobuf.Timestamp access_token_expires_at = 5;\n */\n accessTokenExpiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.FinishTOTPEnrollmentResponse.\n * Use `create(FinishTOTPEnrollmentResponseSchema)` to create a new message.\n */\nexport const FinishTOTPEnrollmentResponseSchema: GenMessage<FinishTOTPEnrollmentResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 7);\n\n/**\n * Request to begin passkey enrollment.\n *\n * @generated from message auth.v1.BeginPasskeyEnrollmentRequest\n */\nexport type BeginPasskeyEnrollmentRequest = Message<\"auth.v1.BeginPasskeyEnrollmentRequest\"> & {\n /**\n * Optional human-friendly label for the passkey. Maximum 128 characters.\n *\n * @generated from field: string label = 1;\n */\n label: string;\n};\n\n/**\n * Describes the message auth.v1.BeginPasskeyEnrollmentRequest.\n * Use `create(BeginPasskeyEnrollmentRequestSchema)` to create a new message.\n */\nexport const BeginPasskeyEnrollmentRequestSchema: GenMessage<BeginPasskeyEnrollmentRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 8);\n\n/**\n * Response containing passkey enrollment options.\n *\n * @generated from message auth.v1.BeginPasskeyEnrollmentResponse\n */\nexport type BeginPasskeyEnrollmentResponse = Message<\"auth.v1.BeginPasskeyEnrollmentResponse\"> & {\n /**\n * Enrollment challenge identifier. Format: \"mfa_\" followed by 32 lowercase hex characters.\n *\n * @generated from field: string enrollment_id = 1;\n */\n enrollmentId: string;\n\n /**\n * Passkey creation options to pass to the browser or device authenticator.\n *\n * @generated from field: google.protobuf.Struct public_key = 2;\n */\n publicKey?: JsonObject | undefined;\n\n /**\n * Time when this enrollment challenge expires.\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.BeginPasskeyEnrollmentResponse.\n * Use `create(BeginPasskeyEnrollmentResponseSchema)` to create a new message.\n */\nexport const BeginPasskeyEnrollmentResponseSchema: GenMessage<BeginPasskeyEnrollmentResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 9);\n\n/**\n * Request to finish passkey enrollment.\n *\n * @generated from message auth.v1.FinishPasskeyEnrollmentRequest\n */\nexport type FinishPasskeyEnrollmentRequest = Message<\"auth.v1.FinishPasskeyEnrollmentRequest\"> & {\n /**\n * Enrollment challenge identifier returned by BeginPasskeyEnrollment.\n *\n * @generated from field: string enrollment_id = 1;\n */\n enrollmentId: string;\n\n /**\n * Passkey creation response returned by the browser or device authenticator.\n *\n * @generated from field: google.protobuf.Struct credential = 2;\n */\n credential?: JsonObject | undefined;\n};\n\n/**\n * Describes the message auth.v1.FinishPasskeyEnrollmentRequest.\n * Use `create(FinishPasskeyEnrollmentRequestSchema)` to create a new message.\n */\nexport const FinishPasskeyEnrollmentRequestSchema: GenMessage<FinishPasskeyEnrollmentRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 10);\n\n/**\n * Response returned after passkey enrollment succeeds.\n *\n * @generated from message auth.v1.FinishPasskeyEnrollmentResponse\n */\nexport type FinishPasskeyEnrollmentResponse = Message<\"auth.v1.FinishPasskeyEnrollmentResponse\"> & {\n /**\n * Newly enrolled MFA factor.\n *\n * @generated from field: auth.v1.MFAFactor factor = 1;\n */\n factor?: MFAFactor | undefined;\n\n /**\n * One-time recovery codes generated for the account. Store these securely; they are only returned in this response.\n *\n * @generated from field: repeated string recovery_codes = 2;\n */\n recoveryCodes: string[];\n\n /**\n * MFA-elevated session details after successful enrollment.\n *\n * @generated from field: auth.v1.SessionInfo session = 3;\n */\n session?: SessionInfo | undefined;\n\n /**\n * MFA-elevated session token issued after successful enrollment.\n *\n * @generated from field: string access_token = 4;\n */\n accessToken: string;\n\n /**\n * Time when access_token expires.\n *\n * @generated from field: google.protobuf.Timestamp access_token_expires_at = 5;\n */\n accessTokenExpiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.FinishPasskeyEnrollmentResponse.\n * Use `create(FinishPasskeyEnrollmentResponseSchema)` to create a new message.\n */\nexport const FinishPasskeyEnrollmentResponseSchema: GenMessage<FinishPasskeyEnrollmentResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 11);\n\n/**\n * Request to start an MFA challenge.\n *\n * @generated from message auth.v1.BeginMFAChallengeRequest\n */\nexport type BeginMFAChallengeRequest = Message<\"auth.v1.BeginMFAChallengeRequest\"> & {\n /**\n * Desired challenge outcome: session elevation or fresh step-up.\n *\n * @generated from field: auth.v1.MFAChallengePurpose purpose = 1;\n */\n purpose: MFAChallengePurpose;\n};\n\n/**\n * Describes the message auth.v1.BeginMFAChallengeRequest.\n * Use `create(BeginMFAChallengeRequestSchema)` to create a new message.\n */\nexport const BeginMFAChallengeRequestSchema: GenMessage<BeginMFAChallengeRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 12);\n\n/**\n * Response returned after starting an MFA challenge.\n *\n * @generated from message auth.v1.BeginMFAChallengeResponse\n */\nexport type BeginMFAChallengeResponse = Message<\"auth.v1.BeginMFAChallengeResponse\"> & {\n /**\n * Challenge identifier to submit when verifying a factor. Format: \"mfa_\" followed by 32 lowercase hex characters.\n *\n * @generated from field: string challenge_id = 1;\n */\n challengeId: string;\n\n /**\n * Factor types the caller may use for this challenge. Maximum 8 unique values.\n *\n * @generated from field: repeated auth.v1.MFAFactorType allowed_factor_types = 2;\n */\n allowedFactorTypes: MFAFactorType[];\n\n /**\n * Passkey request options when passkey verification is available. Empty when passkeys are not available.\n *\n * @generated from field: google.protobuf.Struct public_key = 3;\n */\n publicKey?: JsonObject | undefined;\n\n /**\n * Time when this challenge expires.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 4;\n */\n expiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.BeginMFAChallengeResponse.\n * Use `create(BeginMFAChallengeResponseSchema)` to create a new message.\n */\nexport const BeginMFAChallengeResponseSchema: GenMessage<BeginMFAChallengeResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 13);\n\n/**\n * Request to verify an MFA challenge with an authenticator-app code.\n *\n * @generated from message auth.v1.VerifyTOTPChallengeRequest\n */\nexport type VerifyTOTPChallengeRequest = Message<\"auth.v1.VerifyTOTPChallengeRequest\"> & {\n /**\n * Challenge identifier returned by BeginMFAChallenge.\n *\n * @generated from field: string challenge_id = 1;\n */\n challengeId: string;\n\n /**\n * Current 6 to 8 digit code from the authenticator app.\n *\n * @generated from field: string code = 2;\n */\n code: string;\n};\n\n/**\n * Describes the message auth.v1.VerifyTOTPChallengeRequest.\n * Use `create(VerifyTOTPChallengeRequestSchema)` to create a new message.\n */\nexport const VerifyTOTPChallengeRequestSchema: GenMessage<VerifyTOTPChallengeRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 14);\n\n/**\n * Request to verify an MFA challenge with a passkey.\n *\n * @generated from message auth.v1.FinishPasskeyChallengeRequest\n */\nexport type FinishPasskeyChallengeRequest = Message<\"auth.v1.FinishPasskeyChallengeRequest\"> & {\n /**\n * Challenge identifier returned by BeginMFAChallenge.\n *\n * @generated from field: string challenge_id = 1;\n */\n challengeId: string;\n\n /**\n * Passkey authentication response returned by the browser or device authenticator.\n *\n * @generated from field: google.protobuf.Struct credential = 2;\n */\n credential?: JsonObject | undefined;\n};\n\n/**\n * Describes the message auth.v1.FinishPasskeyChallengeRequest.\n * Use `create(FinishPasskeyChallengeRequestSchema)` to create a new message.\n */\nexport const FinishPasskeyChallengeRequestSchema: GenMessage<FinishPasskeyChallengeRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 15);\n\n/**\n * Request to verify an MFA challenge with a recovery code.\n *\n * @generated from message auth.v1.VerifyRecoveryCodeChallengeRequest\n */\nexport type VerifyRecoveryCodeChallengeRequest = Message<\"auth.v1.VerifyRecoveryCodeChallengeRequest\"> & {\n /**\n * Challenge identifier returned by BeginMFAChallenge.\n *\n * @generated from field: string challenge_id = 1;\n */\n challengeId: string;\n\n /**\n * One-time recovery code. Accepted format is 8 to 64 letters, numbers, or hyphens.\n *\n * @generated from field: string recovery_code = 2;\n */\n recoveryCode: string;\n};\n\n/**\n * Describes the message auth.v1.VerifyRecoveryCodeChallengeRequest.\n * Use `create(VerifyRecoveryCodeChallengeRequestSchema)` to create a new message.\n */\nexport const VerifyRecoveryCodeChallengeRequestSchema: GenMessage<VerifyRecoveryCodeChallengeRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 16);\n\n/**\n * Response returned after an MFA challenge is completed.\n *\n * @generated from message auth.v1.CompleteMFAChallengeResponse\n */\nexport type CompleteMFAChallengeResponse = Message<\"auth.v1.CompleteMFAChallengeResponse\"> & {\n /**\n * MFA-elevated session details after completing the challenge.\n *\n * @generated from field: auth.v1.SessionInfo session = 1;\n */\n session?: SessionInfo | undefined;\n\n /**\n * MFA-elevated session token returned after every successful challenge.\n *\n * @generated from field: string access_token = 2;\n */\n accessToken: string;\n\n /**\n * Time when access_token expires.\n *\n * @generated from field: google.protobuf.Timestamp access_token_expires_at = 3;\n */\n accessTokenExpiresAt?: Timestamp | undefined;\n\n /**\n * Fresh step-up token returned for fresh step-up challenges. Empty for session-elevation challenges.\n *\n * @generated from field: string step_up_token = 4;\n */\n stepUpToken: string;\n\n /**\n * Time when step_up_token expires. Empty when no step_up_token is returned.\n *\n * @generated from field: google.protobuf.Timestamp step_up_expires_at = 5;\n */\n stepUpExpiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.CompleteMFAChallengeResponse.\n * Use `create(CompleteMFAChallengeResponseSchema)` to create a new message.\n */\nexport const CompleteMFAChallengeResponseSchema: GenMessage<CompleteMFAChallengeResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 17);\n\n/**\n * Request to bind a fresh step-up proof to one protected request.\n *\n * @generated from message auth.v1.ClaimFreshStepUpRequest\n */\nexport type ClaimFreshStepUpRequest = Message<\"auth.v1.ClaimFreshStepUpRequest\"> & {\n /**\n * Client-generated request identifier for the protected request. Maximum 128 characters.\n *\n * @generated from field: string request_id = 1;\n */\n requestId: string;\n\n /**\n * Product action being protected, such as a withdrawal or security setting change. Maximum 64 characters.\n *\n * @generated from field: string action_type = 2;\n */\n actionType: string;\n\n /**\n * Product subject for the protected action, such as the target account, destination, or resource identifier. Maximum 128 characters.\n *\n * @generated from field: string subject = 3;\n */\n subject: string;\n};\n\n/**\n * Describes the message auth.v1.ClaimFreshStepUpRequest.\n * Use `create(ClaimFreshStepUpRequestSchema)` to create a new message.\n */\nexport const ClaimFreshStepUpRequestSchema: GenMessage<ClaimFreshStepUpRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 18);\n\n/**\n * Response returned after a fresh step-up proof is claimed.\n *\n * @generated from message auth.v1.ClaimFreshStepUpResponse\n */\nexport type ClaimFreshStepUpResponse = Message<\"auth.v1.ClaimFreshStepUpResponse\"> & {\n /**\n * Fresh step-up proof identifier. Format: \"mfa_\" followed by 32 lowercase hex characters.\n *\n * @generated from field: string step_up_id = 1;\n */\n stepUpId: string;\n\n /**\n * One-time nonce that must be echoed when consuming or releasing the claim.\n *\n * @generated from field: string claim_nonce = 2;\n */\n claimNonce: string;\n\n /**\n * Time when this claim expires if it is not consumed or released.\n *\n * @generated from field: google.protobuf.Timestamp claim_expires_at = 3;\n */\n claimExpiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.ClaimFreshStepUpResponse.\n * Use `create(ClaimFreshStepUpResponseSchema)` to create a new message.\n */\nexport const ClaimFreshStepUpResponseSchema: GenMessage<ClaimFreshStepUpResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 19);\n\n/**\n * Request to consume a claimed fresh step-up proof after the protected request succeeds.\n *\n * @generated from message auth.v1.ConsumeFreshStepUpRequest\n */\nexport type ConsumeFreshStepUpRequest = Message<\"auth.v1.ConsumeFreshStepUpRequest\"> & {\n /**\n * Fresh step-up proof identifier returned by ClaimFreshStepUp.\n *\n * @generated from field: string step_up_id = 1;\n */\n stepUpId: string;\n\n /**\n * Client-generated request identifier used when the proof was claimed.\n *\n * @generated from field: string request_id = 2;\n */\n requestId: string;\n\n /**\n * Product action type used when the proof was claimed.\n *\n * @generated from field: string action_type = 3;\n */\n actionType: string;\n\n /**\n * Product subject used when the proof was claimed.\n *\n * @generated from field: string subject = 4;\n */\n subject: string;\n\n /**\n * One-time nonce returned by ClaimFreshStepUp.\n *\n * @generated from field: string claim_nonce = 5;\n */\n claimNonce: string;\n};\n\n/**\n * Describes the message auth.v1.ConsumeFreshStepUpRequest.\n * Use `create(ConsumeFreshStepUpRequestSchema)` to create a new message.\n */\nexport const ConsumeFreshStepUpRequestSchema: GenMessage<ConsumeFreshStepUpRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 20);\n\n/**\n * Empty response returned after a fresh step-up proof is consumed.\n *\n * @generated from message auth.v1.ConsumeFreshStepUpResponse\n */\nexport type ConsumeFreshStepUpResponse = Message<\"auth.v1.ConsumeFreshStepUpResponse\"> & {\n};\n\n/**\n * Describes the message auth.v1.ConsumeFreshStepUpResponse.\n * Use `create(ConsumeFreshStepUpResponseSchema)` to create a new message.\n */\nexport const ConsumeFreshStepUpResponseSchema: GenMessage<ConsumeFreshStepUpResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 21);\n\n/**\n * Request to release a claimed fresh step-up proof when the protected request does not complete.\n *\n * @generated from message auth.v1.ReleaseFreshStepUpRequest\n */\nexport type ReleaseFreshStepUpRequest = Message<\"auth.v1.ReleaseFreshStepUpRequest\"> & {\n /**\n * Fresh step-up proof identifier returned by ClaimFreshStepUp.\n *\n * @generated from field: string step_up_id = 1;\n */\n stepUpId: string;\n\n /**\n * Client-generated request identifier used when the proof was claimed.\n *\n * @generated from field: string request_id = 2;\n */\n requestId: string;\n\n /**\n * Product action type used when the proof was claimed.\n *\n * @generated from field: string action_type = 3;\n */\n actionType: string;\n\n /**\n * Product subject used when the proof was claimed.\n *\n * @generated from field: string subject = 4;\n */\n subject: string;\n\n /**\n * One-time nonce returned by ClaimFreshStepUp.\n *\n * @generated from field: string claim_nonce = 5;\n */\n claimNonce: string;\n\n /**\n * Optional product-facing reason for releasing the claim. Maximum 128 characters.\n *\n * @generated from field: string reason = 6;\n */\n reason: string;\n};\n\n/**\n * Describes the message auth.v1.ReleaseFreshStepUpRequest.\n * Use `create(ReleaseFreshStepUpRequestSchema)` to create a new message.\n */\nexport const ReleaseFreshStepUpRequestSchema: GenMessage<ReleaseFreshStepUpRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 22);\n\n/**\n * Empty response returned after a fresh step-up proof is released.\n *\n * @generated from message auth.v1.ReleaseFreshStepUpResponse\n */\nexport type ReleaseFreshStepUpResponse = Message<\"auth.v1.ReleaseFreshStepUpResponse\"> & {\n};\n\n/**\n * Describes the message auth.v1.ReleaseFreshStepUpResponse.\n * Use `create(ReleaseFreshStepUpResponseSchema)` to create a new message.\n */\nexport const ReleaseFreshStepUpResponseSchema: GenMessage<ReleaseFreshStepUpResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 23);\n\n/**\n * Request to update an MFA factor label.\n *\n * @generated from message auth.v1.UpdateMFAFactorRequest\n */\nexport type UpdateMFAFactorRequest = Message<\"auth.v1.UpdateMFAFactorRequest\"> & {\n /**\n * MFA factor identifier to update.\n *\n * @generated from field: string factor_id = 1;\n */\n factorId: string;\n\n /**\n * New human-friendly label for the factor. Empty clears the label.\n *\n * @generated from field: string label = 2;\n */\n label: string;\n};\n\n/**\n * Describes the message auth.v1.UpdateMFAFactorRequest.\n * Use `create(UpdateMFAFactorRequestSchema)` to create a new message.\n */\nexport const UpdateMFAFactorRequestSchema: GenMessage<UpdateMFAFactorRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 24);\n\n/**\n * Response containing the updated MFA factor.\n *\n * @generated from message auth.v1.UpdateMFAFactorResponse\n */\nexport type UpdateMFAFactorResponse = Message<\"auth.v1.UpdateMFAFactorResponse\"> & {\n /**\n * Updated MFA factor metadata.\n *\n * @generated from field: auth.v1.MFAFactor factor = 1;\n */\n factor?: MFAFactor | undefined;\n};\n\n/**\n * Describes the message auth.v1.UpdateMFAFactorResponse.\n * Use `create(UpdateMFAFactorResponseSchema)` to create a new message.\n */\nexport const UpdateMFAFactorResponseSchema: GenMessage<UpdateMFAFactorResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 25);\n\n/**\n * Request to delete an MFA factor.\n *\n * @generated from message auth.v1.DeleteMFAFactorRequest\n */\nexport type DeleteMFAFactorRequest = Message<\"auth.v1.DeleteMFAFactorRequest\"> & {\n /**\n * MFA factor identifier to delete.\n *\n * @generated from field: string factor_id = 1;\n */\n factorId: string;\n};\n\n/**\n * Describes the message auth.v1.DeleteMFAFactorRequest.\n * Use `create(DeleteMFAFactorRequestSchema)` to create a new message.\n */\nexport const DeleteMFAFactorRequestSchema: GenMessage<DeleteMFAFactorRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 26);\n\n/**\n * Empty response returned after an MFA factor is deleted.\n *\n * @generated from message auth.v1.DeleteMFAFactorResponse\n */\nexport type DeleteMFAFactorResponse = Message<\"auth.v1.DeleteMFAFactorResponse\"> & {\n};\n\n/**\n * Describes the message auth.v1.DeleteMFAFactorResponse.\n * Use `create(DeleteMFAFactorResponseSchema)` to create a new message.\n */\nexport const DeleteMFAFactorResponseSchema: GenMessage<DeleteMFAFactorResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 27);\n\n/**\n * Request to rotate recovery codes.\n *\n * @generated from message auth.v1.RegenerateRecoveryCodesRequest\n */\nexport type RegenerateRecoveryCodesRequest = Message<\"auth.v1.RegenerateRecoveryCodesRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.RegenerateRecoveryCodesRequest.\n * Use `create(RegenerateRecoveryCodesRequestSchema)` to create a new message.\n */\nexport const RegenerateRecoveryCodesRequestSchema: GenMessage<RegenerateRecoveryCodesRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 28);\n\n/**\n * Response containing newly generated recovery codes.\n *\n * @generated from message auth.v1.RegenerateRecoveryCodesResponse\n */\nexport type RegenerateRecoveryCodesResponse = Message<\"auth.v1.RegenerateRecoveryCodesResponse\"> & {\n /**\n * New one-time recovery codes. Store these securely; they are only returned in this response.\n *\n * @generated from field: repeated string recovery_codes = 1;\n */\n recoveryCodes: string[];\n};\n\n/**\n * Describes the message auth.v1.RegenerateRecoveryCodesResponse.\n * Use `create(RegenerateRecoveryCodesResponseSchema)` to create a new message.\n */\nexport const RegenerateRecoveryCodesResponseSchema: GenMessage<RegenerateRecoveryCodesResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_mfa, 29);\n\n/**\n * Session assurance level for the current interactive authentication context.\n *\n * @generated from enum auth.v1.SessionLevel\n */\nexport enum SessionLevel {\n /**\n * No session assurance level was specified.\n *\n * @generated from enum value: SESSION_LEVEL_UNSPECIFIED = 0;\n */\n SESSION_LEVEL_UNSPECIFIED = 0,\n\n /**\n * Primary login has completed, but MFA has not elevated this session.\n *\n * @generated from enum value: PRIMARY_AUTHENTICATED = 1;\n */\n PRIMARY_AUTHENTICATED = 1,\n\n /**\n * MFA has elevated this session for ordinary protected account activity.\n *\n * @generated from enum value: MFA_ELEVATED = 2;\n */\n MFA_ELEVATED = 2,\n\n /**\n * A short-lived proof for one high-risk action.\n *\n * @generated from enum value: FRESH_STEP_UP = 3;\n */\n FRESH_STEP_UP = 3,\n}\n\n/**\n * Describes the enum auth.v1.SessionLevel.\n */\nexport const SessionLevelSchema: GenEnum<SessionLevel> = /*@__PURE__*/\n enumDesc(file_auth_v1_mfa, 0);\n\n/**\n * Type of MFA factor or one-time recovery method.\n *\n * @generated from enum auth.v1.MFAFactorType\n */\nexport enum MFAFactorType {\n /**\n * No MFA factor type was specified.\n *\n * @generated from enum value: MFA_FACTOR_TYPE_UNSPECIFIED = 0;\n */\n MFA_FACTOR_TYPE_UNSPECIFIED = 0,\n\n /**\n * Time-based one-time password from an authenticator app.\n *\n * @generated from enum value: MFA_FACTOR_TYPE_TOTP = 1;\n */\n MFA_FACTOR_TYPE_TOTP = 1,\n\n /**\n * Passkey factor using device or hardware-key authentication.\n *\n * @generated from enum value: MFA_FACTOR_TYPE_PASSKEY = 2;\n */\n MFA_FACTOR_TYPE_PASSKEY = 2,\n\n /**\n * One-time recovery code.\n *\n * @generated from enum value: MFA_FACTOR_TYPE_RECOVERY_CODE = 3;\n */\n MFA_FACTOR_TYPE_RECOVERY_CODE = 3,\n}\n\n/**\n * Describes the enum auth.v1.MFAFactorType.\n */\nexport const MFAFactorTypeSchema: GenEnum<MFAFactorType> = /*@__PURE__*/\n enumDesc(file_auth_v1_mfa, 1);\n\n/**\n * Reason a user is completing an MFA challenge.\n *\n * @generated from enum auth.v1.MFAChallengePurpose\n */\nexport enum MFAChallengePurpose {\n /**\n * No MFA challenge purpose was specified.\n *\n * @generated from enum value: MFA_CHALLENGE_PURPOSE_UNSPECIFIED = 0;\n */\n MFA_CHALLENGE_PURPOSE_UNSPECIFIED = 0,\n\n /**\n * Elevates the current session after successful MFA.\n *\n * @generated from enum value: MFA_CHALLENGE_PURPOSE_SESSION_ELEVATION = 1;\n */\n MFA_CHALLENGE_PURPOSE_SESSION_ELEVATION = 1,\n\n /**\n * Creates a short-lived proof for one high-risk action.\n *\n * @generated from enum value: MFA_CHALLENGE_PURPOSE_FRESH_STEP_UP = 2;\n */\n MFA_CHALLENGE_PURPOSE_FRESH_STEP_UP = 2,\n}\n\n/**\n * Describes the enum auth.v1.MFAChallengePurpose.\n */\nexport const MFAChallengePurposeSchema: GenEnum<MFAChallengePurpose> = /*@__PURE__*/\n enumDesc(file_auth_v1_mfa, 2);\n\n/**\n * MFA management service for enrollment, challenges, fresh step-up proofs, and recovery codes.\n *\n * @generated from service auth.v1.MFAService\n */\nexport const MFAService: GenService<{\n /**\n * List the caller's enrolled MFA factors.\n *\n * @generated from rpc auth.v1.MFAService.ListMFAFactors\n */\n listMFAFactors: {\n methodKind: \"unary\";\n input: typeof ListMFAFactorsRequestSchema;\n output: typeof ListMFAFactorsResponseSchema;\n },\n /**\n * Start authenticator-app enrollment.\n *\n * @generated from rpc auth.v1.MFAService.BeginTOTPEnrollment\n */\n beginTOTPEnrollment: {\n methodKind: \"unary\";\n input: typeof BeginTOTPEnrollmentRequestSchema;\n output: typeof BeginTOTPEnrollmentResponseSchema;\n },\n /**\n * Finish authenticator-app enrollment.\n *\n * @generated from rpc auth.v1.MFAService.FinishTOTPEnrollment\n */\n finishTOTPEnrollment: {\n methodKind: \"unary\";\n input: typeof FinishTOTPEnrollmentRequestSchema;\n output: typeof FinishTOTPEnrollmentResponseSchema;\n },\n /**\n * Start passkey enrollment.\n *\n * @generated from rpc auth.v1.MFAService.BeginPasskeyEnrollment\n */\n beginPasskeyEnrollment: {\n methodKind: \"unary\";\n input: typeof BeginPasskeyEnrollmentRequestSchema;\n output: typeof BeginPasskeyEnrollmentResponseSchema;\n },\n /**\n * Finish passkey enrollment.\n *\n * @generated from rpc auth.v1.MFAService.FinishPasskeyEnrollment\n */\n finishPasskeyEnrollment: {\n methodKind: \"unary\";\n input: typeof FinishPasskeyEnrollmentRequestSchema;\n output: typeof FinishPasskeyEnrollmentResponseSchema;\n },\n /**\n * Start an MFA challenge for session elevation or fresh step-up.\n *\n * @generated from rpc auth.v1.MFAService.BeginMFAChallenge\n */\n beginMFAChallenge: {\n methodKind: \"unary\";\n input: typeof BeginMFAChallengeRequestSchema;\n output: typeof BeginMFAChallengeResponseSchema;\n },\n /**\n * Verify an MFA challenge with an authenticator-app code.\n *\n * @generated from rpc auth.v1.MFAService.VerifyTOTPChallenge\n */\n verifyTOTPChallenge: {\n methodKind: \"unary\";\n input: typeof VerifyTOTPChallengeRequestSchema;\n output: typeof CompleteMFAChallengeResponseSchema;\n },\n /**\n * Verify an MFA challenge with a passkey.\n *\n * @generated from rpc auth.v1.MFAService.FinishPasskeyChallenge\n */\n finishPasskeyChallenge: {\n methodKind: \"unary\";\n input: typeof FinishPasskeyChallengeRequestSchema;\n output: typeof CompleteMFAChallengeResponseSchema;\n },\n /**\n * Verify an MFA challenge with a recovery code.\n *\n * @generated from rpc auth.v1.MFAService.VerifyRecoveryCodeChallenge\n */\n verifyRecoveryCodeChallenge: {\n methodKind: \"unary\";\n input: typeof VerifyRecoveryCodeChallengeRequestSchema;\n output: typeof CompleteMFAChallengeResponseSchema;\n },\n /**\n * Update an enrolled MFA factor label.\n *\n * @generated from rpc auth.v1.MFAService.UpdateMFAFactor\n */\n updateMFAFactor: {\n methodKind: \"unary\";\n input: typeof UpdateMFAFactorRequestSchema;\n output: typeof UpdateMFAFactorResponseSchema;\n },\n /**\n * Delete an enrolled MFA factor.\n *\n * @generated from rpc auth.v1.MFAService.DeleteMFAFactor\n */\n deleteMFAFactor: {\n methodKind: \"unary\";\n input: typeof DeleteMFAFactorRequestSchema;\n output: typeof DeleteMFAFactorResponseSchema;\n },\n /**\n * Rotate the caller's recovery codes.\n *\n * @generated from rpc auth.v1.MFAService.RegenerateRecoveryCodes\n */\n regenerateRecoveryCodes: {\n methodKind: \"unary\";\n input: typeof RegenerateRecoveryCodesRequestSchema;\n output: typeof RegenerateRecoveryCodesResponseSchema;\n },\n /**\n * Claim a fresh step-up proof for one protected request.\n *\n * @generated from rpc auth.v1.MFAService.ClaimFreshStepUp\n */\n claimFreshStepUp: {\n methodKind: \"unary\";\n input: typeof ClaimFreshStepUpRequestSchema;\n output: typeof ClaimFreshStepUpResponseSchema;\n },\n /**\n * Consume a claimed fresh step-up proof after the protected request succeeds.\n *\n * @generated from rpc auth.v1.MFAService.ConsumeFreshStepUp\n */\n consumeFreshStepUp: {\n methodKind: \"unary\";\n input: typeof ConsumeFreshStepUpRequestSchema;\n output: typeof ConsumeFreshStepUpResponseSchema;\n },\n /**\n * Release a claimed fresh step-up proof when the protected request does not complete.\n *\n * @generated from rpc auth.v1.MFAService.ReleaseFreshStepUp\n */\n releaseFreshStepUp: {\n methodKind: \"unary\";\n input: typeof ReleaseFreshStepUpRequestSchema;\n output: typeof ReleaseFreshStepUpResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_auth_v1_mfa, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,MAAa,mBACX,uBAAS,ouNAAouN;CAAC;CAA6B;CAAgC;AAA0B,CAAC;;;;;AAyCx0N,MAAa,oBACX,0BAAY,kBAAkB,CAAC;;;;;AAgDjC,MAAa,kBACX,0BAAY,kBAAkB,CAAC;;;;;AAcjC,MAAa,8BACX,0BAAY,kBAAkB,CAAC;;;;;AA2BjC,MAAa,+BACX,0BAAY,kBAAkB,CAAC;;;;;AAoBjC,MAAa,mCACX,0BAAY,kBAAkB,CAAC;;;;;AAyCjC,MAAa,oCACX,0BAAY,kBAAkB,CAAC;;;;;AA2BjC,MAAa,oCACX,0BAAY,kBAAkB,CAAC;;;;;AAgDjC,MAAa,qCACX,0BAAY,kBAAkB,CAAC;;;;;AAoBjC,MAAa,sCACX,0BAAY,kBAAkB,CAAC;;;;;AAkCjC,MAAa,uCACX,0BAAY,kBAAkB,CAAC;;;;;AA2BjC,MAAa,uCACX,0BAAY,kBAAkB,EAAE;;;;;AAgDlC,MAAa,wCACX,0BAAY,kBAAkB,EAAE;;;;;AAoBlC,MAAa,iCACX,0BAAY,kBAAkB,EAAE;;;;;AAyClC,MAAa,kCAC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AAKA,MAAa,sBACX,uBAAS,kBAAkB,CAAC;;;;;;AAO9B,IAAY,sBAAL,yBAAA,qBAAA;;;;;;CAML,oBAAA,oBAAA,uCAAA,KAAA;;;;;;CAOA,oBAAA,oBAAA,6CAAA,KAAA;;;;;;CAOA,oBAAA,oBAAA,yCAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,4BACX,uBAAS,kBAAkB,CAAC;;;;;;AAO9B,MAAa,aAwJX,0BAAY,kBAAkB,CAAC"}
|
|
@@ -129,8 +129,8 @@ type UserProfile = Message<"auth.v1.UserProfile"> & {
|
|
|
129
129
|
*/
|
|
130
130
|
usernameUnlocked: boolean;
|
|
131
131
|
/**
|
|
132
|
-
* Whether the caller's root account
|
|
133
|
-
* False
|
|
132
|
+
* Whether the caller's root account accepted the terms required for restricted actions.
|
|
133
|
+
* False when the required terms have not been accepted.
|
|
134
134
|
*
|
|
135
135
|
* @generated from field: bool current_terms_accepted = 13;
|
|
136
136
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile_pb.d.ts","names":[],"sources":["../../../../src/gen/auth/v1/profile_pb.ts"],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"profile_pb.d.ts","names":[],"sources":["../../../../src/gen/auth/v1/profile_pb.ts"],"mappings":";;;;;;;;;cAca,sBAAsB;;;;;;KAQvB,kBAAkB;;;;;;EAM5B;;;;;;;EAQA;;;;;;EAOA;;;;;;EAOA;;;;;;cAOW,uBAAuB,WAAW;;;;;;KAQnC,cAAc;;;;;;;;EAQxB;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;;EAQA,YAAY;;;;;;;EAQZ,uBAAuB;;;;;;;EAQvB;;;;;;EAOA;;;;;;;EAQA;;;;;;cAOW,mBAAmB,WAAW;;;;;;;;;;;;KAc/B,mBAAmB;;;;;;;;EAQ7B;;;;;;;EAQA;;;;;;;EAQA;;;;;;;EAQA;;;;;;;EAQA;;;;;;cAOW,wBAAwB,WAAW;;;;;;KAQpC,oBAAoB;;;;;cAOnB,yBAAyB,WAAW;;;;;;KAQrC,qBAAqB;;;;;;EAM/B,MAAM;;;;;;;EAQN;;;;;;EAOA;;;;;;cAOW,0BAA0B,WAAW;;;;;;KAQtC,uBAAuB;;;;;;EAMjC;;;;;;EAOA,QAAQ;;;;;;cAOG,4BAA4B,WAAW;;;;;;;KASxC,4BAA4B;;;;;cAO3B,iCAAiC,WAAW;;;;;;;KAS7C,6BAA6B;;;;;;EAMvC,SAAS;;;;;;cAOE,kCAAkC,WAAW;;;;;;KAQ9C,iCAAiC;;;;;cAOhC,sCAAsC,WAAW;;;;;;;KASlD,kCAAkC;;;;;;EAM5C;;;;;;EAOA;;;;;;EAOA,YAAY;;;;;;cAOD,uCAAuC,WAAW;;;;;;KAQnD,gCAAgC;;;;;;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"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { __exportAll } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { file_polyester_api_options } from "../../polyester/api/options_pb.js";
|
|
2
3
|
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
3
4
|
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
5
|
//#region src/gen/auth/v1/profile_pb.ts
|
|
@@ -22,7 +23,7 @@ var profile_pb_exports = /* @__PURE__ */ __exportAll({
|
|
|
22
23
|
/**
|
|
23
24
|
* Describes the file auth/v1/profile.proto.
|
|
24
25
|
*/
|
|
25
|
-
const file_auth_v1_profile = /*@__PURE__*/ fileDesc("ChVhdXRoL3YxL3Byb2ZpbGUucHJvdG8SB2F1dGgudjEidQoPQWNjb3VudElkZW50aXR5EhIKCmFjY291bnRfaWQYASABKAYSEgoIdXNlcm5hbWUYAiABKAlCABIUCgphdmF0YXJfdXJsGAMgASgJQgASJAoacm9vdF9zbWFydF9hY2NvdW50X2FkZHJlc3MYBCABKAlCACLtAgoLVXNlclByb2ZpbGUSEgoIdXNlcm5hbWUYASABKAlCABINCgNiaW8YAiABKAlCABIRCgd3ZWJzaXRlGAMgASgJQgASEQoHdHdpdHRlchgEIAEoCUIAEhgKEHR3aXR0ZXJfdmVyaWZpZWQYCCABKAgSEQoHZGlzY29yZBgJIAEoCUIAEhgKEGRpc2NvcmRfdmVyaWZpZWQYCiABKAgSFAoKYXZhdGFyX3VybBgFIAEoCUIAEi4KCmNyZWF0ZWRfYXQYDCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjsKF25leHRfdXNlcm5hbWVfY2hhbmdlX2F0GAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIQCgh2aXBfdGllchgHIAEoBRIZChF1c2VybmFtZV91bmxvY2tlZBgLIAEoCBIeChZjdXJyZW50X3Rlcm1zX2FjY2VwdGVkGA0gASgIIsYBChBVc2VyUHJvZmlsZVBhdGNoEhcKCHVzZXJuYW1lGAEgASgJQgBIAIgBARISCgNiaW8YAiABKAlCAEgBiAEBEhYKB3dlYnNpdGUYAyABKAlCAEgCiAEBEhYKB3R3aXR0ZXIYBCABKAlCAEgDiAEBEhkKCmF2YXRhcl91cmwYBSABKAlCAEgEiAEBQgsKCV91c2VybmFtZUIGCgRfYmlvQgoKCF93ZWJzaXRlQgoKCF90d2l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vbHllc3Rlci1zZGstZ28vZ2VuL2F1dGgvdjE7YXV0aHYxYgZwcm90bzM=", [file_google_protobuf_timestamp, file_polyester_api_options]);
|
|
26
27
|
/**
|
|
27
28
|
* Describes the message auth.v1.AccountIdentity.
|
|
28
29
|
* Use `create(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(\"ChVhdXRoL3YxL3Byb2ZpbGUucHJvdG8SB2F1dGgudjEidQoPQWNjb3VudElkZW50aXR5EhIKCmFjY291bnRfaWQYASABKAYSEgoIdXNlcm5hbWUYAiABKAlCABIUCgphdmF0YXJfdXJsGAMgASgJQgASJAoacm9vdF9zbWFydF9hY2NvdW50X2FkZHJlc3MYBCABKAlCACLtAgoLVXNlclByb2ZpbGUSEgoIdXNlcm5hbWUYASABKAlCABINCgNiaW8YAiABKAlCABIRCgd3ZWJzaXRlGAMgASgJQgASEQoHdHdpdHRlchgEIAEoCUIAEhgKEHR3aXR0ZXJfdmVyaWZpZWQYCCABKAgSEQoHZGlzY29yZBgJIAEoCUIAEhgKEGRpc2NvcmRfdmVyaWZpZWQYCiABKAgSFAoKYXZhdGFyX3VybBgFIAEoCUIAEi4KCmN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XV0aHYxYgZwcm90bzM=\", [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"}
|
|
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 { file_polyester_api_options } from \"../../polyester/api/options_pb.js\";\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(\"ChVhdXRoL3YxL3Byb2ZpbGUucHJvdG8SB2F1dGgudjEidQoPQWNjb3VudElkZW50aXR5EhIKCmFjY291bnRfaWQYASABKAYSEgoIdXNlcm5hbWUYAiABKAlCABIUCgphdmF0YXJfdXJsGAMgASgJQgASJAoacm9vdF9zbWFydF9hY2NvdW50X2FkZHJlc3MYBC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C5hdXRoLnYxLkdlbmVyYXRlVXNlcm5hbWVPcHRpb25zUmVzcG9uc2UiABJYChZDbGFpbUdlbmVyYXRlZFVzZXJuYW1lEiYuYXV0aC52MS5DbGFpbUdlbmVyYXRlZFVzZXJuYW1lUmVxdWVzdBoULmF1dGgudjEuVXNlclByb2ZpbGUiAEI8WjpnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2F1dGgvdjE7YXV0aHYxYgZwcm90bzM=\", [file_google_protobuf_timestamp, file_polyester_api_options]);\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 accepted the terms required for restricted actions.\n * False when the required terms have not been accepted.\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":";;;;;;;;;;;;;;;;;;;;;;;;;AAcA,MAAa,uBACX,uBAAS,wiFAAwiF,CAAC,gCAAgC,0BAA0B,CAAC;;;;;AA0C/mF,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolve_pb.d.ts","names":[],"sources":["../../../../src/gen/auth/v1/resolve_pb.ts"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"resolve_pb.d.ts","names":[],"sources":["../../../../src/gen/auth/v1/resolve_pb.ts"],"mappings":";;;;;;;;cAYa,sBAAsB;;;;;;;KASvB,kBAAkB;;;;;;;;EAQ5B;;;;;;EAOA,MAAM;;;;;;;EAQN;;;;;;EAOA;;;;;;;EAQA;;;;;;cAOW,uBAAuB,WAAW;;;;;;aAQnC;;;;;;EAMV;;;;;;EAOA;;;;;;EAOA;;;;;cAMW,4BAA4B,QAAQ;;;;;;;KASrC,wBAAwB;;;;;;;;;;EAUlC;;;;;;;EAQA,MAAM;;;;;;;;;EAUN;;;;;;cAOW,6BAA6B,WAAW;;;;;;;;KAUzC,yBAAyB;;;;;;EAMnC,SAAS;;;;;;cAOE,8BAA8B,WAAW;;;;;;aAQ1C;;;;;;;;EAQV;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;cAMW,mBAAmB,QAAQ;;;;;;;cAS3B,gBAAgB;;;;;;;EAO3B;IACE;IACA,cAAc;IACd,eAAe"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { __exportAll } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { file_polyester_api_options } from "../../polyester/api/options_pb.js";
|
|
2
3
|
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
3
4
|
//#region src/gen/auth/v1/resolve_pb.ts
|
|
4
5
|
var resolve_pb_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -15,7 +16,7 @@ var resolve_pb_exports = /* @__PURE__ */ __exportAll({
|
|
|
15
16
|
/**
|
|
16
17
|
* Describes the file auth/v1/resolve.proto.
|
|
17
18
|
*/
|
|
18
|
-
const file_auth_v1_resolve = /*@__PURE__*/ fileDesc("ChVhdXRoL3YxL3Jlc29sdmUucHJvdG8SB2F1dGgudjEi1QEKD1Jlc29sdmVkQWNjb3VudBIdChVzbWFydF9hY2NvdW50X2FkZHJlc3MYASABKAkSLQoEa2luZBgCIAEoDjIdLmF1dGgudjEuUmVzb2x2ZWRBY2NvdW50LktpbmRCABIVCg1yb290X3VzZXJuYW1lGAMgASgJEhgKEHN1YmFjY291bnRfbGFiZWwYBCABKAkSEgoKYWNjb3VudF9pZBgFIAEoBiIvCgRLaW5kEhQKEEtJTkRfVU5TUEVDSUZJRUQQABIICgRST09UEAESBwoDU1VCEAIiawoVUmVzb2x2ZUFjY291bnRSZXF1ZXN0Eg8KBXF1ZXJ5GAEgASgJQgASJAoEaGludBgCIAEoDjIULmF1dGgudjEu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mVzb2x2ZWRBY2NvdW50KlQKC1Jlc29sdmVIaW50EhwKGFJFU09MVkVfSElOVF9VTlNQRUNJRklFRBAAEgwKCFVTRVJOQU1FEAESBgoCSUQQAhIRCg1TTUFSVF9BQ0NPVU5UEAMyZQoOUmVzb2x2ZVNlcnZpY2USUwoOUmVzb2x2ZUFjY291bnQSHi5hdXRoLnYxLlJlc29sdmVBY2NvdW50UmVxdWVzdBofLmF1dGgudjEuUmVzb2x2ZUFjY291bnRSZXNwb25zZSIAQjxaOmdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vYXV0aC92MTthdXRodjFiBnByb3RvMw==", [file_polyester_api_options]);
|
|
19
20
|
/**
|
|
20
21
|
* Describes the message auth.v1.ResolvedAccount.
|
|
21
22
|
* Use `create(ResolvedAccountSchema)` to create a new message.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolve_pb.js","names":[],"sources":["../../../../src/gen/auth/v1/resolve_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file auth/v1/resolve.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 { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file auth/v1/resolve.proto.\n */\nexport const file_auth_v1_resolve: GenFile = /*@__PURE__*/\n fileDesc(\"ChVhdXRoL3YxL3Jlc29sdmUucHJvdG8SB2F1dGgudjEi1QEKD1Jlc29sdmVkQWNjb3VudBIdChVzbWFydF9hY2NvdW50X2FkZHJlc3MYASABKAkSLQoEa2luZBgCIAEoDjIdLmF1dGgudjEuUmVzb2x2ZWRBY2NvdW50LktpbmRCABIVCg1yb290X3VzZXJuYW1lGAMgASgJEhgKEHN1YmFjY291bnRfbGFiZWwYBCABKAkSEgoKYWNjb3VudF9pZBgFIAEoBiIvCgRLaW5kEhQKEEtJTkRfVU5TUEVDSUZJRUQQABIICgRST09UEAESBwoDU1VCEAIiawoVUmVzb2x2ZUFjY291bnRSZXF1ZXN0Eg8KBXF1ZXJ5GAEgASgJQgASJAoEaGludBgCIAEoDjIULmF1dGgudjEuUmVzb2x2ZUhpbnRCABIbChNpbmNsdWRlX3N1YmFjY291bnRzGAMgASgIIkMKFlJlc29sdmVBY2NvdW50UmVzcG9uc2USKQoHbWF0Y2hlcxgBIAMoCzIYLmF1dGgudjEuUmVzb2x2ZWRBY2NvdW50KlQKC1Jlc29sdmVIaW50EhwKGFJFU09MVkVfSElOVF9VTlNQRUNJRklFRBAAEgwKCFVTRVJOQU1FEAESBgoCSUQQAhIRCg1TTUFSVF9BQ0NPVU5UEAMyZQoOUmVzb2x2ZVNlcnZpY2USUwoOUmVzb2x2ZUFjY291bnQSHi5hdXRoLnYxLlJlc29sdmVBY2NvdW50UmVxdWVzdBofLmF1dGgudjEuUmVzb2x2ZUFjY291bnRSZXNwb25zZSIAQjxaOmdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vYXV0aC92MTthdXRodjFiBnByb3RvMw==\");\n\n/**\n * ResolvedAccount represents a lightweight view of a destination account for\n * sharing or internal transfers.\n *\n * @generated from message auth.v1.ResolvedAccount\n */\nexport type ResolvedAccount = Message<\"auth.v1.ResolvedAccount\"> & {\n /**\n * Smart-account address that would receive funds. This is the address that\n * will receive the transfer, whether it belongs to a root account or a\n * sub-account.\n *\n * @generated from field: string smart_account_address = 1;\n */\n smartAccountAddress: string;\n\n /**\n * Category of account that owns this address.\n *\n * @generated from field: auth.v1.ResolvedAccount.Kind kind = 2;\n */\n kind: ResolvedAccount_Kind;\n\n /**\n * Root account username for the result. For sub-account results, this is the\n * parent root account username. Empty means the root account has no username.\n *\n * @generated from field: string root_username = 3;\n */\n rootUsername: string;\n\n /**\n * Optional sub-account label when kind is SUB.\n *\n * @generated from field: string subaccount_label = 4;\n */\n subaccountLabel: string;\n\n /**\n * Target account identifier (opaque ID). For root results this is an account\n * ID; for sub-account results this is a sub-account ID.\n *\n * @generated from field: fixed64 account_id = 5;\n */\n accountId: bigint;\n};\n\n/**\n * Describes the message auth.v1.ResolvedAccount.\n * Use `create(ResolvedAccountSchema)` to create a new message.\n */\nexport const ResolvedAccountSchema: GenMessage<ResolvedAccount> = /*@__PURE__*/\n messageDesc(file_auth_v1_resolve, 0);\n\n/**\n * Category of account that owns the resolved smart-account address.\n *\n * @generated from enum auth.v1.ResolvedAccount.Kind\n */\nexport enum ResolvedAccount_Kind {\n /**\n * Account kind was not provided.\n *\n * @generated from enum value: KIND_UNSPECIFIED = 0;\n */\n KIND_UNSPECIFIED = 0,\n\n /**\n * Root account.\n *\n * @generated from enum value: ROOT = 1;\n */\n ROOT = 1,\n\n /**\n * Sub-account.\n *\n * @generated from enum value: SUB = 2;\n */\n SUB = 2,\n}\n\n/**\n * Describes the enum auth.v1.ResolvedAccount.Kind.\n */\nexport const ResolvedAccount_KindSchema: GenEnum<ResolvedAccount_Kind> = /*@__PURE__*/\n enumDesc(file_auth_v1_resolve, 0, 0);\n\n/**\n * ResolveAccountRequest searches for a transfer or sharing destination by\n * username, account ID, or smart-account address.\n *\n * @generated from message auth.v1.ResolveAccountRequest\n */\nexport type ResolveAccountRequest = Message<\"auth.v1.ResolveAccountRequest\"> & {\n /**\n * Free-form query typed by the user. Can be:\n * - a username, 3 to 64 characters using letters, digits, underscore, dot, or hyphen\n * - an opaque root account or sub-account ID\n * - an EVM smart-account address formatted as 0x plus 40 hex characters\n * Maximum length is 128 characters.\n *\n * @generated from field: string query = 1;\n */\n query: string;\n\n /**\n * Optional hint for how to parse query. When unspecified, the service\n * auto-detects by query shape.\n *\n * @generated from field: auth.v1.ResolveHint hint = 2;\n */\n hint: ResolveHint;\n\n /**\n * When true, allow matches on sub-accounts as well as root accounts. Use\n * this for internal transfer flows where the caller may want to resolve a\n * specific sub-account by its ID or smart-account address. Username\n * lookups remain root-only regardless of this flag.\n *\n * @generated from field: bool include_subaccounts = 3;\n */\n includeSubaccounts: boolean;\n};\n\n/**\n * Describes the message auth.v1.ResolveAccountRequest.\n * Use `create(ResolveAccountRequestSchema)` to create a new message.\n */\nexport const ResolveAccountRequestSchema: GenMessage<ResolveAccountRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_resolve, 1);\n\n/**\n * ResolveAccountResponse contains matching accounts. Username and root-only\n * smart-account lookups return at most 5 matches; smart-account lookups with\n * include_subaccounts may return at most 10 matches.\n *\n * @generated from message auth.v1.ResolveAccountResponse\n */\nexport type ResolveAccountResponse = Message<\"auth.v1.ResolveAccountResponse\"> & {\n /**\n * Matching destination accounts. Empty means no account matched the query.\n *\n * @generated from field: repeated auth.v1.ResolvedAccount matches = 1;\n */\n matches: ResolvedAccount[];\n};\n\n/**\n * Describes the message auth.v1.ResolveAccountResponse.\n * Use `create(ResolveAccountResponseSchema)` to create a new message.\n */\nexport const ResolveAccountResponseSchema: GenMessage<ResolveAccountResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_resolve, 2);\n\n/**\n * ResolveHint controls how ResolveAccount interprets the query.\n *\n * @generated from enum auth.v1.ResolveHint\n */\nexport enum ResolveHint {\n /**\n * Auto-detect the query shape. EVM addresses are treated as smart-account\n * addresses, short Base58-looking values are tried as account IDs, and other\n * valid names are treated as usernames.\n *\n * @generated from enum value: RESOLVE_HINT_UNSPECIFIED = 0;\n */\n RESOLVE_HINT_UNSPECIFIED = 0,\n\n /**\n * Treat query as a username. Username lookups resolve root accounts only.\n *\n * @generated from enum value: USERNAME = 1;\n */\n USERNAME = 1,\n\n /**\n * Treat query as an opaque root account or sub-account ID.\n *\n * @generated from enum value: ID = 2;\n */\n ID = 2,\n\n /**\n * Treat query as an EVM smart-account address.\n *\n * @generated from enum value: SMART_ACCOUNT = 3;\n */\n SMART_ACCOUNT = 3,\n}\n\n/**\n * Describes the enum auth.v1.ResolveHint.\n */\nexport const ResolveHintSchema: GenEnum<ResolveHint> = /*@__PURE__*/\n enumDesc(file_auth_v1_resolve, 0);\n\n/**\n * ResolveService resolves authenticated account destinations for sharing and\n * transfer flows.\n *\n * @generated from service auth.v1.ResolveService\n */\nexport const ResolveService: GenService<{\n /**\n * Resolve an account by username, account ID, or smart-account address.\n * Use this before sharing or transferring so the caller can confirm the target.\n *\n * @generated from rpc auth.v1.ResolveService.ResolveAccount\n */\n resolveAccount: {\n methodKind: \"unary\";\n input: typeof ResolveAccountRequestSchema;\n output: typeof ResolveAccountResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_auth_v1_resolve, 0);\n\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"resolve_pb.js","names":[],"sources":["../../../../src/gen/auth/v1/resolve_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file auth/v1/resolve.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 { file_polyester_api_options } from \"../../polyester/api/options_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file auth/v1/resolve.proto.\n */\nexport const file_auth_v1_resolve: GenFile = /*@__PURE__*/\n fileDesc(\"ChVhdXRoL3YxL3Jlc29sdmUucHJvdG8SB2F1dGgudjEi1QEKD1Jlc29sdmVkQWNjb3VudBIdChVzbWFydF9hY2NvdW50X2FkZHJlc3MYASABKAkSLQoEa2luZBgCIAEoDjIdLmF1dGgudjEuUmVzb2x2ZWRBY2NvdW50LktpbmRCABIVCg1yb290X3VzZXJuYW1lGAMgASgJEhgKEHN1YmFjY291bnRfbGFiZWwYBCABKAkSEgoKYWNjb3VudF9pZBgFIAEoBiIvCgRLaW5kEhQKEEtJTkRfVU5TUEVDSUZJRUQQABIICgRST09UEAESBwoDU1VCEAIiawoVUmVzb2x2ZUFjY291bnRSZXF1ZXN0Eg8KBXF1ZXJ5GAEgASgJQgASJAoEaGludBgCIAEoDjIULmF1dGgudjEuUmVzb2x2ZUhpbnRCABIbChNpbmNsdWRlX3N1YmFjY291bnRzGAMgASgIIkMKFlJlc29sdmVBY2NvdW50UmVzcG9uc2USKQoHbWF0Y2hlcxgBIAMoCzIYLmF1dGgudjEuUmVzb2x2ZWRBY2NvdW50KlQKC1Jlc29sdmVIaW50EhwKGFJFU09MVkVfSElOVF9VTlNQRUNJRklFRBAAEgwKCFVTRVJOQU1FEAESBgoCSUQQAhIRCg1TTUFSVF9BQ0NPVU5UEAMyZQoOUmVzb2x2ZVNlcnZpY2USUwoOUmVzb2x2ZUFjY291bnQSHi5hdXRoLnYxLlJlc29sdmVBY2NvdW50UmVxdWVzdBofLmF1dGgudjEuUmVzb2x2ZUFjY291bnRSZXNwb25zZSIAQjxaOmdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vYXV0aC92MTthdXRodjFiBnByb3RvMw==\", [file_polyester_api_options]);\n\n/**\n * ResolvedAccount represents a lightweight view of a destination account for\n * sharing or internal transfers.\n *\n * @generated from message auth.v1.ResolvedAccount\n */\nexport type ResolvedAccount = Message<\"auth.v1.ResolvedAccount\"> & {\n /**\n * Smart-account address that would receive funds. This is the address that\n * will receive the transfer, whether it belongs to a root account or a\n * sub-account.\n *\n * @generated from field: string smart_account_address = 1;\n */\n smartAccountAddress: string;\n\n /**\n * Category of account that owns this address.\n *\n * @generated from field: auth.v1.ResolvedAccount.Kind kind = 2;\n */\n kind: ResolvedAccount_Kind;\n\n /**\n * Root account username for the result. For sub-account results, this is the\n * parent root account username. Empty means the root account has no username.\n *\n * @generated from field: string root_username = 3;\n */\n rootUsername: string;\n\n /**\n * Optional sub-account label when kind is SUB.\n *\n * @generated from field: string subaccount_label = 4;\n */\n subaccountLabel: string;\n\n /**\n * Target account identifier (opaque ID). For root results this is an account\n * ID; for sub-account results this is a sub-account ID.\n *\n * @generated from field: fixed64 account_id = 5;\n */\n accountId: bigint;\n};\n\n/**\n * Describes the message auth.v1.ResolvedAccount.\n * Use `create(ResolvedAccountSchema)` to create a new message.\n */\nexport const ResolvedAccountSchema: GenMessage<ResolvedAccount> = /*@__PURE__*/\n messageDesc(file_auth_v1_resolve, 0);\n\n/**\n * Category of account that owns the resolved smart-account address.\n *\n * @generated from enum auth.v1.ResolvedAccount.Kind\n */\nexport enum ResolvedAccount_Kind {\n /**\n * Account kind was not provided.\n *\n * @generated from enum value: KIND_UNSPECIFIED = 0;\n */\n KIND_UNSPECIFIED = 0,\n\n /**\n * Root account.\n *\n * @generated from enum value: ROOT = 1;\n */\n ROOT = 1,\n\n /**\n * Sub-account.\n *\n * @generated from enum value: SUB = 2;\n */\n SUB = 2,\n}\n\n/**\n * Describes the enum auth.v1.ResolvedAccount.Kind.\n */\nexport const ResolvedAccount_KindSchema: GenEnum<ResolvedAccount_Kind> = /*@__PURE__*/\n enumDesc(file_auth_v1_resolve, 0, 0);\n\n/**\n * ResolveAccountRequest searches for a transfer or sharing destination by\n * username, account ID, or smart-account address.\n *\n * @generated from message auth.v1.ResolveAccountRequest\n */\nexport type ResolveAccountRequest = Message<\"auth.v1.ResolveAccountRequest\"> & {\n /**\n * Free-form query typed by the user. Can be:\n * - a username, 3 to 64 characters using letters, digits, underscore, dot, or hyphen\n * - an opaque root account or sub-account ID\n * - an EVM smart-account address formatted as 0x plus 40 hex characters\n * Maximum length is 128 characters.\n *\n * @generated from field: string query = 1;\n */\n query: string;\n\n /**\n * Optional hint for how to parse query. When unspecified, the service\n * auto-detects by query shape.\n *\n * @generated from field: auth.v1.ResolveHint hint = 2;\n */\n hint: ResolveHint;\n\n /**\n * When true, allow matches on sub-accounts as well as root accounts. Use\n * this for internal transfer flows where the caller may want to resolve a\n * specific sub-account by its ID or smart-account address. Username\n * lookups remain root-only regardless of this flag.\n *\n * @generated from field: bool include_subaccounts = 3;\n */\n includeSubaccounts: boolean;\n};\n\n/**\n * Describes the message auth.v1.ResolveAccountRequest.\n * Use `create(ResolveAccountRequestSchema)` to create a new message.\n */\nexport const ResolveAccountRequestSchema: GenMessage<ResolveAccountRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_resolve, 1);\n\n/**\n * ResolveAccountResponse contains matching accounts. Username and root-only\n * smart-account lookups return at most 5 matches; smart-account lookups with\n * include_subaccounts may return at most 10 matches.\n *\n * @generated from message auth.v1.ResolveAccountResponse\n */\nexport type ResolveAccountResponse = Message<\"auth.v1.ResolveAccountResponse\"> & {\n /**\n * Matching destination accounts. Empty means no account matched the query.\n *\n * @generated from field: repeated auth.v1.ResolvedAccount matches = 1;\n */\n matches: ResolvedAccount[];\n};\n\n/**\n * Describes the message auth.v1.ResolveAccountResponse.\n * Use `create(ResolveAccountResponseSchema)` to create a new message.\n */\nexport const ResolveAccountResponseSchema: GenMessage<ResolveAccountResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_resolve, 2);\n\n/**\n * ResolveHint controls how ResolveAccount interprets the query.\n *\n * @generated from enum auth.v1.ResolveHint\n */\nexport enum ResolveHint {\n /**\n * Auto-detect the query shape. EVM addresses are treated as smart-account\n * addresses, short Base58-looking values are tried as account IDs, and other\n * valid names are treated as usernames.\n *\n * @generated from enum value: RESOLVE_HINT_UNSPECIFIED = 0;\n */\n RESOLVE_HINT_UNSPECIFIED = 0,\n\n /**\n * Treat query as a username. Username lookups resolve root accounts only.\n *\n * @generated from enum value: USERNAME = 1;\n */\n USERNAME = 1,\n\n /**\n * Treat query as an opaque root account or sub-account ID.\n *\n * @generated from enum value: ID = 2;\n */\n ID = 2,\n\n /**\n * Treat query as an EVM smart-account address.\n *\n * @generated from enum value: SMART_ACCOUNT = 3;\n */\n SMART_ACCOUNT = 3,\n}\n\n/**\n * Describes the enum auth.v1.ResolveHint.\n */\nexport const ResolveHintSchema: GenEnum<ResolveHint> = /*@__PURE__*/\n enumDesc(file_auth_v1_resolve, 0);\n\n/**\n * ResolveService resolves authenticated account destinations for sharing and\n * transfer flows.\n *\n * @generated from service auth.v1.ResolveService\n */\nexport const ResolveService: GenService<{\n /**\n * Resolve an account by username, account ID, or smart-account address.\n * Use this before sharing or transferring so the caller can confirm the target.\n *\n * @generated from rpc auth.v1.ResolveService.ResolveAccount\n */\n resolveAccount: {\n methodKind: \"unary\";\n input: typeof ResolveAccountRequestSchema;\n output: typeof ResolveAccountResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_auth_v1_resolve, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;AAYA,MAAa,uBACX,uBAAS,w5BAAw5B,CAAC,0BAA0B,CAAC;;;;;AAqD/7B,MAAa,wBACX,0BAAY,sBAAsB,CAAC;;;;;;AAOrC,IAAY,uBAAL,yBAAA,sBAAA;;;;;;CAML,qBAAA,qBAAA,sBAAA,KAAA;;;;;;CAOA,qBAAA,qBAAA,UAAA,KAAA;;;;;;CAOA,qBAAA,qBAAA,SAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,6BACX,uBAAS,sBAAsB,GAAG,CAAC;;;;;AA2CrC,MAAa,8BACX,0BAAY,sBAAsB,CAAC;;;;;AAsBrC,MAAa,+BACX,0BAAY,sBAAsB,CAAC;;;;;;AAOrC,IAAY,cAAL,yBAAA,aAAA;;;;;;;;CAQL,YAAA,YAAA,8BAAA,KAAA;;;;;;CAOA,YAAA,YAAA,cAAA,KAAA;;;;;;CAOA,YAAA,YAAA,QAAA,KAAA;;;;;;CAOA,YAAA,YAAA,mBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,oBACX,uBAAS,sBAAsB,CAAC;;;;;;;AAQlC,MAAa,iBAaX,0BAAY,sBAAsB,CAAC"}
|
|
@@ -389,6 +389,9 @@ declare const SocialVerificationService: GenService<{
|
|
|
389
389
|
};
|
|
390
390
|
/**
|
|
391
391
|
* Mark a verification as ready after the challenge code has been placed.
|
|
392
|
+
* AUTH_RESOURCE_NOT_FOUND means no verification exists; start one first.
|
|
393
|
+
* AUTH_SOCIAL_VERIFICATION_EXPIRED means the challenge window passed; start a new verification, then mark it ready again.
|
|
394
|
+
* AUTH_SOCIAL_VERIFICATION_INVALID_STATE means Ready is not valid in the current state; call GetSocialVerification for the current status.
|
|
392
395
|
*
|
|
393
396
|
* @generated from rpc auth.v1.SocialVerificationService.SocialVerificationReady
|
|
394
397
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"social_verification_pb.d.ts","names":[],"sources":["../../../../src/gen/auth/v1/social_verification_pb.ts"],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"social_verification_pb.d.ts","names":[],"sources":["../../../../src/gen/auth/v1/social_verification_pb.ts"],"mappings":";;;;;;;;;cAca,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;;;;;;;;;;EAUjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;EAOjB;IACE;IACA,cAAc;IACd,eAAe"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { __exportAll } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { file_polyester_api_options } from "../../polyester/api/options_pb.js";
|
|
2
3
|
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
3
4
|
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
5
|
//#region src/gen/auth/v1/social_verification_pb.ts
|
|
@@ -22,7 +23,7 @@ var social_verification_pb_exports = /* @__PURE__ */ __exportAll({
|
|
|
22
23
|
/**
|
|
23
24
|
* Describes the file auth/v1/social_verification.proto.
|
|
24
25
|
*/
|
|
25
|
-
const file_auth_v1_social_verification = /*@__PURE__*/ fileDesc("CiFhdXRoL3YxL3NvY2lhbF92ZXJpZmljYXRpb24ucHJvdG8SB2F1dGgudjEi3AMKElNvY2lhbFZlcmlmaWNhdGlvbhIKCgJpZBgMIAEoAxIpCghwcm92aWRlchgBIAEoDjIXLmF1dGgudjEuU29jaWFsUHJvdmlkZXISMQoGbWV0aG9kGAsgASgOMiEuYXV0aC52MS5Tb2NpYWxWZXJpZmljYX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b2NpYWxWZXJpZmljYXRpb25SZWFkeVJlc3BvbnNlIgASaAoVR2V0U29jaWFsVmVyaWZpY2F0aW9uEiUuYXV0aC52MS5HZXRTb2NpYWxWZXJpZmljYXRpb25SZXF1ZXN0GiYuYXV0aC52MS5HZXRTb2NpYWxWZXJpZmljYXRpb25SZXNwb25zZSIAQjxaOmdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vYXV0aC92MTthdXRodjFiBnByb3RvMw==", [file_google_protobuf_timestamp]);
|
|
26
|
+
const file_auth_v1_social_verification = /*@__PURE__*/ fileDesc("CiFhdXRoL3YxL3NvY2lhbF92ZXJpZmljYXRpb24ucHJvdG8SB2F1dGgudjEi3AMKElNvY2lhbFZlcmlmaWNhdGlvbhIKCgJpZBgMIAEoAxIpCghwcm92aWRlchgBIAEoDjIXLmF1dGgudjEuU29jaWFsUHJvdmlkZXISMQoGbWV0aG9kGAsgASgOMiEuYXV0aC52MS5Tb2NpYWxWZXJpZmljYXRpb25NZXRob2QSDgoGaGFuZGxlGAIgASgJEhgKEHByb3ZpZGVyX3VzZXJfaWQYAyABKAkSFgoOY2hhbGxlbmdlX2NvZGUYDSABKAkSMQoGc3RhdHVzGAQgASgOMiEuYXV0aC52MS5Tb2NpYWxWZXJpZmljYXRpb25TdGF0dXMSMAoMcmVxdWVzdGVkX2F0GAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgpleHBpcmVzX2F0GAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIvCgt2ZXJpZmllZF9hdBgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASEAoIYXR0ZW1wdHMYCSABKAUSEgoKbGFzdF9lcnJvchgKIAEoCRIuCgp1cGRhdGVkX2F0GA8gASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCKWAQoeU3RhcnRTb2NpYWxWZXJpZmljYXRpb25S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TUxADEhMKD1NUQVRVU19WRVJJRklFRBAEEhEKDVNUQVRVU19GQUlMRUQQBRISCg5TVEFUVVNfRVhQSVJFRBAGEhQKEFNUQVRVU19DQU5DRUxMRUQQByppChhTb2NpYWxWZXJpZmljYXRpb25NZXRob2QSFgoSTUVUSE9EX1VOU1BFQ0lGSUVEEAASEgoOTUVUSE9EX1BST0ZJTEUQARISCg5NRVRIT0RfQ0hBTk5FTBACEg0KCU1FVEhPRF9ETRADMuUCChlTb2NpYWxWZXJpZmljYXRpb25TZXJ2aWNlEm4KF1N0YXJ0U29jaWFsVmVyaWZpY2F0aW9uEicuYXV0aC52MS5TdGFydFNvY2lhbFZlcmlmaWNhdGlvblJlcXVlc3QaKC5hdXRoLnYxLlN0YXJ0U29jaWFsVmVyaWZpY2F0aW9uUmVzcG9uc2UiABJuChdTb2NpYWxWZXJpZmljYXRpb25SZWFkeRInLmF1dGgudjEuU29jaWFsVmVyaWZpY2F0aW9uUmVhZHlSZXF1ZXN0GiguYXV0aC52MS5Tb2NpYWxWZXJpZmljYXRpb25SZWFkeVJlc3BvbnNlIgASaAoVR2V0U29jaWFsVmVyaWZpY2F0aW9uEiUuYXV0aC52MS5HZXRTb2NpYWxWZXJpZmljYXRpb25SZXF1ZXN0GiYuYXV0aC52MS5HZXRTb2NpYWxWZXJpZmljYXRpb25SZXNwb25zZSIAQjxaOmdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vYXV0aC92MTthdXRodjFiBnByb3RvMw==", [file_google_protobuf_timestamp, file_polyester_api_options]);
|
|
26
27
|
/**
|
|
27
28
|
* Describes the message auth.v1.SocialVerification.
|
|
28
29
|
* Use `create(SocialVerificationSchema)` to create a new message.
|