@hexabot-ai/api 3.2.2-alpha.9 → 3.2.2-beta.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/dist/actions/actions.service.d.ts +1 -0
- package/dist/actions/actions.service.js +19 -1
- package/dist/actions/actions.service.js.map +1 -1
- package/dist/actions/types.d.ts +3 -1
- package/dist/app.controller.d.ts +1 -0
- package/dist/app.controller.js +1 -0
- package/dist/app.controller.js.map +1 -1
- package/dist/app.module.js +13 -1
- package/dist/app.module.js.map +1 -1
- package/dist/config/index.js +14 -2
- package/dist/config/index.js.map +1 -1
- package/dist/config/types.d.ts +9 -0
- package/dist/extensions/actions/ai/agent.action.d.ts +1 -1
- package/dist/extensions/actions/ai/agent.action.js +6 -3
- package/dist/extensions/actions/ai/agent.action.js.map +1 -1
- package/dist/extensions/actions/ai/ai-base.action.d.ts +1 -1
- package/dist/extensions/actions/ai/ai-base.action.js +18 -5
- package/dist/extensions/actions/ai/ai-base.action.js.map +1 -1
- package/dist/extensions/actions/ai/generate-object.base.action.d.ts +1 -1
- package/dist/extensions/actions/ai/generate-object.base.action.js +3 -2
- package/dist/extensions/actions/ai/generate-object.base.action.js.map +1 -1
- package/dist/extensions/actions/ai/generate-text.base.action.d.ts +1 -1
- package/dist/extensions/actions/ai/generate-text.base.action.js +3 -2
- package/dist/extensions/actions/ai/generate-text.base.action.js.map +1 -1
- package/dist/extensions/actions/ai/mcp.binding.js +2 -0
- package/dist/extensions/actions/ai/mcp.binding.js.map +1 -1
- package/dist/extensions/actions/ai/memory.binding.js +2 -0
- package/dist/extensions/actions/ai/memory.binding.js.map +1 -1
- package/dist/extensions/actions/ai/retrieve-content-rag.action.js +2 -0
- package/dist/extensions/actions/ai/retrieve-content-rag.action.js.map +1 -1
- package/dist/extensions/actions/messaging/list.action.d.ts +2 -2
- package/dist/extensions/actions/messaging/list.action.js +7 -0
- package/dist/extensions/actions/messaging/list.action.js.map +1 -1
- package/dist/extensions/actions/subscriber/update-labels.action.js +3 -0
- package/dist/extensions/actions/subscriber/update-labels.action.js.map +1 -1
- package/dist/extensions/actions/web/http-request.action.js +12 -1
- package/dist/extensions/actions/web/http-request.action.js.map +1 -1
- package/dist/extensions/actions/workflow/call-workflow.action.d.ts +19 -0
- package/dist/extensions/actions/workflow/call-workflow.action.js +83 -0
- package/dist/extensions/actions/workflow/call-workflow.action.js.map +1 -0
- package/dist/extensions/actions/workflow/i18n/en.translations.json +9 -0
- package/dist/extensions/actions/workflow/i18n/fr.translations.json +9 -0
- package/dist/extensions/index.d.ts +1 -0
- package/dist/extensions/index.js +1 -0
- package/dist/extensions/index.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp/controllers/mcp-token.controller.d.ts +47 -0
- package/dist/mcp/controllers/mcp-token.controller.js +70 -0
- package/dist/mcp/controllers/mcp-token.controller.js.map +1 -0
- package/dist/mcp/decorators/mcp-permission.decorator.d.ts +8 -0
- package/dist/mcp/decorators/mcp-permission.decorator.js +11 -0
- package/dist/mcp/decorators/mcp-permission.decorator.js.map +1 -0
- package/dist/mcp/dto/mcp-token.dto.d.ts +17 -0
- package/dist/mcp/dto/mcp-token.dto.js +40 -0
- package/dist/mcp/dto/mcp-token.dto.js.map +1 -0
- package/dist/mcp/entities/mcp-token.entity.d.ts +111 -0
- package/dist/mcp/entities/mcp-token.entity.js +69 -0
- package/dist/mcp/entities/mcp-token.entity.js.map +1 -0
- package/dist/mcp/guards/hexabot-mcp-token.guard.d.ts +9 -0
- package/dist/mcp/guards/hexabot-mcp-token.guard.js +49 -0
- package/dist/mcp/guards/hexabot-mcp-token.guard.js.map +1 -0
- package/dist/mcp/guards/mcp-permission.guard.d.ts +9 -0
- package/dist/mcp/guards/mcp-permission.guard.js +47 -0
- package/dist/mcp/guards/mcp-permission.guard.js.map +1 -0
- package/dist/mcp/mcp-api.module.d.ts +2 -0
- package/dist/mcp/mcp-api.module.js +65 -0
- package/dist/mcp/mcp-api.module.js.map +1 -0
- package/dist/mcp/repositories/mcp-token.repository.d.ts +8 -0
- package/dist/mcp/repositories/mcp-token.repository.js +41 -0
- package/dist/mcp/repositories/mcp-token.repository.js.map +1 -0
- package/dist/mcp/services/mcp-token.service.d.ts +24 -0
- package/dist/mcp/services/mcp-token.service.js +106 -0
- package/dist/mcp/services/mcp-token.service.js.map +1 -0
- package/dist/mcp/tools/catalog-mcp.tools.d.ts +63 -0
- package/dist/mcp/tools/catalog-mcp.tools.js +135 -0
- package/dist/mcp/tools/catalog-mcp.tools.js.map +1 -0
- package/dist/mcp/tools/cms-mcp.tools.d.ts +128 -0
- package/dist/mcp/tools/cms-mcp.tools.js +242 -0
- package/dist/mcp/tools/cms-mcp.tools.js.map +1 -0
- package/dist/mcp/tools/credential-mcp.tools.d.ts +19 -0
- package/dist/mcp/tools/credential-mcp.tools.js +82 -0
- package/dist/mcp/tools/credential-mcp.tools.js.map +1 -0
- package/dist/mcp/tools/hexabot-mcp-tool.base.d.ts +22 -0
- package/dist/mcp/tools/hexabot-mcp-tool.base.js +48 -0
- package/dist/mcp/tools/hexabot-mcp-tool.base.js.map +1 -0
- package/dist/mcp/tools/hexabot-mcp.schemas.d.ts +41 -0
- package/dist/mcp/tools/hexabot-mcp.schemas.js +36 -0
- package/dist/mcp/tools/hexabot-mcp.schemas.js.map +1 -0
- package/dist/mcp/tools/hexabot-mcp.tools.d.ts +1 -0
- package/dist/mcp/tools/hexabot-mcp.tools.js +18 -0
- package/dist/mcp/tools/hexabot-mcp.tools.js.map +1 -0
- package/dist/mcp/tools/hexabot-mcp.utils.d.ts +2 -0
- package/dist/mcp/tools/hexabot-mcp.utils.js +21 -0
- package/dist/mcp/tools/hexabot-mcp.utils.js.map +1 -0
- package/dist/mcp/tools/index.d.ts +22 -0
- package/dist/mcp/tools/index.js +50 -0
- package/dist/mcp/tools/index.js.map +1 -0
- package/dist/mcp/tools/mcp-server-mcp.tools.d.ts +77 -0
- package/dist/mcp/tools/mcp-server-mcp.tools.js +130 -0
- package/dist/mcp/tools/mcp-server-mcp.tools.js.map +1 -0
- package/dist/mcp/tools/memory-definition-mcp.tools.d.ts +57 -0
- package/dist/mcp/tools/memory-definition-mcp.tools.js +128 -0
- package/dist/mcp/tools/memory-definition-mcp.tools.js.map +1 -0
- package/dist/mcp/tools/workflow-mcp.helper.d.ts +156 -0
- package/dist/mcp/tools/workflow-mcp.helper.js +128 -0
- package/dist/mcp/tools/workflow-mcp.helper.js.map +1 -0
- package/dist/mcp/tools/workflow-mcp.tools.d.ts +790 -0
- package/dist/mcp/tools/workflow-mcp.tools.js +227 -0
- package/dist/mcp/tools/workflow-mcp.tools.js.map +1 -0
- package/dist/mcp/tools/workflow-run-mcp.tools.d.ts +349 -0
- package/dist/mcp/tools/workflow-run-mcp.tools.js +242 -0
- package/dist/mcp/tools/workflow-run-mcp.tools.js.map +1 -0
- package/dist/mcp/tools/workflow-version-mcp.tools.d.ts +238 -0
- package/dist/mcp/tools/workflow-version-mcp.tools.js +368 -0
- package/dist/mcp/tools/workflow-version-mcp.tools.js.map +1 -0
- package/dist/mcp/types.d.ts +7 -0
- package/dist/mcp/types.js +3 -0
- package/dist/mcp/types.js.map +1 -0
- package/dist/static/assets/{browser-ponyfill-Qk7qpw-i.js → browser-ponyfill-AQYxeOz6.js} +1 -1
- package/dist/static/assets/{cssMode-CdhvY6oD.js → cssMode-CU7XHFDD.js} +1 -1
- package/dist/static/assets/{freemarker2-BPoURZH1.js → freemarker2-DA_oH4Qs.js} +1 -1
- package/dist/static/assets/{handlebars-C4oubER1.js → handlebars-DXFzBSlw.js} +1 -1
- package/dist/static/assets/{html-CDE5RgVN.js → html-CnQNXujK.js} +1 -1
- package/dist/static/assets/{htmlMode-C8edIUUq.js → htmlMode-BpX8KTMR.js} +1 -1
- package/dist/static/assets/{index-C1NxBXuS.js → index-BIqNbcu4.js} +2379 -2330
- package/dist/static/assets/{index-BI1BtkYv.css → index-D-b9KTZd.css} +1 -1
- package/dist/static/assets/{javascript-Wp5m7adK.js → javascript-DeoOxUBN.js} +1 -1
- package/dist/static/assets/{jsonMode-0eww5Srr.js → jsonMode-YGmaNoOG.js} +1 -1
- package/dist/static/assets/{liquid-DTktXITv.js → liquid-K6wF5n3k.js} +1 -1
- package/dist/static/assets/{lspLanguageFeatures-BzIRlKhn.js → lspLanguageFeatures-DFIoRPyQ.js} +1 -1
- package/dist/static/assets/{mdx-D508emqD.js → mdx-CWEgpRjI.js} +1 -1
- package/dist/static/assets/{python-BfhIq2kX.js → python-22vBz2Ov.js} +1 -1
- package/dist/static/assets/{razor-C7F8fOds.js → razor-CEUwDwv_.js} +1 -1
- package/dist/static/assets/{tsMode-B8zPu6Wl.js → tsMode-kpHfzhoP.js} +1 -1
- package/dist/static/assets/{typescript-Dew3VavZ.js → typescript-PCkEoDOe.js} +1 -1
- package/dist/static/assets/{xml-B_2tc6Mh.js → xml-OzOqd-hy.js} +1 -1
- package/dist/static/assets/{yaml-pHcw4KrS.js → yaml-B3P_vvCy.js} +1 -1
- package/dist/static/index.html +2 -2
- package/dist/static/locales/en/translation.json +89 -4
- package/dist/static/locales/fr/translation.json +90 -5
- package/dist/transfer/adapters/content-type-transfer.adapter.d.ts +14 -0
- package/dist/transfer/adapters/content-type-transfer.adapter.js +102 -0
- package/dist/transfer/adapters/content-type-transfer.adapter.js.map +1 -0
- package/dist/transfer/adapters/credential-transfer.adapter.d.ts +13 -0
- package/dist/transfer/adapters/credential-transfer.adapter.js +110 -0
- package/dist/transfer/adapters/credential-transfer.adapter.js.map +1 -0
- package/dist/transfer/adapters/label-transfer.adapter.d.ts +15 -0
- package/dist/transfer/adapters/label-transfer.adapter.js +189 -0
- package/dist/transfer/adapters/label-transfer.adapter.js.map +1 -0
- package/dist/transfer/adapters/mcp-server-transfer.adapter.d.ts +16 -0
- package/dist/transfer/adapters/mcp-server-transfer.adapter.js +169 -0
- package/dist/transfer/adapters/mcp-server-transfer.adapter.js.map +1 -0
- package/dist/transfer/adapters/memory-definition-transfer.adapter.d.ts +14 -0
- package/dist/transfer/adapters/memory-definition-transfer.adapter.js +111 -0
- package/dist/transfer/adapters/memory-definition-transfer.adapter.js.map +1 -0
- package/dist/transfer/index.d.ts +7 -0
- package/dist/transfer/index.js +24 -0
- package/dist/transfer/index.js.map +1 -0
- package/dist/transfer/workflow-transfer-adapter.registry.d.ts +27 -0
- package/dist/transfer/workflow-transfer-adapter.registry.js +164 -0
- package/dist/transfer/workflow-transfer-adapter.registry.js.map +1 -0
- package/dist/transfer/workflow-transfer-definition.service.d.ts +40 -0
- package/dist/transfer/workflow-transfer-definition.service.js +353 -0
- package/dist/transfer/workflow-transfer-definition.service.js.map +1 -0
- package/dist/transfer/workflow-transfer-resource-adapter.d.ts +33 -0
- package/dist/transfer/workflow-transfer-resource-adapter.js +81 -0
- package/dist/transfer/workflow-transfer-resource-adapter.js.map +1 -0
- package/dist/transfer/workflow-transfer.controller.d.ts +9 -0
- package/dist/transfer/workflow-transfer.controller.js +63 -0
- package/dist/transfer/workflow-transfer.controller.js.map +1 -0
- package/dist/transfer/workflow-transfer.module.d.ts +2 -0
- package/dist/transfer/workflow-transfer.module.js +47 -0
- package/dist/transfer/workflow-transfer.module.js.map +1 -0
- package/dist/transfer/workflow-transfer.service.d.ts +51 -0
- package/dist/transfer/workflow-transfer.service.js +509 -0
- package/dist/transfer/workflow-transfer.service.js.map +1 -0
- package/dist/transfer/workflow-transfer.types.d.ts +31 -0
- package/dist/transfer/workflow-transfer.types.js +35 -0
- package/dist/transfer/workflow-transfer.types.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/event-emitter.d.ts +12 -5
- package/dist/user/dto/user.dto.d.ts +1 -1
- package/dist/user/guards/ability.guard.js +12 -2
- package/dist/user/guards/ability.guard.js.map +1 -1
- package/dist/utils/test/fixtures/label-group.d.ts +1 -1
- package/dist/utils/test/fixtures/label.d.ts +1 -1
- package/dist/utils/test/fixtures/subscriber.d.ts +1 -1
- package/dist/utils/test/fixtures/workflow-run.js +4 -1
- package/dist/utils/test/fixtures/workflow-run.js.map +1 -1
- package/dist/utils/test/port.d.ts +8 -0
- package/dist/utils/test/port.js +34 -0
- package/dist/utils/test/port.js.map +1 -0
- package/dist/websocket/websocket.gateway.d.ts +2 -1
- package/dist/websocket/websocket.gateway.js.map +1 -1
- package/dist/workflow/contexts/workflow-runtime.context.d.ts +3 -1
- package/dist/workflow/contexts/workflow-runtime.context.js +5 -0
- package/dist/workflow/contexts/workflow-runtime.context.js.map +1 -1
- package/dist/workflow/controllers/workflow-run.controller.js +2 -0
- package/dist/workflow/controllers/workflow-run.controller.js.map +1 -1
- package/dist/workflow/dto/workflow-run.dto.d.ts +1 -0
- package/dist/workflow/dto/workflow-run.dto.js +11 -0
- package/dist/workflow/dto/workflow-run.dto.js.map +1 -1
- package/dist/workflow/entities/memory-record.entity.d.ts +2 -0
- package/dist/workflow/entities/workflow-run.entity.d.ts +62 -0
- package/dist/workflow/entities/workflow-run.entity.js +15 -1
- package/dist/workflow/entities/workflow-run.entity.js.map +1 -1
- package/dist/workflow/index.d.ts +7 -0
- package/dist/workflow/index.js +7 -0
- package/dist/workflow/index.js.map +1 -1
- package/dist/workflow/repositories/workflow-run.repository.js +7 -1
- package/dist/workflow/repositories/workflow-run.repository.js.map +1 -1
- package/dist/workflow/resource-refs.d.ts +17 -0
- package/dist/workflow/resource-refs.js +15 -0
- package/dist/workflow/resource-refs.js.map +1 -0
- package/dist/workflow/services/agentic.service.d.ts +9 -2
- package/dist/workflow/services/agentic.service.js +142 -19
- package/dist/workflow/services/agentic.service.js.map +1 -1
- package/dist/workflow/services/workflow-run.service.d.ts +3 -0
- package/dist/workflow/services/workflow-run.service.js +75 -3
- package/dist/workflow/services/workflow-run.service.js.map +1 -1
- package/dist/workflow/services/workflow-version.service.d.ts +2 -0
- package/dist/workflow/services/workflow-version.service.js +19 -0
- package/dist/workflow/services/workflow-version.service.js.map +1 -1
- package/dist/workflow/services/workflow.service.d.ts +13 -9
- package/dist/workflow/services/workflow.service.js +64 -35
- package/dist/workflow/services/workflow.service.js.map +1 -1
- package/dist/workflow/types.d.ts +31 -0
- package/dist/workflow/types.js +2 -1
- package/dist/workflow/types.js.map +1 -1
- package/dist/workflow/workflow.module.js +3 -0
- package/dist/workflow/workflow.module.js.map +1 -1
- package/package.json +7 -5
- package/src/actions/actions.service.ts +34 -4
- package/src/actions/types.ts +6 -5
- package/src/app.controller.ts +1 -0
- package/src/app.module.ts +17 -1
- package/src/config/index.ts +17 -2
- package/src/config/types.ts +9 -0
- package/src/extensions/actions/ai/agent.action.ts +6 -1
- package/src/extensions/actions/ai/ai-base.action.ts +39 -5
- package/src/extensions/actions/ai/generate-object.base.action.ts +3 -0
- package/src/extensions/actions/ai/generate-text.base.action.ts +3 -0
- package/src/extensions/actions/ai/mcp.binding.ts +2 -0
- package/src/extensions/actions/ai/memory.binding.ts +2 -0
- package/src/extensions/actions/ai/retrieve-content-rag.action.ts +2 -0
- package/src/extensions/actions/messaging/list.action.ts +7 -0
- package/src/extensions/actions/subscriber/update-labels.action.ts +3 -0
- package/src/extensions/actions/web/http-request.action.ts +17 -1
- package/src/extensions/actions/workflow/call-workflow.action.ts +112 -0
- package/src/extensions/actions/workflow/i18n/en.translations.json +9 -0
- package/src/extensions/actions/workflow/i18n/fr.translations.json +9 -0
- package/src/extensions/index.ts +2 -0
- package/src/index.ts +2 -0
- package/src/mcp/README.md +277 -0
- package/src/mcp/controllers/mcp-token.controller.ts +64 -0
- package/src/mcp/decorators/mcp-permission.decorator.ts +23 -0
- package/src/mcp/dto/mcp-token.dto.ts +48 -0
- package/src/mcp/entities/mcp-token.entity.ts +60 -0
- package/src/mcp/guards/hexabot-mcp-token.guard.ts +55 -0
- package/src/mcp/guards/mcp-permission.guard.ts +61 -0
- package/src/mcp/mcp-api.module.ts +61 -0
- package/src/mcp/repositories/mcp-token.repository.ts +34 -0
- package/src/mcp/services/mcp-token.service.ts +138 -0
- package/src/mcp/tools/catalog-mcp.tools.ts +122 -0
- package/src/mcp/tools/cms-mcp.tools.ts +239 -0
- package/src/mcp/tools/credential-mcp.tools.ts +81 -0
- package/src/mcp/tools/hexabot-mcp-tool.base.ts +74 -0
- package/src/mcp/tools/hexabot-mcp.schemas.ts +55 -0
- package/src/mcp/tools/hexabot-mcp.tools.ts +7 -0
- package/src/mcp/tools/hexabot-mcp.utils.ts +29 -0
- package/src/mcp/tools/index.ts +51 -0
- package/src/mcp/tools/mcp-server-mcp.tools.ts +135 -0
- package/src/mcp/tools/memory-definition-mcp.tools.ts +125 -0
- package/src/mcp/tools/workflow-mcp.helper.ts +219 -0
- package/src/mcp/tools/workflow-mcp.tools.ts +271 -0
- package/src/mcp/tools/workflow-run-mcp.tools.ts +292 -0
- package/src/mcp/tools/workflow-version-mcp.tools.ts +459 -0
- package/src/mcp/types.ts +14 -0
- package/src/transfer/adapters/content-type-transfer.adapter.ts +154 -0
- package/src/transfer/adapters/credential-transfer.adapter.ts +158 -0
- package/src/transfer/adapters/label-transfer.adapter.ts +291 -0
- package/src/transfer/adapters/mcp-server-transfer.adapter.ts +255 -0
- package/src/transfer/adapters/memory-definition-transfer.adapter.ts +167 -0
- package/src/transfer/index.ts +19 -0
- package/src/transfer/workflow-transfer-adapter.registry.ts +250 -0
- package/src/transfer/workflow-transfer-definition.service.ts +587 -0
- package/src/transfer/workflow-transfer-resource-adapter.ts +132 -0
- package/src/transfer/workflow-transfer.controller.ts +86 -0
- package/src/transfer/workflow-transfer.module.ts +46 -0
- package/src/transfer/workflow-transfer.service.ts +858 -0
- package/src/transfer/workflow-transfer.types.ts +98 -0
- package/src/user/guards/ability.guard.ts +15 -3
- package/src/utils/test/fixtures/workflow-run.ts +4 -1
- package/src/utils/test/port.ts +48 -0
- package/src/websocket/websocket.gateway.ts +2 -1
- package/src/workflow/contexts/workflow-runtime.context.ts +12 -1
- package/src/workflow/controllers/workflow-run.controller.ts +2 -0
- package/src/workflow/dto/workflow-run.dto.ts +10 -0
- package/src/workflow/entities/workflow-run.entity.ts +22 -1
- package/src/workflow/index.ts +14 -0
- package/src/workflow/repositories/workflow-run.repository.ts +7 -1
- package/src/workflow/resource-refs.ts +44 -0
- package/src/workflow/services/agentic.service.ts +271 -30
- package/src/workflow/services/workflow-run.service.ts +120 -7
- package/src/workflow/services/workflow-version.service.ts +33 -0
- package/src/workflow/services/workflow.service.ts +86 -31
- package/src/workflow/types.ts +52 -0
- package/src/workflow/workflow.module.ts +3 -0
- package/types/event-emitter.d.ts +12 -5
|
@@ -0,0 +1,790 @@
|
|
|
1
|
+
import { WorkflowService } from "../../workflow/services/workflow.service";
|
|
2
|
+
import { DirectionType, WorkflowType, WorkflowVersionAction } from "../../workflow/types";
|
|
3
|
+
import { HexabotMcpRequest } from '../types';
|
|
4
|
+
import { HexabotMcpToolBase } from './hexabot-mcp-tool.base';
|
|
5
|
+
import { PaginationArgs } from './hexabot-mcp.schemas';
|
|
6
|
+
import { HexabotWorkflowMcpHelper } from './workflow-mcp.helper';
|
|
7
|
+
export declare class HexabotWorkflowMcpTools extends HexabotMcpToolBase {
|
|
8
|
+
private readonly workflowService;
|
|
9
|
+
private readonly workflowHelper;
|
|
10
|
+
constructor(workflowService: WorkflowService, workflowHelper: HexabotWorkflowMcpHelper);
|
|
11
|
+
searchWorkflows(args: {
|
|
12
|
+
query?: string;
|
|
13
|
+
type?: WorkflowType;
|
|
14
|
+
createdById?: string;
|
|
15
|
+
} & PaginationArgs): Promise<{
|
|
16
|
+
items: (Omit<{
|
|
17
|
+
id: string;
|
|
18
|
+
createdAt: Date;
|
|
19
|
+
updatedAt: Date;
|
|
20
|
+
name: string;
|
|
21
|
+
description: string | null;
|
|
22
|
+
type: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowType;
|
|
23
|
+
schedule: string | null;
|
|
24
|
+
inputSchema: any;
|
|
25
|
+
builtin: boolean;
|
|
26
|
+
x: number;
|
|
27
|
+
y: number;
|
|
28
|
+
zoom: number;
|
|
29
|
+
direction: import("@hexabot-ai/types/dist/types/workflow/domain").DirectionType;
|
|
30
|
+
currentVersion: {
|
|
31
|
+
id: string;
|
|
32
|
+
createdAt: Date;
|
|
33
|
+
updatedAt: Date;
|
|
34
|
+
version: number;
|
|
35
|
+
definitionYml: string;
|
|
36
|
+
checksum: string;
|
|
37
|
+
message: string | null;
|
|
38
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
39
|
+
parentVersion: string | null;
|
|
40
|
+
workflow: string;
|
|
41
|
+
createdBy: string | null;
|
|
42
|
+
} | null;
|
|
43
|
+
publishedVersion: {
|
|
44
|
+
id: string;
|
|
45
|
+
createdAt: Date;
|
|
46
|
+
updatedAt: Date;
|
|
47
|
+
version: number;
|
|
48
|
+
definitionYml: string;
|
|
49
|
+
checksum: string;
|
|
50
|
+
message: string | null;
|
|
51
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
52
|
+
parentVersion: string | null;
|
|
53
|
+
workflow: string;
|
|
54
|
+
createdBy: string | null;
|
|
55
|
+
} | null;
|
|
56
|
+
createdBy: {
|
|
57
|
+
id: string;
|
|
58
|
+
createdAt: Date;
|
|
59
|
+
updatedAt: Date;
|
|
60
|
+
firstName: string;
|
|
61
|
+
lastName: string;
|
|
62
|
+
language: string | null;
|
|
63
|
+
timezone: number;
|
|
64
|
+
locale: string | null;
|
|
65
|
+
gender: string | null;
|
|
66
|
+
country: string | null;
|
|
67
|
+
foreignId: string | null;
|
|
68
|
+
assignedAt: Date | null;
|
|
69
|
+
lastvisit: Date | null;
|
|
70
|
+
retainedFrom: Date | null;
|
|
71
|
+
channel: {
|
|
72
|
+
name: string | null;
|
|
73
|
+
data?: Record<string, any> | null | undefined;
|
|
74
|
+
};
|
|
75
|
+
username: string;
|
|
76
|
+
email: string;
|
|
77
|
+
sendEmail: boolean;
|
|
78
|
+
state: boolean;
|
|
79
|
+
resetCount: number;
|
|
80
|
+
resetToken: string | null;
|
|
81
|
+
labels: string[];
|
|
82
|
+
assignedTo: string | null;
|
|
83
|
+
roles: string[];
|
|
84
|
+
avatar: string | null;
|
|
85
|
+
provider?: {
|
|
86
|
+
strategy: "local";
|
|
87
|
+
sub?: string | undefined;
|
|
88
|
+
} | undefined;
|
|
89
|
+
} | null;
|
|
90
|
+
definitionYml?: string | undefined;
|
|
91
|
+
definition?: any;
|
|
92
|
+
}, "definition" | "currentVersion" | "publishedVersion" | "definitionYml"> & {
|
|
93
|
+
currentVersion: (Pick<{
|
|
94
|
+
id: string;
|
|
95
|
+
createdAt: Date;
|
|
96
|
+
updatedAt: Date;
|
|
97
|
+
version: number;
|
|
98
|
+
definitionYml: string;
|
|
99
|
+
checksum: string;
|
|
100
|
+
message: string | null;
|
|
101
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
102
|
+
parentVersion: string | null;
|
|
103
|
+
workflow: string;
|
|
104
|
+
createdBy: string | null;
|
|
105
|
+
}, "id" | "createdAt" | "updatedAt" | "message" | "action" | "version" | "checksum"> & {
|
|
106
|
+
parentVersion: import("@hexabot-ai/types").WorkflowVersion["parentVersion"] | import("@hexabot-ai/types").WorkflowVersionFull["parentVersion"];
|
|
107
|
+
workflow: import("@hexabot-ai/types").WorkflowVersion["workflow"] | import("@hexabot-ai/types").WorkflowVersionFull["workflow"];
|
|
108
|
+
createdBy: import("@hexabot-ai/types").WorkflowVersion["createdBy"] | import("@hexabot-ai/types").WorkflowVersionFull["createdBy"];
|
|
109
|
+
definitionYmlByteLength?: number;
|
|
110
|
+
}) | null;
|
|
111
|
+
publishedVersion: (Pick<{
|
|
112
|
+
id: string;
|
|
113
|
+
createdAt: Date;
|
|
114
|
+
updatedAt: Date;
|
|
115
|
+
version: number;
|
|
116
|
+
definitionYml: string;
|
|
117
|
+
checksum: string;
|
|
118
|
+
message: string | null;
|
|
119
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
120
|
+
parentVersion: string | null;
|
|
121
|
+
workflow: string;
|
|
122
|
+
createdBy: string | null;
|
|
123
|
+
}, "id" | "createdAt" | "updatedAt" | "message" | "action" | "version" | "checksum"> & {
|
|
124
|
+
parentVersion: import("@hexabot-ai/types").WorkflowVersion["parentVersion"] | import("@hexabot-ai/types").WorkflowVersionFull["parentVersion"];
|
|
125
|
+
workflow: import("@hexabot-ai/types").WorkflowVersion["workflow"] | import("@hexabot-ai/types").WorkflowVersionFull["workflow"];
|
|
126
|
+
createdBy: import("@hexabot-ai/types").WorkflowVersion["createdBy"] | import("@hexabot-ai/types").WorkflowVersionFull["createdBy"];
|
|
127
|
+
definitionYmlByteLength?: number;
|
|
128
|
+
}) | null;
|
|
129
|
+
currentVersionId: string | null;
|
|
130
|
+
publishedVersionId: string | null;
|
|
131
|
+
})[];
|
|
132
|
+
total: number;
|
|
133
|
+
limit: number | undefined;
|
|
134
|
+
skip: number | undefined;
|
|
135
|
+
}>;
|
|
136
|
+
getWorkflow(args: {
|
|
137
|
+
id: string;
|
|
138
|
+
}): Promise<Omit<{
|
|
139
|
+
id: string;
|
|
140
|
+
createdAt: Date;
|
|
141
|
+
updatedAt: Date;
|
|
142
|
+
name: string;
|
|
143
|
+
description: string | null;
|
|
144
|
+
type: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowType;
|
|
145
|
+
schedule: string | null;
|
|
146
|
+
inputSchema: any;
|
|
147
|
+
builtin: boolean;
|
|
148
|
+
x: number;
|
|
149
|
+
y: number;
|
|
150
|
+
zoom: number;
|
|
151
|
+
direction: import("@hexabot-ai/types/dist/types/workflow/domain").DirectionType;
|
|
152
|
+
currentVersion: {
|
|
153
|
+
id: string;
|
|
154
|
+
createdAt: Date;
|
|
155
|
+
updatedAt: Date;
|
|
156
|
+
version: number;
|
|
157
|
+
definitionYml: string;
|
|
158
|
+
checksum: string;
|
|
159
|
+
message: string | null;
|
|
160
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
161
|
+
parentVersion: string | null;
|
|
162
|
+
workflow: string;
|
|
163
|
+
createdBy: string | null;
|
|
164
|
+
} | null;
|
|
165
|
+
publishedVersion: {
|
|
166
|
+
id: string;
|
|
167
|
+
createdAt: Date;
|
|
168
|
+
updatedAt: Date;
|
|
169
|
+
version: number;
|
|
170
|
+
definitionYml: string;
|
|
171
|
+
checksum: string;
|
|
172
|
+
message: string | null;
|
|
173
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
174
|
+
parentVersion: string | null;
|
|
175
|
+
workflow: string;
|
|
176
|
+
createdBy: string | null;
|
|
177
|
+
} | null;
|
|
178
|
+
createdBy: {
|
|
179
|
+
id: string;
|
|
180
|
+
createdAt: Date;
|
|
181
|
+
updatedAt: Date;
|
|
182
|
+
firstName: string;
|
|
183
|
+
lastName: string;
|
|
184
|
+
language: string | null;
|
|
185
|
+
timezone: number;
|
|
186
|
+
locale: string | null;
|
|
187
|
+
gender: string | null;
|
|
188
|
+
country: string | null;
|
|
189
|
+
foreignId: string | null;
|
|
190
|
+
assignedAt: Date | null;
|
|
191
|
+
lastvisit: Date | null;
|
|
192
|
+
retainedFrom: Date | null;
|
|
193
|
+
channel: {
|
|
194
|
+
name: string | null;
|
|
195
|
+
data?: Record<string, any> | null | undefined;
|
|
196
|
+
};
|
|
197
|
+
username: string;
|
|
198
|
+
email: string;
|
|
199
|
+
sendEmail: boolean;
|
|
200
|
+
state: boolean;
|
|
201
|
+
resetCount: number;
|
|
202
|
+
resetToken: string | null;
|
|
203
|
+
labels: string[];
|
|
204
|
+
assignedTo: string | null;
|
|
205
|
+
roles: string[];
|
|
206
|
+
avatar: string | null;
|
|
207
|
+
provider?: {
|
|
208
|
+
strategy: "local";
|
|
209
|
+
sub?: string | undefined;
|
|
210
|
+
} | undefined;
|
|
211
|
+
} | null;
|
|
212
|
+
definitionYml?: string | undefined;
|
|
213
|
+
definition?: any;
|
|
214
|
+
}, "definition" | "currentVersion" | "publishedVersion" | "definitionYml"> & {
|
|
215
|
+
currentVersion: (Pick<{
|
|
216
|
+
id: string;
|
|
217
|
+
createdAt: Date;
|
|
218
|
+
updatedAt: Date;
|
|
219
|
+
version: number;
|
|
220
|
+
definitionYml: string;
|
|
221
|
+
checksum: string;
|
|
222
|
+
message: string | null;
|
|
223
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
224
|
+
parentVersion: string | null;
|
|
225
|
+
workflow: string;
|
|
226
|
+
createdBy: string | null;
|
|
227
|
+
}, "id" | "createdAt" | "updatedAt" | "message" | "action" | "version" | "checksum"> & {
|
|
228
|
+
parentVersion: import("@hexabot-ai/types").WorkflowVersion["parentVersion"] | import("@hexabot-ai/types").WorkflowVersionFull["parentVersion"];
|
|
229
|
+
workflow: import("@hexabot-ai/types").WorkflowVersion["workflow"] | import("@hexabot-ai/types").WorkflowVersionFull["workflow"];
|
|
230
|
+
createdBy: import("@hexabot-ai/types").WorkflowVersion["createdBy"] | import("@hexabot-ai/types").WorkflowVersionFull["createdBy"];
|
|
231
|
+
definitionYmlByteLength?: number;
|
|
232
|
+
}) | null;
|
|
233
|
+
publishedVersion: (Pick<{
|
|
234
|
+
id: string;
|
|
235
|
+
createdAt: Date;
|
|
236
|
+
updatedAt: Date;
|
|
237
|
+
version: number;
|
|
238
|
+
definitionYml: string;
|
|
239
|
+
checksum: string;
|
|
240
|
+
message: string | null;
|
|
241
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
242
|
+
parentVersion: string | null;
|
|
243
|
+
workflow: string;
|
|
244
|
+
createdBy: string | null;
|
|
245
|
+
}, "id" | "createdAt" | "updatedAt" | "message" | "action" | "version" | "checksum"> & {
|
|
246
|
+
parentVersion: import("@hexabot-ai/types").WorkflowVersion["parentVersion"] | import("@hexabot-ai/types").WorkflowVersionFull["parentVersion"];
|
|
247
|
+
workflow: import("@hexabot-ai/types").WorkflowVersion["workflow"] | import("@hexabot-ai/types").WorkflowVersionFull["workflow"];
|
|
248
|
+
createdBy: import("@hexabot-ai/types").WorkflowVersion["createdBy"] | import("@hexabot-ai/types").WorkflowVersionFull["createdBy"];
|
|
249
|
+
definitionYmlByteLength?: number;
|
|
250
|
+
}) | null;
|
|
251
|
+
currentVersionId: string | null;
|
|
252
|
+
publishedVersionId: string | null;
|
|
253
|
+
}>;
|
|
254
|
+
getWorkflowVersionStatus(args: {
|
|
255
|
+
id: string;
|
|
256
|
+
}): Promise<{
|
|
257
|
+
workflow: {
|
|
258
|
+
id: string;
|
|
259
|
+
name: string;
|
|
260
|
+
type: WorkflowType;
|
|
261
|
+
};
|
|
262
|
+
currentVersion: (Pick<{
|
|
263
|
+
id: string;
|
|
264
|
+
createdAt: Date;
|
|
265
|
+
updatedAt: Date;
|
|
266
|
+
version: number;
|
|
267
|
+
definitionYml: string;
|
|
268
|
+
checksum: string;
|
|
269
|
+
message: string | null;
|
|
270
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
271
|
+
parentVersion: string | null;
|
|
272
|
+
workflow: string;
|
|
273
|
+
createdBy: string | null;
|
|
274
|
+
}, "id" | "createdAt" | "updatedAt" | "message" | "action" | "version" | "checksum"> & {
|
|
275
|
+
parentVersion: import("@hexabot-ai/types").WorkflowVersion["parentVersion"] | import("@hexabot-ai/types").WorkflowVersionFull["parentVersion"];
|
|
276
|
+
workflow: import("@hexabot-ai/types").WorkflowVersion["workflow"] | import("@hexabot-ai/types").WorkflowVersionFull["workflow"];
|
|
277
|
+
createdBy: import("@hexabot-ai/types").WorkflowVersion["createdBy"] | import("@hexabot-ai/types").WorkflowVersionFull["createdBy"];
|
|
278
|
+
definitionYmlByteLength?: number;
|
|
279
|
+
}) | null;
|
|
280
|
+
publishedVersion: (Pick<{
|
|
281
|
+
id: string;
|
|
282
|
+
createdAt: Date;
|
|
283
|
+
updatedAt: Date;
|
|
284
|
+
version: number;
|
|
285
|
+
definitionYml: string;
|
|
286
|
+
checksum: string;
|
|
287
|
+
message: string | null;
|
|
288
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
289
|
+
parentVersion: string | null;
|
|
290
|
+
workflow: string;
|
|
291
|
+
createdBy: string | null;
|
|
292
|
+
}, "id" | "createdAt" | "updatedAt" | "message" | "action" | "version" | "checksum"> & {
|
|
293
|
+
parentVersion: import("@hexabot-ai/types").WorkflowVersion["parentVersion"] | import("@hexabot-ai/types").WorkflowVersionFull["parentVersion"];
|
|
294
|
+
workflow: import("@hexabot-ai/types").WorkflowVersion["workflow"] | import("@hexabot-ai/types").WorkflowVersionFull["workflow"];
|
|
295
|
+
createdBy: import("@hexabot-ai/types").WorkflowVersion["createdBy"] | import("@hexabot-ai/types").WorkflowVersionFull["createdBy"];
|
|
296
|
+
definitionYmlByteLength?: number;
|
|
297
|
+
}) | null;
|
|
298
|
+
currentVersionId: string | null;
|
|
299
|
+
publishedVersionId: string | null;
|
|
300
|
+
isPublished: boolean;
|
|
301
|
+
isCurrentVersionPublished: boolean;
|
|
302
|
+
hasUnpublishedChanges: boolean;
|
|
303
|
+
}>;
|
|
304
|
+
createWorkflow(args: {
|
|
305
|
+
name: string;
|
|
306
|
+
description?: string;
|
|
307
|
+
type?: WorkflowType;
|
|
308
|
+
schedule?: string | null;
|
|
309
|
+
inputSchema?: Record<string, unknown>;
|
|
310
|
+
builtin?: boolean;
|
|
311
|
+
x?: number;
|
|
312
|
+
y?: number;
|
|
313
|
+
zoom?: number;
|
|
314
|
+
direction?: DirectionType;
|
|
315
|
+
definitionYml?: string;
|
|
316
|
+
versionMessage?: string;
|
|
317
|
+
}, _context: unknown, request?: HexabotMcpRequest): Promise<Omit<{
|
|
318
|
+
id: string;
|
|
319
|
+
createdAt: Date;
|
|
320
|
+
updatedAt: Date;
|
|
321
|
+
name: string;
|
|
322
|
+
description: string | null;
|
|
323
|
+
type: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowType;
|
|
324
|
+
schedule: string | null;
|
|
325
|
+
inputSchema: any;
|
|
326
|
+
builtin: boolean;
|
|
327
|
+
x: number;
|
|
328
|
+
y: number;
|
|
329
|
+
zoom: number;
|
|
330
|
+
direction: import("@hexabot-ai/types/dist/types/workflow/domain").DirectionType;
|
|
331
|
+
currentVersion: {
|
|
332
|
+
id: string;
|
|
333
|
+
createdAt: Date;
|
|
334
|
+
updatedAt: Date;
|
|
335
|
+
version: number;
|
|
336
|
+
definitionYml: string;
|
|
337
|
+
checksum: string;
|
|
338
|
+
message: string | null;
|
|
339
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
340
|
+
parentVersion: string | null;
|
|
341
|
+
workflow: string;
|
|
342
|
+
createdBy: string | null;
|
|
343
|
+
} | null;
|
|
344
|
+
publishedVersion: {
|
|
345
|
+
id: string;
|
|
346
|
+
createdAt: Date;
|
|
347
|
+
updatedAt: Date;
|
|
348
|
+
version: number;
|
|
349
|
+
definitionYml: string;
|
|
350
|
+
checksum: string;
|
|
351
|
+
message: string | null;
|
|
352
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
353
|
+
parentVersion: string | null;
|
|
354
|
+
workflow: string;
|
|
355
|
+
createdBy: string | null;
|
|
356
|
+
} | null;
|
|
357
|
+
createdBy: {
|
|
358
|
+
id: string;
|
|
359
|
+
createdAt: Date;
|
|
360
|
+
updatedAt: Date;
|
|
361
|
+
firstName: string;
|
|
362
|
+
lastName: string;
|
|
363
|
+
language: string | null;
|
|
364
|
+
timezone: number;
|
|
365
|
+
locale: string | null;
|
|
366
|
+
gender: string | null;
|
|
367
|
+
country: string | null;
|
|
368
|
+
foreignId: string | null;
|
|
369
|
+
assignedAt: Date | null;
|
|
370
|
+
lastvisit: Date | null;
|
|
371
|
+
retainedFrom: Date | null;
|
|
372
|
+
channel: {
|
|
373
|
+
name: string | null;
|
|
374
|
+
data?: Record<string, any> | null | undefined;
|
|
375
|
+
};
|
|
376
|
+
username: string;
|
|
377
|
+
email: string;
|
|
378
|
+
sendEmail: boolean;
|
|
379
|
+
state: boolean;
|
|
380
|
+
resetCount: number;
|
|
381
|
+
resetToken: string | null;
|
|
382
|
+
labels: string[];
|
|
383
|
+
assignedTo: string | null;
|
|
384
|
+
roles: string[];
|
|
385
|
+
avatar: string | null;
|
|
386
|
+
provider?: {
|
|
387
|
+
strategy: "local";
|
|
388
|
+
sub?: string | undefined;
|
|
389
|
+
} | undefined;
|
|
390
|
+
} | null;
|
|
391
|
+
definitionYml?: string | undefined;
|
|
392
|
+
definition?: any;
|
|
393
|
+
}, "definition" | "currentVersion" | "publishedVersion" | "definitionYml"> & {
|
|
394
|
+
currentVersion: (Pick<{
|
|
395
|
+
id: string;
|
|
396
|
+
createdAt: Date;
|
|
397
|
+
updatedAt: Date;
|
|
398
|
+
version: number;
|
|
399
|
+
definitionYml: string;
|
|
400
|
+
checksum: string;
|
|
401
|
+
message: string | null;
|
|
402
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
403
|
+
parentVersion: string | null;
|
|
404
|
+
workflow: string;
|
|
405
|
+
createdBy: string | null;
|
|
406
|
+
}, "id" | "createdAt" | "updatedAt" | "message" | "action" | "version" | "checksum"> & {
|
|
407
|
+
parentVersion: import("@hexabot-ai/types").WorkflowVersion["parentVersion"] | import("@hexabot-ai/types").WorkflowVersionFull["parentVersion"];
|
|
408
|
+
workflow: import("@hexabot-ai/types").WorkflowVersion["workflow"] | import("@hexabot-ai/types").WorkflowVersionFull["workflow"];
|
|
409
|
+
createdBy: import("@hexabot-ai/types").WorkflowVersion["createdBy"] | import("@hexabot-ai/types").WorkflowVersionFull["createdBy"];
|
|
410
|
+
definitionYmlByteLength?: number;
|
|
411
|
+
}) | null;
|
|
412
|
+
publishedVersion: (Pick<{
|
|
413
|
+
id: string;
|
|
414
|
+
createdAt: Date;
|
|
415
|
+
updatedAt: Date;
|
|
416
|
+
version: number;
|
|
417
|
+
definitionYml: string;
|
|
418
|
+
checksum: string;
|
|
419
|
+
message: string | null;
|
|
420
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
421
|
+
parentVersion: string | null;
|
|
422
|
+
workflow: string;
|
|
423
|
+
createdBy: string | null;
|
|
424
|
+
}, "id" | "createdAt" | "updatedAt" | "message" | "action" | "version" | "checksum"> & {
|
|
425
|
+
parentVersion: import("@hexabot-ai/types").WorkflowVersion["parentVersion"] | import("@hexabot-ai/types").WorkflowVersionFull["parentVersion"];
|
|
426
|
+
workflow: import("@hexabot-ai/types").WorkflowVersion["workflow"] | import("@hexabot-ai/types").WorkflowVersionFull["workflow"];
|
|
427
|
+
createdBy: import("@hexabot-ai/types").WorkflowVersion["createdBy"] | import("@hexabot-ai/types").WorkflowVersionFull["createdBy"];
|
|
428
|
+
definitionYmlByteLength?: number;
|
|
429
|
+
}) | null;
|
|
430
|
+
currentVersionId: string | null;
|
|
431
|
+
publishedVersionId: string | null;
|
|
432
|
+
}>;
|
|
433
|
+
updateWorkflow(args: {
|
|
434
|
+
id: string;
|
|
435
|
+
definitionYml?: string;
|
|
436
|
+
versionMessage?: string;
|
|
437
|
+
} & Record<string, unknown>, _context: unknown, request?: HexabotMcpRequest): Promise<Omit<{
|
|
438
|
+
id: string;
|
|
439
|
+
createdAt: Date;
|
|
440
|
+
updatedAt: Date;
|
|
441
|
+
name: string;
|
|
442
|
+
description: string | null;
|
|
443
|
+
type: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowType;
|
|
444
|
+
schedule: string | null;
|
|
445
|
+
inputSchema: any;
|
|
446
|
+
builtin: boolean;
|
|
447
|
+
x: number;
|
|
448
|
+
y: number;
|
|
449
|
+
zoom: number;
|
|
450
|
+
direction: import("@hexabot-ai/types/dist/types/workflow/domain").DirectionType;
|
|
451
|
+
currentVersion: {
|
|
452
|
+
id: string;
|
|
453
|
+
createdAt: Date;
|
|
454
|
+
updatedAt: Date;
|
|
455
|
+
version: number;
|
|
456
|
+
definitionYml: string;
|
|
457
|
+
checksum: string;
|
|
458
|
+
message: string | null;
|
|
459
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
460
|
+
parentVersion: string | null;
|
|
461
|
+
workflow: string;
|
|
462
|
+
createdBy: string | null;
|
|
463
|
+
} | null;
|
|
464
|
+
publishedVersion: {
|
|
465
|
+
id: string;
|
|
466
|
+
createdAt: Date;
|
|
467
|
+
updatedAt: Date;
|
|
468
|
+
version: number;
|
|
469
|
+
definitionYml: string;
|
|
470
|
+
checksum: string;
|
|
471
|
+
message: string | null;
|
|
472
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
473
|
+
parentVersion: string | null;
|
|
474
|
+
workflow: string;
|
|
475
|
+
createdBy: string | null;
|
|
476
|
+
} | null;
|
|
477
|
+
createdBy: {
|
|
478
|
+
id: string;
|
|
479
|
+
createdAt: Date;
|
|
480
|
+
updatedAt: Date;
|
|
481
|
+
firstName: string;
|
|
482
|
+
lastName: string;
|
|
483
|
+
language: string | null;
|
|
484
|
+
timezone: number;
|
|
485
|
+
locale: string | null;
|
|
486
|
+
gender: string | null;
|
|
487
|
+
country: string | null;
|
|
488
|
+
foreignId: string | null;
|
|
489
|
+
assignedAt: Date | null;
|
|
490
|
+
lastvisit: Date | null;
|
|
491
|
+
retainedFrom: Date | null;
|
|
492
|
+
channel: {
|
|
493
|
+
name: string | null;
|
|
494
|
+
data?: Record<string, any> | null | undefined;
|
|
495
|
+
};
|
|
496
|
+
username: string;
|
|
497
|
+
email: string;
|
|
498
|
+
sendEmail: boolean;
|
|
499
|
+
state: boolean;
|
|
500
|
+
resetCount: number;
|
|
501
|
+
resetToken: string | null;
|
|
502
|
+
labels: string[];
|
|
503
|
+
assignedTo: string | null;
|
|
504
|
+
roles: string[];
|
|
505
|
+
avatar: string | null;
|
|
506
|
+
provider?: {
|
|
507
|
+
strategy: "local";
|
|
508
|
+
sub?: string | undefined;
|
|
509
|
+
} | undefined;
|
|
510
|
+
} | null;
|
|
511
|
+
definitionYml?: string | undefined;
|
|
512
|
+
definition?: any;
|
|
513
|
+
}, "definition" | "currentVersion" | "publishedVersion" | "definitionYml"> & {
|
|
514
|
+
currentVersion: (Pick<{
|
|
515
|
+
id: string;
|
|
516
|
+
createdAt: Date;
|
|
517
|
+
updatedAt: Date;
|
|
518
|
+
version: number;
|
|
519
|
+
definitionYml: string;
|
|
520
|
+
checksum: string;
|
|
521
|
+
message: string | null;
|
|
522
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
523
|
+
parentVersion: string | null;
|
|
524
|
+
workflow: string;
|
|
525
|
+
createdBy: string | null;
|
|
526
|
+
}, "id" | "createdAt" | "updatedAt" | "message" | "action" | "version" | "checksum"> & {
|
|
527
|
+
parentVersion: import("@hexabot-ai/types").WorkflowVersion["parentVersion"] | import("@hexabot-ai/types").WorkflowVersionFull["parentVersion"];
|
|
528
|
+
workflow: import("@hexabot-ai/types").WorkflowVersion["workflow"] | import("@hexabot-ai/types").WorkflowVersionFull["workflow"];
|
|
529
|
+
createdBy: import("@hexabot-ai/types").WorkflowVersion["createdBy"] | import("@hexabot-ai/types").WorkflowVersionFull["createdBy"];
|
|
530
|
+
definitionYmlByteLength?: number;
|
|
531
|
+
}) | null;
|
|
532
|
+
publishedVersion: (Pick<{
|
|
533
|
+
id: string;
|
|
534
|
+
createdAt: Date;
|
|
535
|
+
updatedAt: Date;
|
|
536
|
+
version: number;
|
|
537
|
+
definitionYml: string;
|
|
538
|
+
checksum: string;
|
|
539
|
+
message: string | null;
|
|
540
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
541
|
+
parentVersion: string | null;
|
|
542
|
+
workflow: string;
|
|
543
|
+
createdBy: string | null;
|
|
544
|
+
}, "id" | "createdAt" | "updatedAt" | "message" | "action" | "version" | "checksum"> & {
|
|
545
|
+
parentVersion: import("@hexabot-ai/types").WorkflowVersion["parentVersion"] | import("@hexabot-ai/types").WorkflowVersionFull["parentVersion"];
|
|
546
|
+
workflow: import("@hexabot-ai/types").WorkflowVersion["workflow"] | import("@hexabot-ai/types").WorkflowVersionFull["workflow"];
|
|
547
|
+
createdBy: import("@hexabot-ai/types").WorkflowVersion["createdBy"] | import("@hexabot-ai/types").WorkflowVersionFull["createdBy"];
|
|
548
|
+
definitionYmlByteLength?: number;
|
|
549
|
+
}) | null;
|
|
550
|
+
currentVersionId: string | null;
|
|
551
|
+
publishedVersionId: string | null;
|
|
552
|
+
}>;
|
|
553
|
+
publishWorkflow(args: {
|
|
554
|
+
id: string;
|
|
555
|
+
}): Promise<Omit<{
|
|
556
|
+
id: string;
|
|
557
|
+
createdAt: Date;
|
|
558
|
+
updatedAt: Date;
|
|
559
|
+
name: string;
|
|
560
|
+
description: string | null;
|
|
561
|
+
type: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowType;
|
|
562
|
+
schedule: string | null;
|
|
563
|
+
inputSchema: any;
|
|
564
|
+
builtin: boolean;
|
|
565
|
+
x: number;
|
|
566
|
+
y: number;
|
|
567
|
+
zoom: number;
|
|
568
|
+
direction: import("@hexabot-ai/types/dist/types/workflow/domain").DirectionType;
|
|
569
|
+
currentVersion: {
|
|
570
|
+
id: string;
|
|
571
|
+
createdAt: Date;
|
|
572
|
+
updatedAt: Date;
|
|
573
|
+
version: number;
|
|
574
|
+
definitionYml: string;
|
|
575
|
+
checksum: string;
|
|
576
|
+
message: string | null;
|
|
577
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
578
|
+
parentVersion: string | null;
|
|
579
|
+
workflow: string;
|
|
580
|
+
createdBy: string | null;
|
|
581
|
+
} | null;
|
|
582
|
+
publishedVersion: {
|
|
583
|
+
id: string;
|
|
584
|
+
createdAt: Date;
|
|
585
|
+
updatedAt: Date;
|
|
586
|
+
version: number;
|
|
587
|
+
definitionYml: string;
|
|
588
|
+
checksum: string;
|
|
589
|
+
message: string | null;
|
|
590
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
591
|
+
parentVersion: string | null;
|
|
592
|
+
workflow: string;
|
|
593
|
+
createdBy: string | null;
|
|
594
|
+
} | null;
|
|
595
|
+
createdBy: {
|
|
596
|
+
id: string;
|
|
597
|
+
createdAt: Date;
|
|
598
|
+
updatedAt: Date;
|
|
599
|
+
firstName: string;
|
|
600
|
+
lastName: string;
|
|
601
|
+
language: string | null;
|
|
602
|
+
timezone: number;
|
|
603
|
+
locale: string | null;
|
|
604
|
+
gender: string | null;
|
|
605
|
+
country: string | null;
|
|
606
|
+
foreignId: string | null;
|
|
607
|
+
assignedAt: Date | null;
|
|
608
|
+
lastvisit: Date | null;
|
|
609
|
+
retainedFrom: Date | null;
|
|
610
|
+
channel: {
|
|
611
|
+
name: string | null;
|
|
612
|
+
data?: Record<string, any> | null | undefined;
|
|
613
|
+
};
|
|
614
|
+
username: string;
|
|
615
|
+
email: string;
|
|
616
|
+
sendEmail: boolean;
|
|
617
|
+
state: boolean;
|
|
618
|
+
resetCount: number;
|
|
619
|
+
resetToken: string | null;
|
|
620
|
+
labels: string[];
|
|
621
|
+
assignedTo: string | null;
|
|
622
|
+
roles: string[];
|
|
623
|
+
avatar: string | null;
|
|
624
|
+
provider?: {
|
|
625
|
+
strategy: "local";
|
|
626
|
+
sub?: string | undefined;
|
|
627
|
+
} | undefined;
|
|
628
|
+
} | null;
|
|
629
|
+
definitionYml?: string | undefined;
|
|
630
|
+
definition?: any;
|
|
631
|
+
}, "definition" | "currentVersion" | "publishedVersion" | "definitionYml"> & {
|
|
632
|
+
currentVersion: (Pick<{
|
|
633
|
+
id: string;
|
|
634
|
+
createdAt: Date;
|
|
635
|
+
updatedAt: Date;
|
|
636
|
+
version: number;
|
|
637
|
+
definitionYml: string;
|
|
638
|
+
checksum: string;
|
|
639
|
+
message: string | null;
|
|
640
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
641
|
+
parentVersion: string | null;
|
|
642
|
+
workflow: string;
|
|
643
|
+
createdBy: string | null;
|
|
644
|
+
}, "id" | "createdAt" | "updatedAt" | "message" | "action" | "version" | "checksum"> & {
|
|
645
|
+
parentVersion: import("@hexabot-ai/types").WorkflowVersion["parentVersion"] | import("@hexabot-ai/types").WorkflowVersionFull["parentVersion"];
|
|
646
|
+
workflow: import("@hexabot-ai/types").WorkflowVersion["workflow"] | import("@hexabot-ai/types").WorkflowVersionFull["workflow"];
|
|
647
|
+
createdBy: import("@hexabot-ai/types").WorkflowVersion["createdBy"] | import("@hexabot-ai/types").WorkflowVersionFull["createdBy"];
|
|
648
|
+
definitionYmlByteLength?: number;
|
|
649
|
+
}) | null;
|
|
650
|
+
publishedVersion: (Pick<{
|
|
651
|
+
id: string;
|
|
652
|
+
createdAt: Date;
|
|
653
|
+
updatedAt: Date;
|
|
654
|
+
version: number;
|
|
655
|
+
definitionYml: string;
|
|
656
|
+
checksum: string;
|
|
657
|
+
message: string | null;
|
|
658
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
659
|
+
parentVersion: string | null;
|
|
660
|
+
workflow: string;
|
|
661
|
+
createdBy: string | null;
|
|
662
|
+
}, "id" | "createdAt" | "updatedAt" | "message" | "action" | "version" | "checksum"> & {
|
|
663
|
+
parentVersion: import("@hexabot-ai/types").WorkflowVersion["parentVersion"] | import("@hexabot-ai/types").WorkflowVersionFull["parentVersion"];
|
|
664
|
+
workflow: import("@hexabot-ai/types").WorkflowVersion["workflow"] | import("@hexabot-ai/types").WorkflowVersionFull["workflow"];
|
|
665
|
+
createdBy: import("@hexabot-ai/types").WorkflowVersion["createdBy"] | import("@hexabot-ai/types").WorkflowVersionFull["createdBy"];
|
|
666
|
+
definitionYmlByteLength?: number;
|
|
667
|
+
}) | null;
|
|
668
|
+
currentVersionId: string | null;
|
|
669
|
+
publishedVersionId: string | null;
|
|
670
|
+
}>;
|
|
671
|
+
unpublishWorkflow(args: {
|
|
672
|
+
id: string;
|
|
673
|
+
}): Promise<Omit<{
|
|
674
|
+
id: string;
|
|
675
|
+
createdAt: Date;
|
|
676
|
+
updatedAt: Date;
|
|
677
|
+
name: string;
|
|
678
|
+
description: string | null;
|
|
679
|
+
type: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowType;
|
|
680
|
+
schedule: string | null;
|
|
681
|
+
inputSchema: any;
|
|
682
|
+
builtin: boolean;
|
|
683
|
+
x: number;
|
|
684
|
+
y: number;
|
|
685
|
+
zoom: number;
|
|
686
|
+
direction: import("@hexabot-ai/types/dist/types/workflow/domain").DirectionType;
|
|
687
|
+
currentVersion: {
|
|
688
|
+
id: string;
|
|
689
|
+
createdAt: Date;
|
|
690
|
+
updatedAt: Date;
|
|
691
|
+
version: number;
|
|
692
|
+
definitionYml: string;
|
|
693
|
+
checksum: string;
|
|
694
|
+
message: string | null;
|
|
695
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
696
|
+
parentVersion: string | null;
|
|
697
|
+
workflow: string;
|
|
698
|
+
createdBy: string | null;
|
|
699
|
+
} | null;
|
|
700
|
+
publishedVersion: {
|
|
701
|
+
id: string;
|
|
702
|
+
createdAt: Date;
|
|
703
|
+
updatedAt: Date;
|
|
704
|
+
version: number;
|
|
705
|
+
definitionYml: string;
|
|
706
|
+
checksum: string;
|
|
707
|
+
message: string | null;
|
|
708
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
709
|
+
parentVersion: string | null;
|
|
710
|
+
workflow: string;
|
|
711
|
+
createdBy: string | null;
|
|
712
|
+
} | null;
|
|
713
|
+
createdBy: {
|
|
714
|
+
id: string;
|
|
715
|
+
createdAt: Date;
|
|
716
|
+
updatedAt: Date;
|
|
717
|
+
firstName: string;
|
|
718
|
+
lastName: string;
|
|
719
|
+
language: string | null;
|
|
720
|
+
timezone: number;
|
|
721
|
+
locale: string | null;
|
|
722
|
+
gender: string | null;
|
|
723
|
+
country: string | null;
|
|
724
|
+
foreignId: string | null;
|
|
725
|
+
assignedAt: Date | null;
|
|
726
|
+
lastvisit: Date | null;
|
|
727
|
+
retainedFrom: Date | null;
|
|
728
|
+
channel: {
|
|
729
|
+
name: string | null;
|
|
730
|
+
data?: Record<string, any> | null | undefined;
|
|
731
|
+
};
|
|
732
|
+
username: string;
|
|
733
|
+
email: string;
|
|
734
|
+
sendEmail: boolean;
|
|
735
|
+
state: boolean;
|
|
736
|
+
resetCount: number;
|
|
737
|
+
resetToken: string | null;
|
|
738
|
+
labels: string[];
|
|
739
|
+
assignedTo: string | null;
|
|
740
|
+
roles: string[];
|
|
741
|
+
avatar: string | null;
|
|
742
|
+
provider?: {
|
|
743
|
+
strategy: "local";
|
|
744
|
+
sub?: string | undefined;
|
|
745
|
+
} | undefined;
|
|
746
|
+
} | null;
|
|
747
|
+
definitionYml?: string | undefined;
|
|
748
|
+
definition?: any;
|
|
749
|
+
}, "definition" | "currentVersion" | "publishedVersion" | "definitionYml"> & {
|
|
750
|
+
currentVersion: (Pick<{
|
|
751
|
+
id: string;
|
|
752
|
+
createdAt: Date;
|
|
753
|
+
updatedAt: Date;
|
|
754
|
+
version: number;
|
|
755
|
+
definitionYml: string;
|
|
756
|
+
checksum: string;
|
|
757
|
+
message: string | null;
|
|
758
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
759
|
+
parentVersion: string | null;
|
|
760
|
+
workflow: string;
|
|
761
|
+
createdBy: string | null;
|
|
762
|
+
}, "id" | "createdAt" | "updatedAt" | "message" | "action" | "version" | "checksum"> & {
|
|
763
|
+
parentVersion: import("@hexabot-ai/types").WorkflowVersion["parentVersion"] | import("@hexabot-ai/types").WorkflowVersionFull["parentVersion"];
|
|
764
|
+
workflow: import("@hexabot-ai/types").WorkflowVersion["workflow"] | import("@hexabot-ai/types").WorkflowVersionFull["workflow"];
|
|
765
|
+
createdBy: import("@hexabot-ai/types").WorkflowVersion["createdBy"] | import("@hexabot-ai/types").WorkflowVersionFull["createdBy"];
|
|
766
|
+
definitionYmlByteLength?: number;
|
|
767
|
+
}) | null;
|
|
768
|
+
publishedVersion: (Pick<{
|
|
769
|
+
id: string;
|
|
770
|
+
createdAt: Date;
|
|
771
|
+
updatedAt: Date;
|
|
772
|
+
version: number;
|
|
773
|
+
definitionYml: string;
|
|
774
|
+
checksum: string;
|
|
775
|
+
message: string | null;
|
|
776
|
+
action: import("@hexabot-ai/types/dist/types/workflow/domain").WorkflowVersionAction | null;
|
|
777
|
+
parentVersion: string | null;
|
|
778
|
+
workflow: string;
|
|
779
|
+
createdBy: string | null;
|
|
780
|
+
}, "id" | "createdAt" | "updatedAt" | "message" | "action" | "version" | "checksum"> & {
|
|
781
|
+
parentVersion: import("@hexabot-ai/types").WorkflowVersion["parentVersion"] | import("@hexabot-ai/types").WorkflowVersionFull["parentVersion"];
|
|
782
|
+
workflow: import("@hexabot-ai/types").WorkflowVersion["workflow"] | import("@hexabot-ai/types").WorkflowVersionFull["workflow"];
|
|
783
|
+
createdBy: import("@hexabot-ai/types").WorkflowVersion["createdBy"] | import("@hexabot-ai/types").WorkflowVersionFull["createdBy"];
|
|
784
|
+
definitionYmlByteLength?: number;
|
|
785
|
+
}) | null;
|
|
786
|
+
currentVersionId: string | null;
|
|
787
|
+
publishedVersionId: string | null;
|
|
788
|
+
}>;
|
|
789
|
+
private buildWorkflowWhere;
|
|
790
|
+
}
|