@vibexp/api-client 0.83.0 → 0.85.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 +101 -1
- package/dist/axios/sdk.gen.js +217 -0
- package/dist/axios/types.gen.d.ts +710 -0
- package/dist/schema.d.ts +1060 -45
- package/package.json +1 -1
package/dist/axios/sdk.gen.js
CHANGED
|
@@ -2902,6 +2902,223 @@ export const getAdminTeam = (options) => (options.client ?? client).get({
|
|
|
2902
2902
|
url: '/api/v1/admin/teams/{id}',
|
|
2903
2903
|
...options
|
|
2904
2904
|
});
|
|
2905
|
+
/**
|
|
2906
|
+
* Get a team's search ranking settings
|
|
2907
|
+
*
|
|
2908
|
+
* Returns the team's effective search ranking settings, where they came from
|
|
2909
|
+
* (`team` or `instance`), the instance defaults and the instance-owned
|
|
2910
|
+
* candidate cap.
|
|
2911
|
+
* Read-only. Instance-admin only; non-admin and unauthenticated requests
|
|
2912
|
+
* receive 404, as does an unknown team id.
|
|
2913
|
+
*
|
|
2914
|
+
*/
|
|
2915
|
+
export const getAdminTeamSearchConfig = (options) => (options.client ?? client).get({
|
|
2916
|
+
responseType: 'json',
|
|
2917
|
+
security: [{
|
|
2918
|
+
key: 'ApiKeyAuth',
|
|
2919
|
+
scheme: 'bearer',
|
|
2920
|
+
type: 'http'
|
|
2921
|
+
}, {
|
|
2922
|
+
in: 'cookie',
|
|
2923
|
+
name: 'vx_session',
|
|
2924
|
+
type: 'apiKey'
|
|
2925
|
+
}],
|
|
2926
|
+
url: '/api/v1/admin/teams/{id}/config/search',
|
|
2927
|
+
...options
|
|
2928
|
+
});
|
|
2929
|
+
/**
|
|
2930
|
+
* Get a team's AI summary settings
|
|
2931
|
+
*
|
|
2932
|
+
* Returns the team's effective AI summary settings, their source, the instance
|
|
2933
|
+
* defaults and caps, whether a model provider exists, and the selected
|
|
2934
|
+
* provider's name. No provider credential is ever included.
|
|
2935
|
+
* Read-only. Instance-admin only; non-admin and unauthenticated requests
|
|
2936
|
+
* receive 404, as does an unknown team id.
|
|
2937
|
+
*
|
|
2938
|
+
*/
|
|
2939
|
+
export const getAdminTeamAiSummaryConfig = (options) => (options.client ?? client).get({
|
|
2940
|
+
responseType: 'json',
|
|
2941
|
+
security: [{
|
|
2942
|
+
key: 'ApiKeyAuth',
|
|
2943
|
+
scheme: 'bearer',
|
|
2944
|
+
type: 'http'
|
|
2945
|
+
}, {
|
|
2946
|
+
in: 'cookie',
|
|
2947
|
+
name: 'vx_session',
|
|
2948
|
+
type: 'apiKey'
|
|
2949
|
+
}],
|
|
2950
|
+
url: '/api/v1/admin/teams/{id}/config/ai-summary',
|
|
2951
|
+
...options
|
|
2952
|
+
});
|
|
2953
|
+
/**
|
|
2954
|
+
* Get a team's freshness settings and rules
|
|
2955
|
+
*
|
|
2956
|
+
* Returns the team's freshness settings (with source and defaults) and every
|
|
2957
|
+
* freshness rule, including each rule's optional project scope.
|
|
2958
|
+
* Read-only. Instance-admin only; non-admin and unauthenticated requests
|
|
2959
|
+
* receive 404, as does an unknown team id.
|
|
2960
|
+
*
|
|
2961
|
+
*/
|
|
2962
|
+
export const getAdminTeamFreshnessConfig = (options) => (options.client ?? client).get({
|
|
2963
|
+
responseType: 'json',
|
|
2964
|
+
security: [{
|
|
2965
|
+
key: 'ApiKeyAuth',
|
|
2966
|
+
scheme: 'bearer',
|
|
2967
|
+
type: 'http'
|
|
2968
|
+
}, {
|
|
2969
|
+
in: 'cookie',
|
|
2970
|
+
name: 'vx_session',
|
|
2971
|
+
type: 'apiKey'
|
|
2972
|
+
}],
|
|
2973
|
+
url: '/api/v1/admin/teams/{id}/config/freshness',
|
|
2974
|
+
...options
|
|
2975
|
+
});
|
|
2976
|
+
/**
|
|
2977
|
+
* Get a team's artifact types
|
|
2978
|
+
*
|
|
2979
|
+
* Returns the artifact types the team sees: the global system types and the
|
|
2980
|
+
* team's own custom types.
|
|
2981
|
+
* Read-only. Instance-admin only; non-admin and unauthenticated requests
|
|
2982
|
+
* receive 404, as does an unknown team id.
|
|
2983
|
+
*
|
|
2984
|
+
*/
|
|
2985
|
+
export const getAdminTeamArtifactTypes = (options) => (options.client ?? client).get({
|
|
2986
|
+
responseType: 'json',
|
|
2987
|
+
security: [{
|
|
2988
|
+
key: 'ApiKeyAuth',
|
|
2989
|
+
scheme: 'bearer',
|
|
2990
|
+
type: 'http'
|
|
2991
|
+
}, {
|
|
2992
|
+
in: 'cookie',
|
|
2993
|
+
name: 'vx_session',
|
|
2994
|
+
type: 'apiKey'
|
|
2995
|
+
}],
|
|
2996
|
+
url: '/api/v1/admin/teams/{id}/config/artifact-types',
|
|
2997
|
+
...options
|
|
2998
|
+
});
|
|
2999
|
+
/**
|
|
3000
|
+
* List a team's settings audit log
|
|
3001
|
+
*
|
|
3002
|
+
* Returns one page of the team's settings-copy audit log, newest first, with
|
|
3003
|
+
* actor and source-team names resolved. Each entry's `detail` is filtered to
|
|
3004
|
+
* a per-surface key allowlist, so no credential can surface here.
|
|
3005
|
+
* Read-only. Instance-admin only; non-admin and unauthenticated requests
|
|
3006
|
+
* receive 404, as does an unknown team id.
|
|
3007
|
+
*
|
|
3008
|
+
*/
|
|
3009
|
+
export const listAdminTeamSettingsAudit = (options) => (options.client ?? client).get({
|
|
3010
|
+
responseType: 'json',
|
|
3011
|
+
security: [{
|
|
3012
|
+
key: 'ApiKeyAuth',
|
|
3013
|
+
scheme: 'bearer',
|
|
3014
|
+
type: 'http'
|
|
3015
|
+
}, {
|
|
3016
|
+
in: 'cookie',
|
|
3017
|
+
name: 'vx_session',
|
|
3018
|
+
type: 'apiKey'
|
|
3019
|
+
}],
|
|
3020
|
+
url: '/api/v1/admin/teams/{id}/config/settings-audit',
|
|
3021
|
+
...options
|
|
3022
|
+
});
|
|
3023
|
+
/**
|
|
3024
|
+
* Get a team's model providers
|
|
3025
|
+
*
|
|
3026
|
+
* Returns the team's model (LLM) providers. No API key or configuration value
|
|
3027
|
+
* is ever included: a stored key surfaces only as `has_api_key`, the
|
|
3028
|
+
* provider `configuration` only as its sorted top-level key names, and
|
|
3029
|
+
* `base_url` without userinfo, query string or fragment.
|
|
3030
|
+
* Read-only. Instance-admin only; non-admin and unauthenticated requests
|
|
3031
|
+
* receive 404, as does an unknown team id.
|
|
3032
|
+
*
|
|
3033
|
+
*/
|
|
3034
|
+
export const getAdminTeamModelProviders = (options) => (options.client ?? client).get({
|
|
3035
|
+
responseType: 'json',
|
|
3036
|
+
security: [{
|
|
3037
|
+
key: 'ApiKeyAuth',
|
|
3038
|
+
scheme: 'bearer',
|
|
3039
|
+
type: 'http'
|
|
3040
|
+
}, {
|
|
3041
|
+
in: 'cookie',
|
|
3042
|
+
name: 'vx_session',
|
|
3043
|
+
type: 'apiKey'
|
|
3044
|
+
}],
|
|
3045
|
+
url: '/api/v1/admin/teams/{id}/config/model-providers',
|
|
3046
|
+
...options
|
|
3047
|
+
});
|
|
3048
|
+
/**
|
|
3049
|
+
* Get a team's embedding providers and coverage
|
|
3050
|
+
*
|
|
3051
|
+
* Returns the team's embedding providers, redacted exactly like the model
|
|
3052
|
+
* providers, plus per-entity-type embedding coverage counts under the active
|
|
3053
|
+
* provider's model.
|
|
3054
|
+
* Read-only. Instance-admin only; non-admin and unauthenticated requests
|
|
3055
|
+
* receive 404, as does an unknown team id.
|
|
3056
|
+
*
|
|
3057
|
+
*/
|
|
3058
|
+
export const getAdminTeamEmbeddingProviders = (options) => (options.client ?? client).get({
|
|
3059
|
+
responseType: 'json',
|
|
3060
|
+
security: [{
|
|
3061
|
+
key: 'ApiKeyAuth',
|
|
3062
|
+
scheme: 'bearer',
|
|
3063
|
+
type: 'http'
|
|
3064
|
+
}, {
|
|
3065
|
+
in: 'cookie',
|
|
3066
|
+
name: 'vx_session',
|
|
3067
|
+
type: 'apiKey'
|
|
3068
|
+
}],
|
|
3069
|
+
url: '/api/v1/admin/teams/{id}/config/embedding-providers',
|
|
3070
|
+
...options
|
|
3071
|
+
});
|
|
3072
|
+
/**
|
|
3073
|
+
* Get a team's email provider
|
|
3074
|
+
*
|
|
3075
|
+
* Returns the team's effective email provider: its own when configured
|
|
3076
|
+
* (`source: team`), otherwise the instance provider (`source: instance`).
|
|
3077
|
+
* The credential surfaces only as `has_secret`; the last error text and the
|
|
3078
|
+
* SMTP username are never included. `status` is derived from the last
|
|
3079
|
+
* success/error timestamps.
|
|
3080
|
+
* Read-only. Instance-admin only; non-admin and unauthenticated requests
|
|
3081
|
+
* receive 404, as does an unknown team id.
|
|
3082
|
+
*
|
|
3083
|
+
*/
|
|
3084
|
+
export const getAdminTeamEmailProvider = (options) => (options.client ?? client).get({
|
|
3085
|
+
responseType: 'json',
|
|
3086
|
+
security: [{
|
|
3087
|
+
key: 'ApiKeyAuth',
|
|
3088
|
+
scheme: 'bearer',
|
|
3089
|
+
type: 'http'
|
|
3090
|
+
}, {
|
|
3091
|
+
in: 'cookie',
|
|
3092
|
+
name: 'vx_session',
|
|
3093
|
+
type: 'apiKey'
|
|
3094
|
+
}],
|
|
3095
|
+
url: '/api/v1/admin/teams/{id}/config/email-provider',
|
|
3096
|
+
...options
|
|
3097
|
+
});
|
|
3098
|
+
/**
|
|
3099
|
+
* Get a team's GitHub integration
|
|
3100
|
+
*
|
|
3101
|
+
* Returns the team's GitHub App registration (secrets as `has_*` booleans, no
|
|
3102
|
+
* webhook URL or routing token; `null` when none is registered) and its
|
|
3103
|
+
* installation status as last recorded. Makes no call to GitHub.
|
|
3104
|
+
* Read-only. Instance-admin only; non-admin and unauthenticated requests
|
|
3105
|
+
* receive 404, as does an unknown team id.
|
|
3106
|
+
*
|
|
3107
|
+
*/
|
|
3108
|
+
export const getAdminTeamGitHubConfig = (options) => (options.client ?? client).get({
|
|
3109
|
+
responseType: 'json',
|
|
3110
|
+
security: [{
|
|
3111
|
+
key: 'ApiKeyAuth',
|
|
3112
|
+
scheme: 'bearer',
|
|
3113
|
+
type: 'http'
|
|
3114
|
+
}, {
|
|
3115
|
+
in: 'cookie',
|
|
3116
|
+
name: 'vx_session',
|
|
3117
|
+
type: 'apiKey'
|
|
3118
|
+
}],
|
|
3119
|
+
url: '/api/v1/admin/teams/{id}/config/github',
|
|
3120
|
+
...options
|
|
3121
|
+
});
|
|
2905
3122
|
/**
|
|
2906
3123
|
* Get admin dashboard overview
|
|
2907
3124
|
*
|