@vibexp/api-client 0.85.0 → 0.87.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.
package/dist/schema.d.ts CHANGED
@@ -2988,6 +2988,14 @@ export interface paths {
2988
2988
  * `owner` is the project's creator (`projects.user_id`), which is not
2989
2989
  * necessarily the owning team's owner.
2990
2990
  *
2991
+ * Resource counts cover exactly the five PROJECT-SCOPED types, the tables
2992
+ * that carry a direct `project_id`: prompts, memories, artifacts, blueprints
2993
+ * and feed items (a feed item posted without a project counts for none).
2994
+ * Agents and feeds are team-scoped and have no project association;
2995
+ * comments and attachments reach a project only indirectly, through the
2996
+ * resource they belong to. All four are therefore excluded from every count,
2997
+ * count filter, sort and `last_resource_created_at`.
2998
+ *
2991
2999
  * Instance-admin only; non-admin and unauthenticated requests receive 404.
2992
3000
  */
2993
3001
  get: operations["listAdminProjects"];
@@ -3010,8 +3018,9 @@ export interface paths {
3010
3018
  * Get an instance project
3011
3019
  * @description Returns one project with its owning team, its creator, and how many of each
3012
3020
  * PROJECT-SCOPED resource type it contains (prompts, artifacts, memories,
3013
- * blueprints). Agents and feeds are not included because they are team-scoped
3014
- * and have no project association.
3021
+ * blueprints, feed items) plus their total. Agents and feeds are not included
3022
+ * because they are team-scoped and have no project association; comments and
3023
+ * attachments are not included because they reach a project only indirectly.
3015
3024
  *
3016
3025
  * Instance-admin only; non-admin and unauthenticated requests receive 404, as
3017
3026
  * does an unknown project id.
@@ -3203,6 +3212,134 @@ export interface paths {
3203
3212
  patch?: never;
3204
3213
  trace?: never;
3205
3214
  };
3215
+ "/api/v1/admin/projects/{id}/resource-creation-metrics": {
3216
+ parameters: {
3217
+ query?: never;
3218
+ header?: never;
3219
+ path?: never;
3220
+ cookie?: never;
3221
+ };
3222
+ /**
3223
+ * Get a project's resource creation series
3224
+ * @description Returns how many resources of each PROJECT-SCOPED type (prompts, memories,
3225
+ * artifacts, blueprints, feed items) were created in the project per bucket
3226
+ * over a time range. Only resources that currently belong to the project are
3227
+ * counted: deleted resources drop out, and a resource moved in by a project
3228
+ * migration counts here from its original creation time. Omitting the
3229
+ * parameters yields the last 30 days at `day` granularity, and the range
3230
+ * rules match getAdminDashboardTimeseries. Every bucket is present with an
3231
+ * explicit 0 for every type.
3232
+ *
3233
+ * Instance-admin only; non-admin and unauthenticated requests receive 404, as
3234
+ * does an unknown project id.
3235
+ */
3236
+ get: operations["getAdminProjectResourceCreationMetrics"];
3237
+ put?: never;
3238
+ post?: never;
3239
+ delete?: never;
3240
+ options?: never;
3241
+ head?: never;
3242
+ patch?: never;
3243
+ trace?: never;
3244
+ };
3245
+ "/api/v1/admin/projects/{id}/resource-access-metrics": {
3246
+ parameters: {
3247
+ query?: never;
3248
+ header?: never;
3249
+ path?: never;
3250
+ cookie?: never;
3251
+ };
3252
+ /**
3253
+ * Get a project's resource access series by source
3254
+ * @description Returns how many times the project's resources (prompts, artifacts,
3255
+ * blueprints, memories) and the project itself were accessed (opened) per
3256
+ * bucket and per access source (web, cli, mcp, api). Omitting the parameters
3257
+ * yields the last 30 days at `day` granularity, and the range rules match
3258
+ * getAdminDashboardTimeseries. Every bucket is present with an explicit 0 for
3259
+ * each source that appears in the range.
3260
+ *
3261
+ * Access events carry no project, so an event is attributed to the project
3262
+ * its resource belongs to NOW: accesses to a since-deleted resource drop out,
3263
+ * and a resource moved in by a project migration brings its whole access
3264
+ * history with it. Agents are team-scoped and never count. Access events are
3265
+ * also TTL-pruned (`retention.access_event_days`), so a range reaching back
3266
+ * before `earliest_retained_at` reads as zeros there.
3267
+ *
3268
+ * Instance-admin only; non-admin and unauthenticated requests receive 404, as
3269
+ * does an unknown project id.
3270
+ */
3271
+ get: operations["getAdminProjectResourceAccessMetrics"];
3272
+ put?: never;
3273
+ post?: never;
3274
+ delete?: never;
3275
+ options?: never;
3276
+ head?: never;
3277
+ patch?: never;
3278
+ trace?: never;
3279
+ };
3280
+ "/api/v1/admin/projects/{id}/top-accessed-resources": {
3281
+ parameters: {
3282
+ query?: never;
3283
+ header?: never;
3284
+ path?: never;
3285
+ cookie?: never;
3286
+ };
3287
+ /**
3288
+ * Get a project's most-accessed resources
3289
+ * @description Returns the project's resources (prompts, artifacts, blueprints, memories)
3290
+ * accessed most often in a time range, ranked by access count (ties broken
3291
+ * by resource id). Rows are OPAQUE: resource type, team, project and the
3292
+ * first 8 characters of the resource id — never a title, slug or content.
3293
+ * Opening the project page itself counts in the access series but is not
3294
+ * listed here, and `resource_deleted` is always `false`: attribution is by
3295
+ * the resource's CURRENT project, so a deleted resource has none and drops
3296
+ * out.
3297
+ *
3298
+ * `from` defaults to 30 days before `to`, and `to` to now. Access events are
3299
+ * TTL-pruned (`retention.access_event_days`), so accesses before
3300
+ * `earliest_retained_at` are not counted.
3301
+ *
3302
+ * Instance-admin only; non-admin and unauthenticated requests receive 404, as
3303
+ * does an unknown project id.
3304
+ */
3305
+ get: operations["getAdminProjectTopAccessedResources"];
3306
+ put?: never;
3307
+ post?: never;
3308
+ delete?: never;
3309
+ options?: never;
3310
+ head?: never;
3311
+ patch?: never;
3312
+ trace?: never;
3313
+ };
3314
+ "/api/v1/admin/projects/{id}/config": {
3315
+ parameters: {
3316
+ query?: never;
3317
+ header?: never;
3318
+ path?: never;
3319
+ cookie?: never;
3320
+ };
3321
+ /**
3322
+ * Get a project's configuration
3323
+ * @description Returns the configuration that applies to the project. Projects have no
3324
+ * settings of their own, so today this is the freshness rules that govern
3325
+ * it, split in two: the rules scoped to this project, and the team-wide
3326
+ * rules (no project scope) that apply to every project of its team. Rules
3327
+ * combine cumulatively, so both lists apply. Rules scoped to other projects
3328
+ * of the team are never included. The team's freshness settings live in
3329
+ * getAdminTeamFreshnessConfig. Read-only.
3330
+ *
3331
+ * Instance-admin only; non-admin and unauthenticated requests receive 404, as
3332
+ * does an unknown project id.
3333
+ */
3334
+ get: operations["getAdminProjectConfig"];
3335
+ put?: never;
3336
+ post?: never;
3337
+ delete?: never;
3338
+ options?: never;
3339
+ head?: never;
3340
+ patch?: never;
3341
+ trace?: never;
3342
+ };
3206
3343
  "/api/v1/{team_id}/comments": {
3207
3344
  parameters: {
3208
3345
  query?: never;
@@ -11310,6 +11447,14 @@ export interface components {
11310
11447
  created_at: string;
11311
11448
  /** Format: date-time */
11312
11449
  updated_at: string;
11450
+ resource_counts: components["schemas"]["AdminProjectResourceCounts"];
11451
+ /**
11452
+ * Format: date-time
11453
+ * @description When the project's most recent project-scoped resource (any of the five
11454
+ * types counted in resource_counts) was created; null for a project with
11455
+ * none.
11456
+ */
11457
+ last_resource_created_at: string | null;
11313
11458
  };
11314
11459
  /** @description A page of the instance-wide project listing. */
11315
11460
  AdminProjectListResponse: {
@@ -11328,12 +11473,17 @@ export interface components {
11328
11473
  total_pages: number;
11329
11474
  };
11330
11475
  /**
11331
- * @description How many of each PROJECT-SCOPED resource type the project contains.
11476
+ * @description How many of each PROJECT-SCOPED resource type the project contains, plus
11477
+ * their total. Shared by the project listing and the project detail, which
11478
+ * always agree.
11332
11479
  *
11333
- * Only these four types belong to a project. Agents and feeds are deliberately
11334
- * absent: neither table has a project_id column (both are team-scoped), so
11335
- * reporting zero for them would read as "this project has no agents" rather
11336
- * than "agents do not belong to projects".
11480
+ * Only the five tables with a direct project_id belong to a project: prompts,
11481
+ * artifacts, memories, blueprints and feed items (a feed item posted without
11482
+ * a project counts for none). Agents and feeds are deliberately absent: both
11483
+ * are team-scoped and have no project_id, so reporting zero for them would
11484
+ * read as "this project has no agents" rather than "agents do not belong to
11485
+ * projects". Comments and attachments are absent too: they reach a project
11486
+ * only indirectly, through the resource they are attached to.
11337
11487
  */
11338
11488
  AdminProjectResourceCounts: {
11339
11489
  /**
@@ -11356,6 +11506,17 @@ export interface components {
11356
11506
  * @example 3
11357
11507
  */
11358
11508
  blueprints: number;
11509
+ /**
11510
+ * Format: int64
11511
+ * @example 9
11512
+ */
11513
+ feed_items: number;
11514
+ /**
11515
+ * Format: int64
11516
+ * @description Sum of the five project-scoped counts.
11517
+ * @example 55
11518
+ */
11519
+ total: number;
11359
11520
  };
11360
11521
  /** @description A single project with its team, owner and resource counts (GET /api/v1/admin/projects/{id}). */
11361
11522
  AdminProjectDetail: {
@@ -11563,7 +11724,8 @@ export interface components {
11563
11724
  };
11564
11725
  /**
11565
11726
  * @description One opaque most-accessed resource: its type, where it lives and how often
11566
- * the user accessed it. Deliberately carries no title, slug or content — only
11727
+ * the user accessed it (or, for a project, how often it was accessed).
11728
+ * Deliberately carries no title, slug or content — only
11567
11729
  * the first 8 characters of the resource id. The identity fields share their
11568
11730
  * names with AdminUserTimelineEvent.
11569
11731
  */
@@ -11585,14 +11747,20 @@ export interface components {
11585
11747
  */
11586
11748
  project_id: string | null;
11587
11749
  project_name: string | null;
11588
- /** @description True when the resource no longer exists (access events outlive their resource until pruned). */
11750
+ /**
11751
+ * @description True when the resource no longer exists (access events outlive their
11752
+ * resource until pruned). Always `false` for a project's top resources
11753
+ * (GET /api/v1/admin/projects/{id}/top-accessed-resources), where a
11754
+ * deleted resource has no current project and drops out.
11755
+ */
11589
11756
  resource_deleted: boolean;
11590
11757
  /** Format: int64 */
11591
11758
  access_count: number;
11592
11759
  };
11593
11760
  /**
11594
11761
  * @description The resources a user accessed most in a range
11595
- * (GET /api/v1/admin/users/{id}/top-accessed-resources).
11762
+ * (GET /api/v1/admin/users/{id}/top-accessed-resources), or a project's
11763
+ * most-accessed resources (GET /api/v1/admin/projects/{id}/top-accessed-resources).
11596
11764
  */
11597
11765
  AdminTopAccessedResourcesResponse: {
11598
11766
  /**
@@ -11957,6 +12125,95 @@ export interface components {
11957
12125
  app_config: components["schemas"]["AdminGitHubAppConfig"] | null;
11958
12126
  installation: components["schemas"]["AdminGitHubInstallation"];
11959
12127
  };
12128
+ /** @description How many resources of each project-scoped type were created in the project within one time bucket. */
12129
+ AdminProjectCreationPoint: {
12130
+ /**
12131
+ * Format: date-time
12132
+ * @description Start of the bucket, in UTC.
12133
+ */
12134
+ bucket: string;
12135
+ /** Format: int64 */
12136
+ prompts: number;
12137
+ /** Format: int64 */
12138
+ memories: number;
12139
+ /** Format: int64 */
12140
+ artifacts: number;
12141
+ /** Format: int64 */
12142
+ blueprints: number;
12143
+ /** Format: int64 */
12144
+ feed_items: number;
12145
+ };
12146
+ /**
12147
+ * @description Resources created in the project per bucket, stacked by type
12148
+ * (GET /api/v1/admin/projects/{id}/resource-creation-metrics). Every bucket in
12149
+ * the range is present with an explicit 0 for every type.
12150
+ */
12151
+ AdminProjectResourceCreationMetrics: {
12152
+ /**
12153
+ * Format: date-time
12154
+ * @description Inclusive start of the range actually used, snapped DOWN to the start of
12155
+ * its bucket (same rule as AdminTimeseriesResponse.from).
12156
+ */
12157
+ from: string;
12158
+ /**
12159
+ * Format: date-time
12160
+ * @description Exclusive end of the range actually used (after defaulting); not snapped.
12161
+ */
12162
+ to: string;
12163
+ /**
12164
+ * @description Bucket size actually used.
12165
+ * @enum {string}
12166
+ */
12167
+ granularity: "day" | "week" | "month";
12168
+ /** @description One point per bucket, ascending by bucket. */
12169
+ series: components["schemas"]["AdminProjectCreationPoint"][];
12170
+ };
12171
+ /**
12172
+ * @description Accesses to the project's resources and to the project itself per bucket and
12173
+ * source (GET /api/v1/admin/projects/{id}/resource-access-metrics). An event
12174
+ * is attributed to the project its resource belongs to now, so accesses to a
12175
+ * deleted resource drop out and a migrated resource brings its history with
12176
+ * it. Every bucket in the range is present with an explicit 0 for each source
12177
+ * that appears.
12178
+ */
12179
+ AdminProjectAccessMetrics: {
12180
+ /**
12181
+ * Format: date-time
12182
+ * @description Inclusive start of the range actually used, snapped DOWN to the start of
12183
+ * its bucket (same rule as AdminTimeseriesResponse.from).
12184
+ */
12185
+ from: string;
12186
+ /**
12187
+ * Format: date-time
12188
+ * @description Exclusive end of the range actually used (after defaulting); not snapped.
12189
+ */
12190
+ to: string;
12191
+ /**
12192
+ * @description Bucket size actually used.
12193
+ * @enum {string}
12194
+ */
12195
+ granularity: "day" | "week" | "month";
12196
+ /** @description One point per (bucket, source), ascending by bucket then source. */
12197
+ access_by_source: components["schemas"]["AdminSourcePoint"][];
12198
+ /**
12199
+ * Format: date-time
12200
+ * @description Oldest access event still retained (now minus
12201
+ * `retention.access_event_days`); buckets before it read as zeros.
12202
+ */
12203
+ earliest_retained_at: string;
12204
+ };
12205
+ /**
12206
+ * @description The configuration that applies to a project
12207
+ * (GET /api/v1/admin/projects/{id}/config): the freshness rules scoped to it
12208
+ * and the team-wide rules that also apply. Both lists are oldest first and
12209
+ * include disabled rules.
12210
+ */
12211
+ AdminProjectConfig: {
12212
+ /** @description Rules scoped to this project. `[]` when there are none. */
12213
+ project_rules: components["schemas"]["AdminFreshnessRule"][];
12214
+ /** @description Rules with no project scope, which apply to every project of the team. `[]` when there are none. */
12215
+ team_wide_rules: components["schemas"]["AdminFreshnessRule"][];
12216
+ };
11960
12217
  ProjectResponse: components["schemas"]["Project"] & {
11961
12218
  /**
11962
12219
  * @description Whether the project's git URL matches a repository accessible via the team's GitHub App installation
@@ -22338,8 +22595,50 @@ export interface operations {
22338
22595
  created_from?: string;
22339
22596
  /** @description Only projects created at or before this instant (inclusive). */
22340
22597
  created_to?: string;
22341
- /** @description Column to sort by. Ties are always broken by project id so paging is stable. */
22342
- sort_by?: "created_at" | "name";
22598
+ /** @description Only projects with at least this many prompts in the project (inclusive). */
22599
+ prompt_count_min?: number;
22600
+ /** @description Only projects with at most this many prompts in the project (inclusive). */
22601
+ prompt_count_max?: number;
22602
+ /** @description Only projects with at least this many memories in the project (inclusive). */
22603
+ memory_count_min?: number;
22604
+ /** @description Only projects with at most this many memories in the project (inclusive). */
22605
+ memory_count_max?: number;
22606
+ /** @description Only projects with at least this many artifacts in the project (inclusive). */
22607
+ artifact_count_min?: number;
22608
+ /** @description Only projects with at most this many artifacts in the project (inclusive). */
22609
+ artifact_count_max?: number;
22610
+ /** @description Only projects with at least this many blueprints in the project (inclusive). */
22611
+ blueprint_count_min?: number;
22612
+ /** @description Only projects with at most this many blueprints in the project (inclusive). */
22613
+ blueprint_count_max?: number;
22614
+ /** @description Only projects with at least this many feed items in the project (inclusive). */
22615
+ feed_item_count_min?: number;
22616
+ /** @description Only projects with at most this many feed items in the project (inclusive). */
22617
+ feed_item_count_max?: number;
22618
+ /** @description Only projects with at least this many project-scoped resources in the project (inclusive). The total is the sum of the five project-scoped types. */
22619
+ total_resource_count_min?: number;
22620
+ /** @description Only projects with at most this many project-scoped resources in the project (inclusive). The total is the sum of the five project-scoped types. */
22621
+ total_resource_count_max?: number;
22622
+ /** @description Case-insensitive exact match on the email of the project's creator (`projects.user_id`, the `owner` field), not the owning team's owner. For substring matching on name/slug use `search`. */
22623
+ owner_email?: string;
22624
+ /**
22625
+ * @description Only projects whose most recent project-scoped resource (any of the five
22626
+ * types) was created at or after this instant (inclusive). Projects with
22627
+ * no resources never match.
22628
+ */
22629
+ last_resource_created_from?: string;
22630
+ /**
22631
+ * @description Only projects whose most recent project-scoped resource (any of the five
22632
+ * types) was created at or before this instant (inclusive). Projects with
22633
+ * no resources never match.
22634
+ */
22635
+ last_resource_created_to?: string;
22636
+ /**
22637
+ * @description Column to sort by. Ties are always broken by project id so paging is stable.
22638
+ * Sorting by last_resource_created_at places projects with no resources
22639
+ * last in both directions.
22640
+ */
22641
+ sort_by?: "created_at" | "name" | "prompt_count" | "memory_count" | "artifact_count" | "blueprint_count" | "feed_item_count" | "total_resource_count" | "last_resource_created_at";
22343
22642
  /** @description Sort direction. */
22344
22643
  sort_order?: "asc" | "desc";
22345
22644
  };
@@ -22772,6 +23071,236 @@ export interface operations {
22772
23071
  };
22773
23072
  };
22774
23073
  };
23074
+ getAdminProjectResourceCreationMetrics: {
23075
+ parameters: {
23076
+ query?: {
23077
+ /** @description Inclusive start of the range. Defaults to 30 days before `to`. */
23078
+ from?: string;
23079
+ /** @description Exclusive end of the range. Defaults to now. */
23080
+ to?: string;
23081
+ /** @description Bucket size. */
23082
+ granularity?: "day" | "week" | "month";
23083
+ };
23084
+ header?: never;
23085
+ path: {
23086
+ /** @description Project id (UUID) */
23087
+ id: string;
23088
+ };
23089
+ cookie?: never;
23090
+ };
23091
+ requestBody?: never;
23092
+ responses: {
23093
+ /** @description Bucketed creation counts per type */
23094
+ 200: {
23095
+ headers: {
23096
+ [name: string]: unknown;
23097
+ };
23098
+ content: {
23099
+ "application/json": components["schemas"]["AdminProjectResourceCreationMetrics"];
23100
+ };
23101
+ };
23102
+ /**
23103
+ * @description Bad request — malformed project id, `to` is not after `from`, the range
23104
+ * exceeds the maximum span, or `granularity` is outside its enum
23105
+ */
23106
+ 400: {
23107
+ headers: {
23108
+ [name: string]: unknown;
23109
+ };
23110
+ content: {
23111
+ "application/problem+json": components["schemas"]["ErrorResponse"];
23112
+ };
23113
+ };
23114
+ /** @description Not found — unknown project id, or the caller is not an instance admin */
23115
+ 404: {
23116
+ headers: {
23117
+ [name: string]: unknown;
23118
+ };
23119
+ content: {
23120
+ "application/problem+json": components["schemas"]["ErrorResponse"];
23121
+ };
23122
+ };
23123
+ /** @description Internal server error */
23124
+ 500: {
23125
+ headers: {
23126
+ [name: string]: unknown;
23127
+ };
23128
+ content: {
23129
+ "application/problem+json": components["schemas"]["ErrorResponse"];
23130
+ };
23131
+ };
23132
+ };
23133
+ };
23134
+ getAdminProjectResourceAccessMetrics: {
23135
+ parameters: {
23136
+ query?: {
23137
+ /** @description Inclusive start of the range. Defaults to 30 days before `to`. */
23138
+ from?: string;
23139
+ /** @description Exclusive end of the range. Defaults to now. */
23140
+ to?: string;
23141
+ /** @description Bucket size. */
23142
+ granularity?: "day" | "week" | "month";
23143
+ };
23144
+ header?: never;
23145
+ path: {
23146
+ /** @description Project id (UUID) */
23147
+ id: string;
23148
+ };
23149
+ cookie?: never;
23150
+ };
23151
+ requestBody?: never;
23152
+ responses: {
23153
+ /** @description Bucketed access counts per source */
23154
+ 200: {
23155
+ headers: {
23156
+ [name: string]: unknown;
23157
+ };
23158
+ content: {
23159
+ "application/json": components["schemas"]["AdminProjectAccessMetrics"];
23160
+ };
23161
+ };
23162
+ /**
23163
+ * @description Bad request — malformed project id, `to` is not after `from`, the range
23164
+ * exceeds the maximum span, or `granularity` is outside its enum
23165
+ */
23166
+ 400: {
23167
+ headers: {
23168
+ [name: string]: unknown;
23169
+ };
23170
+ content: {
23171
+ "application/problem+json": components["schemas"]["ErrorResponse"];
23172
+ };
23173
+ };
23174
+ /** @description Not found — unknown project id, or the caller is not an instance admin */
23175
+ 404: {
23176
+ headers: {
23177
+ [name: string]: unknown;
23178
+ };
23179
+ content: {
23180
+ "application/problem+json": components["schemas"]["ErrorResponse"];
23181
+ };
23182
+ };
23183
+ /** @description Internal server error */
23184
+ 500: {
23185
+ headers: {
23186
+ [name: string]: unknown;
23187
+ };
23188
+ content: {
23189
+ "application/problem+json": components["schemas"]["ErrorResponse"];
23190
+ };
23191
+ };
23192
+ };
23193
+ };
23194
+ getAdminProjectTopAccessedResources: {
23195
+ parameters: {
23196
+ query?: {
23197
+ /** @description Inclusive start of the range. Defaults to 30 days before `to`. */
23198
+ from?: string;
23199
+ /** @description Exclusive end of the range. Defaults to now. */
23200
+ to?: string;
23201
+ /** @description Maximum number of rows. */
23202
+ limit?: number;
23203
+ };
23204
+ header?: never;
23205
+ path: {
23206
+ /** @description Project id (UUID) */
23207
+ id: string;
23208
+ };
23209
+ cookie?: never;
23210
+ };
23211
+ requestBody?: never;
23212
+ responses: {
23213
+ /** @description The most-accessed resources, most accessed first */
23214
+ 200: {
23215
+ headers: {
23216
+ [name: string]: unknown;
23217
+ };
23218
+ content: {
23219
+ "application/json": components["schemas"]["AdminTopAccessedResourcesResponse"];
23220
+ };
23221
+ };
23222
+ /**
23223
+ * @description Bad request — malformed project id, `to` is not after `from`, the range
23224
+ * exceeds the maximum span, or `limit` is out of range
23225
+ */
23226
+ 400: {
23227
+ headers: {
23228
+ [name: string]: unknown;
23229
+ };
23230
+ content: {
23231
+ "application/problem+json": components["schemas"]["ErrorResponse"];
23232
+ };
23233
+ };
23234
+ /** @description Not found — unknown project id, or the caller is not an instance admin */
23235
+ 404: {
23236
+ headers: {
23237
+ [name: string]: unknown;
23238
+ };
23239
+ content: {
23240
+ "application/problem+json": components["schemas"]["ErrorResponse"];
23241
+ };
23242
+ };
23243
+ /** @description Internal server error */
23244
+ 500: {
23245
+ headers: {
23246
+ [name: string]: unknown;
23247
+ };
23248
+ content: {
23249
+ "application/problem+json": components["schemas"]["ErrorResponse"];
23250
+ };
23251
+ };
23252
+ };
23253
+ };
23254
+ getAdminProjectConfig: {
23255
+ parameters: {
23256
+ query?: never;
23257
+ header?: never;
23258
+ path: {
23259
+ /** @description Project id (UUID) */
23260
+ id: string;
23261
+ };
23262
+ cookie?: never;
23263
+ };
23264
+ requestBody?: never;
23265
+ responses: {
23266
+ /** @description The project's and the team-wide freshness rules */
23267
+ 200: {
23268
+ headers: {
23269
+ [name: string]: unknown;
23270
+ };
23271
+ content: {
23272
+ "application/json": components["schemas"]["AdminProjectConfig"];
23273
+ };
23274
+ };
23275
+ /** @description Bad request — malformed project id */
23276
+ 400: {
23277
+ headers: {
23278
+ [name: string]: unknown;
23279
+ };
23280
+ content: {
23281
+ "application/problem+json": components["schemas"]["ErrorResponse"];
23282
+ };
23283
+ };
23284
+ /** @description Not found — unknown project id, or the caller is not an instance admin */
23285
+ 404: {
23286
+ headers: {
23287
+ [name: string]: unknown;
23288
+ };
23289
+ content: {
23290
+ "application/problem+json": components["schemas"]["ErrorResponse"];
23291
+ };
23292
+ };
23293
+ /** @description Internal server error */
23294
+ 500: {
23295
+ headers: {
23296
+ [name: string]: unknown;
23297
+ };
23298
+ content: {
23299
+ "application/problem+json": components["schemas"]["ErrorResponse"];
23300
+ };
23301
+ };
23302
+ };
23303
+ };
22775
23304
  listComments: {
22776
23305
  parameters: {
22777
23306
  query: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibexp/api-client",
3
- "version": "0.85.0",
3
+ "version": "0.87.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": {