/**
 * ORM Client - createClient factory
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import { OrmClient } from './client';
import { OrgGetManagersRecordModel } from './models/orgGetManagersRecord';
import { OrgGetSubordinatesRecordModel } from './models/orgGetSubordinatesRecord';
import { AppPermissionModel } from './models/appPermission';
import { OrgPermissionModel } from './models/orgPermission';
import { AppLevelRequirementModel } from './models/appLevelRequirement';
import { OrgMemberModel } from './models/orgMember';
import { AppPermissionDefaultModel } from './models/appPermissionDefault';
import { OrgPermissionDefaultModel } from './models/orgPermissionDefault';
import { AppAdminGrantModel } from './models/appAdminGrant';
import { AppOwnerGrantModel } from './models/appOwnerGrant';
import { AppAchievementModel } from './models/appAchievement';
import { AppStepModel } from './models/appStep';
import { OrgAdminGrantModel } from './models/orgAdminGrant';
import { OrgOwnerGrantModel } from './models/orgOwnerGrant';
import { MembershipTypeModel } from './models/membershipType';
import { AppLimitDefaultModel } from './models/appLimitDefault';
import { OrgLimitDefaultModel } from './models/orgLimitDefault';
import { OrgChartEdgeGrantModel } from './models/orgChartEdgeGrant';
import { AppClaimedInviteModel } from './models/appClaimedInvite';
import { AppGrantModel } from './models/appGrant';
import { AppMembershipDefaultModel } from './models/appMembershipDefault';
import { OrgMembershipDefaultModel } from './models/orgMembershipDefault';
import { OrgClaimedInviteModel } from './models/orgClaimedInvite';
import { AppLimitEventModel } from './models/appLimitEvent';
import { OrgLimitEventModel } from './models/orgLimitEvent';
import { OrgGrantModel } from './models/orgGrant';
import { OrgChartEdgeModel } from './models/orgChartEdge';
import { AppLimitModel } from './models/appLimit';
import { OrgLimitAggregateModel } from './models/orgLimitAggregate';
import { OrgMemberProfileModel } from './models/orgMemberProfile';
import { OrgLimitModel } from './models/orgLimit';
import { AppLevelModel } from './models/appLevel';
import { AppInviteModel } from './models/appInvite';
import { OrgMembershipSettingModel } from './models/orgMembershipSetting';
import { OrgInviteModel } from './models/orgInvite';
import { AppMembershipModel } from './models/appMembership';
import { OrgMembershipModel } from './models/orgMembership';
import { createQueryOperations } from './query';
import { createMutationOperations } from './mutation';
export { GraphQLRequestError } from './client';
export { QueryBuilder } from './query-builder';
export * from './select-types';
export * from './models';
export { createQueryOperations } from './query';
export { createMutationOperations } from './mutation';
/**
 * Create an ORM client instance
 *
 * @example
 * ```typescript
 * const db = createClient({
 *   endpoint: 'https://api.example.com/graphql',
 *   headers: { Authorization: 'Bearer token' },
 * });
 *
 * // Query users
 * const users = await db.user.findMany({
 *   select: { id: true, name: true },
 *   first: 10,
 * }).execute();
 *
 * // Create a user
 * const newUser = await db.user.create({
 *   data: { name: 'John', email: 'john@example.com' },
 *   select: { id: true },
 * }).execute();
 * ```
 */
export function createClient(config) {
    const client = new OrmClient(config);
    return {
        orgGetManagersRecord: new OrgGetManagersRecordModel(client),
        orgGetSubordinatesRecord: new OrgGetSubordinatesRecordModel(client),
        appPermission: new AppPermissionModel(client),
        orgPermission: new OrgPermissionModel(client),
        appLevelRequirement: new AppLevelRequirementModel(client),
        orgMember: new OrgMemberModel(client),
        appPermissionDefault: new AppPermissionDefaultModel(client),
        orgPermissionDefault: new OrgPermissionDefaultModel(client),
        appAdminGrant: new AppAdminGrantModel(client),
        appOwnerGrant: new AppOwnerGrantModel(client),
        appAchievement: new AppAchievementModel(client),
        appStep: new AppStepModel(client),
        orgAdminGrant: new OrgAdminGrantModel(client),
        orgOwnerGrant: new OrgOwnerGrantModel(client),
        membershipType: new MembershipTypeModel(client),
        appLimitDefault: new AppLimitDefaultModel(client),
        orgLimitDefault: new OrgLimitDefaultModel(client),
        orgChartEdgeGrant: new OrgChartEdgeGrantModel(client),
        appClaimedInvite: new AppClaimedInviteModel(client),
        appGrant: new AppGrantModel(client),
        appMembershipDefault: new AppMembershipDefaultModel(client),
        orgMembershipDefault: new OrgMembershipDefaultModel(client),
        orgClaimedInvite: new OrgClaimedInviteModel(client),
        appLimitEvent: new AppLimitEventModel(client),
        orgLimitEvent: new OrgLimitEventModel(client),
        orgGrant: new OrgGrantModel(client),
        orgChartEdge: new OrgChartEdgeModel(client),
        appLimit: new AppLimitModel(client),
        orgLimitAggregate: new OrgLimitAggregateModel(client),
        orgMemberProfile: new OrgMemberProfileModel(client),
        orgLimit: new OrgLimitModel(client),
        appLevel: new AppLevelModel(client),
        appInvite: new AppInviteModel(client),
        orgMembershipSetting: new OrgMembershipSettingModel(client),
        orgInvite: new OrgInviteModel(client),
        appMembership: new AppMembershipModel(client),
        orgMembership: new OrgMembershipModel(client),
        query: createQueryOperations(client),
        mutation: createMutationOperations(client),
    };
}
