@distilled.cloud/vercel 1.0.0-rc.7 → 1.0.0-rc.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/lib/services/access_groups.d.ts +1 -1
- package/lib/services/access_groups.d.ts.map +1 -1
- package/lib/services/access_groups.js +1 -1
- package/lib/services/access_groups.js.map +1 -1
- package/lib/services/ai_gateway.js +1 -1
- package/lib/services/ai_gateway.js.map +1 -1
- package/lib/services/aliases.d.ts +3 -3
- package/lib/services/aliases.d.ts.map +1 -1
- package/lib/services/aliases.js +4 -4
- package/lib/services/aliases.js.map +1 -1
- package/lib/services/api_ai_gateway.d.ts +275 -0
- package/lib/services/api_ai_gateway.d.ts.map +1 -0
- package/lib/services/api_ai_gateway.js +229 -0
- package/lib/services/api_ai_gateway.js.map +1 -0
- package/lib/services/artifacts.d.ts +1 -1
- package/lib/services/artifacts.d.ts.map +1 -1
- package/lib/services/artifacts.js +12 -12
- package/lib/services/artifacts.js.map +1 -1
- package/lib/services/authentication.js +1 -1
- package/lib/services/authentication.js.map +1 -1
- package/lib/services/billing.d.ts +145 -7
- package/lib/services/billing.d.ts.map +1 -1
- package/lib/services/billing.js +121 -5
- package/lib/services/billing.js.map +1 -1
- package/lib/services/bulk_redirects.d.ts +4 -4
- package/lib/services/bulk_redirects.d.ts.map +1 -1
- package/lib/services/bulk_redirects.js +4 -4
- package/lib/services/bulk_redirects.js.map +1 -1
- package/lib/services/certs.d.ts +9 -9
- package/lib/services/certs.d.ts.map +1 -1
- package/lib/services/certs.js +10 -12
- package/lib/services/certs.js.map +1 -1
- package/lib/services/checks_v2.d.ts +5 -0
- package/lib/services/checks_v2.d.ts.map +1 -1
- package/lib/services/checks_v2.js +6 -1
- package/lib/services/checks_v2.js.map +1 -1
- package/lib/services/connect.d.ts +1721 -527
- package/lib/services/connect.d.ts.map +1 -1
- package/lib/services/connect.js +1034 -414
- package/lib/services/connect.js.map +1 -1
- package/lib/services/deployments.d.ts +338 -30
- package/lib/services/deployments.d.ts.map +1 -1
- package/lib/services/deployments.js +335 -11
- package/lib/services/deployments.js.map +1 -1
- package/lib/services/dns.d.ts +13 -13
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +13 -14
- package/lib/services/dns.js.map +1 -1
- package/lib/services/domains.d.ts +55 -27
- package/lib/services/domains.d.ts.map +1 -1
- package/lib/services/domains.js +38 -25
- package/lib/services/domains.js.map +1 -1
- package/lib/services/domains_registrar.d.ts.map +1 -1
- package/lib/services/domains_registrar.js +1 -1
- package/lib/services/domains_registrar.js.map +1 -1
- package/lib/services/drains.d.ts +8 -8
- package/lib/services/drains.d.ts.map +1 -1
- package/lib/services/drains.js +1 -1
- package/lib/services/drains.js.map +1 -1
- package/lib/services/edge_cache.js +1 -1
- package/lib/services/edge_cache.js.map +1 -1
- package/lib/services/environment.d.ts +39 -39
- package/lib/services/environment.d.ts.map +1 -1
- package/lib/services/environment.js +35 -37
- package/lib/services/environment.js.map +1 -1
- package/lib/services/feature_flags.d.ts +93 -309
- package/lib/services/feature_flags.d.ts.map +1 -1
- package/lib/services/feature_flags.js +93 -303
- package/lib/services/feature_flags.js.map +1 -1
- package/lib/services/global_config.d.ts +40 -40
- package/lib/services/global_config.d.ts.map +1 -1
- package/lib/services/global_config.js +16 -14
- package/lib/services/global_config.js.map +1 -1
- package/lib/services/index.d.ts +3 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +3 -0
- package/lib/services/index.js.map +1 -1
- package/lib/services/integrations.d.ts +44 -17
- package/lib/services/integrations.d.ts.map +1 -1
- package/lib/services/integrations.js +32 -7
- package/lib/services/integrations.js.map +1 -1
- package/lib/services/kms.d.ts +1095 -0
- package/lib/services/kms.d.ts.map +1 -0
- package/lib/services/kms.js +982 -0
- package/lib/services/kms.js.map +1 -0
- package/lib/services/log_drains.d.ts +4 -4
- package/lib/services/log_drains.d.ts.map +1 -1
- package/lib/services/log_drains.js +1 -1
- package/lib/services/log_drains.js.map +1 -1
- package/lib/services/logs.js +1 -1
- package/lib/services/logs.js.map +1 -1
- package/lib/services/marketplace.d.ts +95 -33
- package/lib/services/marketplace.d.ts.map +1 -1
- package/lib/services/marketplace.js +123 -31
- package/lib/services/marketplace.js.map +1 -1
- package/lib/services/microfrontends.d.ts +290 -250
- package/lib/services/microfrontends.d.ts.map +1 -1
- package/lib/services/microfrontends.js +281 -244
- package/lib/services/microfrontends.js.map +1 -1
- package/lib/services/misc.d.ts +192 -0
- package/lib/services/misc.d.ts.map +1 -0
- package/lib/services/misc.js +125 -0
- package/lib/services/misc.js.map +1 -0
- package/lib/services/networking.d.ts +123 -2
- package/lib/services/networking.d.ts.map +1 -1
- package/lib/services/networking.js +132 -2
- package/lib/services/networking.js.map +1 -1
- package/lib/services/observability.js +1 -1
- package/lib/services/observability.js.map +1 -1
- package/lib/services/project_members.js +1 -1
- package/lib/services/project_members.js.map +1 -1
- package/lib/services/project_routes.d.ts.map +1 -1
- package/lib/services/project_routes.js +1 -1
- package/lib/services/project_routes.js.map +1 -1
- package/lib/services/projects.d.ts +356 -116
- package/lib/services/projects.d.ts.map +1 -1
- package/lib/services/projects.js +260 -64
- package/lib/services/projects.js.map +1 -1
- package/lib/services/rolling_release.d.ts +2 -2
- package/lib/services/rolling_release.d.ts.map +1 -1
- package/lib/services/rolling_release.js +1 -1
- package/lib/services/rolling_release.js.map +1 -1
- package/lib/services/sandboxes.d.ts +1007 -410
- package/lib/services/sandboxes.d.ts.map +1 -1
- package/lib/services/sandboxes.js +732 -293
- package/lib/services/sandboxes.js.map +1 -1
- package/lib/services/security.d.ts +590 -275
- package/lib/services/security.d.ts.map +1 -1
- package/lib/services/security.js +562 -208
- package/lib/services/security.js.map +1 -1
- package/lib/services/storage.d.ts +69 -69
- package/lib/services/storage.d.ts.map +1 -1
- package/lib/services/storage.js +59 -59
- package/lib/services/storage.js.map +1 -1
- package/lib/services/teams.d.ts +351 -328
- package/lib/services/teams.d.ts.map +1 -1
- package/lib/services/teams.js +299 -284
- package/lib/services/teams.js.map +1 -1
- package/lib/services/user.d.ts +4237 -3650
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +3426 -2935
- package/lib/services/user.js.map +1 -1
- package/lib/services/vcr.d.ts +80 -122
- package/lib/services/vcr.d.ts.map +1 -1
- package/lib/services/vcr.js +89 -144
- package/lib/services/vcr.js.map +1 -1
- package/lib/services/web_analytics.d.ts +42 -10
- package/lib/services/web_analytics.d.ts.map +1 -1
- package/lib/services/web_analytics.js +39 -9
- package/lib/services/web_analytics.js.map +1 -1
- package/lib/services/webhooks.d.ts +13 -1
- package/lib/services/webhooks.d.ts.map +1 -1
- package/lib/services/webhooks.js +11 -1
- package/lib/services/webhooks.js.map +1 -1
- package/package.json +6 -5
- package/src/services/access_groups.ts +5 -2
- package/src/services/ai_gateway.ts +1 -1
- package/src/services/aliases.ts +9 -8
- package/src/services/api_ai_gateway.ts +607 -0
- package/src/services/artifacts.ts +13 -13
- package/src/services/authentication.ts +1 -1
- package/src/services/billing.ts +358 -26
- package/src/services/bulk_redirects.ts +10 -10
- package/src/services/certs.ts +20 -26
- package/src/services/checks_v2.ts +11 -1
- package/src/services/connect.ts +3330 -1121
- package/src/services/deployments.ts +1513 -429
- package/src/services/dns.ts +26 -27
- package/src/services/domains.ts +119 -63
- package/src/services/domains_registrar.ts +37 -37
- package/src/services/drains.ts +35 -18
- package/src/services/edge_cache.ts +1 -1
- package/src/services/environment.ts +99 -95
- package/src/services/feature_flags.ts +332 -884
- package/src/services/global_config.ts +59 -57
- package/src/services/index.ts +3 -0
- package/src/services/integrations.ts +870 -668
- package/src/services/kms.ts +2631 -0
- package/src/services/log_drains.ts +73 -41
- package/src/services/logs.ts +1 -1
- package/src/services/marketplace.ts +324 -96
- package/src/services/microfrontends.ts +1582 -1306
- package/src/services/misc.ts +364 -0
- package/src/services/networking.ts +339 -4
- package/src/services/observability.ts +1 -1
- package/src/services/project_members.ts +1 -1
- package/src/services/project_routes.ts +25 -16
- package/src/services/projects.ts +1987 -691
- package/src/services/rolling_release.ts +100 -96
- package/src/services/sandboxes.ts +3013 -1268
- package/src/services/security.ts +3433 -1845
- package/src/services/storage.ts +145 -141
- package/src/services/teams.ts +1061 -986
- package/src/services/user.ts +8490 -6901
- package/src/services/vcr.ts +349 -443
- package/src/services/web_analytics.ts +83 -13
- package/src/services/webhooks.ts +32 -1
package/src/services/teams.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/openapi.json). Do not edit.
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-vercel/specs/openapi.json). Do not edit.
|
|
2
2
|
import * as S from "@distilled.cloud/core/schema";
|
|
3
3
|
import * as Redacted from "effect/Redacted";
|
|
4
4
|
import * as API from "@distilled.cloud/core/api";
|
|
@@ -132,6 +132,79 @@ export const CreateTeamResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
132
132
|
identifier: "CreateTeamResponse",
|
|
133
133
|
}) as any as S.Schema<CreateTeamResponse>;
|
|
134
134
|
|
|
135
|
+
export type CreateTeamDsyncRoleRequestRolesValueCase0 =
|
|
136
|
+
| "OWNER"
|
|
137
|
+
| "MEMBER"
|
|
138
|
+
| "DEVELOPER"
|
|
139
|
+
| "SECURITY"
|
|
140
|
+
| "BILLING"
|
|
141
|
+
| "VIEWER"
|
|
142
|
+
| "VIEWER_FOR_PLUS"
|
|
143
|
+
| "CONTRIBUTOR";
|
|
144
|
+
export const CreateTeamDsyncRoleRequestRolesValueCase0 = /*@__PURE__*/ S.String;
|
|
145
|
+
|
|
146
|
+
export interface CreateTeamDsyncRoleRequestRolesValueCase1 {
|
|
147
|
+
accessGroupId: string;
|
|
148
|
+
}
|
|
149
|
+
export const CreateTeamDsyncRoleRequestRolesValueCase1 =
|
|
150
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
151
|
+
S.Struct({
|
|
152
|
+
accessGroupId: S.String,
|
|
153
|
+
}),
|
|
154
|
+
).annotate({
|
|
155
|
+
identifier: "CreateTeamDsyncRoleRequestRolesValueCase1",
|
|
156
|
+
}) as any as S.Schema<CreateTeamDsyncRoleRequestRolesValueCase1>;
|
|
157
|
+
|
|
158
|
+
export type CreateTeamDsyncRoleRequestRolesValue =
|
|
159
|
+
| CreateTeamDsyncRoleRequestRolesValueCase0
|
|
160
|
+
| CreateTeamDsyncRoleRequestRolesValueCase1;
|
|
161
|
+
export const CreateTeamDsyncRoleRequestRolesValue =
|
|
162
|
+
/*@__PURE__*/ S.Unknown as any as S.Schema<CreateTeamDsyncRoleRequestRolesValue>;
|
|
163
|
+
|
|
164
|
+
/** Directory groups to role or access group mappings. */
|
|
165
|
+
export type CreateTeamDsyncRoleRequestRolesMap = {
|
|
166
|
+
[key: string]: CreateTeamDsyncRoleRequestRolesValue | undefined;
|
|
167
|
+
};
|
|
168
|
+
export const CreateTeamDsyncRoleRequestRolesMap = /*@__PURE__*/ S.Record(
|
|
169
|
+
S.String,
|
|
170
|
+
CreateTeamDsyncRoleRequestRolesValue,
|
|
171
|
+
) as any as S.Schema<CreateTeamDsyncRoleRequestRolesMap>;
|
|
172
|
+
|
|
173
|
+
export interface CreateTeamDsyncRoleRequest {
|
|
174
|
+
/** The Team identifier to perform the request on behalf of. */
|
|
175
|
+
teamId: string;
|
|
176
|
+
/** The Team slug to perform the request on behalf of. */
|
|
177
|
+
slug?: string;
|
|
178
|
+
/** Directory groups to role or access group mappings. */
|
|
179
|
+
roles: CreateTeamDsyncRoleRequestRolesMap;
|
|
180
|
+
}
|
|
181
|
+
export const CreateTeamDsyncRoleRequest = /*@__PURE__*/ S.suspend(() =>
|
|
182
|
+
S.Struct({
|
|
183
|
+
teamId: S.String.pipe(T.Label()),
|
|
184
|
+
slug: S.optional(S.String.pipe(T.Query())),
|
|
185
|
+
roles: CreateTeamDsyncRoleRequestRolesMap,
|
|
186
|
+
}).pipe(
|
|
187
|
+
T.Http({
|
|
188
|
+
method: "POST",
|
|
189
|
+
uri: "/v1/teams/{teamId}/dsync-roles",
|
|
190
|
+
code: 200,
|
|
191
|
+
}),
|
|
192
|
+
),
|
|
193
|
+
).annotate({
|
|
194
|
+
identifier: "CreateTeamDsyncRoleRequest",
|
|
195
|
+
}) as any as S.Schema<CreateTeamDsyncRoleRequest>;
|
|
196
|
+
|
|
197
|
+
export interface CreateTeamDsyncRoleResponse {
|
|
198
|
+
ok: boolean;
|
|
199
|
+
}
|
|
200
|
+
export const CreateTeamDsyncRoleResponse = /*@__PURE__*/ S.suspend(() =>
|
|
201
|
+
S.Struct({
|
|
202
|
+
ok: S.Boolean,
|
|
203
|
+
}),
|
|
204
|
+
).annotate({
|
|
205
|
+
identifier: "CreateTeamDsyncRoleResponse",
|
|
206
|
+
}) as any as S.Schema<CreateTeamDsyncRoleResponse>;
|
|
207
|
+
|
|
135
208
|
export interface DeleteMicrofrontendsGroupRequest {
|
|
136
209
|
/** The Team identifier to perform the request on behalf of. */
|
|
137
210
|
teamId: string;
|
|
@@ -346,16 +419,9 @@ export type TeamSamlDefaultRedirectUri = "v0.app" | "v0.dev" | "vercel.com";
|
|
|
346
419
|
export const TeamSamlDefaultRedirectUri = /*@__PURE__*/ S.String;
|
|
347
420
|
|
|
348
421
|
/** When "Directory Sync" is configured, this object contains a mapping of which Directory Group (by ID) should be assigned to which Vercel Team "role". */
|
|
349
|
-
export
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
export const TeamSamlRolesValueCase0 = /*@__PURE__*/ S.suspend(() =>
|
|
353
|
-
S.Struct({
|
|
354
|
-
accessGroupId: S.String,
|
|
355
|
-
}),
|
|
356
|
-
).annotate({
|
|
357
|
-
identifier: "TeamSamlRolesValueCase0",
|
|
358
|
-
}) as any as S.Schema<TeamSamlRolesValueCase0>;
|
|
422
|
+
export type TeamSamlRolesValueCase0 = CreateTeamDsyncRoleRequestRolesValueCase1;
|
|
423
|
+
export const TeamSamlRolesValueCase0 =
|
|
424
|
+
CreateTeamDsyncRoleRequestRolesValueCase1;
|
|
359
425
|
|
|
360
426
|
export type TeamSamlRolesValueCase1 =
|
|
361
427
|
| "BILLING"
|
|
@@ -369,7 +435,7 @@ export type TeamSamlRolesValueCase1 =
|
|
|
369
435
|
export const TeamSamlRolesValueCase1 = /*@__PURE__*/ S.String;
|
|
370
436
|
|
|
371
437
|
export type TeamSamlRolesValue =
|
|
372
|
-
|
|
|
438
|
+
| CreateTeamDsyncRoleRequestRolesValueCase1
|
|
373
439
|
| TeamSamlRolesValueCase1;
|
|
374
440
|
export const TeamSamlRolesValue =
|
|
375
441
|
/*@__PURE__*/ S.Unknown as any as S.Schema<TeamSamlRolesValue>;
|
|
@@ -441,6 +507,8 @@ export type TeamDefaultRolesTeamPermissionsItem =
|
|
|
441
507
|
| "AiGatewayBudgetManager"
|
|
442
508
|
| "AiGatewayCredits"
|
|
443
509
|
| "AiGatewaySettings"
|
|
510
|
+
| "AiGatewayTranscriptsManager"
|
|
511
|
+
| "AiGatewayTranscriptsViewer"
|
|
444
512
|
| "ConnectorManager"
|
|
445
513
|
| "CreateProject"
|
|
446
514
|
| "EnvVariableManager"
|
|
@@ -452,7 +520,8 @@ export type TeamDefaultRolesTeamPermissionsItem =
|
|
|
452
520
|
| "UsageViewer"
|
|
453
521
|
| "V0Builder"
|
|
454
522
|
| "V0Chatter"
|
|
455
|
-
| "V0Viewer"
|
|
523
|
+
| "V0Viewer"
|
|
524
|
+
| "WorkflowDecryptor";
|
|
456
525
|
export const TeamDefaultRolesTeamPermissionsItem = /*@__PURE__*/ S.String;
|
|
457
526
|
|
|
458
527
|
export type TeamDefaultRolesTeamPermissionsList =
|
|
@@ -745,6 +814,10 @@ export const TeamEnableProductionFeedback = /*@__PURE__*/ S.String;
|
|
|
745
814
|
export type TeamSensitiveEnvironmentVariablePolicy = "default" | "off" | "on";
|
|
746
815
|
export const TeamSensitiveEnvironmentVariablePolicy = /*@__PURE__*/ S.String;
|
|
747
816
|
|
|
817
|
+
/** Require production secrets to use a different value than preview or development. */
|
|
818
|
+
export type TeamDisjunctiveProductionSecretPolicy = "default" | "off" | "on";
|
|
819
|
+
export const TeamDisjunctiveProductionSecretPolicy = /*@__PURE__*/ S.String;
|
|
820
|
+
|
|
748
821
|
/** Controls who can request access to protected deployments. */
|
|
749
822
|
export type TeamDpAccessRequestsMode = "all" | "email-domain" | "none";
|
|
750
823
|
export const TeamDpAccessRequestsMode = /*@__PURE__*/ S.String;
|
|
@@ -794,6 +867,10 @@ export type TeamStrictPasswordProtectionSettings =
|
|
|
794
867
|
export const TeamStrictPasswordProtectionSettings =
|
|
795
868
|
TeamStrictDeploymentProtectionSettings;
|
|
796
869
|
|
|
870
|
+
/** When enabled, creating and managing connectors requires Owner role or the ConnectorManager permission. */
|
|
871
|
+
export type TeamStrictConnectors = TeamStrictDeploymentProtectionSettings;
|
|
872
|
+
export const TeamStrictConnectors = TeamStrictDeploymentProtectionSettings;
|
|
873
|
+
|
|
797
874
|
export type TeamNsnbConfigPreference =
|
|
798
875
|
| "auto-approval"
|
|
799
876
|
| "block"
|
|
@@ -971,7 +1048,8 @@ export const TeamDeploymentPolicyDeploymentSourcesItemEnvironmentsItemCase0Type
|
|
|
971
1048
|
/*@__PURE__*/ S.String;
|
|
972
1049
|
|
|
973
1050
|
export type TeamDeploymentPolicyDeploymentSourcesItemEnvironmentsItemCase0Target =
|
|
974
|
-
|
|
1051
|
+
| "preview"
|
|
1052
|
+
| "production";
|
|
975
1053
|
export const TeamDeploymentPolicyDeploymentSourcesItemEnvironmentsItemCase0Target =
|
|
976
1054
|
/*@__PURE__*/ S.String;
|
|
977
1055
|
|
|
@@ -1110,6 +1188,8 @@ export type TeamMembershipTeamPermissionsItem =
|
|
|
1110
1188
|
| "AiGatewayBudgetManager"
|
|
1111
1189
|
| "AiGatewayCredits"
|
|
1112
1190
|
| "AiGatewaySettings"
|
|
1191
|
+
| "AiGatewayTranscriptsManager"
|
|
1192
|
+
| "AiGatewayTranscriptsViewer"
|
|
1113
1193
|
| "ConnectorManager"
|
|
1114
1194
|
| "CreateProject"
|
|
1115
1195
|
| "EnvVariableManager"
|
|
@@ -1121,7 +1201,8 @@ export type TeamMembershipTeamPermissionsItem =
|
|
|
1121
1201
|
| "UsageViewer"
|
|
1122
1202
|
| "V0Builder"
|
|
1123
1203
|
| "V0Chatter"
|
|
1124
|
-
| "V0Viewer"
|
|
1204
|
+
| "V0Viewer"
|
|
1205
|
+
| "WorkflowDecryptor";
|
|
1125
1206
|
export const TeamMembershipTeamPermissionsItem = /*@__PURE__*/ S.String;
|
|
1126
1207
|
|
|
1127
1208
|
export type TeamMembershipTeamPermissionsList =
|
|
@@ -1260,6 +1341,8 @@ export interface Team {
|
|
|
1260
1341
|
enableProductionFeedback?: TeamEnableProductionFeedback | null;
|
|
1261
1342
|
/** Sensitive environment variable policy for this team */
|
|
1262
1343
|
sensitiveEnvironmentVariablePolicy?: TeamSensitiveEnvironmentVariablePolicy | null;
|
|
1344
|
+
/** Require production secrets to use a different value than preview or development. */
|
|
1345
|
+
disjunctiveProductionSecretPolicy?: TeamDisjunctiveProductionSecretPolicy | null;
|
|
1263
1346
|
/** Indicates if IP addresses should be accessible in observability (o11y) tooling */
|
|
1264
1347
|
hideIpAddresses?: boolean | null;
|
|
1265
1348
|
/** Indicates if IP addresses should be accessible in log drains */
|
|
@@ -1277,6 +1360,8 @@ export interface Team {
|
|
|
1277
1360
|
strictShareableLinks?: TeamStrictDeploymentProtectionSettings;
|
|
1278
1361
|
/** When enabled, adding, changing, or removing project password protection requires Owner role. */
|
|
1279
1362
|
strictPasswordProtectionSettings?: TeamStrictDeploymentProtectionSettings;
|
|
1363
|
+
/** When enabled, creating and managing connectors requires Owner role or the ConnectorManager permission. */
|
|
1364
|
+
strictConnectors?: TeamStrictDeploymentProtectionSettings;
|
|
1280
1365
|
/** NSNB configuration for the team. */
|
|
1281
1366
|
nsnbConfig?: TeamNsnbConfig;
|
|
1282
1367
|
/** Composable deployment-time policy for the team. Used as the default for every project on the team, with optional per-project overrides on `project.deploymentPolicy`. */
|
|
@@ -1334,6 +1419,9 @@ export const Team = /*@__PURE__*/ S.suspend(() =>
|
|
|
1334
1419
|
sensitiveEnvironmentVariablePolicy: S.optional(
|
|
1335
1420
|
S.NullOr(TeamSensitiveEnvironmentVariablePolicy),
|
|
1336
1421
|
),
|
|
1422
|
+
disjunctiveProductionSecretPolicy: S.optional(
|
|
1423
|
+
S.NullOr(TeamDisjunctiveProductionSecretPolicy),
|
|
1424
|
+
),
|
|
1337
1425
|
hideIpAddresses: S.optional(S.NullOr(S.Boolean)),
|
|
1338
1426
|
hideIpAddressesInLogDrains: S.optional(S.NullOr(S.Boolean)),
|
|
1339
1427
|
dpAccessRequestsMode: S.optional(TeamDpAccessRequestsMode),
|
|
@@ -1347,6 +1435,7 @@ export const Team = /*@__PURE__*/ S.suspend(() =>
|
|
|
1347
1435
|
strictPasswordProtectionSettings: S.optional(
|
|
1348
1436
|
TeamStrictDeploymentProtectionSettings,
|
|
1349
1437
|
),
|
|
1438
|
+
strictConnectors: S.optional(TeamStrictDeploymentProtectionSettings),
|
|
1350
1439
|
nsnbConfig: S.optional(TeamNsnbConfig),
|
|
1351
1440
|
deploymentPolicy: S.optional(TeamDeploymentPolicy),
|
|
1352
1441
|
personalAccessTokensInvalidatedAt: S.optional(S.Number),
|
|
@@ -1780,6 +1869,8 @@ export type GetTeamMembersResponseEmailInviteCodesItemTeamPermissionsItem =
|
|
|
1780
1869
|
| "AiGatewayBudgetManager"
|
|
1781
1870
|
| "AiGatewayCredits"
|
|
1782
1871
|
| "AiGatewaySettings"
|
|
1872
|
+
| "AiGatewayTranscriptsManager"
|
|
1873
|
+
| "AiGatewayTranscriptsViewer"
|
|
1783
1874
|
| "ConnectorManager"
|
|
1784
1875
|
| "CreateProject"
|
|
1785
1876
|
| "EnvVariableManager"
|
|
@@ -1791,7 +1882,8 @@ export type GetTeamMembersResponseEmailInviteCodesItemTeamPermissionsItem =
|
|
|
1791
1882
|
| "UsageViewer"
|
|
1792
1883
|
| "V0Builder"
|
|
1793
1884
|
| "V0Chatter"
|
|
1794
|
-
| "V0Viewer"
|
|
1885
|
+
| "V0Viewer"
|
|
1886
|
+
| "WorkflowDecryptor";
|
|
1795
1887
|
export const GetTeamMembersResponseEmailInviteCodesItemTeamPermissionsItem =
|
|
1796
1888
|
/*@__PURE__*/ S.String;
|
|
1797
1889
|
|
|
@@ -2066,6 +2158,8 @@ export type TeamLimitedMembershipTeamPermissionsItem =
|
|
|
2066
2158
|
| "AiGatewayBudgetManager"
|
|
2067
2159
|
| "AiGatewayCredits"
|
|
2068
2160
|
| "AiGatewaySettings"
|
|
2161
|
+
| "AiGatewayTranscriptsManager"
|
|
2162
|
+
| "AiGatewayTranscriptsViewer"
|
|
2069
2163
|
| "ConnectorManager"
|
|
2070
2164
|
| "CreateProject"
|
|
2071
2165
|
| "EnvVariableManager"
|
|
@@ -2077,7 +2171,8 @@ export type TeamLimitedMembershipTeamPermissionsItem =
|
|
|
2077
2171
|
| "UsageViewer"
|
|
2078
2172
|
| "V0Builder"
|
|
2079
2173
|
| "V0Chatter"
|
|
2080
|
-
| "V0Viewer"
|
|
2174
|
+
| "V0Viewer"
|
|
2175
|
+
| "WorkflowDecryptor";
|
|
2081
2176
|
export const TeamLimitedMembershipTeamPermissionsItem = /*@__PURE__*/ S.String;
|
|
2082
2177
|
|
|
2083
2178
|
export type TeamLimitedMembershipTeamPermissionsList =
|
|
@@ -2377,6 +2472,8 @@ export type InvitedTeamMemberTeamPermissionsItem =
|
|
|
2377
2472
|
| "AiGatewayBudgetManager"
|
|
2378
2473
|
| "AiGatewayCredits"
|
|
2379
2474
|
| "AiGatewaySettings"
|
|
2475
|
+
| "AiGatewayTranscriptsManager"
|
|
2476
|
+
| "AiGatewayTranscriptsViewer"
|
|
2380
2477
|
| "ConnectorManager"
|
|
2381
2478
|
| "CreateProject"
|
|
2382
2479
|
| "EnvVariableManager"
|
|
@@ -2388,7 +2485,8 @@ export type InvitedTeamMemberTeamPermissionsItem =
|
|
|
2388
2485
|
| "UsageViewer"
|
|
2389
2486
|
| "V0Builder"
|
|
2390
2487
|
| "V0Chatter"
|
|
2391
|
-
| "V0Viewer"
|
|
2488
|
+
| "V0Viewer"
|
|
2489
|
+
| "WorkflowDecryptor";
|
|
2392
2490
|
export const InvitedTeamMemberTeamPermissionsItem = /*@__PURE__*/ S.String;
|
|
2393
2491
|
|
|
2394
2492
|
/** The team permissions of the user */
|
|
@@ -2467,1127 +2565,1101 @@ export const JoinTeamResponse = /*@__PURE__*/ S.suspend(() =>
|
|
|
2467
2565
|
identifier: "JoinTeamResponse",
|
|
2468
2566
|
}) as any as S.Schema<JoinTeamResponse>;
|
|
2469
2567
|
|
|
2470
|
-
export
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
| "VIEWER"
|
|
2477
|
-
| "VIEWER_FOR_PLUS"
|
|
2478
|
-
| "CONTRIBUTOR";
|
|
2479
|
-
export const PatchTeamRequestSamlRolesValueCase0 = /*@__PURE__*/ S.String;
|
|
2480
|
-
|
|
2481
|
-
export type PatchTeamRequestSamlRolesValueCase1 = TeamSamlRolesValueCase0;
|
|
2482
|
-
export const PatchTeamRequestSamlRolesValueCase1 = TeamSamlRolesValueCase0;
|
|
2483
|
-
|
|
2484
|
-
export type PatchTeamRequestSamlRolesValue =
|
|
2485
|
-
| PatchTeamRequestSamlRolesValueCase0
|
|
2486
|
-
| TeamSamlRolesValueCase0;
|
|
2487
|
-
export const PatchTeamRequestSamlRolesValue =
|
|
2488
|
-
/*@__PURE__*/ S.Unknown as any as S.Schema<PatchTeamRequestSamlRolesValue>;
|
|
2489
|
-
|
|
2490
|
-
/** Directory groups to role or access group mappings. */
|
|
2491
|
-
export type PatchTeamRequestSamlRolesMap = {
|
|
2492
|
-
[key: string]: PatchTeamRequestSamlRolesValue | undefined;
|
|
2493
|
-
};
|
|
2494
|
-
export const PatchTeamRequestSamlRolesMap = /*@__PURE__*/ S.Record(
|
|
2495
|
-
S.String,
|
|
2496
|
-
PatchTeamRequestSamlRolesValue,
|
|
2497
|
-
) as any as S.Schema<PatchTeamRequestSamlRolesMap>;
|
|
2498
|
-
|
|
2499
|
-
export interface PatchTeamRequestSaml {
|
|
2500
|
-
/** Require that members of the team use SAML Single Sign-On. */
|
|
2501
|
-
enforced?: boolean;
|
|
2502
|
-
/** Directory groups to role or access group mappings. */
|
|
2503
|
-
roles?: PatchTeamRequestSamlRolesMap;
|
|
2568
|
+
export interface RemoveTeamMemberRequest {
|
|
2569
|
+
teamId: string;
|
|
2570
|
+
/** The user ID of the member. */
|
|
2571
|
+
uid: string;
|
|
2572
|
+
/** The ID of the team to set as the new default team for the Northstar user. */
|
|
2573
|
+
newDefaultTeamId?: string;
|
|
2504
2574
|
}
|
|
2505
|
-
export const
|
|
2575
|
+
export const RemoveTeamMemberRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2506
2576
|
S.Struct({
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2577
|
+
teamId: S.String.pipe(T.Label()),
|
|
2578
|
+
uid: S.String.pipe(T.Label()),
|
|
2579
|
+
newDefaultTeamId: S.optional(S.String.pipe(T.Query())),
|
|
2580
|
+
}).pipe(
|
|
2581
|
+
T.Http({
|
|
2582
|
+
method: "DELETE",
|
|
2583
|
+
uri: "/v1/teams/{teamId}/members/{uid}",
|
|
2584
|
+
code: 200,
|
|
2585
|
+
}),
|
|
2586
|
+
),
|
|
2510
2587
|
).annotate({
|
|
2511
|
-
identifier: "
|
|
2512
|
-
}) as any as S.Schema<
|
|
2588
|
+
identifier: "RemoveTeamMemberRequest",
|
|
2589
|
+
}) as any as S.Schema<RemoveTeamMemberRequest>;
|
|
2513
2590
|
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
enabled?: boolean;
|
|
2591
|
+
export interface RemoveTeamMemberResponse {
|
|
2592
|
+
/** ID of the team. */
|
|
2593
|
+
id: string;
|
|
2518
2594
|
}
|
|
2519
|
-
export const
|
|
2595
|
+
export const RemoveTeamMemberResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2520
2596
|
S.Struct({
|
|
2521
|
-
|
|
2597
|
+
id: S.String,
|
|
2522
2598
|
}),
|
|
2523
2599
|
).annotate({
|
|
2524
|
-
identifier: "
|
|
2525
|
-
}) as any as S.Schema<
|
|
2526
|
-
|
|
2527
|
-
/** Controls who can request access to protected deployments. */
|
|
2528
|
-
export type PatchTeamRequestDpAccessRequestsMode =
|
|
2529
|
-
| "all"
|
|
2530
|
-
| "none"
|
|
2531
|
-
| "email-domain";
|
|
2532
|
-
export const PatchTeamRequestDpAccessRequestsMode = /*@__PURE__*/ S.String;
|
|
2533
|
-
|
|
2534
|
-
/** Specify if the password will apply to every Deployment Target or just Preview */
|
|
2535
|
-
export type PatchTeamRequestDefaultDeploymentProtectionPasswordProtectionDeploymentType =
|
|
2536
|
-
| "all"
|
|
2537
|
-
| "preview"
|
|
2538
|
-
| "prod_deployment_urls_and_all_previews"
|
|
2539
|
-
| "all_except_custom_domains";
|
|
2540
|
-
export const PatchTeamRequestDefaultDeploymentProtectionPasswordProtectionDeploymentType =
|
|
2541
|
-
/*@__PURE__*/ S.String;
|
|
2542
|
-
|
|
2543
|
-
/** Allows to protect project deployments with a password */
|
|
2544
|
-
export interface PatchTeamRequestDefaultDeploymentProtectionPasswordProtection {
|
|
2545
|
-
/** Specify if the password will apply to every Deployment Target or just Preview */
|
|
2546
|
-
deploymentType:
|
|
2547
|
-
| PatchTeamRequestDefaultDeploymentProtectionPasswordProtectionDeploymentType
|
|
2548
|
-
| (string & {});
|
|
2549
|
-
/** The password that will be used to protect Project Deployments */
|
|
2550
|
-
password?: string | Redacted.Redacted<string> | null;
|
|
2551
|
-
}
|
|
2552
|
-
export const PatchTeamRequestDefaultDeploymentProtectionPasswordProtection =
|
|
2553
|
-
/*@__PURE__*/ S.suspend(() =>
|
|
2554
|
-
S.Struct({
|
|
2555
|
-
deploymentType:
|
|
2556
|
-
PatchTeamRequestDefaultDeploymentProtectionPasswordProtectionDeploymentType,
|
|
2557
|
-
password: S.optional(S.NullOr(S.String).pipe(T.SensitiveValue({}))),
|
|
2558
|
-
}),
|
|
2559
|
-
).annotate({
|
|
2560
|
-
identifier: "PatchTeamRequestDefaultDeploymentProtectionPasswordProtection",
|
|
2561
|
-
}) as any as S.Schema<PatchTeamRequestDefaultDeploymentProtectionPasswordProtection>;
|
|
2600
|
+
identifier: "RemoveTeamMemberResponse",
|
|
2601
|
+
}) as any as S.Schema<RemoveTeamMemberResponse>;
|
|
2562
2602
|
|
|
2563
|
-
/**
|
|
2564
|
-
export type
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2603
|
+
/** The origin of the request. */
|
|
2604
|
+
export type RequestAccessToTeamRequestJoinedFromOrigin =
|
|
2605
|
+
| "import"
|
|
2606
|
+
| "teams"
|
|
2607
|
+
| "github"
|
|
2608
|
+
| "gitlab"
|
|
2609
|
+
| "bitbucket"
|
|
2610
|
+
| "feedback"
|
|
2611
|
+
| "organization-teams";
|
|
2612
|
+
export const RequestAccessToTeamRequestJoinedFromOrigin =
|
|
2570
2613
|
/*@__PURE__*/ S.String;
|
|
2571
2614
|
|
|
2572
|
-
/**
|
|
2573
|
-
export
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
| PatchTeamRequestDefaultDeploymentProtectionSsoProtectionDeploymentType
|
|
2577
|
-
| (string & {});
|
|
2578
|
-
}
|
|
2579
|
-
export const PatchTeamRequestDefaultDeploymentProtectionSsoProtection =
|
|
2580
|
-
/*@__PURE__*/ S.suspend(() =>
|
|
2581
|
-
S.Struct({
|
|
2582
|
-
deploymentType:
|
|
2583
|
-
PatchTeamRequestDefaultDeploymentProtectionSsoProtectionDeploymentType,
|
|
2584
|
-
}),
|
|
2585
|
-
).annotate({
|
|
2586
|
-
identifier: "PatchTeamRequestDefaultDeploymentProtectionSsoProtection",
|
|
2587
|
-
}) as any as S.Schema<PatchTeamRequestDefaultDeploymentProtectionSsoProtection>;
|
|
2615
|
+
/** The ID of the Git account of the user who requests access. */
|
|
2616
|
+
export type RequestAccessToTeamRequestJoinedFromGitUserId = string | number;
|
|
2617
|
+
export const RequestAccessToTeamRequestJoinedFromGitUserId =
|
|
2618
|
+
/*@__PURE__*/ S.Unknown as any as S.Schema<RequestAccessToTeamRequestJoinedFromGitUserId>;
|
|
2588
2619
|
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2620
|
+
export interface RequestAccessToTeamRequestJoinedFrom {
|
|
2621
|
+
/** The origin of the request. */
|
|
2622
|
+
origin: RequestAccessToTeamRequestJoinedFromOrigin | (string & {});
|
|
2623
|
+
/** The commit sha if the origin is a git provider. */
|
|
2624
|
+
commitId?: string;
|
|
2625
|
+
/** The ID of the repository for the given Git provider. */
|
|
2626
|
+
repoId?: string;
|
|
2627
|
+
/** The path to the repository for the given Git provider. */
|
|
2628
|
+
repoPath?: string;
|
|
2629
|
+
/** The ID of the Git account of the user who requests access. */
|
|
2630
|
+
gitUserId?: RequestAccessToTeamRequestJoinedFromGitUserId;
|
|
2631
|
+
/** The login name for the Git account of the user who requests access. */
|
|
2632
|
+
gitUserLogin?: string;
|
|
2595
2633
|
}
|
|
2596
|
-
export const
|
|
2597
|
-
|
|
2634
|
+
export const RequestAccessToTeamRequestJoinedFrom = /*@__PURE__*/ S.suspend(
|
|
2635
|
+
() =>
|
|
2598
2636
|
S.Struct({
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
),
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
),
|
|
2637
|
+
origin: RequestAccessToTeamRequestJoinedFromOrigin,
|
|
2638
|
+
commitId: S.optional(S.String),
|
|
2639
|
+
repoId: S.optional(S.String),
|
|
2640
|
+
repoPath: S.optional(S.String),
|
|
2641
|
+
gitUserId: S.optional(RequestAccessToTeamRequestJoinedFromGitUserId),
|
|
2642
|
+
gitUserLogin: S.optional(S.String),
|
|
2605
2643
|
}),
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
export type PatchTeamRequestDefaultPassportDeploymentType =
|
|
2611
|
-
| "all"
|
|
2612
|
-
| "preview"
|
|
2613
|
-
| "prod_deployment_urls_and_all_previews"
|
|
2614
|
-
| "all_except_custom_domains";
|
|
2615
|
-
export const PatchTeamRequestDefaultPassportDeploymentType =
|
|
2616
|
-
/*@__PURE__*/ S.String;
|
|
2644
|
+
).annotate({
|
|
2645
|
+
identifier: "RequestAccessToTeamRequestJoinedFrom",
|
|
2646
|
+
}) as any as S.Schema<RequestAccessToTeamRequestJoinedFrom>;
|
|
2617
2647
|
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
deploymentType?:
|
|
2622
|
-
| PatchTeamRequestDefaultPassportDeploymentType
|
|
2623
|
-
| (string & {});
|
|
2648
|
+
export interface RequestAccessToTeamRequest {
|
|
2649
|
+
teamId: string;
|
|
2650
|
+
joinedFrom: RequestAccessToTeamRequestJoinedFrom;
|
|
2624
2651
|
}
|
|
2625
|
-
export const
|
|
2652
|
+
export const RequestAccessToTeamRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2626
2653
|
S.Struct({
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
})
|
|
2654
|
+
teamId: S.String.pipe(T.Label()),
|
|
2655
|
+
joinedFrom: RequestAccessToTeamRequestJoinedFrom,
|
|
2656
|
+
}).pipe(
|
|
2657
|
+
T.Http({ method: "POST", uri: "/v1/teams/{teamId}/request", code: 200 }),
|
|
2658
|
+
),
|
|
2630
2659
|
).annotate({
|
|
2631
|
-
identifier: "
|
|
2632
|
-
}) as any as S.Schema<
|
|
2660
|
+
identifier: "RequestAccessToTeamRequest",
|
|
2661
|
+
}) as any as S.Schema<RequestAccessToTeamRequest>;
|
|
2633
2662
|
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
| "
|
|
2637
|
-
| "
|
|
2638
|
-
| "
|
|
2639
|
-
| "
|
|
2640
|
-
| "
|
|
2641
|
-
| "
|
|
2642
|
-
| "
|
|
2643
|
-
| "
|
|
2644
|
-
| "
|
|
2645
|
-
| "
|
|
2646
|
-
| "
|
|
2647
|
-
|
|
2663
|
+
export type RequestAccessToTeamResponseJoinedFromOrigin =
|
|
2664
|
+
| "account-update"
|
|
2665
|
+
| "bitbucket"
|
|
2666
|
+
| "dsync"
|
|
2667
|
+
| "feedback"
|
|
2668
|
+
| "github"
|
|
2669
|
+
| "gitlab"
|
|
2670
|
+
| "import"
|
|
2671
|
+
| "link"
|
|
2672
|
+
| "mail"
|
|
2673
|
+
| "nsnb-auto-approve"
|
|
2674
|
+
| "nsnb-hobby-upgrade"
|
|
2675
|
+
| "nsnb-invite"
|
|
2676
|
+
| "nsnb-redeploy"
|
|
2677
|
+
| "nsnb-redeploy-attribution-card"
|
|
2678
|
+
| "nsnb-request-access"
|
|
2679
|
+
| "nsnb-viewer-upgrade"
|
|
2680
|
+
| "organization-teams"
|
|
2681
|
+
| "saml"
|
|
2682
|
+
| "teams";
|
|
2683
|
+
export const RequestAccessToTeamResponseJoinedFromOrigin =
|
|
2648
2684
|
/*@__PURE__*/ S.String;
|
|
2649
2685
|
|
|
2650
|
-
|
|
2651
|
-
export
|
|
2652
|
-
|
|
2653
|
-
| "2y"
|
|
2654
|
-
| "1y"
|
|
2655
|
-
| "6m"
|
|
2656
|
-
| "3m"
|
|
2657
|
-
| "2m"
|
|
2658
|
-
| "1m"
|
|
2659
|
-
| "2w"
|
|
2660
|
-
| "1w"
|
|
2661
|
-
| "1d"
|
|
2662
|
-
| "unlimited";
|
|
2663
|
-
export const PatchTeamRequestDefaultExpirationSettingsExpirationProduction =
|
|
2664
|
-
/*@__PURE__*/ S.String;
|
|
2686
|
+
export type RequestAccessToTeamResponseJoinedFromGitUserId = string | number;
|
|
2687
|
+
export const RequestAccessToTeamResponseJoinedFromGitUserId =
|
|
2688
|
+
/*@__PURE__*/ S.Unknown as any as S.Schema<RequestAccessToTeamResponseJoinedFromGitUserId>;
|
|
2665
2689
|
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2690
|
+
export interface RequestAccessToTeamResponseJoinedFrom {
|
|
2691
|
+
origin: RequestAccessToTeamResponseJoinedFromOrigin;
|
|
2692
|
+
commitId?: string;
|
|
2693
|
+
repoId?: string;
|
|
2694
|
+
repoPath?: string;
|
|
2695
|
+
gitUserId?: RequestAccessToTeamResponseJoinedFromGitUserId;
|
|
2696
|
+
gitUserLogin?: string;
|
|
2697
|
+
ssoUserId?: string;
|
|
2698
|
+
ssoConnectedAt?: number;
|
|
2699
|
+
idpUserId?: string;
|
|
2700
|
+
dsyncUserId?: string;
|
|
2701
|
+
dsyncConnectedAt?: number;
|
|
2702
|
+
}
|
|
2703
|
+
export const RequestAccessToTeamResponseJoinedFrom = /*@__PURE__*/ S.suspend(
|
|
2704
|
+
() =>
|
|
2705
|
+
S.Struct({
|
|
2706
|
+
origin: RequestAccessToTeamResponseJoinedFromOrigin,
|
|
2707
|
+
commitId: S.optional(S.String),
|
|
2708
|
+
repoId: S.optional(S.String),
|
|
2709
|
+
repoPath: S.optional(S.String),
|
|
2710
|
+
gitUserId: S.optional(RequestAccessToTeamResponseJoinedFromGitUserId),
|
|
2711
|
+
gitUserLogin: S.optional(S.String),
|
|
2712
|
+
ssoUserId: S.optional(S.String),
|
|
2713
|
+
ssoConnectedAt: S.optional(S.Number),
|
|
2714
|
+
idpUserId: S.optional(S.String),
|
|
2715
|
+
dsyncUserId: S.optional(S.String),
|
|
2716
|
+
dsyncConnectedAt: S.optional(S.Number),
|
|
2717
|
+
}),
|
|
2718
|
+
).annotate({
|
|
2719
|
+
identifier: "RequestAccessToTeamResponseJoinedFrom",
|
|
2720
|
+
}) as any as S.Schema<RequestAccessToTeamResponseJoinedFrom>;
|
|
2679
2721
|
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
| "3m"
|
|
2685
|
-
| "2m"
|
|
2686
|
-
| "1m"
|
|
2687
|
-
| "2w"
|
|
2688
|
-
| "1w"
|
|
2689
|
-
| "1d"
|
|
2690
|
-
| "unlimited";
|
|
2691
|
-
export const PatchTeamRequestDefaultExpirationSettingsExpirationErrored =
|
|
2692
|
-
/*@__PURE__*/ S.String;
|
|
2722
|
+
export type RequestAccessToTeamResponseGithub =
|
|
2723
|
+
GetTeamAccessRequestResponseGithub;
|
|
2724
|
+
export const RequestAccessToTeamResponseGithub =
|
|
2725
|
+
GetTeamAccessRequestResponseGithub;
|
|
2693
2726
|
|
|
2694
|
-
export
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2727
|
+
export type RequestAccessToTeamResponseGitlab =
|
|
2728
|
+
GetTeamAccessRequestResponseGithub;
|
|
2729
|
+
export const RequestAccessToTeamResponseGitlab =
|
|
2730
|
+
GetTeamAccessRequestResponseGithub;
|
|
2731
|
+
|
|
2732
|
+
export type RequestAccessToTeamResponseBitbucket =
|
|
2733
|
+
GetTeamAccessRequestResponseGithub;
|
|
2734
|
+
export const RequestAccessToTeamResponseBitbucket =
|
|
2735
|
+
GetTeamAccessRequestResponseGithub;
|
|
2736
|
+
|
|
2737
|
+
export interface RequestAccessToTeamResponse {
|
|
2738
|
+
teamSlug: string;
|
|
2739
|
+
teamName: string;
|
|
2740
|
+
confirmed?: boolean;
|
|
2741
|
+
joinedFrom?: RequestAccessToTeamResponseJoinedFrom;
|
|
2742
|
+
accessRequestedAt?: number;
|
|
2743
|
+
github: GetTeamAccessRequestResponseGithub | null;
|
|
2744
|
+
gitlab: GetTeamAccessRequestResponseGithub | null;
|
|
2745
|
+
bitbucket: GetTeamAccessRequestResponseGithub | null;
|
|
2746
|
+
}
|
|
2747
|
+
export const RequestAccessToTeamResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2748
|
+
S.Struct({
|
|
2749
|
+
teamSlug: S.String,
|
|
2750
|
+
teamName: S.String,
|
|
2751
|
+
confirmed: S.optional(S.Boolean),
|
|
2752
|
+
joinedFrom: S.optional(RequestAccessToTeamResponseJoinedFrom),
|
|
2753
|
+
accessRequestedAt: S.optional(S.Number),
|
|
2754
|
+
github: S.NullOr(GetTeamAccessRequestResponseGithub),
|
|
2755
|
+
gitlab: S.NullOr(GetTeamAccessRequestResponseGithub),
|
|
2756
|
+
bitbucket: S.NullOr(GetTeamAccessRequestResponseGithub),
|
|
2757
|
+
}),
|
|
2758
|
+
).annotate({
|
|
2759
|
+
identifier: "RequestAccessToTeamResponse",
|
|
2760
|
+
}) as any as S.Schema<RequestAccessToTeamResponse>;
|
|
2761
|
+
|
|
2762
|
+
export interface UpdateMicrofrontendsGroupRequest {
|
|
2763
|
+
/** The Team identifier to perform the request on behalf of. */
|
|
2764
|
+
teamId: string;
|
|
2765
|
+
groupId: string;
|
|
2766
|
+
/** The Team slug to perform the request on behalf of. */
|
|
2767
|
+
slug?: string;
|
|
2768
|
+
/** The new name for the existing microfrontends group. */
|
|
2769
|
+
name?: string;
|
|
2770
|
+
/** The new fallback environment for the microfrontends group. Must be "SAME_ENV", "PRODUCTION", or a valid custom environment slug from the default app. */
|
|
2771
|
+
fallbackEnvironment?: string;
|
|
2772
|
+
/** Whether Preview Deployments can link to branches with the same name in other Git repositories. */
|
|
2773
|
+
enablePolyrepoBranchRouting?: boolean;
|
|
2774
|
+
}
|
|
2775
|
+
export const UpdateMicrofrontendsGroupRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2776
|
+
S.Struct({
|
|
2777
|
+
teamId: S.String.pipe(T.Label()),
|
|
2778
|
+
groupId: S.String.pipe(T.Label()),
|
|
2779
|
+
slug: S.optional(S.String.pipe(T.Query())),
|
|
2780
|
+
name: S.optional(S.String),
|
|
2781
|
+
fallbackEnvironment: S.optional(S.String),
|
|
2782
|
+
enablePolyrepoBranchRouting: S.optional(S.Boolean),
|
|
2783
|
+
}).pipe(
|
|
2784
|
+
T.Http({
|
|
2785
|
+
method: "PATCH",
|
|
2786
|
+
uri: "/v1/teams/{teamId}/microfrontends/{groupId}",
|
|
2787
|
+
code: 200,
|
|
2788
|
+
}),
|
|
2789
|
+
),
|
|
2790
|
+
).annotate({
|
|
2791
|
+
identifier: "UpdateMicrofrontendsGroupRequest",
|
|
2792
|
+
}) as any as S.Schema<UpdateMicrofrontendsGroupRequest>;
|
|
2793
|
+
|
|
2794
|
+
export interface UpdateMicrofrontendsGroupResponseUpdatedMicrofrontendsGroup {
|
|
2795
|
+
name?: string;
|
|
2796
|
+
slug?: string;
|
|
2797
|
+
id: string;
|
|
2798
|
+
fallbackEnvironment?: string;
|
|
2799
|
+
enablePolyrepoBranchRouting?: boolean;
|
|
2711
2800
|
}
|
|
2712
|
-
export const
|
|
2801
|
+
export const UpdateMicrofrontendsGroupResponseUpdatedMicrofrontendsGroup =
|
|
2713
2802
|
/*@__PURE__*/ S.suspend(() =>
|
|
2714
2803
|
S.Struct({
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
),
|
|
2721
|
-
expirationCanceled: S.optional(
|
|
2722
|
-
PatchTeamRequestDefaultExpirationSettingsExpirationCanceled,
|
|
2723
|
-
),
|
|
2724
|
-
expirationErrored: S.optional(
|
|
2725
|
-
PatchTeamRequestDefaultExpirationSettingsExpirationErrored,
|
|
2726
|
-
),
|
|
2804
|
+
name: S.optional(S.String),
|
|
2805
|
+
slug: S.optional(S.String),
|
|
2806
|
+
id: S.String,
|
|
2807
|
+
fallbackEnvironment: S.optional(S.String),
|
|
2808
|
+
enablePolyrepoBranchRouting: S.optional(S.Boolean),
|
|
2727
2809
|
}),
|
|
2728
2810
|
).annotate({
|
|
2729
|
-
identifier: "
|
|
2730
|
-
}) as any as S.Schema<
|
|
2811
|
+
identifier: "UpdateMicrofrontendsGroupResponseUpdatedMicrofrontendsGroup",
|
|
2812
|
+
}) as any as S.Schema<UpdateMicrofrontendsGroupResponseUpdatedMicrofrontendsGroup>;
|
|
2731
2813
|
|
|
2732
|
-
export
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2814
|
+
export interface UpdateMicrofrontendsGroupResponse {
|
|
2815
|
+
updatedMicrofrontendsGroup: UpdateMicrofrontendsGroupResponseUpdatedMicrofrontendsGroup;
|
|
2816
|
+
}
|
|
2817
|
+
export const UpdateMicrofrontendsGroupResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2818
|
+
S.Struct({
|
|
2819
|
+
updatedMicrofrontendsGroup:
|
|
2820
|
+
UpdateMicrofrontendsGroupResponseUpdatedMicrofrontendsGroup,
|
|
2821
|
+
}),
|
|
2822
|
+
).annotate({
|
|
2823
|
+
identifier: "UpdateMicrofrontendsGroupResponse",
|
|
2824
|
+
}) as any as S.Schema<UpdateMicrofrontendsGroupResponse>;
|
|
2825
|
+
|
|
2826
|
+
export type UpdateTeamRequestSamlRolesValueCase0 =
|
|
2827
|
+
| "OWNER"
|
|
2828
|
+
| "MEMBER"
|
|
2829
|
+
| "DEVELOPER"
|
|
2830
|
+
| "SECURITY"
|
|
2831
|
+
| "BILLING"
|
|
2832
|
+
| "VIEWER"
|
|
2833
|
+
| "VIEWER_FOR_PLUS"
|
|
2834
|
+
| "CONTRIBUTOR";
|
|
2835
|
+
export const UpdateTeamRequestSamlRolesValueCase0 = /*@__PURE__*/ S.String;
|
|
2836
|
+
|
|
2837
|
+
export type UpdateTeamRequestSamlRolesValueCase1 =
|
|
2838
|
+
CreateTeamDsyncRoleRequestRolesValueCase1;
|
|
2839
|
+
export const UpdateTeamRequestSamlRolesValueCase1 =
|
|
2840
|
+
CreateTeamDsyncRoleRequestRolesValueCase1;
|
|
2841
|
+
|
|
2842
|
+
export type UpdateTeamRequestSamlRolesValue =
|
|
2843
|
+
| UpdateTeamRequestSamlRolesValueCase0
|
|
2844
|
+
| CreateTeamDsyncRoleRequestRolesValueCase1;
|
|
2845
|
+
export const UpdateTeamRequestSamlRolesValue =
|
|
2846
|
+
/*@__PURE__*/ S.Unknown as any as S.Schema<UpdateTeamRequestSamlRolesValue>;
|
|
2847
|
+
|
|
2848
|
+
/** Directory groups to role or access group mappings. */
|
|
2849
|
+
export type UpdateTeamRequestSamlRolesMap = {
|
|
2850
|
+
[key: string]: UpdateTeamRequestSamlRolesValue | undefined;
|
|
2851
|
+
};
|
|
2852
|
+
export const UpdateTeamRequestSamlRolesMap = /*@__PURE__*/ S.Record(
|
|
2853
|
+
S.String,
|
|
2854
|
+
UpdateTeamRequestSamlRolesValue,
|
|
2855
|
+
) as any as S.Schema<UpdateTeamRequestSamlRolesMap>;
|
|
2856
|
+
|
|
2857
|
+
export interface UpdateTeamRequestSaml {
|
|
2858
|
+
/** Require that members of the team use SAML Single Sign-On. */
|
|
2859
|
+
enforced?: boolean;
|
|
2860
|
+
/** Directory groups to role or access group mappings. */
|
|
2861
|
+
roles?: UpdateTeamRequestSamlRolesMap;
|
|
2862
|
+
}
|
|
2863
|
+
export const UpdateTeamRequestSaml = /*@__PURE__*/ S.suspend(() =>
|
|
2864
|
+
S.Struct({
|
|
2865
|
+
enforced: S.optional(S.Boolean),
|
|
2866
|
+
roles: S.optional(UpdateTeamRequestSamlRolesMap),
|
|
2867
|
+
}),
|
|
2868
|
+
).annotate({
|
|
2869
|
+
identifier: "UpdateTeamRequestSaml",
|
|
2870
|
+
}) as any as S.Schema<UpdateTeamRequestSaml>;
|
|
2871
|
+
|
|
2872
|
+
/** Whether or not remote caching is enabled for the team */
|
|
2873
|
+
export interface UpdateTeamRequestRemoteCaching {
|
|
2874
|
+
/** Enable or disable remote caching for the team. */
|
|
2875
|
+
enabled?: boolean;
|
|
2876
|
+
}
|
|
2877
|
+
export const UpdateTeamRequestRemoteCaching = /*@__PURE__*/ S.suspend(() =>
|
|
2878
|
+
S.Struct({
|
|
2879
|
+
enabled: S.optional(S.Boolean),
|
|
2880
|
+
}),
|
|
2881
|
+
).annotate({
|
|
2882
|
+
identifier: "UpdateTeamRequestRemoteCaching",
|
|
2883
|
+
}) as any as S.Schema<UpdateTeamRequestRemoteCaching>;
|
|
2884
|
+
|
|
2885
|
+
/** Controls who can request access to protected deployments. */
|
|
2886
|
+
export type UpdateTeamRequestDpAccessRequestsMode =
|
|
2887
|
+
| "all"
|
|
2888
|
+
| "none"
|
|
2889
|
+
| "email-domain";
|
|
2890
|
+
export const UpdateTeamRequestDpAccessRequestsMode = /*@__PURE__*/ S.String;
|
|
2736
2891
|
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2892
|
+
/** Specify if the password will apply to every Deployment Target or just Preview */
|
|
2893
|
+
export type UpdateTeamRequestDefaultDeploymentProtectionPasswordProtectionDeploymentType =
|
|
2894
|
+
| "all"
|
|
2895
|
+
| "preview"
|
|
2896
|
+
| "prod_deployment_urls_and_all_previews"
|
|
2897
|
+
| "all_except_custom_domains";
|
|
2898
|
+
export const UpdateTeamRequestDefaultDeploymentProtectionPasswordProtectionDeploymentType =
|
|
2740
2899
|
/*@__PURE__*/ S.String;
|
|
2741
2900
|
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2901
|
+
/** Allows to protect project deployments with a password */
|
|
2902
|
+
export interface UpdateTeamRequestDefaultDeploymentProtectionPasswordProtection {
|
|
2903
|
+
/** Specify if the password will apply to every Deployment Target or just Preview */
|
|
2904
|
+
deploymentType:
|
|
2905
|
+
| UpdateTeamRequestDefaultDeploymentProtectionPasswordProtectionDeploymentType
|
|
2746
2906
|
| (string & {});
|
|
2907
|
+
/** The password that will be used to protect Project Deployments */
|
|
2908
|
+
password?: string | Redacted.Redacted<string> | null;
|
|
2747
2909
|
}
|
|
2748
|
-
export const
|
|
2910
|
+
export const UpdateTeamRequestDefaultDeploymentProtectionPasswordProtection =
|
|
2749
2911
|
/*@__PURE__*/ S.suspend(() =>
|
|
2750
2912
|
S.Struct({
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2913
|
+
deploymentType:
|
|
2914
|
+
UpdateTeamRequestDefaultDeploymentProtectionPasswordProtectionDeploymentType,
|
|
2915
|
+
password: S.optional(S.NullOr(S.String).pipe(T.SensitiveValue({}))),
|
|
2754
2916
|
}),
|
|
2755
2917
|
).annotate({
|
|
2756
2918
|
identifier:
|
|
2757
|
-
"
|
|
2758
|
-
}) as any as S.Schema<
|
|
2919
|
+
"UpdateTeamRequestDefaultDeploymentProtectionPasswordProtection",
|
|
2920
|
+
}) as any as S.Schema<UpdateTeamRequestDefaultDeploymentProtectionPasswordProtection>;
|
|
2759
2921
|
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2922
|
+
/** Specify if the Vercel Authentication (SSO Protection) will apply to every Deployment Target or just Preview */
|
|
2923
|
+
export type UpdateTeamRequestDefaultDeploymentProtectionSsoProtectionDeploymentType =
|
|
2924
|
+
| "all"
|
|
2925
|
+
| "preview"
|
|
2926
|
+
| "prod_deployment_urls_and_all_previews"
|
|
2927
|
+
| "all_except_custom_domains";
|
|
2928
|
+
export const UpdateTeamRequestDefaultDeploymentProtectionSsoProtectionDeploymentType =
|
|
2763
2929
|
/*@__PURE__*/ S.String;
|
|
2764
2930
|
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2931
|
+
/** Ensures visitors to your Preview Deployments are logged into Vercel and have a minimum of Viewer access on your team */
|
|
2932
|
+
export interface UpdateTeamRequestDefaultDeploymentProtectionSsoProtection {
|
|
2933
|
+
/** Specify if the Vercel Authentication (SSO Protection) will apply to every Deployment Target or just Preview */
|
|
2934
|
+
deploymentType:
|
|
2935
|
+
| UpdateTeamRequestDefaultDeploymentProtectionSsoProtectionDeploymentType
|
|
2936
|
+
| (string & {});
|
|
2768
2937
|
}
|
|
2769
|
-
export const
|
|
2938
|
+
export const UpdateTeamRequestDefaultDeploymentProtectionSsoProtection =
|
|
2770
2939
|
/*@__PURE__*/ S.suspend(() =>
|
|
2771
2940
|
S.Struct({
|
|
2772
|
-
|
|
2773
|
-
|
|
2941
|
+
deploymentType:
|
|
2942
|
+
UpdateTeamRequestDefaultDeploymentProtectionSsoProtectionDeploymentType,
|
|
2774
2943
|
}),
|
|
2775
2944
|
).annotate({
|
|
2776
|
-
identifier:
|
|
2777
|
-
|
|
2778
|
-
}) as any as S.Schema<PatchTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase1>;
|
|
2779
|
-
|
|
2780
|
-
export type PatchTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItem =
|
|
2781
|
-
| PatchTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase0
|
|
2782
|
-
| PatchTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase1;
|
|
2783
|
-
export const PatchTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItem =
|
|
2784
|
-
/*@__PURE__*/ S.Unknown as any as S.Schema<PatchTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItem>;
|
|
2785
|
-
|
|
2786
|
-
export type PatchTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsList =
|
|
2787
|
-
Array<PatchTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItem>;
|
|
2788
|
-
export const PatchTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsList =
|
|
2789
|
-
/*@__PURE__*/ S.Array(
|
|
2790
|
-
PatchTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItem,
|
|
2791
|
-
) as any as S.Schema<PatchTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsList>;
|
|
2945
|
+
identifier: "UpdateTeamRequestDefaultDeploymentProtectionSsoProtection",
|
|
2946
|
+
}) as any as S.Schema<UpdateTeamRequestDefaultDeploymentProtectionSsoProtection>;
|
|
2792
2947
|
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
provider:
|
|
2800
|
-
| PatchTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase0Provider
|
|
2801
|
-
| (string & {});
|
|
2802
|
-
org: string;
|
|
2803
|
-
repo?: string;
|
|
2948
|
+
/** Default deployment protection settings for new projects. */
|
|
2949
|
+
export interface UpdateTeamRequestDefaultDeploymentProtection {
|
|
2950
|
+
/** Allows to protect project deployments with a password */
|
|
2951
|
+
passwordProtection?: UpdateTeamRequestDefaultDeploymentProtectionPasswordProtection | null;
|
|
2952
|
+
/** Ensures visitors to your Preview Deployments are logged into Vercel and have a minimum of Viewer access on your team */
|
|
2953
|
+
ssoProtection?: UpdateTeamRequestDefaultDeploymentProtectionSsoProtection | null;
|
|
2804
2954
|
}
|
|
2805
|
-
export const
|
|
2955
|
+
export const UpdateTeamRequestDefaultDeploymentProtection =
|
|
2806
2956
|
/*@__PURE__*/ S.suspend(() =>
|
|
2807
2957
|
S.Struct({
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2958
|
+
passwordProtection: S.optional(
|
|
2959
|
+
S.NullOr(
|
|
2960
|
+
UpdateTeamRequestDefaultDeploymentProtectionPasswordProtection,
|
|
2961
|
+
),
|
|
2962
|
+
),
|
|
2963
|
+
ssoProtection: S.optional(
|
|
2964
|
+
S.NullOr(UpdateTeamRequestDefaultDeploymentProtectionSsoProtection),
|
|
2965
|
+
),
|
|
2966
|
+
}),
|
|
2967
|
+
).annotate({
|
|
2968
|
+
identifier: "UpdateTeamRequestDefaultDeploymentProtection",
|
|
2969
|
+
}) as any as S.Schema<UpdateTeamRequestDefaultDeploymentProtection>;
|
|
2970
|
+
|
|
2971
|
+
export type UpdateTeamRequestDefaultPassportDeploymentType =
|
|
2972
|
+
| "all"
|
|
2973
|
+
| "preview"
|
|
2974
|
+
| "prod_deployment_urls_and_all_previews"
|
|
2975
|
+
| "all_except_custom_domains";
|
|
2976
|
+
export const UpdateTeamRequestDefaultPassportDeploymentType =
|
|
2977
|
+
/*@__PURE__*/ S.String;
|
|
2978
|
+
|
|
2979
|
+
/** Default Passport configuration for new projects. */
|
|
2980
|
+
export interface UpdateTeamRequestDefaultPassport {
|
|
2981
|
+
connectorId: string;
|
|
2982
|
+
deploymentType?:
|
|
2983
|
+
| UpdateTeamRequestDefaultPassportDeploymentType
|
|
2984
|
+
| (string & {});
|
|
2985
|
+
}
|
|
2986
|
+
export const UpdateTeamRequestDefaultPassport = /*@__PURE__*/ S.suspend(() =>
|
|
2987
|
+
S.Struct({
|
|
2988
|
+
connectorId: S.String,
|
|
2989
|
+
deploymentType: S.optional(UpdateTeamRequestDefaultPassportDeploymentType),
|
|
2990
|
+
}),
|
|
2991
|
+
).annotate({
|
|
2992
|
+
identifier: "UpdateTeamRequestDefaultPassport",
|
|
2993
|
+
}) as any as S.Schema<UpdateTeamRequestDefaultPassport>;
|
|
2994
|
+
|
|
2995
|
+
/** The time period to keep non-production deployments for */
|
|
2996
|
+
export type UpdateTeamRequestDefaultExpirationSettingsExpiration =
|
|
2997
|
+
| "3y"
|
|
2998
|
+
| "2y"
|
|
2999
|
+
| "1y"
|
|
3000
|
+
| "6m"
|
|
3001
|
+
| "3m"
|
|
3002
|
+
| "2m"
|
|
3003
|
+
| "1m"
|
|
3004
|
+
| "2w"
|
|
3005
|
+
| "1w"
|
|
3006
|
+
| "1d"
|
|
3007
|
+
| "unlimited";
|
|
3008
|
+
export const UpdateTeamRequestDefaultExpirationSettingsExpiration =
|
|
3009
|
+
/*@__PURE__*/ S.String;
|
|
3010
|
+
|
|
3011
|
+
/** The time period to keep production deployments for */
|
|
3012
|
+
export type UpdateTeamRequestDefaultExpirationSettingsExpirationProduction =
|
|
3013
|
+
| "3y"
|
|
3014
|
+
| "2y"
|
|
3015
|
+
| "1y"
|
|
3016
|
+
| "6m"
|
|
3017
|
+
| "3m"
|
|
3018
|
+
| "2m"
|
|
3019
|
+
| "1m"
|
|
3020
|
+
| "2w"
|
|
3021
|
+
| "1w"
|
|
3022
|
+
| "1d"
|
|
3023
|
+
| "unlimited";
|
|
3024
|
+
export const UpdateTeamRequestDefaultExpirationSettingsExpirationProduction =
|
|
3025
|
+
/*@__PURE__*/ S.String;
|
|
3026
|
+
|
|
3027
|
+
/** The time period to keep canceled deployments for */
|
|
3028
|
+
export type UpdateTeamRequestDefaultExpirationSettingsExpirationCanceled =
|
|
3029
|
+
| "1y"
|
|
3030
|
+
| "6m"
|
|
3031
|
+
| "3m"
|
|
3032
|
+
| "2m"
|
|
3033
|
+
| "1m"
|
|
3034
|
+
| "2w"
|
|
3035
|
+
| "1w"
|
|
3036
|
+
| "1d"
|
|
3037
|
+
| "unlimited";
|
|
3038
|
+
export const UpdateTeamRequestDefaultExpirationSettingsExpirationCanceled =
|
|
3039
|
+
/*@__PURE__*/ S.String;
|
|
3040
|
+
|
|
3041
|
+
/** The time period to keep errored deployments for */
|
|
3042
|
+
export type UpdateTeamRequestDefaultExpirationSettingsExpirationErrored =
|
|
3043
|
+
| "1y"
|
|
3044
|
+
| "6m"
|
|
3045
|
+
| "3m"
|
|
3046
|
+
| "2m"
|
|
3047
|
+
| "1m"
|
|
3048
|
+
| "2w"
|
|
3049
|
+
| "1w"
|
|
3050
|
+
| "1d"
|
|
3051
|
+
| "unlimited";
|
|
3052
|
+
export const UpdateTeamRequestDefaultExpirationSettingsExpirationErrored =
|
|
3053
|
+
/*@__PURE__*/ S.String;
|
|
3054
|
+
|
|
3055
|
+
export interface UpdateTeamRequestDefaultExpirationSettings {
|
|
3056
|
+
/** The time period to keep non-production deployments for */
|
|
3057
|
+
expiration?:
|
|
3058
|
+
| UpdateTeamRequestDefaultExpirationSettingsExpiration
|
|
3059
|
+
| (string & {});
|
|
3060
|
+
/** The time period to keep production deployments for */
|
|
3061
|
+
expirationProduction?:
|
|
3062
|
+
| UpdateTeamRequestDefaultExpirationSettingsExpirationProduction
|
|
3063
|
+
| (string & {});
|
|
3064
|
+
/** The time period to keep canceled deployments for */
|
|
3065
|
+
expirationCanceled?:
|
|
3066
|
+
| UpdateTeamRequestDefaultExpirationSettingsExpirationCanceled
|
|
3067
|
+
| (string & {});
|
|
3068
|
+
/** The time period to keep errored deployments for */
|
|
3069
|
+
expirationErrored?:
|
|
3070
|
+
| UpdateTeamRequestDefaultExpirationSettingsExpirationErrored
|
|
3071
|
+
| (string & {});
|
|
3072
|
+
}
|
|
3073
|
+
export const UpdateTeamRequestDefaultExpirationSettings =
|
|
3074
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
3075
|
+
S.Struct({
|
|
3076
|
+
expiration: S.optional(
|
|
3077
|
+
UpdateTeamRequestDefaultExpirationSettingsExpiration,
|
|
3078
|
+
),
|
|
3079
|
+
expirationProduction: S.optional(
|
|
3080
|
+
UpdateTeamRequestDefaultExpirationSettingsExpirationProduction,
|
|
3081
|
+
),
|
|
3082
|
+
expirationCanceled: S.optional(
|
|
3083
|
+
UpdateTeamRequestDefaultExpirationSettingsExpirationCanceled,
|
|
3084
|
+
),
|
|
3085
|
+
expirationErrored: S.optional(
|
|
3086
|
+
UpdateTeamRequestDefaultExpirationSettingsExpirationErrored,
|
|
3087
|
+
),
|
|
3088
|
+
}),
|
|
3089
|
+
).annotate({
|
|
3090
|
+
identifier: "UpdateTeamRequestDefaultExpirationSettings",
|
|
3091
|
+
}) as any as S.Schema<UpdateTeamRequestDefaultExpirationSettings>;
|
|
3092
|
+
|
|
3093
|
+
export type UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase0Type =
|
|
3094
|
+
"system";
|
|
3095
|
+
export const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase0Type =
|
|
3096
|
+
/*@__PURE__*/ S.String;
|
|
3097
|
+
|
|
3098
|
+
export type UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase0Target =
|
|
3099
|
+
| "production"
|
|
3100
|
+
| "preview";
|
|
3101
|
+
export const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase0Target =
|
|
3102
|
+
/*@__PURE__*/ S.String;
|
|
3103
|
+
|
|
3104
|
+
export interface UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase0 {
|
|
3105
|
+
type: UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase0Type;
|
|
3106
|
+
target:
|
|
3107
|
+
| UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase0Target
|
|
3108
|
+
| (string & {});
|
|
3109
|
+
}
|
|
3110
|
+
export const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase0 =
|
|
3111
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
3112
|
+
S.Struct({
|
|
3113
|
+
type: UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase0Type,
|
|
3114
|
+
target:
|
|
3115
|
+
UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase0Target,
|
|
3116
|
+
}),
|
|
3117
|
+
).annotate({
|
|
3118
|
+
identifier:
|
|
3119
|
+
"UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase0",
|
|
3120
|
+
}) as any as S.Schema<UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase0>;
|
|
3121
|
+
|
|
3122
|
+
export type UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase1Type =
|
|
3123
|
+
"custom";
|
|
3124
|
+
export const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase1Type =
|
|
3125
|
+
/*@__PURE__*/ S.String;
|
|
3126
|
+
|
|
3127
|
+
export interface UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase1 {
|
|
3128
|
+
type: UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase1Type;
|
|
3129
|
+
environmentId: string;
|
|
3130
|
+
}
|
|
3131
|
+
export const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase1 =
|
|
3132
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
3133
|
+
S.Struct({
|
|
3134
|
+
type: UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase1Type,
|
|
3135
|
+
environmentId: S.String,
|
|
2812
3136
|
}),
|
|
2813
3137
|
).annotate({
|
|
2814
3138
|
identifier:
|
|
2815
|
-
"
|
|
2816
|
-
}) as any as S.Schema<
|
|
3139
|
+
"UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase1",
|
|
3140
|
+
}) as any as S.Schema<UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase1>;
|
|
3141
|
+
|
|
3142
|
+
export type UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItem =
|
|
3143
|
+
| UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase0
|
|
3144
|
+
| UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase1;
|
|
3145
|
+
export const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItem =
|
|
3146
|
+
/*@__PURE__*/ S.Unknown as any as S.Schema<UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItem>;
|
|
3147
|
+
|
|
3148
|
+
export type UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsList =
|
|
3149
|
+
Array<UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItem>;
|
|
3150
|
+
export const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsList =
|
|
3151
|
+
/*@__PURE__*/ S.Array(
|
|
3152
|
+
UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItem,
|
|
3153
|
+
) as any as S.Schema<UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsList>;
|
|
3154
|
+
|
|
3155
|
+
export type UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase0Provider =
|
|
3156
|
+
| "github"
|
|
3157
|
+
| "bitbucket";
|
|
3158
|
+
export const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase0Provider =
|
|
3159
|
+
/*@__PURE__*/ S.String;
|
|
2817
3160
|
|
|
2818
|
-
export
|
|
3161
|
+
export interface UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase0 {
|
|
3162
|
+
provider:
|
|
3163
|
+
| UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase0Provider
|
|
3164
|
+
| (string & {});
|
|
3165
|
+
org: string;
|
|
3166
|
+
repo?: string;
|
|
3167
|
+
}
|
|
3168
|
+
export const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase0 =
|
|
3169
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
3170
|
+
S.Struct({
|
|
3171
|
+
provider:
|
|
3172
|
+
UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase0Provider,
|
|
3173
|
+
org: S.String,
|
|
3174
|
+
repo: S.optional(S.String),
|
|
3175
|
+
}),
|
|
3176
|
+
).annotate({
|
|
3177
|
+
identifier:
|
|
3178
|
+
"UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase0",
|
|
3179
|
+
}) as any as S.Schema<UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase0>;
|
|
3180
|
+
|
|
3181
|
+
export type UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase1Provider =
|
|
2819
3182
|
"gitlab";
|
|
2820
|
-
export const
|
|
3183
|
+
export const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase1Provider =
|
|
2821
3184
|
/*@__PURE__*/ S.String;
|
|
2822
3185
|
|
|
2823
|
-
export interface
|
|
2824
|
-
provider:
|
|
3186
|
+
export interface UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase1 {
|
|
3187
|
+
provider: UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase1Provider;
|
|
2825
3188
|
namespace: string;
|
|
2826
3189
|
project?: string;
|
|
2827
3190
|
}
|
|
2828
|
-
export const
|
|
3191
|
+
export const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase1 =
|
|
2829
3192
|
/*@__PURE__*/ S.suspend(() =>
|
|
2830
3193
|
S.Struct({
|
|
2831
3194
|
provider:
|
|
2832
|
-
|
|
3195
|
+
UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase1Provider,
|
|
2833
3196
|
namespace: S.String,
|
|
2834
3197
|
project: S.optional(S.String),
|
|
2835
3198
|
}),
|
|
2836
3199
|
).annotate({
|
|
2837
3200
|
identifier:
|
|
2838
|
-
"
|
|
2839
|
-
}) as any as S.Schema<
|
|
2840
|
-
|
|
2841
|
-
export type
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
export const
|
|
2845
|
-
/*@__PURE__*/ S.Unknown as any as S.Schema<
|
|
2846
|
-
|
|
2847
|
-
export type
|
|
2848
|
-
Array<
|
|
2849
|
-
export const
|
|
3201
|
+
"UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase1",
|
|
3202
|
+
}) as any as S.Schema<UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase1>;
|
|
3203
|
+
|
|
3204
|
+
export type UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItem =
|
|
3205
|
+
| UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase0
|
|
3206
|
+
| UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase1;
|
|
3207
|
+
export const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItem =
|
|
3208
|
+
/*@__PURE__*/ S.Unknown as any as S.Schema<UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItem>;
|
|
3209
|
+
|
|
3210
|
+
export type UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesList =
|
|
3211
|
+
Array<UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItem>;
|
|
3212
|
+
export const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesList =
|
|
2850
3213
|
/*@__PURE__*/ S.Array(
|
|
2851
|
-
|
|
2852
|
-
) as any as S.Schema<
|
|
3214
|
+
UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItem,
|
|
3215
|
+
) as any as S.Schema<UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesList>;
|
|
2853
3216
|
|
|
2854
|
-
export interface
|
|
3217
|
+
export interface UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0Item {
|
|
2855
3218
|
enabled: boolean;
|
|
2856
|
-
environments:
|
|
2857
|
-
sources:
|
|
3219
|
+
environments: UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsList;
|
|
3220
|
+
sources: UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesList;
|
|
2858
3221
|
}
|
|
2859
|
-
export const
|
|
3222
|
+
export const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0Item =
|
|
2860
3223
|
/*@__PURE__*/ S.suspend(() =>
|
|
2861
3224
|
S.Struct({
|
|
2862
3225
|
enabled: S.Boolean,
|
|
2863
3226
|
environments:
|
|
2864
|
-
|
|
3227
|
+
UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsList,
|
|
2865
3228
|
sources:
|
|
2866
|
-
|
|
3229
|
+
UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesList,
|
|
2867
3230
|
}),
|
|
2868
3231
|
).annotate({
|
|
2869
|
-
identifier: "
|
|
2870
|
-
}) as any as S.Schema<
|
|
3232
|
+
identifier: "UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0Item",
|
|
3233
|
+
}) as any as S.Schema<UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0Item>;
|
|
2871
3234
|
|
|
2872
|
-
export type
|
|
2873
|
-
Array<
|
|
2874
|
-
export const
|
|
3235
|
+
export type UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0List =
|
|
3236
|
+
Array<UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0Item>;
|
|
3237
|
+
export const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0List =
|
|
2875
3238
|
/*@__PURE__*/ S.Array(
|
|
2876
|
-
|
|
2877
|
-
) as any as S.Schema<
|
|
3239
|
+
UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0Item,
|
|
3240
|
+
) as any as S.Schema<UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0List>;
|
|
2878
3241
|
|
|
2879
|
-
export type
|
|
2880
|
-
|
|
|
3242
|
+
export type UpdateTeamRequestDeploymentPolicyCase0GitSources =
|
|
3243
|
+
| UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0List
|
|
2881
3244
|
| string;
|
|
2882
|
-
export const
|
|
2883
|
-
/*@__PURE__*/ S.Unknown as any as S.Schema<
|
|
3245
|
+
export const UpdateTeamRequestDeploymentPolicyCase0GitSources =
|
|
3246
|
+
/*@__PURE__*/ S.Unknown as any as S.Schema<UpdateTeamRequestDeploymentPolicyCase0GitSources>;
|
|
2884
3247
|
|
|
2885
|
-
export type
|
|
3248
|
+
export type UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase0Type =
|
|
2886
3249
|
"system";
|
|
2887
|
-
export const
|
|
3250
|
+
export const UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase0Type =
|
|
2888
3251
|
/*@__PURE__*/ S.String;
|
|
2889
3252
|
|
|
2890
|
-
export type
|
|
2891
|
-
|
|
2892
|
-
|
|
3253
|
+
export type UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase0Target =
|
|
3254
|
+
| "production"
|
|
3255
|
+
| "preview";
|
|
3256
|
+
export const UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase0Target =
|
|
2893
3257
|
/*@__PURE__*/ S.String;
|
|
2894
3258
|
|
|
2895
|
-
export interface
|
|
2896
|
-
type:
|
|
3259
|
+
export interface UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase0 {
|
|
3260
|
+
type: UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase0Type;
|
|
2897
3261
|
target:
|
|
2898
|
-
|
|
|
3262
|
+
| UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase0Target
|
|
2899
3263
|
| (string & {});
|
|
2900
3264
|
}
|
|
2901
|
-
export const
|
|
3265
|
+
export const UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase0 =
|
|
2902
3266
|
/*@__PURE__*/ S.suspend(() =>
|
|
2903
3267
|
S.Struct({
|
|
2904
|
-
type:
|
|
3268
|
+
type: UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase0Type,
|
|
2905
3269
|
target:
|
|
2906
|
-
|
|
3270
|
+
UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase0Target,
|
|
2907
3271
|
}),
|
|
2908
3272
|
).annotate({
|
|
2909
3273
|
identifier:
|
|
2910
|
-
"
|
|
2911
|
-
}) as any as S.Schema<
|
|
3274
|
+
"UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase0",
|
|
3275
|
+
}) as any as S.Schema<UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase0>;
|
|
2912
3276
|
|
|
2913
|
-
export type
|
|
3277
|
+
export type UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase1Type =
|
|
2914
3278
|
"custom";
|
|
2915
|
-
export const
|
|
3279
|
+
export const UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase1Type =
|
|
2916
3280
|
/*@__PURE__*/ S.String;
|
|
2917
3281
|
|
|
2918
|
-
export interface
|
|
2919
|
-
type:
|
|
3282
|
+
export interface UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase1 {
|
|
3283
|
+
type: UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase1Type;
|
|
2920
3284
|
environmentId: string;
|
|
2921
3285
|
}
|
|
2922
|
-
export const
|
|
3286
|
+
export const UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase1 =
|
|
2923
3287
|
/*@__PURE__*/ S.suspend(() =>
|
|
2924
3288
|
S.Struct({
|
|
2925
|
-
type:
|
|
3289
|
+
type: UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase1Type,
|
|
2926
3290
|
environmentId: S.String,
|
|
2927
3291
|
}),
|
|
2928
3292
|
).annotate({
|
|
2929
3293
|
identifier:
|
|
2930
|
-
"
|
|
2931
|
-
}) as any as S.Schema<
|
|
2932
|
-
|
|
2933
|
-
export type
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
export const
|
|
2937
|
-
/*@__PURE__*/ S.Unknown as any as S.Schema<
|
|
2938
|
-
|
|
2939
|
-
export type
|
|
2940
|
-
Array<
|
|
2941
|
-
export const
|
|
3294
|
+
"UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase1",
|
|
3295
|
+
}) as any as S.Schema<UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase1>;
|
|
3296
|
+
|
|
3297
|
+
export type UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItem =
|
|
3298
|
+
| UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase0
|
|
3299
|
+
| UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase1;
|
|
3300
|
+
export const UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItem =
|
|
3301
|
+
/*@__PURE__*/ S.Unknown as any as S.Schema<UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItem>;
|
|
3302
|
+
|
|
3303
|
+
export type UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsList =
|
|
3304
|
+
Array<UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItem>;
|
|
3305
|
+
export const UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsList =
|
|
2942
3306
|
/*@__PURE__*/ S.Array(
|
|
2943
|
-
|
|
2944
|
-
) as any as S.Schema<
|
|
3307
|
+
UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItem,
|
|
3308
|
+
) as any as S.Schema<UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsList>;
|
|
2945
3309
|
|
|
2946
|
-
export type
|
|
2947
|
-
|
|
2948
|
-
|
|
3310
|
+
export type UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemSourcesItem =
|
|
3311
|
+
| "git"
|
|
3312
|
+
| "cli"
|
|
3313
|
+
| "rest-api"
|
|
3314
|
+
| "deploy-hook"
|
|
3315
|
+
| "integration"
|
|
3316
|
+
| "v0";
|
|
3317
|
+
export const UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemSourcesItem =
|
|
2949
3318
|
/*@__PURE__*/ S.String;
|
|
2950
3319
|
|
|
2951
|
-
export type
|
|
3320
|
+
export type UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemSourcesList =
|
|
2952
3321
|
Array<
|
|
2953
|
-
|
|
|
3322
|
+
| UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemSourcesItem
|
|
2954
3323
|
| (string & {})
|
|
2955
3324
|
>;
|
|
2956
|
-
export const
|
|
3325
|
+
export const UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemSourcesList =
|
|
2957
3326
|
/*@__PURE__*/ S.Array(
|
|
2958
|
-
|
|
2959
|
-
) as any as S.Schema<
|
|
3327
|
+
UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemSourcesItem,
|
|
3328
|
+
) as any as S.Schema<UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemSourcesList>;
|
|
2960
3329
|
|
|
2961
|
-
export interface
|
|
3330
|
+
export interface UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0Item {
|
|
2962
3331
|
enabled: boolean;
|
|
2963
|
-
environments:
|
|
2964
|
-
sources:
|
|
3332
|
+
environments: UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsList;
|
|
3333
|
+
sources: UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemSourcesList;
|
|
2965
3334
|
}
|
|
2966
|
-
export const
|
|
3335
|
+
export const UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0Item =
|
|
2967
3336
|
/*@__PURE__*/ S.suspend(() =>
|
|
2968
3337
|
S.Struct({
|
|
2969
3338
|
enabled: S.Boolean,
|
|
2970
3339
|
environments:
|
|
2971
|
-
|
|
3340
|
+
UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsList,
|
|
2972
3341
|
sources:
|
|
2973
|
-
|
|
3342
|
+
UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemSourcesList,
|
|
2974
3343
|
}),
|
|
2975
3344
|
).annotate({
|
|
2976
3345
|
identifier:
|
|
2977
|
-
"
|
|
2978
|
-
}) as any as S.Schema<
|
|
3346
|
+
"UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0Item",
|
|
3347
|
+
}) as any as S.Schema<UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0Item>;
|
|
2979
3348
|
|
|
2980
|
-
export type
|
|
2981
|
-
Array<
|
|
2982
|
-
export const
|
|
3349
|
+
export type UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0List =
|
|
3350
|
+
Array<UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0Item>;
|
|
3351
|
+
export const UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0List =
|
|
2983
3352
|
/*@__PURE__*/ S.Array(
|
|
2984
|
-
|
|
2985
|
-
) as any as S.Schema<
|
|
3353
|
+
UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0Item,
|
|
3354
|
+
) as any as S.Schema<UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0List>;
|
|
2986
3355
|
|
|
2987
|
-
export type
|
|
2988
|
-
|
|
|
3356
|
+
export type UpdateTeamRequestDeploymentPolicyCase0DeploymentSources =
|
|
3357
|
+
| UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0List
|
|
2989
3358
|
| string;
|
|
2990
|
-
export const
|
|
2991
|
-
/*@__PURE__*/ S.Unknown as any as S.Schema<
|
|
3359
|
+
export const UpdateTeamRequestDeploymentPolicyCase0DeploymentSources =
|
|
3360
|
+
/*@__PURE__*/ S.Unknown as any as S.Schema<UpdateTeamRequestDeploymentPolicyCase0DeploymentSources>;
|
|
2992
3361
|
|
|
2993
3362
|
/** Composable deployment-time policy. Each rule type holds a list of rules, one per environment scope. */
|
|
2994
|
-
export interface
|
|
2995
|
-
gitSources?:
|
|
2996
|
-
deploymentSources?:
|
|
3363
|
+
export interface UpdateTeamRequestDeploymentPolicyCase0 {
|
|
3364
|
+
gitSources?: UpdateTeamRequestDeploymentPolicyCase0GitSources;
|
|
3365
|
+
deploymentSources?: UpdateTeamRequestDeploymentPolicyCase0DeploymentSources;
|
|
2997
3366
|
}
|
|
2998
|
-
export const
|
|
3367
|
+
export const UpdateTeamRequestDeploymentPolicyCase0 = /*@__PURE__*/ S.suspend(
|
|
2999
3368
|
() =>
|
|
3000
3369
|
S.Struct({
|
|
3001
|
-
gitSources: S.optional(
|
|
3370
|
+
gitSources: S.optional(UpdateTeamRequestDeploymentPolicyCase0GitSources),
|
|
3002
3371
|
deploymentSources: S.optional(
|
|
3003
|
-
|
|
3372
|
+
UpdateTeamRequestDeploymentPolicyCase0DeploymentSources,
|
|
3004
3373
|
),
|
|
3005
3374
|
}),
|
|
3006
3375
|
).annotate({
|
|
3007
|
-
identifier: "
|
|
3008
|
-
}) as any as S.Schema<
|
|
3376
|
+
identifier: "UpdateTeamRequestDeploymentPolicyCase0",
|
|
3377
|
+
}) as any as S.Schema<UpdateTeamRequestDeploymentPolicyCase0>;
|
|
3009
3378
|
|
|
3010
|
-
export type
|
|
3011
|
-
|
|
|
3379
|
+
export type UpdateTeamRequestDeploymentPolicy =
|
|
3380
|
+
| UpdateTeamRequestDeploymentPolicyCase0
|
|
3012
3381
|
| string;
|
|
3013
|
-
export const
|
|
3014
|
-
/*@__PURE__*/ S.Unknown as any as S.Schema<
|
|
3382
|
+
export const UpdateTeamRequestDeploymentPolicy =
|
|
3383
|
+
/*@__PURE__*/ S.Unknown as any as S.Schema<UpdateTeamRequestDeploymentPolicy>;
|
|
3015
3384
|
|
|
3016
3385
|
/** When enabled, deployment protection settings require stricter permissions (owner-only). */
|
|
3017
|
-
export interface
|
|
3386
|
+
export interface UpdateTeamRequestStrictDeploymentProtectionSettings {
|
|
3018
3387
|
/** Enable or disable strict deployment protection settings. */
|
|
3019
3388
|
enabled: boolean;
|
|
3020
3389
|
}
|
|
3021
|
-
export const
|
|
3390
|
+
export const UpdateTeamRequestStrictDeploymentProtectionSettings =
|
|
3022
3391
|
/*@__PURE__*/ S.suspend(() =>
|
|
3023
3392
|
S.Struct({
|
|
3024
3393
|
enabled: S.Boolean,
|
|
3025
3394
|
}),
|
|
3026
3395
|
).annotate({
|
|
3027
|
-
identifier: "
|
|
3028
|
-
}) as any as S.Schema<
|
|
3396
|
+
identifier: "UpdateTeamRequestStrictDeploymentProtectionSettings",
|
|
3397
|
+
}) as any as S.Schema<UpdateTeamRequestStrictDeploymentProtectionSettings>;
|
|
3029
3398
|
|
|
3030
3399
|
/** When enabled, creating shareable links requires Owner role. */
|
|
3031
|
-
export interface
|
|
3400
|
+
export interface UpdateTeamRequestStrictShareableLinks {
|
|
3032
3401
|
/** Enable or disable requiring Owner role to create shareable links. */
|
|
3033
3402
|
enabled: boolean;
|
|
3034
3403
|
}
|
|
3035
|
-
export const
|
|
3036
|
-
() =>
|
|
3037
|
-
S.Struct({
|
|
3038
|
-
enabled: S.Boolean,
|
|
3039
|
-
}),
|
|
3040
|
-
).annotate({
|
|
3041
|
-
identifier: "PatchTeamRequestStrictShareableLinks",
|
|
3042
|
-
}) as any as S.Schema<PatchTeamRequestStrictShareableLinks>;
|
|
3043
|
-
|
|
3044
|
-
/** When enabled, adding, changing, or removing project password protection requires Owner role. */
|
|
3045
|
-
export interface PatchTeamRequestStrictPasswordProtectionSettings {
|
|
3046
|
-
/** Enable or disable requiring Owner role to change project password protection. */
|
|
3047
|
-
enabled: boolean;
|
|
3048
|
-
}
|
|
3049
|
-
export const PatchTeamRequestStrictPasswordProtectionSettings =
|
|
3050
|
-
/*@__PURE__*/ S.suspend(() =>
|
|
3051
|
-
S.Struct({
|
|
3052
|
-
enabled: S.Boolean,
|
|
3053
|
-
}),
|
|
3054
|
-
).annotate({
|
|
3055
|
-
identifier: "PatchTeamRequestStrictPasswordProtectionSettings",
|
|
3056
|
-
}) as any as S.Schema<PatchTeamRequestStrictPasswordProtectionSettings>;
|
|
3057
|
-
|
|
3058
|
-
/** The NSNB preference for the team. */
|
|
3059
|
-
export type PatchTeamRequestNsnbConfigCase0Preference =
|
|
3060
|
-
| "auto-approval"
|
|
3061
|
-
| "manual-approval"
|
|
3062
|
-
| "block";
|
|
3063
|
-
export const PatchTeamRequestNsnbConfigCase0Preference = /*@__PURE__*/ S.String;
|
|
3064
|
-
|
|
3065
|
-
/** NSNB configuration for the team. */
|
|
3066
|
-
export interface PatchTeamRequestNsnbConfigCase0 {
|
|
3067
|
-
/** The NSNB preference for the team. */
|
|
3068
|
-
preference: PatchTeamRequestNsnbConfigCase0Preference | (string & {});
|
|
3069
|
-
}
|
|
3070
|
-
export const PatchTeamRequestNsnbConfigCase0 = /*@__PURE__*/ S.suspend(() =>
|
|
3071
|
-
S.Struct({
|
|
3072
|
-
preference: PatchTeamRequestNsnbConfigCase0Preference,
|
|
3073
|
-
}),
|
|
3074
|
-
).annotate({
|
|
3075
|
-
identifier: "PatchTeamRequestNsnbConfigCase0",
|
|
3076
|
-
}) as any as S.Schema<PatchTeamRequestNsnbConfigCase0>;
|
|
3077
|
-
|
|
3078
|
-
export type PatchTeamRequestNsnbConfig =
|
|
3079
|
-
| PatchTeamRequestNsnbConfigCase0
|
|
3080
|
-
| string;
|
|
3081
|
-
export const PatchTeamRequestNsnbConfig =
|
|
3082
|
-
/*@__PURE__*/ S.Unknown as any as S.Schema<PatchTeamRequestNsnbConfig>;
|
|
3083
|
-
|
|
3084
|
-
export type PatchTeamRequestDefaultProjectJobsCase0LintTargetsList =
|
|
3085
|
-
Array<string>;
|
|
3086
|
-
export const PatchTeamRequestDefaultProjectJobsCase0LintTargetsList =
|
|
3087
|
-
/*@__PURE__*/ S.Array(
|
|
3088
|
-
S.String,
|
|
3089
|
-
) as any as S.Schema<PatchTeamRequestDefaultProjectJobsCase0LintTargetsList>;
|
|
3090
|
-
|
|
3091
|
-
export interface PatchTeamRequestDefaultProjectJobsCase0Lint {
|
|
3092
|
-
targets: PatchTeamRequestDefaultProjectJobsCase0LintTargetsList;
|
|
3093
|
-
}
|
|
3094
|
-
export const PatchTeamRequestDefaultProjectJobsCase0Lint =
|
|
3095
|
-
/*@__PURE__*/ S.suspend(() =>
|
|
3096
|
-
S.Struct({
|
|
3097
|
-
targets: PatchTeamRequestDefaultProjectJobsCase0LintTargetsList,
|
|
3098
|
-
}),
|
|
3099
|
-
).annotate({
|
|
3100
|
-
identifier: "PatchTeamRequestDefaultProjectJobsCase0Lint",
|
|
3101
|
-
}) as any as S.Schema<PatchTeamRequestDefaultProjectJobsCase0Lint>;
|
|
3102
|
-
|
|
3103
|
-
export type PatchTeamRequestDefaultProjectJobsCase0TypecheckTargetsList =
|
|
3104
|
-
Array<string>;
|
|
3105
|
-
export const PatchTeamRequestDefaultProjectJobsCase0TypecheckTargetsList =
|
|
3106
|
-
/*@__PURE__*/ S.Array(
|
|
3107
|
-
S.String,
|
|
3108
|
-
) as any as S.Schema<PatchTeamRequestDefaultProjectJobsCase0TypecheckTargetsList>;
|
|
3109
|
-
|
|
3110
|
-
export interface PatchTeamRequestDefaultProjectJobsCase0Typecheck {
|
|
3111
|
-
targets: PatchTeamRequestDefaultProjectJobsCase0TypecheckTargetsList;
|
|
3112
|
-
}
|
|
3113
|
-
export const PatchTeamRequestDefaultProjectJobsCase0Typecheck =
|
|
3114
|
-
/*@__PURE__*/ S.suspend(() =>
|
|
3115
|
-
S.Struct({
|
|
3116
|
-
targets: PatchTeamRequestDefaultProjectJobsCase0TypecheckTargetsList,
|
|
3117
|
-
}),
|
|
3118
|
-
).annotate({
|
|
3119
|
-
identifier: "PatchTeamRequestDefaultProjectJobsCase0Typecheck",
|
|
3120
|
-
}) as any as S.Schema<PatchTeamRequestDefaultProjectJobsCase0Typecheck>;
|
|
3121
|
-
|
|
3122
|
-
/** Default job configuration applied to new projects created in this team. */
|
|
3123
|
-
export interface PatchTeamRequestDefaultProjectJobsCase0 {
|
|
3124
|
-
lint?: PatchTeamRequestDefaultProjectJobsCase0Lint;
|
|
3125
|
-
typecheck?: PatchTeamRequestDefaultProjectJobsCase0Typecheck;
|
|
3126
|
-
}
|
|
3127
|
-
export const PatchTeamRequestDefaultProjectJobsCase0 = /*@__PURE__*/ S.suspend(
|
|
3128
|
-
() =>
|
|
3129
|
-
S.Struct({
|
|
3130
|
-
lint: S.optional(PatchTeamRequestDefaultProjectJobsCase0Lint),
|
|
3131
|
-
typecheck: S.optional(PatchTeamRequestDefaultProjectJobsCase0Typecheck),
|
|
3132
|
-
}),
|
|
3133
|
-
).annotate({
|
|
3134
|
-
identifier: "PatchTeamRequestDefaultProjectJobsCase0",
|
|
3135
|
-
}) as any as S.Schema<PatchTeamRequestDefaultProjectJobsCase0>;
|
|
3136
|
-
|
|
3137
|
-
export type PatchTeamRequestDefaultProjectJobs =
|
|
3138
|
-
| PatchTeamRequestDefaultProjectJobsCase0
|
|
3139
|
-
| string;
|
|
3140
|
-
export const PatchTeamRequestDefaultProjectJobs =
|
|
3141
|
-
/*@__PURE__*/ S.Unknown as any as S.Schema<PatchTeamRequestDefaultProjectJobs>;
|
|
3142
|
-
|
|
3143
|
-
/** Default build machine type for new builds: basic, standard, enhanced, turbo, or elastic. */
|
|
3144
|
-
export type PatchTeamRequestResourceConfigBuildMachineDefault =
|
|
3145
|
-
| "basic"
|
|
3146
|
-
| "enhanced"
|
|
3147
|
-
| "turbo"
|
|
3148
|
-
| "standard"
|
|
3149
|
-
| "elastic";
|
|
3150
|
-
export const PatchTeamRequestResourceConfigBuildMachineDefault =
|
|
3151
|
-
/*@__PURE__*/ S.String;
|
|
3152
|
-
|
|
3153
|
-
/** Build machine configuration. */
|
|
3154
|
-
export interface PatchTeamRequestResourceConfigBuildMachine {
|
|
3155
|
-
/** Default build machine type for new builds: basic, standard, enhanced, turbo, or elastic. */
|
|
3156
|
-
default?: PatchTeamRequestResourceConfigBuildMachineDefault | (string & {});
|
|
3157
|
-
}
|
|
3158
|
-
export const PatchTeamRequestResourceConfigBuildMachine =
|
|
3159
|
-
/*@__PURE__*/ S.suspend(() =>
|
|
3160
|
-
S.Struct({
|
|
3161
|
-
default: S.optional(PatchTeamRequestResourceConfigBuildMachineDefault),
|
|
3162
|
-
}),
|
|
3163
|
-
).annotate({
|
|
3164
|
-
identifier: "PatchTeamRequestResourceConfigBuildMachine",
|
|
3165
|
-
}) as any as S.Schema<PatchTeamRequestResourceConfigBuildMachine>;
|
|
3166
|
-
|
|
3167
|
-
/** Resource configuration for the team. */
|
|
3168
|
-
export interface PatchTeamRequestResourceConfig {
|
|
3169
|
-
/** Build machine configuration. */
|
|
3170
|
-
buildMachine?: PatchTeamRequestResourceConfigBuildMachine;
|
|
3171
|
-
}
|
|
3172
|
-
export const PatchTeamRequestResourceConfig = /*@__PURE__*/ S.suspend(() =>
|
|
3173
|
-
S.Struct({
|
|
3174
|
-
buildMachine: S.optional(PatchTeamRequestResourceConfigBuildMachine),
|
|
3175
|
-
}),
|
|
3176
|
-
).annotate({
|
|
3177
|
-
identifier: "PatchTeamRequestResourceConfig",
|
|
3178
|
-
}) as any as S.Schema<PatchTeamRequestResourceConfig>;
|
|
3179
|
-
|
|
3180
|
-
export interface PatchTeamRequest {
|
|
3181
|
-
/** The Team identifier to perform the request on behalf of. */
|
|
3182
|
-
teamId: string;
|
|
3183
|
-
/** The Team slug to perform the request on behalf of. */
|
|
3184
|
-
slug?: string;
|
|
3185
|
-
/** The hash value of an uploaded image. */
|
|
3186
|
-
avatar?: string;
|
|
3187
|
-
/** A short text that describes the team. */
|
|
3188
|
-
description?: string;
|
|
3189
|
-
emailDomain?: string | null;
|
|
3190
|
-
/** The name of the team. */
|
|
3191
|
-
name?: string;
|
|
3192
|
-
/** Suffix that will be used for all preview deployments. */
|
|
3193
|
-
previewDeploymentSuffix?: string | null;
|
|
3194
|
-
/** Create a new invite code and replace the current one. */
|
|
3195
|
-
regenerateInviteCode?: boolean;
|
|
3196
|
-
saml?: PatchTeamRequestSaml;
|
|
3197
|
-
/** Enable preview toolbar: one of on, off or default. */
|
|
3198
|
-
enablePreviewFeedback?: string;
|
|
3199
|
-
/** Enable production toolbar: one of on, off or default. */
|
|
3200
|
-
enableProductionFeedback?: string;
|
|
3201
|
-
/** Sensitive environment variable policy: one of on, off or default. */
|
|
3202
|
-
sensitiveEnvironmentVariablePolicy?: string;
|
|
3203
|
-
/** Whether or not remote caching is enabled for the team */
|
|
3204
|
-
remoteCaching?: PatchTeamRequestRemoteCaching;
|
|
3205
|
-
/** Display or hide IP addresses in Monitoring queries. */
|
|
3206
|
-
hideIpAddresses?: boolean;
|
|
3207
|
-
/** Display or hide IP addresses in Log Drains. */
|
|
3208
|
-
hideIpAddressesInLogDrains?: boolean;
|
|
3209
|
-
/** Controls who can request access to protected deployments. */
|
|
3210
|
-
dpAccessRequestsMode?: PatchTeamRequestDpAccessRequestsMode | (string & {});
|
|
3211
|
-
/** When enabled, all projects in the team require commits to be signed and verified by the git provider before deployments will be created. */
|
|
3212
|
-
requireVerifiedCommits?: boolean;
|
|
3213
|
-
/** Default for projects in the team. When `true`, projects in this team will not emit GitHub repository-dispatch events on deployment events unless the project explicitly overrides this setting. */
|
|
3214
|
-
disableRepositoryDispatchEvents?: boolean;
|
|
3215
|
-
/** Default deployment protection settings for new projects. */
|
|
3216
|
-
defaultDeploymentProtection?: PatchTeamRequestDefaultDeploymentProtection;
|
|
3217
|
-
/** Default Passport configuration for new projects. */
|
|
3218
|
-
defaultPassport?: PatchTeamRequestDefaultPassport | null;
|
|
3219
|
-
defaultExpirationSettings?: PatchTeamRequestDefaultExpirationSettings;
|
|
3220
|
-
deploymentPolicy?: PatchTeamRequestDeploymentPolicy;
|
|
3221
|
-
/** When enabled, deployment protection settings require stricter permissions (owner-only). */
|
|
3222
|
-
strictDeploymentProtectionSettings?: PatchTeamRequestStrictDeploymentProtectionSettings;
|
|
3223
|
-
/** When enabled, creating shareable links requires Owner role. */
|
|
3224
|
-
strictShareableLinks?: PatchTeamRequestStrictShareableLinks;
|
|
3225
|
-
/** When enabled, adding, changing, or removing project password protection requires Owner role. */
|
|
3226
|
-
strictPasswordProtectionSettings?: PatchTeamRequestStrictPasswordProtectionSettings;
|
|
3227
|
-
nsnbConfig?: PatchTeamRequestNsnbConfig;
|
|
3228
|
-
defaultProjectJobs?: PatchTeamRequestDefaultProjectJobs;
|
|
3229
|
-
/** Resource configuration for the team. */
|
|
3230
|
-
resourceConfig?: PatchTeamRequestResourceConfig;
|
|
3231
|
-
}
|
|
3232
|
-
export const PatchTeamRequest = /*@__PURE__*/ S.suspend(() =>
|
|
3233
|
-
S.Struct({
|
|
3234
|
-
teamId: S.String.pipe(T.Label()),
|
|
3235
|
-
slug: S.optional(S.String.pipe(T.Query())),
|
|
3236
|
-
avatar: S.optional(S.String),
|
|
3237
|
-
description: S.optional(S.String),
|
|
3238
|
-
emailDomain: S.optional(S.NullOr(S.String)),
|
|
3239
|
-
name: S.optional(S.String),
|
|
3240
|
-
previewDeploymentSuffix: S.optional(S.NullOr(S.String)),
|
|
3241
|
-
regenerateInviteCode: S.optional(S.Boolean),
|
|
3242
|
-
saml: S.optional(PatchTeamRequestSaml),
|
|
3243
|
-
enablePreviewFeedback: S.optional(S.String),
|
|
3244
|
-
enableProductionFeedback: S.optional(S.String),
|
|
3245
|
-
sensitiveEnvironmentVariablePolicy: S.optional(S.String),
|
|
3246
|
-
remoteCaching: S.optional(PatchTeamRequestRemoteCaching),
|
|
3247
|
-
hideIpAddresses: S.optional(S.Boolean),
|
|
3248
|
-
hideIpAddressesInLogDrains: S.optional(S.Boolean),
|
|
3249
|
-
dpAccessRequestsMode: S.optional(PatchTeamRequestDpAccessRequestsMode),
|
|
3250
|
-
requireVerifiedCommits: S.optional(S.Boolean),
|
|
3251
|
-
disableRepositoryDispatchEvents: S.optional(S.Boolean),
|
|
3252
|
-
defaultDeploymentProtection: S.optional(
|
|
3253
|
-
PatchTeamRequestDefaultDeploymentProtection,
|
|
3254
|
-
),
|
|
3255
|
-
defaultPassport: S.optional(S.NullOr(PatchTeamRequestDefaultPassport)),
|
|
3256
|
-
defaultExpirationSettings: S.optional(
|
|
3257
|
-
PatchTeamRequestDefaultExpirationSettings,
|
|
3258
|
-
),
|
|
3259
|
-
deploymentPolicy: S.optional(PatchTeamRequestDeploymentPolicy),
|
|
3260
|
-
strictDeploymentProtectionSettings: S.optional(
|
|
3261
|
-
PatchTeamRequestStrictDeploymentProtectionSettings,
|
|
3262
|
-
),
|
|
3263
|
-
strictShareableLinks: S.optional(PatchTeamRequestStrictShareableLinks),
|
|
3264
|
-
strictPasswordProtectionSettings: S.optional(
|
|
3265
|
-
PatchTeamRequestStrictPasswordProtectionSettings,
|
|
3266
|
-
),
|
|
3267
|
-
nsnbConfig: S.optional(PatchTeamRequestNsnbConfig),
|
|
3268
|
-
defaultProjectJobs: S.optional(PatchTeamRequestDefaultProjectJobs),
|
|
3269
|
-
resourceConfig: S.optional(PatchTeamRequestResourceConfig),
|
|
3270
|
-
}).pipe(T.Http({ method: "PATCH", uri: "/v2/teams/{teamId}", code: 200 })),
|
|
3271
|
-
).annotate({
|
|
3272
|
-
identifier: "PatchTeamRequest",
|
|
3273
|
-
}) as any as S.Schema<PatchTeamRequest>;
|
|
3274
|
-
|
|
3275
|
-
export type PostTeamDsyncRolesRequestRolesValueCase0 =
|
|
3276
|
-
| "OWNER"
|
|
3277
|
-
| "MEMBER"
|
|
3278
|
-
| "DEVELOPER"
|
|
3279
|
-
| "SECURITY"
|
|
3280
|
-
| "BILLING"
|
|
3281
|
-
| "VIEWER"
|
|
3282
|
-
| "VIEWER_FOR_PLUS"
|
|
3283
|
-
| "CONTRIBUTOR";
|
|
3284
|
-
export const PostTeamDsyncRolesRequestRolesValueCase0 = /*@__PURE__*/ S.String;
|
|
3285
|
-
|
|
3286
|
-
export type PostTeamDsyncRolesRequestRolesValueCase1 = TeamSamlRolesValueCase0;
|
|
3287
|
-
export const PostTeamDsyncRolesRequestRolesValueCase1 = TeamSamlRolesValueCase0;
|
|
3288
|
-
|
|
3289
|
-
export type PostTeamDsyncRolesRequestRolesValue =
|
|
3290
|
-
| PostTeamDsyncRolesRequestRolesValueCase0
|
|
3291
|
-
| TeamSamlRolesValueCase0;
|
|
3292
|
-
export const PostTeamDsyncRolesRequestRolesValue =
|
|
3293
|
-
/*@__PURE__*/ S.Unknown as any as S.Schema<PostTeamDsyncRolesRequestRolesValue>;
|
|
3294
|
-
|
|
3295
|
-
/** Directory groups to role or access group mappings. */
|
|
3296
|
-
export type PostTeamDsyncRolesRequestRolesMap = {
|
|
3297
|
-
[key: string]: PostTeamDsyncRolesRequestRolesValue | undefined;
|
|
3298
|
-
};
|
|
3299
|
-
export const PostTeamDsyncRolesRequestRolesMap = /*@__PURE__*/ S.Record(
|
|
3300
|
-
S.String,
|
|
3301
|
-
PostTeamDsyncRolesRequestRolesValue,
|
|
3302
|
-
) as any as S.Schema<PostTeamDsyncRolesRequestRolesMap>;
|
|
3303
|
-
|
|
3304
|
-
export interface PostTeamDsyncRolesRequest {
|
|
3305
|
-
/** The Team identifier to perform the request on behalf of. */
|
|
3306
|
-
teamId: string;
|
|
3307
|
-
/** The Team slug to perform the request on behalf of. */
|
|
3308
|
-
slug?: string;
|
|
3309
|
-
/** Directory groups to role or access group mappings. */
|
|
3310
|
-
roles: PostTeamDsyncRolesRequestRolesMap;
|
|
3311
|
-
}
|
|
3312
|
-
export const PostTeamDsyncRolesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
3313
|
-
S.Struct({
|
|
3314
|
-
teamId: S.String.pipe(T.Label()),
|
|
3315
|
-
slug: S.optional(S.String.pipe(T.Query())),
|
|
3316
|
-
roles: PostTeamDsyncRolesRequestRolesMap,
|
|
3317
|
-
}).pipe(
|
|
3318
|
-
T.Http({
|
|
3319
|
-
method: "POST",
|
|
3320
|
-
uri: "/v1/teams/{teamId}/dsync-roles",
|
|
3321
|
-
code: 200,
|
|
3322
|
-
}),
|
|
3323
|
-
),
|
|
3324
|
-
).annotate({
|
|
3325
|
-
identifier: "PostTeamDsyncRolesRequest",
|
|
3326
|
-
}) as any as S.Schema<PostTeamDsyncRolesRequest>;
|
|
3327
|
-
|
|
3328
|
-
export interface PostTeamDsyncRolesResponse {
|
|
3329
|
-
ok: boolean;
|
|
3330
|
-
}
|
|
3331
|
-
export const PostTeamDsyncRolesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
3332
|
-
S.Struct({
|
|
3333
|
-
ok: S.Boolean,
|
|
3334
|
-
}),
|
|
3335
|
-
).annotate({
|
|
3336
|
-
identifier: "PostTeamDsyncRolesResponse",
|
|
3337
|
-
}) as any as S.Schema<PostTeamDsyncRolesResponse>;
|
|
3338
|
-
|
|
3339
|
-
export interface RemoveTeamMemberRequest {
|
|
3340
|
-
teamId: string;
|
|
3341
|
-
/** The user ID of the member. */
|
|
3342
|
-
uid: string;
|
|
3343
|
-
/** The ID of the team to set as the new default team for the Northstar user. */
|
|
3344
|
-
newDefaultTeamId?: string;
|
|
3345
|
-
}
|
|
3346
|
-
export const RemoveTeamMemberRequest = /*@__PURE__*/ S.suspend(() =>
|
|
3347
|
-
S.Struct({
|
|
3348
|
-
teamId: S.String.pipe(T.Label()),
|
|
3349
|
-
uid: S.String.pipe(T.Label()),
|
|
3350
|
-
newDefaultTeamId: S.optional(S.String.pipe(T.Query())),
|
|
3351
|
-
}).pipe(
|
|
3352
|
-
T.Http({
|
|
3353
|
-
method: "DELETE",
|
|
3354
|
-
uri: "/v1/teams/{teamId}/members/{uid}",
|
|
3355
|
-
code: 200,
|
|
3356
|
-
}),
|
|
3357
|
-
),
|
|
3358
|
-
).annotate({
|
|
3359
|
-
identifier: "RemoveTeamMemberRequest",
|
|
3360
|
-
}) as any as S.Schema<RemoveTeamMemberRequest>;
|
|
3361
|
-
|
|
3362
|
-
export interface RemoveTeamMemberResponse {
|
|
3363
|
-
/** ID of the team. */
|
|
3364
|
-
id: string;
|
|
3365
|
-
}
|
|
3366
|
-
export const RemoveTeamMemberResponse = /*@__PURE__*/ S.suspend(() =>
|
|
3367
|
-
S.Struct({
|
|
3368
|
-
id: S.String,
|
|
3369
|
-
}),
|
|
3370
|
-
).annotate({
|
|
3371
|
-
identifier: "RemoveTeamMemberResponse",
|
|
3372
|
-
}) as any as S.Schema<RemoveTeamMemberResponse>;
|
|
3373
|
-
|
|
3374
|
-
/** The origin of the request. */
|
|
3375
|
-
export type RequestAccessToTeamRequestJoinedFromOrigin =
|
|
3376
|
-
| "import"
|
|
3377
|
-
| "teams"
|
|
3378
|
-
| "github"
|
|
3379
|
-
| "gitlab"
|
|
3380
|
-
| "bitbucket"
|
|
3381
|
-
| "feedback"
|
|
3382
|
-
| "organization-teams";
|
|
3383
|
-
export const RequestAccessToTeamRequestJoinedFromOrigin =
|
|
3384
|
-
/*@__PURE__*/ S.String;
|
|
3385
|
-
|
|
3386
|
-
/** The ID of the Git account of the user who requests access. */
|
|
3387
|
-
export type RequestAccessToTeamRequestJoinedFromGitUserId = string | number;
|
|
3388
|
-
export const RequestAccessToTeamRequestJoinedFromGitUserId =
|
|
3389
|
-
/*@__PURE__*/ S.Unknown as any as S.Schema<RequestAccessToTeamRequestJoinedFromGitUserId>;
|
|
3390
|
-
|
|
3391
|
-
export interface RequestAccessToTeamRequestJoinedFrom {
|
|
3392
|
-
/** The origin of the request. */
|
|
3393
|
-
origin: RequestAccessToTeamRequestJoinedFromOrigin | (string & {});
|
|
3394
|
-
/** The commit sha if the origin is a git provider. */
|
|
3395
|
-
commitId?: string;
|
|
3396
|
-
/** The ID of the repository for the given Git provider. */
|
|
3397
|
-
repoId?: string;
|
|
3398
|
-
/** The path to the repository for the given Git provider. */
|
|
3399
|
-
repoPath?: string;
|
|
3400
|
-
/** The ID of the Git account of the user who requests access. */
|
|
3401
|
-
gitUserId?: RequestAccessToTeamRequestJoinedFromGitUserId;
|
|
3402
|
-
/** The login name for the Git account of the user who requests access. */
|
|
3403
|
-
gitUserLogin?: string;
|
|
3404
|
-
}
|
|
3405
|
-
export const RequestAccessToTeamRequestJoinedFrom = /*@__PURE__*/ S.suspend(
|
|
3406
|
-
() =>
|
|
3407
|
-
S.Struct({
|
|
3408
|
-
origin: RequestAccessToTeamRequestJoinedFromOrigin,
|
|
3409
|
-
commitId: S.optional(S.String),
|
|
3410
|
-
repoId: S.optional(S.String),
|
|
3411
|
-
repoPath: S.optional(S.String),
|
|
3412
|
-
gitUserId: S.optional(RequestAccessToTeamRequestJoinedFromGitUserId),
|
|
3413
|
-
gitUserLogin: S.optional(S.String),
|
|
3414
|
-
}),
|
|
3415
|
-
).annotate({
|
|
3416
|
-
identifier: "RequestAccessToTeamRequestJoinedFrom",
|
|
3417
|
-
}) as any as S.Schema<RequestAccessToTeamRequestJoinedFrom>;
|
|
3418
|
-
|
|
3419
|
-
export interface RequestAccessToTeamRequest {
|
|
3420
|
-
teamId: string;
|
|
3421
|
-
joinedFrom: RequestAccessToTeamRequestJoinedFrom;
|
|
3422
|
-
}
|
|
3423
|
-
export const RequestAccessToTeamRequest = /*@__PURE__*/ S.suspend(() =>
|
|
3424
|
-
S.Struct({
|
|
3425
|
-
teamId: S.String.pipe(T.Label()),
|
|
3426
|
-
joinedFrom: RequestAccessToTeamRequestJoinedFrom,
|
|
3427
|
-
}).pipe(
|
|
3428
|
-
T.Http({ method: "POST", uri: "/v1/teams/{teamId}/request", code: 200 }),
|
|
3429
|
-
),
|
|
3430
|
-
).annotate({
|
|
3431
|
-
identifier: "RequestAccessToTeamRequest",
|
|
3432
|
-
}) as any as S.Schema<RequestAccessToTeamRequest>;
|
|
3433
|
-
|
|
3434
|
-
export type RequestAccessToTeamResponseJoinedFromOrigin =
|
|
3435
|
-
| "account-update"
|
|
3436
|
-
| "bitbucket"
|
|
3437
|
-
| "dsync"
|
|
3438
|
-
| "feedback"
|
|
3439
|
-
| "github"
|
|
3440
|
-
| "gitlab"
|
|
3441
|
-
| "import"
|
|
3442
|
-
| "link"
|
|
3443
|
-
| "mail"
|
|
3444
|
-
| "nsnb-auto-approve"
|
|
3445
|
-
| "nsnb-hobby-upgrade"
|
|
3446
|
-
| "nsnb-invite"
|
|
3447
|
-
| "nsnb-redeploy"
|
|
3448
|
-
| "nsnb-redeploy-attribution-card"
|
|
3449
|
-
| "nsnb-request-access"
|
|
3450
|
-
| "nsnb-viewer-upgrade"
|
|
3451
|
-
| "organization-teams"
|
|
3452
|
-
| "saml"
|
|
3453
|
-
| "teams";
|
|
3454
|
-
export const RequestAccessToTeamResponseJoinedFromOrigin =
|
|
3455
|
-
/*@__PURE__*/ S.String;
|
|
3456
|
-
|
|
3457
|
-
export type RequestAccessToTeamResponseJoinedFromGitUserId = string | number;
|
|
3458
|
-
export const RequestAccessToTeamResponseJoinedFromGitUserId =
|
|
3459
|
-
/*@__PURE__*/ S.Unknown as any as S.Schema<RequestAccessToTeamResponseJoinedFromGitUserId>;
|
|
3460
|
-
|
|
3461
|
-
export interface RequestAccessToTeamResponseJoinedFrom {
|
|
3462
|
-
origin: RequestAccessToTeamResponseJoinedFromOrigin;
|
|
3463
|
-
commitId?: string;
|
|
3464
|
-
repoId?: string;
|
|
3465
|
-
repoPath?: string;
|
|
3466
|
-
gitUserId?: RequestAccessToTeamResponseJoinedFromGitUserId;
|
|
3467
|
-
gitUserLogin?: string;
|
|
3468
|
-
ssoUserId?: string;
|
|
3469
|
-
ssoConnectedAt?: number;
|
|
3470
|
-
idpUserId?: string;
|
|
3471
|
-
dsyncUserId?: string;
|
|
3472
|
-
dsyncConnectedAt?: number;
|
|
3473
|
-
}
|
|
3474
|
-
export const RequestAccessToTeamResponseJoinedFrom = /*@__PURE__*/ S.suspend(
|
|
3404
|
+
export const UpdateTeamRequestStrictShareableLinks = /*@__PURE__*/ S.suspend(
|
|
3475
3405
|
() =>
|
|
3476
3406
|
S.Struct({
|
|
3477
|
-
|
|
3478
|
-
commitId: S.optional(S.String),
|
|
3479
|
-
repoId: S.optional(S.String),
|
|
3480
|
-
repoPath: S.optional(S.String),
|
|
3481
|
-
gitUserId: S.optional(RequestAccessToTeamResponseJoinedFromGitUserId),
|
|
3482
|
-
gitUserLogin: S.optional(S.String),
|
|
3483
|
-
ssoUserId: S.optional(S.String),
|
|
3484
|
-
ssoConnectedAt: S.optional(S.Number),
|
|
3485
|
-
idpUserId: S.optional(S.String),
|
|
3486
|
-
dsyncUserId: S.optional(S.String),
|
|
3487
|
-
dsyncConnectedAt: S.optional(S.Number),
|
|
3407
|
+
enabled: S.Boolean,
|
|
3488
3408
|
}),
|
|
3489
3409
|
).annotate({
|
|
3490
|
-
identifier: "
|
|
3491
|
-
}) as any as S.Schema<
|
|
3410
|
+
identifier: "UpdateTeamRequestStrictShareableLinks",
|
|
3411
|
+
}) as any as S.Schema<UpdateTeamRequestStrictShareableLinks>;
|
|
3492
3412
|
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3413
|
+
/** When enabled, adding, changing, or removing project password protection requires Owner role. */
|
|
3414
|
+
export interface UpdateTeamRequestStrictPasswordProtectionSettings {
|
|
3415
|
+
/** Enable or disable requiring Owner role to change project password protection. */
|
|
3416
|
+
enabled: boolean;
|
|
3417
|
+
}
|
|
3418
|
+
export const UpdateTeamRequestStrictPasswordProtectionSettings =
|
|
3419
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
3420
|
+
S.Struct({
|
|
3421
|
+
enabled: S.Boolean,
|
|
3422
|
+
}),
|
|
3423
|
+
).annotate({
|
|
3424
|
+
identifier: "UpdateTeamRequestStrictPasswordProtectionSettings",
|
|
3425
|
+
}) as any as S.Schema<UpdateTeamRequestStrictPasswordProtectionSettings>;
|
|
3497
3426
|
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3427
|
+
/** When enabled, creating and managing connectors requires Owner role. */
|
|
3428
|
+
export interface UpdateTeamRequestStrictConnectors {
|
|
3429
|
+
/** Enable or disable requiring Owner role to manage connectors. */
|
|
3430
|
+
enabled: boolean;
|
|
3431
|
+
}
|
|
3432
|
+
export const UpdateTeamRequestStrictConnectors = /*@__PURE__*/ S.suspend(() =>
|
|
3433
|
+
S.Struct({
|
|
3434
|
+
enabled: S.Boolean,
|
|
3435
|
+
}),
|
|
3436
|
+
).annotate({
|
|
3437
|
+
identifier: "UpdateTeamRequestStrictConnectors",
|
|
3438
|
+
}) as any as S.Schema<UpdateTeamRequestStrictConnectors>;
|
|
3502
3439
|
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3440
|
+
/** The NSNB preference for the team. */
|
|
3441
|
+
export type UpdateTeamRequestNsnbConfigCase0Preference =
|
|
3442
|
+
| "auto-approval"
|
|
3443
|
+
| "manual-approval"
|
|
3444
|
+
| "block";
|
|
3445
|
+
export const UpdateTeamRequestNsnbConfigCase0Preference =
|
|
3446
|
+
/*@__PURE__*/ S.String;
|
|
3507
3447
|
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
joinedFrom?: RequestAccessToTeamResponseJoinedFrom;
|
|
3513
|
-
accessRequestedAt?: number;
|
|
3514
|
-
github: GetTeamAccessRequestResponseGithub | null;
|
|
3515
|
-
gitlab: GetTeamAccessRequestResponseGithub | null;
|
|
3516
|
-
bitbucket: GetTeamAccessRequestResponseGithub | null;
|
|
3448
|
+
/** NSNB configuration for the team. */
|
|
3449
|
+
export interface UpdateTeamRequestNsnbConfigCase0 {
|
|
3450
|
+
/** The NSNB preference for the team. */
|
|
3451
|
+
preference: UpdateTeamRequestNsnbConfigCase0Preference | (string & {});
|
|
3517
3452
|
}
|
|
3518
|
-
export const
|
|
3453
|
+
export const UpdateTeamRequestNsnbConfigCase0 = /*@__PURE__*/ S.suspend(() =>
|
|
3519
3454
|
S.Struct({
|
|
3520
|
-
|
|
3521
|
-
teamName: S.String,
|
|
3522
|
-
confirmed: S.optional(S.Boolean),
|
|
3523
|
-
joinedFrom: S.optional(RequestAccessToTeamResponseJoinedFrom),
|
|
3524
|
-
accessRequestedAt: S.optional(S.Number),
|
|
3525
|
-
github: S.NullOr(GetTeamAccessRequestResponseGithub),
|
|
3526
|
-
gitlab: S.NullOr(GetTeamAccessRequestResponseGithub),
|
|
3527
|
-
bitbucket: S.NullOr(GetTeamAccessRequestResponseGithub),
|
|
3455
|
+
preference: UpdateTeamRequestNsnbConfigCase0Preference,
|
|
3528
3456
|
}),
|
|
3529
3457
|
).annotate({
|
|
3530
|
-
identifier: "
|
|
3531
|
-
}) as any as S.Schema<
|
|
3458
|
+
identifier: "UpdateTeamRequestNsnbConfigCase0",
|
|
3459
|
+
}) as any as S.Schema<UpdateTeamRequestNsnbConfigCase0>;
|
|
3532
3460
|
|
|
3533
|
-
export
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3461
|
+
export type UpdateTeamRequestNsnbConfig =
|
|
3462
|
+
| UpdateTeamRequestNsnbConfigCase0
|
|
3463
|
+
| string;
|
|
3464
|
+
export const UpdateTeamRequestNsnbConfig =
|
|
3465
|
+
/*@__PURE__*/ S.Unknown as any as S.Schema<UpdateTeamRequestNsnbConfig>;
|
|
3466
|
+
|
|
3467
|
+
export type UpdateTeamRequestDefaultProjectJobsCase0LintTargetsList =
|
|
3468
|
+
Array<string>;
|
|
3469
|
+
export const UpdateTeamRequestDefaultProjectJobsCase0LintTargetsList =
|
|
3470
|
+
/*@__PURE__*/ S.Array(
|
|
3471
|
+
S.String,
|
|
3472
|
+
) as any as S.Schema<UpdateTeamRequestDefaultProjectJobsCase0LintTargetsList>;
|
|
3473
|
+
|
|
3474
|
+
export interface UpdateTeamRequestDefaultProjectJobsCase0Lint {
|
|
3475
|
+
targets: UpdateTeamRequestDefaultProjectJobsCase0LintTargetsList;
|
|
3543
3476
|
}
|
|
3544
|
-
export const
|
|
3545
|
-
S.
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
}).
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3477
|
+
export const UpdateTeamRequestDefaultProjectJobsCase0Lint =
|
|
3478
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
3479
|
+
S.Struct({
|
|
3480
|
+
targets: UpdateTeamRequestDefaultProjectJobsCase0LintTargetsList,
|
|
3481
|
+
}),
|
|
3482
|
+
).annotate({
|
|
3483
|
+
identifier: "UpdateTeamRequestDefaultProjectJobsCase0Lint",
|
|
3484
|
+
}) as any as S.Schema<UpdateTeamRequestDefaultProjectJobsCase0Lint>;
|
|
3485
|
+
|
|
3486
|
+
export type UpdateTeamRequestDefaultProjectJobsCase0TypecheckTargetsList =
|
|
3487
|
+
Array<string>;
|
|
3488
|
+
export const UpdateTeamRequestDefaultProjectJobsCase0TypecheckTargetsList =
|
|
3489
|
+
/*@__PURE__*/ S.Array(
|
|
3490
|
+
S.String,
|
|
3491
|
+
) as any as S.Schema<UpdateTeamRequestDefaultProjectJobsCase0TypecheckTargetsList>;
|
|
3492
|
+
|
|
3493
|
+
export interface UpdateTeamRequestDefaultProjectJobsCase0Typecheck {
|
|
3494
|
+
targets: UpdateTeamRequestDefaultProjectJobsCase0TypecheckTargetsList;
|
|
3495
|
+
}
|
|
3496
|
+
export const UpdateTeamRequestDefaultProjectJobsCase0Typecheck =
|
|
3497
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
3498
|
+
S.Struct({
|
|
3499
|
+
targets: UpdateTeamRequestDefaultProjectJobsCase0TypecheckTargetsList,
|
|
3500
|
+
}),
|
|
3501
|
+
).annotate({
|
|
3502
|
+
identifier: "UpdateTeamRequestDefaultProjectJobsCase0Typecheck",
|
|
3503
|
+
}) as any as S.Schema<UpdateTeamRequestDefaultProjectJobsCase0Typecheck>;
|
|
3504
|
+
|
|
3505
|
+
/** Default job configuration applied to new projects created in this team. */
|
|
3506
|
+
export interface UpdateTeamRequestDefaultProjectJobsCase0 {
|
|
3507
|
+
lint?: UpdateTeamRequestDefaultProjectJobsCase0Lint;
|
|
3508
|
+
typecheck?: UpdateTeamRequestDefaultProjectJobsCase0Typecheck;
|
|
3509
|
+
}
|
|
3510
|
+
export const UpdateTeamRequestDefaultProjectJobsCase0 = /*@__PURE__*/ S.suspend(
|
|
3511
|
+
() =>
|
|
3512
|
+
S.Struct({
|
|
3513
|
+
lint: S.optional(UpdateTeamRequestDefaultProjectJobsCase0Lint),
|
|
3514
|
+
typecheck: S.optional(UpdateTeamRequestDefaultProjectJobsCase0Typecheck),
|
|
3556
3515
|
}),
|
|
3557
|
-
),
|
|
3558
3516
|
).annotate({
|
|
3559
|
-
identifier: "
|
|
3560
|
-
}) as any as S.Schema<
|
|
3517
|
+
identifier: "UpdateTeamRequestDefaultProjectJobsCase0",
|
|
3518
|
+
}) as any as S.Schema<UpdateTeamRequestDefaultProjectJobsCase0>;
|
|
3561
3519
|
|
|
3562
|
-
export
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3520
|
+
export type UpdateTeamRequestDefaultProjectJobs =
|
|
3521
|
+
| UpdateTeamRequestDefaultProjectJobsCase0
|
|
3522
|
+
| string;
|
|
3523
|
+
export const UpdateTeamRequestDefaultProjectJobs =
|
|
3524
|
+
/*@__PURE__*/ S.Unknown as any as S.Schema<UpdateTeamRequestDefaultProjectJobs>;
|
|
3525
|
+
|
|
3526
|
+
/** Default build machine type for new builds: standard, enhanced, turbo, or elastic. */
|
|
3527
|
+
export type UpdateTeamRequestResourceConfigBuildMachineDefault =
|
|
3528
|
+
| "basic"
|
|
3529
|
+
| "enhanced"
|
|
3530
|
+
| "turbo"
|
|
3531
|
+
| "standard"
|
|
3532
|
+
| "elastic";
|
|
3533
|
+
export const UpdateTeamRequestResourceConfigBuildMachineDefault =
|
|
3534
|
+
/*@__PURE__*/ S.String;
|
|
3535
|
+
|
|
3536
|
+
/** Build machine configuration. */
|
|
3537
|
+
export interface UpdateTeamRequestResourceConfigBuildMachine {
|
|
3538
|
+
/** Default build machine type for new builds: standard, enhanced, turbo, or elastic. */
|
|
3539
|
+
default?: UpdateTeamRequestResourceConfigBuildMachineDefault | (string & {});
|
|
3567
3540
|
}
|
|
3568
|
-
export const
|
|
3541
|
+
export const UpdateTeamRequestResourceConfigBuildMachine =
|
|
3569
3542
|
/*@__PURE__*/ S.suspend(() =>
|
|
3570
3543
|
S.Struct({
|
|
3571
|
-
|
|
3572
|
-
slug: S.optional(S.String),
|
|
3573
|
-
id: S.String,
|
|
3574
|
-
fallbackEnvironment: S.optional(S.String),
|
|
3544
|
+
default: S.optional(UpdateTeamRequestResourceConfigBuildMachineDefault),
|
|
3575
3545
|
}),
|
|
3576
3546
|
).annotate({
|
|
3577
|
-
identifier: "
|
|
3578
|
-
}) as any as S.Schema<
|
|
3547
|
+
identifier: "UpdateTeamRequestResourceConfigBuildMachine",
|
|
3548
|
+
}) as any as S.Schema<UpdateTeamRequestResourceConfigBuildMachine>;
|
|
3579
3549
|
|
|
3580
|
-
|
|
3581
|
-
|
|
3550
|
+
/** Resource configuration for the team. */
|
|
3551
|
+
export interface UpdateTeamRequestResourceConfig {
|
|
3552
|
+
/** Build machine configuration. */
|
|
3553
|
+
buildMachine?: UpdateTeamRequestResourceConfigBuildMachine;
|
|
3582
3554
|
}
|
|
3583
|
-
export const
|
|
3555
|
+
export const UpdateTeamRequestResourceConfig = /*@__PURE__*/ S.suspend(() =>
|
|
3584
3556
|
S.Struct({
|
|
3585
|
-
|
|
3586
|
-
UpdateMicrofrontendsGroupResponseUpdatedMicrofrontendsGroup,
|
|
3557
|
+
buildMachine: S.optional(UpdateTeamRequestResourceConfigBuildMachine),
|
|
3587
3558
|
}),
|
|
3588
3559
|
).annotate({
|
|
3589
|
-
identifier: "
|
|
3590
|
-
}) as any as S.Schema<
|
|
3560
|
+
identifier: "UpdateTeamRequestResourceConfig",
|
|
3561
|
+
}) as any as S.Schema<UpdateTeamRequestResourceConfig>;
|
|
3562
|
+
|
|
3563
|
+
export interface UpdateTeamRequest {
|
|
3564
|
+
/** The Team identifier to perform the request on behalf of. */
|
|
3565
|
+
teamId: string;
|
|
3566
|
+
/** The Team slug to perform the request on behalf of. */
|
|
3567
|
+
slug?: string;
|
|
3568
|
+
/** The hash value of an uploaded image, or `null` to clear the avatar. */
|
|
3569
|
+
avatar?: string | null;
|
|
3570
|
+
/** A short text that describes the team. */
|
|
3571
|
+
description?: string;
|
|
3572
|
+
emailDomain?: string | null;
|
|
3573
|
+
/** The name of the team. */
|
|
3574
|
+
name?: string;
|
|
3575
|
+
/** Suffix that will be used for all preview deployments. */
|
|
3576
|
+
previewDeploymentSuffix?: string | null;
|
|
3577
|
+
/** Create a new invite code and replace the current one. */
|
|
3578
|
+
regenerateInviteCode?: boolean;
|
|
3579
|
+
saml?: UpdateTeamRequestSaml;
|
|
3580
|
+
/** Enable preview toolbar: one of on, off or default. */
|
|
3581
|
+
enablePreviewFeedback?: string;
|
|
3582
|
+
/** Enable production toolbar: one of on, off or default. */
|
|
3583
|
+
enableProductionFeedback?: string;
|
|
3584
|
+
/** Sensitive environment variable policy: one of on, off or default. */
|
|
3585
|
+
sensitiveEnvironmentVariablePolicy?: string;
|
|
3586
|
+
/** Require production secrets to be in their own environment group: one of on, off or default. */
|
|
3587
|
+
disjunctiveProductionSecretPolicy?: string;
|
|
3588
|
+
/** Whether or not remote caching is enabled for the team */
|
|
3589
|
+
remoteCaching?: UpdateTeamRequestRemoteCaching;
|
|
3590
|
+
/** Display or hide IP addresses in Monitoring queries. */
|
|
3591
|
+
hideIpAddresses?: boolean;
|
|
3592
|
+
/** Display or hide IP addresses in Log Drains. */
|
|
3593
|
+
hideIpAddressesInLogDrains?: boolean;
|
|
3594
|
+
/** Controls who can request access to protected deployments. */
|
|
3595
|
+
dpAccessRequestsMode?: UpdateTeamRequestDpAccessRequestsMode | (string & {});
|
|
3596
|
+
/** When enabled, all projects in the team require commits to be signed and verified by the git provider before deployments will be created. */
|
|
3597
|
+
requireVerifiedCommits?: boolean;
|
|
3598
|
+
/** Default for projects in the team. When `true`, projects in this team will not emit GitHub repository-dispatch events on deployment events unless the project explicitly overrides this setting. */
|
|
3599
|
+
disableRepositoryDispatchEvents?: boolean;
|
|
3600
|
+
/** Default deployment protection settings for new projects. */
|
|
3601
|
+
defaultDeploymentProtection?: UpdateTeamRequestDefaultDeploymentProtection;
|
|
3602
|
+
/** Default Passport configuration for new projects. */
|
|
3603
|
+
defaultPassport?: UpdateTeamRequestDefaultPassport | null;
|
|
3604
|
+
defaultExpirationSettings?: UpdateTeamRequestDefaultExpirationSettings;
|
|
3605
|
+
deploymentPolicy?: UpdateTeamRequestDeploymentPolicy;
|
|
3606
|
+
/** When enabled, deployment protection settings require stricter permissions (owner-only). */
|
|
3607
|
+
strictDeploymentProtectionSettings?: UpdateTeamRequestStrictDeploymentProtectionSettings;
|
|
3608
|
+
/** When enabled, creating shareable links requires Owner role. */
|
|
3609
|
+
strictShareableLinks?: UpdateTeamRequestStrictShareableLinks;
|
|
3610
|
+
/** When enabled, adding, changing, or removing project password protection requires Owner role. */
|
|
3611
|
+
strictPasswordProtectionSettings?: UpdateTeamRequestStrictPasswordProtectionSettings;
|
|
3612
|
+
/** When enabled, creating and managing connectors requires Owner role. */
|
|
3613
|
+
strictConnectors?: UpdateTeamRequestStrictConnectors;
|
|
3614
|
+
nsnbConfig?: UpdateTeamRequestNsnbConfig;
|
|
3615
|
+
defaultProjectJobs?: UpdateTeamRequestDefaultProjectJobs;
|
|
3616
|
+
/** Resource configuration for the team. */
|
|
3617
|
+
resourceConfig?: UpdateTeamRequestResourceConfig;
|
|
3618
|
+
}
|
|
3619
|
+
export const UpdateTeamRequest = /*@__PURE__*/ S.suspend(() =>
|
|
3620
|
+
S.Struct({
|
|
3621
|
+
teamId: S.String.pipe(T.Label()),
|
|
3622
|
+
slug: S.optional(S.String.pipe(T.Query())),
|
|
3623
|
+
avatar: S.optional(S.NullOr(S.String)),
|
|
3624
|
+
description: S.optional(S.String),
|
|
3625
|
+
emailDomain: S.optional(S.NullOr(S.String)),
|
|
3626
|
+
name: S.optional(S.String),
|
|
3627
|
+
previewDeploymentSuffix: S.optional(S.NullOr(S.String)),
|
|
3628
|
+
regenerateInviteCode: S.optional(S.Boolean),
|
|
3629
|
+
saml: S.optional(UpdateTeamRequestSaml),
|
|
3630
|
+
enablePreviewFeedback: S.optional(S.String),
|
|
3631
|
+
enableProductionFeedback: S.optional(S.String),
|
|
3632
|
+
sensitiveEnvironmentVariablePolicy: S.optional(S.String),
|
|
3633
|
+
disjunctiveProductionSecretPolicy: S.optional(S.String),
|
|
3634
|
+
remoteCaching: S.optional(UpdateTeamRequestRemoteCaching),
|
|
3635
|
+
hideIpAddresses: S.optional(S.Boolean),
|
|
3636
|
+
hideIpAddressesInLogDrains: S.optional(S.Boolean),
|
|
3637
|
+
dpAccessRequestsMode: S.optional(UpdateTeamRequestDpAccessRequestsMode),
|
|
3638
|
+
requireVerifiedCommits: S.optional(S.Boolean),
|
|
3639
|
+
disableRepositoryDispatchEvents: S.optional(S.Boolean),
|
|
3640
|
+
defaultDeploymentProtection: S.optional(
|
|
3641
|
+
UpdateTeamRequestDefaultDeploymentProtection,
|
|
3642
|
+
),
|
|
3643
|
+
defaultPassport: S.optional(S.NullOr(UpdateTeamRequestDefaultPassport)),
|
|
3644
|
+
defaultExpirationSettings: S.optional(
|
|
3645
|
+
UpdateTeamRequestDefaultExpirationSettings,
|
|
3646
|
+
),
|
|
3647
|
+
deploymentPolicy: S.optional(UpdateTeamRequestDeploymentPolicy),
|
|
3648
|
+
strictDeploymentProtectionSettings: S.optional(
|
|
3649
|
+
UpdateTeamRequestStrictDeploymentProtectionSettings,
|
|
3650
|
+
),
|
|
3651
|
+
strictShareableLinks: S.optional(UpdateTeamRequestStrictShareableLinks),
|
|
3652
|
+
strictPasswordProtectionSettings: S.optional(
|
|
3653
|
+
UpdateTeamRequestStrictPasswordProtectionSettings,
|
|
3654
|
+
),
|
|
3655
|
+
strictConnectors: S.optional(UpdateTeamRequestStrictConnectors),
|
|
3656
|
+
nsnbConfig: S.optional(UpdateTeamRequestNsnbConfig),
|
|
3657
|
+
defaultProjectJobs: S.optional(UpdateTeamRequestDefaultProjectJobs),
|
|
3658
|
+
resourceConfig: S.optional(UpdateTeamRequestResourceConfig),
|
|
3659
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/v2/teams/{teamId}", code: 200 })),
|
|
3660
|
+
).annotate({
|
|
3661
|
+
identifier: "UpdateTeamRequest",
|
|
3662
|
+
}) as any as S.Schema<UpdateTeamRequest>;
|
|
3591
3663
|
|
|
3592
3664
|
export type UpdateTeamMemberRequestTeamPermissionsItem =
|
|
3593
3665
|
| "ConnectorManager"
|
|
@@ -3597,12 +3669,15 @@ export type UpdateTeamMemberRequestTeamPermissionsItem =
|
|
|
3597
3669
|
| "UsageViewer"
|
|
3598
3670
|
| "EnvVariableManager"
|
|
3599
3671
|
| "EnvironmentManager"
|
|
3672
|
+
| "WorkflowDecryptor"
|
|
3600
3673
|
| "OrgAdmin"
|
|
3601
3674
|
| "OrgViewer"
|
|
3602
3675
|
| "AiGatewaySettings"
|
|
3603
3676
|
| "AiGatewayCredits"
|
|
3604
3677
|
| "AiGatewayApiKeyOwnedBySelf"
|
|
3605
3678
|
| "AiGatewayBudgetManager"
|
|
3679
|
+
| "AiGatewayTranscriptsManager"
|
|
3680
|
+
| "AiGatewayTranscriptsViewer"
|
|
3606
3681
|
| "V0Builder"
|
|
3607
3682
|
| "V0Chatter"
|
|
3608
3683
|
| "V0Viewer";
|
|
@@ -3721,6 +3796,21 @@ export const createTeam: API.OperationMethod<
|
|
|
3721
3796
|
retry: Retry.Retry,
|
|
3722
3797
|
}));
|
|
3723
3798
|
|
|
3799
|
+
export type CreateTeamDsyncRoleError = BadRequest | Forbidden | VercelOpError;
|
|
3800
|
+
/** Update Team Directory Sync Role Mappings Update the Directory Sync role mappings for a Team. This endpoint allows updating the mapping between directory groups and team roles or access groups. */
|
|
3801
|
+
export const createTeamDsyncRole: API.OperationMethod<
|
|
3802
|
+
CreateTeamDsyncRoleRequest,
|
|
3803
|
+
CreateTeamDsyncRoleResponse,
|
|
3804
|
+
CreateTeamDsyncRoleError,
|
|
3805
|
+
VercelOpContext
|
|
3806
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3807
|
+
input: CreateTeamDsyncRoleRequest,
|
|
3808
|
+
output: CreateTeamDsyncRoleResponse,
|
|
3809
|
+
errors: [BadRequest, Forbidden],
|
|
3810
|
+
protocol: VercelProtocol,
|
|
3811
|
+
retry: Retry.Retry,
|
|
3812
|
+
}));
|
|
3813
|
+
|
|
3724
3814
|
export type DeleteMicrofrontendsGroupError =
|
|
3725
3815
|
| BadRequest
|
|
3726
3816
|
| Forbidden
|
|
@@ -3882,46 +3972,12 @@ export const joinTeam: API.OperationMethod<
|
|
|
3882
3972
|
retry: Retry.Retry,
|
|
3883
3973
|
}));
|
|
3884
3974
|
|
|
3885
|
-
export type PatchTeamError =
|
|
3886
|
-
| BadRequest
|
|
3887
|
-
| PaymentRequired
|
|
3888
|
-
| Forbidden
|
|
3889
|
-
| VercelOpError;
|
|
3890
|
-
/** Update a Team Update the information of a Team specified by the `teamId` parameter. The request body should contain the information that will be updated on the Team. */
|
|
3891
|
-
export const patchTeam: API.OperationMethod<
|
|
3892
|
-
PatchTeamRequest,
|
|
3893
|
-
Team,
|
|
3894
|
-
PatchTeamError,
|
|
3895
|
-
VercelOpContext
|
|
3896
|
-
> = /*@__PURE__*/ API.make(() => ({
|
|
3897
|
-
input: PatchTeamRequest,
|
|
3898
|
-
output: Team,
|
|
3899
|
-
errors: [BadRequest, PaymentRequired, Forbidden],
|
|
3900
|
-
protocol: VercelProtocol,
|
|
3901
|
-
retry: Retry.Retry,
|
|
3902
|
-
}));
|
|
3903
|
-
|
|
3904
|
-
export type PostTeamDsyncRolesError = BadRequest | Forbidden | VercelOpError;
|
|
3905
|
-
/** Update Team Directory Sync Role Mappings Update the Directory Sync role mappings for a Team. This endpoint allows updating the mapping between directory groups and team roles or access groups. */
|
|
3906
|
-
export const postTeamDsyncRoles: API.OperationMethod<
|
|
3907
|
-
PostTeamDsyncRolesRequest,
|
|
3908
|
-
PostTeamDsyncRolesResponse,
|
|
3909
|
-
PostTeamDsyncRolesError,
|
|
3910
|
-
VercelOpContext
|
|
3911
|
-
> = /*@__PURE__*/ API.make(() => ({
|
|
3912
|
-
input: PostTeamDsyncRolesRequest,
|
|
3913
|
-
output: PostTeamDsyncRolesResponse,
|
|
3914
|
-
errors: [BadRequest, Forbidden],
|
|
3915
|
-
protocol: VercelProtocol,
|
|
3916
|
-
retry: Retry.Retry,
|
|
3917
|
-
}));
|
|
3918
|
-
|
|
3919
3975
|
export type RemoveTeamMemberError =
|
|
3920
3976
|
| BadRequest
|
|
3921
3977
|
| Forbidden
|
|
3922
3978
|
| NotFound
|
|
3923
3979
|
| VercelOpError;
|
|
3924
|
-
/** Remove a Team Member Remove a Team Member from the Team, or dismiss a user that requested access, or leave a team. */
|
|
3980
|
+
/** Remove a Team Member Remove a Team Member from the Team, or dismiss a user that requested access, or leave a team. Directory Sync members can be removed when their directory email is absent or does not match the user's primary or verified secondary emails. */
|
|
3925
3981
|
export const removeTeamMember: API.OperationMethod<
|
|
3926
3982
|
RemoveTeamMemberRequest,
|
|
3927
3983
|
RemoveTeamMemberResponse,
|
|
@@ -3959,7 +4015,7 @@ export type UpdateMicrofrontendsGroupError =
|
|
|
3959
4015
|
| Forbidden
|
|
3960
4016
|
| NotFound
|
|
3961
4017
|
| VercelOpError;
|
|
3962
|
-
/** Update a microfrontends group Updates
|
|
4018
|
+
/** Update a microfrontends group Updates a microfrontends group's settings. */
|
|
3963
4019
|
export const updateMicrofrontendsGroup: API.OperationMethod<
|
|
3964
4020
|
UpdateMicrofrontendsGroupRequest,
|
|
3965
4021
|
UpdateMicrofrontendsGroupResponse,
|
|
@@ -3973,6 +4029,25 @@ export const updateMicrofrontendsGroup: API.OperationMethod<
|
|
|
3973
4029
|
retry: Retry.Retry,
|
|
3974
4030
|
}));
|
|
3975
4031
|
|
|
4032
|
+
export type UpdateTeamError =
|
|
4033
|
+
| BadRequest
|
|
4034
|
+
| PaymentRequired
|
|
4035
|
+
| Forbidden
|
|
4036
|
+
| VercelOpError;
|
|
4037
|
+
/** Update a Team Update the information of a Team specified by the `teamId` parameter. The request body should contain the information that will be updated on the Team. */
|
|
4038
|
+
export const updateTeam: API.OperationMethod<
|
|
4039
|
+
UpdateTeamRequest,
|
|
4040
|
+
Team,
|
|
4041
|
+
UpdateTeamError,
|
|
4042
|
+
VercelOpContext
|
|
4043
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4044
|
+
input: UpdateTeamRequest,
|
|
4045
|
+
output: Team,
|
|
4046
|
+
errors: [BadRequest, PaymentRequired, Forbidden],
|
|
4047
|
+
protocol: VercelProtocol,
|
|
4048
|
+
retry: Retry.Retry,
|
|
4049
|
+
}));
|
|
4050
|
+
|
|
3976
4051
|
export type UpdateTeamMemberError =
|
|
3977
4052
|
| BadRequest
|
|
3978
4053
|
| PaymentRequired
|