@vibexp/api-client 0.71.0 → 0.72.0

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.
@@ -2101,9 +2101,14 @@ export declare const createProject: <ThrowOnError extends boolean = false>(optio
2101
2101
  */
2102
2102
  export declare const deleteProject: <ThrowOnError extends boolean = false>(options: Options<DeleteProjectData, ThrowOnError>) => RequestResult<DeleteProjectResponses, DeleteProjectErrors, ThrowOnError>;
2103
2103
  /**
2104
- * Get project by slug
2104
+ * Get project by slug or ID
2105
+ *
2106
+ * Returns a single project within the specified team, identified by its
2107
+ * URL-encoded slug. When no project has that slug and the value is a UUID,
2108
+ * it is resolved as the project ID instead, so a client that persisted a
2109
+ * project's ID can look it up directly. A slug match always takes
2110
+ * precedence, and a project ID belonging to another team returns 404.
2105
2111
  *
2106
- * Returns a single project identified by its URL-encoded slug within the specified team.
2107
2112
  */
2108
2113
  export declare const getProject: <ThrowOnError extends boolean = false>(options: Options<GetProjectData, ThrowOnError>) => RequestResult<GetProjectResponses, GetProjectErrors, ThrowOnError>;
2109
2114
  /**
@@ -5059,9 +5059,14 @@ export const deleteProject = (options) => (options.client ?? client).delete({
5059
5059
  ...options
5060
5060
  });
5061
5061
  /**
5062
- * Get project by slug
5062
+ * Get project by slug or ID
5063
+ *
5064
+ * Returns a single project within the specified team, identified by its
5065
+ * URL-encoded slug. When no project has that slug and the value is a UUID,
5066
+ * it is resolved as the project ID instead, so a client that persisted a
5067
+ * project's ID can look it up directly. A slug match always takes
5068
+ * precedence, and a project ID belonging to another team returns 404.
5063
5069
  *
5064
- * Returns a single project identified by its URL-encoded slug within the specified team.
5065
5070
  */
5066
5071
  export const getProject = (options) => (options.client ?? client).get({
5067
5072
  responseType: 'json',
@@ -14980,7 +14980,7 @@ export type GetProjectData = {
14980
14980
  */
14981
14981
  team_id: string;
14982
14982
  /**
14983
- * Project slug (URL-encoded)
14983
+ * Project slug (URL-encoded), or the project ID (UUID) when no project has that slug
14984
14984
  */
14985
14985
  slug: string;
14986
14986
  };
package/dist/schema.d.ts CHANGED
@@ -4282,8 +4282,12 @@ export interface paths {
4282
4282
  cookie?: never;
4283
4283
  };
4284
4284
  /**
4285
- * Get project by slug
4286
- * @description Returns a single project identified by its URL-encoded slug within the specified team.
4285
+ * Get project by slug or ID
4286
+ * @description Returns a single project within the specified team, identified by its
4287
+ * URL-encoded slug. When no project has that slug and the value is a UUID,
4288
+ * it is resolved as the project ID instead, so a client that persisted a
4289
+ * project's ID can look it up directly. A slug match always takes
4290
+ * precedence, and a project ID belonging to another team returns 404.
4287
4291
  */
4288
4292
  get: operations["getProject"];
4289
4293
  /**
@@ -25148,7 +25152,7 @@ export interface operations {
25148
25152
  path: {
25149
25153
  /** @description Team identifier */
25150
25154
  team_id: string;
25151
- /** @description Project slug (URL-encoded) */
25155
+ /** @description Project slug (URL-encoded), or the project ID (UUID) when no project has that slug */
25152
25156
  slug: string;
25153
25157
  };
25154
25158
  cookie?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibexp/api-client",
3
- "version": "0.71.0",
3
+ "version": "0.72.0",
4
4
  "description": "Typed VibeXP API client generated from the OpenAPI spec (openapi-fetch main entrypoint, axios SDK at ./axios)",
5
5
  "license": "MIT",
6
6
  "repository": {