Add create types

This commit is contained in:
adrinr 2023-03-10 11:05:25 +01:00
parent 4068faf9f3
commit f8cebeba4e
1 changed files with 51 additions and 0 deletions

View File

@ -30,3 +30,54 @@ export interface ScimListResponse {
startIndex: number startIndex: number
itemsPerPage: number itemsPerPage: number
} }
export interface ScimUserRequest {
schemas: [
"urn:ietf:params:scim:schemas:core:2.0:User",
"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"
]
externalId: string
userName: string
active: boolean
emails: [
{
primary: true
type: "work"
value: string
}
]
meta: {
resourceType: "User"
}
name: {
formatted: string
familyName: string
givenName: string
}
roles: []
}
export interface ScimUserResponse {
schemas: ["urn:ietf:params:scim:schemas:core:2.0:User"]
id: string
externalId: string
meta: {
resourceType: "User"
created: string
lastModified: string
}
userName: string
name: {
formatted: string
familyName: string
givenName: string
}
active: boolean
emails: [
{
value: string
type: "work"
primary: true
}
]
}