@vibexp/api-client 0.76.0 → 0.78.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.
@@ -4458,7 +4458,7 @@ export type UpdateTeamSearchSettingsRequest = {
4458
4458
  rank_half_life_days: number;
4459
4459
  };
4460
4460
  /**
4461
- * The AI summary settings in effect for a team, with enough context for a client to render the whole settings surface from this one response: the effective values, where they came from, the instance defaults to preview a reset against, the instance-owned top_n cap, and whether the team can currently use AI summaries at all.
4461
+ * The AI summary settings in effect for a team, with enough context for a client to render the whole settings surface from this one response: the effective values, where they came from, the instance defaults to preview a reset against, the instance-owned top_n and max_output_tokens caps, and whether the team can currently use AI summaries at all.
4462
4462
  *
4463
4463
  */
4464
4464
  export type TeamAiSummarySettings = {
@@ -4474,6 +4474,11 @@ export type TeamAiSummarySettings = {
4474
4474
  *
4475
4475
  */
4476
4476
  max_top_n: number;
4477
+ /**
4478
+ * Instance-owned ceiling on `max_output_tokens`, from `ai_summary.max_output_tokens_ceiling`. Not team-configurable — exposed so clients can bound their own input control instead of guessing.
4479
+ *
4480
+ */
4481
+ max_output_tokens_ceiling: number;
4477
4482
  /**
4478
4483
  * Whether the team has at least one model provider configured (existence, not health) — AI summaries cannot run without one regardless of `enabled`.
4479
4484
  *
@@ -4507,7 +4512,7 @@ export type TeamAiSummarySettingsValues = {
4507
4512
  max_output_tokens: number;
4508
4513
  };
4509
4514
  /**
4510
- * A complete replacement AI summary profile for the team. There is no partial update: every field is required, and the whole profile is stored or replaced atomically. `max_top_n` and `available` are deliberately absent — both are computed, not settable.
4515
+ * A complete replacement AI summary profile for the team. There is no partial update: every field is required, and the whole profile is stored or replaced atomically. `max_top_n`, `max_output_tokens_ceiling` and `available` are deliberately absent — all are computed, not settable.
4511
4516
  *
4512
4517
  */
4513
4518
  export type UpdateTeamAiSummarySettingsRequest = {
@@ -9033,6 +9038,10 @@ export type ListFeedsData = {
9033
9038
  url: '/api/v1/{team_id}/feeds';
9034
9039
  };
9035
9040
  export type ListFeedsErrors = {
9041
+ /**
9042
+ * Invalid query parameter (page/limit out of range)
9043
+ */
9044
+ 400: ErrorResponse;
9036
9045
  /**
9037
9046
  * Unauthorized
9038
9047
  */
@@ -9354,6 +9363,10 @@ export type ListFeedItemsData = {
9354
9363
  url: '/api/v1/{team_id}/feed-items';
9355
9364
  };
9356
9365
  export type ListFeedItemsErrors = {
9366
+ /**
9367
+ * Invalid query parameter (page/limit out of range, malformed feed_id or archived)
9368
+ */
9369
+ 400: ErrorResponse;
9357
9370
  /**
9358
9371
  * Unauthorized
9359
9372
  */
@@ -13109,7 +13122,7 @@ export type UpdateTeamAiSummarySettingsData = {
13109
13122
  };
13110
13123
  export type UpdateTeamAiSummarySettingsErrors = {
13111
13124
  /**
13112
- * Invalid profile — `top_n` outside `1..max_top_n`, an unknown `style`, a non-positive `max_output_tokens`, or a `model_provider_id` that does not belong to this team
13125
+ * Invalid profile — `top_n` outside `1..max_top_n`, an unknown `style`, `max_output_tokens` outside `1..max_output_tokens_ceiling`, or a `model_provider_id` that does not belong to this team
13113
13126
  *
13114
13127
  */
13115
13128
  400: ErrorResponse;
package/dist/schema.d.ts CHANGED
@@ -10053,7 +10053,7 @@ export interface components {
10053
10053
  */
10054
10054
  rank_half_life_days: number;
10055
10055
  };
10056
- /** @description The AI summary settings in effect for a team, with enough context for a client to render the whole settings surface from this one response: the effective values, where they came from, the instance defaults to preview a reset against, the instance-owned top_n cap, and whether the team can currently use AI summaries at all. */
10056
+ /** @description The AI summary settings in effect for a team, with enough context for a client to render the whole settings surface from this one response: the effective values, where they came from, the instance defaults to preview a reset against, the instance-owned top_n and max_output_tokens caps, and whether the team can currently use AI summaries at all. */
10057
10057
  TeamAISummarySettings: {
10058
10058
  /**
10059
10059
  * @description Where the effective values come from. `instance` means the team has no override and inherits the deployment defaults; `team` means the team has stored its own profile.
@@ -10070,6 +10070,11 @@ export interface components {
10070
10070
  * @example 10
10071
10071
  */
10072
10072
  max_top_n: number;
10073
+ /**
10074
+ * @description Instance-owned ceiling on `max_output_tokens`, from `ai_summary.max_output_tokens_ceiling`. Not team-configurable — exposed so clients can bound their own input control instead of guessing.
10075
+ * @example 4096
10076
+ */
10077
+ max_output_tokens_ceiling: number;
10073
10078
  /**
10074
10079
  * @description Whether the team has at least one model provider configured (existence, not health) — AI summaries cannot run without one regardless of `enabled`.
10075
10080
  * @example true
@@ -10106,7 +10111,7 @@ export interface components {
10106
10111
  */
10107
10112
  max_output_tokens: number;
10108
10113
  };
10109
- /** @description A complete replacement AI summary profile for the team. There is no partial update: every field is required, and the whole profile is stored or replaced atomically. `max_top_n` and `available` are deliberately absent — both are computed, not settable. */
10114
+ /** @description A complete replacement AI summary profile for the team. There is no partial update: every field is required, and the whole profile is stored or replaced atomically. `max_top_n`, `max_output_tokens_ceiling` and `available` are deliberately absent — all are computed, not settable. */
10110
10115
  UpdateTeamAISummarySettingsRequest: {
10111
10116
  /** @example true */
10112
10117
  enabled: boolean;
@@ -16299,6 +16304,15 @@ export interface operations {
16299
16304
  "application/json": components["schemas"]["FeedListResponse"];
16300
16305
  };
16301
16306
  };
16307
+ /** @description Invalid query parameter (page/limit out of range) */
16308
+ 400: {
16309
+ headers: {
16310
+ [name: string]: unknown;
16311
+ };
16312
+ content: {
16313
+ "application/problem+json": components["schemas"]["ErrorResponse"];
16314
+ };
16315
+ };
16302
16316
  /** @description Unauthorized */
16303
16317
  401: {
16304
16318
  headers: {
@@ -16733,6 +16747,15 @@ export interface operations {
16733
16747
  "application/json": components["schemas"]["FeedItemListResponse"];
16734
16748
  };
16735
16749
  };
16750
+ /** @description Invalid query parameter (page/limit out of range, malformed feed_id or archived) */
16751
+ 400: {
16752
+ headers: {
16753
+ [name: string]: unknown;
16754
+ };
16755
+ content: {
16756
+ "application/problem+json": components["schemas"]["ErrorResponse"];
16757
+ };
16758
+ };
16736
16759
  /** @description Unauthorized */
16737
16760
  401: {
16738
16761
  headers: {
@@ -22298,7 +22321,7 @@ export interface operations {
22298
22321
  "application/json": components["schemas"]["TeamAISummarySettings"];
22299
22322
  };
22300
22323
  };
22301
- /** @description Invalid profile — `top_n` outside `1..max_top_n`, an unknown `style`, a non-positive `max_output_tokens`, or a `model_provider_id` that does not belong to this team */
22324
+ /** @description Invalid profile — `top_n` outside `1..max_top_n`, an unknown `style`, `max_output_tokens` outside `1..max_output_tokens_ceiling`, or a `model_provider_id` that does not belong to this team */
22302
22325
  400: {
22303
22326
  headers: {
22304
22327
  [name: string]: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibexp/api-client",
3
- "version": "0.76.0",
3
+ "version": "0.78.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": {