@lovable.dev/sdk 1.9.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -4
- package/dist/index.d.ts +167 -330
- package/dist/index.js +3 -17
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +192 -382
- package/dist/schemas.js +98 -77
- package/dist/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2 -16
- package/src/generated/paths.ts +165 -315
- package/src/generated/version.ts +1 -1
- package/src/generated/zod/zod.gen.ts +85 -52
- package/src/schemas-deprecated.ts +25 -50
- package/src/types.ts +3 -4
package/src/generated/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by scripts/generate-public-paths.mjs — do not edit.
|
|
2
|
-
export const SDK_VERSION = "1.
|
|
2
|
+
export const SDK_VERSION = "1.10.0";
|
|
@@ -245,7 +245,6 @@ export const PublicV1GitFilesResponseSchema = z.object({
|
|
|
245
245
|
});
|
|
246
246
|
|
|
247
247
|
export const PiiLabelSchema = z.object({
|
|
248
|
-
chat_message_id: z.string().optional(),
|
|
249
248
|
chat_upload_id: z.string().optional(),
|
|
250
249
|
connector_id: z.string().optional(),
|
|
251
250
|
found_at: z.iso.datetime(),
|
|
@@ -260,7 +259,6 @@ export const PiiLabelSchema = z.object({
|
|
|
260
259
|
'very_likely'
|
|
261
260
|
]).optional(),
|
|
262
261
|
quote: z.string().optional(),
|
|
263
|
-
scan_id: z.string().optional(),
|
|
264
262
|
sensitivity: z.enum([
|
|
265
263
|
'low',
|
|
266
264
|
'mid',
|
|
@@ -316,6 +314,11 @@ export const ProjectSummarySchema = z.object({
|
|
|
316
314
|
name: z.string().optional(),
|
|
317
315
|
og_image_url: z.string().optional(),
|
|
318
316
|
project_type: z.enum(['project', 'library']).optional(),
|
|
317
|
+
publish_audience: z.enum([
|
|
318
|
+
'public',
|
|
319
|
+
'workspace',
|
|
320
|
+
'custom'
|
|
321
|
+
]).optional(),
|
|
319
322
|
publish_visibility: z.enum([
|
|
320
323
|
'public',
|
|
321
324
|
'private',
|
|
@@ -326,8 +329,6 @@ export const ProjectSummarySchema = z.object({
|
|
|
326
329
|
'completed',
|
|
327
330
|
'failed'
|
|
328
331
|
]).optional(),
|
|
329
|
-
tech_stack: z.string().optional(),
|
|
330
|
-
updated_at: z.iso.datetime().optional(),
|
|
331
332
|
url: z.string().optional(),
|
|
332
333
|
user_id: z.string().optional(),
|
|
333
334
|
visibility: z.enum([
|
|
@@ -408,6 +409,49 @@ export const DeploymentSchema = z.object({
|
|
|
408
409
|
url: z.string().optional()
|
|
409
410
|
});
|
|
410
411
|
|
|
412
|
+
export const SecurityFindingSchema = z.object({
|
|
413
|
+
category: z.string().optional(),
|
|
414
|
+
created_at: z.iso.datetime(),
|
|
415
|
+
description: z.string().optional(),
|
|
416
|
+
finding_id: z.string(),
|
|
417
|
+
level: z.enum([
|
|
418
|
+
'error',
|
|
419
|
+
'warn',
|
|
420
|
+
'info'
|
|
421
|
+
]),
|
|
422
|
+
name: z.string(),
|
|
423
|
+
scanner_name: z.string(),
|
|
424
|
+
status: z.enum([
|
|
425
|
+
'open',
|
|
426
|
+
'fixed',
|
|
427
|
+
'ignored'
|
|
428
|
+
]),
|
|
429
|
+
updated_at: z.iso.datetime()
|
|
430
|
+
});
|
|
431
|
+
|
|
432
|
+
export const SecurityScanSchema = z.object({
|
|
433
|
+
commit_sha: z.string().optional(),
|
|
434
|
+
finished_at: z.iso.datetime().optional(),
|
|
435
|
+
requested_scanners: z.array(z.string()).nullable(),
|
|
436
|
+
scan_id: z.string(),
|
|
437
|
+
started_at: z.iso.datetime(),
|
|
438
|
+
status: z.enum([
|
|
439
|
+
'running',
|
|
440
|
+
'completed',
|
|
441
|
+
'failed'
|
|
442
|
+
])
|
|
443
|
+
});
|
|
444
|
+
|
|
445
|
+
export const SecurityScanPageSchema = z.object({
|
|
446
|
+
data: z.array(SecurityScanSchema).nullable(),
|
|
447
|
+
pagination: PaginationSchema
|
|
448
|
+
});
|
|
449
|
+
|
|
450
|
+
export const SecurityScanDetailSchema = z.object({
|
|
451
|
+
findings: z.array(SecurityFindingSchema).nullable(),
|
|
452
|
+
scan: SecurityScanSchema
|
|
453
|
+
});
|
|
454
|
+
|
|
411
455
|
export const PublicV1SetProjectKnowledgeInputBodySchema = z.object({
|
|
412
456
|
content: z.string(),
|
|
413
457
|
project_id: z.string()
|
|
@@ -872,19 +916,6 @@ export const V1AwaitingInputSummarySchema = z.object({
|
|
|
872
916
|
tool_id: z.string().optional()
|
|
873
917
|
});
|
|
874
918
|
|
|
875
|
-
export const MemberCreditLimitSchema = z.object({
|
|
876
|
-
monthly_credit_limit: z.number().optional(),
|
|
877
|
-
temporary_limit_expires_at: z.iso.datetime().optional(),
|
|
878
|
-
temporary_monthly_credit_limit: z.number().optional(),
|
|
879
|
-
user_id: z.string()
|
|
880
|
-
});
|
|
881
|
-
|
|
882
|
-
export const CreditLimitPageSchema = z.object({
|
|
883
|
-
data: z.array(MemberCreditLimitSchema).nullable(),
|
|
884
|
-
default_monthly_credit_limit: z.number().optional(),
|
|
885
|
-
pagination: PaginationSchema
|
|
886
|
-
});
|
|
887
|
-
|
|
888
919
|
export const BillingPeriodSchema = z.object({
|
|
889
920
|
end: z.iso.datetime(),
|
|
890
921
|
start: z.iso.datetime()
|
|
@@ -901,18 +932,14 @@ export const CreditUsagePeriodSchema = z.object({
|
|
|
901
932
|
start: z.string()
|
|
902
933
|
});
|
|
903
934
|
|
|
904
|
-
export const
|
|
935
|
+
export const V1BulkMemberCreditLimitItemSchema = z.object({
|
|
905
936
|
duration: z.enum(['permanent', 'current_period']).optional(),
|
|
906
937
|
email: z.string().optional(),
|
|
907
938
|
monthly_credit_limit: z.number().gte(0).nullable(),
|
|
908
939
|
user_id: z.string().optional()
|
|
909
940
|
});
|
|
910
941
|
|
|
911
|
-
export const
|
|
912
|
-
members: z.array(MemberCreditLimitUpdateSchema).min(1).max(1000)
|
|
913
|
-
});
|
|
914
|
-
|
|
915
|
-
export const MemberCreditLimitResultSchema = z.object({
|
|
942
|
+
export const V1BulkMemberCreditLimitResultSchema = z.object({
|
|
916
943
|
approved_until: z.iso.datetime().optional(),
|
|
917
944
|
duration: z.enum(['current_period']).optional(),
|
|
918
945
|
email: z.string().optional(),
|
|
@@ -922,13 +949,13 @@ export const MemberCreditLimitResultSchema = z.object({
|
|
|
922
949
|
});
|
|
923
950
|
|
|
924
951
|
export const V1BulkSetMemberCreditLimitInputBodySchema = z.object({
|
|
925
|
-
members: z.array(
|
|
952
|
+
members: z.array(V1BulkMemberCreditLimitItemSchema).min(1).max(50),
|
|
926
953
|
workspace_id: z.string()
|
|
927
954
|
});
|
|
928
955
|
|
|
929
|
-
export const
|
|
956
|
+
export const V1BulkSetMemberCreditLimitOutputBodySchema = z.object({
|
|
930
957
|
failed: z.number(),
|
|
931
|
-
results: z.array(
|
|
958
|
+
results: z.array(V1BulkMemberCreditLimitResultSchema).nullable(),
|
|
932
959
|
successful: z.number(),
|
|
933
960
|
total: z.number()
|
|
934
961
|
});
|
|
@@ -977,6 +1004,11 @@ export const V1CreateProjectResponseSchema = z.object({
|
|
|
977
1004
|
og_image_url: z.string().optional(),
|
|
978
1005
|
preview_url: z.string().optional(),
|
|
979
1006
|
project_type: z.enum(['project', 'library']).optional(),
|
|
1007
|
+
publish_audience: z.enum([
|
|
1008
|
+
'public',
|
|
1009
|
+
'workspace',
|
|
1010
|
+
'custom'
|
|
1011
|
+
]).optional(),
|
|
980
1012
|
publish_visibility: z.enum([
|
|
981
1013
|
'public',
|
|
982
1014
|
'private',
|
|
@@ -987,8 +1019,6 @@ export const V1CreateProjectResponseSchema = z.object({
|
|
|
987
1019
|
'completed',
|
|
988
1020
|
'failed'
|
|
989
1021
|
]).optional(),
|
|
990
|
-
tech_stack: z.string().optional(),
|
|
991
|
-
updated_at: z.iso.datetime().optional(),
|
|
992
1022
|
url: z.string().optional(),
|
|
993
1023
|
user_id: z.string().optional(),
|
|
994
1024
|
visibility: z.enum([
|
|
@@ -1279,6 +1309,11 @@ export const ProjectSchema = z.object({
|
|
|
1279
1309
|
og_image_url: z.string().optional(),
|
|
1280
1310
|
preview_url: z.string().optional(),
|
|
1281
1311
|
project_type: z.enum(['project', 'library']).optional(),
|
|
1312
|
+
publish_audience: z.enum([
|
|
1313
|
+
'public',
|
|
1314
|
+
'workspace',
|
|
1315
|
+
'custom'
|
|
1316
|
+
]).optional(),
|
|
1282
1317
|
publish_visibility: z.enum([
|
|
1283
1318
|
'public',
|
|
1284
1319
|
'private',
|
|
@@ -1289,8 +1324,6 @@ export const ProjectSchema = z.object({
|
|
|
1289
1324
|
'completed',
|
|
1290
1325
|
'failed'
|
|
1291
1326
|
]).optional(),
|
|
1292
|
-
tech_stack: z.string().optional(),
|
|
1293
|
-
updated_at: z.iso.datetime().optional(),
|
|
1294
1327
|
url: z.string().optional(),
|
|
1295
1328
|
user_id: z.string().optional(),
|
|
1296
1329
|
visibility: z.enum([
|
|
@@ -1338,29 +1371,28 @@ export const V1RemixInitOutputBodySchema = z.object({
|
|
|
1338
1371
|
job_id: z.string()
|
|
1339
1372
|
});
|
|
1340
1373
|
|
|
1341
|
-
export const
|
|
1374
|
+
export const V1RemixProgressResultSchema = z.object({
|
|
1342
1375
|
project_id: z.string(),
|
|
1343
1376
|
warnings: z.array(RemixWarningSchema).nullish()
|
|
1344
1377
|
});
|
|
1345
1378
|
|
|
1346
|
-
export const
|
|
1379
|
+
export const PublicV1RemixJobOutputBodySchema = z.object({
|
|
1347
1380
|
error_code: z.string().optional(),
|
|
1348
1381
|
error_message: z.string().optional(),
|
|
1349
|
-
result:
|
|
1382
|
+
result: V1RemixProgressResultSchema.optional(),
|
|
1350
1383
|
status: z.enum([
|
|
1351
1384
|
'preparing',
|
|
1352
1385
|
'running',
|
|
1353
1386
|
'completed',
|
|
1354
1387
|
'error',
|
|
1355
1388
|
'unknown'
|
|
1356
|
-
])
|
|
1357
|
-
step: RemixJobStepInfoSchema.optional()
|
|
1389
|
+
])
|
|
1358
1390
|
});
|
|
1359
1391
|
|
|
1360
1392
|
export const V1RemixProgressOutputBodySchema = z.object({
|
|
1361
1393
|
error_code: z.string().optional(),
|
|
1362
1394
|
error_message: z.string().optional(),
|
|
1363
|
-
result:
|
|
1395
|
+
result: V1RemixProgressResultSchema.optional(),
|
|
1364
1396
|
status: z.string(),
|
|
1365
1397
|
step: RemixJobStepInfoSchema.optional()
|
|
1366
1398
|
});
|
|
@@ -1369,7 +1401,7 @@ export const V1RemoveConnectorOutputBodySchema = z.object({
|
|
|
1369
1401
|
success: z.boolean()
|
|
1370
1402
|
});
|
|
1371
1403
|
|
|
1372
|
-
export const
|
|
1404
|
+
export const V1SecurityFindingSchema = z.object({
|
|
1373
1405
|
category: z.string().optional(),
|
|
1374
1406
|
created_at: z.iso.datetime(),
|
|
1375
1407
|
description: z.string().optional(),
|
|
@@ -1395,14 +1427,14 @@ export const SecurityFindingSchema = z.object({
|
|
|
1395
1427
|
updated_at: z.iso.datetime()
|
|
1396
1428
|
});
|
|
1397
1429
|
|
|
1398
|
-
export const
|
|
1430
|
+
export const V1SecurityScanActorSchema = z.object({
|
|
1399
1431
|
email: z.string().optional(),
|
|
1400
1432
|
id: z.string().optional(),
|
|
1401
1433
|
name: z.string().optional(),
|
|
1402
1434
|
type: z.enum(['user', 'system'])
|
|
1403
1435
|
});
|
|
1404
1436
|
|
|
1405
|
-
export const
|
|
1437
|
+
export const V1SecurityScanSummarySchema = z.object({
|
|
1406
1438
|
commit_sha: z.string().optional(),
|
|
1407
1439
|
finished_at: z.iso.datetime().optional(),
|
|
1408
1440
|
requested_scanners: z.array(z.string()).nullable(),
|
|
@@ -1425,15 +1457,15 @@ export const SecurityScanSchema = z.object({
|
|
|
1425
1457
|
'enterprise_batch',
|
|
1426
1458
|
'gitsync_pull'
|
|
1427
1459
|
]),
|
|
1428
|
-
triggered_by:
|
|
1460
|
+
triggered_by: V1SecurityScanActorSchema
|
|
1429
1461
|
});
|
|
1430
1462
|
|
|
1431
|
-
export const
|
|
1432
|
-
data: z.array(
|
|
1463
|
+
export const CursorListResponseV1SecurityScanSummarySchema = z.object({
|
|
1464
|
+
data: z.array(V1SecurityScanSummarySchema).nullable(),
|
|
1433
1465
|
pagination: PaginationSchema
|
|
1434
1466
|
});
|
|
1435
1467
|
|
|
1436
|
-
export const
|
|
1468
|
+
export const V1SecurityScannerRunSchema = z.object({
|
|
1437
1469
|
commit_sha: z.string().optional(),
|
|
1438
1470
|
error_message: z.string().optional(),
|
|
1439
1471
|
finished_at: z.iso.datetime().optional(),
|
|
@@ -1447,10 +1479,10 @@ export const SecurityScannerRunSchema = z.object({
|
|
|
1447
1479
|
])
|
|
1448
1480
|
});
|
|
1449
1481
|
|
|
1450
|
-
export const
|
|
1451
|
-
findings: z.array(
|
|
1452
|
-
scan:
|
|
1453
|
-
scanner_runs: z.array(
|
|
1482
|
+
export const V1GetSecurityScanOutputBodySchema = z.object({
|
|
1483
|
+
findings: z.array(V1SecurityFindingSchema).nullable(),
|
|
1484
|
+
scan: V1SecurityScanSummarySchema,
|
|
1485
|
+
scanner_runs: z.array(V1SecurityScannerRunSchema).nullable()
|
|
1454
1486
|
});
|
|
1455
1487
|
|
|
1456
1488
|
export const V1SelectedLibrarySchema = z.object({
|
|
@@ -1505,7 +1537,7 @@ export const V1TriggerSecurityScanInputBodySchema = z.object({
|
|
|
1505
1537
|
project_id: z.string()
|
|
1506
1538
|
});
|
|
1507
1539
|
|
|
1508
|
-
export const
|
|
1540
|
+
export const V1TriggerSecurityScanResponseBodySchema = z.object({
|
|
1509
1541
|
message: z.string().optional(),
|
|
1510
1542
|
scan_id: z.string(),
|
|
1511
1543
|
status: z.enum([
|
|
@@ -1599,10 +1631,6 @@ export const V1UpdateWorkspaceSettingsInputBodySchema = z.object({
|
|
|
1599
1631
|
workspace_id: z.string()
|
|
1600
1632
|
});
|
|
1601
1633
|
|
|
1602
|
-
export const UpdateWorkspaceSettingsRequestSchema = z.object({
|
|
1603
|
-
default_monthly_member_credit_limit: z.number().gte(0).nullish()
|
|
1604
|
-
});
|
|
1605
|
-
|
|
1606
1634
|
export const V1UsagePeriodSchema = z.object({
|
|
1607
1635
|
end: z.string(),
|
|
1608
1636
|
granularity: z.string().optional(),
|
|
@@ -1835,6 +1863,11 @@ export const WorkspaceInsightsProjectSchema = z.object({
|
|
|
1835
1863
|
name: z.string().optional(),
|
|
1836
1864
|
og_image_url: z.string().optional(),
|
|
1837
1865
|
owner: WorkspaceInsightsOwnerSchema.optional(),
|
|
1866
|
+
publish_audience: z.enum([
|
|
1867
|
+
'public',
|
|
1868
|
+
'workspace',
|
|
1869
|
+
'custom'
|
|
1870
|
+
]).optional(),
|
|
1838
1871
|
publish_visibility: z.enum([
|
|
1839
1872
|
'public',
|
|
1840
1873
|
'private',
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
//
|
|
2
|
-
// document adopted stable component names. Removed in the next major release.
|
|
1
|
+
// Compatibility aliases retained until the next major release.
|
|
3
2
|
|
|
4
3
|
import {
|
|
5
4
|
AnalyticsBreakdownGroupSchema,
|
|
@@ -14,7 +13,6 @@ import {
|
|
|
14
13
|
CreditGrantTypeBalanceSchema,
|
|
15
14
|
CreditHistoryEntrySchema,
|
|
16
15
|
CreditHistoryPageSchema,
|
|
17
|
-
CreditLimitPageSchema,
|
|
18
16
|
CreditUsageEntrySchema,
|
|
19
17
|
CreditUsagePageSchema,
|
|
20
18
|
CreditUsagePeriodSchema,
|
|
@@ -25,9 +23,6 @@ import {
|
|
|
25
23
|
ExpiringCreditGrantSchema,
|
|
26
24
|
GatewayModelUsageSchema,
|
|
27
25
|
GetWorkspaceResponseSchema,
|
|
28
|
-
MemberCreditLimitResultSchema,
|
|
29
|
-
MemberCreditLimitSchema,
|
|
30
|
-
MemberCreditLimitUpdateSchema,
|
|
31
26
|
PiiLabelPageSchema,
|
|
32
27
|
PiiLabelSchema,
|
|
33
28
|
ProjectAnalyticsSchema,
|
|
@@ -40,20 +35,16 @@ import {
|
|
|
40
35
|
PublishProjectRequestSchema,
|
|
41
36
|
PublishProjectResponseSchema,
|
|
42
37
|
PublishSettingsSchema,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
SecurityFindingSchema,
|
|
46
|
-
SecurityScanActorSchema,
|
|
47
|
-
SecurityScanDetailSchema,
|
|
48
|
-
SecurityScanPageSchema,
|
|
49
|
-
SecurityScanSchema,
|
|
50
|
-
SecurityScannerRunSchema,
|
|
51
|
-
SetMemberCreditLimitsRequestSchema,
|
|
52
|
-
SetMemberCreditLimitsResponseSchema,
|
|
53
|
-
TriggerSecurityScanResponseSchema,
|
|
38
|
+
PublicV1RemixJobOutputBodySchema,
|
|
39
|
+
V1RemixProgressResultSchema,
|
|
54
40
|
UpdateProjectRequestSchema,
|
|
55
41
|
UpdatePublishSettingsRequestSchema,
|
|
56
|
-
|
|
42
|
+
V1BulkMemberCreditLimitItemSchema,
|
|
43
|
+
V1BulkMemberCreditLimitResultSchema,
|
|
44
|
+
V1BulkSetMemberCreditLimitOutputBodySchema,
|
|
45
|
+
V1SecurityScanActorSchema,
|
|
46
|
+
V1SecurityScannerRunSchema,
|
|
47
|
+
V1TriggerSecurityScanResponseBodySchema,
|
|
57
48
|
WorkspaceAnalyticsSchema,
|
|
58
49
|
WorkspaceGroupPageSchema,
|
|
59
50
|
WorkspaceGroupSchema,
|
|
@@ -86,8 +77,6 @@ export const CursorListResponsePublicV1PiiLabelSchema = PiiLabelPageSchema;
|
|
|
86
77
|
export const CursorListResponsePublicV1ProjectListItemSchema = ProjectSummaryPageSchema;
|
|
87
78
|
/** @deprecated Renamed to ProjectCollaboratorPageSchema. */
|
|
88
79
|
export const CursorListResponseV1ProjectCollaboratorSchema = ProjectCollaboratorPageSchema;
|
|
89
|
-
/** @deprecated Renamed to SecurityScanPageSchema. */
|
|
90
|
-
export const CursorListResponseV1SecurityScanSummarySchema = SecurityScanPageSchema;
|
|
91
80
|
/** @deprecated Renamed to WorkspaceGroupPageSchema. */
|
|
92
81
|
export const CursorListResponseV1WorkspaceGroupSchema = WorkspaceGroupPageSchema;
|
|
93
82
|
/** @deprecated Renamed to WorkspaceMemberPageSchema. */
|
|
@@ -122,8 +111,8 @@ export const PublicV1PublishProjectInputBodySchema = PublishProjectRequestSchema
|
|
|
122
111
|
export const PublicV1PublishProjectResponseSchema = PublishProjectResponseSchema;
|
|
123
112
|
/** @deprecated Renamed to DeploymentSchema. */
|
|
124
113
|
export const PublicV1PublishStatusResponseSchema = DeploymentSchema;
|
|
125
|
-
/** @deprecated
|
|
126
|
-
export const
|
|
114
|
+
/** @deprecated Retained for legacy endpoints. */
|
|
115
|
+
export const RemixJobSchema = PublicV1RemixJobOutputBodySchema;
|
|
127
116
|
/** @deprecated Renamed to UpdatePublishSettingsRequestSchema. */
|
|
128
117
|
export const PublicV1UpdatePublishSettingsInputBodySchema = UpdatePublishSettingsRequestSchema;
|
|
129
118
|
/** @deprecated Renamed to PublishSettingsSchema. */
|
|
@@ -134,12 +123,6 @@ export const PublicV1WorkspaceMemberSchema = WorkspaceMembershipSchema;
|
|
|
134
123
|
export const PublicV1WorkspaceSchema = WorkspaceSchema;
|
|
135
124
|
/** @deprecated Renamed to WorkspaceWithMembershipSchema. */
|
|
136
125
|
export const PublicV1WorkspaceWithMembershipSchema = WorkspaceWithMembershipSchema;
|
|
137
|
-
/** @deprecated Renamed to SetMemberCreditLimitsRequestSchema. */
|
|
138
|
-
export const V1BillingBulkSetMemberCreditLimitInputBodySchema = SetMemberCreditLimitsRequestSchema;
|
|
139
|
-
/** @deprecated Renamed to MemberCreditLimitSchema. */
|
|
140
|
-
export const V1BillingCreditLimitRowSchema = MemberCreditLimitSchema;
|
|
141
|
-
/** @deprecated Renamed to CreditLimitPageSchema. */
|
|
142
|
-
export const V1BillingCreditLimitsBodySchema = CreditLimitPageSchema;
|
|
143
126
|
/** @deprecated Renamed to BillingPeriodSchema. */
|
|
144
127
|
export const V1BillingPeriodSchema = BillingPeriodSchema;
|
|
145
128
|
/** @deprecated Renamed to CreditUsagePageSchema. */
|
|
@@ -148,40 +131,32 @@ export const V1BillingUsageBodySchema = CreditUsagePageSchema;
|
|
|
148
131
|
export const V1BillingUsagePeriodSchema = CreditUsagePeriodSchema;
|
|
149
132
|
/** @deprecated Renamed to CreditUsageEntrySchema. */
|
|
150
133
|
export const V1BillingUsageRowSchema = CreditUsageEntrySchema;
|
|
151
|
-
/** @deprecated
|
|
152
|
-
export const
|
|
153
|
-
/** @deprecated
|
|
154
|
-
export const
|
|
155
|
-
/** @deprecated
|
|
156
|
-
export const
|
|
134
|
+
/** @deprecated Retained for legacy endpoints. */
|
|
135
|
+
export const MemberCreditLimitUpdateSchema = V1BulkMemberCreditLimitItemSchema;
|
|
136
|
+
/** @deprecated Retained for legacy endpoints. */
|
|
137
|
+
export const MemberCreditLimitResultSchema = V1BulkMemberCreditLimitResultSchema;
|
|
138
|
+
/** @deprecated Retained for legacy endpoints. */
|
|
139
|
+
export const SetMemberCreditLimitsResponseSchema = V1BulkSetMemberCreditLimitOutputBodySchema;
|
|
157
140
|
/** @deprecated Renamed to CreateEmbedUrlRequestSchema. */
|
|
158
141
|
export const V1CreateEmbedUrlInputBodySchema = CreateEmbedUrlRequestSchema;
|
|
159
142
|
/** @deprecated Renamed to CreateEmbedUrlResponseSchema. */
|
|
160
143
|
export const V1CreateEmbedUrlOutputBodySchema = CreateEmbedUrlResponseSchema;
|
|
161
144
|
/** @deprecated Renamed to CreditHistoryEntrySchema. */
|
|
162
145
|
export const V1CreditHistoryEntrySchema = CreditHistoryEntrySchema;
|
|
163
|
-
/** @deprecated Renamed to SecurityScanDetailSchema. */
|
|
164
|
-
export const V1GetSecurityScanOutputBodySchema = SecurityScanDetailSchema;
|
|
165
146
|
/** @deprecated Renamed to WorkspacePageSchema. */
|
|
166
147
|
export const V1ListWorkspacesBodySchema = WorkspacePageSchema;
|
|
167
148
|
/** @deprecated Renamed to ProjectCollaboratorSchema. */
|
|
168
149
|
export const V1ProjectCollaboratorSchema = ProjectCollaboratorSchema;
|
|
169
150
|
/** @deprecated Renamed to ProjectSchema. */
|
|
170
151
|
export const V1ProjectResponseSchema = ProjectSchema;
|
|
171
|
-
/** @deprecated
|
|
172
|
-
export const
|
|
173
|
-
/** @deprecated
|
|
174
|
-
export const
|
|
175
|
-
/** @deprecated
|
|
176
|
-
export const
|
|
177
|
-
/** @deprecated
|
|
178
|
-
export const
|
|
179
|
-
/** @deprecated Renamed to SecurityScannerRunSchema. */
|
|
180
|
-
export const V1SecurityScannerRunSchema = SecurityScannerRunSchema;
|
|
181
|
-
/** @deprecated Renamed to TriggerSecurityScanResponseSchema. */
|
|
182
|
-
export const V1TriggerSecurityScanResponseBodySchema = TriggerSecurityScanResponseSchema;
|
|
183
|
-
/** @deprecated Renamed to UpdateWorkspaceSettingsRequestSchema. */
|
|
184
|
-
export const V1UpdateWorkspaceSettingsNestedInputBodySchema = UpdateWorkspaceSettingsRequestSchema;
|
|
152
|
+
/** @deprecated Retained for legacy endpoints. */
|
|
153
|
+
export const RemixResultSchema = V1RemixProgressResultSchema;
|
|
154
|
+
/** @deprecated Retained for legacy endpoints. */
|
|
155
|
+
export const SecurityScanActorSchema = V1SecurityScanActorSchema;
|
|
156
|
+
/** @deprecated Retained for legacy endpoints. */
|
|
157
|
+
export const SecurityScannerRunSchema = V1SecurityScannerRunSchema;
|
|
158
|
+
/** @deprecated Retained for legacy endpoints. */
|
|
159
|
+
export const TriggerSecurityScanResponseSchema = V1TriggerSecurityScanResponseBodySchema;
|
|
185
160
|
/** @deprecated Renamed to CreditHistoryPageSchema. */
|
|
186
161
|
export const V1WorkspaceCreditHistoryBodySchema = CreditHistoryPageSchema;
|
|
187
162
|
/** @deprecated Renamed to CreditBalanceSchema. */
|
package/src/types.ts
CHANGED
|
@@ -191,8 +191,8 @@ export type ProjectAnalyticsTrendResponse = Schemas["AnalyticsTrend"];
|
|
|
191
191
|
|
|
192
192
|
export type RemixJobStepInfo = Schemas["RemixJobStepInfo"];
|
|
193
193
|
export type RemixInitResponse = { job_id: string };
|
|
194
|
-
export type RemixProgressResult = Schemas["
|
|
195
|
-
export type RemixProgressResponse = Schemas["
|
|
194
|
+
export type RemixProgressResult = Schemas["V1RemixProgressResult"];
|
|
195
|
+
export type RemixProgressResponse = Schemas["PublicV1RemixJobOutputBody"];
|
|
196
196
|
|
|
197
197
|
// The V1 spec types `status` as plain string. The Go handler returns one of
|
|
198
198
|
// these five values — keep the narrow union here as an SDK-side aid for
|
|
@@ -386,6 +386,7 @@ export interface RemixResult {
|
|
|
386
386
|
export interface RemixWaitOptions {
|
|
387
387
|
pollInterval?: number;
|
|
388
388
|
timeout?: number;
|
|
389
|
+
/** The optional step argument is retained for callback compatibility; the API no longer returns it. */
|
|
389
390
|
onProgress?: (status: RemixJobStatus, step?: RemixJobStepInfo) => void;
|
|
390
391
|
}
|
|
391
392
|
|
|
@@ -435,10 +436,8 @@ export interface ListProjectsOptions {
|
|
|
435
436
|
visibility?: ListProjectsQuery["visibility"];
|
|
436
437
|
publish_status?: ListProjectsQuery["publish_status"];
|
|
437
438
|
folder_id?: ListProjectsQuery["folder_id"];
|
|
438
|
-
folder_ids?: ListProjectsQuery["folder_ids"];
|
|
439
439
|
user_id?: ListProjectsQuery["user_id"];
|
|
440
440
|
type?: ListProjectsQuery["type"];
|
|
441
|
-
search_fields?: ListProjectsQuery["search_fields"];
|
|
442
441
|
viewed_by_me?: ListProjectsQuery["viewed_by_me"];
|
|
443
442
|
cursor?: ListProjectsQuery["cursor"];
|
|
444
443
|
limit?: ListProjectsQuery["limit"];
|