vercel-api-js 0.23.3 → 0.23.4

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > vercel-api-js@0.23.3 build /home/runner/work/openapi-clients/openapi-clients/packages/vercel-api-js
2
+ > vercel-api-js@0.23.4 build /home/runner/work/openapi-clients/openapi-clients/packages/vercel-api-js
3
3
  > unbuild
4
4
 
5
5
  [info] Automatically detected entries: src/index [esm] [cjs] [dts]
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # vercel-api-js
2
2
 
3
+ ## 0.23.4
4
+
5
+ ### Patch Changes
6
+
7
+ - c39ff4a: [BREAKING] Change structure of favoriteProjectsAndSpaces in UserEvent and AuthUser
8
+
3
9
  ## 0.23.3
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.cts CHANGED
@@ -890,17 +890,10 @@ type UserEvent = {
890
890
  createdAt: number;
891
891
  }[];
892
892
  }[];
893
- favoriteProjectsAndSpaces?: ({
893
+ favoriteProjectsAndSpaces?: {
894
+ teamId: string;
894
895
  projectId: string;
895
- scopeSlug: string;
896
- scopeId: string;
897
- teamId?: string;
898
- } | {
899
- spaceId: string;
900
- scopeSlug: string;
901
- scopeId: string;
902
- teamId?: string;
903
- })[];
896
+ }[];
904
897
  email: string;
905
898
  id: string;
906
899
  importFlowGitNamespace?: string | number | null;
@@ -2560,17 +2553,10 @@ type AuthUser = {
2560
2553
  /**
2561
2554
  * A list of projects and spaces across teams that a user has marked as a favorite.
2562
2555
  */
2563
- favoriteProjectsAndSpaces?: ({
2556
+ favoriteProjectsAndSpaces?: {
2557
+ teamId: string;
2564
2558
  projectId: string;
2565
- scopeSlug: string;
2566
- scopeId: string;
2567
- teamId?: string;
2568
- } | {
2569
- spaceId: string;
2570
- scopeSlug: string;
2571
- scopeId: string;
2572
- teamId?: string;
2573
- })[];
2559
+ }[];
2574
2560
  /**
2575
2561
  * Whether the user has a trial available for a paid plan subscription.
2576
2562
  */
package/dist/index.d.mts CHANGED
@@ -890,17 +890,10 @@ type UserEvent = {
890
890
  createdAt: number;
891
891
  }[];
892
892
  }[];
893
- favoriteProjectsAndSpaces?: ({
893
+ favoriteProjectsAndSpaces?: {
894
+ teamId: string;
894
895
  projectId: string;
895
- scopeSlug: string;
896
- scopeId: string;
897
- teamId?: string;
898
- } | {
899
- spaceId: string;
900
- scopeSlug: string;
901
- scopeId: string;
902
- teamId?: string;
903
- })[];
896
+ }[];
904
897
  email: string;
905
898
  id: string;
906
899
  importFlowGitNamespace?: string | number | null;
@@ -2560,17 +2553,10 @@ type AuthUser = {
2560
2553
  /**
2561
2554
  * A list of projects and spaces across teams that a user has marked as a favorite.
2562
2555
  */
2563
- favoriteProjectsAndSpaces?: ({
2556
+ favoriteProjectsAndSpaces?: {
2557
+ teamId: string;
2564
2558
  projectId: string;
2565
- scopeSlug: string;
2566
- scopeId: string;
2567
- teamId?: string;
2568
- } | {
2569
- spaceId: string;
2570
- scopeSlug: string;
2571
- scopeId: string;
2572
- teamId?: string;
2573
- })[];
2559
+ }[];
2574
2560
  /**
2575
2561
  * Whether the user has a trial available for a paid plan subscription.
2576
2562
  */
package/dist/index.d.ts CHANGED
@@ -890,17 +890,10 @@ type UserEvent = {
890
890
  createdAt: number;
891
891
  }[];
892
892
  }[];
893
- favoriteProjectsAndSpaces?: ({
893
+ favoriteProjectsAndSpaces?: {
894
+ teamId: string;
894
895
  projectId: string;
895
- scopeSlug: string;
896
- scopeId: string;
897
- teamId?: string;
898
- } | {
899
- spaceId: string;
900
- scopeSlug: string;
901
- scopeId: string;
902
- teamId?: string;
903
- })[];
896
+ }[];
904
897
  email: string;
905
898
  id: string;
906
899
  importFlowGitNamespace?: string | number | null;
@@ -2560,17 +2553,10 @@ type AuthUser = {
2560
2553
  /**
2561
2554
  * A list of projects and spaces across teams that a user has marked as a favorite.
2562
2555
  */
2563
- favoriteProjectsAndSpaces?: ({
2556
+ favoriteProjectsAndSpaces?: {
2557
+ teamId: string;
2564
2558
  projectId: string;
2565
- scopeSlug: string;
2566
- scopeId: string;
2567
- teamId?: string;
2568
- } | {
2569
- spaceId: string;
2570
- scopeSlug: string;
2571
- scopeId: string;
2572
- teamId?: string;
2573
- })[];
2559
+ }[];
2574
2560
  /**
2575
2561
  * Whether the user has a trial available for a paid plan subscription.
2576
2562
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vercel-api-js",
3
- "version": "0.23.3",
3
+ "version": "0.23.4",
4
4
  "description": "Vercel auto-generated type-safe API client",
5
5
  "author": "SferaDev",
6
6
  "license": "ISC",