@constructive-sdk/cli 0.30.0 → 0.30.1
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 +1 -0
- package/agent/cli/commands/agent-message.js +20 -0
- package/agent/cli/commands/agent-persona.js +20 -0
- package/agent/cli/commands/agent-plan.js +20 -0
- package/agent/cli/commands/agent-prompt.js +20 -0
- package/agent/cli/commands/agent-resource.js +21 -0
- package/agent/cli/commands/agent-task.js +20 -0
- package/agent/cli/commands/agent-thread.js +20 -0
- package/agent/cli/commands/agent.js +20 -0
- package/agent/orm/input-types.d.ts +96 -8
- package/api/cli/commands/database.js +22 -0
- package/api/cli/commands/field.js +44 -0
- package/api/cli/commands/policy.js +22 -0
- package/{compute/cli/commands/org-function-execution-log.d.ts → api/cli/commands/request-database.d.ts} +1 -1
- package/api/cli/commands/request-database.js +36 -0
- package/api/cli/commands/table.js +22 -0
- package/api/cli/commands.js +5 -9
- package/api/cli/executor.d.ts +4 -14
- package/api/orm/index.d.ts +5 -15
- package/api/orm/index.js +2 -2
- package/api/orm/input-types.d.ts +250 -231
- package/api/orm/models/index.d.ts +1 -1
- package/api/orm/models/index.js +3 -3
- package/api/orm/mutation/index.d.ts +11 -36
- package/api/orm/mutation/index.js +6 -30
- package/auth/cli/commands/delete-principal.d.ts +8 -0
- package/{config/cli/commands/org-secrets-rotate.js → auth/cli/commands/delete-principal.js} +3 -3
- package/auth/cli/commands/principal-scope-override.js +18 -7
- package/auth/cli/commands/principal.d.ts +1 -1
- package/auth/cli/commands/principal.js +75 -64
- package/auth/cli/commands.js +5 -3
- package/auth/cli/executor.d.ts +10 -5
- package/auth/orm/index.d.ts +10 -5
- package/auth/orm/input-types.d.ts +54 -45
- package/auth/orm/models/principal.d.ts +1 -10
- package/auth/orm/models/principal.js +0 -13
- package/auth/orm/mutation/index.d.ts +17 -9
- package/auth/orm/mutation/index.js +24 -12
- package/{esm/compute/cli/commands/secret-definition.d.ts → compute/cli/commands/db-preset.d.ts} +1 -1
- package/compute/cli/commands/db-preset.js +394 -0
- package/compute/cli/commands/function-definition.js +208 -12
- package/compute/cli/commands/function-deployment.js +42 -20
- package/compute/cli/commands/function-graph-commit.js +15 -15
- package/compute/cli/commands/function-graph-execution-node-state.js +12 -12
- package/compute/cli/commands/function-graph-execution-output.js +12 -12
- package/compute/cli/commands/function-graph-execution.js +37 -13
- package/compute/cli/commands/function-graph-object.js +15 -15
- package/compute/cli/commands/function-graph-ref.js +15 -15
- package/compute/cli/commands/function-graph-store.js +12 -12
- package/compute/cli/commands/function-graph.js +12 -12
- package/compute/cli/commands/{secret-definition.d.ts → infra-commit.d.ts} +1 -1
- package/compute/cli/commands/infra-commit.js +389 -0
- package/{esm/modules/cli/commands/config-secrets-module.d.ts → compute/cli/commands/infra-get-all-record.d.ts} +1 -1
- package/compute/cli/commands/infra-get-all-record.js +126 -0
- package/{api/cli/commands/create-user-database.d.ts → compute/cli/commands/infra-init-empty-repo.d.ts} +1 -1
- package/compute/cli/commands/infra-init-empty-repo.js +36 -0
- package/compute/cli/commands/infra-insert-node-at-path.d.ts +8 -0
- package/{config/cli/commands/org-secrets-remove-array.js → compute/cli/commands/infra-insert-node-at-path.js} +3 -3
- package/{modules/cli/commands/config-secrets-module.d.ts → compute/cli/commands/infra-object.d.ts} +1 -1
- package/compute/cli/commands/infra-object.js +309 -0
- package/compute/cli/commands/infra-ref.d.ts +8 -0
- package/compute/cli/commands/infra-ref.js +299 -0
- package/compute/cli/commands/infra-set-data-at-path.d.ts +8 -0
- package/compute/cli/commands/infra-set-data-at-path.js +36 -0
- package/compute/cli/commands/infra-store.d.ts +8 -0
- package/compute/cli/commands/infra-store.js +278 -0
- package/compute/cli/commands/integration-provider.d.ts +8 -0
- package/compute/cli/commands/integration-provider.js +416 -0
- package/compute/cli/commands/namespace-event.d.ts +8 -0
- package/compute/cli/commands/namespace-event.js +510 -0
- package/compute/cli/commands/namespace.d.ts +8 -0
- package/compute/cli/commands/{secret-definition.js → namespace.js} +106 -20
- package/compute/cli/commands/platform-function-api-binding.d.ts +8 -0
- package/compute/cli/commands/platform-function-api-binding.js +294 -0
- package/compute/cli/commands/platform-function-definition.d.ts +8 -0
- package/compute/cli/commands/platform-function-definition.js +964 -0
- package/compute/cli/commands/platform-function-deployment-event.d.ts +8 -0
- package/compute/cli/commands/platform-function-deployment-event.js +336 -0
- package/compute/cli/commands/platform-function-deployment.d.ts +8 -0
- package/compute/cli/commands/platform-function-deployment.js +614 -0
- package/compute/cli/commands/platform-function-execution-log.d.ts +8 -0
- package/compute/cli/commands/{org-function-execution-log.js → platform-function-execution-log.js} +8 -8
- package/compute/cli/commands/platform-function-invocation.d.ts +8 -0
- package/compute/cli/commands/{org-function-invocation.js → platform-function-invocation.js} +8 -8
- package/compute/cli/commands/platform-namespace-event.js +0 -20
- package/compute/cli/commands/platform-namespace.js +40 -60
- package/compute/cli/commands/platform-resource-definition.d.ts +8 -0
- package/compute/cli/commands/platform-resource-definition.js +522 -0
- package/{api/cli/commands/bootstrap-user.d.ts → compute/cli/commands/platform-resource-event.d.ts} +1 -1
- package/compute/cli/commands/platform-resource-event.js +336 -0
- package/compute/cli/commands/platform-resource-status-check.d.ts +8 -0
- package/compute/cli/commands/platform-resource-status-check.js +340 -0
- package/compute/cli/commands/platform-resource.d.ts +8 -0
- package/compute/cli/commands/platform-resource.js +588 -0
- package/{api/cli/commands/provision-database-with-user.d.ts → compute/cli/commands/platform-resources-requirements-state.d.ts} +1 -1
- package/compute/cli/commands/platform-resources-requirements-state.js +183 -0
- package/compute/cli/commands/platform-resources-resolved-requirement.d.ts +8 -0
- package/compute/cli/commands/platform-resources-resolved-requirement.js +218 -0
- package/compute/cli/commands/resource-definition.d.ts +8 -0
- package/compute/cli/commands/resource-definition.js +542 -0
- package/compute/cli/commands/resource-status-check.d.ts +8 -0
- package/{modules/cli/commands/config-secrets-org-module.js → compute/cli/commands/resource-status-check.js} +90 -70
- package/compute/cli/commands/resource.js +88 -0
- package/compute/cli/commands/resources-requirements-state.d.ts +8 -0
- package/compute/cli/commands/resources-requirements-state.js +181 -0
- package/compute/cli/commands/resources-resolved-requirement.d.ts +8 -0
- package/compute/cli/commands/resources-resolved-requirement.js +214 -0
- package/compute/cli/commands.js +65 -15
- package/compute/cli/executor.d.ts +48 -11
- package/compute/orm/index.d.ts +76 -17
- package/compute/orm/index.js +56 -12
- package/compute/orm/input-types.d.ts +5893 -1343
- package/compute/orm/input-types.js +17 -3
- package/compute/orm/models/dbPreset.d.ts +54 -0
- package/compute/orm/models/dbPreset.js +104 -0
- package/compute/orm/models/functionGraphCommit.d.ts +2 -2
- package/compute/orm/models/functionGraphCommit.js +2 -2
- package/compute/orm/models/functionGraphObject.d.ts +2 -2
- package/compute/orm/models/functionGraphObject.js +2 -2
- package/compute/orm/models/functionGraphRef.d.ts +2 -2
- package/compute/orm/models/functionGraphRef.js +2 -2
- package/compute/orm/models/index.d.ts +28 -6
- package/compute/orm/models/index.js +57 -13
- package/compute/orm/models/infraCommit.d.ts +56 -0
- package/compute/orm/models/infraCommit.js +107 -0
- package/compute/orm/models/infraGetAllRecord.d.ts +30 -0
- package/compute/orm/models/infraGetAllRecord.js +59 -0
- package/compute/orm/models/infraObject.d.ts +56 -0
- package/compute/orm/models/infraObject.js +97 -0
- package/compute/orm/models/infraRef.d.ts +56 -0
- package/compute/orm/models/infraRef.js +107 -0
- package/compute/orm/models/infraStore.d.ts +54 -0
- package/compute/orm/models/infraStore.js +104 -0
- package/compute/orm/models/integrationProvider.d.ts +54 -0
- package/{modules/orm/models/configSecretsModule.js → compute/orm/models/integrationProvider.js} +27 -27
- package/compute/orm/models/namespace.d.ts +54 -0
- package/compute/orm/models/namespace.js +104 -0
- package/compute/orm/models/namespaceEvent.d.ts +56 -0
- package/compute/orm/models/{orgFunctionExecutionLog.js → namespaceEvent.js} +27 -27
- package/compute/orm/models/platformFunctionApiBinding.d.ts +54 -0
- package/compute/orm/models/platformFunctionApiBinding.js +104 -0
- package/compute/orm/models/platformFunctionDefinition.d.ts +54 -0
- package/compute/orm/models/platformFunctionDefinition.js +104 -0
- package/compute/orm/models/platformFunctionDeployment.d.ts +54 -0
- package/compute/orm/models/platformFunctionDeployment.js +104 -0
- package/compute/orm/models/platformFunctionDeploymentEvent.d.ts +56 -0
- package/compute/orm/models/platformFunctionDeploymentEvent.js +107 -0
- package/compute/orm/models/platformFunctionExecutionLog.d.ts +56 -0
- package/compute/orm/models/platformFunctionExecutionLog.js +107 -0
- package/compute/orm/models/platformFunctionInvocation.d.ts +56 -0
- package/compute/orm/models/platformFunctionInvocation.js +107 -0
- package/compute/orm/models/platformResource.d.ts +54 -0
- package/compute/orm/models/{secretDefinition.js → platformResource.js} +27 -27
- package/compute/orm/models/platformResourceDefinition.d.ts +54 -0
- package/compute/orm/models/platformResourceDefinition.js +104 -0
- package/compute/orm/models/platformResourceEvent.d.ts +56 -0
- package/compute/orm/models/{orgFunctionInvocation.js → platformResourceEvent.js} +27 -27
- package/compute/orm/models/platformResourceStatusCheck.d.ts +54 -0
- package/compute/orm/models/platformResourceStatusCheck.js +104 -0
- package/compute/orm/models/platformResourcesRequirementsState.d.ts +30 -0
- package/compute/orm/models/platformResourcesRequirementsState.js +59 -0
- package/compute/orm/models/platformResourcesResolvedRequirement.d.ts +30 -0
- package/compute/orm/models/platformResourcesResolvedRequirement.js +59 -0
- package/compute/orm/models/resourceDefinition.d.ts +54 -0
- package/compute/orm/models/resourceDefinition.js +104 -0
- package/compute/orm/models/resourceStatusCheck.d.ts +54 -0
- package/compute/orm/models/resourceStatusCheck.js +104 -0
- package/compute/orm/models/resourcesRequirementsState.d.ts +30 -0
- package/compute/orm/models/resourcesRequirementsState.js +59 -0
- package/compute/orm/models/resourcesResolvedRequirement.d.ts +30 -0
- package/compute/orm/models/resourcesResolvedRequirement.js +59 -0
- package/compute/orm/mutation/index.d.ts +33 -9
- package/compute/orm/mutation/index.js +48 -12
- package/config/cli/commands/config.d.ts +8 -0
- package/config/cli/commands/{platform-config-definition.js → config.js} +127 -65
- package/config/cli/commands/platform-config.js +22 -0
- package/config/cli/commands/platform-internal-secret.d.ts +8 -0
- package/config/cli/commands/platform-internal-secret.js +200 -0
- package/config/cli/commands/platform-internal-secrets-del.d.ts +8 -0
- package/{api/cli/commands/provision-database-with-user.js → config/cli/commands/platform-internal-secrets-del.js} +3 -3
- package/config/cli/commands/platform-internal-secrets-remove-array.d.ts +8 -0
- package/config/cli/commands/platform-internal-secrets-remove-array.js +36 -0
- package/config/cli/commands/platform-internal-secrets-rotate.d.ts +8 -0
- package/config/cli/commands/platform-internal-secrets-rotate.js +36 -0
- package/config/cli/commands/platform-internal-secrets-set.d.ts +8 -0
- package/config/cli/commands/platform-internal-secrets-set.js +36 -0
- package/config/cli/commands/platform-secret.d.ts +8 -0
- package/config/cli/commands/platform-secret.js +212 -0
- package/config/cli/commands/secret.d.ts +8 -0
- package/config/cli/commands/secret.js +224 -0
- package/config/cli/commands/secrets-del.d.ts +8 -0
- package/{api/cli/commands/bootstrap-user.js → config/cli/commands/secrets-del.js} +3 -3
- package/config/cli/commands/secrets-remove-array.d.ts +8 -0
- package/config/cli/commands/secrets-remove-array.js +36 -0
- package/config/cli/commands/secrets-rotate.d.ts +8 -0
- package/config/cli/commands/{org-secrets-set.js → secrets-rotate.js} +3 -3
- package/config/cli/commands/secrets-set.d.ts +8 -0
- package/config/cli/commands/{org-secrets-del.js → secrets-set.js} +3 -3
- package/config/cli/commands.js +25 -11
- package/config/cli/executor.d.ts +38 -15
- package/config/orm/index.d.ts +42 -16
- package/config/orm/index.js +8 -2
- package/config/orm/input-types.d.ts +595 -154
- package/config/orm/models/config.d.ts +54 -0
- package/{modules/orm/models/configSecretsOrgModule.js → config/orm/models/config.js} +27 -27
- package/config/orm/models/index.d.ts +4 -1
- package/config/orm/models/index.js +9 -3
- package/config/orm/models/platformInternalSecret.d.ts +36 -0
- package/config/orm/models/platformInternalSecret.js +80 -0
- package/config/orm/models/platformSecret.d.ts +36 -0
- package/config/orm/models/platformSecret.js +80 -0
- package/config/orm/models/secret.d.ts +36 -0
- package/config/orm/models/secret.js +80 -0
- package/config/orm/mutation/index.d.ts +56 -24
- package/config/orm/mutation/index.js +78 -30
- package/esm/agent/cli/commands/agent-message.js +20 -0
- package/esm/agent/cli/commands/agent-persona.js +20 -0
- package/esm/agent/cli/commands/agent-plan.js +20 -0
- package/esm/agent/cli/commands/agent-prompt.js +20 -0
- package/esm/agent/cli/commands/agent-resource.js +21 -0
- package/esm/agent/cli/commands/agent-task.js +20 -0
- package/esm/agent/cli/commands/agent-thread.js +20 -0
- package/esm/agent/cli/commands/agent.js +20 -0
- package/esm/agent/orm/input-types.d.ts +96 -8
- package/esm/api/cli/commands/database.js +22 -0
- package/esm/api/cli/commands/field.js +44 -0
- package/esm/api/cli/commands/policy.js +22 -0
- package/esm/api/cli/commands/request-database.d.ts +8 -0
- package/esm/api/cli/commands/request-database.js +34 -0
- package/esm/api/cli/commands/table.js +22 -0
- package/esm/api/cli/commands.js +5 -9
- package/esm/api/cli/executor.d.ts +4 -14
- package/esm/api/orm/index.d.ts +5 -15
- package/esm/api/orm/index.js +2 -2
- package/esm/api/orm/input-types.d.ts +250 -231
- package/esm/api/orm/models/index.d.ts +1 -1
- package/esm/api/orm/models/index.js +1 -1
- package/esm/api/orm/mutation/index.d.ts +11 -36
- package/esm/api/orm/mutation/index.js +6 -30
- package/esm/auth/cli/commands/delete-principal.d.ts +8 -0
- package/esm/{config/cli/commands/org-secrets-rotate.js → auth/cli/commands/delete-principal.js} +3 -3
- package/esm/auth/cli/commands/principal-scope-override.js +18 -7
- package/esm/auth/cli/commands/principal.d.ts +1 -1
- package/esm/auth/cli/commands/principal.js +78 -67
- package/esm/auth/cli/commands.js +5 -3
- package/esm/auth/cli/executor.d.ts +10 -5
- package/esm/auth/orm/index.d.ts +10 -5
- package/esm/auth/orm/input-types.d.ts +54 -45
- package/esm/auth/orm/models/principal.d.ts +1 -10
- package/esm/auth/orm/models/principal.js +1 -14
- package/esm/auth/orm/mutation/index.d.ts +17 -9
- package/esm/auth/orm/mutation/index.js +24 -12
- package/esm/compute/cli/commands/db-preset.d.ts +8 -0
- package/esm/compute/cli/commands/db-preset.js +392 -0
- package/esm/compute/cli/commands/function-definition.js +208 -12
- package/esm/compute/cli/commands/function-deployment.js +42 -20
- package/esm/compute/cli/commands/function-graph-commit.js +15 -15
- package/esm/compute/cli/commands/function-graph-execution-node-state.js +12 -12
- package/esm/compute/cli/commands/function-graph-execution-output.js +12 -12
- package/esm/compute/cli/commands/function-graph-execution.js +37 -13
- package/esm/compute/cli/commands/function-graph-object.js +15 -15
- package/esm/compute/cli/commands/function-graph-ref.js +15 -15
- package/esm/compute/cli/commands/function-graph-store.js +12 -12
- package/esm/compute/cli/commands/function-graph.js +12 -12
- package/esm/compute/cli/commands/infra-commit.d.ts +8 -0
- package/esm/compute/cli/commands/infra-commit.js +387 -0
- package/esm/compute/cli/commands/infra-get-all-record.d.ts +8 -0
- package/esm/compute/cli/commands/infra-get-all-record.js +124 -0
- package/esm/compute/cli/commands/infra-init-empty-repo.d.ts +8 -0
- package/esm/compute/cli/commands/infra-init-empty-repo.js +34 -0
- package/esm/compute/cli/commands/infra-insert-node-at-path.d.ts +8 -0
- package/esm/{config/cli/commands/org-secrets-remove-array.js → compute/cli/commands/infra-insert-node-at-path.js} +3 -3
- package/esm/compute/cli/commands/infra-object.d.ts +8 -0
- package/esm/compute/cli/commands/infra-object.js +307 -0
- package/esm/compute/cli/commands/infra-ref.d.ts +8 -0
- package/esm/compute/cli/commands/infra-ref.js +297 -0
- package/esm/compute/cli/commands/infra-set-data-at-path.d.ts +8 -0
- package/esm/compute/cli/commands/infra-set-data-at-path.js +34 -0
- package/esm/compute/cli/commands/infra-store.d.ts +8 -0
- package/esm/compute/cli/commands/infra-store.js +276 -0
- package/esm/compute/cli/commands/integration-provider.d.ts +8 -0
- package/esm/compute/cli/commands/integration-provider.js +414 -0
- package/esm/compute/cli/commands/namespace-event.d.ts +8 -0
- package/esm/compute/cli/commands/namespace-event.js +508 -0
- package/esm/compute/cli/commands/namespace.d.ts +8 -0
- package/esm/compute/cli/commands/{secret-definition.js → namespace.js} +106 -20
- package/esm/compute/cli/commands/platform-function-api-binding.d.ts +8 -0
- package/esm/compute/cli/commands/platform-function-api-binding.js +292 -0
- package/esm/compute/cli/commands/platform-function-definition.d.ts +8 -0
- package/esm/compute/cli/commands/platform-function-definition.js +962 -0
- package/esm/compute/cli/commands/platform-function-deployment-event.d.ts +8 -0
- package/esm/compute/cli/commands/platform-function-deployment-event.js +334 -0
- package/esm/compute/cli/commands/platform-function-deployment.d.ts +8 -0
- package/esm/compute/cli/commands/platform-function-deployment.js +612 -0
- package/esm/compute/cli/commands/platform-function-execution-log.d.ts +8 -0
- package/esm/compute/cli/commands/{org-function-execution-log.js → platform-function-execution-log.js} +8 -8
- package/esm/compute/cli/commands/platform-function-invocation.d.ts +8 -0
- package/esm/compute/cli/commands/{org-function-invocation.js → platform-function-invocation.js} +8 -8
- package/esm/compute/cli/commands/platform-namespace-event.js +0 -20
- package/esm/compute/cli/commands/platform-namespace.js +40 -60
- package/esm/compute/cli/commands/platform-resource-definition.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resource-definition.js +520 -0
- package/{compute/cli/commands/org-function-invocation.d.ts → esm/compute/cli/commands/platform-resource-event.d.ts} +1 -1
- package/esm/compute/cli/commands/platform-resource-event.js +334 -0
- package/esm/compute/cli/commands/platform-resource-status-check.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resource-status-check.js +338 -0
- package/esm/compute/cli/commands/platform-resource.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resource.js +586 -0
- package/esm/compute/cli/commands/platform-resources-requirements-state.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resources-requirements-state.js +181 -0
- package/esm/compute/cli/commands/platform-resources-resolved-requirement.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resources-resolved-requirement.js +216 -0
- package/esm/compute/cli/commands/resource-definition.d.ts +8 -0
- package/esm/compute/cli/commands/resource-definition.js +540 -0
- package/esm/compute/cli/commands/resource-status-check.d.ts +8 -0
- package/esm/{modules/cli/commands/config-secrets-org-module.js → compute/cli/commands/resource-status-check.js} +90 -70
- package/esm/compute/cli/commands/resource.js +88 -0
- package/esm/compute/cli/commands/resources-requirements-state.d.ts +8 -0
- package/esm/compute/cli/commands/resources-requirements-state.js +179 -0
- package/esm/compute/cli/commands/resources-resolved-requirement.d.ts +8 -0
- package/esm/compute/cli/commands/resources-resolved-requirement.js +212 -0
- package/esm/compute/cli/commands.js +65 -15
- package/esm/compute/cli/executor.d.ts +48 -11
- package/esm/compute/orm/index.d.ts +76 -17
- package/esm/compute/orm/index.js +56 -12
- package/esm/compute/orm/input-types.d.ts +5893 -1343
- package/esm/compute/orm/input-types.js +17 -3
- package/esm/compute/orm/models/dbPreset.d.ts +54 -0
- package/esm/compute/orm/models/dbPreset.js +100 -0
- package/esm/compute/orm/models/functionGraphCommit.d.ts +2 -2
- package/esm/compute/orm/models/functionGraphCommit.js +2 -2
- package/esm/compute/orm/models/functionGraphObject.d.ts +2 -2
- package/esm/compute/orm/models/functionGraphObject.js +2 -2
- package/esm/compute/orm/models/functionGraphRef.d.ts +2 -2
- package/esm/compute/orm/models/functionGraphRef.js +2 -2
- package/esm/compute/orm/models/index.d.ts +28 -6
- package/esm/compute/orm/models/index.js +28 -6
- package/esm/compute/orm/models/infraCommit.d.ts +56 -0
- package/esm/compute/orm/models/infraCommit.js +103 -0
- package/esm/compute/orm/models/infraGetAllRecord.d.ts +30 -0
- package/esm/compute/orm/models/infraGetAllRecord.js +55 -0
- package/esm/compute/orm/models/infraObject.d.ts +56 -0
- package/esm/compute/orm/models/infraObject.js +93 -0
- package/esm/compute/orm/models/infraRef.d.ts +56 -0
- package/esm/compute/orm/models/infraRef.js +103 -0
- package/esm/compute/orm/models/infraStore.d.ts +54 -0
- package/esm/compute/orm/models/infraStore.js +100 -0
- package/esm/compute/orm/models/integrationProvider.d.ts +54 -0
- package/esm/compute/orm/models/integrationProvider.js +100 -0
- package/esm/compute/orm/models/namespace.d.ts +54 -0
- package/esm/compute/orm/models/namespace.js +100 -0
- package/esm/compute/orm/models/namespaceEvent.d.ts +56 -0
- package/esm/compute/orm/models/{orgFunctionExecutionLog.js → namespaceEvent.js} +25 -25
- package/esm/compute/orm/models/platformFunctionApiBinding.d.ts +54 -0
- package/esm/compute/orm/models/platformFunctionApiBinding.js +100 -0
- package/esm/compute/orm/models/platformFunctionDefinition.d.ts +54 -0
- package/esm/compute/orm/models/platformFunctionDefinition.js +100 -0
- package/esm/compute/orm/models/platformFunctionDeployment.d.ts +54 -0
- package/esm/compute/orm/models/platformFunctionDeployment.js +100 -0
- package/esm/compute/orm/models/platformFunctionDeploymentEvent.d.ts +56 -0
- package/esm/compute/orm/models/platformFunctionDeploymentEvent.js +103 -0
- package/esm/compute/orm/models/platformFunctionExecutionLog.d.ts +56 -0
- package/esm/compute/orm/models/platformFunctionExecutionLog.js +103 -0
- package/esm/compute/orm/models/platformFunctionInvocation.d.ts +56 -0
- package/esm/compute/orm/models/platformFunctionInvocation.js +103 -0
- package/esm/compute/orm/models/platformResource.d.ts +54 -0
- package/esm/compute/orm/models/{secretDefinition.js → platformResource.js} +25 -25
- package/esm/compute/orm/models/platformResourceDefinition.d.ts +54 -0
- package/esm/compute/orm/models/platformResourceDefinition.js +100 -0
- package/esm/compute/orm/models/platformResourceEvent.d.ts +56 -0
- package/esm/compute/orm/models/{orgFunctionInvocation.js → platformResourceEvent.js} +25 -25
- package/esm/compute/orm/models/platformResourceStatusCheck.d.ts +54 -0
- package/esm/compute/orm/models/platformResourceStatusCheck.js +100 -0
- package/esm/compute/orm/models/platformResourcesRequirementsState.d.ts +30 -0
- package/esm/compute/orm/models/platformResourcesRequirementsState.js +55 -0
- package/esm/compute/orm/models/platformResourcesResolvedRequirement.d.ts +30 -0
- package/esm/compute/orm/models/platformResourcesResolvedRequirement.js +55 -0
- package/esm/compute/orm/models/resourceDefinition.d.ts +54 -0
- package/esm/{modules/orm/models/configSecretsOrgModule.js → compute/orm/models/resourceDefinition.js} +25 -25
- package/esm/compute/orm/models/resourceStatusCheck.d.ts +54 -0
- package/esm/compute/orm/models/resourceStatusCheck.js +100 -0
- package/esm/compute/orm/models/resourcesRequirementsState.d.ts +30 -0
- package/esm/compute/orm/models/resourcesRequirementsState.js +55 -0
- package/esm/compute/orm/models/resourcesResolvedRequirement.d.ts +30 -0
- package/esm/compute/orm/models/resourcesResolvedRequirement.js +55 -0
- package/esm/compute/orm/mutation/index.d.ts +33 -9
- package/esm/compute/orm/mutation/index.js +48 -12
- package/esm/config/cli/commands/config.d.ts +8 -0
- package/esm/config/cli/commands/{platform-config-definition.js → config.js} +127 -65
- package/esm/config/cli/commands/platform-config.js +22 -0
- package/esm/config/cli/commands/platform-internal-secret.d.ts +8 -0
- package/esm/config/cli/commands/platform-internal-secret.js +198 -0
- package/esm/config/cli/commands/platform-internal-secrets-del.d.ts +8 -0
- package/esm/{api/cli/commands/provision-database-with-user.js → config/cli/commands/platform-internal-secrets-del.js} +3 -3
- package/esm/config/cli/commands/platform-internal-secrets-remove-array.d.ts +8 -0
- package/esm/config/cli/commands/platform-internal-secrets-remove-array.js +34 -0
- package/esm/config/cli/commands/platform-internal-secrets-rotate.d.ts +8 -0
- package/esm/config/cli/commands/platform-internal-secrets-rotate.js +34 -0
- package/esm/config/cli/commands/platform-internal-secrets-set.d.ts +8 -0
- package/esm/config/cli/commands/platform-internal-secrets-set.js +34 -0
- package/esm/config/cli/commands/platform-secret.d.ts +8 -0
- package/esm/config/cli/commands/platform-secret.js +210 -0
- package/esm/config/cli/commands/secret.d.ts +8 -0
- package/esm/config/cli/commands/secret.js +222 -0
- package/esm/config/cli/commands/secrets-del.d.ts +8 -0
- package/esm/{api/cli/commands/bootstrap-user.js → config/cli/commands/secrets-del.js} +3 -3
- package/esm/config/cli/commands/secrets-remove-array.d.ts +8 -0
- package/esm/config/cli/commands/secrets-remove-array.js +34 -0
- package/esm/config/cli/commands/secrets-rotate.d.ts +8 -0
- package/esm/config/cli/commands/{org-secrets-del.js → secrets-rotate.js} +3 -3
- package/esm/config/cli/commands/secrets-set.d.ts +8 -0
- package/esm/config/cli/commands/{org-secrets-set.js → secrets-set.js} +3 -3
- package/esm/config/cli/commands.js +25 -11
- package/esm/config/cli/executor.d.ts +38 -15
- package/esm/config/orm/index.d.ts +42 -16
- package/esm/config/orm/index.js +8 -2
- package/esm/config/orm/input-types.d.ts +595 -154
- package/esm/config/orm/models/config.d.ts +54 -0
- package/esm/{modules/orm/models/configSecretsModule.js → config/orm/models/config.js} +25 -25
- package/esm/config/orm/models/index.d.ts +4 -1
- package/esm/config/orm/models/index.js +4 -1
- package/esm/config/orm/models/platformInternalSecret.d.ts +36 -0
- package/esm/config/orm/models/platformInternalSecret.js +76 -0
- package/esm/config/orm/models/platformSecret.d.ts +36 -0
- package/esm/config/orm/models/platformSecret.js +76 -0
- package/esm/config/orm/models/secret.d.ts +36 -0
- package/esm/config/orm/models/secret.js +76 -0
- package/esm/config/orm/mutation/index.d.ts +56 -24
- package/esm/config/orm/mutation/index.js +78 -30
- package/esm/index.d.ts +1 -0
- package/esm/index.js +1 -0
- package/esm/infra/cli/commands/auth.d.ts +8 -0
- package/esm/infra/cli/commands/auth.js +105 -0
- package/esm/infra/cli/commands/context.d.ts +8 -0
- package/esm/infra/cli/commands/context.js +156 -0
- package/esm/infra/cli/commands/db-preset.d.ts +8 -0
- package/esm/infra/cli/commands/db-preset.js +392 -0
- package/esm/infra/cli/commands/infra-commit.d.ts +8 -0
- package/esm/infra/cli/commands/infra-commit.js +387 -0
- package/esm/infra/cli/commands/infra-get-all-record.d.ts +8 -0
- package/esm/infra/cli/commands/infra-get-all-record.js +124 -0
- package/esm/infra/cli/commands/infra-init-empty-repo.d.ts +8 -0
- package/esm/infra/cli/commands/infra-init-empty-repo.js +34 -0
- package/esm/infra/cli/commands/infra-insert-node-at-path.d.ts +8 -0
- package/esm/infra/cli/commands/infra-insert-node-at-path.js +34 -0
- package/esm/infra/cli/commands/infra-object.d.ts +8 -0
- package/esm/infra/cli/commands/infra-object.js +307 -0
- package/esm/infra/cli/commands/infra-ref.d.ts +8 -0
- package/esm/infra/cli/commands/infra-ref.js +297 -0
- package/esm/infra/cli/commands/infra-set-data-at-path.d.ts +8 -0
- package/esm/infra/cli/commands/infra-set-data-at-path.js +34 -0
- package/esm/infra/cli/commands/infra-store.d.ts +8 -0
- package/esm/infra/cli/commands/infra-store.js +276 -0
- package/esm/infra/cli/commands/namespace-event.d.ts +8 -0
- package/esm/infra/cli/commands/namespace-event.js +508 -0
- package/esm/infra/cli/commands/namespace.d.ts +8 -0
- package/esm/infra/cli/commands/namespace.js +434 -0
- package/esm/infra/cli/commands/platform-namespace-event.d.ts +8 -0
- package/esm/infra/cli/commands/platform-namespace-event.js +488 -0
- package/esm/infra/cli/commands/platform-namespace.d.ts +8 -0
- package/esm/infra/cli/commands/platform-namespace.js +414 -0
- package/esm/infra/cli/commands/provision-bucket.d.ts +8 -0
- package/esm/infra/cli/commands/provision-bucket.js +34 -0
- package/esm/infra/cli/commands.d.ts +7 -0
- package/esm/infra/cli/commands.js +69 -0
- package/esm/infra/cli/executor.d.ts +35 -0
- package/esm/infra/cli/executor.js +35 -0
- package/esm/infra/cli/index.d.ts +1 -0
- package/esm/infra/cli/index.js +24 -0
- package/esm/infra/cli/utils.d.ts +88 -0
- package/esm/infra/cli/utils.js +281 -0
- package/esm/infra/index.d.ts +6 -0
- package/esm/infra/index.js +6 -0
- package/esm/infra/orm/client.d.ts +97 -0
- package/esm/infra/orm/client.js +145 -0
- package/esm/infra/orm/index.d.ts +74 -0
- package/esm/infra/orm/index.js +61 -0
- package/esm/infra/orm/input-types.d.ts +1953 -0
- package/esm/infra/orm/input-types.js +2 -0
- package/esm/infra/orm/models/dbPreset.d.ts +54 -0
- package/esm/infra/orm/models/dbPreset.js +100 -0
- package/esm/infra/orm/models/index.d.ts +15 -0
- package/esm/infra/orm/models/index.js +15 -0
- package/esm/infra/orm/models/infraCommit.d.ts +56 -0
- package/esm/infra/orm/models/infraCommit.js +103 -0
- package/esm/infra/orm/models/infraGetAllRecord.d.ts +30 -0
- package/esm/infra/orm/models/infraGetAllRecord.js +55 -0
- package/esm/infra/orm/models/infraObject.d.ts +56 -0
- package/esm/infra/orm/models/infraObject.js +93 -0
- package/esm/infra/orm/models/infraRef.d.ts +56 -0
- package/esm/infra/orm/models/infraRef.js +103 -0
- package/esm/infra/orm/models/infraStore.d.ts +54 -0
- package/esm/infra/orm/models/infraStore.js +100 -0
- package/esm/infra/orm/models/namespace.d.ts +54 -0
- package/esm/infra/orm/models/namespace.js +100 -0
- package/esm/infra/orm/models/namespaceEvent.d.ts +56 -0
- package/esm/infra/orm/models/namespaceEvent.js +103 -0
- package/esm/infra/orm/models/platformNamespace.d.ts +54 -0
- package/esm/{config/orm/models/platformConfigDefinition.js → infra/orm/models/platformNamespace.js} +25 -25
- package/esm/infra/orm/models/platformNamespaceEvent.d.ts +56 -0
- package/esm/infra/orm/models/platformNamespaceEvent.js +103 -0
- package/esm/infra/orm/mutation/index.d.ts +50 -0
- package/esm/infra/orm/mutation/index.js +54 -0
- package/esm/infra/orm/query-builder.d.ts +110 -0
- package/esm/infra/orm/query-builder.js +705 -0
- package/esm/infra/orm/realtime.d.ts +142 -0
- package/esm/infra/orm/realtime.js +100 -0
- package/esm/infra/orm/select-types.d.ts +125 -0
- package/esm/infra/orm/select-types.js +1 -0
- package/esm/infra/orm/types.d.ts +6 -0
- package/esm/infra/orm/types.js +7 -0
- package/esm/modules/cli/commands/agent-module.js +22 -0
- package/esm/modules/cli/commands/billing-module.js +44 -0
- package/esm/modules/cli/commands/compute-log-module.js +22 -0
- package/esm/modules/cli/commands/config-secrets-user-module.js +22 -22
- package/esm/modules/cli/commands/database-provision-module.js +88 -0
- package/esm/modules/cli/commands/db-pool-config.d.ts +8 -0
- package/esm/modules/cli/commands/db-pool-config.js +368 -0
- package/esm/modules/cli/commands/db-pool.d.ts +8 -0
- package/esm/modules/cli/commands/db-pool.js +438 -0
- package/esm/modules/cli/commands/db-preset-module.d.ts +8 -0
- package/esm/modules/cli/commands/db-preset-module.js +534 -0
- package/esm/modules/cli/commands/db-usage-module.js +110 -0
- package/esm/modules/cli/commands/entity-type-provision.js +0 -22
- package/esm/modules/cli/commands/events-module.js +22 -22
- package/esm/modules/cli/commands/function-deployment-module.js +22 -0
- package/esm/modules/cli/commands/function-invocation-module.js +22 -0
- package/esm/modules/cli/commands/function-module.js +22 -44
- package/esm/modules/cli/commands/graph-execution-module.js +22 -0
- package/esm/modules/cli/commands/graph-module.js +22 -0
- package/esm/modules/cli/commands/hierarchy-module.js +22 -0
- package/esm/modules/cli/commands/identity-providers-module.js +22 -0
- package/esm/modules/cli/commands/inference-log-module.js +22 -0
- package/esm/modules/cli/commands/infra-config-module.d.ts +8 -0
- package/esm/modules/cli/commands/infra-config-module.js +536 -0
- package/esm/modules/cli/commands/infra-secrets-module.d.ts +8 -0
- package/esm/modules/cli/commands/{config-secrets-module.js → infra-secrets-module.js} +54 -76
- package/esm/modules/cli/commands/integration-providers-module.d.ts +8 -0
- package/esm/modules/cli/commands/integration-providers-module.js +492 -0
- package/{config/cli/commands/org-secrets-del.d.ts → esm/modules/cli/commands/internal-secrets-module.d.ts} +1 -1
- package/esm/modules/cli/commands/internal-secrets-module.js +536 -0
- package/esm/modules/cli/commands/invites-module.js +22 -0
- package/esm/modules/cli/commands/limits-module.js +22 -0
- package/esm/modules/cli/commands/memberships-module.js +22 -0
- package/esm/modules/cli/commands/merkle-store-module.js +22 -0
- package/esm/modules/cli/commands/namespace-module.js +22 -22
- package/esm/modules/cli/commands/notifications-module.js +22 -0
- package/esm/modules/cli/commands/permissions-module.js +22 -0
- package/esm/modules/cli/commands/profiles-module.js +22 -0
- package/esm/modules/cli/commands/resource-module.js +154 -0
- package/esm/modules/cli/commands/storage-log-module.js +22 -0
- package/esm/modules/cli/commands/storage-module.js +22 -0
- package/esm/modules/cli/commands/transfer-log-module.js +22 -0
- package/esm/modules/cli/commands/user-credentials-module.js +22 -22
- package/esm/modules/cli/commands/user-state-module.js +22 -0
- package/esm/modules/cli/commands.js +49 -39
- package/esm/modules/cli/executor.d.ts +24 -19
- package/esm/modules/orm/index.d.ts +48 -38
- package/esm/modules/orm/index.js +48 -38
- package/esm/modules/orm/input-types.d.ts +5378 -4022
- package/esm/modules/orm/input-types.js +1 -0
- package/esm/modules/orm/models/dbPool.d.ts +54 -0
- package/esm/modules/orm/models/dbPool.js +100 -0
- package/esm/modules/orm/models/dbPoolConfig.d.ts +54 -0
- package/esm/modules/orm/models/dbPoolConfig.js +100 -0
- package/esm/modules/orm/models/dbPresetModule.d.ts +54 -0
- package/esm/modules/orm/models/dbPresetModule.js +100 -0
- package/esm/modules/orm/models/index.d.ts +24 -19
- package/esm/modules/orm/models/index.js +24 -19
- package/esm/modules/orm/models/infraConfigModule.d.ts +54 -0
- package/esm/modules/orm/models/infraConfigModule.js +100 -0
- package/esm/modules/orm/models/infraSecretsModule.d.ts +54 -0
- package/esm/modules/orm/models/infraSecretsModule.js +100 -0
- package/esm/modules/orm/models/integrationProvidersModule.d.ts +54 -0
- package/esm/modules/orm/models/integrationProvidersModule.js +100 -0
- package/esm/modules/orm/models/internalSecretsModule.d.ts +54 -0
- package/esm/modules/orm/models/internalSecretsModule.js +100 -0
- package/index.d.ts +1 -0
- package/index.js +2 -1
- package/infra/cli/commands/auth.d.ts +8 -0
- package/infra/cli/commands/auth.js +107 -0
- package/infra/cli/commands/context.d.ts +8 -0
- package/infra/cli/commands/context.js +158 -0
- package/infra/cli/commands/db-preset.d.ts +8 -0
- package/infra/cli/commands/db-preset.js +394 -0
- package/infra/cli/commands/infra-commit.d.ts +8 -0
- package/infra/cli/commands/infra-commit.js +389 -0
- package/infra/cli/commands/infra-get-all-record.d.ts +8 -0
- package/infra/cli/commands/infra-get-all-record.js +126 -0
- package/infra/cli/commands/infra-init-empty-repo.d.ts +8 -0
- package/infra/cli/commands/infra-init-empty-repo.js +36 -0
- package/infra/cli/commands/infra-insert-node-at-path.d.ts +8 -0
- package/infra/cli/commands/infra-insert-node-at-path.js +36 -0
- package/infra/cli/commands/infra-object.d.ts +8 -0
- package/infra/cli/commands/infra-object.js +309 -0
- package/infra/cli/commands/infra-ref.d.ts +8 -0
- package/infra/cli/commands/infra-ref.js +299 -0
- package/infra/cli/commands/infra-set-data-at-path.d.ts +8 -0
- package/infra/cli/commands/infra-set-data-at-path.js +36 -0
- package/infra/cli/commands/infra-store.d.ts +8 -0
- package/infra/cli/commands/infra-store.js +278 -0
- package/infra/cli/commands/namespace-event.d.ts +8 -0
- package/infra/cli/commands/namespace-event.js +510 -0
- package/infra/cli/commands/namespace.d.ts +8 -0
- package/infra/cli/commands/namespace.js +436 -0
- package/infra/cli/commands/platform-namespace-event.d.ts +8 -0
- package/infra/cli/commands/platform-namespace-event.js +490 -0
- package/infra/cli/commands/platform-namespace.d.ts +8 -0
- package/infra/cli/commands/platform-namespace.js +416 -0
- package/infra/cli/commands/provision-bucket.d.ts +8 -0
- package/infra/cli/commands/provision-bucket.js +36 -0
- package/infra/cli/commands.d.ts +7 -0
- package/infra/cli/commands.js +76 -0
- package/infra/cli/executor.d.ts +35 -0
- package/infra/cli/executor.js +40 -0
- package/infra/cli/index.d.ts +1 -0
- package/infra/cli/index.js +26 -0
- package/infra/cli/utils.d.ts +88 -0
- package/infra/cli/utils.js +297 -0
- package/infra/index.d.ts +6 -0
- package/infra/index.js +22 -0
- package/infra/orm/client.d.ts +97 -0
- package/infra/orm/client.js +152 -0
- package/infra/orm/index.d.ts +74 -0
- package/infra/orm/index.js +83 -0
- package/infra/orm/input-types.d.ts +1953 -0
- package/infra/orm/input-types.js +5 -0
- package/infra/orm/models/dbPreset.d.ts +54 -0
- package/infra/orm/models/dbPreset.js +104 -0
- package/infra/orm/models/index.d.ts +15 -0
- package/infra/orm/models/index.js +28 -0
- package/infra/orm/models/infraCommit.d.ts +56 -0
- package/infra/orm/models/infraCommit.js +107 -0
- package/infra/orm/models/infraGetAllRecord.d.ts +30 -0
- package/infra/orm/models/infraGetAllRecord.js +59 -0
- package/infra/orm/models/infraObject.d.ts +56 -0
- package/infra/orm/models/infraObject.js +97 -0
- package/infra/orm/models/infraRef.d.ts +56 -0
- package/infra/orm/models/infraRef.js +107 -0
- package/infra/orm/models/infraStore.d.ts +54 -0
- package/infra/orm/models/infraStore.js +104 -0
- package/infra/orm/models/namespace.d.ts +54 -0
- package/infra/orm/models/namespace.js +104 -0
- package/infra/orm/models/namespaceEvent.d.ts +56 -0
- package/infra/orm/models/namespaceEvent.js +107 -0
- package/infra/orm/models/platformNamespace.d.ts +54 -0
- package/infra/orm/models/platformNamespace.js +104 -0
- package/infra/orm/models/platformNamespaceEvent.d.ts +56 -0
- package/{config/orm/models/platformConfigDefinition.js → infra/orm/models/platformNamespaceEvent.js} +30 -27
- package/infra/orm/mutation/index.d.ts +50 -0
- package/infra/orm/mutation/index.js +57 -0
- package/infra/orm/query-builder.d.ts +110 -0
- package/infra/orm/query-builder.js +757 -0
- package/infra/orm/realtime.d.ts +142 -0
- package/infra/orm/realtime.js +104 -0
- package/infra/orm/select-types.d.ts +125 -0
- package/infra/orm/select-types.js +2 -0
- package/infra/orm/types.d.ts +6 -0
- package/infra/orm/types.js +23 -0
- package/modules/cli/commands/agent-module.js +22 -0
- package/modules/cli/commands/billing-module.js +44 -0
- package/modules/cli/commands/compute-log-module.js +22 -0
- package/modules/cli/commands/config-secrets-user-module.js +22 -22
- package/modules/cli/commands/database-provision-module.js +88 -0
- package/modules/cli/commands/db-pool-config.d.ts +8 -0
- package/modules/cli/commands/db-pool-config.js +370 -0
- package/modules/cli/commands/db-pool.d.ts +8 -0
- package/modules/cli/commands/db-pool.js +440 -0
- package/modules/cli/commands/db-preset-module.d.ts +8 -0
- package/modules/cli/commands/db-preset-module.js +536 -0
- package/modules/cli/commands/db-usage-module.js +110 -0
- package/modules/cli/commands/entity-type-provision.js +0 -22
- package/modules/cli/commands/events-module.js +22 -22
- package/modules/cli/commands/function-deployment-module.js +22 -0
- package/modules/cli/commands/function-invocation-module.js +22 -0
- package/modules/cli/commands/function-module.js +22 -44
- package/modules/cli/commands/graph-execution-module.js +22 -0
- package/modules/cli/commands/graph-module.js +22 -0
- package/modules/cli/commands/hierarchy-module.js +22 -0
- package/modules/cli/commands/identity-providers-module.js +22 -0
- package/modules/cli/commands/inference-log-module.js +22 -0
- package/modules/cli/commands/infra-config-module.d.ts +8 -0
- package/modules/cli/commands/infra-config-module.js +538 -0
- package/modules/cli/commands/infra-secrets-module.d.ts +8 -0
- package/modules/cli/commands/{config-secrets-module.js → infra-secrets-module.js} +54 -76
- package/modules/cli/commands/integration-providers-module.d.ts +8 -0
- package/modules/cli/commands/integration-providers-module.js +494 -0
- package/modules/cli/commands/internal-secrets-module.d.ts +8 -0
- package/modules/cli/commands/internal-secrets-module.js +538 -0
- package/modules/cli/commands/invites-module.js +22 -0
- package/modules/cli/commands/limits-module.js +22 -0
- package/modules/cli/commands/memberships-module.js +22 -0
- package/modules/cli/commands/merkle-store-module.js +22 -0
- package/modules/cli/commands/namespace-module.js +22 -22
- package/modules/cli/commands/notifications-module.js +22 -0
- package/modules/cli/commands/permissions-module.js +22 -0
- package/modules/cli/commands/profiles-module.js +22 -0
- package/modules/cli/commands/resource-module.js +154 -0
- package/modules/cli/commands/storage-log-module.js +22 -0
- package/modules/cli/commands/storage-module.js +22 -0
- package/modules/cli/commands/transfer-log-module.js +22 -0
- package/modules/cli/commands/user-credentials-module.js +22 -22
- package/modules/cli/commands/user-state-module.js +22 -0
- package/modules/cli/commands.js +49 -39
- package/modules/cli/executor.d.ts +24 -19
- package/modules/orm/index.d.ts +48 -38
- package/modules/orm/index.js +48 -38
- package/modules/orm/input-types.d.ts +5378 -4022
- package/modules/orm/input-types.js +1 -0
- package/modules/orm/models/dbPool.d.ts +54 -0
- package/modules/orm/models/dbPool.js +104 -0
- package/modules/orm/models/dbPoolConfig.d.ts +54 -0
- package/modules/orm/models/dbPoolConfig.js +104 -0
- package/modules/orm/models/dbPresetModule.d.ts +54 -0
- package/modules/orm/models/dbPresetModule.js +104 -0
- package/modules/orm/models/index.d.ts +24 -19
- package/modules/orm/models/index.js +50 -40
- package/modules/orm/models/infraConfigModule.d.ts +54 -0
- package/modules/orm/models/infraConfigModule.js +104 -0
- package/modules/orm/models/infraSecretsModule.d.ts +54 -0
- package/modules/orm/models/infraSecretsModule.js +104 -0
- package/modules/orm/models/integrationProvidersModule.d.ts +54 -0
- package/modules/orm/models/integrationProvidersModule.js +104 -0
- package/modules/orm/models/internalSecretsModule.d.ts +54 -0
- package/modules/orm/models/internalSecretsModule.js +104 -0
- package/package.json +4 -4
- package/api/cli/commands/create-user-database.js +0 -36
- package/compute/orm/models/orgFunctionExecutionLog.d.ts +0 -56
- package/compute/orm/models/orgFunctionInvocation.d.ts +0 -56
- package/compute/orm/models/secretDefinition.d.ts +0 -54
- package/config/cli/commands/org-secrets-remove-array.d.ts +0 -8
- package/config/cli/commands/org-secrets-rotate.d.ts +0 -8
- package/config/cli/commands/org-secrets-set.d.ts +0 -8
- package/config/cli/commands/platform-config-definition.d.ts +0 -8
- package/config/orm/models/platformConfigDefinition.d.ts +0 -54
- package/esm/api/cli/commands/bootstrap-user.d.ts +0 -8
- package/esm/api/cli/commands/create-user-database.d.ts +0 -8
- package/esm/api/cli/commands/create-user-database.js +0 -34
- package/esm/api/cli/commands/provision-database-with-user.d.ts +0 -8
- package/esm/compute/cli/commands/org-function-execution-log.d.ts +0 -8
- package/esm/compute/cli/commands/org-function-invocation.d.ts +0 -8
- package/esm/compute/orm/models/orgFunctionExecutionLog.d.ts +0 -56
- package/esm/compute/orm/models/orgFunctionInvocation.d.ts +0 -56
- package/esm/compute/orm/models/secretDefinition.d.ts +0 -54
- package/esm/config/cli/commands/org-secrets-del.d.ts +0 -8
- package/esm/config/cli/commands/org-secrets-remove-array.d.ts +0 -8
- package/esm/config/cli/commands/org-secrets-rotate.d.ts +0 -8
- package/esm/config/cli/commands/org-secrets-set.d.ts +0 -8
- package/esm/config/cli/commands/platform-config-definition.d.ts +0 -8
- package/esm/config/orm/models/platformConfigDefinition.d.ts +0 -54
- package/esm/modules/cli/commands/config-secrets-org-module.d.ts +0 -8
- package/esm/modules/orm/models/configSecretsModule.d.ts +0 -54
- package/esm/modules/orm/models/configSecretsOrgModule.d.ts +0 -54
- package/modules/cli/commands/config-secrets-org-module.d.ts +0 -8
- package/modules/orm/models/configSecretsModule.d.ts +0 -54
- package/modules/orm/models/configSecretsOrgModule.d.ts +0 -54
|
@@ -238,6 +238,8 @@ export interface AgentPlan {
|
|
|
238
238
|
ownerId?: string | null;
|
|
239
239
|
/** Foreign key to agent_thread */
|
|
240
240
|
threadId?: string | null;
|
|
241
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
242
|
+
databaseId?: string | null;
|
|
241
243
|
/** Human-readable plan name */
|
|
242
244
|
title?: string | null;
|
|
243
245
|
/** Overall goal or context for this plan */
|
|
@@ -252,6 +254,8 @@ export interface Agent {
|
|
|
252
254
|
updatedAt?: string | null;
|
|
253
255
|
/** Human who owns/manages this agent */
|
|
254
256
|
ownerId?: string | null;
|
|
257
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
258
|
+
databaseId?: string | null;
|
|
255
259
|
/** Persona template this agent was created from */
|
|
256
260
|
personaId?: string | null;
|
|
257
261
|
/** Parent agent (for sub-agent delegation hierarchy) */
|
|
@@ -274,6 +278,8 @@ export interface AgentThread {
|
|
|
274
278
|
updatedAt?: string | null;
|
|
275
279
|
/** User who owns this thread */
|
|
276
280
|
ownerId?: string | null;
|
|
281
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
282
|
+
databaseId?: string | null;
|
|
277
283
|
/** Current status of this thread */
|
|
278
284
|
status?: string | null;
|
|
279
285
|
/** Whether this record has been archived by the user */
|
|
@@ -308,6 +314,8 @@ export interface AgentMessage {
|
|
|
308
314
|
parts?: Record<string, unknown> | null;
|
|
309
315
|
/** Foreign key to agent_thread */
|
|
310
316
|
threadId?: string | null;
|
|
317
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
318
|
+
databaseId?: string | null;
|
|
311
319
|
/** Who authored this message: user or assistant */
|
|
312
320
|
authorRole?: string | null;
|
|
313
321
|
/** LLM model that generated this response */
|
|
@@ -326,6 +334,8 @@ export interface AgentTask {
|
|
|
326
334
|
status?: string | null;
|
|
327
335
|
/** Foreign key to agent_plan */
|
|
328
336
|
planId?: string | null;
|
|
337
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
338
|
+
databaseId?: string | null;
|
|
329
339
|
/** Natural-language description of the work to do */
|
|
330
340
|
description?: string | null;
|
|
331
341
|
/** Who created the task: agent or user */
|
|
@@ -352,6 +362,8 @@ export interface AgentPrompt {
|
|
|
352
362
|
updatedAt?: string | null;
|
|
353
363
|
createdBy?: string | null;
|
|
354
364
|
updatedBy?: string | null;
|
|
365
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
366
|
+
databaseId?: string | null;
|
|
355
367
|
/** Unique name for lookup (e.g. default, code-review, sales-assistant) */
|
|
356
368
|
name?: string | null;
|
|
357
369
|
/** The system prompt template content */
|
|
@@ -384,6 +396,8 @@ export interface AgentPersona {
|
|
|
384
396
|
updatedAt?: string | null;
|
|
385
397
|
createdBy?: string | null;
|
|
386
398
|
updatedBy?: string | null;
|
|
399
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
400
|
+
databaseId?: string | null;
|
|
387
401
|
/** Unique human-readable identifier for this persona */
|
|
388
402
|
slug?: string | null;
|
|
389
403
|
/** Display name for this persona */
|
|
@@ -406,6 +420,8 @@ export interface AgentResource {
|
|
|
406
420
|
updatedAt?: string | null;
|
|
407
421
|
createdBy?: string | null;
|
|
408
422
|
updatedBy?: string | null;
|
|
423
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
424
|
+
databaseId?: string | null;
|
|
409
425
|
/** Unique human-readable identifier for portable references */
|
|
410
426
|
slug?: string | null;
|
|
411
427
|
/** Resource type: skill, knowledge, or convention */
|
|
@@ -507,6 +523,7 @@ export type AgentPlanSelect = {
|
|
|
507
523
|
updatedAt?: boolean;
|
|
508
524
|
ownerId?: boolean;
|
|
509
525
|
threadId?: boolean;
|
|
526
|
+
databaseId?: boolean;
|
|
510
527
|
title?: boolean;
|
|
511
528
|
description?: boolean;
|
|
512
529
|
status?: boolean;
|
|
@@ -525,6 +542,7 @@ export type AgentSelect = {
|
|
|
525
542
|
createdAt?: boolean;
|
|
526
543
|
updatedAt?: boolean;
|
|
527
544
|
ownerId?: boolean;
|
|
545
|
+
databaseId?: boolean;
|
|
528
546
|
personaId?: boolean;
|
|
529
547
|
parentId?: boolean;
|
|
530
548
|
name?: boolean;
|
|
@@ -562,6 +580,7 @@ export type AgentThreadSelect = {
|
|
|
562
580
|
createdAt?: boolean;
|
|
563
581
|
updatedAt?: boolean;
|
|
564
582
|
ownerId?: boolean;
|
|
583
|
+
databaseId?: boolean;
|
|
565
584
|
status?: boolean;
|
|
566
585
|
isArchived?: boolean;
|
|
567
586
|
archivedAt?: boolean;
|
|
@@ -608,6 +627,7 @@ export type AgentMessageSelect = {
|
|
|
608
627
|
actorId?: boolean;
|
|
609
628
|
parts?: boolean;
|
|
610
629
|
threadId?: boolean;
|
|
630
|
+
databaseId?: boolean;
|
|
611
631
|
authorRole?: boolean;
|
|
612
632
|
model?: boolean;
|
|
613
633
|
agentId?: boolean;
|
|
@@ -625,6 +645,7 @@ export type AgentTaskSelect = {
|
|
|
625
645
|
actorId?: boolean;
|
|
626
646
|
status?: boolean;
|
|
627
647
|
planId?: boolean;
|
|
648
|
+
databaseId?: boolean;
|
|
628
649
|
description?: boolean;
|
|
629
650
|
source?: boolean;
|
|
630
651
|
error?: boolean;
|
|
@@ -644,6 +665,7 @@ export type AgentPromptSelect = {
|
|
|
644
665
|
updatedAt?: boolean;
|
|
645
666
|
createdBy?: boolean;
|
|
646
667
|
updatedBy?: boolean;
|
|
668
|
+
databaseId?: boolean;
|
|
647
669
|
name?: boolean;
|
|
648
670
|
content?: boolean;
|
|
649
671
|
description?: boolean;
|
|
@@ -671,6 +693,7 @@ export type AgentPersonaSelect = {
|
|
|
671
693
|
updatedAt?: boolean;
|
|
672
694
|
createdBy?: boolean;
|
|
673
695
|
updatedBy?: boolean;
|
|
696
|
+
databaseId?: boolean;
|
|
674
697
|
slug?: boolean;
|
|
675
698
|
name?: boolean;
|
|
676
699
|
description?: boolean;
|
|
@@ -691,6 +714,7 @@ export type AgentResourceSelect = {
|
|
|
691
714
|
updatedAt?: boolean;
|
|
692
715
|
createdBy?: boolean;
|
|
693
716
|
updatedBy?: boolean;
|
|
717
|
+
databaseId?: boolean;
|
|
694
718
|
slug?: boolean;
|
|
695
719
|
kind?: boolean;
|
|
696
720
|
title?: boolean;
|
|
@@ -729,6 +753,8 @@ export interface AgentPlanFilter {
|
|
|
729
753
|
ownerId?: UUIDFilter;
|
|
730
754
|
/** Filter by the object’s `threadId` field. */
|
|
731
755
|
threadId?: UUIDFilter;
|
|
756
|
+
/** Filter by the object’s `databaseId` field. */
|
|
757
|
+
databaseId?: UUIDFilter;
|
|
732
758
|
/** Filter by the object’s `title` field. */
|
|
733
759
|
title?: StringFilter;
|
|
734
760
|
/** Filter by the object’s `description` field. */
|
|
@@ -757,6 +783,8 @@ export interface AgentFilter {
|
|
|
757
783
|
updatedAt?: DatetimeFilter;
|
|
758
784
|
/** Filter by the object’s `ownerId` field. */
|
|
759
785
|
ownerId?: UUIDFilter;
|
|
786
|
+
/** Filter by the object’s `databaseId` field. */
|
|
787
|
+
databaseId?: UUIDFilter;
|
|
760
788
|
/** Filter by the object’s `personaId` field. */
|
|
761
789
|
personaId?: UUIDFilter;
|
|
762
790
|
/** Filter by the object’s `parentId` field. */
|
|
@@ -807,6 +835,8 @@ export interface AgentThreadFilter {
|
|
|
807
835
|
updatedAt?: DatetimeFilter;
|
|
808
836
|
/** Filter by the object’s `ownerId` field. */
|
|
809
837
|
ownerId?: UUIDFilter;
|
|
838
|
+
/** Filter by the object’s `databaseId` field. */
|
|
839
|
+
databaseId?: UUIDFilter;
|
|
810
840
|
/** Filter by the object’s `status` field. */
|
|
811
841
|
status?: StringFilter;
|
|
812
842
|
/** Filter by the object’s `isArchived` field. */
|
|
@@ -873,6 +903,8 @@ export interface AgentMessageFilter {
|
|
|
873
903
|
parts?: JSONFilter;
|
|
874
904
|
/** Filter by the object’s `threadId` field. */
|
|
875
905
|
threadId?: UUIDFilter;
|
|
906
|
+
/** Filter by the object’s `databaseId` field. */
|
|
907
|
+
databaseId?: UUIDFilter;
|
|
876
908
|
/** Filter by the object’s `authorRole` field. */
|
|
877
909
|
authorRole?: StringFilter;
|
|
878
910
|
/** Filter by the object’s `model` field. */
|
|
@@ -905,6 +937,8 @@ export interface AgentTaskFilter {
|
|
|
905
937
|
status?: StringFilter;
|
|
906
938
|
/** Filter by the object’s `planId` field. */
|
|
907
939
|
planId?: UUIDFilter;
|
|
940
|
+
/** Filter by the object’s `databaseId` field. */
|
|
941
|
+
databaseId?: UUIDFilter;
|
|
908
942
|
/** Filter by the object’s `description` field. */
|
|
909
943
|
description?: StringFilter;
|
|
910
944
|
/** Filter by the object’s `source` field. */
|
|
@@ -943,6 +977,8 @@ export interface AgentPromptFilter {
|
|
|
943
977
|
createdBy?: UUIDFilter;
|
|
944
978
|
/** Filter by the object’s `updatedBy` field. */
|
|
945
979
|
updatedBy?: UUIDFilter;
|
|
980
|
+
/** Filter by the object’s `databaseId` field. */
|
|
981
|
+
databaseId?: UUIDFilter;
|
|
946
982
|
/** Filter by the object’s `name` field. */
|
|
947
983
|
name?: StringFilter;
|
|
948
984
|
/** Filter by the object’s `content` field. */
|
|
@@ -999,6 +1035,8 @@ export interface AgentPersonaFilter {
|
|
|
999
1035
|
createdBy?: UUIDFilter;
|
|
1000
1036
|
/** Filter by the object’s `updatedBy` field. */
|
|
1001
1037
|
updatedBy?: UUIDFilter;
|
|
1038
|
+
/** Filter by the object’s `databaseId` field. */
|
|
1039
|
+
databaseId?: UUIDFilter;
|
|
1002
1040
|
/** Filter by the object’s `slug` field. */
|
|
1003
1041
|
slug?: StringFilter;
|
|
1004
1042
|
/** Filter by the object’s `name` field. */
|
|
@@ -1035,6 +1073,8 @@ export interface AgentResourceFilter {
|
|
|
1035
1073
|
createdBy?: UUIDFilter;
|
|
1036
1074
|
/** Filter by the object’s `updatedBy` field. */
|
|
1037
1075
|
updatedBy?: UUIDFilter;
|
|
1076
|
+
/** Filter by the object’s `databaseId` field. */
|
|
1077
|
+
databaseId?: UUIDFilter;
|
|
1038
1078
|
/** Filter by the object’s `slug` field. */
|
|
1039
1079
|
slug?: StringTrgmFilter;
|
|
1040
1080
|
/** Filter by the object’s `kind` field. */
|
|
@@ -1092,20 +1132,21 @@ export interface AgentResourceFilter {
|
|
|
1092
1132
|
*/
|
|
1093
1133
|
unifiedSearch?: string;
|
|
1094
1134
|
}
|
|
1095
|
-
export type AgentPlanOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'THREAD_ID_ASC' | 'THREAD_ID_DESC' | 'TITLE_ASC' | 'TITLE_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'STATUS_ASC' | 'STATUS_DESC';
|
|
1096
|
-
export type AgentOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PERSONA_ID_ASC' | 'PERSONA_ID_DESC' | 'PARENT_ID_ASC' | 'PARENT_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'SYSTEM_PROMPT_ASC' | 'SYSTEM_PROMPT_DESC' | 'CONFIG_ASC' | 'CONFIG_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'IS_EPHEMERAL_ASC' | 'IS_EPHEMERAL_DESC';
|
|
1097
|
-
export type AgentThreadOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'IS_ARCHIVED_ASC' | 'IS_ARCHIVED_DESC' | 'ARCHIVED_AT_ASC' | 'ARCHIVED_AT_DESC' | 'TITLE_ASC' | 'TITLE_DESC' | 'MODE_ASC' | 'MODE_DESC' | 'MODEL_ASC' | 'MODEL_DESC' | 'SYSTEM_PROMPT_ASC' | 'SYSTEM_PROMPT_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'PROMPT_TEMPLATE_ID_ASC' | 'PROMPT_TEMPLATE_ID_DESC' | 'AGENT_ID_ASC' | 'AGENT_ID_DESC' | 'PARENT_THREAD_ID_ASC' | 'PARENT_THREAD_ID_DESC';
|
|
1098
|
-
export type AgentMessageOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'PARTS_ASC' | 'PARTS_DESC' | 'THREAD_ID_ASC' | 'THREAD_ID_DESC' | 'AUTHOR_ROLE_ASC' | 'AUTHOR_ROLE_DESC' | 'MODEL_ASC' | 'MODEL_DESC' | 'AGENT_ID_ASC' | 'AGENT_ID_DESC';
|
|
1099
|
-
export type AgentTaskOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'PLAN_ID_ASC' | 'PLAN_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'SOURCE_ASC' | 'SOURCE_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'ORDER_INDEX_ASC' | 'ORDER_INDEX_DESC' | 'REQUIRES_APPROVAL_ASC' | 'REQUIRES_APPROVAL_DESC' | 'APPROVAL_STATUS_ASC' | 'APPROVAL_STATUS_DESC' | 'APPROVED_BY_ASC' | 'APPROVED_BY_DESC' | 'APPROVED_AT_ASC' | 'APPROVED_AT_DESC' | 'APPROVAL_FEEDBACK_ASC' | 'APPROVAL_FEEDBACK_DESC';
|
|
1100
|
-
export type AgentPromptOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'CONTENT_ASC' | 'CONTENT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'IS_DEFAULT_ASC' | 'IS_DEFAULT_DESC' | 'METADATA_ASC' | 'METADATA_DESC';
|
|
1135
|
+
export type AgentPlanOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'THREAD_ID_ASC' | 'THREAD_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TITLE_ASC' | 'TITLE_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'STATUS_ASC' | 'STATUS_DESC';
|
|
1136
|
+
export type AgentOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'PERSONA_ID_ASC' | 'PERSONA_ID_DESC' | 'PARENT_ID_ASC' | 'PARENT_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'SYSTEM_PROMPT_ASC' | 'SYSTEM_PROMPT_DESC' | 'CONFIG_ASC' | 'CONFIG_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'IS_EPHEMERAL_ASC' | 'IS_EPHEMERAL_DESC';
|
|
1137
|
+
export type AgentThreadOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'IS_ARCHIVED_ASC' | 'IS_ARCHIVED_DESC' | 'ARCHIVED_AT_ASC' | 'ARCHIVED_AT_DESC' | 'TITLE_ASC' | 'TITLE_DESC' | 'MODE_ASC' | 'MODE_DESC' | 'MODEL_ASC' | 'MODEL_DESC' | 'SYSTEM_PROMPT_ASC' | 'SYSTEM_PROMPT_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'PROMPT_TEMPLATE_ID_ASC' | 'PROMPT_TEMPLATE_ID_DESC' | 'AGENT_ID_ASC' | 'AGENT_ID_DESC' | 'PARENT_THREAD_ID_ASC' | 'PARENT_THREAD_ID_DESC';
|
|
1138
|
+
export type AgentMessageOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'PARTS_ASC' | 'PARTS_DESC' | 'THREAD_ID_ASC' | 'THREAD_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'AUTHOR_ROLE_ASC' | 'AUTHOR_ROLE_DESC' | 'MODEL_ASC' | 'MODEL_DESC' | 'AGENT_ID_ASC' | 'AGENT_ID_DESC';
|
|
1139
|
+
export type AgentTaskOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'PLAN_ID_ASC' | 'PLAN_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'SOURCE_ASC' | 'SOURCE_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'ORDER_INDEX_ASC' | 'ORDER_INDEX_DESC' | 'REQUIRES_APPROVAL_ASC' | 'REQUIRES_APPROVAL_DESC' | 'APPROVAL_STATUS_ASC' | 'APPROVAL_STATUS_DESC' | 'APPROVED_BY_ASC' | 'APPROVED_BY_DESC' | 'APPROVED_AT_ASC' | 'APPROVED_AT_DESC' | 'APPROVAL_FEEDBACK_ASC' | 'APPROVAL_FEEDBACK_DESC';
|
|
1140
|
+
export type AgentPromptOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'CONTENT_ASC' | 'CONTENT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'IS_DEFAULT_ASC' | 'IS_DEFAULT_DESC' | 'METADATA_ASC' | 'METADATA_DESC';
|
|
1101
1141
|
export type AgentResourceChunkOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'AGENT_RESOURCE_ID_ASC' | 'AGENT_RESOURCE_ID_DESC' | 'BODY_ASC' | 'BODY_DESC' | 'CHUNK_INDEX_ASC' | 'CHUNK_INDEX_DESC' | 'EMBEDDING_ASC' | 'EMBEDDING_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'EMBEDDING_VECTOR_DISTANCE_ASC' | 'EMBEDDING_VECTOR_DISTANCE_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
|
|
1102
|
-
export type AgentPersonaOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'SLUG_ASC' | 'SLUG_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'SYSTEM_PROMPT_ASC' | 'SYSTEM_PROMPT_DESC' | 'RESOURCES_ASC' | 'RESOURCES_DESC' | 'CONFIG_ASC' | 'CONFIG_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC';
|
|
1103
|
-
export type AgentResourceOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'SLUG_ASC' | 'SLUG_DESC' | 'KIND_ASC' | 'KIND_DESC' | 'TITLE_ASC' | 'TITLE_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'BODY_ASC' | 'BODY_DESC' | 'KEYWORDS_ASC' | 'KEYWORDS_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'IS_ARCHIVED_ASC' | 'IS_ARCHIVED_DESC' | 'ARCHIVED_AT_ASC' | 'ARCHIVED_AT_DESC' | 'SEARCH_ASC' | 'SEARCH_DESC' | 'EMBEDDING_ASC' | 'EMBEDDING_DESC' | 'EMBEDDING_UPDATED_AT_ASC' | 'EMBEDDING_UPDATED_AT_DESC' | 'SEARCH_TSV_RANK_ASC' | 'SEARCH_TSV_RANK_DESC' | 'EMBEDDING_VECTOR_DISTANCE_ASC' | 'EMBEDDING_VECTOR_DISTANCE_DESC' | 'KIND_TRGM_SIMILARITY_ASC' | 'KIND_TRGM_SIMILARITY_DESC' | 'TITLE_TRGM_SIMILARITY_ASC' | 'TITLE_TRGM_SIMILARITY_DESC' | 'DESCRIPTION_TRGM_SIMILARITY_ASC' | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'BODY_TRGM_SIMILARITY_ASC' | 'BODY_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
|
|
1142
|
+
export type AgentPersonaOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SLUG_ASC' | 'SLUG_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'SYSTEM_PROMPT_ASC' | 'SYSTEM_PROMPT_DESC' | 'RESOURCES_ASC' | 'RESOURCES_DESC' | 'CONFIG_ASC' | 'CONFIG_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC';
|
|
1143
|
+
export type AgentResourceOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SLUG_ASC' | 'SLUG_DESC' | 'KIND_ASC' | 'KIND_DESC' | 'TITLE_ASC' | 'TITLE_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'BODY_ASC' | 'BODY_DESC' | 'KEYWORDS_ASC' | 'KEYWORDS_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'IS_ARCHIVED_ASC' | 'IS_ARCHIVED_DESC' | 'ARCHIVED_AT_ASC' | 'ARCHIVED_AT_DESC' | 'SEARCH_ASC' | 'SEARCH_DESC' | 'EMBEDDING_ASC' | 'EMBEDDING_DESC' | 'EMBEDDING_UPDATED_AT_ASC' | 'EMBEDDING_UPDATED_AT_DESC' | 'SEARCH_TSV_RANK_ASC' | 'SEARCH_TSV_RANK_DESC' | 'EMBEDDING_VECTOR_DISTANCE_ASC' | 'EMBEDDING_VECTOR_DISTANCE_DESC' | 'KIND_TRGM_SIMILARITY_ASC' | 'KIND_TRGM_SIMILARITY_DESC' | 'TITLE_TRGM_SIMILARITY_ASC' | 'TITLE_TRGM_SIMILARITY_DESC' | 'DESCRIPTION_TRGM_SIMILARITY_ASC' | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'BODY_TRGM_SIMILARITY_ASC' | 'BODY_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
|
|
1104
1144
|
export interface CreateAgentPlanInput {
|
|
1105
1145
|
clientMutationId?: string;
|
|
1106
1146
|
agentPlan: {
|
|
1107
1147
|
ownerId?: string;
|
|
1108
1148
|
threadId: string;
|
|
1149
|
+
databaseId: string;
|
|
1109
1150
|
title: string;
|
|
1110
1151
|
description?: string;
|
|
1111
1152
|
status?: string;
|
|
@@ -1114,6 +1155,7 @@ export interface CreateAgentPlanInput {
|
|
|
1114
1155
|
export interface AgentPlanPatch {
|
|
1115
1156
|
ownerId?: string | null;
|
|
1116
1157
|
threadId?: string | null;
|
|
1158
|
+
databaseId?: string | null;
|
|
1117
1159
|
title?: string | null;
|
|
1118
1160
|
description?: string | null;
|
|
1119
1161
|
status?: string | null;
|
|
@@ -1131,6 +1173,7 @@ export interface CreateAgentInput {
|
|
|
1131
1173
|
clientMutationId?: string;
|
|
1132
1174
|
agent: {
|
|
1133
1175
|
ownerId?: string;
|
|
1176
|
+
databaseId: string;
|
|
1134
1177
|
personaId?: string;
|
|
1135
1178
|
parentId?: string;
|
|
1136
1179
|
name: string;
|
|
@@ -1142,6 +1185,7 @@ export interface CreateAgentInput {
|
|
|
1142
1185
|
}
|
|
1143
1186
|
export interface AgentPatch {
|
|
1144
1187
|
ownerId?: string | null;
|
|
1188
|
+
databaseId?: string | null;
|
|
1145
1189
|
personaId?: string | null;
|
|
1146
1190
|
parentId?: string | null;
|
|
1147
1191
|
name?: string | null;
|
|
@@ -1163,6 +1207,7 @@ export interface CreateAgentThreadInput {
|
|
|
1163
1207
|
clientMutationId?: string;
|
|
1164
1208
|
agentThread: {
|
|
1165
1209
|
ownerId?: string;
|
|
1210
|
+
databaseId: string;
|
|
1166
1211
|
status?: string;
|
|
1167
1212
|
isArchived?: boolean;
|
|
1168
1213
|
archivedAt?: string;
|
|
@@ -1178,6 +1223,7 @@ export interface CreateAgentThreadInput {
|
|
|
1178
1223
|
}
|
|
1179
1224
|
export interface AgentThreadPatch {
|
|
1180
1225
|
ownerId?: string | null;
|
|
1226
|
+
databaseId?: string | null;
|
|
1181
1227
|
status?: string | null;
|
|
1182
1228
|
isArchived?: boolean | null;
|
|
1183
1229
|
archivedAt?: string | null;
|
|
@@ -1205,6 +1251,7 @@ export interface CreateAgentMessageInput {
|
|
|
1205
1251
|
actorId?: string;
|
|
1206
1252
|
parts?: Record<string, unknown>;
|
|
1207
1253
|
threadId: string;
|
|
1254
|
+
databaseId: string;
|
|
1208
1255
|
authorRole: string;
|
|
1209
1256
|
model?: string;
|
|
1210
1257
|
agentId?: string;
|
|
@@ -1214,6 +1261,7 @@ export interface AgentMessagePatch {
|
|
|
1214
1261
|
actorId?: string | null;
|
|
1215
1262
|
parts?: Record<string, unknown> | null;
|
|
1216
1263
|
threadId?: string | null;
|
|
1264
|
+
databaseId?: string | null;
|
|
1217
1265
|
authorRole?: string | null;
|
|
1218
1266
|
model?: string | null;
|
|
1219
1267
|
agentId?: string | null;
|
|
@@ -1233,6 +1281,7 @@ export interface CreateAgentTaskInput {
|
|
|
1233
1281
|
actorId?: string;
|
|
1234
1282
|
status?: string;
|
|
1235
1283
|
planId: string;
|
|
1284
|
+
databaseId: string;
|
|
1236
1285
|
description: string;
|
|
1237
1286
|
source?: string;
|
|
1238
1287
|
error?: string;
|
|
@@ -1248,6 +1297,7 @@ export interface AgentTaskPatch {
|
|
|
1248
1297
|
actorId?: string | null;
|
|
1249
1298
|
status?: string | null;
|
|
1250
1299
|
planId?: string | null;
|
|
1300
|
+
databaseId?: string | null;
|
|
1251
1301
|
description?: string | null;
|
|
1252
1302
|
source?: string | null;
|
|
1253
1303
|
error?: string | null;
|
|
@@ -1272,6 +1322,7 @@ export interface CreateAgentPromptInput {
|
|
|
1272
1322
|
agentPrompt: {
|
|
1273
1323
|
createdBy?: string;
|
|
1274
1324
|
updatedBy?: string;
|
|
1325
|
+
databaseId: string;
|
|
1275
1326
|
name: string;
|
|
1276
1327
|
content: string;
|
|
1277
1328
|
description?: string;
|
|
@@ -1282,6 +1333,7 @@ export interface CreateAgentPromptInput {
|
|
|
1282
1333
|
export interface AgentPromptPatch {
|
|
1283
1334
|
createdBy?: string | null;
|
|
1284
1335
|
updatedBy?: string | null;
|
|
1336
|
+
databaseId?: string | null;
|
|
1285
1337
|
name?: string | null;
|
|
1286
1338
|
content?: string | null;
|
|
1287
1339
|
description?: string | null;
|
|
@@ -1330,6 +1382,7 @@ export interface CreateAgentPersonaInput {
|
|
|
1330
1382
|
agentPersona: {
|
|
1331
1383
|
createdBy?: string;
|
|
1332
1384
|
updatedBy?: string;
|
|
1385
|
+
databaseId: string;
|
|
1333
1386
|
slug: string;
|
|
1334
1387
|
name: string;
|
|
1335
1388
|
description?: string;
|
|
@@ -1342,6 +1395,7 @@ export interface CreateAgentPersonaInput {
|
|
|
1342
1395
|
export interface AgentPersonaPatch {
|
|
1343
1396
|
createdBy?: string | null;
|
|
1344
1397
|
updatedBy?: string | null;
|
|
1398
|
+
databaseId?: string | null;
|
|
1345
1399
|
slug?: string | null;
|
|
1346
1400
|
name?: string | null;
|
|
1347
1401
|
description?: string | null;
|
|
@@ -1364,6 +1418,7 @@ export interface CreateAgentResourceInput {
|
|
|
1364
1418
|
agentResource: {
|
|
1365
1419
|
createdBy?: string;
|
|
1366
1420
|
updatedBy?: string;
|
|
1421
|
+
databaseId: string;
|
|
1367
1422
|
slug: string;
|
|
1368
1423
|
kind?: string;
|
|
1369
1424
|
title: string;
|
|
@@ -1382,6 +1437,7 @@ export interface CreateAgentResourceInput {
|
|
|
1382
1437
|
export interface AgentResourcePatch {
|
|
1383
1438
|
createdBy?: string | null;
|
|
1384
1439
|
updatedBy?: string | null;
|
|
1440
|
+
databaseId?: string | null;
|
|
1385
1441
|
slug?: string | null;
|
|
1386
1442
|
kind?: string | null;
|
|
1387
1443
|
title?: string | null;
|
|
@@ -1606,6 +1662,8 @@ export interface AgentPlanInput {
|
|
|
1606
1662
|
ownerId?: string;
|
|
1607
1663
|
/** Foreign key to agent_thread */
|
|
1608
1664
|
threadId: string;
|
|
1665
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
1666
|
+
databaseId: string;
|
|
1609
1667
|
/** Human-readable plan name */
|
|
1610
1668
|
title: string;
|
|
1611
1669
|
/** Overall goal or context for this plan */
|
|
@@ -1620,6 +1678,8 @@ export interface AgentInput {
|
|
|
1620
1678
|
updatedAt?: string;
|
|
1621
1679
|
/** Human who owns/manages this agent */
|
|
1622
1680
|
ownerId?: string;
|
|
1681
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
1682
|
+
databaseId: string;
|
|
1623
1683
|
/** Persona template this agent was created from */
|
|
1624
1684
|
personaId?: string;
|
|
1625
1685
|
/** Parent agent (for sub-agent delegation hierarchy) */
|
|
@@ -1642,6 +1702,8 @@ export interface AgentThreadInput {
|
|
|
1642
1702
|
updatedAt?: string;
|
|
1643
1703
|
/** User who owns this thread */
|
|
1644
1704
|
ownerId?: string;
|
|
1705
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
1706
|
+
databaseId: string;
|
|
1645
1707
|
/** Current status of this thread */
|
|
1646
1708
|
status?: string;
|
|
1647
1709
|
/** Whether this record has been archived by the user */
|
|
@@ -1676,6 +1738,8 @@ export interface AgentMessageInput {
|
|
|
1676
1738
|
parts?: Record<string, unknown>;
|
|
1677
1739
|
/** Foreign key to agent_thread */
|
|
1678
1740
|
threadId: string;
|
|
1741
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
1742
|
+
databaseId: string;
|
|
1679
1743
|
/** Who authored this message: user or assistant */
|
|
1680
1744
|
authorRole: string;
|
|
1681
1745
|
/** LLM model that generated this response */
|
|
@@ -1694,6 +1758,8 @@ export interface AgentTaskInput {
|
|
|
1694
1758
|
status?: string;
|
|
1695
1759
|
/** Foreign key to agent_plan */
|
|
1696
1760
|
planId: string;
|
|
1761
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
1762
|
+
databaseId: string;
|
|
1697
1763
|
/** Natural-language description of the work to do */
|
|
1698
1764
|
description: string;
|
|
1699
1765
|
/** Who created the task: agent or user */
|
|
@@ -1720,6 +1786,8 @@ export interface AgentPromptInput {
|
|
|
1720
1786
|
updatedAt?: string;
|
|
1721
1787
|
createdBy?: string;
|
|
1722
1788
|
updatedBy?: string;
|
|
1789
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
1790
|
+
databaseId: string;
|
|
1723
1791
|
/** Unique name for lookup (e.g. default, code-review, sales-assistant) */
|
|
1724
1792
|
name: string;
|
|
1725
1793
|
/** The system prompt template content */
|
|
@@ -1751,6 +1819,8 @@ export interface AgentPersonaInput {
|
|
|
1751
1819
|
updatedAt?: string;
|
|
1752
1820
|
createdBy?: string;
|
|
1753
1821
|
updatedBy?: string;
|
|
1822
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
1823
|
+
databaseId: string;
|
|
1754
1824
|
/** Unique human-readable identifier for this persona */
|
|
1755
1825
|
slug: string;
|
|
1756
1826
|
/** Display name for this persona */
|
|
@@ -1773,6 +1843,8 @@ export interface AgentResourceInput {
|
|
|
1773
1843
|
updatedAt?: string;
|
|
1774
1844
|
createdBy?: string;
|
|
1775
1845
|
updatedBy?: string;
|
|
1846
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
1847
|
+
databaseId: string;
|
|
1776
1848
|
/** Unique human-readable identifier for portable references */
|
|
1777
1849
|
slug: string;
|
|
1778
1850
|
/** Resource type: skill, knowledge, or convention */
|
|
@@ -1812,6 +1884,8 @@ export interface AgentTaskFilter {
|
|
|
1812
1884
|
status?: StringFilter;
|
|
1813
1885
|
/** Filter by the object’s `planId` field. */
|
|
1814
1886
|
planId?: UUIDFilter;
|
|
1887
|
+
/** Filter by the object’s `databaseId` field. */
|
|
1888
|
+
databaseId?: UUIDFilter;
|
|
1815
1889
|
/** Filter by the object’s `description` field. */
|
|
1816
1890
|
description?: StringFilter;
|
|
1817
1891
|
/** Filter by the object’s `source` field. */
|
|
@@ -1849,6 +1923,8 @@ export interface AgentThreadFilter {
|
|
|
1849
1923
|
updatedAt?: DatetimeFilter;
|
|
1850
1924
|
/** Filter by the object’s `ownerId` field. */
|
|
1851
1925
|
ownerId?: UUIDFilter;
|
|
1926
|
+
/** Filter by the object’s `databaseId` field. */
|
|
1927
|
+
databaseId?: UUIDFilter;
|
|
1852
1928
|
/** Filter by the object’s `status` field. */
|
|
1853
1929
|
status?: StringFilter;
|
|
1854
1930
|
/** Filter by the object’s `isArchived` field. */
|
|
@@ -1916,6 +1992,8 @@ export interface AgentMessageFilter {
|
|
|
1916
1992
|
parts?: JSONFilter;
|
|
1917
1993
|
/** Filter by the object’s `threadId` field. */
|
|
1918
1994
|
threadId?: UUIDFilter;
|
|
1995
|
+
/** Filter by the object’s `databaseId` field. */
|
|
1996
|
+
databaseId?: UUIDFilter;
|
|
1919
1997
|
/** Filter by the object’s `authorRole` field. */
|
|
1920
1998
|
authorRole?: StringFilter;
|
|
1921
1999
|
/** Filter by the object’s `model` field. */
|
|
@@ -1945,6 +2023,8 @@ export interface AgentFilter {
|
|
|
1945
2023
|
updatedAt?: DatetimeFilter;
|
|
1946
2024
|
/** Filter by the object’s `ownerId` field. */
|
|
1947
2025
|
ownerId?: UUIDFilter;
|
|
2026
|
+
/** Filter by the object’s `databaseId` field. */
|
|
2027
|
+
databaseId?: UUIDFilter;
|
|
1948
2028
|
/** Filter by the object’s `personaId` field. */
|
|
1949
2029
|
personaId?: UUIDFilter;
|
|
1950
2030
|
/** Filter by the object’s `parentId` field. */
|
|
@@ -1998,6 +2078,8 @@ export interface AgentPlanFilter {
|
|
|
1998
2078
|
ownerId?: UUIDFilter;
|
|
1999
2079
|
/** Filter by the object’s `threadId` field. */
|
|
2000
2080
|
threadId?: UUIDFilter;
|
|
2081
|
+
/** Filter by the object’s `databaseId` field. */
|
|
2082
|
+
databaseId?: UUIDFilter;
|
|
2001
2083
|
/** Filter by the object’s `title` field. */
|
|
2002
2084
|
title?: StringFilter;
|
|
2003
2085
|
/** Filter by the object’s `description` field. */
|
|
@@ -2276,6 +2358,8 @@ export interface AgentPromptFilter {
|
|
|
2276
2358
|
createdBy?: UUIDFilter;
|
|
2277
2359
|
/** Filter by the object’s `updatedBy` field. */
|
|
2278
2360
|
updatedBy?: UUIDFilter;
|
|
2361
|
+
/** Filter by the object’s `databaseId` field. */
|
|
2362
|
+
databaseId?: UUIDFilter;
|
|
2279
2363
|
/** Filter by the object’s `name` field. */
|
|
2280
2364
|
name?: StringFilter;
|
|
2281
2365
|
/** Filter by the object’s `content` field. */
|
|
@@ -2340,6 +2424,8 @@ export interface AgentPersonaFilter {
|
|
|
2340
2424
|
createdBy?: UUIDFilter;
|
|
2341
2425
|
/** Filter by the object’s `updatedBy` field. */
|
|
2342
2426
|
updatedBy?: UUIDFilter;
|
|
2427
|
+
/** Filter by the object’s `databaseId` field. */
|
|
2428
|
+
databaseId?: UUIDFilter;
|
|
2343
2429
|
/** Filter by the object’s `slug` field. */
|
|
2344
2430
|
slug?: StringFilter;
|
|
2345
2431
|
/** Filter by the object’s `name` field. */
|
|
@@ -2394,6 +2480,8 @@ export interface AgentResourceFilter {
|
|
|
2394
2480
|
createdBy?: UUIDFilter;
|
|
2395
2481
|
/** Filter by the object’s `updatedBy` field. */
|
|
2396
2482
|
updatedBy?: UUIDFilter;
|
|
2483
|
+
/** Filter by the object’s `databaseId` field. */
|
|
2484
|
+
databaseId?: UUIDFilter;
|
|
2397
2485
|
/** Filter by the object’s `slug` field. */
|
|
2398
2486
|
slug?: StringTrgmFilter;
|
|
2399
2487
|
/** Filter by the object’s `kind` field. */
|
|
@@ -13,6 +13,7 @@ const fieldSchema = {
|
|
|
13
13
|
name: 'string',
|
|
14
14
|
label: 'string',
|
|
15
15
|
hash: 'uuid',
|
|
16
|
+
platform: 'boolean',
|
|
16
17
|
createdAt: 'string',
|
|
17
18
|
updatedAt: 'string',
|
|
18
19
|
};
|
|
@@ -64,6 +65,7 @@ async function handleList(argv, _prompter) {
|
|
|
64
65
|
name: true,
|
|
65
66
|
label: true,
|
|
66
67
|
hash: true,
|
|
68
|
+
platform: true,
|
|
67
69
|
createdAt: true,
|
|
68
70
|
updatedAt: true,
|
|
69
71
|
};
|
|
@@ -89,6 +91,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
89
91
|
name: true,
|
|
90
92
|
label: true,
|
|
91
93
|
hash: true,
|
|
94
|
+
platform: true,
|
|
92
95
|
createdAt: true,
|
|
93
96
|
updatedAt: true,
|
|
94
97
|
};
|
|
@@ -126,6 +129,7 @@ async function handleGet(argv, prompter) {
|
|
|
126
129
|
name: true,
|
|
127
130
|
label: true,
|
|
128
131
|
hash: true,
|
|
132
|
+
platform: true,
|
|
129
133
|
createdAt: true,
|
|
130
134
|
updatedAt: true,
|
|
131
135
|
},
|
|
@@ -179,6 +183,13 @@ async function handleCreate(argv, prompter) {
|
|
|
179
183
|
required: false,
|
|
180
184
|
skipPrompt: true,
|
|
181
185
|
},
|
|
186
|
+
{
|
|
187
|
+
type: 'boolean',
|
|
188
|
+
name: 'platform',
|
|
189
|
+
message: 'platform',
|
|
190
|
+
required: false,
|
|
191
|
+
skipPrompt: true,
|
|
192
|
+
},
|
|
182
193
|
]);
|
|
183
194
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
184
195
|
const cleanedData = stripUndefined(answers, fieldSchema);
|
|
@@ -191,6 +202,7 @@ async function handleCreate(argv, prompter) {
|
|
|
191
202
|
name: cleanedData.name,
|
|
192
203
|
label: cleanedData.label,
|
|
193
204
|
hash: cleanedData.hash,
|
|
205
|
+
platform: cleanedData.platform,
|
|
194
206
|
},
|
|
195
207
|
select: {
|
|
196
208
|
id: true,
|
|
@@ -199,6 +211,7 @@ async function handleCreate(argv, prompter) {
|
|
|
199
211
|
name: true,
|
|
200
212
|
label: true,
|
|
201
213
|
hash: true,
|
|
214
|
+
platform: true,
|
|
202
215
|
createdAt: true,
|
|
203
216
|
updatedAt: true,
|
|
204
217
|
},
|
|
@@ -258,6 +271,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
258
271
|
required: false,
|
|
259
272
|
skipPrompt: true,
|
|
260
273
|
},
|
|
274
|
+
{
|
|
275
|
+
type: 'boolean',
|
|
276
|
+
name: 'platform',
|
|
277
|
+
message: 'platform',
|
|
278
|
+
required: false,
|
|
279
|
+
skipPrompt: true,
|
|
280
|
+
},
|
|
261
281
|
]);
|
|
262
282
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
263
283
|
const cleanedData = stripUndefined(answers, fieldSchema);
|
|
@@ -273,6 +293,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
273
293
|
name: cleanedData.name,
|
|
274
294
|
label: cleanedData.label,
|
|
275
295
|
hash: cleanedData.hash,
|
|
296
|
+
platform: cleanedData.platform,
|
|
276
297
|
},
|
|
277
298
|
select: {
|
|
278
299
|
id: true,
|
|
@@ -281,6 +302,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
281
302
|
name: true,
|
|
282
303
|
label: true,
|
|
283
304
|
hash: true,
|
|
305
|
+
platform: true,
|
|
284
306
|
createdAt: true,
|
|
285
307
|
updatedAt: true,
|
|
286
308
|
},
|