vercel-api-js 1.8.0 → 1.8.2
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/dist/components.d.mts.map +1 -1
- package/dist/effect.d.mts.map +1 -1
- package/dist/index.cjs +190 -2
- package/dist/index.d.ts +459 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +190 -3
- package/dist/schemas.cjs +150 -0
- package/dist/schemas.d.mts +130 -0
- package/dist/schemas.d.mts.map +1 -1
- package/dist/schemas.mjs +150 -0
- package/dist/types.cjs +40 -2
- package/dist/types.d.mts +329 -4
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs +40 -3
- package/package.json +1 -1
package/dist/schemas.cjs
CHANGED
|
@@ -727,6 +727,10 @@ const userEventSchema = z__namespace.object({
|
|
|
727
727
|
"observability-enabled",
|
|
728
728
|
"observability-plus-project-disabled",
|
|
729
729
|
"observability-plus-project-enabled",
|
|
730
|
+
"oidc-policy-created",
|
|
731
|
+
"oidc-policy-deleted",
|
|
732
|
+
"oidc-policy-updated",
|
|
733
|
+
"oidc-policy-used-to-obtain-app-token",
|
|
730
734
|
"organization-create",
|
|
731
735
|
"organization-delete",
|
|
732
736
|
"organization-slug-update",
|
|
@@ -775,6 +779,7 @@ const userEventSchema = z__namespace.object({
|
|
|
775
779
|
"project-build-command-updated",
|
|
776
780
|
"project-build-logs-and-source-protection-updated",
|
|
777
781
|
"project-build-machine-updated",
|
|
782
|
+
"project-card-widget-preference-updated",
|
|
778
783
|
"project-client-cert-delete",
|
|
779
784
|
"project-client-cert-upload",
|
|
780
785
|
"project-connect-configurations",
|
|
@@ -987,7 +992,9 @@ const userEventSchema = z__namespace.object({
|
|
|
987
992
|
"user-emu-account-archived",
|
|
988
993
|
"user-emu-account-deleted",
|
|
989
994
|
"user-emu-account-recovered",
|
|
995
|
+
"user-mfa-challenge-failed",
|
|
990
996
|
"user-mfa-challenge-verified",
|
|
997
|
+
"user-mfa-change-failed",
|
|
991
998
|
"user-mfa-configuration-updated",
|
|
992
999
|
"user-mfa-recovery-codes-regenerated",
|
|
993
1000
|
"user-mfa-removed",
|
|
@@ -3695,6 +3702,16 @@ const userEventSchema = z__namespace.object({
|
|
|
3695
3702
|
])
|
|
3696
3703
|
]).optional(),
|
|
3697
3704
|
projectDomainsLimit: z__namespace.number().optional().describe("Overrides our DEFAULT project domains limit per account or per project."),
|
|
3705
|
+
projectCardWidgetPreferences: z__namespace.array(z__namespace.object({
|
|
3706
|
+
projectId: z__namespace.string(),
|
|
3707
|
+
widget: z__namespace.enum([
|
|
3708
|
+
"alert",
|
|
3709
|
+
"firewall-allowed",
|
|
3710
|
+
"firewall-denied",
|
|
3711
|
+
"online",
|
|
3712
|
+
"res"
|
|
3713
|
+
])
|
|
3714
|
+
})).optional(),
|
|
3698
3715
|
remoteCaching: z__namespace.object({
|
|
3699
3716
|
enabled: z__namespace.union([
|
|
3700
3717
|
z__namespace.literal(false),
|
|
@@ -3761,6 +3778,7 @@ const userEventSchema = z__namespace.object({
|
|
|
3761
3778
|
bulkRedirectsFreeLimitOverride: z__namespace.number().optional(),
|
|
3762
3779
|
buildMachine: z__namespace.object({
|
|
3763
3780
|
default: z__namespace.enum([
|
|
3781
|
+
"basic",
|
|
3764
3782
|
"elastic",
|
|
3765
3783
|
"enhanced",
|
|
3766
3784
|
"standard",
|
|
@@ -5120,6 +5138,10 @@ const userEventSchema = z__namespace.object({
|
|
|
5120
5138
|
z__namespace.literal(false),
|
|
5121
5139
|
z__namespace.literal(true)
|
|
5122
5140
|
]).optional(),
|
|
5141
|
+
connectSrcNotificationsEnabled: z__namespace.union([
|
|
5142
|
+
z__namespace.literal(false),
|
|
5143
|
+
z__namespace.literal(true)
|
|
5144
|
+
]).optional(),
|
|
5123
5145
|
computedScriptSrc: z__namespace.string().optional(),
|
|
5124
5146
|
computedScriptSrcPreview: z__namespace.string().optional(),
|
|
5125
5147
|
computedConnectSrc: z__namespace.string().optional(),
|
|
@@ -5148,6 +5170,10 @@ const userEventSchema = z__namespace.object({
|
|
|
5148
5170
|
z__namespace.literal(false),
|
|
5149
5171
|
z__namespace.literal(true)
|
|
5150
5172
|
]).optional(),
|
|
5173
|
+
connectSrcNotificationsEnabled: z__namespace.union([
|
|
5174
|
+
z__namespace.literal(false),
|
|
5175
|
+
z__namespace.literal(true)
|
|
5176
|
+
]).optional(),
|
|
5151
5177
|
computedScriptSrc: z__namespace.string().optional(),
|
|
5152
5178
|
computedScriptSrcPreview: z__namespace.string().optional(),
|
|
5153
5179
|
computedConnectSrc: z__namespace.string().optional(),
|
|
@@ -5554,6 +5580,17 @@ const userEventSchema = z__namespace.object({
|
|
|
5554
5580
|
]).optional(),
|
|
5555
5581
|
reason: z__namespace.string().optional().describe("For system-initiated (elastic) changes, why the build machine was upgraded/downgraded. Stored as the raw reason code (see `ElasticChangeReason` in `@api/build-machines-types`) and rendered as a human-readable clause in the activity/audit log.")
|
|
5556
5582
|
}).strict(),
|
|
5583
|
+
z__namespace.object({
|
|
5584
|
+
projectId: z__namespace.string(),
|
|
5585
|
+
projectName: z__namespace.string(),
|
|
5586
|
+
widget: z__namespace.enum([
|
|
5587
|
+
"alert",
|
|
5588
|
+
"firewall-allowed",
|
|
5589
|
+
"firewall-denied",
|
|
5590
|
+
"online",
|
|
5591
|
+
"res"
|
|
5592
|
+
]).nullable()
|
|
5593
|
+
}).strict(),
|
|
5557
5594
|
z__namespace.object({
|
|
5558
5595
|
projectId: z__namespace.string().optional(),
|
|
5559
5596
|
projectName: z__namespace.string().optional(),
|
|
@@ -6893,12 +6930,14 @@ const userEventSchema = z__namespace.object({
|
|
|
6893
6930
|
}).strict(),
|
|
6894
6931
|
z__namespace.object({
|
|
6895
6932
|
previous: z__namespace.enum([
|
|
6933
|
+
"basic",
|
|
6896
6934
|
"elastic",
|
|
6897
6935
|
"enhanced",
|
|
6898
6936
|
"standard",
|
|
6899
6937
|
"turbo"
|
|
6900
6938
|
]).optional(),
|
|
6901
6939
|
next: z__namespace.enum([
|
|
6940
|
+
"basic",
|
|
6902
6941
|
"elastic",
|
|
6903
6942
|
"enhanced",
|
|
6904
6943
|
"standard",
|
|
@@ -7321,6 +7360,27 @@ const userEventSchema = z__namespace.object({
|
|
|
7321
7360
|
z__namespace.object({
|
|
7322
7361
|
username: z__namespace.string()
|
|
7323
7362
|
}).strict(),
|
|
7363
|
+
z__namespace.object({
|
|
7364
|
+
method: z__namespace.enum([
|
|
7365
|
+
"email-otp",
|
|
7366
|
+
"recovery-code",
|
|
7367
|
+
"totp",
|
|
7368
|
+
"webauthn"
|
|
7369
|
+
]),
|
|
7370
|
+
reason: z__namespace.string()
|
|
7371
|
+
}).strict(),
|
|
7372
|
+
z__namespace.object({
|
|
7373
|
+
action: z__namespace.enum([
|
|
7374
|
+
"add-passkey",
|
|
7375
|
+
"add-totp",
|
|
7376
|
+
"admin-remove",
|
|
7377
|
+
"disable",
|
|
7378
|
+
"enable",
|
|
7379
|
+
"regenerate-recovery-codes",
|
|
7380
|
+
"remove-passkey"
|
|
7381
|
+
]),
|
|
7382
|
+
reason: z__namespace.string()
|
|
7383
|
+
}).strict(),
|
|
7324
7384
|
z__namespace.object({
|
|
7325
7385
|
previous: z__namespace.object({
|
|
7326
7386
|
enabled: z__namespace.union([
|
|
@@ -7601,6 +7661,81 @@ const userEventSchema = z__namespace.object({
|
|
|
7601
7661
|
policyId: z__namespace.string().optional().describe("ID of the OIDC-exchange policy that authorized a token-exchange grant. Absent for the `client_credentials` + `oidc_token` flow, which matches an app `oidcProviders` entry rather than a policy."),
|
|
7602
7662
|
oidcSubject: z__namespace.string().optional().describe("`sub` claim of the OIDC token. Present for OIDC-authenticated flows (see {@link issuerUrl}).")
|
|
7603
7663
|
}).strict(),
|
|
7664
|
+
z__namespace.object({
|
|
7665
|
+
policy: z__namespace.object({
|
|
7666
|
+
policyId: z__namespace.string(),
|
|
7667
|
+
clientId: z__namespace.string(),
|
|
7668
|
+
issuerUrl: z__namespace.string(),
|
|
7669
|
+
teamId: z__namespace.string(),
|
|
7670
|
+
name: z__namespace.string().nullable().describe("Human-readable policy name, or `null` when unnamed."),
|
|
7671
|
+
claims: z__namespace.array(z__namespace.object({
|
|
7672
|
+
name: z__namespace.string(),
|
|
7673
|
+
values: z__namespace.array(z__namespace.object({
|
|
7674
|
+
value: z__namespace.string(),
|
|
7675
|
+
wildcards: z__namespace.union([
|
|
7676
|
+
z__namespace.literal(false),
|
|
7677
|
+
z__namespace.literal(true)
|
|
7678
|
+
])
|
|
7679
|
+
}))
|
|
7680
|
+
})).describe("Claim matchers an OIDC token must satisfy to use the policy."),
|
|
7681
|
+
permissions: z__namespace.array(z__namespace.string()).describe("Permission boundary (`['*']` = the app's full declared permissions)."),
|
|
7682
|
+
resources: z__namespace.object({
|
|
7683
|
+
projectIds: z__namespace.array(z__namespace.string())
|
|
7684
|
+
}).nullable().describe("Resource boundary, or `null` when the policy has none."),
|
|
7685
|
+
createdAt: z__namespace.number().describe("Creation time (epoch ms)."),
|
|
7686
|
+
updatedAt: z__namespace.number().describe("Last-update time (epoch ms).")
|
|
7687
|
+
}).describe("A full point-in-time snapshot of an OIDC exchange policy, captured on every lifecycle event so the audit trail records exactly what the policy looked like. Mirrors the management endpoints' public response shape."),
|
|
7688
|
+
appName: z__namespace.string().optional()
|
|
7689
|
+
}).strict(),
|
|
7690
|
+
z__namespace.object({
|
|
7691
|
+
before: z__namespace.object({
|
|
7692
|
+
policyId: z__namespace.string(),
|
|
7693
|
+
clientId: z__namespace.string(),
|
|
7694
|
+
issuerUrl: z__namespace.string(),
|
|
7695
|
+
teamId: z__namespace.string(),
|
|
7696
|
+
name: z__namespace.string().nullable().describe("Human-readable policy name, or `null` when unnamed."),
|
|
7697
|
+
claims: z__namespace.array(z__namespace.object({
|
|
7698
|
+
name: z__namespace.string(),
|
|
7699
|
+
values: z__namespace.array(z__namespace.object({
|
|
7700
|
+
value: z__namespace.string(),
|
|
7701
|
+
wildcards: z__namespace.union([
|
|
7702
|
+
z__namespace.literal(false),
|
|
7703
|
+
z__namespace.literal(true)
|
|
7704
|
+
])
|
|
7705
|
+
}))
|
|
7706
|
+
})).describe("Claim matchers an OIDC token must satisfy to use the policy."),
|
|
7707
|
+
permissions: z__namespace.array(z__namespace.string()).describe("Permission boundary (`['*']` = the app's full declared permissions)."),
|
|
7708
|
+
resources: z__namespace.object({
|
|
7709
|
+
projectIds: z__namespace.array(z__namespace.string())
|
|
7710
|
+
}).nullable().describe("Resource boundary, or `null` when the policy has none."),
|
|
7711
|
+
createdAt: z__namespace.number().describe("Creation time (epoch ms)."),
|
|
7712
|
+
updatedAt: z__namespace.number().describe("Last-update time (epoch ms).")
|
|
7713
|
+
}).describe("A full point-in-time snapshot of an OIDC exchange policy, captured on every lifecycle event so the audit trail records exactly what the policy looked like. Mirrors the management endpoints' public response shape."),
|
|
7714
|
+
after: z__namespace.object({
|
|
7715
|
+
policyId: z__namespace.string(),
|
|
7716
|
+
clientId: z__namespace.string(),
|
|
7717
|
+
issuerUrl: z__namespace.string(),
|
|
7718
|
+
teamId: z__namespace.string(),
|
|
7719
|
+
name: z__namespace.string().nullable().describe("Human-readable policy name, or `null` when unnamed."),
|
|
7720
|
+
claims: z__namespace.array(z__namespace.object({
|
|
7721
|
+
name: z__namespace.string(),
|
|
7722
|
+
values: z__namespace.array(z__namespace.object({
|
|
7723
|
+
value: z__namespace.string(),
|
|
7724
|
+
wildcards: z__namespace.union([
|
|
7725
|
+
z__namespace.literal(false),
|
|
7726
|
+
z__namespace.literal(true)
|
|
7727
|
+
])
|
|
7728
|
+
}))
|
|
7729
|
+
})).describe("Claim matchers an OIDC token must satisfy to use the policy."),
|
|
7730
|
+
permissions: z__namespace.array(z__namespace.string()).describe("Permission boundary (`['*']` = the app's full declared permissions)."),
|
|
7731
|
+
resources: z__namespace.object({
|
|
7732
|
+
projectIds: z__namespace.array(z__namespace.string())
|
|
7733
|
+
}).nullable().describe("Resource boundary, or `null` when the policy has none."),
|
|
7734
|
+
createdAt: z__namespace.number().describe("Creation time (epoch ms)."),
|
|
7735
|
+
updatedAt: z__namespace.number().describe("Last-update time (epoch ms).")
|
|
7736
|
+
}).describe("A full point-in-time snapshot of an OIDC exchange policy, captured on every lifecycle event so the audit trail records exactly what the policy looked like. Mirrors the management endpoints' public response shape."),
|
|
7737
|
+
appName: z__namespace.string().optional()
|
|
7738
|
+
}).strict(),
|
|
7604
7739
|
z__namespace.object({
|
|
7605
7740
|
tokenId: z__namespace.string().describe("The token's public ID."),
|
|
7606
7741
|
tokenPrefix: z__namespace.enum([
|
|
@@ -8031,6 +8166,10 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
8031
8166
|
"observability-enabled",
|
|
8032
8167
|
"observability-plus-project-disabled",
|
|
8033
8168
|
"observability-plus-project-enabled",
|
|
8169
|
+
"oidc-policy-created",
|
|
8170
|
+
"oidc-policy-deleted",
|
|
8171
|
+
"oidc-policy-updated",
|
|
8172
|
+
"oidc-policy-used-to-obtain-app-token",
|
|
8034
8173
|
"organization-create",
|
|
8035
8174
|
"organization-delete",
|
|
8036
8175
|
"organization-slug-update",
|
|
@@ -8079,6 +8218,7 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
8079
8218
|
"project-build-command-updated",
|
|
8080
8219
|
"project-build-logs-and-source-protection-updated",
|
|
8081
8220
|
"project-build-machine-updated",
|
|
8221
|
+
"project-card-widget-preference-updated",
|
|
8082
8222
|
"project-client-cert-delete",
|
|
8083
8223
|
"project-client-cert-upload",
|
|
8084
8224
|
"project-connect-configurations",
|
|
@@ -8291,7 +8431,9 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
8291
8431
|
"user-emu-account-archived",
|
|
8292
8432
|
"user-emu-account-deleted",
|
|
8293
8433
|
"user-emu-account-recovered",
|
|
8434
|
+
"user-mfa-challenge-failed",
|
|
8294
8435
|
"user-mfa-challenge-verified",
|
|
8436
|
+
"user-mfa-change-failed",
|
|
8295
8437
|
"user-mfa-configuration-updated",
|
|
8296
8438
|
"user-mfa-recovery-codes-regenerated",
|
|
8297
8439
|
"user-mfa-removed",
|
|
@@ -8639,6 +8781,10 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
8639
8781
|
"observability-enabled",
|
|
8640
8782
|
"observability-plus-project-disabled",
|
|
8641
8783
|
"observability-plus-project-enabled",
|
|
8784
|
+
"oidc-policy-created",
|
|
8785
|
+
"oidc-policy-deleted",
|
|
8786
|
+
"oidc-policy-updated",
|
|
8787
|
+
"oidc-policy-used-to-obtain-app-token",
|
|
8642
8788
|
"organization-create",
|
|
8643
8789
|
"organization-delete",
|
|
8644
8790
|
"organization-slug-update",
|
|
@@ -8687,6 +8833,7 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
8687
8833
|
"project-build-command-updated",
|
|
8688
8834
|
"project-build-logs-and-source-protection-updated",
|
|
8689
8835
|
"project-build-machine-updated",
|
|
8836
|
+
"project-card-widget-preference-updated",
|
|
8690
8837
|
"project-client-cert-delete",
|
|
8691
8838
|
"project-client-cert-upload",
|
|
8692
8839
|
"project-connect-configurations",
|
|
@@ -8899,7 +9046,9 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
8899
9046
|
"user-emu-account-archived",
|
|
8900
9047
|
"user-emu-account-deleted",
|
|
8901
9048
|
"user-emu-account-recovered",
|
|
9049
|
+
"user-mfa-challenge-failed",
|
|
8902
9050
|
"user-mfa-challenge-verified",
|
|
9051
|
+
"user-mfa-change-failed",
|
|
8903
9052
|
"user-mfa-configuration-updated",
|
|
8904
9053
|
"user-mfa-recovery-codes-regenerated",
|
|
8905
9054
|
"user-mfa-removed",
|
|
@@ -9795,6 +9944,7 @@ const teamSchema = z__namespace.object({
|
|
|
9795
9944
|
}).optional(),
|
|
9796
9945
|
buildMachine: z__namespace.object({
|
|
9797
9946
|
default: z__namespace.enum([
|
|
9947
|
+
"basic",
|
|
9798
9948
|
"elastic",
|
|
9799
9949
|
"enhanced",
|
|
9800
9950
|
"standard",
|
package/dist/schemas.d.mts
CHANGED
|
@@ -659,6 +659,10 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
659
659
|
"observability-enabled": "observability-enabled";
|
|
660
660
|
"observability-plus-project-disabled": "observability-plus-project-disabled";
|
|
661
661
|
"observability-plus-project-enabled": "observability-plus-project-enabled";
|
|
662
|
+
"oidc-policy-created": "oidc-policy-created";
|
|
663
|
+
"oidc-policy-deleted": "oidc-policy-deleted";
|
|
664
|
+
"oidc-policy-updated": "oidc-policy-updated";
|
|
665
|
+
"oidc-policy-used-to-obtain-app-token": "oidc-policy-used-to-obtain-app-token";
|
|
662
666
|
"organization-create": "organization-create";
|
|
663
667
|
"organization-delete": "organization-delete";
|
|
664
668
|
"organization-slug-update": "organization-slug-update";
|
|
@@ -707,6 +711,7 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
707
711
|
"project-build-command-updated": "project-build-command-updated";
|
|
708
712
|
"project-build-logs-and-source-protection-updated": "project-build-logs-and-source-protection-updated";
|
|
709
713
|
"project-build-machine-updated": "project-build-machine-updated";
|
|
714
|
+
"project-card-widget-preference-updated": "project-card-widget-preference-updated";
|
|
710
715
|
"project-client-cert-delete": "project-client-cert-delete";
|
|
711
716
|
"project-client-cert-upload": "project-client-cert-upload";
|
|
712
717
|
"project-connect-configurations": "project-connect-configurations";
|
|
@@ -919,7 +924,9 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
919
924
|
"user-emu-account-archived": "user-emu-account-archived";
|
|
920
925
|
"user-emu-account-deleted": "user-emu-account-deleted";
|
|
921
926
|
"user-emu-account-recovered": "user-emu-account-recovered";
|
|
927
|
+
"user-mfa-challenge-failed": "user-mfa-challenge-failed";
|
|
922
928
|
"user-mfa-challenge-verified": "user-mfa-challenge-verified";
|
|
929
|
+
"user-mfa-change-failed": "user-mfa-change-failed";
|
|
923
930
|
"user-mfa-configuration-updated": "user-mfa-configuration-updated";
|
|
924
931
|
"user-mfa-recovery-codes-regenerated": "user-mfa-recovery-codes-regenerated";
|
|
925
932
|
"user-mfa-removed": "user-mfa-removed";
|
|
@@ -3135,6 +3142,16 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
3135
3142
|
platformVersion: z.ZodNullable<z.ZodNumber>;
|
|
3136
3143
|
preventAutoBlocking: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>]>>;
|
|
3137
3144
|
projectDomainsLimit: z.ZodOptional<z.ZodNumber>;
|
|
3145
|
+
projectCardWidgetPreferences: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3146
|
+
projectId: z.ZodString;
|
|
3147
|
+
widget: z.ZodEnum<{
|
|
3148
|
+
alert: "alert";
|
|
3149
|
+
"firewall-allowed": "firewall-allowed";
|
|
3150
|
+
"firewall-denied": "firewall-denied";
|
|
3151
|
+
online: "online";
|
|
3152
|
+
res: "res";
|
|
3153
|
+
}>;
|
|
3154
|
+
}, z.core.$strip>>>;
|
|
3138
3155
|
remoteCaching: z.ZodOptional<z.ZodObject<{
|
|
3139
3156
|
enabled: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
3140
3157
|
}, z.core.$strip>>;
|
|
@@ -3189,6 +3206,7 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
3189
3206
|
bulkRedirectsFreeLimitOverride: z.ZodOptional<z.ZodNumber>;
|
|
3190
3207
|
buildMachine: z.ZodOptional<z.ZodObject<{
|
|
3191
3208
|
default: z.ZodOptional<z.ZodEnum<{
|
|
3209
|
+
basic: "basic";
|
|
3192
3210
|
elastic: "elastic";
|
|
3193
3211
|
enhanced: "enhanced";
|
|
3194
3212
|
standard: "standard";
|
|
@@ -4381,6 +4399,7 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
4381
4399
|
}>;
|
|
4382
4400
|
allowUnsafeScriptSrcKeywords: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>;
|
|
4383
4401
|
omitScriptNonce: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
4402
|
+
connectSrcNotificationsEnabled: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
4384
4403
|
computedScriptSrc: z.ZodOptional<z.ZodString>;
|
|
4385
4404
|
computedScriptSrcPreview: z.ZodOptional<z.ZodString>;
|
|
4386
4405
|
computedConnectSrc: z.ZodOptional<z.ZodString>;
|
|
@@ -4400,6 +4419,7 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
4400
4419
|
}>;
|
|
4401
4420
|
allowUnsafeScriptSrcKeywords: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>;
|
|
4402
4421
|
omitScriptNonce: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
4422
|
+
connectSrcNotificationsEnabled: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
4403
4423
|
computedScriptSrc: z.ZodOptional<z.ZodString>;
|
|
4404
4424
|
computedScriptSrcPreview: z.ZodOptional<z.ZodString>;
|
|
4405
4425
|
computedConnectSrc: z.ZodOptional<z.ZodString>;
|
|
@@ -4725,6 +4745,16 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
4725
4745
|
nextBuildMachineSelection: z.ZodString;
|
|
4726
4746
|
isSystemInitiated: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
4727
4747
|
reason: z.ZodOptional<z.ZodString>;
|
|
4748
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4749
|
+
projectId: z.ZodString;
|
|
4750
|
+
projectName: z.ZodString;
|
|
4751
|
+
widget: z.ZodNullable<z.ZodEnum<{
|
|
4752
|
+
alert: "alert";
|
|
4753
|
+
"firewall-allowed": "firewall-allowed";
|
|
4754
|
+
"firewall-denied": "firewall-denied";
|
|
4755
|
+
online: "online";
|
|
4756
|
+
res: "res";
|
|
4757
|
+
}>>;
|
|
4728
4758
|
}, z.core.$strict>, z.ZodObject<{
|
|
4729
4759
|
projectId: z.ZodOptional<z.ZodString>;
|
|
4730
4760
|
projectName: z.ZodOptional<z.ZodString>;
|
|
@@ -5775,12 +5805,14 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
5775
5805
|
teamSlug: z.ZodOptional<z.ZodString>;
|
|
5776
5806
|
}, z.core.$strict>, z.ZodObject<{
|
|
5777
5807
|
previous: z.ZodOptional<z.ZodEnum<{
|
|
5808
|
+
basic: "basic";
|
|
5778
5809
|
elastic: "elastic";
|
|
5779
5810
|
enhanced: "enhanced";
|
|
5780
5811
|
standard: "standard";
|
|
5781
5812
|
turbo: "turbo";
|
|
5782
5813
|
}>>;
|
|
5783
5814
|
next: z.ZodOptional<z.ZodEnum<{
|
|
5815
|
+
basic: "basic";
|
|
5784
5816
|
elastic: "elastic";
|
|
5785
5817
|
enhanced: "enhanced";
|
|
5786
5818
|
standard: "standard";
|
|
@@ -6124,6 +6156,25 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
6124
6156
|
username: z.ZodString;
|
|
6125
6157
|
}, z.core.$strict>, z.ZodObject<{
|
|
6126
6158
|
username: z.ZodString;
|
|
6159
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6160
|
+
method: z.ZodEnum<{
|
|
6161
|
+
totp: "totp";
|
|
6162
|
+
webauthn: "webauthn";
|
|
6163
|
+
"recovery-code": "recovery-code";
|
|
6164
|
+
"email-otp": "email-otp";
|
|
6165
|
+
}>;
|
|
6166
|
+
reason: z.ZodString;
|
|
6167
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6168
|
+
action: z.ZodEnum<{
|
|
6169
|
+
disable: "disable";
|
|
6170
|
+
enable: "enable";
|
|
6171
|
+
"add-passkey": "add-passkey";
|
|
6172
|
+
"add-totp": "add-totp";
|
|
6173
|
+
"admin-remove": "admin-remove";
|
|
6174
|
+
"regenerate-recovery-codes": "regenerate-recovery-codes";
|
|
6175
|
+
"remove-passkey": "remove-passkey";
|
|
6176
|
+
}>;
|
|
6177
|
+
reason: z.ZodString;
|
|
6127
6178
|
}, z.core.$strict>, z.ZodObject<{
|
|
6128
6179
|
previous: z.ZodObject<{
|
|
6129
6180
|
enabled: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>;
|
|
@@ -6346,6 +6397,70 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
6346
6397
|
issuerUrl: z.ZodOptional<z.ZodString>;
|
|
6347
6398
|
policyId: z.ZodOptional<z.ZodString>;
|
|
6348
6399
|
oidcSubject: z.ZodOptional<z.ZodString>;
|
|
6400
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6401
|
+
policy: z.ZodObject<{
|
|
6402
|
+
policyId: z.ZodString;
|
|
6403
|
+
clientId: z.ZodString;
|
|
6404
|
+
issuerUrl: z.ZodString;
|
|
6405
|
+
teamId: z.ZodString;
|
|
6406
|
+
name: z.ZodNullable<z.ZodString>;
|
|
6407
|
+
claims: z.ZodArray<z.ZodObject<{
|
|
6408
|
+
name: z.ZodString;
|
|
6409
|
+
values: z.ZodArray<z.ZodObject<{
|
|
6410
|
+
value: z.ZodString;
|
|
6411
|
+
wildcards: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>;
|
|
6412
|
+
}, z.core.$strip>>;
|
|
6413
|
+
}, z.core.$strip>>;
|
|
6414
|
+
permissions: z.ZodArray<z.ZodString>;
|
|
6415
|
+
resources: z.ZodNullable<z.ZodObject<{
|
|
6416
|
+
projectIds: z.ZodArray<z.ZodString>;
|
|
6417
|
+
}, z.core.$strip>>;
|
|
6418
|
+
createdAt: z.ZodNumber;
|
|
6419
|
+
updatedAt: z.ZodNumber;
|
|
6420
|
+
}, z.core.$strip>;
|
|
6421
|
+
appName: z.ZodOptional<z.ZodString>;
|
|
6422
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6423
|
+
before: z.ZodObject<{
|
|
6424
|
+
policyId: z.ZodString;
|
|
6425
|
+
clientId: z.ZodString;
|
|
6426
|
+
issuerUrl: z.ZodString;
|
|
6427
|
+
teamId: z.ZodString;
|
|
6428
|
+
name: z.ZodNullable<z.ZodString>;
|
|
6429
|
+
claims: z.ZodArray<z.ZodObject<{
|
|
6430
|
+
name: z.ZodString;
|
|
6431
|
+
values: z.ZodArray<z.ZodObject<{
|
|
6432
|
+
value: z.ZodString;
|
|
6433
|
+
wildcards: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>;
|
|
6434
|
+
}, z.core.$strip>>;
|
|
6435
|
+
}, z.core.$strip>>;
|
|
6436
|
+
permissions: z.ZodArray<z.ZodString>;
|
|
6437
|
+
resources: z.ZodNullable<z.ZodObject<{
|
|
6438
|
+
projectIds: z.ZodArray<z.ZodString>;
|
|
6439
|
+
}, z.core.$strip>>;
|
|
6440
|
+
createdAt: z.ZodNumber;
|
|
6441
|
+
updatedAt: z.ZodNumber;
|
|
6442
|
+
}, z.core.$strip>;
|
|
6443
|
+
after: z.ZodObject<{
|
|
6444
|
+
policyId: z.ZodString;
|
|
6445
|
+
clientId: z.ZodString;
|
|
6446
|
+
issuerUrl: z.ZodString;
|
|
6447
|
+
teamId: z.ZodString;
|
|
6448
|
+
name: z.ZodNullable<z.ZodString>;
|
|
6449
|
+
claims: z.ZodArray<z.ZodObject<{
|
|
6450
|
+
name: z.ZodString;
|
|
6451
|
+
values: z.ZodArray<z.ZodObject<{
|
|
6452
|
+
value: z.ZodString;
|
|
6453
|
+
wildcards: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>;
|
|
6454
|
+
}, z.core.$strip>>;
|
|
6455
|
+
}, z.core.$strip>>;
|
|
6456
|
+
permissions: z.ZodArray<z.ZodString>;
|
|
6457
|
+
resources: z.ZodNullable<z.ZodObject<{
|
|
6458
|
+
projectIds: z.ZodArray<z.ZodString>;
|
|
6459
|
+
}, z.core.$strip>>;
|
|
6460
|
+
createdAt: z.ZodNumber;
|
|
6461
|
+
updatedAt: z.ZodNumber;
|
|
6462
|
+
}, z.core.$strip>;
|
|
6463
|
+
appName: z.ZodOptional<z.ZodString>;
|
|
6349
6464
|
}, z.core.$strict>, z.ZodObject<{
|
|
6350
6465
|
tokenId: z.ZodString;
|
|
6351
6466
|
tokenPrefix: z.ZodOptional<z.ZodEnum<{
|
|
@@ -6761,6 +6876,10 @@ declare const listEventTypeSchema: z.ZodObject<{
|
|
|
6761
6876
|
"observability-enabled": "observability-enabled";
|
|
6762
6877
|
"observability-plus-project-disabled": "observability-plus-project-disabled";
|
|
6763
6878
|
"observability-plus-project-enabled": "observability-plus-project-enabled";
|
|
6879
|
+
"oidc-policy-created": "oidc-policy-created";
|
|
6880
|
+
"oidc-policy-deleted": "oidc-policy-deleted";
|
|
6881
|
+
"oidc-policy-updated": "oidc-policy-updated";
|
|
6882
|
+
"oidc-policy-used-to-obtain-app-token": "oidc-policy-used-to-obtain-app-token";
|
|
6764
6883
|
"organization-create": "organization-create";
|
|
6765
6884
|
"organization-delete": "organization-delete";
|
|
6766
6885
|
"organization-slug-update": "organization-slug-update";
|
|
@@ -6809,6 +6928,7 @@ declare const listEventTypeSchema: z.ZodObject<{
|
|
|
6809
6928
|
"project-build-command-updated": "project-build-command-updated";
|
|
6810
6929
|
"project-build-logs-and-source-protection-updated": "project-build-logs-and-source-protection-updated";
|
|
6811
6930
|
"project-build-machine-updated": "project-build-machine-updated";
|
|
6931
|
+
"project-card-widget-preference-updated": "project-card-widget-preference-updated";
|
|
6812
6932
|
"project-client-cert-delete": "project-client-cert-delete";
|
|
6813
6933
|
"project-client-cert-upload": "project-client-cert-upload";
|
|
6814
6934
|
"project-connect-configurations": "project-connect-configurations";
|
|
@@ -7021,7 +7141,9 @@ declare const listEventTypeSchema: z.ZodObject<{
|
|
|
7021
7141
|
"user-emu-account-archived": "user-emu-account-archived";
|
|
7022
7142
|
"user-emu-account-deleted": "user-emu-account-deleted";
|
|
7023
7143
|
"user-emu-account-recovered": "user-emu-account-recovered";
|
|
7144
|
+
"user-mfa-challenge-failed": "user-mfa-challenge-failed";
|
|
7024
7145
|
"user-mfa-challenge-verified": "user-mfa-challenge-verified";
|
|
7146
|
+
"user-mfa-change-failed": "user-mfa-change-failed";
|
|
7025
7147
|
"user-mfa-configuration-updated": "user-mfa-configuration-updated";
|
|
7026
7148
|
"user-mfa-recovery-codes-regenerated": "user-mfa-recovery-codes-regenerated";
|
|
7027
7149
|
"user-mfa-removed": "user-mfa-removed";
|
|
@@ -7366,6 +7488,10 @@ declare const listEventTypeSchema: z.ZodObject<{
|
|
|
7366
7488
|
"observability-enabled": "observability-enabled";
|
|
7367
7489
|
"observability-plus-project-disabled": "observability-plus-project-disabled";
|
|
7368
7490
|
"observability-plus-project-enabled": "observability-plus-project-enabled";
|
|
7491
|
+
"oidc-policy-created": "oidc-policy-created";
|
|
7492
|
+
"oidc-policy-deleted": "oidc-policy-deleted";
|
|
7493
|
+
"oidc-policy-updated": "oidc-policy-updated";
|
|
7494
|
+
"oidc-policy-used-to-obtain-app-token": "oidc-policy-used-to-obtain-app-token";
|
|
7369
7495
|
"organization-create": "organization-create";
|
|
7370
7496
|
"organization-delete": "organization-delete";
|
|
7371
7497
|
"organization-slug-update": "organization-slug-update";
|
|
@@ -7414,6 +7540,7 @@ declare const listEventTypeSchema: z.ZodObject<{
|
|
|
7414
7540
|
"project-build-command-updated": "project-build-command-updated";
|
|
7415
7541
|
"project-build-logs-and-source-protection-updated": "project-build-logs-and-source-protection-updated";
|
|
7416
7542
|
"project-build-machine-updated": "project-build-machine-updated";
|
|
7543
|
+
"project-card-widget-preference-updated": "project-card-widget-preference-updated";
|
|
7417
7544
|
"project-client-cert-delete": "project-client-cert-delete";
|
|
7418
7545
|
"project-client-cert-upload": "project-client-cert-upload";
|
|
7419
7546
|
"project-connect-configurations": "project-connect-configurations";
|
|
@@ -7626,7 +7753,9 @@ declare const listEventTypeSchema: z.ZodObject<{
|
|
|
7626
7753
|
"user-emu-account-archived": "user-emu-account-archived";
|
|
7627
7754
|
"user-emu-account-deleted": "user-emu-account-deleted";
|
|
7628
7755
|
"user-emu-account-recovered": "user-emu-account-recovered";
|
|
7756
|
+
"user-mfa-challenge-failed": "user-mfa-challenge-failed";
|
|
7629
7757
|
"user-mfa-challenge-verified": "user-mfa-challenge-verified";
|
|
7758
|
+
"user-mfa-change-failed": "user-mfa-change-failed";
|
|
7630
7759
|
"user-mfa-configuration-updated": "user-mfa-configuration-updated";
|
|
7631
7760
|
"user-mfa-recovery-codes-regenerated": "user-mfa-recovery-codes-regenerated";
|
|
7632
7761
|
"user-mfa-removed": "user-mfa-removed";
|
|
@@ -8437,6 +8566,7 @@ declare const teamSchema: z.ZodObject<{
|
|
|
8437
8566
|
}, z.core.$strip>>;
|
|
8438
8567
|
buildMachine: z.ZodOptional<z.ZodObject<{
|
|
8439
8568
|
default: z.ZodOptional<z.ZodEnum<{
|
|
8569
|
+
basic: "basic";
|
|
8440
8570
|
elastic: "elastic";
|
|
8441
8571
|
enhanced: "enhanced";
|
|
8442
8572
|
standard: "standard";
|