@lovable.dev/sdk 1.7.5 → 1.9.1
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/README.md +162 -311
- package/dist/index.d.ts +950 -929
- package/dist/index.js +5 -17
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +2695 -292
- package/dist/schemas.js +668 -194
- package/dist/schemas.js.map +1 -1
- package/package.json +2 -1
- package/src/client.ts +4 -16
- package/src/generated/paths.ts +929 -898
- package/src/generated/version.ts +1 -1
- package/src/generated/zod/zod.gen.ts +529 -189
- package/src/index.ts +1 -0
- package/src/schemas-deprecated.ts +209 -0
- package/src/schemas.ts +11 -17
- package/src/types.ts +17 -15
package/dist/schemas.js
CHANGED
|
@@ -44,16 +44,22 @@ const ErrorModelSchema = z$1.object({
|
|
|
44
44
|
title: z$1.string().optional(),
|
|
45
45
|
type: z$1.string().optional()
|
|
46
46
|
});
|
|
47
|
-
const
|
|
47
|
+
const CurrentUserWorkspaceSchema = z$1.object({
|
|
48
48
|
id: z$1.string(),
|
|
49
49
|
name: z$1.string(),
|
|
50
|
-
role: z$1.
|
|
50
|
+
role: z$1.enum([
|
|
51
|
+
"owner",
|
|
52
|
+
"admin",
|
|
53
|
+
"member",
|
|
54
|
+
"viewer",
|
|
55
|
+
"collaborator"
|
|
56
|
+
])
|
|
51
57
|
});
|
|
52
|
-
const
|
|
58
|
+
const CurrentUserSchema = z$1.object({
|
|
53
59
|
email: z$1.string(),
|
|
54
60
|
id: z$1.string(),
|
|
55
61
|
name: z$1.string(),
|
|
56
|
-
workspaces: z$1.array(
|
|
62
|
+
workspaces: z$1.array(CurrentUserWorkspaceSchema).nullable()
|
|
57
63
|
});
|
|
58
64
|
const GitFileEntrySchema = z$1.object({
|
|
59
65
|
binary: z$1.boolean(),
|
|
@@ -77,23 +83,23 @@ const GetAvailableLibraryProjectsPublicV1OutputBodySchema = z$1.object({
|
|
|
77
83
|
libraries: z$1.array(LibraryProjectResponseSchema).nullable(),
|
|
78
84
|
total: z$1.number()
|
|
79
85
|
});
|
|
80
|
-
const
|
|
86
|
+
const AnalyticsBreakdownPointSchema = z$1.object({
|
|
81
87
|
label: z$1.string(),
|
|
82
88
|
value: z$1.number()
|
|
83
89
|
});
|
|
84
|
-
const
|
|
85
|
-
data: z$1.array(
|
|
90
|
+
const AnalyticsBreakdownSchema = z$1.object({
|
|
91
|
+
data: z$1.array(AnalyticsBreakdownPointSchema).nullable(),
|
|
86
92
|
label: z$1.string()
|
|
87
93
|
});
|
|
88
94
|
const ChannelListsGroupSchema = z$1.object({
|
|
89
|
-
page:
|
|
90
|
-
source:
|
|
95
|
+
page: AnalyticsBreakdownSchema,
|
|
96
|
+
source: AnalyticsBreakdownSchema
|
|
91
97
|
});
|
|
92
|
-
const
|
|
93
|
-
country:
|
|
94
|
-
device:
|
|
95
|
-
page:
|
|
96
|
-
source:
|
|
98
|
+
const AnalyticsBreakdownGroupSchema = z$1.object({
|
|
99
|
+
country: AnalyticsBreakdownSchema,
|
|
100
|
+
device: AnalyticsBreakdownSchema,
|
|
101
|
+
page: AnalyticsBreakdownSchema,
|
|
102
|
+
source: AnalyticsBreakdownSchema
|
|
97
103
|
});
|
|
98
104
|
const LovableCreatorSchema = z$1.object({
|
|
99
105
|
name: z$1.string(),
|
|
@@ -118,13 +124,34 @@ const ProjectPiiFindingDtoSchema = z$1.object({
|
|
|
118
124
|
found_at: z$1.iso.datetime(),
|
|
119
125
|
id: z$1.string(),
|
|
120
126
|
info_type: z$1.string().optional(),
|
|
121
|
-
likelihood: z$1.
|
|
127
|
+
likelihood: z$1.enum([
|
|
128
|
+
"LIKELIHOOD_UNSPECIFIED",
|
|
129
|
+
"VERY_UNLIKELY",
|
|
130
|
+
"UNLIKELY",
|
|
131
|
+
"POSSIBLE",
|
|
132
|
+
"LIKELY",
|
|
133
|
+
"VERY_LIKELY"
|
|
134
|
+
]).optional(),
|
|
122
135
|
quote: z$1.string().optional(),
|
|
123
136
|
scan_id: z$1.string().optional(),
|
|
124
|
-
sensitivity: z$1.
|
|
125
|
-
|
|
137
|
+
sensitivity: z$1.enum([
|
|
138
|
+
"low",
|
|
139
|
+
"mid",
|
|
140
|
+
"high"
|
|
141
|
+
]).optional(),
|
|
142
|
+
source: z$1.enum([
|
|
143
|
+
"chat",
|
|
144
|
+
"upload",
|
|
145
|
+
"cloud_storage",
|
|
146
|
+
"cloud_sql",
|
|
147
|
+
"connector"
|
|
148
|
+
]),
|
|
126
149
|
sql_location: z$1.string().optional(),
|
|
127
|
-
status: z$1.
|
|
150
|
+
status: z$1.enum([
|
|
151
|
+
"open",
|
|
152
|
+
"ignored",
|
|
153
|
+
"fixed"
|
|
154
|
+
]),
|
|
128
155
|
storage_path: z$1.string().optional()
|
|
129
156
|
});
|
|
130
157
|
const CursorListResponseProjectPiiFindingDtoSchema = z$1.object({
|
|
@@ -162,9 +189,18 @@ const PublicV1CreateProjectResponseSchema = z$1.object({
|
|
|
162
189
|
message_id: z$1.string().optional(),
|
|
163
190
|
name: z$1.string().optional(),
|
|
164
191
|
preview_url: z$1.string().optional(),
|
|
165
|
-
status: z$1.
|
|
192
|
+
status: z$1.enum([
|
|
193
|
+
"in_progress",
|
|
194
|
+
"completed",
|
|
195
|
+
"failed"
|
|
196
|
+
]).optional(),
|
|
166
197
|
url: z$1.string().optional(),
|
|
167
|
-
visibility: z$1.
|
|
198
|
+
visibility: z$1.enum([
|
|
199
|
+
"draft",
|
|
200
|
+
"private",
|
|
201
|
+
"workspace_view",
|
|
202
|
+
"public"
|
|
203
|
+
]).optional(),
|
|
168
204
|
workspace_id: z$1.string().optional()
|
|
169
205
|
});
|
|
170
206
|
const PublicV1DeployProjectInputBodySchema = z$1.object({
|
|
@@ -177,7 +213,46 @@ const PublicV1GitFilesResponseSchema = z$1.object({
|
|
|
177
213
|
pagination: PaginationSchema,
|
|
178
214
|
ref: z$1.string()
|
|
179
215
|
});
|
|
180
|
-
const
|
|
216
|
+
const PiiLabelSchema = z$1.object({
|
|
217
|
+
chat_upload_id: z$1.string().optional(),
|
|
218
|
+
connector_id: z$1.string().optional(),
|
|
219
|
+
found_at: z$1.iso.datetime(),
|
|
220
|
+
id: z$1.string(),
|
|
221
|
+
info_type: z$1.string().optional(),
|
|
222
|
+
likelihood: z$1.enum([
|
|
223
|
+
"likelihood_unspecified",
|
|
224
|
+
"very_unlikely",
|
|
225
|
+
"unlikely",
|
|
226
|
+
"possible",
|
|
227
|
+
"likely",
|
|
228
|
+
"very_likely"
|
|
229
|
+
]).optional(),
|
|
230
|
+
quote: z$1.string().optional(),
|
|
231
|
+
sensitivity: z$1.enum([
|
|
232
|
+
"low",
|
|
233
|
+
"mid",
|
|
234
|
+
"high"
|
|
235
|
+
]).optional(),
|
|
236
|
+
source: z$1.enum([
|
|
237
|
+
"chat",
|
|
238
|
+
"upload",
|
|
239
|
+
"cloud_storage",
|
|
240
|
+
"cloud_sql",
|
|
241
|
+
"connector"
|
|
242
|
+
]),
|
|
243
|
+
sql_location: z$1.string().optional(),
|
|
244
|
+
status: z$1.enum([
|
|
245
|
+
"open",
|
|
246
|
+
"ignored",
|
|
247
|
+
"fixed"
|
|
248
|
+
]),
|
|
249
|
+
storage_path: z$1.string().optional()
|
|
250
|
+
});
|
|
251
|
+
const PiiLabelPageSchema = z$1.object({
|
|
252
|
+
data: z$1.array(PiiLabelSchema).nullable(),
|
|
253
|
+
pagination: PaginationSchema
|
|
254
|
+
});
|
|
255
|
+
const UpdateProjectRequestSchema = z$1.object({
|
|
181
256
|
description: z$1.string().max(1e5).optional(),
|
|
182
257
|
display_name: z$1.string().optional(),
|
|
183
258
|
visibility: z$1.enum([
|
|
@@ -191,7 +266,7 @@ const PublicV1ProjectFileUploadUrlInputBodySchema = z$1.object({
|
|
|
191
266
|
content_type: z$1.string().optional(),
|
|
192
267
|
project_id: z$1.string()
|
|
193
268
|
});
|
|
194
|
-
const
|
|
269
|
+
const ProjectSummarySchema = z$1.object({
|
|
195
270
|
created_at: z$1.iso.datetime().optional(),
|
|
196
271
|
description: z$1.string().optional(),
|
|
197
272
|
display_name: z$1.string().optional(),
|
|
@@ -203,18 +278,29 @@ const PublicV1ProjectListItemSchema = z$1.object({
|
|
|
203
278
|
latest_screenshot_url: z$1.string().optional(),
|
|
204
279
|
name: z$1.string().optional(),
|
|
205
280
|
og_image_url: z$1.string().optional(),
|
|
206
|
-
project_type: z$1.
|
|
207
|
-
publish_visibility: z$1.
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
281
|
+
project_type: z$1.enum(["project", "library"]).optional(),
|
|
282
|
+
publish_visibility: z$1.enum([
|
|
283
|
+
"public",
|
|
284
|
+
"private",
|
|
285
|
+
"workspace_only"
|
|
286
|
+
]).optional(),
|
|
287
|
+
status: z$1.enum([
|
|
288
|
+
"in_progress",
|
|
289
|
+
"completed",
|
|
290
|
+
"failed"
|
|
291
|
+
]).optional(),
|
|
211
292
|
url: z$1.string().optional(),
|
|
212
293
|
user_id: z$1.string().optional(),
|
|
213
|
-
visibility: z$1.
|
|
294
|
+
visibility: z$1.enum([
|
|
295
|
+
"draft",
|
|
296
|
+
"private",
|
|
297
|
+
"workspace_view",
|
|
298
|
+
"public"
|
|
299
|
+
]).optional(),
|
|
214
300
|
workspace_id: z$1.string()
|
|
215
301
|
});
|
|
216
|
-
const
|
|
217
|
-
data: z$1.array(
|
|
302
|
+
const ProjectSummaryPageSchema = z$1.object({
|
|
303
|
+
data: z$1.array(ProjectSummarySchema).nullable(),
|
|
218
304
|
pagination: PaginationSchema
|
|
219
305
|
});
|
|
220
306
|
const PublicV1ProjectRemixInputBodySchema = z$1.object({
|
|
@@ -231,12 +317,12 @@ const PublicV1ProjectRemixInputBodySchema = z$1.object({
|
|
|
231
317
|
source_project_id: z$1.string().min(1).regex(/.*\S.*/),
|
|
232
318
|
workspace_id: z$1.string()
|
|
233
319
|
});
|
|
234
|
-
const
|
|
320
|
+
const PublishAudienceTargetSchema = z$1.object({
|
|
235
321
|
id: z$1.string().min(1),
|
|
236
322
|
type: z$1.enum(["group", "user"])
|
|
237
323
|
});
|
|
238
|
-
const
|
|
239
|
-
audience: z$1.array(
|
|
324
|
+
const PublishProjectRequestSchema = z$1.object({
|
|
325
|
+
audience: z$1.array(PublishAudienceTargetSchema).max(100).nullish(),
|
|
240
326
|
name: z$1.string().optional(),
|
|
241
327
|
visibility: z$1.enum([
|
|
242
328
|
"public",
|
|
@@ -244,15 +330,28 @@ const PublicV1PublishProjectInputBodySchema = z$1.object({
|
|
|
244
330
|
"custom"
|
|
245
331
|
]).optional()
|
|
246
332
|
});
|
|
247
|
-
const
|
|
333
|
+
const PublishProjectResponseSchema = z$1.object({
|
|
248
334
|
deployment_id: z$1.string().optional(),
|
|
249
|
-
status: z$1.
|
|
335
|
+
status: z$1.enum(["pending"]),
|
|
250
336
|
url: z$1.string().optional(),
|
|
251
|
-
visibility: z$1.
|
|
337
|
+
visibility: z$1.enum([
|
|
338
|
+
"public",
|
|
339
|
+
"workspace",
|
|
340
|
+
"custom"
|
|
341
|
+
])
|
|
252
342
|
});
|
|
253
|
-
const
|
|
343
|
+
const DeploymentSchema = z$1.object({
|
|
254
344
|
deployment_id: z$1.string(),
|
|
255
|
-
error_class: z$1.
|
|
345
|
+
error_class: z$1.enum([
|
|
346
|
+
"transient",
|
|
347
|
+
"user_code",
|
|
348
|
+
"user_config",
|
|
349
|
+
"user_config_code",
|
|
350
|
+
"user_config_external",
|
|
351
|
+
"user_data",
|
|
352
|
+
"blocked_by_policy",
|
|
353
|
+
"internal"
|
|
354
|
+
]).optional(),
|
|
256
355
|
error_code: z$1.string().optional(),
|
|
257
356
|
error_message: z$1.string().optional(),
|
|
258
357
|
status: z$1.enum([
|
|
@@ -263,6 +362,45 @@ const PublicV1PublishStatusResponseSchema = z$1.object({
|
|
|
263
362
|
]),
|
|
264
363
|
url: z$1.string().optional()
|
|
265
364
|
});
|
|
365
|
+
const SecurityFindingSchema = z$1.object({
|
|
366
|
+
category: z$1.string().optional(),
|
|
367
|
+
created_at: z$1.iso.datetime(),
|
|
368
|
+
description: z$1.string().optional(),
|
|
369
|
+
finding_id: z$1.string(),
|
|
370
|
+
level: z$1.enum([
|
|
371
|
+
"error",
|
|
372
|
+
"warn",
|
|
373
|
+
"info"
|
|
374
|
+
]),
|
|
375
|
+
name: z$1.string(),
|
|
376
|
+
scanner_name: z$1.string(),
|
|
377
|
+
status: z$1.enum([
|
|
378
|
+
"open",
|
|
379
|
+
"fixed",
|
|
380
|
+
"ignored"
|
|
381
|
+
]),
|
|
382
|
+
updated_at: z$1.iso.datetime()
|
|
383
|
+
});
|
|
384
|
+
const SecurityScanSchema = z$1.object({
|
|
385
|
+
commit_sha: z$1.string().optional(),
|
|
386
|
+
finished_at: z$1.iso.datetime().optional(),
|
|
387
|
+
requested_scanners: z$1.array(z$1.string()).nullable(),
|
|
388
|
+
scan_id: z$1.string(),
|
|
389
|
+
started_at: z$1.iso.datetime(),
|
|
390
|
+
status: z$1.enum([
|
|
391
|
+
"running",
|
|
392
|
+
"completed",
|
|
393
|
+
"failed"
|
|
394
|
+
])
|
|
395
|
+
});
|
|
396
|
+
const SecurityScanPageSchema = z$1.object({
|
|
397
|
+
data: z$1.array(SecurityScanSchema).nullable(),
|
|
398
|
+
pagination: PaginationSchema
|
|
399
|
+
});
|
|
400
|
+
const SecurityScanDetailSchema = z$1.object({
|
|
401
|
+
findings: z$1.array(SecurityFindingSchema).nullable(),
|
|
402
|
+
scan: SecurityScanSchema
|
|
403
|
+
});
|
|
266
404
|
const PublicV1SetProjectKnowledgeInputBodySchema = z$1.object({
|
|
267
405
|
content: z$1.string(),
|
|
268
406
|
project_id: z$1.string()
|
|
@@ -271,8 +409,8 @@ const PublicV1SetProjectSkillEnabledInputBodySchema = z$1.object({
|
|
|
271
409
|
enabled: z$1.boolean(),
|
|
272
410
|
project_id: z$1.string()
|
|
273
411
|
});
|
|
274
|
-
const
|
|
275
|
-
audience: z$1.array(
|
|
412
|
+
const UpdatePublishSettingsRequestSchema = z$1.object({
|
|
413
|
+
audience: z$1.array(PublishAudienceTargetSchema).max(100).nullish(),
|
|
276
414
|
is_published: z$1.boolean().optional(),
|
|
277
415
|
visibility: z$1.enum([
|
|
278
416
|
"public",
|
|
@@ -280,51 +418,93 @@ const PublicV1UpdatePublishSettingsInputBodySchema = z$1.object({
|
|
|
280
418
|
"custom"
|
|
281
419
|
]).optional()
|
|
282
420
|
});
|
|
283
|
-
const
|
|
421
|
+
const PublishSettingsSchema = z$1.object({
|
|
284
422
|
is_published: z$1.boolean(),
|
|
285
423
|
url: z$1.string().optional(),
|
|
286
|
-
visibility: z$1.
|
|
424
|
+
visibility: z$1.enum([
|
|
425
|
+
"public",
|
|
426
|
+
"workspace",
|
|
427
|
+
"custom"
|
|
428
|
+
])
|
|
287
429
|
});
|
|
288
|
-
const
|
|
430
|
+
const WorkspaceSchema = z$1.object({
|
|
289
431
|
created_at: z$1.iso.datetime().optional(),
|
|
290
432
|
description: z$1.string().optional(),
|
|
291
433
|
id: z$1.string(),
|
|
292
434
|
image_url: z$1.string().optional(),
|
|
293
435
|
name: z$1.string(),
|
|
294
436
|
num_projects: z$1.number(),
|
|
295
|
-
plan: z$1.
|
|
437
|
+
plan: z$1.enum([
|
|
438
|
+
"free",
|
|
439
|
+
"pro",
|
|
440
|
+
"business",
|
|
441
|
+
"enterprise"
|
|
442
|
+
]),
|
|
296
443
|
updated_at: z$1.iso.datetime().optional()
|
|
297
444
|
});
|
|
298
|
-
const
|
|
445
|
+
const WorkspaceMembershipSchema = z$1.object({
|
|
299
446
|
joined_at: z$1.iso.datetime().optional(),
|
|
300
|
-
role: z$1.
|
|
447
|
+
role: z$1.enum([
|
|
448
|
+
"owner",
|
|
449
|
+
"admin",
|
|
450
|
+
"member",
|
|
451
|
+
"viewer",
|
|
452
|
+
"collaborator"
|
|
453
|
+
]),
|
|
301
454
|
user_id: z$1.string()
|
|
302
455
|
});
|
|
303
|
-
const
|
|
304
|
-
current_member:
|
|
305
|
-
workspace:
|
|
456
|
+
const GetWorkspaceResponseSchema = z$1.object({
|
|
457
|
+
current_member: WorkspaceMembershipSchema.optional(),
|
|
458
|
+
workspace: WorkspaceSchema
|
|
306
459
|
});
|
|
307
|
-
const
|
|
460
|
+
const WorkspaceWithMembershipSchema = z$1.object({
|
|
308
461
|
created_at: z$1.iso.datetime().optional(),
|
|
309
462
|
description: z$1.string().optional(),
|
|
310
463
|
id: z$1.string(),
|
|
311
464
|
image_url: z$1.string().optional(),
|
|
312
|
-
membership:
|
|
465
|
+
membership: WorkspaceMembershipSchema.optional(),
|
|
313
466
|
name: z$1.string(),
|
|
314
467
|
num_projects: z$1.number(),
|
|
315
|
-
plan: z$1.
|
|
468
|
+
plan: z$1.enum([
|
|
469
|
+
"free",
|
|
470
|
+
"pro",
|
|
471
|
+
"business",
|
|
472
|
+
"enterprise"
|
|
473
|
+
]),
|
|
316
474
|
updated_at: z$1.iso.datetime().optional()
|
|
317
475
|
});
|
|
318
476
|
const RemixJobFailureSchema = z$1.object({
|
|
319
477
|
code: z$1.string().optional(),
|
|
320
|
-
failed_step: z$1.
|
|
478
|
+
failed_step: z$1.enum([
|
|
479
|
+
"starting",
|
|
480
|
+
"creating_new_project",
|
|
481
|
+
"restoring_supabase",
|
|
482
|
+
"copying_history",
|
|
483
|
+
"preparing_repository",
|
|
484
|
+
"remixing_integration",
|
|
485
|
+
"pushing_repository",
|
|
486
|
+
"finalizing",
|
|
487
|
+
"completed",
|
|
488
|
+
"failed"
|
|
489
|
+
]),
|
|
321
490
|
message: z$1.string()
|
|
322
491
|
});
|
|
323
492
|
const RemixJobStepInfoSchema = z$1.object({
|
|
324
493
|
failure: RemixJobFailureSchema.optional(),
|
|
325
494
|
integration_name: z$1.string().optional(),
|
|
326
495
|
status: z$1.string().optional(),
|
|
327
|
-
step: z$1.
|
|
496
|
+
step: z$1.enum([
|
|
497
|
+
"starting",
|
|
498
|
+
"creating_new_project",
|
|
499
|
+
"restoring_supabase",
|
|
500
|
+
"copying_history",
|
|
501
|
+
"preparing_repository",
|
|
502
|
+
"remixing_integration",
|
|
503
|
+
"pushing_repository",
|
|
504
|
+
"finalizing",
|
|
505
|
+
"completed",
|
|
506
|
+
"failed"
|
|
507
|
+
])
|
|
328
508
|
});
|
|
329
509
|
const RemixWarningSchema = z$1.object({
|
|
330
510
|
code: z$1.enum(["edge_functions_not_deployed", "integration_skipped"]),
|
|
@@ -396,6 +576,7 @@ const SearchProjectItemSchema = z$1.object({
|
|
|
396
576
|
const SearchWorkspaceProjectsResponseSchema = z$1.object({
|
|
397
577
|
has_more: z$1.boolean(),
|
|
398
578
|
projects: z$1.array(SearchProjectItemSchema).nullable(),
|
|
579
|
+
title_search: z$1.boolean().optional(),
|
|
399
580
|
total: z$1.number()
|
|
400
581
|
});
|
|
401
582
|
const SkippedProjectInfoSchema = z$1.object({
|
|
@@ -449,7 +630,7 @@ const TimeSeriesGroupSchema = z$1.object({
|
|
|
449
630
|
const ProjectAnalyticsResponseSchema = z$1.object({
|
|
450
631
|
channels: z$1.record(z$1.string(), ChannelAnalyticsSchema).optional(),
|
|
451
632
|
channelsSource: z$1.enum(["legacy", "user_app_events"]).optional(),
|
|
452
|
-
lists:
|
|
633
|
+
lists: AnalyticsBreakdownGroupSchema,
|
|
453
634
|
timeSeries: TimeSeriesGroupSchema
|
|
454
635
|
});
|
|
455
636
|
const ToolDisplayDataSchema = z$1.object({
|
|
@@ -467,14 +648,14 @@ const TrendDataPointSchema = z$1.object({
|
|
|
467
648
|
time: z$1.string(),
|
|
468
649
|
visits: z$1.number()
|
|
469
650
|
});
|
|
470
|
-
const
|
|
651
|
+
const AnalyticsTrendSchema = z$1.object({
|
|
471
652
|
currentVisitors: z$1.number(),
|
|
472
653
|
data: z$1.array(TrendDataPointSchema).nullable()
|
|
473
654
|
});
|
|
474
|
-
const
|
|
475
|
-
lists:
|
|
655
|
+
const ProjectAnalyticsSchema = z$1.object({
|
|
656
|
+
lists: AnalyticsBreakdownGroupSchema.optional(),
|
|
476
657
|
timeSeries: TimeSeriesGroupSchema.optional(),
|
|
477
|
-
trend:
|
|
658
|
+
trend: AnalyticsTrendSchema.optional()
|
|
478
659
|
});
|
|
479
660
|
const UserCreatorSchema = z$1.object({
|
|
480
661
|
type: z$1.enum(["user"]),
|
|
@@ -578,6 +759,7 @@ const SeamlessConnectorApiSchema = z$1.object({
|
|
|
578
759
|
toolIntegrationName: z$1.string().optional()
|
|
579
760
|
});
|
|
580
761
|
const StandardConnectorApiSchema = z$1.object({
|
|
762
|
+
can_deploy_apps: z$1.boolean(),
|
|
581
763
|
can_restrict_to_admins: z$1.boolean(),
|
|
582
764
|
categories: z$1.array(z$1.enum([
|
|
583
765
|
"ecommerce",
|
|
@@ -643,37 +825,36 @@ const V1AvailableConnectorEntrySchema = z$1.object({
|
|
|
643
825
|
const V1AwaitingInputSummarySchema = z$1.object({
|
|
644
826
|
event_id: z$1.string(),
|
|
645
827
|
input_schema: z$1.unknown().optional(),
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
monthly_credit_limit: z$1.number().optional(),
|
|
650
|
-
user_id: z$1.string()
|
|
651
|
-
});
|
|
652
|
-
const V1BillingCreditLimitsBodySchema = z$1.object({
|
|
653
|
-
data: z$1.array(V1BillingCreditLimitRowSchema).nullable(),
|
|
654
|
-
default_monthly_credit_limit: z$1.number().optional(),
|
|
655
|
-
pagination: PaginationSchema
|
|
828
|
+
params: z$1.unknown().optional(),
|
|
829
|
+
prev_session_id: z$1.string().optional(),
|
|
830
|
+
tool_id: z$1.string().optional()
|
|
656
831
|
});
|
|
657
|
-
const
|
|
832
|
+
const BillingPeriodSchema = z$1.object({
|
|
658
833
|
end: z$1.iso.datetime(),
|
|
659
834
|
start: z$1.iso.datetime()
|
|
660
835
|
});
|
|
661
|
-
const
|
|
836
|
+
const CreditUsagePeriodSchema = z$1.object({
|
|
662
837
|
end: z$1.string(),
|
|
663
|
-
group_by: z$1.
|
|
664
|
-
interval: z$1.
|
|
838
|
+
group_by: z$1.enum(["member", "project"]).optional(),
|
|
839
|
+
interval: z$1.enum([
|
|
840
|
+
"day",
|
|
841
|
+
"week",
|
|
842
|
+
"month"
|
|
843
|
+
]).optional(),
|
|
665
844
|
start: z$1.string()
|
|
666
845
|
});
|
|
667
846
|
const V1BulkMemberCreditLimitItemSchema = z$1.object({
|
|
847
|
+
duration: z$1.enum(["permanent", "current_period"]).optional(),
|
|
668
848
|
email: z$1.string().optional(),
|
|
669
849
|
monthly_credit_limit: z$1.number().gte(0).nullable(),
|
|
670
850
|
user_id: z$1.string().optional()
|
|
671
851
|
});
|
|
672
|
-
const V1BillingBulkSetMemberCreditLimitInputBodySchema = z$1.object({ members: z$1.array(V1BulkMemberCreditLimitItemSchema).min(1).max(1e3) });
|
|
673
852
|
const V1BulkMemberCreditLimitResultSchema = z$1.object({
|
|
853
|
+
approved_until: z$1.iso.datetime().optional(),
|
|
854
|
+
duration: z$1.enum(["current_period"]).optional(),
|
|
674
855
|
email: z$1.string().optional(),
|
|
675
856
|
error: z$1.string().optional(),
|
|
676
|
-
status: z$1.
|
|
857
|
+
status: z$1.enum(["success", "error"]),
|
|
677
858
|
user_id: z$1.string().optional()
|
|
678
859
|
});
|
|
679
860
|
const V1BulkSetMemberCreditLimitInputBodySchema = z$1.object({
|
|
@@ -703,8 +884,8 @@ const V1ConnectorResponseSchema = z$1.object({
|
|
|
703
884
|
name: z$1.string(),
|
|
704
885
|
url: z$1.string().optional()
|
|
705
886
|
});
|
|
706
|
-
const
|
|
707
|
-
const
|
|
887
|
+
const CreateEmbedUrlRequestSchema = z$1.object({ parent_origin: z$1.string() });
|
|
888
|
+
const CreateEmbedUrlResponseSchema = z$1.object({
|
|
708
889
|
embed_url: z$1.string(),
|
|
709
890
|
expires_at: z$1.iso.datetime()
|
|
710
891
|
});
|
|
@@ -723,14 +904,25 @@ const V1CreateProjectResponseSchema = z$1.object({
|
|
|
723
904
|
name: z$1.string().optional(),
|
|
724
905
|
og_image_url: z$1.string().optional(),
|
|
725
906
|
preview_url: z$1.string().optional(),
|
|
726
|
-
project_type: z$1.
|
|
727
|
-
publish_visibility: z$1.
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
907
|
+
project_type: z$1.enum(["project", "library"]).optional(),
|
|
908
|
+
publish_visibility: z$1.enum([
|
|
909
|
+
"public",
|
|
910
|
+
"private",
|
|
911
|
+
"workspace_only"
|
|
912
|
+
]).optional(),
|
|
913
|
+
status: z$1.enum([
|
|
914
|
+
"in_progress",
|
|
915
|
+
"completed",
|
|
916
|
+
"failed"
|
|
917
|
+
]).optional(),
|
|
731
918
|
url: z$1.string().optional(),
|
|
732
919
|
user_id: z$1.string().optional(),
|
|
733
|
-
visibility: z$1.
|
|
920
|
+
visibility: z$1.enum([
|
|
921
|
+
"draft",
|
|
922
|
+
"private",
|
|
923
|
+
"workspace_view",
|
|
924
|
+
"public"
|
|
925
|
+
]).optional(),
|
|
734
926
|
workspace_id: z$1.string()
|
|
735
927
|
});
|
|
736
928
|
const V1CreateVariantInputBodySchema = z$1.object({
|
|
@@ -743,7 +935,8 @@ const V1CreateVariantOutputBodySchema = z$1.object({
|
|
|
743
935
|
thread_id: z$1.string(),
|
|
744
936
|
variant_id: z$1.string()
|
|
745
937
|
});
|
|
746
|
-
const
|
|
938
|
+
const CreditHistoryEntrySchema = z$1.object({
|
|
939
|
+
credit_grant_id: z$1.string(),
|
|
747
940
|
credits_change: z$1.number(),
|
|
748
941
|
event_type: z$1.enum([
|
|
749
942
|
"granted",
|
|
@@ -853,8 +1046,8 @@ const V1ListStandardConnectorsResponseSchema = z$1.object({
|
|
|
853
1046
|
has_more: z$1.boolean(),
|
|
854
1047
|
total: z$1.number()
|
|
855
1048
|
});
|
|
856
|
-
const
|
|
857
|
-
data: z$1.array(
|
|
1049
|
+
const WorkspacePageSchema = z$1.object({
|
|
1050
|
+
data: z$1.array(WorkspaceWithMembershipSchema).nullable(),
|
|
858
1051
|
pagination: PaginationSchema
|
|
859
1052
|
});
|
|
860
1053
|
const V1MessageErrorSchema = z$1.object({
|
|
@@ -864,6 +1057,13 @@ const V1MessageErrorSchema = z$1.object({
|
|
|
864
1057
|
const V1AiResponseSummarySchema = z$1.object({
|
|
865
1058
|
awaiting_input: V1AwaitingInputSummarySchema.optional(),
|
|
866
1059
|
commit_sha: z$1.string().optional(),
|
|
1060
|
+
completion_reason: z$1.enum([
|
|
1061
|
+
"finished",
|
|
1062
|
+
"stopped",
|
|
1063
|
+
"error",
|
|
1064
|
+
"policy_violation",
|
|
1065
|
+
"max_iterations"
|
|
1066
|
+
]).optional(),
|
|
867
1067
|
content: z$1.string(),
|
|
868
1068
|
cost_credits: z$1.number().optional(),
|
|
869
1069
|
edit_id: z$1.string().optional(),
|
|
@@ -891,6 +1091,13 @@ const V1ListMessagesOutputBodySchema = z$1.object({
|
|
|
891
1091
|
const V1MessageResponseSchema = z$1.object({
|
|
892
1092
|
awaiting_input: V1AwaitingInputSummarySchema.optional(),
|
|
893
1093
|
commit_sha: z$1.string().optional(),
|
|
1094
|
+
completion_reason: z$1.enum([
|
|
1095
|
+
"finished",
|
|
1096
|
+
"stopped",
|
|
1097
|
+
"error",
|
|
1098
|
+
"policy_violation",
|
|
1099
|
+
"max_iterations"
|
|
1100
|
+
]).optional(),
|
|
894
1101
|
content: z$1.string(),
|
|
895
1102
|
cost_credits: z$1.number().optional(),
|
|
896
1103
|
created_at: z$1.string(),
|
|
@@ -906,7 +1113,7 @@ const V1MessageResponseSchema = z$1.object({
|
|
|
906
1113
|
summary: z$1.string().optional()
|
|
907
1114
|
});
|
|
908
1115
|
const V1MoveProjectsToFolderInputBodySchema = z$1.object({ project_ids: z$1.array(z$1.string()).min(1).max(30).nullable() });
|
|
909
|
-
const
|
|
1116
|
+
const ProjectCollaboratorSchema = z$1.object({
|
|
910
1117
|
accepted_at: z$1.iso.datetime().optional(),
|
|
911
1118
|
access_level: z$1.enum([
|
|
912
1119
|
"owner",
|
|
@@ -921,10 +1128,11 @@ const V1ProjectCollaboratorSchema = z$1.object({
|
|
|
921
1128
|
invited_by: z$1.string().optional(),
|
|
922
1129
|
is_internal: z$1.boolean(),
|
|
923
1130
|
is_workspace_member: z$1.boolean(),
|
|
1131
|
+
last_accessed_at: z$1.iso.datetime().nullable(),
|
|
924
1132
|
user_id: z$1.string()
|
|
925
1133
|
});
|
|
926
|
-
const
|
|
927
|
-
data: z$1.array(
|
|
1134
|
+
const ProjectCollaboratorPageSchema = z$1.object({
|
|
1135
|
+
data: z$1.array(ProjectCollaboratorSchema).nullable(),
|
|
928
1136
|
pagination: PaginationSchema
|
|
929
1137
|
});
|
|
930
1138
|
const V1ProjectFileUploadUrlInputBodySchema = z$1.object({ content_type: z$1.string().optional() });
|
|
@@ -934,7 +1142,7 @@ const V1ProjectGitFilesResponseSchema = z$1.object({
|
|
|
934
1142
|
ref: z$1.string(),
|
|
935
1143
|
total: z$1.number()
|
|
936
1144
|
});
|
|
937
|
-
const
|
|
1145
|
+
const ProjectSchema = z$1.object({
|
|
938
1146
|
created_at: z$1.iso.datetime().optional(),
|
|
939
1147
|
description: z$1.string().optional(),
|
|
940
1148
|
display_name: z$1.string().optional(),
|
|
@@ -948,14 +1156,25 @@ const V1ProjectResponseSchema = z$1.object({
|
|
|
948
1156
|
name: z$1.string().optional(),
|
|
949
1157
|
og_image_url: z$1.string().optional(),
|
|
950
1158
|
preview_url: z$1.string().optional(),
|
|
951
|
-
project_type: z$1.
|
|
952
|
-
publish_visibility: z$1.
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
1159
|
+
project_type: z$1.enum(["project", "library"]).optional(),
|
|
1160
|
+
publish_visibility: z$1.enum([
|
|
1161
|
+
"public",
|
|
1162
|
+
"private",
|
|
1163
|
+
"workspace_only"
|
|
1164
|
+
]).optional(),
|
|
1165
|
+
status: z$1.enum([
|
|
1166
|
+
"in_progress",
|
|
1167
|
+
"completed",
|
|
1168
|
+
"failed"
|
|
1169
|
+
]).optional(),
|
|
956
1170
|
url: z$1.string().optional(),
|
|
957
1171
|
user_id: z$1.string().optional(),
|
|
958
|
-
visibility: z$1.
|
|
1172
|
+
visibility: z$1.enum([
|
|
1173
|
+
"draft",
|
|
1174
|
+
"private",
|
|
1175
|
+
"workspace_view",
|
|
1176
|
+
"public"
|
|
1177
|
+
]).optional(),
|
|
959
1178
|
workspace_id: z$1.string()
|
|
960
1179
|
});
|
|
961
1180
|
const V1ProjectSkillDtoSchema = z$1.object({
|
|
@@ -995,8 +1214,13 @@ const PublicV1RemixJobOutputBodySchema = z$1.object({
|
|
|
995
1214
|
error_code: z$1.string().optional(),
|
|
996
1215
|
error_message: z$1.string().optional(),
|
|
997
1216
|
result: V1RemixProgressResultSchema.optional(),
|
|
998
|
-
status: z$1.
|
|
999
|
-
|
|
1217
|
+
status: z$1.enum([
|
|
1218
|
+
"preparing",
|
|
1219
|
+
"running",
|
|
1220
|
+
"completed",
|
|
1221
|
+
"error",
|
|
1222
|
+
"unknown"
|
|
1223
|
+
])
|
|
1000
1224
|
});
|
|
1001
1225
|
const V1RemixProgressOutputBodySchema = z$1.object({
|
|
1002
1226
|
error_code: z$1.string().optional(),
|
|
@@ -1013,21 +1237,29 @@ const V1SecurityFindingSchema = z$1.object({
|
|
|
1013
1237
|
details: z$1.string().optional(),
|
|
1014
1238
|
finding_id: z$1.string(),
|
|
1015
1239
|
first_seen_scan_id: z$1.string().optional(),
|
|
1016
|
-
level: z$1.
|
|
1240
|
+
level: z$1.enum([
|
|
1241
|
+
"error",
|
|
1242
|
+
"warn",
|
|
1243
|
+
"info"
|
|
1244
|
+
]),
|
|
1017
1245
|
link: z$1.string().optional(),
|
|
1018
1246
|
metadata: z$1.record(z$1.string(), z$1.unknown()).optional(),
|
|
1019
1247
|
name: z$1.string(),
|
|
1020
1248
|
recurrence: z$1.number(),
|
|
1021
1249
|
remediation_difficulty: z$1.string().optional(),
|
|
1022
1250
|
scanner_name: z$1.string(),
|
|
1023
|
-
status: z$1.
|
|
1251
|
+
status: z$1.enum([
|
|
1252
|
+
"open",
|
|
1253
|
+
"fixed",
|
|
1254
|
+
"ignored"
|
|
1255
|
+
]),
|
|
1024
1256
|
updated_at: z$1.iso.datetime()
|
|
1025
1257
|
});
|
|
1026
1258
|
const V1SecurityScanActorSchema = z$1.object({
|
|
1027
1259
|
email: z$1.string().optional(),
|
|
1028
1260
|
id: z$1.string().optional(),
|
|
1029
1261
|
name: z$1.string().optional(),
|
|
1030
|
-
type: z$1.
|
|
1262
|
+
type: z$1.enum(["user", "system"])
|
|
1031
1263
|
});
|
|
1032
1264
|
const V1SecurityScanSummarySchema = z$1.object({
|
|
1033
1265
|
commit_sha: z$1.string().optional(),
|
|
@@ -1035,8 +1267,23 @@ const V1SecurityScanSummarySchema = z$1.object({
|
|
|
1035
1267
|
requested_scanners: z$1.array(z$1.string()).nullable(),
|
|
1036
1268
|
scan_id: z$1.string(),
|
|
1037
1269
|
started_at: z$1.iso.datetime(),
|
|
1038
|
-
status: z$1.
|
|
1039
|
-
|
|
1270
|
+
status: z$1.enum([
|
|
1271
|
+
"running",
|
|
1272
|
+
"completed",
|
|
1273
|
+
"failed"
|
|
1274
|
+
]),
|
|
1275
|
+
trigger_source: z$1.enum([
|
|
1276
|
+
"workflow",
|
|
1277
|
+
"user",
|
|
1278
|
+
"ui_auto",
|
|
1279
|
+
"aikido_import",
|
|
1280
|
+
"manage_findings",
|
|
1281
|
+
"app_mcp_deep_auto",
|
|
1282
|
+
"hvt_scheduled",
|
|
1283
|
+
"workspace_scheduled",
|
|
1284
|
+
"enterprise_batch",
|
|
1285
|
+
"gitsync_pull"
|
|
1286
|
+
]),
|
|
1040
1287
|
triggered_by: V1SecurityScanActorSchema
|
|
1041
1288
|
});
|
|
1042
1289
|
const CursorListResponseV1SecurityScanSummarySchema = z$1.object({
|
|
@@ -1050,7 +1297,11 @@ const V1SecurityScannerRunSchema = z$1.object({
|
|
|
1050
1297
|
scanner_name: z$1.string(),
|
|
1051
1298
|
scanner_version: z$1.string().optional(),
|
|
1052
1299
|
started_at: z$1.iso.datetime(),
|
|
1053
|
-
status: z$1.
|
|
1300
|
+
status: z$1.enum([
|
|
1301
|
+
"succeeded",
|
|
1302
|
+
"failed",
|
|
1303
|
+
"skipped"
|
|
1304
|
+
])
|
|
1054
1305
|
});
|
|
1055
1306
|
const V1GetSecurityScanOutputBodySchema = z$1.object({
|
|
1056
1307
|
findings: z$1.array(V1SecurityFindingSchema).nullable(),
|
|
@@ -1081,7 +1332,11 @@ const V1TriggerSecurityScanInputBodySchema = z$1.object({ project_id: z$1.string
|
|
|
1081
1332
|
const V1TriggerSecurityScanResponseBodySchema = z$1.object({
|
|
1082
1333
|
message: z$1.string().optional(),
|
|
1083
1334
|
scan_id: z$1.string(),
|
|
1084
|
-
status: z$1.
|
|
1335
|
+
status: z$1.enum([
|
|
1336
|
+
"started",
|
|
1337
|
+
"running",
|
|
1338
|
+
"completed"
|
|
1339
|
+
])
|
|
1085
1340
|
});
|
|
1086
1341
|
const V1UnscopedFileSchema = z$1.object({
|
|
1087
1342
|
file_id: z$1.string(),
|
|
@@ -1160,7 +1415,6 @@ const V1UpdateWorkspaceSettingsInputBodySchema = z$1.object({
|
|
|
1160
1415
|
default_monthly_member_credit_limit: z$1.number().gte(0).nullish(),
|
|
1161
1416
|
workspace_id: z$1.string()
|
|
1162
1417
|
});
|
|
1163
|
-
const V1UpdateWorkspaceSettingsNestedInputBodySchema = z$1.object({ default_monthly_member_credit_limit: z$1.number().gte(0).nullish() });
|
|
1164
1418
|
const V1UsagePeriodSchema = z$1.object({
|
|
1165
1419
|
end: z$1.string(),
|
|
1166
1420
|
granularity: z$1.string().optional(),
|
|
@@ -1189,34 +1443,60 @@ const V1WorkspaceAuditLogsBodySchema = z$1.object({
|
|
|
1189
1443
|
data: z$1.array(V1WorkspaceAuditLogEntrySchema).nullable(),
|
|
1190
1444
|
pagination: PaginationSchema
|
|
1191
1445
|
});
|
|
1192
|
-
const
|
|
1193
|
-
data: z$1.array(
|
|
1446
|
+
const CreditHistoryPageSchema = z$1.object({
|
|
1447
|
+
data: z$1.array(CreditHistoryEntrySchema).nullable(),
|
|
1194
1448
|
pagination: PaginationSchema,
|
|
1195
1449
|
total: z$1.number().optional(),
|
|
1196
1450
|
total_is_capped: z$1.boolean().optional()
|
|
1197
1451
|
});
|
|
1198
|
-
const
|
|
1199
|
-
applicability: z$1.
|
|
1452
|
+
const ExpiringCreditGrantSchema = z$1.object({
|
|
1453
|
+
applicability: z$1.enum([
|
|
1454
|
+
"generic",
|
|
1455
|
+
"build_time",
|
|
1456
|
+
"build_mode",
|
|
1457
|
+
"plan_mode"
|
|
1458
|
+
]).optional(),
|
|
1200
1459
|
credits: z$1.number(),
|
|
1201
1460
|
expires_at: z$1.iso.datetime(),
|
|
1202
|
-
grant_type: z$1.
|
|
1461
|
+
grant_type: z$1.enum([
|
|
1462
|
+
"billing",
|
|
1463
|
+
"rollover",
|
|
1464
|
+
"topup",
|
|
1465
|
+
"commitment",
|
|
1466
|
+
"cashback",
|
|
1467
|
+
"granted",
|
|
1468
|
+
"overage",
|
|
1469
|
+
"unlimited",
|
|
1470
|
+
"allowance"
|
|
1471
|
+
])
|
|
1203
1472
|
});
|
|
1204
|
-
const
|
|
1205
|
-
grant_type: z$1.
|
|
1473
|
+
const CreditGrantTypeBalanceSchema = z$1.object({
|
|
1474
|
+
grant_type: z$1.enum([
|
|
1475
|
+
"billing",
|
|
1476
|
+
"daily",
|
|
1477
|
+
"rollover",
|
|
1478
|
+
"topup",
|
|
1479
|
+
"commitment",
|
|
1480
|
+
"cashback",
|
|
1481
|
+
"granted",
|
|
1482
|
+
"overage",
|
|
1483
|
+
"unlimited",
|
|
1484
|
+
"allowance"
|
|
1485
|
+
]),
|
|
1206
1486
|
granted: z$1.number(),
|
|
1207
1487
|
remaining: z$1.number()
|
|
1208
1488
|
});
|
|
1209
|
-
const
|
|
1210
|
-
billing_period:
|
|
1489
|
+
const CreditBalanceSchema = z$1.object({
|
|
1490
|
+
billing_period: BillingPeriodSchema,
|
|
1211
1491
|
daily_limit: z$1.number(),
|
|
1212
1492
|
daily_remaining: z$1.number(),
|
|
1213
|
-
expiring_grants: z$1.array(
|
|
1214
|
-
grant_type_balances: z$1.array(
|
|
1493
|
+
expiring_grants: z$1.array(ExpiringCreditGrantSchema).nullable(),
|
|
1494
|
+
grant_type_balances: z$1.array(CreditGrantTypeBalanceSchema).nullable(),
|
|
1215
1495
|
total_billing_period_used: z$1.number(),
|
|
1216
1496
|
total_granted: z$1.number(),
|
|
1217
1497
|
total_remaining: z$1.number()
|
|
1218
1498
|
});
|
|
1219
|
-
const
|
|
1499
|
+
const WorkspaceGroupSchema = z$1.object({
|
|
1220
1500
|
created_at: z$1.iso.datetime(),
|
|
1221
1501
|
description: z$1.string().optional(),
|
|
1222
1502
|
id: z$1.string(),
|
|
@@ -1226,25 +1506,37 @@ const V1WorkspaceGroupSchema = z$1.object({
|
|
|
1226
1506
|
updated_at: z$1.iso.datetime(),
|
|
1227
1507
|
workspace_id: z$1.string()
|
|
1228
1508
|
});
|
|
1229
|
-
const
|
|
1230
|
-
data: z$1.array(
|
|
1509
|
+
const WorkspaceGroupPageSchema = z$1.object({
|
|
1510
|
+
data: z$1.array(WorkspaceGroupSchema).nullable(),
|
|
1231
1511
|
pagination: PaginationSchema
|
|
1232
1512
|
});
|
|
1233
|
-
const
|
|
1513
|
+
const WorkspaceInsightsActivityFreshnessSchema = z$1.object({
|
|
1234
1514
|
edits_as_of: z$1.iso.datetime().optional(),
|
|
1235
1515
|
visitors_as_of: z$1.iso.datetime().optional()
|
|
1236
1516
|
});
|
|
1237
|
-
const
|
|
1238
|
-
const
|
|
1239
|
-
category: z$1.
|
|
1517
|
+
const WorkspaceInsightsEdgeFunctionSchema = z$1.object({ name: z$1.string() });
|
|
1518
|
+
const WorkspaceInsightsFindingSchema = z$1.object({
|
|
1519
|
+
category: z$1.enum([
|
|
1520
|
+
"security",
|
|
1521
|
+
"data",
|
|
1522
|
+
"exposure",
|
|
1523
|
+
"credentials",
|
|
1524
|
+
"access",
|
|
1525
|
+
"integrations",
|
|
1526
|
+
"runtime"
|
|
1527
|
+
]),
|
|
1240
1528
|
description: z$1.string(),
|
|
1241
1529
|
id: z$1.string(),
|
|
1242
1530
|
project_count: z$1.number(),
|
|
1243
|
-
severity: z$1.
|
|
1531
|
+
severity: z$1.enum([
|
|
1532
|
+
"needs_review",
|
|
1533
|
+
"review_recommended",
|
|
1534
|
+
"no_review_needed"
|
|
1535
|
+
]),
|
|
1244
1536
|
title: z$1.string()
|
|
1245
1537
|
});
|
|
1246
|
-
const
|
|
1247
|
-
const
|
|
1538
|
+
const WorkspaceInsightsOwnerSchema = z$1.object({ display_name: z$1.string().optional() });
|
|
1539
|
+
const WorkspaceInsightsReasonValuesSchema = z$1.object({
|
|
1248
1540
|
connector_count: z$1.number().optional(),
|
|
1249
1541
|
edge_function_count: z$1.number().optional(),
|
|
1250
1542
|
error_count: z$1.number().optional(),
|
|
@@ -1254,20 +1546,32 @@ const V1WorkspaceInsightsReasonValuesSchema = z$1.object({
|
|
|
1254
1546
|
shared_user_count: z$1.number().optional(),
|
|
1255
1547
|
warning_count: z$1.number().optional()
|
|
1256
1548
|
});
|
|
1257
|
-
const
|
|
1258
|
-
category: z$1.
|
|
1549
|
+
const WorkspaceInsightsReasonSchema = z$1.object({
|
|
1550
|
+
category: z$1.enum([
|
|
1551
|
+
"security",
|
|
1552
|
+
"data",
|
|
1553
|
+
"exposure",
|
|
1554
|
+
"credentials",
|
|
1555
|
+
"access",
|
|
1556
|
+
"integrations",
|
|
1557
|
+
"runtime"
|
|
1558
|
+
]),
|
|
1259
1559
|
detail: z$1.string(),
|
|
1260
1560
|
id: z$1.string(),
|
|
1261
1561
|
label: z$1.string(),
|
|
1262
|
-
severity: z$1.
|
|
1263
|
-
|
|
1562
|
+
severity: z$1.enum([
|
|
1563
|
+
"needs_review",
|
|
1564
|
+
"review_recommended",
|
|
1565
|
+
"no_review_needed"
|
|
1566
|
+
]),
|
|
1567
|
+
values: WorkspaceInsightsReasonValuesSchema.optional()
|
|
1264
1568
|
});
|
|
1265
|
-
const
|
|
1569
|
+
const WorkspaceInsightsReviewPrioritySchema = z$1.object({
|
|
1266
1570
|
needs_review: z$1.number(),
|
|
1267
1571
|
no_review_needed: z$1.number(),
|
|
1268
1572
|
review_recommended: z$1.number()
|
|
1269
1573
|
});
|
|
1270
|
-
const
|
|
1574
|
+
const WorkspaceInsightsSignalsSchema = z$1.object({
|
|
1271
1575
|
chat_attachment_count: z$1.number(),
|
|
1272
1576
|
connector_count: z$1.number(),
|
|
1273
1577
|
edge_function_count: z$1.number(),
|
|
@@ -1298,12 +1602,16 @@ const V1WorkspaceInsightsSignalsSchema = z$1.object({
|
|
|
1298
1602
|
supply_chain_warning_count: z$1.number(),
|
|
1299
1603
|
warning_count: z$1.number()
|
|
1300
1604
|
});
|
|
1301
|
-
const
|
|
1302
|
-
activity_group: z$1.
|
|
1605
|
+
const WorkspaceInsightsProjectSchema = z$1.object({
|
|
1606
|
+
activity_group: z$1.enum([
|
|
1607
|
+
"last_14_days",
|
|
1608
|
+
"last_60_days",
|
|
1609
|
+
"older"
|
|
1610
|
+
]).optional(),
|
|
1303
1611
|
connectors: z$1.array(z$1.string()).nullish(),
|
|
1304
1612
|
description: z$1.string().optional(),
|
|
1305
1613
|
display_name: z$1.string().optional(),
|
|
1306
|
-
edge_functions: z$1.array(
|
|
1614
|
+
edge_functions: z$1.array(WorkspaceInsightsEdgeFunctionSchema).nullish(),
|
|
1307
1615
|
edit_count: z$1.number(),
|
|
1308
1616
|
edits_24h: z$1.number(),
|
|
1309
1617
|
edits_30d: z$1.number(),
|
|
@@ -1313,76 +1621,110 @@ const V1WorkspaceInsightsProjectSchema = z$1.object({
|
|
|
1313
1621
|
is_published: z$1.boolean().optional(),
|
|
1314
1622
|
last_edited_at: z$1.iso.datetime().optional(),
|
|
1315
1623
|
last_security_scan_at: z$1.iso.datetime().optional(),
|
|
1316
|
-
matched_reason:
|
|
1624
|
+
matched_reason: WorkspaceInsightsReasonSchema.optional(),
|
|
1317
1625
|
message_count: z$1.number(),
|
|
1318
1626
|
name: z$1.string().optional(),
|
|
1319
1627
|
og_image_url: z$1.string().optional(),
|
|
1320
|
-
owner:
|
|
1321
|
-
publish_visibility: z$1.
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1628
|
+
owner: WorkspaceInsightsOwnerSchema.optional(),
|
|
1629
|
+
publish_visibility: z$1.enum([
|
|
1630
|
+
"public",
|
|
1631
|
+
"private",
|
|
1632
|
+
"workspace_only"
|
|
1633
|
+
]).optional(),
|
|
1634
|
+
review_priority: z$1.enum([
|
|
1635
|
+
"needs_review",
|
|
1636
|
+
"review_recommended",
|
|
1637
|
+
"no_review_needed",
|
|
1638
|
+
"unscored"
|
|
1639
|
+
]).optional(),
|
|
1640
|
+
review_priority_explanation: z$1.array(WorkspaceInsightsReasonSchema).nullable(),
|
|
1641
|
+
signals: WorkspaceInsightsSignalsSchema,
|
|
1325
1642
|
url: z$1.string().optional(),
|
|
1326
|
-
visibility: z$1.
|
|
1643
|
+
visibility: z$1.enum([
|
|
1644
|
+
"draft",
|
|
1645
|
+
"private",
|
|
1646
|
+
"workspace_view",
|
|
1647
|
+
"public"
|
|
1648
|
+
]).optional(),
|
|
1327
1649
|
visitors_24h: z$1.number(),
|
|
1328
1650
|
visitors_30d: z$1.number(),
|
|
1329
1651
|
visitors_7d: z$1.number()
|
|
1330
1652
|
});
|
|
1331
|
-
const
|
|
1332
|
-
activity_as_of:
|
|
1333
|
-
applied_finding:
|
|
1653
|
+
const WorkspaceInsightsProjectPageSchema = z$1.object({
|
|
1654
|
+
activity_as_of: WorkspaceInsightsActivityFreshnessSchema.optional(),
|
|
1655
|
+
applied_finding: WorkspaceInsightsFindingSchema.optional(),
|
|
1334
1656
|
as_of: z$1.iso.datetime().optional(),
|
|
1335
|
-
data: z$1.array(
|
|
1657
|
+
data: z$1.array(WorkspaceInsightsProjectSchema).nullable(),
|
|
1336
1658
|
pagination: PaginationSchema,
|
|
1337
1659
|
total: z$1.number()
|
|
1338
1660
|
});
|
|
1339
|
-
const
|
|
1661
|
+
const WorkspaceInsightsStatSchema = z$1.object({
|
|
1340
1662
|
delta_30d: z$1.number(),
|
|
1341
1663
|
delta_window: z$1.string(),
|
|
1342
1664
|
value: z$1.number()
|
|
1343
1665
|
});
|
|
1344
|
-
const
|
|
1345
|
-
externally_published:
|
|
1346
|
-
risk:
|
|
1347
|
-
total_projects:
|
|
1348
|
-
workspace_members:
|
|
1666
|
+
const WorkspaceInsightsSummarySchema = z$1.object({
|
|
1667
|
+
externally_published: WorkspaceInsightsStatSchema,
|
|
1668
|
+
risk: WorkspaceInsightsReviewPrioritySchema,
|
|
1669
|
+
total_projects: WorkspaceInsightsStatSchema,
|
|
1670
|
+
workspace_members: WorkspaceInsightsStatSchema
|
|
1349
1671
|
});
|
|
1350
|
-
const
|
|
1672
|
+
const WorkspaceInsightsSchema = z$1.object({
|
|
1351
1673
|
as_of: z$1.iso.datetime().optional(),
|
|
1352
|
-
findings: z$1.array(
|
|
1353
|
-
summary:
|
|
1674
|
+
findings: z$1.array(WorkspaceInsightsFindingSchema),
|
|
1675
|
+
summary: WorkspaceInsightsSummarySchema
|
|
1354
1676
|
});
|
|
1355
|
-
const
|
|
1677
|
+
const WorkspaceMemberGroupSchema = z$1.object({
|
|
1356
1678
|
id: z$1.string(),
|
|
1357
1679
|
name: z$1.string()
|
|
1358
1680
|
});
|
|
1359
|
-
const
|
|
1681
|
+
const WorkspaceMemberSchema = z$1.object({
|
|
1360
1682
|
display_name: z$1.string().optional(),
|
|
1361
1683
|
email: z$1.string().optional(),
|
|
1362
|
-
groups: z$1.array(
|
|
1684
|
+
groups: z$1.array(WorkspaceMemberGroupSchema).optional(),
|
|
1363
1685
|
invited_at: z$1.iso.datetime().optional(),
|
|
1364
1686
|
joined_at: z$1.iso.datetime().optional(),
|
|
1365
1687
|
monthly_credit_limit: z$1.number().optional(),
|
|
1366
|
-
role: z$1.
|
|
1688
|
+
role: z$1.enum([
|
|
1689
|
+
"owner",
|
|
1690
|
+
"admin",
|
|
1691
|
+
"member",
|
|
1692
|
+
"viewer",
|
|
1693
|
+
"collaborator"
|
|
1694
|
+
]),
|
|
1367
1695
|
user_id: z$1.string(),
|
|
1368
1696
|
workspace_id: z$1.string()
|
|
1369
1697
|
});
|
|
1370
|
-
const
|
|
1371
|
-
data: z$1.array(
|
|
1698
|
+
const WorkspaceMemberPageSchema = z$1.object({
|
|
1699
|
+
data: z$1.array(WorkspaceMemberSchema).nullable(),
|
|
1372
1700
|
pagination: PaginationSchema
|
|
1373
1701
|
});
|
|
1374
|
-
const
|
|
1702
|
+
const WorkspaceSettingsSchema = z$1.object({
|
|
1375
1703
|
billing_period_end_date: z$1.iso.datetime().optional(),
|
|
1376
1704
|
billing_period_start_date: z$1.iso.datetime().optional(),
|
|
1377
1705
|
default_monthly_member_credit_limit: z$1.number().optional(),
|
|
1378
|
-
default_project_visibility: z$1.
|
|
1706
|
+
default_project_visibility: z$1.enum([
|
|
1707
|
+
"draft",
|
|
1708
|
+
"private",
|
|
1709
|
+
"workspace_view",
|
|
1710
|
+
"public"
|
|
1711
|
+
]).optional(),
|
|
1379
1712
|
enable_pii: z$1.boolean(),
|
|
1380
1713
|
enforce_sso: z$1.boolean(),
|
|
1381
1714
|
id: z$1.string(),
|
|
1382
1715
|
name: z$1.string(),
|
|
1383
1716
|
num_seats: z$1.number().optional(),
|
|
1384
|
-
plan: z$1.
|
|
1385
|
-
|
|
1717
|
+
plan: z$1.enum([
|
|
1718
|
+
"free",
|
|
1719
|
+
"pro",
|
|
1720
|
+
"business",
|
|
1721
|
+
"enterprise"
|
|
1722
|
+
]),
|
|
1723
|
+
publishing_policy: z$1.enum([
|
|
1724
|
+
"org_only",
|
|
1725
|
+
"workspace_only",
|
|
1726
|
+
"disabled"
|
|
1727
|
+
]).optional()
|
|
1386
1728
|
});
|
|
1387
1729
|
const V1WorkspaceSkillDtoSchema = z$1.object({
|
|
1388
1730
|
description: z$1.string(),
|
|
@@ -1407,37 +1749,37 @@ const V1WorkspaceUsageBreakdownEntrySchema = z$1.object({
|
|
|
1407
1749
|
user_id: z$1.string()
|
|
1408
1750
|
});
|
|
1409
1751
|
const V1WorkspaceUsageBreakdownBodySchema = z$1.object({
|
|
1410
|
-
billing_period:
|
|
1752
|
+
billing_period: BillingPeriodSchema,
|
|
1411
1753
|
data: z$1.array(V1WorkspaceUsageBreakdownEntrySchema).nullable(),
|
|
1412
1754
|
member_count: z$1.number(),
|
|
1413
1755
|
pagination: PaginationSchema
|
|
1414
1756
|
});
|
|
1415
|
-
const
|
|
1757
|
+
const ConnectorUsageSchema = z$1.object({
|
|
1416
1758
|
credits: z$1.number(),
|
|
1417
1759
|
key: z$1.string(),
|
|
1418
1760
|
label: z$1.string()
|
|
1419
1761
|
});
|
|
1420
|
-
const
|
|
1762
|
+
const DatabaseUsageSchema = z$1.object({
|
|
1421
1763
|
credits: z$1.number(),
|
|
1422
1764
|
key: z$1.enum(["database_server", "database_storage"]),
|
|
1423
1765
|
label: z$1.string()
|
|
1424
1766
|
});
|
|
1425
|
-
const
|
|
1767
|
+
const GatewayModelUsageSchema = z$1.object({
|
|
1426
1768
|
credits: z$1.number(),
|
|
1427
1769
|
name: z$1.string(),
|
|
1428
1770
|
provider: z$1.string()
|
|
1429
1771
|
});
|
|
1430
|
-
const
|
|
1772
|
+
const CreditUsageEntrySchema = z$1.object({
|
|
1431
1773
|
build: z$1.number(),
|
|
1432
1774
|
connectors: z$1.number(),
|
|
1433
|
-
connectors_breakdown: z$1.array(
|
|
1775
|
+
connectors_breakdown: z$1.array(ConnectorUsageSchema).nullish(),
|
|
1434
1776
|
database: z$1.number(),
|
|
1435
|
-
database_breakdown: z$1.array(
|
|
1777
|
+
database_breakdown: z$1.array(DatabaseUsageSchema).nullish(),
|
|
1436
1778
|
display_name: z$1.string().optional(),
|
|
1437
1779
|
email: z$1.string().optional(),
|
|
1438
1780
|
functions: z$1.number(),
|
|
1439
1781
|
gateway: z$1.number(),
|
|
1440
|
-
gateway_models: z$1.array(
|
|
1782
|
+
gateway_models: z$1.array(GatewayModelUsageSchema).nullish(),
|
|
1441
1783
|
network: z$1.number(),
|
|
1442
1784
|
period_end: z$1.string().optional(),
|
|
1443
1785
|
period_start: z$1.string().optional(),
|
|
@@ -1448,11 +1790,11 @@ const V1BillingUsageRowSchema = z$1.object({
|
|
|
1448
1790
|
total: z$1.number(),
|
|
1449
1791
|
user_id: z$1.string().optional()
|
|
1450
1792
|
});
|
|
1451
|
-
const
|
|
1452
|
-
data: z$1.array(
|
|
1793
|
+
const CreditUsagePageSchema = z$1.object({
|
|
1794
|
+
data: z$1.array(CreditUsageEntrySchema).nullable(),
|
|
1453
1795
|
entity_count: z$1.number().optional(),
|
|
1454
1796
|
pagination: PaginationSchema,
|
|
1455
|
-
period:
|
|
1797
|
+
period: CreditUsagePeriodSchema,
|
|
1456
1798
|
workspace_total: z$1.number()
|
|
1457
1799
|
});
|
|
1458
1800
|
const V1WorkspaceUsageMeBodySchema = z$1.object({
|
|
@@ -1482,12 +1824,12 @@ const V1WorkspaceUsageProjectsBodySchema = z$1.object({
|
|
|
1482
1824
|
const V1WorkspaceUsageTimeseriesBucketSchema = z$1.object({
|
|
1483
1825
|
build: z$1.number(),
|
|
1484
1826
|
connectors: z$1.number(),
|
|
1485
|
-
connectors_breakdown: z$1.array(
|
|
1827
|
+
connectors_breakdown: z$1.array(ConnectorUsageSchema).nullable(),
|
|
1486
1828
|
database: z$1.number(),
|
|
1487
|
-
database_breakdown: z$1.array(
|
|
1829
|
+
database_breakdown: z$1.array(DatabaseUsageSchema).nullable(),
|
|
1488
1830
|
functions: z$1.number(),
|
|
1489
1831
|
gateway: z$1.number(),
|
|
1490
|
-
gateway_models: z$1.array(
|
|
1832
|
+
gateway_models: z$1.array(GatewayModelUsageSchema).nullable(),
|
|
1491
1833
|
network: z$1.number(),
|
|
1492
1834
|
period_end: z$1.string(),
|
|
1493
1835
|
period_start: z$1.string(),
|
|
@@ -1530,24 +1872,156 @@ const AddProjectsToFolderResultSchema = z$1.object({
|
|
|
1530
1872
|
total_requested: z$1.number(),
|
|
1531
1873
|
visibility_updated: z$1.array(VisibilityChangeInfoSchema).nullable()
|
|
1532
1874
|
});
|
|
1533
|
-
const
|
|
1875
|
+
const WorkspaceAnalyticsSchema = z$1.object({ timeSeries: TimeSeriesGroupSchema });
|
|
1876
|
+
//#endregion
|
|
1877
|
+
//#region src/schemas-deprecated.ts
|
|
1878
|
+
/** @deprecated Renamed to PiiLabelPageSchema. */
|
|
1879
|
+
const CursorListResponsePublicV1PiiLabelSchema = PiiLabelPageSchema;
|
|
1880
|
+
/** @deprecated Renamed to ProjectSummaryPageSchema. */
|
|
1881
|
+
const CursorListResponsePublicV1ProjectListItemSchema = ProjectSummaryPageSchema;
|
|
1882
|
+
/** @deprecated Renamed to ProjectCollaboratorPageSchema. */
|
|
1883
|
+
const CursorListResponseV1ProjectCollaboratorSchema = ProjectCollaboratorPageSchema;
|
|
1884
|
+
/** @deprecated Renamed to WorkspaceGroupPageSchema. */
|
|
1885
|
+
const CursorListResponseV1WorkspaceGroupSchema = WorkspaceGroupPageSchema;
|
|
1886
|
+
/** @deprecated Renamed to WorkspaceMemberPageSchema. */
|
|
1887
|
+
const CursorListResponseV1WorkspaceMemberSchema = WorkspaceMemberPageSchema;
|
|
1888
|
+
/** @deprecated Renamed to CurrentUserSchema. */
|
|
1889
|
+
const GetMeOutputBodySchema = CurrentUserSchema;
|
|
1890
|
+
/** @deprecated Renamed to CurrentUserWorkspaceSchema. */
|
|
1891
|
+
const GetMeWorkspaceSchema = CurrentUserWorkspaceSchema;
|
|
1892
|
+
/** @deprecated Renamed to AnalyticsBreakdownPointSchema. */
|
|
1893
|
+
const ListDataPointSchema = AnalyticsBreakdownPointSchema;
|
|
1894
|
+
/** @deprecated Renamed to AnalyticsBreakdownSchema. */
|
|
1895
|
+
const ListDataSchema = AnalyticsBreakdownSchema;
|
|
1896
|
+
/** @deprecated Renamed to AnalyticsBreakdownGroupSchema. */
|
|
1897
|
+
const ListsGroupSchema = AnalyticsBreakdownGroupSchema;
|
|
1898
|
+
/** @deprecated Renamed to AnalyticsTrendSchema. */
|
|
1899
|
+
const ProjectTrendResponseSchema = AnalyticsTrendSchema;
|
|
1900
|
+
/** @deprecated Renamed to GetWorkspaceResponseSchema. */
|
|
1901
|
+
const PublicV1GetWorkspaceBodySchema = GetWorkspaceResponseSchema;
|
|
1902
|
+
/** @deprecated Renamed to UpdateProjectRequestSchema. */
|
|
1903
|
+
const PublicV1PatchProjectBodySchema = UpdateProjectRequestSchema;
|
|
1904
|
+
/** @deprecated Renamed to PiiLabelSchema. */
|
|
1905
|
+
const PublicV1PiiLabelSchema = PiiLabelSchema;
|
|
1906
|
+
/** @deprecated Renamed to ProjectAnalyticsSchema. */
|
|
1907
|
+
const PublicV1ProjectAnalyticsBodySchema = ProjectAnalyticsSchema;
|
|
1908
|
+
/** @deprecated Renamed to ProjectSummarySchema. */
|
|
1909
|
+
const PublicV1ProjectListItemSchema = ProjectSummarySchema;
|
|
1910
|
+
/** @deprecated Renamed to PublishAudienceTargetSchema. */
|
|
1911
|
+
const PublicV1PublishAudienceTargetSchema = PublishAudienceTargetSchema;
|
|
1912
|
+
/** @deprecated Renamed to PublishProjectRequestSchema. */
|
|
1913
|
+
const PublicV1PublishProjectInputBodySchema = PublishProjectRequestSchema;
|
|
1914
|
+
/** @deprecated Renamed to PublishProjectResponseSchema. */
|
|
1915
|
+
const PublicV1PublishProjectResponseSchema = PublishProjectResponseSchema;
|
|
1916
|
+
/** @deprecated Renamed to DeploymentSchema. */
|
|
1917
|
+
const PublicV1PublishStatusResponseSchema = DeploymentSchema;
|
|
1918
|
+
/** @deprecated Retained for legacy endpoints. */
|
|
1919
|
+
const RemixJobSchema = PublicV1RemixJobOutputBodySchema;
|
|
1920
|
+
/** @deprecated Renamed to UpdatePublishSettingsRequestSchema. */
|
|
1921
|
+
const PublicV1UpdatePublishSettingsInputBodySchema = UpdatePublishSettingsRequestSchema;
|
|
1922
|
+
/** @deprecated Renamed to PublishSettingsSchema. */
|
|
1923
|
+
const PublicV1UpdatePublishSettingsResponseSchema = PublishSettingsSchema;
|
|
1924
|
+
/** @deprecated Renamed to WorkspaceMembershipSchema. */
|
|
1925
|
+
const PublicV1WorkspaceMemberSchema = WorkspaceMembershipSchema;
|
|
1926
|
+
/** @deprecated Renamed to WorkspaceSchema. */
|
|
1927
|
+
const PublicV1WorkspaceSchema = WorkspaceSchema;
|
|
1928
|
+
/** @deprecated Renamed to WorkspaceWithMembershipSchema. */
|
|
1929
|
+
const PublicV1WorkspaceWithMembershipSchema = WorkspaceWithMembershipSchema;
|
|
1930
|
+
/** @deprecated Renamed to BillingPeriodSchema. */
|
|
1931
|
+
const V1BillingPeriodSchema = BillingPeriodSchema;
|
|
1932
|
+
/** @deprecated Renamed to CreditUsagePageSchema. */
|
|
1933
|
+
const V1BillingUsageBodySchema = CreditUsagePageSchema;
|
|
1934
|
+
/** @deprecated Renamed to CreditUsagePeriodSchema. */
|
|
1935
|
+
const V1BillingUsagePeriodSchema = CreditUsagePeriodSchema;
|
|
1936
|
+
/** @deprecated Renamed to CreditUsageEntrySchema. */
|
|
1937
|
+
const V1BillingUsageRowSchema = CreditUsageEntrySchema;
|
|
1938
|
+
/** @deprecated Retained for legacy endpoints. */
|
|
1939
|
+
const MemberCreditLimitUpdateSchema = V1BulkMemberCreditLimitItemSchema;
|
|
1940
|
+
/** @deprecated Retained for legacy endpoints. */
|
|
1941
|
+
const MemberCreditLimitResultSchema = V1BulkMemberCreditLimitResultSchema;
|
|
1942
|
+
/** @deprecated Retained for legacy endpoints. */
|
|
1943
|
+
const SetMemberCreditLimitsResponseSchema = V1BulkSetMemberCreditLimitOutputBodySchema;
|
|
1944
|
+
/** @deprecated Renamed to CreateEmbedUrlRequestSchema. */
|
|
1945
|
+
const V1CreateEmbedUrlInputBodySchema = CreateEmbedUrlRequestSchema;
|
|
1946
|
+
/** @deprecated Renamed to CreateEmbedUrlResponseSchema. */
|
|
1947
|
+
const V1CreateEmbedUrlOutputBodySchema = CreateEmbedUrlResponseSchema;
|
|
1948
|
+
/** @deprecated Renamed to CreditHistoryEntrySchema. */
|
|
1949
|
+
const V1CreditHistoryEntrySchema = CreditHistoryEntrySchema;
|
|
1950
|
+
/** @deprecated Renamed to WorkspacePageSchema. */
|
|
1951
|
+
const V1ListWorkspacesBodySchema = WorkspacePageSchema;
|
|
1952
|
+
/** @deprecated Renamed to ProjectCollaboratorSchema. */
|
|
1953
|
+
const V1ProjectCollaboratorSchema = ProjectCollaboratorSchema;
|
|
1954
|
+
/** @deprecated Renamed to ProjectSchema. */
|
|
1955
|
+
const V1ProjectResponseSchema = ProjectSchema;
|
|
1956
|
+
/** @deprecated Retained for legacy endpoints. */
|
|
1957
|
+
const RemixResultSchema = V1RemixProgressResultSchema;
|
|
1958
|
+
/** @deprecated Retained for legacy endpoints. */
|
|
1959
|
+
const SecurityScanActorSchema = V1SecurityScanActorSchema;
|
|
1960
|
+
/** @deprecated Retained for legacy endpoints. */
|
|
1961
|
+
const SecurityScannerRunSchema = V1SecurityScannerRunSchema;
|
|
1962
|
+
/** @deprecated Retained for legacy endpoints. */
|
|
1963
|
+
const TriggerSecurityScanResponseSchema = V1TriggerSecurityScanResponseBodySchema;
|
|
1964
|
+
/** @deprecated Renamed to CreditHistoryPageSchema. */
|
|
1965
|
+
const V1WorkspaceCreditHistoryBodySchema = CreditHistoryPageSchema;
|
|
1966
|
+
/** @deprecated Renamed to CreditBalanceSchema. */
|
|
1967
|
+
const V1WorkspaceCreditsBodySchema = CreditBalanceSchema;
|
|
1968
|
+
/** @deprecated Renamed to ExpiringCreditGrantSchema. */
|
|
1969
|
+
const V1WorkspaceCreditsExpiringGrantSchema = ExpiringCreditGrantSchema;
|
|
1970
|
+
/** @deprecated Renamed to CreditGrantTypeBalanceSchema. */
|
|
1971
|
+
const V1WorkspaceCreditsGrantTypeBalanceSchema = CreditGrantTypeBalanceSchema;
|
|
1972
|
+
/** @deprecated Renamed to WorkspaceGroupSchema. */
|
|
1973
|
+
const V1WorkspaceGroupSchema = WorkspaceGroupSchema;
|
|
1974
|
+
/** @deprecated Renamed to WorkspaceInsightsActivityFreshnessSchema. */
|
|
1975
|
+
const V1WorkspaceInsightsActivityFreshnessSchema = WorkspaceInsightsActivityFreshnessSchema;
|
|
1976
|
+
/** @deprecated Renamed to WorkspaceInsightsSchema. */
|
|
1977
|
+
const V1WorkspaceInsightsBodySchema = WorkspaceInsightsSchema;
|
|
1978
|
+
/** @deprecated Renamed to WorkspaceInsightsEdgeFunctionSchema. */
|
|
1979
|
+
const V1WorkspaceInsightsEdgeFunctionSchema = WorkspaceInsightsEdgeFunctionSchema;
|
|
1980
|
+
/** @deprecated Renamed to WorkspaceInsightsFindingSchema. */
|
|
1981
|
+
const V1WorkspaceInsightsFindingSchema = WorkspaceInsightsFindingSchema;
|
|
1982
|
+
/** @deprecated Renamed to WorkspaceInsightsOwnerSchema. */
|
|
1983
|
+
const V1WorkspaceInsightsOwnerSchema = WorkspaceInsightsOwnerSchema;
|
|
1984
|
+
/** @deprecated Renamed to WorkspaceInsightsProjectSchema. */
|
|
1985
|
+
const V1WorkspaceInsightsProjectSchema = WorkspaceInsightsProjectSchema;
|
|
1986
|
+
/** @deprecated Renamed to WorkspaceInsightsProjectPageSchema. */
|
|
1987
|
+
const V1WorkspaceInsightsProjectsBodySchema = WorkspaceInsightsProjectPageSchema;
|
|
1988
|
+
/** @deprecated Renamed to WorkspaceInsightsReasonSchema. */
|
|
1989
|
+
const V1WorkspaceInsightsReasonSchema = WorkspaceInsightsReasonSchema;
|
|
1990
|
+
/** @deprecated Renamed to WorkspaceInsightsReasonValuesSchema. */
|
|
1991
|
+
const V1WorkspaceInsightsReasonValuesSchema = WorkspaceInsightsReasonValuesSchema;
|
|
1992
|
+
/** @deprecated Renamed to WorkspaceInsightsReviewPrioritySchema. */
|
|
1993
|
+
const V1WorkspaceInsightsReviewPrioritySchema = WorkspaceInsightsReviewPrioritySchema;
|
|
1994
|
+
/** @deprecated Renamed to WorkspaceInsightsSignalsSchema. */
|
|
1995
|
+
const V1WorkspaceInsightsSignalsSchema = WorkspaceInsightsSignalsSchema;
|
|
1996
|
+
/** @deprecated Renamed to WorkspaceInsightsStatSchema. */
|
|
1997
|
+
const V1WorkspaceInsightsStatSchema = WorkspaceInsightsStatSchema;
|
|
1998
|
+
/** @deprecated Renamed to WorkspaceInsightsSummarySchema. */
|
|
1999
|
+
const V1WorkspaceInsightsSummarySchema = WorkspaceInsightsSummarySchema;
|
|
2000
|
+
/** @deprecated Renamed to WorkspaceMemberGroupSchema. */
|
|
2001
|
+
const V1WorkspaceMemberGroupSchema = WorkspaceMemberGroupSchema;
|
|
2002
|
+
/** @deprecated Renamed to WorkspaceMemberSchema. */
|
|
2003
|
+
const V1WorkspaceMemberSchema = WorkspaceMemberSchema;
|
|
2004
|
+
/** @deprecated Renamed to WorkspaceSettingsSchema. */
|
|
2005
|
+
const V1WorkspaceSettingsBodySchema = WorkspaceSettingsSchema;
|
|
2006
|
+
/** @deprecated Renamed to ConnectorUsageSchema. */
|
|
2007
|
+
const V1WorkspaceUsageConnectorBreakdownSchema = ConnectorUsageSchema;
|
|
2008
|
+
/** @deprecated Renamed to DatabaseUsageSchema. */
|
|
2009
|
+
const V1WorkspaceUsageDatabaseBreakdownSchema = DatabaseUsageSchema;
|
|
2010
|
+
/** @deprecated Renamed to GatewayModelUsageSchema. */
|
|
2011
|
+
const V1WorkspaceUsageGatewayModelSchema = GatewayModelUsageSchema;
|
|
2012
|
+
/** @deprecated Renamed to WorkspaceAnalyticsSchema. */
|
|
2013
|
+
const WorkspaceAnalyticsResponseSchema = WorkspaceAnalyticsSchema;
|
|
1534
2014
|
//#endregion
|
|
1535
2015
|
//#region src/schemas.ts
|
|
1536
|
-
/** @deprecated Renamed to
|
|
1537
|
-
const CursorListResponseSearchProjectItemSchema =
|
|
1538
|
-
/** @deprecated Renamed to
|
|
1539
|
-
const GetUserWorkspaceBodySchema =
|
|
1540
|
-
/** @deprecated Renamed to
|
|
1541
|
-
const
|
|
1542
|
-
/** @deprecated Renamed to PublicV1WorkspaceMemberSchema. */
|
|
1543
|
-
const WorkspaceMembershipResponseSchema = PublicV1WorkspaceMemberSchema;
|
|
1544
|
-
/** @deprecated Renamed to PublicV1WorkspaceMemberSchema. */
|
|
1545
|
-
const WorkspaceMembershipSchema = PublicV1WorkspaceMemberSchema;
|
|
1546
|
-
/** @deprecated Renamed to PublicV1WorkspaceWithMembershipSchema. */
|
|
1547
|
-
const WorkspaceWithMembershipSchema = PublicV1WorkspaceWithMembershipSchema;
|
|
2016
|
+
/** @deprecated Renamed to ProjectSummaryPageSchema. */
|
|
2017
|
+
const CursorListResponseSearchProjectItemSchema = ProjectSummaryPageSchema;
|
|
2018
|
+
/** @deprecated Renamed to GetWorkspaceResponseSchema. */
|
|
2019
|
+
const GetUserWorkspaceBodySchema = GetWorkspaceResponseSchema;
|
|
2020
|
+
/** @deprecated Renamed to WorkspaceMembershipSchema. */
|
|
2021
|
+
const WorkspaceMembershipResponseSchema = WorkspaceMembershipSchema;
|
|
1548
2022
|
const V1DatabaseQueryOutputBodySchema = z.object({ rows: z.array(z.record(z.string(), z.unknown())).nullable() });
|
|
1549
2023
|
const V1DatabaseQueryOutputBodyWritableSchema = z.object({ rows: z.array(z.record(z.string(), z.unknown())).nullable() });
|
|
1550
2024
|
//#endregion
|
|
1551
|
-
export { AddProjectsToFolderResultSchema, AppUserConnectorApiSchema, ChannelAnalyticsSchema, ChannelListsGroupSchema, ChannelTimeSeriesGroupSchema, CommonSeamlessConnectorFeatureSchema, CommonSeamlessConnectorPermissionSchema, CompanyCreatorSchema, CreatorSchema, CursorListResponseProjectPiiFindingDtoSchema, CursorListResponsePublicV1ConnectorItemSchema, CursorListResponsePublicV1ProjectListItemSchema, CursorListResponseSearchProjectItemSchema, CursorListResponseV1EditSummarySchema, CursorListResponseV1MessageListItemSchema, CursorListResponseV1ProjectCollaboratorSchema, CursorListResponseV1ProjectSkillDtoSchema, CursorListResponseV1SecurityScanSummarySchema, CursorListResponseV1WorkspaceGroupSchema, CursorListResponseV1WorkspaceMemberSchema, DiffHunkSchema, DiffLineSchema, ErrorDetailSchema, ErrorModelSchema, GetAvailableLibraryProjectsPublicV1OutputBodySchema, GetAvailableTemplateProjectsPublicV1OutputBodySchema, GetMeOutputBodySchema, GetMeWorkspaceSchema, GetUserWorkspaceBodySchema, GitFileEntryLiteSchema, GitFileEntrySchema, LibraryProjectResponseSchema, ListDataPointSchema, ListDataSchema, ListsGroupSchema, LovableCreatorSchema, McpConnectorSchema, PaginationSchema, ProjectAnalyticsResponseSchema, ProjectFileInfoSchema, ProjectPiiFindingDtoSchema, ProjectTrendResponseSchema, PublicV1ConnectorItemSchema, PublicV1CreateProjectResponseSchema, PublicV1DeployProjectInputBodySchema, PublicV1EnableDatabaseInputBodySchema, PublicV1GetWorkspaceBodySchema, PublicV1GitFilesResponseSchema, PublicV1PatchProjectBodySchema, PublicV1ProjectAnalyticsBodySchema, PublicV1ProjectCreateInputBodySchema, PublicV1ProjectFileUploadUrlInputBodySchema, PublicV1ProjectListItemSchema, PublicV1ProjectRemixInputBodySchema, PublicV1PublishAudienceTargetSchema, PublicV1PublishProjectInputBodySchema, PublicV1PublishProjectResponseSchema, PublicV1PublishStatusResponseSchema, PublicV1RemixJobOutputBodySchema, PublicV1SendMessageInputBodySchema, PublicV1SetProjectKnowledgeInputBodySchema, PublicV1SetProjectSkillEnabledInputBodySchema, PublicV1UpdatePublishSettingsInputBodySchema, PublicV1UpdatePublishSettingsResponseSchema, PublicV1WorkspaceMemberSchema, PublicV1WorkspaceSchema, PublicV1WorkspaceWithMembershipSchema, RemixJobFailureSchema, RemixJobStepInfoSchema, RemixWarningSchema, SeamlessConnectorApiSchema, SearchProjectItemSchema, SearchWorkspaceProjectsResponseSchema, SkippedProjectInfoSchema, StandardConnectorApiSchema, StandardConnectorPromotionSchema, TemplateProjectResponseSchema, TimeSeriesDataPointSchema, TimeSeriesDataSchema, TimeSeriesGroupSchema, ToolDisplayDataSchema, TrendDataPointSchema,
|
|
2025
|
+
export { AddProjectsToFolderResultSchema, AnalyticsBreakdownGroupSchema, AnalyticsBreakdownPointSchema, AnalyticsBreakdownSchema, AnalyticsTrendSchema, AppUserConnectorApiSchema, BillingPeriodSchema, ChannelAnalyticsSchema, ChannelListsGroupSchema, ChannelTimeSeriesGroupSchema, CommonSeamlessConnectorFeatureSchema, CommonSeamlessConnectorPermissionSchema, CompanyCreatorSchema, ConnectorUsageSchema, CreateEmbedUrlRequestSchema, CreateEmbedUrlResponseSchema, CreatorSchema, CreditBalanceSchema, CreditGrantTypeBalanceSchema, CreditHistoryEntrySchema, CreditHistoryPageSchema, CreditUsageEntrySchema, CreditUsagePageSchema, CreditUsagePeriodSchema, CurrentUserSchema, CurrentUserWorkspaceSchema, CursorListResponseProjectPiiFindingDtoSchema, CursorListResponsePublicV1ConnectorItemSchema, CursorListResponsePublicV1PiiLabelSchema, CursorListResponsePublicV1ProjectListItemSchema, CursorListResponseSearchProjectItemSchema, CursorListResponseV1EditSummarySchema, CursorListResponseV1MessageListItemSchema, CursorListResponseV1ProjectCollaboratorSchema, CursorListResponseV1ProjectSkillDtoSchema, CursorListResponseV1SecurityScanSummarySchema, CursorListResponseV1WorkspaceGroupSchema, CursorListResponseV1WorkspaceMemberSchema, DatabaseUsageSchema, DeploymentSchema, DiffHunkSchema, DiffLineSchema, ErrorDetailSchema, ErrorModelSchema, ExpiringCreditGrantSchema, GatewayModelUsageSchema, GetAvailableLibraryProjectsPublicV1OutputBodySchema, GetAvailableTemplateProjectsPublicV1OutputBodySchema, GetMeOutputBodySchema, GetMeWorkspaceSchema, GetUserWorkspaceBodySchema, GetWorkspaceResponseSchema, GitFileEntryLiteSchema, GitFileEntrySchema, LibraryProjectResponseSchema, ListDataPointSchema, ListDataSchema, ListsGroupSchema, LovableCreatorSchema, McpConnectorSchema, MemberCreditLimitResultSchema, MemberCreditLimitUpdateSchema, PaginationSchema, PiiLabelPageSchema, PiiLabelSchema, ProjectAnalyticsResponseSchema, ProjectAnalyticsSchema, ProjectCollaboratorPageSchema, ProjectCollaboratorSchema, ProjectFileInfoSchema, ProjectPiiFindingDtoSchema, ProjectSchema, ProjectSummaryPageSchema, ProjectSummarySchema, ProjectTrendResponseSchema, PublicV1ConnectorItemSchema, PublicV1CreateProjectResponseSchema, PublicV1DeployProjectInputBodySchema, PublicV1EnableDatabaseInputBodySchema, PublicV1GetWorkspaceBodySchema, PublicV1GitFilesResponseSchema, PublicV1PatchProjectBodySchema, PublicV1PiiLabelSchema, PublicV1ProjectAnalyticsBodySchema, PublicV1ProjectCreateInputBodySchema, PublicV1ProjectFileUploadUrlInputBodySchema, PublicV1ProjectListItemSchema, PublicV1ProjectRemixInputBodySchema, PublicV1PublishAudienceTargetSchema, PublicV1PublishProjectInputBodySchema, PublicV1PublishProjectResponseSchema, PublicV1PublishStatusResponseSchema, PublicV1RemixJobOutputBodySchema, PublicV1SendMessageInputBodySchema, PublicV1SetProjectKnowledgeInputBodySchema, PublicV1SetProjectSkillEnabledInputBodySchema, PublicV1UpdatePublishSettingsInputBodySchema, PublicV1UpdatePublishSettingsResponseSchema, PublicV1WorkspaceMemberSchema, PublicV1WorkspaceSchema, PublicV1WorkspaceWithMembershipSchema, PublishAudienceTargetSchema, PublishProjectRequestSchema, PublishProjectResponseSchema, PublishSettingsSchema, RemixJobFailureSchema, RemixJobSchema, RemixJobStepInfoSchema, RemixResultSchema, RemixWarningSchema, SeamlessConnectorApiSchema, SearchProjectItemSchema, SearchWorkspaceProjectsResponseSchema, SecurityFindingSchema, SecurityScanActorSchema, SecurityScanDetailSchema, SecurityScanPageSchema, SecurityScanSchema, SecurityScannerRunSchema, SetMemberCreditLimitsResponseSchema, SkippedProjectInfoSchema, StandardConnectorApiSchema, StandardConnectorPromotionSchema, TemplateProjectResponseSchema, TimeSeriesDataPointSchema, TimeSeriesDataSchema, TimeSeriesGroupSchema, ToolDisplayDataSchema, TrendDataPointSchema, TriggerSecurityScanResponseSchema, UpdateProjectRequestSchema, UpdatePublishSettingsRequestSchema, UserCreatorSchema, V1AddConnectorInputBodySchema, V1AiResponseSummarySchema, V1AvailableConnectorEntrySchema, V1AwaitingInputSummarySchema, V1BillingPeriodSchema, V1BillingUsageBodySchema, V1BillingUsagePeriodSchema, V1BillingUsageRowSchema, V1BulkMemberCreditLimitItemSchema, V1BulkMemberCreditLimitResultSchema, V1BulkSetMemberCreditLimitInputBodySchema, V1BulkSetMemberCreditLimitOutputBodySchema, V1ConnectionItemSchema, V1ConnectorResponseSchema, V1CreateEmbedUrlInputBodySchema, V1CreateEmbedUrlOutputBodySchema, V1CreateProjectInputBodySchema, V1CreateProjectResponseSchema, V1CreateVariantInputBodySchema, V1CreateVariantOutputBodySchema, V1CreditHistoryEntrySchema, V1DatabaseQueryOutputBodySchema, V1DatabaseQueryOutputBodyWritableSchema, V1DeleteWorkspaceSkillOutputBodySchema, V1DeployProjectInputBodySchema, V1DeployProjectOutputBodySchema, V1DiffEntrySchema, V1DiffResponseSchema, V1EditSummarySchema, V1EnableDatabaseOutputBodySchema, V1EphemeralFileUploadUrlInputBodySchema, V1FileUploadUrlOutputBodySchema, V1GetDatabaseStatusOutputBodySchema, V1GetEditsOutputBodySchema, V1GetSecurityScanOutputBodySchema, V1GetWorkspaceSkillOutputBodySchema, V1KnowledgeResponseSchema, V1ListAppUserConnectorsResponseSchema, V1ListAvailableConnectorsOutputBodySchema, V1ListConnectionsResponseSchema, V1ListConnectorsOutputBodySchema, V1ListMcpConnectorsResponseSchema, V1ListMessagesOutputBodySchema, V1ListProjectSkillsOutputBodySchema, V1ListSeamlessConnectorsResponseSchema, V1ListStandardConnectorsResponseSchema, V1ListWorkspaceSkillsOutputBodySchema, V1ListWorkspacesBodySchema, V1MessageErrorSchema, V1MessageListItemSchema, V1MessageResponseSchema, V1MoveProjectsToFolderInputBodySchema, V1ProjectCollaboratorSchema, V1ProjectFileUploadUrlInputBodySchema, V1ProjectGitFilesResponseSchema, V1ProjectResponseSchema, V1ProjectSkillDtoSchema, V1RemixInitInputBodySchema, V1RemixInitOutputBodySchema, V1RemixProgressOutputBodySchema, V1RemixProgressResultSchema, V1RemoveConnectorOutputBodySchema, V1SecurityFindingSchema, V1SecurityScanActorSchema, V1SecurityScanSummarySchema, V1SecurityScannerRunSchema, V1SelectedLibrarySchema, V1SendMessageInputBodySchema, V1SendMessageOutputBodySchema, V1SetFolderVisibilityInputBodySchema, V1SetFolderVisibilityOutputBodySchema, V1SetProjectKnowledgeInputBodySchema, V1SetProjectSkillEnabledInputBodySchema, V1SetProjectSkillEnabledOutputBodySchema, V1SetProjectVisibilityInputBodySchema, V1SetProjectVisibilityOutputBodySchema, V1SetWorkspaceKnowledgeInputBodySchema, V1TriggerSecurityScanInputBodySchema, V1TriggerSecurityScanResponseBodySchema, V1UnscopedFileSchema, V1UpdateMemberCreditLimitInputBodySchema, V1UpdateWorkspaceSettingsInputBodySchema, V1UsagePeriodSchema, V1WorkspaceAuditLogEntrySchema, V1WorkspaceAuditLogsBodySchema, V1WorkspaceCreditHistoryBodySchema, V1WorkspaceCreditsBodySchema, V1WorkspaceCreditsExpiringGrantSchema, V1WorkspaceCreditsGrantTypeBalanceSchema, V1WorkspaceGroupSchema, V1WorkspaceInsightsActivityFreshnessSchema, V1WorkspaceInsightsBodySchema, V1WorkspaceInsightsEdgeFunctionSchema, V1WorkspaceInsightsFindingSchema, V1WorkspaceInsightsOwnerSchema, V1WorkspaceInsightsProjectSchema, V1WorkspaceInsightsProjectsBodySchema, V1WorkspaceInsightsReasonSchema, V1WorkspaceInsightsReasonValuesSchema, V1WorkspaceInsightsReviewPrioritySchema, V1WorkspaceInsightsSignalsSchema, V1WorkspaceInsightsStatSchema, V1WorkspaceInsightsSummarySchema, V1WorkspaceMemberGroupSchema, V1WorkspaceMemberSchema, V1WorkspaceSettingsBodySchema, V1WorkspaceSkillDtoSchema, V1WorkspaceUsageBreakdownBodySchema, V1WorkspaceUsageBreakdownEntrySchema, V1WorkspaceUsageConnectorBreakdownSchema, V1WorkspaceUsageDatabaseBreakdownSchema, V1WorkspaceUsageGatewayModelSchema, V1WorkspaceUsageMeBodySchema, V1WorkspaceUsageProjectRowSchema, V1WorkspaceUsageProjectsBodySchema, V1WorkspaceUsageTimeseriesBodySchema, V1WorkspaceUsageTimeseriesBucketSchema, V1WriteWorkspaceSkillInputBodySchema, V1WriteWorkspaceSkillOutputBodySchema, VisibilityChangeInfoSchema, WorkspaceAnalyticsResponseSchema, WorkspaceAnalyticsSchema, WorkspaceGroupPageSchema, WorkspaceGroupSchema, WorkspaceInsightsActivityFreshnessSchema, WorkspaceInsightsEdgeFunctionSchema, WorkspaceInsightsFindingSchema, WorkspaceInsightsOwnerSchema, WorkspaceInsightsProjectPageSchema, WorkspaceInsightsProjectSchema, WorkspaceInsightsReasonSchema, WorkspaceInsightsReasonValuesSchema, WorkspaceInsightsReviewPrioritySchema, WorkspaceInsightsSchema, WorkspaceInsightsSignalsSchema, WorkspaceInsightsStatSchema, WorkspaceInsightsSummarySchema, WorkspaceMemberGroupSchema, WorkspaceMemberPageSchema, WorkspaceMemberSchema, WorkspaceMembershipResponseSchema, WorkspaceMembershipSchema, WorkspacePageSchema, WorkspaceSchema, WorkspaceSettingsSchema, WorkspaceWithMembershipSchema };
|
|
1552
2026
|
|
|
1553
2027
|
//# sourceMappingURL=schemas.js.map
|