import {ScimResource, ScimMeta} from '../../src/types/types';
import {} from '../../src/types/types';

export interface ScimUser extends ScimResource {
    schemas: ['urn:ietf:params:scim:schemas:core:2.0:User'];
    userName: string;
    surName?: Array<{
        value: string;
        primary: boolean;
    }>;
    name: {
        familyName: string;
        givenName: string;
        nestedArray?: Array<{
            value: string;
            primary: boolean;
            newProperty1?: string;
            newProperty2?: string;
        }>;
        newProperty?: string;
        newProperty1?: string;
        newProperty2?: string;
        surName2?: Array<string>;
        surName3?: string;
        notMandatory?: boolean;
    };
    active: boolean;
    emails: Array<{
        value: string;
        primary: boolean;
        newProperty?: string;
        newProperty1?: string;
        newProperty2?: string;
    }>;
    roles?: Array<{
        value: string;
        type?: string;
    }>;
    meta: ScimMeta & { resourceType: 'User' };
    newProperty?: string;
    newProperty3?: string;
    'urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:department'?: string;
}
