@ductape/sdk 0.0.4-v6 → 0.0.4-v61
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/dist/agents/agent-context.d.ts +98 -0
- package/dist/agents/agent-context.js +588 -0
- package/dist/agents/agent-context.js.map +1 -0
- package/dist/agents/agent-executor.d.ts +180 -0
- package/dist/agents/agent-executor.js +715 -0
- package/dist/agents/agent-executor.js.map +1 -0
- package/dist/agents/agents.service.d.ts +310 -0
- package/dist/agents/agents.service.js +1249 -0
- package/dist/agents/agents.service.js.map +1 -0
- package/dist/agents/index.d.ts +55 -0
- package/dist/agents/index.js +110 -0
- package/dist/agents/index.js.map +1 -0
- package/dist/agents/memory-manager.d.ts +182 -0
- package/dist/agents/memory-manager.js +383 -0
- package/dist/agents/memory-manager.js.map +1 -0
- package/dist/agents/tool-registry.d.ts +141 -0
- package/dist/agents/tool-registry.js +355 -0
- package/dist/agents/tool-registry.js.map +1 -0
- package/dist/agents/types/agents.types.d.ts +1227 -0
- package/dist/agents/types/agents.types.js +12 -0
- package/dist/agents/types/agents.types.js.map +1 -0
- package/dist/agents/types/index.d.ts +6 -0
- package/dist/agents/types/index.js +23 -0
- package/dist/agents/types/index.js.map +1 -0
- package/dist/agents/vector-store-adapter.d.ts +108 -0
- package/dist/agents/vector-store-adapter.js +213 -0
- package/dist/agents/vector-store-adapter.js.map +1 -0
- package/dist/api/services/appApi.service.d.ts +51 -5
- package/dist/api/services/appApi.service.js +101 -3
- package/dist/api/services/appApi.service.js.map +1 -1
- package/dist/api/services/pricingApi.service.d.ts +10 -0
- package/dist/api/services/pricingApi.service.js +34 -0
- package/dist/api/services/pricingApi.service.js.map +1 -0
- package/dist/api/services/processorApi.service.d.ts +334 -2
- package/dist/api/services/processorApi.service.js +264 -2
- package/dist/api/services/processorApi.service.js.map +1 -1
- package/dist/api/services/productsApi.service.d.ts +108 -1
- package/dist/api/services/productsApi.service.js +150 -3
- package/dist/api/services/productsApi.service.js.map +1 -1
- package/dist/api/services/resilienceApi.service.d.ts +106 -0
- package/dist/api/services/resilienceApi.service.js +224 -0
- package/dist/api/services/resilienceApi.service.js.map +1 -0
- package/dist/api/services/secretsApi.service.d.ts +50 -0
- package/dist/api/services/secretsApi.service.js +124 -0
- package/dist/api/services/secretsApi.service.js.map +1 -0
- package/dist/api/services/workflowApi.service.d.ts +199 -0
- package/dist/api/services/workflowApi.service.js +183 -0
- package/dist/api/services/workflowApi.service.js.map +1 -0
- package/dist/api/services/workspaceApi.service.d.ts +8 -0
- package/dist/api/services/workspaceApi.service.js +20 -0
- package/dist/api/services/workspaceApi.service.js.map +1 -1
- package/dist/api/urls.d.ts +65 -1
- package/dist/api/urls.js +90 -18
- package/dist/api/urls.js.map +1 -1
- package/dist/api/utils/auth.utils.d.ts +1 -3
- package/dist/api/utils/auth.utils.js.map +1 -1
- package/dist/api/utils/cache.utils.d.ts +1 -1
- package/dist/api/utils/cache.utils.js +2 -2
- package/dist/api/utils/cache.utils.js.map +1 -1
- package/dist/api/utils/strings.utils.d.ts +2 -0
- package/dist/api/utils/strings.utils.js +14 -0
- package/dist/api/utils/strings.utils.js.map +1 -1
- package/dist/apps/services/app.service.d.ts +41 -33
- package/dist/apps/services/app.service.js +472 -184
- package/dist/apps/services/app.service.js.map +1 -1
- package/dist/apps/utils/auth-context-manager.d.ts +137 -0
- package/dist/apps/utils/auth-context-manager.js +248 -0
- package/dist/apps/utils/auth-context-manager.js.map +1 -0
- package/dist/apps/utils/credential-manager.d.ts +128 -0
- package/dist/apps/utils/credential-manager.js +199 -0
- package/dist/apps/utils/credential-manager.js.map +1 -0
- package/dist/apps/utils/index.d.ts +10 -0
- package/dist/apps/utils/index.js +54 -0
- package/dist/apps/utils/index.js.map +1 -0
- package/dist/apps/utils/input-helpers.d.ts +67 -0
- package/dist/apps/utils/input-helpers.js +185 -0
- package/dist/apps/utils/input-helpers.js.map +1 -0
- package/dist/apps/utils/input-resolver.d.ts +165 -0
- package/dist/apps/utils/input-resolver.js +477 -0
- package/dist/apps/utils/input-resolver.js.map +1 -0
- package/dist/apps/utils/oauth-manager.d.ts +196 -0
- package/dist/apps/utils/oauth-manager.js +429 -0
- package/dist/apps/utils/oauth-manager.js.map +1 -0
- package/dist/apps/validators/joi-validators/create.appAction.validator.d.ts +1 -2
- package/dist/apps/validators/joi-validators/create.appAction.validator.js +21 -2
- package/dist/apps/validators/joi-validators/create.appAction.validator.js.map +1 -1
- package/dist/apps/validators/joi-validators/update.appAction.validator.js +11 -1
- package/dist/apps/validators/joi-validators/update.appAction.validator.js.map +1 -1
- package/dist/apps/validators/joi-validators/update.appActionResponse.validator.d.ts +1 -1
- package/dist/apps/validators/joi-validators/update.appActionResponse.validator.js +34 -1
- package/dist/apps/validators/joi-validators/update.appActionResponse.validator.js.map +1 -1
- package/dist/bin.d.ts +26 -0
- package/dist/bin.js +28 -0
- package/dist/bin.js.map +1 -0
- package/dist/brokers/brokers.service.d.ts +289 -0
- package/dist/brokers/brokers.service.js +722 -0
- package/dist/brokers/brokers.service.js.map +1 -0
- package/dist/brokers/index.d.ts +46 -0
- package/dist/brokers/index.js +83 -0
- package/dist/brokers/index.js.map +1 -0
- package/dist/brokers/types/index.d.ts +314 -0
- package/dist/brokers/types/index.js +8 -0
- package/dist/brokers/types/index.js.map +1 -0
- package/dist/brokers/utils/broker.util.d.ts +33 -0
- package/dist/brokers/utils/broker.util.js +125 -0
- package/dist/brokers/utils/broker.util.js.map +1 -0
- package/dist/brokers/utils/providers/aws-sqs.service.d.ts +16 -0
- package/dist/brokers/utils/providers/aws-sqs.service.js +71 -0
- package/dist/brokers/utils/providers/aws-sqs.service.js.map +1 -0
- package/dist/brokers/utils/providers/google-pubsub.service.d.ts +16 -0
- package/dist/brokers/utils/providers/google-pubsub.service.js +43 -0
- package/dist/brokers/utils/providers/google-pubsub.service.js.map +1 -0
- package/dist/brokers/utils/providers/index.d.ts +6 -0
- package/dist/brokers/utils/providers/index.js +16 -0
- package/dist/brokers/utils/providers/index.js.map +1 -0
- package/dist/brokers/utils/providers/kafka.service.d.ts +23 -0
- package/dist/brokers/utils/providers/kafka.service.js +131 -0
- package/dist/brokers/utils/providers/kafka.service.js.map +1 -0
- package/dist/brokers/utils/providers/nats.service.d.ts +18 -0
- package/dist/brokers/utils/providers/nats.service.js +63 -0
- package/dist/brokers/utils/providers/nats.service.js.map +1 -0
- package/dist/brokers/utils/providers/rabbitmq.service.d.ts +15 -0
- package/dist/brokers/utils/providers/rabbitmq.service.js +151 -0
- package/dist/brokers/utils/providers/rabbitmq.service.js.map +1 -0
- package/dist/brokers/utils/providers/redis.service.d.ts +18 -0
- package/dist/brokers/utils/providers/redis.service.js +93 -0
- package/dist/brokers/utils/providers/redis.service.js.map +1 -0
- package/dist/cache/cache.manager.d.ts +159 -0
- package/dist/cache/cache.manager.js +265 -0
- package/dist/cache/cache.manager.js.map +1 -0
- package/dist/cache/cache.service.d.ts +186 -0
- package/dist/cache/cache.service.js +437 -0
- package/dist/cache/cache.service.js.map +1 -0
- package/dist/cache/index.d.ts +52 -0
- package/dist/cache/index.js +79 -0
- package/dist/cache/index.js.map +1 -0
- package/dist/cache/types/index.d.ts +106 -0
- package/dist/cache/types/index.js +6 -0
- package/dist/cache/types/index.js.map +1 -0
- package/dist/clients/pricing.client.d.ts +3 -0
- package/dist/clients/pricing.client.js +33 -0
- package/dist/clients/pricing.client.js.map +1 -0
- package/dist/database/actions/action-manager.d.ts +170 -0
- package/dist/database/actions/action-manager.js +465 -0
- package/dist/database/actions/action-manager.js.map +1 -0
- package/dist/database/actions/index.d.ts +6 -0
- package/dist/database/actions/index.js +13 -0
- package/dist/database/actions/index.js.map +1 -0
- package/dist/database/adapters/adapter.factory.d.ts +62 -0
- package/dist/database/adapters/adapter.factory.js +97 -0
- package/dist/database/adapters/adapter.factory.js.map +1 -0
- package/dist/database/adapters/base.adapter.d.ts +393 -0
- package/dist/database/adapters/base.adapter.js +150 -0
- package/dist/database/adapters/base.adapter.js.map +1 -0
- package/dist/database/adapters/cassandra.adapter.d.ts +91 -0
- package/dist/database/adapters/cassandra.adapter.js +1075 -0
- package/dist/database/adapters/cassandra.adapter.js.map +1 -0
- package/dist/database/adapters/dynamodb.adapter.d.ts +109 -0
- package/dist/database/adapters/dynamodb.adapter.js +1534 -0
- package/dist/database/adapters/dynamodb.adapter.js.map +1 -0
- package/dist/database/adapters/index.d.ts +11 -0
- package/dist/database/adapters/index.js +27 -0
- package/dist/database/adapters/index.js.map +1 -0
- package/dist/database/adapters/mariadb.adapter.d.ts +100 -0
- package/dist/database/adapters/mariadb.adapter.js +247 -0
- package/dist/database/adapters/mariadb.adapter.js.map +1 -0
- package/dist/database/adapters/mongodb.adapter.d.ts +120 -0
- package/dist/database/adapters/mongodb.adapter.js +1253 -0
- package/dist/database/adapters/mongodb.adapter.js.map +1 -0
- package/dist/database/adapters/mysql.adapter.d.ts +85 -0
- package/dist/database/adapters/mysql.adapter.js +1313 -0
- package/dist/database/adapters/mysql.adapter.js.map +1 -0
- package/dist/database/adapters/postgresql.adapter.d.ts +88 -0
- package/dist/database/adapters/postgresql.adapter.js +1434 -0
- package/dist/database/adapters/postgresql.adapter.js.map +1 -0
- package/dist/database/databases.service.d.ts +1388 -0
- package/dist/database/databases.service.js +2821 -0
- package/dist/database/databases.service.js.map +1 -0
- package/dist/database/index.d.ts +46 -0
- package/dist/database/index.js +109 -0
- package/dist/database/index.js.map +1 -0
- package/dist/database/migrations/index.d.ts +6 -0
- package/dist/database/migrations/index.js +12 -0
- package/dist/database/migrations/index.js.map +1 -0
- package/dist/database/migrations/migration-engine.d.ts +132 -0
- package/dist/database/migrations/migration-engine.js +1356 -0
- package/dist/database/migrations/migration-engine.js.map +1 -0
- package/dist/database/operators/aggregation-builder.d.ts +67 -0
- package/dist/database/operators/aggregation-builder.js +841 -0
- package/dist/database/operators/aggregation-builder.js.map +1 -0
- package/dist/database/operators/index.d.ts +7 -0
- package/dist/database/operators/index.js +15 -0
- package/dist/database/operators/index.js.map +1 -0
- package/dist/database/operators/query-builder.d.ts +59 -0
- package/dist/database/operators/query-builder.js +397 -0
- package/dist/database/operators/query-builder.js.map +1 -0
- package/dist/database/presave/decrypt.d.ts +25 -0
- package/dist/database/presave/decrypt.js +146 -0
- package/dist/database/presave/decrypt.js.map +1 -0
- package/dist/database/presave/index.d.ts +9 -0
- package/dist/database/presave/index.js +18 -0
- package/dist/database/presave/index.js.map +1 -0
- package/dist/database/presave/presave-processor.d.ts +148 -0
- package/dist/database/presave/presave-processor.js +702 -0
- package/dist/database/presave/presave-processor.js.map +1 -0
- package/dist/database/schema/index.d.ts +7 -0
- package/dist/database/schema/index.js +13 -0
- package/dist/database/schema/index.js.map +1 -0
- package/dist/database/schema/schema-manager.d.ts +258 -0
- package/dist/database/schema/schema-manager.js +637 -0
- package/dist/database/schema/schema-manager.js.map +1 -0
- package/dist/database/transactions/index.d.ts +6 -0
- package/dist/database/transactions/index.js +13 -0
- package/dist/database/transactions/index.js.map +1 -0
- package/dist/database/transactions/transaction-manager.d.ts +113 -0
- package/dist/database/transactions/transaction-manager.js +344 -0
- package/dist/database/transactions/transaction-manager.js.map +1 -0
- package/dist/database/triggers/index.d.ts +7 -0
- package/dist/database/triggers/index.js +14 -0
- package/dist/database/triggers/index.js.map +1 -0
- package/dist/database/triggers/trigger-processor.d.ts +239 -0
- package/dist/database/triggers/trigger-processor.js +1034 -0
- package/dist/database/triggers/trigger-processor.js.map +1 -0
- package/dist/database/types/action.interface.d.ts +148 -0
- package/dist/database/types/action.interface.js +6 -0
- package/dist/database/types/action.interface.js.map +1 -0
- package/dist/database/types/aggregation.interface.d.ts +185 -0
- package/dist/database/types/aggregation.interface.js +6 -0
- package/dist/database/types/aggregation.interface.js.map +1 -0
- package/dist/database/types/connection.interface.d.ts +137 -0
- package/dist/database/types/connection.interface.js +6 -0
- package/dist/database/types/connection.interface.js.map +1 -0
- package/dist/database/types/enums.d.ts +195 -0
- package/dist/database/types/enums.js +244 -0
- package/dist/database/types/enums.js.map +1 -0
- package/dist/database/types/index.d.ts +14 -0
- package/dist/database/types/index.js +31 -0
- package/dist/database/types/index.js.map +1 -0
- package/dist/database/types/migration.interface.d.ts +686 -0
- package/dist/database/types/migration.interface.js +9 -0
- package/dist/database/types/migration.interface.js.map +1 -0
- package/dist/database/types/presave.interface.d.ts +292 -0
- package/dist/database/types/presave.interface.js +60 -0
- package/dist/database/types/presave.interface.js.map +1 -0
- package/dist/database/types/query.interface.d.ts +205 -0
- package/dist/database/types/query.interface.js +6 -0
- package/dist/database/types/query.interface.js.map +1 -0
- package/dist/database/types/schema.interface.d.ts +398 -0
- package/dist/database/types/schema.interface.js +6 -0
- package/dist/database/types/schema.interface.js.map +1 -0
- package/dist/database/types/transaction.interface.d.ts +84 -0
- package/dist/database/types/transaction.interface.js +6 -0
- package/dist/database/types/transaction.interface.js.map +1 -0
- package/dist/database/types/trigger.interface.d.ts +612 -0
- package/dist/database/types/trigger.interface.js +121 -0
- package/dist/database/types/trigger.interface.js.map +1 -0
- package/dist/database/types/write.interface.d.ts +216 -0
- package/dist/database/types/write.interface.js +6 -0
- package/dist/database/types/write.interface.js.map +1 -0
- package/dist/database/utils/database-error.d.ts +96 -0
- package/dist/database/utils/database-error.js +221 -0
- package/dist/database/utils/database-error.js.map +1 -0
- package/dist/database/utils/index.d.ts +6 -0
- package/dist/database/utils/index.js +11 -0
- package/dist/database/utils/index.js.map +1 -0
- package/dist/graph/adapters/adapter.factory.d.ts +47 -0
- package/dist/graph/adapters/adapter.factory.js +77 -0
- package/dist/graph/adapters/adapter.factory.js.map +1 -0
- package/dist/graph/adapters/arangodb.adapter.d.ts +86 -0
- package/dist/graph/adapters/arangodb.adapter.js +1522 -0
- package/dist/graph/adapters/arangodb.adapter.js.map +1 -0
- package/dist/graph/adapters/base.adapter.d.ts +245 -0
- package/dist/graph/adapters/base.adapter.js +64 -0
- package/dist/graph/adapters/base.adapter.js.map +1 -0
- package/dist/graph/adapters/index.d.ts +11 -0
- package/dist/graph/adapters/index.js +21 -0
- package/dist/graph/adapters/index.js.map +1 -0
- package/dist/graph/adapters/memgraph.adapter.d.ts +110 -0
- package/dist/graph/adapters/memgraph.adapter.js +1345 -0
- package/dist/graph/adapters/memgraph.adapter.js.map +1 -0
- package/dist/graph/adapters/neo4j.adapter.d.ts +81 -0
- package/dist/graph/adapters/neo4j.adapter.js +1198 -0
- package/dist/graph/adapters/neo4j.adapter.js.map +1 -0
- package/dist/graph/adapters/neptune.adapter.d.ts +82 -0
- package/dist/graph/adapters/neptune.adapter.js +1313 -0
- package/dist/graph/adapters/neptune.adapter.js.map +1 -0
- package/dist/graph/graphs.service.d.ts +546 -0
- package/dist/graph/graphs.service.js +1893 -0
- package/dist/graph/graphs.service.js.map +1 -0
- package/dist/graph/index.d.ts +57 -0
- package/dist/graph/index.js +77 -0
- package/dist/graph/index.js.map +1 -0
- package/dist/graph/transactions/index.d.ts +4 -0
- package/dist/graph/transactions/index.js +9 -0
- package/dist/graph/transactions/index.js.map +1 -0
- package/dist/graph/transactions/transaction-manager.d.ts +61 -0
- package/dist/graph/transactions/transaction-manager.js +126 -0
- package/dist/graph/transactions/transaction-manager.js.map +1 -0
- package/dist/graph/types/connection.interface.d.ts +149 -0
- package/dist/graph/types/connection.interface.js +9 -0
- package/dist/graph/types/connection.interface.js.map +1 -0
- package/dist/graph/types/enums.d.ts +101 -0
- package/dist/graph/types/enums.js +114 -0
- package/dist/graph/types/enums.js.map +1 -0
- package/dist/graph/types/index.d.ts +13 -0
- package/dist/graph/types/index.js +20 -0
- package/dist/graph/types/index.js.map +1 -0
- package/dist/graph/types/node.interface.d.ts +248 -0
- package/dist/graph/types/node.interface.js +9 -0
- package/dist/graph/types/node.interface.js.map +1 -0
- package/dist/graph/types/query.interface.d.ts +175 -0
- package/dist/graph/types/query.interface.js +9 -0
- package/dist/graph/types/query.interface.js.map +1 -0
- package/dist/graph/types/relationship.interface.d.ts +207 -0
- package/dist/graph/types/relationship.interface.js +9 -0
- package/dist/graph/types/relationship.interface.js.map +1 -0
- package/dist/graph/types/schema.interface.d.ts +295 -0
- package/dist/graph/types/schema.interface.js +9 -0
- package/dist/graph/types/schema.interface.js.map +1 -0
- package/dist/graph/types/transaction.interface.d.ts +55 -0
- package/dist/graph/types/transaction.interface.js +9 -0
- package/dist/graph/types/transaction.interface.js.map +1 -0
- package/dist/graph/types/traversal.interface.d.ts +181 -0
- package/dist/graph/types/traversal.interface.js +9 -0
- package/dist/graph/types/traversal.interface.js.map +1 -0
- package/dist/graph/utils/graph-error.d.ts +71 -0
- package/dist/graph/utils/graph-error.js +142 -0
- package/dist/graph/utils/graph-error.js.map +1 -0
- package/dist/graph/utils/index.d.ts +4 -0
- package/dist/graph/utils/index.js +9 -0
- package/dist/graph/utils/index.js.map +1 -0
- package/dist/imports/imports.service.d.ts +3 -3
- package/dist/imports/imports.service.js +8 -7
- package/dist/imports/imports.service.js.map +1 -1
- package/dist/imports/imports.types.d.ts +8 -0
- package/dist/imports/repos/openApi.repo.d.ts +1 -1
- package/dist/imports/repos/openApi.repo.js +414 -47
- package/dist/imports/repos/openApi.repo.js.map +1 -1
- package/dist/imports/repos/postmanV21.repo.d.ts +1 -1
- package/dist/imports/repos/postmanV21.repo.js +126 -83
- package/dist/imports/repos/postmanV21.repo.js.map +1 -1
- package/dist/index.d.ts +3241 -285
- package/dist/index.js +4711 -687
- package/dist/index.js.map +1 -1
- package/dist/init.interface.d.ts +407 -0
- package/dist/init.interface.js +3 -0
- package/dist/init.interface.js.map +1 -0
- package/dist/inputs/inputs.service.d.ts +1 -1
- package/dist/inputs/inputs.service.js +2 -2
- package/dist/inputs/inputs.service.js.map +1 -1
- package/dist/inputs/utils/inputs.utils.create.js +1 -1
- package/dist/inputs/utils/inputs.utils.create.js.map +1 -1
- package/dist/jobs/index.d.ts +38 -0
- package/dist/jobs/index.js +50 -0
- package/dist/jobs/index.js.map +1 -0
- package/dist/jobs/jobs.service.d.ts +154 -0
- package/dist/jobs/jobs.service.js +491 -0
- package/dist/jobs/jobs.service.js.map +1 -0
- package/dist/jobs/jobs.state.d.ts +113 -0
- package/dist/jobs/jobs.state.js +447 -0
- package/dist/jobs/jobs.state.js.map +1 -0
- package/dist/jobs/types.d.ts +449 -0
- package/dist/jobs/types.js +74 -0
- package/dist/jobs/types.js.map +1 -0
- package/dist/logs/logs.types.d.ts +16 -1
- package/dist/logs/logs.types.js +5 -0
- package/dist/logs/logs.types.js.map +1 -1
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +11 -0
- package/dist/models/index.js.map +1 -0
- package/dist/models/models.service.d.ts +137 -0
- package/dist/models/models.service.js +195 -0
- package/dist/models/models.service.js.map +1 -0
- package/dist/notifications/index.d.ts +13 -0
- package/dist/notifications/index.js +26 -0
- package/dist/notifications/index.js.map +1 -0
- package/dist/notifications/notifications.service.d.ts +257 -0
- package/dist/notifications/notifications.service.js +656 -0
- package/dist/notifications/notifications.service.js.map +1 -0
- package/dist/notifications/types/index.d.ts +4 -0
- package/dist/notifications/types/index.js +21 -0
- package/dist/notifications/types/index.js.map +1 -0
- package/dist/notifications/types/notifications.types.d.ts +400 -0
- package/dist/notifications/types/notifications.types.js +49 -0
- package/dist/notifications/types/notifications.types.js.map +1 -0
- package/dist/parsers/index.d.ts +3 -0
- package/dist/parsers/index.js +27 -0
- package/dist/parsers/index.js.map +1 -0
- package/dist/parsers/pipelines/postman.pipelines.d.ts +15 -0
- package/dist/parsers/pipelines/postman.pipelines.js +103 -0
- package/dist/parsers/pipelines/postman.pipelines.js.map +1 -0
- package/dist/parsers/types/postman.types.d.ts +200 -0
- package/dist/parsers/types/postman.types.js +3 -0
- package/dist/parsers/types/postman.types.js.map +1 -0
- package/dist/parsers/utils/postman.utils.d.ts +12 -0
- package/dist/parsers/utils/postman.utils.js +116 -0
- package/dist/parsers/utils/postman.utils.js.map +1 -0
- package/dist/parsers/validators/postman-auth.validators.d.ts +10 -0
- package/dist/parsers/validators/postman-auth.validators.js +127 -0
- package/dist/parsers/validators/postman-auth.validators.js.map +1 -0
- package/dist/parsers/validators/postman-request.validators.d.ts +13 -0
- package/dist/parsers/validators/postman-request.validators.js +139 -0
- package/dist/parsers/validators/postman-request.validators.js.map +1 -0
- package/dist/parsers/validators/postman-response.validators.d.ts +13 -0
- package/dist/parsers/validators/postman-response.validators.js +150 -0
- package/dist/parsers/validators/postman-response.validators.js.map +1 -0
- package/dist/parsers/validators/postman-variable.validators.d.ts +14 -0
- package/dist/parsers/validators/postman-variable.validators.js +163 -0
- package/dist/parsers/validators/postman-variable.validators.js.map +1 -0
- package/dist/pricing/pricing.repo.js +1 -0
- package/dist/pricing/pricing.repo.js.map +1 -0
- package/dist/pricing/pricing.service.d.ts +24 -0
- package/dist/pricing/pricing.service.js +51 -0
- package/dist/pricing/pricing.service.js.map +1 -0
- package/dist/pricing/pricing.types.d.ts +76 -0
- package/dist/pricing/pricing.types.js +21 -0
- package/dist/pricing/pricing.types.js.map +1 -0
- package/dist/pricing/utils/string.utils.d.ts +1 -0
- package/dist/pricing/utils/string.utils.js +9 -0
- package/dist/pricing/utils/string.utils.js.map +1 -0
- package/dist/processor/services/processor.service.d.ts +120 -73
- package/dist/processor/services/processor.service.js +1705 -1294
- package/dist/processor/services/processor.service.js.map +1 -1
- package/dist/processor/services/request.service.d.ts +36 -0
- package/dist/processor/services/request.service.js +304 -0
- package/dist/processor/services/request.service.js.map +1 -0
- package/dist/processor/types/request.types.d.ts +14 -0
- package/dist/processor/types/request.types.js +3 -0
- package/dist/processor/types/request.types.js.map +1 -0
- package/dist/processor/utils/processor.utils.d.ts +3 -0
- package/dist/processor/utils/processor.utils.js +87 -21
- package/dist/processor/utils/processor.utils.js.map +1 -1
- package/dist/processor/utils/request.utils.d.ts +20 -0
- package/dist/processor/utils/request.utils.js +113 -0
- package/dist/processor/utils/request.utils.js.map +1 -0
- package/dist/products/services/products.service.d.ts +330 -77
- package/dist/products/services/products.service.js +2586 -397
- package/dist/products/services/products.service.js.map +1 -1
- package/dist/products/utils/string.utils.d.ts +1 -1
- package/dist/products/utils/string.utils.js +14 -2
- package/dist/products/utils/string.utils.js.map +1 -1
- package/dist/products/validators/index.d.ts +7 -1
- package/dist/products/validators/index.js +16 -1
- package/dist/products/validators/index.js.map +1 -1
- package/dist/products/validators/joi-validators/create.productAgent.validator.d.ts +3 -0
- package/dist/products/validators/joi-validators/create.productAgent.validator.js +266 -0
- package/dist/products/validators/joi-validators/create.productAgent.validator.js.map +1 -0
- package/dist/products/validators/joi-validators/create.productDatabase.validator.js +5 -0
- package/dist/products/validators/joi-validators/create.productDatabase.validator.js.map +1 -1
- package/dist/products/validators/joi-validators/create.productEnv.validator.js +1 -0
- package/dist/products/validators/joi-validators/create.productEnv.validator.js.map +1 -1
- package/dist/products/validators/joi-validators/create.productGraph.validator.js +89 -0
- package/dist/products/validators/joi-validators/create.productGraph.validator.js.map +1 -0
- package/dist/products/validators/joi-validators/create.productHealthcheck.validator.d.ts +4 -0
- package/dist/products/validators/joi-validators/create.productHealthcheck.validator.js +58 -0
- package/dist/products/validators/joi-validators/create.productHealthcheck.validator.js.map +1 -0
- package/dist/products/validators/joi-validators/create.productMessageBrokers.validator.js +81 -25
- package/dist/products/validators/joi-validators/create.productMessageBrokers.validator.js.map +1 -1
- package/dist/products/validators/joi-validators/create.productModel.validator.d.ts +3 -0
- package/dist/products/validators/joi-validators/create.productModel.validator.js +132 -0
- package/dist/products/validators/joi-validators/create.productModel.validator.js.map +1 -0
- package/dist/products/validators/joi-validators/create.productNotification.validator.js +133 -45
- package/dist/products/validators/joi-validators/create.productNotification.validator.js.map +1 -1
- package/dist/products/validators/joi-validators/create.productStorage.validator.js +77 -18
- package/dist/products/validators/joi-validators/create.productStorage.validator.js.map +1 -1
- package/dist/products/validators/joi-validators/create.productVector.validator.d.ts +3 -0
- package/dist/products/validators/joi-validators/create.productVector.validator.js +135 -0
- package/dist/products/validators/joi-validators/create.productVector.validator.js.map +1 -0
- package/dist/products/validators/joi-validators/update.dataValue.validator.js +1 -0
- package/dist/products/validators/joi-validators/update.dataValue.validator.js.map +1 -1
- package/dist/products/validators/joi-validators/update.productDatabase.validator.js +5 -0
- package/dist/products/validators/joi-validators/update.productDatabase.validator.js.map +1 -1
- package/dist/products/validators/joi-validators/update.productEnv.validator.js +3 -0
- package/dist/products/validators/joi-validators/update.productEnv.validator.js.map +1 -1
- package/dist/products/validators/joi-validators/update.productGraph.validator.js +88 -0
- package/dist/products/validators/joi-validators/update.productGraph.validator.js.map +1 -0
- package/dist/resilience/fallback.service.d.ts +140 -0
- package/dist/resilience/fallback.service.js +764 -0
- package/dist/resilience/fallback.service.js.map +1 -0
- package/dist/resilience/healthcheck.service.d.ts +159 -0
- package/dist/resilience/healthcheck.service.js +943 -0
- package/dist/resilience/healthcheck.service.js.map +1 -0
- package/dist/resilience/index.d.ts +104 -0
- package/dist/resilience/index.js +140 -0
- package/dist/resilience/index.js.map +1 -0
- package/dist/resilience/quota.service.d.ts +82 -0
- package/dist/resilience/quota.service.js +516 -0
- package/dist/resilience/quota.service.js.map +1 -0
- package/dist/resilience/resilience.service.d.ts +98 -0
- package/dist/resilience/resilience.service.js +560 -0
- package/dist/resilience/resilience.service.js.map +1 -0
- package/dist/resilience/types/index.d.ts +513 -0
- package/dist/resilience/types/index.js +29 -0
- package/dist/resilience/types/index.js.map +1 -0
- package/dist/secrets/index.d.ts +10 -0
- package/dist/secrets/index.js +33 -0
- package/dist/secrets/index.js.map +1 -0
- package/dist/secrets/secrets.resolver.d.ts +52 -0
- package/dist/secrets/secrets.resolver.js +233 -0
- package/dist/secrets/secrets.resolver.js.map +1 -0
- package/dist/secrets/secrets.service.d.ts +93 -0
- package/dist/secrets/secrets.service.js +258 -0
- package/dist/secrets/secrets.service.js.map +1 -0
- package/dist/secrets/secrets.types.d.ts +188 -0
- package/dist/secrets/secrets.types.js +87 -0
- package/dist/secrets/secrets.types.js.map +1 -0
- package/dist/sessions/index.d.ts +50 -0
- package/dist/sessions/index.js +93 -0
- package/dist/sessions/index.js.map +1 -0
- package/dist/sessions/sessions.helper.d.ts +68 -0
- package/dist/sessions/sessions.helper.js +116 -0
- package/dist/sessions/sessions.helper.js.map +1 -0
- package/dist/sessions/sessions.resolver.d.ts +150 -0
- package/dist/sessions/sessions.resolver.js +356 -0
- package/dist/sessions/sessions.resolver.js.map +1 -0
- package/dist/sessions/sessions.service.d.ts +170 -0
- package/dist/sessions/sessions.service.js +736 -0
- package/dist/sessions/sessions.service.js.map +1 -0
- package/dist/sessions/types/index.d.ts +290 -0
- package/dist/sessions/types/index.js +6 -0
- package/dist/sessions/types/index.js.map +1 -0
- package/dist/storage/index.d.ts +66 -0
- package/dist/storage/index.js +98 -0
- package/dist/storage/index.js.map +1 -0
- package/dist/storage/storage.service.d.ts +151 -0
- package/dist/storage/storage.service.js +522 -0
- package/dist/storage/storage.service.js.map +1 -0
- package/dist/storage/types/index.d.ts +207 -0
- package/dist/storage/types/index.js +6 -0
- package/dist/storage/types/index.js.map +1 -0
- package/dist/storage/utils/storage.util.d.ts +51 -0
- package/dist/storage/utils/storage.util.js +402 -0
- package/dist/storage/utils/storage.util.js.map +1 -0
- package/dist/test/index.d.ts +3 -0
- package/dist/test/index.js +11 -0
- package/dist/test/index.js.map +1 -0
- package/dist/test/test.appBuilder.d.ts +0 -1
- package/dist/test/test.appBuilder.js +0 -15
- package/dist/test/test.appBuilder.js.map +1 -1
- package/dist/test/test.broker.kafka.js +172 -0
- package/dist/test/test.broker.kafka.js.map +1 -0
- package/dist/test/test.broker.nats.js +193 -0
- package/dist/test/test.broker.nats.js.map +1 -0
- package/dist/test/test.broker.pubsub.js +171 -0
- package/dist/test/test.broker.pubsub.js.map +1 -0
- package/dist/test/test.broker.rabbitmq.js +164 -0
- package/dist/test/test.broker.rabbitmq.js.map +1 -0
- package/dist/test/test.broker.redis.js +168 -0
- package/dist/test/test.broker.redis.js.map +1 -0
- package/dist/test/test.broker.sqs.d.ts +1 -0
- package/dist/test/test.broker.sqs.js +158 -0
- package/dist/test/test.broker.sqs.js.map +1 -0
- package/dist/test/test.caches.d.ts +1 -0
- package/dist/test/test.caches.js +231 -0
- package/dist/test/test.caches.js.map +1 -0
- package/dist/test/test.database.d.ts +1 -0
- package/dist/test/test.database.dynamo.d.ts +1 -0
- package/dist/test/test.database.dynamo.js +265 -0
- package/dist/test/test.database.dynamo.js.map +1 -0
- package/dist/test/test.database.js +140 -0
- package/dist/test/test.database.js.map +1 -0
- package/dist/test/test.database.mongo.d.ts +1 -0
- package/dist/test/test.database.mongo.js +371 -0
- package/dist/test/test.database.mongo.js.map +1 -0
- package/dist/test/test.database.mysql.d.ts +1 -0
- package/dist/test/test.database.mysql.js +415 -0
- package/dist/test/test.database.mysql.js.map +1 -0
- package/dist/test/test.database.postgres.d.ts +1 -0
- package/dist/test/test.database.postgres.js +412 -0
- package/dist/test/test.database.postgres.js.map +1 -0
- package/dist/test/test.email.brevo.d.ts +1 -0
- package/dist/test/test.email.brevo.js +326 -0
- package/dist/test/test.email.brevo.js.map +1 -0
- package/dist/test/test.email.mailgun.d.ts +1 -0
- package/dist/test/test.email.mailgun.js +352 -0
- package/dist/test/test.email.mailgun.js.map +1 -0
- package/dist/test/test.email.postmark.d.ts +1 -0
- package/dist/test/test.email.postmark.js +316 -0
- package/dist/test/test.email.postmark.js.map +1 -0
- package/dist/test/test.email.sendgrid.d.ts +1 -0
- package/dist/test/test.email.sendgrid.js +365 -0
- package/dist/test/test.email.sendgrid.js.map +1 -0
- package/dist/test/test.email.smtp.d.ts +1 -0
- package/dist/test/test.email.smtp.js +323 -0
- package/dist/test/test.email.smtp.js.map +1 -0
- package/dist/test/test.graph.arangodb.d.ts +1 -0
- package/dist/test/test.graph.arangodb.js +358 -0
- package/dist/test/test.graph.arangodb.js.map +1 -0
- package/dist/test/test.graph.memgraph.d.ts +1 -0
- package/dist/test/test.graph.memgraph.js +320 -0
- package/dist/test/test.graph.memgraph.js.map +1 -0
- package/dist/test/test.graph.neo4j.d.ts +1 -0
- package/dist/test/test.graph.neo4j.js +218 -0
- package/dist/test/test.graph.neo4j.js.map +1 -0
- package/dist/test/test.graph.neptune.d.ts +1 -0
- package/dist/test/test.graph.neptune.js +331 -0
- package/dist/test/test.graph.neptune.js.map +1 -0
- package/dist/test/test.health.js +1 -0
- package/dist/test/test.health.js.map +1 -0
- package/dist/test/test.import.d.ts +0 -1
- package/dist/test/test.import.js +0 -1459
- package/dist/test/test.import.js.map +1 -1
- package/dist/test/test.import.openapi.d.ts +0 -1
- package/dist/test/test.import.openapi.js +0 -75
- package/dist/test/test.import.openapi.js.map +1 -1
- package/dist/test/test.imports.js +14 -55
- package/dist/test/test.imports.js.map +1 -1
- package/dist/test/test.logs.d.ts +0 -1
- package/dist/test/test.logs.js +0 -17
- package/dist/test/test.logs.js.map +1 -1
- package/dist/test/test.notifications.d.ts +1 -0
- package/dist/test/test.notifications.js +198 -0
- package/dist/test/test.notifications.js.map +1 -0
- package/dist/test/test.notifiers.js +1 -0
- package/dist/test/test.notifiers.js.map +1 -0
- package/dist/test/test.processor.d.ts +0 -1
- package/dist/test/test.processor.js +0 -122
- package/dist/test/test.processor.js.map +1 -1
- package/dist/test/test.productBuilder.d.ts +0 -1
- package/dist/test/test.productBuilder.js +0 -660
- package/dist/test/test.productBuilder.js.map +1 -1
- package/dist/test/test.products.js +1 -0
- package/dist/test/test.products.js.map +1 -0
- package/dist/test/test.push.expo.d.ts +1 -0
- package/dist/test/test.push.expo.js +442 -0
- package/dist/test/test.push.expo.js.map +1 -0
- package/dist/test/test.push.firebase.d.ts +1 -0
- package/dist/test/test.push.firebase.js +409 -0
- package/dist/test/test.push.firebase.js.map +1 -0
- package/dist/test/test.session.d.ts +1 -0
- package/dist/test/test.session.js +299 -0
- package/dist/test/test.session.js.map +1 -0
- package/dist/test/test.sms.nexmo.d.ts +1 -0
- package/dist/test/test.sms.nexmo.js +278 -0
- package/dist/test/test.sms.nexmo.js.map +1 -0
- package/dist/test/test.sms.twilio.d.ts +1 -0
- package/dist/test/test.sms.twilio.js +275 -0
- package/dist/test/test.sms.twilio.js.map +1 -0
- package/dist/test/test.storage.d.ts +1 -0
- package/dist/test/test.storage.js +202 -0
- package/dist/test/test.storage.js.map +1 -0
- package/dist/test/test.triggers.d.ts +1 -0
- package/dist/test/test.triggers.js +314 -0
- package/dist/test/test.triggers.js.map +1 -0
- package/dist/test/test.vector.pinecone.d.ts +1 -0
- package/dist/test/test.vector.pinecone.js +238 -0
- package/dist/test/test.vector.pinecone.js.map +1 -0
- package/dist/test/test.vector.qdrant.d.ts +1 -0
- package/dist/test/test.vector.qdrant.js +307 -0
- package/dist/test/test.vector.qdrant.js.map +1 -0
- package/dist/test/test.vector.weaviate.d.ts +1 -0
- package/dist/test/test.vector.weaviate.js +325 -0
- package/dist/test/test.vector.weaviate.js.map +1 -0
- package/dist/types/appBuilder.types.d.ts +10 -13
- package/dist/types/enums.d.ts +11 -1
- package/dist/types/enums.js +10 -0
- package/dist/types/enums.js.map +1 -1
- package/dist/types/index.types.d.ts +6 -4
- package/dist/types/index.types.js +0 -1
- package/dist/types/index.types.js.map +1 -1
- package/dist/types/pricing.types.d.ts +4 -0
- package/dist/types/pricing.types.js +3 -0
- package/dist/types/pricing.types.js.map +1 -0
- package/dist/types/processor.types.d.ts +245 -20
- package/dist/types/processor.types.js +9 -1
- package/dist/types/processor.types.js.map +1 -1
- package/dist/types/productsBuilder.types.d.ts +906 -24
- package/dist/types/productsBuilder.types.js +173 -2
- package/dist/types/productsBuilder.types.js.map +1 -1
- package/dist/types/request-tracker.interface.js +1 -0
- package/dist/types/request-tracker.interface.js.map +1 -0
- package/dist/types/requests.types.d.ts +2 -0
- package/dist/utils/constants.d.ts +1 -0
- package/dist/utils/constants.js +5 -0
- package/dist/utils/constants.js.map +1 -0
- package/dist/utils/index.d.ts +0 -2
- package/dist/utils/index.js +24 -52
- package/dist/utils/index.js.map +1 -1
- package/dist/vector/adapters/base.adapter.d.ts +152 -0
- package/dist/vector/adapters/base.adapter.js +137 -0
- package/dist/vector/adapters/base.adapter.js.map +1 -0
- package/dist/vector/adapters/index.d.ts +10 -0
- package/dist/vector/adapters/index.js +19 -0
- package/dist/vector/adapters/index.js.map +1 -0
- package/dist/vector/adapters/memory.adapter.d.ts +85 -0
- package/dist/vector/adapters/memory.adapter.js +505 -0
- package/dist/vector/adapters/memory.adapter.js.map +1 -0
- package/dist/vector/adapters/pinecone.adapter.d.ts +52 -0
- package/dist/vector/adapters/pinecone.adapter.js +400 -0
- package/dist/vector/adapters/pinecone.adapter.js.map +1 -0
- package/dist/vector/adapters/qdrant.adapter.d.ts +56 -0
- package/dist/vector/adapters/qdrant.adapter.js +392 -0
- package/dist/vector/adapters/qdrant.adapter.js.map +1 -0
- package/dist/vector/adapters/weaviate.adapter.d.ts +64 -0
- package/dist/vector/adapters/weaviate.adapter.js +478 -0
- package/dist/vector/adapters/weaviate.adapter.js.map +1 -0
- package/dist/vector/index.d.ts +47 -0
- package/dist/vector/index.js +72 -0
- package/dist/vector/index.js.map +1 -0
- package/dist/vector/types/connection.interface.d.ts +151 -0
- package/dist/vector/types/connection.interface.js +8 -0
- package/dist/vector/types/connection.interface.js.map +1 -0
- package/dist/vector/types/embedding.interface.d.ts +144 -0
- package/dist/vector/types/embedding.interface.js +8 -0
- package/dist/vector/types/embedding.interface.js.map +1 -0
- package/dist/vector/types/enums.d.ts +104 -0
- package/dist/vector/types/enums.js +113 -0
- package/dist/vector/types/enums.js.map +1 -0
- package/dist/vector/types/index.d.ts +9 -0
- package/dist/vector/types/index.js +16 -0
- package/dist/vector/types/index.js.map +1 -0
- package/dist/vector/types/vector.interface.d.ts +315 -0
- package/dist/vector/types/vector.interface.js +8 -0
- package/dist/vector/types/vector.interface.js.map +1 -0
- package/dist/vector/utils/index.d.ts +6 -0
- package/dist/vector/utils/index.js +11 -0
- package/dist/vector/utils/index.js.map +1 -0
- package/dist/vector/utils/vector-error.d.ts +69 -0
- package/dist/vector/utils/vector-error.js +116 -0
- package/dist/vector/utils/vector-error.js.map +1 -0
- package/dist/vector/vector-database.service.d.ts +408 -0
- package/dist/vector/vector-database.service.js +545 -0
- package/dist/vector/vector-database.service.js.map +1 -0
- package/dist/vector/vector.service.d.ts +245 -0
- package/dist/vector/vector.service.js +384 -0
- package/dist/vector/vector.service.js.map +1 -0
- package/dist/workflows/index.d.ts +30 -0
- package/dist/workflows/index.js +64 -0
- package/dist/workflows/index.js.map +1 -0
- package/dist/workflows/types/index.d.ts +6 -0
- package/dist/workflows/types/index.js +23 -0
- package/dist/workflows/types/index.js.map +1 -0
- package/dist/workflows/types/workflows.types.d.ts +1035 -0
- package/dist/workflows/types/workflows.types.js +13 -0
- package/dist/workflows/types/workflows.types.js.map +1 -0
- package/dist/workflows/workflow-builder.d.ts +70 -0
- package/dist/workflows/workflow-builder.js +338 -0
- package/dist/workflows/workflow-builder.js.map +1 -0
- package/dist/workflows/workflow-executor.d.ts +208 -0
- package/dist/workflows/workflow-executor.js +1194 -0
- package/dist/workflows/workflow-executor.js.map +1 -0
- package/dist/workflows/workflows.service.d.ts +404 -0
- package/dist/workflows/workflows.service.js +1620 -0
- package/dist/workflows/workflows.service.js.map +1 -0
- package/package.json +54 -11
- package/dist/actions/actions.repo.js +0 -13
- package/dist/actions/actions.repo.js.map +0 -1
- package/dist/actions/actions.service.js +0 -24
- package/dist/actions/actions.service.js.map +0 -1
- package/dist/actions/utils/actions.util.read.js +0 -427
- package/dist/actions/utils/actions.util.read.js.map +0 -1
- package/dist/api/services/integrationsApi.service.d.ts +0 -18
- package/dist/api/services/integrationsApi.service.js +0 -80
- package/dist/api/services/integrationsApi.service.js.map +0 -1
- package/dist/appBuilder/services/app.service.d.ts +0 -111
- package/dist/appBuilder/services/app.service.js +0 -737
- package/dist/appBuilder/services/app.service.js.map +0 -1
- package/dist/appBuilder/services/appBuilder.service.d.ts +0 -111
- package/dist/appBuilder/services/appBuilder.service.js +0 -662
- package/dist/appBuilder/services/appBuilder.service.js.map +0 -1
- package/dist/appBuilder/utils/objects.utils.d.ts +0 -3
- package/dist/appBuilder/utils/objects.utils.js +0 -9
- package/dist/appBuilder/utils/objects.utils.js.map +0 -1
- package/dist/appBuilder/utils/string.utils.d.ts +0 -2
- package/dist/appBuilder/utils/string.utils.js +0 -57
- package/dist/appBuilder/utils/string.utils.js.map +0 -1
- package/dist/appBuilder/validators/index.d.ts +0 -19
- package/dist/appBuilder/validators/index.js +0 -40
- package/dist/appBuilder/validators/index.js.map +0 -1
- package/dist/appBuilder/validators/joi-validators/create.app.validator.js +0 -10
- package/dist/appBuilder/validators/joi-validators/create.app.validator.js.map +0 -1
- package/dist/appBuilder/validators/joi-validators/create.appAction.validator.d.ts +0 -4
- package/dist/appBuilder/validators/joi-validators/create.appAction.validator.js +0 -20
- package/dist/appBuilder/validators/joi-validators/create.appAction.validator.js.map +0 -1
- package/dist/appBuilder/validators/joi-validators/create.appActionResponse.validator.d.ts +0 -7
- package/dist/appBuilder/validators/joi-validators/create.appActionResponse.validator.js +0 -44
- package/dist/appBuilder/validators/joi-validators/create.appActionResponse.validator.js.map +0 -1
- package/dist/appBuilder/validators/joi-validators/create.appAuth.validator.d.ts +0 -3
- package/dist/appBuilder/validators/joi-validators/create.appAuth.validator.js +0 -31
- package/dist/appBuilder/validators/joi-validators/create.appAuth.validator.js.map +0 -1
- package/dist/appBuilder/validators/joi-validators/create.appBody.validators.d.ts +0 -4
- package/dist/appBuilder/validators/joi-validators/create.appBody.validators.js +0 -11
- package/dist/appBuilder/validators/joi-validators/create.appBody.validators.js.map +0 -1
- package/dist/appBuilder/validators/joi-validators/create.appConstants.validator.d.ts +0 -4
- package/dist/appBuilder/validators/joi-validators/create.appConstants.validator.js +0 -12
- package/dist/appBuilder/validators/joi-validators/create.appConstants.validator.js.map +0 -1
- package/dist/appBuilder/validators/joi-validators/create.appEnv.validator.d.ts +0 -4
- package/dist/appBuilder/validators/joi-validators/create.appEnv.validator.js +0 -17
- package/dist/appBuilder/validators/joi-validators/create.appEnv.validator.js.map +0 -1
- package/dist/appBuilder/validators/joi-validators/create.appEvent.validator.d.ts +0 -5
- package/dist/appBuilder/validators/joi-validators/create.appEvent.validator.js +0 -30
- package/dist/appBuilder/validators/joi-validators/create.appEvent.validator.js.map +0 -1
- package/dist/appBuilder/validators/joi-validators/create.appVariable.validator.d.ts +0 -4
- package/dist/appBuilder/validators/joi-validators/create.appVariable.validator.js +0 -14
- package/dist/appBuilder/validators/joi-validators/create.appVariable.validator.js.map +0 -1
- package/dist/appBuilder/validators/joi-validators/sample.validator.d.ts +0 -5
- package/dist/appBuilder/validators/joi-validators/sample.validator.js +0 -26
- package/dist/appBuilder/validators/joi-validators/sample.validator.js.map +0 -1
- package/dist/appBuilder/validators/joi-validators/update.app.validator.d.ts +0 -4
- package/dist/appBuilder/validators/joi-validators/update.app.validator.js +0 -34
- package/dist/appBuilder/validators/joi-validators/update.app.validator.js.map +0 -1
- package/dist/appBuilder/validators/joi-validators/update.appAction.validator.d.ts +0 -4
- package/dist/appBuilder/validators/joi-validators/update.appAction.validator.js +0 -23
- package/dist/appBuilder/validators/joi-validators/update.appAction.validator.js.map +0 -1
- package/dist/appBuilder/validators/joi-validators/update.appActionResponse.validator.d.ts +0 -3
- package/dist/appBuilder/validators/joi-validators/update.appActionResponse.validator.js +0 -21
- package/dist/appBuilder/validators/joi-validators/update.appActionResponse.validator.js.map +0 -1
- package/dist/appBuilder/validators/joi-validators/update.appAuth.validator.d.ts +0 -4
- package/dist/appBuilder/validators/joi-validators/update.appAuth.validator.js +0 -19
- package/dist/appBuilder/validators/joi-validators/update.appAuth.validator.js.map +0 -1
- package/dist/appBuilder/validators/joi-validators/update.appConstants.validator.d.ts +0 -4
- package/dist/appBuilder/validators/joi-validators/update.appConstants.validator.js +0 -12
- package/dist/appBuilder/validators/joi-validators/update.appConstants.validator.js.map +0 -1
- package/dist/appBuilder/validators/joi-validators/update.appEnv.validator.d.ts +0 -4
- package/dist/appBuilder/validators/joi-validators/update.appEnv.validator.js +0 -17
- package/dist/appBuilder/validators/joi-validators/update.appEnv.validator.js.map +0 -1
- package/dist/appBuilder/validators/joi-validators/update.appEvent.validator.d.ts +0 -4
- package/dist/appBuilder/validators/joi-validators/update.appEvent.validator.js +0 -16
- package/dist/appBuilder/validators/joi-validators/update.appEvent.validator.js.map +0 -1
- package/dist/appBuilder/validators/joi-validators/update.appVariables.validator.d.ts +0 -4
- package/dist/appBuilder/validators/joi-validators/update.appVariables.validator.js +0 -14
- package/dist/appBuilder/validators/joi-validators/update.appVariables.validator.js.map +0 -1
- package/dist/appBuilder/validators/joi-validators/update.validation.entityData.validator.js +0 -27
- package/dist/appBuilder/validators/joi-validators/update.validation.entityData.validator.js.map +0 -1
- package/dist/apps/validators/joi-validators/create.appEvent.validator.d.ts +0 -5
- package/dist/apps/validators/joi-validators/create.appEvent.validator.js +0 -30
- package/dist/apps/validators/joi-validators/create.appEvent.validator.js.map +0 -1
- package/dist/apps/validators/joi-validators/update.appEvent.validator.d.ts +0 -4
- package/dist/apps/validators/joi-validators/update.appEvent.validator.js +0 -16
- package/dist/apps/validators/joi-validators/update.appEvent.validator.js.map +0 -1
- package/dist/clients/integrations.client.d.ts +0 -2
- package/dist/clients/integrations.client.js +0 -26
- package/dist/clients/integrations.client.js.map +0 -1
- package/dist/integrationsBuilder/services/integration.service.d.ts +0 -138
- package/dist/integrationsBuilder/services/integration.service.js +0 -1148
- package/dist/integrationsBuilder/services/integration.service.js.map +0 -1
- package/dist/integrationsBuilder/services/integrationBuilder.service.d.ts +0 -130
- package/dist/integrationsBuilder/services/integrationBuilder.service.js +0 -1017
- package/dist/integrationsBuilder/services/integrationBuilder.service.js.map +0 -1
- package/dist/integrationsBuilder/utils/objects.utils.d.ts +0 -2
- package/dist/integrationsBuilder/utils/objects.utils.js +0 -48
- package/dist/integrationsBuilder/utils/objects.utils.js.map +0 -1
- package/dist/integrationsBuilder/utils/string.utils.d.ts +0 -1
- package/dist/integrationsBuilder/utils/string.utils.js +0 -9
- package/dist/integrationsBuilder/utils/string.utils.js.map +0 -1
- package/dist/integrationsBuilder/validators/index.d.ts +0 -18
- package/dist/integrationsBuilder/validators/index.js +0 -38
- package/dist/integrationsBuilder/validators/index.js.map +0 -1
- package/dist/integrationsBuilder/validators/joi-validators/create.integration.validator.d.ts +0 -3
- package/dist/integrationsBuilder/validators/joi-validators/create.integration.validator.js +0 -10
- package/dist/integrationsBuilder/validators/joi-validators/create.integration.validator.js.map +0 -1
- package/dist/integrationsBuilder/validators/joi-validators/create.integrationApp.validator.d.ts +0 -4
- package/dist/integrationsBuilder/validators/joi-validators/create.integrationApp.validator.js +0 -26
- package/dist/integrationsBuilder/validators/joi-validators/create.integrationApp.validator.js.map +0 -1
- package/dist/integrationsBuilder/validators/joi-validators/create.integrationCache.validator.d.ts +0 -3
- package/dist/integrationsBuilder/validators/joi-validators/create.integrationCache.validator.js +0 -8
- package/dist/integrationsBuilder/validators/joi-validators/create.integrationCache.validator.js.map +0 -1
- package/dist/integrationsBuilder/validators/joi-validators/create.integrationDatabase.validator.d.ts +0 -3
- package/dist/integrationsBuilder/validators/joi-validators/create.integrationDatabase.validator.js +0 -8
- package/dist/integrationsBuilder/validators/joi-validators/create.integrationDatabase.validator.js.map +0 -1
- package/dist/integrationsBuilder/validators/joi-validators/create.integrationEnv.validator.d.ts +0 -3
- package/dist/integrationsBuilder/validators/joi-validators/create.integrationEnv.validator.js +0 -10
- package/dist/integrationsBuilder/validators/joi-validators/create.integrationEnv.validator.js.map +0 -1
- package/dist/integrationsBuilder/validators/joi-validators/create.integrationFeature.validator.d.ts +0 -3
- package/dist/integrationsBuilder/validators/joi-validators/create.integrationFeature.validator.js +0 -60
- package/dist/integrationsBuilder/validators/joi-validators/create.integrationFeature.validator.js.map +0 -1
- package/dist/integrationsBuilder/validators/joi-validators/create.integrationFunction.validator.d.ts +0 -3
- package/dist/integrationsBuilder/validators/joi-validators/create.integrationFunction.validator.js +0 -8
- package/dist/integrationsBuilder/validators/joi-validators/create.integrationFunction.validator.js.map +0 -1
- package/dist/integrationsBuilder/validators/joi-validators/create.integrationJob.validator.d.ts +0 -3
- package/dist/integrationsBuilder/validators/joi-validators/create.integrationJob.validator.js +0 -8
- package/dist/integrationsBuilder/validators/joi-validators/create.integrationJob.validator.js.map +0 -1
- package/dist/integrationsBuilder/validators/joi-validators/create.integrationNotification.validator.d.ts +0 -3
- package/dist/integrationsBuilder/validators/joi-validators/create.integrationNotification.validator.js +0 -8
- package/dist/integrationsBuilder/validators/joi-validators/create.integrationNotification.validator.js.map +0 -1
- package/dist/integrationsBuilder/validators/joi-validators/update.integrationApp.validator.d.ts +0 -3
- package/dist/integrationsBuilder/validators/joi-validators/update.integrationApp.validator.js +0 -9
- package/dist/integrationsBuilder/validators/joi-validators/update.integrationApp.validator.js.map +0 -1
- package/dist/integrationsBuilder/validators/joi-validators/update.integrationCache.validator.d.ts +0 -3
- package/dist/integrationsBuilder/validators/joi-validators/update.integrationCache.validator.js +0 -8
- package/dist/integrationsBuilder/validators/joi-validators/update.integrationCache.validator.js.map +0 -1
- package/dist/integrationsBuilder/validators/joi-validators/update.integrationDatabase.validator.d.ts +0 -3
- package/dist/integrationsBuilder/validators/joi-validators/update.integrationDatabase.validator.js +0 -8
- package/dist/integrationsBuilder/validators/joi-validators/update.integrationDatabase.validator.js.map +0 -1
- package/dist/integrationsBuilder/validators/joi-validators/update.integrationEnv.validator.d.ts +0 -3
- package/dist/integrationsBuilder/validators/joi-validators/update.integrationEnv.validator.js +0 -8
- package/dist/integrationsBuilder/validators/joi-validators/update.integrationEnv.validator.js.map +0 -1
- package/dist/integrationsBuilder/validators/joi-validators/update.integrationFeature.validator.d.ts +0 -3
- package/dist/integrationsBuilder/validators/joi-validators/update.integrationFeature.validator.js +0 -8
- package/dist/integrationsBuilder/validators/joi-validators/update.integrationFeature.validator.js.map +0 -1
- package/dist/integrationsBuilder/validators/joi-validators/update.integrationFunction.validator copy.d.ts +0 -3
- package/dist/integrationsBuilder/validators/joi-validators/update.integrationFunction.validator copy.js +0 -8
- package/dist/integrationsBuilder/validators/joi-validators/update.integrationFunction.validator copy.js.map +0 -1
- package/dist/integrationsBuilder/validators/joi-validators/update.integrationJob.validator.d.ts +0 -3
- package/dist/integrationsBuilder/validators/joi-validators/update.integrationJob.validator.js +0 -8
- package/dist/integrationsBuilder/validators/joi-validators/update.integrationJob.validator.js.map +0 -1
- package/dist/integrationsBuilder/validators/joi-validators/update.integrationNotification.validator.d.ts +0 -3
- package/dist/integrationsBuilder/validators/joi-validators/update.integrationNotification.validator.js +0 -8
- package/dist/integrationsBuilder/validators/joi-validators/update.integrationNotification.validator.js.map +0 -1
- package/dist/postman.d.ts +0 -1
- package/dist/postman.js +0 -21674
- package/dist/postman.js.map +0 -1
- package/dist/processor/utils/mongo.util.js +0 -152
- package/dist/processor/utils/mongo.util.js.map +0 -1
- package/dist/processor/utils/postgres.util.d.ts +0 -14
- package/dist/processor/utils/postgres.util.js +0 -83
- package/dist/processor/utils/postgres.util.js.map +0 -1
- package/dist/products/validators/joi-validators/create.product.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/create.product.validator.js +0 -10
- package/dist/products/validators/joi-validators/create.product.validator.js.map +0 -1
- package/dist/test.appBuilder.js +0 -14
- package/dist/test.appBuilder.js.map +0 -1
- package/dist/test.import.js +0 -24
- package/dist/test.import.js.map +0 -1
- package/dist/test.imports.js +0 -28
- package/dist/test.imports.js.map +0 -1
- package/dist/test.integrationBuilder.js +0 -276
- package/dist/test.integrationBuilder.js.map +0 -1
- package/dist/test.processor.js +0 -23
- package/dist/test.processor.js.map +0 -1
- package/dist/test.utils.js +0 -25
- package/dist/test.utils.js.map +0 -1
- package/dist/types/integrationsBuilder.types.d.ts +0 -276
- package/dist/types/integrationsBuilder.types.js +0 -51
- package/dist/types/integrationsBuilder.types.js.map +0 -1
- /package/dist/{actions/actions.repo.d.ts → pricing/pricing.repo.d.ts} +0 -0
- /package/dist/{appBuilder/validators/joi-validators/create.app.validator.d.ts → products/validators/joi-validators/create.productGraph.validator.d.ts} +0 -0
- /package/dist/{appBuilder/validators/joi-validators/update.validation.entityData.validator.d.ts → products/validators/joi-validators/update.productGraph.validator.d.ts} +0 -0
- /package/dist/{test.appBuilder.d.ts → test/test.broker.kafka.d.ts} +0 -0
- /package/dist/{test.imports.d.ts → test/test.broker.nats.d.ts} +0 -0
- /package/dist/{test.integrationBuilder.d.ts → test/test.broker.pubsub.d.ts} +0 -0
- /package/dist/{test.processor.d.ts → test/test.broker.rabbitmq.d.ts} +0 -0
- /package/dist/{test.utils.d.ts → test/test.broker.redis.d.ts} +0 -0
- /package/dist/{actions/actions.service.d.ts → test/test.health.d.ts} +0 -0
- /package/dist/{actions/utils/actions.util.read.d.ts → test/test.notifiers.d.ts} +0 -0
- /package/dist/{processor/utils/mongo.util.d.ts → test/test.products.d.ts} +0 -0
- /package/dist/{test.import.d.ts → types/request-tracker.interface.d.ts} +0 -0
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Graph Query Interfaces
|
|
3
|
+
*
|
|
4
|
+
* Types for query operations and filter clauses
|
|
5
|
+
* Based on Ductape Graph API documentation (nodes.md, overview.md)
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Filter operators for graph queries
|
|
9
|
+
* As documented in nodes.md
|
|
10
|
+
* Uses lowercase naming convention to match Mongoose/MongoDB style for less adoption friction
|
|
11
|
+
* Note: Uppercase versions are still supported for backwards compatibility
|
|
12
|
+
*/
|
|
13
|
+
export interface IGraphFilterOperator {
|
|
14
|
+
/** Greater than */
|
|
15
|
+
$gt?: number | Date;
|
|
16
|
+
/** Greater than or equal */
|
|
17
|
+
$gte?: number | Date;
|
|
18
|
+
/** Less than */
|
|
19
|
+
$lt?: number | Date;
|
|
20
|
+
/** Less than or equal */
|
|
21
|
+
$lte?: number | Date;
|
|
22
|
+
/** Not equal */
|
|
23
|
+
$ne?: any;
|
|
24
|
+
/** In array */
|
|
25
|
+
$in?: any[];
|
|
26
|
+
/** Not in array */
|
|
27
|
+
$nin?: any[];
|
|
28
|
+
/** String contains */
|
|
29
|
+
$contains?: string;
|
|
30
|
+
/** String starts with */
|
|
31
|
+
$startsWith?: string;
|
|
32
|
+
/** String ends with */
|
|
33
|
+
$endsWith?: string;
|
|
34
|
+
/** Property exists */
|
|
35
|
+
$exists?: boolean;
|
|
36
|
+
/** Regular expression match */
|
|
37
|
+
$regex?: string | RegExp;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Where clause for filtering
|
|
41
|
+
* As documented in nodes.md
|
|
42
|
+
* Uses lowercase naming convention to match Mongoose/MongoDB style
|
|
43
|
+
*/
|
|
44
|
+
export interface IGraphWhereClause {
|
|
45
|
+
/** AND conditions */
|
|
46
|
+
$and?: IGraphWhereClause[] | IGraphWhereClause;
|
|
47
|
+
/** OR conditions */
|
|
48
|
+
$or?: IGraphWhereClause[] | IGraphWhereClause;
|
|
49
|
+
/** NOT conditions */
|
|
50
|
+
$not?: IGraphWhereClause;
|
|
51
|
+
/** Property conditions */
|
|
52
|
+
[key: string]: any | IGraphFilterOperator | IGraphWhereClause | IGraphWhereClause[] | undefined;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Raw query options
|
|
56
|
+
* As documented in overview.md
|
|
57
|
+
*/
|
|
58
|
+
export interface IRawQueryOptions {
|
|
59
|
+
/** The query string (Cypher, Gremlin, AQL) */
|
|
60
|
+
query: string;
|
|
61
|
+
/** Query parameters */
|
|
62
|
+
params?: Record<string, any>;
|
|
63
|
+
/** Connection context override */
|
|
64
|
+
env?: string;
|
|
65
|
+
/** Graph tag override */
|
|
66
|
+
graph?: string;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Raw query result
|
|
70
|
+
*/
|
|
71
|
+
export interface IRawQueryResult<T = any> {
|
|
72
|
+
/** Query results */
|
|
73
|
+
records: T[];
|
|
74
|
+
/** Summary information */
|
|
75
|
+
summary?: {
|
|
76
|
+
/** Query execution time */
|
|
77
|
+
resultAvailableAfter?: number;
|
|
78
|
+
/** Query consumption time */
|
|
79
|
+
resultConsumedAfter?: number;
|
|
80
|
+
/** Database info */
|
|
81
|
+
database?: string;
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Count nodes options
|
|
86
|
+
* As documented in overview.md
|
|
87
|
+
*/
|
|
88
|
+
export interface ICountNodesOptions {
|
|
89
|
+
/** Node labels to count */
|
|
90
|
+
labels?: string[];
|
|
91
|
+
/** Filter conditions */
|
|
92
|
+
where?: IGraphWhereClause;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Count nodes result
|
|
96
|
+
*/
|
|
97
|
+
export interface ICountNodesResult {
|
|
98
|
+
/** Count of matching nodes */
|
|
99
|
+
count: number;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Count relationships options
|
|
103
|
+
* As documented in overview.md
|
|
104
|
+
*/
|
|
105
|
+
export interface ICountRelationshipsOptions {
|
|
106
|
+
/** Relationship types to count */
|
|
107
|
+
types?: string[];
|
|
108
|
+
/** Filter conditions */
|
|
109
|
+
where?: IGraphWhereClause;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Count relationships result
|
|
113
|
+
*/
|
|
114
|
+
export interface ICountRelationshipsResult {
|
|
115
|
+
/** Count of matching relationships */
|
|
116
|
+
count: number;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Graph statistics
|
|
120
|
+
* As documented in overview.md
|
|
121
|
+
*/
|
|
122
|
+
export interface IGraphStatistics {
|
|
123
|
+
/** Total number of nodes */
|
|
124
|
+
nodeCount: number;
|
|
125
|
+
/** Total number of relationships */
|
|
126
|
+
relationshipCount: number;
|
|
127
|
+
/** Node count by label */
|
|
128
|
+
nodesByLabel?: Record<string, number>;
|
|
129
|
+
/** Relationship count by type */
|
|
130
|
+
relationshipsByType?: Record<string, number>;
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Full-text search options
|
|
134
|
+
* As documented in overview.md
|
|
135
|
+
*/
|
|
136
|
+
export interface IFullTextSearchOptions {
|
|
137
|
+
/** Index name */
|
|
138
|
+
indexName: string;
|
|
139
|
+
/** Search query */
|
|
140
|
+
query: string;
|
|
141
|
+
/** Maximum results */
|
|
142
|
+
limit?: number;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Full-text search result
|
|
146
|
+
*/
|
|
147
|
+
export interface IFullTextSearchResult<T = any> {
|
|
148
|
+
/** Matching nodes */
|
|
149
|
+
nodes: T[];
|
|
150
|
+
/** Search scores */
|
|
151
|
+
scores?: number[];
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Vector search options
|
|
155
|
+
* As documented in overview.md
|
|
156
|
+
*/
|
|
157
|
+
export interface IVectorSearchOptions {
|
|
158
|
+
/** Index name */
|
|
159
|
+
indexName: string;
|
|
160
|
+
/** Search vector */
|
|
161
|
+
vector: number[];
|
|
162
|
+
/** Number of results (top-k) */
|
|
163
|
+
topK?: number;
|
|
164
|
+
/** Minimum similarity threshold */
|
|
165
|
+
minScore?: number;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* Vector search result
|
|
169
|
+
*/
|
|
170
|
+
export interface IVectorSearchResult<T = any> {
|
|
171
|
+
/** Matching nodes */
|
|
172
|
+
nodes: T[];
|
|
173
|
+
/** Similarity scores */
|
|
174
|
+
scores: number[];
|
|
175
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Graph Query Interfaces
|
|
4
|
+
*
|
|
5
|
+
* Types for query operations and filter clauses
|
|
6
|
+
* Based on Ductape Graph API documentation (nodes.md, overview.md)
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
//# sourceMappingURL=query.interface.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query.interface.js","sourceRoot":"","sources":["../../../src/graph/types/query.interface.ts"],"names":[],"mappings":";AAAA;;;;;GAKG"}
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Graph Relationship Interfaces
|
|
3
|
+
*
|
|
4
|
+
* Types for relationship CRUD operations
|
|
5
|
+
* Based on Ductape Graph API documentation (relationships.md, overview.md)
|
|
6
|
+
*/
|
|
7
|
+
import { IGraphWhereClause } from './query.interface';
|
|
8
|
+
/**
|
|
9
|
+
* Generic relationship properties type
|
|
10
|
+
*/
|
|
11
|
+
export type RelationshipProperties = Record<string, any>;
|
|
12
|
+
/**
|
|
13
|
+
* Relationship structure
|
|
14
|
+
* As documented in relationships.md
|
|
15
|
+
*/
|
|
16
|
+
export interface IRelationship<T = RelationshipProperties> {
|
|
17
|
+
/** Database-specific ID */
|
|
18
|
+
id: string | number;
|
|
19
|
+
/** Relationship type */
|
|
20
|
+
type: string;
|
|
21
|
+
/** Source node ID */
|
|
22
|
+
startNodeId: string | number;
|
|
23
|
+
/** Target node ID */
|
|
24
|
+
endNodeId: string | number;
|
|
25
|
+
/** Relationship properties */
|
|
26
|
+
properties: T;
|
|
27
|
+
/** Neo4j 5.x element ID */
|
|
28
|
+
elementId?: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Options for creating a relationship
|
|
32
|
+
* As documented in relationships.md
|
|
33
|
+
*/
|
|
34
|
+
export interface ICreateRelationshipOptions<T = RelationshipProperties> {
|
|
35
|
+
/** Relationship type (e.g., 'FRIENDS_WITH', 'MANAGES') */
|
|
36
|
+
type: string;
|
|
37
|
+
/** Source node ID */
|
|
38
|
+
startNodeId: string | number;
|
|
39
|
+
/** Target node ID */
|
|
40
|
+
endNodeId: string | number;
|
|
41
|
+
/** Relationship properties */
|
|
42
|
+
properties?: T;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Result of creating a relationship
|
|
46
|
+
* As documented in relationships.md
|
|
47
|
+
*/
|
|
48
|
+
export interface ICreateRelationshipResult<T = RelationshipProperties> {
|
|
49
|
+
/** The created relationship */
|
|
50
|
+
relationship: IRelationship<T>;
|
|
51
|
+
/** Always true for create */
|
|
52
|
+
created: boolean;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Options for finding relationships
|
|
56
|
+
* As documented in relationships.md
|
|
57
|
+
*/
|
|
58
|
+
export interface IFindRelationshipsOptions {
|
|
59
|
+
/** Relationship type(s) to filter by */
|
|
60
|
+
type?: string | string[];
|
|
61
|
+
/** Relationship types to filter by (alias for type) */
|
|
62
|
+
types?: string[];
|
|
63
|
+
/** Filter by source node ID */
|
|
64
|
+
startNodeId?: string | number;
|
|
65
|
+
/** Filter by target node ID */
|
|
66
|
+
endNodeId?: string | number;
|
|
67
|
+
/** Filter conditions on properties */
|
|
68
|
+
where?: IGraphWhereClause;
|
|
69
|
+
/** Maximum number of results */
|
|
70
|
+
limit?: number;
|
|
71
|
+
/** Number of results to skip */
|
|
72
|
+
offset?: number;
|
|
73
|
+
/** Number of results to skip (alias for offset) */
|
|
74
|
+
skip?: number;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Result of finding relationships
|
|
78
|
+
* As documented in relationships.md
|
|
79
|
+
*/
|
|
80
|
+
export interface IFindRelationshipsResult<T = RelationshipProperties> {
|
|
81
|
+
/** Array of matching relationships */
|
|
82
|
+
relationships: IRelationship<T>[];
|
|
83
|
+
/** Total count (for pagination) */
|
|
84
|
+
count?: number;
|
|
85
|
+
/** Total count (alias for count) */
|
|
86
|
+
total?: number;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Options for updating a relationship
|
|
90
|
+
* As documented in relationships.md
|
|
91
|
+
*/
|
|
92
|
+
export interface IUpdateRelationshipOptions<T = RelationshipProperties> {
|
|
93
|
+
/** Relationship ID to update */
|
|
94
|
+
id?: string | number;
|
|
95
|
+
/** Relationship type to filter by (for batch update) */
|
|
96
|
+
type?: string;
|
|
97
|
+
/** Filter conditions (for batch update) */
|
|
98
|
+
where?: IGraphWhereClause;
|
|
99
|
+
/** Properties to update */
|
|
100
|
+
properties: Partial<T> | IRelationshipPropertyUpdate;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Property update operations
|
|
104
|
+
* As documented in relationships.md
|
|
105
|
+
*/
|
|
106
|
+
export interface IRelationshipPropertyUpdate {
|
|
107
|
+
[key: string]: any | {
|
|
108
|
+
$INCREMENT: number;
|
|
109
|
+
} | {
|
|
110
|
+
$SET: any;
|
|
111
|
+
} | {
|
|
112
|
+
$UNSET: boolean;
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Result of updating a relationship
|
|
117
|
+
* As documented in relationships.md
|
|
118
|
+
*/
|
|
119
|
+
export interface IUpdateRelationshipResult<T = RelationshipProperties> {
|
|
120
|
+
/** Updated relationship (if single update) */
|
|
121
|
+
relationship?: IRelationship<T>;
|
|
122
|
+
/** Updated relationships (if batch update) */
|
|
123
|
+
relationships?: IRelationship<T>[];
|
|
124
|
+
/** Number of relationships updated */
|
|
125
|
+
updatedCount?: number;
|
|
126
|
+
/** Whether the relationship was updated */
|
|
127
|
+
updated?: boolean;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Options for deleting a relationship
|
|
131
|
+
* As documented in relationships.md
|
|
132
|
+
*/
|
|
133
|
+
export interface IDeleteRelationshipOptions {
|
|
134
|
+
/** Relationship ID to delete */
|
|
135
|
+
id?: string | number;
|
|
136
|
+
/** Relationship type to filter by (for batch delete) */
|
|
137
|
+
type?: string;
|
|
138
|
+
/** Filter by source node ID */
|
|
139
|
+
startNodeId?: string | number;
|
|
140
|
+
/** Filter by target node ID */
|
|
141
|
+
endNodeId?: string | number;
|
|
142
|
+
/** Filter conditions (for batch delete) */
|
|
143
|
+
where?: IGraphWhereClause;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Result of deleting a relationship
|
|
147
|
+
* As documented in relationships.md
|
|
148
|
+
*/
|
|
149
|
+
export interface IDeleteRelationshipResult {
|
|
150
|
+
/** Whether deletion succeeded */
|
|
151
|
+
deleted: boolean;
|
|
152
|
+
/** Number of relationships deleted */
|
|
153
|
+
deletedCount?: number;
|
|
154
|
+
/** ID of deleted relationship */
|
|
155
|
+
id?: string | number;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Options for merge (upsert) relationship operation
|
|
159
|
+
* As documented in relationships.md
|
|
160
|
+
*/
|
|
161
|
+
export interface IMergeRelationshipOptions<T = RelationshipProperties> {
|
|
162
|
+
/** Relationship type */
|
|
163
|
+
type: string;
|
|
164
|
+
/** Source node ID */
|
|
165
|
+
startNodeId: string | number;
|
|
166
|
+
/** Target node ID */
|
|
167
|
+
endNodeId: string | number;
|
|
168
|
+
/** Properties to match on */
|
|
169
|
+
matchProperties?: Partial<T>;
|
|
170
|
+
/** Properties to set if relationship is created */
|
|
171
|
+
onCreate?: Partial<T>;
|
|
172
|
+
/** Properties to set if relationship already exists */
|
|
173
|
+
onMatch?: Partial<T> | IRelationshipPropertyUpdate;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* Result of merge relationship operation
|
|
177
|
+
* As documented in relationships.md
|
|
178
|
+
*/
|
|
179
|
+
export interface IMergeRelationshipResult<T = RelationshipProperties> {
|
|
180
|
+
/** The resulting relationship */
|
|
181
|
+
relationship: IRelationship<T>;
|
|
182
|
+
/** true if created, false if matched */
|
|
183
|
+
created: boolean;
|
|
184
|
+
/** Whether the merge operation completed */
|
|
185
|
+
merged?: boolean;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Relationship filter for traversals
|
|
189
|
+
*/
|
|
190
|
+
export interface IRelationshipFilter {
|
|
191
|
+
/** Types to filter by */
|
|
192
|
+
types?: string[];
|
|
193
|
+
/** Property filter conditions */
|
|
194
|
+
where?: IGraphWhereClause;
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* Options for creating relationship index
|
|
198
|
+
* As documented in relationships.md
|
|
199
|
+
*/
|
|
200
|
+
export interface ICreateRelationshipIndexOptions {
|
|
201
|
+
/** Index name */
|
|
202
|
+
name: string;
|
|
203
|
+
/** Relationship type */
|
|
204
|
+
type: string;
|
|
205
|
+
/** Properties to index */
|
|
206
|
+
properties: string[];
|
|
207
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Graph Relationship Interfaces
|
|
4
|
+
*
|
|
5
|
+
* Types for relationship CRUD operations
|
|
6
|
+
* Based on Ductape Graph API documentation (relationships.md, overview.md)
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
//# sourceMappingURL=relationship.interface.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"relationship.interface.js","sourceRoot":"","sources":["../../../src/graph/types/relationship.interface.ts"],"names":[],"mappings":";AAAA;;;;;GAKG"}
|
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Graph Schema Interfaces
|
|
3
|
+
*
|
|
4
|
+
* Types for schema management (indexes, constraints)
|
|
5
|
+
* Based on Ductape Graph API documentation (overview.md)
|
|
6
|
+
*/
|
|
7
|
+
import { NodeConstraintType, NodeIndexType } from './enums';
|
|
8
|
+
/**
|
|
9
|
+
* Options for creating a node index
|
|
10
|
+
* As documented in overview.md
|
|
11
|
+
*/
|
|
12
|
+
export interface ICreateNodeIndexOptions {
|
|
13
|
+
/** Index name */
|
|
14
|
+
name: string;
|
|
15
|
+
/** Node label to index */
|
|
16
|
+
label: string;
|
|
17
|
+
/** Properties to include in the index */
|
|
18
|
+
properties: string[];
|
|
19
|
+
/** Whether the index should enforce uniqueness */
|
|
20
|
+
unique?: boolean;
|
|
21
|
+
/** Index type */
|
|
22
|
+
type?: NodeIndexType | string;
|
|
23
|
+
/** Additional index options */
|
|
24
|
+
options?: {
|
|
25
|
+
sparse?: boolean;
|
|
26
|
+
unique?: boolean;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Options for creating a node constraint
|
|
31
|
+
* As documented in overview.md
|
|
32
|
+
*/
|
|
33
|
+
export interface ICreateNodeConstraintOptions {
|
|
34
|
+
/** Constraint name */
|
|
35
|
+
name: string;
|
|
36
|
+
/** Node label */
|
|
37
|
+
label: string;
|
|
38
|
+
/** Property to constrain */
|
|
39
|
+
property?: string;
|
|
40
|
+
/** Properties to constrain (for multi-property constraints) */
|
|
41
|
+
properties?: string[];
|
|
42
|
+
/** Constraint type: UNIQUE, EXISTS, NODE_KEY */
|
|
43
|
+
type: NodeConstraintType | 'UNIQUE' | 'EXISTS' | 'NODE_KEY';
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Index information
|
|
47
|
+
*/
|
|
48
|
+
export interface IGraphIndex {
|
|
49
|
+
/** Index name */
|
|
50
|
+
name: string;
|
|
51
|
+
/** Label (for node indexes) or type (for relationship indexes) */
|
|
52
|
+
labelOrType: string;
|
|
53
|
+
/** Indexed properties */
|
|
54
|
+
properties: string[];
|
|
55
|
+
/** Whether unique */
|
|
56
|
+
unique: boolean;
|
|
57
|
+
/** Index type */
|
|
58
|
+
type: string;
|
|
59
|
+
/** Index state */
|
|
60
|
+
state?: string;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Constraint information
|
|
64
|
+
*/
|
|
65
|
+
export interface IGraphConstraint {
|
|
66
|
+
/** Constraint name */
|
|
67
|
+
name: string;
|
|
68
|
+
/** Label */
|
|
69
|
+
label: string;
|
|
70
|
+
/** Constrained property */
|
|
71
|
+
property: string;
|
|
72
|
+
/** Constraint type */
|
|
73
|
+
type: string;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Result of listing indexes
|
|
77
|
+
*/
|
|
78
|
+
export interface IListIndexesResult {
|
|
79
|
+
/** All indexes */
|
|
80
|
+
indexes: IGraphIndex[];
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Result of listing constraints
|
|
84
|
+
*/
|
|
85
|
+
export interface IListConstraintsResult {
|
|
86
|
+
/** All constraints */
|
|
87
|
+
constraints: IGraphConstraint[];
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Result of creating an index
|
|
91
|
+
*/
|
|
92
|
+
export interface ICreateIndexResult {
|
|
93
|
+
/** Whether index was created */
|
|
94
|
+
created: boolean;
|
|
95
|
+
/** Index name */
|
|
96
|
+
name: string;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Result of creating a constraint
|
|
100
|
+
*/
|
|
101
|
+
export interface ICreateConstraintResult {
|
|
102
|
+
/** Whether constraint was created */
|
|
103
|
+
created: boolean;
|
|
104
|
+
/** Constraint name */
|
|
105
|
+
name: string;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Result of dropping an index
|
|
109
|
+
*/
|
|
110
|
+
export interface IDropIndexResult {
|
|
111
|
+
/** Whether index was dropped */
|
|
112
|
+
dropped: boolean;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Result of dropping a constraint
|
|
116
|
+
*/
|
|
117
|
+
export interface IDropConstraintResult {
|
|
118
|
+
/** Whether constraint was dropped */
|
|
119
|
+
dropped: boolean;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Property type for schema introspection
|
|
123
|
+
*/
|
|
124
|
+
export type GraphPropertyType = 'string' | 'number' | 'boolean' | 'date' | 'datetime' | 'array' | 'point' | 'object' | 'unknown';
|
|
125
|
+
/**
|
|
126
|
+
* Property definition for a label
|
|
127
|
+
*/
|
|
128
|
+
export interface IGraphLabelProperty {
|
|
129
|
+
/** Property name */
|
|
130
|
+
name: string;
|
|
131
|
+
/** Property type */
|
|
132
|
+
type: GraphPropertyType;
|
|
133
|
+
/** Whether property exists on all nodes with this label */
|
|
134
|
+
required?: boolean;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Label definition with schema information
|
|
138
|
+
*/
|
|
139
|
+
export interface IGraphLabel {
|
|
140
|
+
/** Label name */
|
|
141
|
+
name: string;
|
|
142
|
+
/** Number of nodes with this label */
|
|
143
|
+
count: number;
|
|
144
|
+
/** Properties found on nodes with this label */
|
|
145
|
+
properties: IGraphLabelProperty[];
|
|
146
|
+
/** Display color (optional, for UI purposes) */
|
|
147
|
+
color?: string;
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Result of listing labels
|
|
151
|
+
*/
|
|
152
|
+
export interface IListLabelsResult {
|
|
153
|
+
/** All node labels */
|
|
154
|
+
labels: IGraphLabel[];
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* Relationship type definition with schema information
|
|
158
|
+
*/
|
|
159
|
+
export interface IGraphRelationshipType {
|
|
160
|
+
/** Relationship type name */
|
|
161
|
+
type: string;
|
|
162
|
+
/** Number of relationships of this type */
|
|
163
|
+
count: number;
|
|
164
|
+
/** Source node label(s) commonly used */
|
|
165
|
+
fromLabels?: string[];
|
|
166
|
+
/** Target node label(s) commonly used */
|
|
167
|
+
toLabels?: string[];
|
|
168
|
+
/** Properties found on relationships of this type */
|
|
169
|
+
properties?: IGraphLabelProperty[];
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Result of listing relationship types
|
|
173
|
+
*/
|
|
174
|
+
export interface IListRelationshipTypesResult {
|
|
175
|
+
/** All relationship types */
|
|
176
|
+
types: IGraphRelationshipType[];
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Parameter types for graph actions
|
|
180
|
+
*/
|
|
181
|
+
export type GraphActionParameterType = 'string' | 'number' | 'boolean' | 'array' | 'object';
|
|
182
|
+
/**
|
|
183
|
+
* Parameter definition for a graph action
|
|
184
|
+
*/
|
|
185
|
+
export interface IGraphActionParameter {
|
|
186
|
+
/** Parameter name (used as placeholder {{name}}) */
|
|
187
|
+
name: string;
|
|
188
|
+
/** JSON path to the value in the query object */
|
|
189
|
+
path: string;
|
|
190
|
+
/** Default value for the parameter */
|
|
191
|
+
defaultValue: any;
|
|
192
|
+
/** Parameter type */
|
|
193
|
+
type: GraphActionParameterType;
|
|
194
|
+
/** Optional description */
|
|
195
|
+
description?: string;
|
|
196
|
+
/** Whether the parameter is required */
|
|
197
|
+
required?: boolean;
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* Graph action definition
|
|
201
|
+
* Represents a saved parameterized query that can be executed with different parameter values
|
|
202
|
+
*/
|
|
203
|
+
export interface IGraphAction {
|
|
204
|
+
/** Unique identifier */
|
|
205
|
+
id: string;
|
|
206
|
+
/** Unique tag (URL-safe slug) */
|
|
207
|
+
tag: string;
|
|
208
|
+
/** Display name */
|
|
209
|
+
name: string;
|
|
210
|
+
/** Optional description */
|
|
211
|
+
description?: string;
|
|
212
|
+
/** Operation type (e.g., findNodes, traverse, executeRaw) */
|
|
213
|
+
operation: string;
|
|
214
|
+
/** Query object with parameter placeholders */
|
|
215
|
+
query: Record<string, any>;
|
|
216
|
+
/** Parameter definitions */
|
|
217
|
+
parameters: IGraphActionParameter[];
|
|
218
|
+
/** ISO timestamp when action was created */
|
|
219
|
+
createdAt: string;
|
|
220
|
+
/** ISO timestamp when action was last updated */
|
|
221
|
+
updatedAt?: string;
|
|
222
|
+
/** Graph tag this action belongs to */
|
|
223
|
+
graphTag?: string;
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Options for creating a graph action
|
|
227
|
+
*/
|
|
228
|
+
export interface ICreateGraphActionOptions {
|
|
229
|
+
/** Display name */
|
|
230
|
+
name: string;
|
|
231
|
+
/** Optional description */
|
|
232
|
+
description?: string;
|
|
233
|
+
/** Operation type */
|
|
234
|
+
operation: string;
|
|
235
|
+
/** Query object with parameter placeholders */
|
|
236
|
+
query: Record<string, any>;
|
|
237
|
+
/** Parameter definitions */
|
|
238
|
+
parameters: IGraphActionParameter[];
|
|
239
|
+
/** Graph tag (optional, defaults to current connected graph) */
|
|
240
|
+
graphTag?: string;
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* Options for updating a graph action
|
|
244
|
+
*/
|
|
245
|
+
export interface IUpdateGraphActionOptions {
|
|
246
|
+
/** Display name */
|
|
247
|
+
name?: string;
|
|
248
|
+
/** Optional description */
|
|
249
|
+
description?: string;
|
|
250
|
+
/** Query object with parameter placeholders */
|
|
251
|
+
query?: Record<string, any>;
|
|
252
|
+
/** Parameter definitions */
|
|
253
|
+
parameters?: IGraphActionParameter[];
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
* Options for executing a graph action
|
|
257
|
+
*/
|
|
258
|
+
export interface IExecuteGraphActionOptions {
|
|
259
|
+
/** Product tag */
|
|
260
|
+
product: string;
|
|
261
|
+
/** Environment slug */
|
|
262
|
+
env: string;
|
|
263
|
+
/** Graph tag */
|
|
264
|
+
graph: string;
|
|
265
|
+
/** Action tag */
|
|
266
|
+
action: string;
|
|
267
|
+
/** Parameter values to substitute */
|
|
268
|
+
input?: Record<string, any>;
|
|
269
|
+
/** Session token in format: session_tag:jwt_token */
|
|
270
|
+
session?: string;
|
|
271
|
+
/** Cache tag for result caching */
|
|
272
|
+
cache?: string;
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* Result of executing a graph action
|
|
276
|
+
*/
|
|
277
|
+
export interface IExecuteGraphActionResult<T = any> {
|
|
278
|
+
/** Whether execution was successful */
|
|
279
|
+
success: boolean;
|
|
280
|
+
/** Execution time in milliseconds */
|
|
281
|
+
executionTime: number;
|
|
282
|
+
/** Result data */
|
|
283
|
+
data: T[];
|
|
284
|
+
/** Row count */
|
|
285
|
+
count: number;
|
|
286
|
+
/** Error message if failed */
|
|
287
|
+
error?: string;
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* Result of listing graph actions
|
|
291
|
+
*/
|
|
292
|
+
export interface IListGraphActionsResult {
|
|
293
|
+
/** All actions for the graph */
|
|
294
|
+
actions: IGraphAction[];
|
|
295
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Graph Schema Interfaces
|
|
4
|
+
*
|
|
5
|
+
* Types for schema management (indexes, constraints)
|
|
6
|
+
* Based on Ductape Graph API documentation (overview.md)
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
//# sourceMappingURL=schema.interface.js.map
|