Skip to content

Variable: RequestTypePermissionSchema ​

ts
const RequestTypePermissionSchema: ZodObject<{
  id: ZodOptional<ZodString>;
  permissions: ZodOptional<ZodArray<ZodObject<{
     avatarUrl: ZodOptional<ZodString>;
     displayName: ZodOptional<ZodString>;
     entityId: ZodOptional<ZodString>;
     entityType: ZodOptional<ZodCustom<string & object | "USER" | "GROUP" | "ORGANIZATION", string & object | "USER" | "GROUP" | "ORGANIZATION">>;
     status: ZodOptional<ZodCustom<string & object | "DELETED" | "ACTIVE" | "REMOVED", string & object | "DELETED" | "ACTIVE" | "REMOVED">>;
  }, ApiObjectConfig<undefined>>>>;
}, ApiObjectConfig<undefined>>;

Defined in: src/serviceDeskServer/models/requestTypePermission.ts:5