@vibexp/api-client 0.82.0 → 0.84.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 +58 -3
- package/dist/axios/sdk.gen.js +122 -2
- package/dist/axios/types.gen.d.ts +542 -5
- package/dist/schema.d.ts +643 -7
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -2602,8 +2602,10 @@ export interface paths {
|
|
|
2602
2602
|
};
|
|
2603
2603
|
/**
|
|
2604
2604
|
* List instance teams
|
|
2605
|
-
* @description Returns a paginated, instance-wide listing of teams with each team's owner
|
|
2606
|
-
*
|
|
2605
|
+
* @description Returns a paginated, instance-wide listing of teams with each team's owner,
|
|
2606
|
+
* member/owner/admin/project counts, per-type resource counts and which
|
|
2607
|
+
* settings the team has configured itself (instance-level fallback never
|
|
2608
|
+
* counts as configured). Supports case-insensitive search, typed filters, and
|
|
2607
2609
|
* allowlisted sorting; filters combine with AND and the pagination envelope
|
|
2608
2610
|
* reflects the filtered set. Instance-admin only; non-admin and
|
|
2609
2611
|
* unauthenticated requests receive 404.
|
|
@@ -2639,6 +2641,124 @@ export interface paths {
|
|
|
2639
2641
|
patch?: never;
|
|
2640
2642
|
trace?: never;
|
|
2641
2643
|
};
|
|
2644
|
+
"/api/v1/admin/teams/{id}/config/search": {
|
|
2645
|
+
parameters: {
|
|
2646
|
+
query?: never;
|
|
2647
|
+
header?: never;
|
|
2648
|
+
path?: never;
|
|
2649
|
+
cookie?: never;
|
|
2650
|
+
};
|
|
2651
|
+
/**
|
|
2652
|
+
* Get a team's search ranking settings
|
|
2653
|
+
* @description Returns the team's effective search ranking settings, where they came from
|
|
2654
|
+
* (`team` or `instance`), the instance defaults and the instance-owned
|
|
2655
|
+
* candidate cap.
|
|
2656
|
+
* Read-only. Instance-admin only; non-admin and unauthenticated requests
|
|
2657
|
+
* receive 404, as does an unknown team id.
|
|
2658
|
+
*/
|
|
2659
|
+
get: operations["getAdminTeamSearchConfig"];
|
|
2660
|
+
put?: never;
|
|
2661
|
+
post?: never;
|
|
2662
|
+
delete?: never;
|
|
2663
|
+
options?: never;
|
|
2664
|
+
head?: never;
|
|
2665
|
+
patch?: never;
|
|
2666
|
+
trace?: never;
|
|
2667
|
+
};
|
|
2668
|
+
"/api/v1/admin/teams/{id}/config/ai-summary": {
|
|
2669
|
+
parameters: {
|
|
2670
|
+
query?: never;
|
|
2671
|
+
header?: never;
|
|
2672
|
+
path?: never;
|
|
2673
|
+
cookie?: never;
|
|
2674
|
+
};
|
|
2675
|
+
/**
|
|
2676
|
+
* Get a team's AI summary settings
|
|
2677
|
+
* @description Returns the team's effective AI summary settings, their source, the instance
|
|
2678
|
+
* defaults and caps, whether a model provider exists, and the selected
|
|
2679
|
+
* provider's name. No provider credential is ever included.
|
|
2680
|
+
* Read-only. Instance-admin only; non-admin and unauthenticated requests
|
|
2681
|
+
* receive 404, as does an unknown team id.
|
|
2682
|
+
*/
|
|
2683
|
+
get: operations["getAdminTeamAISummaryConfig"];
|
|
2684
|
+
put?: never;
|
|
2685
|
+
post?: never;
|
|
2686
|
+
delete?: never;
|
|
2687
|
+
options?: never;
|
|
2688
|
+
head?: never;
|
|
2689
|
+
patch?: never;
|
|
2690
|
+
trace?: never;
|
|
2691
|
+
};
|
|
2692
|
+
"/api/v1/admin/teams/{id}/config/freshness": {
|
|
2693
|
+
parameters: {
|
|
2694
|
+
query?: never;
|
|
2695
|
+
header?: never;
|
|
2696
|
+
path?: never;
|
|
2697
|
+
cookie?: never;
|
|
2698
|
+
};
|
|
2699
|
+
/**
|
|
2700
|
+
* Get a team's freshness settings and rules
|
|
2701
|
+
* @description Returns the team's freshness settings (with source and defaults) and every
|
|
2702
|
+
* freshness rule, including each rule's optional project scope.
|
|
2703
|
+
* Read-only. Instance-admin only; non-admin and unauthenticated requests
|
|
2704
|
+
* receive 404, as does an unknown team id.
|
|
2705
|
+
*/
|
|
2706
|
+
get: operations["getAdminTeamFreshnessConfig"];
|
|
2707
|
+
put?: never;
|
|
2708
|
+
post?: never;
|
|
2709
|
+
delete?: never;
|
|
2710
|
+
options?: never;
|
|
2711
|
+
head?: never;
|
|
2712
|
+
patch?: never;
|
|
2713
|
+
trace?: never;
|
|
2714
|
+
};
|
|
2715
|
+
"/api/v1/admin/teams/{id}/config/artifact-types": {
|
|
2716
|
+
parameters: {
|
|
2717
|
+
query?: never;
|
|
2718
|
+
header?: never;
|
|
2719
|
+
path?: never;
|
|
2720
|
+
cookie?: never;
|
|
2721
|
+
};
|
|
2722
|
+
/**
|
|
2723
|
+
* Get a team's artifact types
|
|
2724
|
+
* @description Returns the artifact types the team sees: the global system types and the
|
|
2725
|
+
* team's own custom types.
|
|
2726
|
+
* Read-only. Instance-admin only; non-admin and unauthenticated requests
|
|
2727
|
+
* receive 404, as does an unknown team id.
|
|
2728
|
+
*/
|
|
2729
|
+
get: operations["getAdminTeamArtifactTypes"];
|
|
2730
|
+
put?: never;
|
|
2731
|
+
post?: never;
|
|
2732
|
+
delete?: never;
|
|
2733
|
+
options?: never;
|
|
2734
|
+
head?: never;
|
|
2735
|
+
patch?: never;
|
|
2736
|
+
trace?: never;
|
|
2737
|
+
};
|
|
2738
|
+
"/api/v1/admin/teams/{id}/config/settings-audit": {
|
|
2739
|
+
parameters: {
|
|
2740
|
+
query?: never;
|
|
2741
|
+
header?: never;
|
|
2742
|
+
path?: never;
|
|
2743
|
+
cookie?: never;
|
|
2744
|
+
};
|
|
2745
|
+
/**
|
|
2746
|
+
* List a team's settings audit log
|
|
2747
|
+
* @description Returns one page of the team's settings-copy audit log, newest first, with
|
|
2748
|
+
* actor and source-team names resolved. Each entry's `detail` is filtered to
|
|
2749
|
+
* a per-surface key allowlist, so no credential can surface here.
|
|
2750
|
+
* Read-only. Instance-admin only; non-admin and unauthenticated requests
|
|
2751
|
+
* receive 404, as does an unknown team id.
|
|
2752
|
+
*/
|
|
2753
|
+
get: operations["listAdminTeamSettingsAudit"];
|
|
2754
|
+
put?: never;
|
|
2755
|
+
post?: never;
|
|
2756
|
+
delete?: never;
|
|
2757
|
+
options?: never;
|
|
2758
|
+
head?: never;
|
|
2759
|
+
patch?: never;
|
|
2760
|
+
trace?: never;
|
|
2761
|
+
};
|
|
2642
2762
|
"/api/v1/admin/dashboard/overview": {
|
|
2643
2763
|
parameters: {
|
|
2644
2764
|
query?: never;
|
|
@@ -10494,10 +10614,11 @@ export interface components {
|
|
|
10494
10614
|
last_resource_created_at?: string | null;
|
|
10495
10615
|
};
|
|
10496
10616
|
/**
|
|
10497
|
-
* @description How many resources of each type
|
|
10498
|
-
*
|
|
10499
|
-
*
|
|
10500
|
-
*
|
|
10617
|
+
* @description How many resources of each type belong to the listed row. On a user row
|
|
10618
|
+
* these are the resources the user authored, counted by the author column of
|
|
10619
|
+
* each table (feeds by creator, feed items by poster); on a team row they are
|
|
10620
|
+
* the resources in the team, counted by team_id. Every row counts regardless
|
|
10621
|
+
* of its status or archive state. `total` is the sum of the nine types.
|
|
10501
10622
|
*/
|
|
10502
10623
|
AdminResourceCounts: {
|
|
10503
10624
|
/**
|
|
@@ -10670,9 +10791,50 @@ export interface components {
|
|
|
10670
10791
|
* @example 8
|
|
10671
10792
|
*/
|
|
10672
10793
|
member_count: number;
|
|
10794
|
+
/**
|
|
10795
|
+
* Format: int64
|
|
10796
|
+
* @description Number of members holding the owner role. Always 1 by application invariant; any other value signals integrity drift.
|
|
10797
|
+
* @example 1
|
|
10798
|
+
*/
|
|
10799
|
+
owner_count: number;
|
|
10800
|
+
/**
|
|
10801
|
+
* Format: int64
|
|
10802
|
+
* @description Number of members holding the admin role.
|
|
10803
|
+
* @example 2
|
|
10804
|
+
*/
|
|
10805
|
+
admin_count: number;
|
|
10806
|
+
/**
|
|
10807
|
+
* Format: int64
|
|
10808
|
+
* @description Number of projects in the team.
|
|
10809
|
+
* @example 3
|
|
10810
|
+
*/
|
|
10811
|
+
project_count: number;
|
|
10812
|
+
resource_counts: components["schemas"]["AdminResourceCounts"];
|
|
10813
|
+
configuration: components["schemas"]["AdminTeamConfiguration"];
|
|
10673
10814
|
/** Format: date-time */
|
|
10674
10815
|
created_at: string;
|
|
10675
10816
|
};
|
|
10817
|
+
/**
|
|
10818
|
+
* @description Which settings a team has configured itself. Each flag reflects the team's
|
|
10819
|
+
* OWN rows only; instance-level fallback configuration (config.yaml) never
|
|
10820
|
+
* counts as configured.
|
|
10821
|
+
*/
|
|
10822
|
+
AdminTeamConfiguration: {
|
|
10823
|
+
/** @description The team has at least one embedding provider of its own. */
|
|
10824
|
+
embedding_configured: boolean;
|
|
10825
|
+
/** @description The team has at least one LLM model provider of its own. */
|
|
10826
|
+
llm_configured: boolean;
|
|
10827
|
+
/** @description The team has its own AI summary settings with summaries enabled. */
|
|
10828
|
+
ai_summary_enabled: boolean;
|
|
10829
|
+
/** @description The team has its own email provider, regardless of its delivery health. */
|
|
10830
|
+
email_configured: boolean;
|
|
10831
|
+
/** @description The team has its own GitHub App configuration or at least one GitHub App installation (suspended installations included). */
|
|
10832
|
+
github_configured: boolean;
|
|
10833
|
+
/** @description The team has its own search settings. */
|
|
10834
|
+
search_settings_customized: boolean;
|
|
10835
|
+
/** @description The team has at least one enabled freshness rule. */
|
|
10836
|
+
freshness_enabled: boolean;
|
|
10837
|
+
};
|
|
10676
10838
|
/** @description A page of the instance-wide team listing, newest first. */
|
|
10677
10839
|
AdminTeamListResponse: {
|
|
10678
10840
|
/** @description Teams on this page, newest first. */
|
|
@@ -11353,6 +11515,153 @@ export interface components {
|
|
|
11353
11515
|
*/
|
|
11354
11516
|
earliest_retained_at: string;
|
|
11355
11517
|
};
|
|
11518
|
+
/**
|
|
11519
|
+
* @description Where the values in effect came from: `team` when the team stored its own
|
|
11520
|
+
* profile, `instance` when it has none and inherits the deployment defaults.
|
|
11521
|
+
* @example instance
|
|
11522
|
+
* @enum {string}
|
|
11523
|
+
*/
|
|
11524
|
+
AdminTeamConfigSource: "team" | "instance";
|
|
11525
|
+
/** @description A complete search ranking profile. */
|
|
11526
|
+
AdminSearchValues: {
|
|
11527
|
+
recency_ranking_enabled: boolean;
|
|
11528
|
+
/** Format: double */
|
|
11529
|
+
rank_weight_relevance: number;
|
|
11530
|
+
/** Format: double */
|
|
11531
|
+
rank_weight_created: number;
|
|
11532
|
+
/** Format: double */
|
|
11533
|
+
rank_weight_updated: number;
|
|
11534
|
+
/** Format: double */
|
|
11535
|
+
rank_half_life_days: number;
|
|
11536
|
+
};
|
|
11537
|
+
/** @description A team's effective search ranking settings (GET /api/v1/admin/teams/{id}/config/search). */
|
|
11538
|
+
AdminTeamSearchConfig: {
|
|
11539
|
+
source: components["schemas"]["AdminTeamConfigSource"];
|
|
11540
|
+
values: components["schemas"]["AdminSearchValues"];
|
|
11541
|
+
instance_defaults: components["schemas"]["AdminSearchValues"];
|
|
11542
|
+
/** @description Instance-owned cap on rows re-ranked per search; never team-configurable. */
|
|
11543
|
+
rank_candidate_cap: number;
|
|
11544
|
+
};
|
|
11545
|
+
/** @description A complete AI summary profile. */
|
|
11546
|
+
AdminAISummaryValues: {
|
|
11547
|
+
enabled: boolean;
|
|
11548
|
+
/**
|
|
11549
|
+
* Format: uuid
|
|
11550
|
+
* @description The selected model provider; `null` means the team's default provider.
|
|
11551
|
+
*/
|
|
11552
|
+
model_provider_id: string | null;
|
|
11553
|
+
top_n: number;
|
|
11554
|
+
/** @enum {string} */
|
|
11555
|
+
style: "concise" | "balanced" | "detailed";
|
|
11556
|
+
max_output_tokens: number;
|
|
11557
|
+
};
|
|
11558
|
+
/** @description A team's effective AI summary settings (GET /api/v1/admin/teams/{id}/config/ai-summary). */
|
|
11559
|
+
AdminTeamAISummaryConfig: {
|
|
11560
|
+
source: components["schemas"]["AdminTeamConfigSource"];
|
|
11561
|
+
values: components["schemas"]["AdminAISummaryValues"];
|
|
11562
|
+
instance_defaults: components["schemas"]["AdminAISummaryValues"];
|
|
11563
|
+
/**
|
|
11564
|
+
* @description Name of the provider `values.model_provider_id` selects. `null` when no
|
|
11565
|
+
* provider is selected or the id no longer resolves to one of the team's
|
|
11566
|
+
* providers.
|
|
11567
|
+
*/
|
|
11568
|
+
model_provider_name: string | null;
|
|
11569
|
+
/** @description Instance-owned upper bound on `top_n`. */
|
|
11570
|
+
max_top_n: number;
|
|
11571
|
+
/** @description Instance-owned upper bound on `max_output_tokens`. */
|
|
11572
|
+
max_output_tokens_ceiling: number;
|
|
11573
|
+
/** @description Whether the team has at least one model provider (existence, not health). */
|
|
11574
|
+
available: boolean;
|
|
11575
|
+
};
|
|
11576
|
+
/** @description A team's freshness evaluation settings. */
|
|
11577
|
+
AdminFreshnessValues: {
|
|
11578
|
+
interval_seconds: number;
|
|
11579
|
+
reversibility_enabled: boolean;
|
|
11580
|
+
};
|
|
11581
|
+
/** @description One freshness rule. */
|
|
11582
|
+
AdminFreshnessRule: {
|
|
11583
|
+
/** Format: uuid */
|
|
11584
|
+
id: string;
|
|
11585
|
+
/**
|
|
11586
|
+
* Format: uuid
|
|
11587
|
+
* @description The project the rule is scoped to; `null` for a team-wide rule.
|
|
11588
|
+
*/
|
|
11589
|
+
project_id: string | null;
|
|
11590
|
+
resource_types: string[];
|
|
11591
|
+
/** @description Access mediums that count as "accessed". Empty means any medium. */
|
|
11592
|
+
mediums: string[];
|
|
11593
|
+
threshold_days: number;
|
|
11594
|
+
enabled: boolean;
|
|
11595
|
+
/** Format: date-time */
|
|
11596
|
+
created_at: string;
|
|
11597
|
+
/** Format: date-time */
|
|
11598
|
+
updated_at: string;
|
|
11599
|
+
};
|
|
11600
|
+
/** @description A team's freshness settings and rules (GET /api/v1/admin/teams/{id}/config/freshness). */
|
|
11601
|
+
AdminTeamFreshnessConfig: {
|
|
11602
|
+
source: components["schemas"]["AdminTeamConfigSource"];
|
|
11603
|
+
values: components["schemas"]["AdminFreshnessValues"];
|
|
11604
|
+
defaults: components["schemas"]["AdminFreshnessValues"];
|
|
11605
|
+
/** @description Every rule, oldest first. `[]` when the team has none. */
|
|
11606
|
+
rules: components["schemas"]["AdminFreshnessRule"][];
|
|
11607
|
+
};
|
|
11608
|
+
/** @description One artifact type visible to the team. */
|
|
11609
|
+
AdminArtifactType: {
|
|
11610
|
+
/** Format: uuid */
|
|
11611
|
+
id: string;
|
|
11612
|
+
slug: string;
|
|
11613
|
+
name: string;
|
|
11614
|
+
/** @description True for a global system default, false for the team's own custom type. */
|
|
11615
|
+
is_system: boolean;
|
|
11616
|
+
/** Format: date-time */
|
|
11617
|
+
created_at: string;
|
|
11618
|
+
/** Format: date-time */
|
|
11619
|
+
updated_at: string;
|
|
11620
|
+
};
|
|
11621
|
+
/** @description The artifact types a team sees (GET /api/v1/admin/teams/{id}/config/artifact-types). */
|
|
11622
|
+
AdminTeamArtifactTypes: {
|
|
11623
|
+
/** @description System types first, then custom types, each by name. */
|
|
11624
|
+
types: components["schemas"]["AdminArtifactType"][];
|
|
11625
|
+
};
|
|
11626
|
+
/** @description One recorded settings copy into the team. */
|
|
11627
|
+
AdminTeamSettingsAuditEntry: {
|
|
11628
|
+
/** Format: uuid */
|
|
11629
|
+
id: string;
|
|
11630
|
+
/** @enum {string} */
|
|
11631
|
+
surface: "embedding_provider" | "model_provider" | "custom_types";
|
|
11632
|
+
/** Format: uuid */
|
|
11633
|
+
actor_user_id: string | null;
|
|
11634
|
+
actor_name: string | null;
|
|
11635
|
+
/** Format: uuid */
|
|
11636
|
+
source_team_id: string | null;
|
|
11637
|
+
source_team_name: string | null;
|
|
11638
|
+
/** Format: uuid */
|
|
11639
|
+
source_resource_id: string | null;
|
|
11640
|
+
/** Format: uuid */
|
|
11641
|
+
created_resource_id: string | null;
|
|
11642
|
+
/**
|
|
11643
|
+
* @description Surface-specific facts, filtered to a per-surface key allowlist
|
|
11644
|
+
* (model_provider: source_name, created_name, provider_type, model,
|
|
11645
|
+
* has_api_key; embedding_provider: the same plus becomes_active,
|
|
11646
|
+
* displaced_model, displaced_embedded_resources; custom_types: added_ids,
|
|
11647
|
+
* added_slugs, skipped_slugs). Any other stored key is dropped. Always an
|
|
11648
|
+
* object, never null.
|
|
11649
|
+
*/
|
|
11650
|
+
detail: {
|
|
11651
|
+
[key: string]: unknown;
|
|
11652
|
+
};
|
|
11653
|
+
/** Format: date-time */
|
|
11654
|
+
created_at: string;
|
|
11655
|
+
};
|
|
11656
|
+
/** @description A page of the team's settings audit log, newest first. */
|
|
11657
|
+
AdminTeamSettingsAuditListResponse: {
|
|
11658
|
+
/** @description Serializes as `[]` when the page is empty, never `null`. */
|
|
11659
|
+
entries: components["schemas"]["AdminTeamSettingsAuditEntry"][];
|
|
11660
|
+
total_count: number;
|
|
11661
|
+
page: number;
|
|
11662
|
+
per_page: number;
|
|
11663
|
+
total_pages: number;
|
|
11664
|
+
};
|
|
11356
11665
|
ProjectResponse: components["schemas"]["Project"] & {
|
|
11357
11666
|
/**
|
|
11358
11667
|
* @description Whether the project's git URL matches a repository accessible via the team's GitHub App installation
|
|
@@ -20898,8 +21207,80 @@ export interface operations {
|
|
|
20898
21207
|
created_from?: string;
|
|
20899
21208
|
/** @description Only teams created at or before this instant (inclusive). */
|
|
20900
21209
|
created_to?: string;
|
|
21210
|
+
/** @description Only teams with at least this many members (inclusive). */
|
|
21211
|
+
member_count_min?: number;
|
|
21212
|
+
/** @description Only teams with at most this many members (inclusive). */
|
|
21213
|
+
member_count_max?: number;
|
|
21214
|
+
/** @description Only teams with at least this many members holding the owner role (always 1 by application invariant; any other value is integrity drift) (inclusive). */
|
|
21215
|
+
owner_count_min?: number;
|
|
21216
|
+
/** @description Only teams with at most this many members holding the owner role (always 1 by application invariant; any other value is integrity drift) (inclusive). */
|
|
21217
|
+
owner_count_max?: number;
|
|
21218
|
+
/** @description Only teams with at least this many members holding the admin role (inclusive). */
|
|
21219
|
+
admin_count_min?: number;
|
|
21220
|
+
/** @description Only teams with at most this many members holding the admin role (inclusive). */
|
|
21221
|
+
admin_count_max?: number;
|
|
21222
|
+
/** @description Only teams with at least this many projects in the team (inclusive). */
|
|
21223
|
+
project_count_min?: number;
|
|
21224
|
+
/** @description Only teams with at most this many projects in the team (inclusive). */
|
|
21225
|
+
project_count_max?: number;
|
|
21226
|
+
/** @description Only teams with at least this many prompts in the team (inclusive). */
|
|
21227
|
+
prompt_count_min?: number;
|
|
21228
|
+
/** @description Only teams with at most this many prompts in the team (inclusive). */
|
|
21229
|
+
prompt_count_max?: number;
|
|
21230
|
+
/** @description Only teams with at least this many memories in the team (inclusive). */
|
|
21231
|
+
memory_count_min?: number;
|
|
21232
|
+
/** @description Only teams with at most this many memories in the team (inclusive). */
|
|
21233
|
+
memory_count_max?: number;
|
|
21234
|
+
/** @description Only teams with at least this many artifacts in the team (inclusive). */
|
|
21235
|
+
artifact_count_min?: number;
|
|
21236
|
+
/** @description Only teams with at most this many artifacts in the team (inclusive). */
|
|
21237
|
+
artifact_count_max?: number;
|
|
21238
|
+
/** @description Only teams with at least this many blueprints in the team (inclusive). */
|
|
21239
|
+
blueprint_count_min?: number;
|
|
21240
|
+
/** @description Only teams with at most this many blueprints in the team (inclusive). */
|
|
21241
|
+
blueprint_count_max?: number;
|
|
21242
|
+
/** @description Only teams with at least this many agents in the team (inclusive). */
|
|
21243
|
+
agent_count_min?: number;
|
|
21244
|
+
/** @description Only teams with at most this many agents in the team (inclusive). */
|
|
21245
|
+
agent_count_max?: number;
|
|
21246
|
+
/** @description Only teams with at least this many feeds in the team (inclusive). */
|
|
21247
|
+
feed_count_min?: number;
|
|
21248
|
+
/** @description Only teams with at most this many feeds in the team (inclusive). */
|
|
21249
|
+
feed_count_max?: number;
|
|
21250
|
+
/** @description Only teams with at least this many feed items in the team (inclusive). */
|
|
21251
|
+
feed_item_count_min?: number;
|
|
21252
|
+
/** @description Only teams with at most this many feed items in the team (inclusive). */
|
|
21253
|
+
feed_item_count_max?: number;
|
|
21254
|
+
/** @description Only teams with at least this many comments in the team (inclusive). */
|
|
21255
|
+
comment_count_min?: number;
|
|
21256
|
+
/** @description Only teams with at most this many comments in the team (inclusive). */
|
|
21257
|
+
comment_count_max?: number;
|
|
21258
|
+
/** @description Only teams with at least this many attachments in the team (inclusive). */
|
|
21259
|
+
attachment_count_min?: number;
|
|
21260
|
+
/** @description Only teams with at most this many attachments in the team (inclusive). */
|
|
21261
|
+
attachment_count_max?: number;
|
|
21262
|
+
/** @description Only teams with at least this many resources in the team across all nine types (the sum of resource_counts) (inclusive). */
|
|
21263
|
+
total_resource_count_min?: number;
|
|
21264
|
+
/** @description Only teams with at most this many resources in the team across all nine types (the sum of resource_counts) (inclusive). */
|
|
21265
|
+
total_resource_count_max?: number;
|
|
21266
|
+
/** @description Case-insensitive exact match on the team owner's email (the user referenced by the team's owner). For substring matching use `search`. */
|
|
21267
|
+
owner_email?: string;
|
|
21268
|
+
/** @description true = the team has at least one embedding provider of its own; false = it does not; omit = any. Instance-level fallback configuration never counts. */
|
|
21269
|
+
embedding_configured?: boolean;
|
|
21270
|
+
/** @description true = the team has at least one LLM model provider of its own; false = it does not; omit = any. Instance-level fallback configuration never counts. */
|
|
21271
|
+
llm_configured?: boolean;
|
|
21272
|
+
/** @description true = the team has its own AI summary settings with summaries enabled; false = it does not; omit = any. Instance-level fallback configuration never counts. */
|
|
21273
|
+
ai_summary_enabled?: boolean;
|
|
21274
|
+
/** @description true = the team has its own email provider (regardless of its delivery health); false = it does not; omit = any. Instance-level fallback configuration never counts. */
|
|
21275
|
+
email_configured?: boolean;
|
|
21276
|
+
/** @description true = the team has its own GitHub App configuration or at least one GitHub App installation (suspended installations included); false = it does not; omit = any. Instance-level fallback configuration never counts. */
|
|
21277
|
+
github_configured?: boolean;
|
|
21278
|
+
/** @description true = the team has its own search settings; false = it does not; omit = any. Instance-level fallback configuration never counts. */
|
|
21279
|
+
search_settings_customized?: boolean;
|
|
21280
|
+
/** @description true = the team has at least one enabled freshness rule; false = it does not; omit = any. Instance-level fallback configuration never counts. */
|
|
21281
|
+
freshness_enabled?: boolean;
|
|
20901
21282
|
/** @description Column to sort by. Ties are always broken by team id so paging is stable. */
|
|
20902
|
-
sort_by?: "created_at" | "name" | "member_count";
|
|
21283
|
+
sort_by?: "created_at" | "name" | "member_count" | "owner_count" | "admin_count" | "project_count" | "prompt_count" | "memory_count" | "artifact_count" | "blueprint_count" | "agent_count" | "feed_count" | "feed_item_count" | "comment_count" | "attachment_count" | "total_resource_count";
|
|
20903
21284
|
/** @description Sort direction. */
|
|
20904
21285
|
sort_order?: "asc" | "desc";
|
|
20905
21286
|
};
|
|
@@ -20988,6 +21369,261 @@ export interface operations {
|
|
|
20988
21369
|
};
|
|
20989
21370
|
};
|
|
20990
21371
|
};
|
|
21372
|
+
getAdminTeamSearchConfig: {
|
|
21373
|
+
parameters: {
|
|
21374
|
+
query?: never;
|
|
21375
|
+
header?: never;
|
|
21376
|
+
path: {
|
|
21377
|
+
/** @description Team id (UUID) */
|
|
21378
|
+
id: string;
|
|
21379
|
+
};
|
|
21380
|
+
cookie?: never;
|
|
21381
|
+
};
|
|
21382
|
+
requestBody?: never;
|
|
21383
|
+
responses: {
|
|
21384
|
+
/** @description The team's search ranking settings */
|
|
21385
|
+
200: {
|
|
21386
|
+
headers: {
|
|
21387
|
+
[name: string]: unknown;
|
|
21388
|
+
};
|
|
21389
|
+
content: {
|
|
21390
|
+
"application/json": components["schemas"]["AdminTeamSearchConfig"];
|
|
21391
|
+
};
|
|
21392
|
+
};
|
|
21393
|
+
/** @description Bad request — malformed team id */
|
|
21394
|
+
400: {
|
|
21395
|
+
headers: {
|
|
21396
|
+
[name: string]: unknown;
|
|
21397
|
+
};
|
|
21398
|
+
content: {
|
|
21399
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
21400
|
+
};
|
|
21401
|
+
};
|
|
21402
|
+
/** @description Not found — unknown team id, or the caller is not an instance admin */
|
|
21403
|
+
404: {
|
|
21404
|
+
headers: {
|
|
21405
|
+
[name: string]: unknown;
|
|
21406
|
+
};
|
|
21407
|
+
content: {
|
|
21408
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
21409
|
+
};
|
|
21410
|
+
};
|
|
21411
|
+
/** @description Internal server error */
|
|
21412
|
+
500: {
|
|
21413
|
+
headers: {
|
|
21414
|
+
[name: string]: unknown;
|
|
21415
|
+
};
|
|
21416
|
+
content: {
|
|
21417
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
21418
|
+
};
|
|
21419
|
+
};
|
|
21420
|
+
};
|
|
21421
|
+
};
|
|
21422
|
+
getAdminTeamAISummaryConfig: {
|
|
21423
|
+
parameters: {
|
|
21424
|
+
query?: never;
|
|
21425
|
+
header?: never;
|
|
21426
|
+
path: {
|
|
21427
|
+
/** @description Team id (UUID) */
|
|
21428
|
+
id: string;
|
|
21429
|
+
};
|
|
21430
|
+
cookie?: never;
|
|
21431
|
+
};
|
|
21432
|
+
requestBody?: never;
|
|
21433
|
+
responses: {
|
|
21434
|
+
/** @description The team's AI summary settings */
|
|
21435
|
+
200: {
|
|
21436
|
+
headers: {
|
|
21437
|
+
[name: string]: unknown;
|
|
21438
|
+
};
|
|
21439
|
+
content: {
|
|
21440
|
+
"application/json": components["schemas"]["AdminTeamAISummaryConfig"];
|
|
21441
|
+
};
|
|
21442
|
+
};
|
|
21443
|
+
/** @description Bad request — malformed team id */
|
|
21444
|
+
400: {
|
|
21445
|
+
headers: {
|
|
21446
|
+
[name: string]: unknown;
|
|
21447
|
+
};
|
|
21448
|
+
content: {
|
|
21449
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
21450
|
+
};
|
|
21451
|
+
};
|
|
21452
|
+
/** @description Not found — unknown team id, or the caller is not an instance admin */
|
|
21453
|
+
404: {
|
|
21454
|
+
headers: {
|
|
21455
|
+
[name: string]: unknown;
|
|
21456
|
+
};
|
|
21457
|
+
content: {
|
|
21458
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
21459
|
+
};
|
|
21460
|
+
};
|
|
21461
|
+
/** @description Internal server error */
|
|
21462
|
+
500: {
|
|
21463
|
+
headers: {
|
|
21464
|
+
[name: string]: unknown;
|
|
21465
|
+
};
|
|
21466
|
+
content: {
|
|
21467
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
21468
|
+
};
|
|
21469
|
+
};
|
|
21470
|
+
};
|
|
21471
|
+
};
|
|
21472
|
+
getAdminTeamFreshnessConfig: {
|
|
21473
|
+
parameters: {
|
|
21474
|
+
query?: never;
|
|
21475
|
+
header?: never;
|
|
21476
|
+
path: {
|
|
21477
|
+
/** @description Team id (UUID) */
|
|
21478
|
+
id: string;
|
|
21479
|
+
};
|
|
21480
|
+
cookie?: never;
|
|
21481
|
+
};
|
|
21482
|
+
requestBody?: never;
|
|
21483
|
+
responses: {
|
|
21484
|
+
/** @description The team's freshness settings and rules */
|
|
21485
|
+
200: {
|
|
21486
|
+
headers: {
|
|
21487
|
+
[name: string]: unknown;
|
|
21488
|
+
};
|
|
21489
|
+
content: {
|
|
21490
|
+
"application/json": components["schemas"]["AdminTeamFreshnessConfig"];
|
|
21491
|
+
};
|
|
21492
|
+
};
|
|
21493
|
+
/** @description Bad request — malformed team id */
|
|
21494
|
+
400: {
|
|
21495
|
+
headers: {
|
|
21496
|
+
[name: string]: unknown;
|
|
21497
|
+
};
|
|
21498
|
+
content: {
|
|
21499
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
21500
|
+
};
|
|
21501
|
+
};
|
|
21502
|
+
/** @description Not found — unknown team id, or the caller is not an instance admin */
|
|
21503
|
+
404: {
|
|
21504
|
+
headers: {
|
|
21505
|
+
[name: string]: unknown;
|
|
21506
|
+
};
|
|
21507
|
+
content: {
|
|
21508
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
21509
|
+
};
|
|
21510
|
+
};
|
|
21511
|
+
/** @description Internal server error */
|
|
21512
|
+
500: {
|
|
21513
|
+
headers: {
|
|
21514
|
+
[name: string]: unknown;
|
|
21515
|
+
};
|
|
21516
|
+
content: {
|
|
21517
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
21518
|
+
};
|
|
21519
|
+
};
|
|
21520
|
+
};
|
|
21521
|
+
};
|
|
21522
|
+
getAdminTeamArtifactTypes: {
|
|
21523
|
+
parameters: {
|
|
21524
|
+
query?: never;
|
|
21525
|
+
header?: never;
|
|
21526
|
+
path: {
|
|
21527
|
+
/** @description Team id (UUID) */
|
|
21528
|
+
id: string;
|
|
21529
|
+
};
|
|
21530
|
+
cookie?: never;
|
|
21531
|
+
};
|
|
21532
|
+
requestBody?: never;
|
|
21533
|
+
responses: {
|
|
21534
|
+
/** @description The team's artifact types */
|
|
21535
|
+
200: {
|
|
21536
|
+
headers: {
|
|
21537
|
+
[name: string]: unknown;
|
|
21538
|
+
};
|
|
21539
|
+
content: {
|
|
21540
|
+
"application/json": components["schemas"]["AdminTeamArtifactTypes"];
|
|
21541
|
+
};
|
|
21542
|
+
};
|
|
21543
|
+
/** @description Bad request — malformed team id */
|
|
21544
|
+
400: {
|
|
21545
|
+
headers: {
|
|
21546
|
+
[name: string]: unknown;
|
|
21547
|
+
};
|
|
21548
|
+
content: {
|
|
21549
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
21550
|
+
};
|
|
21551
|
+
};
|
|
21552
|
+
/** @description Not found — unknown team id, or the caller is not an instance admin */
|
|
21553
|
+
404: {
|
|
21554
|
+
headers: {
|
|
21555
|
+
[name: string]: unknown;
|
|
21556
|
+
};
|
|
21557
|
+
content: {
|
|
21558
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
21559
|
+
};
|
|
21560
|
+
};
|
|
21561
|
+
/** @description Internal server error */
|
|
21562
|
+
500: {
|
|
21563
|
+
headers: {
|
|
21564
|
+
[name: string]: unknown;
|
|
21565
|
+
};
|
|
21566
|
+
content: {
|
|
21567
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
21568
|
+
};
|
|
21569
|
+
};
|
|
21570
|
+
};
|
|
21571
|
+
};
|
|
21572
|
+
listAdminTeamSettingsAudit: {
|
|
21573
|
+
parameters: {
|
|
21574
|
+
query?: {
|
|
21575
|
+
/** @description Page number (1-based). */
|
|
21576
|
+
page?: number;
|
|
21577
|
+
/** @description Page size. */
|
|
21578
|
+
limit?: number;
|
|
21579
|
+
};
|
|
21580
|
+
header?: never;
|
|
21581
|
+
path: {
|
|
21582
|
+
/** @description Team id (UUID) */
|
|
21583
|
+
id: string;
|
|
21584
|
+
};
|
|
21585
|
+
cookie?: never;
|
|
21586
|
+
};
|
|
21587
|
+
requestBody?: never;
|
|
21588
|
+
responses: {
|
|
21589
|
+
/** @description One page of settings audit entries, newest first */
|
|
21590
|
+
200: {
|
|
21591
|
+
headers: {
|
|
21592
|
+
[name: string]: unknown;
|
|
21593
|
+
};
|
|
21594
|
+
content: {
|
|
21595
|
+
"application/json": components["schemas"]["AdminTeamSettingsAuditListResponse"];
|
|
21596
|
+
};
|
|
21597
|
+
};
|
|
21598
|
+
/** @description Bad request — malformed team id, or `page`/`limit` out of range */
|
|
21599
|
+
400: {
|
|
21600
|
+
headers: {
|
|
21601
|
+
[name: string]: unknown;
|
|
21602
|
+
};
|
|
21603
|
+
content: {
|
|
21604
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
21605
|
+
};
|
|
21606
|
+
};
|
|
21607
|
+
/** @description Not found — unknown team id, or the caller is not an instance admin */
|
|
21608
|
+
404: {
|
|
21609
|
+
headers: {
|
|
21610
|
+
[name: string]: unknown;
|
|
21611
|
+
};
|
|
21612
|
+
content: {
|
|
21613
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
21614
|
+
};
|
|
21615
|
+
};
|
|
21616
|
+
/** @description Internal server error */
|
|
21617
|
+
500: {
|
|
21618
|
+
headers: {
|
|
21619
|
+
[name: string]: unknown;
|
|
21620
|
+
};
|
|
21621
|
+
content: {
|
|
21622
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
21623
|
+
};
|
|
21624
|
+
};
|
|
21625
|
+
};
|
|
21626
|
+
};
|
|
20991
21627
|
getAdminDashboardOverview: {
|
|
20992
21628
|
parameters: {
|
|
20993
21629
|
query?: never;
|