Kind: Function
Source: atloria-monorepo/apps/api/src/scim/scim.mapper.ts
Extract the writable fields from an inbound SCIM User resource.
- email: userName, falling back to the primary (or first) email
- name: name.formatted → "given family" → displayName → email local-part
- active: defaults to TRUE when omitted (SCIM create default)
Signature
tsfunction fromScimUser(resource: Partial<ScimUserResource> | undefined | null): ScimUserInput
Parameters
| Name | Type |
|---|---|
resource | `Partial |
Returns: ScimUserInput
Was this page helpful?