/**
 * ORM Client - createClient factory
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import { OrmClient } from './client';
import { DbPresetModel } from './models/dbPreset';
import { DeclaredCapacityModel } from './models/declaredCapacity';
import { FunctionApiBindingModel } from './models/functionApiBinding';
import { FunctionDefinitionModel } from './models/functionDefinition';
import { FunctionDeploymentModel } from './models/functionDeployment';
import { FunctionDeploymentEventModel } from './models/functionDeploymentEvent';
import { FunctionExecutionLogModel } from './models/functionExecutionLog';
import { FunctionGraphCommitModel } from './models/functionGraphCommit';
import { FunctionGraphModel } from './models/functionGraph';
import { FunctionGraphExecutionModel } from './models/functionGraphExecution';
import { FunctionGraphExecutionNodeStateModel } from './models/functionGraphExecutionNodeState';
import { FunctionGraphExecutionOutputModel } from './models/functionGraphExecutionOutput';
import { FunctionGraphObjectModel } from './models/functionGraphObject';
import { FunctionGraphRefModel } from './models/functionGraphRef';
import { FunctionGraphStoreModel } from './models/functionGraphStore';
import { FunctionInvocationModel } from './models/functionInvocation';
import { GetAllTreeNodesRecordModel } from './models/getAllTreeNodesRecord';
import { InfraCommitModel } from './models/infraCommit';
import { InfraGetAllTreeNodesRecordModel } from './models/infraGetAllTreeNodesRecord';
import { InfraObjectModel } from './models/infraObject';
import { InfraRefModel } from './models/infraRef';
import { InfraStoreModel } from './models/infraStore';
import { IntegrationProviderModel } from './models/integrationProvider';
import { NamespaceModel } from './models/namespace';
import { NamespaceEventModel } from './models/namespaceEvent';
import { PlatformDeclaredCapacityModel } from './models/platformDeclaredCapacity';
import { PlatformFunctionApiBindingModel } from './models/platformFunctionApiBinding';
import { PlatformFunctionDefinitionModel } from './models/platformFunctionDefinition';
import { PlatformFunctionDeploymentModel } from './models/platformFunctionDeployment';
import { PlatformFunctionDeploymentEventModel } from './models/platformFunctionDeploymentEvent';
import { PlatformFunctionExecutionLogModel } from './models/platformFunctionExecutionLog';
import { PlatformFunctionInvocationModel } from './models/platformFunctionInvocation';
import { PlatformInfraCommitModel } from './models/platformInfraCommit';
import { PlatformInfraGetAllTreeNodesRecordModel } from './models/platformInfraGetAllTreeNodesRecord';
import { PlatformInfraObjectModel } from './models/platformInfraObject';
import { PlatformInfraRefModel } from './models/platformInfraRef';
import { PlatformInfraStoreModel } from './models/platformInfraStore';
import { PlatformNamespaceModel } from './models/platformNamespace';
import { PlatformNamespaceEventModel } from './models/platformNamespaceEvent';
import { PlatformResourceModel } from './models/platformResource';
import { PlatformResourceDefinitionModel } from './models/platformResourceDefinition';
import { PlatformResourceEventModel } from './models/platformResourceEvent';
import { PlatformResourceInstallationModel } from './models/platformResourceInstallation';
import { PlatformResourceStatusCheckModel } from './models/platformResourceStatusCheck';
import { PlatformResourceUsageLogModel } from './models/platformResourceUsageLog';
import { PlatformResourceUsageSummaryModel } from './models/platformResourceUsageSummary';
import { PlatformResourceUtilizationDailyModel } from './models/platformResourceUtilizationDaily';
import { PlatformResourcesHealthModel } from './models/platformResourcesHealth';
import { PlatformResourcesRequirementsStateModel } from './models/platformResourcesRequirementsState';
import { PlatformResourcesResolvedRequirementModel } from './models/platformResourcesResolvedRequirement';
import { PlatformWebhookEndpointModel } from './models/platformWebhookEndpoint';
import { PlatformWebhookEventModel } from './models/platformWebhookEvent';
import { ResourceModel } from './models/resource';
import { ResourceDefinitionModel } from './models/resourceDefinition';
import { ResourceEventModel } from './models/resourceEvent';
import { ResourceInstallationModel } from './models/resourceInstallation';
import { ResourceStatusCheckModel } from './models/resourceStatusCheck';
import { ResourceUsageLogModel } from './models/resourceUsageLog';
import { ResourceUsageSummaryModel } from './models/resourceUsageSummary';
import { ResourceUtilizationDailyModel } from './models/resourceUtilizationDaily';
import { ResourcesHealthModel } from './models/resourcesHealth';
import { ResourcesRequirementsStateModel } from './models/resourcesRequirementsState';
import { ResourcesResolvedRequirementModel } from './models/resourcesResolvedRequirement';
import { WebhookEndpointModel } from './models/webhookEndpoint';
import { WebhookEventModel } from './models/webhookEvent';
import { createQueryOperations } from './query';
import { createMutationOperations } from './mutation';
export { GraphQLRequestError, FetchAdapter } 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 {
        dbPreset: new DbPresetModel(client),
        declaredCapacity: new DeclaredCapacityModel(client),
        functionApiBinding: new FunctionApiBindingModel(client),
        functionDefinition: new FunctionDefinitionModel(client),
        functionDeployment: new FunctionDeploymentModel(client),
        functionDeploymentEvent: new FunctionDeploymentEventModel(client),
        functionExecutionLog: new FunctionExecutionLogModel(client),
        functionGraphCommit: new FunctionGraphCommitModel(client),
        functionGraph: new FunctionGraphModel(client),
        functionGraphExecution: new FunctionGraphExecutionModel(client),
        functionGraphExecutionNodeState: new FunctionGraphExecutionNodeStateModel(client),
        functionGraphExecutionOutput: new FunctionGraphExecutionOutputModel(client),
        functionGraphObject: new FunctionGraphObjectModel(client),
        functionGraphRef: new FunctionGraphRefModel(client),
        functionGraphStore: new FunctionGraphStoreModel(client),
        functionInvocation: new FunctionInvocationModel(client),
        getAllTreeNodesRecord: new GetAllTreeNodesRecordModel(client),
        infraCommit: new InfraCommitModel(client),
        infraGetAllTreeNodesRecord: new InfraGetAllTreeNodesRecordModel(client),
        infraObject: new InfraObjectModel(client),
        infraRef: new InfraRefModel(client),
        infraStore: new InfraStoreModel(client),
        integrationProvider: new IntegrationProviderModel(client),
        namespace: new NamespaceModel(client),
        namespaceEvent: new NamespaceEventModel(client),
        platformDeclaredCapacity: new PlatformDeclaredCapacityModel(client),
        platformFunctionApiBinding: new PlatformFunctionApiBindingModel(client),
        platformFunctionDefinition: new PlatformFunctionDefinitionModel(client),
        platformFunctionDeployment: new PlatformFunctionDeploymentModel(client),
        platformFunctionDeploymentEvent: new PlatformFunctionDeploymentEventModel(client),
        platformFunctionExecutionLog: new PlatformFunctionExecutionLogModel(client),
        platformFunctionInvocation: new PlatformFunctionInvocationModel(client),
        platformInfraCommit: new PlatformInfraCommitModel(client),
        platformInfraGetAllTreeNodesRecord: new PlatformInfraGetAllTreeNodesRecordModel(client),
        platformInfraObject: new PlatformInfraObjectModel(client),
        platformInfraRef: new PlatformInfraRefModel(client),
        platformInfraStore: new PlatformInfraStoreModel(client),
        platformNamespace: new PlatformNamespaceModel(client),
        platformNamespaceEvent: new PlatformNamespaceEventModel(client),
        platformResource: new PlatformResourceModel(client),
        platformResourceDefinition: new PlatformResourceDefinitionModel(client),
        platformResourceEvent: new PlatformResourceEventModel(client),
        platformResourceInstallation: new PlatformResourceInstallationModel(client),
        platformResourceStatusCheck: new PlatformResourceStatusCheckModel(client),
        platformResourceUsageLog: new PlatformResourceUsageLogModel(client),
        platformResourceUsageSummary: new PlatformResourceUsageSummaryModel(client),
        platformResourceUtilizationDaily: new PlatformResourceUtilizationDailyModel(client),
        platformResourcesHealth: new PlatformResourcesHealthModel(client),
        platformResourcesRequirementsState: new PlatformResourcesRequirementsStateModel(client),
        platformResourcesResolvedRequirement: new PlatformResourcesResolvedRequirementModel(client),
        platformWebhookEndpoint: new PlatformWebhookEndpointModel(client),
        platformWebhookEvent: new PlatformWebhookEventModel(client),
        resource: new ResourceModel(client),
        resourceDefinition: new ResourceDefinitionModel(client),
        resourceEvent: new ResourceEventModel(client),
        resourceInstallation: new ResourceInstallationModel(client),
        resourceStatusCheck: new ResourceStatusCheckModel(client),
        resourceUsageLog: new ResourceUsageLogModel(client),
        resourceUsageSummary: new ResourceUsageSummaryModel(client),
        resourceUtilizationDaily: new ResourceUtilizationDailyModel(client),
        resourcesHealth: new ResourcesHealthModel(client),
        resourcesRequirementsState: new ResourcesRequirementsStateModel(client),
        resourcesResolvedRequirement: new ResourcesResolvedRequirementModel(client),
        webhookEndpoint: new WebhookEndpointModel(client),
        webhookEvent: new WebhookEventModel(client),
        query: createQueryOperations(client),
        mutation: createMutationOperations(client),
    };
}
