import * as z from "zod"; export type CreateInviteRequestBody = { /** * optional, for email invites */ customMessage?: string | undefined; /** * required for email invites only */ email?: string | undefined; /** * optional, if not supplied, the invite_expiry_days site setting is used */ expiresAt?: string | undefined; /** * Optional, either this or `group_names`. Comma separated list for multiple ids. */ groupIds?: string | undefined; /** * Optional, either this or `group_ids`. Comma separated list for multiple names. */ groupNames?: string | undefined; /** * optional, for link invites */ maxRedemptionsAllowed?: number | undefined; skipEmail?: boolean | undefined; topicId?: number | undefined; }; export type CreateInviteRequest = { apiKey: string; apiUsername: string; requestBody?: CreateInviteRequestBody | undefined; }; /** * success response */ export type CreateInviteResponseBody = { createdAt?: string | undefined; customMessage?: string | null | undefined; email?: string | undefined; emailed?: boolean | undefined; expired?: boolean | undefined; expiresAt?: string | undefined; groups?: Array | undefined; id?: number | undefined; link?: string | undefined; topics?: Array | undefined; updatedAt?: string | undefined; }; /** @internal */ export declare const CreateInviteRequestBody$inboundSchema: z.ZodType; /** @internal */ export type CreateInviteRequestBody$Outbound = { custom_message?: string | undefined; email?: string | undefined; expires_at?: string | undefined; group_ids?: string | undefined; group_names?: string | undefined; max_redemptions_allowed: number; skip_email: boolean; topic_id?: number | undefined; }; /** @internal */ export declare const CreateInviteRequestBody$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace CreateInviteRequestBody$ { /** @deprecated use `CreateInviteRequestBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CreateInviteRequestBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CreateInviteRequestBody$Outbound` instead. */ type Outbound = CreateInviteRequestBody$Outbound; } /** @internal */ export declare const CreateInviteRequest$inboundSchema: z.ZodType; /** @internal */ export type CreateInviteRequest$Outbound = { "Api-Key": string; "Api-Username": string; RequestBody?: CreateInviteRequestBody$Outbound | undefined; }; /** @internal */ export declare const CreateInviteRequest$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace CreateInviteRequest$ { /** @deprecated use `CreateInviteRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CreateInviteRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CreateInviteRequest$Outbound` instead. */ type Outbound = CreateInviteRequest$Outbound; } /** @internal */ export declare const CreateInviteResponseBody$inboundSchema: z.ZodType; /** @internal */ export type CreateInviteResponseBody$Outbound = { created_at?: string | undefined; custom_message?: string | null | undefined; email?: string | undefined; emailed?: boolean | undefined; expired?: boolean | undefined; expires_at?: string | undefined; groups?: Array | undefined; id?: number | undefined; link?: string | undefined; topics?: Array | undefined; updated_at?: string | undefined; }; /** @internal */ export declare const CreateInviteResponseBody$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace CreateInviteResponseBody$ { /** @deprecated use `CreateInviteResponseBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CreateInviteResponseBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CreateInviteResponseBody$Outbound` instead. */ type Outbound = CreateInviteResponseBody$Outbound; } //# sourceMappingURL=createinvite.d.ts.map