import { SubaccountInviteAction, SubaccountInviteDirection, SubaccountRole as SubaccountRole$1, SubaccountStatus as SubaccountStatus$1 } from "../../gen/auth/v1/subaccounts_pb.js"; import * as v from "valibot"; //#region src/services/subaccounts/subaccounts.schemas.d.ts declare const SubaccountRoleSchema: v.PicklistSchema; type SubaccountRole = v.InferOutput; declare const ProtoSubaccountPermissionSchema: v.SchemaWithPipe, v.TransformAction]>; type SubaccountPermission = v.InferOutput; declare const SubaccountPermissionDefinitionSchema: v.ObjectSchema<{ readonly permission: v.SchemaWithPipe, v.TransformAction]>; readonly displayName: v.OptionalSchema, "">; readonly description: v.OptionalSchema, "">; readonly policyAction: v.SchemaWithPipe, v.TransformAction]>; }, undefined>; type SubaccountPermissionDefinition = v.InferOutput; declare const SubaccountRoleDefinitionSchema: v.ObjectSchema<{ readonly role: v.SchemaWithPipe, v.TransformAction]>; readonly displayName: v.OptionalSchema, "">; readonly description: v.OptionalSchema, "">; readonly assignable: v.OptionalSchema, false>; readonly permissions: v.OptionalSchema, v.TransformAction]>, undefined>, readonly []>; }, undefined>; type SubaccountRoleDefinition = v.InferOutput; declare const SubaccountRoleCatalogSchema: v.ObjectSchema<{ readonly permissions: v.OptionalSchema, v.TransformAction]>; readonly displayName: v.OptionalSchema, "">; readonly description: v.OptionalSchema, "">; readonly policyAction: v.SchemaWithPipe, v.TransformAction]>; }, undefined>, undefined>, readonly []>; readonly roles: v.OptionalSchema, v.TransformAction]>; readonly displayName: v.OptionalSchema, "">; readonly description: v.OptionalSchema, "">; readonly assignable: v.OptionalSchema, false>; readonly permissions: v.OptionalSchema, v.TransformAction]>, undefined>, readonly []>; }, undefined>, undefined>, readonly []>; }, undefined>; type SubaccountRoleCatalog = v.InferOutput; declare const EffectiveSubaccountPermissionsSchema: v.ObjectSchema<{ readonly role: v.SchemaWithPipe, v.TransformAction]>; readonly permissions: v.OptionalSchema, v.TransformAction]>, undefined>, readonly []>; readonly subaccountPolicyId: v.SchemaWithPipe, v.TransformAction]>; }, undefined>; type EffectiveSubaccountPermissions = v.InferOutput; declare const CreateSubaccountChallengeInputSchema: v.StrictObjectSchema<{ readonly ownerAddress: v.SchemaWithPipe, v.CheckAction]>; readonly uri: v.SchemaWithPipe, v.MaxLengthAction, v.CheckAction]>; }, undefined>; type CreateSubaccountChallengeInput = v.InferInput; declare const SubaccountChallengeSchema: v.ObjectSchema<{ readonly message: v.SchemaWithPipe, v.MinLengthAction, v.CheckAction]>; readonly smartAccountAddress: v.SchemaWithPipe, v.CheckAction]>; readonly smartAccountSaltNonce: v.NumberSchema; readonly expiresAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; readonly polyesterChainId: v.SchemaWithPipe, v.TransformAction]>; }, undefined>; type SubaccountChallenge = v.InferOutput; declare const CreateSubaccountInputSchema: v.StrictObjectSchema<{ readonly label: v.OptionalSchema, "">; readonly icon: v.OptionalSchema, "">; readonly color: v.OptionalSchema, "">; readonly smartAccountAddress: v.SchemaWithPipe, v.CheckAction]>; readonly message: v.SchemaWithPipe, v.MinLengthAction, v.CheckAction]>; readonly signature: v.SchemaWithPipe, v.MinLengthAction, v.MaxLengthAction]>; }, undefined>; type CreateSubaccountInput = v.InferInput; declare const SubaccountIdInputSchema: v.StrictObjectSchema<{ readonly subaccountId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction, v.TransformAction]>; }, undefined>; type SubaccountIdInput = v.InferInput; declare const CreateSubaccountResultSchema: v.ObjectSchema<{ readonly subaccountId: v.SchemaWithPipe, v.TransformAction]>; readonly totalCreated: v.NumberSchema; readonly smartAccountSaltNonce: v.NumberSchema; readonly revision: v.SchemaWithPipe, v.TransformAction]>; }, undefined>; type CreateSubaccountResult = v.InferOutput; declare const SubaccountMutationResultSchema: v.ObjectSchema<{}, undefined>; type SubaccountMutationResult = v.InferOutput; declare const UpdateSubaccountInputSchema: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction, v.TransformAction]>; readonly expectedRevision: v.SchemaWithPipe, v.TrimAction]>, v.RegexAction, v.TransformAction]>, v.CheckAction]>; readonly label: v.OptionalSchema, undefined>; readonly icon: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly status: v.OptionalSchema, undefined>; }, undefined>, v.CheckAction<{ subaccountId: bigint; expectedRevision: bigint; label?: string | undefined; icon?: string | undefined; color?: string | undefined; status?: "active" | "disabled" | undefined; }, "At least one subaccount field must be provided">, v.TransformAction<{ subaccountId: bigint; expectedRevision: bigint; label?: string | undefined; icon?: string | undefined; color?: string | undefined; status?: "active" | "disabled" | undefined; }, { subaccountId: bigint; subaccount: Partial<{ label: string; } & { icon: string; } & { color: string; } & { status: SubaccountStatus$1.ACTIVE | SubaccountStatus$1.DISABLED; }>; updateMask: { paths: string[]; }; expectedRevision: bigint; }>]>; type UpdateSubaccountInput = v.InferInput; declare const InviteSubaccountMemberInputSchema: v.StrictObjectSchema<{ readonly subaccountId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction, v.TransformAction]>; readonly granteeAccountId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction, v.TransformAction]>; readonly role: v.SchemaWithPipe, v.TransformAction<"owner" | "admin" | "treasury" | "leveraged_trader" | "trader" | "viewer", SubaccountRole$1.VIEWER | SubaccountRole$1.TRADER | SubaccountRole$1.LEVERAGED_TRADER | SubaccountRole$1.TREASURY | SubaccountRole$1.ADMIN | SubaccountRole$1.OWNER>]>; }, undefined>; type InviteSubaccountMemberInput = v.InferInput; declare const RemoveSubaccountMemberInputSchema: v.StrictObjectSchema<{ readonly subaccountId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction, v.TransformAction]>; readonly granteeAccountId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction, v.TransformAction]>; }, undefined>; type RemoveSubaccountMemberInput = v.InferInput; declare const UpdateSubaccountMemberRoleInputSchema: v.StrictObjectSchema<{ readonly subaccountId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction, v.TransformAction]>; readonly granteeAccountId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction, v.TransformAction]>; readonly role: v.SchemaWithPipe, v.TransformAction<"owner" | "admin" | "treasury" | "leveraged_trader" | "trader" | "viewer", SubaccountRole$1.VIEWER | SubaccountRole$1.TRADER | SubaccountRole$1.LEVERAGED_TRADER | SubaccountRole$1.TREASURY | SubaccountRole$1.ADMIN | SubaccountRole$1.OWNER>]>; }, undefined>; type UpdateSubaccountMemberRoleInput = v.InferInput; declare const SetSubaccountMemberMfaRequirementInputSchema: v.StrictObjectSchema<{ readonly subaccountId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction, v.TransformAction]>; readonly requireMemberMfa: v.BooleanSchema; }, undefined>; type SetSubaccountMemberMfaRequirementInput = v.InferInput; declare const ListSubaccountInvitesInputSchema: v.StrictObjectSchema<{ readonly direction: v.SchemaWithPipe, "">, v.TransformAction<"" | "incoming" | "outgoing", SubaccountInviteDirection>]>; }, undefined>; type ListSubaccountInvitesInput = v.InferInput; declare const InviteStatusSchema: v.PicklistSchema<["pending", "accepted", "declined", "cancelled"], undefined>; type SubaccountInviteStatus = v.InferOutput; declare const RespondSubaccountInviteInputSchema: v.StrictObjectSchema<{ readonly inviteId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction, v.TransformAction]>; readonly action: v.SchemaWithPipe, v.TransformAction<"accept" | "decline" | "cancel", SubaccountInviteAction.ACCEPT | SubaccountInviteAction.DECLINE | SubaccountInviteAction.CANCEL>]>; }, undefined>; type RespondSubaccountInviteInput = v.InferInput; declare const ProtoSubaccountStatusSchema: v.SchemaWithPipe, v.TransformAction]>; type SubaccountStatus = v.InferOutput; declare const SubaccountSchema: v.SchemaWithPipe, v.TransformAction]>; readonly role: v.SchemaWithPipe, v.TransformAction]>; readonly label: v.OptionalSchema, "">; readonly icon: v.OptionalSchema, "">; readonly color: v.OptionalSchema, "">; readonly status: v.SchemaWithPipe, v.TransformAction]>; readonly smartAccountAddress: v.StringSchema; readonly smartAccountSaltNonce: v.OptionalSchema, undefined>; readonly ownerUsername: v.OptionalSchema, "">; readonly ownerAvatarUrl: v.OptionalSchema, "">; readonly ownerRootSmartAccountAddress: v.StringSchema; readonly subaccountPolicyId: v.SchemaWithPipe, v.TransformAction]>; readonly requireMemberMfa: v.OptionalSchema, false>; readonly updatedAt: v.OptionalSchema; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>; readonly revision: v.SchemaWithPipe, v.TransformAction]>; }, undefined>, v.TransformAction<{ id: string; role: "unspecified" | "owner" | "admin" | "treasury" | "leveraged_trader" | "trader" | "viewer"; label: string; icon: string; color: string; status: "unspecified" | "active" | "disabled"; smartAccountAddress: string; smartAccountSaltNonce?: number | undefined; ownerUsername: string; ownerAvatarUrl: string; ownerRootSmartAccountAddress: string; subaccountPolicyId: string; requireMemberMfa: boolean; updatedAt?: { seconds: bigint; nanos: number; } | undefined; revision: string; }, { updatedAt: number | undefined; updatedAtNs: string | undefined; id: string; role: "unspecified" | "owner" | "admin" | "treasury" | "leveraged_trader" | "trader" | "viewer"; label: string; icon: string; color: string; status: "unspecified" | "active" | "disabled"; smartAccountAddress: string; smartAccountSaltNonce?: number | undefined; ownerUsername: string; ownerAvatarUrl: string; ownerRootSmartAccountAddress: string; subaccountPolicyId: string; requireMemberMfa: boolean; revision: string; }>]>; type Subaccount = v.InferOutput; declare const SubaccountMemberSchema: v.ObjectSchema<{ readonly accountId: v.SchemaWithPipe, v.TransformAction]>; readonly role: v.SchemaWithPipe, v.TransformAction]>; readonly username: v.OptionalSchema, "">; readonly smartAccountAddress: v.StringSchema; readonly avatarUrl: v.OptionalSchema, "">; readonly mfaEnrolled: v.OptionalSchema, false>; }, undefined>; type SubaccountMember = v.InferOutput; declare const SubaccountInviteSchema: v.SchemaWithPipe, v.TransformAction]>; readonly subaccountId: v.SchemaWithPipe, v.TransformAction]>; readonly granteeAccountId: v.SchemaWithPipe, v.TransformAction]>; readonly inviterAccountId: v.SchemaWithPipe, v.TransformAction]>; readonly role: v.SchemaWithPipe, v.TransformAction]>; readonly status: v.SchemaWithPipe, v.TransformAction]>; readonly createdAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; readonly respondedAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; readonly granteeUsername: v.OptionalSchema, "">; readonly inviterUsername: v.OptionalSchema, "">; readonly subaccountLabel: v.OptionalSchema, "">; readonly inviterRootSmartAccountAddress: v.StringSchema; readonly granteeRootSmartAccountAddress: v.StringSchema; readonly requireMemberMfa: v.BooleanSchema; }, undefined>, v.TransformAction<{ id: string; subaccountId: string; granteeAccountId: string; inviterAccountId: string; role: "unspecified" | "owner" | "admin" | "treasury" | "leveraged_trader" | "trader" | "viewer"; status: "unspecified" | "cancelled" | "pending" | "accepted" | "declined"; createdAt?: number | undefined; respondedAt?: number | undefined; granteeUsername: string; inviterUsername: string; subaccountLabel: string; inviterRootSmartAccountAddress: string; granteeRootSmartAccountAddress: string; requireMemberMfa: boolean; }, { subaccountId: string; subaccountLabel: string; inviterSmartAccountAddress: string; granteeSmartAccountAddress: string; id: string; granteeAccountId: string; inviterAccountId: string; role: "unspecified" | "owner" | "admin" | "treasury" | "leveraged_trader" | "trader" | "viewer"; status: "unspecified" | "cancelled" | "pending" | "accepted" | "declined"; createdAt?: number | undefined; respondedAt?: number | undefined; granteeUsername: string; inviterUsername: string; requireMemberMfa: boolean; }>]>; type SubaccountInvite = v.InferOutput; declare const SubaccountActivityInputSchema: v.StrictObjectSchema<{ readonly subaccountId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction, v.TransformAction]>; readonly limit: v.OptionalSchema, v.IntegerAction, v.MinValueAction, v.MaxValueAction]>, 50>; readonly pageToken: v.OptionalSchema, v.TrimAction]>, "">; }, undefined>; type SubaccountActivityInput = v.InferInput; declare const SubaccountActivityEventSchema: v.ObjectSchema<{ readonly createdAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; readonly entityKind: v.SchemaWithPipe, v.TransformAction]>; readonly eventAction: v.SchemaWithPipe, v.TransformAction]>; readonly source: v.SchemaWithPipe, v.TransformAction]>; readonly ip: v.OptionalSchema, undefined>; readonly userAgent: v.OptionalSchema, undefined>; readonly actorAccountId: v.SchemaWithPipe, v.TransformAction]>; readonly payloadJson: v.SchemaWithPipe, v.TransformAction]>; }, undefined>; type SubaccountEvent = v.InferOutput; //#endregion export { CreateSubaccountChallengeInput, CreateSubaccountChallengeInputSchema, CreateSubaccountInput, CreateSubaccountInputSchema, CreateSubaccountResult, CreateSubaccountResultSchema, EffectiveSubaccountPermissions, EffectiveSubaccountPermissionsSchema, InviteSubaccountMemberInput, InviteSubaccountMemberInputSchema, ListSubaccountInvitesInput, ListSubaccountInvitesInputSchema, RemoveSubaccountMemberInput, RemoveSubaccountMemberInputSchema, RespondSubaccountInviteInput, RespondSubaccountInviteInputSchema, SetSubaccountMemberMfaRequirementInput, SetSubaccountMemberMfaRequirementInputSchema, Subaccount, SubaccountActivityEventSchema, SubaccountActivityInput, SubaccountActivityInputSchema, SubaccountChallenge, SubaccountChallengeSchema, SubaccountEvent, SubaccountIdInput, SubaccountIdInputSchema, SubaccountInvite, SubaccountInviteSchema, SubaccountInviteStatus, SubaccountMember, SubaccountMemberSchema, SubaccountMutationResult, SubaccountMutationResultSchema, SubaccountPermission, SubaccountPermissionDefinition, SubaccountPermissionDefinitionSchema, SubaccountRole, SubaccountRoleCatalog, SubaccountRoleCatalogSchema, SubaccountRoleDefinition, SubaccountRoleDefinitionSchema, SubaccountRoleSchema, SubaccountSchema, SubaccountStatus, UpdateSubaccountInput, UpdateSubaccountInputSchema, UpdateSubaccountMemberRoleInput, UpdateSubaccountMemberRoleInputSchema }; //# sourceMappingURL=subaccounts.schemas.d.ts.map