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