/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ /** * Request serializer for ProgramLicenseCreateView POST endpoint */ export type ProgramLicenseCreateDetail = { /** * The unique identifier for the platform (required if platform_id not provided) */ platform_key?: string; /** * The organization identifier for the platform (required if platform_id not provided) */ platform_org?: string; /** * The ID of the platform (required if platform_key/org not provided) */ platform_id?: number; /** * The unique identifier for the program to license */ program_key: string; /** * Display name for the license */ name: string; /** * Number of seats purchased */ count: number; /** * Date when license should begin */ started: string; /** * Date when license should expire */ expired?: string | null; /** * External identifier for the license */ external_id?: string | null; /** * Whether the license should be active */ active?: boolean; /** * Additional license metadata */ metadata?: Record; /** * Enrollment configuration */ enrollment_config?: Record; /** * Source identifier */ source?: string; /** * Transaction identifier for tracking */ transaction_id?: string; };