@pikku/addon-asana 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 +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 +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 +252 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +274 -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 +97 -0
- package/dist/.pikku/schemas/register.gen.js.map +1 -0
- package/dist/.pikku/schemas/register.gen.ts +187 -0
- package/dist/.pikku/schemas/schemas/CredentialSchema_asana.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ProjectCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ProjectCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ProjectDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ProjectDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ProjectGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ProjectGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ProjectGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ProjectGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ProjectUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ProjectUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/SubtaskCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/SubtaskCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/SubtaskGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/SubtaskGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskCommentAddInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskCommentAddOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskCommentRemoveInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskCommentRemoveOutput.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/TaskDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskDeleteOutput.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/TaskMoveInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskMoveOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskProjectAddInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskProjectAddOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskProjectRemoveInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskProjectRemoveOutput.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/TaskTagAddInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskTagAddOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskTagRemoveInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/TaskTagRemoveOutput.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/UserGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UserGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UserGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UserGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/VariableSchema_ASANA_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/asana-api.service.d.ts +10 -0
- package/dist/src/asana-api.service.d.ts.map +1 -0
- package/dist/src/asana-api.service.js +233 -0
- package/dist/src/asana-api.service.js.map +1 -0
- package/dist/src/asana.credential.d.ts +5 -0
- package/dist/src/asana.credential.d.ts.map +1 -0
- package/dist/src/asana.credential.js +13 -0
- package/dist/src/asana.credential.js.map +1 -0
- package/dist/src/asana.types.d.ts +7 -0
- package/dist/src/asana.types.d.ts.map +1 -0
- package/dist/src/asana.types.js +8 -0
- package/dist/src/asana.types.js.map +1 -0
- package/dist/src/asana.variable.d.ts +5 -0
- package/dist/src/asana.variable.d.ts.map +1 -0
- package/dist/src/asana.variable.js +11 -0
- package/dist/src/asana.variable.js.map +1 -0
- package/dist/src/functions/projectCreate.function.d.ts +21 -0
- package/dist/src/functions/projectCreate.function.d.ts.map +1 -0
- package/dist/src/functions/projectCreate.function.js +17 -0
- package/dist/src/functions/projectCreate.function.js.map +1 -0
- package/dist/src/functions/projectDelete.function.d.ts +13 -0
- package/dist/src/functions/projectDelete.function.d.ts.map +1 -0
- package/dist/src/functions/projectDelete.function.js +15 -0
- package/dist/src/functions/projectDelete.function.js.map +1 -0
- package/dist/src/functions/projectGet.function.d.ts +13 -0
- package/dist/src/functions/projectGet.function.d.ts.map +1 -0
- package/dist/src/functions/projectGet.function.js +15 -0
- package/dist/src/functions/projectGet.function.js.map +1 -0
- package/dist/src/functions/projectGetAll.function.d.ts +17 -0
- package/dist/src/functions/projectGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/projectGetAll.function.js +16 -0
- package/dist/src/functions/projectGetAll.function.js.map +1 -0
- package/dist/src/functions/projectUpdate.function.d.ts +21 -0
- package/dist/src/functions/projectUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/projectUpdate.function.js +17 -0
- package/dist/src/functions/projectUpdate.function.js.map +1 -0
- package/dist/src/functions/subtaskCreate.function.d.ts +17 -0
- package/dist/src/functions/subtaskCreate.function.d.ts.map +1 -0
- package/dist/src/functions/subtaskCreate.function.js +16 -0
- package/dist/src/functions/subtaskCreate.function.js.map +1 -0
- package/dist/src/functions/subtaskGetAll.function.d.ts +17 -0
- package/dist/src/functions/subtaskGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/subtaskGetAll.function.js +16 -0
- package/dist/src/functions/subtaskGetAll.function.js.map +1 -0
- package/dist/src/functions/taskCommentAdd.function.d.ts +21 -0
- package/dist/src/functions/taskCommentAdd.function.d.ts.map +1 -0
- package/dist/src/functions/taskCommentAdd.function.js +17 -0
- package/dist/src/functions/taskCommentAdd.function.js.map +1 -0
- package/dist/src/functions/taskCommentRemove.function.d.ts +13 -0
- package/dist/src/functions/taskCommentRemove.function.d.ts.map +1 -0
- package/dist/src/functions/taskCommentRemove.function.js +15 -0
- package/dist/src/functions/taskCommentRemove.function.js.map +1 -0
- package/dist/src/functions/taskCreate.function.d.ts +21 -0
- package/dist/src/functions/taskCreate.function.d.ts.map +1 -0
- package/dist/src/functions/taskCreate.function.js +17 -0
- package/dist/src/functions/taskCreate.function.js.map +1 -0
- package/dist/src/functions/taskDelete.function.d.ts +13 -0
- package/dist/src/functions/taskDelete.function.d.ts.map +1 -0
- package/dist/src/functions/taskDelete.function.js +15 -0
- package/dist/src/functions/taskDelete.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/taskMove.function.d.ts +17 -0
- package/dist/src/functions/taskMove.function.d.ts.map +1 -0
- package/dist/src/functions/taskMove.function.js +16 -0
- package/dist/src/functions/taskMove.function.js.map +1 -0
- package/dist/src/functions/taskProjectAdd.function.d.ts +17 -0
- package/dist/src/functions/taskProjectAdd.function.d.ts.map +1 -0
- package/dist/src/functions/taskProjectAdd.function.js +16 -0
- package/dist/src/functions/taskProjectAdd.function.js.map +1 -0
- package/dist/src/functions/taskProjectRemove.function.d.ts +17 -0
- package/dist/src/functions/taskProjectRemove.function.d.ts.map +1 -0
- package/dist/src/functions/taskProjectRemove.function.js +16 -0
- package/dist/src/functions/taskProjectRemove.function.js.map +1 -0
- package/dist/src/functions/taskSearch.function.d.ts +17 -0
- package/dist/src/functions/taskSearch.function.d.ts.map +1 -0
- package/dist/src/functions/taskSearch.function.js +16 -0
- package/dist/src/functions/taskSearch.function.js.map +1 -0
- package/dist/src/functions/taskTagAdd.function.d.ts +17 -0
- package/dist/src/functions/taskTagAdd.function.d.ts.map +1 -0
- package/dist/src/functions/taskTagAdd.function.js +16 -0
- package/dist/src/functions/taskTagAdd.function.js.map +1 -0
- package/dist/src/functions/taskTagRemove.function.d.ts +17 -0
- package/dist/src/functions/taskTagRemove.function.d.ts.map +1 -0
- package/dist/src/functions/taskTagRemove.function.js +16 -0
- package/dist/src/functions/taskTagRemove.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/functions/userGet.function.d.ts +13 -0
- package/dist/src/functions/userGet.function.d.ts.map +1 -0
- package/dist/src/functions/userGet.function.js +15 -0
- package/dist/src/functions/userGet.function.js.map +1 -0
- package/dist/src/functions/userGetAll.function.d.ts +13 -0
- package/dist/src/functions/userGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/userGetAll.function.js +15 -0
- package/dist/src/functions/userGetAll.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 +14 -0
- package/dist/src/services.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/automation/asana/.pikku')
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 asana: false;
|
|
12
|
+
readonly audit: false;
|
|
13
|
+
readonly auditLog: false;
|
|
14
|
+
readonly config: true;
|
|
15
|
+
readonly content: false;
|
|
16
|
+
readonly credentialService: false;
|
|
17
|
+
readonly deploymentService: false;
|
|
18
|
+
readonly emailService: false;
|
|
19
|
+
readonly eventHub: false;
|
|
20
|
+
readonly jwt: false;
|
|
21
|
+
readonly logger: true;
|
|
22
|
+
readonly metaService: false;
|
|
23
|
+
readonly queueService: false;
|
|
24
|
+
readonly schedulerService: false;
|
|
25
|
+
readonly schema: true;
|
|
26
|
+
readonly secrets: true;
|
|
27
|
+
readonly sessionStore: 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
|
+
//# 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"}
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
'asana': false,
|
|
8
|
+
'audit': false,
|
|
9
|
+
'auditLog': false,
|
|
10
|
+
'config': true,
|
|
11
|
+
'content': false,
|
|
12
|
+
'credentialService': false,
|
|
13
|
+
'deploymentService': false,
|
|
14
|
+
'emailService': false,
|
|
15
|
+
'eventHub': false,
|
|
16
|
+
'jwt': false,
|
|
17
|
+
'logger': true,
|
|
18
|
+
'metaService': false,
|
|
19
|
+
'queueService': false,
|
|
20
|
+
'schedulerService': false,
|
|
21
|
+
'schema': true,
|
|
22
|
+
'secrets': true,
|
|
23
|
+
'sessionStore': 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
|
+
//# 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,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,WAAW,EAAE,IAAI;IACjB,oBAAoB,EAAE,KAAK;IAC3B,iBAAiB,EAAE,KAAK;CAChB,CAAA;AAEV,qEAAqE;AACrE,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAC1B,CAAA"}
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
'asana': false,
|
|
14
|
+
'audit': false,
|
|
15
|
+
'auditLog': false,
|
|
16
|
+
'config': true,
|
|
17
|
+
'content': false,
|
|
18
|
+
'credentialService': false,
|
|
19
|
+
'deploymentService': false,
|
|
20
|
+
'emailService': false,
|
|
21
|
+
'eventHub': false,
|
|
22
|
+
'jwt': false,
|
|
23
|
+
'logger': true,
|
|
24
|
+
'metaService': false,
|
|
25
|
+
'queueService': false,
|
|
26
|
+
'schedulerService': false,
|
|
27
|
+
'schema': true,
|
|
28
|
+
'secrets': true,
|
|
29
|
+
'sessionStore': 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>
|
|
@@ -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,252 @@
|
|
|
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 CredentialSchema_asana = {
|
|
13
|
+
/** Asana bearer token */
|
|
14
|
+
token: string;
|
|
15
|
+
}
|
|
16
|
+
export type ProjectCreateInput = {
|
|
17
|
+
teamId: string;
|
|
18
|
+
name?: string | undefined;
|
|
19
|
+
workspace?: string | undefined;
|
|
20
|
+
}
|
|
21
|
+
export type ProjectCreateOutput = {
|
|
22
|
+
[key: string]: unknown;
|
|
23
|
+
}
|
|
24
|
+
export type ProjectDeleteInput = {
|
|
25
|
+
projectId: string;
|
|
26
|
+
}
|
|
27
|
+
export type ProjectDeleteOutput = {
|
|
28
|
+
[key: string]: unknown;
|
|
29
|
+
}
|
|
30
|
+
export type ProjectGetAllInput = {
|
|
31
|
+
workspace?: string | undefined;
|
|
32
|
+
limit?: number | undefined;
|
|
33
|
+
}
|
|
34
|
+
export type ProjectGetAllOutput = {
|
|
35
|
+
[key: string]: unknown;
|
|
36
|
+
}
|
|
37
|
+
export type ProjectGetInput = {
|
|
38
|
+
projectId: string;
|
|
39
|
+
}
|
|
40
|
+
export type ProjectGetOutput = {
|
|
41
|
+
[key: string]: unknown;
|
|
42
|
+
}
|
|
43
|
+
export type ProjectUpdateInput = {
|
|
44
|
+
projectId: string;
|
|
45
|
+
name?: string | undefined;
|
|
46
|
+
notes?: string | undefined;
|
|
47
|
+
}
|
|
48
|
+
export type ProjectUpdateOutput = {
|
|
49
|
+
[key: string]: unknown;
|
|
50
|
+
}
|
|
51
|
+
export type SubtaskCreateInput = {
|
|
52
|
+
taskId: string;
|
|
53
|
+
name?: string | undefined;
|
|
54
|
+
}
|
|
55
|
+
export type SubtaskCreateOutput = {
|
|
56
|
+
[key: string]: unknown;
|
|
57
|
+
}
|
|
58
|
+
export type SubtaskGetAllInput = {
|
|
59
|
+
taskId: string;
|
|
60
|
+
limit?: number | undefined;
|
|
61
|
+
}
|
|
62
|
+
export type SubtaskGetAllOutput = {
|
|
63
|
+
[key: string]: unknown;
|
|
64
|
+
}
|
|
65
|
+
export type TaskCommentAddInput = {
|
|
66
|
+
taskId: string;
|
|
67
|
+
text?: string | undefined;
|
|
68
|
+
html_text?: string | undefined;
|
|
69
|
+
}
|
|
70
|
+
export type TaskCommentAddOutput = {
|
|
71
|
+
[key: string]: unknown;
|
|
72
|
+
}
|
|
73
|
+
export type TaskCommentRemoveInput = {
|
|
74
|
+
commentId: string;
|
|
75
|
+
}
|
|
76
|
+
export type TaskCommentRemoveOutput = {
|
|
77
|
+
[key: string]: unknown;
|
|
78
|
+
}
|
|
79
|
+
export type TaskCreateInput = {
|
|
80
|
+
name?: string | undefined;
|
|
81
|
+
workspace?: string | undefined;
|
|
82
|
+
notes?: string | undefined;
|
|
83
|
+
}
|
|
84
|
+
export type TaskCreateOutput = {
|
|
85
|
+
[key: string]: unknown;
|
|
86
|
+
}
|
|
87
|
+
export type TaskDeleteInput = {
|
|
88
|
+
taskId: string;
|
|
89
|
+
}
|
|
90
|
+
export type TaskDeleteOutput = {
|
|
91
|
+
[key: string]: unknown;
|
|
92
|
+
}
|
|
93
|
+
export type TaskGetAllInput = {
|
|
94
|
+
project?: string | undefined;
|
|
95
|
+
limit?: number | undefined;
|
|
96
|
+
}
|
|
97
|
+
export type TaskGetAllOutput = {
|
|
98
|
+
[key: string]: unknown;
|
|
99
|
+
}
|
|
100
|
+
export type TaskGetInput = {
|
|
101
|
+
taskId: string;
|
|
102
|
+
}
|
|
103
|
+
export type TaskGetOutput = {
|
|
104
|
+
[key: string]: unknown;
|
|
105
|
+
}
|
|
106
|
+
export type TaskMoveInput = {
|
|
107
|
+
sectionId: string;
|
|
108
|
+
task?: string | undefined;
|
|
109
|
+
}
|
|
110
|
+
export type TaskMoveOutput = {
|
|
111
|
+
[key: string]: unknown;
|
|
112
|
+
}
|
|
113
|
+
export type TaskProjectAddInput = {
|
|
114
|
+
taskId: string;
|
|
115
|
+
project?: string | undefined;
|
|
116
|
+
}
|
|
117
|
+
export type TaskProjectAddOutput = {
|
|
118
|
+
[key: string]: unknown;
|
|
119
|
+
}
|
|
120
|
+
export type TaskProjectRemoveInput = {
|
|
121
|
+
taskId: string;
|
|
122
|
+
project?: string | undefined;
|
|
123
|
+
}
|
|
124
|
+
export type TaskProjectRemoveOutput = {
|
|
125
|
+
[key: string]: unknown;
|
|
126
|
+
}
|
|
127
|
+
export type TaskSearchInput = {
|
|
128
|
+
workspaceId: string;
|
|
129
|
+
text?: string | undefined;
|
|
130
|
+
}
|
|
131
|
+
export type TaskSearchOutput = {
|
|
132
|
+
[key: string]: unknown;
|
|
133
|
+
}
|
|
134
|
+
export type TaskTagAddInput = {
|
|
135
|
+
taskId: string;
|
|
136
|
+
tag?: string | undefined;
|
|
137
|
+
}
|
|
138
|
+
export type TaskTagAddOutput = {
|
|
139
|
+
[key: string]: unknown;
|
|
140
|
+
}
|
|
141
|
+
export type TaskTagRemoveInput = {
|
|
142
|
+
taskId: string;
|
|
143
|
+
tag?: string | undefined;
|
|
144
|
+
}
|
|
145
|
+
export type TaskTagRemoveOutput = {
|
|
146
|
+
[key: string]: unknown;
|
|
147
|
+
}
|
|
148
|
+
export type TaskUpdateInput = {
|
|
149
|
+
taskId: string;
|
|
150
|
+
name?: string | undefined;
|
|
151
|
+
notes?: string | undefined;
|
|
152
|
+
completed?: boolean | undefined;
|
|
153
|
+
}
|
|
154
|
+
export type TaskUpdateOutput = {
|
|
155
|
+
[key: string]: unknown;
|
|
156
|
+
}
|
|
157
|
+
export type UserGetAllInput = {
|
|
158
|
+
workspaceId: string;
|
|
159
|
+
}
|
|
160
|
+
export type UserGetAllOutput = {
|
|
161
|
+
[key: string]: unknown;
|
|
162
|
+
}
|
|
163
|
+
export type UserGetInput = {
|
|
164
|
+
userId: string;
|
|
165
|
+
}
|
|
166
|
+
export type UserGetOutput = {
|
|
167
|
+
[key: string]: unknown;
|
|
168
|
+
}
|
|
169
|
+
export type VariableSchema_ASANA_BASE_URL = "https://app.asana.com/api/1.0"
|
|
170
|
+
|
|
171
|
+
interface RPCHandler<I, O> {
|
|
172
|
+
input: I;
|
|
173
|
+
output: O;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export type RPCMap = {
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
// No addon packages, use RPCMap directly
|
|
182
|
+
export type FlattenedRPCMap = RPCMap
|
|
183
|
+
|
|
184
|
+
type IsAny<T> = 0 extends (1 & T) ? true : false
|
|
185
|
+
type IsVoidishInput<T> = IsAny<T> extends true
|
|
186
|
+
? false
|
|
187
|
+
: [T] extends [void | null | undefined]
|
|
188
|
+
? true
|
|
189
|
+
: false
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
193
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
194
|
+
? [name: Name]
|
|
195
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
196
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
197
|
+
|
|
198
|
+
export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
|
|
199
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
200
|
+
? [name: Name]
|
|
201
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
202
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
203
|
+
|
|
204
|
+
import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
|
|
205
|
+
|
|
206
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
type FlattenedAgentMap = AgentMap
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
213
|
+
|
|
214
|
+
interface AIAgentInput {
|
|
215
|
+
message: string
|
|
216
|
+
threadId: string
|
|
217
|
+
resourceId: string
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
221
|
+
name: Name,
|
|
222
|
+
input: FlattenedWorkflowMap[Name]['input'],
|
|
223
|
+
options?: { startNode?: string }
|
|
224
|
+
) => Promise<{ runId: string }>
|
|
225
|
+
|
|
226
|
+
export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
227
|
+
name: Name,
|
|
228
|
+
input: FlattenedWorkflowMap[Name]['input']
|
|
229
|
+
) => Promise<FlattenedWorkflowMap[Name]['output']>
|
|
230
|
+
|
|
231
|
+
export type TypedWorkflowStatus = (
|
|
232
|
+
workflowName: string,
|
|
233
|
+
runId: string
|
|
234
|
+
) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
|
|
235
|
+
|
|
236
|
+
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
237
|
+
? (name: string, input: AIAgentInput) => Promise<any>
|
|
238
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
239
|
+
name: Name,
|
|
240
|
+
input: AIAgentInput
|
|
241
|
+
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
242
|
+
|
|
243
|
+
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
244
|
+
? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
245
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
246
|
+
name: Name,
|
|
247
|
+
input: AIAgentInput,
|
|
248
|
+
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
249
|
+
) => Promise<void>
|
|
250
|
+
|
|
251
|
+
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
252
|
+
|