/**
 * 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 { AppLimitCreditRedemptionModel } from './models/appLimitCreditRedemption';
import { AppLimitCreditCodeItemModel } from './models/appLimitCreditCodeItem';
import { AppLimitCreditModel } from './models/appLimitCredit';
import { OrgMemberModel } from './models/orgMember';
import { AppPermissionDefaultModel } from './models/appPermissionDefault';
import { AppLimitCreditCodeModel } from './models/appLimitCreditCode';
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 { AppLimitCapsDefaultModel } from './models/appLimitCapsDefault';
import { OrgLimitCapsDefaultModel } from './models/orgLimitCapsDefault';
import { AppLimitCapModel } from './models/appLimitCap';
import { OrgLimitCapModel } from './models/orgLimitCap';
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 { OrgLimitCreditModel } from './models/orgLimitCredit';
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 { UsageSnapshotModel } from './models/usageSnapshot';
import { OrgMemberProfileModel } from './models/orgMemberProfile';
import { AppLevelModel } from './models/appLevel';
import { AppLimitModel } from './models/appLimit';
import { AppInviteModel } from './models/appInvite';
import { OrgMembershipSettingModel } from './models/orgMembershipSetting';
import { OrgLimitAggregateModel } from './models/orgLimitAggregate';
import { OrgLimitModel } from './models/orgLimit';
import { AppMembershipModel } from './models/appMembership';
import { OrgInviteModel } from './models/orgInvite';
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),
        appLimitCreditRedemption: new AppLimitCreditRedemptionModel(client),
        appLimitCreditCodeItem: new AppLimitCreditCodeItemModel(client),
        appLimitCredit: new AppLimitCreditModel(client),
        orgMember: new OrgMemberModel(client),
        appPermissionDefault: new AppPermissionDefaultModel(client),
        appLimitCreditCode: new AppLimitCreditCodeModel(client),
        orgPermissionDefault: new OrgPermissionDefaultModel(client),
        appAdminGrant: new AppAdminGrantModel(client),
        appOwnerGrant: new AppOwnerGrantModel(client),
        appAchievement: new AppAchievementModel(client),
        appStep: new AppStepModel(client),
        appLimitCapsDefault: new AppLimitCapsDefaultModel(client),
        orgLimitCapsDefault: new OrgLimitCapsDefaultModel(client),
        appLimitCap: new AppLimitCapModel(client),
        orgLimitCap: new OrgLimitCapModel(client),
        orgAdminGrant: new OrgAdminGrantModel(client),
        orgOwnerGrant: new OrgOwnerGrantModel(client),
        membershipType: new MembershipTypeModel(client),
        appLimitDefault: new AppLimitDefaultModel(client),
        orgLimitDefault: new OrgLimitDefaultModel(client),
        orgLimitCredit: new OrgLimitCreditModel(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),
        usageSnapshot: new UsageSnapshotModel(client),
        orgMemberProfile: new OrgMemberProfileModel(client),
        appLevel: new AppLevelModel(client),
        appLimit: new AppLimitModel(client),
        appInvite: new AppInviteModel(client),
        orgMembershipSetting: new OrgMembershipSettingModel(client),
        orgLimitAggregate: new OrgLimitAggregateModel(client),
        orgLimit: new OrgLimitModel(client),
        appMembership: new AppMembershipModel(client),
        orgInvite: new OrgInviteModel(client),
        orgMembership: new OrgMembershipModel(client),
        query: createQueryOperations(client),
        mutation: createMutationOperations(client),
    };
}
