/** * Custom query operations * @generated by @constructive-io/graphql-codegen * DO NOT EDIT - changes will be overwritten */ import { OrmClient } from '../client'; import { QueryBuilder } from '../query-builder'; import type { AppPermissionConnection, OrgPermissionConnection } from '../input-types'; export interface AppPermissionsGetByMaskVariables { /** Read all values in the set after (below) this cursor. */ after?: string; /** Only read the first `n` values of the set. */ first?: number; mask?: string; /** * Skip the first `n` values from our `after` cursor, an alternative to cursor * based pagination. May not be used with `last`. */ offset?: number; } export interface AppPermissionsGetMaskVariables { ids?: string[]; } export interface AppPermissionsGetMaskByNamesVariables { names?: string[]; } export interface AppPermissionsGetPaddedMaskVariables { mask?: string; } export interface OrgIsManagerOfVariables { managerId?: string; maxDepth?: number; targetEntityId?: string; userId?: string; } export interface OrgPermissionsGetByMaskVariables { /** Read all values in the set after (below) this cursor. */ after?: string; /** Only read the first `n` values of the set. */ first?: number; mask?: string; /** * Skip the first `n` values from our `after` cursor, an alternative to cursor * based pagination. May not be used with `last`. */ offset?: number; } export interface OrgPermissionsGetMaskVariables { ids?: string[]; } export interface OrgPermissionsGetMaskByNamesVariables { names?: string[]; } export interface OrgPermissionsGetPaddedMaskVariables { mask?: string; } export declare function createQueryOperations(client: OrmClient): { appPermissionsGetByMask: (args: AppPermissionsGetByMaskVariables, options?: { select?: Record; }) => QueryBuilder<{ appPermissionsGetByMask: AppPermissionConnection | null; }>; appPermissionsGetMask: (args: AppPermissionsGetMaskVariables, options?: { select?: Record; }) => QueryBuilder<{ appPermissionsGetMask: string | null; }>; appPermissionsGetMaskByNames: (args: AppPermissionsGetMaskByNamesVariables, options?: { select?: Record; }) => QueryBuilder<{ appPermissionsGetMaskByNames: string | null; }>; appPermissionsGetPaddedMask: (args: AppPermissionsGetPaddedMaskVariables, options?: { select?: Record; }) => QueryBuilder<{ appPermissionsGetPaddedMask: string | null; }>; orgIsManagerOf: (args: OrgIsManagerOfVariables, options?: { select?: Record; }) => QueryBuilder<{ orgIsManagerOf: boolean | null; }>; orgPermissionsGetByMask: (args: OrgPermissionsGetByMaskVariables, options?: { select?: Record; }) => QueryBuilder<{ orgPermissionsGetByMask: OrgPermissionConnection | null; }>; orgPermissionsGetMask: (args: OrgPermissionsGetMaskVariables, options?: { select?: Record; }) => QueryBuilder<{ orgPermissionsGetMask: string | null; }>; orgPermissionsGetMaskByNames: (args: OrgPermissionsGetMaskByNamesVariables, options?: { select?: Record; }) => QueryBuilder<{ orgPermissionsGetMaskByNames: string | null; }>; orgPermissionsGetPaddedMask: (args: OrgPermissionsGetPaddedMaskVariables, options?: { select?: Record; }) => QueryBuilder<{ orgPermissionsGetPaddedMask: string | null; }>; };