v0-api 0.0.2 → 0.0.3
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/client.d.mts +28 -27
- package/dist/client.d.ts +28 -27
- package/dist/generated/components.d.mts +80 -68
- package/dist/generated/components.d.ts +80 -68
- package/dist/generated/components.js +157 -99
- package/dist/generated/components.mjs +156 -99
- package/dist/generated/mcp.d.mts +261 -0
- package/dist/generated/mcp.d.ts +261 -0
- package/dist/generated/mcp.js +554 -0
- package/dist/generated/mcp.mjs +524 -0
- package/dist/generated/schemas.d.mts +520 -151
- package/dist/generated/schemas.d.ts +520 -151
- package/dist/generated/schemas.js +106 -69
- package/dist/generated/schemas.mjs +100 -63
- package/dist/generated/types.d.mts +41 -0
- package/dist/generated/types.d.ts +41 -0
- package/dist/generated/types.js +12 -12
- package/dist/generated/types.mjs +12 -12
- package/dist/index.d.mts +50 -43
- package/dist/index.d.ts +50 -43
- package/dist/mcp.d.mts +1 -0
- package/dist/mcp.d.ts +1 -0
- package/dist/mcp.js +5 -0
- package/dist/mcp.mjs +1 -0
- package/dist/utils/fetcher.d.mts +1 -1
- package/dist/utils/fetcher.d.ts +1 -1
- package/dist/utils/mcp.d.mts +1 -0
- package/dist/utils/mcp.d.ts +1 -0
- package/dist/utils/mcp.js +2 -0
- package/dist/utils/mcp.mjs +1 -0
- package/package.json +14 -4
|
@@ -6,133 +6,173 @@ import client from "../utils/fetcher.mjs";
|
|
|
6
6
|
/**
|
|
7
7
|
* @description Create a new chat
|
|
8
8
|
* @summary Create Chat
|
|
9
|
-
* {@link chats}
|
|
9
|
+
* {@link /chats}
|
|
10
10
|
*/
|
|
11
11
|
export async function chatsCreate({ config = {} }) {
|
|
12
12
|
const { client: request = client, ...requestConfig } = config;
|
|
13
|
-
const data = await request({
|
|
13
|
+
const data = await request({
|
|
14
|
+
method: 'POST',
|
|
15
|
+
url: `/chats`,
|
|
16
|
+
...requestConfig,
|
|
17
|
+
headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }
|
|
18
|
+
});
|
|
14
19
|
return data;
|
|
15
20
|
}
|
|
16
21
|
/**
|
|
17
22
|
* @description Find all chats
|
|
18
23
|
* @summary Find Chats
|
|
19
|
-
* {@link chats}
|
|
24
|
+
* {@link /chats}
|
|
20
25
|
*/
|
|
21
|
-
export async function chatsFind({ queryParams, config = {}
|
|
26
|
+
export async function chatsFind({ queryParams, config = {} }) {
|
|
22
27
|
const { client: request = client, ...requestConfig } = config;
|
|
23
|
-
const data = await request({ method: 'GET', url:
|
|
28
|
+
const data = await request({ method: 'GET', url: `/chats`, queryParams, ...requestConfig });
|
|
29
|
+
return data;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @description Initialize a new chat from files
|
|
33
|
+
* @summary Initialize Chat
|
|
34
|
+
* {@link /chats/init}
|
|
35
|
+
*/
|
|
36
|
+
export async function chatsInitCreate({ config = {} }) {
|
|
37
|
+
const { client: request = client, ...requestConfig } = config;
|
|
38
|
+
const data = await request({
|
|
39
|
+
method: 'POST',
|
|
40
|
+
url: `/chats/init`,
|
|
41
|
+
...requestConfig,
|
|
42
|
+
headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }
|
|
43
|
+
});
|
|
24
44
|
return data;
|
|
25
45
|
}
|
|
26
46
|
/**
|
|
27
47
|
* @description Delete a chat
|
|
28
48
|
* @summary Delete Chat
|
|
29
|
-
* {@link
|
|
49
|
+
* {@link /chats/:chatId}
|
|
30
50
|
*/
|
|
31
|
-
export async function chatsDelete({ pathParams: { chatId }, config = {}
|
|
51
|
+
export async function chatsDelete({ pathParams: { chatId }, config = {} }) {
|
|
32
52
|
const { client: request = client, ...requestConfig } = config;
|
|
33
53
|
if (!chatId) {
|
|
34
54
|
throw new Error(`Missing required path parameter: chatId`);
|
|
35
55
|
}
|
|
36
|
-
const data = await request({ method: 'DELETE', url:
|
|
56
|
+
const data = await request({ method: 'DELETE', url: `/chats/${chatId}`, ...requestConfig });
|
|
37
57
|
return data;
|
|
38
58
|
}
|
|
39
59
|
/**
|
|
40
60
|
* @description Get a chat
|
|
41
61
|
* @summary Get Chat
|
|
42
|
-
* {@link
|
|
62
|
+
* {@link /chats/:chatId}
|
|
43
63
|
*/
|
|
44
|
-
export async function chatsGetById({ pathParams: { chatId }, config = {}
|
|
64
|
+
export async function chatsGetById({ pathParams: { chatId }, config = {} }) {
|
|
45
65
|
const { client: request = client, ...requestConfig } = config;
|
|
46
66
|
if (!chatId) {
|
|
47
67
|
throw new Error(`Missing required path parameter: chatId`);
|
|
48
68
|
}
|
|
49
|
-
const data = await request({ method: 'GET', url:
|
|
69
|
+
const data = await request({ method: 'GET', url: `/chats/${chatId}`, ...requestConfig });
|
|
50
70
|
return data;
|
|
51
71
|
}
|
|
52
72
|
/**
|
|
53
73
|
* @description Update a chat
|
|
54
74
|
* @summary Update Chat
|
|
55
|
-
* {@link
|
|
75
|
+
* {@link /chats/:chatId}
|
|
56
76
|
*/
|
|
57
|
-
export async function chatsUpdate({ pathParams: { chatId }, config = {}
|
|
77
|
+
export async function chatsUpdate({ pathParams: { chatId }, config = {} }) {
|
|
58
78
|
const { client: request = client, ...requestConfig } = config;
|
|
59
79
|
if (!chatId) {
|
|
60
80
|
throw new Error(`Missing required path parameter: chatId`);
|
|
61
81
|
}
|
|
62
|
-
const data = await request({
|
|
82
|
+
const data = await request({
|
|
83
|
+
method: 'PATCH',
|
|
84
|
+
url: `/chats/${chatId}`,
|
|
85
|
+
...requestConfig,
|
|
86
|
+
headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }
|
|
87
|
+
});
|
|
63
88
|
return data;
|
|
64
89
|
}
|
|
65
90
|
/**
|
|
66
91
|
* @description Favorite a chat
|
|
67
92
|
* @summary Favorite Chat
|
|
68
|
-
* {@link
|
|
93
|
+
* {@link /chats/:chatId/favorite}
|
|
69
94
|
*/
|
|
70
|
-
export async function chatsFavorite({ pathParams: { chatId }, config = {}
|
|
95
|
+
export async function chatsFavorite({ pathParams: { chatId }, config = {} }) {
|
|
71
96
|
const { client: request = client, ...requestConfig } = config;
|
|
72
97
|
if (!chatId) {
|
|
73
98
|
throw new Error(`Missing required path parameter: chatId`);
|
|
74
99
|
}
|
|
75
|
-
const data = await request({
|
|
100
|
+
const data = await request({
|
|
101
|
+
method: 'PUT',
|
|
102
|
+
url: `/chats/${chatId}/favorite`,
|
|
103
|
+
...requestConfig,
|
|
104
|
+
headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }
|
|
105
|
+
});
|
|
76
106
|
return data;
|
|
77
107
|
}
|
|
78
108
|
/**
|
|
79
109
|
* @description Fork a version in a chat
|
|
80
110
|
* @summary Fork Chat
|
|
81
|
-
* {@link
|
|
111
|
+
* {@link /chats/:chatId/fork}
|
|
82
112
|
*/
|
|
83
|
-
export async function chatsFork({ pathParams: { chatId }, config = {}
|
|
113
|
+
export async function chatsFork({ pathParams: { chatId }, config = {} }) {
|
|
84
114
|
const { client: request = client, ...requestConfig } = config;
|
|
85
115
|
if (!chatId) {
|
|
86
116
|
throw new Error(`Missing required path parameter: chatId`);
|
|
87
117
|
}
|
|
88
|
-
const data = await request({
|
|
118
|
+
const data = await request({
|
|
119
|
+
method: 'POST',
|
|
120
|
+
url: `/chats/${chatId}/fork`,
|
|
121
|
+
...requestConfig,
|
|
122
|
+
headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }
|
|
123
|
+
});
|
|
89
124
|
return data;
|
|
90
125
|
}
|
|
91
126
|
/**
|
|
92
127
|
* @description Get the project for a chat
|
|
93
128
|
* @summary Get Project by Chat ID
|
|
94
|
-
* {@link
|
|
129
|
+
* {@link /chats/:chatId/project}
|
|
95
130
|
*/
|
|
96
|
-
export async function projectsGetByChatId({ pathParams: { chatId }, config = {}
|
|
131
|
+
export async function projectsGetByChatId({ pathParams: { chatId }, config = {} }) {
|
|
97
132
|
const { client: request = client, ...requestConfig } = config;
|
|
98
133
|
if (!chatId) {
|
|
99
134
|
throw new Error(`Missing required path parameter: chatId`);
|
|
100
135
|
}
|
|
101
|
-
const data = await request({ method: 'GET', url:
|
|
136
|
+
const data = await request({ method: 'GET', url: `/chats/${chatId}/project`, ...requestConfig });
|
|
102
137
|
return data;
|
|
103
138
|
}
|
|
104
139
|
/**
|
|
105
140
|
* @description Create a new message in a chat
|
|
106
141
|
* @summary Create Message
|
|
107
|
-
* {@link
|
|
142
|
+
* {@link /chats/:chatId/messages}
|
|
108
143
|
*/
|
|
109
|
-
export async function chatsSendMessage({ pathParams: { chatId }, config = {}
|
|
144
|
+
export async function chatsSendMessage({ pathParams: { chatId }, config = {} }) {
|
|
110
145
|
const { client: request = client, ...requestConfig } = config;
|
|
111
146
|
if (!chatId) {
|
|
112
147
|
throw new Error(`Missing required path parameter: chatId`);
|
|
113
148
|
}
|
|
114
|
-
const data = await request({
|
|
149
|
+
const data = await request({
|
|
150
|
+
method: 'POST',
|
|
151
|
+
url: `/chats/${chatId}/messages`,
|
|
152
|
+
...requestConfig,
|
|
153
|
+
headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }
|
|
154
|
+
});
|
|
115
155
|
return data;
|
|
116
156
|
}
|
|
117
157
|
/**
|
|
118
158
|
* @description Get the metadata for a chat
|
|
119
159
|
* @summary Get Chat Metadata
|
|
120
|
-
* {@link
|
|
160
|
+
* {@link /chats/:chatId/metadata}
|
|
121
161
|
*/
|
|
122
|
-
export async function chatsGetMetadata({ pathParams: { chatId }, config = {}
|
|
162
|
+
export async function chatsGetMetadata({ pathParams: { chatId }, config = {} }) {
|
|
123
163
|
const { client: request = client, ...requestConfig } = config;
|
|
124
164
|
if (!chatId) {
|
|
125
165
|
throw new Error(`Missing required path parameter: chatId`);
|
|
126
166
|
}
|
|
127
|
-
const data = await request({ method: 'GET', url:
|
|
167
|
+
const data = await request({ method: 'GET', url: `/chats/${chatId}/metadata`, ...requestConfig });
|
|
128
168
|
return data;
|
|
129
169
|
}
|
|
130
170
|
/**
|
|
131
171
|
* @description Resume a chat message
|
|
132
172
|
* @summary Resume Chat Message
|
|
133
|
-
* {@link
|
|
173
|
+
* {@link /chats/:chatId/messages/:messageId/resume}
|
|
134
174
|
*/
|
|
135
|
-
export async function chatsResume({ pathParams: { chatId, messageId }, config = {}
|
|
175
|
+
export async function chatsResume({ pathParams: { chatId, messageId }, config = {} }) {
|
|
136
176
|
const { client: request = client, ...requestConfig } = config;
|
|
137
177
|
if (!chatId) {
|
|
138
178
|
throw new Error(`Missing required path parameter: chatId`);
|
|
@@ -140,167 +180,184 @@ export async function chatsResume({ pathParams: { chatId, messageId }, config =
|
|
|
140
180
|
if (!messageId) {
|
|
141
181
|
throw new Error(`Missing required path parameter: messageId`);
|
|
142
182
|
}
|
|
143
|
-
const data = await request({ method: 'POST', url:
|
|
183
|
+
const data = await request({ method: 'POST', url: `/chats/${chatId}/messages/${messageId}/resume`, ...requestConfig });
|
|
144
184
|
return data;
|
|
145
185
|
}
|
|
146
186
|
/**
|
|
147
187
|
* @description Find logs for a deployment
|
|
148
188
|
* @summary Find Deployment Logs
|
|
149
|
-
* {@link
|
|
189
|
+
* {@link /deployments/:deploymentId/logs}
|
|
150
190
|
*/
|
|
151
|
-
export async function deploymentsFindLogs({ pathParams: { deploymentId }, queryParams, config = {}
|
|
191
|
+
export async function deploymentsFindLogs({ pathParams: { deploymentId }, queryParams, config = {} }) {
|
|
152
192
|
const { client: request = client, ...requestConfig } = config;
|
|
153
193
|
if (!deploymentId) {
|
|
154
194
|
throw new Error(`Missing required path parameter: deploymentId`);
|
|
155
195
|
}
|
|
156
|
-
const data = await request({ method: 'GET', url:
|
|
196
|
+
const data = await request({ method: 'GET', url: `/deployments/${deploymentId}/logs`, queryParams, ...requestConfig });
|
|
157
197
|
return data;
|
|
158
198
|
}
|
|
159
199
|
/**
|
|
160
200
|
* @description Find errors for a deployment
|
|
161
201
|
* @summary Find Deployment Errors
|
|
162
|
-
* {@link
|
|
202
|
+
* {@link /deployments/:deploymentId/errors}
|
|
163
203
|
*/
|
|
164
|
-
export async function deploymentsFindErrors({ pathParams: { deploymentId }, config = {}
|
|
204
|
+
export async function deploymentsFindErrors({ pathParams: { deploymentId }, config = {} }) {
|
|
165
205
|
const { client: request = client, ...requestConfig } = config;
|
|
166
206
|
if (!deploymentId) {
|
|
167
207
|
throw new Error(`Missing required path parameter: deploymentId`);
|
|
168
208
|
}
|
|
169
|
-
const data = await request({ method: 'GET', url:
|
|
209
|
+
const data = await request({ method: 'GET', url: `/deployments/${deploymentId}/errors`, ...requestConfig });
|
|
170
210
|
return data;
|
|
171
211
|
}
|
|
172
212
|
/**
|
|
173
213
|
* @description Find all Vercel projects
|
|
174
214
|
* @summary Find Vercel Projects
|
|
175
|
-
* {@link
|
|
215
|
+
* {@link /integrations/vercel/projects}
|
|
176
216
|
*/
|
|
177
217
|
export async function integrationsVercelProjectsFind({ config = {} }) {
|
|
178
218
|
const { client: request = client, ...requestConfig } = config;
|
|
179
|
-
const data = await request({ method: 'GET', url:
|
|
219
|
+
const data = await request({ method: 'GET', url: `/integrations/vercel/projects`, ...requestConfig });
|
|
180
220
|
return data;
|
|
181
221
|
}
|
|
182
222
|
/**
|
|
183
223
|
* @description Create a new Vercel project
|
|
184
224
|
* @summary Create Vercel Project
|
|
185
|
-
* {@link
|
|
225
|
+
* {@link /integrations/vercel/projects}
|
|
186
226
|
*/
|
|
187
227
|
export async function integrationsVercelProjectsCreate({ config = {} }) {
|
|
188
228
|
const { client: request = client, ...requestConfig } = config;
|
|
189
|
-
const data = await request({
|
|
229
|
+
const data = await request({
|
|
230
|
+
method: 'POST',
|
|
231
|
+
url: `/integrations/vercel/projects`,
|
|
232
|
+
...requestConfig,
|
|
233
|
+
headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }
|
|
234
|
+
});
|
|
190
235
|
return data;
|
|
191
236
|
}
|
|
192
237
|
/**
|
|
193
238
|
* @description Find all projects
|
|
194
239
|
* @summary Find Projects
|
|
195
|
-
* {@link projects}
|
|
240
|
+
* {@link /projects}
|
|
196
241
|
*/
|
|
197
242
|
export async function projectsFind({ config = {} }) {
|
|
198
243
|
const { client: request = client, ...requestConfig } = config;
|
|
199
|
-
const data = await request({ method: 'GET', url:
|
|
244
|
+
const data = await request({ method: 'GET', url: `/projects`, ...requestConfig });
|
|
200
245
|
return data;
|
|
201
246
|
}
|
|
202
247
|
/**
|
|
203
248
|
* @description Create a new project
|
|
204
249
|
* @summary Create Project
|
|
205
|
-
* {@link projects}
|
|
250
|
+
* {@link /projects}
|
|
206
251
|
*/
|
|
207
252
|
export async function projectsCreate({ config = {} }) {
|
|
208
253
|
const { client: request = client, ...requestConfig } = config;
|
|
209
|
-
const data = await request({
|
|
254
|
+
const data = await request({
|
|
255
|
+
method: 'POST',
|
|
256
|
+
url: `/projects`,
|
|
257
|
+
...requestConfig,
|
|
258
|
+
headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }
|
|
259
|
+
});
|
|
210
260
|
return data;
|
|
211
261
|
}
|
|
212
262
|
/**
|
|
213
263
|
* @description Assign a project to a chat
|
|
214
264
|
* @summary Assign Project to Chat
|
|
215
|
-
* {@link
|
|
265
|
+
* {@link /projects/:projectId/assign}
|
|
216
266
|
*/
|
|
217
|
-
export async function projectsAssign({ pathParams: { projectId }, config = {}
|
|
267
|
+
export async function projectsAssign({ pathParams: { projectId }, config = {} }) {
|
|
218
268
|
const { client: request = client, ...requestConfig } = config;
|
|
219
269
|
if (!projectId) {
|
|
220
270
|
throw new Error(`Missing required path parameter: projectId`);
|
|
221
271
|
}
|
|
222
|
-
const data = await request({
|
|
272
|
+
const data = await request({
|
|
273
|
+
method: 'POST',
|
|
274
|
+
url: `/projects/${projectId}/assign`,
|
|
275
|
+
...requestConfig,
|
|
276
|
+
headers: { 'Content-Type': 'applicationJson', ...requestConfig.headers }
|
|
277
|
+
});
|
|
223
278
|
return data;
|
|
224
279
|
}
|
|
225
280
|
/**
|
|
226
281
|
* @description Find the rate limit for a scope
|
|
227
282
|
* @summary Find Rate Limit
|
|
228
|
-
* {@link
|
|
283
|
+
* {@link /rate-limits}
|
|
229
284
|
*/
|
|
230
|
-
export async function rateLimitsFind({ queryParams, config = {}
|
|
285
|
+
export async function rateLimitsFind({ queryParams, config = {} }) {
|
|
231
286
|
const { client: request = client, ...requestConfig } = config;
|
|
232
|
-
const data = await request({ method: 'GET', url:
|
|
287
|
+
const data = await request({ method: 'GET', url: `/rate-limits`, queryParams, ...requestConfig });
|
|
233
288
|
return data;
|
|
234
289
|
}
|
|
235
290
|
/**
|
|
236
291
|
* @description Get the user
|
|
237
292
|
* @summary Get User
|
|
238
|
-
* {@link user}
|
|
293
|
+
* {@link /user}
|
|
239
294
|
*/
|
|
240
295
|
export async function userGet({ config = {} }) {
|
|
241
296
|
const { client: request = client, ...requestConfig } = config;
|
|
242
|
-
const data = await request({ method: 'GET', url:
|
|
297
|
+
const data = await request({ method: 'GET', url: `/user`, ...requestConfig });
|
|
243
298
|
return data;
|
|
244
299
|
}
|
|
245
300
|
/**
|
|
246
301
|
* @description Get the billing for the user
|
|
247
302
|
* @summary Get Billing
|
|
248
|
-
* {@link
|
|
303
|
+
* {@link /user/billing}
|
|
249
304
|
*/
|
|
250
|
-
export async function userGetBilling({ queryParams, config = {}
|
|
305
|
+
export async function userGetBilling({ queryParams, config = {} }) {
|
|
251
306
|
const { client: request = client, ...requestConfig } = config;
|
|
252
|
-
const data = await request({ method: 'GET', url:
|
|
307
|
+
const data = await request({ method: 'GET', url: `/user/billing`, queryParams, ...requestConfig });
|
|
253
308
|
return data;
|
|
254
309
|
}
|
|
255
310
|
/**
|
|
256
311
|
* @description Get the plan for the user
|
|
257
312
|
* @summary Get Plan
|
|
258
|
-
* {@link
|
|
313
|
+
* {@link /user/plan}
|
|
259
314
|
*/
|
|
260
315
|
export async function userGetPlan({ config = {} }) {
|
|
261
316
|
const { client: request = client, ...requestConfig } = config;
|
|
262
|
-
const data = await request({ method: 'GET', url:
|
|
317
|
+
const data = await request({ method: 'GET', url: `/user/plan`, ...requestConfig });
|
|
263
318
|
return data;
|
|
264
319
|
}
|
|
265
320
|
/**
|
|
266
321
|
* @description Get all scopes for the user
|
|
267
322
|
* @summary Get User Scopes
|
|
268
|
-
* {@link
|
|
323
|
+
* {@link /user/scopes}
|
|
269
324
|
*/
|
|
270
325
|
export async function userGetScopes({ config = {} }) {
|
|
271
326
|
const { client: request = client, ...requestConfig } = config;
|
|
272
|
-
const data = await request({ method: 'GET', url:
|
|
327
|
+
const data = await request({ method: 'GET', url: `/user/scopes`, ...requestConfig });
|
|
273
328
|
return data;
|
|
274
329
|
}
|
|
275
330
|
export const operationsByPath = {
|
|
276
|
-
'POST chats': chatsCreate,
|
|
277
|
-
'GET chats': chatsFind,
|
|
278
|
-
'
|
|
279
|
-
'
|
|
280
|
-
'
|
|
281
|
-
'
|
|
282
|
-
'
|
|
283
|
-
'
|
|
284
|
-
'
|
|
285
|
-
'
|
|
286
|
-
'
|
|
287
|
-
'
|
|
288
|
-
'GET
|
|
289
|
-
'GET
|
|
290
|
-
'
|
|
291
|
-
'
|
|
292
|
-
'
|
|
293
|
-
'POST
|
|
294
|
-
'
|
|
295
|
-
'GET
|
|
296
|
-
'GET
|
|
297
|
-
'GET
|
|
298
|
-
'GET
|
|
331
|
+
'POST /chats': chatsCreate,
|
|
332
|
+
'GET /chats': chatsFind,
|
|
333
|
+
'POST /chats/init': chatsInitCreate,
|
|
334
|
+
'DELETE /chats/{chatId}': chatsDelete,
|
|
335
|
+
'GET /chats/{chatId}': chatsGetById,
|
|
336
|
+
'PATCH /chats/{chatId}': chatsUpdate,
|
|
337
|
+
'PUT /chats/{chatId}/favorite': chatsFavorite,
|
|
338
|
+
'POST /chats/{chatId}/fork': chatsFork,
|
|
339
|
+
'GET /chats/{chatId}/project': projectsGetByChatId,
|
|
340
|
+
'POST /chats/{chatId}/messages': chatsSendMessage,
|
|
341
|
+
'GET /chats/{chatId}/metadata': chatsGetMetadata,
|
|
342
|
+
'POST /chats/{chatId}/messages/{messageId}/resume': chatsResume,
|
|
343
|
+
'GET /deployments/{deploymentId}/logs': deploymentsFindLogs,
|
|
344
|
+
'GET /deployments/{deploymentId}/errors': deploymentsFindErrors,
|
|
345
|
+
'GET /integrations/vercel/projects': integrationsVercelProjectsFind,
|
|
346
|
+
'POST /integrations/vercel/projects': integrationsVercelProjectsCreate,
|
|
347
|
+
'GET /projects': projectsFind,
|
|
348
|
+
'POST /projects': projectsCreate,
|
|
349
|
+
'POST /projects/{projectId}/assign': projectsAssign,
|
|
350
|
+
'GET /rate-limits': rateLimitsFind,
|
|
351
|
+
'GET /user': userGet,
|
|
352
|
+
'GET /user/billing': userGetBilling,
|
|
353
|
+
'GET /user/plan': userGetPlan,
|
|
354
|
+
'GET /user/scopes': userGetScopes
|
|
299
355
|
};
|
|
300
356
|
export const operationsByTag = {
|
|
301
357
|
chats: {
|
|
302
358
|
chatsCreate,
|
|
303
359
|
chatsFind,
|
|
360
|
+
chatsInitCreate,
|
|
304
361
|
chatsDelete,
|
|
305
362
|
chatsGetById,
|
|
306
363
|
chatsUpdate,
|
|
@@ -308,55 +365,55 @@ export const operationsByTag = {
|
|
|
308
365
|
chatsFork,
|
|
309
366
|
chatsSendMessage,
|
|
310
367
|
chatsGetMetadata,
|
|
311
|
-
chatsResume
|
|
368
|
+
chatsResume
|
|
312
369
|
},
|
|
313
370
|
projects: {
|
|
314
371
|
projectsGetByChatId,
|
|
315
372
|
projectsFind,
|
|
316
373
|
projectsCreate,
|
|
317
|
-
projectsAssign
|
|
374
|
+
projectsAssign
|
|
318
375
|
},
|
|
319
376
|
deployments: {
|
|
320
377
|
deploymentsFindLogs,
|
|
321
|
-
deploymentsFindErrors
|
|
378
|
+
deploymentsFindErrors
|
|
322
379
|
},
|
|
323
380
|
integrations: {
|
|
324
381
|
integrationsVercelProjectsFind,
|
|
325
|
-
integrationsVercelProjectsCreate
|
|
382
|
+
integrationsVercelProjectsCreate
|
|
326
383
|
},
|
|
327
384
|
ratelimits: {
|
|
328
|
-
rateLimitsFind
|
|
385
|
+
rateLimitsFind
|
|
329
386
|
},
|
|
330
387
|
user: {
|
|
331
388
|
userGet,
|
|
332
389
|
userGetBilling,
|
|
333
390
|
userGetPlan,
|
|
334
|
-
userGetScopes
|
|
335
|
-
}
|
|
391
|
+
userGetScopes
|
|
392
|
+
}
|
|
336
393
|
};
|
|
337
394
|
export const tagDictionary = {
|
|
338
395
|
chats: {
|
|
339
|
-
POST: ['chatsCreate', 'chatsFork', 'chatsSendMessage', 'chatsResume'],
|
|
396
|
+
POST: ['chatsCreate', 'chatsInitCreate', 'chatsFork', 'chatsSendMessage', 'chatsResume'],
|
|
340
397
|
GET: ['chatsFind', 'chatsGetById', 'chatsGetMetadata'],
|
|
341
398
|
DELETE: ['chatsDelete'],
|
|
342
399
|
PATCH: ['chatsUpdate'],
|
|
343
|
-
PUT: ['chatsFavorite']
|
|
400
|
+
PUT: ['chatsFavorite']
|
|
344
401
|
},
|
|
345
402
|
projects: {
|
|
346
403
|
GET: ['projectsGetByChatId', 'projectsFind'],
|
|
347
|
-
POST: ['projectsCreate', 'projectsAssign']
|
|
404
|
+
POST: ['projectsCreate', 'projectsAssign']
|
|
348
405
|
},
|
|
349
406
|
deployments: {
|
|
350
|
-
GET: ['deploymentsFindLogs', 'deploymentsFindErrors']
|
|
407
|
+
GET: ['deploymentsFindLogs', 'deploymentsFindErrors']
|
|
351
408
|
},
|
|
352
409
|
integrations: {
|
|
353
410
|
GET: ['integrationsVercelProjectsFind'],
|
|
354
|
-
POST: ['integrationsVercelProjectsCreate']
|
|
411
|
+
POST: ['integrationsVercelProjectsCreate']
|
|
355
412
|
},
|
|
356
413
|
ratelimits: {
|
|
357
|
-
GET: ['rateLimitsFind']
|
|
414
|
+
GET: ['rateLimitsFind']
|
|
358
415
|
},
|
|
359
416
|
user: {
|
|
360
|
-
GET: ['userGet', 'userGetBilling', 'userGetPlan', 'userGetScopes']
|
|
361
|
-
}
|
|
417
|
+
GET: ['userGet', 'userGetBilling', 'userGetPlan', 'userGetScopes']
|
|
418
|
+
}
|
|
362
419
|
};
|