vercel-api-js 1.16.0 → 1.16.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/index.cjs +2 -1
- package/dist/index.d.ts +40 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{schemas-tv2viiu8.cjs → schemas-ftf6cy1n.cjs} +25 -0
- package/dist/{schemas-mg9u0zgi.js → schemas-nphw7q3u.js} +25 -0
- package/dist/schemas.cjs +1 -1
- package/dist/schemas.d.mts +18 -0
- package/dist/schemas.d.mts.map +1 -1
- package/dist/schemas.mjs +1 -1
- package/dist/types.cjs +13 -0
- package/dist/types.d.mts +22 -2
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs +13 -1
- package/package.json +1 -1
|
@@ -1869,6 +1869,7 @@ const userEventSchema = z__namespace.object({
|
|
|
1869
1869
|
"organization-delete",
|
|
1870
1870
|
"organization-dsync-group-delete",
|
|
1871
1871
|
"organization-dsync-group-upsert",
|
|
1872
|
+
"organization-emu-updated",
|
|
1872
1873
|
"organization-slug-update",
|
|
1873
1874
|
"organization-team-add",
|
|
1874
1875
|
"organization-team-create",
|
|
@@ -6968,6 +6969,28 @@ const userEventSchema = z__namespace.object({
|
|
|
6968
6969
|
directoryId: z__namespace.string(),
|
|
6969
6970
|
organizationId: z__namespace.string()
|
|
6970
6971
|
}).strict(),
|
|
6972
|
+
z__namespace.object({
|
|
6973
|
+
organizationId: z__namespace.string(),
|
|
6974
|
+
previousEnabled: z__namespace.union([
|
|
6975
|
+
z__namespace.literal(false),
|
|
6976
|
+
z__namespace.literal(true)
|
|
6977
|
+
]),
|
|
6978
|
+
enabled: z__namespace.union([
|
|
6979
|
+
z__namespace.literal(false),
|
|
6980
|
+
z__namespace.literal(true)
|
|
6981
|
+
]),
|
|
6982
|
+
enforcedTeamIds: z__namespace.array(z__namespace.string()),
|
|
6983
|
+
unenforcedTeamIds: z__namespace.array(z__namespace.string()),
|
|
6984
|
+
trigger: z__namespace.enum([
|
|
6985
|
+
"directory_sync_updated",
|
|
6986
|
+
"domain_deleted",
|
|
6987
|
+
"domain_verified",
|
|
6988
|
+
"saml_updated",
|
|
6989
|
+
"team_attached",
|
|
6990
|
+
"team_participation_updated",
|
|
6991
|
+
"toggle"
|
|
6992
|
+
])
|
|
6993
|
+
}).strict(),
|
|
6971
6994
|
z__namespace.object({
|
|
6972
6995
|
organizationId: z__namespace.string(),
|
|
6973
6996
|
slug: z__namespace.string()
|
|
@@ -10647,6 +10670,7 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
10647
10670
|
"organization-delete",
|
|
10648
10671
|
"organization-dsync-group-delete",
|
|
10649
10672
|
"organization-dsync-group-upsert",
|
|
10673
|
+
"organization-emu-updated",
|
|
10650
10674
|
"organization-slug-update",
|
|
10651
10675
|
"organization-team-add",
|
|
10652
10676
|
"organization-team-create",
|
|
@@ -11367,6 +11391,7 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
11367
11391
|
"organization-delete",
|
|
11368
11392
|
"organization-dsync-group-delete",
|
|
11369
11393
|
"organization-dsync-group-upsert",
|
|
11394
|
+
"organization-emu-updated",
|
|
11370
11395
|
"organization-slug-update",
|
|
11371
11396
|
"organization-team-add",
|
|
11372
11397
|
"organization-team-create",
|
|
@@ -1849,6 +1849,7 @@ const userEventSchema = z.object({
|
|
|
1849
1849
|
"organization-delete",
|
|
1850
1850
|
"organization-dsync-group-delete",
|
|
1851
1851
|
"organization-dsync-group-upsert",
|
|
1852
|
+
"organization-emu-updated",
|
|
1852
1853
|
"organization-slug-update",
|
|
1853
1854
|
"organization-team-add",
|
|
1854
1855
|
"organization-team-create",
|
|
@@ -6948,6 +6949,28 @@ const userEventSchema = z.object({
|
|
|
6948
6949
|
directoryId: z.string(),
|
|
6949
6950
|
organizationId: z.string()
|
|
6950
6951
|
}).strict(),
|
|
6952
|
+
z.object({
|
|
6953
|
+
organizationId: z.string(),
|
|
6954
|
+
previousEnabled: z.union([
|
|
6955
|
+
z.literal(false),
|
|
6956
|
+
z.literal(true)
|
|
6957
|
+
]),
|
|
6958
|
+
enabled: z.union([
|
|
6959
|
+
z.literal(false),
|
|
6960
|
+
z.literal(true)
|
|
6961
|
+
]),
|
|
6962
|
+
enforcedTeamIds: z.array(z.string()),
|
|
6963
|
+
unenforcedTeamIds: z.array(z.string()),
|
|
6964
|
+
trigger: z.enum([
|
|
6965
|
+
"directory_sync_updated",
|
|
6966
|
+
"domain_deleted",
|
|
6967
|
+
"domain_verified",
|
|
6968
|
+
"saml_updated",
|
|
6969
|
+
"team_attached",
|
|
6970
|
+
"team_participation_updated",
|
|
6971
|
+
"toggle"
|
|
6972
|
+
])
|
|
6973
|
+
}).strict(),
|
|
6951
6974
|
z.object({
|
|
6952
6975
|
organizationId: z.string(),
|
|
6953
6976
|
slug: z.string()
|
|
@@ -10627,6 +10650,7 @@ const listEventTypeSchema = z.object({
|
|
|
10627
10650
|
"organization-delete",
|
|
10628
10651
|
"organization-dsync-group-delete",
|
|
10629
10652
|
"organization-dsync-group-upsert",
|
|
10653
|
+
"organization-emu-updated",
|
|
10630
10654
|
"organization-slug-update",
|
|
10631
10655
|
"organization-team-add",
|
|
10632
10656
|
"organization-team-create",
|
|
@@ -11347,6 +11371,7 @@ const listEventTypeSchema = z.object({
|
|
|
11347
11371
|
"organization-delete",
|
|
11348
11372
|
"organization-dsync-group-delete",
|
|
11349
11373
|
"organization-dsync-group-upsert",
|
|
11374
|
+
"organization-emu-updated",
|
|
11350
11375
|
"organization-slug-update",
|
|
11351
11376
|
"organization-team-add",
|
|
11352
11377
|
"organization-team-create",
|
package/dist/schemas.cjs
CHANGED
package/dist/schemas.d.mts
CHANGED
|
@@ -1553,6 +1553,7 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
1553
1553
|
"organization-delete": "organization-delete";
|
|
1554
1554
|
"organization-dsync-group-delete": "organization-dsync-group-delete";
|
|
1555
1555
|
"organization-dsync-group-upsert": "organization-dsync-group-upsert";
|
|
1556
|
+
"organization-emu-updated": "organization-emu-updated";
|
|
1556
1557
|
"organization-slug-update": "organization-slug-update";
|
|
1557
1558
|
"organization-team-add": "organization-team-add";
|
|
1558
1559
|
"organization-team-create": "organization-team-create";
|
|
@@ -5739,6 +5740,21 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
5739
5740
|
directoryGroupId: z.ZodString;
|
|
5740
5741
|
directoryId: z.ZodString;
|
|
5741
5742
|
organizationId: z.ZodString;
|
|
5743
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5744
|
+
organizationId: z.ZodString;
|
|
5745
|
+
previousEnabled: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>;
|
|
5746
|
+
enabled: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>;
|
|
5747
|
+
enforcedTeamIds: z.ZodArray<z.ZodString>;
|
|
5748
|
+
unenforcedTeamIds: z.ZodArray<z.ZodString>;
|
|
5749
|
+
trigger: z.ZodEnum<{
|
|
5750
|
+
directory_sync_updated: "directory_sync_updated";
|
|
5751
|
+
domain_deleted: "domain_deleted";
|
|
5752
|
+
domain_verified: "domain_verified";
|
|
5753
|
+
saml_updated: "saml_updated";
|
|
5754
|
+
team_attached: "team_attached";
|
|
5755
|
+
team_participation_updated: "team_participation_updated";
|
|
5756
|
+
toggle: "toggle";
|
|
5757
|
+
}>;
|
|
5742
5758
|
}, z.core.$strict>, z.ZodObject<{
|
|
5743
5759
|
organizationId: z.ZodString;
|
|
5744
5760
|
slug: z.ZodString;
|
|
@@ -8752,6 +8768,7 @@ declare const listEventTypeSchema: z.ZodObject<{
|
|
|
8752
8768
|
"organization-delete": "organization-delete";
|
|
8753
8769
|
"organization-dsync-group-delete": "organization-dsync-group-delete";
|
|
8754
8770
|
"organization-dsync-group-upsert": "organization-dsync-group-upsert";
|
|
8771
|
+
"organization-emu-updated": "organization-emu-updated";
|
|
8755
8772
|
"organization-slug-update": "organization-slug-update";
|
|
8756
8773
|
"organization-team-add": "organization-team-add";
|
|
8757
8774
|
"organization-team-create": "organization-team-create";
|
|
@@ -9459,6 +9476,7 @@ declare const listEventTypeSchema: z.ZodObject<{
|
|
|
9459
9476
|
"organization-delete": "organization-delete";
|
|
9460
9477
|
"organization-dsync-group-delete": "organization-dsync-group-delete";
|
|
9461
9478
|
"organization-dsync-group-upsert": "organization-dsync-group-upsert";
|
|
9479
|
+
"organization-emu-updated": "organization-emu-updated";
|
|
9462
9480
|
"organization-slug-update": "organization-slug-update";
|
|
9463
9481
|
"organization-team-add": "organization-team-add";
|
|
9464
9482
|
"organization-team-create": "organization-team-create";
|