@vibexp/api-client 0.31.0 → 0.33.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/sdk.gen.d.ts +9 -5
- package/dist/axios/sdk.gen.js +9 -5
- package/dist/axios/types.gen.d.ts +80 -0
- package/dist/schema.d.ts +75 -5
- package/package.json +1 -1
package/dist/axios/sdk.gen.d.ts
CHANGED
|
@@ -1149,9 +1149,11 @@ export declare const getAdminStats: <ThrowOnError extends boolean = false>(optio
|
|
|
1149
1149
|
/**
|
|
1150
1150
|
* List instance users
|
|
1151
1151
|
*
|
|
1152
|
-
* Returns a paginated, instance-wide listing of users
|
|
1153
|
-
*
|
|
1154
|
-
*
|
|
1152
|
+
* Returns a paginated, instance-wide listing of users with each user's team
|
|
1153
|
+
* count. Supports case-insensitive search, typed filters, and allowlisted
|
|
1154
|
+
* sorting; filters combine with AND and the pagination envelope reflects the
|
|
1155
|
+
* filtered set. Instance-admin only; non-admin and unauthenticated requests
|
|
1156
|
+
* receive 404.
|
|
1155
1157
|
*
|
|
1156
1158
|
*/
|
|
1157
1159
|
export declare const listAdminUsers: <ThrowOnError extends boolean = false>(options?: Options<ListAdminUsersData, ThrowOnError>) => RequestResult<ListAdminUsersResponses, ListAdminUsersErrors, ThrowOnError>;
|
|
@@ -1167,8 +1169,10 @@ export declare const getAdminUser: <ThrowOnError extends boolean = false>(option
|
|
|
1167
1169
|
/**
|
|
1168
1170
|
* List instance teams
|
|
1169
1171
|
*
|
|
1170
|
-
* Returns a paginated, instance-wide listing of teams
|
|
1171
|
-
*
|
|
1172
|
+
* Returns a paginated, instance-wide listing of teams with each team's owner
|
|
1173
|
+
* and member count. Supports case-insensitive search, typed filters, and
|
|
1174
|
+
* allowlisted sorting; filters combine with AND and the pagination envelope
|
|
1175
|
+
* reflects the filtered set. Instance-admin only; non-admin and
|
|
1172
1176
|
* unauthenticated requests receive 404.
|
|
1173
1177
|
*
|
|
1174
1178
|
*/
|
package/dist/axios/sdk.gen.js
CHANGED
|
@@ -2934,9 +2934,11 @@ export const getAdminStats = (options) => (options?.client ?? client).get({
|
|
|
2934
2934
|
/**
|
|
2935
2935
|
* List instance users
|
|
2936
2936
|
*
|
|
2937
|
-
* Returns a paginated, instance-wide listing of users
|
|
2938
|
-
*
|
|
2939
|
-
*
|
|
2937
|
+
* Returns a paginated, instance-wide listing of users with each user's team
|
|
2938
|
+
* count. Supports case-insensitive search, typed filters, and allowlisted
|
|
2939
|
+
* sorting; filters combine with AND and the pagination envelope reflects the
|
|
2940
|
+
* filtered set. Instance-admin only; non-admin and unauthenticated requests
|
|
2941
|
+
* receive 404.
|
|
2940
2942
|
*
|
|
2941
2943
|
*/
|
|
2942
2944
|
export const listAdminUsers = (options) => (options?.client ?? client).get({
|
|
@@ -2978,8 +2980,10 @@ export const getAdminUser = (options) => (options.client ?? client).get({
|
|
|
2978
2980
|
/**
|
|
2979
2981
|
* List instance teams
|
|
2980
2982
|
*
|
|
2981
|
-
* Returns a paginated, instance-wide listing of teams
|
|
2982
|
-
*
|
|
2983
|
+
* Returns a paginated, instance-wide listing of teams with each team's owner
|
|
2984
|
+
* and member count. Supports case-insensitive search, typed filters, and
|
|
2985
|
+
* allowlisted sorting; filters combine with AND and the pagination envelope
|
|
2986
|
+
* reflects the filtered set. Instance-admin only; non-admin and
|
|
2983
2987
|
* unauthenticated requests receive 404.
|
|
2984
2988
|
*
|
|
2985
2989
|
*/
|
|
@@ -4004,6 +4004,14 @@ export type AdminTeamOwner = {
|
|
|
4004
4004
|
export type AdminTeamListItem = {
|
|
4005
4005
|
id: string;
|
|
4006
4006
|
name: string;
|
|
4007
|
+
/**
|
|
4008
|
+
* URL-safe team identifier.
|
|
4009
|
+
*/
|
|
4010
|
+
slug: string;
|
|
4011
|
+
/**
|
|
4012
|
+
* True for a user's default personal workspace, false for a shared team workspace.
|
|
4013
|
+
*/
|
|
4014
|
+
is_personal: boolean;
|
|
4007
4015
|
owner: AdminTeamOwner;
|
|
4008
4016
|
/**
|
|
4009
4017
|
* Number of members in the team.
|
|
@@ -4046,6 +4054,14 @@ export type AdminTeamMember = {
|
|
|
4046
4054
|
export type AdminTeamDetail = {
|
|
4047
4055
|
id: string;
|
|
4048
4056
|
name: string;
|
|
4057
|
+
/**
|
|
4058
|
+
* URL-safe team identifier.
|
|
4059
|
+
*/
|
|
4060
|
+
slug: string;
|
|
4061
|
+
/**
|
|
4062
|
+
* True for a user's default personal workspace, false for a shared team workspace.
|
|
4063
|
+
*/
|
|
4064
|
+
is_personal: boolean;
|
|
4049
4065
|
owner: AdminTeamOwner;
|
|
4050
4066
|
created_at: string;
|
|
4051
4067
|
/**
|
|
@@ -8171,6 +8187,10 @@ export type ListFeedItemsByFeedData = {
|
|
|
8171
8187
|
* Filter by AI assistant name
|
|
8172
8188
|
*/
|
|
8173
8189
|
ai_assistant_name?: string;
|
|
8190
|
+
/**
|
|
8191
|
+
* Search in feed item title and content (case-insensitive substring)
|
|
8192
|
+
*/
|
|
8193
|
+
search?: string;
|
|
8174
8194
|
/**
|
|
8175
8195
|
* Filter by archived status: 'true' (archived only), 'false' (active only, default), 'all'
|
|
8176
8196
|
*/
|
|
@@ -8266,6 +8286,10 @@ export type ListFeedItemsData = {
|
|
|
8266
8286
|
* Filter by AI assistant name
|
|
8267
8287
|
*/
|
|
8268
8288
|
ai_assistant_name?: string;
|
|
8289
|
+
/**
|
|
8290
|
+
* Search in feed item title and content (case-insensitive substring)
|
|
8291
|
+
*/
|
|
8292
|
+
search?: string;
|
|
8269
8293
|
/**
|
|
8270
8294
|
* Filter by archived status: 'true' (archived only), 'false' (active only, default), 'all'
|
|
8271
8295
|
*/
|
|
@@ -10988,10 +11012,38 @@ export type ListAdminUsersData = {
|
|
|
10988
11012
|
* Items per page
|
|
10989
11013
|
*/
|
|
10990
11014
|
limit?: number;
|
|
11015
|
+
/**
|
|
11016
|
+
* Case-insensitive substring match over the user's email and name.
|
|
11017
|
+
*/
|
|
11018
|
+
search?: string;
|
|
11019
|
+
/**
|
|
11020
|
+
* Exact match on the user's identity-provider name (e.g. "google", "oidc").
|
|
11021
|
+
*/
|
|
11022
|
+
idp_provider?: string;
|
|
11023
|
+
/**
|
|
11024
|
+
* Only users created at or after this instant (inclusive).
|
|
11025
|
+
*/
|
|
11026
|
+
created_from?: string;
|
|
11027
|
+
/**
|
|
11028
|
+
* Only users created at or before this instant (inclusive).
|
|
11029
|
+
*/
|
|
11030
|
+
created_to?: string;
|
|
11031
|
+
/**
|
|
11032
|
+
* Column to sort by. Ties are always broken by user id so paging is stable.
|
|
11033
|
+
*/
|
|
11034
|
+
sort_by?: 'created_at' | 'email' | 'name' | 'team_count';
|
|
11035
|
+
/**
|
|
11036
|
+
* Sort direction.
|
|
11037
|
+
*/
|
|
11038
|
+
sort_order?: 'asc' | 'desc';
|
|
10991
11039
|
};
|
|
10992
11040
|
url: '/api/v1/admin/users';
|
|
10993
11041
|
};
|
|
10994
11042
|
export type ListAdminUsersErrors = {
|
|
11043
|
+
/**
|
|
11044
|
+
* Bad request — a query parameter is malformed or outside its enum
|
|
11045
|
+
*/
|
|
11046
|
+
400: ErrorResponse;
|
|
10995
11047
|
/**
|
|
10996
11048
|
* Not found — the caller is not an instance admin (surface not advertised)
|
|
10997
11049
|
*/
|
|
@@ -11050,10 +11102,38 @@ export type ListAdminTeamsData = {
|
|
|
11050
11102
|
* Items per page
|
|
11051
11103
|
*/
|
|
11052
11104
|
limit?: number;
|
|
11105
|
+
/**
|
|
11106
|
+
* Case-insensitive substring match over the team name, team slug, and the owner's email.
|
|
11107
|
+
*/
|
|
11108
|
+
search?: string;
|
|
11109
|
+
/**
|
|
11110
|
+
* Narrow to personal workspaces (true) or shared team workspaces (false).
|
|
11111
|
+
*/
|
|
11112
|
+
is_personal?: boolean;
|
|
11113
|
+
/**
|
|
11114
|
+
* Only teams created at or after this instant (inclusive).
|
|
11115
|
+
*/
|
|
11116
|
+
created_from?: string;
|
|
11117
|
+
/**
|
|
11118
|
+
* Only teams created at or before this instant (inclusive).
|
|
11119
|
+
*/
|
|
11120
|
+
created_to?: string;
|
|
11121
|
+
/**
|
|
11122
|
+
* Column to sort by. Ties are always broken by team id so paging is stable.
|
|
11123
|
+
*/
|
|
11124
|
+
sort_by?: 'created_at' | 'name' | 'member_count';
|
|
11125
|
+
/**
|
|
11126
|
+
* Sort direction.
|
|
11127
|
+
*/
|
|
11128
|
+
sort_order?: 'asc' | 'desc';
|
|
11053
11129
|
};
|
|
11054
11130
|
url: '/api/v1/admin/teams';
|
|
11055
11131
|
};
|
|
11056
11132
|
export type ListAdminTeamsErrors = {
|
|
11133
|
+
/**
|
|
11134
|
+
* Bad request — a query parameter is malformed or outside its enum
|
|
11135
|
+
*/
|
|
11136
|
+
400: ErrorResponse;
|
|
11057
11137
|
/**
|
|
11058
11138
|
* Not found — the caller is not an instance admin (surface not advertised)
|
|
11059
11139
|
*/
|
package/dist/schema.d.ts
CHANGED
|
@@ -2754,9 +2754,11 @@ export interface paths {
|
|
|
2754
2754
|
};
|
|
2755
2755
|
/**
|
|
2756
2756
|
* List instance users
|
|
2757
|
-
* @description Returns a paginated, instance-wide listing of users
|
|
2758
|
-
*
|
|
2759
|
-
*
|
|
2757
|
+
* @description Returns a paginated, instance-wide listing of users with each user's team
|
|
2758
|
+
* count. Supports case-insensitive search, typed filters, and allowlisted
|
|
2759
|
+
* sorting; filters combine with AND and the pagination envelope reflects the
|
|
2760
|
+
* filtered set. Instance-admin only; non-admin and unauthenticated requests
|
|
2761
|
+
* receive 404.
|
|
2760
2762
|
*/
|
|
2761
2763
|
get: operations["listAdminUsers"];
|
|
2762
2764
|
put?: never;
|
|
@@ -2798,8 +2800,10 @@ export interface paths {
|
|
|
2798
2800
|
};
|
|
2799
2801
|
/**
|
|
2800
2802
|
* List instance teams
|
|
2801
|
-
* @description Returns a paginated, instance-wide listing of teams
|
|
2802
|
-
*
|
|
2803
|
+
* @description Returns a paginated, instance-wide listing of teams with each team's owner
|
|
2804
|
+
* and member count. Supports case-insensitive search, typed filters, and
|
|
2805
|
+
* allowlisted sorting; filters combine with AND and the pagination envelope
|
|
2806
|
+
* reflects the filtered set. Instance-admin only; non-admin and
|
|
2803
2807
|
* unauthenticated requests receive 404.
|
|
2804
2808
|
*/
|
|
2805
2809
|
get: operations["listAdminTeams"];
|
|
@@ -8798,6 +8802,16 @@ export interface components {
|
|
|
8798
8802
|
id: string;
|
|
8799
8803
|
/** @example Acme Engineering */
|
|
8800
8804
|
name: string;
|
|
8805
|
+
/**
|
|
8806
|
+
* @description URL-safe team identifier.
|
|
8807
|
+
* @example acme-engineering
|
|
8808
|
+
*/
|
|
8809
|
+
slug: string;
|
|
8810
|
+
/**
|
|
8811
|
+
* @description True for a user's default personal workspace, false for a shared team workspace.
|
|
8812
|
+
* @example false
|
|
8813
|
+
*/
|
|
8814
|
+
is_personal: boolean;
|
|
8801
8815
|
owner: components["schemas"]["AdminTeamOwner"];
|
|
8802
8816
|
/**
|
|
8803
8817
|
* Format: int64
|
|
@@ -8855,6 +8869,16 @@ export interface components {
|
|
|
8855
8869
|
id: string;
|
|
8856
8870
|
/** @example Acme Engineering */
|
|
8857
8871
|
name: string;
|
|
8872
|
+
/**
|
|
8873
|
+
* @description URL-safe team identifier.
|
|
8874
|
+
* @example acme-engineering
|
|
8875
|
+
*/
|
|
8876
|
+
slug: string;
|
|
8877
|
+
/**
|
|
8878
|
+
* @description True for a user's default personal workspace, false for a shared team workspace.
|
|
8879
|
+
* @example false
|
|
8880
|
+
*/
|
|
8881
|
+
is_personal: boolean;
|
|
8858
8882
|
owner: components["schemas"]["AdminTeamOwner"];
|
|
8859
8883
|
/** Format: date-time */
|
|
8860
8884
|
created_at: string;
|
|
@@ -14542,6 +14566,8 @@ export interface operations {
|
|
|
14542
14566
|
project_id?: string;
|
|
14543
14567
|
/** @description Filter by AI assistant name */
|
|
14544
14568
|
ai_assistant_name?: string;
|
|
14569
|
+
/** @description Search in feed item title and content (case-insensitive substring) */
|
|
14570
|
+
search?: string;
|
|
14545
14571
|
/** @description Filter by archived status: 'true' (archived only), 'false' (active only, default), 'all' */
|
|
14546
14572
|
archived?: "true" | "false" | "all";
|
|
14547
14573
|
/** @description Page number (default 1) */
|
|
@@ -14663,6 +14689,8 @@ export interface operations {
|
|
|
14663
14689
|
project_id?: string;
|
|
14664
14690
|
/** @description Filter by AI assistant name */
|
|
14665
14691
|
ai_assistant_name?: string;
|
|
14692
|
+
/** @description Search in feed item title and content (case-insensitive substring) */
|
|
14693
|
+
search?: string;
|
|
14666
14694
|
/** @description Filter by archived status: 'true' (archived only), 'false' (active only, default), 'all' */
|
|
14667
14695
|
archived?: "true" | "false" | "all";
|
|
14668
14696
|
/** @description Page number (default 1) */
|
|
@@ -18789,6 +18817,18 @@ export interface operations {
|
|
|
18789
18817
|
page?: number;
|
|
18790
18818
|
/** @description Items per page */
|
|
18791
18819
|
limit?: number;
|
|
18820
|
+
/** @description Case-insensitive substring match over the user's email and name. */
|
|
18821
|
+
search?: string;
|
|
18822
|
+
/** @description Exact match on the user's identity-provider name (e.g. "google", "oidc"). */
|
|
18823
|
+
idp_provider?: string;
|
|
18824
|
+
/** @description Only users created at or after this instant (inclusive). */
|
|
18825
|
+
created_from?: string;
|
|
18826
|
+
/** @description Only users created at or before this instant (inclusive). */
|
|
18827
|
+
created_to?: string;
|
|
18828
|
+
/** @description Column to sort by. Ties are always broken by user id so paging is stable. */
|
|
18829
|
+
sort_by?: "created_at" | "email" | "name" | "team_count";
|
|
18830
|
+
/** @description Sort direction. */
|
|
18831
|
+
sort_order?: "asc" | "desc";
|
|
18792
18832
|
};
|
|
18793
18833
|
header?: never;
|
|
18794
18834
|
path?: never;
|
|
@@ -18805,6 +18845,15 @@ export interface operations {
|
|
|
18805
18845
|
"application/json": components["schemas"]["AdminUserListResponse"];
|
|
18806
18846
|
};
|
|
18807
18847
|
};
|
|
18848
|
+
/** @description Bad request — a query parameter is malformed or outside its enum */
|
|
18849
|
+
400: {
|
|
18850
|
+
headers: {
|
|
18851
|
+
[name: string]: unknown;
|
|
18852
|
+
};
|
|
18853
|
+
content: {
|
|
18854
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
18855
|
+
};
|
|
18856
|
+
};
|
|
18808
18857
|
/** @description Not found — the caller is not an instance admin (surface not advertised) */
|
|
18809
18858
|
404: {
|
|
18810
18859
|
headers: {
|
|
@@ -18873,6 +18922,18 @@ export interface operations {
|
|
|
18873
18922
|
page?: number;
|
|
18874
18923
|
/** @description Items per page */
|
|
18875
18924
|
limit?: number;
|
|
18925
|
+
/** @description Case-insensitive substring match over the team name, team slug, and the owner's email. */
|
|
18926
|
+
search?: string;
|
|
18927
|
+
/** @description Narrow to personal workspaces (true) or shared team workspaces (false). */
|
|
18928
|
+
is_personal?: boolean;
|
|
18929
|
+
/** @description Only teams created at or after this instant (inclusive). */
|
|
18930
|
+
created_from?: string;
|
|
18931
|
+
/** @description Only teams created at or before this instant (inclusive). */
|
|
18932
|
+
created_to?: string;
|
|
18933
|
+
/** @description Column to sort by. Ties are always broken by team id so paging is stable. */
|
|
18934
|
+
sort_by?: "created_at" | "name" | "member_count";
|
|
18935
|
+
/** @description Sort direction. */
|
|
18936
|
+
sort_order?: "asc" | "desc";
|
|
18876
18937
|
};
|
|
18877
18938
|
header?: never;
|
|
18878
18939
|
path?: never;
|
|
@@ -18889,6 +18950,15 @@ export interface operations {
|
|
|
18889
18950
|
"application/json": components["schemas"]["AdminTeamListResponse"];
|
|
18890
18951
|
};
|
|
18891
18952
|
};
|
|
18953
|
+
/** @description Bad request — a query parameter is malformed or outside its enum */
|
|
18954
|
+
400: {
|
|
18955
|
+
headers: {
|
|
18956
|
+
[name: string]: unknown;
|
|
18957
|
+
};
|
|
18958
|
+
content: {
|
|
18959
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
18960
|
+
};
|
|
18961
|
+
};
|
|
18892
18962
|
/** @description Not found — the caller is not an instance admin (surface not advertised) */
|
|
18893
18963
|
404: {
|
|
18894
18964
|
headers: {
|
package/package.json
CHANGED