@pikku/addon-twist 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 +11 -0
- package/dist/.pikku/addon/pikku-package.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-package.gen.ts +13 -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-addon-meta.gen.json +14 -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 +20 -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 +640 -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 +420 -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 +50 -0
- package/dist/.pikku/function/pikku-functions.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions.gen.ts +50 -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 +36 -0
- package/dist/.pikku/pikku-services.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-services.gen.js +32 -0
- package/dist/.pikku/pikku-services.gen.js.map +1 -0
- package/dist/.pikku/pikku-services.gen.ts +45 -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 +248 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +270 -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 +24 -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 +99 -0
- package/dist/.pikku/schemas/register.gen.js.map +1 -0
- package/dist/.pikku/schemas/register.gen.ts +191 -0
- package/dist/.pikku/schemas/schemas/ChannelArchiveInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ChannelArchiveOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ChannelCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ChannelCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ChannelDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ChannelDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ChannelGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ChannelGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ChannelGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ChannelGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ChannelUnarchiveInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ChannelUnarchiveOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ChannelUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ChannelUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CommentCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CommentCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CommentDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CommentDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CommentGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CommentGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CommentGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CommentGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CommentUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CommentUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CredentialSchema_twist.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/MessageCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/MessageCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/MessageDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/MessageDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/MessageGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/MessageGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/MessageGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/MessageGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/MessageUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/MessageUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/SecretSchema_twistOAuthApp.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ThreadCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ThreadCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ThreadDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ThreadDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ThreadGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ThreadGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ThreadGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ThreadGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ThreadUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ThreadUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/VariableSchema_TWIST_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 +10 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +15 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.js +13 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.ts +23 -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/channelArchive.function.d.ts +13 -0
- package/dist/src/functions/channelArchive.function.d.ts.map +1 -0
- package/dist/src/functions/channelArchive.function.js +15 -0
- package/dist/src/functions/channelArchive.function.js.map +1 -0
- package/dist/src/functions/channelCreate.function.d.ts +17 -0
- package/dist/src/functions/channelCreate.function.d.ts.map +1 -0
- package/dist/src/functions/channelCreate.function.js +16 -0
- package/dist/src/functions/channelCreate.function.js.map +1 -0
- package/dist/src/functions/channelDelete.function.d.ts +13 -0
- package/dist/src/functions/channelDelete.function.d.ts.map +1 -0
- package/dist/src/functions/channelDelete.function.js +15 -0
- package/dist/src/functions/channelDelete.function.js.map +1 -0
- package/dist/src/functions/channelGet.function.d.ts +13 -0
- package/dist/src/functions/channelGet.function.d.ts.map +1 -0
- package/dist/src/functions/channelGet.function.js +15 -0
- package/dist/src/functions/channelGet.function.js.map +1 -0
- package/dist/src/functions/channelGetAll.function.d.ts +13 -0
- package/dist/src/functions/channelGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/channelGetAll.function.js +15 -0
- package/dist/src/functions/channelGetAll.function.js.map +1 -0
- package/dist/src/functions/channelUnarchive.function.d.ts +13 -0
- package/dist/src/functions/channelUnarchive.function.d.ts.map +1 -0
- package/dist/src/functions/channelUnarchive.function.js +15 -0
- package/dist/src/functions/channelUnarchive.function.js.map +1 -0
- package/dist/src/functions/channelUpdate.function.d.ts +17 -0
- package/dist/src/functions/channelUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/channelUpdate.function.js +16 -0
- package/dist/src/functions/channelUpdate.function.js.map +1 -0
- package/dist/src/functions/commentCreate.function.d.ts +17 -0
- package/dist/src/functions/commentCreate.function.d.ts.map +1 -0
- package/dist/src/functions/commentCreate.function.js +16 -0
- package/dist/src/functions/commentCreate.function.js.map +1 -0
- package/dist/src/functions/commentDelete.function.d.ts +13 -0
- package/dist/src/functions/commentDelete.function.d.ts.map +1 -0
- package/dist/src/functions/commentDelete.function.js +15 -0
- package/dist/src/functions/commentDelete.function.js.map +1 -0
- package/dist/src/functions/commentGet.function.d.ts +13 -0
- package/dist/src/functions/commentGet.function.d.ts.map +1 -0
- package/dist/src/functions/commentGet.function.js +15 -0
- package/dist/src/functions/commentGet.function.js.map +1 -0
- package/dist/src/functions/commentGetAll.function.d.ts +13 -0
- package/dist/src/functions/commentGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/commentGetAll.function.js +15 -0
- package/dist/src/functions/commentGetAll.function.js.map +1 -0
- package/dist/src/functions/commentUpdate.function.d.ts +17 -0
- package/dist/src/functions/commentUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/commentUpdate.function.js +16 -0
- package/dist/src/functions/commentUpdate.function.js.map +1 -0
- package/dist/src/functions/messageCreate.function.d.ts +21 -0
- package/dist/src/functions/messageCreate.function.d.ts.map +1 -0
- package/dist/src/functions/messageCreate.function.js +17 -0
- package/dist/src/functions/messageCreate.function.js.map +1 -0
- package/dist/src/functions/messageDelete.function.d.ts +13 -0
- package/dist/src/functions/messageDelete.function.d.ts.map +1 -0
- package/dist/src/functions/messageDelete.function.js +15 -0
- package/dist/src/functions/messageDelete.function.js.map +1 -0
- package/dist/src/functions/messageGet.function.d.ts +13 -0
- package/dist/src/functions/messageGet.function.d.ts.map +1 -0
- package/dist/src/functions/messageGet.function.js +15 -0
- package/dist/src/functions/messageGet.function.js.map +1 -0
- package/dist/src/functions/messageGetAll.function.d.ts +13 -0
- package/dist/src/functions/messageGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/messageGetAll.function.js +15 -0
- package/dist/src/functions/messageGetAll.function.js.map +1 -0
- package/dist/src/functions/messageUpdate.function.d.ts +17 -0
- package/dist/src/functions/messageUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/messageUpdate.function.js +16 -0
- package/dist/src/functions/messageUpdate.function.js.map +1 -0
- package/dist/src/functions/threadCreate.function.d.ts +21 -0
- package/dist/src/functions/threadCreate.function.d.ts.map +1 -0
- package/dist/src/functions/threadCreate.function.js +17 -0
- package/dist/src/functions/threadCreate.function.js.map +1 -0
- package/dist/src/functions/threadDelete.function.d.ts +13 -0
- package/dist/src/functions/threadDelete.function.d.ts.map +1 -0
- package/dist/src/functions/threadDelete.function.js +15 -0
- package/dist/src/functions/threadDelete.function.js.map +1 -0
- package/dist/src/functions/threadGet.function.d.ts +13 -0
- package/dist/src/functions/threadGet.function.d.ts.map +1 -0
- package/dist/src/functions/threadGet.function.js +15 -0
- package/dist/src/functions/threadGet.function.js.map +1 -0
- package/dist/src/functions/threadGetAll.function.d.ts +13 -0
- package/dist/src/functions/threadGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/threadGetAll.function.js +15 -0
- package/dist/src/functions/threadGetAll.function.js.map +1 -0
- package/dist/src/functions/threadUpdate.function.d.ts +21 -0
- package/dist/src/functions/threadUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/threadUpdate.function.js +17 -0
- package/dist/src/functions/threadUpdate.function.js.map +1 -0
- package/dist/src/index.d.ts +23 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +23 -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 +7 -0
- package/dist/src/services.js.map +1 -0
- package/dist/src/twist-api.service.d.ts +15 -0
- package/dist/src/twist-api.service.d.ts.map +1 -0
- package/dist/src/twist-api.service.js +219 -0
- package/dist/src/twist-api.service.js.map +1 -0
- package/dist/src/twist.credential.d.ts +10 -0
- package/dist/src/twist.credential.d.ts.map +1 -0
- package/dist/src/twist.credential.js +33 -0
- package/dist/src/twist.credential.js.map +1 -0
- package/dist/src/twist.types.d.ts +7 -0
- package/dist/src/twist.types.d.ts.map +1 -0
- package/dist/src/twist.types.js +8 -0
- package/dist/src/twist.types.js.map +1 -0
- package/dist/src/twist.variable.d.ts +5 -0
- package/dist/src/twist.variable.d.ts.map +1 -0
- package/dist/src/twist.variable.js +11 -0
- package/dist/src/twist.variable.js.map +1 -0
- package/package.json +39 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { LocalMetaService } from '@pikku/core/services/local-meta'
|
|
5
|
+
|
|
6
|
+
export class PikkuMetaService extends LocalMetaService {
|
|
7
|
+
constructor() {
|
|
8
|
+
super('/home/runner/work/addons/addons/packages/communication/twist/.pikku')
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import type { SingletonServices } from '../types/application-types.d.js';
|
|
5
|
+
import type { Services } from '../types/application-types.d.js';
|
|
6
|
+
export declare const requiredSingletonServices: {
|
|
7
|
+
readonly agentRunService: false;
|
|
8
|
+
readonly aiAgentRunner: false;
|
|
9
|
+
readonly aiRunState: false;
|
|
10
|
+
readonly aiStorage: false;
|
|
11
|
+
readonly audit: false;
|
|
12
|
+
readonly auditLog: false;
|
|
13
|
+
readonly config: true;
|
|
14
|
+
readonly content: false;
|
|
15
|
+
readonly credentialService: false;
|
|
16
|
+
readonly deploymentService: false;
|
|
17
|
+
readonly emailService: false;
|
|
18
|
+
readonly eventHub: false;
|
|
19
|
+
readonly jwt: false;
|
|
20
|
+
readonly logger: true;
|
|
21
|
+
readonly metaService: false;
|
|
22
|
+
readonly queueService: false;
|
|
23
|
+
readonly schedulerService: false;
|
|
24
|
+
readonly schema: true;
|
|
25
|
+
readonly secrets: true;
|
|
26
|
+
readonly sessionStore: false;
|
|
27
|
+
readonly twist: false;
|
|
28
|
+
readonly variables: true;
|
|
29
|
+
readonly workflowRunService: false;
|
|
30
|
+
readonly workflowService: false;
|
|
31
|
+
};
|
|
32
|
+
export declare const requiredWireServices: {};
|
|
33
|
+
export type RequiredSingletonServices = Required<Pick<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>> & Partial<Omit<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>>;
|
|
34
|
+
export type RequiredWireServices = Partial<Services>;
|
|
35
|
+
export declare const requiredParentServices: readonly ["secrets", "variables"];
|
|
36
|
+
//# sourceMappingURL=pikku-services.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-services.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AACxE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAA;AAG/D,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;CAyB5B,CAAA;AAGV,eAAO,MAAM,oBAAoB,IACvB,CAAA;AAGV,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC,CAAC,CAAA;AAEhO,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAGpD,eAAO,MAAM,sBAAsB,mCAAmC,CAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// Singleton services map: true if required, false if available but unused
|
|
2
|
+
export const requiredSingletonServices = {
|
|
3
|
+
'agentRunService': false,
|
|
4
|
+
'aiAgentRunner': false,
|
|
5
|
+
'aiRunState': false,
|
|
6
|
+
'aiStorage': false,
|
|
7
|
+
'audit': false,
|
|
8
|
+
'auditLog': false,
|
|
9
|
+
'config': true,
|
|
10
|
+
'content': false,
|
|
11
|
+
'credentialService': false,
|
|
12
|
+
'deploymentService': false,
|
|
13
|
+
'emailService': false,
|
|
14
|
+
'eventHub': false,
|
|
15
|
+
'jwt': false,
|
|
16
|
+
'logger': true,
|
|
17
|
+
'metaService': false,
|
|
18
|
+
'queueService': false,
|
|
19
|
+
'schedulerService': false,
|
|
20
|
+
'schema': true,
|
|
21
|
+
'secrets': true,
|
|
22
|
+
'sessionStore': false,
|
|
23
|
+
'twist': false,
|
|
24
|
+
'variables': true,
|
|
25
|
+
'workflowRunService': false,
|
|
26
|
+
'workflowService': false,
|
|
27
|
+
};
|
|
28
|
+
// Wire services map: true if required, false if available but unused
|
|
29
|
+
export const requiredWireServices = {};
|
|
30
|
+
// Services this addon needs from the parent project
|
|
31
|
+
export const requiredParentServices = ["secrets", "variables"];
|
|
32
|
+
//# sourceMappingURL=pikku-services.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-services.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAMA,0EAA0E;AAC1E,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,iBAAiB,EAAE,KAAK;IACxB,eAAe,EAAE,KAAK;IACtB,YAAY,EAAE,KAAK;IACnB,WAAW,EAAE,KAAK;IAClB,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,KAAK;IAChB,mBAAmB,EAAE,KAAK;IAC1B,mBAAmB,EAAE,KAAK;IAC1B,cAAc,EAAE,KAAK;IACrB,UAAU,EAAE,KAAK;IACjB,KAAK,EAAE,KAAK;IACZ,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,KAAK;IACpB,cAAc,EAAE,KAAK;IACrB,kBAAkB,EAAE,KAAK;IACzB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,IAAI;IACf,cAAc,EAAE,KAAK;IACrB,OAAO,EAAE,KAAK;IACd,WAAW,EAAE,IAAI;IACjB,oBAAoB,EAAE,KAAK;IAC3B,iBAAiB,EAAE,KAAK;CAChB,CAAA;AAEV,qEAAqE;AACrE,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAC1B,CAAA;AAOV,oDAAoD;AACpD,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,SAAS,EAAC,WAAW,CAAU,CAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import type { SingletonServices } from '../types/application-types.d.js'
|
|
5
|
+
import type { Services } from '../types/application-types.d.js'
|
|
6
|
+
|
|
7
|
+
// Singleton services map: true if required, false if available but unused
|
|
8
|
+
export const requiredSingletonServices = {
|
|
9
|
+
'agentRunService': false,
|
|
10
|
+
'aiAgentRunner': false,
|
|
11
|
+
'aiRunState': false,
|
|
12
|
+
'aiStorage': false,
|
|
13
|
+
'audit': false,
|
|
14
|
+
'auditLog': false,
|
|
15
|
+
'config': true,
|
|
16
|
+
'content': false,
|
|
17
|
+
'credentialService': false,
|
|
18
|
+
'deploymentService': false,
|
|
19
|
+
'emailService': false,
|
|
20
|
+
'eventHub': false,
|
|
21
|
+
'jwt': false,
|
|
22
|
+
'logger': true,
|
|
23
|
+
'metaService': false,
|
|
24
|
+
'queueService': false,
|
|
25
|
+
'schedulerService': false,
|
|
26
|
+
'schema': true,
|
|
27
|
+
'secrets': true,
|
|
28
|
+
'sessionStore': false,
|
|
29
|
+
'twist': false,
|
|
30
|
+
'variables': true,
|
|
31
|
+
'workflowRunService': false,
|
|
32
|
+
'workflowService': false,
|
|
33
|
+
} as const
|
|
34
|
+
|
|
35
|
+
// Wire services map: true if required, false if available but unused
|
|
36
|
+
export const requiredWireServices = {
|
|
37
|
+
} as const
|
|
38
|
+
|
|
39
|
+
// Type exports
|
|
40
|
+
export type RequiredSingletonServices = Required<Pick<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>> & Partial<Omit<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>>
|
|
41
|
+
|
|
42
|
+
export type RequiredWireServices = Partial<Services>
|
|
43
|
+
|
|
44
|
+
// Services this addon needs from the parent project
|
|
45
|
+
export const requiredParentServices = ["secrets","variables"] as const
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Main type export hub - re-exports all wiring-specific types
|
|
6
|
+
*/
|
|
7
|
+
export * from './function/pikku-function-types.gen.js';
|
|
8
|
+
export * from './trigger/pikku-trigger-types.gen.js';
|
|
9
|
+
export * from './console/pikku-node-types.gen.js';
|
|
10
|
+
export * from './secrets/pikku-secret-types.gen.js';
|
|
11
|
+
export * from './addon/pikku-addon-types.gen.js';
|
|
12
|
+
//# sourceMappingURL=pikku-types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-types.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAGH,cAAc,wCAAwC,CAAA;AAGtD,cAAc,sCAAsC,CAAA;AAGpD,cAAc,mCAAmC,CAAA;AAGjD,cAAc,qCAAqC,CAAA;AAGnD,cAAc,kCAAkC,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Main type export hub - re-exports all wiring-specific types
|
|
6
|
+
*/
|
|
7
|
+
// Core function, middleware, and permission types
|
|
8
|
+
export * from './function/pikku-function-types.gen.js';
|
|
9
|
+
// Trigger wiring types
|
|
10
|
+
export * from './trigger/pikku-trigger-types.gen.js';
|
|
11
|
+
// Node wiring types
|
|
12
|
+
export * from './console/pikku-node-types.gen.js';
|
|
13
|
+
// Secret definition types
|
|
14
|
+
export * from './secrets/pikku-secret-types.gen.js';
|
|
15
|
+
// Addon types
|
|
16
|
+
export * from './addon/pikku-addon-types.gen.js';
|
|
17
|
+
//# sourceMappingURL=pikku-types.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-types.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,kDAAkD;AAClD,cAAc,wCAAwC,CAAA;AAEtD,uBAAuB;AACvB,cAAc,sCAAsC,CAAA;AAEpD,oBAAoB;AACpB,cAAc,mCAAmC,CAAA;AAEjD,0BAA0B;AAC1B,cAAc,qCAAqC,CAAA;AAEnD,cAAc;AACd,cAAc,kCAAkC,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Main type export hub - re-exports all wiring-specific types
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
// Core function, middleware, and permission types
|
|
9
|
+
export * from './function/pikku-function-types.gen.js'
|
|
10
|
+
|
|
11
|
+
// Trigger wiring types
|
|
12
|
+
export * from './trigger/pikku-trigger-types.gen.js'
|
|
13
|
+
|
|
14
|
+
// Node wiring types
|
|
15
|
+
export * from './console/pikku-node-types.gen.js'
|
|
16
|
+
|
|
17
|
+
// Secret definition types
|
|
18
|
+
export * from './secrets/pikku-secret-types.gen.js'
|
|
19
|
+
|
|
20
|
+
// Addon types
|
|
21
|
+
export * from './addon/pikku-addon-types.gen.js'
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Queue-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { CoreQueueWorker } from '@pikku/core/queue';
|
|
8
|
+
import type { PikkuFunctionConfig } from '../function/pikku-function-types.gen.js';
|
|
9
|
+
/**
|
|
10
|
+
* Type definition for queue workers that process background jobs.
|
|
11
|
+
*
|
|
12
|
+
* @template In - Input type for the queue job
|
|
13
|
+
* @template Out - Output type for the queue job
|
|
14
|
+
*/
|
|
15
|
+
type QueueWiring<In, Out> = CoreQueueWorker<PikkuFunctionConfig<In, Out, 'session' | 'rpc'>>;
|
|
16
|
+
/**
|
|
17
|
+
* Registers a queue worker with the Pikku framework.
|
|
18
|
+
* Workers process background jobs from queues.
|
|
19
|
+
*
|
|
20
|
+
* @param queueWorker - Queue worker definition with job handler
|
|
21
|
+
*/
|
|
22
|
+
export declare const wireQueueWorker: (queueWorker: QueueWiring<any, any>) => void;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=pikku-queue-types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-queue-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/queue/pikku-queue-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAE,eAAe,EAA0C,MAAM,mBAAmB,CAAA;AAC3F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAA;AAElF;;;;;GAKG;AACH,KAAK,WAAW,CAAC,EAAE,EAAE,GAAG,IAAI,eAAe,CAAC,mBAAmB,CAAC,EAAE,EAAE,GAAG,EAAE,SAAS,GAAG,KAAK,CAAC,CAAC,CAAA;AAE5F;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAAI,aAAa,WAAW,CAAC,GAAG,EAAE,GAAG,CAAC,SAEjE,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Queue-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { wireQueueWorker as wireQueueWorkerCore } from '@pikku/core/queue';
|
|
8
|
+
/**
|
|
9
|
+
* Registers a queue worker with the Pikku framework.
|
|
10
|
+
* Workers process background jobs from queues.
|
|
11
|
+
*
|
|
12
|
+
* @param queueWorker - Queue worker definition with job handler
|
|
13
|
+
*/
|
|
14
|
+
export const wireQueueWorker = (queueWorker) => {
|
|
15
|
+
wireQueueWorkerCore(queueWorker);
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=pikku-queue-types.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-queue-types.gen.js","sourceRoot":"","sources":["../../../.pikku/queue/pikku-queue-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAmB,eAAe,IAAI,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAW3F;;;;;GAKG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,WAAkC,EAAE,EAAE;IACpE,mBAAmB,CAAC,WAAkB,CAAC,CAAA;AACzC,CAAC,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Queue-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import { CoreQueueWorker, wireQueueWorker as wireQueueWorkerCore } from '@pikku/core/queue'
|
|
9
|
+
import type { PikkuFunctionConfig } from '../function/pikku-function-types.gen.js'
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Type definition for queue workers that process background jobs.
|
|
13
|
+
*
|
|
14
|
+
* @template In - Input type for the queue job
|
|
15
|
+
* @template Out - Output type for the queue job
|
|
16
|
+
*/
|
|
17
|
+
type QueueWiring<In, Out> = CoreQueueWorker<PikkuFunctionConfig<In, Out, 'session' | 'rpc'>>
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Registers a queue worker with the Pikku framework.
|
|
21
|
+
* Workers process background jobs from queues.
|
|
22
|
+
*
|
|
23
|
+
* @param queueWorker - Queue worker definition with job handler
|
|
24
|
+
*/
|
|
25
|
+
export const wireQueueWorker = (queueWorker: QueueWiring<any, any>) => {
|
|
26
|
+
wireQueueWorkerCore(queueWorker as any)
|
|
27
|
+
}
|
|
@@ -0,0 +1,248 @@
|
|
|
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 ChannelArchiveInput = {
|
|
13
|
+
id: string;
|
|
14
|
+
}
|
|
15
|
+
export type ChannelArchiveOutput = {
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
}
|
|
18
|
+
export type ChannelCreateInput = {
|
|
19
|
+
workspace_id?: string | undefined;
|
|
20
|
+
name?: string | undefined;
|
|
21
|
+
}
|
|
22
|
+
export type ChannelCreateOutput = {
|
|
23
|
+
[key: string]: unknown;
|
|
24
|
+
}
|
|
25
|
+
export type ChannelDeleteInput = {
|
|
26
|
+
id: string;
|
|
27
|
+
}
|
|
28
|
+
export type ChannelDeleteOutput = {
|
|
29
|
+
[key: string]: unknown;
|
|
30
|
+
}
|
|
31
|
+
export type ChannelGetAllInput = {
|
|
32
|
+
workspace_id: string;
|
|
33
|
+
}
|
|
34
|
+
export type ChannelGetAllOutput = {
|
|
35
|
+
[key: string]: unknown;
|
|
36
|
+
}
|
|
37
|
+
export type ChannelGetInput = {
|
|
38
|
+
id: string;
|
|
39
|
+
}
|
|
40
|
+
export type ChannelGetOutput = {
|
|
41
|
+
[key: string]: unknown;
|
|
42
|
+
}
|
|
43
|
+
export type ChannelUnarchiveInput = {
|
|
44
|
+
id: string;
|
|
45
|
+
}
|
|
46
|
+
export type ChannelUnarchiveOutput = {
|
|
47
|
+
[key: string]: unknown;
|
|
48
|
+
}
|
|
49
|
+
export type ChannelUpdateInput = {
|
|
50
|
+
id?: string | undefined;
|
|
51
|
+
name?: string | undefined;
|
|
52
|
+
}
|
|
53
|
+
export type ChannelUpdateOutput = {
|
|
54
|
+
[key: string]: unknown;
|
|
55
|
+
}
|
|
56
|
+
export type CommentCreateInput = {
|
|
57
|
+
thread_id?: string | undefined;
|
|
58
|
+
content?: string | undefined;
|
|
59
|
+
}
|
|
60
|
+
export type CommentCreateOutput = {
|
|
61
|
+
[key: string]: unknown;
|
|
62
|
+
}
|
|
63
|
+
export type CommentDeleteInput = {
|
|
64
|
+
id: string;
|
|
65
|
+
}
|
|
66
|
+
export type CommentDeleteOutput = {
|
|
67
|
+
[key: string]: unknown;
|
|
68
|
+
}
|
|
69
|
+
export type CommentGetAllInput = {
|
|
70
|
+
thread_id: string;
|
|
71
|
+
}
|
|
72
|
+
export type CommentGetAllOutput = {
|
|
73
|
+
[key: string]: unknown;
|
|
74
|
+
}
|
|
75
|
+
export type CommentGetInput = {
|
|
76
|
+
id: string;
|
|
77
|
+
}
|
|
78
|
+
export type CommentGetOutput = {
|
|
79
|
+
[key: string]: unknown;
|
|
80
|
+
}
|
|
81
|
+
export type CommentUpdateInput = {
|
|
82
|
+
id?: string | undefined;
|
|
83
|
+
content?: string | undefined;
|
|
84
|
+
}
|
|
85
|
+
export type CommentUpdateOutput = {
|
|
86
|
+
[key: string]: unknown;
|
|
87
|
+
}
|
|
88
|
+
export type CredentialSchema_twist = {
|
|
89
|
+
accessToken: string;
|
|
90
|
+
refreshToken?: string | undefined;
|
|
91
|
+
}
|
|
92
|
+
export type MessageCreateInput = {
|
|
93
|
+
conversation_id?: string | undefined;
|
|
94
|
+
workspace_id?: string | undefined;
|
|
95
|
+
content?: string | undefined;
|
|
96
|
+
}
|
|
97
|
+
export type MessageCreateOutput = {
|
|
98
|
+
[key: string]: unknown;
|
|
99
|
+
}
|
|
100
|
+
export type MessageDeleteInput = {
|
|
101
|
+
id: string;
|
|
102
|
+
}
|
|
103
|
+
export type MessageDeleteOutput = {
|
|
104
|
+
[key: string]: unknown;
|
|
105
|
+
}
|
|
106
|
+
export type MessageGetAllInput = {
|
|
107
|
+
conversation_id: string;
|
|
108
|
+
}
|
|
109
|
+
export type MessageGetAllOutput = {
|
|
110
|
+
[key: string]: unknown;
|
|
111
|
+
}
|
|
112
|
+
export type MessageGetInput = {
|
|
113
|
+
id: string;
|
|
114
|
+
}
|
|
115
|
+
export type MessageGetOutput = {
|
|
116
|
+
[key: string]: unknown;
|
|
117
|
+
}
|
|
118
|
+
export type MessageUpdateInput = {
|
|
119
|
+
id?: string | undefined;
|
|
120
|
+
content?: string | undefined;
|
|
121
|
+
}
|
|
122
|
+
export type MessageUpdateOutput = {
|
|
123
|
+
[key: string]: unknown;
|
|
124
|
+
}
|
|
125
|
+
export type SecretSchema_twistOAuthApp = {
|
|
126
|
+
/** OAuth2 app client ID */
|
|
127
|
+
clientId: string;
|
|
128
|
+
/** OAuth2 app client secret */
|
|
129
|
+
clientSecret: string;
|
|
130
|
+
}
|
|
131
|
+
export type ThreadCreateInput = {
|
|
132
|
+
channel_id?: string | undefined;
|
|
133
|
+
title?: string | undefined;
|
|
134
|
+
content?: string | undefined;
|
|
135
|
+
}
|
|
136
|
+
export type ThreadCreateOutput = {
|
|
137
|
+
[key: string]: unknown;
|
|
138
|
+
}
|
|
139
|
+
export type ThreadDeleteInput = {
|
|
140
|
+
id: string;
|
|
141
|
+
}
|
|
142
|
+
export type ThreadDeleteOutput = {
|
|
143
|
+
[key: string]: unknown;
|
|
144
|
+
}
|
|
145
|
+
export type ThreadGetAllInput = {
|
|
146
|
+
channel_id: string;
|
|
147
|
+
}
|
|
148
|
+
export type ThreadGetAllOutput = {
|
|
149
|
+
[key: string]: unknown;
|
|
150
|
+
}
|
|
151
|
+
export type ThreadGetInput = {
|
|
152
|
+
id: string;
|
|
153
|
+
}
|
|
154
|
+
export type ThreadGetOutput = {
|
|
155
|
+
[key: string]: unknown;
|
|
156
|
+
}
|
|
157
|
+
export type ThreadUpdateInput = {
|
|
158
|
+
id?: string | undefined;
|
|
159
|
+
title?: string | undefined;
|
|
160
|
+
content?: string | undefined;
|
|
161
|
+
}
|
|
162
|
+
export type ThreadUpdateOutput = {
|
|
163
|
+
[key: string]: unknown;
|
|
164
|
+
}
|
|
165
|
+
export type VariableSchema_TWIST_BASE_URL = "https://api.twist.com/api/v3"
|
|
166
|
+
|
|
167
|
+
interface RPCHandler<I, O> {
|
|
168
|
+
input: I;
|
|
169
|
+
output: O;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
export type RPCMap = {
|
|
173
|
+
};
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
// No addon packages, use RPCMap directly
|
|
178
|
+
export type FlattenedRPCMap = RPCMap
|
|
179
|
+
|
|
180
|
+
type IsAny<T> = 0 extends (1 & T) ? true : false
|
|
181
|
+
type IsVoidishInput<T> = IsAny<T> extends true
|
|
182
|
+
? false
|
|
183
|
+
: [T] extends [void | null | undefined]
|
|
184
|
+
? true
|
|
185
|
+
: false
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
189
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
190
|
+
? [name: Name]
|
|
191
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
192
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
193
|
+
|
|
194
|
+
export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
|
|
195
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
196
|
+
? [name: Name]
|
|
197
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
198
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
199
|
+
|
|
200
|
+
import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
|
|
201
|
+
|
|
202
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
type FlattenedAgentMap = AgentMap
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
209
|
+
|
|
210
|
+
interface AIAgentInput {
|
|
211
|
+
message: string
|
|
212
|
+
threadId: string
|
|
213
|
+
resourceId: string
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
217
|
+
name: Name,
|
|
218
|
+
input: FlattenedWorkflowMap[Name]['input'],
|
|
219
|
+
options?: { startNode?: string }
|
|
220
|
+
) => Promise<{ runId: string }>
|
|
221
|
+
|
|
222
|
+
export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
223
|
+
name: Name,
|
|
224
|
+
input: FlattenedWorkflowMap[Name]['input']
|
|
225
|
+
) => Promise<FlattenedWorkflowMap[Name]['output']>
|
|
226
|
+
|
|
227
|
+
export type TypedWorkflowStatus = (
|
|
228
|
+
workflowName: string,
|
|
229
|
+
runId: string
|
|
230
|
+
) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
|
|
231
|
+
|
|
232
|
+
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
233
|
+
? (name: string, input: AIAgentInput) => Promise<any>
|
|
234
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
235
|
+
name: Name,
|
|
236
|
+
input: AIAgentInput
|
|
237
|
+
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
238
|
+
|
|
239
|
+
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
240
|
+
? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
241
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
242
|
+
name: Name,
|
|
243
|
+
input: AIAgentInput,
|
|
244
|
+
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
245
|
+
) => Promise<void>
|
|
246
|
+
|
|
247
|
+
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
248
|
+
|