@pikku/addon-console 0.12.25 → 0.12.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.js +1 -1
- package/dist/.pikku/addon/pikku-package.gen.js +2 -2
- package/dist/.pikku/addon/pikku-package.gen.js.map +1 -1
- package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +3 -2
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -1
- package/dist/.pikku/auth/auth.types.d.ts +1 -1
- package/dist/.pikku/auth/auth.types.js +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
- package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +9 -15
- package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.js +3 -12
- package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.json +314 -287
- package/dist/.pikku/function/pikku-functions.gen.js +27 -27
- package/dist/.pikku/function/pikku-functions.gen.js.map +1 -1
- package/dist/.pikku/http/pikku-http-types.gen.d.ts +2 -24
- package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +1 -1
- package/dist/.pikku/http/pikku-http-types.gen.js +2 -24
- package/dist/.pikku/http/pikku-http-types.gen.js.map +1 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
- package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
- package/dist/.pikku/pikku-meta-service.gen.js +1 -1
- package/dist/.pikku/pikku-services.gen.d.ts +7 -5
- package/dist/.pikku/pikku-services.gen.d.ts.map +1 -1
- package/dist/.pikku/pikku-services.gen.js +5 -3
- package/dist/.pikku/pikku-services.gen.js.map +1 -1
- package/dist/.pikku/pikku-types.gen.d.ts +2 -1
- package/dist/.pikku/pikku-types.gen.d.ts.map +1 -1
- package/dist/.pikku/pikku-types.gen.js +3 -1
- package/dist/.pikku/pikku-types.gen.js.map +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +43 -34
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +43 -35
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +200 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +13 -13
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
- package/dist/.pikku/schemas/register.gen.js +49 -35
- package/dist/.pikku/schemas/register.gen.js.map +1 -1
- package/dist/.pikku/schemas/schemas/AddonPackageInfo.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/AllMeta.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/GetAddonInstancesInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetAddonInstancesOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetAddonMetaOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/GetFunctionsMetaOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/GetOpenapisOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/GetWebhookDeliveryInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetWorkflowMetaByIdOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/ListWebhookDeliveriesInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ListWebhookDeliveriesOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ScopeAddScopeToUserInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ScopeAddScopeToUserOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ScopeAddUserToRoleInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ScopeAddUserToRoleOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ScopeCreateRoleInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ScopeCreateRoleOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ScopeDeleteRoleInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ScopeDeleteRoleOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ScopeListDeclaredOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ScopeListRolesOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ScopeListUserRolesInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ScopeListUserRolesOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ScopeRemoveScopeFromUserInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ScopeRemoveScopeFromUserOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ScopeRemoveUserFromRoleInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ScopeRemoveUserFromRoleOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ScopeSetRoleScopesInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ScopeSetRoleScopesOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/WebhookDeliveryWithAttempts.schema.json +1 -0
- package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +6 -0
- package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts.map +1 -0
- package/dist/.pikku/scopes/pikku-scope-types.gen.js +5 -0
- package/dist/.pikku/scopes/pikku-scope-types.gen.js.map +1 -0
- package/dist/.pikku/scopes/pikku-scopes-meta.gen.json +21 -0
- package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +36 -0
- package/dist/.pikku/scopes/pikku-scopes.gen.d.ts.map +1 -0
- package/dist/.pikku/scopes/pikku-scopes.gen.js +30 -0
- package/dist/.pikku/scopes/pikku-scopes.gen.js.map +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
- package/dist/.pikku/secrets/pikku-secrets-meta.gen.json +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +11 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.js +11 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
- package/dist/.pikku/variables/pikku-variables-meta.gen.json +1 -0
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +11 -1
- package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.js +13 -3
- package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -1
- package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +17 -8
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
- package/dist/src/functions/get-addon-instances.function.d.ts +25 -0
- package/dist/src/functions/get-addon-instances.function.d.ts.map +1 -0
- package/dist/src/functions/get-addon-instances.function.js +30 -0
- package/dist/src/functions/get-addon-instances.function.js.map +1 -0
- package/dist/src/functions/get-installed-package.function.d.ts.map +1 -1
- package/dist/src/functions/get-installed-package.function.js +13 -13
- package/dist/src/functions/get-installed-package.function.js.map +1 -1
- package/dist/src/functions/get-openapi-detail.function.d.ts.map +1 -1
- package/dist/src/functions/get-openapi-detail.function.js +3 -9
- package/dist/src/functions/get-openapi-detail.function.js.map +1 -1
- package/dist/src/functions/get-openapis.function.d.ts +3 -3
- package/dist/src/functions/get-openapis.function.d.ts.map +1 -1
- package/dist/src/functions/get-openapis.function.js +3 -12
- package/dist/src/functions/get-openapis.function.js.map +1 -1
- package/dist/src/functions/get-webhook-delivery.function.d.ts +9 -0
- package/dist/src/functions/get-webhook-delivery.function.d.ts.map +1 -0
- package/dist/src/functions/get-webhook-delivery.function.js +14 -0
- package/dist/src/functions/get-webhook-delivery.function.js.map +1 -0
- package/dist/src/functions/install-addon.function.d.ts.map +1 -1
- package/dist/src/functions/install-addon.function.js +65 -11
- package/dist/src/functions/install-addon.function.js.map +1 -1
- package/dist/src/functions/list-webhook-deliveries.function.d.ts +12 -0
- package/dist/src/functions/list-webhook-deliveries.function.d.ts.map +1 -0
- package/dist/src/functions/list-webhook-deliveries.function.js +14 -0
- package/dist/src/functions/list-webhook-deliveries.function.js.map +1 -0
- package/dist/src/functions/scope-add-scope-to-user.function.d.ts +17 -0
- package/dist/src/functions/scope-add-scope-to-user.function.d.ts.map +1 -0
- package/dist/src/functions/scope-add-scope-to-user.function.js +16 -0
- package/dist/src/functions/scope-add-scope-to-user.function.js.map +1 -0
- package/dist/src/functions/scope-add-user-to-role.function.d.ts +17 -0
- package/dist/src/functions/scope-add-user-to-role.function.d.ts.map +1 -0
- package/dist/src/functions/scope-add-user-to-role.function.js +16 -0
- package/dist/src/functions/scope-add-user-to-role.function.js.map +1 -0
- package/dist/src/functions/scope-create-role.function.d.ts +20 -0
- package/dist/src/functions/scope-create-role.function.d.ts.map +1 -0
- package/dist/src/functions/scope-create-role.function.js +18 -0
- package/dist/src/functions/scope-create-role.function.js.map +1 -0
- package/dist/src/functions/scope-delete-role.function.d.ts +14 -0
- package/dist/src/functions/scope-delete-role.function.d.ts.map +1 -0
- package/dist/src/functions/scope-delete-role.function.js +16 -0
- package/dist/src/functions/scope-delete-role.function.js.map +1 -0
- package/dist/src/functions/scope-list-declared.function.d.ts +18 -0
- package/dist/src/functions/scope-list-declared.function.d.ts.map +1 -0
- package/dist/src/functions/scope-list-declared.function.js +15 -0
- package/dist/src/functions/scope-list-declared.function.js.map +1 -0
- package/dist/src/functions/scope-list-roles.function.d.ts +9 -0
- package/dist/src/functions/scope-list-roles.function.d.ts.map +1 -0
- package/dist/src/functions/scope-list-roles.function.js +14 -0
- package/dist/src/functions/scope-list-roles.function.js.map +1 -0
- package/dist/src/functions/scope-list-user-roles.function.d.ts +20 -0
- package/dist/src/functions/scope-list-user-roles.function.d.ts.map +1 -0
- package/dist/src/functions/scope-list-user-roles.function.js +23 -0
- package/dist/src/functions/scope-list-user-roles.function.js.map +1 -0
- package/dist/src/functions/scope-remove-scope-from-user.function.d.ts +17 -0
- package/dist/src/functions/scope-remove-scope-from-user.function.d.ts.map +1 -0
- package/dist/src/functions/scope-remove-scope-from-user.function.js +16 -0
- package/dist/src/functions/scope-remove-scope-from-user.function.js.map +1 -0
- package/dist/src/functions/scope-remove-user-from-role.function.d.ts +17 -0
- package/dist/src/functions/scope-remove-user-from-role.function.d.ts.map +1 -0
- package/dist/src/functions/scope-remove-user-from-role.function.js +16 -0
- package/dist/src/functions/scope-remove-user-from-role.function.js.map +1 -0
- package/dist/src/functions/scope-set-role-scopes.function.d.ts +17 -0
- package/dist/src/functions/scope-set-role-scopes.function.d.ts.map +1 -0
- package/dist/src/functions/scope-set-role-scopes.function.js +16 -0
- package/dist/src/functions/scope-set-role-scopes.function.js.map +1 -0
- package/dist/src/functions/take-live-coverage.function.d.ts +1 -1
- package/dist/src/functions/take-live-coverage.function.d.ts.map +1 -1
- package/dist/src/lib/coverage-types.d.ts +25 -0
- package/dist/src/lib/coverage-types.d.ts.map +1 -0
- package/dist/src/lib/coverage-types.js +2 -0
- package/dist/src/lib/coverage-types.js.map +1 -0
- package/dist/src/lib/derive-instance-overrides.d.ts +31 -0
- package/dist/src/lib/derive-instance-overrides.d.ts.map +1 -0
- package/dist/src/lib/derive-instance-overrides.js +72 -0
- package/dist/src/lib/derive-instance-overrides.js.map +1 -0
- package/dist/src/lib/derive-instance-overrides.test.d.ts +2 -0
- package/dist/src/lib/derive-instance-overrides.test.d.ts.map +1 -0
- package/dist/src/lib/derive-instance-overrides.test.js +59 -0
- package/dist/src/lib/derive-instance-overrides.test.js.map +1 -0
- package/dist/src/lib/precise-coverage-map.d.ts +1 -1
- package/dist/src/lib/precise-coverage-map.d.ts.map +1 -1
- package/dist/src/scopes.d.ts +2 -0
- package/dist/src/scopes.d.ts.map +1 -0
- package/dist/src/scopes.js +29 -0
- package/dist/src/scopes.js.map +1 -0
- package/dist/src/services/addon.service.d.ts +37 -0
- package/dist/src/services/addon.service.d.ts.map +1 -1
- package/dist/src/services/addon.service.js +24 -0
- package/dist/src/services/addon.service.js.map +1 -1
- package/dist/src/services/addon.service.test.js +17 -0
- package/dist/src/services/addon.service.test.js.map +1 -1
- package/dist/src/services/wiring.service.d.ts +0 -18
- package/dist/src/services/wiring.service.d.ts.map +1 -1
- package/dist/src/services/wiring.service.js +0 -298
- package/dist/src/services/wiring.service.js.map +1 -1
- package/dist/src/services.d.ts.map +1 -1
- package/dist/src/services.js +3 -4
- package/dist/src/services.js.map +1 -1
- package/package.json +4 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.83
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
@@ -8,15 +8,16 @@
|
|
|
8
8
|
|
|
9
9
|
import type { AgentCredentialRequirement } from '../../src/functions/agent-credential-check.function.js'
|
|
10
10
|
import type { CredentialUserEntry } from '../../src/functions/credential-list-users.function.js'
|
|
11
|
+
import type { AddonInstance } from '../../src/functions/get-addon-instances.function.js'
|
|
11
12
|
import type { AddonPackageInfo } from '../../src/services/addon.service.js'
|
|
12
13
|
import type { FunctionMetaWithVersions, FunctionVersionEntry } from '../../src/functions/get-functions-meta.function.js'
|
|
13
14
|
import type { FunctionRuntimeMeta, FunctionServicesMeta, FunctionWiresMeta, MiddlewareMetadata, PermissionMetadata, CommonWireMeta, SecurityAuditReport } from '../../../../core/dist/types/core.types.d.js'
|
|
14
15
|
import type { InstalledAddon } from '../../src/functions/get-installed-addons.function.js'
|
|
15
|
-
import type {
|
|
16
|
-
import type { WorkflowStepMeta, RpcStepMeta, BranchStepMeta, ParallelGroupStepMeta, FanoutStepMeta, ReturnStepMeta, InlineStepMeta, SleepStepMeta, CancelStepMeta, SuspendStepMeta, SwitchStepMeta, FilterStepMeta, ArrayPredicateStepMeta, SetStepMeta } from '../../../../core/dist/wirings/workflow/dsl/workflow-dsl.types.d.js'
|
|
16
|
+
import type { WorkflowStepMeta, RpcStepMeta, BranchStepMeta, ParallelGroupStepMeta, FanoutStepMeta, ReturnStepMeta, InlineStepMeta, SleepStepMeta, CancelStepMeta, SuspendStepMeta, ApprovalStepMeta, SwitchStepMeta, FilterStepMeta, ArrayPredicateStepMeta, SetStepMeta } from '../../../../core/dist/wirings/workflow/dsl/workflow-dsl.types.d.js'
|
|
17
17
|
import type { WorkflowContext } from '../../../../core/dist/wirings/workflow/workflow.types.d.js'
|
|
18
|
-
import type {
|
|
19
|
-
import type {
|
|
18
|
+
import type { WebhookDeliveryRecord, WebhookDeliveryWithAttempts } from '../../../../core/dist/services/webhook-service.d.js'
|
|
19
|
+
import type { DeclaredScopeEntry } from '../../src/functions/scope-list-declared.function.js'
|
|
20
|
+
import type { Role } from '../../../../core/dist/services/scope-service.d.js'
|
|
20
21
|
import type { AgentConfigChanges, FunctionConfigChanges } from '../../src/services/code-edit.service.js'
|
|
21
22
|
import type { AllMeta, ChannelSnippets } from '../../src/services/wiring.service.js'
|
|
22
23
|
import type { AuthProvidersMeta } from '../../src/functions/get-auth-providers.function.js'
|
|
@@ -45,6 +46,8 @@ export type DeleteWorkflowRunOutput = { deleted: boolean; }
|
|
|
45
46
|
export type GetAddonCommunityPackageInput = { id: string; }
|
|
46
47
|
export type GetAddonIconInput = { alias: string; }
|
|
47
48
|
export type GetAddonInstalledPackageInput = { packageName: string; }
|
|
49
|
+
export type GetAddonInstancesInput = { packageName: string; }
|
|
50
|
+
export type GetAddonInstancesOutput = AddonInstance[]
|
|
48
51
|
export type GetAddonMetaOutput = AddonPackageInfo[]
|
|
49
52
|
export type GetAgentThreadMessagesInput = { threadId: string; }
|
|
50
53
|
export type GetAgentThreadMessagesOutput = any[]
|
|
@@ -60,11 +63,10 @@ export type GetInstalledAddonsOutput = InstalledAddon[]
|
|
|
60
63
|
export type GetOpenapiDetailInput = { name: string; }
|
|
61
64
|
export type GetOpenapiDetailOutput = { name: string; version: string; provider: string; service: string | null; title: string; description: string; openapiVer: string; swaggerUrl: string; swaggerYamlUrl?: string | undefined; logo?: string | undefined; categories: string[]; tags: string[]; added?: string | undefined; updated?: string | undefined; }
|
|
62
65
|
export type GetOpenapisInput = { limit: number; offset: number; search?: string | undefined; }
|
|
63
|
-
export type GetOpenapisOutput = { apis: { name: string; version: string; provider: string; service: string | null; title: string; description: string; openapiVer: string; swaggerUrl: string; logo?: string | undefined; }[]; total: number; nextCursor: number; }
|
|
66
|
+
export type GetOpenapisOutput = { apis: { name: string; version: string; provider: string; service: string | null; title: string; description: string; openapiVer: string; swaggerUrl: string; logo?: string | undefined; }[]; total: number; nextCursor: number | null; }
|
|
64
67
|
export type GetSchemaInput = { schemaName: string; }
|
|
65
68
|
export type GetStateDiffInput = { basePath: string; oursPath?: string | undefined; }
|
|
66
|
-
export type
|
|
67
|
-
export type GetStubCallsOutput = StubCallEntry[]
|
|
69
|
+
export type GetWebhookDeliveryInput = { deliveryId: string; }
|
|
68
70
|
export type GetWorkflowMetaByIdInput = { workflowId: string; }
|
|
69
71
|
export type GetWorkflowMetaByIdOutput = CommonWireMeta & { name: string; steps: WorkflowStepMeta[]; context?: WorkflowContext | undefined; dsl?: boolean | undefined; expose?: boolean | undefined; scenario?: boolean | undefined; actors?: string[] | undefined; }
|
|
70
72
|
export type GetWorkflowRunHistoryInput = { runId: string; }
|
|
@@ -82,17 +84,8 @@ export type InstallAddonInput = { packageName: string; namespace: string; versio
|
|
|
82
84
|
export type InstallAddonOutput = { success: boolean; message: string; }
|
|
83
85
|
export type InstallOpenapiAddonInput = { name: string; swaggerUrl: string; credential?: "apikey" | "bearer" | "oauth2" | undefined; }
|
|
84
86
|
export type InstallOpenapiAddonOutput = { success: boolean; message: string; }
|
|
85
|
-
export type
|
|
86
|
-
export type
|
|
87
|
-
export type OauthDisconnectInput = { credentialName: string; }
|
|
88
|
-
export type OauthExchangeTokensInput = { code: string; state: string; }
|
|
89
|
-
export type OauthExchangeTokensOutput = { credentialName: string; }
|
|
90
|
-
export type OauthRefreshTokenInput = { credentialName: string; }
|
|
91
|
-
export type OauthRefreshTokenOutput = { success: boolean; error?: string | undefined; }
|
|
92
|
-
export type OauthStatusInput = { credentialName: string; }
|
|
93
|
-
export type OauthStatusOutput = { connected: boolean; hasRefreshToken?: boolean | undefined; expiresAt?: number | undefined; isExpired?: boolean | undefined; }
|
|
94
|
-
export type OauthTestTokenInput = { credentialName: string; }
|
|
95
|
-
export type OauthTestTokenOutput = { valid: boolean; error?: string | undefined; }
|
|
87
|
+
export type ListWebhookDeliveriesInput = { organizationId?: string | undefined; limit?: number | undefined; }
|
|
88
|
+
export type ListWebhookDeliveriesOutput = WebhookDeliveryRecord[]
|
|
96
89
|
export type PingOutput = { pong: true; }
|
|
97
90
|
export type ReadAgentSourceInput = { sourceFile: string; exportedName: string; }
|
|
98
91
|
export type ReadAgentSourceOutput = { config: Record<string, unknown>; }
|
|
@@ -100,9 +93,24 @@ export type ReadFunctionBodyInput = { sourceFile: string; exportedName: string;
|
|
|
100
93
|
export type ReadFunctionBodyOutput = { body: string; }
|
|
101
94
|
export type ReadFunctionSourceInput = { sourceFile: string; exportedName: string; }
|
|
102
95
|
export type ReadFunctionSourceOutput = { config: Record<string, unknown>; body: string | null; wrapperName: string; }
|
|
103
|
-
export type
|
|
104
|
-
export type
|
|
105
|
-
export type
|
|
96
|
+
export type ScopeAddScopeToUserInput = { userId: string; scope: string; }
|
|
97
|
+
export type ScopeAddScopeToUserOutput = { success: boolean; }
|
|
98
|
+
export type ScopeAddUserToRoleInput = { userId: string; role: string; }
|
|
99
|
+
export type ScopeAddUserToRoleOutput = { success: boolean; }
|
|
100
|
+
export type ScopeCreateRoleInput = { name: string; description?: string | undefined; scopes: string[]; }
|
|
101
|
+
export type ScopeCreateRoleOutput = { success: boolean; }
|
|
102
|
+
export type ScopeDeleteRoleInput = { name: string; }
|
|
103
|
+
export type ScopeDeleteRoleOutput = { success: boolean; }
|
|
104
|
+
export type ScopeListDeclaredOutput = { scopes: DeclaredScopeEntry[]; }
|
|
105
|
+
export type ScopeListRolesOutput = { roles: Role[]; }
|
|
106
|
+
export type ScopeListUserRolesInput = { userId: string; }
|
|
107
|
+
export type ScopeListUserRolesOutput = { roles: string[]; scopes: string[]; directScopes: string[]; }
|
|
108
|
+
export type ScopeRemoveScopeFromUserInput = { userId: string; scope: string; }
|
|
109
|
+
export type ScopeRemoveScopeFromUserOutput = { success: boolean; }
|
|
110
|
+
export type ScopeRemoveUserFromRoleInput = { userId: string; role: string; }
|
|
111
|
+
export type ScopeRemoveUserFromRoleOutput = { success: boolean; }
|
|
112
|
+
export type ScopeSetRoleScopesInput = { name: string; scopes: string[]; }
|
|
113
|
+
export type ScopeSetRoleScopesOutput = { success: boolean; }
|
|
106
114
|
export type StreamWorkflowRunInput = { runId: string; }
|
|
107
115
|
export type UpdateAgentConfigInput = { sourceFile: string; exportedName: string; changes: AgentConfigChanges; }
|
|
108
116
|
export type UpdateAgentConfigOutput = { success: boolean; }
|
|
@@ -130,6 +138,7 @@ export type RPCMap = {
|
|
|
130
138
|
readonly 'deleteAgentThread': RPCHandler<DeleteAgentThreadInput, DeleteAgentThreadOutput>,
|
|
131
139
|
readonly 'deleteWorkflowRun': RPCHandler<DeleteWorkflowRunInput, DeleteWorkflowRunOutput>,
|
|
132
140
|
readonly 'getAddonIcon': RPCHandler<GetAddonIconInput, string>,
|
|
141
|
+
readonly 'getAddonInstances': RPCHandler<GetAddonInstancesInput, GetAddonInstancesOutput>,
|
|
133
142
|
readonly 'getAddonMeta': RPCHandler<null, GetAddonMetaOutput>,
|
|
134
143
|
readonly 'getAddonCommunityPackage': RPCHandler<GetAddonCommunityPackageInput, AddonPackageInfo>,
|
|
135
144
|
readonly 'getAgentThreadMessages': RPCHandler<GetAgentThreadMessagesInput, GetAgentThreadMessagesOutput>,
|
|
@@ -140,7 +149,6 @@ export type RPCMap = {
|
|
|
140
149
|
readonly 'getAuthProviders': RPCHandler<null, AuthProvidersMeta>,
|
|
141
150
|
readonly 'getChannelSnippets': RPCHandler<GetChannelSnippetsInput, ChannelSnippets>,
|
|
142
151
|
readonly 'getDbSchema': RPCHandler<null, DbSchema>,
|
|
143
|
-
readonly 'getFunctionCoverage': RPCHandler<null, FunctionCoverageReport>,
|
|
144
152
|
readonly 'getFunctionsMeta': RPCHandler<null, GetFunctionsMetaOutput>,
|
|
145
153
|
readonly 'getInstalledAddons': RPCHandler<null, GetInstalledAddonsOutput>,
|
|
146
154
|
readonly 'getAddonInstalledPackage': RPCHandler<GetAddonInstalledPackageInput, AddonPackageInfo>,
|
|
@@ -149,7 +157,7 @@ export type RPCMap = {
|
|
|
149
157
|
readonly 'getSchema': RPCHandler<GetSchemaInput, JSONSchema7>,
|
|
150
158
|
readonly 'getSecurityAudit': RPCHandler<null, SecurityAuditReport>,
|
|
151
159
|
readonly 'getStateDiff': RPCHandler<GetStateDiffInput, StateDiff>,
|
|
152
|
-
readonly '
|
|
160
|
+
readonly 'getWebhookDelivery': RPCHandler<GetWebhookDeliveryInput, WebhookDeliveryWithAttempts>,
|
|
153
161
|
readonly 'getWorkflowMetaById': RPCHandler<GetWorkflowMetaByIdInput, GetWorkflowMetaByIdOutput>,
|
|
154
162
|
readonly 'getWorkflowRunHistory': RPCHandler<GetWorkflowRunHistoryInput, GetWorkflowRunHistoryOutput>,
|
|
155
163
|
readonly 'getWorkflowRunNames': RPCHandler<null, GetWorkflowRunNamesOutput>,
|
|
@@ -159,22 +167,23 @@ export type RPCMap = {
|
|
|
159
167
|
readonly 'getWorkflowVersion': RPCHandler<GetWorkflowVersionInput, GetWorkflowVersionOutput>,
|
|
160
168
|
readonly 'installAddon': RPCHandler<InstallAddonInput, InstallAddonOutput>,
|
|
161
169
|
readonly 'installOpenapiAddon': RPCHandler<InstallOpenapiAddonInput, InstallOpenapiAddonOutput>,
|
|
162
|
-
readonly '
|
|
163
|
-
readonly 'oauthDisconnect': RPCHandler<OauthDisconnectInput, null>,
|
|
164
|
-
readonly 'oauthExchangeTokens': RPCHandler<OauthExchangeTokensInput, OauthExchangeTokensOutput>,
|
|
165
|
-
readonly 'oauthRefreshToken': RPCHandler<OauthRefreshTokenInput, OauthRefreshTokenOutput>,
|
|
166
|
-
readonly 'oauthStatus': RPCHandler<OauthStatusInput, OauthStatusOutput>,
|
|
167
|
-
readonly 'oauthTestToken': RPCHandler<OauthTestTokenInput, OauthTestTokenOutput>,
|
|
170
|
+
readonly 'listWebhookDeliveries': RPCHandler<ListWebhookDeliveriesInput, ListWebhookDeliveriesOutput>,
|
|
168
171
|
readonly 'ping': RPCHandler<null, PingOutput>,
|
|
169
172
|
readonly 'readAgentSource': RPCHandler<ReadAgentSourceInput, ReadAgentSourceOutput>,
|
|
170
173
|
readonly 'readFunctionBody': RPCHandler<ReadFunctionBodyInput, ReadFunctionBodyOutput>,
|
|
171
174
|
readonly 'readFunctionSource': RPCHandler<ReadFunctionSourceInput, ReadFunctionSourceOutput>,
|
|
172
175
|
readonly 'renderEmailPreview': RPCHandler<RenderEmailPreviewInput, RenderEmailPreviewOutput>,
|
|
173
|
-
readonly 'resetLiveCoverage': RPCHandler<null, ResetLiveCoverageOutput>,
|
|
174
|
-
readonly 'resetStubs': RPCHandler<null, ResetStubsOutput>,
|
|
175
|
-
readonly 'runFunctionTests': RPCHandler<null, FunctionCoverageReport>,
|
|
176
176
|
readonly 'runSecurityAudit': RPCHandler<null, SecurityAuditReport>,
|
|
177
|
-
readonly '
|
|
177
|
+
readonly 'scopeAddScopeToUser': RPCHandler<ScopeAddScopeToUserInput, ScopeAddScopeToUserOutput>,
|
|
178
|
+
readonly 'scopeAddUserToRole': RPCHandler<ScopeAddUserToRoleInput, ScopeAddUserToRoleOutput>,
|
|
179
|
+
readonly 'scopeCreateRole': RPCHandler<ScopeCreateRoleInput, ScopeCreateRoleOutput>,
|
|
180
|
+
readonly 'scopeDeleteRole': RPCHandler<ScopeDeleteRoleInput, ScopeDeleteRoleOutput>,
|
|
181
|
+
readonly 'scopeListDeclared': RPCHandler<null, ScopeListDeclaredOutput>,
|
|
182
|
+
readonly 'scopeListRoles': RPCHandler<null, ScopeListRolesOutput>,
|
|
183
|
+
readonly 'scopeListUserRoles': RPCHandler<ScopeListUserRolesInput, ScopeListUserRolesOutput>,
|
|
184
|
+
readonly 'scopeRemoveScopeFromUser': RPCHandler<ScopeRemoveScopeFromUserInput, ScopeRemoveScopeFromUserOutput>,
|
|
185
|
+
readonly 'scopeRemoveUserFromRole': RPCHandler<ScopeRemoveUserFromRoleInput, ScopeRemoveUserFromRoleOutput>,
|
|
186
|
+
readonly 'scopeSetRoleScopes': RPCHandler<ScopeSetRoleScopesInput, ScopeSetRoleScopesOutput>,
|
|
178
187
|
readonly 'updateAgentConfig': RPCHandler<UpdateAgentConfigInput, UpdateAgentConfigOutput>,
|
|
179
188
|
readonly 'updateDependency': RPCHandler<UpdateDependencyInput, SecurityAuditReport>,
|
|
180
189
|
readonly 'updateEmailTemplate': RPCHandler<UpdateEmailTemplateInput, UpdateEmailTemplateOutput>,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.83
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
@@ -8,15 +8,16 @@
|
|
|
8
8
|
|
|
9
9
|
import type { AgentCredentialRequirement } from '../../src/functions/agent-credential-check.function.js'
|
|
10
10
|
import type { CredentialUserEntry } from '../../src/functions/credential-list-users.function.js'
|
|
11
|
+
import type { AddonInstance } from '../../src/functions/get-addon-instances.function.js'
|
|
11
12
|
import type { AddonPackageInfo } from '../../src/services/addon.service.js'
|
|
12
13
|
import type { FunctionMetaWithVersions, FunctionVersionEntry } from '../../src/functions/get-functions-meta.function.js'
|
|
13
14
|
import type { FunctionRuntimeMeta, FunctionServicesMeta, FunctionWiresMeta, MiddlewareMetadata, PermissionMetadata, CommonWireMeta, SecurityAuditReport } from '../../../../core/dist/types/core.types.d.js'
|
|
14
15
|
import type { InstalledAddon } from '../../src/functions/get-installed-addons.function.js'
|
|
15
|
-
import type {
|
|
16
|
-
import type { WorkflowStepMeta, RpcStepMeta, BranchStepMeta, ParallelGroupStepMeta, FanoutStepMeta, ReturnStepMeta, InlineStepMeta, SleepStepMeta, CancelStepMeta, SuspendStepMeta, SwitchStepMeta, FilterStepMeta, ArrayPredicateStepMeta, SetStepMeta } from '../../../../core/dist/wirings/workflow/dsl/workflow-dsl.types.d.js'
|
|
16
|
+
import type { WorkflowStepMeta, RpcStepMeta, BranchStepMeta, ParallelGroupStepMeta, FanoutStepMeta, ReturnStepMeta, InlineStepMeta, SleepStepMeta, CancelStepMeta, SuspendStepMeta, ApprovalStepMeta, SwitchStepMeta, FilterStepMeta, ArrayPredicateStepMeta, SetStepMeta } from '../../../../core/dist/wirings/workflow/dsl/workflow-dsl.types.d.js'
|
|
17
17
|
import type { WorkflowContext } from '../../../../core/dist/wirings/workflow/workflow.types.d.js'
|
|
18
|
-
import type {
|
|
19
|
-
import type {
|
|
18
|
+
import type { WebhookDeliveryRecord, WebhookDeliveryWithAttempts } from '../../../../core/dist/services/webhook-service.d.js'
|
|
19
|
+
import type { DeclaredScopeEntry } from '../../src/functions/scope-list-declared.function.js'
|
|
20
|
+
import type { Role } from '../../../../core/dist/services/scope-service.d.js'
|
|
20
21
|
import type { AgentConfigChanges, FunctionConfigChanges } from '../../src/services/code-edit.service.js'
|
|
21
22
|
import type { AllMeta, ChannelSnippets } from '../../src/services/wiring.service.js'
|
|
22
23
|
import type { AuthProvidersMeta } from '../../src/functions/get-auth-providers.function.js'
|
|
@@ -45,6 +46,8 @@ export type DeleteWorkflowRunOutput = { deleted: boolean; }
|
|
|
45
46
|
export type GetAddonCommunityPackageInput = { id: string; }
|
|
46
47
|
export type GetAddonIconInput = { alias: string; }
|
|
47
48
|
export type GetAddonInstalledPackageInput = { packageName: string; }
|
|
49
|
+
export type GetAddonInstancesInput = { packageName: string; }
|
|
50
|
+
export type GetAddonInstancesOutput = AddonInstance[]
|
|
48
51
|
export type GetAddonMetaOutput = AddonPackageInfo[]
|
|
49
52
|
export type GetAgentThreadMessagesInput = { threadId: string; }
|
|
50
53
|
export type GetAgentThreadMessagesOutput = any[]
|
|
@@ -60,11 +63,10 @@ export type GetInstalledAddonsOutput = InstalledAddon[]
|
|
|
60
63
|
export type GetOpenapiDetailInput = { name: string; }
|
|
61
64
|
export type GetOpenapiDetailOutput = { name: string; version: string; provider: string; service: string | null; title: string; description: string; openapiVer: string; swaggerUrl: string; swaggerYamlUrl?: string | undefined; logo?: string | undefined; categories: string[]; tags: string[]; added?: string | undefined; updated?: string | undefined; }
|
|
62
65
|
export type GetOpenapisInput = { limit: number; offset: number; search?: string | undefined; }
|
|
63
|
-
export type GetOpenapisOutput = { apis: { name: string; version: string; provider: string; service: string | null; title: string; description: string; openapiVer: string; swaggerUrl: string; logo?: string | undefined; }[]; total: number; nextCursor: number; }
|
|
66
|
+
export type GetOpenapisOutput = { apis: { name: string; version: string; provider: string; service: string | null; title: string; description: string; openapiVer: string; swaggerUrl: string; logo?: string | undefined; }[]; total: number; nextCursor: number | null; }
|
|
64
67
|
export type GetSchemaInput = { schemaName: string; }
|
|
65
68
|
export type GetStateDiffInput = { basePath: string; oursPath?: string | undefined; }
|
|
66
|
-
export type
|
|
67
|
-
export type GetStubCallsOutput = StubCallEntry[]
|
|
69
|
+
export type GetWebhookDeliveryInput = { deliveryId: string; }
|
|
68
70
|
export type GetWorkflowMetaByIdInput = { workflowId: string; }
|
|
69
71
|
export type GetWorkflowMetaByIdOutput = CommonWireMeta & { name: string; steps: WorkflowStepMeta[]; context?: WorkflowContext | undefined; dsl?: boolean | undefined; expose?: boolean | undefined; scenario?: boolean | undefined; actors?: string[] | undefined; }
|
|
70
72
|
export type GetWorkflowRunHistoryInput = { runId: string; }
|
|
@@ -82,17 +84,8 @@ export type InstallAddonInput = { packageName: string; namespace: string; versio
|
|
|
82
84
|
export type InstallAddonOutput = { success: boolean; message: string; }
|
|
83
85
|
export type InstallOpenapiAddonInput = { name: string; swaggerUrl: string; credential?: "apikey" | "bearer" | "oauth2" | undefined; }
|
|
84
86
|
export type InstallOpenapiAddonOutput = { success: boolean; message: string; }
|
|
85
|
-
export type
|
|
86
|
-
export type
|
|
87
|
-
export type OauthDisconnectInput = { credentialName: string; }
|
|
88
|
-
export type OauthExchangeTokensInput = { code: string; state: string; }
|
|
89
|
-
export type OauthExchangeTokensOutput = { credentialName: string; }
|
|
90
|
-
export type OauthRefreshTokenInput = { credentialName: string; }
|
|
91
|
-
export type OauthRefreshTokenOutput = { success: boolean; error?: string | undefined; }
|
|
92
|
-
export type OauthStatusInput = { credentialName: string; }
|
|
93
|
-
export type OauthStatusOutput = { connected: boolean; hasRefreshToken?: boolean | undefined; expiresAt?: number | undefined; isExpired?: boolean | undefined; }
|
|
94
|
-
export type OauthTestTokenInput = { credentialName: string; }
|
|
95
|
-
export type OauthTestTokenOutput = { valid: boolean; error?: string | undefined; }
|
|
87
|
+
export type ListWebhookDeliveriesInput = { organizationId?: string | undefined; limit?: number | undefined; }
|
|
88
|
+
export type ListWebhookDeliveriesOutput = WebhookDeliveryRecord[]
|
|
96
89
|
export type PingOutput = { pong: true; }
|
|
97
90
|
export type ReadAgentSourceInput = { sourceFile: string; exportedName: string; }
|
|
98
91
|
export type ReadAgentSourceOutput = { config: Record<string, unknown>; }
|
|
@@ -100,9 +93,24 @@ export type ReadFunctionBodyInput = { sourceFile: string; exportedName: string;
|
|
|
100
93
|
export type ReadFunctionBodyOutput = { body: string; }
|
|
101
94
|
export type ReadFunctionSourceInput = { sourceFile: string; exportedName: string; }
|
|
102
95
|
export type ReadFunctionSourceOutput = { config: Record<string, unknown>; body: string | null; wrapperName: string; }
|
|
103
|
-
export type
|
|
104
|
-
export type
|
|
105
|
-
export type
|
|
96
|
+
export type ScopeAddScopeToUserInput = { userId: string; scope: string; }
|
|
97
|
+
export type ScopeAddScopeToUserOutput = { success: boolean; }
|
|
98
|
+
export type ScopeAddUserToRoleInput = { userId: string; role: string; }
|
|
99
|
+
export type ScopeAddUserToRoleOutput = { success: boolean; }
|
|
100
|
+
export type ScopeCreateRoleInput = { name: string; description?: string | undefined; scopes: string[]; }
|
|
101
|
+
export type ScopeCreateRoleOutput = { success: boolean; }
|
|
102
|
+
export type ScopeDeleteRoleInput = { name: string; }
|
|
103
|
+
export type ScopeDeleteRoleOutput = { success: boolean; }
|
|
104
|
+
export type ScopeListDeclaredOutput = { scopes: DeclaredScopeEntry[]; }
|
|
105
|
+
export type ScopeListRolesOutput = { roles: Role[]; }
|
|
106
|
+
export type ScopeListUserRolesInput = { userId: string; }
|
|
107
|
+
export type ScopeListUserRolesOutput = { roles: string[]; scopes: string[]; directScopes: string[]; }
|
|
108
|
+
export type ScopeRemoveScopeFromUserInput = { userId: string; scope: string; }
|
|
109
|
+
export type ScopeRemoveScopeFromUserOutput = { success: boolean; }
|
|
110
|
+
export type ScopeRemoveUserFromRoleInput = { userId: string; role: string; }
|
|
111
|
+
export type ScopeRemoveUserFromRoleOutput = { success: boolean; }
|
|
112
|
+
export type ScopeSetRoleScopesInput = { name: string; scopes: string[]; }
|
|
113
|
+
export type ScopeSetRoleScopesOutput = { success: boolean; }
|
|
106
114
|
export type StreamWorkflowRunInput = { runId: string; }
|
|
107
115
|
export type UpdateAgentConfigInput = { sourceFile: string; exportedName: string; changes: AgentConfigChanges; }
|
|
108
116
|
export type UpdateAgentConfigOutput = { success: boolean; }
|
|
@@ -130,6 +138,7 @@ export type RPCMap = {
|
|
|
130
138
|
readonly 'deleteAgentThread': RPCHandler<DeleteAgentThreadInput, DeleteAgentThreadOutput>,
|
|
131
139
|
readonly 'deleteWorkflowRun': RPCHandler<DeleteWorkflowRunInput, DeleteWorkflowRunOutput>,
|
|
132
140
|
readonly 'getAddonIcon': RPCHandler<GetAddonIconInput, string>,
|
|
141
|
+
readonly 'getAddonInstances': RPCHandler<GetAddonInstancesInput, GetAddonInstancesOutput>,
|
|
133
142
|
readonly 'getAddonMeta': RPCHandler<null, GetAddonMetaOutput>,
|
|
134
143
|
readonly 'getAddonCommunityPackage': RPCHandler<GetAddonCommunityPackageInput, AddonPackageInfo>,
|
|
135
144
|
readonly 'getAgentThreadMessages': RPCHandler<GetAgentThreadMessagesInput, GetAgentThreadMessagesOutput>,
|
|
@@ -140,7 +149,6 @@ export type RPCMap = {
|
|
|
140
149
|
readonly 'getAuthProviders': RPCHandler<null, AuthProvidersMeta>,
|
|
141
150
|
readonly 'getChannelSnippets': RPCHandler<GetChannelSnippetsInput, ChannelSnippets>,
|
|
142
151
|
readonly 'getDbSchema': RPCHandler<null, DbSchema>,
|
|
143
|
-
readonly 'getFunctionCoverage': RPCHandler<null, FunctionCoverageReport>,
|
|
144
152
|
readonly 'getFunctionsMeta': RPCHandler<null, GetFunctionsMetaOutput>,
|
|
145
153
|
readonly 'getInstalledAddons': RPCHandler<null, GetInstalledAddonsOutput>,
|
|
146
154
|
readonly 'getAddonInstalledPackage': RPCHandler<GetAddonInstalledPackageInput, AddonPackageInfo>,
|
|
@@ -149,7 +157,7 @@ export type RPCMap = {
|
|
|
149
157
|
readonly 'getSchema': RPCHandler<GetSchemaInput, JSONSchema7>,
|
|
150
158
|
readonly 'getSecurityAudit': RPCHandler<null, SecurityAuditReport>,
|
|
151
159
|
readonly 'getStateDiff': RPCHandler<GetStateDiffInput, StateDiff>,
|
|
152
|
-
readonly '
|
|
160
|
+
readonly 'getWebhookDelivery': RPCHandler<GetWebhookDeliveryInput, WebhookDeliveryWithAttempts>,
|
|
153
161
|
readonly 'getWorkflowMetaById': RPCHandler<GetWorkflowMetaByIdInput, GetWorkflowMetaByIdOutput>,
|
|
154
162
|
readonly 'getWorkflowRunHistory': RPCHandler<GetWorkflowRunHistoryInput, GetWorkflowRunHistoryOutput>,
|
|
155
163
|
readonly 'getWorkflowRunNames': RPCHandler<null, GetWorkflowRunNamesOutput>,
|
|
@@ -159,24 +167,24 @@ export type RPCMap = {
|
|
|
159
167
|
readonly 'getWorkflowVersion': RPCHandler<GetWorkflowVersionInput, GetWorkflowVersionOutput>,
|
|
160
168
|
readonly 'installAddon': RPCHandler<InstallAddonInput, InstallAddonOutput>,
|
|
161
169
|
readonly 'installOpenapiAddon': RPCHandler<InstallOpenapiAddonInput, InstallOpenapiAddonOutput>,
|
|
162
|
-
readonly '
|
|
163
|
-
readonly 'oauthDisconnect': RPCHandler<OauthDisconnectInput, null>,
|
|
164
|
-
readonly 'oauthExchangeTokens': RPCHandler<OauthExchangeTokensInput, OauthExchangeTokensOutput>,
|
|
165
|
-
readonly 'oauthRefreshToken': RPCHandler<OauthRefreshTokenInput, OauthRefreshTokenOutput>,
|
|
166
|
-
readonly 'oauthStatus': RPCHandler<OauthStatusInput, OauthStatusOutput>,
|
|
167
|
-
readonly 'oauthTestToken': RPCHandler<OauthTestTokenInput, OauthTestTokenOutput>,
|
|
170
|
+
readonly 'listWebhookDeliveries': RPCHandler<ListWebhookDeliveriesInput, ListWebhookDeliveriesOutput>,
|
|
168
171
|
readonly 'ping': RPCHandler<null, PingOutput>,
|
|
169
172
|
readonly 'readAgentSource': RPCHandler<ReadAgentSourceInput, ReadAgentSourceOutput>,
|
|
170
173
|
readonly 'readFunctionBody': RPCHandler<ReadFunctionBodyInput, ReadFunctionBodyOutput>,
|
|
171
174
|
readonly 'readFunctionSource': RPCHandler<ReadFunctionSourceInput, ReadFunctionSourceOutput>,
|
|
172
175
|
readonly 'renderEmailPreview': RPCHandler<RenderEmailPreviewInput, RenderEmailPreviewOutput>,
|
|
173
|
-
readonly 'resetLiveCoverage': RPCHandler<null, ResetLiveCoverageOutput>,
|
|
174
|
-
readonly 'resetStubs': RPCHandler<null, ResetStubsOutput>,
|
|
175
|
-
readonly 'runFunctionTests': RPCHandler<null, FunctionCoverageReport>,
|
|
176
176
|
readonly 'runSecurityAudit': RPCHandler<null, SecurityAuditReport>,
|
|
177
|
-
readonly '
|
|
177
|
+
readonly 'scopeAddScopeToUser': RPCHandler<ScopeAddScopeToUserInput, ScopeAddScopeToUserOutput>,
|
|
178
|
+
readonly 'scopeAddUserToRole': RPCHandler<ScopeAddUserToRoleInput, ScopeAddUserToRoleOutput>,
|
|
179
|
+
readonly 'scopeCreateRole': RPCHandler<ScopeCreateRoleInput, ScopeCreateRoleOutput>,
|
|
180
|
+
readonly 'scopeDeleteRole': RPCHandler<ScopeDeleteRoleInput, ScopeDeleteRoleOutput>,
|
|
181
|
+
readonly 'scopeListDeclared': RPCHandler<null, ScopeListDeclaredOutput>,
|
|
182
|
+
readonly 'scopeListRoles': RPCHandler<null, ScopeListRolesOutput>,
|
|
183
|
+
readonly 'scopeListUserRoles': RPCHandler<ScopeListUserRolesInput, ScopeListUserRolesOutput>,
|
|
184
|
+
readonly 'scopeRemoveScopeFromUser': RPCHandler<ScopeRemoveScopeFromUserInput, ScopeRemoveScopeFromUserOutput>,
|
|
185
|
+
readonly 'scopeRemoveUserFromRole': RPCHandler<ScopeRemoveUserFromRoleInput, ScopeRemoveUserFromRoleOutput>,
|
|
186
|
+
readonly 'scopeSetRoleScopes': RPCHandler<ScopeSetRoleScopesInput, ScopeSetRoleScopesOutput>,
|
|
178
187
|
readonly 'streamWorkflowRun': RPCHandler<StreamWorkflowRunInput, null>,
|
|
179
|
-
readonly 'takeLiveCoverage': RPCHandler<null, FunctionCoverageReport>,
|
|
180
188
|
readonly 'updateAgentConfig': RPCHandler<UpdateAgentConfigInput, UpdateAgentConfigOutput>,
|
|
181
189
|
readonly 'updateDependency': RPCHandler<UpdateDependencyInput, SecurityAuditReport>,
|
|
182
190
|
readonly 'updateEmailTemplate': RPCHandler<UpdateEmailTemplateInput, UpdateEmailTemplateOutput>,
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.83
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
import type { AgentCredentialRequirement } from '../../src/functions/agent-credential-check.function.js'
|
|
10
|
+
import type { CredentialUserEntry } from '../../src/functions/credential-list-users.function.js'
|
|
11
|
+
import type { AddonInstance } from '../../src/functions/get-addon-instances.function.js'
|
|
12
|
+
import type { AddonPackageInfo } from '../../src/services/addon.service.js'
|
|
13
|
+
import type { FunctionMetaWithVersions, FunctionVersionEntry } from '../../src/functions/get-functions-meta.function.js'
|
|
14
|
+
import type { FunctionRuntimeMeta, FunctionServicesMeta, FunctionWiresMeta, MiddlewareMetadata, PermissionMetadata, CommonWireMeta } from '../../../../core/dist/types/core.types.d.js'
|
|
15
|
+
import type { InstalledAddon } from '../../src/functions/get-installed-addons.function.js'
|
|
16
|
+
import type { WorkflowStepMeta, RpcStepMeta, BranchStepMeta, ParallelGroupStepMeta, FanoutStepMeta, ReturnStepMeta, InlineStepMeta, SleepStepMeta, CancelStepMeta, SuspendStepMeta, ApprovalStepMeta, SwitchStepMeta, FilterStepMeta, ArrayPredicateStepMeta, SetStepMeta } from '../../../../core/dist/wirings/workflow/dsl/workflow-dsl.types.d.js'
|
|
17
|
+
import type { WorkflowContext } from '../../../../core/dist/wirings/workflow/workflow.types.d.js'
|
|
18
|
+
import type { WebhookDeliveryRecord } from '../../../../core/dist/services/webhook-service.d.js'
|
|
19
|
+
import type { DeclaredScopeEntry } from '../../src/functions/scope-list-declared.function.js'
|
|
20
|
+
import type { Role } from '../../../../core/dist/services/scope-service.d.js'
|
|
21
|
+
import type { AgentConfigChanges, FunctionConfigChanges } from '../../src/services/code-edit.service.js'
|
|
22
|
+
|
|
23
|
+
export type AgentCredentialCheckInput = { agentName: string; }
|
|
24
|
+
export type AgentCredentialCheckOutput = { requirements: AgentCredentialRequirement[]; allConnected: boolean; }
|
|
25
|
+
export type CredentialDeleteInput = { name: string; userId?: string | undefined; }
|
|
26
|
+
export type CredentialDeleteOutput = { success: boolean; }
|
|
27
|
+
export type CredentialGetInput = { name: string; userId?: string | undefined; }
|
|
28
|
+
export type CredentialGetOutput = { value: unknown; }
|
|
29
|
+
export type CredentialListUsersOutput = { users: CredentialUserEntry[]; }
|
|
30
|
+
export type CredentialSetInput = { name: string; value: unknown; userId?: string | undefined; }
|
|
31
|
+
export type CredentialSetOutput = { success: boolean; }
|
|
32
|
+
export type CredentialStatusInput = { names: string[]; userId?: string | undefined; }
|
|
33
|
+
export type CredentialStatusOutput = { statuses: Record<string, boolean>; }
|
|
34
|
+
export type CredentialUsersInput = { name: string; }
|
|
35
|
+
export type CredentialUsersOutput = { userIds: string[]; }
|
|
36
|
+
export type DeleteAgentThreadInput = { threadId: string; }
|
|
37
|
+
export type DeleteAgentThreadOutput = { deleted: boolean; }
|
|
38
|
+
export type DeleteWorkflowRunInput = { runId: string; }
|
|
39
|
+
export type DeleteWorkflowRunOutput = { deleted: boolean; }
|
|
40
|
+
export type GetAddonCommunityPackageInput = { id: string; }
|
|
41
|
+
export type GetAddonIconInput = { alias: string; }
|
|
42
|
+
export type GetAddonInstalledPackageInput = { packageName: string; }
|
|
43
|
+
export type GetAddonInstancesInput = { packageName: string; }
|
|
44
|
+
export type GetAddonInstancesOutput = AddonInstance[]
|
|
45
|
+
export type GetAddonMetaOutput = AddonPackageInfo[]
|
|
46
|
+
export type GetAgentThreadMessagesInput = { threadId: string; }
|
|
47
|
+
export type GetAgentThreadMessagesOutput = any[]
|
|
48
|
+
export type GetAgentThreadRunsInput = { threadId: string; }
|
|
49
|
+
export type GetAgentThreadRunsOutput = any[]
|
|
50
|
+
export type GetAgentThreadsInput = { agentName?: string | undefined; resourceId?: string | undefined; limit?: number | undefined; offset?: number | undefined; }
|
|
51
|
+
export type GetAgentThreadsOutput = any[]
|
|
52
|
+
export type GetAIWorkflowsInput = { agentName?: string | undefined; }
|
|
53
|
+
export type GetAIWorkflowsOutput = { workflowName: string; graphHash: string; graph: any; }[]
|
|
54
|
+
export type GetChannelSnippetsInput = { channelName: string; }
|
|
55
|
+
export type GetFunctionsMetaOutput = FunctionMetaWithVersions[]
|
|
56
|
+
export type GetInstalledAddonsOutput = InstalledAddon[]
|
|
57
|
+
export type GetOpenapiDetailInput = { name: string; }
|
|
58
|
+
export type GetOpenapiDetailOutput = { name: string; version: string; provider: string; service: string | null; title: string; description: string; openapiVer: string; swaggerUrl: string; swaggerYamlUrl?: string | undefined; logo?: string | undefined; categories: string[]; tags: string[]; added?: string | undefined; updated?: string | undefined; }
|
|
59
|
+
export type GetOpenapisInput = { limit: number; offset: number; search?: string | undefined; }
|
|
60
|
+
export type GetOpenapisOutput = { apis: { name: string; version: string; provider: string; service: string | null; title: string; description: string; openapiVer: string; swaggerUrl: string; logo?: string | undefined; }[]; total: number; nextCursor: number | null; }
|
|
61
|
+
export type GetSchemaInput = { schemaName: string; }
|
|
62
|
+
export type GetStateDiffInput = { basePath: string; oursPath?: string | undefined; }
|
|
63
|
+
export type GetWebhookDeliveryInput = { deliveryId: string; }
|
|
64
|
+
export type GetWorkflowMetaByIdInput = { workflowId: string; }
|
|
65
|
+
export type GetWorkflowMetaByIdOutput = CommonWireMeta & { name: string; steps: WorkflowStepMeta[]; context?: WorkflowContext | undefined; dsl?: boolean | undefined; expose?: boolean | undefined; scenario?: boolean | undefined; actors?: string[] | undefined; }
|
|
66
|
+
export type GetWorkflowRunHistoryInput = { runId: string; }
|
|
67
|
+
export type GetWorkflowRunHistoryOutput = any[]
|
|
68
|
+
export type GetWorkflowRunInput = { runId: string; }
|
|
69
|
+
export type GetWorkflowRunNamesOutput = string[]
|
|
70
|
+
export type GetWorkflowRunOutput = Record<string, unknown>
|
|
71
|
+
export type GetWorkflowRunsInput = { workflowName?: string | undefined; status?: string | undefined; limit?: number | undefined; offset?: number | undefined; }
|
|
72
|
+
export type GetWorkflowRunsOutput = any[]
|
|
73
|
+
export type GetWorkflowRunStepsInput = { runId: string; }
|
|
74
|
+
export type GetWorkflowRunStepsOutput = any[]
|
|
75
|
+
export type GetWorkflowVersionInput = { name: string; graphHash: string; }
|
|
76
|
+
export type GetWorkflowVersionOutput = { graph: any; source: string; }
|
|
77
|
+
export type InstallAddonInput = { packageName: string; namespace: string; version?: string | undefined; }
|
|
78
|
+
export type InstallAddonOutput = { success: boolean; message: string; }
|
|
79
|
+
export type InstallOpenapiAddonInput = { name: string; swaggerUrl: string; credential?: "apikey" | "bearer" | "oauth2" | undefined; }
|
|
80
|
+
export type InstallOpenapiAddonOutput = { success: boolean; message: string; }
|
|
81
|
+
export type ListWebhookDeliveriesInput = { organizationId?: string | undefined; limit?: number | undefined; }
|
|
82
|
+
export type ListWebhookDeliveriesOutput = WebhookDeliveryRecord[]
|
|
83
|
+
export type PingOutput = { pong: true; }
|
|
84
|
+
export type ReadAgentSourceInput = { sourceFile: string; exportedName: string; }
|
|
85
|
+
export type ReadAgentSourceOutput = { config: Record<string, unknown>; }
|
|
86
|
+
export type ReadFunctionBodyInput = { sourceFile: string; exportedName: string; }
|
|
87
|
+
export type ReadFunctionBodyOutput = { body: string; }
|
|
88
|
+
export type ReadFunctionSourceInput = { sourceFile: string; exportedName: string; }
|
|
89
|
+
export type ReadFunctionSourceOutput = { config: Record<string, unknown>; body: string | null; wrapperName: string; }
|
|
90
|
+
export type ScopeAddScopeToUserInput = { userId: string; scope: string; }
|
|
91
|
+
export type ScopeAddScopeToUserOutput = { success: boolean; }
|
|
92
|
+
export type ScopeAddUserToRoleInput = { userId: string; role: string; }
|
|
93
|
+
export type ScopeAddUserToRoleOutput = { success: boolean; }
|
|
94
|
+
export type ScopeCreateRoleInput = { name: string; description?: string | undefined; scopes: string[]; }
|
|
95
|
+
export type ScopeCreateRoleOutput = { success: boolean; }
|
|
96
|
+
export type ScopeDeleteRoleInput = { name: string; }
|
|
97
|
+
export type ScopeDeleteRoleOutput = { success: boolean; }
|
|
98
|
+
export type ScopeListDeclaredOutput = { scopes: DeclaredScopeEntry[]; }
|
|
99
|
+
export type ScopeListRolesOutput = { roles: Role[]; }
|
|
100
|
+
export type ScopeListUserRolesInput = { userId: string; }
|
|
101
|
+
export type ScopeListUserRolesOutput = { roles: string[]; scopes: string[]; directScopes: string[]; }
|
|
102
|
+
export type ScopeRemoveScopeFromUserInput = { userId: string; scope: string; }
|
|
103
|
+
export type ScopeRemoveScopeFromUserOutput = { success: boolean; }
|
|
104
|
+
export type ScopeRemoveUserFromRoleInput = { userId: string; role: string; }
|
|
105
|
+
export type ScopeRemoveUserFromRoleOutput = { success: boolean; }
|
|
106
|
+
export type ScopeSetRoleScopesInput = { name: string; scopes: string[]; }
|
|
107
|
+
export type ScopeSetRoleScopesOutput = { success: boolean; }
|
|
108
|
+
export type StreamWorkflowRunInput = { runId: string; }
|
|
109
|
+
export type UpdateAgentConfigInput = { sourceFile: string; exportedName: string; changes: AgentConfigChanges; }
|
|
110
|
+
export type UpdateAgentConfigOutput = { success: boolean; }
|
|
111
|
+
export type UpdateDependencyInput = { package: string; version: string; }
|
|
112
|
+
export type UpdateEmailTemplateInput = { templateName: string; source: string; }
|
|
113
|
+
export type UpdateEmailTemplateOutput = { success: boolean; }
|
|
114
|
+
export type UpdateFunctionBodyInput = { sourceFile: string; exportedName: string; body: string; }
|
|
115
|
+
export type UpdateFunctionBodyOutput = { success: boolean; }
|
|
116
|
+
export type UpdateFunctionConfigInput = { sourceFile: string; exportedName: string; changes: FunctionConfigChanges; }
|
|
117
|
+
export type UpdateFunctionConfigOutput = { success: boolean; }
|
|
118
|
+
|
|
119
|
+
interface RPCHandler<I, O> {
|
|
120
|
+
input: I;
|
|
121
|
+
output: O;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export type RPCMap = {
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
// No addon packages, use RPCMap directly
|
|
130
|
+
export type FlattenedRPCMap = RPCMap
|
|
131
|
+
|
|
132
|
+
type IsAny<T> = 0 extends (1 & T) ? true : false
|
|
133
|
+
type IsVoidishInput<T> = IsAny<T> extends true
|
|
134
|
+
? false
|
|
135
|
+
: [T] extends [void | null | undefined]
|
|
136
|
+
? true
|
|
137
|
+
: false
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
141
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
142
|
+
? [name: Name]
|
|
143
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
144
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
145
|
+
|
|
146
|
+
export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
|
|
147
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
148
|
+
? [name: Name]
|
|
149
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
150
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
151
|
+
|
|
152
|
+
import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
|
|
153
|
+
|
|
154
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
type FlattenedAgentMap = AgentMap
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
161
|
+
|
|
162
|
+
interface AIAgentInput {
|
|
163
|
+
message: string
|
|
164
|
+
threadId: string
|
|
165
|
+
resourceId: string
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
169
|
+
name: Name,
|
|
170
|
+
input: FlattenedWorkflowMap[Name]['input'],
|
|
171
|
+
options?: { startNode?: string }
|
|
172
|
+
) => Promise<{ runId: string }>
|
|
173
|
+
|
|
174
|
+
export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
175
|
+
name: Name,
|
|
176
|
+
input: FlattenedWorkflowMap[Name]['input']
|
|
177
|
+
) => Promise<FlattenedWorkflowMap[Name]['output']>
|
|
178
|
+
|
|
179
|
+
export type TypedWorkflowStatus = (
|
|
180
|
+
workflowName: string,
|
|
181
|
+
runId: string
|
|
182
|
+
) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
|
|
183
|
+
|
|
184
|
+
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
185
|
+
? (name: string, input: AIAgentInput) => Promise<any>
|
|
186
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
187
|
+
name: Name,
|
|
188
|
+
input: AIAgentInput
|
|
189
|
+
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
190
|
+
|
|
191
|
+
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
192
|
+
? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
193
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
194
|
+
name: Name,
|
|
195
|
+
input: AIAgentInput,
|
|
196
|
+
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
197
|
+
) => Promise<void>
|
|
198
|
+
|
|
199
|
+
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
200
|
+
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"deleteAgentThread": "deleteAgentThread",
|
|
10
10
|
"deleteWorkflowRun": "deleteWorkflowRun",
|
|
11
11
|
"getAddonIcon": "getAddonIcon",
|
|
12
|
+
"getAddonInstances": "getAddonInstances",
|
|
12
13
|
"getAddonMeta": "getAddonMeta",
|
|
13
14
|
"getAddonCommunityPackage": "getAddonCommunityPackage",
|
|
14
15
|
"getAgentThreadMessages": "getAgentThreadMessages",
|
|
@@ -19,7 +20,6 @@
|
|
|
19
20
|
"getAuthProviders": "getAuthProviders",
|
|
20
21
|
"getChannelSnippets": "getChannelSnippets",
|
|
21
22
|
"getDbSchema": "getDbSchema",
|
|
22
|
-
"getFunctionCoverage": "getFunctionCoverage",
|
|
23
23
|
"getFunctionsMeta": "getFunctionsMeta",
|
|
24
24
|
"getInstalledAddons": "getInstalledAddons",
|
|
25
25
|
"getAddonInstalledPackage": "getAddonInstalledPackage",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"getSchema": "getSchema",
|
|
29
29
|
"getSecurityAudit": "getSecurityAudit",
|
|
30
30
|
"getStateDiff": "getStateDiff",
|
|
31
|
-
"
|
|
31
|
+
"getWebhookDelivery": "getWebhookDelivery",
|
|
32
32
|
"getWorkflowMetaById": "getWorkflowMetaById",
|
|
33
33
|
"getWorkflowRunHistory": "getWorkflowRunHistory",
|
|
34
34
|
"getWorkflowRunNames": "getWorkflowRunNames",
|
|
@@ -38,24 +38,24 @@
|
|
|
38
38
|
"getWorkflowVersion": "getWorkflowVersion",
|
|
39
39
|
"installAddon": "installAddon",
|
|
40
40
|
"installOpenapiAddon": "installOpenapiAddon",
|
|
41
|
-
"
|
|
42
|
-
"oauthDisconnect": "oauthDisconnect",
|
|
43
|
-
"oauthExchangeTokens": "oauthExchangeTokens",
|
|
44
|
-
"oauthRefreshToken": "oauthRefreshToken",
|
|
45
|
-
"oauthStatus": "oauthStatus",
|
|
46
|
-
"oauthTestToken": "oauthTestToken",
|
|
41
|
+
"listWebhookDeliveries": "listWebhookDeliveries",
|
|
47
42
|
"ping": "ping",
|
|
48
43
|
"readAgentSource": "readAgentSource",
|
|
49
44
|
"readFunctionBody": "readFunctionBody",
|
|
50
45
|
"readFunctionSource": "readFunctionSource",
|
|
51
46
|
"renderEmailPreview": "renderEmailPreview",
|
|
52
|
-
"resetLiveCoverage": "resetLiveCoverage",
|
|
53
|
-
"resetStubs": "resetStubs",
|
|
54
|
-
"runFunctionTests": "runFunctionTests",
|
|
55
47
|
"runSecurityAudit": "runSecurityAudit",
|
|
56
|
-
"
|
|
48
|
+
"scopeAddScopeToUser": "scopeAddScopeToUser",
|
|
49
|
+
"scopeAddUserToRole": "scopeAddUserToRole",
|
|
50
|
+
"scopeCreateRole": "scopeCreateRole",
|
|
51
|
+
"scopeDeleteRole": "scopeDeleteRole",
|
|
52
|
+
"scopeListDeclared": "scopeListDeclared",
|
|
53
|
+
"scopeListRoles": "scopeListRoles",
|
|
54
|
+
"scopeListUserRoles": "scopeListUserRoles",
|
|
55
|
+
"scopeRemoveScopeFromUser": "scopeRemoveScopeFromUser",
|
|
56
|
+
"scopeRemoveUserFromRole": "scopeRemoveUserFromRole",
|
|
57
|
+
"scopeSetRoleScopes": "scopeSetRoleScopes",
|
|
57
58
|
"streamWorkflowRun": "streamWorkflowRun",
|
|
58
|
-
"takeLiveCoverage": "takeLiveCoverage",
|
|
59
59
|
"updateAgentConfig": "updateAgentConfig",
|
|
60
60
|
"updateDependency": "updateDependency",
|
|
61
61
|
"updateEmailTemplate": "updateEmailTemplate",
|