@tailor-platform/sdk 1.83.0 → 1.85.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 +58 -0
- package/dist/application-C-zsrNjn.mjs +3 -0
- package/dist/{application-Cp0FxIm2.mjs → application-m5tYtz0-.mjs} +246 -68
- package/dist/application-m5tYtz0-.mjs.map +1 -0
- package/dist/cli/commands/deploy/tailordb/index.d.mts +2 -0
- package/dist/cli/commands/generate/seed/bundler.d.mts +2 -1
- package/dist/cli/commands/generate/service.d.mts +1 -1
- package/dist/cli/commands/generate/types.d.mts +1 -1
- 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/index.mjs +291 -29
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lib.d.mts +1 -1
- package/dist/cli/lib.mjs +92 -36
- package/dist/cli/lib.mjs.map +1 -1
- package/dist/cli/shared/client.d.mts +28 -3
- package/dist/cli/skills.d.mts +1 -1
- package/dist/completion/zsh-worker.zsh +85 -22
- package/dist/configure/index.d.mts +2 -2
- package/dist/configure/index.mjs +170 -2
- 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/index.d.mts +2 -2
- package/dist/configure/services/tailordb/index.d.mts +0 -1
- package/dist/configure/services/workflow/job.d.mts +9 -0
- package/dist/configure/services/workflow/workflow.d.mts +10 -0
- package/dist/node-builtins-CmaL2Cbq.mjs +36 -0
- package/dist/node-builtins-CmaL2Cbq.mjs.map +1 -0
- package/dist/plugin/builtin/seed/index.mjs +1 -1
- package/dist/{register-typescript-runtime-CCHyKeXO.mjs → register-typescript-runtime-nG-n9lPw.mjs} +752 -403
- package/dist/register-typescript-runtime-nG-n9lPw.mjs.map +1 -0
- package/dist/{seed-DFFigL8V.mjs → seed-6eTFj-3Q.mjs} +158 -41
- package/dist/seed-6eTFj-3Q.mjs.map +1 -0
- package/dist/{service-B0MaodSg.mjs → service-CPJWhTLn.mjs} +29 -2
- package/dist/service-CPJWhTLn.mjs.map +1 -0
- package/dist/service-Cigg_U-v.mjs +3 -0
- package/dist/{service_pb-BwZRiNug.mjs → service_pb-D5--My_M.mjs} +5 -5
- package/dist/service_pb-D5--My_M.mjs.map +1 -0
- package/dist/{service_pb-wRkxUta6.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/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/executor.generated.d.mts +23 -3
- package/dist/vitest/index.mjs +3 -35
- package/dist/vitest/index.mjs.map +1 -1
- package/dist/{workspace_resource_pb-UGK1SSn_.mjs → workspace_resource_pb-DXnO2AT-.mjs} +7 -7
- package/dist/workspace_resource_pb-DXnO2AT-.mjs.map +1 -0
- package/docs/cli/tailordb.md +36 -12
- package/docs/cli-reference.md +16 -15
- package/docs/generator/builtin.md +7 -0
- package/docs/services/executor.md +83 -3
- package/docs/services/idp.md +3 -3
- package/docs/services/tailordb-migration.md +24 -4
- package/docs/services/workflow.md +26 -0
- package/package.json +17 -18
- package/dist/application-CP7JKG9R.mjs +0 -3
- package/dist/application-Cp0FxIm2.mjs.map +0 -1
- package/dist/register-typescript-runtime-CCHyKeXO.mjs.map +0 -1
- package/dist/seed-DFFigL8V.mjs.map +0 -1
- package/dist/service-B0MaodSg.mjs.map +0 -1
- package/dist/service-KnAiVofD.mjs +0 -3
- package/dist/service_pb-BwZRiNug.mjs.map +0 -1
- package/dist/workspace_resource_pb-UGK1SSn_.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
|
|
@@ -55,8 +55,28 @@ 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 */
|
|
@@ -185,4 +205,4 @@ type Executor = {
|
|
|
185
205
|
description?: string | undefined;
|
|
186
206
|
};
|
|
187
207
|
//#endregion
|
|
188
|
-
export { AuthAccessTokenTrigger, Executor, ExecutorInput, FunctionOperation, GqlOperation, IdpUserTrigger, IncomingWebhookTrigger, IncomingWebhookTriggerResponse, ResolverExecutedTrigger, ScheduleTrigger, ScheduleTriggerInput, TailorDBTrigger, Trigger, TriggerInput, WebhookOperation, WorkflowOperation };
|
|
208
|
+
export { AuthAccessTokenTrigger, Executor, ExecutorInput, FunctionOperation, GqlOperation, IdpUserTrigger, IncomingWebhookTrigger, IncomingWebhookTriggerResponse, ResolverExecutedTrigger, ScheduleTrigger, ScheduleTriggerInput, TailorDBTrigger, Trigger, TriggerInput, WebhookOperation, WorkflowExecutionTrigger, WorkflowJobExecutionTrigger, WorkflowOperation };
|
package/dist/vitest/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as getRegisteredWorkflow, i as getRegisteredJob, t as TRIGGER_DEFAULT, u as platformSerialize } from "../registry-Ct0Wgxp1.mjs";
|
|
2
2
|
import { a as writeWorkflowTestEnv, i as readWorkflowTestEnv, n as buildJobContext, r as clearWorkflowTestEnv } from "../test-env-key-DuZycyWM.mjs";
|
|
3
3
|
import { t as assertDefined } from "../assert-DBxo8jPo.mjs";
|
|
4
|
+
import { n as isNodeBuiltinImport, t as getNodeBuiltinMessage } from "../node-builtins-CmaL2Cbq.mjs";
|
|
4
5
|
import { i as withDispose, n as tailorRoot, r as tailordbRoot, t as mockSecretmanager } from "../secretmanager-IY4UvinW.mjs";
|
|
5
|
-
import { builtinModules } from "node:module";
|
|
6
6
|
import { isEqual } from "es-toolkit";
|
|
7
7
|
import { fileURLToPath } from "node:url";
|
|
8
8
|
import { dirname, isAbsolute, matchesGlob, relative, resolve } from "node:path";
|
|
@@ -11,41 +11,12 @@ import { vi } from "vitest";
|
|
|
11
11
|
|
|
12
12
|
//#region src/vitest/blocked-modules.ts
|
|
13
13
|
/**
|
|
14
|
-
* Blocked Node.js built-in modules and their Web Standard API alternatives.
|
|
15
|
-
*
|
|
16
|
-
* The Tailor Platform runtime only provides Web Standard APIs.
|
|
17
|
-
* These Node.js modules are not available and should be replaced with
|
|
18
|
-
* the suggested alternatives.
|
|
19
|
-
*/
|
|
20
|
-
const SUGGESTIONS = {
|
|
21
|
-
crypto: "Use the Web Crypto API (globalThis.crypto) instead.",
|
|
22
|
-
buffer: "Use Uint8Array or ArrayBuffer instead.",
|
|
23
|
-
fs: "File system access is not available in the Tailor Platform runtime.",
|
|
24
|
-
"fs/promises": "File system access is not available in the Tailor Platform runtime.",
|
|
25
|
-
path: "Use URL or URLPattern for path manipulation.",
|
|
26
|
-
http: "Use the Fetch API (globalThis.fetch) for HTTP requests instead.",
|
|
27
|
-
https: "Use the Fetch API (globalThis.fetch) for HTTPS requests instead.",
|
|
28
|
-
url: "Use the URL and URLSearchParams Web APIs instead.",
|
|
29
|
-
util: "Use Web Standard APIs instead.",
|
|
30
|
-
stream: "Use Web Streams API (ReadableStream, WritableStream, TransformStream) instead.",
|
|
31
|
-
"stream/web": "Use Web Streams API (ReadableStream, WritableStream, TransformStream) instead.",
|
|
32
|
-
events: "Use EventTarget instead.",
|
|
33
|
-
zlib: "Use CompressionStream and DecompressionStream Web APIs instead.",
|
|
34
|
-
querystring: "Use URLSearchParams instead.",
|
|
35
|
-
string_decoder: "Use TextDecoder instead."
|
|
36
|
-
};
|
|
37
|
-
const BLOCKED_MODULES = /* @__PURE__ */ new Set();
|
|
38
|
-
for (const mod of builtinModules) {
|
|
39
|
-
BLOCKED_MODULES.add(mod);
|
|
40
|
-
BLOCKED_MODULES.add(`node:${mod}`);
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
14
|
* Check if a module specifier is a blocked Node.js built-in.
|
|
44
15
|
* @param specifier - Module specifier to check (e.g. "node:crypto", "fs")
|
|
45
16
|
* @returns Whether the specifier is blocked
|
|
46
17
|
*/
|
|
47
18
|
function isBlockedModule(specifier) {
|
|
48
|
-
return
|
|
19
|
+
return isNodeBuiltinImport(specifier);
|
|
49
20
|
}
|
|
50
21
|
/**
|
|
51
22
|
* Get the error message for a blocked module import.
|
|
@@ -53,10 +24,7 @@ function isBlockedModule(specifier) {
|
|
|
53
24
|
* @returns Error message with optional suggestion for the Web Standard API alternative
|
|
54
25
|
*/
|
|
55
26
|
function getBlockedMessage(specifier) {
|
|
56
|
-
|
|
57
|
-
const suggestion = SUGGESTIONS[bare];
|
|
58
|
-
const base = `"${specifier}" is not available in the Tailor Platform runtime.`;
|
|
59
|
-
return suggestion ? `${base} ${suggestion}` : base;
|
|
27
|
+
return getNodeBuiltinMessage(specifier);
|
|
60
28
|
}
|
|
61
29
|
|
|
62
30
|
//#endregion
|