import * as z from "zod/v4-mini"; /** * Additional metadata provided by your system. We recommend including any relevant information that may assist in the moderation process. */ export type CreateAuthorMetadata = { /** * Whether the author's email is verified */ emailVerified?: boolean | null | undefined; /** * Whether the author's phone number is verified */ phoneVerified?: boolean | null | undefined; /** * Whether the author's identity is verified */ identityVerified?: boolean | null | undefined; /** * Whether the author is a paying customer */ isPayingCustomer?: boolean | null | undefined; [additionalProperties: string]: unknown; }; export type CreateAuthorRequestBody = { /** * URL of the author's profile picture */ profilePicture?: string | null | undefined; /** * URL of the author's external profile */ externalLink?: string | null | undefined; /** * Author name or identifier */ name?: string | null | undefined; /** * Author email address */ email?: string | null | undefined; /** * The author's company or organization */ company?: string | null | undefined; /** * Additional metadata provided by your system. We recommend including any relevant information that may assist in the moderation process. */ metadata?: CreateAuthorMetadata | undefined; /** * Timestamp when author first appeared */ firstSeen?: number | undefined; /** * Timestamp of last activity */ lastSeen?: number | undefined; manualTrustLevel?: number | null | undefined; /** * External ID of the user, typically the ID of the author in your database. */ externalId: string; }; export type CreateAuthorRequest = { /** * The project to act on, when you call with an organization key. Optional when the organization has one project. A project key acts on its own project: naming another one is an error. */ projectId?: string | undefined; body: CreateAuthorRequestBody; }; /** @internal */ export type CreateAuthorMetadata$Outbound = { email_verified?: boolean | null | undefined; phone_verified?: boolean | null | undefined; identity_verified?: boolean | null | undefined; is_paying_customer?: boolean | null | undefined; [additionalProperties: string]: unknown; }; /** @internal */ export declare const CreateAuthorMetadata$outboundSchema: z.ZodMiniType; export declare function createAuthorMetadataToJSON(createAuthorMetadata: CreateAuthorMetadata): string; /** @internal */ export type CreateAuthorRequestBody$Outbound = { profile_picture?: string | null | undefined; external_link?: string | null | undefined; name?: string | null | undefined; email?: string | null | undefined; company?: string | null | undefined; metadata?: CreateAuthorMetadata$Outbound | undefined; first_seen?: number | undefined; last_seen?: number | undefined; manual_trust_level?: number | null | undefined; external_id: string; }; /** @internal */ export declare const CreateAuthorRequestBody$outboundSchema: z.ZodMiniType; export declare function createAuthorRequestBodyToJSON(createAuthorRequestBody: CreateAuthorRequestBody): string; /** @internal */ export type CreateAuthorRequest$Outbound = { projectId?: string | undefined; body: CreateAuthorRequestBody$Outbound; }; /** @internal */ export declare const CreateAuthorRequest$outboundSchema: z.ZodMiniType; export declare function createAuthorRequestToJSON(createAuthorRequest: CreateAuthorRequest): string; //# sourceMappingURL=create-author.d.ts.map