@tailor-platform/sdk 2.0.0-next.8 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +631 -0
- package/dist/{application-GzW98_Xr.mjs → application-CM6hKnSK.mjs} +489 -118
- package/dist/application-CM6hKnSK.mjs.map +1 -0
- package/dist/application-CXNaUNhv.mjs +3 -0
- package/dist/cli/commands/deploy/aigateway.d.mts +2 -2
- package/dist/cli/commands/deploy/application.d.mts +2 -2
- package/dist/cli/commands/deploy/auth.d.mts +2 -2
- package/dist/cli/commands/deploy/deploy.d.mts +1 -0
- package/dist/cli/commands/deploy/executor.d.mts +2 -2
- package/dist/cli/commands/deploy/function-registry.d.mts +1 -2
- package/dist/cli/commands/deploy/idp.d.mts +2 -2
- package/dist/cli/commands/deploy/label.d.mts +2 -0
- package/dist/cli/commands/deploy/resolver.d.mts +2 -2
- package/dist/cli/commands/deploy/secret-manager.d.mts +1 -1
- package/dist/cli/commands/deploy/staticwebsite.d.mts +2 -2
- package/dist/cli/commands/deploy/tailordb/index.d.mts +4 -2
- package/dist/cli/commands/deploy/types.d.mts +2 -1
- package/dist/cli/commands/deploy/workflow-execution-policy.d.mts +1 -2
- package/dist/cli/commands/deploy/workflow.d.mts +2 -2
- package/dist/cli/commands/executor/get.d.mts +1 -10
- package/dist/cli/commands/executor/jobs.d.mts +1 -38
- package/dist/cli/commands/executor/trigger.d.mts +1 -11
- package/dist/cli/commands/generate/seed/bundler.d.mts +2 -1
- package/dist/cli/commands/tailordb/migrate/bundler.d.mts +3 -2
- package/dist/cli/commands/tailordb/migrate/diff-calculator.d.mts +11 -1
- package/dist/cli/commands/tailordb/migrate/schema-checks.d.mts +5 -0
- package/dist/cli/commands/tailordb/migrate/snapshot.d.mts +1 -1
- package/dist/cli/commands/workflow/executions.d.mts +1 -13
- package/dist/cli/commands/workflow/get.d.mts +1 -10
- package/dist/cli/commands/workflow/start.d.mts +2 -14
- package/dist/cli/index.mjs +12 -6552
- package/dist/cli/lib.d.mts +14 -15
- package/dist/cli/lib.mjs +203 -46
- package/dist/cli/lib.mjs.map +1 -1
- package/dist/cli/{index.d.mts → main.d.mts} +1 -1
- package/dist/cli/main.mjs +6777 -0
- package/dist/cli/main.mjs.map +1 -0
- package/dist/cli/services/http-adapter/bundler.d.mts +1 -0
- package/dist/cli/services/workflow/bundler.d.mts +2 -1
- package/dist/cli/shared/client.d.mts +28 -3
- package/dist/cli/shared/config-loader.d.mts +11 -4
- package/dist/cli/shared/error-json.d.mts +23 -0
- package/dist/cli/shared/script-executor.d.mts +6 -3
- package/dist/cli/shared/seed-chunker.d.mts +2 -7
- package/dist/cli/shared/seed-context.d.mts +49 -0
- package/dist/cli/shared/tailordb-namespaces.d.mts +7 -4
- package/dist/cli/shared/tsconfig-paths-plugin.d.mts +2 -0
- package/dist/cli/shared/type-generator.d.mts +4 -3
- package/dist/completion/zsh-worker.zsh +85 -22
- package/dist/configure/config/types.d.mts +29 -4
- package/dist/configure/index.d.mts +4 -3
- package/dist/configure/index.mjs +183 -6
- package/dist/configure/index.mjs.map +1 -1
- package/dist/configure/services/executor/index.d.mts +2 -2
- package/dist/configure/services/executor/trigger/event.d.mts +245 -2
- package/dist/configure/services/executor/trigger/index.d.mts +3 -3
- package/dist/configure/services/idp/index.d.mts +2 -2
- package/dist/configure/services/idp/permission.d.mts +1 -16
- package/dist/configure/services/idp/types.d.mts +5 -1
- package/dist/configure/services/index.d.mts +4 -3
- package/dist/configure/services/resolver/index.d.mts +2 -1
- package/dist/configure/services/resolver/permission.d.mts +64 -0
- package/dist/configure/services/resolver/resolver.d.mts +14 -2
- package/dist/configure/services/tailordb/index.d.mts +0 -1
- package/dist/configure/services/tailordb/permission.d.mts +1 -16
- package/dist/configure/services/workflow/execution-policy.d.mts +3 -3
- package/dist/configure/services/workflow/execution-policy.types.d.mts +1 -1
- package/dist/configure/services/workflow/job.d.mts +11 -2
- package/dist/configure/services/workflow/workflow.d.mts +10 -0
- package/dist/configure/types/permission-operand.types.d.mts +20 -0
- package/dist/{crashreport-CxHne11E.mjs → crashreport-B5LqCTfF.mjs} +2 -2
- package/dist/{crashreport-CxHne11E.mjs.map → crashreport-B5LqCTfF.mjs.map} +1 -1
- package/dist/{crashreport-0ioNRZ4K.mjs → crashreport-eI7ty7ok.mjs} +1 -1
- package/dist/{errors-DfnF4ibq.mjs → errors-D7583Zz7.mjs} +2 -44
- package/dist/errors-D7583Zz7.mjs.map +1 -0
- package/dist/{globals-CBZ0egXT.mjs → globals-TfAVItuK.mjs} +21 -5
- package/dist/globals-TfAVItuK.mjs.map +1 -0
- package/dist/logger-BtX0suGY.mjs +48 -0
- package/dist/logger-BtX0suGY.mjs.map +1 -0
- package/dist/{logger-BwS4ppwO.mjs → logger-CXQq9YIp.mjs} +110 -13
- package/dist/logger-CXQq9YIp.mjs.map +1 -0
- package/dist/node-builtins-CmaL2Cbq.mjs +36 -0
- package/dist/node-builtins-CmaL2Cbq.mjs.map +1 -0
- package/dist/plugin/builtin/enum-constants/index.mjs +115 -2
- package/dist/plugin/builtin/enum-constants/index.mjs.map +1 -0
- package/dist/plugin/builtin/file-utils/index.mjs +149 -2
- package/dist/plugin/builtin/file-utils/index.mjs.map +1 -0
- package/dist/plugin/builtin/kysely-type/index.mjs +274 -2
- package/dist/plugin/builtin/kysely-type/index.mjs.map +1 -0
- package/dist/plugin/builtin/seed/index.d.mts +3 -2
- package/dist/plugin/builtin/seed/index.mjs +1 -1
- package/dist/plugin/builtin/seed/seed-type-processor.d.mts +21 -0
- package/dist/plugin/builtin/seed/types.d.mts +2 -0
- package/dist/{register-ts-hook-DvEs6YsL.mjs → register-ts-hook-LYV7zH-e.mjs} +2953 -996
- package/dist/register-ts-hook-LYV7zH-e.mjs.map +1 -0
- package/dist/{registry-i7EdJ-D5.mjs → registry-BIGVUrMB.mjs} +3 -3
- package/dist/registry-BIGVUrMB.mjs.map +1 -0
- package/dist/runtime/globals.d.mts +7 -0
- package/dist/runtime/index.d.mts +3 -1
- package/dist/runtime/index.mjs +3 -2
- package/dist/runtime/logger.d.mts +98 -0
- package/dist/runtime/logger.mjs +3 -0
- package/dist/runtime/workflow.d.mts +15 -7
- package/dist/runtime/workflow.mjs +1 -1
- package/dist/seed-B-yckgQY.mjs +483 -0
- package/dist/seed-B-yckgQY.mjs.map +1 -0
- package/dist/{service-DaeJlBoH.mjs → service-B5WynBHQ.mjs} +3 -3
- package/dist/{service-DaeJlBoH.mjs.map → service-B5WynBHQ.mjs.map} +1 -1
- package/dist/service-M7OYziQP.mjs +3 -0
- package/dist/{service-Dmxa2I4i.mjs → service-k1xy_A5G.mjs} +30 -4
- package/dist/service-k1xy_A5G.mjs.map +1 -0
- package/dist/{service_pb-BoLM0X4K.mjs → service_pb-D5--My_M.mjs} +5 -5
- package/dist/service_pb-D5--My_M.mjs.map +1 -0
- package/dist/{service_pb-r1T7kpJc.mjs → service_pb-i8CmnQP4.mjs} +1 -1
- package/dist/tailor-proto/src/tailor/v1/application_pb.d.mts +106 -1
- package/dist/tailor-proto/src/tailor/v1/auth_resource_pb.d.mts +6 -1
- package/dist/tailor-proto/src/tailor/v1/executor_resource_pb.d.mts +24 -1
- package/dist/tailor-proto/src/tailor/v1/function_pb.d.mts +49 -1
- package/dist/tailor-proto/src/tailor/v1/service_pb.d.mts +89 -6
- package/dist/tailor-proto/src/tailor/v1/telemetryrouter_resource_pb.d.mts +26 -1
- package/dist/tailor-proto/src/tailor/v1/workflow_pb.d.mts +101 -1
- package/dist/tailor-proto/src/tailor/v1/workflow_resource_pb.d.mts +22 -1
- package/dist/types/auth.generated.d.mts +14 -2
- package/dist/types/executor.generated.d.mts +45 -3
- package/dist/types/http-adapter.generated.d.mts +5 -0
- package/dist/types/idp.generated.d.mts +31 -1
- package/dist/types/resolver.generated.d.mts +30 -2
- package/dist/types/tailordb.generated.d.mts +15 -3
- package/dist/utils/test/index.d.mts +1 -2
- package/dist/utils/test/index.mjs +1 -169
- package/dist/utils/test/index.mjs.map +1 -1
- package/dist/vitest/environment.mjs +1 -1
- package/dist/vitest/index.d.mts +6 -4
- package/dist/vitest/index.mjs +112 -62
- package/dist/vitest/index.mjs.map +1 -1
- package/dist/vitest/mock.d.mts +2 -1
- package/dist/vitest/mocks/logger.d.mts +45 -0
- package/dist/vitest/mocks/workflow.d.mts +8 -8
- package/dist/vitest/setup.mjs +1 -1
- package/dist/{workflow-CsBvRE3g.mjs → workflow-Bamae_Yc.mjs} +5 -5
- package/dist/workflow-Bamae_Yc.mjs.map +1 -0
- package/dist/{workspace_resource_pb-Db3fv68L.mjs → workspace_resource_pb-DXnO2AT-.mjs} +13 -8
- package/dist/workspace_resource_pb-DXnO2AT-.mjs.map +1 -0
- package/docs/cli/application.md +5 -1
- package/docs/cli/tailordb.md +47 -13
- package/docs/cli-reference.md +38 -30
- package/docs/configuration.md +54 -2
- package/docs/github-actions.md +2 -2
- package/docs/migration/v2.md +408 -5
- package/docs/runtime.md +5 -1
- package/docs/services/executor.md +83 -3
- package/docs/services/idp.md +8 -6
- package/docs/services/resolver.md +60 -4
- package/docs/services/tailordb-migration.md +31 -7
- package/docs/services/tailordb.md +7 -5
- package/docs/services/workflow.md +33 -3
- package/docs/testing.md +34 -7
- package/package.json +31 -24
- package/dist/application-GzW98_Xr.mjs.map +0 -1
- package/dist/application-OM0taSPn.mjs +0 -3
- package/dist/cli/index.mjs.map +0 -1
- package/dist/enum-constants-j9QBF0cB.mjs +0 -116
- package/dist/enum-constants-j9QBF0cB.mjs.map +0 -1
- package/dist/errors-DfnF4ibq.mjs.map +0 -1
- package/dist/file-utils-yEiIS4nJ.mjs +0 -150
- package/dist/file-utils-yEiIS4nJ.mjs.map +0 -1
- package/dist/globals-CBZ0egXT.mjs.map +0 -1
- package/dist/kysely-type-DqIRgDYR.mjs +0 -275
- package/dist/kysely-type-DqIRgDYR.mjs.map +0 -1
- package/dist/logger-BwS4ppwO.mjs.map +0 -1
- package/dist/register-ts-hook-DvEs6YsL.mjs.map +0 -1
- package/dist/registry-i7EdJ-D5.mjs.map +0 -1
- package/dist/seed-CRSQJI_z.mjs +0 -1170
- package/dist/seed-CRSQJI_z.mjs.map +0 -1
- package/dist/service-BJAQ70e5.mjs +0 -3
- package/dist/service-Dmxa2I4i.mjs.map +0 -1
- package/dist/service_pb-BoLM0X4K.mjs.map +0 -1
- package/dist/utils/test/mock.d.mts +0 -86
- package/dist/workflow-CsBvRE3g.mjs.map +0 -1
- package/dist/workspace_resource_pb-Db3fv68L.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AddOrganizationTeamMemberRequestSchema, AddOrganizationTeamMemberResponseSchema, CreateOrganizationFolderRequestSchema, CreateOrganizationFolderResponseSchema, CreateOrganizationTeamRequestSchema, CreateOrganizationTeamResponseSchema, CreateWorkspaceRequestSchema, CreateWorkspaceResponseSchema, DeleteOrganizationFolderIPRestrictionRequestSchema, DeleteOrganizationFolderIPRestrictionResponseSchema, DeleteOrganizationFolderRequestSchema, DeleteOrganizationFolderResponseSchema, DeleteOrganizationIPRestrictionRequestSchema, DeleteOrganizationIPRestrictionResponseSchema, DeleteOrganizationTeamRequestSchema, DeleteOrganizationTeamResponseSchema, DeleteWorkspaceRequestSchema, DeleteWorkspaceResponseSchema, GetOrganizationAccessRequestSchema, GetOrganizationAccessResponseSchema, GetOrganizationFolderAccessRequestSchema, GetOrganizationFolderAccessResponseSchema, GetOrganizationFolderIPRestrictionRequestSchema, GetOrganizationFolderIPRestrictionResponseSchema, GetOrganizationFolderRequestSchema, GetOrganizationFolderResponseSchema, GetOrganizationIPRestrictionRequestSchema, GetOrganizationIPRestrictionResponseSchema, GetOrganizationRequestSchema, GetOrganizationResponseSchema, GetOrganizationTeamMemberRequestSchema, GetOrganizationTeamMemberResponseSchema, GetOrganizationTeamRequestSchema, GetOrganizationTeamResponseSchema, GetPlatformAccountPlanRequestSchema, GetPlatformAccountPlanResponseSchema, GetWorkspacePlatformUserRequestSchema, GetWorkspacePlatformUserResponseSchema, GetWorkspaceRequestSchema, GetWorkspaceResponseSchema, GetWorkspaceRoleRequestSchema, GetWorkspaceRoleResponseSchema, GrantOrganizationAccessRequestSchema, GrantOrganizationAccessResponseSchema, GrantOrganizationFolderAccessRequestSchema, GrantOrganizationFolderAccessResponseSchema, InviteWorkspacePlatformUserRequestSchema, InviteWorkspacePlatformUserResponseSchema, ListAvailableWorkspacePlatformUserRolesRequestSchema, ListAvailableWorkspacePlatformUserRolesResponseSchema, ListAvailableWorkspaceRegionsRequestSchema, ListAvailableWorkspaceRegionsResponseSchema, ListOrganizationAccessesRequestSchema, ListOrganizationAccessesResponseSchema, ListOrganizationFolderAccessesRequestSchema, ListOrganizationFolderAccessesResponseSchema, ListOrganizationFoldersRequestSchema, ListOrganizationFoldersResponseSchema, ListOrganizationTeamMembersRequestSchema, ListOrganizationTeamMembersResponseSchema, ListOrganizationTeamsRequestSchema, ListOrganizationTeamsResponseSchema, ListOrganizationWorkspacesRequestSchema, ListOrganizationWorkspacesResponseSchema, ListOrganizationsRequestSchema, ListOrganizationsResponseSchema, ListUserOrganizationsRequestSchema, ListUserOrganizationsResponseSchema, ListWorkspacePlatformUsersRequestSchema, ListWorkspacePlatformUsersResponseSchema, ListWorkspacesRequestSchema, ListWorkspacesResponseSchema, RemoveOrganizationTeamMemberRequestSchema, RemoveOrganizationTeamMemberResponseSchema, RemoveWorkspacePlatformUserRequestSchema, RemoveWorkspacePlatformUserResponseSchema, RestoreWorkspaceRequestSchema, RestoreWorkspaceResponseSchema, RevokeOrganizationAccessRequestSchema, RevokeOrganizationAccessResponseSchema, RevokeOrganizationFolderAccessRequestSchema, RevokeOrganizationFolderAccessResponseSchema, UpdateOrganizationAccessRequestSchema, UpdateOrganizationAccessResponseSchema, UpdateOrganizationFolderAccessRequestSchema, UpdateOrganizationFolderAccessResponseSchema, UpdateOrganizationFolderRequestSchema, UpdateOrganizationFolderResponseSchema, UpdateOrganizationRequestSchema, UpdateOrganizationResponseSchema, UpdateOrganizationTeamMemberRequestSchema, UpdateOrganizationTeamMemberResponseSchema, UpdateOrganizationTeamRequestSchema, UpdateOrganizationTeamResponseSchema, UpdateWorkspacePlatformUserRequestSchema, UpdateWorkspacePlatformUserResponseSchema, UpdateWorkspaceRequestSchema, UpdateWorkspaceResponseSchema, UpsertOrganizationFolderIPRestrictionRequestSchema, UpsertOrganizationFolderIPRestrictionResponseSchema, UpsertOrganizationIPRestrictionRequestSchema, UpsertOrganizationIPRestrictionResponseSchema } from "./workspace_pb.mjs";
|
|
2
|
-
import { CreateApplicationRequestSchema, CreateApplicationResponseSchema, DeleteApplicationRequestSchema, DeleteApplicationResponseSchema, GetApplicationRequestSchema, GetApplicationResponseSchema, GetApplicationSchemaHealthRequestSchema, GetApplicationSchemaHealthResponseSchema, ListApplicationsRequestSchema, ListApplicationsResponseSchema, UpdateApplicationRequestSchema, UpdateApplicationResponseSchema } from "./application_pb.mjs";
|
|
2
|
+
import { CloneApplicationDataRequestSchema, CloneApplicationDataResponseSchema, CreateApplicationRequestSchema, CreateApplicationResponseSchema, DeleteApplicationRequestSchema, DeleteApplicationResponseSchema, GetApplicationRequestSchema, GetApplicationResponseSchema, GetApplicationSchemaHealthRequestSchema, GetApplicationSchemaHealthResponseSchema, GetCloneApplicationDataOperationRequestSchema, GetCloneApplicationDataOperationResponseSchema, ListApplicationsRequestSchema, ListApplicationsResponseSchema, UpdateApplicationRequestSchema, UpdateApplicationResponseSchema } from "./application_pb.mjs";
|
|
3
3
|
import { CreateAIGatewayRequestSchema, CreateAIGatewayResponseSchema, DeleteAIGatewayRequestSchema, DeleteAIGatewayResponseSchema, GetAIGatewayRequestSchema, GetAIGatewayResponseSchema, ListAIGatewaysRequestSchema, ListAIGatewaysResponseSchema, UpdateAIGatewayRequestSchema, UpdateAIGatewayResponseSchema } from "./aigateway_pb.mjs";
|
|
4
4
|
import { ComposeTailorDBSDLRequestSchema, ComposeTailorDBSDLResponseSchema, CreateTailorDBGQLPermissionRequestSchema, CreateTailorDBGQLPermissionResponseSchema, CreateTailorDBServiceRequestSchema, CreateTailorDBServiceResponseSchema, CreateTailorDBTypeRequestSchema, CreateTailorDBTypeResponseSchema, DeleteTailorDBGQLPermissionRequestSchema, DeleteTailorDBGQLPermissionResponseSchema, DeleteTailorDBServiceRequestSchema, DeleteTailorDBServiceResponseSchema, DeleteTailorDBTypeRequestSchema, DeleteTailorDBTypeResponseSchema, GetTailorDBGQLPermissionRequestSchema, GetTailorDBGQLPermissionResponseSchema, GetTailorDBServiceRequestSchema, GetTailorDBServiceResponseSchema, GetTailorDBTypeRequestSchema, GetTailorDBTypeResponseSchema, ListTailorDBGQLPermissionsRequestSchema, ListTailorDBGQLPermissionsResponseSchema, ListTailorDBServicesRequestSchema, ListTailorDBServicesResponseSchema, ListTailorDBTypesRequestSchema, ListTailorDBTypesResponseSchema, TruncateTailorDBTypeRequestSchema, TruncateTailorDBTypeResponseSchema, TruncateTailorDBTypesRequestSchema, TruncateTailorDBTypesResponseSchema, UpdateTailorDBGQLPermissionRequestSchema, UpdateTailorDBGQLPermissionResponseSchema, UpdateTailorDBServiceRequestSchema, UpdateTailorDBServiceResponseSchema, UpdateTailorDBTypeRequestSchema, UpdateTailorDBTypeResponseSchema } from "./tailordb_pb.mjs";
|
|
5
5
|
import { ComposePipelineSDLRequestSchema, ComposePipelineSDLResponseSchema, CreatePipelineResolverRequestSchema, CreatePipelineResolverResponseSchema, CreatePipelineServiceRequestSchema, CreatePipelineServiceResponseSchema, DeletePipelineResolverRequestSchema, DeletePipelineResolverResponseSchema, DeletePipelineServiceRequestSchema, DeletePipelineServiceResponseSchema, GetPipelineResolverExecutionResultRequestSchema, GetPipelineResolverExecutionResultResponseSchema, GetPipelineResolverRequestSchema, GetPipelineResolverResponseSchema, GetPipelineServiceRequestSchema, GetPipelineServiceResponseSchema, ListPipelineResolverExecutionResultsRequestSchema, ListPipelineResolverExecutionResultsResponseSchema, ListPipelineResolversRequestSchema, ListPipelineResolversResponseSchema, ListPipelineServicesRequestSchema, ListPipelineServicesResponseSchema, RestartPipelineResolverRequestSchema, RestartPipelineResolverResponseSchema, UpdatePipelineResolverRequestSchema, UpdatePipelineResolverResponseSchema, UpdatePipelineServiceRequestSchema, UpdatePipelineServiceResponseSchema } from "./pipeline_pb.mjs";
|
|
@@ -8,12 +8,12 @@ import { CreateExecutorExecutorRequestSchema, CreateExecutorExecutorResponseSche
|
|
|
8
8
|
import { CreateSecretManagerSecretRequestSchema, CreateSecretManagerSecretResponseSchema, CreateSecretManagerVaultRequestSchema, CreateSecretManagerVaultResponseSchema, DeleteSecretManagerSecretRequestSchema, DeleteSecretManagerSecretResponseSchema, DeleteSecretManagerVaultRequestSchema, DeleteSecretManagerVaultResponseSchema, GetSecretManagerSecretRequestSchema, GetSecretManagerSecretResponseSchema, GetSecretManagerVaultRequestSchema, GetSecretManagerVaultResponseSchema, ListSecretManagerSecretsRequestSchema, ListSecretManagerSecretsResponseSchema, ListSecretManagerVaultsRequestSchema, ListSecretManagerVaultsResponseSchema, UpdateSecretManagerSecretRequestSchema, UpdateSecretManagerSecretResponseSchema } from "./secret_manager_pb.mjs";
|
|
9
9
|
import { CreateAuthConnectionRequestSchema, CreateAuthConnectionResponseSchema, CreateAuthHookRequestSchema, CreateAuthHookResponseSchema, CreateAuthIDPConfigRequestSchema, CreateAuthIDPConfigResponseSchema, CreateAuthMachineUserRequestSchema, CreateAuthMachineUserResponseSchema, CreateAuthOAuth2ClientRequestSchema, CreateAuthOAuth2ClientResponseSchema, CreateAuthSCIMConfigRequestSchema, CreateAuthSCIMConfigResponseSchema, CreateAuthSCIMResourceRequestSchema, CreateAuthSCIMResourceResponseSchema, CreateAuthServiceRequestSchema, CreateAuthServiceResponseSchema, CreateControlplaneMachineUserRequestSchema, CreateControlplaneMachineUserResponseSchema, CreatePersonalAccessTokenRequestSchema, CreatePersonalAccessTokenResponseSchema, CreateTenantConfigRequestSchema, CreateTenantConfigResponseSchema, CreateUserProfileConfigRequestSchema, CreateUserProfileConfigResponseSchema, DeleteAuthConnectionRequestSchema, DeleteAuthConnectionResponseSchema, DeleteAuthHookRequestSchema, DeleteAuthHookResponseSchema, DeleteAuthIDPConfigRequestSchema, DeleteAuthIDPConfigResponseSchema, DeleteAuthMachineUserRequestSchema, DeleteAuthMachineUserResponseSchema, DeleteAuthOAuth2ClientRequestSchema, DeleteAuthOAuth2ClientResponseSchema, DeleteAuthSCIMConfigRequestSchema, DeleteAuthSCIMConfigResponseSchema, DeleteAuthSCIMResourceRequestSchema, DeleteAuthSCIMResourceResponseSchema, DeleteAuthServiceRequestSchema, DeleteAuthServiceResponseSchema, DeleteControlplaneMachineUserRequestSchema, DeleteControlplaneMachineUserResponseSchema, DeletePersonalAccessTokenRequestSchema, DeletePersonalAccessTokenResponseSchema, DeleteTenantConfigRequestSchema, DeleteTenantConfigResponseSchema, DeleteUserProfileConfigRequestSchema, DeleteUserProfileConfigResponseSchema, ExchangeAuthConnectionAuthorizationCodeRequestSchema, ExchangeAuthConnectionAuthorizationCodeResponseSchema, GetAuthHookRequestSchema, GetAuthHookResponseSchema, GetAuthIDPConfigRequestSchema, GetAuthIDPConfigResponseSchema, GetAuthMachineUserRequestSchema, GetAuthMachineUserResponseSchema, GetAuthOAuth2ClientRequestSchema, GetAuthOAuth2ClientResponseSchema, GetAuthSCIMConfigRequestSchema, GetAuthSCIMConfigResponseSchema, GetAuthSCIMResourceRequestSchema, GetAuthSCIMResourceResponseSchema, GetAuthSCIMResourcesRequestSchema, GetAuthSCIMResourcesResponseSchema, GetAuthServiceRequestSchema, GetAuthServiceResponseSchema, GetControlplaneMachineUserByNameRequestSchema, GetControlplaneMachineUserByNameResponseSchema, GetControlplaneMachineUserRequestSchema, GetControlplaneMachineUserResponseSchema, GetTenantConfigRequestSchema, GetTenantConfigResponseSchema, GetUserProfileConfigRequestSchema, GetUserProfileConfigResponseSchema, ListAuthConnectionsRequestSchema, ListAuthConnectionsResponseSchema, ListAuthIDPConfigsRequestSchema, ListAuthIDPConfigsResponseSchema, ListAuthMachineUsersRequestSchema, ListAuthMachineUsersResponseSchema, ListAuthOAuth2ClientsRequestSchema, ListAuthOAuth2ClientsResponseSchema, ListAuthServicesRequestSchema, ListAuthServicesResponseSchema, ListControlplaneMachineUsersRequestSchema, ListControlplaneMachineUsersResponseSchema, ListPersonalAccessTokensRequestSchema, ListPersonalAccessTokensResponseSchema, RegisterAuthConnectionSessionRequestSchema, RegisterAuthConnectionSessionResponseSchema, RevokeAuthConnectionRequestSchema, RevokeAuthConnectionResponseSchema, UpdateAuthConnectionRequestSchema, UpdateAuthConnectionResponseSchema, UpdateAuthHookRequestSchema, UpdateAuthHookResponseSchema, UpdateAuthIDPConfigRequestSchema, UpdateAuthIDPConfigResponseSchema, UpdateAuthMachineUserRequestSchema, UpdateAuthMachineUserResponseSchema, UpdateAuthOAuth2ClientRequestSchema, UpdateAuthOAuth2ClientResponseSchema, UpdateAuthSCIMConfigRequestSchema, UpdateAuthSCIMConfigResponseSchema, UpdateAuthSCIMResourceRequestSchema, UpdateAuthSCIMResourceResponseSchema, UpdateAuthServiceRequestSchema, UpdateAuthServiceResponseSchema, UpdateControlplaneMachineUserRequestSchema, UpdateControlplaneMachineUserResponseSchema, UpdateTenantConfigRequestSchema, UpdateTenantConfigResponseSchema, UpdateUserProfileConfigRequestSchema, UpdateUserProfileConfigResponseSchema } from "./auth_pb.mjs";
|
|
10
10
|
import { ListControlplaneActivityLogsRequestSchema, ListControlplaneActivityLogsResponseSchema, ListDataplaneEventsRequestSchema, ListDataplaneEventsResponseSchema } from "./events_pb.mjs";
|
|
11
|
-
import { GetFunctionExecutionRequestSchema, GetFunctionExecutionResponseSchema, ListFunctionExecutionsRequestSchema, ListFunctionExecutionsResponseSchema, TestExecScriptRequestSchema, TestExecScriptResponseSchema } from "./function_pb.mjs";
|
|
11
|
+
import { ExecScriptRequestSchema, ExecScriptResponseSchema, GetFunctionExecutionRequestSchema, GetFunctionExecutionResponseSchema, ListFunctionExecutionsRequestSchema, ListFunctionExecutionsResponseSchema, TestExecScriptRequestSchema, TestExecScriptResponseSchema } from "./function_pb.mjs";
|
|
12
12
|
import { CreateFunctionRegistryRequestSchema, CreateFunctionRegistryResponseSchema, DeleteFunctionRegistryRequestSchema, DeleteFunctionRegistryResponseSchema, DownloadFunctionRegistryScriptRequestSchema, DownloadFunctionRegistryScriptResponseSchema, GetFunctionRegistryRequestSchema, GetFunctionRegistryResponseSchema, ListFunctionRegistriesRequestSchema, ListFunctionRegistriesResponseSchema, UpdateFunctionRegistryRequestSchema, UpdateFunctionRegistryResponseSchema } from "./function_registry_pb.mjs";
|
|
13
13
|
import { ListMeterAITokenUsagesRequestSchema, ListMeterAITokenUsagesResponseSchema, ListMeterEventCountsRequestSchema, ListMeterEventCountsResponseSchema, ListMeterExecutionCountsRequestSchema, ListMeterExecutionCountsResponseSchema, ListMeterRequestCountsRequestSchema, ListMeterRequestCountsResponseSchema } from "./meter_pb.mjs";
|
|
14
14
|
import { CreateIdPClientRequestSchema, CreateIdPClientResponseSchema, CreateIdPServiceRequestSchema, CreateIdPServiceResponseSchema, DeleteIdPClientRequestSchema, DeleteIdPClientResponseSchema, DeleteIdPServiceRequestSchema, DeleteIdPServiceResponseSchema, GetIdPClientRequestSchema, GetIdPClientResponseSchema, GetIdPServiceRequestSchema, GetIdPServiceResponseSchema, ListIdPClientsRequestSchema, ListIdPClientsResponseSchema, ListIdPServicesRequestSchema, ListIdPServicesResponseSchema, UpdateIdPServiceRequestSchema, UpdateIdPServiceResponseSchema } from "./idp_pb.mjs";
|
|
15
15
|
import { AddCustomDomainRequestSchema, AddCustomDomainResponseSchema, CreateDeploymentRequestSchema, CreateDeploymentResponseSchema, CreateStaticWebsiteRequestSchema, CreateStaticWebsiteResponseSchema, DeleteStaticWebsiteRequestSchema, DeleteStaticWebsiteResponseSchema, GetCustomDomainRequestSchema, GetCustomDomainResponseSchema, GetStaticWebsiteRequestSchema, GetStaticWebsiteResponseSchema, ListCustomDomainsRequestSchema, ListCustomDomainsResponseSchema, ListStaticWebsitesRequestSchema, ListStaticWebsitesResponseSchema, PublishDeploymentRequestSchema, PublishDeploymentResponseSchema, RemoveCustomDomainRequestSchema, RemoveCustomDomainResponseSchema, UpdateStaticWebsiteRequestSchema, UpdateStaticWebsiteResponseSchema, UploadFileRequestSchema, UploadFileResponseSchema } from "./staticwebsite_pb.mjs";
|
|
16
|
-
import { CreateWorkflowJobFunctionExecutionPolicyRequestSchema, CreateWorkflowJobFunctionExecutionPolicyResponseSchema, CreateWorkflowJobFunctionRequestSchema, CreateWorkflowJobFunctionResponseSchema, CreateWorkflowRequestSchema, CreateWorkflowResponseSchema, DeleteWorkflowJobFunctionExecutionPolicyRequestSchema, DeleteWorkflowJobFunctionExecutionPolicyResponseSchema, DeleteWorkflowJobFunctionRequestSchema, DeleteWorkflowJobFunctionResponseSchema, DeleteWorkflowRequestSchema, DeleteWorkflowResponseSchema, GetWorkflowByNameRequestSchema, GetWorkflowByNameResponseSchema, GetWorkflowExecutionRequestSchema, GetWorkflowExecutionResponseSchema, GetWorkflowJobFunctionByNameRequestSchema, GetWorkflowJobFunctionByNameResponseSchema, GetWorkflowJobFunctionExecutionPolicyByKeyRequestSchema, GetWorkflowJobFunctionExecutionPolicyByKeyResponseSchema, GetWorkflowJobFunctionExecutionPolicyRequestSchema, GetWorkflowJobFunctionExecutionPolicyResponseSchema, GetWorkflowJobFunctionRequestSchema, GetWorkflowJobFunctionResponseSchema, GetWorkflowRequestSchema, GetWorkflowResponseSchema, ListWorkflowExecutionsRequestSchema, ListWorkflowExecutionsResponseSchema, ListWorkflowJobFunctionExecutionPoliciesRequestSchema, ListWorkflowJobFunctionExecutionPoliciesResponseSchema, ListWorkflowJobFunctionsRequestSchema, ListWorkflowJobFunctionsResponseSchema, ListWorkflowsRequestSchema, ListWorkflowsResponseSchema, TestResumeWorkflowRequestSchema, TestResumeWorkflowResponseSchema, TestStartWorkflowRequestSchema, TestStartWorkflowResponseSchema, UpdateWorkflowJobFunctionExecutionPolicyRequestSchema, UpdateWorkflowJobFunctionExecutionPolicyResponseSchema, UpdateWorkflowJobFunctionRequestSchema, UpdateWorkflowJobFunctionResponseSchema, UpdateWorkflowRequestSchema, UpdateWorkflowResponseSchema } from "./workflow_pb.mjs";
|
|
16
|
+
import { CreateWorkflowJobFunctionExecutionPolicyRequestSchema, CreateWorkflowJobFunctionExecutionPolicyResponseSchema, CreateWorkflowJobFunctionRequestSchema, CreateWorkflowJobFunctionResponseSchema, CreateWorkflowRequestSchema, CreateWorkflowResponseSchema, DeleteWorkflowJobFunctionExecutionPolicyRequestSchema, DeleteWorkflowJobFunctionExecutionPolicyResponseSchema, DeleteWorkflowJobFunctionRequestSchema, DeleteWorkflowJobFunctionResponseSchema, DeleteWorkflowRequestSchema, DeleteWorkflowResponseSchema, GetWorkflowByNameRequestSchema, GetWorkflowByNameResponseSchema, GetWorkflowExecutionRequestSchema, GetWorkflowExecutionResponseSchema, GetWorkflowJobFunctionByNameRequestSchema, GetWorkflowJobFunctionByNameResponseSchema, GetWorkflowJobFunctionExecutionPolicyByKeyRequestSchema, GetWorkflowJobFunctionExecutionPolicyByKeyResponseSchema, GetWorkflowJobFunctionExecutionPolicyRequestSchema, GetWorkflowJobFunctionExecutionPolicyResponseSchema, GetWorkflowJobFunctionRequestSchema, GetWorkflowJobFunctionResponseSchema, GetWorkflowRequestSchema, GetWorkflowResponseSchema, ListWorkflowExecutionsRequestSchema, ListWorkflowExecutionsResponseSchema, ListWorkflowJobFunctionExecutionPoliciesRequestSchema, ListWorkflowJobFunctionExecutionPoliciesResponseSchema, ListWorkflowJobFunctionsRequestSchema, ListWorkflowJobFunctionsResponseSchema, ListWorkflowsRequestSchema, ListWorkflowsResponseSchema, ResumeWorkflowExecutionRequestSchema, ResumeWorkflowExecutionResponseSchema, StartWorkflowRequestSchema, StartWorkflowResponseSchema, TestResumeWorkflowRequestSchema, TestResumeWorkflowResponseSchema, TestStartWorkflowRequestSchema, TestStartWorkflowResponseSchema, UpdateWorkflowJobFunctionExecutionPolicyRequestSchema, UpdateWorkflowJobFunctionExecutionPolicyResponseSchema, UpdateWorkflowJobFunctionRequestSchema, UpdateWorkflowJobFunctionResponseSchema, UpdateWorkflowRequestSchema, UpdateWorkflowResponseSchema } from "./workflow_pb.mjs";
|
|
17
17
|
import { GetMetadataRequestSchema, GetMetadataResponseSchema, SetMetadataRequestSchema, SetMetadataResponseSchema } from "./metadata_pb.mjs";
|
|
18
18
|
import { CreateOTLPExporterRequestSchema, CreateOTLPExporterResponseSchema, CreateResourceAttributesConfigRequestSchema, CreateResourceAttributesConfigResponseSchema, DeleteOTLPExporterRequestSchema, DeleteOTLPExporterResponseSchema, DeleteResourceAttributesConfigRequestSchema, DeleteResourceAttributesConfigResponseSchema, GetOTLPExporterRequestSchema, GetOTLPExporterResponseSchema, GetResourceAttributesConfigRequestSchema, GetResourceAttributesConfigResponseSchema, ListOTLPExportersRequestSchema, ListOTLPExportersResponseSchema, TestOTLPExporterRequestSchema, TestOTLPExporterResponseSchema, UpdateOTLPExporterRequestSchema, UpdateOTLPExporterResponseSchema, UpdateResourceAttributesConfigRequestSchema, UpdateResourceAttributesConfigResponseSchema } from "./telemetryrouter_pb.mjs";
|
|
19
19
|
import { GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
@@ -925,6 +925,39 @@ declare const OperatorService: GenService<{
|
|
|
925
925
|
input: typeof GetApplicationSchemaHealthRequestSchema;
|
|
926
926
|
output: typeof GetApplicationSchemaHealthResponseSchema;
|
|
927
927
|
};
|
|
928
|
+
/**
|
|
929
|
+
* CloneApplicationData clones data for an application from a source to a target.
|
|
930
|
+
* The RPC returns immediately and the clone runs asynchronously.
|
|
931
|
+
*
|
|
932
|
+
* [Errors]
|
|
933
|
+
* - Unauthenticated: token is missing, expired, or invalid
|
|
934
|
+
* - Unimplemented: feature flag is disabled
|
|
935
|
+
* - InvalidArgument: request is invalid
|
|
936
|
+
* - NotFound: workspace or application does not exist or cannot be accessed
|
|
937
|
+
* - FailedPrecondition: cross-region clone or namespace mismatch
|
|
938
|
+
*
|
|
939
|
+
* @generated from rpc tailor.v1.OperatorService.CloneApplicationData
|
|
940
|
+
*/
|
|
941
|
+
cloneApplicationData: {
|
|
942
|
+
methodKind: "unary";
|
|
943
|
+
input: typeof CloneApplicationDataRequestSchema;
|
|
944
|
+
output: typeof CloneApplicationDataResponseSchema;
|
|
945
|
+
};
|
|
946
|
+
/**
|
|
947
|
+
* GetCloneApplicationDataOperation returns the status of a clone operation.
|
|
948
|
+
*
|
|
949
|
+
* [Errors]
|
|
950
|
+
* - Unauthenticated: token is missing, expired, or invalid
|
|
951
|
+
* - InvalidArgument: request is invalid
|
|
952
|
+
* - NotFound: operation does not exist
|
|
953
|
+
*
|
|
954
|
+
* @generated from rpc tailor.v1.OperatorService.GetCloneApplicationDataOperation
|
|
955
|
+
*/
|
|
956
|
+
getCloneApplicationDataOperation: {
|
|
957
|
+
methodKind: "unary";
|
|
958
|
+
input: typeof GetCloneApplicationDataOperationRequestSchema;
|
|
959
|
+
output: typeof GetCloneApplicationDataOperationResponseSchema;
|
|
960
|
+
};
|
|
928
961
|
/**
|
|
929
962
|
* CreateAIGateway creates a new AI Gateway in a given workspace.
|
|
930
963
|
*
|
|
@@ -2470,9 +2503,22 @@ declare const OperatorService: GenService<{
|
|
|
2470
2503
|
};
|
|
2471
2504
|
/**
|
|
2472
2505
|
* Function ---------------------------------------------------------
|
|
2473
|
-
*
|
|
2506
|
+
* ExecScript executes specified JavaScript code in which I/O operations are allowed and returns the result.
|
|
2507
|
+
*
|
|
2508
|
+
* @generated from rpc tailor.v1.OperatorService.ExecScript
|
|
2509
|
+
*/
|
|
2510
|
+
execScript: {
|
|
2511
|
+
methodKind: "unary";
|
|
2512
|
+
input: typeof ExecScriptRequestSchema;
|
|
2513
|
+
output: typeof ExecScriptResponseSchema;
|
|
2514
|
+
};
|
|
2515
|
+
/**
|
|
2516
|
+
* TestExecScript is the deprecated legacy alias of ExecScript, kept so tailorctl / Console callers can migrate on their own cadence.
|
|
2517
|
+
*
|
|
2518
|
+
* Deprecated: use ExecScript. Scheduled for removal ~N+2 releases after all callers migrate.
|
|
2474
2519
|
*
|
|
2475
2520
|
* @generated from rpc tailor.v1.OperatorService.TestExecScript
|
|
2521
|
+
* @deprecated
|
|
2476
2522
|
*/
|
|
2477
2523
|
testExecScript: {
|
|
2478
2524
|
methodKind: "unary";
|
|
@@ -3161,7 +3207,40 @@ declare const OperatorService: GenService<{
|
|
|
3161
3207
|
output: typeof ListWorkflowExecutionsResponseSchema;
|
|
3162
3208
|
};
|
|
3163
3209
|
/**
|
|
3164
|
-
*
|
|
3210
|
+
* StartWorkflow starts a workflow execution.
|
|
3211
|
+
*
|
|
3212
|
+
* [Errors]
|
|
3213
|
+
* - Unauthenticated: token is missing, expired, or invalid
|
|
3214
|
+
* - InvalidArgument: request is invalid
|
|
3215
|
+
* - NotFound: workflow does not exist or can not be accessed
|
|
3216
|
+
*
|
|
3217
|
+
* @generated from rpc tailor.v1.OperatorService.StartWorkflow
|
|
3218
|
+
*/
|
|
3219
|
+
startWorkflow: {
|
|
3220
|
+
methodKind: "unary";
|
|
3221
|
+
input: typeof StartWorkflowRequestSchema;
|
|
3222
|
+
output: typeof StartWorkflowResponseSchema;
|
|
3223
|
+
};
|
|
3224
|
+
/**
|
|
3225
|
+
* ResumeWorkflowExecution resumes a failed workflow execution.
|
|
3226
|
+
*
|
|
3227
|
+
* [Errors]
|
|
3228
|
+
* - Unauthenticated: token is missing, expired, or invalid
|
|
3229
|
+
* - InvalidArgument: request is invalid
|
|
3230
|
+
* - NotFound: execution does not exist or can not be accessed
|
|
3231
|
+
* - FailedPrecondition: execution is not in a resumable state
|
|
3232
|
+
*
|
|
3233
|
+
* @generated from rpc tailor.v1.OperatorService.ResumeWorkflowExecution
|
|
3234
|
+
*/
|
|
3235
|
+
resumeWorkflowExecution: {
|
|
3236
|
+
methodKind: "unary";
|
|
3237
|
+
input: typeof ResumeWorkflowExecutionRequestSchema;
|
|
3238
|
+
output: typeof ResumeWorkflowExecutionResponseSchema;
|
|
3239
|
+
};
|
|
3240
|
+
/**
|
|
3241
|
+
* TestStartWorkflow is the deprecated legacy alias of StartWorkflow, kept so tailorctl / Console callers can migrate on their own cadence.
|
|
3242
|
+
*
|
|
3243
|
+
* Deprecated: use StartWorkflow. Scheduled for removal ~N+2 releases after all callers migrate.
|
|
3165
3244
|
*
|
|
3166
3245
|
* [Errors]
|
|
3167
3246
|
* - Unauthenticated: token is missing, expired, or invalid
|
|
@@ -3169,6 +3248,7 @@ declare const OperatorService: GenService<{
|
|
|
3169
3248
|
* - NotFound: workflow does not exist or can not be accessed
|
|
3170
3249
|
*
|
|
3171
3250
|
* @generated from rpc tailor.v1.OperatorService.TestStartWorkflow
|
|
3251
|
+
* @deprecated
|
|
3172
3252
|
*/
|
|
3173
3253
|
testStartWorkflow: {
|
|
3174
3254
|
methodKind: "unary";
|
|
@@ -3176,7 +3256,9 @@ declare const OperatorService: GenService<{
|
|
|
3176
3256
|
output: typeof TestStartWorkflowResponseSchema;
|
|
3177
3257
|
};
|
|
3178
3258
|
/**
|
|
3179
|
-
* TestResumeWorkflow
|
|
3259
|
+
* TestResumeWorkflow is the deprecated legacy alias of ResumeWorkflowExecution, kept so tailorctl / Console callers can migrate on their own cadence.
|
|
3260
|
+
*
|
|
3261
|
+
* Deprecated: use ResumeWorkflowExecution. Scheduled for removal ~N+2 releases after all callers migrate.
|
|
3180
3262
|
*
|
|
3181
3263
|
* [Errors]
|
|
3182
3264
|
* - Unauthenticated: token is missing, expired, or invalid
|
|
@@ -3185,6 +3267,7 @@ declare const OperatorService: GenService<{
|
|
|
3185
3267
|
* - FailedPrecondition: execution is not in a resumable state
|
|
3186
3268
|
*
|
|
3187
3269
|
* @generated from rpc tailor.v1.OperatorService.TestResumeWorkflow
|
|
3270
|
+
* @deprecated
|
|
3188
3271
|
*/
|
|
3189
3272
|
testResumeWorkflow: {
|
|
3190
3273
|
methodKind: "unary";
|
|
@@ -77,9 +77,34 @@ declare type MetricsConfig = Message<"tailor.v1.MetricsConfig"> & {
|
|
|
77
77
|
*/
|
|
78
78
|
declare type LogsConfig = Message<"tailor.v1.LogsConfig"> & {
|
|
79
79
|
/**
|
|
80
|
+
* enabled toggles the logs signal for this exporter. Function logs are the
|
|
81
|
+
* default content of the logs signal.
|
|
82
|
+
*
|
|
80
83
|
* @generated from field: bool enabled = 1;
|
|
81
84
|
*/
|
|
82
85
|
enabled: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* access_logs opts this exporter into API request access logs, an additional
|
|
88
|
+
* category of the logs signal. Subordinate to enabled: an exporter receives
|
|
89
|
+
* access logs iff OTLPExporter.enabled && logs.enabled && logs.access_logs.include.
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: tailor.v1.AccessLogsConfig access_logs = 2;
|
|
92
|
+
*/
|
|
93
|
+
accessLogs?: AccessLogsConfig;
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* @generated from message tailor.v1.AccessLogsConfig
|
|
97
|
+
*/
|
|
98
|
+
declare type AccessLogsConfig = Message<"tailor.v1.AccessLogsConfig"> & {
|
|
99
|
+
/**
|
|
100
|
+
* include defaults to false; API request access logs are always collected at
|
|
101
|
+
* the gateway and streamed to the router, so this flag selects whether this
|
|
102
|
+
* exporter's destination receives them. Strictly opt-in because they carry a
|
|
103
|
+
* per-request ingest cost in the customer's backend.
|
|
104
|
+
*
|
|
105
|
+
* @generated from field: bool include = 1;
|
|
106
|
+
*/
|
|
107
|
+
include: boolean;
|
|
83
108
|
};
|
|
84
109
|
/**
|
|
85
110
|
* @generated from message tailor.v1.OTLPExporterAuthConfig
|
|
@@ -179,4 +204,4 @@ declare enum OTLPExporterProtocol {
|
|
|
179
204
|
OTLP_EXPORTER_PROTOCOL_HTTP = 2
|
|
180
205
|
}
|
|
181
206
|
//#endregion
|
|
182
|
-
export { LogsConfig, MetricsConfig, OTLPExporter, OTLPExporterApiKeyAuth, OTLPExporterAuthConfig, OTLPExporterBearerTokenAuth, OTLPExporterProtocol, ResourceAttributesConfig, TracesConfig };
|
|
207
|
+
export { AccessLogsConfig, LogsConfig, MetricsConfig, OTLPExporter, OTLPExporterApiKeyAuth, OTLPExporterAuthConfig, OTLPExporterBearerTokenAuth, OTLPExporterProtocol, ResourceAttributesConfig, TracesConfig };
|
|
@@ -34,6 +34,13 @@ declare type CreateWorkflowRequest = Message<"tailor.v1.CreateWorkflowRequest">
|
|
|
34
34
|
* @generated from field: optional tailor.v1.ConcurrencyPolicy concurrency_policy = 6;
|
|
35
35
|
*/
|
|
36
36
|
concurrencyPolicy?: ConcurrencyPolicy;
|
|
37
|
+
/**
|
|
38
|
+
* Enable publishing workflow-execution events
|
|
39
|
+
* (workflow.workflow_execution.*).
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: bool publish_execution_events = 7;
|
|
42
|
+
*/
|
|
43
|
+
publishExecutionEvents: boolean;
|
|
37
44
|
};
|
|
38
45
|
/**
|
|
39
46
|
* Describes the message tailor.v1.CreateWorkflowRequest.
|
|
@@ -84,6 +91,13 @@ declare type UpdateWorkflowRequest = Message<"tailor.v1.UpdateWorkflowRequest">
|
|
|
84
91
|
* @generated from field: optional tailor.v1.ConcurrencyPolicy concurrency_policy = 6;
|
|
85
92
|
*/
|
|
86
93
|
concurrencyPolicy?: ConcurrencyPolicy;
|
|
94
|
+
/**
|
|
95
|
+
* Enable publishing workflow-execution events
|
|
96
|
+
* (workflow.workflow_execution.*).
|
|
97
|
+
*
|
|
98
|
+
* @generated from field: bool publish_execution_events = 7;
|
|
99
|
+
*/
|
|
100
|
+
publishExecutionEvents: boolean;
|
|
87
101
|
};
|
|
88
102
|
/**
|
|
89
103
|
* Describes the message tailor.v1.UpdateWorkflowRequest.
|
|
@@ -265,6 +279,13 @@ declare type CreateWorkflowJobFunctionRequest = Message<"tailor.v1.CreateWorkflo
|
|
|
265
279
|
* @generated from field: optional string script_ref = 4;
|
|
266
280
|
*/
|
|
267
281
|
scriptRef?: string;
|
|
282
|
+
/**
|
|
283
|
+
* Enable publishing job-execution events
|
|
284
|
+
* (workflow.workflow_execution.job_execution.*).
|
|
285
|
+
*
|
|
286
|
+
* @generated from field: bool publish_execution_events = 5;
|
|
287
|
+
*/
|
|
288
|
+
publishExecutionEvents: boolean;
|
|
268
289
|
};
|
|
269
290
|
/**
|
|
270
291
|
* Describes the message tailor.v1.CreateWorkflowJobFunctionRequest.
|
|
@@ -307,6 +328,13 @@ declare type UpdateWorkflowJobFunctionRequest = Message<"tailor.v1.UpdateWorkflo
|
|
|
307
328
|
* @generated from field: optional string script_ref = 4;
|
|
308
329
|
*/
|
|
309
330
|
scriptRef?: string;
|
|
331
|
+
/**
|
|
332
|
+
* Enable publishing job-execution events
|
|
333
|
+
* (workflow.workflow_execution.job_execution.*).
|
|
334
|
+
*
|
|
335
|
+
* @generated from field: bool publish_execution_events = 5;
|
|
336
|
+
*/
|
|
337
|
+
publishExecutionEvents: boolean;
|
|
310
338
|
};
|
|
311
339
|
/**
|
|
312
340
|
* Describes the message tailor.v1.UpdateWorkflowJobFunctionRequest.
|
|
@@ -633,6 +661,78 @@ declare type TestResumeWorkflowResponse = Message<"tailor.v1.TestResumeWorkflowR
|
|
|
633
661
|
* Use `create(TestResumeWorkflowResponseSchema)` to create a new message.
|
|
634
662
|
*/
|
|
635
663
|
declare const TestResumeWorkflowResponseSchema: GenMessage<TestResumeWorkflowResponse>;
|
|
664
|
+
/**
|
|
665
|
+
* @generated from message tailor.v1.StartWorkflowRequest
|
|
666
|
+
*/
|
|
667
|
+
declare type StartWorkflowRequest = Message<"tailor.v1.StartWorkflowRequest"> & {
|
|
668
|
+
/**
|
|
669
|
+
* @generated from field: string workspace_id = 1;
|
|
670
|
+
*/
|
|
671
|
+
workspaceId: string;
|
|
672
|
+
/**
|
|
673
|
+
* @generated from field: string workflow_id = 2;
|
|
674
|
+
*/
|
|
675
|
+
workflowId: string;
|
|
676
|
+
/**
|
|
677
|
+
* @generated from field: tailor.v1.AuthInvoker auth_invoker = 3;
|
|
678
|
+
*/
|
|
679
|
+
authInvoker?: AuthInvoker;
|
|
680
|
+
/**
|
|
681
|
+
* @generated from field: optional string arg = 4;
|
|
682
|
+
*/
|
|
683
|
+
arg?: string;
|
|
684
|
+
};
|
|
685
|
+
/**
|
|
686
|
+
* Describes the message tailor.v1.StartWorkflowRequest.
|
|
687
|
+
* Use `create(StartWorkflowRequestSchema)` to create a new message.
|
|
688
|
+
*/
|
|
689
|
+
declare const StartWorkflowRequestSchema: GenMessage<StartWorkflowRequest>;
|
|
690
|
+
/**
|
|
691
|
+
* @generated from message tailor.v1.StartWorkflowResponse
|
|
692
|
+
*/
|
|
693
|
+
declare type StartWorkflowResponse = Message<"tailor.v1.StartWorkflowResponse"> & {
|
|
694
|
+
/**
|
|
695
|
+
* @generated from field: string execution_id = 1;
|
|
696
|
+
*/
|
|
697
|
+
executionId: string;
|
|
698
|
+
};
|
|
699
|
+
/**
|
|
700
|
+
* Describes the message tailor.v1.StartWorkflowResponse.
|
|
701
|
+
* Use `create(StartWorkflowResponseSchema)` to create a new message.
|
|
702
|
+
*/
|
|
703
|
+
declare const StartWorkflowResponseSchema: GenMessage<StartWorkflowResponse>;
|
|
704
|
+
/**
|
|
705
|
+
* @generated from message tailor.v1.ResumeWorkflowExecutionRequest
|
|
706
|
+
*/
|
|
707
|
+
declare type ResumeWorkflowExecutionRequest = Message<"tailor.v1.ResumeWorkflowExecutionRequest"> & {
|
|
708
|
+
/**
|
|
709
|
+
* @generated from field: string workspace_id = 1;
|
|
710
|
+
*/
|
|
711
|
+
workspaceId: string;
|
|
712
|
+
/**
|
|
713
|
+
* @generated from field: string execution_id = 2;
|
|
714
|
+
*/
|
|
715
|
+
executionId: string;
|
|
716
|
+
};
|
|
717
|
+
/**
|
|
718
|
+
* Describes the message tailor.v1.ResumeWorkflowExecutionRequest.
|
|
719
|
+
* Use `create(ResumeWorkflowExecutionRequestSchema)` to create a new message.
|
|
720
|
+
*/
|
|
721
|
+
declare const ResumeWorkflowExecutionRequestSchema: GenMessage<ResumeWorkflowExecutionRequest>;
|
|
722
|
+
/**
|
|
723
|
+
* @generated from message tailor.v1.ResumeWorkflowExecutionResponse
|
|
724
|
+
*/
|
|
725
|
+
declare type ResumeWorkflowExecutionResponse = Message<"tailor.v1.ResumeWorkflowExecutionResponse"> & {
|
|
726
|
+
/**
|
|
727
|
+
* @generated from field: string execution_id = 1;
|
|
728
|
+
*/
|
|
729
|
+
executionId: string;
|
|
730
|
+
};
|
|
731
|
+
/**
|
|
732
|
+
* Describes the message tailor.v1.ResumeWorkflowExecutionResponse.
|
|
733
|
+
* Use `create(ResumeWorkflowExecutionResponseSchema)` to create a new message.
|
|
734
|
+
*/
|
|
735
|
+
declare const ResumeWorkflowExecutionResponseSchema: GenMessage<ResumeWorkflowExecutionResponse>;
|
|
636
736
|
/**
|
|
637
737
|
* @generated from message tailor.v1.CreateWorkflowJobFunctionExecutionPolicyRequest
|
|
638
738
|
*/
|
|
@@ -858,4 +958,4 @@ declare type ListWorkflowJobFunctionExecutionPoliciesResponse = Message<"tailor.
|
|
|
858
958
|
*/
|
|
859
959
|
declare const ListWorkflowJobFunctionExecutionPoliciesResponseSchema: GenMessage<ListWorkflowJobFunctionExecutionPoliciesResponse>;
|
|
860
960
|
//#endregion
|
|
861
|
-
export { CreateWorkflowJobFunctionExecutionPolicyRequest, CreateWorkflowJobFunctionExecutionPolicyRequestSchema, CreateWorkflowJobFunctionExecutionPolicyResponse, CreateWorkflowJobFunctionExecutionPolicyResponseSchema, CreateWorkflowJobFunctionRequest, CreateWorkflowJobFunctionRequestSchema, CreateWorkflowJobFunctionResponse, CreateWorkflowJobFunctionResponseSchema, CreateWorkflowRequest, CreateWorkflowRequestSchema, CreateWorkflowResponse, CreateWorkflowResponseSchema, DeleteWorkflowJobFunctionExecutionPolicyRequest, DeleteWorkflowJobFunctionExecutionPolicyRequestSchema, DeleteWorkflowJobFunctionExecutionPolicyResponse, DeleteWorkflowJobFunctionExecutionPolicyResponseSchema, DeleteWorkflowJobFunctionRequest, DeleteWorkflowJobFunctionRequestSchema, DeleteWorkflowJobFunctionResponse, DeleteWorkflowJobFunctionResponseSchema, DeleteWorkflowRequest, DeleteWorkflowRequestSchema, DeleteWorkflowResponse, DeleteWorkflowResponseSchema, GetWorkflowByNameRequest, GetWorkflowByNameRequestSchema, GetWorkflowByNameResponse, GetWorkflowByNameResponseSchema, GetWorkflowExecutionRequest, GetWorkflowExecutionRequestSchema, GetWorkflowExecutionResponse, GetWorkflowExecutionResponseSchema, GetWorkflowJobFunctionByNameRequest, GetWorkflowJobFunctionByNameRequestSchema, GetWorkflowJobFunctionByNameResponse, GetWorkflowJobFunctionByNameResponseSchema, GetWorkflowJobFunctionExecutionPolicyByKeyRequest, GetWorkflowJobFunctionExecutionPolicyByKeyRequestSchema, GetWorkflowJobFunctionExecutionPolicyByKeyResponse, GetWorkflowJobFunctionExecutionPolicyByKeyResponseSchema, GetWorkflowJobFunctionExecutionPolicyRequest, GetWorkflowJobFunctionExecutionPolicyRequestSchema, GetWorkflowJobFunctionExecutionPolicyResponse, GetWorkflowJobFunctionExecutionPolicyResponseSchema, GetWorkflowJobFunctionRequest, GetWorkflowJobFunctionRequestSchema, GetWorkflowJobFunctionResponse, GetWorkflowJobFunctionResponseSchema, GetWorkflowRequest, GetWorkflowRequestSchema, GetWorkflowResponse, GetWorkflowResponseSchema, ListWorkflowExecutionsRequest, ListWorkflowExecutionsRequestSchema, ListWorkflowExecutionsResponse, ListWorkflowExecutionsResponseSchema, ListWorkflowJobFunctionExecutionPoliciesRequest, ListWorkflowJobFunctionExecutionPoliciesRequestSchema, ListWorkflowJobFunctionExecutionPoliciesResponse, ListWorkflowJobFunctionExecutionPoliciesResponseSchema, ListWorkflowJobFunctionsRequest, ListWorkflowJobFunctionsRequestSchema, ListWorkflowJobFunctionsResponse, ListWorkflowJobFunctionsResponseSchema, ListWorkflowsRequest, ListWorkflowsRequestSchema, ListWorkflowsResponse, ListWorkflowsResponseSchema, TestResumeWorkflowRequest, TestResumeWorkflowRequestSchema, TestResumeWorkflowResponse, TestResumeWorkflowResponseSchema, TestStartWorkflowRequest, TestStartWorkflowRequestSchema, TestStartWorkflowResponse, TestStartWorkflowResponseSchema, UpdateWorkflowJobFunctionExecutionPolicyRequest, UpdateWorkflowJobFunctionExecutionPolicyRequestSchema, UpdateWorkflowJobFunctionExecutionPolicyResponse, UpdateWorkflowJobFunctionExecutionPolicyResponseSchema, UpdateWorkflowJobFunctionRequest, UpdateWorkflowJobFunctionRequestSchema, UpdateWorkflowJobFunctionResponse, UpdateWorkflowJobFunctionResponseSchema, UpdateWorkflowRequest, UpdateWorkflowRequestSchema, UpdateWorkflowResponse, UpdateWorkflowResponseSchema };
|
|
961
|
+
export { CreateWorkflowJobFunctionExecutionPolicyRequest, CreateWorkflowJobFunctionExecutionPolicyRequestSchema, CreateWorkflowJobFunctionExecutionPolicyResponse, CreateWorkflowJobFunctionExecutionPolicyResponseSchema, CreateWorkflowJobFunctionRequest, CreateWorkflowJobFunctionRequestSchema, CreateWorkflowJobFunctionResponse, CreateWorkflowJobFunctionResponseSchema, CreateWorkflowRequest, CreateWorkflowRequestSchema, CreateWorkflowResponse, CreateWorkflowResponseSchema, DeleteWorkflowJobFunctionExecutionPolicyRequest, DeleteWorkflowJobFunctionExecutionPolicyRequestSchema, DeleteWorkflowJobFunctionExecutionPolicyResponse, DeleteWorkflowJobFunctionExecutionPolicyResponseSchema, DeleteWorkflowJobFunctionRequest, DeleteWorkflowJobFunctionRequestSchema, DeleteWorkflowJobFunctionResponse, DeleteWorkflowJobFunctionResponseSchema, DeleteWorkflowRequest, DeleteWorkflowRequestSchema, DeleteWorkflowResponse, DeleteWorkflowResponseSchema, GetWorkflowByNameRequest, GetWorkflowByNameRequestSchema, GetWorkflowByNameResponse, GetWorkflowByNameResponseSchema, GetWorkflowExecutionRequest, GetWorkflowExecutionRequestSchema, GetWorkflowExecutionResponse, GetWorkflowExecutionResponseSchema, GetWorkflowJobFunctionByNameRequest, GetWorkflowJobFunctionByNameRequestSchema, GetWorkflowJobFunctionByNameResponse, GetWorkflowJobFunctionByNameResponseSchema, GetWorkflowJobFunctionExecutionPolicyByKeyRequest, GetWorkflowJobFunctionExecutionPolicyByKeyRequestSchema, GetWorkflowJobFunctionExecutionPolicyByKeyResponse, GetWorkflowJobFunctionExecutionPolicyByKeyResponseSchema, GetWorkflowJobFunctionExecutionPolicyRequest, GetWorkflowJobFunctionExecutionPolicyRequestSchema, GetWorkflowJobFunctionExecutionPolicyResponse, GetWorkflowJobFunctionExecutionPolicyResponseSchema, GetWorkflowJobFunctionRequest, GetWorkflowJobFunctionRequestSchema, GetWorkflowJobFunctionResponse, GetWorkflowJobFunctionResponseSchema, GetWorkflowRequest, GetWorkflowRequestSchema, GetWorkflowResponse, GetWorkflowResponseSchema, ListWorkflowExecutionsRequest, ListWorkflowExecutionsRequestSchema, ListWorkflowExecutionsResponse, ListWorkflowExecutionsResponseSchema, ListWorkflowJobFunctionExecutionPoliciesRequest, ListWorkflowJobFunctionExecutionPoliciesRequestSchema, ListWorkflowJobFunctionExecutionPoliciesResponse, ListWorkflowJobFunctionExecutionPoliciesResponseSchema, ListWorkflowJobFunctionsRequest, ListWorkflowJobFunctionsRequestSchema, ListWorkflowJobFunctionsResponse, ListWorkflowJobFunctionsResponseSchema, ListWorkflowsRequest, ListWorkflowsRequestSchema, ListWorkflowsResponse, ListWorkflowsResponseSchema, ResumeWorkflowExecutionRequest, ResumeWorkflowExecutionRequestSchema, ResumeWorkflowExecutionResponse, ResumeWorkflowExecutionResponseSchema, StartWorkflowRequest, StartWorkflowRequestSchema, StartWorkflowResponse, StartWorkflowResponseSchema, TestResumeWorkflowRequest, TestResumeWorkflowRequestSchema, TestResumeWorkflowResponse, TestResumeWorkflowResponseSchema, TestStartWorkflowRequest, TestStartWorkflowRequestSchema, TestStartWorkflowResponse, TestStartWorkflowResponseSchema, UpdateWorkflowJobFunctionExecutionPolicyRequest, UpdateWorkflowJobFunctionExecutionPolicyRequestSchema, UpdateWorkflowJobFunctionExecutionPolicyResponse, UpdateWorkflowJobFunctionExecutionPolicyResponseSchema, UpdateWorkflowJobFunctionRequest, UpdateWorkflowJobFunctionRequestSchema, UpdateWorkflowJobFunctionResponse, UpdateWorkflowJobFunctionResponseSchema, UpdateWorkflowRequest, UpdateWorkflowRequestSchema, UpdateWorkflowResponse, UpdateWorkflowResponseSchema };
|
|
@@ -32,6 +32,13 @@ declare type WorkflowJobFunction = Message<"tailor.v1.WorkflowJobFunction"> & {
|
|
|
32
32
|
* @generated from field: optional string script_ref = 6;
|
|
33
33
|
*/
|
|
34
34
|
scriptRef?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Enable publishing job-execution events
|
|
37
|
+
* (workflow.workflow_execution.job_execution.*). Default false (opt-in).
|
|
38
|
+
*
|
|
39
|
+
* @generated from field: bool publish_execution_events = 7;
|
|
40
|
+
*/
|
|
41
|
+
publishExecutionEvents: boolean;
|
|
35
42
|
};
|
|
36
43
|
/**
|
|
37
44
|
* WorkflowJobFunctionSummary is the lightweight projection of WorkflowJobFunction
|
|
@@ -59,6 +66,13 @@ declare type WorkflowJobFunctionSummary = Message<"tailor.v1.WorkflowJobFunction
|
|
|
59
66
|
* @generated from field: google.protobuf.Timestamp created_at = 5;
|
|
60
67
|
*/
|
|
61
68
|
createdAt?: Timestamp;
|
|
69
|
+
/**
|
|
70
|
+
* Enable publishing job-execution events
|
|
71
|
+
* (workflow.workflow_execution.job_execution.*). Default false (opt-in).
|
|
72
|
+
*
|
|
73
|
+
* @generated from field: bool publish_execution_events = 7;
|
|
74
|
+
*/
|
|
75
|
+
publishExecutionEvents: boolean;
|
|
62
76
|
};
|
|
63
77
|
/**
|
|
64
78
|
* @generated from message tailor.v1.ConcurrencyPolicy
|
|
@@ -130,11 +144,18 @@ declare type Workflow = Message<"tailor.v1.Workflow"> & {
|
|
|
130
144
|
* @generated from field: optional tailor.v1.ConcurrencyPolicy concurrency_policy = 8;
|
|
131
145
|
*/
|
|
132
146
|
concurrencyPolicy?: ConcurrencyPolicy;
|
|
147
|
+
/**
|
|
148
|
+
* Enable publishing workflow-execution events
|
|
149
|
+
* (workflow.workflow_execution.*). Default false (opt-in).
|
|
150
|
+
*
|
|
151
|
+
* @generated from field: bool publish_execution_events = 9;
|
|
152
|
+
*/
|
|
153
|
+
publishExecutionEvents: boolean;
|
|
133
154
|
};
|
|
134
155
|
/**
|
|
135
156
|
* WorkflowJobFunctionExecutionPolicy defines a runtime concurrency limit shared by
|
|
136
157
|
* any job function invocation that specifies a matching execution_policy_key in
|
|
137
|
-
*
|
|
158
|
+
* execJobFunction(). The same key can be referenced by multiple job functions
|
|
138
159
|
* across different workflows; they all share the same concurrency pool within the workspace.
|
|
139
160
|
*
|
|
140
161
|
* @generated from message tailor.v1.WorkflowJobFunctionExecutionPolicy
|
|
@@ -7,7 +7,9 @@ type OIDC = {
|
|
|
7
7
|
clientID: string;
|
|
8
8
|
/** OAuth2 client secret */
|
|
9
9
|
clientSecret: {
|
|
10
|
+
/** Vault name containing the secret */
|
|
10
11
|
vaultName: string;
|
|
12
|
+
/** Key of the secret in the vault */
|
|
11
13
|
secretKey: string;
|
|
12
14
|
};
|
|
13
15
|
/** OIDC provider URL */
|
|
@@ -96,7 +98,9 @@ type SCIMAuthorization = {
|
|
|
96
98
|
type: "oauth2" | "bearer";
|
|
97
99
|
/** Bearer token secret (required for bearer type) */
|
|
98
100
|
bearerSecret?: {
|
|
101
|
+
/** Vault name containing the secret */
|
|
99
102
|
vaultName: string;
|
|
103
|
+
/** Key of the secret in the vault */
|
|
100
104
|
secretKey: string;
|
|
101
105
|
} | undefined;
|
|
102
106
|
};
|
|
@@ -138,17 +142,25 @@ type SCIMResource = {
|
|
|
138
142
|
tailorDBType: string;
|
|
139
143
|
/** Core SCIM schema definition */
|
|
140
144
|
coreSchema: {
|
|
141
|
-
/** SCIM
|
|
145
|
+
/** SCIM schema name */
|
|
142
146
|
name: string;
|
|
147
|
+
/** Schema attributes */
|
|
143
148
|
attributes: {
|
|
149
|
+
/** Attribute data type */
|
|
144
150
|
type: "string" | "number" | "boolean" | "datetime" | "complex";
|
|
145
|
-
/**
|
|
151
|
+
/** Attribute name */
|
|
146
152
|
name: string;
|
|
153
|
+
/** Attribute description */
|
|
147
154
|
description?: string | undefined;
|
|
155
|
+
/** Attribute mutability */
|
|
148
156
|
mutability?: "readOnly" | "readWrite" | "writeOnly" | undefined;
|
|
157
|
+
/** Whether the attribute is required */
|
|
149
158
|
required?: boolean | undefined;
|
|
159
|
+
/** Whether the attribute can have multiple values */
|
|
150
160
|
multiValued?: boolean | undefined;
|
|
161
|
+
/** Uniqueness constraint */
|
|
151
162
|
uniqueness?: "none" | "server" | "global" | undefined;
|
|
163
|
+
/** List of canonical values */
|
|
152
164
|
canonicalValues?: string[] | null | undefined;
|
|
153
165
|
subAttributes?: any[] | null | undefined;
|
|
154
166
|
}[];
|
|
@@ -55,15 +55,37 @@ type AuthAccessTokenTrigger = {
|
|
|
55
55
|
/** Auth access token event types to trigger on */
|
|
56
56
|
events: ("auth.access_token.issued" | "auth.access_token.refreshed" | "auth.access_token.revoked")[];
|
|
57
57
|
};
|
|
58
|
-
type
|
|
59
|
-
|
|
58
|
+
type WorkflowExecutionTrigger = {
|
|
59
|
+
/** Workflow execution event trigger */
|
|
60
|
+
kind: "workflowExecution";
|
|
61
|
+
/** Workflow execution event types to trigger on */
|
|
62
|
+
events: ("workflow.workflow_execution.started" | "workflow.workflow_execution.completed" | "workflow.workflow_execution.retried" | "workflow.workflow_execution.resumed" | "workflow.workflow_execution.wait_started" | "workflow.workflow_execution.wait_resolved")[];
|
|
63
|
+
/** Workflow name to subscribe to. */
|
|
64
|
+
workflowName: string;
|
|
65
|
+
/** Condition function to filter events */
|
|
66
|
+
condition?: Function | undefined;
|
|
67
|
+
};
|
|
68
|
+
type WorkflowJobExecutionTrigger = {
|
|
69
|
+
/** Workflow job execution event trigger */
|
|
70
|
+
kind: "workflowJobExecution";
|
|
71
|
+
/** Workflow job execution event types to trigger on */
|
|
72
|
+
events: ("workflow.workflow_execution.job_execution.started" | "workflow.workflow_execution.job_execution.completed" | "workflow.workflow_execution.job_execution.wait_started" | "workflow.workflow_execution.job_execution.wait_resolved")[];
|
|
73
|
+
/** Workflow name to subscribe to. */
|
|
74
|
+
workflowName: string;
|
|
75
|
+
/** Condition function to filter events */
|
|
76
|
+
condition?: Function | undefined;
|
|
77
|
+
};
|
|
78
|
+
type TriggerInput = TailorDBTrigger | ResolverExecutedTrigger | ScheduleTriggerInput | IncomingWebhookTrigger | IdpUserTrigger | AuthAccessTokenTrigger | WorkflowExecutionTrigger | WorkflowJobExecutionTrigger;
|
|
79
|
+
type Trigger = TailorDBTrigger | ResolverExecutedTrigger | ScheduleTrigger | IncomingWebhookTrigger | IdpUserTrigger | AuthAccessTokenTrigger | WorkflowExecutionTrigger | WorkflowJobExecutionTrigger;
|
|
60
80
|
type FunctionOperation = {
|
|
61
81
|
kind: "function" | "jobFunction";
|
|
62
82
|
/** Function implementation */
|
|
63
83
|
body: Function;
|
|
64
84
|
/** Invoker for the function execution */
|
|
65
85
|
invoker?: string | {
|
|
86
|
+
/** Auth namespace */
|
|
66
87
|
namespace: string;
|
|
88
|
+
/** Machine user name for authentication */
|
|
67
89
|
machineUserName: string;
|
|
68
90
|
} | undefined;
|
|
69
91
|
};
|
|
@@ -76,7 +98,9 @@ type GqlOperationInput = {
|
|
|
76
98
|
variables?: Function | undefined;
|
|
77
99
|
/** Invoker for the GraphQL execution */
|
|
78
100
|
invoker?: string | {
|
|
101
|
+
/** Auth namespace */
|
|
79
102
|
namespace: string;
|
|
103
|
+
/** Machine user name for authentication */
|
|
80
104
|
machineUserName: string;
|
|
81
105
|
} | undefined;
|
|
82
106
|
};
|
|
@@ -89,7 +113,9 @@ type GqlOperation = {
|
|
|
89
113
|
variables?: Function | undefined;
|
|
90
114
|
/** Invoker for the GraphQL execution */
|
|
91
115
|
invoker?: string | {
|
|
116
|
+
/** Auth namespace */
|
|
92
117
|
namespace: string;
|
|
118
|
+
/** Machine user name for authentication */
|
|
93
119
|
machineUserName: string;
|
|
94
120
|
} | undefined;
|
|
95
121
|
};
|
|
@@ -123,37 +149,53 @@ type WorkflowOperationInput = {
|
|
|
123
149
|
name: string;
|
|
124
150
|
};
|
|
125
151
|
kind: "workflow";
|
|
152
|
+
/** Name of the workflow to execute */
|
|
126
153
|
workflowName?: string | undefined;
|
|
127
154
|
args?: WorkflowOperationArgs;
|
|
155
|
+
/** Invoker for the workflow execution */
|
|
128
156
|
invoker?: string | {
|
|
157
|
+
/** Auth namespace */
|
|
129
158
|
namespace: string;
|
|
159
|
+
/** Machine user name for authentication */
|
|
130
160
|
machineUserName: string;
|
|
131
161
|
} | undefined;
|
|
132
162
|
} | {
|
|
163
|
+
/** Name of the workflow to execute */
|
|
133
164
|
workflowName: string;
|
|
134
165
|
kind: "workflow";
|
|
135
166
|
workflow?: undefined;
|
|
136
167
|
args?: WorkflowOperationArgs;
|
|
168
|
+
/** Invoker for the workflow execution */
|
|
137
169
|
invoker?: string | {
|
|
170
|
+
/** Auth namespace */
|
|
138
171
|
namespace: string;
|
|
172
|
+
/** Machine user name for authentication */
|
|
139
173
|
machineUserName: string;
|
|
140
174
|
} | undefined;
|
|
141
175
|
};
|
|
142
176
|
type WorkflowOperation = {
|
|
177
|
+
/** Name of the workflow to execute */
|
|
143
178
|
workflowName: string;
|
|
144
179
|
kind: "workflow";
|
|
145
180
|
args?: WorkflowOperationArgs;
|
|
181
|
+
/** Invoker for the workflow execution */
|
|
146
182
|
invoker?: string | {
|
|
183
|
+
/** Auth namespace */
|
|
147
184
|
namespace: string;
|
|
185
|
+
/** Machine user name for authentication */
|
|
148
186
|
machineUserName: string;
|
|
149
187
|
} | undefined;
|
|
150
188
|
} | {
|
|
189
|
+
/** Name of the workflow to execute */
|
|
151
190
|
workflowName: string;
|
|
152
191
|
kind: "workflow";
|
|
153
192
|
workflow?: undefined;
|
|
154
193
|
args?: WorkflowOperationArgs;
|
|
194
|
+
/** Invoker for the workflow execution */
|
|
155
195
|
invoker?: string | {
|
|
196
|
+
/** Auth namespace */
|
|
156
197
|
namespace: string;
|
|
198
|
+
/** Machine user name for authentication */
|
|
157
199
|
machineUserName: string;
|
|
158
200
|
} | undefined;
|
|
159
201
|
};
|
|
@@ -184,4 +226,4 @@ type Executor = {
|
|
|
184
226
|
description?: string | undefined;
|
|
185
227
|
};
|
|
186
228
|
//#endregion
|
|
187
|
-
export { AuthAccessTokenTrigger, Executor, ExecutorInput, FunctionOperation, GqlOperation, GqlOperationInput, IdpUserTrigger, IncomingWebhookTrigger, IncomingWebhookTriggerResponse, JsonValue, Operation, OperationInput, ResolverExecutedTrigger, ScheduleTrigger, ScheduleTriggerInput, TailorDBTrigger, Trigger, TriggerInput, WebhookOperation, WorkflowInput, WorkflowOperation, WorkflowOperationArgs, WorkflowOperationInput };
|
|
229
|
+
export { AuthAccessTokenTrigger, Executor, ExecutorInput, FunctionOperation, GqlOperation, GqlOperationInput, IdpUserTrigger, IncomingWebhookTrigger, IncomingWebhookTriggerResponse, JsonValue, Operation, OperationInput, ResolverExecutedTrigger, ScheduleTrigger, ScheduleTriggerInput, TailorDBTrigger, Trigger, TriggerInput, WebhookOperation, WorkflowExecutionTrigger, WorkflowInput, WorkflowJobExecutionTrigger, WorkflowOperation, WorkflowOperationArgs, WorkflowOperationInput };
|
|
@@ -6,10 +6,15 @@ type HttpAdapterConfigInput = {
|
|
|
6
6
|
pathPattern: string;
|
|
7
7
|
/** Per-method functions that transform HTTP requests to GraphQL requests */
|
|
8
8
|
input: {
|
|
9
|
+
/** Handler for GET requests */
|
|
9
10
|
get?: Function | undefined;
|
|
11
|
+
/** Handler for POST requests */
|
|
10
12
|
post?: Function | undefined;
|
|
13
|
+
/** Handler for PUT requests */
|
|
11
14
|
put?: Function | undefined;
|
|
15
|
+
/** Handler for PATCH requests */
|
|
12
16
|
patch?: Function | undefined;
|
|
17
|
+
/** Handler for DELETE requests */
|
|
13
18
|
delete?: Function | undefined;
|
|
14
19
|
};
|
|
15
20
|
/** Whether the adapter is active */
|