vercel-api-js 1.8.0 → 1.8.1
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 +182 -2
- package/dist/index.d.ts +449 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +182 -3
- package/dist/schemas.cjs +142 -0
- package/dist/schemas.d.mts +128 -0
- package/dist/schemas.d.mts.map +1 -1
- package/dist/schemas.mjs +142 -0
- package/dist/types.cjs +40 -2
- package/dist/types.d.mts +321 -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",
|
|
@@ -5554,6 +5572,17 @@ const userEventSchema = z__namespace.object({
|
|
|
5554
5572
|
]).optional(),
|
|
5555
5573
|
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
5574
|
}).strict(),
|
|
5575
|
+
z__namespace.object({
|
|
5576
|
+
projectId: z__namespace.string(),
|
|
5577
|
+
projectName: z__namespace.string(),
|
|
5578
|
+
widget: z__namespace.enum([
|
|
5579
|
+
"alert",
|
|
5580
|
+
"firewall-allowed",
|
|
5581
|
+
"firewall-denied",
|
|
5582
|
+
"online",
|
|
5583
|
+
"res"
|
|
5584
|
+
]).nullable()
|
|
5585
|
+
}).strict(),
|
|
5557
5586
|
z__namespace.object({
|
|
5558
5587
|
projectId: z__namespace.string().optional(),
|
|
5559
5588
|
projectName: z__namespace.string().optional(),
|
|
@@ -6893,12 +6922,14 @@ const userEventSchema = z__namespace.object({
|
|
|
6893
6922
|
}).strict(),
|
|
6894
6923
|
z__namespace.object({
|
|
6895
6924
|
previous: z__namespace.enum([
|
|
6925
|
+
"basic",
|
|
6896
6926
|
"elastic",
|
|
6897
6927
|
"enhanced",
|
|
6898
6928
|
"standard",
|
|
6899
6929
|
"turbo"
|
|
6900
6930
|
]).optional(),
|
|
6901
6931
|
next: z__namespace.enum([
|
|
6932
|
+
"basic",
|
|
6902
6933
|
"elastic",
|
|
6903
6934
|
"enhanced",
|
|
6904
6935
|
"standard",
|
|
@@ -7321,6 +7352,27 @@ const userEventSchema = z__namespace.object({
|
|
|
7321
7352
|
z__namespace.object({
|
|
7322
7353
|
username: z__namespace.string()
|
|
7323
7354
|
}).strict(),
|
|
7355
|
+
z__namespace.object({
|
|
7356
|
+
method: z__namespace.enum([
|
|
7357
|
+
"email-otp",
|
|
7358
|
+
"recovery-code",
|
|
7359
|
+
"totp",
|
|
7360
|
+
"webauthn"
|
|
7361
|
+
]),
|
|
7362
|
+
reason: z__namespace.string()
|
|
7363
|
+
}).strict(),
|
|
7364
|
+
z__namespace.object({
|
|
7365
|
+
action: z__namespace.enum([
|
|
7366
|
+
"add-passkey",
|
|
7367
|
+
"add-totp",
|
|
7368
|
+
"admin-remove",
|
|
7369
|
+
"disable",
|
|
7370
|
+
"enable",
|
|
7371
|
+
"regenerate-recovery-codes",
|
|
7372
|
+
"remove-passkey"
|
|
7373
|
+
]),
|
|
7374
|
+
reason: z__namespace.string()
|
|
7375
|
+
}).strict(),
|
|
7324
7376
|
z__namespace.object({
|
|
7325
7377
|
previous: z__namespace.object({
|
|
7326
7378
|
enabled: z__namespace.union([
|
|
@@ -7601,6 +7653,81 @@ const userEventSchema = z__namespace.object({
|
|
|
7601
7653
|
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
7654
|
oidcSubject: z__namespace.string().optional().describe("`sub` claim of the OIDC token. Present for OIDC-authenticated flows (see {@link issuerUrl}).")
|
|
7603
7655
|
}).strict(),
|
|
7656
|
+
z__namespace.object({
|
|
7657
|
+
policy: z__namespace.object({
|
|
7658
|
+
policyId: z__namespace.string(),
|
|
7659
|
+
clientId: z__namespace.string(),
|
|
7660
|
+
issuerUrl: z__namespace.string(),
|
|
7661
|
+
teamId: z__namespace.string(),
|
|
7662
|
+
name: z__namespace.string().nullable().describe("Human-readable policy name, or `null` when unnamed."),
|
|
7663
|
+
claims: z__namespace.array(z__namespace.object({
|
|
7664
|
+
name: z__namespace.string(),
|
|
7665
|
+
values: z__namespace.array(z__namespace.object({
|
|
7666
|
+
value: z__namespace.string(),
|
|
7667
|
+
wildcards: z__namespace.union([
|
|
7668
|
+
z__namespace.literal(false),
|
|
7669
|
+
z__namespace.literal(true)
|
|
7670
|
+
])
|
|
7671
|
+
}))
|
|
7672
|
+
})).describe("Claim matchers an OIDC token must satisfy to use the policy."),
|
|
7673
|
+
permissions: z__namespace.array(z__namespace.string()).describe("Permission boundary (`['*']` = the app's full declared permissions)."),
|
|
7674
|
+
resources: z__namespace.object({
|
|
7675
|
+
projectIds: z__namespace.array(z__namespace.string())
|
|
7676
|
+
}).nullable().describe("Resource boundary, or `null` when the policy has none."),
|
|
7677
|
+
createdAt: z__namespace.number().describe("Creation time (epoch ms)."),
|
|
7678
|
+
updatedAt: z__namespace.number().describe("Last-update time (epoch ms).")
|
|
7679
|
+
}).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."),
|
|
7680
|
+
appName: z__namespace.string().optional()
|
|
7681
|
+
}).strict(),
|
|
7682
|
+
z__namespace.object({
|
|
7683
|
+
before: z__namespace.object({
|
|
7684
|
+
policyId: z__namespace.string(),
|
|
7685
|
+
clientId: z__namespace.string(),
|
|
7686
|
+
issuerUrl: z__namespace.string(),
|
|
7687
|
+
teamId: z__namespace.string(),
|
|
7688
|
+
name: z__namespace.string().nullable().describe("Human-readable policy name, or `null` when unnamed."),
|
|
7689
|
+
claims: z__namespace.array(z__namespace.object({
|
|
7690
|
+
name: z__namespace.string(),
|
|
7691
|
+
values: z__namespace.array(z__namespace.object({
|
|
7692
|
+
value: z__namespace.string(),
|
|
7693
|
+
wildcards: z__namespace.union([
|
|
7694
|
+
z__namespace.literal(false),
|
|
7695
|
+
z__namespace.literal(true)
|
|
7696
|
+
])
|
|
7697
|
+
}))
|
|
7698
|
+
})).describe("Claim matchers an OIDC token must satisfy to use the policy."),
|
|
7699
|
+
permissions: z__namespace.array(z__namespace.string()).describe("Permission boundary (`['*']` = the app's full declared permissions)."),
|
|
7700
|
+
resources: z__namespace.object({
|
|
7701
|
+
projectIds: z__namespace.array(z__namespace.string())
|
|
7702
|
+
}).nullable().describe("Resource boundary, or `null` when the policy has none."),
|
|
7703
|
+
createdAt: z__namespace.number().describe("Creation time (epoch ms)."),
|
|
7704
|
+
updatedAt: z__namespace.number().describe("Last-update time (epoch ms).")
|
|
7705
|
+
}).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."),
|
|
7706
|
+
after: z__namespace.object({
|
|
7707
|
+
policyId: z__namespace.string(),
|
|
7708
|
+
clientId: z__namespace.string(),
|
|
7709
|
+
issuerUrl: z__namespace.string(),
|
|
7710
|
+
teamId: z__namespace.string(),
|
|
7711
|
+
name: z__namespace.string().nullable().describe("Human-readable policy name, or `null` when unnamed."),
|
|
7712
|
+
claims: z__namespace.array(z__namespace.object({
|
|
7713
|
+
name: z__namespace.string(),
|
|
7714
|
+
values: z__namespace.array(z__namespace.object({
|
|
7715
|
+
value: z__namespace.string(),
|
|
7716
|
+
wildcards: z__namespace.union([
|
|
7717
|
+
z__namespace.literal(false),
|
|
7718
|
+
z__namespace.literal(true)
|
|
7719
|
+
])
|
|
7720
|
+
}))
|
|
7721
|
+
})).describe("Claim matchers an OIDC token must satisfy to use the policy."),
|
|
7722
|
+
permissions: z__namespace.array(z__namespace.string()).describe("Permission boundary (`['*']` = the app's full declared permissions)."),
|
|
7723
|
+
resources: z__namespace.object({
|
|
7724
|
+
projectIds: z__namespace.array(z__namespace.string())
|
|
7725
|
+
}).nullable().describe("Resource boundary, or `null` when the policy has none."),
|
|
7726
|
+
createdAt: z__namespace.number().describe("Creation time (epoch ms)."),
|
|
7727
|
+
updatedAt: z__namespace.number().describe("Last-update time (epoch ms).")
|
|
7728
|
+
}).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."),
|
|
7729
|
+
appName: z__namespace.string().optional()
|
|
7730
|
+
}).strict(),
|
|
7604
7731
|
z__namespace.object({
|
|
7605
7732
|
tokenId: z__namespace.string().describe("The token's public ID."),
|
|
7606
7733
|
tokenPrefix: z__namespace.enum([
|
|
@@ -8031,6 +8158,10 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
8031
8158
|
"observability-enabled",
|
|
8032
8159
|
"observability-plus-project-disabled",
|
|
8033
8160
|
"observability-plus-project-enabled",
|
|
8161
|
+
"oidc-policy-created",
|
|
8162
|
+
"oidc-policy-deleted",
|
|
8163
|
+
"oidc-policy-updated",
|
|
8164
|
+
"oidc-policy-used-to-obtain-app-token",
|
|
8034
8165
|
"organization-create",
|
|
8035
8166
|
"organization-delete",
|
|
8036
8167
|
"organization-slug-update",
|
|
@@ -8079,6 +8210,7 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
8079
8210
|
"project-build-command-updated",
|
|
8080
8211
|
"project-build-logs-and-source-protection-updated",
|
|
8081
8212
|
"project-build-machine-updated",
|
|
8213
|
+
"project-card-widget-preference-updated",
|
|
8082
8214
|
"project-client-cert-delete",
|
|
8083
8215
|
"project-client-cert-upload",
|
|
8084
8216
|
"project-connect-configurations",
|
|
@@ -8291,7 +8423,9 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
8291
8423
|
"user-emu-account-archived",
|
|
8292
8424
|
"user-emu-account-deleted",
|
|
8293
8425
|
"user-emu-account-recovered",
|
|
8426
|
+
"user-mfa-challenge-failed",
|
|
8294
8427
|
"user-mfa-challenge-verified",
|
|
8428
|
+
"user-mfa-change-failed",
|
|
8295
8429
|
"user-mfa-configuration-updated",
|
|
8296
8430
|
"user-mfa-recovery-codes-regenerated",
|
|
8297
8431
|
"user-mfa-removed",
|
|
@@ -8639,6 +8773,10 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
8639
8773
|
"observability-enabled",
|
|
8640
8774
|
"observability-plus-project-disabled",
|
|
8641
8775
|
"observability-plus-project-enabled",
|
|
8776
|
+
"oidc-policy-created",
|
|
8777
|
+
"oidc-policy-deleted",
|
|
8778
|
+
"oidc-policy-updated",
|
|
8779
|
+
"oidc-policy-used-to-obtain-app-token",
|
|
8642
8780
|
"organization-create",
|
|
8643
8781
|
"organization-delete",
|
|
8644
8782
|
"organization-slug-update",
|
|
@@ -8687,6 +8825,7 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
8687
8825
|
"project-build-command-updated",
|
|
8688
8826
|
"project-build-logs-and-source-protection-updated",
|
|
8689
8827
|
"project-build-machine-updated",
|
|
8828
|
+
"project-card-widget-preference-updated",
|
|
8690
8829
|
"project-client-cert-delete",
|
|
8691
8830
|
"project-client-cert-upload",
|
|
8692
8831
|
"project-connect-configurations",
|
|
@@ -8899,7 +9038,9 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
8899
9038
|
"user-emu-account-archived",
|
|
8900
9039
|
"user-emu-account-deleted",
|
|
8901
9040
|
"user-emu-account-recovered",
|
|
9041
|
+
"user-mfa-challenge-failed",
|
|
8902
9042
|
"user-mfa-challenge-verified",
|
|
9043
|
+
"user-mfa-change-failed",
|
|
8903
9044
|
"user-mfa-configuration-updated",
|
|
8904
9045
|
"user-mfa-recovery-codes-regenerated",
|
|
8905
9046
|
"user-mfa-removed",
|
|
@@ -9795,6 +9936,7 @@ const teamSchema = z__namespace.object({
|
|
|
9795
9936
|
}).optional(),
|
|
9796
9937
|
buildMachine: z__namespace.object({
|
|
9797
9938
|
default: z__namespace.enum([
|
|
9939
|
+
"basic",
|
|
9798
9940
|
"elastic",
|
|
9799
9941
|
"enhanced",
|
|
9800
9942
|
"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";
|
|
@@ -4725,6 +4743,16 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
4725
4743
|
nextBuildMachineSelection: z.ZodString;
|
|
4726
4744
|
isSystemInitiated: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
4727
4745
|
reason: z.ZodOptional<z.ZodString>;
|
|
4746
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4747
|
+
projectId: z.ZodString;
|
|
4748
|
+
projectName: z.ZodString;
|
|
4749
|
+
widget: z.ZodNullable<z.ZodEnum<{
|
|
4750
|
+
alert: "alert";
|
|
4751
|
+
"firewall-allowed": "firewall-allowed";
|
|
4752
|
+
"firewall-denied": "firewall-denied";
|
|
4753
|
+
online: "online";
|
|
4754
|
+
res: "res";
|
|
4755
|
+
}>>;
|
|
4728
4756
|
}, z.core.$strict>, z.ZodObject<{
|
|
4729
4757
|
projectId: z.ZodOptional<z.ZodString>;
|
|
4730
4758
|
projectName: z.ZodOptional<z.ZodString>;
|
|
@@ -5775,12 +5803,14 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
5775
5803
|
teamSlug: z.ZodOptional<z.ZodString>;
|
|
5776
5804
|
}, z.core.$strict>, z.ZodObject<{
|
|
5777
5805
|
previous: z.ZodOptional<z.ZodEnum<{
|
|
5806
|
+
basic: "basic";
|
|
5778
5807
|
elastic: "elastic";
|
|
5779
5808
|
enhanced: "enhanced";
|
|
5780
5809
|
standard: "standard";
|
|
5781
5810
|
turbo: "turbo";
|
|
5782
5811
|
}>>;
|
|
5783
5812
|
next: z.ZodOptional<z.ZodEnum<{
|
|
5813
|
+
basic: "basic";
|
|
5784
5814
|
elastic: "elastic";
|
|
5785
5815
|
enhanced: "enhanced";
|
|
5786
5816
|
standard: "standard";
|
|
@@ -6124,6 +6154,25 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
6124
6154
|
username: z.ZodString;
|
|
6125
6155
|
}, z.core.$strict>, z.ZodObject<{
|
|
6126
6156
|
username: z.ZodString;
|
|
6157
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6158
|
+
method: z.ZodEnum<{
|
|
6159
|
+
totp: "totp";
|
|
6160
|
+
webauthn: "webauthn";
|
|
6161
|
+
"recovery-code": "recovery-code";
|
|
6162
|
+
"email-otp": "email-otp";
|
|
6163
|
+
}>;
|
|
6164
|
+
reason: z.ZodString;
|
|
6165
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6166
|
+
action: z.ZodEnum<{
|
|
6167
|
+
disable: "disable";
|
|
6168
|
+
enable: "enable";
|
|
6169
|
+
"add-passkey": "add-passkey";
|
|
6170
|
+
"add-totp": "add-totp";
|
|
6171
|
+
"admin-remove": "admin-remove";
|
|
6172
|
+
"regenerate-recovery-codes": "regenerate-recovery-codes";
|
|
6173
|
+
"remove-passkey": "remove-passkey";
|
|
6174
|
+
}>;
|
|
6175
|
+
reason: z.ZodString;
|
|
6127
6176
|
}, z.core.$strict>, z.ZodObject<{
|
|
6128
6177
|
previous: z.ZodObject<{
|
|
6129
6178
|
enabled: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>;
|
|
@@ -6346,6 +6395,70 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
6346
6395
|
issuerUrl: z.ZodOptional<z.ZodString>;
|
|
6347
6396
|
policyId: z.ZodOptional<z.ZodString>;
|
|
6348
6397
|
oidcSubject: z.ZodOptional<z.ZodString>;
|
|
6398
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6399
|
+
policy: z.ZodObject<{
|
|
6400
|
+
policyId: z.ZodString;
|
|
6401
|
+
clientId: z.ZodString;
|
|
6402
|
+
issuerUrl: z.ZodString;
|
|
6403
|
+
teamId: z.ZodString;
|
|
6404
|
+
name: z.ZodNullable<z.ZodString>;
|
|
6405
|
+
claims: z.ZodArray<z.ZodObject<{
|
|
6406
|
+
name: z.ZodString;
|
|
6407
|
+
values: z.ZodArray<z.ZodObject<{
|
|
6408
|
+
value: z.ZodString;
|
|
6409
|
+
wildcards: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>;
|
|
6410
|
+
}, z.core.$strip>>;
|
|
6411
|
+
}, z.core.$strip>>;
|
|
6412
|
+
permissions: z.ZodArray<z.ZodString>;
|
|
6413
|
+
resources: z.ZodNullable<z.ZodObject<{
|
|
6414
|
+
projectIds: z.ZodArray<z.ZodString>;
|
|
6415
|
+
}, z.core.$strip>>;
|
|
6416
|
+
createdAt: z.ZodNumber;
|
|
6417
|
+
updatedAt: z.ZodNumber;
|
|
6418
|
+
}, z.core.$strip>;
|
|
6419
|
+
appName: z.ZodOptional<z.ZodString>;
|
|
6420
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6421
|
+
before: z.ZodObject<{
|
|
6422
|
+
policyId: z.ZodString;
|
|
6423
|
+
clientId: z.ZodString;
|
|
6424
|
+
issuerUrl: z.ZodString;
|
|
6425
|
+
teamId: z.ZodString;
|
|
6426
|
+
name: z.ZodNullable<z.ZodString>;
|
|
6427
|
+
claims: z.ZodArray<z.ZodObject<{
|
|
6428
|
+
name: z.ZodString;
|
|
6429
|
+
values: z.ZodArray<z.ZodObject<{
|
|
6430
|
+
value: z.ZodString;
|
|
6431
|
+
wildcards: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>;
|
|
6432
|
+
}, z.core.$strip>>;
|
|
6433
|
+
}, z.core.$strip>>;
|
|
6434
|
+
permissions: z.ZodArray<z.ZodString>;
|
|
6435
|
+
resources: z.ZodNullable<z.ZodObject<{
|
|
6436
|
+
projectIds: z.ZodArray<z.ZodString>;
|
|
6437
|
+
}, z.core.$strip>>;
|
|
6438
|
+
createdAt: z.ZodNumber;
|
|
6439
|
+
updatedAt: z.ZodNumber;
|
|
6440
|
+
}, z.core.$strip>;
|
|
6441
|
+
after: z.ZodObject<{
|
|
6442
|
+
policyId: z.ZodString;
|
|
6443
|
+
clientId: z.ZodString;
|
|
6444
|
+
issuerUrl: z.ZodString;
|
|
6445
|
+
teamId: z.ZodString;
|
|
6446
|
+
name: z.ZodNullable<z.ZodString>;
|
|
6447
|
+
claims: z.ZodArray<z.ZodObject<{
|
|
6448
|
+
name: z.ZodString;
|
|
6449
|
+
values: z.ZodArray<z.ZodObject<{
|
|
6450
|
+
value: z.ZodString;
|
|
6451
|
+
wildcards: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>;
|
|
6452
|
+
}, z.core.$strip>>;
|
|
6453
|
+
}, z.core.$strip>>;
|
|
6454
|
+
permissions: z.ZodArray<z.ZodString>;
|
|
6455
|
+
resources: z.ZodNullable<z.ZodObject<{
|
|
6456
|
+
projectIds: z.ZodArray<z.ZodString>;
|
|
6457
|
+
}, z.core.$strip>>;
|
|
6458
|
+
createdAt: z.ZodNumber;
|
|
6459
|
+
updatedAt: z.ZodNumber;
|
|
6460
|
+
}, z.core.$strip>;
|
|
6461
|
+
appName: z.ZodOptional<z.ZodString>;
|
|
6349
6462
|
}, z.core.$strict>, z.ZodObject<{
|
|
6350
6463
|
tokenId: z.ZodString;
|
|
6351
6464
|
tokenPrefix: z.ZodOptional<z.ZodEnum<{
|
|
@@ -6761,6 +6874,10 @@ declare const listEventTypeSchema: z.ZodObject<{
|
|
|
6761
6874
|
"observability-enabled": "observability-enabled";
|
|
6762
6875
|
"observability-plus-project-disabled": "observability-plus-project-disabled";
|
|
6763
6876
|
"observability-plus-project-enabled": "observability-plus-project-enabled";
|
|
6877
|
+
"oidc-policy-created": "oidc-policy-created";
|
|
6878
|
+
"oidc-policy-deleted": "oidc-policy-deleted";
|
|
6879
|
+
"oidc-policy-updated": "oidc-policy-updated";
|
|
6880
|
+
"oidc-policy-used-to-obtain-app-token": "oidc-policy-used-to-obtain-app-token";
|
|
6764
6881
|
"organization-create": "organization-create";
|
|
6765
6882
|
"organization-delete": "organization-delete";
|
|
6766
6883
|
"organization-slug-update": "organization-slug-update";
|
|
@@ -6809,6 +6926,7 @@ declare const listEventTypeSchema: z.ZodObject<{
|
|
|
6809
6926
|
"project-build-command-updated": "project-build-command-updated";
|
|
6810
6927
|
"project-build-logs-and-source-protection-updated": "project-build-logs-and-source-protection-updated";
|
|
6811
6928
|
"project-build-machine-updated": "project-build-machine-updated";
|
|
6929
|
+
"project-card-widget-preference-updated": "project-card-widget-preference-updated";
|
|
6812
6930
|
"project-client-cert-delete": "project-client-cert-delete";
|
|
6813
6931
|
"project-client-cert-upload": "project-client-cert-upload";
|
|
6814
6932
|
"project-connect-configurations": "project-connect-configurations";
|
|
@@ -7021,7 +7139,9 @@ declare const listEventTypeSchema: z.ZodObject<{
|
|
|
7021
7139
|
"user-emu-account-archived": "user-emu-account-archived";
|
|
7022
7140
|
"user-emu-account-deleted": "user-emu-account-deleted";
|
|
7023
7141
|
"user-emu-account-recovered": "user-emu-account-recovered";
|
|
7142
|
+
"user-mfa-challenge-failed": "user-mfa-challenge-failed";
|
|
7024
7143
|
"user-mfa-challenge-verified": "user-mfa-challenge-verified";
|
|
7144
|
+
"user-mfa-change-failed": "user-mfa-change-failed";
|
|
7025
7145
|
"user-mfa-configuration-updated": "user-mfa-configuration-updated";
|
|
7026
7146
|
"user-mfa-recovery-codes-regenerated": "user-mfa-recovery-codes-regenerated";
|
|
7027
7147
|
"user-mfa-removed": "user-mfa-removed";
|
|
@@ -7366,6 +7486,10 @@ declare const listEventTypeSchema: z.ZodObject<{
|
|
|
7366
7486
|
"observability-enabled": "observability-enabled";
|
|
7367
7487
|
"observability-plus-project-disabled": "observability-plus-project-disabled";
|
|
7368
7488
|
"observability-plus-project-enabled": "observability-plus-project-enabled";
|
|
7489
|
+
"oidc-policy-created": "oidc-policy-created";
|
|
7490
|
+
"oidc-policy-deleted": "oidc-policy-deleted";
|
|
7491
|
+
"oidc-policy-updated": "oidc-policy-updated";
|
|
7492
|
+
"oidc-policy-used-to-obtain-app-token": "oidc-policy-used-to-obtain-app-token";
|
|
7369
7493
|
"organization-create": "organization-create";
|
|
7370
7494
|
"organization-delete": "organization-delete";
|
|
7371
7495
|
"organization-slug-update": "organization-slug-update";
|
|
@@ -7414,6 +7538,7 @@ declare const listEventTypeSchema: z.ZodObject<{
|
|
|
7414
7538
|
"project-build-command-updated": "project-build-command-updated";
|
|
7415
7539
|
"project-build-logs-and-source-protection-updated": "project-build-logs-and-source-protection-updated";
|
|
7416
7540
|
"project-build-machine-updated": "project-build-machine-updated";
|
|
7541
|
+
"project-card-widget-preference-updated": "project-card-widget-preference-updated";
|
|
7417
7542
|
"project-client-cert-delete": "project-client-cert-delete";
|
|
7418
7543
|
"project-client-cert-upload": "project-client-cert-upload";
|
|
7419
7544
|
"project-connect-configurations": "project-connect-configurations";
|
|
@@ -7626,7 +7751,9 @@ declare const listEventTypeSchema: z.ZodObject<{
|
|
|
7626
7751
|
"user-emu-account-archived": "user-emu-account-archived";
|
|
7627
7752
|
"user-emu-account-deleted": "user-emu-account-deleted";
|
|
7628
7753
|
"user-emu-account-recovered": "user-emu-account-recovered";
|
|
7754
|
+
"user-mfa-challenge-failed": "user-mfa-challenge-failed";
|
|
7629
7755
|
"user-mfa-challenge-verified": "user-mfa-challenge-verified";
|
|
7756
|
+
"user-mfa-change-failed": "user-mfa-change-failed";
|
|
7630
7757
|
"user-mfa-configuration-updated": "user-mfa-configuration-updated";
|
|
7631
7758
|
"user-mfa-recovery-codes-regenerated": "user-mfa-recovery-codes-regenerated";
|
|
7632
7759
|
"user-mfa-removed": "user-mfa-removed";
|
|
@@ -8437,6 +8564,7 @@ declare const teamSchema: z.ZodObject<{
|
|
|
8437
8564
|
}, z.core.$strip>>;
|
|
8438
8565
|
buildMachine: z.ZodOptional<z.ZodObject<{
|
|
8439
8566
|
default: z.ZodOptional<z.ZodEnum<{
|
|
8567
|
+
basic: "basic";
|
|
8440
8568
|
elastic: "elastic";
|
|
8441
8569
|
enhanced: "enhanced";
|
|
8442
8570
|
standard: "standard";
|