/**
 * Entity types and filter types
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
export type ConstructiveInternalTypeEmail = unknown;
export type ConstructiveInternalTypeImage = unknown;
export interface AppAdminGrant {
    actorId: string | null;
    createdAt: string | null;
    grantorId: string | null;
    id: string | null;
    isGrant: boolean | null;
    updatedAt: string | null;
}
export interface AppClaimedInvite {
    createdAt: string | null;
    data: unknown | null;
    id: string | null;
    receiverId: string | null;
    senderId: string | null;
    updatedAt: string | null;
}
export interface AppGrant {
    actorId: string | null;
    createdAt: string | null;
    grantorId: string | null;
    id: string | null;
    isGrant: boolean | null;
    permissions: string | null;
    updatedAt: string | null;
}
export interface AppInvite {
    channel: string | null;
    createdAt: string | null;
    data: unknown | null;
    email: ConstructiveInternalTypeEmail | null;
    expiresAt: string | null;
    id: string | null;
    inviteCount: number | null;
    inviteLimit: number | null;
    inviteToken: string | null;
    inviteValid: boolean | null;
    multiple: boolean | null;
    phone: string | null;
    profileId: string | null;
    senderId: string | null;
    updatedAt: string | null;
}
export interface AppMembership {
    actorId: string | null;
    createdAt: string | null;
    createdBy: string | null;
    granted: string | null;
    id: string | null;
    isActive: boolean | null;
    isAdmin: boolean | null;
    isApproved: boolean | null;
    isBanned: boolean | null;
    isDisabled: boolean | null;
    isOwner: boolean | null;
    isVerified: boolean | null;
    permissions: string | null;
    profileId: string | null;
    updatedAt: string | null;
    updatedBy: string | null;
}
export interface AppMembershipDefault {
    createdAt: string | null;
    createdBy: string | null;
    id: string | null;
    isApproved: boolean | null;
    isVerified: boolean | null;
    updatedAt: string | null;
    updatedBy: string | null;
}
export interface AppOwnerGrant {
    actorId: string | null;
    createdAt: string | null;
    grantorId: string | null;
    id: string | null;
    isGrant: boolean | null;
    updatedAt: string | null;
}
export interface AppPermission {
    bitnum: number | null;
    bitstr: string | null;
    description: string | null;
    id: string | null;
    name: string | null;
}
export interface AppPermissionDefault {
    id: string | null;
    permissions: string | null;
}
export interface AppPermissionDefaultGrant {
    createdAt: string | null;
    grantorId: string | null;
    id: string | null;
    isGrant: boolean | null;
    permissionId: string | null;
    updatedAt: string | null;
}
export interface AppPermissionDefaultPermission {
    createdAt: string | null;
    id: string | null;
    permissionId: string | null;
    updatedAt: string | null;
}
export interface MembershipType {
    description: string | null;
    hasUsersTableEntry: boolean | null;
    id: number | null;
    name: string | null;
    parentMembershipType: number | null;
    scope: string | null;
}
export interface OrgAdminGrant {
    actorId: string | null;
    createdAt: string | null;
    entityId: string | null;
    grantorId: string | null;
    id: string | null;
    isGrant: boolean | null;
    updatedAt: string | null;
}
export interface OrgChartEdge {
    childId: string | null;
    createdAt: string | null;
    entityId: string | null;
    id: string | null;
    parentId: string | null;
    positionLevel: number | null;
    positionTitle: string | null;
    updatedAt: string | null;
}
export interface OrgChartEdgeGrant {
    childId: string | null;
    createdAt: string | null;
    entityId: string | null;
    grantorId: string | null;
    id: string | null;
    isGrant: boolean | null;
    parentId: string | null;
    positionLevel: number | null;
    positionTitle: string | null;
}
export interface OrgClaimedInvite {
    createdAt: string | null;
    data: unknown | null;
    entityId: string | null;
    id: string | null;
    receiverId: string | null;
    senderId: string | null;
    updatedAt: string | null;
}
export interface OrgGetManagersRecord {
    depth: number | null;
    userId: string | null;
}
export interface OrgGetSubordinatesRecord {
    depth: number | null;
    userId: string | null;
}
export interface OrgGrant {
    actorId: string | null;
    createdAt: string | null;
    entityId: string | null;
    grantorId: string | null;
    id: string | null;
    isGrant: boolean | null;
    permissions: string | null;
    updatedAt: string | null;
}
export interface OrgInvite {
    channel: string | null;
    createdAt: string | null;
    data: unknown | null;
    email: ConstructiveInternalTypeEmail | null;
    entityId: string | null;
    expiresAt: string | null;
    id: string | null;
    inviteCount: number | null;
    inviteLimit: number | null;
    inviteToken: string | null;
    inviteValid: boolean | null;
    isReadOnly: boolean | null;
    multiple: boolean | null;
    phone: string | null;
    profileId: string | null;
    receiverId: string | null;
    senderId: string | null;
    updatedAt: string | null;
}
export interface OrgMember {
    actorId: string | null;
    entityId: string | null;
    id: string | null;
    isAdmin: boolean | null;
}
export interface OrgMemberProfile {
    actorId: string | null;
    bio: string | null;
    createdAt: string | null;
    displayName: string | null;
    email: string | null;
    entityId: string | null;
    id: string | null;
    membershipId: string | null;
    profilePicture: ConstructiveInternalTypeImage | null;
    title: string | null;
    updatedAt: string | null;
}
export interface OrgMembership {
    actorId: string | null;
    createdAt: string | null;
    createdBy: string | null;
    entityId: string | null;
    granted: string | null;
    id: string | null;
    isActive: boolean | null;
    isAdmin: boolean | null;
    isApproved: boolean | null;
    isBanned: boolean | null;
    isDisabled: boolean | null;
    isExternal: boolean | null;
    isOwner: boolean | null;
    isReadOnly: boolean | null;
    permissions: string | null;
    profileId: string | null;
    updatedAt: string | null;
    updatedBy: string | null;
}
export interface OrgMembershipDefault {
    createdAt: string | null;
    createdBy: string | null;
    entityId: string | null;
    id: string | null;
    isApproved: boolean | null;
    updatedAt: string | null;
    updatedBy: string | null;
}
export interface OrgMembershipSetting {
    allowExternalMembers: boolean | null;
    createChildCascadeAdmins: boolean | null;
    createChildCascadeMembers: boolean | null;
    createChildCascadeOwners: boolean | null;
    createdAt: string | null;
    createdBy: string | null;
    deleteMemberCascadeChildren: boolean | null;
    entityId: string | null;
    id: string | null;
    inviteProfileAssignmentMode: string | null;
    limitAllocationMode: string | null;
    populateMemberEmail: boolean | null;
    updatedAt: string | null;
    updatedBy: string | null;
}
export interface OrgOwnerGrant {
    actorId: string | null;
    createdAt: string | null;
    entityId: string | null;
    grantorId: string | null;
    id: string | null;
    isGrant: boolean | null;
    updatedAt: string | null;
}
export interface OrgPermission {
    bitnum: number | null;
    bitstr: string | null;
    description: string | null;
    id: string | null;
    name: string | null;
}
export interface OrgPermissionDefault {
    entityId: string | null;
    id: string | null;
    permissions: string | null;
}
export interface OrgPermissionDefaultGrant {
    createdAt: string | null;
    entityId: string | null;
    grantorId: string | null;
    id: string | null;
    isGrant: boolean | null;
    permissionId: string | null;
    updatedAt: string | null;
}
export interface OrgPermissionDefaultPermission {
    createdAt: string | null;
    entityId: string | null;
    id: string | null;
    permissionId: string | null;
    updatedAt: string | null;
}
export interface StringFilter {
    isNull?: boolean;
    equalTo?: string;
    notEqualTo?: string;
    distinctFrom?: string;
    notDistinctFrom?: string;
    in?: string[];
    notIn?: string[];
    lessThan?: string;
    lessThanOrEqualTo?: string;
    greaterThan?: string;
    greaterThanOrEqualTo?: string;
    includes?: string;
    notIncludes?: string;
    includesInsensitive?: string;
    notIncludesInsensitive?: string;
    startsWith?: string;
    notStartsWith?: string;
    startsWithInsensitive?: string;
    notStartsWithInsensitive?: string;
    endsWith?: string;
    notEndsWith?: string;
    endsWithInsensitive?: string;
    notEndsWithInsensitive?: string;
    like?: string;
    notLike?: string;
    likeInsensitive?: string;
    notLikeInsensitive?: string;
}
export interface IntFilter {
    isNull?: boolean;
    equalTo?: number;
    notEqualTo?: number;
    distinctFrom?: number;
    notDistinctFrom?: number;
    in?: number[];
    notIn?: number[];
    lessThan?: number;
    lessThanOrEqualTo?: number;
    greaterThan?: number;
    greaterThanOrEqualTo?: number;
}
export interface FloatFilter {
    isNull?: boolean;
    equalTo?: number;
    notEqualTo?: number;
    distinctFrom?: number;
    notDistinctFrom?: number;
    in?: number[];
    notIn?: number[];
    lessThan?: number;
    lessThanOrEqualTo?: number;
    greaterThan?: number;
    greaterThanOrEqualTo?: number;
}
export interface BooleanFilter {
    isNull?: boolean;
    equalTo?: boolean;
    notEqualTo?: boolean;
}
export interface UUIDFilter {
    isNull?: boolean;
    equalTo?: string;
    notEqualTo?: string;
    distinctFrom?: string;
    notDistinctFrom?: string;
    in?: string[];
    notIn?: string[];
}
export interface DatetimeFilter {
    isNull?: boolean;
    equalTo?: string;
    notEqualTo?: string;
    distinctFrom?: string;
    notDistinctFrom?: string;
    in?: string[];
    notIn?: string[];
    lessThan?: string;
    lessThanOrEqualTo?: string;
    greaterThan?: string;
    greaterThanOrEqualTo?: string;
}
export interface DateFilter {
    isNull?: boolean;
    equalTo?: string;
    notEqualTo?: string;
    distinctFrom?: string;
    notDistinctFrom?: string;
    in?: string[];
    notIn?: string[];
    lessThan?: string;
    lessThanOrEqualTo?: string;
    greaterThan?: string;
    greaterThanOrEqualTo?: string;
}
export interface JSONFilter {
    isNull?: boolean;
    equalTo?: Record<string, unknown>;
    notEqualTo?: Record<string, unknown>;
    distinctFrom?: Record<string, unknown>;
    notDistinctFrom?: Record<string, unknown>;
    contains?: unknown;
    containedBy?: unknown;
    containsKey?: string;
    containsAllKeys?: string[];
    containsAnyKeys?: string[];
}
export interface BigIntFilter {
    isNull?: boolean;
    equalTo?: string;
    notEqualTo?: string;
    distinctFrom?: string;
    notDistinctFrom?: string;
    in?: string[];
    notIn?: string[];
    lessThan?: string;
    lessThanOrEqualTo?: string;
    greaterThan?: string;
    greaterThanOrEqualTo?: string;
}
export interface BigFloatFilter {
    isNull?: boolean;
    equalTo?: string;
    notEqualTo?: string;
    distinctFrom?: string;
    notDistinctFrom?: string;
    in?: string[];
    notIn?: string[];
    lessThan?: string;
    lessThanOrEqualTo?: string;
    greaterThan?: string;
    greaterThanOrEqualTo?: string;
}
export interface BitStringFilter {
    isNull?: boolean;
    equalTo?: string;
    notEqualTo?: string;
}
export interface InternetAddressFilter {
    isNull?: boolean;
    equalTo?: string;
    notEqualTo?: string;
    distinctFrom?: string;
    notDistinctFrom?: string;
    in?: string[];
    notIn?: string[];
    lessThan?: string;
    lessThanOrEqualTo?: string;
    greaterThan?: string;
    greaterThanOrEqualTo?: string;
    contains?: string;
    containedBy?: string;
    containsOrContainedBy?: string;
}
export interface FullTextFilter {
    matches?: string;
}
export interface VectorFilter {
    isNull?: boolean;
    equalTo?: number[];
    notEqualTo?: number[];
    distinctFrom?: number[];
    notDistinctFrom?: number[];
}
export interface StringListFilter {
    isNull?: boolean;
    equalTo?: string[];
    notEqualTo?: string[];
    distinctFrom?: string[];
    notDistinctFrom?: string[];
    lessThan?: string[];
    lessThanOrEqualTo?: string[];
    greaterThan?: string[];
    greaterThanOrEqualTo?: string[];
    contains?: string[];
    containedBy?: string[];
    overlaps?: string[];
    anyEqualTo?: string;
    anyNotEqualTo?: string;
    anyLessThan?: string;
    anyLessThanOrEqualTo?: string;
    anyGreaterThan?: string;
    anyGreaterThanOrEqualTo?: string;
}
export interface IntListFilter {
    isNull?: boolean;
    equalTo?: number[];
    notEqualTo?: number[];
    distinctFrom?: number[];
    notDistinctFrom?: number[];
    lessThan?: number[];
    lessThanOrEqualTo?: number[];
    greaterThan?: number[];
    greaterThanOrEqualTo?: number[];
    contains?: number[];
    containedBy?: number[];
    overlaps?: number[];
    anyEqualTo?: number;
    anyNotEqualTo?: number;
    anyLessThan?: number;
    anyLessThanOrEqualTo?: number;
    anyGreaterThan?: number;
    anyGreaterThanOrEqualTo?: number;
}
export interface UUIDListFilter {
    isNull?: boolean;
    equalTo?: string[];
    notEqualTo?: string[];
    distinctFrom?: string[];
    notDistinctFrom?: string[];
    lessThan?: string[];
    lessThanOrEqualTo?: string[];
    greaterThan?: string[];
    greaterThanOrEqualTo?: string[];
    contains?: string[];
    containedBy?: string[];
    overlaps?: string[];
    anyEqualTo?: string;
    anyNotEqualTo?: string;
    anyLessThan?: string;
    anyLessThanOrEqualTo?: string;
    anyGreaterThan?: string;
    anyGreaterThanOrEqualTo?: string;
}
