@tailor-platform/sdk 2.32.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 (61) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/dist/{application-D0xNJbag.mjs → application-B9_NHiUC.mjs} +40 -32
  3. package/dist/application-B9_NHiUC.mjs.map +1 -0
  4. package/dist/application-Bet1K5C4.mjs +1 -0
  5. package/dist/cli/commands/deploy/staticwebsite.d.mts +1 -0
  6. package/dist/cli/lib.mjs +1 -1
  7. package/dist/cli/main.mjs +44 -33
  8. package/dist/cli/main.mjs.map +1 -1
  9. package/dist/cli/services/resolver/service.d.mts +1 -0
  10. package/dist/cli/shared/client.d.mts +52 -1
  11. package/dist/cli/ts-hook.d.mts +0 -2
  12. package/dist/cli/ts-hook.mjs +0 -113
  13. package/dist/completion/zsh-worker.zsh +25 -5
  14. package/dist/configure/services/staticwebsite/index.d.mts +6 -1
  15. package/dist/{kysely-type-CBwsdx16.mjs → kysely-type-DxyIWXc6.mjs} +3 -3
  16. package/dist/kysely-type-DxyIWXc6.mjs.map +1 -0
  17. package/dist/manager-DTRhIupk.mjs +2 -0
  18. package/dist/manager-DTRhIupk.mjs.map +1 -0
  19. package/dist/plugin/builtin/enum-constants/index.mjs +2 -2
  20. package/dist/plugin/builtin/enum-constants/index.mjs.map +1 -1
  21. package/dist/plugin/builtin/kysely-type/index.mjs +1 -1
  22. package/dist/plugin/index.mjs +1 -1
  23. package/dist/plugin/types.d.mts +3 -0
  24. package/dist/register-ts-hook-Dp9reSRG.mjs +1053 -0
  25. package/dist/register-ts-hook-Dp9reSRG.mjs.map +1 -0
  26. package/dist/repl-editor-DkrCZmmg.mjs +2 -0
  27. package/dist/repl-editor-DkrCZmmg.mjs.map +1 -0
  28. package/dist/service_pb-6EkMfdOb.mjs +2 -0
  29. package/dist/service_pb-6EkMfdOb.mjs.map +1 -0
  30. package/dist/service_pb-CsJKokDl.mjs +1 -0
  31. package/dist/tailor-proto/src/tailor/v1/metadata_pb.d.mts +5 -2
  32. package/dist/tailor-proto/src/tailor/v1/security_pb.d.mts +213 -0
  33. package/dist/tailor-proto/src/tailor/v1/security_resource_pb.d.mts +301 -0
  34. package/dist/tailor-proto/src/tailor/v1/service_pb.d.mts +200 -8
  35. package/dist/tailor-proto/src/tailor/v1/staticwebsite_pb.d.mts +201 -1
  36. package/dist/tailor-proto/src/tailor/v1/staticwebsite_resource_pb.d.mts +88 -1
  37. package/dist/types/staticwebsite.generated.d.mts +9 -1
  38. package/dist/vitest/index.d.mts +2 -2
  39. package/dist/vitest/index.mjs +1 -1
  40. package/dist/vitest/index.mjs.map +1 -1
  41. package/dist/vitest/pglite-kysely.d.mts +19 -0
  42. package/dist/{workspace_resource_pb-CaoM2npP.mjs → workspace_resource_pb-C4CkoYww.mjs} +2 -2
  43. package/dist/workspace_resource_pb-C4CkoYww.mjs.map +1 -0
  44. package/docs/plugin/custom.md +34 -0
  45. package/docs/plugin/index.md +1 -0
  46. package/docs/services/staticwebsite.md +31 -1
  47. package/docs/services/tailordb/migration.md +33 -10
  48. package/package.json +5 -5
  49. package/dist/application-C2bPmmbh.mjs +0 -1
  50. package/dist/application-D0xNJbag.mjs.map +0 -1
  51. package/dist/kysely-type-CBwsdx16.mjs.map +0 -1
  52. package/dist/manager-Bk-7vkwd.mjs +0 -2
  53. package/dist/manager-Bk-7vkwd.mjs.map +0 -1
  54. package/dist/register-ts-hook-_dHIREtU.mjs +0 -1050
  55. package/dist/register-ts-hook-_dHIREtU.mjs.map +0 -1
  56. package/dist/repl-editor-DGJBfIt1.mjs +0 -2
  57. package/dist/repl-editor-DGJBfIt1.mjs.map +0 -1
  58. package/dist/service_pb-Bbu2QSIr.mjs +0 -2
  59. package/dist/service_pb-Bbu2QSIr.mjs.map +0 -1
  60. package/dist/service_pb-urxAIYHT.mjs +0 -1
  61. package/dist/workspace_resource_pb-CaoM2npP.mjs.map +0 -1
