@flowrunner/cli 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +148 -0
- package/ai-docs/instructions/service-code-format/01-service-structure.md +180 -0
- package/ai-docs/instructions/service-code-format/02-zod-types.md +260 -0
- package/ai-docs/instructions/service-code-format/03-parameters.md +193 -0
- package/ai-docs/instructions/service-code-format/04-http-requests.md +257 -0
- package/ai-docs/instructions/service-code-format/05-dictionaries.md +103 -0
- package/ai-docs/instructions/service-code-format/06-oauth2.md +42 -0
- package/ai-docs/instructions/service-code-format/07-actions.md +171 -0
- package/ai-docs/instructions/service-code-format/08-polling-triggers.md +54 -0
- package/ai-docs/instructions/service-code-format/09-realtime-triggers.md +269 -0
- package/ai-docs/instructions/service-code-format/10-files-api.md +148 -0
- package/ai-docs/instructions/service-code-format/11-output-model.md +142 -0
- package/ai-docs/instructions/service-code-format/12-service-readme.md +69 -0
- package/ai-docs/instructions/service-code-format/13-runtime-contracts.md +193 -0
- package/ai-docs/instructions/service-code-format/14-reference-service.md +341 -0
- package/ai-docs/instructions/service-code-format/15-unit-tests.md +361 -0
- package/ai-docs/instructions/service-code-format/16-gotchas.md +201 -0
- package/ai-docs/instructions/service-code-format/17-client-certificates.md +162 -0
- package/ai-docs/instructions/service-code-format/18-test-recipes.md +160 -0
- package/ai-docs/instructions/service-code-format/README.md +120 -0
- package/ai-docs/providers/claude/agents/flowrunner-service-code-engineer.md +139 -0
- package/ai-docs/providers/claude/agents/flowrunner-service-test-engineer.md +497 -0
- package/ai-docs/providers/claude/main-orchestrator-segment.md +51 -0
- package/bin/flowrunner.js +66 -0
- package/bin/resolve-local.js +98 -0
- package/dist/cli.js +10972 -0
- package/dist/cli.js.map +7 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +10131 -0
- package/dist/index.js.map +7 -0
- package/dist/types/flow-extension-runner/src/common/config.d.ts +12 -0
- package/dist/types/flow-extension-runner/src/common/constants.d.ts +9 -0
- package/dist/types/flow-extension-runner/src/common/context-files.d.ts +107 -0
- package/dist/types/flow-extension-runner/src/common/context.d.ts +6 -0
- package/dist/types/flow-extension-runner/src/common/types.d.ts +11 -0
- package/dist/types/flow-extension-runner/src/errors/base.d.ts +17 -0
- package/dist/types/flow-extension-runner/src/errors/codes.d.ts +17 -0
- package/dist/types/flow-extension-runner/src/errors/errors.d.ts +48 -0
- package/dist/types/flow-extension-runner/src/errors/index.d.ts +3 -0
- package/dist/types/flow-extension-runner/src/global.d.ts +34 -0
- package/dist/types/flow-extension-runner/src/index.d.ts +15 -0
- package/dist/types/flow-extension-runner/src/namespace.d.ts +3 -0
- package/dist/types/flow-extension-runner/src/v1/config.d.ts +3 -0
- package/dist/types/flow-extension-runner/src/v1/constants.d.ts +4 -0
- package/dist/types/flow-extension-runner/src/v1/index.d.ts +11 -0
- package/dist/types/flow-extension-runner/src/v1/namespace.d.ts +9 -0
- package/dist/types/flow-extension-runner/src/v1/service.d.ts +29 -0
- package/dist/types/flow-extension-runner/src/v1/types.d.ts +13 -0
- package/dist/types/flow-extension-runner/src/v2/actions/action-method.d.ts +34 -0
- package/dist/types/flow-extension-runner/src/v2/context/execution-context.d.ts +25 -0
- package/dist/types/flow-extension-runner/src/v2/context/logger.d.ts +2 -0
- package/dist/types/flow-extension-runner/src/v2/context/method-input.d.ts +27 -0
- package/dist/types/flow-extension-runner/src/v2/context/proxies.d.ts +1 -0
- package/dist/types/flow-extension-runner/src/v2/create-extension.d.ts +2 -0
- package/dist/types/flow-extension-runner/src/v2/crypto.d.ts +6 -0
- package/dist/types/flow-extension-runner/src/v2/dictionaries/dictionary-method.d.ts +24 -0
- package/dist/types/flow-extension-runner/src/v2/dictionaries/payload-schema.d.ts +10 -0
- package/dist/types/flow-extension-runner/src/v2/extension.d.ts +51 -0
- package/dist/types/flow-extension-runner/src/v2/index.d.ts +39 -0
- package/dist/types/flow-extension-runner/src/v2/loaders/loader-method.d.ts +31 -0
- package/dist/types/flow-extension-runner/src/v2/loaders/loader-owner.d.ts +17 -0
- package/dist/types/flow-extension-runner/src/v2/loaders/payload-schema.d.ts +3 -0
- package/dist/types/flow-extension-runner/src/v2/method.d.ts +22 -0
- package/dist/types/flow-extension-runner/src/v2/model/field-mapper.d.ts +10 -0
- package/dist/types/flow-extension-runner/src/v2/model/method-model.d.ts +3 -0
- package/dist/types/flow-extension-runner/src/v2/model/model-types.d.ts +70 -0
- package/dist/types/flow-extension-runner/src/v2/model/params-model.d.ts +16 -0
- package/dist/types/flow-extension-runner/src/v2/oauth/method-names.d.ts +5 -0
- package/dist/types/flow-extension-runner/src/v2/oauth/oauth2.d.ts +9 -0
- package/dist/types/flow-extension-runner/src/v2/oauth/system-params.d.ts +6 -0
- package/dist/types/flow-extension-runner/src/v2/oauth/types.d.ts +54 -0
- package/dist/types/flow-extension-runner/src/v2/params/config-params.d.ts +14 -0
- package/dist/types/flow-extension-runner/src/v2/params/files-options.d.ts +58 -0
- package/dist/types/flow-extension-runner/src/v2/params/index.d.ts +19 -0
- package/dist/types/flow-extension-runner/src/v2/params/json/checks.d.ts +26 -0
- package/dist/types/flow-extension-runner/src/v2/params/json/decode.d.ts +24 -0
- package/dist/types/flow-extension-runner/src/v2/params/json/encode.d.ts +20 -0
- package/dist/types/flow-extension-runner/src/v2/params/json/types.d.ts +86 -0
- package/dist/types/flow-extension-runner/src/v2/params/json/values.d.ts +5 -0
- package/dist/types/flow-extension-runner/src/v2/params/method-params.d.ts +17 -0
- package/dist/types/flow-extension-runner/src/v2/params/params.d.ts +26 -0
- package/dist/types/flow-extension-runner/src/v2/params/schema/assert-object-schema.d.ts +6 -0
- package/dist/types/flow-extension-runner/src/v2/params/schema/assert-supported-schema.d.ts +8 -0
- package/dist/types/flow-extension-runner/src/v2/params/schema/coerce.d.ts +54 -0
- package/dist/types/flow-extension-runner/src/v2/params/schema/dates.d.ts +40 -0
- package/dist/types/flow-extension-runner/src/v2/params/schema/defaults.d.ts +36 -0
- package/dist/types/flow-extension-runner/src/v2/params/schema/field-plan.d.ts +33 -0
- package/dist/types/flow-extension-runner/src/v2/params/schema/introspect.d.ts +58 -0
- package/dist/types/flow-extension-runner/src/v2/params/schema/labels.d.ts +3 -0
- package/dist/types/flow-extension-runner/src/v2/params/schema/messages.d.ts +16 -0
- package/dist/types/flow-extension-runner/src/v2/params/schema/normalize.d.ts +8 -0
- package/dist/types/flow-extension-runner/src/v2/params/schema/parse.d.ts +7 -0
- package/dist/types/flow-extension-runner/src/v2/params/types.d.ts +29 -0
- package/dist/types/flow-extension-runner/src/v2/params/widget-types.d.ts +40 -0
- package/dist/types/flow-extension-runner/src/v2/params/zod.d.ts +86 -0
- package/dist/types/flow-extension-runner/src/v2/path.d.ts +1 -0
- package/dist/types/flow-extension-runner/src/v2/polling-triggers/mechanisms.d.ts +19 -0
- package/dist/types/flow-extension-runner/src/v2/polling-triggers/method-names.d.ts +1 -0
- package/dist/types/flow-extension-runner/src/v2/polling-triggers/polling-triggers.d.ts +11 -0
- package/dist/types/flow-extension-runner/src/v2/polling-triggers/system-params.d.ts +7 -0
- package/dist/types/flow-extension-runner/src/v2/polling-triggers/trigger-method.d.ts +25 -0
- package/dist/types/flow-extension-runner/src/v2/polling-triggers/types.d.ts +46 -0
- package/dist/types/flow-extension-runner/src/v2/realtime-triggers/method-names.d.ts +7 -0
- package/dist/types/flow-extension-runner/src/v2/realtime-triggers/realtime-setup.d.ts +10 -0
- package/dist/types/flow-extension-runner/src/v2/realtime-triggers/system-params.d.ts +29 -0
- package/dist/types/flow-extension-runner/src/v2/realtime-triggers/trigger-method.d.ts +33 -0
- package/dist/types/flow-extension-runner/src/v2/realtime-triggers/types.d.ts +147 -0
- package/dist/types/flow-extension-runner/src/v2/realtime-triggers/verify.d.ts +2 -0
- package/dist/types/flow-extension-runner/src/v2/registry.d.ts +20 -0
- package/dist/types/flow-extension-runner/src/v2/result.d.ts +13 -0
- package/dist/types/flow-extension-runner/src/v2/system-method.d.ts +41 -0
- package/dist/types/flow-extension-runner/src/v2/types.d.ts +126 -0
- package/dist/types/jsdoc-parser/src/custom-type-defs/files.d.ts +2 -0
- package/dist/types/jsdoc-parser/src/index.d.ts +2 -0
- package/dist/types/jsdoc-parser/src/lib.d.ts +42 -0
- package/dist/types/jsdoc-parser/src/types.d.ts +2 -0
- package/dist/types/packages/cli/src/api/console-client.d.ts +69 -0
- package/dist/types/packages/cli/src/constants/index.d.ts +5 -0
- package/dist/types/packages/cli/src/constants/packaging.d.ts +7 -0
- package/dist/types/packages/cli/src/constants/project.d.ts +9 -0
- package/dist/types/packages/cli/src/constants/providers.d.ts +30 -0
- package/dist/types/packages/cli/src/constants/server.d.ts +29 -0
- package/dist/types/packages/cli/src/constants/testing.d.ts +32 -0
- package/dist/types/packages/cli/src/errors.d.ts +131 -0
- package/dist/types/packages/cli/src/index.d.ts +29 -0
- package/dist/types/packages/cli/src/operations/deploy/discover-services.d.ts +26 -0
- package/dist/types/packages/cli/src/operations/deploy/hash.d.ts +1 -0
- package/dist/types/packages/cli/src/operations/deploy/index.d.ts +94 -0
- package/dist/types/packages/cli/src/operations/deploy/public-files.d.ts +20 -0
- package/dist/types/packages/cli/src/operations/deploy/select.d.ts +9 -0
- package/dist/types/packages/cli/src/operations/deploy/zip.d.ts +1 -0
- package/dist/types/packages/cli/src/operations/init/answers.d.ts +35 -0
- package/dist/types/packages/cli/src/operations/init/create-service.d.ts +39 -0
- package/dist/types/packages/cli/src/operations/init/index.d.ts +79 -0
- package/dist/types/packages/cli/src/operations/init/testing.d.ts +13 -0
- package/dist/types/packages/cli/src/operations/init-claude/index.d.ts +40 -0
- package/dist/types/packages/cli/src/operations/init-claude/segment.d.ts +25 -0
- package/dist/types/packages/cli/src/operations/login.d.ts +38 -0
- package/dist/types/packages/cli/src/operations/logout.d.ts +19 -0
- package/dist/types/packages/cli/src/operations/pull/extract.d.ts +23 -0
- package/dist/types/packages/cli/src/operations/pull/index.d.ts +87 -0
- package/dist/types/packages/cli/src/operations/server-target.d.ts +14 -0
- package/dist/types/packages/cli/src/operations/types.d.ts +20 -0
- package/dist/types/packages/cli/src/operations/use-server.d.ts +17 -0
- package/dist/types/packages/cli/src/project/auth.d.ts +41 -0
- package/dist/types/packages/cli/src/project/config.d.ts +31 -0
- package/dist/types/packages/cli/src/project/token.d.ts +5 -0
- package/dist/types/packages/cli/src/server/index.d.ts +14 -0
- package/dist/types/packages/cli/src/server/pages.d.ts +2 -0
- package/dist/types/packages/cli/src/server/routes/callback.d.ts +6 -0
- package/dist/types/packages/cli/src/server/types.d.ts +12 -0
- package/dist/types/packages/cli/src/templates/index.d.ts +8 -0
- package/dist/types/packages/cli/src/templates/manifest.d.ts +97 -0
- package/dist/types/packages/cli/src/templates/package-root.d.ts +3 -0
- package/dist/types/packages/cli/src/templates/paths.d.ts +3 -0
- package/dist/types/packages/cli/src/templates/registry.d.ts +13 -0
- package/dist/types/packages/cli/src/templates/render.d.ts +13 -0
- package/dist/types/packages/cli/src/templates/scaffold.d.ts +25 -0
- package/dist/types/packages/cli/src/utils/invocation.d.ts +28 -0
- package/dist/types/packages/cli/src/utils/open-browser.d.ts +2 -0
- package/dist/types/shared/src/constants/ai-agent-tools.d.ts +20 -0
- package/dist/types/shared/src/constants/ai.d.ts +11 -0
- package/dist/types/shared/src/constants/api-keys.d.ts +1 -0
- package/dist/types/shared/src/constants/app.d.ts +58 -0
- package/dist/types/shared/src/constants/billing.d.ts +16 -0
- package/dist/types/shared/src/constants/compliances.d.ts +3 -0
- package/dist/types/shared/src/constants/data-types.d.ts +26 -0
- package/dist/types/shared/src/constants/error-codes.d.ts +16 -0
- package/dist/types/shared/src/constants/flow.d.ts +12 -0
- package/dist/types/shared/src/constants/index.d.ts +16 -0
- package/dist/types/shared/src/constants/knowledge-base.d.ts +13 -0
- package/dist/types/shared/src/constants/notification-types.d.ts +985 -0
- package/dist/types/shared/src/constants/notifications.d.ts +10 -0
- package/dist/types/shared/src/constants/patterns.d.ts +28 -0
- package/dist/types/shared/src/constants/retry-policy.d.ts +30 -0
- package/dist/types/shared/src/constants/severity.d.ts +9 -0
- package/dist/types/shared/src/constants/shared-extensions-search.d.ts +6 -0
- package/dist/types/shared/src/constants/shared-extensions.d.ts +35 -0
- package/dist/types/shared/src/constants/zod.d.ts +2 -0
- package/dist/types/shared/src/errors/api.d.ts +4 -0
- package/dist/types/shared/src/errors/base.d.ts +38 -0
- package/dist/types/shared/src/errors/common.d.ts +39 -0
- package/dist/types/shared/src/errors/index.d.ts +13 -0
- package/dist/types/shared/src/errors/k8s.d.ts +4 -0
- package/dist/types/shared/src/errors/message.d.ts +48 -0
- package/dist/types/shared/src/errors/open-search.d.ts +4 -0
- package/dist/types/shared/src/errors/s3.d.ts +11 -0
- package/dist/types/shared/src/extensions/zod.d.ts +25 -0
- package/dist/types/shared/src/scheme/account/dto.d.ts +60 -0
- package/dist/types/shared/src/scheme/account/index.d.ts +1 -0
- package/dist/types/shared/src/scheme/ai-agent-tools/dto.d.ts +69 -0
- package/dist/types/shared/src/scheme/ai-agent-tools/index.d.ts +2 -0
- package/dist/types/shared/src/scheme/ai-agent-tools/parameters.d.ts +7 -0
- package/dist/types/shared/src/scheme/ai-router/dto.d.ts +23 -0
- package/dist/types/shared/src/scheme/ai-router/index.d.ts +2 -0
- package/dist/types/shared/src/scheme/api-keys/dto.d.ts +28 -0
- package/dist/types/shared/src/scheme/api-keys/index.d.ts +2 -0
- package/dist/types/shared/src/scheme/app/index.d.ts +1 -0
- package/dist/types/shared/src/scheme/app/java.dto.d.ts +6 -0
- package/dist/types/shared/src/scheme/billing/index.d.ts +1 -0
- package/dist/types/shared/src/scheme/billing/java.dto.d.ts +163 -0
- package/dist/types/shared/src/scheme/crm/billing.d.ts +149 -0
- package/dist/types/shared/src/scheme/crm/dto.d.ts +212 -0
- package/dist/types/shared/src/scheme/crm/index.d.ts +3 -0
- package/dist/types/shared/src/scheme/data-types/index.d.ts +1 -0
- package/dist/types/shared/src/scheme/data-types/java.dto.d.ts +23 -0
- package/dist/types/shared/src/scheme/dynamic-forms/dto.d.ts +30 -0
- package/dist/types/shared/src/scheme/dynamic-forms/index.d.ts +2 -0
- package/dist/types/shared/src/scheme/extensions/index.d.ts +1 -0
- package/dist/types/shared/src/scheme/extensions/params-to-zod.d.ts +14 -0
- package/dist/types/shared/src/scheme/flowrunner/custom-elements.d.ts +368 -0
- package/dist/types/shared/src/scheme/flowrunner/index.d.ts +3 -0
- package/dist/types/shared/src/scheme/flowrunner/java.dto.d.ts +628 -0
- package/dist/types/shared/src/scheme/index.d.ts +19 -0
- package/dist/types/shared/src/scheme/integration-connection/dto.d.ts +81 -0
- package/dist/types/shared/src/scheme/integration-connection/index.d.ts +2 -0
- package/dist/types/shared/src/scheme/knowledge-base/dto.d.ts +540 -0
- package/dist/types/shared/src/scheme/knowledge-base/index.d.ts +2 -0
- package/dist/types/shared/src/scheme/mcp-oauth/dto.d.ts +7 -0
- package/dist/types/shared/src/scheme/mcp-oauth/index.d.ts +2 -0
- package/dist/types/shared/src/scheme/notifications/dto.d.ts +111 -0
- package/dist/types/shared/src/scheme/notifications/index.d.ts +3 -0
- package/dist/types/shared/src/scheme/notifications/rest.d.ts +148 -0
- package/dist/types/shared/src/scheme/properties/account.d.ts +3 -0
- package/dist/types/shared/src/scheme/properties/app.d.ts +5 -0
- package/dist/types/shared/src/scheme/properties/billing.d.ts +12 -0
- package/dist/types/shared/src/scheme/properties/common.d.ts +2 -0
- package/dist/types/shared/src/scheme/properties/db.d.ts +8 -0
- package/dist/types/shared/src/scheme/properties/flow-extensions.d.ts +7 -0
- package/dist/types/shared/src/scheme/properties/index.d.ts +7 -0
- package/dist/types/shared/src/scheme/remote-mcp-server/dto.d.ts +278 -0
- package/dist/types/shared/src/scheme/remote-mcp-server/index.d.ts +2 -0
- package/dist/types/shared/src/scheme/shared-extensions/base.d.ts +56 -0
- package/dist/types/shared/src/scheme/shared-extensions/config.d.ts +96 -0
- package/dist/types/shared/src/scheme/shared-extensions/custom-extensions.d.ts +485 -0
- package/dist/types/shared/src/scheme/shared-extensions/extension.d.ts +387 -0
- package/dist/types/shared/src/scheme/shared-extensions/flow-extensions.d.ts +64 -0
- package/dist/types/shared/src/scheme/shared-extensions/index.d.ts +15 -0
- package/dist/types/shared/src/scheme/shared-extensions/light.d.ts +38 -0
- package/dist/types/shared/src/scheme/shared-extensions/logs.d.ts +21 -0
- package/dist/types/shared/src/scheme/shared-extensions/methods.d.ts +80 -0
- package/dist/types/shared/src/scheme/shared-extensions/params-schema.d.ts +47 -0
- package/dist/types/shared/src/scheme/shared-extensions/popular-pool.d.ts +11 -0
- package/dist/types/shared/src/scheme/shared-extensions/resolve.d.ts +364 -0
- package/dist/types/shared/src/scheme/shared-extensions/rest.d.ts +9 -0
- package/dist/types/shared/src/scheme/shared-extensions/search.d.ts +177 -0
- package/dist/types/shared/src/scheme/shared-extensions/service-identity.d.ts +10 -0
- package/dist/types/shared/src/scheme/shared-extensions/service-info.d.ts +15 -0
- package/dist/types/shared/src/scheme/workspace/dto.d.ts +40 -0
- package/dist/types/shared/src/scheme/workspace/index.d.ts +1 -0
- package/dist/types/shared/src/utils/object.d.ts +8 -0
- package/dist/types/shared/src/utils/uuid.d.ts +5 -0
- package/dist/types/shared/src/utils/versions.d.ts +4 -0
- package/dist/types/types/backendless-request.d.ts +40 -0
- package/package.json +66 -0
- package/project-files/jest.config.js +38 -0
- package/project-files/jest.setup.js +24 -0
- package/project-files/sandbox/files-mock.js +654 -0
- package/project-files/sandbox/index.js +32 -0
- package/project-files/sandbox/nock-mock.js +600 -0
- package/project-files/sandbox/service.js +145 -0
- package/runtime/index.d.ts +2 -0
- package/runtime/index.js +5665 -0
- package/runtime/index.js.map +7 -0
- package/runtime/types/flow-extension-runner/src/common/config.d.ts +12 -0
- package/runtime/types/flow-extension-runner/src/common/constants.d.ts +9 -0
- package/runtime/types/flow-extension-runner/src/common/context-files.d.ts +107 -0
- package/runtime/types/flow-extension-runner/src/common/context.d.ts +6 -0
- package/runtime/types/flow-extension-runner/src/common/types.d.ts +11 -0
- package/runtime/types/flow-extension-runner/src/errors/base.d.ts +17 -0
- package/runtime/types/flow-extension-runner/src/errors/codes.d.ts +17 -0
- package/runtime/types/flow-extension-runner/src/errors/errors.d.ts +48 -0
- package/runtime/types/flow-extension-runner/src/errors/index.d.ts +3 -0
- package/runtime/types/flow-extension-runner/src/global.d.ts +34 -0
- package/runtime/types/flow-extension-runner/src/index.d.ts +15 -0
- package/runtime/types/flow-extension-runner/src/namespace.d.ts +3 -0
- package/runtime/types/flow-extension-runner/src/v1/config.d.ts +3 -0
- package/runtime/types/flow-extension-runner/src/v1/constants.d.ts +4 -0
- package/runtime/types/flow-extension-runner/src/v1/index.d.ts +11 -0
- package/runtime/types/flow-extension-runner/src/v1/namespace.d.ts +9 -0
- package/runtime/types/flow-extension-runner/src/v1/service.d.ts +29 -0
- package/runtime/types/flow-extension-runner/src/v1/types.d.ts +13 -0
- package/runtime/types/flow-extension-runner/src/v2/actions/action-method.d.ts +34 -0
- package/runtime/types/flow-extension-runner/src/v2/context/execution-context.d.ts +25 -0
- package/runtime/types/flow-extension-runner/src/v2/context/logger.d.ts +2 -0
- package/runtime/types/flow-extension-runner/src/v2/context/method-input.d.ts +27 -0
- package/runtime/types/flow-extension-runner/src/v2/context/proxies.d.ts +1 -0
- package/runtime/types/flow-extension-runner/src/v2/create-extension.d.ts +2 -0
- package/runtime/types/flow-extension-runner/src/v2/crypto.d.ts +6 -0
- package/runtime/types/flow-extension-runner/src/v2/dictionaries/dictionary-method.d.ts +24 -0
- package/runtime/types/flow-extension-runner/src/v2/dictionaries/payload-schema.d.ts +10 -0
- package/runtime/types/flow-extension-runner/src/v2/extension.d.ts +51 -0
- package/runtime/types/flow-extension-runner/src/v2/index.d.ts +39 -0
- package/runtime/types/flow-extension-runner/src/v2/loaders/loader-method.d.ts +31 -0
- package/runtime/types/flow-extension-runner/src/v2/loaders/loader-owner.d.ts +17 -0
- package/runtime/types/flow-extension-runner/src/v2/loaders/payload-schema.d.ts +3 -0
- package/runtime/types/flow-extension-runner/src/v2/method.d.ts +22 -0
- package/runtime/types/flow-extension-runner/src/v2/model/field-mapper.d.ts +10 -0
- package/runtime/types/flow-extension-runner/src/v2/model/method-model.d.ts +3 -0
- package/runtime/types/flow-extension-runner/src/v2/model/model-types.d.ts +70 -0
- package/runtime/types/flow-extension-runner/src/v2/model/params-model.d.ts +16 -0
- package/runtime/types/flow-extension-runner/src/v2/oauth/method-names.d.ts +5 -0
- package/runtime/types/flow-extension-runner/src/v2/oauth/oauth2.d.ts +9 -0
- package/runtime/types/flow-extension-runner/src/v2/oauth/system-params.d.ts +6 -0
- package/runtime/types/flow-extension-runner/src/v2/oauth/types.d.ts +54 -0
- package/runtime/types/flow-extension-runner/src/v2/params/config-params.d.ts +14 -0
- package/runtime/types/flow-extension-runner/src/v2/params/files-options.d.ts +58 -0
- package/runtime/types/flow-extension-runner/src/v2/params/index.d.ts +19 -0
- package/runtime/types/flow-extension-runner/src/v2/params/json/checks.d.ts +26 -0
- package/runtime/types/flow-extension-runner/src/v2/params/json/decode.d.ts +24 -0
- package/runtime/types/flow-extension-runner/src/v2/params/json/encode.d.ts +20 -0
- package/runtime/types/flow-extension-runner/src/v2/params/json/types.d.ts +86 -0
- package/runtime/types/flow-extension-runner/src/v2/params/json/values.d.ts +5 -0
- package/runtime/types/flow-extension-runner/src/v2/params/method-params.d.ts +17 -0
- package/runtime/types/flow-extension-runner/src/v2/params/params.d.ts +26 -0
- package/runtime/types/flow-extension-runner/src/v2/params/schema/assert-object-schema.d.ts +6 -0
- package/runtime/types/flow-extension-runner/src/v2/params/schema/assert-supported-schema.d.ts +8 -0
- package/runtime/types/flow-extension-runner/src/v2/params/schema/coerce.d.ts +54 -0
- package/runtime/types/flow-extension-runner/src/v2/params/schema/dates.d.ts +40 -0
- package/runtime/types/flow-extension-runner/src/v2/params/schema/defaults.d.ts +36 -0
- package/runtime/types/flow-extension-runner/src/v2/params/schema/field-plan.d.ts +33 -0
- package/runtime/types/flow-extension-runner/src/v2/params/schema/introspect.d.ts +58 -0
- package/runtime/types/flow-extension-runner/src/v2/params/schema/labels.d.ts +3 -0
- package/runtime/types/flow-extension-runner/src/v2/params/schema/messages.d.ts +16 -0
- package/runtime/types/flow-extension-runner/src/v2/params/schema/normalize.d.ts +8 -0
- package/runtime/types/flow-extension-runner/src/v2/params/schema/parse.d.ts +7 -0
- package/runtime/types/flow-extension-runner/src/v2/params/types.d.ts +29 -0
- package/runtime/types/flow-extension-runner/src/v2/params/widget-types.d.ts +40 -0
- package/runtime/types/flow-extension-runner/src/v2/params/zod.d.ts +86 -0
- package/runtime/types/flow-extension-runner/src/v2/path.d.ts +1 -0
- package/runtime/types/flow-extension-runner/src/v2/polling-triggers/mechanisms.d.ts +19 -0
- package/runtime/types/flow-extension-runner/src/v2/polling-triggers/method-names.d.ts +1 -0
- package/runtime/types/flow-extension-runner/src/v2/polling-triggers/polling-triggers.d.ts +11 -0
- package/runtime/types/flow-extension-runner/src/v2/polling-triggers/system-params.d.ts +7 -0
- package/runtime/types/flow-extension-runner/src/v2/polling-triggers/trigger-method.d.ts +25 -0
- package/runtime/types/flow-extension-runner/src/v2/polling-triggers/types.d.ts +46 -0
- package/runtime/types/flow-extension-runner/src/v2/realtime-triggers/method-names.d.ts +7 -0
- package/runtime/types/flow-extension-runner/src/v2/realtime-triggers/realtime-setup.d.ts +10 -0
- package/runtime/types/flow-extension-runner/src/v2/realtime-triggers/system-params.d.ts +29 -0
- package/runtime/types/flow-extension-runner/src/v2/realtime-triggers/trigger-method.d.ts +33 -0
- package/runtime/types/flow-extension-runner/src/v2/realtime-triggers/types.d.ts +147 -0
- package/runtime/types/flow-extension-runner/src/v2/realtime-triggers/verify.d.ts +2 -0
- package/runtime/types/flow-extension-runner/src/v2/registry.d.ts +20 -0
- package/runtime/types/flow-extension-runner/src/v2/result.d.ts +13 -0
- package/runtime/types/flow-extension-runner/src/v2/system-method.d.ts +41 -0
- package/runtime/types/flow-extension-runner/src/v2/types.d.ts +126 -0
- package/runtime/types/jsdoc-parser/src/custom-type-defs/files.d.ts +2 -0
- package/runtime/types/jsdoc-parser/src/index.d.ts +2 -0
- package/runtime/types/jsdoc-parser/src/lib.d.ts +42 -0
- package/runtime/types/jsdoc-parser/src/types.d.ts +2 -0
- package/runtime/types/packages/cli/src/runtime/index.d.ts +5 -0
- package/runtime/types/shared/src/constants/ai-agent-tools.d.ts +20 -0
- package/runtime/types/shared/src/constants/ai.d.ts +11 -0
- package/runtime/types/shared/src/constants/api-keys.d.ts +1 -0
- package/runtime/types/shared/src/constants/app.d.ts +58 -0
- package/runtime/types/shared/src/constants/billing.d.ts +16 -0
- package/runtime/types/shared/src/constants/compliances.d.ts +3 -0
- package/runtime/types/shared/src/constants/data-types.d.ts +26 -0
- package/runtime/types/shared/src/constants/error-codes.d.ts +16 -0
- package/runtime/types/shared/src/constants/flow.d.ts +12 -0
- package/runtime/types/shared/src/constants/index.d.ts +16 -0
- package/runtime/types/shared/src/constants/knowledge-base.d.ts +13 -0
- package/runtime/types/shared/src/constants/notification-types.d.ts +985 -0
- package/runtime/types/shared/src/constants/notifications.d.ts +10 -0
- package/runtime/types/shared/src/constants/patterns.d.ts +28 -0
- package/runtime/types/shared/src/constants/retry-policy.d.ts +30 -0
- package/runtime/types/shared/src/constants/severity.d.ts +9 -0
- package/runtime/types/shared/src/constants/shared-extensions-search.d.ts +6 -0
- package/runtime/types/shared/src/constants/shared-extensions.d.ts +35 -0
- package/runtime/types/shared/src/constants/zod.d.ts +2 -0
- package/runtime/types/shared/src/errors/api.d.ts +4 -0
- package/runtime/types/shared/src/errors/base.d.ts +38 -0
- package/runtime/types/shared/src/errors/common.d.ts +39 -0
- package/runtime/types/shared/src/errors/index.d.ts +13 -0
- package/runtime/types/shared/src/errors/k8s.d.ts +4 -0
- package/runtime/types/shared/src/errors/message.d.ts +48 -0
- package/runtime/types/shared/src/errors/open-search.d.ts +4 -0
- package/runtime/types/shared/src/errors/s3.d.ts +11 -0
- package/runtime/types/shared/src/extensions/zod.d.ts +25 -0
- package/runtime/types/shared/src/scheme/account/dto.d.ts +60 -0
- package/runtime/types/shared/src/scheme/account/index.d.ts +1 -0
- package/runtime/types/shared/src/scheme/ai-agent-tools/dto.d.ts +69 -0
- package/runtime/types/shared/src/scheme/ai-agent-tools/index.d.ts +2 -0
- package/runtime/types/shared/src/scheme/ai-agent-tools/parameters.d.ts +7 -0
- package/runtime/types/shared/src/scheme/ai-router/dto.d.ts +23 -0
- package/runtime/types/shared/src/scheme/ai-router/index.d.ts +2 -0
- package/runtime/types/shared/src/scheme/api-keys/dto.d.ts +28 -0
- package/runtime/types/shared/src/scheme/api-keys/index.d.ts +2 -0
- package/runtime/types/shared/src/scheme/app/index.d.ts +1 -0
- package/runtime/types/shared/src/scheme/app/java.dto.d.ts +6 -0
- package/runtime/types/shared/src/scheme/billing/index.d.ts +1 -0
- package/runtime/types/shared/src/scheme/billing/java.dto.d.ts +163 -0
- package/runtime/types/shared/src/scheme/crm/billing.d.ts +149 -0
- package/runtime/types/shared/src/scheme/crm/dto.d.ts +212 -0
- package/runtime/types/shared/src/scheme/crm/index.d.ts +3 -0
- package/runtime/types/shared/src/scheme/data-types/index.d.ts +1 -0
- package/runtime/types/shared/src/scheme/data-types/java.dto.d.ts +23 -0
- package/runtime/types/shared/src/scheme/dynamic-forms/dto.d.ts +30 -0
- package/runtime/types/shared/src/scheme/dynamic-forms/index.d.ts +2 -0
- package/runtime/types/shared/src/scheme/extensions/index.d.ts +1 -0
- package/runtime/types/shared/src/scheme/extensions/params-to-zod.d.ts +14 -0
- package/runtime/types/shared/src/scheme/flowrunner/custom-elements.d.ts +368 -0
- package/runtime/types/shared/src/scheme/flowrunner/index.d.ts +3 -0
- package/runtime/types/shared/src/scheme/flowrunner/java.dto.d.ts +628 -0
- package/runtime/types/shared/src/scheme/index.d.ts +19 -0
- package/runtime/types/shared/src/scheme/integration-connection/dto.d.ts +81 -0
- package/runtime/types/shared/src/scheme/integration-connection/index.d.ts +2 -0
- package/runtime/types/shared/src/scheme/knowledge-base/dto.d.ts +540 -0
- package/runtime/types/shared/src/scheme/knowledge-base/index.d.ts +2 -0
- package/runtime/types/shared/src/scheme/mcp-oauth/dto.d.ts +7 -0
- package/runtime/types/shared/src/scheme/mcp-oauth/index.d.ts +2 -0
- package/runtime/types/shared/src/scheme/notifications/dto.d.ts +111 -0
- package/runtime/types/shared/src/scheme/notifications/index.d.ts +3 -0
- package/runtime/types/shared/src/scheme/notifications/rest.d.ts +148 -0
- package/runtime/types/shared/src/scheme/properties/account.d.ts +3 -0
- package/runtime/types/shared/src/scheme/properties/app.d.ts +5 -0
- package/runtime/types/shared/src/scheme/properties/billing.d.ts +12 -0
- package/runtime/types/shared/src/scheme/properties/common.d.ts +2 -0
- package/runtime/types/shared/src/scheme/properties/db.d.ts +8 -0
- package/runtime/types/shared/src/scheme/properties/flow-extensions.d.ts +7 -0
- package/runtime/types/shared/src/scheme/properties/index.d.ts +7 -0
- package/runtime/types/shared/src/scheme/remote-mcp-server/dto.d.ts +278 -0
- package/runtime/types/shared/src/scheme/remote-mcp-server/index.d.ts +2 -0
- package/runtime/types/shared/src/scheme/shared-extensions/base.d.ts +56 -0
- package/runtime/types/shared/src/scheme/shared-extensions/config.d.ts +96 -0
- package/runtime/types/shared/src/scheme/shared-extensions/custom-extensions.d.ts +485 -0
- package/runtime/types/shared/src/scheme/shared-extensions/extension.d.ts +387 -0
- package/runtime/types/shared/src/scheme/shared-extensions/flow-extensions.d.ts +64 -0
- package/runtime/types/shared/src/scheme/shared-extensions/index.d.ts +15 -0
- package/runtime/types/shared/src/scheme/shared-extensions/light.d.ts +38 -0
- package/runtime/types/shared/src/scheme/shared-extensions/logs.d.ts +21 -0
- package/runtime/types/shared/src/scheme/shared-extensions/methods.d.ts +80 -0
- package/runtime/types/shared/src/scheme/shared-extensions/params-schema.d.ts +47 -0
- package/runtime/types/shared/src/scheme/shared-extensions/popular-pool.d.ts +11 -0
- package/runtime/types/shared/src/scheme/shared-extensions/resolve.d.ts +364 -0
- package/runtime/types/shared/src/scheme/shared-extensions/rest.d.ts +9 -0
- package/runtime/types/shared/src/scheme/shared-extensions/search.d.ts +177 -0
- package/runtime/types/shared/src/scheme/shared-extensions/service-identity.d.ts +10 -0
- package/runtime/types/shared/src/scheme/shared-extensions/service-info.d.ts +15 -0
- package/runtime/types/shared/src/scheme/workspace/dto.d.ts +40 -0
- package/runtime/types/shared/src/scheme/workspace/index.d.ts +1 -0
- package/runtime/types/shared/src/utils/object.d.ts +8 -0
- package/runtime/types/shared/src/utils/uuid.d.ts +5 -0
- package/runtime/types/shared/src/utils/versions.d.ts +4 -0
- package/runtime/types/types/backendless-request.d.ts +40 -0
- package/templates/blank/files/README.md +28 -0
- package/templates/blank/files/package.json +8 -0
- package/templates/blank/files/public/icon.svg +5 -0
- package/templates/blank/files/src/index.js +130 -0
- package/templates/blank/template.json +61 -0
- package/templates/demo-todo-list/files/README.md +54 -0
- package/templates/demo-todo-list/files/package.json +8 -0
- package/templates/demo-todo-list/files/public/icon.svg +8 -0
- package/templates/demo-todo-list/files/src/index.js +590 -0
- package/templates/demo-todo-list/template.json +44 -0
- package/templates/qa-test/files/README.md +88 -0
- package/templates/qa-test/files/package.json +8 -0
- package/templates/qa-test/files/public/icon.svg +8 -0
- package/templates/qa-test/files/src/index.js +755 -0
- package/templates/qa-test/template.json +62 -0
|
@@ -0,0 +1,628 @@
|
|
|
1
|
+
import { type FlowStatuses } from '../../constants/flow';
|
|
2
|
+
import { type DataTypesJavaDto } from '../data-types';
|
|
3
|
+
export declare const FlowElementTypeJava: {
|
|
4
|
+
readonly TRIGGER: "TRIGGER";
|
|
5
|
+
readonly ACTION: "ACTION";
|
|
6
|
+
readonly CONDITION: "CONDITION";
|
|
7
|
+
readonly TRIGGERS: "TRIGGERS";
|
|
8
|
+
readonly ACTIONS: "ACTIONS";
|
|
9
|
+
readonly LOOP: "LOOP";
|
|
10
|
+
readonly WAIT: "WAIT";
|
|
11
|
+
readonly ERROR_HANDLER: "ERROR_HANDLER";
|
|
12
|
+
readonly DATA_BUCKET: "DATA_BUCKET";
|
|
13
|
+
readonly DATA_TRANSFORMER: "DATA_TRANSFORMER";
|
|
14
|
+
readonly AI_ROUTER: "AI_ROUTER";
|
|
15
|
+
readonly VALUE_ROUTER: "VALUE_ROUTER";
|
|
16
|
+
readonly BREAK: "BREAK";
|
|
17
|
+
readonly SUB_FLOW: "SUBFLOW";
|
|
18
|
+
readonly COMPOSE_RESULT: "COMPOSE_RESULT";
|
|
19
|
+
readonly SYNCHRONIZE: "SYNCHRONIZE";
|
|
20
|
+
readonly UNKNOWN_BLOCK: "UNKNOWN_BLOCK";
|
|
21
|
+
};
|
|
22
|
+
export type FlowElementTypeJavaDto = typeof FlowElementTypeJava[keyof typeof FlowElementTypeJava];
|
|
23
|
+
export declare const FlowElementMetainfoTypeJava: {
|
|
24
|
+
readonly CALLBACK: "CALLBACK";
|
|
25
|
+
readonly BACKENDLESS: "BACKENDLESS";
|
|
26
|
+
readonly HTTP: "HTTP";
|
|
27
|
+
readonly SYSTEM: "SYSTEM";
|
|
28
|
+
readonly OPENAI_OPERATION: "OPENAI_OPERATION";
|
|
29
|
+
readonly CUSTOM: "CUSTOM";
|
|
30
|
+
readonly SHARED_MEMORY: "SHARED_MEMORY";
|
|
31
|
+
readonly SUB_FLOW: "SUB_FLOW";
|
|
32
|
+
readonly AI_AGENT: "AI_AGENT";
|
|
33
|
+
readonly MCP_SERVER: "MCP_SERVER";
|
|
34
|
+
readonly KNOWLEDGE_BASE: "KNOWLEDGE_BASE";
|
|
35
|
+
readonly CUSTOM_CLOUD_CODE: "CUSTOM_CLOUD_CODE";
|
|
36
|
+
};
|
|
37
|
+
export type FlowElementMetainfoTypeJavaDto = typeof FlowElementMetainfoTypeJava[keyof typeof FlowElementMetainfoTypeJava];
|
|
38
|
+
export type FlowElementClientMetadataJavaDto = {
|
|
39
|
+
blockDefinitionId: string;
|
|
40
|
+
elementId: string;
|
|
41
|
+
resultAlias?: string;
|
|
42
|
+
isFirstElement: boolean;
|
|
43
|
+
position: {
|
|
44
|
+
x: number;
|
|
45
|
+
y: number;
|
|
46
|
+
};
|
|
47
|
+
[key: string]: unknown;
|
|
48
|
+
};
|
|
49
|
+
type BaseClientValidationStateJavaDto = {
|
|
50
|
+
valid: boolean;
|
|
51
|
+
errorMessage: string | null;
|
|
52
|
+
};
|
|
53
|
+
type FlowElementClientValidationStateJavaDto = BaseClientValidationStateJavaDto;
|
|
54
|
+
type FlowClientValidationStateJavaDto = BaseClientValidationStateJavaDto;
|
|
55
|
+
export interface FlowElementJavaMetaInfoDto {
|
|
56
|
+
clientValidationState: FlowElementClientValidationStateJavaDto;
|
|
57
|
+
type?: FlowElementMetainfoTypeJavaDto;
|
|
58
|
+
resultAlias?: string;
|
|
59
|
+
[key: string]: unknown;
|
|
60
|
+
}
|
|
61
|
+
export interface FlowElementJavaDto {
|
|
62
|
+
clientMetadata: FlowElementClientMetadataJavaDto;
|
|
63
|
+
metaInfo: FlowElementJavaMetaInfoDto;
|
|
64
|
+
flowElementId: string;
|
|
65
|
+
groupId: string | null;
|
|
66
|
+
id: string;
|
|
67
|
+
name: string;
|
|
68
|
+
nextElementIds: string[];
|
|
69
|
+
nextGroupIds: string[];
|
|
70
|
+
type: FlowElementTypeJavaDto;
|
|
71
|
+
}
|
|
72
|
+
export type FlowPlaceholderItemJavaDto = {
|
|
73
|
+
name: string;
|
|
74
|
+
value: string;
|
|
75
|
+
description: string;
|
|
76
|
+
type: string;
|
|
77
|
+
error?: string | null;
|
|
78
|
+
};
|
|
79
|
+
export type FlowScheduleJavaDto = {
|
|
80
|
+
startDate: number;
|
|
81
|
+
endDate: number | null;
|
|
82
|
+
enabled: boolean;
|
|
83
|
+
allowApiInitiationsWhenScheduleExpired: boolean;
|
|
84
|
+
onlyScheduledInitiations: boolean;
|
|
85
|
+
frequency: {
|
|
86
|
+
schedule: string;
|
|
87
|
+
repeat?: {
|
|
88
|
+
every: string;
|
|
89
|
+
on?: number[];
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
export type FlowSharedMemoryJavaDto = {
|
|
94
|
+
expirationInSec: number | null;
|
|
95
|
+
anchor: {
|
|
96
|
+
missingAnchorPolicy: 'TERMINATE_ON_MEMORY_ACCESS' | 'INSTANCE_MEMORY' | 'DO_NOT_START_EXECUTION' | null;
|
|
97
|
+
path: string | null;
|
|
98
|
+
type: 'INIT_DATA_PATH' | 'INIT_TRIGGER_PATH' | 'FLOW_MEMORY';
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
interface FlowInitialDataJavaDto {
|
|
102
|
+
params?: Array<{
|
|
103
|
+
name: string;
|
|
104
|
+
required: boolean;
|
|
105
|
+
id: string | null;
|
|
106
|
+
}>;
|
|
107
|
+
[key: string]: unknown;
|
|
108
|
+
}
|
|
109
|
+
export interface FlowViewportJavaDto {
|
|
110
|
+
x: number;
|
|
111
|
+
y: number;
|
|
112
|
+
zoom: number;
|
|
113
|
+
}
|
|
114
|
+
export interface FlowClientMetadataJavaDto {
|
|
115
|
+
autoSave?: boolean;
|
|
116
|
+
viewport?: FlowViewportJavaDto;
|
|
117
|
+
descriptions?: {
|
|
118
|
+
flow: string;
|
|
119
|
+
initialData: string;
|
|
120
|
+
initialDataFields: Record<string, string>;
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
export type CreateFlowJavaDto = {
|
|
124
|
+
clientTimeZone: string;
|
|
125
|
+
id: string;
|
|
126
|
+
name: string;
|
|
127
|
+
description?: string;
|
|
128
|
+
metaInfo: {
|
|
129
|
+
clientValidationState: FlowClientValidationStateJavaDto;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
export type CreateSubFlowJavaDto = {
|
|
133
|
+
clientTimeZone: string;
|
|
134
|
+
id: string;
|
|
135
|
+
name: string;
|
|
136
|
+
metaInfo: {
|
|
137
|
+
initialData: {
|
|
138
|
+
params?: Array<{
|
|
139
|
+
id: string;
|
|
140
|
+
name: string;
|
|
141
|
+
required: boolean;
|
|
142
|
+
}>;
|
|
143
|
+
};
|
|
144
|
+
clientValidationState: FlowClientValidationStateJavaDto;
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
export interface FlowVersionJavaDto {
|
|
148
|
+
clientMetadata: FlowClientMetadataJavaDto;
|
|
149
|
+
created: number;
|
|
150
|
+
description: string | null;
|
|
151
|
+
firstElementId: string | null;
|
|
152
|
+
flowId: string;
|
|
153
|
+
id: string;
|
|
154
|
+
name: string;
|
|
155
|
+
sourceVersion: string | null;
|
|
156
|
+
status: FlowStatuses;
|
|
157
|
+
version: number;
|
|
158
|
+
serverFields: {
|
|
159
|
+
hasResult: boolean;
|
|
160
|
+
};
|
|
161
|
+
metaInfo: {
|
|
162
|
+
errorMessage: string | null;
|
|
163
|
+
executionStaticData: FlowPlaceholderItemJavaDto[];
|
|
164
|
+
initialData: FlowInitialDataJavaDto;
|
|
165
|
+
wasLive: boolean;
|
|
166
|
+
schedule: FlowScheduleJavaDto | null;
|
|
167
|
+
sharedMemory: FlowSharedMemoryJavaDto | null;
|
|
168
|
+
clientValidationState: FlowClientValidationStateJavaDto;
|
|
169
|
+
};
|
|
170
|
+
elements?: FlowElementJavaDto[];
|
|
171
|
+
groups: FlowElementJavaDto[];
|
|
172
|
+
}
|
|
173
|
+
export type UpdateFlowVersionJavaDto = FlowVersionJavaDto;
|
|
174
|
+
export type SubFlowVersionJavaDto = FlowVersionJavaDto;
|
|
175
|
+
export type UpdateSubFlowVersionJavaDto = SubFlowVersionJavaDto;
|
|
176
|
+
export declare const InstanceStatusJava: {
|
|
177
|
+
readonly RUNNING: "RUNNING";
|
|
178
|
+
readonly COMPLETED: "COMPLETED";
|
|
179
|
+
readonly TERMINATED: "TERMINATED";
|
|
180
|
+
readonly ALL: "ALL";
|
|
181
|
+
readonly PENDING: "PENDING";
|
|
182
|
+
readonly QUEUED: "QUEUED";
|
|
183
|
+
};
|
|
184
|
+
export type InstanceStatusJava = typeof InstanceStatusJava[keyof typeof InstanceStatusJava];
|
|
185
|
+
export declare const InstanceInitiatorJava: {
|
|
186
|
+
readonly SCHEDULER: "SCHEDULER";
|
|
187
|
+
readonly API: "API";
|
|
188
|
+
readonly EVENT: "EVENT";
|
|
189
|
+
readonly OTHER_EXECUTION: "OTHER_EXECUTION";
|
|
190
|
+
};
|
|
191
|
+
export type InstanceInitiatorJava = typeof InstanceInitiatorJava[keyof typeof InstanceInitiatorJava];
|
|
192
|
+
export interface InstanceAnalyticElementJavaDto {
|
|
193
|
+
elementId: string;
|
|
194
|
+
id: string;
|
|
195
|
+
startedAtInMillis: number;
|
|
196
|
+
endedAtInMillis: number | null;
|
|
197
|
+
executionTimeInMillis: number | null;
|
|
198
|
+
error?: {
|
|
199
|
+
httpCode: number | null;
|
|
200
|
+
errorCode: number;
|
|
201
|
+
data: {
|
|
202
|
+
code: number;
|
|
203
|
+
message: string;
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
failed: boolean;
|
|
207
|
+
hasSla: boolean;
|
|
208
|
+
slaMet: boolean;
|
|
209
|
+
iteration: number;
|
|
210
|
+
violatedSlaConditions: unknown[];
|
|
211
|
+
transitions: {
|
|
212
|
+
[key: string]: number;
|
|
213
|
+
};
|
|
214
|
+
sla: null | {
|
|
215
|
+
met: boolean;
|
|
216
|
+
[key: string]: unknown;
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
export interface InstanceComplianceJavaDto {
|
|
220
|
+
id: string;
|
|
221
|
+
name: string;
|
|
222
|
+
compliant: boolean;
|
|
223
|
+
violationDetails: string | null;
|
|
224
|
+
complianceTimeInMillis: number | null;
|
|
225
|
+
violationTimeInMillis: number | null;
|
|
226
|
+
}
|
|
227
|
+
export interface InstancesJavaDto {
|
|
228
|
+
compliance: InstanceComplianceJavaDto[];
|
|
229
|
+
compliant: boolean;
|
|
230
|
+
configId: string;
|
|
231
|
+
endedAtInMillis: number | null;
|
|
232
|
+
executionTimeInMillis: number | null;
|
|
233
|
+
startedAtInMillis: number;
|
|
234
|
+
executionId: string;
|
|
235
|
+
instanceName: string;
|
|
236
|
+
terminationReason?: string;
|
|
237
|
+
hasErrors: boolean;
|
|
238
|
+
initiator: InstanceInitiatorJava;
|
|
239
|
+
status: InstanceStatusJava;
|
|
240
|
+
}
|
|
241
|
+
export interface InstancesResultJavaDto {
|
|
242
|
+
items: InstancesJavaDto[];
|
|
243
|
+
hiddenItemsCount: number;
|
|
244
|
+
}
|
|
245
|
+
export interface InstanceQueryDto {
|
|
246
|
+
page?: {
|
|
247
|
+
size?: number;
|
|
248
|
+
offset?: number;
|
|
249
|
+
};
|
|
250
|
+
range?: {
|
|
251
|
+
fromInMillis?: number | null;
|
|
252
|
+
toInMillis?: number | null;
|
|
253
|
+
toNow?: boolean;
|
|
254
|
+
};
|
|
255
|
+
sort?: {
|
|
256
|
+
by?: string;
|
|
257
|
+
dir?: 'ASC' | 'DESC';
|
|
258
|
+
};
|
|
259
|
+
instanceName?: string;
|
|
260
|
+
status?: InstanceStatusJava;
|
|
261
|
+
compliant?: boolean;
|
|
262
|
+
hasErrors?: boolean;
|
|
263
|
+
problematic?: boolean;
|
|
264
|
+
initiator?: InstanceInitiatorJava;
|
|
265
|
+
timezone?: string;
|
|
266
|
+
}
|
|
267
|
+
export interface InstancesExportTaskJavaDto {
|
|
268
|
+
taskId: string;
|
|
269
|
+
}
|
|
270
|
+
export interface InstancesSummaryItemJavaDto {
|
|
271
|
+
status: InstanceStatusJava;
|
|
272
|
+
amount: number;
|
|
273
|
+
}
|
|
274
|
+
export interface InstancesSummaryJavaDto {
|
|
275
|
+
items: InstancesSummaryItemJavaDto[];
|
|
276
|
+
}
|
|
277
|
+
export interface InstanceJavaDto extends InstancesJavaDto {
|
|
278
|
+
elementExecutions: InstanceAnalyticElementJavaDto[];
|
|
279
|
+
}
|
|
280
|
+
export interface InstanceInitialDataJavaDto {
|
|
281
|
+
executionId: string;
|
|
282
|
+
initialData: null | {
|
|
283
|
+
[key: string]: unknown;
|
|
284
|
+
};
|
|
285
|
+
staticData: null | {
|
|
286
|
+
[key: string]: unknown;
|
|
287
|
+
};
|
|
288
|
+
dataBuckets?: null | {
|
|
289
|
+
[bucketName: string]: {
|
|
290
|
+
[key: string]: unknown;
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
}
|
|
294
|
+
export interface PendingTriggerJavaDto {
|
|
295
|
+
id: string;
|
|
296
|
+
name: string;
|
|
297
|
+
}
|
|
298
|
+
export interface InstanceSummaryJavaDto {
|
|
299
|
+
pendingOn: PendingTriggerJavaDto[];
|
|
300
|
+
}
|
|
301
|
+
export interface FlowVersionMetricsJavaDto {
|
|
302
|
+
activeInstances: {
|
|
303
|
+
value: number;
|
|
304
|
+
trend: number;
|
|
305
|
+
};
|
|
306
|
+
totalRuns: {
|
|
307
|
+
value: number;
|
|
308
|
+
trend: number;
|
|
309
|
+
};
|
|
310
|
+
completionRate: {
|
|
311
|
+
trendInPercent: number;
|
|
312
|
+
valueInPercent: number;
|
|
313
|
+
};
|
|
314
|
+
errorRate: {
|
|
315
|
+
trendInPercent: number;
|
|
316
|
+
valueInPercent: number;
|
|
317
|
+
};
|
|
318
|
+
flowVersionElementsSlaMet: boolean;
|
|
319
|
+
flowVersionSlaMet: boolean;
|
|
320
|
+
slaMet: boolean;
|
|
321
|
+
violatedSlaGoals: unknown[];
|
|
322
|
+
}
|
|
323
|
+
export interface StepMetricsJavaDto {
|
|
324
|
+
averageTime: number;
|
|
325
|
+
complianceConditions: {
|
|
326
|
+
met: unknown;
|
|
327
|
+
}[];
|
|
328
|
+
elementId: string;
|
|
329
|
+
errorRateInPercent: number;
|
|
330
|
+
maxTime: number;
|
|
331
|
+
minTime: number;
|
|
332
|
+
groupId: null | string;
|
|
333
|
+
nextElementRates: {
|
|
334
|
+
rateInPercent: number;
|
|
335
|
+
targetId: string;
|
|
336
|
+
}[];
|
|
337
|
+
}
|
|
338
|
+
export declare const RetryAttemptTypeJava: {
|
|
339
|
+
readonly HTTP: "HTTP";
|
|
340
|
+
};
|
|
341
|
+
export type RetryAttemptTypeJava = typeof RetryAttemptTypeJava[keyof typeof RetryAttemptTypeJava];
|
|
342
|
+
export declare const TransportErrorTypeJava: {
|
|
343
|
+
readonly DNS: "DNS";
|
|
344
|
+
readonly CONNECT_TIMEOUT: "CONNECT_TIMEOUT";
|
|
345
|
+
readonly READ_TIMEOUT: "READ_TIMEOUT";
|
|
346
|
+
readonly TLS: "TLS";
|
|
347
|
+
readonly CONNECTION_REFUSED: "CONNECTION_REFUSED";
|
|
348
|
+
readonly OTHER: "OTHER";
|
|
349
|
+
};
|
|
350
|
+
export type TransportErrorTypeJava = typeof TransportErrorTypeJava[keyof typeof TransportErrorTypeJava];
|
|
351
|
+
export interface HttpRetryAttemptJavaDto {
|
|
352
|
+
type: typeof RetryAttemptTypeJava.HTTP;
|
|
353
|
+
attemptNumber: number;
|
|
354
|
+
timestampMs: number;
|
|
355
|
+
delayBeforeNextMs: number | null;
|
|
356
|
+
httpStatus: number | null;
|
|
357
|
+
transportErrorType: TransportErrorTypeJava | null;
|
|
358
|
+
responseBody: unknown;
|
|
359
|
+
errorMessage: string | null;
|
|
360
|
+
}
|
|
361
|
+
export type RetryAttemptJavaDto = HttpRetryAttemptJavaDto;
|
|
362
|
+
export interface InstanceElementJavaDto {
|
|
363
|
+
params: {
|
|
364
|
+
[key: string]: unknown;
|
|
365
|
+
};
|
|
366
|
+
result: {
|
|
367
|
+
data: unknown;
|
|
368
|
+
errorCode: null | number;
|
|
369
|
+
httpCode: null | number;
|
|
370
|
+
success: boolean;
|
|
371
|
+
};
|
|
372
|
+
attemptNo?: number;
|
|
373
|
+
retryAttempts?: RetryAttemptJavaDto[];
|
|
374
|
+
}
|
|
375
|
+
export interface AnalyticsErrorHandlerErrorsJavaDto {
|
|
376
|
+
errorHandlerId: string;
|
|
377
|
+
executionId: string;
|
|
378
|
+
flowId: string;
|
|
379
|
+
flowVersionId: string;
|
|
380
|
+
id: string;
|
|
381
|
+
sourceElementId: string;
|
|
382
|
+
inputParams: null | {
|
|
383
|
+
[key: string]: unknown;
|
|
384
|
+
};
|
|
385
|
+
occurrenceDate: number;
|
|
386
|
+
response: {
|
|
387
|
+
body: {
|
|
388
|
+
code: number;
|
|
389
|
+
message: string;
|
|
390
|
+
};
|
|
391
|
+
errorCode: null | number;
|
|
392
|
+
httpCode: null | number;
|
|
393
|
+
};
|
|
394
|
+
}
|
|
395
|
+
export interface AIModelJavaDto {
|
|
396
|
+
id: string;
|
|
397
|
+
label?: string;
|
|
398
|
+
description: string;
|
|
399
|
+
features: string[];
|
|
400
|
+
reviewed: boolean;
|
|
401
|
+
deprecated?: boolean;
|
|
402
|
+
created?: string;
|
|
403
|
+
}
|
|
404
|
+
export interface AIAgentProviderJavaDto {
|
|
405
|
+
id: string;
|
|
406
|
+
name: string;
|
|
407
|
+
models: AIModelJavaDto[];
|
|
408
|
+
}
|
|
409
|
+
export interface ProviderInfoJavaDto {
|
|
410
|
+
id: string;
|
|
411
|
+
name: string;
|
|
412
|
+
status: 'success' | 'error';
|
|
413
|
+
message: string;
|
|
414
|
+
count: number;
|
|
415
|
+
newModels?: string[];
|
|
416
|
+
}
|
|
417
|
+
export interface ProvidersUpdateJavaDto {
|
|
418
|
+
success: boolean;
|
|
419
|
+
totalModels: number;
|
|
420
|
+
providers: ProviderInfoJavaDto[];
|
|
421
|
+
}
|
|
422
|
+
export interface FlowVersionHistoricalConfigJavaDto {
|
|
423
|
+
config: FlowVersionJavaDto;
|
|
424
|
+
}
|
|
425
|
+
export interface InstancesCountJavaDto {
|
|
426
|
+
count: number;
|
|
427
|
+
}
|
|
428
|
+
export interface InstancesDailyJavaDto {
|
|
429
|
+
date: number;
|
|
430
|
+
scheduler: number;
|
|
431
|
+
api: number;
|
|
432
|
+
event: number;
|
|
433
|
+
otherExecution: number;
|
|
434
|
+
}
|
|
435
|
+
export type VersionsLastActivationsJavaDto = Record<string, number>;
|
|
436
|
+
export interface CreateDebugInstanceDto {
|
|
437
|
+
initialData: {
|
|
438
|
+
[key: string]: unknown;
|
|
439
|
+
};
|
|
440
|
+
staticData: {
|
|
441
|
+
[key: string]: unknown;
|
|
442
|
+
};
|
|
443
|
+
}
|
|
444
|
+
export interface CreateDebugInstanceFromElementDto {
|
|
445
|
+
fromElementId: string;
|
|
446
|
+
initialData?: {
|
|
447
|
+
[key: string]: unknown;
|
|
448
|
+
};
|
|
449
|
+
staticData?: {
|
|
450
|
+
[key: string]: unknown;
|
|
451
|
+
};
|
|
452
|
+
elementExecutions?: {
|
|
453
|
+
[nodeId: string]: {
|
|
454
|
+
result: unknown;
|
|
455
|
+
};
|
|
456
|
+
};
|
|
457
|
+
dataBuckets?: {
|
|
458
|
+
[bucketName: string]: {
|
|
459
|
+
[key: string]: unknown;
|
|
460
|
+
};
|
|
461
|
+
};
|
|
462
|
+
loopIterations?: Array<{
|
|
463
|
+
groupId: string;
|
|
464
|
+
currentIteration: number;
|
|
465
|
+
list?: unknown[];
|
|
466
|
+
}>;
|
|
467
|
+
}
|
|
468
|
+
export interface DebugElementExecutionErrorDto {
|
|
469
|
+
httpCode?: number;
|
|
470
|
+
errorCode?: number;
|
|
471
|
+
data: {
|
|
472
|
+
code: number;
|
|
473
|
+
message: string;
|
|
474
|
+
errorData?: {
|
|
475
|
+
[key: string]: unknown;
|
|
476
|
+
};
|
|
477
|
+
};
|
|
478
|
+
}
|
|
479
|
+
export interface DebugRTElementExecutionDto {
|
|
480
|
+
result: any;
|
|
481
|
+
failed: boolean;
|
|
482
|
+
dataLoadedToS3: boolean;
|
|
483
|
+
errorMessage?: string;
|
|
484
|
+
completed: boolean;
|
|
485
|
+
}
|
|
486
|
+
export interface DebugElementInputParamsDto {
|
|
487
|
+
dataLoadedToS3: boolean;
|
|
488
|
+
s3ObjectKey: string | null;
|
|
489
|
+
elemSubTypeId: number;
|
|
490
|
+
elemTypeId: number;
|
|
491
|
+
[key: string]: unknown;
|
|
492
|
+
}
|
|
493
|
+
export interface DebugElementExecutionDto {
|
|
494
|
+
id: string;
|
|
495
|
+
executionContextId: string;
|
|
496
|
+
flowVersionId: string;
|
|
497
|
+
elementId: string;
|
|
498
|
+
startTimeInMillis: number;
|
|
499
|
+
endTimeInMillis?: number;
|
|
500
|
+
failed: boolean;
|
|
501
|
+
completed: boolean;
|
|
502
|
+
error?: DebugElementExecutionErrorDto;
|
|
503
|
+
inputParams: DebugElementInputParamsDto | null;
|
|
504
|
+
dataLoadedToS3: boolean;
|
|
505
|
+
s3ObjectKey: string;
|
|
506
|
+
s3ObjectClass: string;
|
|
507
|
+
s3Object: {
|
|
508
|
+
[key: string]: unknown;
|
|
509
|
+
};
|
|
510
|
+
s3Bucket: string;
|
|
511
|
+
result: any;
|
|
512
|
+
elementType: FlowElementTypeJavaDto;
|
|
513
|
+
sla?: unknown | null;
|
|
514
|
+
pending?: boolean;
|
|
515
|
+
triggerType?: string;
|
|
516
|
+
currentIteration?: number;
|
|
517
|
+
currentIterationActiveThreads?: number | null;
|
|
518
|
+
broken?: boolean;
|
|
519
|
+
currentElement?: string | null;
|
|
520
|
+
loopType?: string;
|
|
521
|
+
groupType?: string;
|
|
522
|
+
maxIterations?: number | null;
|
|
523
|
+
bucketName?: string;
|
|
524
|
+
}
|
|
525
|
+
export interface DebugInitiationRequestDto {
|
|
526
|
+
fromFlowId: string | null;
|
|
527
|
+
fromFlowVersionId: string;
|
|
528
|
+
type: string;
|
|
529
|
+
fromExecutionId: string;
|
|
530
|
+
fromExecutionName: string | null;
|
|
531
|
+
fromElementId: string | null;
|
|
532
|
+
fromElementExecutionId: string | null;
|
|
533
|
+
syncCall: boolean;
|
|
534
|
+
callType: string | null;
|
|
535
|
+
}
|
|
536
|
+
export interface DebugExecutionContextDto {
|
|
537
|
+
appId: string;
|
|
538
|
+
executionId: string;
|
|
539
|
+
executionName: string;
|
|
540
|
+
flowId: string;
|
|
541
|
+
flowName: string;
|
|
542
|
+
flowVersionId: string;
|
|
543
|
+
terminated: boolean;
|
|
544
|
+
terminationReason?: string;
|
|
545
|
+
hasErrors: boolean;
|
|
546
|
+
flowVersionSlaMet: boolean;
|
|
547
|
+
flowElementsSlaMet: boolean;
|
|
548
|
+
tmpFilePaths: string[];
|
|
549
|
+
initiationRequest: DebugInitiationRequestDto;
|
|
550
|
+
startTimeInMillis: number;
|
|
551
|
+
executionTimeLimitInMillis: number;
|
|
552
|
+
totalExecutionTimeInMillis: number;
|
|
553
|
+
totalWaitTimeInMillis: number;
|
|
554
|
+
runEntireFlowInDebug: boolean;
|
|
555
|
+
sharedMemoryAnchor: {
|
|
556
|
+
value: string;
|
|
557
|
+
missingAnchorPolicyId: number;
|
|
558
|
+
};
|
|
559
|
+
slaGoals: unknown[];
|
|
560
|
+
staticData: {
|
|
561
|
+
[key: string]: string;
|
|
562
|
+
};
|
|
563
|
+
dataBuckets: {
|
|
564
|
+
[key: string]: unknown;
|
|
565
|
+
};
|
|
566
|
+
initialData: {
|
|
567
|
+
[key: string]: unknown;
|
|
568
|
+
};
|
|
569
|
+
elementExecutions: {
|
|
570
|
+
[elementId: string]: DebugElementExecutionDto;
|
|
571
|
+
};
|
|
572
|
+
}
|
|
573
|
+
export interface UpdateDebugExecutionContextDto {
|
|
574
|
+
elementExecutions?: DebugExecutionContextDto['elementExecutions'];
|
|
575
|
+
initialData?: DebugExecutionContextDto['initialData'];
|
|
576
|
+
}
|
|
577
|
+
export interface PatchDebugExecutionContextElementDto {
|
|
578
|
+
result?: {
|
|
579
|
+
[key: string]: unknown;
|
|
580
|
+
};
|
|
581
|
+
currentIteration?: number;
|
|
582
|
+
inputParams?: DebugElementInputParamsDto;
|
|
583
|
+
startTimeInMillis?: number;
|
|
584
|
+
endTimeInMillis?: number;
|
|
585
|
+
failed?: boolean;
|
|
586
|
+
error?: DebugElementExecutionErrorDto;
|
|
587
|
+
}
|
|
588
|
+
export interface StartDebugSession {
|
|
589
|
+
sessionId: string;
|
|
590
|
+
}
|
|
591
|
+
export declare enum AnalyticRTEventType {
|
|
592
|
+
QUEUED_EXECUTION_REGISTERED = "QUEUED_EXECUTION_REGISTERED",
|
|
593
|
+
QUEUED_EXECUTION_STARTED = "QUEUED_EXECUTION_STARTED",
|
|
594
|
+
ANALYTICS_CHANGED = "ANALYTICS_CHANGED"
|
|
595
|
+
}
|
|
596
|
+
export interface AnalyticRTEventData {
|
|
597
|
+
type: AnalyticRTEventType;
|
|
598
|
+
executionId: string;
|
|
599
|
+
flowId: string;
|
|
600
|
+
flowVersionId?: string;
|
|
601
|
+
}
|
|
602
|
+
export type SubPathSegment = {
|
|
603
|
+
key: string;
|
|
604
|
+
} | {
|
|
605
|
+
index: number;
|
|
606
|
+
last?: boolean;
|
|
607
|
+
};
|
|
608
|
+
export interface ExpressionItemJavaDto {
|
|
609
|
+
id: string;
|
|
610
|
+
type: string;
|
|
611
|
+
value?: unknown;
|
|
612
|
+
valueSegments?: SubPathSegment[];
|
|
613
|
+
subPath?: string;
|
|
614
|
+
subPathSegments?: SubPathSegment[];
|
|
615
|
+
label?: string;
|
|
616
|
+
}
|
|
617
|
+
export declare const ExpressionInputModesJavaDto: {
|
|
618
|
+
readonly BASIC: "BASIC";
|
|
619
|
+
readonly EXPRESSION: "EXPRESSION";
|
|
620
|
+
};
|
|
621
|
+
export type ExpressionInputModesJavaDto = typeof ExpressionInputModesJavaDto[keyof typeof ExpressionInputModesJavaDto];
|
|
622
|
+
export interface ExpressionJavaDto {
|
|
623
|
+
expression: ExpressionItemJavaDto[];
|
|
624
|
+
mode?: ExpressionInputModesJavaDto;
|
|
625
|
+
parseJsonString: boolean;
|
|
626
|
+
resultType?: DataTypesJavaDto | null;
|
|
627
|
+
}
|
|
628
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import '../extensions/zod';
|
|
2
|
+
export * from './account';
|
|
3
|
+
export * from './ai-agent-tools';
|
|
4
|
+
export * from './ai-router';
|
|
5
|
+
export * from './api-keys';
|
|
6
|
+
export * from './app';
|
|
7
|
+
export * from './billing';
|
|
8
|
+
export * from './crm';
|
|
9
|
+
export * from './dynamic-forms';
|
|
10
|
+
export * from './extensions';
|
|
11
|
+
export * from './flowrunner';
|
|
12
|
+
export * from './integration-connection';
|
|
13
|
+
export * from './knowledge-base';
|
|
14
|
+
export * from './mcp-oauth';
|
|
15
|
+
export * from './notifications';
|
|
16
|
+
export * from './properties';
|
|
17
|
+
export * from './remote-mcp-server';
|
|
18
|
+
export * from './shared-extensions';
|
|
19
|
+
export * from './workspace';
|