@tailor-platform/sdk 2.30.0 → 2.33.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.
Files changed (120) hide show
  1. package/CHANGELOG.md +92 -0
  2. package/dist/ai/index.d.mts +112 -0
  3. package/dist/ai/index.mjs +2 -0
  4. package/dist/ai/index.mjs.map +1 -0
  5. package/dist/aigateway-DsWDjzk4.mjs.map +1 -1
  6. package/dist/{application-D0xNJbag.mjs → application-B9_NHiUC.mjs} +40 -32
  7. package/dist/application-B9_NHiUC.mjs.map +1 -0
  8. package/dist/application-Bet1K5C4.mjs +1 -0
  9. package/dist/assert-WeXvmG4j.mjs.map +1 -1
  10. package/dist/authconnection-CynFBIv8.mjs.map +1 -1
  11. package/dist/brand-C8nMKhJC.mjs.map +1 -1
  12. package/dist/cli/commands/deploy/staticwebsite.d.mts +1 -0
  13. package/dist/cli/lib.mjs +1 -1
  14. package/dist/cli/lib.mjs.map +1 -1
  15. package/dist/cli/main.mjs +44 -33
  16. package/dist/cli/main.mjs.map +1 -1
  17. package/dist/cli/services/resolver/service.d.mts +1 -0
  18. package/dist/cli/shared/client.d.mts +52 -1
  19. package/dist/cli/ts-hook.d.mts +0 -2
  20. package/dist/cli/ts-hook.mjs +0 -113
  21. package/dist/completion/zsh-worker.zsh +30 -6
  22. package/dist/configure/index.mjs.map +1 -1
  23. package/dist/configure/services/staticwebsite/index.d.mts +6 -1
  24. package/dist/context-D0QjfxzD.mjs.map +1 -1
  25. package/dist/crashreport-BCIy33Cz.mjs.map +1 -1
  26. package/dist/date-CgP7gMG_.mjs.map +1 -1
  27. package/dist/date-representation-Cr7W7Pn2.mjs.map +1 -1
  28. package/dist/errors-BOF68LJ5.mjs.map +1 -1
  29. package/dist/es-builtins-SfvXRVoG.mjs.map +1 -1
  30. package/dist/field-parse-C41e3UAF.mjs.map +1 -1
  31. package/dist/file-DKBOj5q4.mjs.map +1 -1
  32. package/dist/globals-BCmGX05J.mjs.map +1 -1
  33. package/dist/guards-yDXyKC9F.mjs.map +1 -1
  34. package/dist/iconv-DlFMt2gW.mjs.map +1 -1
  35. package/dist/idp-G_ojPBB5.mjs.map +1 -1
  36. package/dist/interceptor-DQg3cR_9.mjs.map +1 -1
  37. package/dist/kysely/index.mjs.map +1 -1
  38. package/dist/kysely-type-DxyIWXc6.mjs +51 -0
  39. package/dist/kysely-type-DxyIWXc6.mjs.map +1 -0
  40. package/dist/logger-DP2BjQ93.mjs.map +1 -1
  41. package/dist/logger-RgtbhJ83.mjs.map +1 -1
  42. package/dist/manager-DTRhIupk.mjs +2 -0
  43. package/dist/manager-DTRhIupk.mjs.map +1 -0
  44. package/dist/migration-steps-C6F3zNdQ.mjs.map +1 -1
  45. package/dist/multiline-EyzjEwn9.mjs.map +1 -1
  46. package/dist/node-builtins-DYfhPBnz.mjs.map +1 -1
  47. package/dist/package-json-C690ceex.mjs.map +1 -1
  48. package/dist/platform-serialize-DkiTdHOt.mjs.map +1 -1
  49. package/dist/plugin/builtin/enum-constants/index.mjs +2 -2
  50. package/dist/plugin/builtin/enum-constants/index.mjs.map +1 -1
  51. package/dist/plugin/builtin/file-utils/index.mjs.map +1 -1
  52. package/dist/plugin/builtin/kysely-type/index.mjs +1 -1
  53. package/dist/plugin/index.mjs +1 -1
  54. package/dist/plugin/index.mjs.map +1 -1
  55. package/dist/plugin/types.d.mts +3 -0
  56. package/dist/register-ts-hook-Dp9reSRG.mjs +1053 -0
  57. package/dist/register-ts-hook-Dp9reSRG.mjs.map +1 -0
  58. package/dist/registry-BijIDRVA.mjs.map +1 -1
  59. package/dist/repl-editor-DkrCZmmg.mjs +2 -0
  60. package/dist/repl-editor-DkrCZmmg.mjs.map +1 -0
  61. package/dist/schema-B6hJQWp6.mjs.map +1 -1
  62. package/dist/secret-file-C9wp_FCX.mjs.map +1 -1
  63. package/dist/secretmanager-vHQoXdQz.mjs.map +1 -1
  64. package/dist/seed/index.mjs.map +1 -1
  65. package/dist/seed-Cn-3JApy.mjs.map +1 -1
  66. package/dist/service-9SBPNpK8.mjs.map +1 -1
  67. package/dist/service-9rwi_I4d.mjs.map +1 -1
  68. package/dist/service_pb-6EkMfdOb.mjs +2 -0
  69. package/dist/service_pb-6EkMfdOb.mjs.map +1 -0
  70. package/dist/service_pb-CsJKokDl.mjs +1 -0
  71. package/dist/tailor-proto/src/tailor/v1/metadata_pb.d.mts +5 -2
  72. package/dist/tailor-proto/src/tailor/v1/security_pb.d.mts +213 -0
  73. package/dist/tailor-proto/src/tailor/v1/security_resource_pb.d.mts +301 -0
  74. package/dist/tailor-proto/src/tailor/v1/service_pb.d.mts +200 -8
  75. package/dist/tailor-proto/src/tailor/v1/staticwebsite_pb.d.mts +201 -1
  76. package/dist/tailor-proto/src/tailor/v1/staticwebsite_resource_pb.d.mts +88 -1
  77. package/dist/telemetry-DfT2UfI4.mjs +2 -0
  78. package/dist/telemetry-DfT2UfI4.mjs.map +1 -0
  79. package/dist/{telemetry-DpkFGBmu.mjs → telemetry-nqOtDWNO.mjs} +1 -1
  80. package/dist/type-source--ZNcV8RJ.mjs.map +1 -1
  81. package/dist/types/staticwebsite.generated.d.mts +9 -1
  82. package/dist/user-agent-vdHYF3QL.mjs.map +1 -1
  83. package/dist/utils/test/index.mjs.map +1 -1
  84. package/dist/vitest/environment.mjs.map +1 -1
  85. package/dist/vitest/index.d.mts +2 -2
  86. package/dist/vitest/index.mjs +1 -1
  87. package/dist/vitest/index.mjs.map +1 -1
  88. package/dist/vitest/pglite-kysely.d.mts +19 -0
  89. package/dist/vitest/setup.mjs.map +1 -1
  90. package/dist/wait-point-invoker-eiP-IIux.mjs.map +1 -1
  91. package/dist/wait-point-registry-B-ESkTZX.mjs.map +1 -1
  92. package/dist/workflow-Cs9ISw6j.mjs.map +1 -1
  93. package/dist/{workspace_resource_pb-CaoM2npP.mjs → workspace_resource_pb-C4CkoYww.mjs} +2 -2
  94. package/dist/workspace_resource_pb-C4CkoYww.mjs.map +1 -0
  95. package/docs/ai.md +92 -0
  96. package/docs/cli/tailordb.md +17 -15
  97. package/docs/cli/workspace.md +1 -1
  98. package/docs/github-actions.md +98 -11
  99. package/docs/plugin/custom.md +34 -0
  100. package/docs/plugin/index.md +1 -0
  101. package/docs/services/staticwebsite.md +31 -1
  102. package/docs/services/tailordb/migration.md +78 -41
  103. package/docs/testing.md +2 -1
  104. package/package.json +20 -13
  105. package/dist/application-C2bPmmbh.mjs +0 -1
  106. package/dist/application-D0xNJbag.mjs.map +0 -1
  107. package/dist/kysely-type-BWMfV301.mjs +0 -48
  108. package/dist/kysely-type-BWMfV301.mjs.map +0 -1
  109. package/dist/manager-Bk-7vkwd.mjs +0 -2
  110. package/dist/manager-Bk-7vkwd.mjs.map +0 -1
  111. package/dist/register-ts-hook-CDnN_Jx2.mjs +0 -1012
  112. package/dist/register-ts-hook-CDnN_Jx2.mjs.map +0 -1
  113. package/dist/repl-editor-DGJBfIt1.mjs +0 -2
  114. package/dist/repl-editor-DGJBfIt1.mjs.map +0 -1
  115. package/dist/service_pb-Bbu2QSIr.mjs +0 -2
  116. package/dist/service_pb-Bbu2QSIr.mjs.map +0 -1
  117. package/dist/service_pb-urxAIYHT.mjs +0 -1
  118. package/dist/telemetry-Xk7J829P.mjs +0 -2
  119. package/dist/telemetry-Xk7J829P.mjs.map +0 -1
  120. package/dist/workspace_resource_pb-CaoM2npP.mjs.map +0 -1