@@ -0,0 +1,301 @@
1
+ import { GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import { Message } from "@bufbuild/protobuf";
3
+ import { Timestamp } from "@bufbuild/protobuf/wkt";
4
+ //#region ../tailor-proto/src/tailor/v1/security_resource_pb.d.ts
5
+ /**
6
+ * @generated from message tailor.v1.TailorDBTypeRef
7
+ */
8
+ export declare type TailorDBTypeRef = Message<"tailor.v1.TailorDBTypeRef"> & {
9
+ /**
10
+ * @generated from field: string namespace = 1;
11
+ */
12
+ namespace: string;
13
+ /**
14
+ * @generated from field: string type = 2;
15
+ */
16
+ type: string;
17
+ };
18
+ /**
19
+ * @generated from message tailor.v1.IdPRef
20
+ */
21
+ export declare type IdPRef = Message<"tailor.v1.IdPRef"> & {
22
+ /**
23
+ * @generated from field: string namespace = 1;
24
+ */
25
+ namespace: string;
26
+ };
27
+ /**
28
+ * @generated from message tailor.v1.ApplicationRef
29
+ */
30
+ export declare type ApplicationRef = Message<"tailor.v1.ApplicationRef"> & {
31
+ /**
32
+ * @generated from field: string name = 1;
33
+ */
34
+ name: string;
35
+ };
36
+ /**
37
+ * @generated from message tailor.v1.MachineUserRef
38
+ */
39
+ export declare type MachineUserRef = Message<"tailor.v1.MachineUserRef"> & {
40
+ /**
41
+ * @generated from field: string name = 1;
42
+ */
43
+ name: string;
44
+ };
45
+ /**
46
+ * @generated from message tailor.v1.OrganizationRef
47
+ */
48
+ export declare type OrganizationRef = Message<"tailor.v1.OrganizationRef"> & {};
49
+ /**
50
+ * @generated from message tailor.v1.SecurityResource
51
+ */
52
+ export declare type SecurityResource = Message<"tailor.v1.SecurityResource"> & {
53
+ /**
54
+ * Empty for organization-scoped resources.
55
+ *
56
+ * @generated from field: string workspace_id = 1;
57
+ */
58
+ workspaceId: string;
59
+ /**
60
+ * Immutable UUID of the resource; the key used for mutes.
61
+ *
62
+ * @generated from field: string resource_id = 2;
63
+ */
64
+ resourceId: string;
65
+ /**
66
+ * Display reference used to link to the resource.
67
+ *
68
+ * @generated from oneof tailor.v1.SecurityResource.ref
69
+ */
70
+ ref: {
71
+ /**
72
+ * @generated from field: tailor.v1.TailorDBTypeRef tailordb_type = 10;
73
+ */
74
+ value: TailorDBTypeRef;
75
+ case: "tailordbType";
76
+ } | {
77
+ /**
78
+ * @generated from field: tailor.v1.IdPRef idp = 11;
79
+ */
80
+ value: IdPRef;
81
+ case: "idp";
82
+ } | {
83
+ /**
84
+ * @generated from field: tailor.v1.ApplicationRef application = 12;
85
+ */
86
+ value: ApplicationRef;
87
+ case: "application";
88
+ } | {
89
+ /**
90
+ * @generated from field: tailor.v1.MachineUserRef machine_user = 14;
91
+ */
92
+ value: MachineUserRef;
93
+ case: "machineUser";
94
+ } | {
95
+ /**
96
+ * @generated from field: tailor.v1.OrganizationRef organization = 17;
97
+ */
98
+ value: OrganizationRef;
99
+ case: "organization";
100
+ } | {
101
+ case: undefined;
102
+ value?: undefined;
103
+ };
104
+ };
105
+ /**
106
+ * @generated from message tailor.v1.SecurityCheck
107
+ */
108
+ export declare type SecurityCheck = Message<"tailor.v1.SecurityCheck"> & {
109
+ /**
110
+ * @generated from field: tailor.v1.SecurityCheckType type = 1;
111
+ */
112
+ type: SecurityCheckType;
113
+ /**
114
+ * @generated from field: tailor.v1.SecuritySeverity severity = 2;
115
+ */
116
+ severity: SecuritySeverity;
117
+ /**
118
+ * @generated from field: string title = 3;
119
+ */
120
+ title: string;
121
+ /**
122
+ * @generated from field: string description = 4;
123
+ */
124
+ description: string;
125
+ /**
126
+ * @generated from field: string remediation = 5;
127
+ */
128
+ remediation: string;
129
+ /**
130
+ * @generated from field: tailor.v1.SecurityCheckStatus status = 6;
131
+ */
132
+ status: SecurityCheckStatus;
133
+ /**
134
+ * Number of unmuted findings.
135
+ *
136
+ * @generated from field: int64 finding_count = 7;
137
+ */
138
+ findingCount: bigint;
139
+ /**
140
+ * @generated from field: int64 muted_finding_count = 8;
141
+ */
142
+ mutedFindingCount: bigint;
143
+ /**
144
+ * @generated from field: google.protobuf.Timestamp evaluated_at = 9;
145
+ */
146
+ evaluatedAt?: Timestamp;
147
+ };
148
+ /**
149
+ * @generated from message tailor.v1.SecurityFinding
150
+ */
151
+ export declare type SecurityFinding = Message<"tailor.v1.SecurityFinding"> & {
152
+ /**
153
+ * @generated from field: tailor.v1.SecurityCheckType check_type = 1;
154
+ */
155
+ checkType: SecurityCheckType;
156
+ /**
157
+ * @generated from field: tailor.v1.SecuritySeverity severity = 2;
158
+ */
159
+ severity: SecuritySeverity;
160
+ /**
161
+ * @generated from field: tailor.v1.SecurityResource resource = 3;
162
+ */
163
+ resource?: SecurityResource;
164
+ /**
165
+ * @generated from field: string detail = 4;
166
+ */
167
+ detail: string;
168
+ /**
169
+ * @generated from field: bool muted = 5;
170
+ */
171
+ muted: boolean;
172
+ /**
173
+ * @generated from field: string mute_reason = 6;
174
+ */
175
+ muteReason: string;
176
+ };
177
+ /**
178
+ * @generated from message tailor.v1.SecurityFindingMute
179
+ */
180
+ export declare type SecurityFindingMute = Message<"tailor.v1.SecurityFindingMute"> & {
181
+ /**
182
+ * @generated from field: string organization_id = 1;
183
+ */
184
+ organizationId: string;
185
+ /**
186
+ * @generated from field: tailor.v1.SecurityCheckType check_type = 2;
187
+ */
188
+ checkType: SecurityCheckType;
189
+ /**
190
+ * @generated from field: tailor.v1.SecurityResource resource = 3;
191
+ */
192
+ resource?: SecurityResource;
193
+ /**
194
+ * @generated from field: string reason = 4;
195
+ */
196
+ reason: string;
197
+ /**
198
+ * @generated from field: string created_by = 5;
199
+ */
200
+ createdBy: string;
201
+ /**
202
+ * @generated from field: google.protobuf.Timestamp create_time = 6;
203
+ */
204
+ createTime?: Timestamp;
205
+ };
206
+ /**
207
+ * SecurityCheckType identifies a security check.
208
+ *
209
+ * @generated from enum tailor.v1.SecurityCheckType
210
+ */
211
+ export declare enum SecurityCheckType {
212
+ /**
213
+ * @generated from enum value: SECURITY_CHECK_TYPE_UNSPECIFIED = 0;
214
+ */
215
+ UNSPECIFIED = 0,
216
+ /**
217
+ * @generated from enum value: SECURITY_CHECK_TYPE_TAILORDB_TYPE_ALLOW_ALL = 1;
218
+ */
219
+ TAILORDB_TYPE_ALLOW_ALL = 1,
220
+ /**
221
+ * @generated from enum value: SECURITY_CHECK_TYPE_IDP_MFA_NOT_REQUIRED = 2;
222
+ */
223
+ IDP_MFA_NOT_REQUIRED = 2,
224
+ /**
225
+ * @generated from enum value: SECURITY_CHECK_TYPE_IDP_EMAIL_DOMAIN_UNRESTRICTED = 3;
226
+ */
227
+ IDP_EMAIL_DOMAIN_UNRESTRICTED = 3,
228
+ /**
229
+ * @generated from enum value: SECURITY_CHECK_TYPE_GATEWAY_CORS_WILDCARD = 4;
230
+ */
231
+ GATEWAY_CORS_WILDCARD = 4,
232
+ /**
233
+ * @generated from enum value: SECURITY_CHECK_TYPE_GATEWAY_INTROSPECTION_ENABLED = 5;
234
+ */
235
+ GATEWAY_INTROSPECTION_ENABLED = 5,
236
+ /**
237
+ * @generated from enum value: SECURITY_CHECK_TYPE_ROUTING_ORG_IP_RESTRICTION_MISSING = 6;
238
+ */
239
+ ROUTING_ORG_IP_RESTRICTION_MISSING = 6,
240
+ /**
241
+ * @generated from enum value: SECURITY_CHECK_TYPE_AUTH_MACHINE_USER_ORPHANED = 7;
242
+ */
243
+ AUTH_MACHINE_USER_ORPHANED = 7,
244
+ /**
245
+ * @generated from enum value: SECURITY_CHECK_TYPE_PAM_MACHINE_USER_ADMIN = 13;
246
+ */
247
+ PAM_MACHINE_USER_ADMIN = 13
248
+ }
249
+ /**
250
+ * @generated from enum tailor.v1.SecuritySeverity
251
+ */
252
+ export declare enum SecuritySeverity {
253
+ /**
254
+ * @generated from enum value: SECURITY_SEVERITY_UNSPECIFIED = 0;
255
+ */
256
+ UNSPECIFIED = 0,
257
+ /**
258
+ * @generated from enum value: SECURITY_SEVERITY_INFO = 1;
259
+ */
260
+ INFO = 1,
261
+ /**
262
+ * @generated from enum value: SECURITY_SEVERITY_LOW = 2;
263
+ */
264
+ LOW = 2,
265
+ /**
266
+ * @generated from enum value: SECURITY_SEVERITY_MEDIUM = 3;
267
+ */
268
+ MEDIUM = 3,
269
+ /**
270
+ * @generated from enum value: SECURITY_SEVERITY_HIGH = 4;
271
+ */
272
+ HIGH = 4
273
+ }
274
+ /**
275
+ * @generated from enum tailor.v1.SecurityCheckStatus
276
+ */
277
+ export declare enum SecurityCheckStatus {
278
+ /**
279
+ * @generated from enum value: SECURITY_CHECK_STATUS_UNSPECIFIED = 0;
280
+ */
281
+ UNSPECIFIED = 0,
282
+ /**
283
+ * No unmuted findings.
284
+ *
285
+ * @generated from enum value: SECURITY_CHECK_STATUS_PASS = 1;
286
+ */
287
+ PASS = 1,
288
+ /**
289
+ * At least one unmuted finding.
290
+ *
291
+ * @generated from enum value: SECURITY_CHECK_STATUS_FAIL = 2;
292
+ */
293
+ FAIL = 2,
294
+ /**
295
+ * The service that evaluates this check did not respond.
296
+ *
297
+ * @generated from enum value: SECURITY_CHECK_STATUS_UNAVAILABLE = 3;
298
+ */
299
+ UNAVAILABLE = 3
300
+ }
301
+ //#endregion
@@ -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