@vibexp/api-client 0.57.0 → 0.59.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
@@ -3144,6 +3144,93 @@ export interface paths {
3144
3144
  patch?: never;
3145
3145
  trace?: never;
3146
3146
  };
3147
+ "/api/v1/{team_id}/freshness/rules": {
3148
+ parameters: {
3149
+ query?: never;
3150
+ header?: never;
3151
+ path: {
3152
+ /** @description Team identifier */
3153
+ team_id: string;
3154
+ };
3155
+ cookie?: never;
3156
+ };
3157
+ /**
3158
+ * List the team's freshness rules
3159
+ * @description Returns every freshness rule the team has defined, oldest first. Any member of the team may read them. The array is empty, never null, when the team has no rules.
3160
+ */
3161
+ get: operations["listFreshnessRules"];
3162
+ put?: never;
3163
+ /**
3164
+ * Create a freshness rule
3165
+ * @description Adds a rule to the team. Requires the `team.settings.update` permission. An omitted `mediums` matches any medium; an omitted or null `project_id` applies the rule to every project in the team.
3166
+ */
3167
+ post: operations["createFreshnessRule"];
3168
+ delete?: never;
3169
+ options?: never;
3170
+ head?: never;
3171
+ patch?: never;
3172
+ trace?: never;
3173
+ };
3174
+ "/api/v1/{team_id}/freshness/rules/{rule_id}": {
3175
+ parameters: {
3176
+ query?: never;
3177
+ header?: never;
3178
+ path: {
3179
+ /** @description Team identifier */
3180
+ team_id: string;
3181
+ /** @description Freshness rule identifier */
3182
+ rule_id: string;
3183
+ };
3184
+ cookie?: never;
3185
+ };
3186
+ get?: never;
3187
+ /**
3188
+ * Replace a freshness rule
3189
+ * @description Replaces the rule in full — every mutable field is required, because an omitted field would otherwise reset that dimension. Requires the `team.settings.update` permission.
3190
+ */
3191
+ put: operations["updateFreshnessRule"];
3192
+ post?: never;
3193
+ /**
3194
+ * Delete a freshness rule
3195
+ * @description Removes the rule and strips it from any freshness state that matched it, so no stale resource keeps referencing a rule that no longer exists. Requires the `team.settings.update` permission.
3196
+ */
3197
+ delete: operations["deleteFreshnessRule"];
3198
+ options?: never;
3199
+ head?: never;
3200
+ patch?: never;
3201
+ trace?: never;
3202
+ };
3203
+ "/api/v1/{team_id}/settings/freshness": {
3204
+ parameters: {
3205
+ query?: never;
3206
+ header?: never;
3207
+ path: {
3208
+ /** @description Team identifier */
3209
+ team_id: string;
3210
+ };
3211
+ cookie?: never;
3212
+ };
3213
+ /**
3214
+ * Get the team's freshness settings
3215
+ * @description Returns the freshness evaluation settings in effect for the team, their provenance (`source`), and the defaults a reset would restore. A team that has never overridden them gets `source: instance`. Any member may read them.
3216
+ */
3217
+ get: operations["getTeamFreshnessSettings"];
3218
+ /**
3219
+ * Override the team's freshness settings
3220
+ * @description Replaces the team's freshness settings in full. `interval_seconds` below 3600 (one hour) is rejected. Requires the `team.settings.update` permission.
3221
+ */
3222
+ put: operations["updateTeamFreshnessSettings"];
3223
+ post?: never;
3224
+ /**
3225
+ * Reset the team's freshness settings to the defaults
3226
+ * @description Removes the team's stored settings so it inherits the defaults again. Requires the `team.settings.update` permission. Resetting a team that has no stored settings succeeds and changes nothing.
3227
+ */
3228
+ delete: operations["resetTeamFreshnessSettings"];
3229
+ options?: never;
3230
+ head?: never;
3231
+ patch?: never;
3232
+ trace?: never;
3233
+ };
3147
3234
  "/api/v1/{team_id}/settings/embedding-providers": {
3148
3235
  parameters: {
3149
3236
  query?: never;
@@ -4652,6 +4739,9 @@ export interface components {
4652
4739
  /** @description Labels for categorizing and filtering prompts */
4653
4740
  labels?: string[];
4654
4741
  };
4742
+ PromptListEnvelope: components["schemas"]["SuccessResponse"] & {
4743
+ data: components["schemas"]["PromptListResponse"];
4744
+ };
4655
4745
  PromptListResponse: {
4656
4746
  prompts: components["schemas"]["Prompt"][];
4657
4747
  total_count: number;
@@ -4748,6 +4838,19 @@ export interface components {
4748
4838
  /** Format: date-time */
4749
4839
  updated_at: string;
4750
4840
  };
4841
+ PromptGalleryCategoryList: components["schemas"]["PromptGalleryCategory"][];
4842
+ PromptLabelsEnvelope: components["schemas"]["SuccessResponse"] & {
4843
+ data: {
4844
+ /**
4845
+ * @example [
4846
+ * "code-review",
4847
+ * "documentation",
4848
+ * "testing"
4849
+ * ]
4850
+ */
4851
+ labels: string[];
4852
+ };
4853
+ };
4751
4854
  PromptGalleryCategory: {
4752
4855
  /** @example Engineering */
4753
4856
  category: string;
@@ -5186,6 +5289,7 @@ export interface components {
5186
5289
  */
5187
5290
  version: number;
5188
5291
  };
5292
+ EmbeddingProviderArrayResponse: components["schemas"]["EmbeddingProviderResponse"][];
5189
5293
  EmbeddingProviderResponse: components["schemas"]["EmbeddingProvider"] & {
5190
5294
  /** @example true */
5191
5295
  has_api_key: boolean;
@@ -5256,13 +5360,6 @@ export interface components {
5256
5360
  [key: string]: unknown;
5257
5361
  };
5258
5362
  };
5259
- EmbeddingProviderListResponse: {
5260
- embedding_providers: components["schemas"]["EmbeddingProviderResponse"][];
5261
- total_count: number;
5262
- page: number;
5263
- per_page: number;
5264
- total_pages: number;
5265
- };
5266
5363
  ValidateEmbeddingProviderRequest: {
5267
5364
  /** @example openai_compatible */
5268
5365
  provider_type: string;
@@ -6416,6 +6513,13 @@ export interface components {
6416
6513
  */
6417
6514
  total_pages: number;
6418
6515
  };
6516
+ GitHubImportProjectResultResponse: {
6517
+ project: components["schemas"]["Project"];
6518
+ /** @description Whether the project was created by this request (false when it already existed) */
6519
+ created: boolean;
6520
+ /** @example Project already exists for this repository */
6521
+ message?: string;
6522
+ };
6419
6523
  Project: {
6420
6524
  /**
6421
6525
  * Format: uuid
@@ -7753,6 +7857,7 @@ export interface components {
7753
7857
  per_page: number;
7754
7858
  total_pages: number;
7755
7859
  };
7860
+ AgentExecutionEventsResponse: components["schemas"]["AgentExecutionEventsPollResponse"] | components["schemas"]["AgentExecutionEventsPageResponse"];
7756
7861
  /** @description Cursor-based polling response (returned when the `since` query parameter is provided) */
7757
7862
  AgentExecutionEventsPollResponse: {
7758
7863
  execution_id: string;
@@ -8707,6 +8812,118 @@ export interface components {
8707
8812
  */
8708
8813
  truncated: boolean;
8709
8814
  };
8815
+ /** @description One team's rule for when a resource becomes stale. */
8816
+ FreshnessRule: {
8817
+ /**
8818
+ * Format: uuid
8819
+ * @description Rule identifier.
8820
+ */
8821
+ id: string;
8822
+ /**
8823
+ * Format: uuid
8824
+ * @description Team the rule belongs to.
8825
+ */
8826
+ team_id: string;
8827
+ /**
8828
+ * Format: uuid
8829
+ * @description Scopes the rule to a single project. `null` means the rule applies to EVERY project in the team.
8830
+ */
8831
+ project_id: string | null;
8832
+ /** @description Resource types the rule applies to. Never empty. */
8833
+ resource_types: components["schemas"]["FreshnessRuleResourceType"][];
8834
+ /** @description Access mediums that count as "accessed" for this rule. An EMPTY array means ANY medium counts — it does not mean "no medium". */
8835
+ mediums: components["schemas"]["FreshnessRuleMedium"][];
8836
+ /**
8837
+ * Format: int32
8838
+ * @description Days without a qualifying access after which the resource is stale. Capped at 36500 (100 years), mirroring the search-settings half-life cap: past that the rule can never fire, and the bound keeps the value inside the int32 the column and the wire format use.
8839
+ */
8840
+ threshold_days: number;
8841
+ /** @description Whether evaluation runs apply this rule. */
8842
+ enabled: boolean;
8843
+ /** Format: date-time */
8844
+ created_at: string;
8845
+ /** Format: date-time */
8846
+ updated_at: string;
8847
+ };
8848
+ /**
8849
+ * @description A resource type a freshness rule can cover.
8850
+ * @enum {string}
8851
+ */
8852
+ FreshnessRuleResourceType: "artifact" | "prompt" | "blueprint" | "memory";
8853
+ /**
8854
+ * @description An access medium that counts as "accessed" for a freshness rule. Note this is narrower than the set of mediums recorded on the access path — `api` accesses are stored but are deliberately not selectable as rule criteria.
8855
+ * @enum {string}
8856
+ */
8857
+ FreshnessRuleMedium: "web" | "cli" | "mcp";
8858
+ /** @description The team's freshness rules, oldest first. */
8859
+ FreshnessRuleListResponse: {
8860
+ /** @description Freshness rules. Serializes as `[]` when the team has none, never `null`. */
8861
+ rules: components["schemas"]["FreshnessRule"][];
8862
+ };
8863
+ /** @description Create a freshness rule. */
8864
+ CreateFreshnessRuleRequest: {
8865
+ /**
8866
+ * Format: uuid
8867
+ * @description Scope to one project; omit or send `null` for every project in the team.
8868
+ */
8869
+ project_id?: string | null;
8870
+ resource_types: components["schemas"]["FreshnessRuleResourceType"][];
8871
+ /** @description Omit or send an empty array to match any medium. */
8872
+ mediums?: components["schemas"]["FreshnessRuleMedium"][];
8873
+ /** Format: int32 */
8874
+ threshold_days: number;
8875
+ /**
8876
+ * @description Defaults to true when omitted.
8877
+ * @default true
8878
+ */
8879
+ enabled: boolean;
8880
+ };
8881
+ /** @description Replace a freshness rule in full. */
8882
+ UpdateFreshnessRuleRequest: {
8883
+ /**
8884
+ * Format: uuid
8885
+ * @description Scope to one project; `null` means every project in the team.
8886
+ */
8887
+ project_id: string | null;
8888
+ resource_types: components["schemas"]["FreshnessRuleResourceType"][];
8889
+ /** @description An empty array matches any medium. */
8890
+ mediums: components["schemas"]["FreshnessRuleMedium"][];
8891
+ /** Format: int32 */
8892
+ threshold_days: number;
8893
+ enabled: boolean;
8894
+ };
8895
+ /** @description The tunable freshness-evaluation values, shared by the current settings and the defaults. */
8896
+ FreshnessSettingsValues: {
8897
+ /**
8898
+ * Format: int32
8899
+ * @description How often the team's rules are evaluated. Storage enforces a one-hour floor, matching the scheduler's own floor; the 31536000 (365-day) ceiling keeps the value inside the int32 the column and the wire format use, and an interval longer than a year is indistinguishable from off.
8900
+ */
8901
+ interval_seconds: number;
8902
+ /** @description Whether accessing or editing a stale resource clears its stale state. */
8903
+ reversibility_enabled: boolean;
8904
+ };
8905
+ /** @description The freshness settings in effect for a team, with their provenance. A team that has never overridden them reports `source: instance` and the defaults. */
8906
+ TeamFreshnessSettings: {
8907
+ /**
8908
+ * @description `team` when the team stores its own settings, `instance` when it inherits the defaults.
8909
+ * @enum {string}
8910
+ */
8911
+ source: "instance" | "team";
8912
+ /** Format: int32 */
8913
+ interval_seconds: number;
8914
+ reversibility_enabled: boolean;
8915
+ /** @description The values a DELETE would restore. Present on every read so clients can preview a reset without a second call. */
8916
+ defaults: components["schemas"]["FreshnessSettingsValues"];
8917
+ };
8918
+ /** @description Override the team's freshness settings. */
8919
+ UpdateTeamFreshnessSettingsRequest: {
8920
+ /**
8921
+ * Format: int32
8922
+ * @description Rejected below 3600 (one hour) or above 31536000 (365 days).
8923
+ */
8924
+ interval_seconds: number;
8925
+ reversibility_enabled: boolean;
8926
+ };
8710
8927
  /** @description The search ranking 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, and the instance-owned candidate cap. */
8711
8928
  TeamSearchSettings: {
8712
8929
  /**
@@ -13069,9 +13286,7 @@ export interface operations {
13069
13286
  [name: string]: unknown;
13070
13287
  };
13071
13288
  content: {
13072
- "application/json": components["schemas"]["SuccessResponse"] & {
13073
- data: components["schemas"]["PromptListResponse"];
13074
- };
13289
+ "application/json": components["schemas"]["PromptListEnvelope"];
13075
13290
  };
13076
13291
  };
13077
13292
  /** @description Unauthorized */
@@ -13175,18 +13390,7 @@ export interface operations {
13175
13390
  [name: string]: unknown;
13176
13391
  };
13177
13392
  content: {
13178
- "application/json": components["schemas"]["SuccessResponse"] & {
13179
- data: {
13180
- /**
13181
- * @example [
13182
- * "code-review",
13183
- * "documentation",
13184
- * "testing"
13185
- * ]
13186
- */
13187
- labels: string[];
13188
- };
13189
- };
13393
+ "application/json": components["schemas"]["PromptLabelsEnvelope"];
13190
13394
  };
13191
13395
  };
13192
13396
  /** @description Unauthorized */
@@ -13914,7 +14118,7 @@ export interface operations {
13914
14118
  [name: string]: unknown;
13915
14119
  };
13916
14120
  content: {
13917
- "application/json": components["schemas"]["PromptGalleryCategory"][];
14121
+ "application/json": components["schemas"]["PromptGalleryCategoryList"];
13918
14122
  };
13919
14123
  };
13920
14124
  /** @description Unauthorized */
@@ -14444,13 +14648,7 @@ export interface operations {
14444
14648
  [name: string]: unknown;
14445
14649
  };
14446
14650
  content: {
14447
- "application/json": {
14448
- project: components["schemas"]["Project"];
14449
- /** @example false */
14450
- created: boolean;
14451
- /** @example Project already exists for this repository */
14452
- message?: string;
14453
- };
14651
+ "application/json": components["schemas"]["GitHubImportProjectResultResponse"];
14454
14652
  };
14455
14653
  };
14456
14654
  /** @description Project created successfully from the GitHub repository */
@@ -14459,11 +14657,7 @@ export interface operations {
14459
14657
  [name: string]: unknown;
14460
14658
  };
14461
14659
  content: {
14462
- "application/json": {
14463
- project: components["schemas"]["Project"];
14464
- /** @example true */
14465
- created: boolean;
14466
- };
14660
+ "application/json": components["schemas"]["GitHubImportProjectResultResponse"];
14467
14661
  };
14468
14662
  };
14469
14663
  /** @description Invalid repository ID */
@@ -16709,7 +16903,7 @@ export interface operations {
16709
16903
  [name: string]: unknown;
16710
16904
  };
16711
16905
  content: {
16712
- "application/json": components["schemas"]["AgentExecutionEventsPollResponse"] | components["schemas"]["AgentExecutionEventsPageResponse"];
16906
+ "application/json": components["schemas"]["AgentExecutionEventsResponse"];
16713
16907
  };
16714
16908
  };
16715
16909
  /** @description Invalid team_id */
@@ -19849,7 +20043,7 @@ export interface operations {
19849
20043
  [name: string]: unknown;
19850
20044
  };
19851
20045
  content: {
19852
- "application/json": components["schemas"]["EmbeddingProviderResponse"][];
20046
+ "application/json": components["schemas"]["EmbeddingProviderArrayResponse"];
19853
20047
  };
19854
20048
  };
19855
20049
  /** @description Unauthorized */
@@ -20618,6 +20812,449 @@ export interface operations {
20618
20812
  };
20619
20813
  };
20620
20814
  };
