@vibexp/api-client 0.84.0 → 0.86.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 +59 -3
- package/dist/axios/sdk.gen.js +110 -2
- package/dist/axios/types.gen.d.ts +461 -6
- package/dist/schema.d.ts +579 -9
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -2759,6 +2759,105 @@ export interface paths {
|
|
|
2759
2759
|
patch?: never;
|
|
2760
2760
|
trace?: never;
|
|
2761
2761
|
};
|
|
2762
|
+
"/api/v1/admin/teams/{id}/config/model-providers": {
|
|
2763
|
+
parameters: {
|
|
2764
|
+
query?: never;
|
|
2765
|
+
header?: never;
|
|
2766
|
+
path?: never;
|
|
2767
|
+
cookie?: never;
|
|
2768
|
+
};
|
|
2769
|
+
/**
|
|
2770
|
+
* Get a team's model providers
|
|
2771
|
+
* @description Returns the team's model (LLM) providers. No API key or configuration value
|
|
2772
|
+
* is ever included: a stored key surfaces only as `has_api_key`, the
|
|
2773
|
+
* provider `configuration` only as its sorted top-level key names, and
|
|
2774
|
+
* `base_url` without userinfo, query string or fragment.
|
|
2775
|
+
* Read-only. Instance-admin only; non-admin and unauthenticated requests
|
|
2776
|
+
* receive 404, as does an unknown team id.
|
|
2777
|
+
*/
|
|
2778
|
+
get: operations["getAdminTeamModelProviders"];
|
|
2779
|
+
put?: never;
|
|
2780
|
+
post?: never;
|
|
2781
|
+
delete?: never;
|
|
2782
|
+
options?: never;
|
|
2783
|
+
head?: never;
|
|
2784
|
+
patch?: never;
|
|
2785
|
+
trace?: never;
|
|
2786
|
+
};
|
|
2787
|
+
"/api/v1/admin/teams/{id}/config/embedding-providers": {
|
|
2788
|
+
parameters: {
|
|
2789
|
+
query?: never;
|
|
2790
|
+
header?: never;
|
|
2791
|
+
path?: never;
|
|
2792
|
+
cookie?: never;
|
|
2793
|
+
};
|
|
2794
|
+
/**
|
|
2795
|
+
* Get a team's embedding providers and coverage
|
|
2796
|
+
* @description Returns the team's embedding providers, redacted exactly like the model
|
|
2797
|
+
* providers, plus per-entity-type embedding coverage counts under the active
|
|
2798
|
+
* provider's model.
|
|
2799
|
+
* Read-only. Instance-admin only; non-admin and unauthenticated requests
|
|
2800
|
+
* receive 404, as does an unknown team id.
|
|
2801
|
+
*/
|
|
2802
|
+
get: operations["getAdminTeamEmbeddingProviders"];
|
|
2803
|
+
put?: never;
|
|
2804
|
+
post?: never;
|
|
2805
|
+
delete?: never;
|
|
2806
|
+
options?: never;
|
|
2807
|
+
head?: never;
|
|
2808
|
+
patch?: never;
|
|
2809
|
+
trace?: never;
|
|
2810
|
+
};
|
|
2811
|
+
"/api/v1/admin/teams/{id}/config/email-provider": {
|
|
2812
|
+
parameters: {
|
|
2813
|
+
query?: never;
|
|
2814
|
+
header?: never;
|
|
2815
|
+
path?: never;
|
|
2816
|
+
cookie?: never;
|
|
2817
|
+
};
|
|
2818
|
+
/**
|
|
2819
|
+
* Get a team's email provider
|
|
2820
|
+
* @description Returns the team's effective email provider: its own when configured
|
|
2821
|
+
* (`source: team`), otherwise the instance provider (`source: instance`).
|
|
2822
|
+
* The credential surfaces only as `has_secret`; the last error text and the
|
|
2823
|
+
* SMTP username are never included. `status` is derived from the last
|
|
2824
|
+
* success/error timestamps.
|
|
2825
|
+
* Read-only. Instance-admin only; non-admin and unauthenticated requests
|
|
2826
|
+
* receive 404, as does an unknown team id.
|
|
2827
|
+
*/
|
|
2828
|
+
get: operations["getAdminTeamEmailProvider"];
|
|
2829
|
+
put?: never;
|
|
2830
|
+
post?: never;
|
|
2831
|
+
delete?: never;
|
|
2832
|
+
options?: never;
|
|
2833
|
+
head?: never;
|
|
2834
|
+
patch?: never;
|
|
2835
|
+
trace?: never;
|
|
2836
|
+
};
|
|
2837
|
+
"/api/v1/admin/teams/{id}/config/github": {
|
|
2838
|
+
parameters: {
|
|
2839
|
+
query?: never;
|
|
2840
|
+
header?: never;
|
|
2841
|
+
path?: never;
|
|
2842
|
+
cookie?: never;
|
|
2843
|
+
};
|
|
2844
|
+
/**
|
|
2845
|
+
* Get a team's GitHub integration
|
|
2846
|
+
* @description Returns the team's GitHub App registration (secrets as `has_*` booleans, no
|
|
2847
|
+
* webhook URL or routing token; `null` when none is registered) and its
|
|
2848
|
+
* installation status as last recorded. Makes no call to GitHub.
|
|
2849
|
+
* Read-only. Instance-admin only; non-admin and unauthenticated requests
|
|
2850
|
+
* receive 404, as does an unknown team id.
|
|
2851
|
+
*/
|
|
2852
|
+
get: operations["getAdminTeamGitHubConfig"];
|
|
2853
|
+
put?: never;
|
|
2854
|
+
post?: never;
|
|
2855
|
+
delete?: never;
|
|
2856
|
+
options?: never;
|
|
2857
|
+
head?: never;
|
|
2858
|
+
patch?: never;
|
|
2859
|
+
trace?: never;
|
|
2860
|
+
};
|
|
2762
2861
|
"/api/v1/admin/dashboard/overview": {
|
|
2763
2862
|
parameters: {
|
|
2764
2863
|
query?: never;
|
|
@@ -2889,6 +2988,14 @@ export interface paths {
|
|
|
2889
2988
|
* `owner` is the project's creator (`projects.user_id`), which is not
|
|
2890
2989
|
* necessarily the owning team's owner.
|
|
2891
2990
|
*
|
|
2991
|
+
* Resource counts cover exactly the five PROJECT-SCOPED types, the tables
|
|
2992
|
+
* that carry a direct `project_id`: prompts, memories, artifacts, blueprints
|
|
2993
|
+
* and feed items (a feed item posted without a project counts for none).
|
|
2994
|
+
* Agents and feeds are team-scoped and have no project association;
|
|
2995
|
+
* comments and attachments reach a project only indirectly, through the
|
|
2996
|
+
* resource they belong to. All four are therefore excluded from every count,
|
|
2997
|
+
* count filter, sort and `last_resource_created_at`.
|
|
2998
|
+
*
|
|
2892
2999
|
* Instance-admin only; non-admin and unauthenticated requests receive 404.
|
|
2893
3000
|
*/
|
|
2894
3001
|
get: operations["listAdminProjects"];
|
|
@@ -2911,8 +3018,9 @@ export interface paths {
|
|
|
2911
3018
|
* Get an instance project
|
|
2912
3019
|
* @description Returns one project with its owning team, its creator, and how many of each
|
|
2913
3020
|
* PROJECT-SCOPED resource type it contains (prompts, artifacts, memories,
|
|
2914
|
-
* blueprints). Agents and feeds are not included
|
|
2915
|
-
* and have no project association
|
|
3021
|
+
* blueprints, feed items) plus their total. Agents and feeds are not included
|
|
3022
|
+
* because they are team-scoped and have no project association; comments and
|
|
3023
|
+
* attachments are not included because they reach a project only indirectly.
|
|
2916
3024
|
*
|
|
2917
3025
|
* Instance-admin only; non-admin and unauthenticated requests receive 404, as
|
|
2918
3026
|
* does an unknown project id.
|
|
@@ -11211,6 +11319,14 @@ export interface components {
|
|
|
11211
11319
|
created_at: string;
|
|
11212
11320
|
/** Format: date-time */
|
|
11213
11321
|
updated_at: string;
|
|
11322
|
+
resource_counts: components["schemas"]["AdminProjectResourceCounts"];
|
|
11323
|
+
/**
|
|
11324
|
+
* Format: date-time
|
|
11325
|
+
* @description When the project's most recent project-scoped resource (any of the five
|
|
11326
|
+
* types counted in resource_counts) was created; null for a project with
|
|
11327
|
+
* none.
|
|
11328
|
+
*/
|
|
11329
|
+
last_resource_created_at: string | null;
|
|
11214
11330
|
};
|
|
11215
11331
|
/** @description A page of the instance-wide project listing. */
|
|
11216
11332
|
AdminProjectListResponse: {
|
|
@@ -11229,12 +11345,17 @@ export interface components {
|
|
|
11229
11345
|
total_pages: number;
|
|
11230
11346
|
};
|
|
11231
11347
|
/**
|
|
11232
|
-
* @description How many of each PROJECT-SCOPED resource type the project contains
|
|
11348
|
+
* @description How many of each PROJECT-SCOPED resource type the project contains, plus
|
|
11349
|
+
* their total. Shared by the project listing and the project detail, which
|
|
11350
|
+
* always agree.
|
|
11233
11351
|
*
|
|
11234
|
-
* Only
|
|
11235
|
-
*
|
|
11236
|
-
*
|
|
11237
|
-
*
|
|
11352
|
+
* Only the five tables with a direct project_id belong to a project: prompts,
|
|
11353
|
+
* artifacts, memories, blueprints and feed items (a feed item posted without
|
|
11354
|
+
* a project counts for none). Agents and feeds are deliberately absent: both
|
|
11355
|
+
* are team-scoped and have no project_id, so reporting zero for them would
|
|
11356
|
+
* read as "this project has no agents" rather than "agents do not belong to
|
|
11357
|
+
* projects". Comments and attachments are absent too: they reach a project
|
|
11358
|
+
* only indirectly, through the resource they are attached to.
|
|
11238
11359
|
*/
|
|
11239
11360
|
AdminProjectResourceCounts: {
|
|
11240
11361
|
/**
|
|
@@ -11257,6 +11378,17 @@ export interface components {
|
|
|
11257
11378
|
* @example 3
|
|
11258
11379
|
*/
|
|
11259
11380
|
blueprints: number;
|
|
11381
|
+
/**
|
|
11382
|
+
* Format: int64
|
|
11383
|
+
* @example 9
|
|
11384
|
+
*/
|
|
11385
|
+
feed_items: number;
|
|
11386
|
+
/**
|
|
11387
|
+
* Format: int64
|
|
11388
|
+
* @description Sum of the five project-scoped counts.
|
|
11389
|
+
* @example 55
|
|
11390
|
+
*/
|
|
11391
|
+
total: number;
|
|
11260
11392
|
};
|
|
11261
11393
|
/** @description A single project with its team, owner and resource counts (GET /api/v1/admin/projects/{id}). */
|
|
11262
11394
|
AdminProjectDetail: {
|
|
@@ -11662,6 +11794,202 @@ export interface components {
|
|
|
11662
11794
|
per_page: number;
|
|
11663
11795
|
total_pages: number;
|
|
11664
11796
|
};
|
|
11797
|
+
/** @description One model (LLM) provider, credentials redacted. */
|
|
11798
|
+
AdminModelProvider: {
|
|
11799
|
+
/** Format: uuid */
|
|
11800
|
+
id: string;
|
|
11801
|
+
name: string;
|
|
11802
|
+
provider_type: string;
|
|
11803
|
+
model: string;
|
|
11804
|
+
/**
|
|
11805
|
+
* @description The provider's base URL with any userinfo, query string and fragment
|
|
11806
|
+
* removed. `null` when unset or not an absolute URL.
|
|
11807
|
+
*/
|
|
11808
|
+
base_url: string | null;
|
|
11809
|
+
is_default: boolean;
|
|
11810
|
+
/** @description Whether an API key is stored. The key itself is never returned. */
|
|
11811
|
+
has_api_key: boolean;
|
|
11812
|
+
/**
|
|
11813
|
+
* @description Sorted top-level key names of the provider's `configuration` object. The
|
|
11814
|
+
* values are never returned. `[]` when the configuration is empty or not a
|
|
11815
|
+
* JSON object.
|
|
11816
|
+
*/
|
|
11817
|
+
configuration_keys: string[];
|
|
11818
|
+
/** Format: date-time */
|
|
11819
|
+
created_at: string;
|
|
11820
|
+
/** Format: date-time */
|
|
11821
|
+
updated_at: string;
|
|
11822
|
+
};
|
|
11823
|
+
/** @description A team's model providers (GET /api/v1/admin/teams/{id}/config/model-providers). */
|
|
11824
|
+
AdminTeamModelProvidersConfig: {
|
|
11825
|
+
/** @description Serializes as `[]` when the team has none, never `null`. */
|
|
11826
|
+
providers: components["schemas"]["AdminModelProvider"][];
|
|
11827
|
+
};
|
|
11828
|
+
/** @description One embedding provider, credentials redacted. */
|
|
11829
|
+
AdminEmbeddingProvider: {
|
|
11830
|
+
/** Format: uuid */
|
|
11831
|
+
id: string;
|
|
11832
|
+
name: string;
|
|
11833
|
+
provider_type: string;
|
|
11834
|
+
model: string;
|
|
11835
|
+
chunk_size: number;
|
|
11836
|
+
chunk_overlap: number;
|
|
11837
|
+
concurrency: number;
|
|
11838
|
+
query_prefix: string | null;
|
|
11839
|
+
document_prefix: string | null;
|
|
11840
|
+
/**
|
|
11841
|
+
* @description The provider's base URL with any userinfo, query string and fragment
|
|
11842
|
+
* removed. `null` when unset or not an absolute URL.
|
|
11843
|
+
*/
|
|
11844
|
+
base_url: string | null;
|
|
11845
|
+
is_default: boolean;
|
|
11846
|
+
/** @description Whether an API key is stored. The key itself is never returned. */
|
|
11847
|
+
has_api_key: boolean;
|
|
11848
|
+
/**
|
|
11849
|
+
* @description Sorted top-level key names of the provider's `configuration` object. The
|
|
11850
|
+
* values are never returned. `[]` when the configuration is empty or not a
|
|
11851
|
+
* JSON object.
|
|
11852
|
+
*/
|
|
11853
|
+
configuration_keys: string[];
|
|
11854
|
+
/** Format: date-time */
|
|
11855
|
+
created_at: string;
|
|
11856
|
+
/** Format: date-time */
|
|
11857
|
+
updated_at: string;
|
|
11858
|
+
};
|
|
11859
|
+
/** @description Embedding coverage for one entity type (counts only). */
|
|
11860
|
+
AdminEmbeddingCoverageItem: {
|
|
11861
|
+
entity_type: string;
|
|
11862
|
+
/** Format: int64 */
|
|
11863
|
+
total: number;
|
|
11864
|
+
/** Format: int64 */
|
|
11865
|
+
embedded: number;
|
|
11866
|
+
/** Format: int64 */
|
|
11867
|
+
pending: number;
|
|
11868
|
+
embedded_percent: number;
|
|
11869
|
+
};
|
|
11870
|
+
/**
|
|
11871
|
+
* @description How much of the team's embeddable content has an embedding under its active
|
|
11872
|
+
* provider's model.
|
|
11873
|
+
*/
|
|
11874
|
+
AdminEmbeddingCoverage: {
|
|
11875
|
+
has_active_provider: boolean;
|
|
11876
|
+
/** @description The active provider's model; `null` when the team has no provider. */
|
|
11877
|
+
active_model: string | null;
|
|
11878
|
+
/** @description One entry per entity type. Serializes as `[]`, never `null`. */
|
|
11879
|
+
items: components["schemas"]["AdminEmbeddingCoverageItem"][];
|
|
11880
|
+
};
|
|
11881
|
+
/**
|
|
11882
|
+
* @description A team's embedding providers and embedding coverage
|
|
11883
|
+
* (GET /api/v1/admin/teams/{id}/config/embedding-providers).
|
|
11884
|
+
*/
|
|
11885
|
+
AdminTeamEmbeddingProvidersConfig: {
|
|
11886
|
+
/** @description Serializes as `[]` when the team has none, never `null`. */
|
|
11887
|
+
providers: components["schemas"]["AdminEmbeddingProvider"][];
|
|
11888
|
+
coverage: components["schemas"]["AdminEmbeddingCoverage"];
|
|
11889
|
+
};
|
|
11890
|
+
/** @description Non-secret SMTP settings. The SMTP username is deliberately omitted. */
|
|
11891
|
+
AdminSMTPSettings: {
|
|
11892
|
+
host: string;
|
|
11893
|
+
port: string;
|
|
11894
|
+
};
|
|
11895
|
+
/** @description Non-secret Mailgun settings. */
|
|
11896
|
+
AdminMailgunSettings: {
|
|
11897
|
+
domain: string;
|
|
11898
|
+
/**
|
|
11899
|
+
* @description The Mailgun API base URL with any userinfo, query string and fragment
|
|
11900
|
+
* removed. `null` when unset or not an absolute URL.
|
|
11901
|
+
*/
|
|
11902
|
+
base_url: string | null;
|
|
11903
|
+
};
|
|
11904
|
+
/** @description Non-secret Postmark settings. */
|
|
11905
|
+
AdminPostmarkSettings: {
|
|
11906
|
+
message_stream: string;
|
|
11907
|
+
};
|
|
11908
|
+
/** @description The team provider's non-secret settings; only the block matching its type is present. */
|
|
11909
|
+
AdminEmailSettings: {
|
|
11910
|
+
smtp?: components["schemas"]["AdminSMTPSettings"];
|
|
11911
|
+
mailgun?: components["schemas"]["AdminMailgunSettings"];
|
|
11912
|
+
postmark?: components["schemas"]["AdminPostmarkSettings"];
|
|
11913
|
+
};
|
|
11914
|
+
/**
|
|
11915
|
+
* @description A team's effective email provider (GET /api/v1/admin/teams/{id}/config/email-provider).
|
|
11916
|
+
* The provider's secret, its last error text and the SMTP username are never
|
|
11917
|
+
* returned.
|
|
11918
|
+
*/
|
|
11919
|
+
AdminTeamEmailProviderConfig: {
|
|
11920
|
+
/** @description Whether the team has its own provider. */
|
|
11921
|
+
configured: boolean;
|
|
11922
|
+
source: components["schemas"]["AdminTeamConfigSource"];
|
|
11923
|
+
/** @description The address the team's mail is actually sent from. */
|
|
11924
|
+
effective_from_address: string;
|
|
11925
|
+
/** @description The team provider's type; `null` when inheriting the instance provider. */
|
|
11926
|
+
provider_type: string | null;
|
|
11927
|
+
from_address: string | null;
|
|
11928
|
+
from_name: string | null;
|
|
11929
|
+
reply_to: string | null;
|
|
11930
|
+
/**
|
|
11931
|
+
* @description `null` when inheriting the instance provider, or when the stored settings
|
|
11932
|
+
* could not be decoded.
|
|
11933
|
+
*/
|
|
11934
|
+
settings: components["schemas"]["AdminEmailSettings"] | null;
|
|
11935
|
+
/** @description Whether a provider credential is stored. The credential itself is never returned. */
|
|
11936
|
+
has_secret: boolean;
|
|
11937
|
+
/** Format: date-time */
|
|
11938
|
+
last_success_at: string | null;
|
|
11939
|
+
/** Format: date-time */
|
|
11940
|
+
last_error_at: string | null;
|
|
11941
|
+
/**
|
|
11942
|
+
* @description Derived from the two timestamps: `unknown` when inheriting or never used,
|
|
11943
|
+
* `healthy` when the last send succeeded (or none failed), `failing` when
|
|
11944
|
+
* the last recorded send failed.
|
|
11945
|
+
* @enum {string}
|
|
11946
|
+
*/
|
|
11947
|
+
status: "healthy" | "failing" | "unknown";
|
|
11948
|
+
};
|
|
11949
|
+
/** @description A team's GitHub App registration, secrets redacted. */
|
|
11950
|
+
AdminGitHubAppConfig: {
|
|
11951
|
+
/** Format: uuid */
|
|
11952
|
+
id: string;
|
|
11953
|
+
app_id: string;
|
|
11954
|
+
app_slug: string;
|
|
11955
|
+
client_id: string;
|
|
11956
|
+
has_private_key: boolean;
|
|
11957
|
+
has_client_secret: boolean;
|
|
11958
|
+
has_webhook_secret: boolean;
|
|
11959
|
+
/**
|
|
11960
|
+
* @description Whether VibeXP can give GitHub a webhook delivery URL for this App (a
|
|
11961
|
+
* routing token exists and the instance has a public base URL). It does
|
|
11962
|
+
* NOT mean GitHub is delivering. The URL itself is never returned.
|
|
11963
|
+
*/
|
|
11964
|
+
webhook_configured: boolean;
|
|
11965
|
+
/** Format: date-time */
|
|
11966
|
+
created_at: string;
|
|
11967
|
+
/** Format: date-time */
|
|
11968
|
+
updated_at: string;
|
|
11969
|
+
};
|
|
11970
|
+
/** @description The team's GitHub App installation, as last recorded (no live GitHub call). */
|
|
11971
|
+
AdminGitHubInstallation: {
|
|
11972
|
+
installed: boolean;
|
|
11973
|
+
/** @description The GitHub account the App is installed on; `null` when not installed. */
|
|
11974
|
+
account_login: string | null;
|
|
11975
|
+
/**
|
|
11976
|
+
* Format: int64
|
|
11977
|
+
* @description `null` when not installed.
|
|
11978
|
+
*/
|
|
11979
|
+
installation_id: number | null;
|
|
11980
|
+
suspended: boolean;
|
|
11981
|
+
/**
|
|
11982
|
+
* Format: date-time
|
|
11983
|
+
* @description `null` when not installed.
|
|
11984
|
+
*/
|
|
11985
|
+
installed_at: string | null;
|
|
11986
|
+
};
|
|
11987
|
+
/** @description A team's GitHub integration (GET /api/v1/admin/teams/{id}/config/github). */
|
|
11988
|
+
AdminTeamGitHubConfig: {
|
|
11989
|
+
/** @description `null` when the team has not registered a GitHub App. */
|
|
11990
|
+
app_config: components["schemas"]["AdminGitHubAppConfig"] | null;
|
|
11991
|
+
installation: components["schemas"]["AdminGitHubInstallation"];
|
|
11992
|
+
};
|
|
11665
11993
|
ProjectResponse: components["schemas"]["Project"] & {
|
|
11666
11994
|
/**
|
|
11667
11995
|
* @description Whether the project's git URL matches a repository accessible via the team's GitHub App installation
|
|
@@ -21624,6 +21952,206 @@ export interface operations {
|
|
|
21624
21952
|
};
|
|
21625
21953
|
};
|
|
21626
21954
|
};
|
|
21955
|
+
getAdminTeamModelProviders: {
|
|
21956
|
+
parameters: {
|
|
21957
|
+
query?: never;
|
|
21958
|
+
header?: never;
|
|
21959
|
+
path: {
|
|
21960
|
+
/** @description Team id (UUID) */
|
|
21961
|
+
id: string;
|
|
21962
|
+
};
|
|
21963
|
+
cookie?: never;
|
|
21964
|
+
};
|
|
21965
|
+
requestBody?: never;
|
|
21966
|
+
responses: {
|
|
21967
|
+
/** @description The team's model providers */
|
|
21968
|
+
200: {
|
|
21969
|
+
headers: {
|
|
21970
|
+
[name: string]: unknown;
|
|
21971
|
+
};
|
|
21972
|
+
content: {
|
|
21973
|
+
"application/json": components["schemas"]["AdminTeamModelProvidersConfig"];
|
|
21974
|
+
};
|
|
21975
|
+
};
|
|
21976
|
+
/** @description Bad request — malformed team id */
|
|
21977
|
+
400: {
|
|
21978
|
+
headers: {
|
|
21979
|
+
[name: string]: unknown;
|
|
21980
|
+
};
|
|
21981
|
+
content: {
|
|
21982
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
21983
|
+
};
|
|
21984
|
+
};
|
|
21985
|
+
/** @description Not found — unknown team id, or the caller is not an instance admin */
|
|
21986
|
+
404: {
|
|
21987
|
+
headers: {
|
|
21988
|
+
[name: string]: unknown;
|
|
21989
|
+
};
|
|
21990
|
+
content: {
|
|
21991
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
21992
|
+
};
|
|
21993
|
+
};
|
|
21994
|
+
/** @description Internal server error */
|
|
21995
|
+
500: {
|
|
21996
|
+
headers: {
|
|
21997
|
+
[name: string]: unknown;
|
|
21998
|
+
};
|
|
21999
|
+
content: {
|
|
22000
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
22001
|
+
};
|
|
22002
|
+
};
|
|
22003
|
+
};
|
|
22004
|
+
};
|
|
22005
|
+
getAdminTeamEmbeddingProviders: {
|
|
22006
|
+
parameters: {
|
|
22007
|
+
query?: never;
|
|
22008
|
+
header?: never;
|
|
22009
|
+
path: {
|
|
22010
|
+
/** @description Team id (UUID) */
|
|
22011
|
+
id: string;
|
|
22012
|
+
};
|
|
22013
|
+
cookie?: never;
|
|
22014
|
+
};
|
|
22015
|
+
requestBody?: never;
|
|
22016
|
+
responses: {
|
|
22017
|
+
/** @description The team's embedding providers and coverage */
|
|
22018
|
+
200: {
|
|
22019
|
+
headers: {
|
|
22020
|
+
[name: string]: unknown;
|
|
22021
|
+
};
|
|
22022
|
+
content: {
|
|
22023
|
+
"application/json": components["schemas"]["AdminTeamEmbeddingProvidersConfig"];
|
|
22024
|
+
};
|
|
22025
|
+
};
|
|
22026
|
+
/** @description Bad request — malformed team id */
|
|
22027
|
+
400: {
|
|
22028
|
+
headers: {
|
|
22029
|
+
[name: string]: unknown;
|
|
22030
|
+
};
|
|
22031
|
+
content: {
|
|
22032
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
22033
|
+
};
|
|
22034
|
+
};
|
|
22035
|
+
/** @description Not found — unknown team id, or the caller is not an instance admin */
|
|
22036
|
+
404: {
|
|
22037
|
+
headers: {
|
|
22038
|
+
[name: string]: unknown;
|
|
22039
|
+
};
|
|
22040
|
+
content: {
|
|
22041
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
22042
|
+
};
|
|
22043
|
+
};
|
|
22044
|
+
/** @description Internal server error */
|
|
22045
|
+
500: {
|
|
22046
|
+
headers: {
|
|
22047
|
+
[name: string]: unknown;
|
|
22048
|
+
};
|
|
22049
|
+
content: {
|
|
22050
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
22051
|
+
};
|
|
22052
|
+
};
|
|
22053
|
+
};
|
|
22054
|
+
};
|
|
22055
|
+
getAdminTeamEmailProvider: {
|
|
22056
|
+
parameters: {
|
|
22057
|
+
query?: never;
|
|
22058
|
+
header?: never;
|
|
22059
|
+
path: {
|
|
22060
|
+
/** @description Team id (UUID) */
|
|
22061
|
+
id: string;
|
|
22062
|
+
};
|
|
22063
|
+
cookie?: never;
|
|
22064
|
+
};
|
|
22065
|
+
requestBody?: never;
|
|
22066
|
+
responses: {
|
|
22067
|
+
/** @description The team's email provider */
|
|
22068
|
+
200: {
|
|
22069
|
+
headers: {
|
|
22070
|
+
[name: string]: unknown;
|
|
22071
|
+
};
|
|
22072
|
+
content: {
|
|
22073
|
+
"application/json": components["schemas"]["AdminTeamEmailProviderConfig"];
|
|
22074
|
+
};
|
|
22075
|
+
};
|
|
22076
|
+
/** @description Bad request — malformed team id */
|
|
22077
|
+
400: {
|
|
22078
|
+
headers: {
|
|
22079
|
+
[name: string]: unknown;
|
|
22080
|
+
};
|
|
22081
|
+
content: {
|
|
22082
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
22083
|
+
};
|
|
22084
|
+
};
|
|
22085
|
+
/** @description Not found — unknown team id, or the caller is not an instance admin */
|
|
22086
|
+
404: {
|
|
22087
|
+
headers: {
|
|
22088
|
+
[name: string]: unknown;
|
|
22089
|
+
};
|
|
22090
|
+
content: {
|
|
22091
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
22092
|
+
};
|
|
22093
|
+
};
|
|
22094
|
+
/** @description Internal server error */
|
|
22095
|
+
500: {
|
|
22096
|
+
headers: {
|
|
22097
|
+
[name: string]: unknown;
|
|
22098
|
+
};
|
|
22099
|
+
content: {
|
|
22100
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
22101
|
+
};
|
|
22102
|
+
};
|
|
22103
|
+
};
|
|
22104
|
+
};
|
|
22105
|
+
getAdminTeamGitHubConfig: {
|
|
22106
|
+
parameters: {
|
|
22107
|
+
query?: never;
|
|
22108
|
+
header?: never;
|
|
22109
|
+
path: {
|
|
22110
|
+
/** @description Team id (UUID) */
|
|
22111
|
+
id: string;
|
|
22112
|
+
};
|
|
22113
|
+
cookie?: never;
|
|
22114
|
+
};
|
|
22115
|
+
requestBody?: never;
|
|
22116
|
+
responses: {
|
|
22117
|
+
/** @description The team's GitHub integration */
|
|
22118
|
+
200: {
|
|
22119
|
+
headers: {
|
|
22120
|
+
[name: string]: unknown;
|
|
22121
|
+
};
|
|
22122
|
+
content: {
|
|
22123
|
+
"application/json": components["schemas"]["AdminTeamGitHubConfig"];
|
|
22124
|
+
};
|
|
22125
|
+
};
|
|
22126
|
+
/** @description Bad request — malformed team id */
|
|
22127
|
+
400: {
|
|
22128
|
+
headers: {
|
|
22129
|
+
[name: string]: unknown;
|
|
22130
|
+
};
|
|
22131
|
+
content: {
|
|
22132
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
22133
|
+
};
|
|
22134
|
+
};
|
|
22135
|
+
/** @description Not found — unknown team id, or the caller is not an instance admin */
|
|
22136
|
+
404: {
|
|
22137
|
+
headers: {
|
|
22138
|
+
[name: string]: unknown;
|
|
22139
|
+
};
|
|
22140
|
+
content: {
|
|
22141
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
22142
|
+
};
|
|
22143
|
+
};
|
|
22144
|
+
/** @description Internal server error */
|
|
22145
|
+
500: {
|
|
22146
|
+
headers: {
|
|
22147
|
+
[name: string]: unknown;
|
|
22148
|
+
};
|
|
22149
|
+
content: {
|
|
22150
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
22151
|
+
};
|
|
22152
|
+
};
|
|
22153
|
+
};
|
|
22154
|
+
};
|
|
21627
22155
|
getAdminDashboardOverview: {
|
|
21628
22156
|
parameters: {
|
|
21629
22157
|
query?: never;
|
|
@@ -21843,8 +22371,50 @@ export interface operations {
|
|
|
21843
22371
|
created_from?: string;
|
|
21844
22372
|
/** @description Only projects created at or before this instant (inclusive). */
|
|
21845
22373
|
created_to?: string;
|
|
21846
|
-
/** @description
|
|
21847
|
-
|
|
22374
|
+
/** @description Only projects with at least this many prompts in the project (inclusive). */
|
|
22375
|
+
prompt_count_min?: number;
|
|
22376
|
+
/** @description Only projects with at most this many prompts in the project (inclusive). */
|
|
22377
|
+
prompt_count_max?: number;
|
|
22378
|
+
/** @description Only projects with at least this many memories in the project (inclusive). */
|
|
22379
|
+
memory_count_min?: number;
|
|
22380
|
+
/** @description Only projects with at most this many memories in the project (inclusive). */
|
|
22381
|
+
memory_count_max?: number;
|
|
22382
|
+
/** @description Only projects with at least this many artifacts in the project (inclusive). */
|
|
22383
|
+
artifact_count_min?: number;
|
|
22384
|
+
/** @description Only projects with at most this many artifacts in the project (inclusive). */
|
|
22385
|
+
artifact_count_max?: number;
|
|
22386
|
+
/** @description Only projects with at least this many blueprints in the project (inclusive). */
|
|
22387
|
+
blueprint_count_min?: number;
|
|
22388
|
+
/** @description Only projects with at most this many blueprints in the project (inclusive). */
|
|
22389
|
+
blueprint_count_max?: number;
|
|
22390
|
+
/** @description Only projects with at least this many feed items in the project (inclusive). */
|
|
22391
|
+
feed_item_count_min?: number;
|
|
22392
|
+
/** @description Only projects with at most this many feed items in the project (inclusive). */
|
|
22393
|
+
feed_item_count_max?: number;
|
|
22394
|
+
/** @description Only projects with at least this many project-scoped resources in the project (inclusive). The total is the sum of the five project-scoped types. */
|
|
22395
|
+
total_resource_count_min?: number;
|
|
22396
|
+
/** @description Only projects with at most this many project-scoped resources in the project (inclusive). The total is the sum of the five project-scoped types. */
|
|
22397
|
+
total_resource_count_max?: number;
|
|
22398
|
+
/** @description Case-insensitive exact match on the email of the project's creator (`projects.user_id`, the `owner` field), not the owning team's owner. For substring matching on name/slug use `search`. */
|
|
22399
|
+
owner_email?: string;
|
|
22400
|
+
/**
|
|
22401
|
+
* @description Only projects whose most recent project-scoped resource (any of the five
|
|
22402
|
+
* types) was created at or after this instant (inclusive). Projects with
|
|
22403
|
+
* no resources never match.
|
|
22404
|
+
*/
|
|
22405
|
+
last_resource_created_from?: string;
|
|
22406
|
+
/**
|
|
22407
|
+
* @description Only projects whose most recent project-scoped resource (any of the five
|
|
22408
|
+
* types) was created at or before this instant (inclusive). Projects with
|
|
22409
|
+
* no resources never match.
|
|
22410
|
+
*/
|
|
22411
|
+
last_resource_created_to?: string;
|
|
22412
|
+
/**
|
|
22413
|
+
* @description Column to sort by. Ties are always broken by project id so paging is stable.
|
|
22414
|
+
* Sorting by last_resource_created_at places projects with no resources
|
|
22415
|
+
* last in both directions.
|
|
22416
|
+
*/
|
|
22417
|
+
sort_by?: "created_at" | "name" | "prompt_count" | "memory_count" | "artifact_count" | "blueprint_count" | "feed_item_count" | "total_resource_count" | "last_resource_created_at";
|
|
21848
22418
|
/** @description Sort direction. */
|
|
21849
22419
|
sort_order?: "asc" | "desc";
|
|
21850
22420
|
};
|
package/package.json
CHANGED