@@ -1,4 +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 { CreateOrganizationSecurityFindingMuteRequestSchema, CreateOrganizationSecurityFindingMuteResponseSchema, DeleteOrganizationSecurityFindingMuteRequestSchema, DeleteOrganizationSecurityFindingMuteResponseSchema, ListOrganizationSecurityChecksRequestSchema, ListOrganizationSecurityChecksResponseSchema, ListOrganizationSecurityFindingMutesRequestSchema, ListOrganizationSecurityFindingMutesResponseSchema, ListOrganizationSecurityFindingsRequestSchema, ListOrganizationSecurityFindingsResponseSchema } from "./security_pb.mjs";
2
3
  import { CloneApplicationDataRequestSchema, CloneApplicationDataResponseSchema, CreateApplicationRequestSchema, CreateApplicationResponseSchema, DeleteApplicationRequestSchema, DeleteApplicationResponseSchema, GetApplicationRequestSchema, GetApplicationResponseSchema, GetApplicationSchemaHealthRequestSchema, GetApplicationSchemaHealthResponseSchema, GetCloneApplicationDataOperationRequestSchema, GetCloneApplicationDataOperationResponseSchema, ListApplicationsRequestSchema, ListApplicationsResponseSchema, UpdateApplicationRequestSchema, UpdateApplicationResponseSchema } from "./application_pb.mjs";
3
4
  import { CreateAIGatewayRequestSchema, CreateAIGatewayResponseSchema, DeleteAIGatewayRequestSchema, DeleteAIGatewayResponseSchema, GetAIGatewayRequestSchema, GetAIGatewayResponseSchema, ListAIGatewaysRequestSchema, ListAIGatewaysResponseSchema, UpdateAIGatewayRequestSchema, UpdateAIGatewayResponseSchema } from "./aigateway_pb.mjs";
4
5
  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";
