@ductape/sdk 0.1.6 → 0.1.8
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/package.json +5 -9
- package/dist/agents/agent-context.d.ts +0 -100
- package/dist/agents/agent-context.js +0 -604
- package/dist/agents/agent-context.js.map +0 -1
- package/dist/agents/agent-executor.d.ts +0 -180
- package/dist/agents/agent-executor.js +0 -715
- package/dist/agents/agent-executor.js.map +0 -1
- package/dist/agents/agents.service.d.ts +0 -310
- package/dist/agents/agents.service.js +0 -1255
- package/dist/agents/agents.service.js.map +0 -1
- package/dist/agents/index.d.ts +0 -55
- package/dist/agents/index.js +0 -110
- package/dist/agents/index.js.map +0 -1
- package/dist/agents/memory-manager.d.ts +0 -182
- package/dist/agents/memory-manager.js +0 -383
- package/dist/agents/memory-manager.js.map +0 -1
- package/dist/agents/tool-registry.d.ts +0 -141
- package/dist/agents/tool-registry.js +0 -355
- package/dist/agents/tool-registry.js.map +0 -1
- package/dist/agents/types/agents.types.d.ts +0 -1240
- package/dist/agents/types/agents.types.js +0 -12
- package/dist/agents/types/agents.types.js.map +0 -1
- package/dist/agents/types/index.d.ts +0 -6
- package/dist/agents/types/index.js +0 -23
- package/dist/agents/types/index.js.map +0 -1
- package/dist/agents/vector-store-adapter.d.ts +0 -108
- package/dist/agents/vector-store-adapter.js +0 -213
- package/dist/agents/vector-store-adapter.js.map +0 -1
- package/dist/api/services/appApi.service.d.ts +0 -78
- package/dist/api/services/appApi.service.js +0 -303
- package/dist/api/services/appApi.service.js.map +0 -1
- package/dist/api/services/logsApi.service.d.ts +0 -62
- package/dist/api/services/logsApi.service.js +0 -67
- package/dist/api/services/logsApi.service.js.map +0 -1
- package/dist/api/services/pricingApi.service.d.ts +0 -10
- package/dist/api/services/pricingApi.service.js +0 -34
- package/dist/api/services/pricingApi.service.js.map +0 -1
- package/dist/api/services/processorApi.service.d.ts +0 -927
- package/dist/api/services/processorApi.service.js +0 -787
- package/dist/api/services/processorApi.service.js.map +0 -1
- package/dist/api/services/productsApi.service.d.ts +0 -150
- package/dist/api/services/productsApi.service.js +0 -279
- package/dist/api/services/productsApi.service.js.map +0 -1
- package/dist/api/services/resilienceApi.service.d.ts +0 -106
- package/dist/api/services/resilienceApi.service.js +0 -224
- package/dist/api/services/resilienceApi.service.js.map +0 -1
- package/dist/api/services/secretsApi.service.d.ts +0 -51
- package/dist/api/services/secretsApi.service.js +0 -126
- package/dist/api/services/secretsApi.service.js.map +0 -1
- package/dist/api/services/userApi.service.d.ts +0 -10
- package/dist/api/services/userApi.service.js +0 -20
- package/dist/api/services/userApi.service.js.map +0 -1
- package/dist/api/services/webhooksApi.service.d.ts +0 -14
- package/dist/api/services/webhooksApi.service.js +0 -65
- package/dist/api/services/webhooksApi.service.js.map +0 -1
- package/dist/api/services/workflowApi.service.d.ts +0 -199
- package/dist/api/services/workflowApi.service.js +0 -201
- package/dist/api/services/workflowApi.service.js.map +0 -1
- package/dist/api/services/workspaceApi.service.d.ts +0 -20
- package/dist/api/services/workspaceApi.service.js +0 -54
- package/dist/api/services/workspaceApi.service.js.map +0 -1
- package/dist/api/urls.d.ts +0 -136
- package/dist/api/urls.js +0 -185
- package/dist/api/urls.js.map +0 -1
- package/dist/api/utils/auth.utils.d.ts +0 -10
- package/dist/api/utils/auth.utils.js +0 -24
- package/dist/api/utils/auth.utils.js.map +0 -1
- package/dist/api/utils/cache.utils.d.ts +0 -3
- package/dist/api/utils/cache.utils.js +0 -18
- package/dist/api/utils/cache.utils.js.map +0 -1
- package/dist/api/utils/strings.utils.d.ts +0 -7
- package/dist/api/utils/strings.utils.js +0 -64
- package/dist/api/utils/strings.utils.js.map +0 -1
- package/dist/apps/services/app.service.d.ts +0 -126
- package/dist/apps/services/app.service.js +0 -1436
- package/dist/apps/services/app.service.js.map +0 -1
- package/dist/apps/utils/auth-context-manager.d.ts +0 -137
- package/dist/apps/utils/auth-context-manager.js +0 -248
- package/dist/apps/utils/auth-context-manager.js.map +0 -1
- package/dist/apps/utils/credential-manager.d.ts +0 -128
- package/dist/apps/utils/credential-manager.js +0 -199
- package/dist/apps/utils/credential-manager.js.map +0 -1
- package/dist/apps/utils/index.d.ts +0 -10
- package/dist/apps/utils/index.js +0 -54
- package/dist/apps/utils/index.js.map +0 -1
- package/dist/apps/utils/input-helpers.d.ts +0 -67
- package/dist/apps/utils/input-helpers.js +0 -185
- package/dist/apps/utils/input-helpers.js.map +0 -1
- package/dist/apps/utils/input-resolver.d.ts +0 -165
- package/dist/apps/utils/input-resolver.js +0 -477
- package/dist/apps/utils/input-resolver.js.map +0 -1
- package/dist/apps/utils/oauth-manager.d.ts +0 -196
- package/dist/apps/utils/oauth-manager.js +0 -429
- package/dist/apps/utils/oauth-manager.js.map +0 -1
- package/dist/apps/utils/objects.utils.d.ts +0 -4
- package/dist/apps/utils/objects.utils.js +0 -59
- package/dist/apps/utils/objects.utils.js.map +0 -1
- package/dist/apps/utils/string.utils.d.ts +0 -9
- package/dist/apps/utils/string.utils.js +0 -89
- package/dist/apps/utils/string.utils.js.map +0 -1
- package/dist/apps/validators/index.d.ts +0 -17
- package/dist/apps/validators/index.js +0 -39
- package/dist/apps/validators/index.js.map +0 -1
- package/dist/apps/validators/joi-validators/create.app.validator.d.ts +0 -3
- package/dist/apps/validators/joi-validators/create.app.validator.js +0 -43
- package/dist/apps/validators/joi-validators/create.app.validator.js.map +0 -1
- package/dist/apps/validators/joi-validators/create.appAction.validator.d.ts +0 -3
- package/dist/apps/validators/joi-validators/create.appAction.validator.js +0 -72
- package/dist/apps/validators/joi-validators/create.appAction.validator.js.map +0 -1
- package/dist/apps/validators/joi-validators/create.appActionResponse.validator.d.ts +0 -7
- package/dist/apps/validators/joi-validators/create.appActionResponse.validator.js +0 -81
- package/dist/apps/validators/joi-validators/create.appActionResponse.validator.js.map +0 -1
- package/dist/apps/validators/joi-validators/create.appAuth.validator.d.ts +0 -3
- package/dist/apps/validators/joi-validators/create.appAuth.validator.js +0 -64
- package/dist/apps/validators/joi-validators/create.appAuth.validator.js.map +0 -1
- package/dist/apps/validators/joi-validators/create.appBody.validators.d.ts +0 -4
- package/dist/apps/validators/joi-validators/create.appBody.validators.js +0 -44
- package/dist/apps/validators/joi-validators/create.appBody.validators.js.map +0 -1
- package/dist/apps/validators/joi-validators/create.appConstants.validator.d.ts +0 -4
- package/dist/apps/validators/joi-validators/create.appConstants.validator.js +0 -45
- package/dist/apps/validators/joi-validators/create.appConstants.validator.js.map +0 -1
- package/dist/apps/validators/joi-validators/create.appEnv.validator.d.ts +0 -4
- package/dist/apps/validators/joi-validators/create.appEnv.validator.js +0 -50
- package/dist/apps/validators/joi-validators/create.appEnv.validator.js.map +0 -1
- package/dist/apps/validators/joi-validators/create.appVariable.validator.d.ts +0 -4
- package/dist/apps/validators/joi-validators/create.appVariable.validator.js +0 -47
- package/dist/apps/validators/joi-validators/create.appVariable.validator.js.map +0 -1
- package/dist/apps/validators/joi-validators/create.appWebhook.validator.d.ts +0 -4
- package/dist/apps/validators/joi-validators/create.appWebhook.validator.js +0 -60
- package/dist/apps/validators/joi-validators/create.appWebhook.validator.js.map +0 -1
- package/dist/apps/validators/joi-validators/create.appWebhookEvent.validator.d.ts +0 -3
- package/dist/apps/validators/joi-validators/create.appWebhookEvent.validator.js +0 -48
- package/dist/apps/validators/joi-validators/create.appWebhookEvent.validator.js.map +0 -1
- package/dist/apps/validators/joi-validators/sample.validator.d.ts +0 -6
- package/dist/apps/validators/joi-validators/sample.validator.js +0 -65
- package/dist/apps/validators/joi-validators/sample.validator.js.map +0 -1
- package/dist/apps/validators/joi-validators/update.app.validator.d.ts +0 -4
- package/dist/apps/validators/joi-validators/update.app.validator.js +0 -66
- package/dist/apps/validators/joi-validators/update.app.validator.js.map +0 -1
- package/dist/apps/validators/joi-validators/update.appAction.validator.d.ts +0 -4
- package/dist/apps/validators/joi-validators/update.appAction.validator.js +0 -76
- package/dist/apps/validators/joi-validators/update.appAction.validator.js.map +0 -1
- package/dist/apps/validators/joi-validators/update.appActionResponse.validator.d.ts +0 -3
- package/dist/apps/validators/joi-validators/update.appActionResponse.validator.js +0 -57
- package/dist/apps/validators/joi-validators/update.appActionResponse.validator.js.map +0 -1
- package/dist/apps/validators/joi-validators/update.appAuth.validator.d.ts +0 -4
- package/dist/apps/validators/joi-validators/update.appAuth.validator.js +0 -52
- package/dist/apps/validators/joi-validators/update.appAuth.validator.js.map +0 -1
- package/dist/apps/validators/joi-validators/update.appConstants.validator.d.ts +0 -4
- package/dist/apps/validators/joi-validators/update.appConstants.validator.js +0 -45
- package/dist/apps/validators/joi-validators/update.appConstants.validator.js.map +0 -1
- package/dist/apps/validators/joi-validators/update.appEnv.validator.d.ts +0 -4
- package/dist/apps/validators/joi-validators/update.appEnv.validator.js +0 -50
- package/dist/apps/validators/joi-validators/update.appEnv.validator.js.map +0 -1
- package/dist/apps/validators/joi-validators/update.appVariables.validator.d.ts +0 -4
- package/dist/apps/validators/joi-validators/update.appVariables.validator.js +0 -47
- package/dist/apps/validators/joi-validators/update.appVariables.validator.js.map +0 -1
- package/dist/apps/validators/joi-validators/update.appWebhook.validator.d.ts +0 -4
- package/dist/apps/validators/joi-validators/update.appWebhook.validator.js +0 -59
- package/dist/apps/validators/joi-validators/update.appWebhook.validator.js.map +0 -1
- package/dist/apps/validators/joi-validators/update.appWebhookEvent.validator.d.ts +0 -3
- package/dist/apps/validators/joi-validators/update.appWebhookEvent.validator.js +0 -48
- package/dist/apps/validators/joi-validators/update.appWebhookEvent.validator.js.map +0 -1
- package/dist/apps/validators/joi-validators/update.validation.entityData.validator.d.ts +0 -3
- package/dist/apps/validators/joi-validators/update.validation.entityData.validator.js +0 -60
- package/dist/apps/validators/joi-validators/update.validation.entityData.validator.js.map +0 -1
- package/dist/bin.d.ts +0 -26
- package/dist/bin.js +0 -28
- package/dist/bin.js.map +0 -1
- package/dist/brokers/brokers.service.d.ts +0 -438
- package/dist/brokers/brokers.service.js +0 -1294
- package/dist/brokers/brokers.service.js.map +0 -1
- package/dist/brokers/index.d.ts +0 -46
- package/dist/brokers/index.js +0 -83
- package/dist/brokers/index.js.map +0 -1
- package/dist/brokers/types/index.d.ts +0 -569
- package/dist/brokers/types/index.js +0 -8
- package/dist/brokers/types/index.js.map +0 -1
- package/dist/brokers/utils/broker.util.d.ts +0 -33
- package/dist/brokers/utils/broker.util.js +0 -125
- package/dist/brokers/utils/broker.util.js.map +0 -1
- package/dist/brokers/utils/providers/aws-sqs.service.d.ts +0 -16
- package/dist/brokers/utils/providers/aws-sqs.service.js +0 -71
- package/dist/brokers/utils/providers/aws-sqs.service.js.map +0 -1
- package/dist/brokers/utils/providers/google-pubsub.service.d.ts +0 -16
- package/dist/brokers/utils/providers/google-pubsub.service.js +0 -43
- package/dist/brokers/utils/providers/google-pubsub.service.js.map +0 -1
- package/dist/brokers/utils/providers/index.d.ts +0 -6
- package/dist/brokers/utils/providers/index.js +0 -16
- package/dist/brokers/utils/providers/index.js.map +0 -1
- package/dist/brokers/utils/providers/kafka.service.d.ts +0 -23
- package/dist/brokers/utils/providers/kafka.service.js +0 -131
- package/dist/brokers/utils/providers/kafka.service.js.map +0 -1
- package/dist/brokers/utils/providers/nats.service.d.ts +0 -18
- package/dist/brokers/utils/providers/nats.service.js +0 -63
- package/dist/brokers/utils/providers/nats.service.js.map +0 -1
- package/dist/brokers/utils/providers/rabbitmq.service.d.ts +0 -25
- package/dist/brokers/utils/providers/rabbitmq.service.js +0 -138
- package/dist/brokers/utils/providers/rabbitmq.service.js.map +0 -1
- package/dist/brokers/utils/providers/redis.service.d.ts +0 -18
- package/dist/brokers/utils/providers/redis.service.js +0 -93
- package/dist/brokers/utils/providers/redis.service.js.map +0 -1
- package/dist/cache/cache.manager.d.ts +0 -308
- package/dist/cache/cache.manager.js +0 -900
- package/dist/cache/cache.manager.js.map +0 -1
- package/dist/cache/cache.service.d.ts +0 -192
- package/dist/cache/cache.service.js +0 -596
- package/dist/cache/cache.service.js.map +0 -1
- package/dist/cache/index.d.ts +0 -52
- package/dist/cache/index.js +0 -81
- package/dist/cache/index.js.map +0 -1
- package/dist/cache/types/index.d.ts +0 -112
- package/dist/cache/types/index.js +0 -6
- package/dist/cache/types/index.js.map +0 -1
- package/dist/clients/apps.client.d.ts +0 -4
- package/dist/clients/apps.client.js +0 -31
- package/dist/clients/apps.client.js.map +0 -1
- package/dist/clients/email.client.d.ts +0 -4
- package/dist/clients/email.client.js +0 -29
- package/dist/clients/email.client.js.map +0 -1
- package/dist/clients/expo.client.d.ts +0 -3
- package/dist/clients/expo.client.js +0 -28
- package/dist/clients/expo.client.js.map +0 -1
- package/dist/clients/function.client.d.ts +0 -3
- package/dist/clients/function.client.js +0 -27
- package/dist/clients/function.client.js.map +0 -1
- package/dist/clients/http.client.d.ts +0 -3
- package/dist/clients/http.client.js +0 -27
- package/dist/clients/http.client.js.map +0 -1
- package/dist/clients/logs.client.d.ts +0 -4
- package/dist/clients/logs.client.js +0 -34
- package/dist/clients/logs.client.js.map +0 -1
- package/dist/clients/pricing.client.d.ts +0 -4
- package/dist/clients/pricing.client.js +0 -34
- package/dist/clients/pricing.client.js.map +0 -1
- package/dist/clients/products.client.d.ts +0 -3
- package/dist/clients/products.client.js +0 -32
- package/dist/clients/products.client.js.map +0 -1
- package/dist/clients/users.client.d.ts +0 -4
- package/dist/clients/users.client.js +0 -34
- package/dist/clients/users.client.js.map +0 -1
- package/dist/clients/webhooks.client.d.ts +0 -4
- package/dist/clients/webhooks.client.js +0 -34
- package/dist/clients/webhooks.client.js.map +0 -1
- package/dist/clients/workspace.client.d.ts +0 -7
- package/dist/clients/workspace.client.js +0 -39
- package/dist/clients/workspace.client.js.map +0 -1
- package/dist/database/actions/action-manager.d.ts +0 -170
- package/dist/database/actions/action-manager.js +0 -465
- package/dist/database/actions/action-manager.js.map +0 -1
- package/dist/database/actions/index.d.ts +0 -6
- package/dist/database/actions/index.js +0 -13
- package/dist/database/actions/index.js.map +0 -1
- package/dist/database/adapters/adapter.factory.d.ts +0 -62
- package/dist/database/adapters/adapter.factory.js +0 -97
- package/dist/database/adapters/adapter.factory.js.map +0 -1
- package/dist/database/adapters/base.adapter.d.ts +0 -423
- package/dist/database/adapters/base.adapter.js +0 -260
- package/dist/database/adapters/base.adapter.js.map +0 -1
- package/dist/database/adapters/cassandra.adapter.d.ts +0 -92
- package/dist/database/adapters/cassandra.adapter.js +0 -1091
- package/dist/database/adapters/cassandra.adapter.js.map +0 -1
- package/dist/database/adapters/dynamodb.adapter.d.ts +0 -110
- package/dist/database/adapters/dynamodb.adapter.js +0 -1564
- package/dist/database/adapters/dynamodb.adapter.js.map +0 -1
- package/dist/database/adapters/index.d.ts +0 -11
- package/dist/database/adapters/index.js +0 -27
- package/dist/database/adapters/index.js.map +0 -1
- package/dist/database/adapters/mariadb.adapter.d.ts +0 -100
- package/dist/database/adapters/mariadb.adapter.js +0 -247
- package/dist/database/adapters/mariadb.adapter.js.map +0 -1
- package/dist/database/adapters/mongodb.adapter.d.ts +0 -121
- package/dist/database/adapters/mongodb.adapter.js +0 -1284
- package/dist/database/adapters/mongodb.adapter.js.map +0 -1
- package/dist/database/adapters/mysql.adapter.d.ts +0 -86
- package/dist/database/adapters/mysql.adapter.js +0 -1371
- package/dist/database/adapters/mysql.adapter.js.map +0 -1
- package/dist/database/adapters/postgresql.adapter.d.ts +0 -90
- package/dist/database/adapters/postgresql.adapter.js +0 -1487
- package/dist/database/adapters/postgresql.adapter.js.map +0 -1
- package/dist/database/databases.service.d.ts +0 -1496
- package/dist/database/databases.service.js +0 -3294
- package/dist/database/databases.service.js.map +0 -1
- package/dist/database/index.d.ts +0 -46
- package/dist/database/index.js +0 -109
- package/dist/database/index.js.map +0 -1
- package/dist/database/migrations/index.d.ts +0 -6
- package/dist/database/migrations/index.js +0 -12
- package/dist/database/migrations/index.js.map +0 -1
- package/dist/database/migrations/migration-engine.d.ts +0 -136
- package/dist/database/migrations/migration-engine.js +0 -1421
- package/dist/database/migrations/migration-engine.js.map +0 -1
- package/dist/database/operators/aggregation-builder.d.ts +0 -67
- package/dist/database/operators/aggregation-builder.js +0 -841
- package/dist/database/operators/aggregation-builder.js.map +0 -1
- package/dist/database/operators/index.d.ts +0 -7
- package/dist/database/operators/index.js +0 -15
- package/dist/database/operators/index.js.map +0 -1
- package/dist/database/operators/query-builder.d.ts +0 -69
- package/dist/database/operators/query-builder.js +0 -447
- package/dist/database/operators/query-builder.js.map +0 -1
- package/dist/database/presave/decrypt.d.ts +0 -25
- package/dist/database/presave/decrypt.js +0 -146
- package/dist/database/presave/decrypt.js.map +0 -1
- package/dist/database/presave/index.d.ts +0 -9
- package/dist/database/presave/index.js +0 -18
- package/dist/database/presave/index.js.map +0 -1
- package/dist/database/presave/presave-processor.d.ts +0 -148
- package/dist/database/presave/presave-processor.js +0 -702
- package/dist/database/presave/presave-processor.js.map +0 -1
- package/dist/database/schema/index.d.ts +0 -7
- package/dist/database/schema/index.js +0 -13
- package/dist/database/schema/index.js.map +0 -1
- package/dist/database/schema/schema-manager.d.ts +0 -258
- package/dist/database/schema/schema-manager.js +0 -638
- package/dist/database/schema/schema-manager.js.map +0 -1
- package/dist/database/transactions/index.d.ts +0 -6
- package/dist/database/transactions/index.js +0 -13
- package/dist/database/transactions/index.js.map +0 -1
- package/dist/database/transactions/transaction-manager.d.ts +0 -113
- package/dist/database/transactions/transaction-manager.js +0 -344
- package/dist/database/transactions/transaction-manager.js.map +0 -1
- package/dist/database/triggers/index.d.ts +0 -7
- package/dist/database/triggers/index.js +0 -14
- package/dist/database/triggers/index.js.map +0 -1
- package/dist/database/triggers/trigger-processor.d.ts +0 -239
- package/dist/database/triggers/trigger-processor.js +0 -1034
- package/dist/database/triggers/trigger-processor.js.map +0 -1
- package/dist/database/types/action.interface.d.ts +0 -148
- package/dist/database/types/action.interface.js +0 -6
- package/dist/database/types/action.interface.js.map +0 -1
- package/dist/database/types/aggregation.interface.d.ts +0 -185
- package/dist/database/types/aggregation.interface.js +0 -6
- package/dist/database/types/aggregation.interface.js.map +0 -1
- package/dist/database/types/connection.interface.d.ts +0 -137
- package/dist/database/types/connection.interface.js +0 -6
- package/dist/database/types/connection.interface.js.map +0 -1
- package/dist/database/types/dashboard.interface.d.ts +0 -74
- package/dist/database/types/dashboard.interface.js +0 -7
- package/dist/database/types/dashboard.interface.js.map +0 -1
- package/dist/database/types/enums.d.ts +0 -195
- package/dist/database/types/enums.js +0 -244
- package/dist/database/types/enums.js.map +0 -1
- package/dist/database/types/index.d.ts +0 -15
- package/dist/database/types/index.js +0 -31
- package/dist/database/types/index.js.map +0 -1
- package/dist/database/types/migration.interface.d.ts +0 -686
- package/dist/database/types/migration.interface.js +0 -9
- package/dist/database/types/migration.interface.js.map +0 -1
- package/dist/database/types/presave.interface.d.ts +0 -292
- package/dist/database/types/presave.interface.js +0 -60
- package/dist/database/types/presave.interface.js.map +0 -1
- package/dist/database/types/query.interface.d.ts +0 -205
- package/dist/database/types/query.interface.js +0 -6
- package/dist/database/types/query.interface.js.map +0 -1
- package/dist/database/types/schema.interface.d.ts +0 -412
- package/dist/database/types/schema.interface.js +0 -6
- package/dist/database/types/schema.interface.js.map +0 -1
- package/dist/database/types/transaction.interface.d.ts +0 -84
- package/dist/database/types/transaction.interface.js +0 -6
- package/dist/database/types/transaction.interface.js.map +0 -1
- package/dist/database/types/trigger.interface.d.ts +0 -612
- package/dist/database/types/trigger.interface.js +0 -121
- package/dist/database/types/trigger.interface.js.map +0 -1
- package/dist/database/types/write.interface.d.ts +0 -216
- package/dist/database/types/write.interface.js +0 -6
- package/dist/database/types/write.interface.js.map +0 -1
- package/dist/database/utils/database-error.d.ts +0 -96
- package/dist/database/utils/database-error.js +0 -221
- package/dist/database/utils/database-error.js.map +0 -1
- package/dist/database/utils/index.d.ts +0 -6
- package/dist/database/utils/index.js +0 -11
- package/dist/database/utils/index.js.map +0 -1
- package/dist/graph/adapters/adapter.factory.d.ts +0 -47
- package/dist/graph/adapters/adapter.factory.js +0 -77
- package/dist/graph/adapters/adapter.factory.js.map +0 -1
- package/dist/graph/adapters/arangodb.adapter.d.ts +0 -86
- package/dist/graph/adapters/arangodb.adapter.js +0 -1588
- package/dist/graph/adapters/arangodb.adapter.js.map +0 -1
- package/dist/graph/adapters/base.adapter.d.ts +0 -264
- package/dist/graph/adapters/base.adapter.js +0 -156
- package/dist/graph/adapters/base.adapter.js.map +0 -1
- package/dist/graph/adapters/index.d.ts +0 -11
- package/dist/graph/adapters/index.js +0 -21
- package/dist/graph/adapters/index.js.map +0 -1
- package/dist/graph/adapters/memgraph.adapter.d.ts +0 -110
- package/dist/graph/adapters/memgraph.adapter.js +0 -1452
- package/dist/graph/adapters/memgraph.adapter.js.map +0 -1
- package/dist/graph/adapters/neo4j.adapter.d.ts +0 -81
- package/dist/graph/adapters/neo4j.adapter.js +0 -1317
- package/dist/graph/adapters/neo4j.adapter.js.map +0 -1
- package/dist/graph/adapters/neptune.adapter.d.ts +0 -82
- package/dist/graph/adapters/neptune.adapter.js +0 -1369
- package/dist/graph/adapters/neptune.adapter.js.map +0 -1
- package/dist/graph/graphs.service.d.ts +0 -617
- package/dist/graph/graphs.service.js +0 -2594
- package/dist/graph/graphs.service.js.map +0 -1
- package/dist/graph/index.d.ts +0 -57
- package/dist/graph/index.js +0 -77
- package/dist/graph/index.js.map +0 -1
- package/dist/graph/transactions/index.d.ts +0 -4
- package/dist/graph/transactions/index.js +0 -9
- package/dist/graph/transactions/index.js.map +0 -1
- package/dist/graph/transactions/transaction-manager.d.ts +0 -61
- package/dist/graph/transactions/transaction-manager.js +0 -126
- package/dist/graph/transactions/transaction-manager.js.map +0 -1
- package/dist/graph/types/connection.interface.d.ts +0 -149
- package/dist/graph/types/connection.interface.js +0 -9
- package/dist/graph/types/connection.interface.js.map +0 -1
- package/dist/graph/types/enums.d.ts +0 -101
- package/dist/graph/types/enums.js +0 -114
- package/dist/graph/types/enums.js.map +0 -1
- package/dist/graph/types/index.d.ts +0 -13
- package/dist/graph/types/index.js +0 -20
- package/dist/graph/types/index.js.map +0 -1
- package/dist/graph/types/node.interface.d.ts +0 -248
- package/dist/graph/types/node.interface.js +0 -9
- package/dist/graph/types/node.interface.js.map +0 -1
- package/dist/graph/types/query.interface.d.ts +0 -175
- package/dist/graph/types/query.interface.js +0 -9
- package/dist/graph/types/query.interface.js.map +0 -1
- package/dist/graph/types/relationship.interface.d.ts +0 -207
- package/dist/graph/types/relationship.interface.js +0 -9
- package/dist/graph/types/relationship.interface.js.map +0 -1
- package/dist/graph/types/schema.interface.d.ts +0 -295
- package/dist/graph/types/schema.interface.js +0 -9
- package/dist/graph/types/schema.interface.js.map +0 -1
- package/dist/graph/types/transaction.interface.d.ts +0 -55
- package/dist/graph/types/transaction.interface.js +0 -9
- package/dist/graph/types/transaction.interface.js.map +0 -1
- package/dist/graph/types/traversal.interface.d.ts +0 -181
- package/dist/graph/types/traversal.interface.js +0 -9
- package/dist/graph/types/traversal.interface.js.map +0 -1
- package/dist/graph/utils/graph-error.d.ts +0 -71
- package/dist/graph/utils/graph-error.js +0 -142
- package/dist/graph/utils/graph-error.js.map +0 -1
- package/dist/graph/utils/index.d.ts +0 -4
- package/dist/graph/utils/index.js +0 -9
- package/dist/graph/utils/index.js.map +0 -1
- package/dist/imports/imports.repo.d.ts +0 -0
- package/dist/imports/imports.repo.js +0 -1
- package/dist/imports/imports.repo.js.map +0 -1
- package/dist/imports/imports.service.d.ts +0 -23
- package/dist/imports/imports.service.js +0 -71
- package/dist/imports/imports.service.js.map +0 -1
- package/dist/imports/imports.types.d.ts +0 -350
- package/dist/imports/imports.types.js +0 -33
- package/dist/imports/imports.types.js.map +0 -1
- package/dist/imports/openAPI3.0.types.d.ts +0 -52
- package/dist/imports/openAPI3.0.types.js +0 -3
- package/dist/imports/openAPI3.0.types.js.map +0 -1
- package/dist/imports/repos/openApi.repo.d.ts +0 -6
- package/dist/imports/repos/openApi.repo.js +0 -422
- package/dist/imports/repos/openApi.repo.js.map +0 -1
- package/dist/imports/repos/postmanV21.repo.d.ts +0 -14
- package/dist/imports/repos/postmanV21.repo.js +0 -257
- package/dist/imports/repos/postmanV21.repo.js.map +0 -1
- package/dist/imports/utils/imports.utils.d.ts +0 -80
- package/dist/imports/utils/imports.utils.js +0 -114
- package/dist/imports/utils/imports.utils.js.map +0 -1
- package/dist/imports/validators/index.d.ts +0 -0
- package/dist/imports/validators/index.js +0 -1
- package/dist/imports/validators/index.js.map +0 -1
- package/dist/imports/validators/joi-validators/postmanV21.validator.d.ts +0 -5
- package/dist/imports/validators/joi-validators/postmanV21.validator.js +0 -96
- package/dist/imports/validators/joi-validators/postmanV21.validator.js.map +0 -1
- package/dist/index.d.ts +0 -4021
- package/dist/index.js +0 -5895
- package/dist/index.js.map +0 -1
- package/dist/init.interface.d.ts +0 -407
- package/dist/init.interface.js +0 -3
- package/dist/init.interface.js.map +0 -1
- package/dist/inputs/inputs.repo.d.ts +0 -7
- package/dist/inputs/inputs.repo.js +0 -16
- package/dist/inputs/inputs.repo.js.map +0 -1
- package/dist/inputs/inputs.service.d.ts +0 -61
- package/dist/inputs/inputs.service.js +0 -468
- package/dist/inputs/inputs.service.js.map +0 -1
- package/dist/inputs/utils/inputs.utils.create.d.ts +0 -11
- package/dist/inputs/utils/inputs.utils.create.js +0 -273
- package/dist/inputs/utils/inputs.utils.create.js.map +0 -1
- package/dist/inputs/validators/inputs.validator.parse.d.ts +0 -4
- package/dist/inputs/validators/inputs.validator.parse.js +0 -53
- package/dist/inputs/validators/inputs.validator.parse.js.map +0 -1
- package/dist/jobs/index.d.ts +0 -38
- package/dist/jobs/index.js +0 -50
- package/dist/jobs/index.js.map +0 -1
- package/dist/jobs/jobs.service.d.ts +0 -154
- package/dist/jobs/jobs.service.js +0 -491
- package/dist/jobs/jobs.service.js.map +0 -1
- package/dist/jobs/jobs.state.d.ts +0 -113
- package/dist/jobs/jobs.state.js +0 -447
- package/dist/jobs/jobs.state.js.map +0 -1
- package/dist/jobs/types.d.ts +0 -449
- package/dist/jobs/types.js +0 -74
- package/dist/jobs/types.js.map +0 -1
- package/dist/logs/logs.repo.d.ts +0 -6
- package/dist/logs/logs.repo.js +0 -12
- package/dist/logs/logs.repo.js.map +0 -1
- package/dist/logs/logs.service.d.ts +0 -30
- package/dist/logs/logs.service.js +0 -89
- package/dist/logs/logs.service.js.map +0 -1
- package/dist/logs/logs.types.d.ts +0 -85
- package/dist/logs/logs.types.js +0 -52
- package/dist/logs/logs.types.js.map +0 -1
- package/dist/logs/utils/logs.utils.create.d.ts +0 -0
- package/dist/logs/utils/logs.utils.create.js +0 -1
- package/dist/logs/utils/logs.utils.create.js.map +0 -1
- package/dist/logs/utils/logs.utils.errors.d.ts +0 -2
- package/dist/logs/utils/logs.utils.errors.js +0 -8
- package/dist/logs/utils/logs.utils.errors.js.map +0 -1
- package/dist/models/index.d.ts +0 -6
- package/dist/models/index.js +0 -11
- package/dist/models/index.js.map +0 -1
- package/dist/models/models.service.d.ts +0 -137
- package/dist/models/models.service.js +0 -195
- package/dist/models/models.service.js.map +0 -1
- package/dist/notifications/index.d.ts +0 -13
- package/dist/notifications/index.js +0 -26
- package/dist/notifications/index.js.map +0 -1
- package/dist/notifications/notifications.service.d.ts +0 -268
- package/dist/notifications/notifications.service.js +0 -907
- package/dist/notifications/notifications.service.js.map +0 -1
- package/dist/notifications/types/index.d.ts +0 -4
- package/dist/notifications/types/index.js +0 -21
- package/dist/notifications/types/index.js.map +0 -1
- package/dist/notifications/types/notifications.types.d.ts +0 -454
- package/dist/notifications/types/notifications.types.js +0 -51
- package/dist/notifications/types/notifications.types.js.map +0 -1
- package/dist/parsers/index.d.ts +0 -3
- package/dist/parsers/index.js +0 -27
- package/dist/parsers/index.js.map +0 -1
- package/dist/parsers/pipelines/postman.pipelines.d.ts +0 -15
- package/dist/parsers/pipelines/postman.pipelines.js +0 -103
- package/dist/parsers/pipelines/postman.pipelines.js.map +0 -1
- package/dist/parsers/types/postman.types.d.ts +0 -200
- package/dist/parsers/types/postman.types.js +0 -3
- package/dist/parsers/types/postman.types.js.map +0 -1
- package/dist/parsers/utils/postman.utils.d.ts +0 -12
- package/dist/parsers/utils/postman.utils.js +0 -116
- package/dist/parsers/utils/postman.utils.js.map +0 -1
- package/dist/parsers/validators/postman-auth.validators.d.ts +0 -10
- package/dist/parsers/validators/postman-auth.validators.js +0 -127
- package/dist/parsers/validators/postman-auth.validators.js.map +0 -1
- package/dist/parsers/validators/postman-request.validators.d.ts +0 -13
- package/dist/parsers/validators/postman-request.validators.js +0 -139
- package/dist/parsers/validators/postman-request.validators.js.map +0 -1
- package/dist/parsers/validators/postman-response.validators.d.ts +0 -13
- package/dist/parsers/validators/postman-response.validators.js +0 -150
- package/dist/parsers/validators/postman-response.validators.js.map +0 -1
- package/dist/parsers/validators/postman-variable.validators.d.ts +0 -14
- package/dist/parsers/validators/postman-variable.validators.js +0 -163
- package/dist/parsers/validators/postman-variable.validators.js.map +0 -1
- package/dist/pricing/pricing.repo.d.ts +0 -0
- package/dist/pricing/pricing.repo.js +0 -1
- package/dist/pricing/pricing.repo.js.map +0 -1
- package/dist/pricing/pricing.service.d.ts +0 -24
- package/dist/pricing/pricing.service.js +0 -51
- package/dist/pricing/pricing.service.js.map +0 -1
- package/dist/pricing/pricing.types.d.ts +0 -76
- package/dist/pricing/pricing.types.js +0 -21
- package/dist/pricing/pricing.types.js.map +0 -1
- package/dist/pricing/utils/string.utils.d.ts +0 -1
- package/dist/pricing/utils/string.utils.js +0 -9
- package/dist/pricing/utils/string.utils.js.map +0 -1
- package/dist/processor/repos/mongo.repo.d.ts +0 -39
- package/dist/processor/repos/mongo.repo.js +0 -260
- package/dist/processor/repos/mongo.repo.js.map +0 -1
- package/dist/processor/repos/postgres.repo.d.ts +0 -31
- package/dist/processor/repos/postgres.repo.js +0 -185
- package/dist/processor/repos/postgres.repo.js.map +0 -1
- package/dist/processor/repos/sms.repo.d.ts +0 -39
- package/dist/processor/repos/sms.repo.js +0 -124
- package/dist/processor/repos/sms.repo.js.map +0 -1
- package/dist/processor/services/processor.service.d.ts +0 -465
- package/dist/processor/services/processor.service.js +0 -5343
- package/dist/processor/services/processor.service.js.map +0 -1
- package/dist/processor/services/request.service.d.ts +0 -36
- package/dist/processor/services/request.service.js +0 -304
- package/dist/processor/services/request.service.js.map +0 -1
- package/dist/processor/types/request.types.d.ts +0 -14
- package/dist/processor/types/request.types.js +0 -3
- package/dist/processor/types/request.types.js.map +0 -1
- package/dist/processor/utils/processor.utils.d.ts +0 -104
- package/dist/processor/utils/processor.utils.js +0 -1066
- package/dist/processor/utils/processor.utils.js.map +0 -1
- package/dist/processor/utils/request.utils.d.ts +0 -20
- package/dist/processor/utils/request.utils.js +0 -113
- package/dist/processor/utils/request.utils.js.map +0 -1
- package/dist/processor/utils/storage.util.d.ts +0 -8
- package/dist/processor/utils/storage.util.js +0 -106
- package/dist/processor/utils/storage.util.js.map +0 -1
- package/dist/products/services/products.service.d.ts +0 -577
- package/dist/products/services/products.service.js +0 -5845
- package/dist/products/services/products.service.js.map +0 -1
- package/dist/products/utils/crypt.utils.d.ts +0 -1
- package/dist/products/utils/crypt.utils.js +0 -17
- package/dist/products/utils/crypt.utils.js.map +0 -1
- package/dist/products/utils/functions.utils.d.ts +0 -13
- package/dist/products/utils/functions.utils.js +0 -294
- package/dist/products/utils/functions.utils.js.map +0 -1
- package/dist/products/utils/objects.utils.d.ts +0 -13
- package/dist/products/utils/objects.utils.js +0 -89
- package/dist/products/utils/objects.utils.js.map +0 -1
- package/dist/products/utils/string.utils.d.ts +0 -12
- package/dist/products/utils/string.utils.js +0 -168
- package/dist/products/utils/string.utils.js.map +0 -1
- package/dist/products/validators/index.d.ts +0 -33
- package/dist/products/validators/index.js +0 -75
- package/dist/products/validators/index.js.map +0 -1
- package/dist/products/validators/joi-validators/create.html.validator.d.ts +0 -2
- package/dist/products/validators/joi-validators/create.html.validator.js +0 -55
- package/dist/products/validators/joi-validators/create.html.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/create.productAgent.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/create.productAgent.validator.js +0 -266
- package/dist/products/validators/joi-validators/create.productAgent.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/create.productApp.validator.d.ts +0 -4
- package/dist/products/validators/joi-validators/create.productApp.validator.js +0 -61
- package/dist/products/validators/joi-validators/create.productApp.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/create.productCache.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/create.productCache.validator.js +0 -46
- package/dist/products/validators/joi-validators/create.productCache.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/create.productDatabase.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/create.productDatabase.validator.js +0 -77
- package/dist/products/validators/joi-validators/create.productDatabase.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/create.productDatabaseAction.validator.d.ts +0 -7
- package/dist/products/validators/joi-validators/create.productDatabaseAction.validator.js +0 -194
- package/dist/products/validators/joi-validators/create.productDatabaseAction.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/create.productDatabaseMigration.validator.d.ts +0 -4
- package/dist/products/validators/joi-validators/create.productDatabaseMigration.validator.js +0 -63
- package/dist/products/validators/joi-validators/create.productDatabaseMigration.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/create.productEnv.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/create.productEnv.validator.js +0 -45
- package/dist/products/validators/joi-validators/create.productEnv.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/create.productFallback.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/create.productFallback.validator.js +0 -64
- package/dist/products/validators/joi-validators/create.productFallback.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/create.productFeature.validator.d.ts +0 -14
- package/dist/products/validators/joi-validators/create.productFeature.validator.js +0 -140
- package/dist/products/validators/joi-validators/create.productFeature.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/create.productFunction.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/create.productFunction.validator.js +0 -57
- package/dist/products/validators/joi-validators/create.productFunction.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/create.productGraph.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/create.productGraph.validator.js +0 -89
- package/dist/products/validators/joi-validators/create.productGraph.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/create.productHealthcheck.validator.d.ts +0 -4
- package/dist/products/validators/joi-validators/create.productHealthcheck.validator.js +0 -58
- package/dist/products/validators/joi-validators/create.productHealthcheck.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/create.productJob.validator.d.ts +0 -12
- package/dist/products/validators/joi-validators/create.productJob.validator.js +0 -60
- package/dist/products/validators/joi-validators/create.productJob.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/create.productMessageBrokerTopic.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/create.productMessageBrokerTopic.validator.js +0 -52
- package/dist/products/validators/joi-validators/create.productMessageBrokerTopic.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/create.productMessageBrokers.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/create.productMessageBrokers.validator.js +0 -193
- package/dist/products/validators/joi-validators/create.productMessageBrokers.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/create.productModel.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/create.productModel.validator.js +0 -132
- package/dist/products/validators/joi-validators/create.productModel.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/create.productNotification.validator.d.ts +0 -4
- package/dist/products/validators/joi-validators/create.productNotification.validator.js +0 -241
- package/dist/products/validators/joi-validators/create.productNotification.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/create.productNotificationMessage.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/create.productNotificationMessage.validator.js +0 -57
- package/dist/products/validators/joi-validators/create.productNotificationMessage.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/create.productNotifications.validator.d.ts +0 -0
- package/dist/products/validators/joi-validators/create.productNotifications.validator.js +0 -1
- package/dist/products/validators/joi-validators/create.productNotifications.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/create.productQuota.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/create.productQuota.validator.js +0 -67
- package/dist/products/validators/joi-validators/create.productQuota.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/create.productStorage.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/create.productStorage.validator.js +0 -158
- package/dist/products/validators/joi-validators/create.productStorage.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/create.productVector.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/create.productVector.validator.js +0 -136
- package/dist/products/validators/joi-validators/create.productVector.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/create.products.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/create.products.validator.js +0 -43
- package/dist/products/validators/joi-validators/create.products.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/create.requestAction.validator.d.ts +0 -2
- package/dist/products/validators/joi-validators/create.requestAction.validator.js +0 -45
- package/dist/products/validators/joi-validators/create.requestAction.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/create.userAuth.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/create.userAuth.validator.js +0 -48
- package/dist/products/validators/joi-validators/create.userAuth.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/register.productWebhooks.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/register.productWebhooks.validator.js +0 -48
- package/dist/products/validators/joi-validators/register.productWebhooks.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/update.dataValue.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/update.dataValue.validator.js +0 -103
- package/dist/products/validators/joi-validators/update.dataValue.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/update.productApp.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/update.productApp.validator.js +0 -42
- package/dist/products/validators/joi-validators/update.productApp.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/update.productCache.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/update.productCache.validator.js +0 -45
- package/dist/products/validators/joi-validators/update.productCache.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/update.productDatabase.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/update.productDatabase.validator.js +0 -76
- package/dist/products/validators/joi-validators/update.productDatabase.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/update.productDatabaseAction.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/update.productDatabaseAction.validator.js +0 -79
- package/dist/products/validators/joi-validators/update.productDatabaseAction.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/update.productDatabaseMigration.validator.d.ts +0 -4
- package/dist/products/validators/joi-validators/update.productDatabaseMigration.validator.js +0 -64
- package/dist/products/validators/joi-validators/update.productDatabaseMigration.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/update.productEnv.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/update.productEnv.validator.js +0 -46
- package/dist/products/validators/joi-validators/update.productEnv.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/update.productFallback.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/update.productFallback.validator.js +0 -60
- package/dist/products/validators/joi-validators/update.productFallback.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/update.productFeature.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/update.productFeature.validator.js +0 -53
- package/dist/products/validators/joi-validators/update.productFeature.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/update.productFunction.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/update.productFunction.validator.js +0 -41
- package/dist/products/validators/joi-validators/update.productFunction.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/update.productGraph.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/update.productGraph.validator.js +0 -88
- package/dist/products/validators/joi-validators/update.productGraph.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/update.productJob.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/update.productJob.validator.js +0 -50
- package/dist/products/validators/joi-validators/update.productJob.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/update.productMessageBrokerTopic.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/update.productMessageBrokerTopic.validator.js +0 -52
- package/dist/products/validators/joi-validators/update.productMessageBrokerTopic.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/update.productNotification.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/update.productNotification.validator.js +0 -47
- package/dist/products/validators/joi-validators/update.productNotification.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/update.productNotificationMessage.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/update.productNotificationMessage.validator.js +0 -58
- package/dist/products/validators/joi-validators/update.productNotificationMessage.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/update.productQuota.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/update.productQuota.validator.js +0 -64
- package/dist/products/validators/joi-validators/update.productQuota.validator.js.map +0 -1
- package/dist/products/validators/joi-validators/update.userAuth.validator.d.ts +0 -3
- package/dist/products/validators/joi-validators/update.userAuth.validator.js +0 -48
- package/dist/products/validators/joi-validators/update.userAuth.validator.js.map +0 -1
- package/dist/resilience/fallback.service.d.ts +0 -141
- package/dist/resilience/fallback.service.js +0 -766
- package/dist/resilience/fallback.service.js.map +0 -1
- package/dist/resilience/healthcheck.service.d.ts +0 -163
- package/dist/resilience/healthcheck.service.js +0 -1012
- package/dist/resilience/healthcheck.service.js.map +0 -1
- package/dist/resilience/index.d.ts +0 -104
- package/dist/resilience/index.js +0 -140
- package/dist/resilience/index.js.map +0 -1
- package/dist/resilience/quota.service.d.ts +0 -83
- package/dist/resilience/quota.service.js +0 -518
- package/dist/resilience/quota.service.js.map +0 -1
- package/dist/resilience/resilience.service.d.ts +0 -98
- package/dist/resilience/resilience.service.js +0 -560
- package/dist/resilience/resilience.service.js.map +0 -1
- package/dist/resilience/types/index.d.ts +0 -513
- package/dist/resilience/types/index.js +0 -29
- package/dist/resilience/types/index.js.map +0 -1
- package/dist/secrets/index.d.ts +0 -10
- package/dist/secrets/index.js +0 -33
- package/dist/secrets/index.js.map +0 -1
- package/dist/secrets/secrets.resolver.d.ts +0 -52
- package/dist/secrets/secrets.resolver.js +0 -236
- package/dist/secrets/secrets.resolver.js.map +0 -1
- package/dist/secrets/secrets.service.d.ts +0 -93
- package/dist/secrets/secrets.service.js +0 -246
- package/dist/secrets/secrets.service.js.map +0 -1
- package/dist/secrets/secrets.types.d.ts +0 -188
- package/dist/secrets/secrets.types.js +0 -87
- package/dist/secrets/secrets.types.js.map +0 -1
- package/dist/sessions/index.d.ts +0 -50
- package/dist/sessions/index.js +0 -96
- package/dist/sessions/index.js.map +0 -1
- package/dist/sessions/sessions.helper.d.ts +0 -88
- package/dist/sessions/sessions.helper.js +0 -190
- package/dist/sessions/sessions.helper.js.map +0 -1
- package/dist/sessions/sessions.resolver.d.ts +0 -188
- package/dist/sessions/sessions.resolver.js +0 -603
- package/dist/sessions/sessions.resolver.js.map +0 -1
- package/dist/sessions/sessions.service.d.ts +0 -194
- package/dist/sessions/sessions.service.js +0 -988
- package/dist/sessions/sessions.service.js.map +0 -1
- package/dist/sessions/types/index.d.ts +0 -344
- package/dist/sessions/types/index.js +0 -6
- package/dist/sessions/types/index.js.map +0 -1
- package/dist/storage/index.d.ts +0 -66
- package/dist/storage/index.js +0 -99
- package/dist/storage/index.js.map +0 -1
- package/dist/storage/storage.service.d.ts +0 -177
- package/dist/storage/storage.service.js +0 -905
- package/dist/storage/storage.service.js.map +0 -1
- package/dist/storage/types/index.d.ts +0 -270
- package/dist/storage/types/index.js +0 -6
- package/dist/storage/types/index.js.map +0 -1
- package/dist/storage/utils/storage.util.d.ts +0 -62
- package/dist/storage/utils/storage.util.js +0 -593
- package/dist/storage/utils/storage.util.js.map +0 -1
- package/dist/types/actions.types.d.ts +0 -0
- package/dist/types/actions.types.js +0 -1
- package/dist/types/actions.types.js.map +0 -1
- package/dist/types/appBuilder.types.d.ts +0 -316
- package/dist/types/appBuilder.types.js +0 -3
- package/dist/types/appBuilder.types.js.map +0 -1
- package/dist/types/database.types.d.ts +0 -9
- package/dist/types/database.types.js +0 -3
- package/dist/types/database.types.js.map +0 -1
- package/dist/types/enums.d.ts +0 -231
- package/dist/types/enums.js +0 -261
- package/dist/types/enums.js.map +0 -1
- package/dist/types/index.d.ts +0 -12
- package/dist/types/index.js +0 -29
- package/dist/types/index.js.map +0 -1
- package/dist/types/index.types.d.ts +0 -30
- package/dist/types/index.types.js +0 -9
- package/dist/types/index.types.js.map +0 -1
- package/dist/types/inputs.types.d.ts +0 -114
- package/dist/types/inputs.types.js +0 -44
- package/dist/types/inputs.types.js.map +0 -1
- package/dist/types/logs.types.d.ts +0 -19
- package/dist/types/logs.types.js +0 -8
- package/dist/types/logs.types.js.map +0 -1
- package/dist/types/pricing.types.d.ts +0 -4
- package/dist/types/pricing.types.js +0 -3
- package/dist/types/pricing.types.js.map +0 -1
- package/dist/types/processor.types.d.ts +0 -602
- package/dist/types/processor.types.js +0 -19
- package/dist/types/processor.types.js.map +0 -1
- package/dist/types/productsBuilder.types.d.ts +0 -1566
- package/dist/types/productsBuilder.types.js +0 -303
- package/dist/types/productsBuilder.types.js.map +0 -1
- package/dist/types/request-tracker.interface.d.ts +0 -0
- package/dist/types/request-tracker.interface.js +0 -1
- package/dist/types/request-tracker.interface.js.map +0 -1
- package/dist/types/requests.types.d.ts +0 -8
- package/dist/types/requests.types.js +0 -3
- package/dist/types/requests.types.js.map +0 -1
- package/dist/types/workspaces.types.d.ts +0 -28
- package/dist/types/workspaces.types.js +0 -4
- package/dist/types/workspaces.types.js.map +0 -1
- package/dist/utils/constants.d.ts +0 -1
- package/dist/utils/constants.js +0 -5
- package/dist/utils/constants.js.map +0 -1
- package/dist/utils/index.d.ts +0 -2
- package/dist/utils/index.js +0 -109
- package/dist/utils/index.js.map +0 -1
- package/dist/vector/actions/action-manager.d.ts +0 -140
- package/dist/vector/actions/action-manager.js +0 -356
- package/dist/vector/actions/action-manager.js.map +0 -1
- package/dist/vector/adapters/base.adapter.d.ts +0 -169
- package/dist/vector/adapters/base.adapter.js +0 -218
- package/dist/vector/adapters/base.adapter.js.map +0 -1
- package/dist/vector/adapters/index.d.ts +0 -10
- package/dist/vector/adapters/index.js +0 -19
- package/dist/vector/adapters/index.js.map +0 -1
- package/dist/vector/adapters/memory.adapter.d.ts +0 -85
- package/dist/vector/adapters/memory.adapter.js +0 -505
- package/dist/vector/adapters/memory.adapter.js.map +0 -1
- package/dist/vector/adapters/pinecone.adapter.d.ts +0 -52
- package/dist/vector/adapters/pinecone.adapter.js +0 -433
- package/dist/vector/adapters/pinecone.adapter.js.map +0 -1
- package/dist/vector/adapters/qdrant.adapter.d.ts +0 -56
- package/dist/vector/adapters/qdrant.adapter.js +0 -442
- package/dist/vector/adapters/qdrant.adapter.js.map +0 -1
- package/dist/vector/adapters/weaviate.adapter.d.ts +0 -68
- package/dist/vector/adapters/weaviate.adapter.js +0 -661
- package/dist/vector/adapters/weaviate.adapter.js.map +0 -1
- package/dist/vector/index.d.ts +0 -36
- package/dist/vector/index.js +0 -70
- package/dist/vector/index.js.map +0 -1
- package/dist/vector/types/action.interface.d.ts +0 -195
- package/dist/vector/types/action.interface.js +0 -100
- package/dist/vector/types/action.interface.js.map +0 -1
- package/dist/vector/types/connection.interface.d.ts +0 -151
- package/dist/vector/types/connection.interface.js +0 -8
- package/dist/vector/types/connection.interface.js.map +0 -1
- package/dist/vector/types/embedding.interface.d.ts +0 -144
- package/dist/vector/types/embedding.interface.js +0 -8
- package/dist/vector/types/embedding.interface.js.map +0 -1
- package/dist/vector/types/enums.d.ts +0 -104
- package/dist/vector/types/enums.js +0 -113
- package/dist/vector/types/enums.js.map +0 -1
- package/dist/vector/types/index.d.ts +0 -11
- package/dist/vector/types/index.js +0 -23
- package/dist/vector/types/index.js.map +0 -1
- package/dist/vector/types/vector.interface.d.ts +0 -315
- package/dist/vector/types/vector.interface.js +0 -8
- package/dist/vector/types/vector.interface.js.map +0 -1
- package/dist/vector/utils/index.d.ts +0 -6
- package/dist/vector/utils/index.js +0 -11
- package/dist/vector/utils/index.js.map +0 -1
- package/dist/vector/utils/vector-error.d.ts +0 -69
- package/dist/vector/utils/vector-error.js +0 -116
- package/dist/vector/utils/vector-error.js.map +0 -1
- package/dist/vector/vector-database.service.d.ts +0 -484
- package/dist/vector/vector-database.service.js +0 -1002
- package/dist/vector/vector-database.service.js.map +0 -1
- package/dist/vector/vector.service.d.ts +0 -283
- package/dist/vector/vector.service.js +0 -544
- package/dist/vector/vector.service.js.map +0 -1
- package/dist/warehouse/executor/index.d.ts +0 -5
- package/dist/warehouse/executor/index.js +0 -12
- package/dist/warehouse/executor/index.js.map +0 -1
- package/dist/warehouse/executor/joins/index.d.ts +0 -5
- package/dist/warehouse/executor/joins/index.js +0 -11
- package/dist/warehouse/executor/joins/index.js.map +0 -1
- package/dist/warehouse/executor/joins/join-executor.d.ts +0 -101
- package/dist/warehouse/executor/joins/join-executor.js +0 -493
- package/dist/warehouse/executor/joins/join-executor.js.map +0 -1
- package/dist/warehouse/executor/joins/semantic-join.d.ts +0 -64
- package/dist/warehouse/executor/joins/semantic-join.js +0 -241
- package/dist/warehouse/executor/joins/semantic-join.js.map +0 -1
- package/dist/warehouse/executor/single-source-executor.d.ts +0 -155
- package/dist/warehouse/executor/single-source-executor.js +0 -573
- package/dist/warehouse/executor/single-source-executor.js.map +0 -1
- package/dist/warehouse/index.d.ts +0 -79
- package/dist/warehouse/index.js +0 -111
- package/dist/warehouse/index.js.map +0 -1
- package/dist/warehouse/parser/index.d.ts +0 -4
- package/dist/warehouse/parser/index.js +0 -10
- package/dist/warehouse/parser/index.js.map +0 -1
- package/dist/warehouse/parser/query-parser.d.ts +0 -181
- package/dist/warehouse/parser/query-parser.js +0 -415
- package/dist/warehouse/parser/query-parser.js.map +0 -1
- package/dist/warehouse/registry/data-source-registry.d.ts +0 -207
- package/dist/warehouse/registry/data-source-registry.js +0 -396
- package/dist/warehouse/registry/data-source-registry.js.map +0 -1
- package/dist/warehouse/registry/index.d.ts +0 -4
- package/dist/warehouse/registry/index.js +0 -9
- package/dist/warehouse/registry/index.js.map +0 -1
- package/dist/warehouse/transactions/index.d.ts +0 -4
- package/dist/warehouse/transactions/index.js +0 -9
- package/dist/warehouse/transactions/index.js.map +0 -1
- package/dist/warehouse/transactions/saga-orchestrator.d.ts +0 -92
- package/dist/warehouse/transactions/saga-orchestrator.js +0 -383
- package/dist/warehouse/transactions/saga-orchestrator.js.map +0 -1
- package/dist/warehouse/types/index.d.ts +0 -9
- package/dist/warehouse/types/index.js +0 -33
- package/dist/warehouse/types/index.js.map +0 -1
- package/dist/warehouse/types/join.interface.d.ts +0 -225
- package/dist/warehouse/types/join.interface.js +0 -87
- package/dist/warehouse/types/join.interface.js.map +0 -1
- package/dist/warehouse/types/query.interface.d.ts +0 -232
- package/dist/warehouse/types/query.interface.js +0 -9
- package/dist/warehouse/types/query.interface.js.map +0 -1
- package/dist/warehouse/types/transaction.interface.d.ts +0 -236
- package/dist/warehouse/types/transaction.interface.js +0 -74
- package/dist/warehouse/types/transaction.interface.js.map +0 -1
- package/dist/warehouse/types/where.interface.d.ts +0 -208
- package/dist/warehouse/types/where.interface.js +0 -89
- package/dist/warehouse/types/where.interface.js.map +0 -1
- package/dist/warehouse/warehouse.service.d.ts +0 -200
- package/dist/warehouse/warehouse.service.js +0 -470
- package/dist/warehouse/warehouse.service.js.map +0 -1
- package/dist/workflows/index.d.ts +0 -30
- package/dist/workflows/index.js +0 -64
- package/dist/workflows/index.js.map +0 -1
- package/dist/workflows/types/index.d.ts +0 -6
- package/dist/workflows/types/index.js +0 -23
- package/dist/workflows/types/index.js.map +0 -1
- package/dist/workflows/types/workflows.types.d.ts +0 -1095
- package/dist/workflows/types/workflows.types.js +0 -13
- package/dist/workflows/types/workflows.types.js.map +0 -1
- package/dist/workflows/workflow-builder.d.ts +0 -70
- package/dist/workflows/workflow-builder.js +0 -353
- package/dist/workflows/workflow-builder.js.map +0 -1
- package/dist/workflows/workflow-executor.d.ts +0 -289
- package/dist/workflows/workflow-executor.js +0 -2467
- package/dist/workflows/workflow-executor.js.map +0 -1
- package/dist/workflows/workflows.service.d.ts +0 -412
- package/dist/workflows/workflows.service.js +0 -2233
- package/dist/workflows/workflows.service.js.map +0 -1
|
@@ -1,513 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Ductape Resilience Types
|
|
3
|
-
*
|
|
4
|
-
* Type definitions for healthchecks, quotas, and fallbacks.
|
|
5
|
-
* Aligned with backend types in productsBuilder.types.ts
|
|
6
|
-
*/
|
|
7
|
-
import { FeatureEventTypes, IFeatureInput, IActionRequest, ProviderStatus as BackendProviderStatus } from '../../types';
|
|
8
|
-
export { IFeatureInput };
|
|
9
|
-
export { BackendProviderStatus as ProviderStatus };
|
|
10
|
-
/**
|
|
11
|
-
* Type of probe for healthchecks
|
|
12
|
-
*/
|
|
13
|
-
export declare enum ProbeType {
|
|
14
|
-
APP = "app",
|
|
15
|
-
DATABASE = "database",
|
|
16
|
-
WORKFLOW = "workflow",
|
|
17
|
-
FEATURE = "feature",
|
|
18
|
-
GRAPH = "graph",
|
|
19
|
-
MESSAGE_BROKER = "message_broker",
|
|
20
|
-
STORAGE = "storage"
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Type of resilience provider event
|
|
24
|
-
* Uses ACTION only - features are deprecated in favor of workflows
|
|
25
|
-
*/
|
|
26
|
-
export type ResilienceEventType = FeatureEventTypes.ACTION;
|
|
27
|
-
export { FeatureEventTypes };
|
|
28
|
-
/**
|
|
29
|
-
* Healthcheck probe configuration (for code-first API)
|
|
30
|
-
*/
|
|
31
|
-
export interface IHealthcheckProbe {
|
|
32
|
-
type: ProbeType;
|
|
33
|
-
app?: string;
|
|
34
|
-
database?: string;
|
|
35
|
-
workflow?: string;
|
|
36
|
-
feature?: string;
|
|
37
|
-
graph?: string;
|
|
38
|
-
messageBroker?: string;
|
|
39
|
-
storage?: string;
|
|
40
|
-
event?: string;
|
|
41
|
-
input?: Record<string, unknown>;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Healthcheck environment configuration
|
|
45
|
-
* Matches backend CheckEnvStatus interface
|
|
46
|
-
*/
|
|
47
|
-
export interface IHealthcheckEnvConfig {
|
|
48
|
-
slug: string;
|
|
49
|
-
status?: string;
|
|
50
|
-
lastAvailable?: string;
|
|
51
|
-
lastChecked?: string;
|
|
52
|
-
lastLatency?: string;
|
|
53
|
-
averageLatency?: string;
|
|
54
|
-
input?: any;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Webhook configuration for failure notifications
|
|
58
|
-
*/
|
|
59
|
-
export interface IHealthcheckWebhook {
|
|
60
|
-
url: string;
|
|
61
|
-
method?: 'GET' | 'POST' | 'PUT' | 'PATCH';
|
|
62
|
-
headers?: Record<string, string>;
|
|
63
|
-
body?: Record<string, unknown>;
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* Notification channel configuration
|
|
67
|
-
*/
|
|
68
|
-
export interface INotificationChannel {
|
|
69
|
-
push?: {
|
|
70
|
-
recipients?: string[];
|
|
71
|
-
};
|
|
72
|
-
email?: {
|
|
73
|
-
recipients: string[];
|
|
74
|
-
};
|
|
75
|
-
sms?: {
|
|
76
|
-
recipients: string[];
|
|
77
|
-
};
|
|
78
|
-
callback?: {
|
|
79
|
-
data?: Record<string, unknown>;
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* Notification configuration for healthcheck failures
|
|
84
|
-
*/
|
|
85
|
-
export interface IHealthcheckNotification {
|
|
86
|
-
notification: string;
|
|
87
|
-
message: string;
|
|
88
|
-
channels: INotificationChannel;
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* Event emission configuration
|
|
92
|
-
*/
|
|
93
|
-
export interface IHealthcheckEmit {
|
|
94
|
-
event: string;
|
|
95
|
-
data?: Record<string, unknown>;
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* On-failure configuration for healthchecks
|
|
99
|
-
*/
|
|
100
|
-
export interface IHealthcheckOnFailure {
|
|
101
|
-
notifications?: IHealthcheckNotification[];
|
|
102
|
-
webhooks?: IHealthcheckWebhook[];
|
|
103
|
-
emit?: IHealthcheckEmit[];
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* Healthcheck definition schema
|
|
107
|
-
* Compatible with backend IProductAppHealth
|
|
108
|
-
*/
|
|
109
|
-
export interface IHealthcheckSchema {
|
|
110
|
-
_id?: string;
|
|
111
|
-
tag: string;
|
|
112
|
-
name?: string;
|
|
113
|
-
description?: string;
|
|
114
|
-
app?: string;
|
|
115
|
-
event?: string;
|
|
116
|
-
probe?: IHealthcheckProbe;
|
|
117
|
-
interval: number;
|
|
118
|
-
retries: number;
|
|
119
|
-
onFailure?: IHealthcheckOnFailure;
|
|
120
|
-
envs: IHealthcheckEnvConfig[];
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* Healthcheck status response
|
|
124
|
-
*/
|
|
125
|
-
export interface IHealthcheckStatus {
|
|
126
|
-
status: string;
|
|
127
|
-
lastAvailable?: string;
|
|
128
|
-
lastChecked?: string;
|
|
129
|
-
lastLatency?: number;
|
|
130
|
-
averageLatency?: number;
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* Healthcheck run result
|
|
134
|
-
*/
|
|
135
|
-
export interface IHealthcheckRunResult {
|
|
136
|
-
status: string;
|
|
137
|
-
latency: number;
|
|
138
|
-
checkedAt: string;
|
|
139
|
-
error?: string;
|
|
140
|
-
}
|
|
141
|
-
/**
|
|
142
|
-
* Quota provider option configuration
|
|
143
|
-
* Compatible with backend IQuotaOptions (extends IFallbackOptions)
|
|
144
|
-
* Note: Features are deprecated - use workflows instead
|
|
145
|
-
*/
|
|
146
|
-
export interface IQuotaOption {
|
|
147
|
-
quota: number;
|
|
148
|
-
uses?: number;
|
|
149
|
-
provider?: string;
|
|
150
|
-
app?: string;
|
|
151
|
-
type: FeatureEventTypes.ACTION;
|
|
152
|
-
event: string;
|
|
153
|
-
input: IActionRequest | Record<string, unknown>;
|
|
154
|
-
output: Record<string, unknown>;
|
|
155
|
-
retries: number;
|
|
156
|
-
healthcheck?: string;
|
|
157
|
-
provider_status?: BackendProviderStatus;
|
|
158
|
-
last_available?: boolean;
|
|
159
|
-
last_checked?: Date;
|
|
160
|
-
check_interval?: number;
|
|
161
|
-
}
|
|
162
|
-
/**
|
|
163
|
-
* Quota definition schema
|
|
164
|
-
* Compatible with backend IProductQuota
|
|
165
|
-
*/
|
|
166
|
-
export interface IQuotaSchema {
|
|
167
|
-
_id?: string;
|
|
168
|
-
name?: string;
|
|
169
|
-
description?: string;
|
|
170
|
-
tag: string;
|
|
171
|
-
input: Record<string, IFeatureInput>;
|
|
172
|
-
total_quota?: number;
|
|
173
|
-
total_init?: number;
|
|
174
|
-
options: IQuotaOption[];
|
|
175
|
-
}
|
|
176
|
-
/**
|
|
177
|
-
* Quota run options
|
|
178
|
-
*/
|
|
179
|
-
export interface IQuotaRunOptions {
|
|
180
|
-
product: string;
|
|
181
|
-
env: string;
|
|
182
|
-
tag: string;
|
|
183
|
-
input: Record<string, unknown>;
|
|
184
|
-
/** Session token in format: session_tag:jwt_token */
|
|
185
|
-
session?: string;
|
|
186
|
-
cache?: string;
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* Quota dispatch options
|
|
190
|
-
*/
|
|
191
|
-
export interface IQuotaDispatchOptions extends IQuotaRunOptions {
|
|
192
|
-
schedule?: {
|
|
193
|
-
cron?: string;
|
|
194
|
-
delay?: number;
|
|
195
|
-
at?: Date;
|
|
196
|
-
};
|
|
197
|
-
}
|
|
198
|
-
/**
|
|
199
|
-
* Fallback provider option configuration
|
|
200
|
-
* Compatible with backend IFallbackOptions
|
|
201
|
-
* Note: Features are deprecated - use workflows instead
|
|
202
|
-
*/
|
|
203
|
-
export interface IFallbackOption {
|
|
204
|
-
provider?: string;
|
|
205
|
-
app?: string;
|
|
206
|
-
type: FeatureEventTypes.ACTION;
|
|
207
|
-
event: string;
|
|
208
|
-
input: IActionRequest | Record<string, unknown>;
|
|
209
|
-
output: Record<string, unknown>;
|
|
210
|
-
retries: number;
|
|
211
|
-
healthcheck?: string;
|
|
212
|
-
provider_status?: BackendProviderStatus;
|
|
213
|
-
last_available?: boolean;
|
|
214
|
-
last_checked?: Date;
|
|
215
|
-
check_interval?: number;
|
|
216
|
-
}
|
|
217
|
-
/**
|
|
218
|
-
* Fallback definition schema
|
|
219
|
-
* Compatible with backend IProductFallback
|
|
220
|
-
*/
|
|
221
|
-
export interface IFallbackSchema {
|
|
222
|
-
_id?: string;
|
|
223
|
-
name?: string;
|
|
224
|
-
description?: string;
|
|
225
|
-
tag: string;
|
|
226
|
-
input: Record<string, IFeatureInput>;
|
|
227
|
-
options: IFallbackOption[];
|
|
228
|
-
}
|
|
229
|
-
/**
|
|
230
|
-
* Fallback run options
|
|
231
|
-
*/
|
|
232
|
-
export interface IFallbackRunOptions {
|
|
233
|
-
product: string;
|
|
234
|
-
env: string;
|
|
235
|
-
tag: string;
|
|
236
|
-
input: Record<string, unknown>;
|
|
237
|
-
/** Session token in format: session_tag:jwt_token */
|
|
238
|
-
session?: string;
|
|
239
|
-
cache?: string;
|
|
240
|
-
}
|
|
241
|
-
/**
|
|
242
|
-
* Fallback dispatch options
|
|
243
|
-
*/
|
|
244
|
-
export interface IFallbackDispatchOptions extends IFallbackRunOptions {
|
|
245
|
-
schedule?: {
|
|
246
|
-
cron?: string;
|
|
247
|
-
delay?: number;
|
|
248
|
-
at?: Date;
|
|
249
|
-
};
|
|
250
|
-
}
|
|
251
|
-
/**
|
|
252
|
-
* Probe builder interface for healthchecks
|
|
253
|
-
*/
|
|
254
|
-
export interface IProbeBuilder {
|
|
255
|
-
app(tag: string): IAppProbeBuilder;
|
|
256
|
-
database(tag: string): IDatabaseProbeBuilder;
|
|
257
|
-
workflow(tag: string): IWorkflowProbeBuilder;
|
|
258
|
-
graph(tag: string): IGraphProbeBuilder;
|
|
259
|
-
messageBroker(tag: string): IMessageBrokerProbeBuilder;
|
|
260
|
-
storage(tag: string): IStorageProbeBuilder;
|
|
261
|
-
}
|
|
262
|
-
export interface IAppProbeBuilder {
|
|
263
|
-
action(event: string): IAppProbeActionBuilder;
|
|
264
|
-
}
|
|
265
|
-
export interface IAppProbeActionBuilder {
|
|
266
|
-
input(data: Record<string, unknown>): void;
|
|
267
|
-
}
|
|
268
|
-
export interface IDatabaseProbeBuilder {
|
|
269
|
-
action(event: string): IDatabaseProbeActionBuilder;
|
|
270
|
-
}
|
|
271
|
-
export interface IDatabaseProbeActionBuilder {
|
|
272
|
-
input(data: Record<string, unknown>): void;
|
|
273
|
-
}
|
|
274
|
-
export interface IWorkflowProbeBuilder {
|
|
275
|
-
input(data: Record<string, unknown>): void;
|
|
276
|
-
}
|
|
277
|
-
export interface IGraphProbeBuilder {
|
|
278
|
-
action(event: string): IGraphProbeActionBuilder;
|
|
279
|
-
}
|
|
280
|
-
export interface IGraphProbeActionBuilder {
|
|
281
|
-
input(data: Record<string, unknown>): void;
|
|
282
|
-
}
|
|
283
|
-
export interface IMessageBrokerProbeBuilder {
|
|
284
|
-
action(event: string): IMessageBrokerProbeActionBuilder;
|
|
285
|
-
}
|
|
286
|
-
export interface IMessageBrokerProbeActionBuilder {
|
|
287
|
-
input(data: Record<string, unknown>): void;
|
|
288
|
-
}
|
|
289
|
-
export interface IStorageProbeBuilder {
|
|
290
|
-
action(event: string): IStorageProbeActionBuilder;
|
|
291
|
-
}
|
|
292
|
-
export interface IStorageProbeActionBuilder {
|
|
293
|
-
input(data: Record<string, unknown>): void;
|
|
294
|
-
}
|
|
295
|
-
/**
|
|
296
|
-
* Failure notification builder interface
|
|
297
|
-
*/
|
|
298
|
-
export interface IFailureNotificationBuilder {
|
|
299
|
-
notification(tag: string): INotificationMessageBuilder;
|
|
300
|
-
webhook(config: IHealthcheckWebhook): IFailureNotificationBuilder;
|
|
301
|
-
emit(config: IHealthcheckEmit): IFailureNotificationBuilder;
|
|
302
|
-
}
|
|
303
|
-
export interface INotificationMessageBuilder {
|
|
304
|
-
message(event: string): INotificationChannelBuilder;
|
|
305
|
-
}
|
|
306
|
-
export interface INotificationChannelBuilder extends IFailureNotificationBuilder {
|
|
307
|
-
push(config?: {
|
|
308
|
-
recipients?: string[];
|
|
309
|
-
}): INotificationChannelBuilder;
|
|
310
|
-
email(config: {
|
|
311
|
-
recipients: string[];
|
|
312
|
-
}): INotificationChannelBuilder;
|
|
313
|
-
sms(config: {
|
|
314
|
-
recipients: string[];
|
|
315
|
-
}): INotificationChannelBuilder;
|
|
316
|
-
callback(config?: {
|
|
317
|
-
data?: Record<string, unknown>;
|
|
318
|
-
}): INotificationChannelBuilder;
|
|
319
|
-
}
|
|
320
|
-
/**
|
|
321
|
-
* Healthcheck context interface
|
|
322
|
-
*/
|
|
323
|
-
export interface IHealthcheckContext {
|
|
324
|
-
probe(): IProbeBuilder;
|
|
325
|
-
interval(ms: number): void;
|
|
326
|
-
retries(count: number): void;
|
|
327
|
-
env(slug: string, options?: Partial<IHealthcheckEnvConfig>): void;
|
|
328
|
-
onFailure(): IFailureNotificationBuilder;
|
|
329
|
-
auth(field: string): string;
|
|
330
|
-
token(key: string): string;
|
|
331
|
-
variable(app: string, key: string): string;
|
|
332
|
-
constant(app: string, key: string): string;
|
|
333
|
-
}
|
|
334
|
-
/**
|
|
335
|
-
* Provider builder interface for quotas and fallbacks
|
|
336
|
-
*/
|
|
337
|
-
export interface IProviderBuilder<TInput = Record<string, unknown>> {
|
|
338
|
-
weight(value: number): IProviderBuilder<TInput>;
|
|
339
|
-
healthcheck(tag: string): IProviderBuilder<TInput>;
|
|
340
|
-
app(tag: string): IAppProviderBuilder<TInput>;
|
|
341
|
-
/** @deprecated Features are deprecated - use workflow() instead */
|
|
342
|
-
feature(tag: string): IProviderBuilder<TInput>;
|
|
343
|
-
database(tag: string): IDatabaseProviderBuilder<TInput>;
|
|
344
|
-
workflow(tag: string): IWorkflowProviderBuilder<TInput>;
|
|
345
|
-
notification(tag: string): INotificationProviderBuilder<TInput>;
|
|
346
|
-
mapInput(mapper: (input: TInput) => Record<string, unknown>): IProviderBuilder<TInput>;
|
|
347
|
-
mapOutput(mapper: (response: unknown) => Record<string, unknown>): IProviderBuilder<TInput>;
|
|
348
|
-
retries(count: number): IProviderBuilder<TInput>;
|
|
349
|
-
checkInterval(ms: number): IProviderBuilder<TInput>;
|
|
350
|
-
}
|
|
351
|
-
export interface IAppProviderBuilder<TInput> extends IProviderBuilder<TInput> {
|
|
352
|
-
action(event: string): IProviderBuilder<TInput>;
|
|
353
|
-
}
|
|
354
|
-
export interface IDatabaseProviderBuilder<TInput> extends IProviderBuilder<TInput> {
|
|
355
|
-
action(event: string): IProviderBuilder<TInput>;
|
|
356
|
-
}
|
|
357
|
-
export interface IWorkflowProviderBuilder<TInput> extends IProviderBuilder<TInput> {
|
|
358
|
-
input(data: Record<string, unknown>): IProviderBuilder<TInput>;
|
|
359
|
-
}
|
|
360
|
-
export interface INotificationProviderBuilder<TInput> extends IProviderBuilder<TInput> {
|
|
361
|
-
event(event: string): IProviderBuilder<TInput>;
|
|
362
|
-
}
|
|
363
|
-
/**
|
|
364
|
-
* Quota context interface
|
|
365
|
-
*/
|
|
366
|
-
export interface IQuotaContext<TInput = Record<string, unknown>> {
|
|
367
|
-
readonly input: TInput;
|
|
368
|
-
provider(name: string): IProviderBuilder<TInput>;
|
|
369
|
-
auth(field: string): string;
|
|
370
|
-
token(key: string): string;
|
|
371
|
-
variable(app: string, key: string): string;
|
|
372
|
-
constant(app: string, key: string): string;
|
|
373
|
-
}
|
|
374
|
-
/**
|
|
375
|
-
* Fallback provider builder interface
|
|
376
|
-
*/
|
|
377
|
-
export interface IFallbackProviderBuilder<TInput = Record<string, unknown>> extends IProviderBuilder<TInput> {
|
|
378
|
-
}
|
|
379
|
-
/**
|
|
380
|
-
* Fallback context interface
|
|
381
|
-
*/
|
|
382
|
-
export interface IFallbackContext<TInput = Record<string, unknown>> {
|
|
383
|
-
readonly input: TInput;
|
|
384
|
-
primary(name: string): IFallbackProviderBuilder<TInput>;
|
|
385
|
-
fallback(name: string): IFallbackProviderBuilder<TInput>;
|
|
386
|
-
auth(field: string): string;
|
|
387
|
-
token(key: string): string;
|
|
388
|
-
variable(app: string, key: string): string;
|
|
389
|
-
constant(app: string, key: string): string;
|
|
390
|
-
}
|
|
391
|
-
/**
|
|
392
|
-
* Healthcheck define options
|
|
393
|
-
*/
|
|
394
|
-
export interface IHealthcheckDefineOptions {
|
|
395
|
-
product?: string;
|
|
396
|
-
tag: string;
|
|
397
|
-
name?: string;
|
|
398
|
-
description?: string;
|
|
399
|
-
handler: (ctx: IHealthcheckContext) => Promise<void>;
|
|
400
|
-
}
|
|
401
|
-
/**
|
|
402
|
-
* Quota define options
|
|
403
|
-
*/
|
|
404
|
-
export interface IQuotaDefineOptions<TInput = Record<string, unknown>> {
|
|
405
|
-
product?: string;
|
|
406
|
-
tag: string;
|
|
407
|
-
name?: string;
|
|
408
|
-
description?: string;
|
|
409
|
-
input: Record<string, IFeatureInput>;
|
|
410
|
-
handler: (ctx: IQuotaContext<TInput>) => Promise<void>;
|
|
411
|
-
}
|
|
412
|
-
/**
|
|
413
|
-
* Fallback define options
|
|
414
|
-
*/
|
|
415
|
-
export interface IFallbackDefineOptions<TInput = Record<string, unknown>> {
|
|
416
|
-
product?: string;
|
|
417
|
-
tag: string;
|
|
418
|
-
name?: string;
|
|
419
|
-
description?: string;
|
|
420
|
-
input: Record<string, IFeatureInput>;
|
|
421
|
-
handler: (ctx: IFallbackContext<TInput>) => Promise<void>;
|
|
422
|
-
}
|
|
423
|
-
/**
|
|
424
|
-
* Resilience service configuration
|
|
425
|
-
*/
|
|
426
|
-
export interface IResilienceServiceConfig {
|
|
427
|
-
workspace_id: string;
|
|
428
|
-
public_key: string;
|
|
429
|
-
user_id: string;
|
|
430
|
-
token: string;
|
|
431
|
-
env_type: string;
|
|
432
|
-
base_url?: string;
|
|
433
|
-
/** Redis client for caching healthcheck results */
|
|
434
|
-
redis_client?: any;
|
|
435
|
-
/** BullMQ queues for job scheduling */
|
|
436
|
-
queues?: {
|
|
437
|
-
health?: any;
|
|
438
|
-
jobs?: any;
|
|
439
|
-
};
|
|
440
|
-
}
|
|
441
|
-
/**
|
|
442
|
-
* Defined healthcheck with compile method
|
|
443
|
-
*/
|
|
444
|
-
export interface IDefinedHealthcheck {
|
|
445
|
-
tag: string;
|
|
446
|
-
name?: string;
|
|
447
|
-
description?: string;
|
|
448
|
-
compile(): IHealthcheckSchema;
|
|
449
|
-
}
|
|
450
|
-
/**
|
|
451
|
-
* Defined quota with compile method
|
|
452
|
-
*/
|
|
453
|
-
export interface IDefinedQuota {
|
|
454
|
-
tag: string;
|
|
455
|
-
name?: string;
|
|
456
|
-
description?: string;
|
|
457
|
-
input: Record<string, IFeatureInput>;
|
|
458
|
-
compile(): IQuotaSchema;
|
|
459
|
-
}
|
|
460
|
-
/**
|
|
461
|
-
* Defined fallback with compile method
|
|
462
|
-
*/
|
|
463
|
-
export interface IDefinedFallback {
|
|
464
|
-
tag: string;
|
|
465
|
-
name?: string;
|
|
466
|
-
description?: string;
|
|
467
|
-
input: Record<string, IFeatureInput>;
|
|
468
|
-
compile(): IFallbackSchema;
|
|
469
|
-
}
|
|
470
|
-
/**
|
|
471
|
-
* Combined resilience definition options
|
|
472
|
-
*/
|
|
473
|
-
export interface IResilienceDefineOptions {
|
|
474
|
-
tag: string;
|
|
475
|
-
name?: string;
|
|
476
|
-
description?: string;
|
|
477
|
-
handler: (ctx: IResilienceContext) => Promise<void>;
|
|
478
|
-
}
|
|
479
|
-
/**
|
|
480
|
-
* Combined resilience context
|
|
481
|
-
*/
|
|
482
|
-
export interface IResilienceContext {
|
|
483
|
-
healthcheck(tag: string): IHealthcheckBuilder;
|
|
484
|
-
quota(tag: string, options: {
|
|
485
|
-
input: Record<string, IFeatureInput>;
|
|
486
|
-
}): IQuotaBuilder;
|
|
487
|
-
fallback(tag: string, options: {
|
|
488
|
-
input: Record<string, IFeatureInput>;
|
|
489
|
-
}): IFallbackBuilder;
|
|
490
|
-
}
|
|
491
|
-
/**
|
|
492
|
-
* Healthcheck builder in resilience context
|
|
493
|
-
*/
|
|
494
|
-
export interface IHealthcheckBuilder {
|
|
495
|
-
probe(): IProbeBuilder;
|
|
496
|
-
interval(ms: number): IHealthcheckBuilder;
|
|
497
|
-
retries(count: number): IHealthcheckBuilder;
|
|
498
|
-
env(slug: string, options?: Partial<IHealthcheckEnvConfig>): IHealthcheckBuilder;
|
|
499
|
-
onFailure(): IFailureNotificationBuilder;
|
|
500
|
-
}
|
|
501
|
-
/**
|
|
502
|
-
* Quota builder in resilience context
|
|
503
|
-
*/
|
|
504
|
-
export interface IQuotaBuilder {
|
|
505
|
-
provider(name: string): IProviderBuilder;
|
|
506
|
-
}
|
|
507
|
-
/**
|
|
508
|
-
* Fallback builder in resilience context
|
|
509
|
-
*/
|
|
510
|
-
export interface IFallbackBuilder {
|
|
511
|
-
primary(name: string): IFallbackProviderBuilder;
|
|
512
|
-
fallback(name: string): IFallbackProviderBuilder;
|
|
513
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Ductape Resilience Types
|
|
4
|
-
*
|
|
5
|
-
* Type definitions for healthchecks, quotas, and fallbacks.
|
|
6
|
-
* Aligned with backend types in productsBuilder.types.ts
|
|
7
|
-
*/
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.FeatureEventTypes = exports.ProbeType = exports.ProviderStatus = void 0;
|
|
10
|
-
const types_1 = require("../../types");
|
|
11
|
-
Object.defineProperty(exports, "FeatureEventTypes", { enumerable: true, get: function () { return types_1.FeatureEventTypes; } });
|
|
12
|
-
Object.defineProperty(exports, "ProviderStatus", { enumerable: true, get: function () { return types_1.ProviderStatus; } });
|
|
13
|
-
// ============================================================================
|
|
14
|
-
// Enums
|
|
15
|
-
// ============================================================================
|
|
16
|
-
/**
|
|
17
|
-
* Type of probe for healthchecks
|
|
18
|
-
*/
|
|
19
|
-
var ProbeType;
|
|
20
|
-
(function (ProbeType) {
|
|
21
|
-
ProbeType["APP"] = "app";
|
|
22
|
-
ProbeType["DATABASE"] = "database";
|
|
23
|
-
ProbeType["WORKFLOW"] = "workflow";
|
|
24
|
-
ProbeType["FEATURE"] = "feature";
|
|
25
|
-
ProbeType["GRAPH"] = "graph";
|
|
26
|
-
ProbeType["MESSAGE_BROKER"] = "message_broker";
|
|
27
|
-
ProbeType["STORAGE"] = "storage";
|
|
28
|
-
})(ProbeType || (exports.ProbeType = ProbeType = {}));
|
|
29
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resilience/types/index.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,uCAKqB;AAgCZ,kGApCP,yBAAiB,OAoCO;AA1BQ,+FAPd,sBAAqB,OAOO;AAEhD,+EAA+E;AAC/E,QAAQ;AACR,+EAA+E;AAE/E;;GAEG;AACH,IAAY,SAQX;AARD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;IACrB,gCAAmB,CAAA;IACnB,4BAAe,CAAA;IACf,8CAAiC,CAAA;IACjC,gCAAmB,CAAA;AACrB,CAAC,EARW,SAAS,yBAAT,SAAS,QAQpB"}
|
package/dist/secrets/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Secrets Module
|
|
3
|
-
*
|
|
4
|
-
* Provides workspace secrets management with $Secret{key} syntax support.
|
|
5
|
-
*/
|
|
6
|
-
export { SecretsService, getSecretsService, setSecretsService } from './secrets.service';
|
|
7
|
-
export type { ISecretsServiceDeps } from './secrets.service';
|
|
8
|
-
export { SECRET_PATTERN, SECRET_PATTERN_GLOBAL, SecretNotFoundError, SecretScopeError, SecretEnvironmentError, SecretExpiredError, SecretRevokedError, SecretResolutionError, } from './secrets.types';
|
|
9
|
-
export type { SecretTokenType, ICreateSecretInput, IUpdateSecretInput, ISecretMetadata, ISecret, ISecretCheck, IResolveSecretsOptions, ISecretResolutionResult, ISecretsServiceConfig, ISecretsService, } from './secrets.types';
|
|
10
|
-
export { isSecretReference, containsSecretReferences, extractSecretKeys, validateSecret, findAllSecretReferences, createSecretsResolver, mightContainSecrets, } from './secrets.resolver';
|
package/dist/secrets/index.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Secrets Module
|
|
4
|
-
*
|
|
5
|
-
* Provides workspace secrets management with $Secret{key} syntax support.
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.mightContainSecrets = exports.createSecretsResolver = exports.findAllSecretReferences = exports.validateSecret = exports.extractSecretKeys = exports.containsSecretReferences = exports.isSecretReference = exports.SecretResolutionError = exports.SecretRevokedError = exports.SecretExpiredError = exports.SecretEnvironmentError = exports.SecretScopeError = exports.SecretNotFoundError = exports.SECRET_PATTERN_GLOBAL = exports.SECRET_PATTERN = exports.setSecretsService = exports.getSecretsService = exports.SecretsService = void 0;
|
|
9
|
-
// Main service
|
|
10
|
-
var secrets_service_1 = require("./secrets.service");
|
|
11
|
-
Object.defineProperty(exports, "SecretsService", { enumerable: true, get: function () { return secrets_service_1.SecretsService; } });
|
|
12
|
-
Object.defineProperty(exports, "getSecretsService", { enumerable: true, get: function () { return secrets_service_1.getSecretsService; } });
|
|
13
|
-
Object.defineProperty(exports, "setSecretsService", { enumerable: true, get: function () { return secrets_service_1.setSecretsService; } });
|
|
14
|
-
// Types
|
|
15
|
-
var secrets_types_1 = require("./secrets.types");
|
|
16
|
-
Object.defineProperty(exports, "SECRET_PATTERN", { enumerable: true, get: function () { return secrets_types_1.SECRET_PATTERN; } });
|
|
17
|
-
Object.defineProperty(exports, "SECRET_PATTERN_GLOBAL", { enumerable: true, get: function () { return secrets_types_1.SECRET_PATTERN_GLOBAL; } });
|
|
18
|
-
Object.defineProperty(exports, "SecretNotFoundError", { enumerable: true, get: function () { return secrets_types_1.SecretNotFoundError; } });
|
|
19
|
-
Object.defineProperty(exports, "SecretScopeError", { enumerable: true, get: function () { return secrets_types_1.SecretScopeError; } });
|
|
20
|
-
Object.defineProperty(exports, "SecretEnvironmentError", { enumerable: true, get: function () { return secrets_types_1.SecretEnvironmentError; } });
|
|
21
|
-
Object.defineProperty(exports, "SecretExpiredError", { enumerable: true, get: function () { return secrets_types_1.SecretExpiredError; } });
|
|
22
|
-
Object.defineProperty(exports, "SecretRevokedError", { enumerable: true, get: function () { return secrets_types_1.SecretRevokedError; } });
|
|
23
|
-
Object.defineProperty(exports, "SecretResolutionError", { enumerable: true, get: function () { return secrets_types_1.SecretResolutionError; } });
|
|
24
|
-
// Resolver utilities
|
|
25
|
-
var secrets_resolver_1 = require("./secrets.resolver");
|
|
26
|
-
Object.defineProperty(exports, "isSecretReference", { enumerable: true, get: function () { return secrets_resolver_1.isSecretReference; } });
|
|
27
|
-
Object.defineProperty(exports, "containsSecretReferences", { enumerable: true, get: function () { return secrets_resolver_1.containsSecretReferences; } });
|
|
28
|
-
Object.defineProperty(exports, "extractSecretKeys", { enumerable: true, get: function () { return secrets_resolver_1.extractSecretKeys; } });
|
|
29
|
-
Object.defineProperty(exports, "validateSecret", { enumerable: true, get: function () { return secrets_resolver_1.validateSecret; } });
|
|
30
|
-
Object.defineProperty(exports, "findAllSecretReferences", { enumerable: true, get: function () { return secrets_resolver_1.findAllSecretReferences; } });
|
|
31
|
-
Object.defineProperty(exports, "createSecretsResolver", { enumerable: true, get: function () { return secrets_resolver_1.createSecretsResolver; } });
|
|
32
|
-
Object.defineProperty(exports, "mightContainSecrets", { enumerable: true, get: function () { return secrets_resolver_1.mightContainSecrets; } });
|
|
33
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/secrets/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,eAAe;AACf,qDAAyF;AAAhF,iHAAA,cAAc,OAAA;AAAE,oHAAA,iBAAiB,OAAA;AAAE,oHAAA,iBAAiB,OAAA;AAG7D,QAAQ;AACR,iDASyB;AARvB,+GAAA,cAAc,OAAA;AACd,sHAAA,qBAAqB,OAAA;AACrB,oHAAA,mBAAmB,OAAA;AACnB,iHAAA,gBAAgB,OAAA;AAChB,uHAAA,sBAAsB,OAAA;AACtB,mHAAA,kBAAkB,OAAA;AAClB,mHAAA,kBAAkB,OAAA;AAClB,sHAAA,qBAAqB,OAAA;AAevB,qBAAqB;AACrB,uDAQ4B;AAP1B,qHAAA,iBAAiB,OAAA;AACjB,4HAAA,wBAAwB,OAAA;AACxB,qHAAA,iBAAiB,OAAA;AACjB,kHAAA,cAAc,OAAA;AACd,2HAAA,uBAAuB,OAAA;AACvB,yHAAA,qBAAqB,OAAA;AACrB,uHAAA,mBAAmB,OAAA"}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Secrets Resolver
|
|
3
|
-
*
|
|
4
|
-
* Utility for detecting and resolving $Secret{key} patterns at runtime.
|
|
5
|
-
* This module handles:
|
|
6
|
-
* - Pattern detection in strings and objects
|
|
7
|
-
* - Secret fetching and caching
|
|
8
|
-
* - Validation of scope and environment constraints
|
|
9
|
-
* - Recursive resolution of nested objects
|
|
10
|
-
*/
|
|
11
|
-
import { ISecretCheck, ISecret, IResolveSecretsOptions, ISecretResolutionResult } from './secrets.types';
|
|
12
|
-
/**
|
|
13
|
-
* Check if a string value is a secret reference
|
|
14
|
-
*/
|
|
15
|
-
export declare function isSecretReference(value: string): ISecretCheck;
|
|
16
|
-
/**
|
|
17
|
-
* Check if a string contains any secret references (partial matches)
|
|
18
|
-
*/
|
|
19
|
-
export declare function containsSecretReferences(value: string): boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Extract all secret keys from a string
|
|
22
|
-
*/
|
|
23
|
-
export declare function extractSecretKeys(value: string): string[];
|
|
24
|
-
/**
|
|
25
|
-
* Validate a secret against scope, environment, expiration, and revocation status
|
|
26
|
-
*/
|
|
27
|
-
export declare function validateSecret(secret: ISecret, options?: IResolveSecretsOptions): void;
|
|
28
|
-
/**
|
|
29
|
-
* Replace a single secret reference with its value
|
|
30
|
-
*/
|
|
31
|
-
export declare function replaceSecretInString(value: string, secretKey: string, secretValue: string): string;
|
|
32
|
-
/**
|
|
33
|
-
* Recursively find all secret references in an object
|
|
34
|
-
*/
|
|
35
|
-
export declare function findAllSecretReferences(obj: unknown): string[];
|
|
36
|
-
/**
|
|
37
|
-
* Create a secrets resolver instance with caching
|
|
38
|
-
*/
|
|
39
|
-
export declare function createSecretsResolver(fetchSecret: (key: string) => Promise<ISecret>, options?: {
|
|
40
|
-
cacheTtl?: number;
|
|
41
|
-
}): {
|
|
42
|
-
getSecret: (key: string) => Promise<ISecret>;
|
|
43
|
-
resolveString: (value: string, resolveOptions?: IResolveSecretsOptions) => Promise<ISecretResolutionResult<string>>;
|
|
44
|
-
resolveObject: <T>(obj: T, resolveOptions?: IResolveSecretsOptions) => Promise<ISecretResolutionResult<T>>;
|
|
45
|
-
clearCache: () => void;
|
|
46
|
-
invalidate: (key: string) => void;
|
|
47
|
-
findAllSecretReferences: typeof findAllSecretReferences;
|
|
48
|
-
};
|
|
49
|
-
/**
|
|
50
|
-
* Type guard to check if a value might contain secrets
|
|
51
|
-
*/
|
|
52
|
-
export declare function mightContainSecrets(value: unknown): boolean;
|