import { z } from 'zod'; import { PlatformRole } from '../../core/user'; export declare const SCIM_USER_SCHEMA = "urn:ietf:params:scim:schemas:core:2.0:User"; export declare const SCIM_GROUP_SCHEMA = "urn:ietf:params:scim:schemas:core:2.0:Group"; export declare const SCIM_LIST_RESPONSE_SCHEMA = "urn:ietf:params:scim:api:messages:2.0:ListResponse"; export declare const SCIM_PATCH_OP_SCHEMA = "urn:ietf:params:scim:api:messages:2.0:PatchOp"; export declare const SCIM_ERROR_SCHEMA = "urn:ietf:params:scim:api:messages:2.0:Error"; export declare const SCIM_SERVICE_PROVIDER_CONFIG_SCHEMA = "urn:ietf:params:scim:schemas:core:2.0:ServiceProviderConfig"; export declare const SCIM_RESOURCE_TYPE_SCHEMA = "urn:ietf:params:scim:schemas:core:2.0:ResourceType"; export declare const SCIM_SCHEMA_SCHEMA = "urn:ietf:params:scim:schemas:core:2.0:Schema"; export declare const SCIM_CUSTOM_USER_ATTRIBUTES_SCHEMA = "urn:ietf:params:scim:schemas:activepieces:1.0:CustomUserAttributes"; export declare const ScimName: z.ZodObject<{ givenName: z.ZodOptional; familyName: z.ZodOptional; formatted: z.ZodOptional; }, z.core.$strip>; export declare const ScimEmail: z.ZodObject<{ value: z.ZodString; type: z.ZodOptional; primary: z.ZodOptional; }, z.core.$strip>; export declare const ScimMeta: z.ZodObject<{ resourceType: z.ZodString; created: z.ZodOptional; lastModified: z.ZodOptional; location: z.ZodOptional; }, z.core.$strip>; export declare const ScimUserResource: z.ZodObject<{ schemas: z.ZodArray; id: z.ZodString; externalId: z.ZodOptional; userName: z.ZodString; name: z.ZodOptional; familyName: z.ZodOptional; formatted: z.ZodOptional; }, z.core.$strip>>; emails: z.ZodOptional; primary: z.ZodOptional; }, z.core.$strip>>>; active: z.ZodBoolean; meta: z.ZodObject<{ resourceType: z.ZodString; created: z.ZodOptional; lastModified: z.ZodOptional; location: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; export type ScimUserResource = z.infer; export declare const CreateScimUserRequest: z.ZodObject<{ "urn:ietf:params:scim:schemas:activepieces:1.0:CustomUserAttributes": z.ZodOptional; }, z.core.$strip>>; schemas: z.ZodArray; externalId: z.ZodOptional; userName: z.ZodString; name: z.ZodOptional; familyName: z.ZodOptional; formatted: z.ZodOptional; }, z.core.$strip>>; emails: z.ZodOptional; primary: z.ZodOptional; }, z.core.$strip>>>; active: z.ZodOptional; }, z.core.$strip>; export type CreateScimUserRequest = z.infer; export declare const ReplaceScimUserRequest: z.ZodObject<{ "urn:ietf:params:scim:schemas:activepieces:1.0:CustomUserAttributes": z.ZodOptional; }, z.core.$strip>>; schemas: z.ZodArray; externalId: z.ZodOptional; userName: z.ZodString; name: z.ZodOptional; familyName: z.ZodOptional; formatted: z.ZodOptional; }, z.core.$strip>>; emails: z.ZodOptional; primary: z.ZodOptional; }, z.core.$strip>>>; active: z.ZodOptional; }, z.core.$strip>; export type ReplaceScimUserRequest = z.infer; export declare const ScimGroupMember: z.ZodObject<{ value: z.ZodString; display: z.ZodOptional; $ref: z.ZodOptional; }, z.core.$strip>; export type ScimGroupMember = z.infer; export declare const ScimGroupResource: z.ZodObject<{ schemas: z.ZodArray; id: z.ZodString; externalId: z.ZodOptional; displayName: z.ZodString; members: z.ZodArray; $ref: z.ZodOptional; }, z.core.$strip>>; meta: z.ZodObject<{ resourceType: z.ZodString; created: z.ZodOptional; lastModified: z.ZodOptional; location: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; export type ScimGroupResource = z.infer; export declare const CreateScimGroupRequest: z.ZodObject<{ schemas: z.ZodArray; externalId: z.ZodOptional; displayName: z.ZodString; members: z.ZodOptional; $ref: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>; export type CreateScimGroupRequest = z.infer; export declare const ReplaceScimGroupRequest: z.ZodObject<{ schemas: z.ZodArray; externalId: z.ZodOptional; displayName: z.ZodString; members: z.ZodOptional; $ref: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>; export type ReplaceScimGroupRequest = z.infer; export declare const ScimPatchOperation: z.ZodObject<{ op: z.ZodUnion, z.ZodLiteral<"remove">, z.ZodLiteral<"replace">, z.ZodLiteral<"Add">, z.ZodLiteral<"Remove">, z.ZodLiteral<"Replace">]>; path: z.ZodOptional; value: z.ZodOptional; }, z.core.$strip>; export type ScimPatchOperation = z.infer; export declare const ScimPatchRequest: z.ZodObject<{ schemas: z.ZodArray; Operations: z.ZodArray, z.ZodLiteral<"remove">, z.ZodLiteral<"replace">, z.ZodLiteral<"Add">, z.ZodLiteral<"Remove">, z.ZodLiteral<"Replace">]>; path: z.ZodOptional; value: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export type ScimPatchRequest = z.infer; export declare const ScimListResponse: z.ZodObject<{ schemas: z.ZodArray; totalResults: z.ZodNumber; startIndex: z.ZodNumber; itemsPerPage: z.ZodNumber; Resources: z.ZodArray; }, z.core.$strip>; export type ScimListResponse = z.infer; export declare const ScimErrorResponse: z.ZodObject<{ schemas: z.ZodArray; status: z.ZodString; detail: z.ZodOptional; scimType: z.ZodOptional; }, z.core.$strip>; export type ScimErrorResponse = z.infer; export declare const ScimListQueryParams: z.ZodObject<{ filter: z.ZodOptional; startIndex: z.ZodOptional>>; count: z.ZodOptional>>; }, z.core.$strip>; export type ScimListQueryParams = z.infer; export declare const ScimResourceId: z.ZodObject<{ id: z.ZodString; }, z.core.$strip>; export type ScimResourceId = z.infer; export declare class ScimError extends Error { status: number; detail: string; constructor(status: number, detail: string); toString(): string; } export declare const parseScimFilter: (filter: string | undefined, field: string) => string | undefined; //# sourceMappingURL=index.d.ts.map