This repository has been archived on 2024-09-23. You can view files and clone it, but cannot push or open issues or pull requests.
rocketchat-scim/scim/Interfaces.ts
2022-02-11 14:13:06 +01:00

32 lines
693 B
TypeScript

import { SCIMMeta } from "./Meta";
export interface ISCIMResource {
id: string;
externalId: string;
meta: SCIMMeta;
schemas: Array<string>;
}
export interface ISCIMUserName {
familyName?: string;
givenName?: string;
}
export interface ISCIMUserEmail {
value: string;
primary: boolean;
}
export interface ISCIMListResponse {
schemas: ["urn:ietf:params:scim:api:messages:2.0:ListResponse"];
totalResults: 2;
Resources: [
{
id: "2819c223-7f76-453a-919d-413861904646";
userName: "bjensen";
},
{
id: "c75ad752-64ae-4823-840d-ffa80929976c";
userName: "jsmith";
}
];
}