@agentlang/agentmanager 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +122 -0
- package/apps/agentcraft/README.md +237 -0
- package/apps/agentcraft/src/agentcraft-core.module.ts +40 -0
- package/apps/agentcraft/src/app.module.ts +28 -0
- package/apps/agentcraft/src/architect/architect.controller.ts +69 -0
- package/apps/agentcraft/src/architect/architect.module.ts +11 -0
- package/apps/agentcraft/src/architect/architect.service.ts +193 -0
- package/apps/agentcraft/src/architect/architect.store.ts +63 -0
- package/apps/agentcraft/src/architect/dto/ingest-signal.dto.ts +20 -0
- package/apps/agentcraft/src/architect/interfaces/architect.interfaces.ts +20 -0
- package/apps/agentcraft/src/autonomous/autonomous.controller.ts +92 -0
- package/apps/agentcraft/src/autonomous/autonomous.module.ts +9 -0
- package/apps/agentcraft/src/autonomous/autonomous.service.ts +160 -0
- package/apps/agentcraft/src/autonomous/dto/run-autonomous.dto.ts +16 -0
- package/apps/agentcraft/src/autonomous/dto/watch-kb.dto.ts +16 -0
- package/apps/agentcraft/src/config/configuration.ts +74 -0
- package/apps/agentcraft/src/health/health.controller.ts +22 -0
- package/apps/agentcraft/src/health/health.module.ts +9 -0
- package/apps/agentcraft/src/main.ts +53 -0
- package/apps/agentcraft/src/resolver/dto/create-resolver.dto.ts +14 -0
- package/apps/agentcraft/src/resolver/dto/install-registry.dto.ts +10 -0
- package/apps/agentcraft/src/resolver/dto/search-registry-query.dto.ts +10 -0
- package/apps/agentcraft/src/resolver/dto/submit-action.dto.ts +4 -0
- package/apps/agentcraft/src/resolver/resolver-session.store.ts +39 -0
- package/apps/agentcraft/src/resolver/resolver.controller.ts +86 -0
- package/apps/agentcraft/src/resolver/resolver.module.ts +10 -0
- package/apps/agentcraft/src/resolver/resolver.service.ts +128 -0
- package/apps/agentcraft/src/sessions/dto/create-session.dto.ts +12 -0
- package/apps/agentcraft/src/sessions/dto/submit-action.dto.ts +1 -0
- package/apps/agentcraft/src/sessions/dto/submit-idea.dto.ts +8 -0
- package/apps/agentcraft/src/sessions/session.store.ts +39 -0
- package/apps/agentcraft/src/sessions/sessions.controller.ts +87 -0
- package/apps/agentcraft/src/sessions/sessions.module.ts +10 -0
- package/apps/agentcraft/src/sessions/sessions.service.ts +277 -0
- package/apps/agentcraft/tsconfig.app.json +8 -0
- package/apps/agentmanager/README.md +141 -0
- package/apps/agentmanager/src/agentmanager-core.module.ts +45 -0
- package/apps/agentmanager/src/app.module.ts +26 -0
- package/apps/agentmanager/src/config/configuration.ts +63 -0
- package/apps/agentmanager/src/deployments/deployments.controller.ts +21 -0
- package/apps/agentmanager/src/deployments/deployments.module.ts +10 -0
- package/apps/agentmanager/src/deployments/deployments.service.ts +166 -0
- package/apps/agentmanager/src/deployments/errors/deployment.errors.ts +13 -0
- package/apps/agentmanager/src/deployments/interfaces/deployment.interfaces.ts +25 -0
- package/apps/agentmanager/src/discovery/discovery.controller.ts +14 -0
- package/apps/agentmanager/src/discovery/discovery.module.ts +36 -0
- package/apps/agentmanager/src/discovery/discovery.service.ts +174 -0
- package/apps/agentmanager/src/discovery/dto/discover.dto.ts +8 -0
- package/apps/agentmanager/src/discovery/interfaces/discovery.interfaces.ts +22 -0
- package/apps/agentmanager/src/discovery/llm/anthropic-llm.service.ts +67 -0
- package/apps/agentmanager/src/discovery/llm/llm-provider.interface.ts +17 -0
- package/apps/agentmanager/src/discovery/llm/llm.errors.ts +7 -0
- package/apps/agentmanager/src/discovery/llm/openai-llm.service.ts +67 -0
- package/apps/agentmanager/src/employee-code/dto/put-config.dto.ts +8 -0
- package/apps/agentmanager/src/employee-code/dto/put-module.dto.ts +8 -0
- package/apps/agentmanager/src/employee-code/dto/put-package.dto.ts +13 -0
- package/apps/agentmanager/src/employee-code/employee-code.controller.ts +114 -0
- package/apps/agentmanager/src/employee-code/employee-code.module.ts +10 -0
- package/apps/agentmanager/src/employee-code/employee-code.service.ts +55 -0
- package/apps/agentmanager/src/employees/dto/register-employee.dto.ts +9 -0
- package/apps/agentmanager/src/employees/employees.controller.ts +53 -0
- package/apps/agentmanager/src/employees/employees.module.ts +10 -0
- package/apps/agentmanager/src/employees/employees.service.ts +29 -0
- package/apps/agentmanager/src/health/health.controller.ts +22 -0
- package/apps/agentmanager/src/health/health.module.ts +9 -0
- package/apps/agentmanager/src/inbox/dto/list-messages-query.dto.ts +12 -0
- package/apps/agentmanager/src/inbox/dto/push-message.dto.ts +55 -0
- package/apps/agentmanager/src/inbox/dto/respond-message.dto.ts +9 -0
- package/apps/agentmanager/src/inbox/inbox.controller.ts +87 -0
- package/apps/agentmanager/src/inbox/inbox.module.ts +10 -0
- package/apps/agentmanager/src/inbox/inbox.service.ts +209 -0
- package/apps/agentmanager/src/main.ts +53 -0
- package/apps/agentmanager/src/projects/dto/create-project.dto.ts +10 -0
- package/apps/agentmanager/src/projects/projects.controller.ts +47 -0
- package/apps/agentmanager/src/projects/projects.module.ts +10 -0
- package/apps/agentmanager/src/projects/projects.service.ts +24 -0
- package/apps/agentmanager/tsconfig.app.json +8 -0
- package/apps/fabric/Dockerfile +22 -0
- package/apps/fabric/docker-compose.yml +14 -0
- package/apps/fabric/ecosystem.config.cjs +17 -0
- package/apps/fabric/src/ai-agent/ai-agent.module.ts +43 -0
- package/apps/fabric/src/ai-agent/ai-agent.service.ts +374 -0
- package/apps/fabric/src/ai-agent/probe-investigation.types.ts +24 -0
- package/apps/fabric/src/app.module.ts +40 -0
- package/apps/fabric/src/auth/current-user.decorator.ts +11 -0
- package/apps/fabric/src/auth/request-user.ts +4 -0
- package/apps/fabric/src/config/configuration.ts +266 -0
- package/apps/fabric/src/database/entities/deployment-event.entity.ts +33 -0
- package/apps/fabric/src/database/entities/environment.entity.ts +25 -0
- package/apps/fabric/src/database/entities/index.ts +25 -0
- package/apps/fabric/src/database/entities/project.entity.ts +25 -0
- package/apps/fabric/src/database/entities/runtime.entity.ts +55 -0
- package/apps/fabric/src/database/entities/user-config.entity.ts +22 -0
- package/apps/fabric/src/database/entities/version.entity.ts +22 -0
- package/apps/fabric/src/database/migrations-data-source.ts +27 -0
- package/apps/fabric/src/deployment-events/deployment-events.controller.ts +27 -0
- package/apps/fabric/src/deployment-events/deployment-events.module.ts +11 -0
- package/apps/fabric/src/deployment-events/deployment-events.service.ts +58 -0
- package/apps/fabric/src/deployment-events/deployment-events.store.ts +162 -0
- package/apps/fabric/src/deployment-events/deployment-events.types.ts +24 -0
- package/apps/fabric/src/employees/dto/deploy.dto.ts +71 -0
- package/apps/fabric/src/employees/employees.controller.ts +217 -0
- package/apps/fabric/src/employees/employees.module.ts +32 -0
- package/apps/fabric/src/employees/employees.service.ts +1333 -0
- package/apps/fabric/src/employees/employees.types.ts +69 -0
- package/apps/fabric/src/employees/errors/employee-deployment.errors.ts +80 -0
- package/apps/fabric/src/employees/runtime.store.ts +304 -0
- package/apps/fabric/src/environments/dto/environment.dto.ts +26 -0
- package/apps/fabric/src/environments/environments.controller.ts +48 -0
- package/apps/fabric/src/environments/environments.module.ts +11 -0
- package/apps/fabric/src/environments/environments.service.ts +92 -0
- package/apps/fabric/src/environments/environments.store.ts +146 -0
- package/apps/fabric/src/environments/environments.types.ts +11 -0
- package/apps/fabric/src/environments/errors/environment.errors.ts +14 -0
- package/apps/fabric/src/fabric-core.module.ts +48 -0
- package/apps/fabric/src/health/health.controller.ts +19 -0
- package/apps/fabric/src/health/health.module.ts +12 -0
- package/apps/fabric/src/health/provider-health.indicator.ts +33 -0
- package/apps/fabric/src/healthcheck/healthcheck.module.ts +24 -0
- package/apps/fabric/src/healthcheck/healthcheck.service.ts +494 -0
- package/apps/fabric/src/logs/logs.module.ts +10 -0
- package/apps/fabric/src/logs/logs.service.ts +149 -0
- package/apps/fabric/src/main.ts +57 -0
- package/apps/fabric/src/notifications/notifications.module.ts +23 -0
- package/apps/fabric/src/notifications/notifications.service.ts +141 -0
- package/apps/fabric/src/project-source/errors/project-source.errors.ts +8 -0
- package/apps/fabric/src/project-source/project-source.module.ts +8 -0
- package/apps/fabric/src/project-source/project-source.service.ts +75 -0
- package/apps/fabric/src/project-source/project-source.types.ts +5 -0
- package/apps/fabric/src/projects/dto/project.dto.ts +25 -0
- package/apps/fabric/src/projects/errors/project.errors.ts +17 -0
- package/apps/fabric/src/projects/projects-data.service.ts +60 -0
- package/apps/fabric/src/projects/projects.controller.ts +92 -0
- package/apps/fabric/src/projects/projects.module.ts +20 -0
- package/apps/fabric/src/projects/projects.service.ts +323 -0
- package/apps/fabric/src/projects/projects.store.ts +142 -0
- package/apps/fabric/src/projects/projects.types.ts +9 -0
- package/apps/fabric/src/providers/docker-provider.ts +141 -0
- package/apps/fabric/src/providers/eks-provider.ts +279 -0
- package/apps/fabric/src/providers/pm2-provider.ts +205 -0
- package/apps/fabric/src/providers/port-allocator.ts +57 -0
- package/apps/fabric/src/providers/provider-factory.ts +32 -0
- package/apps/fabric/src/providers/provider.interface.ts +50 -0
- package/apps/fabric/src/providers/providers.module.ts +26 -0
- package/apps/fabric/src/provisioners/cognito-provisioner.service.ts +168 -0
- package/apps/fabric/src/provisioners/postgres-provisioner.service.ts +124 -0
- package/apps/fabric/src/provisioners/provisioners.module.ts +40 -0
- package/apps/fabric/src/user-config/user-config.module.ts +9 -0
- package/apps/fabric/src/user-config/user-config.service.ts +54 -0
- package/apps/fabric/src/user-config/user-config.store.ts +120 -0
- package/apps/fabric/src/user-config/user-config.types.ts +11 -0
- package/apps/fabric/src/versions/versions.controller.ts +24 -0
- package/apps/fabric/src/versions/versions.module.ts +11 -0
- package/apps/fabric/src/versions/versions.service.ts +65 -0
- package/apps/fabric/src/versions/versions.store.ts +160 -0
- package/apps/fabric/src/versions/versions.types.ts +12 -0
- package/apps/fabric/src/watcher/deployment-watcher.module.ts +22 -0
- package/apps/fabric/src/watcher/deployment-watcher.service.ts +92 -0
- package/apps/fabric/src/watcher/pod-probe.service.ts +231 -0
- package/apps/fabric/tsconfig.app.json +8 -0
- package/apps/integrations/prisma/.integrations/integrations.sqlite +0 -0
- package/apps/integrations/prisma/prisma.config.ts +8 -0
- package/apps/integrations/prisma/prisma.sqlite.config.ts +8 -0
- package/apps/integrations/prisma/schema.postgres.prisma +27 -0
- package/apps/integrations/prisma/schema.sqlite.prisma +27 -0
- package/apps/integrations/scripts/prepare-db.cjs +92 -0
- package/apps/integrations/src/api/auth-flow.controller.ts +39 -0
- package/apps/integrations/src/api/connections.controller.ts +26 -0
- package/apps/integrations/src/api/health.controller.ts +34 -0
- package/apps/integrations/src/api/providers.controller.ts +60 -0
- package/apps/integrations/src/api/tenant-config.controller.ts +62 -0
- package/apps/integrations/src/app.module.ts +38 -0
- package/apps/integrations/src/config/configuration.ts +134 -0
- package/apps/integrations/src/generated/prisma-postgres/browser.ts +24 -0
- package/apps/integrations/src/generated/prisma-postgres/client.ts +46 -0
- package/apps/integrations/src/generated/prisma-postgres/commonInputTypes.ts +297 -0
- package/apps/integrations/src/generated/prisma-postgres/enums.ts +15 -0
- package/apps/integrations/src/generated/prisma-postgres/internal/class.ts +204 -0
- package/apps/integrations/src/generated/prisma-postgres/internal/prismaNamespace.ts +794 -0
- package/apps/integrations/src/generated/prisma-postgres/internal/prismaNamespaceBrowser.ts +126 -0
- package/apps/integrations/src/generated/prisma-postgres/models/IntegrationEntity.ts +1273 -0
- package/apps/integrations/src/generated/prisma-postgres/models.ts +12 -0
- package/apps/integrations/src/generated/prisma-sqlite/browser.ts +24 -0
- package/apps/integrations/src/generated/prisma-sqlite/client.ts +46 -0
- package/apps/integrations/src/generated/prisma-sqlite/commonInputTypes.ts +278 -0
- package/apps/integrations/src/generated/prisma-sqlite/enums.ts +15 -0
- package/apps/integrations/src/generated/prisma-sqlite/internal/class.ts +204 -0
- package/apps/integrations/src/generated/prisma-sqlite/internal/prismaNamespace.ts +770 -0
- package/apps/integrations/src/generated/prisma-sqlite/internal/prismaNamespaceBrowser.ts +123 -0
- package/apps/integrations/src/generated/prisma-sqlite/models/IntegrationEntity.ts +1271 -0
- package/apps/integrations/src/generated/prisma-sqlite/models.ts +12 -0
- package/apps/integrations/src/integrations-core.module.ts +52 -0
- package/apps/integrations/src/main.ts +63 -0
- package/apps/integrations/src/modules/auth-flow/auth-flow.module.ts +21 -0
- package/apps/integrations/src/modules/auth-flow/auth-flow.service.ts +275 -0
- package/apps/integrations/src/modules/auth-flow/dto/auth-flow.dto.ts +36 -0
- package/apps/integrations/src/modules/auth-flow/scheduler.service.ts +73 -0
- package/apps/integrations/src/modules/connections/connections.module.ts +11 -0
- package/apps/integrations/src/modules/connections/connections.service.ts +109 -0
- package/apps/integrations/src/modules/credentials/credentials.module.ts +11 -0
- package/apps/integrations/src/modules/credentials/encryption.service.ts +71 -0
- package/apps/integrations/src/modules/credentials/token-store.service.ts +82 -0
- package/apps/integrations/src/modules/discovery/discovery.module.ts +8 -0
- package/apps/integrations/src/modules/discovery/oidc-discovery.service.ts +114 -0
- package/apps/integrations/src/modules/platform/metadata-store.service.ts +337 -0
- package/apps/integrations/src/modules/platform/platform.module.ts +8 -0
- package/apps/integrations/src/modules/platform/platform.types.ts +10 -0
- package/apps/integrations/src/modules/platform/resilient-fetch.ts +53 -0
- package/apps/integrations/src/modules/providers/base/api-key.provider.ts +43 -0
- package/apps/integrations/src/modules/providers/base/basic-auth.provider.ts +44 -0
- package/apps/integrations/src/modules/providers/base/oauth2.provider.ts +233 -0
- package/apps/integrations/src/modules/providers/base/oidc.provider.ts +87 -0
- package/apps/integrations/src/modules/providers/builtin/google-drive.provider.ts +40 -0
- package/apps/integrations/src/modules/providers/dto/provider.dto.ts +53 -0
- package/apps/integrations/src/modules/providers/provider.factory.ts +68 -0
- package/apps/integrations/src/modules/providers/provider.registry.ts +123 -0
- package/apps/integrations/src/modules/providers/provider.types.ts +185 -0
- package/apps/integrations/src/modules/providers/providers.module.ts +34 -0
- package/apps/integrations/src/modules/tenant-config/dto/tenant-config.dto.ts +28 -0
- package/apps/integrations/src/modules/tenant-config/tenant-config.module.ts +11 -0
- package/apps/integrations/src/modules/tenant-config/tenant-config.service.ts +212 -0
- package/apps/integrations/tsconfig.app.json +8 -0
- package/apps/knowledge/prisma/prisma.config.ts +8 -0
- package/apps/knowledge/prisma/schema.postgres.prisma +29 -0
- package/apps/knowledge/prisma/schema.sqlite.prisma +29 -0
- package/apps/knowledge/scripts/prepare-db.cjs +72 -0
- package/apps/knowledge/src/api/auth.controller.ts +54 -0
- package/apps/knowledge/src/api/connections.controller.ts +99 -0
- package/apps/knowledge/src/api/documents.controller.ts +45 -0
- package/apps/knowledge/src/api/graph.controller.ts +67 -0
- package/apps/knowledge/src/api/health.controller.ts +39 -0
- package/apps/knowledge/src/api/ingestion.controller.ts +45 -0
- package/apps/knowledge/src/api/knowledge-query.controller.ts +27 -0
- package/apps/knowledge/src/api/oauth.controller.ts +38 -0
- package/apps/knowledge/src/api/recommendations.controller.ts +63 -0
- package/apps/knowledge/src/api/scheduler.controller.ts +32 -0
- package/apps/knowledge/src/api/topics.controller.ts +46 -0
- package/apps/knowledge/src/app.module.ts +68 -0
- package/apps/knowledge/src/config/configuration.ts +149 -0
- package/apps/knowledge/src/generated/prisma-postgres/browser.ts +24 -0
- package/apps/knowledge/src/generated/prisma-postgres/client.ts +46 -0
- package/apps/knowledge/src/generated/prisma-postgres/commonInputTypes.ts +297 -0
- package/apps/knowledge/src/generated/prisma-postgres/enums.ts +15 -0
- package/apps/knowledge/src/generated/prisma-postgres/internal/class.ts +204 -0
- package/apps/knowledge/src/generated/prisma-postgres/internal/prismaNamespace.ts +795 -0
- package/apps/knowledge/src/generated/prisma-postgres/internal/prismaNamespaceBrowser.ts +127 -0
- package/apps/knowledge/src/generated/prisma-postgres/models/KnowledgeEntity.ts +1301 -0
- package/apps/knowledge/src/generated/prisma-postgres/models.ts +12 -0
- package/apps/knowledge/src/generated/prisma-sqlite/browser.ts +24 -0
- package/apps/knowledge/src/generated/prisma-sqlite/client.ts +46 -0
- package/apps/knowledge/src/generated/prisma-sqlite/commonInputTypes.ts +278 -0
- package/apps/knowledge/src/generated/prisma-sqlite/enums.ts +15 -0
- package/apps/knowledge/src/generated/prisma-sqlite/internal/class.ts +204 -0
- package/apps/knowledge/src/generated/prisma-sqlite/internal/prismaNamespace.ts +771 -0
- package/apps/knowledge/src/generated/prisma-sqlite/internal/prismaNamespaceBrowser.ts +124 -0
- package/apps/knowledge/src/generated/prisma-sqlite/models/KnowledgeEntity.ts +1299 -0
- package/apps/knowledge/src/generated/prisma-sqlite/models.ts +12 -0
- package/apps/knowledge/src/main.ts +48 -0
- package/apps/knowledge/src/modules/auth/auth.module.ts +8 -0
- package/apps/knowledge/src/modules/auth/auth.service.ts +290 -0
- package/apps/knowledge/src/modules/documents/documents.module.ts +12 -0
- package/apps/knowledge/src/modules/documents/documents.service.ts +179 -0
- package/apps/knowledge/src/modules/documents/dto/document.dto.ts +68 -0
- package/apps/knowledge/src/modules/graph/graph.module.ts +10 -0
- package/apps/knowledge/src/modules/graph/graph.service.ts +223 -0
- package/apps/knowledge/src/modules/ingestion/dto/ingestion.dto.ts +58 -0
- package/apps/knowledge/src/modules/ingestion/ingestion-workflows.service.ts +246 -0
- package/apps/knowledge/src/modules/ingestion/ingestion.module.ts +14 -0
- package/apps/knowledge/src/modules/ingestion/ingestion.service.ts +619 -0
- package/apps/knowledge/src/modules/oauth-bridge/oauth-bridge.module.ts +8 -0
- package/apps/knowledge/src/modules/oauth-bridge/oauth-bridge.service.ts +135 -0
- package/apps/knowledge/src/modules/platform/metadata-store.service.ts +314 -0
- package/apps/knowledge/src/modules/platform/platform.module.ts +9 -0
- package/apps/knowledge/src/modules/platform/platform.types.ts +23 -0
- package/apps/knowledge/src/modules/platform/vector-store.service.ts +235 -0
- package/apps/knowledge/src/modules/recommendations/recommendations.module.ts +10 -0
- package/apps/knowledge/src/modules/recommendations/recommendations.service.ts +121 -0
- package/apps/knowledge/src/modules/storage/storage.module.ts +8 -0
- package/apps/knowledge/src/modules/storage/storage.service.ts +150 -0
- package/apps/knowledge/src/modules/sync/scheduler.service.ts +175 -0
- package/apps/knowledge/src/modules/sync/sync.module.ts +11 -0
- package/apps/knowledge/src/modules/topics/dto/topic.dto.ts +50 -0
- package/apps/knowledge/src/modules/topics/topics.module.ts +10 -0
- package/apps/knowledge/src/modules/topics/topics.service.ts +86 -0
- package/apps/knowledge/tsconfig.app.json +8 -0
- package/apps/monolith/src/app.module.ts +75 -0
- package/apps/monolith/src/config/configuration.ts +93 -0
- package/apps/monolith/src/health/health.controller.ts +22 -0
- package/apps/monolith/src/health/health.module.ts +9 -0
- package/apps/monolith/src/main.ts +56 -0
- package/apps/monolith/tsconfig.app.json +8 -0
- package/libs/agentcraft/src/agentcraft.module.d.ts +12 -0
- package/libs/agentcraft/src/agentcraft.module.js +142 -0
- package/libs/agentcraft/src/agentcraft.module.js.map +1 -0
- package/libs/agentcraft/src/agentcraft.module.ts +161 -0
- package/libs/agentcraft/src/constants.d.ts +2 -0
- package/libs/agentcraft/src/constants.js +6 -0
- package/libs/agentcraft/src/constants.js.map +1 -0
- package/libs/agentcraft/src/constants.ts +2 -0
- package/libs/agentcraft/src/dto/submit-action.dto.ts +20 -0
- package/libs/agentcraft/src/errors/domain.error.d.ts +8 -0
- package/libs/agentcraft/src/errors/domain.error.js +27 -0
- package/libs/agentcraft/src/errors/domain.error.js.map +1 -0
- package/libs/agentcraft/src/errors/domain.error.ts +14 -0
- package/libs/agentcraft/src/errors/llm.errors.d.ts +10 -0
- package/libs/agentcraft/src/errors/llm.errors.js +26 -0
- package/libs/agentcraft/src/errors/llm.errors.js.map +1 -0
- package/libs/agentcraft/src/errors/llm.errors.ts +19 -0
- package/libs/agentcraft/src/index.d.ts +64 -0
- package/libs/agentcraft/src/index.js +195 -0
- package/libs/agentcraft/src/index.js.map +1 -0
- package/libs/agentcraft/src/index.ts +171 -0
- package/libs/agentcraft/src/instructions/step6-data-model.ts +181 -0
- package/libs/agentcraft/src/instructions/step7-workflows.ts +544 -0
- package/libs/agentcraft/src/instructions/step8-agents.ts +114 -0
- package/libs/agentcraft/src/interfaces/llm-provider.interface.d.ts +16 -0
- package/libs/agentcraft/src/interfaces/llm-provider.interface.js +3 -0
- package/libs/agentcraft/src/interfaces/llm-provider.interface.js.map +1 -0
- package/libs/agentcraft/src/interfaces/llm-provider.interface.ts +18 -0
- package/libs/agentcraft/src/prompts/assembly.prompt.ts +104 -0
- package/libs/agentcraft/src/prompts/codegen.prompt.ts +162 -0
- package/libs/agentcraft/src/prompts/decomposition.prompt.ts +32 -0
- package/libs/agentcraft/src/prompts/examples-provider.ts +63 -0
- package/libs/agentcraft/src/prompts/planning.prompt.ts +52 -0
- package/libs/agentcraft/src/prompts/resolver.prompt.ts +364 -0
- package/libs/agentcraft/src/prompts/semantics-guide.ts +134 -0
- package/libs/agentcraft/src/services/anthropic-craft-llm.service.ts +186 -0
- package/libs/agentcraft/src/services/anthropic-llm.service.d.ts +9 -0
- package/libs/agentcraft/src/services/anthropic-llm.service.js +90 -0
- package/libs/agentcraft/src/services/anthropic-llm.service.js.map +1 -0
- package/libs/agentcraft/src/services/anthropic-llm.service.ts +61 -0
- package/libs/agentcraft/src/services/api-adapter.service.d.ts +65 -0
- package/libs/agentcraft/src/services/api-adapter.service.js +167 -0
- package/libs/agentcraft/src/services/api-adapter.service.js.map +1 -0
- package/libs/agentcraft/src/services/api-adapter.service.ts +186 -0
- package/libs/agentcraft/src/services/architect-loop.service.d.ts +16 -0
- package/libs/agentcraft/src/services/architect-loop.service.js +92 -0
- package/libs/agentcraft/src/services/architect-loop.service.js.map +1 -0
- package/libs/agentcraft/src/services/architect-loop.service.ts +407 -0
- package/libs/agentcraft/src/services/autonomous-runner.service.ts +178 -0
- package/libs/agentcraft/src/services/craft-config.service.d.ts +11 -0
- package/libs/agentcraft/src/services/craft-config.service.js +127 -0
- package/libs/agentcraft/src/services/craft-config.service.js.map +1 -0
- package/libs/agentcraft/src/services/craft-config.service.ts +92 -0
- package/libs/agentcraft/src/services/craft-llm-adapter.service.d.ts +12 -0
- package/libs/agentcraft/src/services/craft-llm-adapter.service.js +73 -0
- package/libs/agentcraft/src/services/craft-llm-adapter.service.js.map +1 -0
- package/libs/agentcraft/src/services/craft-llm-adapter.service.ts +52 -0
- package/libs/agentcraft/src/services/decomposer.service.ts +115 -0
- package/libs/agentcraft/src/services/design-generator.service.ts +672 -0
- package/libs/agentcraft/src/services/executor.service.ts +452 -0
- package/libs/agentcraft/src/services/kb-watcher.service.ts +150 -0
- package/libs/agentcraft/src/services/openai-llm.service.d.ts +9 -0
- package/libs/agentcraft/src/services/openai-llm.service.js +91 -0
- package/libs/agentcraft/src/services/openai-llm.service.js.map +1 -0
- package/libs/agentcraft/src/services/openai-llm.service.ts +61 -0
- package/libs/agentcraft/src/services/output-parser.service.d.ts +9 -0
- package/libs/agentcraft/src/services/output-parser.service.js +80 -0
- package/libs/agentcraft/src/services/output-parser.service.js.map +1 -0
- package/libs/agentcraft/src/services/output-parser.service.ts +68 -0
- package/libs/agentcraft/src/services/pipeline-state.service.d.ts +19 -0
- package/libs/agentcraft/src/services/pipeline-state.service.js +134 -0
- package/libs/agentcraft/src/services/pipeline-state.service.js.map +1 -0
- package/libs/agentcraft/src/services/pipeline-state.service.ts +108 -0
- package/libs/agentcraft/src/services/pipeline-steps.service.d.ts +10 -0
- package/libs/agentcraft/src/services/pipeline-steps.service.js +147 -0
- package/libs/agentcraft/src/services/pipeline-steps.service.js.map +1 -0
- package/libs/agentcraft/src/services/pipeline-steps.service.ts +126 -0
- package/libs/agentcraft/src/services/planner.service.ts +189 -0
- package/libs/agentcraft/src/services/readme-generator.service.ts +229 -0
- package/libs/agentcraft/src/services/registry-client.service.d.ts +14 -0
- package/libs/agentcraft/src/services/registry-client.service.js +158 -0
- package/libs/agentcraft/src/services/registry-client.service.js.map +1 -0
- package/libs/agentcraft/src/services/registry-client.service.ts +139 -0
- package/libs/agentcraft/src/services/requirements-generator.service.ts +238 -0
- package/libs/agentcraft/src/services/spec-fetcher.service.d.ts +3 -0
- package/libs/agentcraft/src/services/spec-fetcher.service.js +46 -0
- package/libs/agentcraft/src/services/spec-fetcher.service.js.map +1 -0
- package/libs/agentcraft/src/services/spec-fetcher.service.ts +21 -0
- package/libs/agentcraft/src/services/ui-blueprint-generator.service.ts +387 -0
- package/libs/agentcraft/src/types/architect.types.ts +156 -0
- package/libs/agentcraft/src/types/autonomous.types.ts +71 -0
- package/libs/agentcraft/src/types/llm.types.d.ts +26 -0
- package/libs/agentcraft/src/types/llm.types.js +3 -0
- package/libs/agentcraft/src/types/llm.types.js.map +1 -0
- package/libs/agentcraft/src/types/llm.types.ts +60 -0
- package/libs/agentcraft/src/types/pipeline.types.d.ts +55 -0
- package/libs/agentcraft/src/types/pipeline.types.js +37 -0
- package/libs/agentcraft/src/types/pipeline.types.js.map +1 -0
- package/libs/agentcraft/src/types/pipeline.types.ts +61 -0
- package/libs/agentcraft/src/types/resolver.types.d.ts +27 -0
- package/libs/agentcraft/src/types/resolver.types.js +3 -0
- package/libs/agentcraft/src/types/resolver.types.js.map +1 -0
- package/libs/agentcraft/src/types/resolver.types.ts +22 -0
- package/libs/agentcraft/src/types/signal.types.d.ts +16 -0
- package/libs/agentcraft/src/types/signal.types.js +3 -0
- package/libs/agentcraft/src/types/signal.types.js.map +1 -0
- package/libs/agentcraft/src/types/signal.types.ts +18 -0
- package/libs/agentcraft/src/utils/kb-loader.ts +67 -0
- package/libs/agentcraft/src/utils/output-writer.ts +71 -0
- package/libs/agentcraft/src/utils/spec-fetcher.ts +20 -0
- package/libs/agentcraft/src/utils/spec-trimmer.ts +280 -0
- package/libs/agentcraft/src/utils/text-utils.ts +49 -0
- package/libs/agentcraft/src/utils/validator.ts +231 -0
- package/libs/agentcraft/tsconfig.lib.json +9 -0
- package/libs/auth/src/auth.guard.ts +188 -0
- package/libs/auth/src/auth.module.ts +11 -0
- package/libs/auth/src/index.ts +3 -0
- package/libs/auth/src/public.decorator.ts +5 -0
- package/libs/auth/tsconfig.lib.json +9 -0
- package/libs/common/src/database/data-source.service.ts +75 -0
- package/libs/common/src/database/database-connection.holder.ts +41 -0
- package/libs/common/src/database/database.config.ts +14 -0
- package/libs/common/src/database/database.module.ts +42 -0
- package/libs/common/src/database/embedded-database.service.ts +120 -0
- package/libs/common/src/database/file-store.factory.ts +20 -0
- package/libs/common/src/database/file-store.ts +47 -0
- package/libs/common/src/errors/domain.error.ts +11 -0
- package/libs/common/src/filters/domain-exception.filter.ts +62 -0
- package/libs/common/src/index.ts +15 -0
- package/libs/common/src/interceptors/logging.interceptor.ts +60 -0
- package/libs/common/tsconfig.lib.json +9 -0
- package/libs/project-provider/src/constants.d.ts +7 -0
- package/libs/project-provider/src/constants.js +18 -0
- package/libs/project-provider/src/constants.js.map +1 -0
- package/libs/project-provider/src/constants.ts +7 -0
- package/libs/project-provider/src/errors/domain.error.d.ts +4 -0
- package/libs/project-provider/src/errors/domain.error.js +13 -0
- package/libs/project-provider/src/errors/domain.error.js.map +1 -0
- package/libs/project-provider/src/errors/domain.error.ts +1 -0
- package/libs/project-provider/src/errors/employee-code.errors.d.ts +13 -0
- package/libs/project-provider/src/errors/employee-code.errors.js +42 -0
- package/libs/project-provider/src/errors/employee-code.errors.js.map +1 -0
- package/libs/project-provider/src/errors/employee-code.errors.ts +37 -0
- package/libs/project-provider/src/errors/inbox.errors.d.ts +13 -0
- package/libs/project-provider/src/errors/inbox.errors.js +36 -0
- package/libs/project-provider/src/errors/inbox.errors.js.map +1 -0
- package/libs/project-provider/src/errors/inbox.errors.ts +31 -0
- package/libs/project-provider/src/errors/registry.errors.d.ts +16 -0
- package/libs/project-provider/src/errors/registry.errors.js +46 -0
- package/libs/project-provider/src/errors/registry.errors.js.map +1 -0
- package/libs/project-provider/src/errors/registry.errors.ts +40 -0
- package/libs/project-provider/src/index.d.ts +67 -0
- package/libs/project-provider/src/index.js +220 -0
- package/libs/project-provider/src/index.js.map +1 -0
- package/libs/project-provider/src/index.ts +82 -0
- package/libs/project-provider/src/interfaces/employee-code-provider.interface.d.ts +36 -0
- package/libs/project-provider/src/interfaces/employee-code-provider.interface.js +3 -0
- package/libs/project-provider/src/interfaces/employee-code-provider.interface.js.map +1 -0
- package/libs/project-provider/src/interfaces/employee-code-provider.interface.ts +37 -0
- package/libs/project-provider/src/interfaces/inbox-client.interface.d.ts +3 -0
- package/libs/project-provider/src/interfaces/inbox-client.interface.js +3 -0
- package/libs/project-provider/src/interfaces/inbox-client.interface.js.map +1 -0
- package/libs/project-provider/src/interfaces/inbox-client.interface.ts +3 -0
- package/libs/project-provider/src/interfaces/inbox-handler.interface.ts +10 -0
- package/libs/project-provider/src/interfaces/knowledge-base.interface.d.ts +5 -0
- package/libs/project-provider/src/interfaces/knowledge-base.interface.js +3 -0
- package/libs/project-provider/src/interfaces/knowledge-base.interface.js.map +1 -0
- package/libs/project-provider/src/interfaces/knowledge-base.interface.ts +6 -0
- package/libs/project-provider/src/interfaces/registry-provider.interface.d.ts +24 -0
- package/libs/project-provider/src/interfaces/registry-provider.interface.js +3 -0
- package/libs/project-provider/src/interfaces/registry-provider.interface.js.map +1 -0
- package/libs/project-provider/src/interfaces/registry-provider.interface.ts +36 -0
- package/libs/project-provider/src/project-provider.module.d.ts +10 -0
- package/libs/project-provider/src/project-provider.module.js +137 -0
- package/libs/project-provider/src/project-provider.module.js.map +1 -0
- package/libs/project-provider/src/project-provider.module.ts +119 -0
- package/libs/project-provider/src/services/al-parser.service.d.ts +6 -0
- package/libs/project-provider/src/services/al-parser.service.js +103 -0
- package/libs/project-provider/src/services/al-parser.service.js.map +1 -0
- package/libs/project-provider/src/services/al-parser.service.ts +92 -0
- package/libs/project-provider/src/services/direct-inbox-client.service.ts +24 -0
- package/libs/project-provider/src/services/file-knowledge-base.service.d.ts +8 -0
- package/libs/project-provider/src/services/file-knowledge-base.service.js +158 -0
- package/libs/project-provider/src/services/file-knowledge-base.service.js.map +1 -0
- package/libs/project-provider/src/services/file-knowledge-base.service.ts +81 -0
- package/libs/project-provider/src/services/filesystem-employee-code.service.d.ts +49 -0
- package/libs/project-provider/src/services/filesystem-employee-code.service.js +227 -0
- package/libs/project-provider/src/services/filesystem-employee-code.service.js.map +1 -0
- package/libs/project-provider/src/services/filesystem-employee-code.service.ts +220 -0
- package/libs/project-provider/src/services/filesystem-registry.service.d.ts +34 -0
- package/libs/project-provider/src/services/filesystem-registry.service.js +231 -0
- package/libs/project-provider/src/services/filesystem-registry.service.js.map +1 -0
- package/libs/project-provider/src/services/filesystem-registry.service.ts +271 -0
- package/libs/project-provider/src/services/http-inbox-client.service.d.ts +7 -0
- package/libs/project-provider/src/services/http-inbox-client.service.js +66 -0
- package/libs/project-provider/src/services/http-inbox-client.service.js.map +1 -0
- package/libs/project-provider/src/services/http-inbox-client.service.ts +29 -0
- package/libs/project-provider/src/services/noop-inbox-client.service.d.ts +4 -0
- package/libs/project-provider/src/services/noop-inbox-client.service.js +32 -0
- package/libs/project-provider/src/services/noop-inbox-client.service.js.map +1 -0
- package/libs/project-provider/src/services/noop-inbox-client.service.ts +9 -0
- package/libs/project-provider/src/types/messaging.types.d.ts +49 -0
- package/libs/project-provider/src/types/messaging.types.js +11 -0
- package/libs/project-provider/src/types/messaging.types.js.map +1 -0
- package/libs/project-provider/src/types/messaging.types.ts +59 -0
- package/libs/project-provider/src/types/project.types.d.ts +44 -0
- package/libs/project-provider/src/types/project.types.js +3 -0
- package/libs/project-provider/src/types/project.types.js.map +1 -0
- package/libs/project-provider/src/types/project.types.ts +58 -0
- package/libs/project-provider/tsconfig.lib.json +9 -0
- package/nest-cli.json +114 -0
- package/package.json +206 -0
- package/scripts/agentmanager.mjs +1126 -0
- package/scripts/monolith-daemon-run.mjs +77 -0
- package/scripts/monolith-daemon-run.sh +27 -0
- package/tsconfig.json +35 -0
|
@@ -0,0 +1,1273 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
5
|
+
// @ts-nocheck
|
|
6
|
+
/*
|
|
7
|
+
* This file exports the `IntegrationEntity` model and its related types.
|
|
8
|
+
*
|
|
9
|
+
* 🟢 You can import this file directly.
|
|
10
|
+
*/
|
|
11
|
+
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
+
import type * as $Enums from "../enums"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace"
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Model IntegrationEntity
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type IntegrationEntityModel = runtime.Types.Result.DefaultSelection<Prisma.$IntegrationEntityPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateIntegrationEntity = {
|
|
22
|
+
_count: IntegrationEntityCountAggregateOutputType | null
|
|
23
|
+
_min: IntegrationEntityMinAggregateOutputType | null
|
|
24
|
+
_max: IntegrationEntityMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type IntegrationEntityMinAggregateOutputType = {
|
|
28
|
+
entity: string | null
|
|
29
|
+
id: string | null
|
|
30
|
+
tenantId: string | null
|
|
31
|
+
providerId: string | null
|
|
32
|
+
connectionId: string | null
|
|
33
|
+
status: string | null
|
|
34
|
+
createdAt: Date | null
|
|
35
|
+
updatedAt: Date | null
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export type IntegrationEntityMaxAggregateOutputType = {
|
|
39
|
+
entity: string | null
|
|
40
|
+
id: string | null
|
|
41
|
+
tenantId: string | null
|
|
42
|
+
providerId: string | null
|
|
43
|
+
connectionId: string | null
|
|
44
|
+
status: string | null
|
|
45
|
+
createdAt: Date | null
|
|
46
|
+
updatedAt: Date | null
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export type IntegrationEntityCountAggregateOutputType = {
|
|
50
|
+
entity: number
|
|
51
|
+
id: number
|
|
52
|
+
tenantId: number
|
|
53
|
+
providerId: number
|
|
54
|
+
connectionId: number
|
|
55
|
+
status: number
|
|
56
|
+
data: number
|
|
57
|
+
createdAt: number
|
|
58
|
+
updatedAt: number
|
|
59
|
+
_all: number
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
export type IntegrationEntityMinAggregateInputType = {
|
|
64
|
+
entity?: true
|
|
65
|
+
id?: true
|
|
66
|
+
tenantId?: true
|
|
67
|
+
providerId?: true
|
|
68
|
+
connectionId?: true
|
|
69
|
+
status?: true
|
|
70
|
+
createdAt?: true
|
|
71
|
+
updatedAt?: true
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export type IntegrationEntityMaxAggregateInputType = {
|
|
75
|
+
entity?: true
|
|
76
|
+
id?: true
|
|
77
|
+
tenantId?: true
|
|
78
|
+
providerId?: true
|
|
79
|
+
connectionId?: true
|
|
80
|
+
status?: true
|
|
81
|
+
createdAt?: true
|
|
82
|
+
updatedAt?: true
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export type IntegrationEntityCountAggregateInputType = {
|
|
86
|
+
entity?: true
|
|
87
|
+
id?: true
|
|
88
|
+
tenantId?: true
|
|
89
|
+
providerId?: true
|
|
90
|
+
connectionId?: true
|
|
91
|
+
status?: true
|
|
92
|
+
data?: true
|
|
93
|
+
createdAt?: true
|
|
94
|
+
updatedAt?: true
|
|
95
|
+
_all?: true
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export type IntegrationEntityAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
99
|
+
/**
|
|
100
|
+
* Filter which IntegrationEntity to aggregate.
|
|
101
|
+
*/
|
|
102
|
+
where?: Prisma.IntegrationEntityWhereInput
|
|
103
|
+
/**
|
|
104
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
105
|
+
*
|
|
106
|
+
* Determine the order of IntegrationEntities to fetch.
|
|
107
|
+
*/
|
|
108
|
+
orderBy?: Prisma.IntegrationEntityOrderByWithRelationInput | Prisma.IntegrationEntityOrderByWithRelationInput[]
|
|
109
|
+
/**
|
|
110
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
111
|
+
*
|
|
112
|
+
* Sets the start position
|
|
113
|
+
*/
|
|
114
|
+
cursor?: Prisma.IntegrationEntityWhereUniqueInput
|
|
115
|
+
/**
|
|
116
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
117
|
+
*
|
|
118
|
+
* Take `±n` IntegrationEntities from the position of the cursor.
|
|
119
|
+
*/
|
|
120
|
+
take?: number
|
|
121
|
+
/**
|
|
122
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
123
|
+
*
|
|
124
|
+
* Skip the first `n` IntegrationEntities.
|
|
125
|
+
*/
|
|
126
|
+
skip?: number
|
|
127
|
+
/**
|
|
128
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
129
|
+
*
|
|
130
|
+
* Count returned IntegrationEntities
|
|
131
|
+
**/
|
|
132
|
+
_count?: true | IntegrationEntityCountAggregateInputType
|
|
133
|
+
/**
|
|
134
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
135
|
+
*
|
|
136
|
+
* Select which fields to find the minimum value
|
|
137
|
+
**/
|
|
138
|
+
_min?: IntegrationEntityMinAggregateInputType
|
|
139
|
+
/**
|
|
140
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
141
|
+
*
|
|
142
|
+
* Select which fields to find the maximum value
|
|
143
|
+
**/
|
|
144
|
+
_max?: IntegrationEntityMaxAggregateInputType
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export type GetIntegrationEntityAggregateType<T extends IntegrationEntityAggregateArgs> = {
|
|
148
|
+
[P in keyof T & keyof AggregateIntegrationEntity]: P extends '_count' | 'count'
|
|
149
|
+
? T[P] extends true
|
|
150
|
+
? number
|
|
151
|
+
: Prisma.GetScalarType<T[P], AggregateIntegrationEntity[P]>
|
|
152
|
+
: Prisma.GetScalarType<T[P], AggregateIntegrationEntity[P]>
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
export type IntegrationEntityGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
159
|
+
where?: Prisma.IntegrationEntityWhereInput
|
|
160
|
+
orderBy?: Prisma.IntegrationEntityOrderByWithAggregationInput | Prisma.IntegrationEntityOrderByWithAggregationInput[]
|
|
161
|
+
by: Prisma.IntegrationEntityScalarFieldEnum[] | Prisma.IntegrationEntityScalarFieldEnum
|
|
162
|
+
having?: Prisma.IntegrationEntityScalarWhereWithAggregatesInput
|
|
163
|
+
take?: number
|
|
164
|
+
skip?: number
|
|
165
|
+
_count?: IntegrationEntityCountAggregateInputType | true
|
|
166
|
+
_min?: IntegrationEntityMinAggregateInputType
|
|
167
|
+
_max?: IntegrationEntityMaxAggregateInputType
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export type IntegrationEntityGroupByOutputType = {
|
|
171
|
+
entity: string
|
|
172
|
+
id: string
|
|
173
|
+
tenantId: string | null
|
|
174
|
+
providerId: string | null
|
|
175
|
+
connectionId: string | null
|
|
176
|
+
status: string | null
|
|
177
|
+
data: runtime.JsonValue
|
|
178
|
+
createdAt: Date
|
|
179
|
+
updatedAt: Date
|
|
180
|
+
_count: IntegrationEntityCountAggregateOutputType | null
|
|
181
|
+
_min: IntegrationEntityMinAggregateOutputType | null
|
|
182
|
+
_max: IntegrationEntityMaxAggregateOutputType | null
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
type GetIntegrationEntityGroupByPayload<T extends IntegrationEntityGroupByArgs> = Prisma.PrismaPromise<
|
|
186
|
+
Array<
|
|
187
|
+
Prisma.PickEnumerable<IntegrationEntityGroupByOutputType, T['by']> &
|
|
188
|
+
{
|
|
189
|
+
[P in ((keyof T) & (keyof IntegrationEntityGroupByOutputType))]: P extends '_count'
|
|
190
|
+
? T[P] extends boolean
|
|
191
|
+
? number
|
|
192
|
+
: Prisma.GetScalarType<T[P], IntegrationEntityGroupByOutputType[P]>
|
|
193
|
+
: Prisma.GetScalarType<T[P], IntegrationEntityGroupByOutputType[P]>
|
|
194
|
+
}
|
|
195
|
+
>
|
|
196
|
+
>
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
export type IntegrationEntityWhereInput = {
|
|
201
|
+
AND?: Prisma.IntegrationEntityWhereInput | Prisma.IntegrationEntityWhereInput[]
|
|
202
|
+
OR?: Prisma.IntegrationEntityWhereInput[]
|
|
203
|
+
NOT?: Prisma.IntegrationEntityWhereInput | Prisma.IntegrationEntityWhereInput[]
|
|
204
|
+
entity?: Prisma.StringFilter<"IntegrationEntity"> | string
|
|
205
|
+
id?: Prisma.StringFilter<"IntegrationEntity"> | string
|
|
206
|
+
tenantId?: Prisma.StringNullableFilter<"IntegrationEntity"> | string | null
|
|
207
|
+
providerId?: Prisma.StringNullableFilter<"IntegrationEntity"> | string | null
|
|
208
|
+
connectionId?: Prisma.StringNullableFilter<"IntegrationEntity"> | string | null
|
|
209
|
+
status?: Prisma.StringNullableFilter<"IntegrationEntity"> | string | null
|
|
210
|
+
data?: Prisma.JsonFilter<"IntegrationEntity">
|
|
211
|
+
createdAt?: Prisma.DateTimeFilter<"IntegrationEntity"> | Date | string
|
|
212
|
+
updatedAt?: Prisma.DateTimeFilter<"IntegrationEntity"> | Date | string
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
export type IntegrationEntityOrderByWithRelationInput = {
|
|
216
|
+
entity?: Prisma.SortOrder
|
|
217
|
+
id?: Prisma.SortOrder
|
|
218
|
+
tenantId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
219
|
+
providerId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
220
|
+
connectionId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
221
|
+
status?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
222
|
+
data?: Prisma.SortOrder
|
|
223
|
+
createdAt?: Prisma.SortOrder
|
|
224
|
+
updatedAt?: Prisma.SortOrder
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
export type IntegrationEntityWhereUniqueInput = Prisma.AtLeast<{
|
|
228
|
+
entity_id?: Prisma.IntegrationEntityEntityIdCompoundUniqueInput
|
|
229
|
+
AND?: Prisma.IntegrationEntityWhereInput | Prisma.IntegrationEntityWhereInput[]
|
|
230
|
+
OR?: Prisma.IntegrationEntityWhereInput[]
|
|
231
|
+
NOT?: Prisma.IntegrationEntityWhereInput | Prisma.IntegrationEntityWhereInput[]
|
|
232
|
+
entity?: Prisma.StringFilter<"IntegrationEntity"> | string
|
|
233
|
+
id?: Prisma.StringFilter<"IntegrationEntity"> | string
|
|
234
|
+
tenantId?: Prisma.StringNullableFilter<"IntegrationEntity"> | string | null
|
|
235
|
+
providerId?: Prisma.StringNullableFilter<"IntegrationEntity"> | string | null
|
|
236
|
+
connectionId?: Prisma.StringNullableFilter<"IntegrationEntity"> | string | null
|
|
237
|
+
status?: Prisma.StringNullableFilter<"IntegrationEntity"> | string | null
|
|
238
|
+
data?: Prisma.JsonFilter<"IntegrationEntity">
|
|
239
|
+
createdAt?: Prisma.DateTimeFilter<"IntegrationEntity"> | Date | string
|
|
240
|
+
updatedAt?: Prisma.DateTimeFilter<"IntegrationEntity"> | Date | string
|
|
241
|
+
}, "entity_id">
|
|
242
|
+
|
|
243
|
+
export type IntegrationEntityOrderByWithAggregationInput = {
|
|
244
|
+
entity?: Prisma.SortOrder
|
|
245
|
+
id?: Prisma.SortOrder
|
|
246
|
+
tenantId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
247
|
+
providerId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
248
|
+
connectionId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
249
|
+
status?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
250
|
+
data?: Prisma.SortOrder
|
|
251
|
+
createdAt?: Prisma.SortOrder
|
|
252
|
+
updatedAt?: Prisma.SortOrder
|
|
253
|
+
_count?: Prisma.IntegrationEntityCountOrderByAggregateInput
|
|
254
|
+
_max?: Prisma.IntegrationEntityMaxOrderByAggregateInput
|
|
255
|
+
_min?: Prisma.IntegrationEntityMinOrderByAggregateInput
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
export type IntegrationEntityScalarWhereWithAggregatesInput = {
|
|
259
|
+
AND?: Prisma.IntegrationEntityScalarWhereWithAggregatesInput | Prisma.IntegrationEntityScalarWhereWithAggregatesInput[]
|
|
260
|
+
OR?: Prisma.IntegrationEntityScalarWhereWithAggregatesInput[]
|
|
261
|
+
NOT?: Prisma.IntegrationEntityScalarWhereWithAggregatesInput | Prisma.IntegrationEntityScalarWhereWithAggregatesInput[]
|
|
262
|
+
entity?: Prisma.StringWithAggregatesFilter<"IntegrationEntity"> | string
|
|
263
|
+
id?: Prisma.StringWithAggregatesFilter<"IntegrationEntity"> | string
|
|
264
|
+
tenantId?: Prisma.StringNullableWithAggregatesFilter<"IntegrationEntity"> | string | null
|
|
265
|
+
providerId?: Prisma.StringNullableWithAggregatesFilter<"IntegrationEntity"> | string | null
|
|
266
|
+
connectionId?: Prisma.StringNullableWithAggregatesFilter<"IntegrationEntity"> | string | null
|
|
267
|
+
status?: Prisma.StringNullableWithAggregatesFilter<"IntegrationEntity"> | string | null
|
|
268
|
+
data?: Prisma.JsonWithAggregatesFilter<"IntegrationEntity">
|
|
269
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"IntegrationEntity"> | Date | string
|
|
270
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"IntegrationEntity"> | Date | string
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
export type IntegrationEntityCreateInput = {
|
|
274
|
+
entity: string
|
|
275
|
+
id: string
|
|
276
|
+
tenantId?: string | null
|
|
277
|
+
providerId?: string | null
|
|
278
|
+
connectionId?: string | null
|
|
279
|
+
status?: string | null
|
|
280
|
+
data: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
281
|
+
createdAt?: Date | string
|
|
282
|
+
updatedAt?: Date | string
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export type IntegrationEntityUncheckedCreateInput = {
|
|
286
|
+
entity: string
|
|
287
|
+
id: string
|
|
288
|
+
tenantId?: string | null
|
|
289
|
+
providerId?: string | null
|
|
290
|
+
connectionId?: string | null
|
|
291
|
+
status?: string | null
|
|
292
|
+
data: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
293
|
+
createdAt?: Date | string
|
|
294
|
+
updatedAt?: Date | string
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
export type IntegrationEntityUpdateInput = {
|
|
298
|
+
entity?: Prisma.StringFieldUpdateOperationsInput | string
|
|
299
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
300
|
+
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
301
|
+
providerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
302
|
+
connectionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
303
|
+
status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
304
|
+
data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
305
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
306
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
export type IntegrationEntityUncheckedUpdateInput = {
|
|
310
|
+
entity?: Prisma.StringFieldUpdateOperationsInput | string
|
|
311
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
312
|
+
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
313
|
+
providerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
314
|
+
connectionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
315
|
+
status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
316
|
+
data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
317
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
318
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
export type IntegrationEntityCreateManyInput = {
|
|
322
|
+
entity: string
|
|
323
|
+
id: string
|
|
324
|
+
tenantId?: string | null
|
|
325
|
+
providerId?: string | null
|
|
326
|
+
connectionId?: string | null
|
|
327
|
+
status?: string | null
|
|
328
|
+
data: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
329
|
+
createdAt?: Date | string
|
|
330
|
+
updatedAt?: Date | string
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
export type IntegrationEntityUpdateManyMutationInput = {
|
|
334
|
+
entity?: Prisma.StringFieldUpdateOperationsInput | string
|
|
335
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
336
|
+
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
337
|
+
providerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
338
|
+
connectionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
339
|
+
status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
340
|
+
data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
341
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
342
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
export type IntegrationEntityUncheckedUpdateManyInput = {
|
|
346
|
+
entity?: Prisma.StringFieldUpdateOperationsInput | string
|
|
347
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
348
|
+
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
349
|
+
providerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
350
|
+
connectionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
351
|
+
status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
352
|
+
data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
353
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
354
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
export type IntegrationEntityEntityIdCompoundUniqueInput = {
|
|
358
|
+
entity: string
|
|
359
|
+
id: string
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
export type IntegrationEntityCountOrderByAggregateInput = {
|
|
363
|
+
entity?: Prisma.SortOrder
|
|
364
|
+
id?: Prisma.SortOrder
|
|
365
|
+
tenantId?: Prisma.SortOrder
|
|
366
|
+
providerId?: Prisma.SortOrder
|
|
367
|
+
connectionId?: Prisma.SortOrder
|
|
368
|
+
status?: Prisma.SortOrder
|
|
369
|
+
data?: Prisma.SortOrder
|
|
370
|
+
createdAt?: Prisma.SortOrder
|
|
371
|
+
updatedAt?: Prisma.SortOrder
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
export type IntegrationEntityMaxOrderByAggregateInput = {
|
|
375
|
+
entity?: Prisma.SortOrder
|
|
376
|
+
id?: Prisma.SortOrder
|
|
377
|
+
tenantId?: Prisma.SortOrder
|
|
378
|
+
providerId?: Prisma.SortOrder
|
|
379
|
+
connectionId?: Prisma.SortOrder
|
|
380
|
+
status?: Prisma.SortOrder
|
|
381
|
+
createdAt?: Prisma.SortOrder
|
|
382
|
+
updatedAt?: Prisma.SortOrder
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
export type IntegrationEntityMinOrderByAggregateInput = {
|
|
386
|
+
entity?: Prisma.SortOrder
|
|
387
|
+
id?: Prisma.SortOrder
|
|
388
|
+
tenantId?: Prisma.SortOrder
|
|
389
|
+
providerId?: Prisma.SortOrder
|
|
390
|
+
connectionId?: Prisma.SortOrder
|
|
391
|
+
status?: Prisma.SortOrder
|
|
392
|
+
createdAt?: Prisma.SortOrder
|
|
393
|
+
updatedAt?: Prisma.SortOrder
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
export type StringFieldUpdateOperationsInput = {
|
|
397
|
+
set?: string
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
export type NullableStringFieldUpdateOperationsInput = {
|
|
401
|
+
set?: string | null
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
export type DateTimeFieldUpdateOperationsInput = {
|
|
405
|
+
set?: Date | string
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
export type IntegrationEntitySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
411
|
+
entity?: boolean
|
|
412
|
+
id?: boolean
|
|
413
|
+
tenantId?: boolean
|
|
414
|
+
providerId?: boolean
|
|
415
|
+
connectionId?: boolean
|
|
416
|
+
status?: boolean
|
|
417
|
+
data?: boolean
|
|
418
|
+
createdAt?: boolean
|
|
419
|
+
updatedAt?: boolean
|
|
420
|
+
}, ExtArgs["result"]["integrationEntity"]>
|
|
421
|
+
|
|
422
|
+
export type IntegrationEntitySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
423
|
+
entity?: boolean
|
|
424
|
+
id?: boolean
|
|
425
|
+
tenantId?: boolean
|
|
426
|
+
providerId?: boolean
|
|
427
|
+
connectionId?: boolean
|
|
428
|
+
status?: boolean
|
|
429
|
+
data?: boolean
|
|
430
|
+
createdAt?: boolean
|
|
431
|
+
updatedAt?: boolean
|
|
432
|
+
}, ExtArgs["result"]["integrationEntity"]>
|
|
433
|
+
|
|
434
|
+
export type IntegrationEntitySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
435
|
+
entity?: boolean
|
|
436
|
+
id?: boolean
|
|
437
|
+
tenantId?: boolean
|
|
438
|
+
providerId?: boolean
|
|
439
|
+
connectionId?: boolean
|
|
440
|
+
status?: boolean
|
|
441
|
+
data?: boolean
|
|
442
|
+
createdAt?: boolean
|
|
443
|
+
updatedAt?: boolean
|
|
444
|
+
}, ExtArgs["result"]["integrationEntity"]>
|
|
445
|
+
|
|
446
|
+
export type IntegrationEntitySelectScalar = {
|
|
447
|
+
entity?: boolean
|
|
448
|
+
id?: boolean
|
|
449
|
+
tenantId?: boolean
|
|
450
|
+
providerId?: boolean
|
|
451
|
+
connectionId?: boolean
|
|
452
|
+
status?: boolean
|
|
453
|
+
data?: boolean
|
|
454
|
+
createdAt?: boolean
|
|
455
|
+
updatedAt?: boolean
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
export type IntegrationEntityOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"entity" | "id" | "tenantId" | "providerId" | "connectionId" | "status" | "data" | "createdAt" | "updatedAt", ExtArgs["result"]["integrationEntity"]>
|
|
459
|
+
|
|
460
|
+
export type $IntegrationEntityPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
461
|
+
name: "IntegrationEntity"
|
|
462
|
+
objects: {}
|
|
463
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
464
|
+
entity: string
|
|
465
|
+
id: string
|
|
466
|
+
tenantId: string | null
|
|
467
|
+
providerId: string | null
|
|
468
|
+
connectionId: string | null
|
|
469
|
+
status: string | null
|
|
470
|
+
data: runtime.JsonValue
|
|
471
|
+
createdAt: Date
|
|
472
|
+
updatedAt: Date
|
|
473
|
+
}, ExtArgs["result"]["integrationEntity"]>
|
|
474
|
+
composites: {}
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
export type IntegrationEntityGetPayload<S extends boolean | null | undefined | IntegrationEntityDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$IntegrationEntityPayload, S>
|
|
478
|
+
|
|
479
|
+
export type IntegrationEntityCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
480
|
+
Omit<IntegrationEntityFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
481
|
+
select?: IntegrationEntityCountAggregateInputType | true
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
export interface IntegrationEntityDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
485
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['IntegrationEntity'], meta: { name: 'IntegrationEntity' } }
|
|
486
|
+
/**
|
|
487
|
+
* Find zero or one IntegrationEntity that matches the filter.
|
|
488
|
+
* @param {IntegrationEntityFindUniqueArgs} args - Arguments to find a IntegrationEntity
|
|
489
|
+
* @example
|
|
490
|
+
* // Get one IntegrationEntity
|
|
491
|
+
* const integrationEntity = await prisma.integrationEntity.findUnique({
|
|
492
|
+
* where: {
|
|
493
|
+
* // ... provide filter here
|
|
494
|
+
* }
|
|
495
|
+
* })
|
|
496
|
+
*/
|
|
497
|
+
findUnique<T extends IntegrationEntityFindUniqueArgs>(args: Prisma.SelectSubset<T, IntegrationEntityFindUniqueArgs<ExtArgs>>): Prisma.Prisma__IntegrationEntityClient<runtime.Types.Result.GetResult<Prisma.$IntegrationEntityPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* Find one IntegrationEntity that matches the filter or throw an error with `error.code='P2025'`
|
|
501
|
+
* if no matches were found.
|
|
502
|
+
* @param {IntegrationEntityFindUniqueOrThrowArgs} args - Arguments to find a IntegrationEntity
|
|
503
|
+
* @example
|
|
504
|
+
* // Get one IntegrationEntity
|
|
505
|
+
* const integrationEntity = await prisma.integrationEntity.findUniqueOrThrow({
|
|
506
|
+
* where: {
|
|
507
|
+
* // ... provide filter here
|
|
508
|
+
* }
|
|
509
|
+
* })
|
|
510
|
+
*/
|
|
511
|
+
findUniqueOrThrow<T extends IntegrationEntityFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, IntegrationEntityFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__IntegrationEntityClient<runtime.Types.Result.GetResult<Prisma.$IntegrationEntityPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
* Find the first IntegrationEntity that matches the filter.
|
|
515
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
516
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
517
|
+
* @param {IntegrationEntityFindFirstArgs} args - Arguments to find a IntegrationEntity
|
|
518
|
+
* @example
|
|
519
|
+
* // Get one IntegrationEntity
|
|
520
|
+
* const integrationEntity = await prisma.integrationEntity.findFirst({
|
|
521
|
+
* where: {
|
|
522
|
+
* // ... provide filter here
|
|
523
|
+
* }
|
|
524
|
+
* })
|
|
525
|
+
*/
|
|
526
|
+
findFirst<T extends IntegrationEntityFindFirstArgs>(args?: Prisma.SelectSubset<T, IntegrationEntityFindFirstArgs<ExtArgs>>): Prisma.Prisma__IntegrationEntityClient<runtime.Types.Result.GetResult<Prisma.$IntegrationEntityPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* Find the first IntegrationEntity that matches the filter or
|
|
530
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
531
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
532
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
533
|
+
* @param {IntegrationEntityFindFirstOrThrowArgs} args - Arguments to find a IntegrationEntity
|
|
534
|
+
* @example
|
|
535
|
+
* // Get one IntegrationEntity
|
|
536
|
+
* const integrationEntity = await prisma.integrationEntity.findFirstOrThrow({
|
|
537
|
+
* where: {
|
|
538
|
+
* // ... provide filter here
|
|
539
|
+
* }
|
|
540
|
+
* })
|
|
541
|
+
*/
|
|
542
|
+
findFirstOrThrow<T extends IntegrationEntityFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, IntegrationEntityFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__IntegrationEntityClient<runtime.Types.Result.GetResult<Prisma.$IntegrationEntityPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* Find zero or more IntegrationEntities that matches the filter.
|
|
546
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
547
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
548
|
+
* @param {IntegrationEntityFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
549
|
+
* @example
|
|
550
|
+
* // Get all IntegrationEntities
|
|
551
|
+
* const integrationEntities = await prisma.integrationEntity.findMany()
|
|
552
|
+
*
|
|
553
|
+
* // Get first 10 IntegrationEntities
|
|
554
|
+
* const integrationEntities = await prisma.integrationEntity.findMany({ take: 10 })
|
|
555
|
+
*
|
|
556
|
+
* // Only select the `entity`
|
|
557
|
+
* const integrationEntityWithEntityOnly = await prisma.integrationEntity.findMany({ select: { entity: true } })
|
|
558
|
+
*
|
|
559
|
+
*/
|
|
560
|
+
findMany<T extends IntegrationEntityFindManyArgs>(args?: Prisma.SelectSubset<T, IntegrationEntityFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$IntegrationEntityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* Create a IntegrationEntity.
|
|
564
|
+
* @param {IntegrationEntityCreateArgs} args - Arguments to create a IntegrationEntity.
|
|
565
|
+
* @example
|
|
566
|
+
* // Create one IntegrationEntity
|
|
567
|
+
* const IntegrationEntity = await prisma.integrationEntity.create({
|
|
568
|
+
* data: {
|
|
569
|
+
* // ... data to create a IntegrationEntity
|
|
570
|
+
* }
|
|
571
|
+
* })
|
|
572
|
+
*
|
|
573
|
+
*/
|
|
574
|
+
create<T extends IntegrationEntityCreateArgs>(args: Prisma.SelectSubset<T, IntegrationEntityCreateArgs<ExtArgs>>): Prisma.Prisma__IntegrationEntityClient<runtime.Types.Result.GetResult<Prisma.$IntegrationEntityPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* Create many IntegrationEntities.
|
|
578
|
+
* @param {IntegrationEntityCreateManyArgs} args - Arguments to create many IntegrationEntities.
|
|
579
|
+
* @example
|
|
580
|
+
* // Create many IntegrationEntities
|
|
581
|
+
* const integrationEntity = await prisma.integrationEntity.createMany({
|
|
582
|
+
* data: [
|
|
583
|
+
* // ... provide data here
|
|
584
|
+
* ]
|
|
585
|
+
* })
|
|
586
|
+
*
|
|
587
|
+
*/
|
|
588
|
+
createMany<T extends IntegrationEntityCreateManyArgs>(args?: Prisma.SelectSubset<T, IntegrationEntityCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* Create many IntegrationEntities and returns the data saved in the database.
|
|
592
|
+
* @param {IntegrationEntityCreateManyAndReturnArgs} args - Arguments to create many IntegrationEntities.
|
|
593
|
+
* @example
|
|
594
|
+
* // Create many IntegrationEntities
|
|
595
|
+
* const integrationEntity = await prisma.integrationEntity.createManyAndReturn({
|
|
596
|
+
* data: [
|
|
597
|
+
* // ... provide data here
|
|
598
|
+
* ]
|
|
599
|
+
* })
|
|
600
|
+
*
|
|
601
|
+
* // Create many IntegrationEntities and only return the `entity`
|
|
602
|
+
* const integrationEntityWithEntityOnly = await prisma.integrationEntity.createManyAndReturn({
|
|
603
|
+
* select: { entity: true },
|
|
604
|
+
* data: [
|
|
605
|
+
* // ... provide data here
|
|
606
|
+
* ]
|
|
607
|
+
* })
|
|
608
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
609
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
610
|
+
*
|
|
611
|
+
*/
|
|
612
|
+
createManyAndReturn<T extends IntegrationEntityCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, IntegrationEntityCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$IntegrationEntityPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* Delete a IntegrationEntity.
|
|
616
|
+
* @param {IntegrationEntityDeleteArgs} args - Arguments to delete one IntegrationEntity.
|
|
617
|
+
* @example
|
|
618
|
+
* // Delete one IntegrationEntity
|
|
619
|
+
* const IntegrationEntity = await prisma.integrationEntity.delete({
|
|
620
|
+
* where: {
|
|
621
|
+
* // ... filter to delete one IntegrationEntity
|
|
622
|
+
* }
|
|
623
|
+
* })
|
|
624
|
+
*
|
|
625
|
+
*/
|
|
626
|
+
delete<T extends IntegrationEntityDeleteArgs>(args: Prisma.SelectSubset<T, IntegrationEntityDeleteArgs<ExtArgs>>): Prisma.Prisma__IntegrationEntityClient<runtime.Types.Result.GetResult<Prisma.$IntegrationEntityPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* Update one IntegrationEntity.
|
|
630
|
+
* @param {IntegrationEntityUpdateArgs} args - Arguments to update one IntegrationEntity.
|
|
631
|
+
* @example
|
|
632
|
+
* // Update one IntegrationEntity
|
|
633
|
+
* const integrationEntity = await prisma.integrationEntity.update({
|
|
634
|
+
* where: {
|
|
635
|
+
* // ... provide filter here
|
|
636
|
+
* },
|
|
637
|
+
* data: {
|
|
638
|
+
* // ... provide data here
|
|
639
|
+
* }
|
|
640
|
+
* })
|
|
641
|
+
*
|
|
642
|
+
*/
|
|
643
|
+
update<T extends IntegrationEntityUpdateArgs>(args: Prisma.SelectSubset<T, IntegrationEntityUpdateArgs<ExtArgs>>): Prisma.Prisma__IntegrationEntityClient<runtime.Types.Result.GetResult<Prisma.$IntegrationEntityPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* Delete zero or more IntegrationEntities.
|
|
647
|
+
* @param {IntegrationEntityDeleteManyArgs} args - Arguments to filter IntegrationEntities to delete.
|
|
648
|
+
* @example
|
|
649
|
+
* // Delete a few IntegrationEntities
|
|
650
|
+
* const { count } = await prisma.integrationEntity.deleteMany({
|
|
651
|
+
* where: {
|
|
652
|
+
* // ... provide filter here
|
|
653
|
+
* }
|
|
654
|
+
* })
|
|
655
|
+
*
|
|
656
|
+
*/
|
|
657
|
+
deleteMany<T extends IntegrationEntityDeleteManyArgs>(args?: Prisma.SelectSubset<T, IntegrationEntityDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* Update zero or more IntegrationEntities.
|
|
661
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
662
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
663
|
+
* @param {IntegrationEntityUpdateManyArgs} args - Arguments to update one or more rows.
|
|
664
|
+
* @example
|
|
665
|
+
* // Update many IntegrationEntities
|
|
666
|
+
* const integrationEntity = await prisma.integrationEntity.updateMany({
|
|
667
|
+
* where: {
|
|
668
|
+
* // ... provide filter here
|
|
669
|
+
* },
|
|
670
|
+
* data: {
|
|
671
|
+
* // ... provide data here
|
|
672
|
+
* }
|
|
673
|
+
* })
|
|
674
|
+
*
|
|
675
|
+
*/
|
|
676
|
+
updateMany<T extends IntegrationEntityUpdateManyArgs>(args: Prisma.SelectSubset<T, IntegrationEntityUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* Update zero or more IntegrationEntities and returns the data updated in the database.
|
|
680
|
+
* @param {IntegrationEntityUpdateManyAndReturnArgs} args - Arguments to update many IntegrationEntities.
|
|
681
|
+
* @example
|
|
682
|
+
* // Update many IntegrationEntities
|
|
683
|
+
* const integrationEntity = await prisma.integrationEntity.updateManyAndReturn({
|
|
684
|
+
* where: {
|
|
685
|
+
* // ... provide filter here
|
|
686
|
+
* },
|
|
687
|
+
* data: [
|
|
688
|
+
* // ... provide data here
|
|
689
|
+
* ]
|
|
690
|
+
* })
|
|
691
|
+
*
|
|
692
|
+
* // Update zero or more IntegrationEntities and only return the `entity`
|
|
693
|
+
* const integrationEntityWithEntityOnly = await prisma.integrationEntity.updateManyAndReturn({
|
|
694
|
+
* select: { entity: true },
|
|
695
|
+
* where: {
|
|
696
|
+
* // ... provide filter here
|
|
697
|
+
* },
|
|
698
|
+
* data: [
|
|
699
|
+
* // ... provide data here
|
|
700
|
+
* ]
|
|
701
|
+
* })
|
|
702
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
703
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
704
|
+
*
|
|
705
|
+
*/
|
|
706
|
+
updateManyAndReturn<T extends IntegrationEntityUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, IntegrationEntityUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$IntegrationEntityPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
707
|
+
|
|
708
|
+
/**
|
|
709
|
+
* Create or update one IntegrationEntity.
|
|
710
|
+
* @param {IntegrationEntityUpsertArgs} args - Arguments to update or create a IntegrationEntity.
|
|
711
|
+
* @example
|
|
712
|
+
* // Update or create a IntegrationEntity
|
|
713
|
+
* const integrationEntity = await prisma.integrationEntity.upsert({
|
|
714
|
+
* create: {
|
|
715
|
+
* // ... data to create a IntegrationEntity
|
|
716
|
+
* },
|
|
717
|
+
* update: {
|
|
718
|
+
* // ... in case it already exists, update
|
|
719
|
+
* },
|
|
720
|
+
* where: {
|
|
721
|
+
* // ... the filter for the IntegrationEntity we want to update
|
|
722
|
+
* }
|
|
723
|
+
* })
|
|
724
|
+
*/
|
|
725
|
+
upsert<T extends IntegrationEntityUpsertArgs>(args: Prisma.SelectSubset<T, IntegrationEntityUpsertArgs<ExtArgs>>): Prisma.Prisma__IntegrationEntityClient<runtime.Types.Result.GetResult<Prisma.$IntegrationEntityPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* Count the number of IntegrationEntities.
|
|
730
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
731
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
732
|
+
* @param {IntegrationEntityCountArgs} args - Arguments to filter IntegrationEntities to count.
|
|
733
|
+
* @example
|
|
734
|
+
* // Count the number of IntegrationEntities
|
|
735
|
+
* const count = await prisma.integrationEntity.count({
|
|
736
|
+
* where: {
|
|
737
|
+
* // ... the filter for the IntegrationEntities we want to count
|
|
738
|
+
* }
|
|
739
|
+
* })
|
|
740
|
+
**/
|
|
741
|
+
count<T extends IntegrationEntityCountArgs>(
|
|
742
|
+
args?: Prisma.Subset<T, IntegrationEntityCountArgs>,
|
|
743
|
+
): Prisma.PrismaPromise<
|
|
744
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
745
|
+
? T['select'] extends true
|
|
746
|
+
? number
|
|
747
|
+
: Prisma.GetScalarType<T['select'], IntegrationEntityCountAggregateOutputType>
|
|
748
|
+
: number
|
|
749
|
+
>
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* Allows you to perform aggregations operations on a IntegrationEntity.
|
|
753
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
754
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
755
|
+
* @param {IntegrationEntityAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
756
|
+
* @example
|
|
757
|
+
* // Ordered by age ascending
|
|
758
|
+
* // Where email contains prisma.io
|
|
759
|
+
* // Limited to the 10 users
|
|
760
|
+
* const aggregations = await prisma.user.aggregate({
|
|
761
|
+
* _avg: {
|
|
762
|
+
* age: true,
|
|
763
|
+
* },
|
|
764
|
+
* where: {
|
|
765
|
+
* email: {
|
|
766
|
+
* contains: "prisma.io",
|
|
767
|
+
* },
|
|
768
|
+
* },
|
|
769
|
+
* orderBy: {
|
|
770
|
+
* age: "asc",
|
|
771
|
+
* },
|
|
772
|
+
* take: 10,
|
|
773
|
+
* })
|
|
774
|
+
**/
|
|
775
|
+
aggregate<T extends IntegrationEntityAggregateArgs>(args: Prisma.Subset<T, IntegrationEntityAggregateArgs>): Prisma.PrismaPromise<GetIntegrationEntityAggregateType<T>>
|
|
776
|
+
|
|
777
|
+
/**
|
|
778
|
+
* Group by IntegrationEntity.
|
|
779
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
780
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
781
|
+
* @param {IntegrationEntityGroupByArgs} args - Group by arguments.
|
|
782
|
+
* @example
|
|
783
|
+
* // Group by city, order by createdAt, get count
|
|
784
|
+
* const result = await prisma.user.groupBy({
|
|
785
|
+
* by: ['city', 'createdAt'],
|
|
786
|
+
* orderBy: {
|
|
787
|
+
* createdAt: true
|
|
788
|
+
* },
|
|
789
|
+
* _count: {
|
|
790
|
+
* _all: true
|
|
791
|
+
* },
|
|
792
|
+
* })
|
|
793
|
+
*
|
|
794
|
+
**/
|
|
795
|
+
groupBy<
|
|
796
|
+
T extends IntegrationEntityGroupByArgs,
|
|
797
|
+
HasSelectOrTake extends Prisma.Or<
|
|
798
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
799
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
800
|
+
>,
|
|
801
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
802
|
+
? { orderBy: IntegrationEntityGroupByArgs['orderBy'] }
|
|
803
|
+
: { orderBy?: IntegrationEntityGroupByArgs['orderBy'] },
|
|
804
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
805
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
806
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
807
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
808
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
809
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
810
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
811
|
+
? `Error: "by" must not be empty.`
|
|
812
|
+
: HavingValid extends Prisma.False
|
|
813
|
+
? {
|
|
814
|
+
[P in HavingFields]: P extends ByFields
|
|
815
|
+
? never
|
|
816
|
+
: P extends string
|
|
817
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
818
|
+
: [
|
|
819
|
+
Error,
|
|
820
|
+
'Field ',
|
|
821
|
+
P,
|
|
822
|
+
` in "having" needs to be provided in "by"`,
|
|
823
|
+
]
|
|
824
|
+
}[HavingFields]
|
|
825
|
+
: 'take' extends Prisma.Keys<T>
|
|
826
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
827
|
+
? ByValid extends Prisma.True
|
|
828
|
+
? {}
|
|
829
|
+
: {
|
|
830
|
+
[P in OrderFields]: P extends ByFields
|
|
831
|
+
? never
|
|
832
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
833
|
+
}[OrderFields]
|
|
834
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
835
|
+
: 'skip' extends Prisma.Keys<T>
|
|
836
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
837
|
+
? ByValid extends Prisma.True
|
|
838
|
+
? {}
|
|
839
|
+
: {
|
|
840
|
+
[P in OrderFields]: P extends ByFields
|
|
841
|
+
? never
|
|
842
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
843
|
+
}[OrderFields]
|
|
844
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
845
|
+
: ByValid extends Prisma.True
|
|
846
|
+
? {}
|
|
847
|
+
: {
|
|
848
|
+
[P in OrderFields]: P extends ByFields
|
|
849
|
+
? never
|
|
850
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
851
|
+
}[OrderFields]
|
|
852
|
+
>(args: Prisma.SubsetIntersection<T, IntegrationEntityGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetIntegrationEntityGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
853
|
+
/**
|
|
854
|
+
* Fields of the IntegrationEntity model
|
|
855
|
+
*/
|
|
856
|
+
readonly fields: IntegrationEntityFieldRefs;
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* The delegate class that acts as a "Promise-like" for IntegrationEntity.
|
|
861
|
+
* Why is this prefixed with `Prisma__`?
|
|
862
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
863
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
864
|
+
*/
|
|
865
|
+
export interface Prisma__IntegrationEntityClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
866
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
867
|
+
/**
|
|
868
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
869
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
870
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
871
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
872
|
+
*/
|
|
873
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
874
|
+
/**
|
|
875
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
876
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
877
|
+
* @returns A Promise for the completion of the callback.
|
|
878
|
+
*/
|
|
879
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
880
|
+
/**
|
|
881
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
882
|
+
* resolved value cannot be modified from the callback.
|
|
883
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
884
|
+
* @returns A Promise for the completion of the callback.
|
|
885
|
+
*/
|
|
886
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
|
|
890
|
+
|
|
891
|
+
|
|
892
|
+
/**
|
|
893
|
+
* Fields of the IntegrationEntity model
|
|
894
|
+
*/
|
|
895
|
+
export interface IntegrationEntityFieldRefs {
|
|
896
|
+
readonly entity: Prisma.FieldRef<"IntegrationEntity", 'String'>
|
|
897
|
+
readonly id: Prisma.FieldRef<"IntegrationEntity", 'String'>
|
|
898
|
+
readonly tenantId: Prisma.FieldRef<"IntegrationEntity", 'String'>
|
|
899
|
+
readonly providerId: Prisma.FieldRef<"IntegrationEntity", 'String'>
|
|
900
|
+
readonly connectionId: Prisma.FieldRef<"IntegrationEntity", 'String'>
|
|
901
|
+
readonly status: Prisma.FieldRef<"IntegrationEntity", 'String'>
|
|
902
|
+
readonly data: Prisma.FieldRef<"IntegrationEntity", 'Json'>
|
|
903
|
+
readonly createdAt: Prisma.FieldRef<"IntegrationEntity", 'DateTime'>
|
|
904
|
+
readonly updatedAt: Prisma.FieldRef<"IntegrationEntity", 'DateTime'>
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
// Custom InputTypes
|
|
909
|
+
/**
|
|
910
|
+
* IntegrationEntity findUnique
|
|
911
|
+
*/
|
|
912
|
+
export type IntegrationEntityFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
913
|
+
/**
|
|
914
|
+
* Select specific fields to fetch from the IntegrationEntity
|
|
915
|
+
*/
|
|
916
|
+
select?: Prisma.IntegrationEntitySelect<ExtArgs> | null
|
|
917
|
+
/**
|
|
918
|
+
* Omit specific fields from the IntegrationEntity
|
|
919
|
+
*/
|
|
920
|
+
omit?: Prisma.IntegrationEntityOmit<ExtArgs> | null
|
|
921
|
+
/**
|
|
922
|
+
* Filter, which IntegrationEntity to fetch.
|
|
923
|
+
*/
|
|
924
|
+
where: Prisma.IntegrationEntityWhereUniqueInput
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
/**
|
|
928
|
+
* IntegrationEntity findUniqueOrThrow
|
|
929
|
+
*/
|
|
930
|
+
export type IntegrationEntityFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
931
|
+
/**
|
|
932
|
+
* Select specific fields to fetch from the IntegrationEntity
|
|
933
|
+
*/
|
|
934
|
+
select?: Prisma.IntegrationEntitySelect<ExtArgs> | null
|
|
935
|
+
/**
|
|
936
|
+
* Omit specific fields from the IntegrationEntity
|
|
937
|
+
*/
|
|
938
|
+
omit?: Prisma.IntegrationEntityOmit<ExtArgs> | null
|
|
939
|
+
/**
|
|
940
|
+
* Filter, which IntegrationEntity to fetch.
|
|
941
|
+
*/
|
|
942
|
+
where: Prisma.IntegrationEntityWhereUniqueInput
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
/**
|
|
946
|
+
* IntegrationEntity findFirst
|
|
947
|
+
*/
|
|
948
|
+
export type IntegrationEntityFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
949
|
+
/**
|
|
950
|
+
* Select specific fields to fetch from the IntegrationEntity
|
|
951
|
+
*/
|
|
952
|
+
select?: Prisma.IntegrationEntitySelect<ExtArgs> | null
|
|
953
|
+
/**
|
|
954
|
+
* Omit specific fields from the IntegrationEntity
|
|
955
|
+
*/
|
|
956
|
+
omit?: Prisma.IntegrationEntityOmit<ExtArgs> | null
|
|
957
|
+
/**
|
|
958
|
+
* Filter, which IntegrationEntity to fetch.
|
|
959
|
+
*/
|
|
960
|
+
where?: Prisma.IntegrationEntityWhereInput
|
|
961
|
+
/**
|
|
962
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
963
|
+
*
|
|
964
|
+
* Determine the order of IntegrationEntities to fetch.
|
|
965
|
+
*/
|
|
966
|
+
orderBy?: Prisma.IntegrationEntityOrderByWithRelationInput | Prisma.IntegrationEntityOrderByWithRelationInput[]
|
|
967
|
+
/**
|
|
968
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
969
|
+
*
|
|
970
|
+
* Sets the position for searching for IntegrationEntities.
|
|
971
|
+
*/
|
|
972
|
+
cursor?: Prisma.IntegrationEntityWhereUniqueInput
|
|
973
|
+
/**
|
|
974
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
975
|
+
*
|
|
976
|
+
* Take `±n` IntegrationEntities from the position of the cursor.
|
|
977
|
+
*/
|
|
978
|
+
take?: number
|
|
979
|
+
/**
|
|
980
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
981
|
+
*
|
|
982
|
+
* Skip the first `n` IntegrationEntities.
|
|
983
|
+
*/
|
|
984
|
+
skip?: number
|
|
985
|
+
/**
|
|
986
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
987
|
+
*
|
|
988
|
+
* Filter by unique combinations of IntegrationEntities.
|
|
989
|
+
*/
|
|
990
|
+
distinct?: Prisma.IntegrationEntityScalarFieldEnum | Prisma.IntegrationEntityScalarFieldEnum[]
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
/**
|
|
994
|
+
* IntegrationEntity findFirstOrThrow
|
|
995
|
+
*/
|
|
996
|
+
export type IntegrationEntityFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
997
|
+
/**
|
|
998
|
+
* Select specific fields to fetch from the IntegrationEntity
|
|
999
|
+
*/
|
|
1000
|
+
select?: Prisma.IntegrationEntitySelect<ExtArgs> | null
|
|
1001
|
+
/**
|
|
1002
|
+
* Omit specific fields from the IntegrationEntity
|
|
1003
|
+
*/
|
|
1004
|
+
omit?: Prisma.IntegrationEntityOmit<ExtArgs> | null
|
|
1005
|
+
/**
|
|
1006
|
+
* Filter, which IntegrationEntity to fetch.
|
|
1007
|
+
*/
|
|
1008
|
+
where?: Prisma.IntegrationEntityWhereInput
|
|
1009
|
+
/**
|
|
1010
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1011
|
+
*
|
|
1012
|
+
* Determine the order of IntegrationEntities to fetch.
|
|
1013
|
+
*/
|
|
1014
|
+
orderBy?: Prisma.IntegrationEntityOrderByWithRelationInput | Prisma.IntegrationEntityOrderByWithRelationInput[]
|
|
1015
|
+
/**
|
|
1016
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1017
|
+
*
|
|
1018
|
+
* Sets the position for searching for IntegrationEntities.
|
|
1019
|
+
*/
|
|
1020
|
+
cursor?: Prisma.IntegrationEntityWhereUniqueInput
|
|
1021
|
+
/**
|
|
1022
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1023
|
+
*
|
|
1024
|
+
* Take `±n` IntegrationEntities from the position of the cursor.
|
|
1025
|
+
*/
|
|
1026
|
+
take?: number
|
|
1027
|
+
/**
|
|
1028
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1029
|
+
*
|
|
1030
|
+
* Skip the first `n` IntegrationEntities.
|
|
1031
|
+
*/
|
|
1032
|
+
skip?: number
|
|
1033
|
+
/**
|
|
1034
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1035
|
+
*
|
|
1036
|
+
* Filter by unique combinations of IntegrationEntities.
|
|
1037
|
+
*/
|
|
1038
|
+
distinct?: Prisma.IntegrationEntityScalarFieldEnum | Prisma.IntegrationEntityScalarFieldEnum[]
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
/**
|
|
1042
|
+
* IntegrationEntity findMany
|
|
1043
|
+
*/
|
|
1044
|
+
export type IntegrationEntityFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1045
|
+
/**
|
|
1046
|
+
* Select specific fields to fetch from the IntegrationEntity
|
|
1047
|
+
*/
|
|
1048
|
+
select?: Prisma.IntegrationEntitySelect<ExtArgs> | null
|
|
1049
|
+
/**
|
|
1050
|
+
* Omit specific fields from the IntegrationEntity
|
|
1051
|
+
*/
|
|
1052
|
+
omit?: Prisma.IntegrationEntityOmit<ExtArgs> | null
|
|
1053
|
+
/**
|
|
1054
|
+
* Filter, which IntegrationEntities to fetch.
|
|
1055
|
+
*/
|
|
1056
|
+
where?: Prisma.IntegrationEntityWhereInput
|
|
1057
|
+
/**
|
|
1058
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1059
|
+
*
|
|
1060
|
+
* Determine the order of IntegrationEntities to fetch.
|
|
1061
|
+
*/
|
|
1062
|
+
orderBy?: Prisma.IntegrationEntityOrderByWithRelationInput | Prisma.IntegrationEntityOrderByWithRelationInput[]
|
|
1063
|
+
/**
|
|
1064
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1065
|
+
*
|
|
1066
|
+
* Sets the position for listing IntegrationEntities.
|
|
1067
|
+
*/
|
|
1068
|
+
cursor?: Prisma.IntegrationEntityWhereUniqueInput
|
|
1069
|
+
/**
|
|
1070
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1071
|
+
*
|
|
1072
|
+
* Take `±n` IntegrationEntities from the position of the cursor.
|
|
1073
|
+
*/
|
|
1074
|
+
take?: number
|
|
1075
|
+
/**
|
|
1076
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1077
|
+
*
|
|
1078
|
+
* Skip the first `n` IntegrationEntities.
|
|
1079
|
+
*/
|
|
1080
|
+
skip?: number
|
|
1081
|
+
/**
|
|
1082
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1083
|
+
*
|
|
1084
|
+
* Filter by unique combinations of IntegrationEntities.
|
|
1085
|
+
*/
|
|
1086
|
+
distinct?: Prisma.IntegrationEntityScalarFieldEnum | Prisma.IntegrationEntityScalarFieldEnum[]
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* IntegrationEntity create
|
|
1091
|
+
*/
|
|
1092
|
+
export type IntegrationEntityCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1093
|
+
/**
|
|
1094
|
+
* Select specific fields to fetch from the IntegrationEntity
|
|
1095
|
+
*/
|
|
1096
|
+
select?: Prisma.IntegrationEntitySelect<ExtArgs> | null
|
|
1097
|
+
/**
|
|
1098
|
+
* Omit specific fields from the IntegrationEntity
|
|
1099
|
+
*/
|
|
1100
|
+
omit?: Prisma.IntegrationEntityOmit<ExtArgs> | null
|
|
1101
|
+
/**
|
|
1102
|
+
* The data needed to create a IntegrationEntity.
|
|
1103
|
+
*/
|
|
1104
|
+
data: Prisma.XOR<Prisma.IntegrationEntityCreateInput, Prisma.IntegrationEntityUncheckedCreateInput>
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
/**
|
|
1108
|
+
* IntegrationEntity createMany
|
|
1109
|
+
*/
|
|
1110
|
+
export type IntegrationEntityCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1111
|
+
/**
|
|
1112
|
+
* The data used to create many IntegrationEntities.
|
|
1113
|
+
*/
|
|
1114
|
+
data: Prisma.IntegrationEntityCreateManyInput | Prisma.IntegrationEntityCreateManyInput[]
|
|
1115
|
+
skipDuplicates?: boolean
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
/**
|
|
1119
|
+
* IntegrationEntity createManyAndReturn
|
|
1120
|
+
*/
|
|
1121
|
+
export type IntegrationEntityCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1122
|
+
/**
|
|
1123
|
+
* Select specific fields to fetch from the IntegrationEntity
|
|
1124
|
+
*/
|
|
1125
|
+
select?: Prisma.IntegrationEntitySelectCreateManyAndReturn<ExtArgs> | null
|
|
1126
|
+
/**
|
|
1127
|
+
* Omit specific fields from the IntegrationEntity
|
|
1128
|
+
*/
|
|
1129
|
+
omit?: Prisma.IntegrationEntityOmit<ExtArgs> | null
|
|
1130
|
+
/**
|
|
1131
|
+
* The data used to create many IntegrationEntities.
|
|
1132
|
+
*/
|
|
1133
|
+
data: Prisma.IntegrationEntityCreateManyInput | Prisma.IntegrationEntityCreateManyInput[]
|
|
1134
|
+
skipDuplicates?: boolean
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
/**
|
|
1138
|
+
* IntegrationEntity update
|
|
1139
|
+
*/
|
|
1140
|
+
export type IntegrationEntityUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1141
|
+
/**
|
|
1142
|
+
* Select specific fields to fetch from the IntegrationEntity
|
|
1143
|
+
*/
|
|
1144
|
+
select?: Prisma.IntegrationEntitySelect<ExtArgs> | null
|
|
1145
|
+
/**
|
|
1146
|
+
* Omit specific fields from the IntegrationEntity
|
|
1147
|
+
*/
|
|
1148
|
+
omit?: Prisma.IntegrationEntityOmit<ExtArgs> | null
|
|
1149
|
+
/**
|
|
1150
|
+
* The data needed to update a IntegrationEntity.
|
|
1151
|
+
*/
|
|
1152
|
+
data: Prisma.XOR<Prisma.IntegrationEntityUpdateInput, Prisma.IntegrationEntityUncheckedUpdateInput>
|
|
1153
|
+
/**
|
|
1154
|
+
* Choose, which IntegrationEntity to update.
|
|
1155
|
+
*/
|
|
1156
|
+
where: Prisma.IntegrationEntityWhereUniqueInput
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
/**
|
|
1160
|
+
* IntegrationEntity updateMany
|
|
1161
|
+
*/
|
|
1162
|
+
export type IntegrationEntityUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1163
|
+
/**
|
|
1164
|
+
* The data used to update IntegrationEntities.
|
|
1165
|
+
*/
|
|
1166
|
+
data: Prisma.XOR<Prisma.IntegrationEntityUpdateManyMutationInput, Prisma.IntegrationEntityUncheckedUpdateManyInput>
|
|
1167
|
+
/**
|
|
1168
|
+
* Filter which IntegrationEntities to update
|
|
1169
|
+
*/
|
|
1170
|
+
where?: Prisma.IntegrationEntityWhereInput
|
|
1171
|
+
/**
|
|
1172
|
+
* Limit how many IntegrationEntities to update.
|
|
1173
|
+
*/
|
|
1174
|
+
limit?: number
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
/**
|
|
1178
|
+
* IntegrationEntity updateManyAndReturn
|
|
1179
|
+
*/
|
|
1180
|
+
export type IntegrationEntityUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1181
|
+
/**
|
|
1182
|
+
* Select specific fields to fetch from the IntegrationEntity
|
|
1183
|
+
*/
|
|
1184
|
+
select?: Prisma.IntegrationEntitySelectUpdateManyAndReturn<ExtArgs> | null
|
|
1185
|
+
/**
|
|
1186
|
+
* Omit specific fields from the IntegrationEntity
|
|
1187
|
+
*/
|
|
1188
|
+
omit?: Prisma.IntegrationEntityOmit<ExtArgs> | null
|
|
1189
|
+
/**
|
|
1190
|
+
* The data used to update IntegrationEntities.
|
|
1191
|
+
*/
|
|
1192
|
+
data: Prisma.XOR<Prisma.IntegrationEntityUpdateManyMutationInput, Prisma.IntegrationEntityUncheckedUpdateManyInput>
|
|
1193
|
+
/**
|
|
1194
|
+
* Filter which IntegrationEntities to update
|
|
1195
|
+
*/
|
|
1196
|
+
where?: Prisma.IntegrationEntityWhereInput
|
|
1197
|
+
/**
|
|
1198
|
+
* Limit how many IntegrationEntities to update.
|
|
1199
|
+
*/
|
|
1200
|
+
limit?: number
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
/**
|
|
1204
|
+
* IntegrationEntity upsert
|
|
1205
|
+
*/
|
|
1206
|
+
export type IntegrationEntityUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1207
|
+
/**
|
|
1208
|
+
* Select specific fields to fetch from the IntegrationEntity
|
|
1209
|
+
*/
|
|
1210
|
+
select?: Prisma.IntegrationEntitySelect<ExtArgs> | null
|
|
1211
|
+
/**
|
|
1212
|
+
* Omit specific fields from the IntegrationEntity
|
|
1213
|
+
*/
|
|
1214
|
+
omit?: Prisma.IntegrationEntityOmit<ExtArgs> | null
|
|
1215
|
+
/**
|
|
1216
|
+
* The filter to search for the IntegrationEntity to update in case it exists.
|
|
1217
|
+
*/
|
|
1218
|
+
where: Prisma.IntegrationEntityWhereUniqueInput
|
|
1219
|
+
/**
|
|
1220
|
+
* In case the IntegrationEntity found by the `where` argument doesn't exist, create a new IntegrationEntity with this data.
|
|
1221
|
+
*/
|
|
1222
|
+
create: Prisma.XOR<Prisma.IntegrationEntityCreateInput, Prisma.IntegrationEntityUncheckedCreateInput>
|
|
1223
|
+
/**
|
|
1224
|
+
* In case the IntegrationEntity was found with the provided `where` argument, update it with this data.
|
|
1225
|
+
*/
|
|
1226
|
+
update: Prisma.XOR<Prisma.IntegrationEntityUpdateInput, Prisma.IntegrationEntityUncheckedUpdateInput>
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
/**
|
|
1230
|
+
* IntegrationEntity delete
|
|
1231
|
+
*/
|
|
1232
|
+
export type IntegrationEntityDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1233
|
+
/**
|
|
1234
|
+
* Select specific fields to fetch from the IntegrationEntity
|
|
1235
|
+
*/
|
|
1236
|
+
select?: Prisma.IntegrationEntitySelect<ExtArgs> | null
|
|
1237
|
+
/**
|
|
1238
|
+
* Omit specific fields from the IntegrationEntity
|
|
1239
|
+
*/
|
|
1240
|
+
omit?: Prisma.IntegrationEntityOmit<ExtArgs> | null
|
|
1241
|
+
/**
|
|
1242
|
+
* Filter which IntegrationEntity to delete.
|
|
1243
|
+
*/
|
|
1244
|
+
where: Prisma.IntegrationEntityWhereUniqueInput
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* IntegrationEntity deleteMany
|
|
1249
|
+
*/
|
|
1250
|
+
export type IntegrationEntityDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1251
|
+
/**
|
|
1252
|
+
* Filter which IntegrationEntities to delete
|
|
1253
|
+
*/
|
|
1254
|
+
where?: Prisma.IntegrationEntityWhereInput
|
|
1255
|
+
/**
|
|
1256
|
+
* Limit how many IntegrationEntities to delete.
|
|
1257
|
+
*/
|
|
1258
|
+
limit?: number
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1261
|
+
/**
|
|
1262
|
+
* IntegrationEntity without action
|
|
1263
|
+
*/
|
|
1264
|
+
export type IntegrationEntityDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1265
|
+
/**
|
|
1266
|
+
* Select specific fields to fetch from the IntegrationEntity
|
|
1267
|
+
*/
|
|
1268
|
+
select?: Prisma.IntegrationEntitySelect<ExtArgs> | null
|
|
1269
|
+
/**
|
|
1270
|
+
* Omit specific fields from the IntegrationEntity
|
|
1271
|
+
*/
|
|
1272
|
+
omit?: Prisma.IntegrationEntityOmit<ExtArgs> | null
|
|
1273
|
+
}
|