@vibexp/api-client 0.2.0 → 0.4.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 +37 -29
- package/dist/axios/sdk.gen.js +52 -48
- package/dist/axios/types.gen.d.ts +184 -70
- package/dist/schema.d.ts +253 -151
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -51,10 +51,17 @@ export interface paths {
|
|
|
51
51
|
cookie?: never;
|
|
52
52
|
};
|
|
53
53
|
/**
|
|
54
|
-
* Initiate
|
|
55
|
-
* @description
|
|
56
|
-
*
|
|
57
|
-
*
|
|
54
|
+
* Initiate login with an identity provider
|
|
55
|
+
* @description Selects an enabled identity provider, generates a CSRF state, stores the
|
|
56
|
+
* (state, provider) pair in a signed `vx_state` cookie, and returns the
|
|
57
|
+
* provider's authorization URL. The client should redirect the user to this
|
|
58
|
+
* URL to begin the authentication flow.
|
|
59
|
+
*
|
|
60
|
+
* The provider is chosen with the `provider` query parameter, whose value is
|
|
61
|
+
* one of the deployment's enabled providers (e.g. `google`, `github`,
|
|
62
|
+
* `oidc`). When exactly one provider is enabled the parameter may be omitted
|
|
63
|
+
* and that provider is used. When several are enabled the parameter is
|
|
64
|
+
* required; an unknown or disabled value is rejected (no silent default).
|
|
58
65
|
*/
|
|
59
66
|
get: operations["login"];
|
|
60
67
|
put?: never;
|
|
@@ -65,6 +72,31 @@ export interface paths {
|
|
|
65
72
|
patch?: never;
|
|
66
73
|
trace?: never;
|
|
67
74
|
};
|
|
75
|
+
"/api/v1/auth/providers": {
|
|
76
|
+
parameters: {
|
|
77
|
+
query?: never;
|
|
78
|
+
header?: never;
|
|
79
|
+
path?: never;
|
|
80
|
+
cookie?: never;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* List enabled login providers
|
|
84
|
+
* @description Returns the login providers enabled in this deployment's configuration,
|
|
85
|
+
* each with a canonical `name` (the value to pass as `?provider=` to
|
|
86
|
+
* `GET /api/v1/auth/login`) and a human-readable `display_name` for the
|
|
87
|
+
* login UI. The login screen uses this to render a provider picker instead
|
|
88
|
+
* of hardcoding the provider list. The list is stable-sorted and may be
|
|
89
|
+
* empty when no provider is configured.
|
|
90
|
+
*/
|
|
91
|
+
get: operations["listAuthProviders"];
|
|
92
|
+
put?: never;
|
|
93
|
+
post?: never;
|
|
94
|
+
delete?: never;
|
|
95
|
+
options?: never;
|
|
96
|
+
head?: never;
|
|
97
|
+
patch?: never;
|
|
98
|
+
trace?: never;
|
|
99
|
+
};
|
|
68
100
|
"/api/v1/auth/callback": {
|
|
69
101
|
parameters: {
|
|
70
102
|
query?: never;
|
|
@@ -73,11 +105,13 @@ export interface paths {
|
|
|
73
105
|
cookie?: never;
|
|
74
106
|
};
|
|
75
107
|
/**
|
|
76
|
-
* Handle
|
|
77
|
-
* @description Validates the CSRF `vx_state` cookie,
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
108
|
+
* Handle the identity-provider OAuth callback
|
|
109
|
+
* @description Validates the CSRF `vx_state` cookie, recovers the provider bound to it,
|
|
110
|
+
* exchanges the authorization code with that provider, looks up or creates
|
|
111
|
+
* the user, writes a session cookie, and issues a 302 redirect to the
|
|
112
|
+
* frontend home page. This endpoint is called by the browser after the user
|
|
113
|
+
* authenticates with the upstream provider — it does not return a JSON body
|
|
114
|
+
* on success.
|
|
81
115
|
*/
|
|
82
116
|
get: operations["authCallback"];
|
|
83
117
|
put?: never;
|
|
@@ -122,8 +156,8 @@ export interface paths {
|
|
|
122
156
|
/**
|
|
123
157
|
* Dev login (development only)
|
|
124
158
|
* @description Creates or retrieves a user by email address and sets a session cookie without
|
|
125
|
-
* going through
|
|
126
|
-
* mode (`DEV_LOGIN_ENABLED=true`). Returns 404 in all other environments.
|
|
159
|
+
* going through an external identity provider. Only available when the server is
|
|
160
|
+
* running in development mode (`DEV_LOGIN_ENABLED=true`). Returns 404 in all other environments.
|
|
127
161
|
*/
|
|
128
162
|
post: operations["devLogin"];
|
|
129
163
|
delete?: never;
|
|
@@ -142,8 +176,8 @@ export interface paths {
|
|
|
142
176
|
/**
|
|
143
177
|
* Get current user information
|
|
144
178
|
* @description Returns information about the currently authenticated user. Authentication is
|
|
145
|
-
* verified via the encrypted session cookie (`vx_session`) set during the
|
|
146
|
-
* OAuth flow or dev login.
|
|
179
|
+
* verified via the encrypted session cookie (`vx_session`) set during the
|
|
180
|
+
* identity-provider OAuth flow or dev login.
|
|
147
181
|
*/
|
|
148
182
|
get: operations["getMe"];
|
|
149
183
|
put?: never;
|
|
@@ -2642,11 +2676,14 @@ export interface paths {
|
|
|
2642
2676
|
patch?: never;
|
|
2643
2677
|
trace?: never;
|
|
2644
2678
|
};
|
|
2645
|
-
"/api/v1/embedding-providers": {
|
|
2679
|
+
"/api/v1/{team_id}/embedding-providers": {
|
|
2646
2680
|
parameters: {
|
|
2647
2681
|
query?: never;
|
|
2648
2682
|
header?: never;
|
|
2649
|
-
path
|
|
2683
|
+
path: {
|
|
2684
|
+
/** @description Team that owns the embedding provider(s). */
|
|
2685
|
+
team_id: string;
|
|
2686
|
+
};
|
|
2650
2687
|
cookie?: never;
|
|
2651
2688
|
};
|
|
2652
2689
|
/**
|
|
@@ -2671,11 +2708,14 @@ export interface paths {
|
|
|
2671
2708
|
patch?: never;
|
|
2672
2709
|
trace?: never;
|
|
2673
2710
|
};
|
|
2674
|
-
"/api/v1/embedding-providers/{id}": {
|
|
2711
|
+
"/api/v1/{team_id}/embedding-providers/{id}": {
|
|
2675
2712
|
parameters: {
|
|
2676
2713
|
query?: never;
|
|
2677
2714
|
header?: never;
|
|
2678
|
-
path
|
|
2715
|
+
path: {
|
|
2716
|
+
/** @description Team that owns the embedding provider(s). */
|
|
2717
|
+
team_id: string;
|
|
2718
|
+
};
|
|
2679
2719
|
cookie?: never;
|
|
2680
2720
|
};
|
|
2681
2721
|
/**
|
|
@@ -2705,11 +2745,14 @@ export interface paths {
|
|
|
2705
2745
|
patch?: never;
|
|
2706
2746
|
trace?: never;
|
|
2707
2747
|
};
|
|
2708
|
-
"/api/v1/embedding-providers/validate": {
|
|
2748
|
+
"/api/v1/{team_id}/embedding-providers/validate": {
|
|
2709
2749
|
parameters: {
|
|
2710
2750
|
query?: never;
|
|
2711
2751
|
header?: never;
|
|
2712
|
-
path
|
|
2752
|
+
path: {
|
|
2753
|
+
/** @description Team that owns the embedding provider(s). */
|
|
2754
|
+
team_id: string;
|
|
2755
|
+
};
|
|
2713
2756
|
cookie?: never;
|
|
2714
2757
|
};
|
|
2715
2758
|
get?: never;
|
|
@@ -2728,11 +2771,14 @@ export interface paths {
|
|
|
2728
2771
|
patch?: never;
|
|
2729
2772
|
trace?: never;
|
|
2730
2773
|
};
|
|
2731
|
-
"/api/v1/settings/embedding-providers": {
|
|
2774
|
+
"/api/v1/{team_id}/settings/embedding-providers": {
|
|
2732
2775
|
parameters: {
|
|
2733
2776
|
query?: never;
|
|
2734
2777
|
header?: never;
|
|
2735
|
-
path
|
|
2778
|
+
path: {
|
|
2779
|
+
/** @description Team that owns the embedding provider(s). */
|
|
2780
|
+
team_id: string;
|
|
2781
|
+
};
|
|
2736
2782
|
cookie?: never;
|
|
2737
2783
|
};
|
|
2738
2784
|
/**
|
|
@@ -2757,11 +2803,14 @@ export interface paths {
|
|
|
2757
2803
|
patch?: never;
|
|
2758
2804
|
trace?: never;
|
|
2759
2805
|
};
|
|
2760
|
-
"/api/v1/settings/embedding-providers/{id}": {
|
|
2806
|
+
"/api/v1/{team_id}/settings/embedding-providers/{id}": {
|
|
2761
2807
|
parameters: {
|
|
2762
2808
|
query?: never;
|
|
2763
2809
|
header?: never;
|
|
2764
|
-
path
|
|
2810
|
+
path: {
|
|
2811
|
+
/** @description Team that owns the embedding provider(s). */
|
|
2812
|
+
team_id: string;
|
|
2813
|
+
};
|
|
2765
2814
|
cookie?: never;
|
|
2766
2815
|
};
|
|
2767
2816
|
/**
|
|
@@ -2792,11 +2841,14 @@ export interface paths {
|
|
|
2792
2841
|
patch?: never;
|
|
2793
2842
|
trace?: never;
|
|
2794
2843
|
};
|
|
2795
|
-
"/api/v1/settings/embedding-providers/validate": {
|
|
2844
|
+
"/api/v1/{team_id}/settings/embedding-providers/validate": {
|
|
2796
2845
|
parameters: {
|
|
2797
2846
|
query?: never;
|
|
2798
2847
|
header?: never;
|
|
2799
|
-
path
|
|
2848
|
+
path: {
|
|
2849
|
+
/** @description Team that owns the embedding provider(s). */
|
|
2850
|
+
team_id: string;
|
|
2851
|
+
};
|
|
2800
2852
|
cookie?: never;
|
|
2801
2853
|
};
|
|
2802
2854
|
get?: never;
|
|
@@ -3108,32 +3160,6 @@ export interface paths {
|
|
|
3108
3160
|
patch?: never;
|
|
3109
3161
|
trace?: never;
|
|
3110
3162
|
};
|
|
3111
|
-
"/api/v1/website/contact/send-message": {
|
|
3112
|
-
parameters: {
|
|
3113
|
-
query?: never;
|
|
3114
|
-
header?: never;
|
|
3115
|
-
path?: never;
|
|
3116
|
-
cookie?: never;
|
|
3117
|
-
};
|
|
3118
|
-
get?: never;
|
|
3119
|
-
put?: never;
|
|
3120
|
-
/**
|
|
3121
|
-
* Send a contact form message
|
|
3122
|
-
* @description Submits a contact form message from the public marketing website and fans it out
|
|
3123
|
-
* to the email provider. This is a public endpoint (no authentication) with a very
|
|
3124
|
-
* strict per-IP rate limit; exceeding it returns 429. Request body is capped at 64 KB.
|
|
3125
|
-
* Note — error responses deviate from the standard `ErrorResponse` shape: validation
|
|
3126
|
-
* failures (400) and email-send failures (500) return a `ContactFormResponse` with
|
|
3127
|
-
* `success: false`, while malformed JSON (400) and oversized bodies (413) return a
|
|
3128
|
-
* plain-text message.
|
|
3129
|
-
*/
|
|
3130
|
-
post: operations["sendContactMessage"];
|
|
3131
|
-
delete?: never;
|
|
3132
|
-
options?: never;
|
|
3133
|
-
head?: never;
|
|
3134
|
-
patch?: never;
|
|
3135
|
-
trace?: never;
|
|
3136
|
-
};
|
|
3137
3163
|
"/api/v1/{team_id}/feed-items/{item_id}/replies": {
|
|
3138
3164
|
parameters: {
|
|
3139
3165
|
query?: never;
|
|
@@ -3294,13 +3320,13 @@ export interface components {
|
|
|
3294
3320
|
/** @example user_123 */
|
|
3295
3321
|
id: string;
|
|
3296
3322
|
/**
|
|
3297
|
-
* @description Legacy Google OAuth subject identifier (may be null for
|
|
3323
|
+
* @description Legacy Google OAuth subject identifier (may be null for non-Google accounts)
|
|
3298
3324
|
* @example google_456
|
|
3299
3325
|
*/
|
|
3300
3326
|
google_id?: string | null;
|
|
3301
3327
|
/**
|
|
3302
|
-
* @description Identity provider name (e.g. "
|
|
3303
|
-
* @example
|
|
3328
|
+
* @description Identity provider name (e.g. "google", "oidc")
|
|
3329
|
+
* @example oidc
|
|
3304
3330
|
*/
|
|
3305
3331
|
idp_provider?: string | null;
|
|
3306
3332
|
/**
|
|
@@ -3344,12 +3370,12 @@ export interface components {
|
|
|
3344
3370
|
*/
|
|
3345
3371
|
version: number;
|
|
3346
3372
|
};
|
|
3347
|
-
/** @description Response body returned by GET /api/v1/auth/login containing the
|
|
3373
|
+
/** @description Response body returned by GET /api/v1/auth/login containing the authorization URL */
|
|
3348
3374
|
LoginResponse: {
|
|
3349
3375
|
/**
|
|
3350
3376
|
* Format: uri
|
|
3351
|
-
* @description
|
|
3352
|
-
* @example https://
|
|
3377
|
+
* @description Identity-provider authorization URL to redirect the user to for authentication
|
|
3378
|
+
* @example https://idp.example.com/authorize?client_id=...&redirect_uri=...&state=...
|
|
3353
3379
|
*/
|
|
3354
3380
|
url: string;
|
|
3355
3381
|
};
|
|
@@ -3361,6 +3387,29 @@ export interface components {
|
|
|
3361
3387
|
*/
|
|
3362
3388
|
message: string;
|
|
3363
3389
|
};
|
|
3390
|
+
/** @description One enabled login provider, with display metadata for the login UI */
|
|
3391
|
+
AuthProvider: {
|
|
3392
|
+
/**
|
|
3393
|
+
* @description Canonical provider name, also the value to pass as the `provider`
|
|
3394
|
+
* query parameter to GET /api/v1/auth/login (e.g. `google`, `github`,
|
|
3395
|
+
* `oidc`).
|
|
3396
|
+
* @example google
|
|
3397
|
+
*/
|
|
3398
|
+
name: string;
|
|
3399
|
+
/**
|
|
3400
|
+
* @description Human-readable label for the provider button in the login UI
|
|
3401
|
+
* @example Google
|
|
3402
|
+
*/
|
|
3403
|
+
display_name: string;
|
|
3404
|
+
};
|
|
3405
|
+
/**
|
|
3406
|
+
* @description Response body returned by GET /api/v1/auth/providers listing the login
|
|
3407
|
+
* providers enabled in this deployment's configuration.
|
|
3408
|
+
*/
|
|
3409
|
+
ProvidersResponse: {
|
|
3410
|
+
/** @description Enabled login providers, stable-sorted by canonical name */
|
|
3411
|
+
providers: components["schemas"]["AuthProvider"][];
|
|
3412
|
+
};
|
|
3364
3413
|
/** @description Request body for POST /api/v1/auth/dev/login (development environment only) */
|
|
3365
3414
|
DevLoginRequest: {
|
|
3366
3415
|
/**
|
|
@@ -4020,10 +4069,31 @@ export interface components {
|
|
|
4020
4069
|
id: string;
|
|
4021
4070
|
/** @example user_123 */
|
|
4022
4071
|
user_id: string;
|
|
4072
|
+
/**
|
|
4073
|
+
* Format: uuid
|
|
4074
|
+
* @description Team that owns this provider.
|
|
4075
|
+
* @example b1234567-89ab-cdef-0123-456789abcdef
|
|
4076
|
+
*/
|
|
4077
|
+
team_id?: string | null;
|
|
4023
4078
|
/** @example OpenAI Embeddings */
|
|
4024
4079
|
name: string;
|
|
4025
4080
|
/** @example openai */
|
|
4026
4081
|
provider_type: string;
|
|
4082
|
+
/**
|
|
4083
|
+
* @description Embedding model this provider requests. Must return the fixed vector width VibeXP stores (1024).
|
|
4084
|
+
* @example text-embedding-3-small
|
|
4085
|
+
*/
|
|
4086
|
+
model: string;
|
|
4087
|
+
/**
|
|
4088
|
+
* @description In-Go text-chunker size used when embedding documents.
|
|
4089
|
+
* @example 1000
|
|
4090
|
+
*/
|
|
4091
|
+
chunk_size: number;
|
|
4092
|
+
/**
|
|
4093
|
+
* @description Overlap between adjacent chunks.
|
|
4094
|
+
* @example 200
|
|
4095
|
+
*/
|
|
4096
|
+
chunk_overlap: number;
|
|
4027
4097
|
/** @example false */
|
|
4028
4098
|
is_default: boolean;
|
|
4029
4099
|
/**
|
|
@@ -4053,6 +4123,21 @@ export interface components {
|
|
|
4053
4123
|
name: string;
|
|
4054
4124
|
/** @example openai */
|
|
4055
4125
|
provider_type: string;
|
|
4126
|
+
/**
|
|
4127
|
+
* @description Embedding model that must return 1024-dimensional vectors.
|
|
4128
|
+
* @example text-embedding-3-small
|
|
4129
|
+
*/
|
|
4130
|
+
model: string;
|
|
4131
|
+
/**
|
|
4132
|
+
* @description Optional chunker size; defaults to 1000 when omitted.
|
|
4133
|
+
* @example 1000
|
|
4134
|
+
*/
|
|
4135
|
+
chunk_size?: number;
|
|
4136
|
+
/**
|
|
4137
|
+
* @description Optional chunk overlap; defaults to 200 when omitted.
|
|
4138
|
+
* @example 200
|
|
4139
|
+
*/
|
|
4140
|
+
chunk_overlap?: number;
|
|
4056
4141
|
/** @example false */
|
|
4057
4142
|
is_default?: boolean;
|
|
4058
4143
|
/**
|
|
@@ -4068,6 +4153,9 @@ export interface components {
|
|
|
4068
4153
|
UpdateEmbeddingProviderRequest: {
|
|
4069
4154
|
name?: string;
|
|
4070
4155
|
provider_type?: string;
|
|
4156
|
+
model?: string;
|
|
4157
|
+
chunk_size?: number;
|
|
4158
|
+
chunk_overlap?: number;
|
|
4071
4159
|
is_default?: boolean;
|
|
4072
4160
|
/** Format: uri */
|
|
4073
4161
|
base_url?: string;
|
|
@@ -4086,6 +4174,11 @@ export interface components {
|
|
|
4086
4174
|
ValidateEmbeddingProviderRequest: {
|
|
4087
4175
|
/** @example openai_compatible */
|
|
4088
4176
|
provider_type: string;
|
|
4177
|
+
/**
|
|
4178
|
+
* @description Embedding model to probe. The provider is accepted only if it returns vectors of the fixed dimension VibeXP stores (1024).
|
|
4179
|
+
* @example text-embedding-3-small
|
|
4180
|
+
*/
|
|
4181
|
+
model: string;
|
|
4089
4182
|
/**
|
|
4090
4183
|
* Format: uri
|
|
4091
4184
|
* @example https://api.openai.com/v1
|
|
@@ -4106,6 +4199,11 @@ export interface components {
|
|
|
4106
4199
|
response_time_ms?: number;
|
|
4107
4200
|
/** @example 200 */
|
|
4108
4201
|
status_code?: number;
|
|
4202
|
+
/**
|
|
4203
|
+
* @description Vector width the provider returned during the probe.
|
|
4204
|
+
* @example 1024
|
|
4205
|
+
*/
|
|
4206
|
+
dimension?: number;
|
|
4109
4207
|
/** @example Connection timeout */
|
|
4110
4208
|
error_details?: string;
|
|
4111
4209
|
};
|
|
@@ -4154,25 +4252,6 @@ export interface components {
|
|
|
4154
4252
|
/** @description List of resource usage items */
|
|
4155
4253
|
resources?: components["schemas"]["ResourceUsageItem"][];
|
|
4156
4254
|
};
|
|
4157
|
-
ContactFormRequest: {
|
|
4158
|
-
/** @example John Doe */
|
|
4159
|
-
name: string;
|
|
4160
|
-
/**
|
|
4161
|
-
* Format: email
|
|
4162
|
-
* @example john@example.com
|
|
4163
|
-
*/
|
|
4164
|
-
email: string;
|
|
4165
|
-
/** @example +1234567890 */
|
|
4166
|
-
phone_number?: string | null;
|
|
4167
|
-
/** @example I'm interested in your services. */
|
|
4168
|
-
message: string;
|
|
4169
|
-
};
|
|
4170
|
-
ContactFormResponse: {
|
|
4171
|
-
/** @example Message sent successfully */
|
|
4172
|
-
message: string;
|
|
4173
|
-
/** @example true */
|
|
4174
|
-
success: boolean;
|
|
4175
|
-
};
|
|
4176
4255
|
SupportRequest: {
|
|
4177
4256
|
/** @example I need help with configuring my API keys. */
|
|
4178
4257
|
text: string;
|
|
@@ -7704,14 +7783,21 @@ export interface operations {
|
|
|
7704
7783
|
};
|
|
7705
7784
|
login: {
|
|
7706
7785
|
parameters: {
|
|
7707
|
-
query?:
|
|
7786
|
+
query?: {
|
|
7787
|
+
/**
|
|
7788
|
+
* @description Canonical name of the identity provider to use (e.g. `google`,
|
|
7789
|
+
* `github`, `oidc`). Optional when a single provider is enabled;
|
|
7790
|
+
* required when more than one is enabled.
|
|
7791
|
+
*/
|
|
7792
|
+
provider?: string;
|
|
7793
|
+
};
|
|
7708
7794
|
header?: never;
|
|
7709
7795
|
path?: never;
|
|
7710
7796
|
cookie?: never;
|
|
7711
7797
|
};
|
|
7712
7798
|
requestBody?: never;
|
|
7713
7799
|
responses: {
|
|
7714
|
-
/** @description
|
|
7800
|
+
/** @description Authorization URL generated successfully */
|
|
7715
7801
|
200: {
|
|
7716
7802
|
headers: {
|
|
7717
7803
|
[name: string]: unknown;
|
|
@@ -7720,6 +7806,56 @@ export interface operations {
|
|
|
7720
7806
|
"application/json": components["schemas"]["LoginResponse"];
|
|
7721
7807
|
};
|
|
7722
7808
|
};
|
|
7809
|
+
/**
|
|
7810
|
+
* @description The `provider` value is unknown/disabled, or it was omitted while
|
|
7811
|
+
* multiple providers are enabled.
|
|
7812
|
+
*/
|
|
7813
|
+
400: {
|
|
7814
|
+
headers: {
|
|
7815
|
+
[name: string]: unknown;
|
|
7816
|
+
};
|
|
7817
|
+
content: {
|
|
7818
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
7819
|
+
};
|
|
7820
|
+
};
|
|
7821
|
+
/** @description Internal server error */
|
|
7822
|
+
500: {
|
|
7823
|
+
headers: {
|
|
7824
|
+
[name: string]: unknown;
|
|
7825
|
+
};
|
|
7826
|
+
content: {
|
|
7827
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
7828
|
+
};
|
|
7829
|
+
};
|
|
7830
|
+
/** @description No identity provider is configured (web login unavailable) */
|
|
7831
|
+
503: {
|
|
7832
|
+
headers: {
|
|
7833
|
+
[name: string]: unknown;
|
|
7834
|
+
};
|
|
7835
|
+
content: {
|
|
7836
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
7837
|
+
};
|
|
7838
|
+
};
|
|
7839
|
+
};
|
|
7840
|
+
};
|
|
7841
|
+
listAuthProviders: {
|
|
7842
|
+
parameters: {
|
|
7843
|
+
query?: never;
|
|
7844
|
+
header?: never;
|
|
7845
|
+
path?: never;
|
|
7846
|
+
cookie?: never;
|
|
7847
|
+
};
|
|
7848
|
+
requestBody?: never;
|
|
7849
|
+
responses: {
|
|
7850
|
+
/** @description Enabled providers listed successfully */
|
|
7851
|
+
200: {
|
|
7852
|
+
headers: {
|
|
7853
|
+
[name: string]: unknown;
|
|
7854
|
+
};
|
|
7855
|
+
content: {
|
|
7856
|
+
"application/json": components["schemas"]["ProvidersResponse"];
|
|
7857
|
+
};
|
|
7858
|
+
};
|
|
7723
7859
|
/** @description Internal server error */
|
|
7724
7860
|
500: {
|
|
7725
7861
|
headers: {
|
|
@@ -7734,7 +7870,7 @@ export interface operations {
|
|
|
7734
7870
|
authCallback: {
|
|
7735
7871
|
parameters: {
|
|
7736
7872
|
query: {
|
|
7737
|
-
/** @description Authorization code returned by
|
|
7873
|
+
/** @description Authorization code returned by the identity provider after user authentication */
|
|
7738
7874
|
code: string;
|
|
7739
7875
|
/** @description CSRF state value that must match the signed `vx_state` cookie */
|
|
7740
7876
|
state?: string;
|
|
@@ -7750,7 +7886,7 @@ export interface operations {
|
|
|
7750
7886
|
headers: {
|
|
7751
7887
|
/** @description Frontend home URL (e.g. https://app.example.com/) */
|
|
7752
7888
|
Location?: string;
|
|
7753
|
-
/** @description Encrypted session cookie (`vx_session`) containing the
|
|
7889
|
+
/** @description Encrypted session cookie (`vx_session`) containing the identity-provider access token */
|
|
7754
7890
|
"Set-Cookie"?: string;
|
|
7755
7891
|
[name: string]: unknown;
|
|
7756
7892
|
};
|
|
@@ -7774,7 +7910,7 @@ export interface operations {
|
|
|
7774
7910
|
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
7775
7911
|
};
|
|
7776
7912
|
};
|
|
7777
|
-
/** @description
|
|
7913
|
+
/** @description Identity provider authentication failed or session could not be created */
|
|
7778
7914
|
500: {
|
|
7779
7915
|
headers: {
|
|
7780
7916
|
[name: string]: unknown;
|
|
@@ -16720,7 +16856,10 @@ export interface operations {
|
|
|
16720
16856
|
parameters: {
|
|
16721
16857
|
query?: never;
|
|
16722
16858
|
header?: never;
|
|
16723
|
-
path
|
|
16859
|
+
path: {
|
|
16860
|
+
/** @description Team that owns the embedding provider(s). */
|
|
16861
|
+
team_id: string;
|
|
16862
|
+
};
|
|
16724
16863
|
cookie?: never;
|
|
16725
16864
|
};
|
|
16726
16865
|
requestBody?: never;
|
|
@@ -16758,7 +16897,10 @@ export interface operations {
|
|
|
16758
16897
|
parameters: {
|
|
16759
16898
|
query?: never;
|
|
16760
16899
|
header?: never;
|
|
16761
|
-
path
|
|
16900
|
+
path: {
|
|
16901
|
+
/** @description Team that owns the embedding provider(s). */
|
|
16902
|
+
team_id: string;
|
|
16903
|
+
};
|
|
16762
16904
|
cookie?: never;
|
|
16763
16905
|
};
|
|
16764
16906
|
requestBody: {
|
|
@@ -16819,6 +16961,8 @@ export interface operations {
|
|
|
16819
16961
|
query?: never;
|
|
16820
16962
|
header?: never;
|
|
16821
16963
|
path: {
|
|
16964
|
+
/** @description Team that owns the embedding provider(s). */
|
|
16965
|
+
team_id: string;
|
|
16822
16966
|
/** @description Embedding provider ID */
|
|
16823
16967
|
id: string;
|
|
16824
16968
|
};
|
|
@@ -16869,6 +17013,8 @@ export interface operations {
|
|
|
16869
17013
|
query?: never;
|
|
16870
17014
|
header?: never;
|
|
16871
17015
|
path: {
|
|
17016
|
+
/** @description Team that owns the embedding provider(s). */
|
|
17017
|
+
team_id: string;
|
|
16872
17018
|
/** @description Embedding provider ID */
|
|
16873
17019
|
id: string;
|
|
16874
17020
|
};
|
|
@@ -16932,6 +17078,8 @@ export interface operations {
|
|
|
16932
17078
|
query?: never;
|
|
16933
17079
|
header?: never;
|
|
16934
17080
|
path: {
|
|
17081
|
+
/** @description Team that owns the embedding provider(s). */
|
|
17082
|
+
team_id: string;
|
|
16935
17083
|
/** @description Embedding provider ID */
|
|
16936
17084
|
id: string;
|
|
16937
17085
|
};
|
|
@@ -16988,7 +17136,10 @@ export interface operations {
|
|
|
16988
17136
|
parameters: {
|
|
16989
17137
|
query?: never;
|
|
16990
17138
|
header?: never;
|
|
16991
|
-
path
|
|
17139
|
+
path: {
|
|
17140
|
+
/** @description Team that owns the embedding provider(s). */
|
|
17141
|
+
team_id: string;
|
|
17142
|
+
};
|
|
16992
17143
|
cookie?: never;
|
|
16993
17144
|
};
|
|
16994
17145
|
requestBody: {
|
|
@@ -17039,7 +17190,10 @@ export interface operations {
|
|
|
17039
17190
|
parameters: {
|
|
17040
17191
|
query?: never;
|
|
17041
17192
|
header?: never;
|
|
17042
|
-
path
|
|
17193
|
+
path: {
|
|
17194
|
+
/** @description Team that owns the embedding provider(s). */
|
|
17195
|
+
team_id: string;
|
|
17196
|
+
};
|
|
17043
17197
|
cookie?: never;
|
|
17044
17198
|
};
|
|
17045
17199
|
requestBody?: never;
|
|
@@ -17077,7 +17231,10 @@ export interface operations {
|
|
|
17077
17231
|
parameters: {
|
|
17078
17232
|
query?: never;
|
|
17079
17233
|
header?: never;
|
|
17080
|
-
path
|
|
17234
|
+
path: {
|
|
17235
|
+
/** @description Team that owns the embedding provider(s). */
|
|
17236
|
+
team_id: string;
|
|
17237
|
+
};
|
|
17081
17238
|
cookie?: never;
|
|
17082
17239
|
};
|
|
17083
17240
|
requestBody: {
|
|
@@ -17138,6 +17295,8 @@ export interface operations {
|
|
|
17138
17295
|
query?: never;
|
|
17139
17296
|
header?: never;
|
|
17140
17297
|
path: {
|
|
17298
|
+
/** @description Team that owns the embedding provider(s). */
|
|
17299
|
+
team_id: string;
|
|
17141
17300
|
/** @description Embedding provider ID */
|
|
17142
17301
|
id: string;
|
|
17143
17302
|
};
|
|
@@ -17188,6 +17347,8 @@ export interface operations {
|
|
|
17188
17347
|
query?: never;
|
|
17189
17348
|
header?: never;
|
|
17190
17349
|
path: {
|
|
17350
|
+
/** @description Team that owns the embedding provider(s). */
|
|
17351
|
+
team_id: string;
|
|
17191
17352
|
/** @description Embedding provider ID */
|
|
17192
17353
|
id: string;
|
|
17193
17354
|
};
|
|
@@ -17251,6 +17412,8 @@ export interface operations {
|
|
|
17251
17412
|
query?: never;
|
|
17252
17413
|
header?: never;
|
|
17253
17414
|
path: {
|
|
17415
|
+
/** @description Team that owns the embedding provider(s). */
|
|
17416
|
+
team_id: string;
|
|
17254
17417
|
/** @description Embedding provider ID */
|
|
17255
17418
|
id: string;
|
|
17256
17419
|
};
|
|
@@ -17307,7 +17470,10 @@ export interface operations {
|
|
|
17307
17470
|
parameters: {
|
|
17308
17471
|
query?: never;
|
|
17309
17472
|
header?: never;
|
|
17310
|
-
path
|
|
17473
|
+
path: {
|
|
17474
|
+
/** @description Team that owns the embedding provider(s). */
|
|
17475
|
+
team_id: string;
|
|
17476
|
+
};
|
|
17311
17477
|
cookie?: never;
|
|
17312
17478
|
};
|
|
17313
17479
|
requestBody: {
|
|
@@ -18468,70 +18634,6 @@ export interface operations {
|
|
|
18468
18634
|
};
|
|
18469
18635
|
};
|
|
18470
18636
|
};
|
|
18471
|
-
sendContactMessage: {
|
|
18472
|
-
parameters: {
|
|
18473
|
-
query?: never;
|
|
18474
|
-
header?: never;
|
|
18475
|
-
path?: never;
|
|
18476
|
-
cookie?: never;
|
|
18477
|
-
};
|
|
18478
|
-
requestBody: {
|
|
18479
|
-
content: {
|
|
18480
|
-
"application/json": components["schemas"]["ContactFormRequest"];
|
|
18481
|
-
};
|
|
18482
|
-
};
|
|
18483
|
-
responses: {
|
|
18484
|
-
/** @description Message sent successfully */
|
|
18485
|
-
200: {
|
|
18486
|
-
headers: {
|
|
18487
|
-
[name: string]: unknown;
|
|
18488
|
-
};
|
|
18489
|
-
content: {
|
|
18490
|
-
"application/json": components["schemas"]["ContactFormResponse"];
|
|
18491
|
-
};
|
|
18492
|
-
};
|
|
18493
|
-
/**
|
|
18494
|
-
* @description Validation failed (JSON body with `success: false`) or malformed JSON
|
|
18495
|
-
* (plain-text "Invalid JSON format")
|
|
18496
|
-
*/
|
|
18497
|
-
400: {
|
|
18498
|
-
headers: {
|
|
18499
|
-
[name: string]: unknown;
|
|
18500
|
-
};
|
|
18501
|
-
content: {
|
|
18502
|
-
"application/json": components["schemas"]["ContactFormResponse"];
|
|
18503
|
-
"text/plain": string;
|
|
18504
|
-
};
|
|
18505
|
-
};
|
|
18506
|
-
/** @description Request body exceeds the 64 KB size limit (plain-text body) */
|
|
18507
|
-
413: {
|
|
18508
|
-
headers: {
|
|
18509
|
-
[name: string]: unknown;
|
|
18510
|
-
};
|
|
18511
|
-
content: {
|
|
18512
|
-
"text/plain": string;
|
|
18513
|
-
};
|
|
18514
|
-
};
|
|
18515
|
-
/** @description Per-IP rate limit exceeded (plain-text body) */
|
|
18516
|
-
429: {
|
|
18517
|
-
headers: {
|
|
18518
|
-
[name: string]: unknown;
|
|
18519
|
-
};
|
|
18520
|
-
content: {
|
|
18521
|
-
"text/plain": string;
|
|
18522
|
-
};
|
|
18523
|
-
};
|
|
18524
|
-
/** @description Failed to send message via the email provider (JSON body with `success` false) */
|
|
18525
|
-
500: {
|
|
18526
|
-
headers: {
|
|
18527
|
-
[name: string]: unknown;
|
|
18528
|
-
};
|
|
18529
|
-
content: {
|
|
18530
|
-
"application/json": components["schemas"]["ContactFormResponse"];
|
|
18531
|
-
};
|
|
18532
|
-
};
|
|
18533
|
-
};
|
|
18534
|
-
};
|
|
18535
18637
|
listFeedItemReplies: {
|
|
18536
18638
|
parameters: {
|
|
18537
18639
|
query?: {
|