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