@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/axios/index.d.ts +2 -2
- package/dist/axios/index.js +1 -1
- package/dist/axios/sdk.gen.d.ts +50 -1
- package/dist/axios/sdk.gen.js +150 -0
- package/dist/axios/types.gen.d.ts +435 -28
- package/dist/schema.d.ts +675 -38
- package/package.json +1 -1
|
@@ -331,6 +331,9 @@ export type UpdatePromptRequest = {
|
|
|
331
331
|
*/
|
|
332
332
|
labels?: Array<string>;
|
|
333
333
|
};
|
|
334
|
+
export type PromptListEnvelope = SuccessResponse & {
|
|
335
|
+
data: PromptListResponse;
|
|
336
|
+
};
|
|
334
337
|
export type PromptListResponse = {
|
|
335
338
|
prompts: Array<Prompt>;
|
|
336
339
|
total_count: number;
|
|
@@ -398,6 +401,12 @@ export type PromptGalleryTemplate = {
|
|
|
398
401
|
created_at: string;
|
|
399
402
|
updated_at: string;
|
|
400
403
|
};
|
|
404
|
+
export type PromptGalleryCategoryList = Array<PromptGalleryCategory>;
|
|
405
|
+
export type PromptLabelsEnvelope = SuccessResponse & {
|
|
406
|
+
data: {
|
|
407
|
+
labels: Array<string>;
|
|
408
|
+
};
|
|
409
|
+
};
|
|
401
410
|
export type PromptGalleryCategory = {
|
|
402
411
|
category: string;
|
|
403
412
|
count: number;
|
|
@@ -709,6 +718,7 @@ export type EmbeddingProvider = {
|
|
|
709
718
|
*/
|
|
710
719
|
version: number;
|
|
711
720
|
};
|
|
721
|
+
export type EmbeddingProviderArrayResponse = Array<EmbeddingProviderResponse>;
|
|
712
722
|
export type EmbeddingProviderResponse = EmbeddingProvider & {
|
|
713
723
|
has_api_key: boolean;
|
|
714
724
|
};
|
|
@@ -768,13 +778,6 @@ export type UpdateEmbeddingProviderRequest = {
|
|
|
768
778
|
[key: string]: unknown;
|
|
769
779
|
};
|
|
770
780
|
};
|
|
771
|
-
export type EmbeddingProviderListResponse = {
|
|
772
|
-
embedding_providers: Array<EmbeddingProviderResponse>;
|
|
773
|
-
total_count: number;
|
|
774
|
-
page: number;
|
|
775
|
-
per_page: number;
|
|
776
|
-
total_pages: number;
|
|
777
|
-
};
|
|
778
781
|
export type ValidateEmbeddingProviderRequest = {
|
|
779
782
|
provider_type: string;
|
|
780
783
|
/**
|
|
@@ -1690,6 +1693,14 @@ export type FeedItemListResponse = {
|
|
|
1690
1693
|
*/
|
|
1691
1694
|
total_pages: number;
|
|
1692
1695
|
};
|
|
1696
|
+
export type GitHubImportProjectResultResponse = {
|
|
1697
|
+
project: Project;
|
|
1698
|
+
/**
|
|
1699
|
+
* Whether the project was created by this request (false when it already existed)
|
|
1700
|
+
*/
|
|
1701
|
+
created: boolean;
|
|
1702
|
+
message?: string;
|
|
1703
|
+
};
|
|
1693
1704
|
export type Project = {
|
|
1694
1705
|
/**
|
|
1695
1706
|
* Unique identifier for the project
|
|
@@ -2808,6 +2819,7 @@ export type AgentExecutionListResponse = {
|
|
|
2808
2819
|
per_page: number;
|
|
2809
2820
|
total_pages: number;
|
|
2810
2821
|
};
|
|
2822
|
+
export type AgentExecutionEventsResponse = AgentExecutionEventsPollResponse | AgentExecutionEventsPageResponse;
|
|
2811
2823
|
/**
|
|
2812
2824
|
* Cursor-based polling response (returned when the `since` query parameter is provided)
|
|
2813
2825
|
*/
|
|
@@ -3587,6 +3599,139 @@ export type MetadataValuesResponse = {
|
|
|
3587
3599
|
*/
|
|
3588
3600
|
truncated: boolean;
|
|
3589
3601
|
};
|
|
3602
|
+
/**
|
|
3603
|
+
* One team's rule for when a resource becomes stale.
|
|
3604
|
+
*/
|
|
3605
|
+
export type FreshnessRule = {
|
|
3606
|
+
/**
|
|
3607
|
+
* Rule identifier.
|
|
3608
|
+
*/
|
|
3609
|
+
id: string;
|
|
3610
|
+
/**
|
|
3611
|
+
* Team the rule belongs to.
|
|
3612
|
+
*/
|
|
3613
|
+
team_id: string;
|
|
3614
|
+
/**
|
|
3615
|
+
* Scopes the rule to a single project. `null` means the rule applies to EVERY project in the team.
|
|
3616
|
+
*
|
|
3617
|
+
*/
|
|
3618
|
+
project_id: string | null;
|
|
3619
|
+
/**
|
|
3620
|
+
* Resource types the rule applies to. Never empty.
|
|
3621
|
+
*/
|
|
3622
|
+
resource_types: Array<FreshnessRuleResourceType>;
|
|
3623
|
+
/**
|
|
3624
|
+
* Access mediums that count as "accessed" for this rule. An EMPTY array means ANY medium counts — it does not mean "no medium".
|
|
3625
|
+
*
|
|
3626
|
+
*/
|
|
3627
|
+
mediums: Array<FreshnessRuleMedium>;
|
|
3628
|
+
/**
|
|
3629
|
+
* 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.
|
|
3630
|
+
*
|
|
3631
|
+
*/
|
|
3632
|
+
threshold_days: number;
|
|
3633
|
+
/**
|
|
3634
|
+
* Whether evaluation runs apply this rule.
|
|
3635
|
+
*/
|
|
3636
|
+
enabled: boolean;
|
|
3637
|
+
created_at: string;
|
|
3638
|
+
updated_at: string;
|
|
3639
|
+
};
|
|
3640
|
+
/**
|
|
3641
|
+
* A resource type a freshness rule can cover.
|
|
3642
|
+
*/
|
|
3643
|
+
export type FreshnessRuleResourceType = 'artifact' | 'prompt' | 'blueprint' | 'memory';
|
|
3644
|
+
/**
|
|
3645
|
+
* 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.
|
|
3646
|
+
*
|
|
3647
|
+
*/
|
|
3648
|
+
export type FreshnessRuleMedium = 'web' | 'cli' | 'mcp';
|
|
3649
|
+
/**
|
|
3650
|
+
* The team's freshness rules, oldest first.
|
|
3651
|
+
*/
|
|
3652
|
+
export type FreshnessRuleListResponse = {
|
|
3653
|
+
/**
|
|
3654
|
+
* Freshness rules. Serializes as `[]` when the team has none, never `null`.
|
|
3655
|
+
*/
|
|
3656
|
+
rules: Array<FreshnessRule>;
|
|
3657
|
+
};
|
|
3658
|
+
/**
|
|
3659
|
+
* Create a freshness rule.
|
|
3660
|
+
*/
|
|
3661
|
+
export type CreateFreshnessRuleRequest = {
|
|
3662
|
+
/**
|
|
3663
|
+
* Scope to one project; omit or send `null` for every project in the team.
|
|
3664
|
+
*/
|
|
3665
|
+
project_id?: string | null;
|
|
3666
|
+
resource_types: Array<FreshnessRuleResourceType>;
|
|
3667
|
+
/**
|
|
3668
|
+
* Omit or send an empty array to match any medium.
|
|
3669
|
+
*/
|
|
3670
|
+
mediums?: Array<FreshnessRuleMedium>;
|
|
3671
|
+
threshold_days: number;
|
|
3672
|
+
/**
|
|
3673
|
+
* Defaults to true when omitted.
|
|
3674
|
+
*/
|
|
3675
|
+
enabled?: boolean;
|
|
3676
|
+
};
|
|
3677
|
+
/**
|
|
3678
|
+
* Replace a freshness rule in full.
|
|
3679
|
+
*/
|
|
3680
|
+
export type UpdateFreshnessRuleRequest = {
|
|
3681
|
+
/**
|
|
3682
|
+
* Scope to one project; `null` means every project in the team.
|
|
3683
|
+
*/
|
|
3684
|
+
project_id: string | null;
|
|
3685
|
+
resource_types: Array<FreshnessRuleResourceType>;
|
|
3686
|
+
/**
|
|
3687
|
+
* An empty array matches any medium.
|
|
3688
|
+
*/
|
|
3689
|
+
mediums: Array<FreshnessRuleMedium>;
|
|
3690
|
+
threshold_days: number;
|
|
3691
|
+
enabled: boolean;
|
|
3692
|
+
};
|
|
3693
|
+
/**
|
|
3694
|
+
* The tunable freshness-evaluation values, shared by the current settings and the defaults.
|
|
3695
|
+
*/
|
|
3696
|
+
export type FreshnessSettingsValues = {
|
|
3697
|
+
/**
|
|
3698
|
+
* 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.
|
|
3699
|
+
*
|
|
3700
|
+
*/
|
|
3701
|
+
interval_seconds: number;
|
|
3702
|
+
/**
|
|
3703
|
+
* Whether accessing or editing a stale resource clears its stale state.
|
|
3704
|
+
*/
|
|
3705
|
+
reversibility_enabled: boolean;
|
|
3706
|
+
};
|
|
3707
|
+
/**
|
|
3708
|
+
* The freshness settings in effect for a team, with their provenance. A team that has never overridden them reports `source: instance` and the defaults.
|
|
3709
|
+
*
|
|
3710
|
+
*/
|
|
3711
|
+
export type TeamFreshnessSettings = {
|
|
3712
|
+
/**
|
|
3713
|
+
* `team` when the team stores its own settings, `instance` when it inherits the defaults.
|
|
3714
|
+
*
|
|
3715
|
+
*/
|
|
3716
|
+
source: 'instance' | 'team';
|
|
3717
|
+
interval_seconds: number;
|
|
3718
|
+
reversibility_enabled: boolean;
|
|
3719
|
+
/**
|
|
3720
|
+
* The values a DELETE would restore. Present on every read so clients can preview a reset without a second call.
|
|
3721
|
+
*
|
|
3722
|
+
*/
|
|
3723
|
+
defaults: FreshnessSettingsValues;
|
|
3724
|
+
};
|
|
3725
|
+
/**
|
|
3726
|
+
* Override the team's freshness settings.
|
|
3727
|
+
*/
|
|
3728
|
+
export type UpdateTeamFreshnessSettingsRequest = {
|
|
3729
|
+
/**
|
|
3730
|
+
* Rejected below 3600 (one hour) or above 31536000 (365 days).
|
|
3731
|
+
*/
|
|
3732
|
+
interval_seconds: number;
|
|
3733
|
+
reversibility_enabled: boolean;
|
|
3734
|
+
};
|
|
3590
3735
|
/**
|
|
3591
3736
|
* 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.
|
|
3592
3737
|
*
|
|
@@ -6879,9 +7024,7 @@ export type ListPromptsResponses = {
|
|
|
6879
7024
|
/**
|
|
6880
7025
|
* List of prompts retrieved successfully
|
|
6881
7026
|
*/
|
|
6882
|
-
200:
|
|
6883
|
-
data: PromptListResponse;
|
|
6884
|
-
};
|
|
7027
|
+
200: PromptListEnvelope;
|
|
6885
7028
|
};
|
|
6886
7029
|
export type ListPromptsResponse = ListPromptsResponses[keyof ListPromptsResponses];
|
|
6887
7030
|
export type CreatePromptData = {
|
|
@@ -6947,11 +7090,7 @@ export type GetPromptLabelsResponses = {
|
|
|
6947
7090
|
/**
|
|
6948
7091
|
* Labels retrieved successfully
|
|
6949
7092
|
*/
|
|
6950
|
-
200:
|
|
6951
|
-
data: {
|
|
6952
|
-
labels: Array<string>;
|
|
6953
|
-
};
|
|
6954
|
-
};
|
|
7093
|
+
200: PromptLabelsEnvelope;
|
|
6955
7094
|
};
|
|
6956
7095
|
export type GetPromptLabelsResponse = GetPromptLabelsResponses[keyof GetPromptLabelsResponses];
|
|
6957
7096
|
export type DeletePromptData = {
|
|
@@ -7447,7 +7586,7 @@ export type GetPromptGalleryCategoriesResponses = {
|
|
|
7447
7586
|
/**
|
|
7448
7587
|
* Categories retrieved successfully
|
|
7449
7588
|
*/
|
|
7450
|
-
200:
|
|
7589
|
+
200: PromptGalleryCategoryList;
|
|
7451
7590
|
};
|
|
7452
7591
|
export type GetPromptGalleryCategoriesResponse = GetPromptGalleryCategoriesResponses[keyof GetPromptGalleryCategoriesResponses];
|
|
7453
7592
|
export type ListPromptGalleryPromptsData = {
|
|
@@ -7831,18 +7970,11 @@ export type ImportGitHubProjectResponses = {
|
|
|
7831
7970
|
/**
|
|
7832
7971
|
* Project already exists — returned without creating a new one
|
|
7833
7972
|
*/
|
|
7834
|
-
200:
|
|
7835
|
-
project: Project;
|
|
7836
|
-
created: boolean;
|
|
7837
|
-
message?: string;
|
|
7838
|
-
};
|
|
7973
|
+
200: GitHubImportProjectResultResponse;
|
|
7839
7974
|
/**
|
|
7840
7975
|
* Project created successfully from the GitHub repository
|
|
7841
7976
|
*/
|
|
7842
|
-
201:
|
|
7843
|
-
project: Project;
|
|
7844
|
-
created: boolean;
|
|
7845
|
-
};
|
|
7977
|
+
201: GitHubImportProjectResultResponse;
|
|
7846
7978
|
};
|
|
7847
7979
|
export type ImportGitHubProjectResponse = ImportGitHubProjectResponses[keyof ImportGitHubProjectResponses];
|
|
7848
7980
|
export type ImportGitHubBlueprintsData = {
|
|
@@ -9365,7 +9497,7 @@ export type GetAgentExecutionEventsResponses = {
|
|
|
9365
9497
|
/**
|
|
9366
9498
|
* Events retrieved successfully (shape depends on whether `since` was provided)
|
|
9367
9499
|
*/
|
|
9368
|
-
200:
|
|
9500
|
+
200: AgentExecutionEventsResponse;
|
|
9369
9501
|
};
|
|
9370
9502
|
export type GetAgentExecutionEventsResponse = GetAgentExecutionEventsResponses[keyof GetAgentExecutionEventsResponses];
|
|
9371
9503
|
export type ListConversationExecutionsData = {
|
|
@@ -11465,7 +11597,7 @@ export type ListEmbeddingProvidersResponses = {
|
|
|
11465
11597
|
/**
|
|
11466
11598
|
* Embedding providers retrieved successfully
|
|
11467
11599
|
*/
|
|
11468
|
-
200:
|
|
11600
|
+
200: EmbeddingProviderArrayResponse;
|
|
11469
11601
|
};
|
|
11470
11602
|
export type ListEmbeddingProvidersResponse = ListEmbeddingProvidersResponses[keyof ListEmbeddingProvidersResponses];
|
|
11471
11603
|
export type CreateEmbeddingProviderData = {
|
|
@@ -11963,6 +12095,281 @@ export type UpdateTeamSearchSettingsResponses = {
|
|
|
11963
12095
|
200: TeamSearchSettings;
|
|
11964
12096
|
};
|
|
11965
12097
|
export type UpdateTeamSearchSettingsResponse = UpdateTeamSearchSettingsResponses[keyof UpdateTeamSearchSettingsResponses];
|
|
12098
|
+
export type ListFreshnessRulesData = {
|
|
12099
|
+
body?: never;
|
|
12100
|
+
path: {
|
|
12101
|
+
/**
|
|
12102
|
+
* Team identifier
|
|
12103
|
+
*/
|
|
12104
|
+
team_id: string;
|
|
12105
|
+
};
|
|
12106
|
+
query?: never;
|
|
12107
|
+
url: '/api/v1/{team_id}/freshness/rules';
|
|
12108
|
+
};
|
|
12109
|
+
export type ListFreshnessRulesErrors = {
|
|
12110
|
+
/**
|
|
12111
|
+
* Invalid team_id
|
|
12112
|
+
*/
|
|
12113
|
+
400: ErrorResponse;
|
|
12114
|
+
/**
|
|
12115
|
+
* Authentication required
|
|
12116
|
+
*/
|
|
12117
|
+
401: ErrorResponse;
|
|
12118
|
+
/**
|
|
12119
|
+
* Caller is not a member of the team
|
|
12120
|
+
*/
|
|
12121
|
+
403: ErrorResponse;
|
|
12122
|
+
/**
|
|
12123
|
+
* Failed to list the team's freshness rules
|
|
12124
|
+
*/
|
|
12125
|
+
500: ErrorResponse;
|
|
12126
|
+
};
|
|
12127
|
+
export type ListFreshnessRulesError = ListFreshnessRulesErrors[keyof ListFreshnessRulesErrors];
|
|
12128
|
+
export type ListFreshnessRulesResponses = {
|
|
12129
|
+
/**
|
|
12130
|
+
* Rules retrieved successfully
|
|
12131
|
+
*/
|
|
12132
|
+
200: FreshnessRuleListResponse;
|
|
12133
|
+
};
|
|
12134
|
+
export type ListFreshnessRulesResponse = ListFreshnessRulesResponses[keyof ListFreshnessRulesResponses];
|
|
12135
|
+
export type CreateFreshnessRuleData = {
|
|
12136
|
+
body: CreateFreshnessRuleRequest;
|
|
12137
|
+
path: {
|
|
12138
|
+
/**
|
|
12139
|
+
* Team identifier
|
|
12140
|
+
*/
|
|
12141
|
+
team_id: string;
|
|
12142
|
+
};
|
|
12143
|
+
query?: never;
|
|
12144
|
+
url: '/api/v1/{team_id}/freshness/rules';
|
|
12145
|
+
};
|
|
12146
|
+
export type CreateFreshnessRuleErrors = {
|
|
12147
|
+
/**
|
|
12148
|
+
* Invalid team_id or rule definition
|
|
12149
|
+
*/
|
|
12150
|
+
400: ErrorResponse;
|
|
12151
|
+
/**
|
|
12152
|
+
* Authentication required
|
|
12153
|
+
*/
|
|
12154
|
+
401: ErrorResponse;
|
|
12155
|
+
/**
|
|
12156
|
+
* Caller may not change the team's settings
|
|
12157
|
+
*/
|
|
12158
|
+
403: ErrorResponse;
|
|
12159
|
+
/**
|
|
12160
|
+
* Failed to create the freshness rule
|
|
12161
|
+
*/
|
|
12162
|
+
500: ErrorResponse;
|
|
12163
|
+
};
|
|
12164
|
+
export type CreateFreshnessRuleError = CreateFreshnessRuleErrors[keyof CreateFreshnessRuleErrors];
|
|
12165
|
+
export type CreateFreshnessRuleResponses = {
|
|
12166
|
+
/**
|
|
12167
|
+
* Rule created successfully
|
|
12168
|
+
*/
|
|
12169
|
+
201: FreshnessRule;
|
|
12170
|
+
};
|
|
12171
|
+
export type CreateFreshnessRuleResponse = CreateFreshnessRuleResponses[keyof CreateFreshnessRuleResponses];
|
|
12172
|
+
export type DeleteFreshnessRuleData = {
|
|
12173
|
+
body?: never;
|
|
12174
|
+
path: {
|
|
12175
|
+
/**
|
|
12176
|
+
* Team identifier
|
|
12177
|
+
*/
|
|
12178
|
+
team_id: string;
|
|
12179
|
+
/**
|
|
12180
|
+
* Freshness rule identifier
|
|
12181
|
+
*/
|
|
12182
|
+
rule_id: string;
|
|
12183
|
+
};
|
|
12184
|
+
query?: never;
|
|
12185
|
+
url: '/api/v1/{team_id}/freshness/rules/{rule_id}';
|
|
12186
|
+
};
|
|
12187
|
+
export type DeleteFreshnessRuleErrors = {
|
|
12188
|
+
/**
|
|
12189
|
+
* Invalid identifiers
|
|
12190
|
+
*/
|
|
12191
|
+
400: ErrorResponse;
|
|
12192
|
+
/**
|
|
12193
|
+
* Authentication required
|
|
12194
|
+
*/
|
|
12195
|
+
401: ErrorResponse;
|
|
12196
|
+
/**
|
|
12197
|
+
* Caller may not change the team's settings
|
|
12198
|
+
*/
|
|
12199
|
+
403: ErrorResponse;
|
|
12200
|
+
/**
|
|
12201
|
+
* No such rule in this team
|
|
12202
|
+
*/
|
|
12203
|
+
404: ErrorResponse;
|
|
12204
|
+
/**
|
|
12205
|
+
* Failed to delete the freshness rule
|
|
12206
|
+
*/
|
|
12207
|
+
500: ErrorResponse;
|
|
12208
|
+
};
|
|
12209
|
+
export type DeleteFreshnessRuleError = DeleteFreshnessRuleErrors[keyof DeleteFreshnessRuleErrors];
|
|
12210
|
+
export type DeleteFreshnessRuleResponses = {
|
|
12211
|
+
/**
|
|
12212
|
+
* Rule deleted (no content)
|
|
12213
|
+
*/
|
|
12214
|
+
204: void;
|
|
12215
|
+
};
|
|
12216
|
+
export type DeleteFreshnessRuleResponse = DeleteFreshnessRuleResponses[keyof DeleteFreshnessRuleResponses];
|
|
12217
|
+
export type UpdateFreshnessRuleData = {
|
|
12218
|
+
body: UpdateFreshnessRuleRequest;
|
|
12219
|
+
path: {
|
|
12220
|
+
/**
|
|
12221
|
+
* Team identifier
|
|
12222
|
+
*/
|
|
12223
|
+
team_id: string;
|
|
12224
|
+
/**
|
|
12225
|
+
* Freshness rule identifier
|
|
12226
|
+
*/
|
|
12227
|
+
rule_id: string;
|
|
12228
|
+
};
|
|
12229
|
+
query?: never;
|
|
12230
|
+
url: '/api/v1/{team_id}/freshness/rules/{rule_id}';
|
|
12231
|
+
};
|
|
12232
|
+
export type UpdateFreshnessRuleErrors = {
|
|
12233
|
+
/**
|
|
12234
|
+
* Invalid identifiers or rule definition
|
|
12235
|
+
*/
|
|
12236
|
+
400: ErrorResponse;
|
|
12237
|
+
/**
|
|
12238
|
+
* Authentication required
|
|
12239
|
+
*/
|
|
12240
|
+
401: ErrorResponse;
|
|
12241
|
+
/**
|
|
12242
|
+
* Caller may not change the team's settings
|
|
12243
|
+
*/
|
|
12244
|
+
403: ErrorResponse;
|
|
12245
|
+
/**
|
|
12246
|
+
* No such rule in this team
|
|
12247
|
+
*/
|
|
12248
|
+
404: ErrorResponse;
|
|
12249
|
+
/**
|
|
12250
|
+
* Failed to update the freshness rule
|
|
12251
|
+
*/
|
|
12252
|
+
500: ErrorResponse;
|
|
12253
|
+
};
|
|
12254
|
+
export type UpdateFreshnessRuleError = UpdateFreshnessRuleErrors[keyof UpdateFreshnessRuleErrors];
|
|
12255
|
+
export type UpdateFreshnessRuleResponses = {
|
|
12256
|
+
/**
|
|
12257
|
+
* Rule updated successfully
|
|
12258
|
+
*/
|
|
12259
|
+
200: FreshnessRule;
|
|
12260
|
+
};
|
|
12261
|
+
export type UpdateFreshnessRuleResponse = UpdateFreshnessRuleResponses[keyof UpdateFreshnessRuleResponses];
|
|
12262
|
+
export type ResetTeamFreshnessSettingsData = {
|
|
12263
|
+
body?: never;
|
|
12264
|
+
path: {
|
|
12265
|
+
/**
|
|
12266
|
+
* Team identifier
|
|
12267
|
+
*/
|
|
12268
|
+
team_id: string;
|
|
12269
|
+
};
|
|
12270
|
+
query?: never;
|
|
12271
|
+
url: '/api/v1/{team_id}/settings/freshness';
|
|
12272
|
+
};
|
|
12273
|
+
export type ResetTeamFreshnessSettingsErrors = {
|
|
12274
|
+
/**
|
|
12275
|
+
* Invalid team_id
|
|
12276
|
+
*/
|
|
12277
|
+
400: ErrorResponse;
|
|
12278
|
+
/**
|
|
12279
|
+
* Authentication required
|
|
12280
|
+
*/
|
|
12281
|
+
401: ErrorResponse;
|
|
12282
|
+
/**
|
|
12283
|
+
* Caller may not change the team's settings
|
|
12284
|
+
*/
|
|
12285
|
+
403: ErrorResponse;
|
|
12286
|
+
/**
|
|
12287
|
+
* Failed to reset the team's freshness settings
|
|
12288
|
+
*/
|
|
12289
|
+
500: ErrorResponse;
|
|
12290
|
+
};
|
|
12291
|
+
export type ResetTeamFreshnessSettingsError = ResetTeamFreshnessSettingsErrors[keyof ResetTeamFreshnessSettingsErrors];
|
|
12292
|
+
export type ResetTeamFreshnessSettingsResponses = {
|
|
12293
|
+
/**
|
|
12294
|
+
* Settings reset (no content); the team now inherits the defaults
|
|
12295
|
+
*/
|
|
12296
|
+
204: void;
|
|
12297
|
+
};
|
|
12298
|
+
export type ResetTeamFreshnessSettingsResponse = ResetTeamFreshnessSettingsResponses[keyof ResetTeamFreshnessSettingsResponses];
|
|
12299
|
+
export type GetTeamFreshnessSettingsData = {
|
|
12300
|
+
body?: never;
|
|
12301
|
+
path: {
|
|
12302
|
+
/**
|
|
12303
|
+
* Team identifier
|
|
12304
|
+
*/
|
|
12305
|
+
team_id: string;
|
|
12306
|
+
};
|
|
12307
|
+
query?: never;
|
|
12308
|
+
url: '/api/v1/{team_id}/settings/freshness';
|
|
12309
|
+
};
|
|
12310
|
+
export type GetTeamFreshnessSettingsErrors = {
|
|
12311
|
+
/**
|
|
12312
|
+
* Invalid team_id
|
|
12313
|
+
*/
|
|
12314
|
+
400: ErrorResponse;
|
|
12315
|
+
/**
|
|
12316
|
+
* Authentication required
|
|
12317
|
+
*/
|
|
12318
|
+
401: ErrorResponse;
|
|
12319
|
+
/**
|
|
12320
|
+
* Caller is not a member of the team
|
|
12321
|
+
*/
|
|
12322
|
+
403: ErrorResponse;
|
|
12323
|
+
/**
|
|
12324
|
+
* Failed to read the team's freshness settings
|
|
12325
|
+
*/
|
|
12326
|
+
500: ErrorResponse;
|
|
12327
|
+
};
|
|
12328
|
+
export type GetTeamFreshnessSettingsError = GetTeamFreshnessSettingsErrors[keyof GetTeamFreshnessSettingsErrors];
|
|
12329
|
+
export type GetTeamFreshnessSettingsResponses = {
|
|
12330
|
+
/**
|
|
12331
|
+
* Settings retrieved successfully
|
|
12332
|
+
*/
|
|
12333
|
+
200: TeamFreshnessSettings;
|
|
12334
|
+
};
|
|
12335
|
+
export type GetTeamFreshnessSettingsResponse = GetTeamFreshnessSettingsResponses[keyof GetTeamFreshnessSettingsResponses];
|
|
12336
|
+
export type UpdateTeamFreshnessSettingsData = {
|
|
12337
|
+
body: UpdateTeamFreshnessSettingsRequest;
|
|
12338
|
+
path: {
|
|
12339
|
+
/**
|
|
12340
|
+
* Team identifier
|
|
12341
|
+
*/
|
|
12342
|
+
team_id: string;
|
|
12343
|
+
};
|
|
12344
|
+
query?: never;
|
|
12345
|
+
url: '/api/v1/{team_id}/settings/freshness';
|
|
12346
|
+
};
|
|
12347
|
+
export type UpdateTeamFreshnessSettingsErrors = {
|
|
12348
|
+
/**
|
|
12349
|
+
* Invalid team_id or settings
|
|
12350
|
+
*/
|
|
12351
|
+
400: ErrorResponse;
|
|
12352
|
+
/**
|
|
12353
|
+
* Authentication required
|
|
12354
|
+
*/
|
|
12355
|
+
401: ErrorResponse;
|
|
12356
|
+
/**
|
|
12357
|
+
* Caller may not change the team's settings
|
|
12358
|
+
*/
|
|
12359
|
+
403: ErrorResponse;
|
|
12360
|
+
/**
|
|
12361
|
+
* Failed to update the team's freshness settings
|
|
12362
|
+
*/
|
|
12363
|
+
500: ErrorResponse;
|
|
12364
|
+
};
|
|
12365
|
+
export type UpdateTeamFreshnessSettingsError = UpdateTeamFreshnessSettingsErrors[keyof UpdateTeamFreshnessSettingsErrors];
|
|
12366
|
+
export type UpdateTeamFreshnessSettingsResponses = {
|
|
12367
|
+
/**
|
|
12368
|
+
* Settings updated successfully
|
|
12369
|
+
*/
|
|
12370
|
+
200: TeamFreshnessSettings;
|
|
12371
|
+
};
|
|
12372
|
+
export type UpdateTeamFreshnessSettingsResponse = UpdateTeamFreshnessSettingsResponses[keyof UpdateTeamFreshnessSettingsResponses];
|
|
11966
12373
|
export type ListEmbeddingProvidersSettingsData = {
|
|
11967
12374
|
body?: never;
|
|
11968
12375
|
path: {
|
|
@@ -11989,7 +12396,7 @@ export type ListEmbeddingProvidersSettingsResponses = {
|
|
|
11989
12396
|
/**
|
|
11990
12397
|
* Embedding providers retrieved successfully
|
|
11991
12398
|
*/
|
|
11992
|
-
200:
|
|
12399
|
+
200: EmbeddingProviderArrayResponse;
|
|
11993
12400
|
};
|
|
11994
12401
|
export type ListEmbeddingProvidersSettingsResponse = ListEmbeddingProvidersSettingsResponses[keyof ListEmbeddingProvidersSettingsResponses];
|
|
11995
12402
|
export type CreateEmbeddingProviderSettingsData = {
|