@pikku/addon-the-hive 0.0.2
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 +12 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +67 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.js +78 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.ts +106 -0
- package/dist/.pikku/addon/pikku-package.gen.d.ts +2 -0
- package/dist/.pikku/addon/pikku-package.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/pikku-package.gen.js +10 -0
- package/dist/.pikku/addon/pikku-package.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-package.gen.ts +11 -0
- package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +4 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +47 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.js +18 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.ts +82 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +112 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts.map +1 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.js +60 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.js.map +1 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.ts +177 -0
- package/dist/.pikku/console/pikku-node-types.gen.d.ts +7 -0
- package/dist/.pikku/console/pikku-node-types.gen.d.ts.map +1 -0
- package/dist/.pikku/console/pikku-node-types.gen.js +2 -0
- package/dist/.pikku/console/pikku-node-types.gen.js.map +1 -0
- package/dist/.pikku/console/pikku-node-types.gen.ts +8 -0
- package/dist/.pikku/credentials/pikku-credentials-meta.gen.json +10 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.d.ts +15 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.d.ts.map +1 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.js +13 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.js.map +1 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.ts +23 -0
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +490 -0
- package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-function-types.gen.js +334 -0
- package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-function-types.gen.ts +754 -0
- package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +1017 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.d.ts +2 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.js +7 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.json +667 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.ts +7 -0
- package/dist/.pikku/function/pikku-functions.gen.d.ts +2 -0
- package/dist/.pikku/function/pikku-functions.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-functions.gen.js +76 -0
- package/dist/.pikku/function/pikku-functions.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions.gen.ts +76 -0
- package/dist/.pikku/http/pikku-http-types.gen.d.ts +120 -0
- package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +1 -0
- package/dist/.pikku/http/pikku-http-types.gen.js +72 -0
- package/dist/.pikku/http/pikku-http-types.gen.js.map +1 -0
- package/dist/.pikku/http/pikku-http-types.gen.ts +147 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +131 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts.map +1 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js +38 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js.map +1 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.ts +183 -0
- package/dist/.pikku/pikku-bootstrap.gen.d.ts +9 -0
- package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-bootstrap.gen.js +9 -0
- package/dist/.pikku/pikku-bootstrap.gen.js.map +1 -0
- package/dist/.pikku/pikku-bootstrap.gen.ts +8 -0
- package/dist/.pikku/pikku-meta-service.gen.d.ts +8 -0
- package/dist/.pikku/pikku-meta-service.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-meta-service.gen.js +10 -0
- package/dist/.pikku/pikku-meta-service.gen.js.map +1 -0
- package/dist/.pikku/pikku-meta-service.gen.ts +10 -0
- package/dist/.pikku/pikku-services.gen.d.ts +35 -0
- package/dist/.pikku/pikku-services.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-services.gen.js +30 -0
- package/dist/.pikku/pikku-services.gen.js.map +1 -0
- package/dist/.pikku/pikku-services.gen.ts +42 -0
- package/dist/.pikku/pikku-types.gen.d.ts +12 -0
- package/dist/.pikku/pikku-types.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-types.gen.js +17 -0
- package/dist/.pikku/pikku-types.gen.js.map +1 -0
- package/dist/.pikku/pikku-types.gen.ts +21 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +24 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts.map +1 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.js +17 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.js.map +1 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.ts +27 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +365 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +400 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts +2 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +1 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +7 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +37 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +6 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +22 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts.map +1 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +17 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js.map +1 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.ts +25 -0
- package/dist/.pikku/schemas/register.gen.d.ts +2 -0
- package/dist/.pikku/schemas/register.gen.d.ts.map +1 -0
- package/dist/.pikku/schemas/register.gen.js +149 -0
- package/dist/.pikku/schemas/register.gen.js.map +1 -0
- package/dist/.pikku/schemas/register.gen.ts +291 -0
- package/dist/.pikku/schemas/schemas/AlertCountInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AlertCountOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AlertCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AlertCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AlertExecuteResponderInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AlertExecuteResponderOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AlertGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AlertGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AlertGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AlertGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AlertMarkAsReadInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AlertMarkAsReadOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AlertMarkAsUnreadInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AlertMarkAsUnreadOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AlertMergeInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AlertMergeOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AlertPromoteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AlertPromoteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AlertUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AlertUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CaseCountInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CaseCountOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CaseCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CaseCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CaseExecuteResponderInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CaseExecuteResponderOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CaseGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CaseGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CaseGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CaseGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CaseUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CaseUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CredentialSchema_theHive.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/LogCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/LogCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/LogExecuteResponderInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/LogExecuteResponderOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/LogGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/LogGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/LogGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/LogGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ObservableCountInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ObservableCountOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ObservableCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ObservableCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ObservableExecuteAnalyzerInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ObservableExecuteAnalyzerOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ObservableExecuteResponderInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ObservableExecuteResponderOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ObservableGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ObservableGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ObservableGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ObservableGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ObservableSearchInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ObservableSearchOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ObservableUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ObservableUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskCountInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskCountOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskExecuteResponderInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskExecuteResponderOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskSearchInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskSearchOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/VariableSchema_THE_HIVE_BASE_URL.schema.json +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +6 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.js +5 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.ts +5 -0
- package/dist/.pikku/secrets/pikku-secrets-meta.gen.json +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +12 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.js +11 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.ts +21 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +114 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts.map +1 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +34 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js.map +1 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.ts +160 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +6 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.js +5 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.js.map +1 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.ts +5 -0
- package/dist/.pikku/variables/pikku-variables-meta.gen.json +10 -0
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +15 -0
- package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -0
- package/dist/.pikku/variables/pikku-variables.gen.js +13 -0
- package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -0
- package/dist/.pikku/variables/pikku-variables.gen.ts +23 -0
- package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +38 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +90 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +18 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +167 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts +2 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +7 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +9 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +5 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +5 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +3 -0
- package/dist/src/functions/alertCount.function.d.ts +13 -0
- package/dist/src/functions/alertCount.function.d.ts.map +1 -0
- package/dist/src/functions/alertCount.function.js +15 -0
- package/dist/src/functions/alertCount.function.js.map +1 -0
- package/dist/src/functions/alertCreate.function.d.ts +37 -0
- package/dist/src/functions/alertCreate.function.d.ts.map +1 -0
- package/dist/src/functions/alertCreate.function.js +21 -0
- package/dist/src/functions/alertCreate.function.js.map +1 -0
- package/dist/src/functions/alertExecuteResponder.function.d.ts +17 -0
- package/dist/src/functions/alertExecuteResponder.function.d.ts.map +1 -0
- package/dist/src/functions/alertExecuteResponder.function.js +16 -0
- package/dist/src/functions/alertExecuteResponder.function.js.map +1 -0
- package/dist/src/functions/alertGet.function.d.ts +13 -0
- package/dist/src/functions/alertGet.function.d.ts.map +1 -0
- package/dist/src/functions/alertGet.function.js +15 -0
- package/dist/src/functions/alertGet.function.js.map +1 -0
- package/dist/src/functions/alertGetAll.function.d.ts +17 -0
- package/dist/src/functions/alertGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/alertGetAll.function.js +16 -0
- package/dist/src/functions/alertGetAll.function.js.map +1 -0
- package/dist/src/functions/alertMarkAsRead.function.d.ts +13 -0
- package/dist/src/functions/alertMarkAsRead.function.d.ts.map +1 -0
- package/dist/src/functions/alertMarkAsRead.function.js +15 -0
- package/dist/src/functions/alertMarkAsRead.function.js.map +1 -0
- package/dist/src/functions/alertMarkAsUnread.function.d.ts +13 -0
- package/dist/src/functions/alertMarkAsUnread.function.d.ts.map +1 -0
- package/dist/src/functions/alertMarkAsUnread.function.js +15 -0
- package/dist/src/functions/alertMarkAsUnread.function.js.map +1 -0
- package/dist/src/functions/alertMerge.function.d.ts +17 -0
- package/dist/src/functions/alertMerge.function.d.ts.map +1 -0
- package/dist/src/functions/alertMerge.function.js +16 -0
- package/dist/src/functions/alertMerge.function.js.map +1 -0
- package/dist/src/functions/alertPromote.function.d.ts +13 -0
- package/dist/src/functions/alertPromote.function.d.ts.map +1 -0
- package/dist/src/functions/alertPromote.function.js +15 -0
- package/dist/src/functions/alertPromote.function.js.map +1 -0
- package/dist/src/functions/alertUpdate.function.d.ts +25 -0
- package/dist/src/functions/alertUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/alertUpdate.function.js +18 -0
- package/dist/src/functions/alertUpdate.function.js.map +1 -0
- package/dist/src/functions/caseCount.function.d.ts +13 -0
- package/dist/src/functions/caseCount.function.d.ts.map +1 -0
- package/dist/src/functions/caseCount.function.js +15 -0
- package/dist/src/functions/caseCount.function.js.map +1 -0
- package/dist/src/functions/caseCreate.function.d.ts +29 -0
- package/dist/src/functions/caseCreate.function.d.ts.map +1 -0
- package/dist/src/functions/caseCreate.function.js +19 -0
- package/dist/src/functions/caseCreate.function.js.map +1 -0
- package/dist/src/functions/caseExecuteResponder.function.d.ts +17 -0
- package/dist/src/functions/caseExecuteResponder.function.d.ts.map +1 -0
- package/dist/src/functions/caseExecuteResponder.function.js +16 -0
- package/dist/src/functions/caseExecuteResponder.function.js.map +1 -0
- package/dist/src/functions/caseGet.function.d.ts +13 -0
- package/dist/src/functions/caseGet.function.d.ts.map +1 -0
- package/dist/src/functions/caseGet.function.js +15 -0
- package/dist/src/functions/caseGet.function.js.map +1 -0
- package/dist/src/functions/caseGetAll.function.d.ts +17 -0
- package/dist/src/functions/caseGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/caseGetAll.function.js +16 -0
- package/dist/src/functions/caseGetAll.function.js.map +1 -0
- package/dist/src/functions/caseUpdate.function.d.ts +25 -0
- package/dist/src/functions/caseUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/caseUpdate.function.js +18 -0
- package/dist/src/functions/caseUpdate.function.js.map +1 -0
- package/dist/src/functions/logCreate.function.d.ts +25 -0
- package/dist/src/functions/logCreate.function.d.ts.map +1 -0
- package/dist/src/functions/logCreate.function.js +18 -0
- package/dist/src/functions/logCreate.function.js.map +1 -0
- package/dist/src/functions/logExecuteResponder.function.d.ts +17 -0
- package/dist/src/functions/logExecuteResponder.function.d.ts.map +1 -0
- package/dist/src/functions/logExecuteResponder.function.js +16 -0
- package/dist/src/functions/logExecuteResponder.function.js.map +1 -0
- package/dist/src/functions/logGet.function.d.ts +13 -0
- package/dist/src/functions/logGet.function.d.ts.map +1 -0
- package/dist/src/functions/logGet.function.js +15 -0
- package/dist/src/functions/logGet.function.js.map +1 -0
- package/dist/src/functions/logGetAll.function.d.ts +17 -0
- package/dist/src/functions/logGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/logGetAll.function.js +16 -0
- package/dist/src/functions/logGetAll.function.js.map +1 -0
- package/dist/src/functions/observableCount.function.d.ts +13 -0
- package/dist/src/functions/observableCount.function.d.ts.map +1 -0
- package/dist/src/functions/observableCount.function.js +15 -0
- package/dist/src/functions/observableCount.function.js.map +1 -0
- package/dist/src/functions/observableCreate.function.d.ts +29 -0
- package/dist/src/functions/observableCreate.function.d.ts.map +1 -0
- package/dist/src/functions/observableCreate.function.js +19 -0
- package/dist/src/functions/observableCreate.function.js.map +1 -0
- package/dist/src/functions/observableExecuteAnalyzer.function.d.ts +17 -0
- package/dist/src/functions/observableExecuteAnalyzer.function.d.ts.map +1 -0
- package/dist/src/functions/observableExecuteAnalyzer.function.js +16 -0
- package/dist/src/functions/observableExecuteAnalyzer.function.js.map +1 -0
- package/dist/src/functions/observableExecuteResponder.function.d.ts +17 -0
- package/dist/src/functions/observableExecuteResponder.function.d.ts.map +1 -0
- package/dist/src/functions/observableExecuteResponder.function.js +16 -0
- package/dist/src/functions/observableExecuteResponder.function.js.map +1 -0
- package/dist/src/functions/observableGet.function.d.ts +13 -0
- package/dist/src/functions/observableGet.function.d.ts.map +1 -0
- package/dist/src/functions/observableGet.function.js +15 -0
- package/dist/src/functions/observableGet.function.js.map +1 -0
- package/dist/src/functions/observableGetAll.function.d.ts +17 -0
- package/dist/src/functions/observableGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/observableGetAll.function.js +16 -0
- package/dist/src/functions/observableGetAll.function.js.map +1 -0
- package/dist/src/functions/observableSearch.function.d.ts +13 -0
- package/dist/src/functions/observableSearch.function.d.ts.map +1 -0
- package/dist/src/functions/observableSearch.function.js +15 -0
- package/dist/src/functions/observableSearch.function.js.map +1 -0
- package/dist/src/functions/observableUpdate.function.d.ts +21 -0
- package/dist/src/functions/observableUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/observableUpdate.function.js +17 -0
- package/dist/src/functions/observableUpdate.function.js.map +1 -0
- package/dist/src/functions/taskCount.function.d.ts +13 -0
- package/dist/src/functions/taskCount.function.d.ts.map +1 -0
- package/dist/src/functions/taskCount.function.js +15 -0
- package/dist/src/functions/taskCount.function.js.map +1 -0
- package/dist/src/functions/taskCreate.function.d.ts +29 -0
- package/dist/src/functions/taskCreate.function.d.ts.map +1 -0
- package/dist/src/functions/taskCreate.function.js +19 -0
- package/dist/src/functions/taskCreate.function.js.map +1 -0
- package/dist/src/functions/taskExecuteResponder.function.d.ts +17 -0
- package/dist/src/functions/taskExecuteResponder.function.d.ts.map +1 -0
- package/dist/src/functions/taskExecuteResponder.function.js +16 -0
- package/dist/src/functions/taskExecuteResponder.function.js.map +1 -0
- package/dist/src/functions/taskGet.function.d.ts +13 -0
- package/dist/src/functions/taskGet.function.d.ts.map +1 -0
- package/dist/src/functions/taskGet.function.js +15 -0
- package/dist/src/functions/taskGet.function.js.map +1 -0
- package/dist/src/functions/taskGetAll.function.d.ts +17 -0
- package/dist/src/functions/taskGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/taskGetAll.function.js +16 -0
- package/dist/src/functions/taskGetAll.function.js.map +1 -0
- package/dist/src/functions/taskSearch.function.d.ts +13 -0
- package/dist/src/functions/taskSearch.function.d.ts.map +1 -0
- package/dist/src/functions/taskSearch.function.js +15 -0
- package/dist/src/functions/taskSearch.function.js.map +1 -0
- package/dist/src/functions/taskUpdate.function.d.ts +25 -0
- package/dist/src/functions/taskUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/taskUpdate.function.js +18 -0
- package/dist/src/functions/taskUpdate.function.js.map +1 -0
- package/dist/src/index.d.ts +36 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +36 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/services.d.ts +2 -0
- package/dist/src/services.d.ts.map +1 -0
- package/dist/src/services.js +14 -0
- package/dist/src/services.js.map +1 -0
- package/dist/src/the-hive-api.service.d.ts +10 -0
- package/dist/src/the-hive-api.service.d.ts.map +1 -0
- package/dist/src/the-hive-api.service.js +310 -0
- package/dist/src/the-hive-api.service.js.map +1 -0
- package/dist/src/the-hive.credential.d.ts +5 -0
- package/dist/src/the-hive.credential.d.ts.map +1 -0
- package/dist/src/the-hive.credential.js +13 -0
- package/dist/src/the-hive.credential.js.map +1 -0
- package/dist/src/the-hive.types.d.ts +7 -0
- package/dist/src/the-hive.types.d.ts.map +1 -0
- package/dist/src/the-hive.types.js +8 -0
- package/dist/src/the-hive.types.js.map +1 -0
- package/dist/src/the-hive.variable.d.ts +5 -0
- package/dist/src/the-hive.variable.d.ts.map +1 -0
- package/dist/src/the-hive.variable.js +11 -0
- package/dist/src/the-hive.variable.js.map +1 -0
- package/package.json +39 -0
|
@@ -0,0 +1,400 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
export type AlertCountInput = {
|
|
13
|
+
query?: {
|
|
14
|
+
[key: string]: unknown;
|
|
15
|
+
} | undefined;
|
|
16
|
+
}
|
|
17
|
+
export type AlertCountOutput = {
|
|
18
|
+
[key: string]: unknown;
|
|
19
|
+
}
|
|
20
|
+
export type AlertCreateInput = {
|
|
21
|
+
title?: string | undefined;
|
|
22
|
+
description?: string | undefined;
|
|
23
|
+
type?: string | undefined;
|
|
24
|
+
source?: string | undefined;
|
|
25
|
+
sourceRef?: string | undefined;
|
|
26
|
+
severity?: number | undefined;
|
|
27
|
+
tlp?: number | undefined;
|
|
28
|
+
}
|
|
29
|
+
export type AlertCreateOutput = {
|
|
30
|
+
[key: string]: unknown;
|
|
31
|
+
}
|
|
32
|
+
export type AlertExecuteResponderInput = {
|
|
33
|
+
id: string;
|
|
34
|
+
responderId?: string | undefined;
|
|
35
|
+
}
|
|
36
|
+
export type AlertExecuteResponderOutput = {
|
|
37
|
+
[key: string]: unknown;
|
|
38
|
+
}
|
|
39
|
+
export type AlertGetAllInput = {
|
|
40
|
+
range?: string | undefined;
|
|
41
|
+
sort?: string | undefined;
|
|
42
|
+
}
|
|
43
|
+
export type AlertGetAllOutput = {
|
|
44
|
+
[key: string]: unknown;
|
|
45
|
+
}
|
|
46
|
+
export type AlertGetInput = {
|
|
47
|
+
id: string;
|
|
48
|
+
}
|
|
49
|
+
export type AlertGetOutput = {
|
|
50
|
+
[key: string]: unknown;
|
|
51
|
+
}
|
|
52
|
+
export type AlertMarkAsReadInput = {
|
|
53
|
+
id: string;
|
|
54
|
+
}
|
|
55
|
+
export type AlertMarkAsReadOutput = {
|
|
56
|
+
[key: string]: unknown;
|
|
57
|
+
}
|
|
58
|
+
export type AlertMarkAsUnreadInput = {
|
|
59
|
+
id: string;
|
|
60
|
+
}
|
|
61
|
+
export type AlertMarkAsUnreadOutput = {
|
|
62
|
+
[key: string]: unknown;
|
|
63
|
+
}
|
|
64
|
+
export type AlertMergeInput = {
|
|
65
|
+
id: string;
|
|
66
|
+
caseId: string;
|
|
67
|
+
}
|
|
68
|
+
export type AlertMergeOutput = {
|
|
69
|
+
[key: string]: unknown;
|
|
70
|
+
}
|
|
71
|
+
export type AlertPromoteInput = {
|
|
72
|
+
id: string;
|
|
73
|
+
}
|
|
74
|
+
export type AlertPromoteOutput = {
|
|
75
|
+
[key: string]: unknown;
|
|
76
|
+
}
|
|
77
|
+
export type AlertUpdateInput = {
|
|
78
|
+
id: string;
|
|
79
|
+
title?: string | undefined;
|
|
80
|
+
description?: string | undefined;
|
|
81
|
+
severity?: number | undefined;
|
|
82
|
+
}
|
|
83
|
+
export type AlertUpdateOutput = {
|
|
84
|
+
[key: string]: unknown;
|
|
85
|
+
}
|
|
86
|
+
export type CaseCountInput = {
|
|
87
|
+
query?: {
|
|
88
|
+
[key: string]: unknown;
|
|
89
|
+
} | undefined;
|
|
90
|
+
}
|
|
91
|
+
export type CaseCountOutput = {
|
|
92
|
+
[key: string]: unknown;
|
|
93
|
+
}
|
|
94
|
+
export type CaseCreateInput = {
|
|
95
|
+
title?: string | undefined;
|
|
96
|
+
description?: string | undefined;
|
|
97
|
+
severity?: number | undefined;
|
|
98
|
+
owner?: string | undefined;
|
|
99
|
+
tlp?: number | undefined;
|
|
100
|
+
}
|
|
101
|
+
export type CaseCreateOutput = {
|
|
102
|
+
[key: string]: unknown;
|
|
103
|
+
}
|
|
104
|
+
export type CaseExecuteResponderInput = {
|
|
105
|
+
id: string;
|
|
106
|
+
responderId?: string | undefined;
|
|
107
|
+
}
|
|
108
|
+
export type CaseExecuteResponderOutput = {
|
|
109
|
+
[key: string]: unknown;
|
|
110
|
+
}
|
|
111
|
+
export type CaseGetAllInput = {
|
|
112
|
+
range?: string | undefined;
|
|
113
|
+
sort?: string | undefined;
|
|
114
|
+
}
|
|
115
|
+
export type CaseGetAllOutput = {
|
|
116
|
+
[key: string]: unknown;
|
|
117
|
+
}
|
|
118
|
+
export type CaseGetInput = {
|
|
119
|
+
id: string;
|
|
120
|
+
}
|
|
121
|
+
export type CaseGetOutput = {
|
|
122
|
+
[key: string]: unknown;
|
|
123
|
+
}
|
|
124
|
+
export type CaseUpdateInput = {
|
|
125
|
+
id: string;
|
|
126
|
+
title?: string | undefined;
|
|
127
|
+
description?: string | undefined;
|
|
128
|
+
summary?: string | undefined;
|
|
129
|
+
}
|
|
130
|
+
export type CaseUpdateOutput = {
|
|
131
|
+
[key: string]: unknown;
|
|
132
|
+
}
|
|
133
|
+
export type CredentialSchema_theHive = {
|
|
134
|
+
/** TheHive bearer token */
|
|
135
|
+
token: string;
|
|
136
|
+
}
|
|
137
|
+
export type LogCreateInput = {
|
|
138
|
+
taskId: string;
|
|
139
|
+
message?: string | undefined;
|
|
140
|
+
startDate?: string | undefined;
|
|
141
|
+
status?: string | undefined;
|
|
142
|
+
}
|
|
143
|
+
export type LogCreateOutput = {
|
|
144
|
+
[key: string]: unknown;
|
|
145
|
+
}
|
|
146
|
+
export type LogExecuteResponderInput = {
|
|
147
|
+
id: string;
|
|
148
|
+
responderId?: string | undefined;
|
|
149
|
+
}
|
|
150
|
+
export type LogExecuteResponderOutput = {
|
|
151
|
+
[key: string]: unknown;
|
|
152
|
+
}
|
|
153
|
+
export type LogGetAllInput = {
|
|
154
|
+
taskId?: string | undefined;
|
|
155
|
+
range?: string | undefined;
|
|
156
|
+
}
|
|
157
|
+
export type LogGetAllOutput = {
|
|
158
|
+
[key: string]: unknown;
|
|
159
|
+
}
|
|
160
|
+
export type LogGetInput = {
|
|
161
|
+
id: string;
|
|
162
|
+
}
|
|
163
|
+
export type LogGetOutput = {
|
|
164
|
+
[key: string]: unknown;
|
|
165
|
+
}
|
|
166
|
+
export type ObservableCountInput = {
|
|
167
|
+
query?: {
|
|
168
|
+
[key: string]: unknown;
|
|
169
|
+
} | undefined;
|
|
170
|
+
}
|
|
171
|
+
export type ObservableCountOutput = {
|
|
172
|
+
[key: string]: unknown;
|
|
173
|
+
}
|
|
174
|
+
export type ObservableCreateInput = {
|
|
175
|
+
caseId: string;
|
|
176
|
+
dataType?: string | undefined;
|
|
177
|
+
data?: string | undefined;
|
|
178
|
+
message?: string | undefined;
|
|
179
|
+
tlp?: number | undefined;
|
|
180
|
+
}
|
|
181
|
+
export type ObservableCreateOutput = {
|
|
182
|
+
[key: string]: unknown;
|
|
183
|
+
}
|
|
184
|
+
export type ObservableExecuteAnalyzerInput = {
|
|
185
|
+
id: string;
|
|
186
|
+
analyzerId?: string | undefined;
|
|
187
|
+
}
|
|
188
|
+
export type ObservableExecuteAnalyzerOutput = {
|
|
189
|
+
[key: string]: unknown;
|
|
190
|
+
}
|
|
191
|
+
export type ObservableExecuteResponderInput = {
|
|
192
|
+
id: string;
|
|
193
|
+
responderId?: string | undefined;
|
|
194
|
+
}
|
|
195
|
+
export type ObservableExecuteResponderOutput = {
|
|
196
|
+
[key: string]: unknown;
|
|
197
|
+
}
|
|
198
|
+
export type ObservableGetAllInput = {
|
|
199
|
+
range?: string | undefined;
|
|
200
|
+
sort?: string | undefined;
|
|
201
|
+
}
|
|
202
|
+
export type ObservableGetAllOutput = {
|
|
203
|
+
[key: string]: unknown;
|
|
204
|
+
}
|
|
205
|
+
export type ObservableGetInput = {
|
|
206
|
+
id: string;
|
|
207
|
+
}
|
|
208
|
+
export type ObservableGetOutput = {
|
|
209
|
+
[key: string]: unknown;
|
|
210
|
+
}
|
|
211
|
+
export type ObservableSearchInput = {
|
|
212
|
+
query?: {
|
|
213
|
+
[key: string]: unknown;
|
|
214
|
+
} | undefined;
|
|
215
|
+
}
|
|
216
|
+
export type ObservableSearchOutput = {
|
|
217
|
+
[key: string]: unknown;
|
|
218
|
+
}
|
|
219
|
+
export type ObservableUpdateInput = {
|
|
220
|
+
id: string;
|
|
221
|
+
message?: string | undefined;
|
|
222
|
+
tlp?: number | undefined;
|
|
223
|
+
}
|
|
224
|
+
export type ObservableUpdateOutput = {
|
|
225
|
+
[key: string]: unknown;
|
|
226
|
+
}
|
|
227
|
+
export type TaskCountInput = {
|
|
228
|
+
query?: {
|
|
229
|
+
[key: string]: unknown;
|
|
230
|
+
} | undefined;
|
|
231
|
+
}
|
|
232
|
+
export type TaskCountOutput = {
|
|
233
|
+
[key: string]: unknown;
|
|
234
|
+
}
|
|
235
|
+
export type TaskCreateInput = {
|
|
236
|
+
caseId: string;
|
|
237
|
+
title?: string | undefined;
|
|
238
|
+
description?: string | undefined;
|
|
239
|
+
status?: string | undefined;
|
|
240
|
+
owner?: string | undefined;
|
|
241
|
+
}
|
|
242
|
+
export type TaskCreateOutput = {
|
|
243
|
+
[key: string]: unknown;
|
|
244
|
+
}
|
|
245
|
+
export type TaskExecuteResponderInput = {
|
|
246
|
+
id: string;
|
|
247
|
+
responderId?: string | undefined;
|
|
248
|
+
}
|
|
249
|
+
export type TaskExecuteResponderOutput = {
|
|
250
|
+
[key: string]: unknown;
|
|
251
|
+
}
|
|
252
|
+
export type TaskGetAllInput = {
|
|
253
|
+
range?: string | undefined;
|
|
254
|
+
sort?: string | undefined;
|
|
255
|
+
}
|
|
256
|
+
export type TaskGetAllOutput = {
|
|
257
|
+
[key: string]: unknown;
|
|
258
|
+
}
|
|
259
|
+
export type TaskGetInput = {
|
|
260
|
+
id: string;
|
|
261
|
+
}
|
|
262
|
+
export type TaskGetOutput = {
|
|
263
|
+
[key: string]: unknown;
|
|
264
|
+
}
|
|
265
|
+
export type TaskSearchInput = {
|
|
266
|
+
query?: {
|
|
267
|
+
[key: string]: unknown;
|
|
268
|
+
} | undefined;
|
|
269
|
+
}
|
|
270
|
+
export type TaskSearchOutput = {
|
|
271
|
+
[key: string]: unknown;
|
|
272
|
+
}
|
|
273
|
+
export type TaskUpdateInput = {
|
|
274
|
+
id: string;
|
|
275
|
+
title?: string | undefined;
|
|
276
|
+
description?: string | undefined;
|
|
277
|
+
status?: string | undefined;
|
|
278
|
+
}
|
|
279
|
+
export type TaskUpdateOutput = {
|
|
280
|
+
[key: string]: unknown;
|
|
281
|
+
}
|
|
282
|
+
export type VariableSchema_THE_HIVE_BASE_URL = "https://thehive.example.com/api"
|
|
283
|
+
|
|
284
|
+
interface RPCHandler<I, O> {
|
|
285
|
+
input: I;
|
|
286
|
+
output: O;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
export type RPCMap = {
|
|
290
|
+
readonly 'alertCount': RPCHandler<AlertCountInput, AlertCountOutput>,
|
|
291
|
+
readonly 'alertGetAll': RPCHandler<AlertGetAllInput, AlertGetAllOutput>,
|
|
292
|
+
readonly 'alertCreate': RPCHandler<AlertCreateInput, AlertCreateOutput>,
|
|
293
|
+
readonly 'alertGet': RPCHandler<AlertGetInput, AlertGetOutput>,
|
|
294
|
+
readonly 'alertUpdate': RPCHandler<AlertUpdateInput, AlertUpdateOutput>,
|
|
295
|
+
readonly 'alertExecuteResponder': RPCHandler<AlertExecuteResponderInput, AlertExecuteResponderOutput>,
|
|
296
|
+
readonly 'alertMarkAsRead': RPCHandler<AlertMarkAsReadInput, AlertMarkAsReadOutput>,
|
|
297
|
+
readonly 'alertMarkAsUnread': RPCHandler<AlertMarkAsUnreadInput, AlertMarkAsUnreadOutput>,
|
|
298
|
+
readonly 'alertMerge': RPCHandler<AlertMergeInput, AlertMergeOutput>,
|
|
299
|
+
readonly 'alertPromote': RPCHandler<AlertPromoteInput, AlertPromoteOutput>,
|
|
300
|
+
readonly 'caseCount': RPCHandler<CaseCountInput, CaseCountOutput>,
|
|
301
|
+
readonly 'caseGetAll': RPCHandler<CaseGetAllInput, CaseGetAllOutput>,
|
|
302
|
+
readonly 'caseCreate': RPCHandler<CaseCreateInput, CaseCreateOutput>,
|
|
303
|
+
readonly 'caseGet': RPCHandler<CaseGetInput, CaseGetOutput>,
|
|
304
|
+
readonly 'caseUpdate': RPCHandler<CaseUpdateInput, CaseUpdateOutput>,
|
|
305
|
+
readonly 'caseExecuteResponder': RPCHandler<CaseExecuteResponderInput, CaseExecuteResponderOutput>,
|
|
306
|
+
readonly 'observableCount': RPCHandler<ObservableCountInput, ObservableCountOutput>,
|
|
307
|
+
readonly 'observableCreate': RPCHandler<ObservableCreateInput, ObservableCreateOutput>,
|
|
308
|
+
readonly 'observableGetAll': RPCHandler<ObservableGetAllInput, ObservableGetAllOutput>,
|
|
309
|
+
readonly 'observableGet': RPCHandler<ObservableGetInput, ObservableGetOutput>,
|
|
310
|
+
readonly 'observableUpdate': RPCHandler<ObservableUpdateInput, ObservableUpdateOutput>,
|
|
311
|
+
readonly 'observableSearch': RPCHandler<ObservableSearchInput, ObservableSearchOutput>,
|
|
312
|
+
readonly 'observableExecuteAnalyzer': RPCHandler<ObservableExecuteAnalyzerInput, ObservableExecuteAnalyzerOutput>,
|
|
313
|
+
readonly 'observableExecuteResponder': RPCHandler<ObservableExecuteResponderInput, ObservableExecuteResponderOutput>,
|
|
314
|
+
readonly 'taskCount': RPCHandler<TaskCountInput, TaskCountOutput>,
|
|
315
|
+
readonly 'taskCreate': RPCHandler<TaskCreateInput, TaskCreateOutput>,
|
|
316
|
+
readonly 'taskGetAll': RPCHandler<TaskGetAllInput, TaskGetAllOutput>,
|
|
317
|
+
readonly 'taskGet': RPCHandler<TaskGetInput, TaskGetOutput>,
|
|
318
|
+
readonly 'taskUpdate': RPCHandler<TaskUpdateInput, TaskUpdateOutput>,
|
|
319
|
+
readonly 'taskSearch': RPCHandler<TaskSearchInput, TaskSearchOutput>,
|
|
320
|
+
readonly 'taskExecuteResponder': RPCHandler<TaskExecuteResponderInput, TaskExecuteResponderOutput>,
|
|
321
|
+
readonly 'logCreate': RPCHandler<LogCreateInput, LogCreateOutput>,
|
|
322
|
+
readonly 'logGetAll': RPCHandler<LogGetAllInput, LogGetAllOutput>,
|
|
323
|
+
readonly 'logGet': RPCHandler<LogGetInput, LogGetOutput>,
|
|
324
|
+
readonly 'logExecuteResponder': RPCHandler<LogExecuteResponderInput, LogExecuteResponderOutput>,
|
|
325
|
+
};
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
// No addon packages, use RPCMap directly
|
|
330
|
+
export type FlattenedRPCMap = RPCMap
|
|
331
|
+
|
|
332
|
+
type IsAny<T> = 0 extends (1 & T) ? true : false
|
|
333
|
+
type IsVoidishInput<T> = IsAny<T> extends true
|
|
334
|
+
? false
|
|
335
|
+
: [T] extends [void | null | undefined]
|
|
336
|
+
? true
|
|
337
|
+
: false
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
341
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
342
|
+
? [name: Name]
|
|
343
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
344
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
345
|
+
|
|
346
|
+
export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
|
|
347
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
348
|
+
? [name: Name]
|
|
349
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
350
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
351
|
+
|
|
352
|
+
import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
|
|
353
|
+
|
|
354
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
type FlattenedAgentMap = AgentMap
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
361
|
+
|
|
362
|
+
interface AIAgentInput {
|
|
363
|
+
message: string
|
|
364
|
+
threadId: string
|
|
365
|
+
resourceId: string
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
369
|
+
name: Name,
|
|
370
|
+
input: FlattenedWorkflowMap[Name]['input'],
|
|
371
|
+
options?: { startNode?: string }
|
|
372
|
+
) => Promise<{ runId: string }>
|
|
373
|
+
|
|
374
|
+
export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
375
|
+
name: Name,
|
|
376
|
+
input: FlattenedWorkflowMap[Name]['input']
|
|
377
|
+
) => Promise<FlattenedWorkflowMap[Name]['output']>
|
|
378
|
+
|
|
379
|
+
export type TypedWorkflowStatus = (
|
|
380
|
+
workflowName: string,
|
|
381
|
+
runId: string
|
|
382
|
+
) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
|
|
383
|
+
|
|
384
|
+
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
385
|
+
? (name: string, input: AIAgentInput) => Promise<any>
|
|
386
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
387
|
+
name: Name,
|
|
388
|
+
input: AIAgentInput
|
|
389
|
+
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
390
|
+
|
|
391
|
+
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
392
|
+
? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
393
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
394
|
+
name: Name,
|
|
395
|
+
input: AIAgentInput,
|
|
396
|
+
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
397
|
+
) => Promise<void>
|
|
398
|
+
|
|
399
|
+
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
400
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-rpc-wirings-meta.internal.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { pikkuState } from '@pikku/core/internal';
|
|
5
|
+
import metaData from './pikku-rpc-wirings-meta.internal.gen.json' with { type: 'json' };
|
|
6
|
+
pikkuState('@pikku/addon-the-hive', 'rpc', 'meta', metaData);
|
|
7
|
+
//# sourceMappingURL=pikku-rpc-wirings-meta.internal.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-rpc-wirings-meta.internal.gen.js","sourceRoot":"","sources":["../../../.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,QAAQ,MAAM,4CAA4C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACvF,UAAU,CAAC,uBAAuB,EAAE,KAAK,EAAE,MAAM,EAAE,QAAkC,CAAC,CAAA"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"alertCount": "alertCount",
|
|
3
|
+
"alertGetAll": "alertGetAll",
|
|
4
|
+
"alertCreate": "alertCreate",
|
|
5
|
+
"alertGet": "alertGet",
|
|
6
|
+
"alertUpdate": "alertUpdate",
|
|
7
|
+
"alertExecuteResponder": "alertExecuteResponder",
|
|
8
|
+
"alertMarkAsRead": "alertMarkAsRead",
|
|
9
|
+
"alertMarkAsUnread": "alertMarkAsUnread",
|
|
10
|
+
"alertMerge": "alertMerge",
|
|
11
|
+
"alertPromote": "alertPromote",
|
|
12
|
+
"caseCount": "caseCount",
|
|
13
|
+
"caseGetAll": "caseGetAll",
|
|
14
|
+
"caseCreate": "caseCreate",
|
|
15
|
+
"caseGet": "caseGet",
|
|
16
|
+
"caseUpdate": "caseUpdate",
|
|
17
|
+
"caseExecuteResponder": "caseExecuteResponder",
|
|
18
|
+
"observableCount": "observableCount",
|
|
19
|
+
"observableCreate": "observableCreate",
|
|
20
|
+
"observableGetAll": "observableGetAll",
|
|
21
|
+
"observableGet": "observableGet",
|
|
22
|
+
"observableUpdate": "observableUpdate",
|
|
23
|
+
"observableSearch": "observableSearch",
|
|
24
|
+
"observableExecuteAnalyzer": "observableExecuteAnalyzer",
|
|
25
|
+
"observableExecuteResponder": "observableExecuteResponder",
|
|
26
|
+
"taskCount": "taskCount",
|
|
27
|
+
"taskCreate": "taskCreate",
|
|
28
|
+
"taskGetAll": "taskGetAll",
|
|
29
|
+
"taskGet": "taskGet",
|
|
30
|
+
"taskUpdate": "taskUpdate",
|
|
31
|
+
"taskSearch": "taskSearch",
|
|
32
|
+
"taskExecuteResponder": "taskExecuteResponder",
|
|
33
|
+
"logCreate": "logCreate",
|
|
34
|
+
"logGetAll": "logGetAll",
|
|
35
|
+
"logGet": "logGet",
|
|
36
|
+
"logExecuteResponder": "logExecuteResponder"
|
|
37
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { pikkuState } from '@pikku/core/internal'
|
|
5
|
+
import metaData from './pikku-rpc-wirings-meta.internal.gen.json' with { type: 'json' }
|
|
6
|
+
pikkuState('@pikku/addon-the-hive', 'rpc', 'meta', metaData as Record<string, string>)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Scheduler-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { CoreScheduledTask } from '@pikku/core/scheduler';
|
|
8
|
+
import type { PikkuFunctionConfig, PikkuMiddleware } from '../function/pikku-function-types.gen.js';
|
|
9
|
+
/**
|
|
10
|
+
* Type definition for scheduled tasks that run at specified intervals.
|
|
11
|
+
* These are sessionless functions that execute based on cron expressions.
|
|
12
|
+
*/
|
|
13
|
+
type SchedulerWiring = CoreScheduledTask<PikkuFunctionConfig<void, void, 'session' | 'rpc'>, PikkuMiddleware>;
|
|
14
|
+
/**
|
|
15
|
+
* Registers a scheduled task with the Pikku framework.
|
|
16
|
+
* Tasks run based on cron expressions and are sessionless.
|
|
17
|
+
*
|
|
18
|
+
* @param task - Scheduled task definition with cron expression and handler
|
|
19
|
+
*/
|
|
20
|
+
export declare const wireScheduler: (task: SchedulerWiring) => void;
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=pikku-scheduler-types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-scheduler-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/scheduler/pikku-scheduler-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAE,iBAAiB,EAAsC,MAAM,uBAAuB,CAAA;AAC7F,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAA;AAEnG;;;GAGG;AACH,KAAK,eAAe,GAAG,iBAAiB,CAAC,mBAAmB,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,GAAG,KAAK,CAAC,EAAE,eAAe,CAAC,CAAA;AAE7G;;;;;GAKG;AACH,eAAO,MAAM,aAAa,GAAI,MAAM,eAAe,SAElD,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Scheduler-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { wireScheduler as wireSchedulerCore } from '@pikku/core/scheduler';
|
|
8
|
+
/**
|
|
9
|
+
* Registers a scheduled task with the Pikku framework.
|
|
10
|
+
* Tasks run based on cron expressions and are sessionless.
|
|
11
|
+
*
|
|
12
|
+
* @param task - Scheduled task definition with cron expression and handler
|
|
13
|
+
*/
|
|
14
|
+
export const wireScheduler = (task) => {
|
|
15
|
+
wireSchedulerCore(task);
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=pikku-scheduler-types.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-scheduler-types.gen.js","sourceRoot":"","sources":["../../../.pikku/scheduler/pikku-scheduler-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAqB,aAAa,IAAI,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AAS7F;;;;;GAKG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,IAAqB,EAAE,EAAE;IACrD,iBAAiB,CAAC,IAAW,CAAC,CAAA;AAChC,CAAC,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Scheduler-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import { CoreScheduledTask, wireScheduler as wireSchedulerCore } from '@pikku/core/scheduler'
|
|
9
|
+
import type { PikkuFunctionConfig, PikkuMiddleware } from '../function/pikku-function-types.gen.js'
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Type definition for scheduled tasks that run at specified intervals.
|
|
13
|
+
* These are sessionless functions that execute based on cron expressions.
|
|
14
|
+
*/
|
|
15
|
+
type SchedulerWiring = CoreScheduledTask<PikkuFunctionConfig<void, void, 'session' | 'rpc'>, PikkuMiddleware>
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Registers a scheduled task with the Pikku framework.
|
|
19
|
+
* Tasks run based on cron expressions and are sessionless.
|
|
20
|
+
*
|
|
21
|
+
* @param task - Scheduled task definition with cron expression and handler
|
|
22
|
+
*/
|
|
23
|
+
export const wireScheduler = (task: SchedulerWiring) => {
|
|
24
|
+
wireSchedulerCore(task as any)
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"register.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/schemas/register.gen.ts"],"names":[],"mappings":""}
|