/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ /** * Request serializer for PlatformInvitationView POST endpoint * * Supports new CSV format fields: * - company_name (optional): Company name for the invited user * - first_name (new): First name of the invited user * - last_name (new): Last name of the invited user * - user_group (new): Name of the UserGroup to assign the user to * - user_group_owner_email (optional): Email of user who should own the group */ export type PlatformInvitationCreate = { /** * The platform to create an invitation for */ platform_key: string; /** * The email address to invite */ email?: string; /** * The username to invite */ username?: string; /** * Whether the invitation is active */ active?: boolean; /** * The source of the invitation */ source?: string; /** * URL to redirect to after accepting the invitation */ redirect_to?: string; /** * When the invitation was created */ created?: string; /** * When the invitation expires */ expired?: string; /** * Additional metadata for the invitation */ metadata?: Record; /** * Company name for the invited user */ company_name?: string; /** * First name of the invited user */ first_name?: string; /** * Last name of the invited user */ last_name?: string; /** * Name of the UserGroup to assign the user to */ user_group?: string; /** * Email of user who should own the group (falls back to uploader) */ user_group_owner_email?: string; };