import type { SCIMAddress } from './SCIMAddress'; import type { SCIMEmail } from './SCIMEmail'; import type { SCIMMeta } from './SCIMMeta'; import type { SCIMName } from './SCIMName'; import type { SCIMPhoneNumber } from './SCIMPhoneNumber'; /** * SCIM user creation request serializer */ export type SCIMUserCreateRequest = { /** * SCIM schema identifiers */ schemas?: Array; /** * Unique username/email for the user */ userName: string; /** * User's name information */ name: SCIMName; /** * User's email addresses */ emails: Array; /** * Whether the user is active */ active?: boolean; /** * Display name */ displayName?: string; /** * User locale */ locale?: string; /** * User timezone */ timezone?: string; /** * Job title */ title?: string; /** * Organization */ organization?: string; /** * Phone numbers */ phoneNumbers?: Array; /** * Addresses */ addresses?: Array; /** * User entitlements */ entitlements?: Array; /** * User roles */ roles?: Array; /** * X.509 certificates */ x509Certificates?: Array; /** * User password */ password?: string; /** * Authentication provider */ provider?: string; /** * Third-party authentication UID */ tpaUid?: string; /** * Whether the user is a staff member */ isStaff?: boolean; /** * Whether to update existing user */ update?: boolean; /** * List of platform organizations to link the user to */ platformOrgs?: Array; /** * List of department IDs to make the user a member of */ departmentIds?: Array; /** * List of group IDs to add the user to */ groupIds?: Array; /** * List of RBAC group unique IDs to add the user to */ rbacGroupUniqueIds?: Array; /** * Resource metadata */ meta?: SCIMMeta; };