diff --git a/packages/types/src/api/web/global/scim/users.ts b/packages/types/src/api/web/global/scim/users.ts index eba122e436..f2157f3c34 100644 --- a/packages/types/src/api/web/global/scim/users.ts +++ b/packages/types/src/api/web/global/scim/users.ts @@ -1,4 +1,4 @@ -export interface ScimUser { +export interface ScimUserResponse { schemas: ["urn:ietf:params:scim:schemas:core:2.0:User"] id: string externalId: string @@ -26,7 +26,7 @@ export interface ScimUser { export interface ScimListResponse { schemas: ["urn:ietf:params:scim:api:messages:2.0:ListResponse"] totalResults: number - Resources: ScimUser[] + Resources: ScimUserResponse[] startIndex: number itemsPerPage: number } @@ -56,28 +56,3 @@ export interface ScimUserRequest { } 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 - } - ] -}