@@ -12,7 +13,7 @@ import { CancelJobFunctionExecutionRequestSchema, CancelJobFunctionExecutionResp
12
13
  import { CreateFunctionRegistryRequestSchema, CreateFunctionRegistryResponseSchema, DeleteFunctionRegistryRequestSchema, DeleteFunctionRegistryResponseSchema, DownloadFunctionRegistryScriptRequestSchema, DownloadFunctionRegistryScriptResponseSchema, GetFunctionRegistryRequestSchema, GetFunctionRegistryResponseSchema, ListFunctionRegistriesRequestSchema, ListFunctionRegistriesResponseSchema, UpdateFunctionRegistryRequestSchema, UpdateFunctionRegistryResponseSchema } from "./function_registry_pb.mjs";
13
14
  import { ListMeterAITokenUsagesRequestSchema, ListMeterAITokenUsagesResponseSchema, ListMeterEventCountsRequestSchema, ListMeterEventCountsResponseSchema, ListMeterExecutionCountsRequestSchema, ListMeterExecutionCountsResponseSchema, ListMeterRequestCountsRequestSchema, ListMeterRequestCountsResponseSchema } from "./meter_pb.mjs";
14
15
  import { CreateIdPClientRequestSchema, CreateIdPClientResponseSchema, CreateIdPServiceRequestSchema, CreateIdPServiceResponseSchema, DeleteIdPClientRequestSchema, DeleteIdPClientResponseSchema, DeleteIdPServiceRequestSchema, DeleteIdPServiceResponseSchema, GetIdPClientRequestSchema, GetIdPClientResponseSchema, GetIdPServiceRequestSchema, GetIdPServiceResponseSchema, ListIdPClientsRequestSchema, ListIdPClientsResponseSchema, ListIdPServicesRequestSchema, ListIdPServicesResponseSchema, UpdateIdPServiceRequestSchema, UpdateIdPServiceResponseSchema } from "./idp_pb.mjs";
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 { AcceptCustomDomainTransferRequestSchema, AcceptCustomDomainTransferResponseSchema, AddCustomDomainRequestSchema, AddCustomDomainResponseSchema, CancelCustomDomainTransferRequestSchema, CancelCustomDomainTransferResponseSchema, CreateDeploymentRequestSchema, CreateDeploymentResponseSchema, CreateStaticWebsiteRequestSchema, CreateStaticWebsiteResponseSchema, DeleteStaticWebsiteRequestSchema, DeleteStaticWebsiteResponseSchema, GetCustomDomainRequestSchema, GetCustomDomainResponseSchema, GetCustomDomainTransferRequestSchema, GetCustomDomainTransferResponseSchema, GetStaticWebsiteRequestSchema, GetStaticWebsiteResponseSchema, ListCustomDomainTransfersRequestSchema, ListCustomDomainTransfersResponseSchema, ListCustomDomainsRequestSchema, ListCustomDomainsResponseSchema, ListStaticWebsitesRequestSchema, ListStaticWebsitesResponseSchema, PublishDeploymentRequestSchema, PublishDeploymentResponseSchema, RemoveCustomDomainRequestSchema, RemoveCustomDomainResponseSchema, RequestCustomDomainTransferRequestSchema, RequestCustomDomainTransferResponseSchema, UpdateStaticWebsiteRequestSchema, UpdateStaticWebsiteResponseSchema, UploadFileRequestSchema, UploadFileResponseSchema } from "./staticwebsite_pb.mjs";
16
17
  import { CancelWorkflowExecutionRequestSchema, CancelWorkflowExecutionResponseSchema, 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
18
  import { BulkSetMetadataRequestSchema, BulkSetMetadataResponseSchema, GetMetadataRequestSchema, GetMetadataResponseSchema, ListMetadataRequestSchema, ListMetadataResponseSchema, SetMetadataRequestSchema, SetMetadataResponseSchema } from "./metadata_pb.mjs";
18
19
  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";
@@ -667,6 +668,98 @@ export declare const OperatorService: GenService<{
667
668
  input: typeof DeleteOrganizationFolderIPRestrictionRequestSchema;
668
669
  output: typeof DeleteOrganizationFolderIPRestrictionResponseSchema;
669
670
  };
671
+ /**
672
+ * ListOrganizationSecurityChecks evaluates every security check for the
673
+ * workspaces in an organization and returns one result per check. A check
674
+ * whose evaluating service fails is returned with status UNAVAILABLE.
675
+ *
676
+ * [Errors]
677
+ * - Unauthenticated: token is missing, expired, or invalid
678
+ * - InvalidArgument: request is invalid
679
+ * - PermissionDenied: caller does not have permission on the organization
680
+ * - NotFound: organization does not exist or can not be accessed
681
+ *
682
+ * @generated from rpc tailor.v1.OperatorService.ListOrganizationSecurityChecks
683
+ */
684
+ listOrganizationSecurityChecks: {
685
+ methodKind: "unary";
686
+ input: typeof ListOrganizationSecurityChecksRequestSchema;
687
+ output: typeof ListOrganizationSecurityChecksResponseSchema;
688
+ };
689
+ /**
690
+ * ListOrganizationSecurityFindings returns the findings of one security
691
+ * check across the workspaces in an organization.
692
+ *
693
+ * [Errors]
694
+ * - Unauthenticated: token is missing, expired, or invalid
695
+ * - InvalidArgument: request is invalid
696
+ * - PermissionDenied: caller does not have permission on the organization
697
+ * - NotFound: organization does not exist or can not be accessed
698
+ * - Unavailable: the service that evaluates the check did not respond
699
+ *
700
+ * @generated from rpc tailor.v1.OperatorService.ListOrganizationSecurityFindings
701
+ */
702
+ listOrganizationSecurityFindings: {
703
+ methodKind: "unary";
704
+ input: typeof ListOrganizationSecurityFindingsRequestSchema;
705
+ output: typeof ListOrganizationSecurityFindingsResponseSchema;
706
+ };
707
+ /**
708
+ * CreateOrganizationSecurityFindingMute mutes a security finding so it no
709
+ * longer counts toward its check's status.
710
+ *
711
+ * [Errors]
712
+ * - Unauthenticated: token is missing, expired, or invalid
713
+ * - InvalidArgument: request is invalid
714
+ * - PermissionDenied: caller does not have permission on the organization,
715
+ * or the caller is a machine user
716
+ * - NotFound: organization does not exist or can not be accessed, or the
717
+ * resource has no current finding for the check
718
+ * - AlreadyExists: the finding is already muted
719
+ * - Unavailable: the service that evaluates the check did not respond
720
+ *
721
+ * @generated from rpc tailor.v1.OperatorService.CreateOrganizationSecurityFindingMute
722
+ */
723
+ createOrganizationSecurityFindingMute: {
724
+ methodKind: "unary";
725
+ input: typeof CreateOrganizationSecurityFindingMuteRequestSchema;
726
+ output: typeof CreateOrganizationSecurityFindingMuteResponseSchema;
727
+ };
728
+ /**
729
+ * DeleteOrganizationSecurityFindingMute unmutes a security finding.
730
+ *
731
+ * [Errors]
732
+ * - Unauthenticated: token is missing, expired, or invalid
733
+ * - InvalidArgument: request is invalid
734
+ * - PermissionDenied: caller does not have permission on the organization,
735
+ * or the caller is a machine user
736
+ * - NotFound: organization does not exist or can not be accessed, or the
737
+ * finding is not muted
738
+ *
739
+ * @generated from rpc tailor.v1.OperatorService.DeleteOrganizationSecurityFindingMute
740
+ */
741
+ deleteOrganizationSecurityFindingMute: {
742
+ methodKind: "unary";
743
+ input: typeof DeleteOrganizationSecurityFindingMuteRequestSchema;
744
+ output: typeof DeleteOrganizationSecurityFindingMuteResponseSchema;
745
+ };
746
+ /**
747
+ * ListOrganizationSecurityFindingMutes returns the muted security findings
748
+ * in an organization.
749
+ *
750
+ * [Errors]
751
+ * - Unauthenticated: token is missing, expired, or invalid
752
+ * - InvalidArgument: request is invalid
753
+ * - PermissionDenied: caller does not have permission on the organization
754
+ * - NotFound: organization does not exist or can not be accessed
755
+ *
756
+ * @generated from rpc tailor.v1.OperatorService.ListOrganizationSecurityFindingMutes
757
+ */
758
+ listOrganizationSecurityFindingMutes: {
759
+ methodKind: "unary";
760
+ input: typeof ListOrganizationSecurityFindingMutesRequestSchema;
761
+ output: typeof ListOrganizationSecurityFindingMutesResponseSchema;
762
+ };
670
763
  /**
671
764
  * CreateOrganizationTeam creates a team in an organization.
672
765
  *
@@ -934,7 +1027,6 @@ export declare const OperatorService: GenService<{
934
1027
  *
935
1028
  * [Errors]
936
1029
  * - Unauthenticated: token is missing, expired, or invalid
937
- * - Unimplemented: feature flag is disabled
938
1030
  * - InvalidArgument: request is invalid
939
1031
  * - NotFound: workspace or application does not exist or cannot be accessed
940
1032
  * - FailedPrecondition: cross-region clone, namespace mismatch, or target is not empty
@@ -2918,6 +3010,8 @@ export declare const OperatorService: GenService<{
2918
3010
  * - Unauthenticated: token is missing, expired, or invalid
2919
3011
  * - InvalidArgument: request is invalid
2920
3012
  * - NotFound: staticwebsite does not exist or can not be accessed
3013
+ * - FailedPrecondition: one of the staticwebsite's custom domains has a pending transfer,
3014
+ * which must be cancelled first
2921
3015
  *
2922
3016
  * @generated from rpc tailor.v1.OperatorService.DeleteStaticWebsite
2923
3017
  */
@@ -2963,9 +3057,16 @@ export declare const OperatorService: GenService<{
2963
3057
  * - Unauthenticated: token is missing, expired, or invalid
2964
3058
  * - InvalidArgument: request is invalid or domain format is rejected
2965
3059
  * - NotFound: static website does not exist
2966
- * - AlreadyExists: domain is already registered
2967
- * - ResourceExhausted: maximum number of custom domains reached
2968
- * - FailedPrecondition: domain already has an active TLS subscription
3060
+ * - AlreadyExists: domain belongs to another workspace, or to another static website of
3061
+ * this workspace. A domain this static website already holds, and a domain offered to
3062
+ * this workspace by a transfer, are completed instead and returned with OK — the
3063
+ * response carries the transfer when one was completed or matched.
3064
+ * - ResourceExhausted: maximum number of custom domains reached (a new registration only;
3065
+ * a domain already attached here is not measured against the limit again)
3066
+ * - FailedPrecondition: domain already has an active TLS subscription; or, when the call
3067
+ * completes a transfer addressed to this workspace: the source cache purge is not yet
3068
+ * confirmed, this static website has no active deployment or is disabled, the source is
3069
+ * in another region, or the offer is stale
2969
3070
  *
2970
3071
  * @generated from rpc tailor.v1.OperatorService.AddCustomDomain
2971
3072
  */
@@ -3011,7 +3112,8 @@ export declare const OperatorService: GenService<{
3011
3112
  * - Unauthenticated: token is missing, expired, or invalid
3012
3113
  * - InvalidArgument: request is invalid
3013
3114
  * - NotFound: custom domain does not exist
3014
- * - FailedPrecondition: domain DNS is still active, remove DNS record before deleting
3115
+ * - FailedPrecondition: domain DNS is still active, remove DNS record before deleting; or
3116
+ * the domain has a pending transfer, which must be cancelled first
3015
3117
  *
3016
3118
  * @generated from rpc tailor.v1.OperatorService.RemoveCustomDomain
3017
3119
  */
@@ -3020,6 +3122,96 @@ export declare const OperatorService: GenService<{
3020
3122
  input: typeof RemoveCustomDomainRequestSchema;
3021
3123
  output: typeof RemoveCustomDomainResponseSchema;
3022
3124
  };
3125
+ /**
3126
+ * RequestCustomDomainTransfer offers a custom domain owned by this workspace to another workspace.
3127
+ * The transfer completes when the target workspace adds the domain to one of its static websites;
3128
+ * the Fastly registration and TLS subscription move with the domain, so DNS does not change.
3129
+ * Idempotent for an identical (domain, target) pair while the offer is pending.
3130
+ *
3131
+ * [Errors]
3132
+ * - Unauthenticated: token is missing, expired, or invalid
3133
+ * - InvalidArgument: request is invalid
3134
+ * - NotFound: custom domain does not exist in this workspace, or target workspace does not exist
3135
+ * - PermissionDenied: can view workspace but no permission to delete resources
3136
+ * - FailedPrecondition: domain is not certificate-issued, a transfer to another workspace is pending,
3137
+ * or the target is in another region
3138
+ *
3139
+ * @generated from rpc tailor.v1.OperatorService.RequestCustomDomainTransfer
3140
+ */
3141
+ requestCustomDomainTransfer: {
3142
+ methodKind: "unary";
3143
+ input: typeof RequestCustomDomainTransferRequestSchema;
3144
+ output: typeof RequestCustomDomainTransferResponseSchema;
3145
+ };
3146
+ /**
3147
+ * CancelCustomDomainTransfer withdraws a pending offer. Only the source workspace may cancel.
3148
+ *
3149
+ * [Errors]
3150
+ * - Unauthenticated: token is missing, expired, or invalid
3151
+ * - InvalidArgument: request is invalid
3152
+ * - NotFound: no live offer for this domain in this workspace
3153
+ * - PermissionDenied: can view workspace but no permission to delete resources
3154
+ *
3155
+ * @generated from rpc tailor.v1.OperatorService.CancelCustomDomainTransfer
3156
+ */
3157
+ cancelCustomDomainTransfer: {
3158
+ methodKind: "unary";
3159
+ input: typeof CancelCustomDomainTransferRequestSchema;
3160
+ output: typeof CancelCustomDomainTransferResponseSchema;
3161
+ };
3162
+ /**
3163
+ * AcceptCustomDomainTransfer completes a pending offer addressed to this workspace by attaching the
3164
+ * domain to one of its static websites. AddCustomDomain performs the same completion implicitly.
3165
+ *
3166
+ * [Errors]
3167
+ * - Unauthenticated: token is missing, expired, or invalid
3168
+ * - InvalidArgument: request is invalid, or the domain already belongs to that static website
3169
+ * - NotFound: no live offer addressed to this workspace, or static website does not exist
3170
+ * - PermissionDenied: can view workspace but no permission to create resources
3171
+ * - ResourceExhausted: static website reached the maximum number of custom domains
3172
+ * - FailedPrecondition: source and target are in different regions, the target has no active
3173
+ * deployment or is disabled, the domain is no longer certificate-issued, the offer is stale, or the
3174
+ * source cache purge is not yet confirmed
3175
+ *
3176
+ * @generated from rpc tailor.v1.OperatorService.AcceptCustomDomainTransfer
3177
+ */
3178
+ acceptCustomDomainTransfer: {
3179
+ methodKind: "unary";
3180
+ input: typeof AcceptCustomDomainTransferRequestSchema;
3181
+ output: typeof AcceptCustomDomainTransferResponseSchema;
3182
+ };
3183
+ /**
3184
+ * GetCustomDomainTransfer returns the latest transfer record for a domain in which this workspace is
3185
+ * the source or the target.
3186
+ *
3187
+ * [Errors]
3188
+ * - Unauthenticated: token is missing, expired, or invalid
3189
+ * - InvalidArgument: request is invalid
3190
+ * - NotFound: no transfer for this domain involves this workspace
3191
+ *
3192
+ * @generated from rpc tailor.v1.OperatorService.GetCustomDomainTransfer
3193
+ */
3194
+ getCustomDomainTransfer: {
3195
+ methodKind: "unary";
3196
+ input: typeof GetCustomDomainTransferRequestSchema;
3197
+ output: typeof GetCustomDomainTransferResponseSchema;
3198
+ };
3199
+ /**
3200
+ * ListCustomDomainTransfers lists transfers in which this workspace is the source or the target,
3201
+ * newest first, optionally filtered by status.
3202
+ *
3203
+ * [Errors]
3204
+ * - Unauthenticated: token is missing, expired, or invalid
3205
+ * - InvalidArgument: request is invalid
3206
+ * - NotFound: workspace does not exist or can not be accessed
3207
+ *
3208
+ * @generated from rpc tailor.v1.OperatorService.ListCustomDomainTransfers
3209
+ */
3210
+ listCustomDomainTransfers: {
3211
+ methodKind: "unary";
3212
+ input: typeof ListCustomDomainTransfersRequestSchema;
3213
+ output: typeof ListCustomDomainTransfersResponseSchema;
3214
+ };
3023
3215
  /**
3024
3216
  * CreateDeployment creates a new deployment.
3025
3217
  *
@@ -3507,8 +3699,8 @@ export declare const OperatorService: GenService<{
3507
3699
  output: typeof BulkSetMetadataResponseSchema;
3508
3700
  };
3509
3701
  /**
3510
- * ListMetadata finds resources in a workspace whose labels match all of
3511
- * the given key-value pairs.
3702
+ * ListMetadata lists labeled resources in a workspace, optionally narrowed
3703
+ * to those whose labels match all of the given key-value pairs.
3512
3704
  *
3513
3705
  * [Errors]
3514
3706
  * - Unauthenticated: token is missing, expired, or invalid
@@ -1,5 +1,5 @@
1
1
  import { PageDirection } from "./resource_pb.mjs";
2
- import { CustomDomain, StaticWebsite } from "./staticwebsite_resource_pb.mjs";
2
+ import { CustomDomain, CustomDomainTransfer, CustomDomainTransferStatus, StaticWebsite } from "./staticwebsite_resource_pb.mjs";
3
3
  import { GenMessage } from "@bufbuild/protobuf/codegenv2";
4
4
  import { Message } from "@bufbuild/protobuf";
5
5
  //#region ../tailor-proto/src/tailor/v1/staticwebsite_pb.d.ts
@@ -327,6 +327,12 @@ export declare type AddCustomDomainResponse = Message<"tailor.v1.AddCustomDomain
327
327
  * @generated from field: tailor.v1.CustomDomain custom_domain = 1;
328
328
  */
329
329
  customDomain?: CustomDomain;
330
+ /**
331
+ * Set only when the add completed (or, on an idempotent repeat, matches) a custom domain transfer.
332
+ *
333
+ * @generated from field: tailor.v1.CustomDomainTransfer transfer = 2;
334
+ */
335
+ transfer?: CustomDomainTransfer;
330
336
  };
331
337
  /**
332
338
  * Describes the message tailor.v1.AddCustomDomainResponse.
@@ -424,4 +430,198 @@ export declare type RemoveCustomDomainResponse = Message<"tailor.v1.RemoveCustom
424
430
  * Use `create(RemoveCustomDomainResponseSchema)` to create a new message.
425
431
  */
426
432
  export declare const RemoveCustomDomainResponseSchema: GenMessage<RemoveCustomDomainResponse>;
433
+ /**
434
+ * @generated from message tailor.v1.RequestCustomDomainTransferRequest
435
+ */
436
+ export declare type RequestCustomDomainTransferRequest = Message<"tailor.v1.RequestCustomDomainTransferRequest"> & {
437
+ /**
438
+ * The source — the caller's workspace.
439
+ *
440
+ * @generated from field: string workspace_id = 1;
441
+ */
442
+ workspaceId: string;
443
+ /**
444
+ * @generated from field: string domain = 2;
445
+ */
446
+ domain: string;
447
+ /**
448
+ * @generated from field: string target_workspace_id = 3;
449
+ */
450
+ targetWorkspaceId: string;
451
+ };
452
+ /**
453
+ * Describes the message tailor.v1.RequestCustomDomainTransferRequest.
454
+ * Use `create(RequestCustomDomainTransferRequestSchema)` to create a new message.
455
+ */
456
+ export declare const RequestCustomDomainTransferRequestSchema: GenMessage<RequestCustomDomainTransferRequest>;
457
+ /**
458
+ * @generated from message tailor.v1.RequestCustomDomainTransferResponse
459
+ */
460
+ export declare type RequestCustomDomainTransferResponse = Message<"tailor.v1.RequestCustomDomainTransferResponse"> & {
461
+ /**
462
+ * @generated from field: tailor.v1.CustomDomainTransfer transfer = 1;
463
+ */
464
+ transfer?: CustomDomainTransfer;
465
+ };
466
+ /**
467
+ * Describes the message tailor.v1.RequestCustomDomainTransferResponse.
468
+ * Use `create(RequestCustomDomainTransferResponseSchema)` to create a new message.
469
+ */
470
+ export declare const RequestCustomDomainTransferResponseSchema: GenMessage<RequestCustomDomainTransferResponse>;
471
+ /**
472
+ * @generated from message tailor.v1.CancelCustomDomainTransferRequest
473
+ */
474
+ export declare type CancelCustomDomainTransferRequest = Message<"tailor.v1.CancelCustomDomainTransferRequest"> & {
475
+ /**
476
+ * @generated from field: string workspace_id = 1;
477
+ */
478
+ workspaceId: string;
479
+ /**
480
+ * @generated from field: string domain = 2;
481
+ */
482
+ domain: string;
483
+ };
484
+ /**
485
+ * Describes the message tailor.v1.CancelCustomDomainTransferRequest.
486
+ * Use `create(CancelCustomDomainTransferRequestSchema)` to create a new message.
487
+ */
488
+ export declare const CancelCustomDomainTransferRequestSchema: GenMessage<CancelCustomDomainTransferRequest>;
489
+ /**
490
+ * @generated from message tailor.v1.CancelCustomDomainTransferResponse
491
+ */
492
+ export declare type CancelCustomDomainTransferResponse = Message<"tailor.v1.CancelCustomDomainTransferResponse"> & {};
493
+ /**
494
+ * Describes the message tailor.v1.CancelCustomDomainTransferResponse.
495
+ * Use `create(CancelCustomDomainTransferResponseSchema)` to create a new message.
496
+ */
497
+ export declare const CancelCustomDomainTransferResponseSchema: GenMessage<CancelCustomDomainTransferResponse>;
498
+ /**
499
+ * @generated from message tailor.v1.AcceptCustomDomainTransferRequest
500
+ */
501
+ export declare type AcceptCustomDomainTransferRequest = Message<"tailor.v1.AcceptCustomDomainTransferRequest"> & {
502
+ /**
503
+ * The target — the caller's workspace.
504
+ *
505
+ * @generated from field: string workspace_id = 1;
506
+ */
507
+ workspaceId: string;
508
+ /**
509
+ * @generated from field: string static_website_name = 2;
510
+ */
511
+ staticWebsiteName: string;
512
+ /**
513
+ * @generated from field: string domain = 3;
514
+ */
515
+ domain: string;
516
+ };
517
+ /**
518
+ * Describes the message tailor.v1.AcceptCustomDomainTransferRequest.
519
+ * Use `create(AcceptCustomDomainTransferRequestSchema)` to create a new message.
520
+ */
521
+ export declare const AcceptCustomDomainTransferRequestSchema: GenMessage<AcceptCustomDomainTransferRequest>;
522
+ /**
523
+ * @generated from message tailor.v1.AcceptCustomDomainTransferResponse
524
+ */
525
+ export declare type AcceptCustomDomainTransferResponse = Message<"tailor.v1.AcceptCustomDomainTransferResponse"> & {
526
+ /**
527
+ * @generated from field: tailor.v1.CustomDomain custom_domain = 1;
528
+ */
529
+ customDomain?: CustomDomain;
530
+ /**
531
+ * @generated from field: tailor.v1.CustomDomainTransfer transfer = 2;
532
+ */
533
+ transfer?: CustomDomainTransfer;
534
+ };
535
+ /**
536
+ * Describes the message tailor.v1.AcceptCustomDomainTransferResponse.
537
+ * Use `create(AcceptCustomDomainTransferResponseSchema)` to create a new message.
538
+ */
539
+ export declare const AcceptCustomDomainTransferResponseSchema: GenMessage<AcceptCustomDomainTransferResponse>;
540
+ /**
541
+ * @generated from message tailor.v1.GetCustomDomainTransferRequest
542
+ */
543
+ export declare type GetCustomDomainTransferRequest = Message<"tailor.v1.GetCustomDomainTransferRequest"> & {
544
+ /**
545
+ * @generated from field: string workspace_id = 1;
546
+ */
547
+ workspaceId: string;
548
+ /**
549
+ * @generated from field: string domain = 2;
550
+ */
551
+ domain: string;
552
+ };
553
+ /**
554
+ * Describes the message tailor.v1.GetCustomDomainTransferRequest.
555
+ * Use `create(GetCustomDomainTransferRequestSchema)` to create a new message.
556
+ */
557
+ export declare const GetCustomDomainTransferRequestSchema: GenMessage<GetCustomDomainTransferRequest>;
558
+ /**
559
+ * @generated from message tailor.v1.GetCustomDomainTransferResponse
560
+ */
561
+ export declare type GetCustomDomainTransferResponse = Message<"tailor.v1.GetCustomDomainTransferResponse"> & {
562
+ /**
563
+ * @generated from field: tailor.v1.CustomDomainTransfer transfer = 1;
564
+ */
565
+ transfer?: CustomDomainTransfer;
566
+ };
567
+ /**
568
+ * Describes the message tailor.v1.GetCustomDomainTransferResponse.
569
+ * Use `create(GetCustomDomainTransferResponseSchema)` to create a new message.
570
+ */
571
+ export declare const GetCustomDomainTransferResponseSchema: GenMessage<GetCustomDomainTransferResponse>;
572
+ /**
573
+ * @generated from message tailor.v1.ListCustomDomainTransfersRequest
574
+ */
575
+ export declare type ListCustomDomainTransfersRequest = Message<"tailor.v1.ListCustomDomainTransfersRequest"> & {
576
+ /**
577
+ * @generated from field: string workspace_id = 1;
578
+ */
579
+ workspaceId: string;
580
+ /**
581
+ * Optional; UNSPECIFIED means no filter. A value outside the enum is rejected rather than
582
+ * read as "nothing matches".
583
+ *
584
+ * @generated from field: tailor.v1.CustomDomainTransferStatus status = 2;
585
+ */
586
+ status: CustomDomainTransferStatus;
587
+ /**
588
+ * @generated from field: string page_token = 3;
589
+ */
590
+ pageToken: string;
591
+ /**
592
+ * @generated from field: uint32 page_size = 4;
593
+ */
594
+ pageSize: number;
595
+ /**
596
+ * @generated from field: tailor.v1.PageDirection page_direction = 5;
597
+ */
598
+ pageDirection: PageDirection;
599
+ };
600
+ /**
601
+ * Describes the message tailor.v1.ListCustomDomainTransfersRequest.
602
+ * Use `create(ListCustomDomainTransfersRequestSchema)` to create a new message.
603
+ */
604
+ export declare const ListCustomDomainTransfersRequestSchema: GenMessage<ListCustomDomainTransfersRequest>;
605
+ /**
606
+ * @generated from message tailor.v1.ListCustomDomainTransfersResponse
607
+ */
608
+ export declare type ListCustomDomainTransfersResponse = Message<"tailor.v1.ListCustomDomainTransfersResponse"> & {
609
+ /**
610
+ * @generated from field: repeated tailor.v1.CustomDomainTransfer transfers = 1;
611
+ */
612
+ transfers: CustomDomainTransfer[];
613
+ /**
614
+ * @generated from field: string next_page_token = 2;
615
+ */
616
+ nextPageToken: string;
617
+ /**
618
+ * @generated from field: int64 total_count = 3;
619
+ */
620
+ totalCount: bigint;
621
+ };
622
+ /**
623
+ * Describes the message tailor.v1.ListCustomDomainTransfersResponse.
624
+ * Use `create(ListCustomDomainTransfersResponseSchema)` to create a new message.
625
+ */
626
+ export declare const ListCustomDomainTransfersResponseSchema: GenMessage<ListCustomDomainTransfersResponse>;
427
627
  //#endregion
@@ -56,6 +56,62 @@ export declare type CustomDomain = Message<"tailor.v1.CustomDomain"> & {
56
56
  */
57
57
  updatedAt?: Timestamp;
58
58
  };
59
+ /**
60
+ * CustomDomainTransfer is an offer to move a custom domain from a source workspace to a target
61
+ * workspace without re-issuing its certificate or changing DNS.
62
+ *
63
+ * @generated from message tailor.v1.CustomDomainTransfer
64
+ */
65
+ export declare type CustomDomainTransfer = Message<"tailor.v1.CustomDomainTransfer"> & {
66
+ /**
67
+ * @generated from field: string domain = 1;
68
+ */
69
+ domain: string;
70
+ /**
71
+ * @generated from field: string source_workspace_id = 2;
72
+ */
73
+ sourceWorkspaceId: string;
74
+ /**
75
+ * @generated from field: string source_static_website_name = 3;
76
+ */
77
+ sourceStaticWebsiteName: string;
78
+ /**
79
+ * @generated from field: string target_workspace_id = 4;
80
+ */
81
+ targetWorkspaceId: string;
82
+ /**
83
+ * Set on completion.
84
+ *
85
+ * @generated from field: string target_static_website_name = 5;
86
+ */
87
+ targetStaticWebsiteName: string;
88
+ /**
89
+ * @generated from field: tailor.v1.CustomDomainTransferStatus status = 6;
90
+ */
91
+ status: CustomDomainTransferStatus;
92
+ /**
93
+ * @generated from field: google.protobuf.Timestamp expires_at = 7;
94
+ */
95
+ expiresAt?: Timestamp;
96
+ /**
97
+ * @generated from field: google.protobuf.Timestamp completed_at = 8;
98
+ */
99
+ completedAt?: Timestamp;
100
+ /**
101
+ * @generated from field: google.protobuf.Timestamp created_at = 9;
102
+ */
103
+ createdAt?: Timestamp;
104
+ /**
105
+ * @generated from field: google.protobuf.Timestamp updated_at = 10;
106
+ */
107
+ updatedAt?: Timestamp;
108
+ /**
109
+ * Unset until the source edge cache purge is confirmed; the offer cannot be accepted before then.
110
+ *
111
+ * @generated from field: google.protobuf.Timestamp request_purged_at = 11;
112
+ */
113
+ requestPurgedAt?: Timestamp;
114
+ };
59
115
  /**
60
116
  * @generated from enum tailor.v1.CustomDomainStatus
61
117
  */
@@ -83,6 +139,37 @@ export declare enum CustomDomainStatus {
83
139
  /**
84
140
  * @generated from enum value: CUSTOM_DOMAIN_STATUS_FAILED = 5;
85
141
  */
86
- FAILED = 5
142
+ FAILED = 5,
143
+ /**
144
+ * The domain is being removed; it cannot be re-added until removal completes.
145
+ *
146
+ * @generated from enum value: CUSTOM_DOMAIN_STATUS_REMOVING = 6;
147
+ */
148
+ REMOVING = 6
149
+ }
150
+ /**
151
+ * @generated from enum tailor.v1.CustomDomainTransferStatus
152
+ */
153
+ export declare enum CustomDomainTransferStatus {
154
+ /**
155
+ * @generated from enum value: CUSTOM_DOMAIN_TRANSFER_STATUS_UNSPECIFIED = 0;
156
+ */
157
+ UNSPECIFIED = 0,
158
+ /**
159
+ * @generated from enum value: CUSTOM_DOMAIN_TRANSFER_STATUS_PENDING = 1;
160
+ */
161
+ PENDING = 1,
162
+ /**
163
+ * @generated from enum value: CUSTOM_DOMAIN_TRANSFER_STATUS_COMPLETED = 2;
164
+ */
165
+ COMPLETED = 2,
166
+ /**
167
+ * @generated from enum value: CUSTOM_DOMAIN_TRANSFER_STATUS_CANCELLED = 3;
168
+ */
169
+ CANCELLED = 3,
170
+ /**
171
+ * @generated from enum value: CUSTOM_DOMAIN_TRANSFER_STATUS_EXPIRED = 4;
172
+ */
173
+ EXPIRED = 4
87
174
  }
88
175
  //#endregion
@@ -0,0 +1,2 @@
1
+ import{SpanStatusCode as e,context as t,trace as n}from"@opentelemetry/api";function parseTelemetryConfig(){let e=process.env.OTEL_EXPORTER_OTLP_ENDPOINT??``;return{enabled:e.length>0,endpoint:e}}let r,i=!1,a;async function initTelemetry(){if(i||(i=!0,r=parseTelemetryConfig(),!r.enabled))return;let[{TracerProvider:e,BatchSpanProcessor:o},{AsyncLocalStorageContextManager:s},{OTLPTraceExporter:c},{resourceFromAttributes:l},{ATTR_SERVICE_NAME:u,ATTR_SERVICE_VERSION:d},{readPackageJson:f}]=await Promise.all([import(`@opentelemetry/sdk-trace`),import(`@opentelemetry/context-async-hooks`),import(`@opentelemetry/exporter-trace-otlp-proto`),import(`@opentelemetry/resources`),import(`@opentelemetry/semantic-conventions`),import(`./package-json-D1BRkjtr.mjs`)]),p=(await f()).version??`unknown`;a=new e({resource:l({[u]:`tailor`,[d]:p}),spanProcessors:[new o({exporter:new c({url:`${r.endpoint}/v1/traces`})})]}),t.setGlobalContextManager(new s().enable()),n.setGlobalTracerProvider(a)}async function shutdownTelemetry(){a&&await a.shutdown()}async function withSpan(t,r){return n.getTracer(`tailor`).startActiveSpan(t,async t=>{try{let n=await r(t);return t.setStatus({code:e.OK}),n}catch(n){throw t.setStatus({code:e.ERROR}),n instanceof Error&&t.recordException(n),n}finally{t.end()}})}export{shutdownTelemetry as n,withSpan as r,initTelemetry as t};
2
+ //# sourceMappingURL=telemetry-DfT2UfI4.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"telemetry-DfT2UfI4.mjs","names":["endpoint","_config","_initialized","_provider","version","readPackageJson","TracerProvider","resourceFromAttributes","ATTR_SERVICE_NAME","ATTR_SERVICE_VERSION","BatchSpanProcessor","OTLPTraceExporter","context","AsyncLocalStorageContextManager","trace","name","result","fn","span","SpanStatusCode","error"],"sources":["../src/cli/telemetry/config.ts","../src/cli/telemetry/index.ts"],"sourcesContent":["/**\n * Telemetry configuration parsed from standard OpenTelemetry environment variables.\n * Tracing is enabled when OTEL_EXPORTER_OTLP_ENDPOINT is set.\n */\nexport interface TelemetryConfig {\n readonly enabled: boolean;\n readonly endpoint: string;\n}\n\n/**\n * Parse telemetry configuration from standard OpenTelemetry environment variables.\n * Tracing is enabled when OTEL_EXPORTER_OTLP_ENDPOINT is set.\n * @returns Telemetry configuration\n */\nexport function parseTelemetryConfig(): TelemetryConfig {\n const endpoint = process.env.OTEL_EXPORTER_OTLP_ENDPOINT ?? \"\";\n const enabled = endpoint.length > 0;\n\n return {\n enabled,\n endpoint,\n };\n}\n","import { context, trace, SpanStatusCode, type Span, type TracerProvider } from \"@opentelemetry/api\";\nimport { parseTelemetryConfig, type TelemetryConfig } from \"./config\";\n\nlet _config: TelemetryConfig | undefined;\nlet _initialized = false;\nlet _provider: (TracerProvider & { shutdown: () => Promise<void> }) | undefined;\n\n/**\n * Check whether telemetry is currently enabled.\n * @returns true if telemetry has been initialized and is enabled\n */\nexport function isTelemetryEnabled(): boolean {\n return _config?.enabled ?? false;\n}\n\n/**\n * Initialize telemetry if OTEL_EXPORTER_OTLP_ENDPOINT is set.\n * When disabled, this is a no-op with zero overhead beyond reading env vars.\n * @returns Promise that resolves when initialization completes\n */\nexport async function initTelemetry(): Promise<void> {\n if (_initialized) return;\n _initialized = true;\n\n _config = parseTelemetryConfig();\n if (!_config.enabled) return;\n\n // Dynamic imports - only loaded when tracing is enabled\n const [\n { TracerProvider, BatchSpanProcessor },\n { AsyncLocalStorageContextManager },\n { OTLPTraceExporter },\n { resourceFromAttributes },\n { ATTR_SERVICE_NAME, ATTR_SERVICE_VERSION },\n { readPackageJson },\n ] = await Promise.all([\n import(\"@opentelemetry/sdk-trace\"),\n import(\"@opentelemetry/context-async-hooks\"),\n import(\"@opentelemetry/exporter-trace-otlp-proto\"),\n import(\"@opentelemetry/resources\"),\n import(\"@opentelemetry/semantic-conventions\"),\n import(\"#/cli/shared/package-json\"),\n ]);\n\n const packageJson = await readPackageJson();\n const version = packageJson.version ?? \"unknown\";\n\n const resource = resourceFromAttributes({\n [ATTR_SERVICE_NAME]: \"tailor\",\n [ATTR_SERVICE_VERSION]: version,\n });\n\n const exporter = new OTLPTraceExporter({\n url: `${_config.endpoint}/v1/traces`,\n });\n\n _provider = new TracerProvider({\n resource,\n spanProcessors: [new BatchSpanProcessor({ exporter })],\n });\n\n context.setGlobalContextManager(new AsyncLocalStorageContextManager().enable());\n trace.setGlobalTracerProvider(_provider);\n}\n\n/**\n * Shutdown the telemetry provider, flushing all pending spans.\n * Must be called before process exit to ensure traces are exported.\n * @returns Promise that resolves when shutdown completes\n */\nexport async function shutdownTelemetry(): Promise<void> {\n if (!_provider) return;\n await _provider.shutdown();\n}\n\n/**\n * Execute a function within a new span. Records exceptions and sets span status.\n * When no TracerProvider is registered, the OTel API automatically provides\n * noop spans with zero overhead.\n * @param name - Span name\n * @param fn - Function to execute within the span\n * @returns Result of fn\n */\nexport async function withSpan<T>(name: string, fn: (span: Span) => Promise<T>): Promise<T> {\n const tracer = trace.getTracer(\"tailor\");\n\n return tracer.startActiveSpan(name, async (span) => {\n try {\n const result = await fn(span);\n span.setStatus({ code: SpanStatusCode.OK });\n return result;\n } catch (error) {\n span.setStatus({ code: SpanStatusCode.ERROR });\n if (error instanceof Error) {\n span.recordException(error);\n }\n throw error;\n } finally {\n span.end();\n }\n });\n}\n"],"mappings":"A,4EAcA,SAAgB,sBAAwC,CACtD,IAAMA,EAAW,QAAQ,IAAI,6BAA+B,GAG5D,MAAO,CACL,QAHcA,EAAS,OAAS,EAIhC,UACF,CACF,CCnBA,IAAIC,EACAC,EAAe,GACfC,EAeJ,eAAsB,eAA+B,CAKnD,GAJID,IACJ,EAAe,GAEf,EAAU,qBAAqB,EAC3B,CAACD,EAAQ,SAAS,OAGtB,GAAM,CACJ,CAAE,iBAAgB,sBAClB,CAAE,mCACF,CAAE,qBACF,CAAE,0BACF,CAAE,oBAAmB,wBACrB,CAAE,oBACA,MAAM,QAAQ,IAAI,CACpB,OAAO,4BACP,OAAO,sCACP,OAAO,4CACP,OAAO,4BACP,OAAO,uCACP,OAAO,8BACT,CAAC,EAGKG,GAAU,MADUC,EAAgB,EAAA,CACd,SAAW,UAWvC,EAAY,IAAIC,EAAe,CAC7B,SAVeC,EAAuB,EACrCC,GAAoB,UACpBC,GAAuBL,CAC1B,CAOS,EACP,eAAgB,CAAC,IAAIM,EAAmB,CAAE,SAAA,IANvBC,EAAkB,CACrC,IAAK,GAAGV,EAAQ,SAAS,WAC3B,CAImD,CAAE,CAAC,CAAC,CACvD,CAAC,EAEDW,EAAQ,wBAAwB,IAAIC,EAAgC,CAAC,CAAC,OAAO,CAAC,EAC9EC,EAAM,wBAAwBX,CAAS,CACzC,CAOA,eAAsB,mBAAmC,CAClDA,GACL,MAAMA,EAAU,SAAS,CAC3B,CAUA,eAAsB,SAAY,EAAc,EAA4C,CAG1F,OAFeW,EAAM,UAAU,QAEnB,CAAC,CAAC,gBAAgBC,EAAM,KAAO,IAAS,CAClD,GAAI,CACF,IAAMC,EAAS,MAAMC,EAAGC,CAAI,EAE5B,OADAA,EAAK,UAAU,CAAE,KAAMC,EAAe,EAAG,CAAC,EACnCH,CACT,OAASI,EAAO,CAKd,MAJAF,EAAK,UAAU,CAAE,KAAMC,EAAe,KAAM,CAAC,EACzCC,aAAiB,OACnBF,EAAK,gBAAgBE,CAAK,EAEtBA,CACR,QAAU,CACRF,EAAK,IAAI,CACX,CACF,CAAC,CACH,C"}
@@ -1 +1 @@
1
- export{t as initTelemetry,n as shutdownTelemetry}from"./telemetry-Xk7J829P.mjs";
1
+ export{t as initTelemetry,n as shutdownTelemetry}from"./telemetry-DfT2UfI4.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"type-source--ZNcV8RJ.mjs","names":["source"],"sources":["../src/parser/service/tailordb/type-source.ts"],"sourcesContent":["import type { PluginGeneratedTableSource, TypeSourceInfoEntry } from \"./types\";\n\n/**\n * Checks if a table source is generated by a plugin.\n * @param source - The table source entry to check.\n * @returns True if the source was generated by a plugin.\n */\nexport function isPluginGeneratedTable(\n source: TypeSourceInfoEntry,\n): source is PluginGeneratedTableSource {\n return source.pluginId !== undefined;\n}\n"],"mappings":"AAOA,SAAgB,uBACd,EACsC,CACtC,OAAOA,EAAO,WAAa,IAAA,EAC7B"}
1
+ {"version":3,"file":"type-source--ZNcV8RJ.mjs","names":["source"],"sources":["../src/parser/service/tailordb/type-source.ts"],"sourcesContent":["import type { PluginGeneratedTableSource, TypeSourceInfoEntry } from \"./types\";\n\n/**\n * Checks if a table source is generated by a plugin.\n * @param source - The table source entry to check.\n * @returns True if the source was generated by a plugin.\n */\nexport function isPluginGeneratedTable(\n source: TypeSourceInfoEntry,\n): source is PluginGeneratedTableSource {\n return source.pluginId !== undefined;\n}\n"],"mappings":"AAOA,SAAgB,uBACd,EACsC,CACtC,OAAOA,EAAO,WAAa,IAAA,EAC7B,C"}
@@ -7,7 +7,15 @@ export type StaticWebsite = {
7
7
  /** IP addresses allowed to access the website */
8
8
  allowedIpAddresses?: string[] | undefined;
9
9
  /** Custom domains for the static website */
10
- customDomains?: string[] | undefined;
10
+ customDomains?: (string | {
11
+ /** Custom domain to move to another workspace */
12
+ domain: string;
13
+ /** Where the domain should move */
14
+ transferTo: {
15
+ /** Workspace that receives the domain */
16
+ workspaceId: string;
17
+ };
18
+ })[] | undefined;
11
19
  };
12
20
  export type StaticWebsiteInput = StaticWebsite;
13
21
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"user-agent-vdHYF3QL.mjs","names":["readPackageJson","version"],"sources":["../src/cli/shared/user-agent.ts"],"sourcesContent":["import { readPackageJson } from \"./package-json\";\n\n/**\n * Build the User-Agent string from an already-known SDK version, without\n * touching the filesystem. Use this when the caller has resolved the version\n * (e.g. crash reporting already reads `package.json`) to avoid a redundant read.\n * @param version - SDK version string\n * @returns User-Agent header value\n */\nexport function userAgentFromVersion(version: string): string {\n return `tailor/${version}`;\n}\n\n/**\n * Build the User-Agent string for CLI requests.\n *\n * Lives in its own module (rather than `client.ts`) so callers that only need\n * the UA — e.g. crash reporting — do not pull in the operator client's heavy\n * OAuth2/Connect/Protobuf dependencies, and so importing it never forms a cycle.\n * @returns User-Agent header value\n */\nexport async function userAgent() {\n const packageJson = await readPackageJson();\n return userAgentFromVersion(packageJson.version ?? \"unknown\");\n}\n"],"mappings":"gDASA,SAAgB,qBAAqB,EAAyB,CAC5D,MAAO,UAAUC,GACnB,CAUA,eAAsB,WAAY,CAEhC,OAAO,sBAAqB,MADFD,EAAgB,EAAA,CACF,SAAW,SAAS,CAC9D"}
1
+ {"version":3,"file":"user-agent-vdHYF3QL.mjs","names":["readPackageJson","version"],"sources":["../src/cli/shared/user-agent.ts"],"sourcesContent":["import { readPackageJson } from \"./package-json\";\n\n/**\n * Build the User-Agent string from an already-known SDK version, without\n * touching the filesystem. Use this when the caller has resolved the version\n * (e.g. crash reporting already reads `package.json`) to avoid a redundant read.\n * @param version - SDK version string\n * @returns User-Agent header value\n */\nexport function userAgentFromVersion(version: string): string {\n return `tailor/${version}`;\n}\n\n/**\n * Build the User-Agent string for CLI requests.\n *\n * Lives in its own module (rather than `client.ts`) so callers that only need\n * the UA — e.g. crash reporting — do not pull in the operator client's heavy\n * OAuth2/Connect/Protobuf dependencies, and so importing it never forms a cycle.\n * @returns User-Agent header value\n */\nexport async function userAgent() {\n const packageJson = await readPackageJson();\n return userAgentFromVersion(packageJson.version ?? \"unknown\");\n}\n"],"mappings":"A,gDASA,SAAgB,qBAAqB,EAAyB,CAC5D,MAAO,UAAUC,GACnB,CAUA,eAAsB,WAAY,CAEhC,OAAO,sBAAqB,MADFD,EAAgB,EAAA,CACF,SAAW,SAAS,CAC9D,C"}