import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ApplicationScope } from "./applicationscope.js"; import { CapabilityID } from "./capabilityid.js"; import { CreateAccount, CreateAccount$Outbound } from "./createaccount.js"; /** * Request to create an onboarding invite. */ export type OnboardingInviteRequest = { /** * Optional URL to redirect the user to after they complete the onboarding process. */ returnURL?: string | undefined; /** * Optional URL to your organization's terms of service. */ termsOfServiceURL?: string | undefined; /** * List of [scopes](https://docs.moov.io/api/authentication/scopes/) you request to use on this * * @remarks * account. These values are used to determine what can be done with the account onboarded. */ scopes: Array; /** * List of [scopes](https://docs.moov.io/api/authentication/scopes/) you grant to allow being used * * @remarks * by the new account on yourself. These values are used to determine what the account onboarded can do. */ grantScopes?: Array | undefined; /** * List of [capabilities](https://docs.moov.io/guides/accounts/capabilities/) you intend to request for this * * @remarks * account. These values are used to determine what information to collect from the user during onboarding. */ capabilities: Array; /** * List of fee plan codes to assign the account created by the invitee. */ feePlanCodes: Array; prefill?: CreateAccount | undefined; }; /** @internal */ export declare const OnboardingInviteRequest$inboundSchema: z.ZodType; /** @internal */ export type OnboardingInviteRequest$Outbound = { returnURL?: string | undefined; termsOfServiceURL?: string | undefined; scopes: Array; grantScopes?: Array | undefined; capabilities: Array; feePlanCodes: Array; prefill?: CreateAccount$Outbound | undefined; }; /** @internal */ export declare const OnboardingInviteRequest$outboundSchema: z.ZodType; export declare function onboardingInviteRequestToJSON(onboardingInviteRequest: OnboardingInviteRequest): string; export declare function onboardingInviteRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=onboardinginviterequest.d.ts.map