20815
+ listFreshnessRules: {
20816
+ parameters: {
20817
+ query?: never;
20818
+ header?: never;
20819
+ path: {
20820
+ /** @description Team identifier */
20821
+ team_id: string;
20822
+ };
20823
+ cookie?: never;
20824
+ };
20825
+ requestBody?: never;
20826
+ responses: {
20827
+ /** @description Rules retrieved successfully */
20828
+ 200: {
20829
+ headers: {
20830
+ [name: string]: unknown;
20831
+ };
20832
+ content: {
20833
+ "application/json": components["schemas"]["FreshnessRuleListResponse"];
20834
+ };
20835
+ };
20836
+ /** @description Invalid team_id */
20837
+ 400: {
20838
+ headers: {
20839
+ [name: string]: unknown;
20840
+ };
20841
+ content: {
20842
+ "application/problem+json": components["schemas"]["ErrorResponse"];
20843
+ };
20844
+ };
20845
+ /** @description Authentication required */
20846
+ 401: {
20847
+ headers: {
20848
+ [name: string]: unknown;
20849
+ };
20850
+ content: {
20851
+ "application/problem+json": components["schemas"]["ErrorResponse"];
20852
+ };
20853
+ };
20854
+ /** @description Caller is not a member of the team */
20855
+ 403: {
20856
+ headers: {
20857
+ [name: string]: unknown;
20858
+ };
20859
+ content: {
20860
+ "application/problem+json": components["schemas"]["ErrorResponse"];
20861
+ };
20862
+ };
20863
+ /** @description Failed to list the team's freshness rules */
20864
+ 500: {
20865
+ headers: {
20866
+ [name: string]: unknown;
20867
+ };
20868
+ content: {
20869
+ "application/problem+json": components["schemas"]["ErrorResponse"];
20870
+ };
20871
+ };
20872
+ };
20873
+ };
20874
+ createFreshnessRule: {
20875
+ parameters: {
20876
+ query?: never;
20877
+ header?: never;
20878
+ path: {
20879
+ /** @description Team identifier */
20880
+ team_id: string;
20881
+ };
20882
+ cookie?: never;
20883
+ };
20884
+ requestBody: {
20885
+ content: {
20886
+ "application/json": components["schemas"]["CreateFreshnessRuleRequest"];
20887
+ };
20888
+ };
20889
+ responses: {
20890
+ /** @description Rule created successfully */
20891
+ 201: {
20892
+ headers: {
20893
+ [name: string]: unknown;
20894
+ };
20895
+ content: {
20896
+ "application/json": components["schemas"]["FreshnessRule"];
20897
+ };
20898
+ };
20899
+ /** @description Invalid team_id or rule definition */
20900
+ 400: {
20901
+ headers: {
20902
+ [name: string]: unknown;
20903
+ };
20904
+ content: {
20905
+ "application/problem+json": components["schemas"]["ErrorResponse"];
20906
+ };
20907
+ };
20908
+ /** @description Authentication required */
20909
+ 401: {
20910
+ headers: {
20911
+ [name: string]: unknown;
20912
+ };
20913
+ content: {
20914
+ "application/problem+json": components["schemas"]["ErrorResponse"];
20915
+ };
20916
+ };
20917
+ /** @description Caller may not change the team's settings */
20918
+ 403: {
20919
+ headers: {
20920
+ [name: string]: unknown;
20921
+ };
20922
+ content: {
20923
+ "application/problem+json": components["schemas"]["ErrorResponse"];
20924
+ };
20925
+ };
20926
+ /** @description Failed to create the freshness rule */
20927
+ 500: {
20928
+ headers: {
20929
+ [name: string]: unknown;
20930
+ };
20931
+ content: {
20932
+ "application/problem+json": components["schemas"]["ErrorResponse"];
20933
+ };
20934
+ };
20935
+ };
20936
+ };
20937
+ updateFreshnessRule: {
20938
+ parameters: {
20939
+ query?: never;
20940
+ header?: never;
20941
+ path: {
20942
+ /** @description Team identifier */
20943
+ team_id: string;
20944
+ /** @description Freshness rule identifier */
20945
+ rule_id: string;
20946
+ };
20947
+ cookie?: never;
20948
+ };
20949
+ requestBody: {
20950
+ content: {
20951
+ "application/json": components["schemas"]["UpdateFreshnessRuleRequest"];
20952
+ };
20953
+ };
20954
+ responses: {
20955
+ /** @description Rule updated successfully */
20956
+ 200: {
20957
+ headers: {
20958
+ [name: string]: unknown;
20959
+ };
20960
+ content: {
20961
+ "application/json": components["schemas"]["FreshnessRule"];
20962
+ };
20963
+ };
20964
+ /** @description Invalid identifiers or rule definition */
20965
+ 400: {
20966
+ headers: {
20967
+ [name: string]: unknown;
20968
+ };
20969
+ content: {
20970
+ "application/problem+json": components["schemas"]["ErrorResponse"];
20971
+ };
20972
+ };
20973
+ /** @description Authentication required */
20974
+ 401: {
20975
+ headers: {
20976
+ [name: string]: unknown;
20977
+ };
20978
+ content: {
20979
+ "application/problem+json": components["schemas"]["ErrorResponse"];
20980
+ };
20981
+ };
20982
+ /** @description Caller may not change the team's settings */
20983
+ 403: {
20984
+ headers: {
20985
+ [name: string]: unknown;
20986
+ };
20987
+ content: {
20988
+ "application/problem+json": components["schemas"]["ErrorResponse"];
20989
+ };
20990
+ };
20991
+ /** @description No such rule in this team */
20992
+ 404: {
20993
+ headers: {
20994
+ [name: string]: unknown;
20995
+ };
20996
+ content: {
20997
+ "application/problem+json": components["schemas"]["ErrorResponse"];
20998
+ };
20999
+ };
21000
+ /** @description Failed to update the freshness rule */
21001
+ 500: {
21002
+ headers: {
21003
+ [name: string]: unknown;
21004
+ };
21005
+ content: {
21006
+ "application/problem+json": components["schemas"]["ErrorResponse"];
21007
+ };
21008
+ };
21009
+ };
21010
+ };
21011
+ deleteFreshnessRule: {
21012
+ parameters: {
21013
+ query?: never;
21014
+ header?: never;
21015
+ path: {
21016
+ /** @description Team identifier */
21017
+ team_id: string;
21018
+ /** @description Freshness rule identifier */
21019
+ rule_id: string;
21020
+ };
21021
+ cookie?: never;
21022
+ };
21023
+ requestBody?: never;
21024
+ responses: {
21025
+ /** @description Rule deleted (no content) */
21026
+ 204: {
21027
+ headers: {
21028
+ [name: string]: unknown;
21029
+ };
21030
+ content?: never;
21031
+ };
21032
+ /** @description Invalid identifiers */
21033
+ 400: {
21034
+ headers: {
21035
+ [name: string]: unknown;
21036
+ };
21037
+ content: {
21038
+ "application/problem+json": components["schemas"]["ErrorResponse"];
21039
+ };
21040
+ };
21041
+ /** @description Authentication required */
21042
+ 401: {
21043
+ headers: {
21044
+ [name: string]: unknown;
21045
+ };
21046
+ content: {
21047
+ "application/problem+json": components["schemas"]["ErrorResponse"];
21048
+ };
21049
+ };
21050
+ /** @description Caller may not change the team's settings */
21051
+ 403: {
21052
+ headers: {
21053
+ [name: string]: unknown;
21054
+ };
21055
+ content: {
21056
+ "application/problem+json": components["schemas"]["ErrorResponse"];
21057
+ };
21058
+ };
21059
+ /** @description No such rule in this team */
21060
+ 404: {
21061
+ headers: {
21062
+ [name: string]: unknown;
21063
+ };
21064
+ content: {
21065
+ "application/problem+json": components["schemas"]["ErrorResponse"];
21066
+ };
21067
+ };
21068
+ /** @description Failed to delete the freshness rule */
21069
+ 500: {
21070
+ headers: {
21071
+ [name: string]: unknown;
21072
+ };
21073
+ content: {
21074
+ "application/problem+json": components["schemas"]["ErrorResponse"];
21075
+ };
21076
+ };
21077
+ };
21078
+ };
21079
+ getTeamFreshnessSettings: {
21080
+ parameters: {
21081
+ query?: never;
21082
+ header?: never;
21083
+ path: {
21084
+ /** @description Team identifier */
21085
+ team_id: string;
21086
+ };
21087
+ cookie?: never;
21088
+ };
21089
+ requestBody?: never;
21090
+ responses: {
21091
+ /** @description Settings retrieved successfully */
21092
+ 200: {
21093
+ headers: {
21094
+ [name: string]: unknown;
21095
+ };
21096
+ content: {
21097
+ "application/json": components["schemas"]["TeamFreshnessSettings"];
21098
+ };
21099
+ };
21100
+ /** @description Invalid team_id */
21101
+ 400: {
21102
+ headers: {
21103
+ [name: string]: unknown;
21104
+ };
21105
+ content: {
21106
+ "application/problem+json": components["schemas"]["ErrorResponse"];
21107
+ };
21108
+ };
21109
+ /** @description Authentication required */
21110
+ 401: {
21111
+ headers: {
21112
+ [name: string]: unknown;
21113
+ };
21114
+ content: {
21115
+ "application/problem+json": components["schemas"]["ErrorResponse"];
21116
+ };
21117
+ };
21118
+ /** @description Caller is not a member of the team */
21119
+ 403: {
21120
+ headers: {
21121
+ [name: string]: unknown;
21122
+ };
21123
+ content: {
21124
+ "application/problem+json": components["schemas"]["ErrorResponse"];
21125
+ };
21126
+ };
21127
+ /** @description Failed to read the team's freshness settings */
21128
+ 500: {
21129
+ headers: {
21130
+ [name: string]: unknown;
21131
+ };
21132
+ content: {
21133
+ "application/problem+json": components["schemas"]["ErrorResponse"];
21134
+ };
21135
+ };
21136
+ };
21137
+ };
21138
+ updateTeamFreshnessSettings: {
21139
+ parameters: {
21140
+ query?: never;
21141
+ header?: never;
21142
+ path: {
21143
+ /** @description Team identifier */
21144
+ team_id: string;
21145
+ };
21146
+ cookie?: never;
21147
+ };
21148
+ requestBody: {
21149
+ content: {
21150
+ "application/json": components["schemas"]["UpdateTeamFreshnessSettingsRequest"];
21151
+ };
21152
+ };
21153
+ responses: {
21154
+ /** @description Settings updated successfully */
21155
+ 200: {
21156
+ headers: {
21157
+ [name: string]: unknown;
21158
+ };
21159
+ content: {
21160
+ "application/json": components["schemas"]["TeamFreshnessSettings"];
21161
+ };
21162
+ };
21163
+ /** @description Invalid team_id or settings */
21164
+ 400: {
21165
+ headers: {
21166
+ [name: string]: unknown;
21167
+ };
21168
+ content: {
21169
+ "application/problem+json": components["schemas"]["ErrorResponse"];
21170
+ };
21171
+ };
21172
+ /** @description Authentication required */
21173
+ 401: {
21174
+ headers: {
21175
+ [name: string]: unknown;
21176
+ };
21177
+ content: {
21178
+ "application/problem+json": components["schemas"]["ErrorResponse"];
21179
+ };
21180
+ };
21181
+ /** @description Caller may not change the team's settings */
21182
+ 403: {
21183
+ headers: {
21184
+ [name: string]: unknown;
21185
+ };
21186
+ content: {
21187
+ "application/problem+json": components["schemas"]["ErrorResponse"];
21188
+ };
21189
+ };
21190
+ /** @description Failed to update the team's freshness settings */
21191
+ 500: {
21192
+ headers: {
21193
+ [name: string]: unknown;
21194
+ };
21195
+ content: {
21196
+ "application/problem+json": components["schemas"]["ErrorResponse"];
21197
+ };
21198
+ };
21199
+ };
21200
+ };
21201
+ resetTeamFreshnessSettings: {
21202
+ parameters: {
21203
+ query?: never;
21204
+ header?: never;
21205
+ path: {
21206
+ /** @description Team identifier */
21207
+ team_id: string;
21208
+ };
21209
+ cookie?: never;
21210
+ };
21211
+ requestBody?: never;
21212
+ responses: {
21213
+ /** @description Settings reset (no content); the team now inherits the defaults */
21214
+ 204: {
21215
+ headers: {
21216
+ [name: string]: unknown;
21217
+ };
21218
+ content?: never;
21219
+ };
21220
+ /** @description Invalid team_id */
21221
+ 400: {
21222
+ headers: {
21223
+ [name: string]: unknown;
21224
+ };
21225
+ content: {
21226
+ "application/problem+json": components["schemas"]["ErrorResponse"];
21227
+ };
21228
+ };
21229
+ /** @description Authentication required */
21230
+ 401: {
21231
+ headers: {
21232
+ [name: string]: unknown;
21233
+ };
21234
+ content: {
21235
+ "application/problem+json": components["schemas"]["ErrorResponse"];
21236
+ };
21237
+ };
21238
+ /** @description Caller may not change the team's settings */
21239
+ 403: {
21240
+ headers: {
21241
+ [name: string]: unknown;
21242
+ };
21243
+ content: {
21244
+ "application/problem+json": components["schemas"]["ErrorResponse"];
21245
+ };
21246
+ };
21247
+ /** @description Failed to reset the team's freshness settings */
21248
+ 500: {
21249
+ headers: {
21250
+ [name: string]: unknown;
21251
+ };
21252
+ content: {
21253
+ "application/problem+json": components["schemas"]["ErrorResponse"];
21254
+ };
21255
+ };
21256
+ };
21257
+ };
20621
21258
  listEmbeddingProvidersSettings: {
20622
21259
  parameters: {
20623
21260
  query?: never;
@@ -20636,7 +21273,7 @@ export interface operations {
20636
21273
  [name: string]: unknown;
20637
21274
  };
20638
21275
  content: {
20639
- "application/json": components["schemas"]["EmbeddingProviderResponse"][];
21276
+ "application/json": components["schemas"]["EmbeddingProviderArrayResponse"];
20640
21277
  };
20641
21278
  };
20642
21279
  /** @description Unauthorized */