@lovable.dev/sdk 1.7.5 → 1.9.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/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 GetMeWorkspaceSchema = z$1.object({
47
+ const CurrentUserWorkspaceSchema = z$1.object({
48
48
  id: z$1.string(),
49
49
  name: z$1.string(),
50
- role: z$1.string()
50
+ role: z$1.enum([
51
+ "owner",
52
+ "admin",
53
+ "member",
54
+ "viewer",
55
+ "collaborator"
56
+ ])
51
57
  });
52
- const GetMeOutputBodySchema = z$1.object({
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(GetMeWorkspaceSchema).nullable()
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 ListDataPointSchema = z$1.object({
86
+ const AnalyticsBreakdownPointSchema = z$1.object({
81
87
  label: z$1.string(),
82
88
  value: z$1.number()
83
89
  });
84
- const ListDataSchema = z$1.object({
85
- data: z$1.array(ListDataPointSchema).nullable(),
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: ListDataSchema,
90
- source: ListDataSchema
95
+ page: AnalyticsBreakdownSchema,
96
+ source: AnalyticsBreakdownSchema
91
97
  });
92
- const ListsGroupSchema = z$1.object({
93
- country: ListDataSchema,
94
- device: ListDataSchema,
95
- page: ListDataSchema,
96
- source: ListDataSchema
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.string().optional(),
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.string().optional(),
125
- source: z$1.string(),
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.string(),
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.string().optional(),
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.string().optional(),
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,48 @@ const PublicV1GitFilesResponseSchema = z$1.object({
177
213
  pagination: PaginationSchema,
178
214
  ref: z$1.string()
179
215
  });
180
- const PublicV1PatchProjectBodySchema = z$1.object({
216
+ const PiiLabelSchema = z$1.object({
217
+ chat_message_id: z$1.string().optional(),
218
+ chat_upload_id: z$1.string().optional(),
219
+ connector_id: z$1.string().optional(),
220
+ found_at: z$1.iso.datetime(),
221
+ id: z$1.string(),
222
+ info_type: z$1.string().optional(),
223
+ likelihood: z$1.enum([
224
+ "likelihood_unspecified",
225
+ "very_unlikely",
226
+ "unlikely",
227
+ "possible",
228
+ "likely",
229
+ "very_likely"
230
+ ]).optional(),
231
+ quote: z$1.string().optional(),
232
+ scan_id: z$1.string().optional(),
233
+ sensitivity: z$1.enum([
234
+ "low",
235
+ "mid",
236
+ "high"
237
+ ]).optional(),
238
+ source: z$1.enum([
239
+ "chat",
240
+ "upload",
241
+ "cloud_storage",
242
+ "cloud_sql",
243
+ "connector"
244
+ ]),
245
+ sql_location: z$1.string().optional(),
246
+ status: z$1.enum([
247
+ "open",
248
+ "ignored",
249
+ "fixed"
250
+ ]),
251
+ storage_path: z$1.string().optional()
252
+ });
253
+ const PiiLabelPageSchema = z$1.object({
254
+ data: z$1.array(PiiLabelSchema).nullable(),
255
+ pagination: PaginationSchema
256
+ });
257
+ const UpdateProjectRequestSchema = z$1.object({
181
258
  description: z$1.string().max(1e5).optional(),
182
259
  display_name: z$1.string().optional(),
183
260
  visibility: z$1.enum([
@@ -191,7 +268,7 @@ const PublicV1ProjectFileUploadUrlInputBodySchema = z$1.object({
191
268
  content_type: z$1.string().optional(),
192
269
  project_id: z$1.string()
193
270
  });
194
- const PublicV1ProjectListItemSchema = z$1.object({
271
+ const ProjectSummarySchema = z$1.object({
195
272
  created_at: z$1.iso.datetime().optional(),
196
273
  description: z$1.string().optional(),
197
274
  display_name: z$1.string().optional(),
@@ -203,18 +280,31 @@ const PublicV1ProjectListItemSchema = z$1.object({
203
280
  latest_screenshot_url: z$1.string().optional(),
204
281
  name: z$1.string().optional(),
205
282
  og_image_url: z$1.string().optional(),
206
- project_type: z$1.string().optional(),
207
- publish_visibility: z$1.string().optional(),
208
- status: z$1.string().optional(),
283
+ project_type: z$1.enum(["project", "library"]).optional(),
284
+ publish_visibility: z$1.enum([
285
+ "public",
286
+ "private",
287
+ "workspace_only"
288
+ ]).optional(),
289
+ status: z$1.enum([
290
+ "in_progress",
291
+ "completed",
292
+ "failed"
293
+ ]).optional(),
209
294
  tech_stack: z$1.string().optional(),
210
295
  updated_at: z$1.iso.datetime().optional(),
211
296
  url: z$1.string().optional(),
212
297
  user_id: z$1.string().optional(),
213
- visibility: z$1.string().optional(),
298
+ visibility: z$1.enum([
299
+ "draft",
300
+ "private",
301
+ "workspace_view",
302
+ "public"
303
+ ]).optional(),
214
304
  workspace_id: z$1.string()
215
305
  });
216
- const CursorListResponsePublicV1ProjectListItemSchema = z$1.object({
217
- data: z$1.array(PublicV1ProjectListItemSchema).nullable(),
306
+ const ProjectSummaryPageSchema = z$1.object({
307
+ data: z$1.array(ProjectSummarySchema).nullable(),
218
308
  pagination: PaginationSchema
219
309
  });
220
310
  const PublicV1ProjectRemixInputBodySchema = z$1.object({
@@ -231,12 +321,12 @@ const PublicV1ProjectRemixInputBodySchema = z$1.object({
231
321
  source_project_id: z$1.string().min(1).regex(/.*\S.*/),
232
322
  workspace_id: z$1.string()
233
323
  });
234
- const PublicV1PublishAudienceTargetSchema = z$1.object({
324
+ const PublishAudienceTargetSchema = z$1.object({
235
325
  id: z$1.string().min(1),
236
326
  type: z$1.enum(["group", "user"])
237
327
  });
238
- const PublicV1PublishProjectInputBodySchema = z$1.object({
239
- audience: z$1.array(PublicV1PublishAudienceTargetSchema).max(100).nullish(),
328
+ const PublishProjectRequestSchema = z$1.object({
329
+ audience: z$1.array(PublishAudienceTargetSchema).max(100).nullish(),
240
330
  name: z$1.string().optional(),
241
331
  visibility: z$1.enum([
242
332
  "public",
@@ -244,15 +334,28 @@ const PublicV1PublishProjectInputBodySchema = z$1.object({
244
334
  "custom"
245
335
  ]).optional()
246
336
  });
247
- const PublicV1PublishProjectResponseSchema = z$1.object({
337
+ const PublishProjectResponseSchema = z$1.object({
248
338
  deployment_id: z$1.string().optional(),
249
- status: z$1.string(),
339
+ status: z$1.enum(["pending"]),
250
340
  url: z$1.string().optional(),
251
- visibility: z$1.string()
341
+ visibility: z$1.enum([
342
+ "public",
343
+ "workspace",
344
+ "custom"
345
+ ])
252
346
  });
253
- const PublicV1PublishStatusResponseSchema = z$1.object({
347
+ const DeploymentSchema = z$1.object({
254
348
  deployment_id: z$1.string(),
255
- error_class: z$1.string().optional(),
349
+ error_class: z$1.enum([
350
+ "transient",
351
+ "user_code",
352
+ "user_config",
353
+ "user_config_code",
354
+ "user_config_external",
355
+ "user_data",
356
+ "blocked_by_policy",
357
+ "internal"
358
+ ]).optional(),
256
359
  error_code: z$1.string().optional(),
257
360
  error_message: z$1.string().optional(),
258
361
  status: z$1.enum([
@@ -271,8 +374,8 @@ const PublicV1SetProjectSkillEnabledInputBodySchema = z$1.object({
271
374
  enabled: z$1.boolean(),
272
375
  project_id: z$1.string()
273
376
  });
274
- const PublicV1UpdatePublishSettingsInputBodySchema = z$1.object({
275
- audience: z$1.array(PublicV1PublishAudienceTargetSchema).max(100).nullish(),
377
+ const UpdatePublishSettingsRequestSchema = z$1.object({
378
+ audience: z$1.array(PublishAudienceTargetSchema).max(100).nullish(),
276
379
  is_published: z$1.boolean().optional(),
277
380
  visibility: z$1.enum([
278
381
  "public",
@@ -280,51 +383,93 @@ const PublicV1UpdatePublishSettingsInputBodySchema = z$1.object({
280
383
  "custom"
281
384
  ]).optional()
282
385
  });
283
- const PublicV1UpdatePublishSettingsResponseSchema = z$1.object({
386
+ const PublishSettingsSchema = z$1.object({
284
387
  is_published: z$1.boolean(),
285
388
  url: z$1.string().optional(),
286
- visibility: z$1.string()
389
+ visibility: z$1.enum([
390
+ "public",
391
+ "workspace",
392
+ "custom"
393
+ ])
287
394
  });
288
- const PublicV1WorkspaceSchema = z$1.object({
395
+ const WorkspaceSchema = z$1.object({
289
396
  created_at: z$1.iso.datetime().optional(),
290
397
  description: z$1.string().optional(),
291
398
  id: z$1.string(),
292
399
  image_url: z$1.string().optional(),
293
400
  name: z$1.string(),
294
401
  num_projects: z$1.number(),
295
- plan: z$1.string(),
402
+ plan: z$1.enum([
403
+ "free",
404
+ "pro",
405
+ "business",
406
+ "enterprise"
407
+ ]),
296
408
  updated_at: z$1.iso.datetime().optional()
297
409
  });
298
- const PublicV1WorkspaceMemberSchema = z$1.object({
410
+ const WorkspaceMembershipSchema = z$1.object({
299
411
  joined_at: z$1.iso.datetime().optional(),
300
- role: z$1.string(),
412
+ role: z$1.enum([
413
+ "owner",
414
+ "admin",
415
+ "member",
416
+ "viewer",
417
+ "collaborator"
418
+ ]),
301
419
  user_id: z$1.string()
302
420
  });
303
- const PublicV1GetWorkspaceBodySchema = z$1.object({
304
- current_member: PublicV1WorkspaceMemberSchema.optional(),
305
- workspace: PublicV1WorkspaceSchema
421
+ const GetWorkspaceResponseSchema = z$1.object({
422
+ current_member: WorkspaceMembershipSchema.optional(),
423
+ workspace: WorkspaceSchema
306
424
  });
307
- const PublicV1WorkspaceWithMembershipSchema = z$1.object({
425
+ const WorkspaceWithMembershipSchema = z$1.object({
308
426
  created_at: z$1.iso.datetime().optional(),
309
427
  description: z$1.string().optional(),
310
428
  id: z$1.string(),
311
429
  image_url: z$1.string().optional(),
312
- membership: PublicV1WorkspaceMemberSchema.optional(),
430
+ membership: WorkspaceMembershipSchema.optional(),
313
431
  name: z$1.string(),
314
432
  num_projects: z$1.number(),
315
- plan: z$1.string(),
433
+ plan: z$1.enum([
434
+ "free",
435
+ "pro",
436
+ "business",
437
+ "enterprise"
438
+ ]),
316
439
  updated_at: z$1.iso.datetime().optional()
317
440
  });
318
441
  const RemixJobFailureSchema = z$1.object({
319
442
  code: z$1.string().optional(),
320
- failed_step: z$1.string(),
443
+ failed_step: z$1.enum([
444
+ "starting",
445
+ "creating_new_project",
446
+ "restoring_supabase",
447
+ "copying_history",
448
+ "preparing_repository",
449
+ "remixing_integration",
450
+ "pushing_repository",
451
+ "finalizing",
452
+ "completed",
453
+ "failed"
454
+ ]),
321
455
  message: z$1.string()
322
456
  });
323
457
  const RemixJobStepInfoSchema = z$1.object({
324
458
  failure: RemixJobFailureSchema.optional(),
325
459
  integration_name: z$1.string().optional(),
326
460
  status: z$1.string().optional(),
327
- step: z$1.string()
461
+ step: z$1.enum([
462
+ "starting",
463
+ "creating_new_project",
464
+ "restoring_supabase",
465
+ "copying_history",
466
+ "preparing_repository",
467
+ "remixing_integration",
468
+ "pushing_repository",
469
+ "finalizing",
470
+ "completed",
471
+ "failed"
472
+ ])
328
473
  });
329
474
  const RemixWarningSchema = z$1.object({
330
475
  code: z$1.enum(["edge_functions_not_deployed", "integration_skipped"]),
@@ -396,6 +541,7 @@ const SearchProjectItemSchema = z$1.object({
396
541
  const SearchWorkspaceProjectsResponseSchema = z$1.object({
397
542
  has_more: z$1.boolean(),
398
543
  projects: z$1.array(SearchProjectItemSchema).nullable(),
544
+ title_search: z$1.boolean().optional(),
399
545
  total: z$1.number()
400
546
  });
401
547
  const SkippedProjectInfoSchema = z$1.object({
@@ -449,7 +595,7 @@ const TimeSeriesGroupSchema = z$1.object({
449
595
  const ProjectAnalyticsResponseSchema = z$1.object({
450
596
  channels: z$1.record(z$1.string(), ChannelAnalyticsSchema).optional(),
451
597
  channelsSource: z$1.enum(["legacy", "user_app_events"]).optional(),
452
- lists: ListsGroupSchema,
598
+ lists: AnalyticsBreakdownGroupSchema,
453
599
  timeSeries: TimeSeriesGroupSchema
454
600
  });
455
601
  const ToolDisplayDataSchema = z$1.object({
@@ -467,14 +613,14 @@ const TrendDataPointSchema = z$1.object({
467
613
  time: z$1.string(),
468
614
  visits: z$1.number()
469
615
  });
470
- const ProjectTrendResponseSchema = z$1.object({
616
+ const AnalyticsTrendSchema = z$1.object({
471
617
  currentVisitors: z$1.number(),
472
618
  data: z$1.array(TrendDataPointSchema).nullable()
473
619
  });
474
- const PublicV1ProjectAnalyticsBodySchema = z$1.object({
475
- lists: ListsGroupSchema.optional(),
620
+ const ProjectAnalyticsSchema = z$1.object({
621
+ lists: AnalyticsBreakdownGroupSchema.optional(),
476
622
  timeSeries: TimeSeriesGroupSchema.optional(),
477
- trend: ProjectTrendResponseSchema.optional()
623
+ trend: AnalyticsTrendSchema.optional()
478
624
  });
479
625
  const UserCreatorSchema = z$1.object({
480
626
  type: z$1.enum(["user"]),
@@ -578,6 +724,7 @@ const SeamlessConnectorApiSchema = z$1.object({
578
724
  toolIntegrationName: z$1.string().optional()
579
725
  });
580
726
  const StandardConnectorApiSchema = z$1.object({
727
+ can_deploy_apps: z$1.boolean(),
581
728
  can_restrict_to_admins: z$1.boolean(),
582
729
  categories: z$1.array(z$1.enum([
583
730
  "ecommerce",
@@ -643,46 +790,57 @@ const V1AvailableConnectorEntrySchema = z$1.object({
643
790
  const V1AwaitingInputSummarySchema = z$1.object({
644
791
  event_id: z$1.string(),
645
792
  input_schema: z$1.unknown().optional(),
646
- prev_session_id: z$1.string().optional()
793
+ params: z$1.unknown().optional(),
794
+ prev_session_id: z$1.string().optional(),
795
+ tool_id: z$1.string().optional()
647
796
  });
648
- const V1BillingCreditLimitRowSchema = z$1.object({
797
+ const MemberCreditLimitSchema = z$1.object({
649
798
  monthly_credit_limit: z$1.number().optional(),
799
+ temporary_limit_expires_at: z$1.iso.datetime().optional(),
800
+ temporary_monthly_credit_limit: z$1.number().optional(),
650
801
  user_id: z$1.string()
651
802
  });
652
- const V1BillingCreditLimitsBodySchema = z$1.object({
653
- data: z$1.array(V1BillingCreditLimitRowSchema).nullable(),
803
+ const CreditLimitPageSchema = z$1.object({
804
+ data: z$1.array(MemberCreditLimitSchema).nullable(),
654
805
  default_monthly_credit_limit: z$1.number().optional(),
655
806
  pagination: PaginationSchema
656
807
  });
657
- const V1BillingPeriodSchema = z$1.object({
808
+ const BillingPeriodSchema = z$1.object({
658
809
  end: z$1.iso.datetime(),
659
810
  start: z$1.iso.datetime()
660
811
  });
661
- const V1BillingUsagePeriodSchema = z$1.object({
812
+ const CreditUsagePeriodSchema = z$1.object({
662
813
  end: z$1.string(),
663
- group_by: z$1.string().optional(),
664
- interval: z$1.string().optional(),
814
+ group_by: z$1.enum(["member", "project"]).optional(),
815
+ interval: z$1.enum([
816
+ "day",
817
+ "week",
818
+ "month"
819
+ ]).optional(),
665
820
  start: z$1.string()
666
821
  });
667
- const V1BulkMemberCreditLimitItemSchema = z$1.object({
822
+ const MemberCreditLimitUpdateSchema = z$1.object({
823
+ duration: z$1.enum(["permanent", "current_period"]).optional(),
668
824
  email: z$1.string().optional(),
669
825
  monthly_credit_limit: z$1.number().gte(0).nullable(),
670
826
  user_id: z$1.string().optional()
671
827
  });
672
- const V1BillingBulkSetMemberCreditLimitInputBodySchema = z$1.object({ members: z$1.array(V1BulkMemberCreditLimitItemSchema).min(1).max(1e3) });
673
- const V1BulkMemberCreditLimitResultSchema = z$1.object({
828
+ const SetMemberCreditLimitsRequestSchema = z$1.object({ members: z$1.array(MemberCreditLimitUpdateSchema).min(1).max(1e3) });
829
+ const MemberCreditLimitResultSchema = z$1.object({
830
+ approved_until: z$1.iso.datetime().optional(),
831
+ duration: z$1.enum(["current_period"]).optional(),
674
832
  email: z$1.string().optional(),
675
833
  error: z$1.string().optional(),
676
- status: z$1.string(),
834
+ status: z$1.enum(["success", "error"]),
677
835
  user_id: z$1.string().optional()
678
836
  });
679
837
  const V1BulkSetMemberCreditLimitInputBodySchema = z$1.object({
680
- members: z$1.array(V1BulkMemberCreditLimitItemSchema).min(1).max(50),
838
+ members: z$1.array(MemberCreditLimitUpdateSchema).min(1).max(50),
681
839
  workspace_id: z$1.string()
682
840
  });
683
- const V1BulkSetMemberCreditLimitOutputBodySchema = z$1.object({
841
+ const SetMemberCreditLimitsResponseSchema = z$1.object({
684
842
  failed: z$1.number(),
685
- results: z$1.array(V1BulkMemberCreditLimitResultSchema).nullable(),
843
+ results: z$1.array(MemberCreditLimitResultSchema).nullable(),
686
844
  successful: z$1.number(),
687
845
  total: z$1.number()
688
846
  });
@@ -703,8 +861,8 @@ const V1ConnectorResponseSchema = z$1.object({
703
861
  name: z$1.string(),
704
862
  url: z$1.string().optional()
705
863
  });
706
- const V1CreateEmbedUrlInputBodySchema = z$1.object({ parent_origin: z$1.string() });
707
- const V1CreateEmbedUrlOutputBodySchema = z$1.object({
864
+ const CreateEmbedUrlRequestSchema = z$1.object({ parent_origin: z$1.string() });
865
+ const CreateEmbedUrlResponseSchema = z$1.object({
708
866
  embed_url: z$1.string(),
709
867
  expires_at: z$1.iso.datetime()
710
868
  });
@@ -723,14 +881,27 @@ const V1CreateProjectResponseSchema = z$1.object({
723
881
  name: z$1.string().optional(),
724
882
  og_image_url: z$1.string().optional(),
725
883
  preview_url: z$1.string().optional(),
726
- project_type: z$1.string().optional(),
727
- publish_visibility: z$1.string().optional(),
728
- status: z$1.string().optional(),
884
+ project_type: z$1.enum(["project", "library"]).optional(),
885
+ publish_visibility: z$1.enum([
886
+ "public",
887
+ "private",
888
+ "workspace_only"
889
+ ]).optional(),
890
+ status: z$1.enum([
891
+ "in_progress",
892
+ "completed",
893
+ "failed"
894
+ ]).optional(),
729
895
  tech_stack: z$1.string().optional(),
730
896
  updated_at: z$1.iso.datetime().optional(),
731
897
  url: z$1.string().optional(),
732
898
  user_id: z$1.string().optional(),
733
- visibility: z$1.string().optional(),
899
+ visibility: z$1.enum([
900
+ "draft",
901
+ "private",
902
+ "workspace_view",
903
+ "public"
904
+ ]).optional(),
734
905
  workspace_id: z$1.string()
735
906
  });
736
907
  const V1CreateVariantInputBodySchema = z$1.object({
@@ -743,7 +914,8 @@ const V1CreateVariantOutputBodySchema = z$1.object({
743
914
  thread_id: z$1.string(),
744
915
  variant_id: z$1.string()
745
916
  });
746
- const V1CreditHistoryEntrySchema = z$1.object({
917
+ const CreditHistoryEntrySchema = z$1.object({
918
+ credit_grant_id: z$1.string(),
747
919
  credits_change: z$1.number(),
748
920
  event_type: z$1.enum([
749
921
  "granted",
@@ -853,8 +1025,8 @@ const V1ListStandardConnectorsResponseSchema = z$1.object({
853
1025
  has_more: z$1.boolean(),
854
1026
  total: z$1.number()
855
1027
  });
856
- const V1ListWorkspacesBodySchema = z$1.object({
857
- data: z$1.array(PublicV1WorkspaceWithMembershipSchema).nullable(),
1028
+ const WorkspacePageSchema = z$1.object({
1029
+ data: z$1.array(WorkspaceWithMembershipSchema).nullable(),
858
1030
  pagination: PaginationSchema
859
1031
  });
860
1032
  const V1MessageErrorSchema = z$1.object({
@@ -864,6 +1036,13 @@ const V1MessageErrorSchema = z$1.object({
864
1036
  const V1AiResponseSummarySchema = z$1.object({
865
1037
  awaiting_input: V1AwaitingInputSummarySchema.optional(),
866
1038
  commit_sha: z$1.string().optional(),
1039
+ completion_reason: z$1.enum([
1040
+ "finished",
1041
+ "stopped",
1042
+ "error",
1043
+ "policy_violation",
1044
+ "max_iterations"
1045
+ ]).optional(),
867
1046
  content: z$1.string(),
868
1047
  cost_credits: z$1.number().optional(),
869
1048
  edit_id: z$1.string().optional(),
@@ -891,6 +1070,13 @@ const V1ListMessagesOutputBodySchema = z$1.object({
891
1070
  const V1MessageResponseSchema = z$1.object({
892
1071
  awaiting_input: V1AwaitingInputSummarySchema.optional(),
893
1072
  commit_sha: z$1.string().optional(),
1073
+ completion_reason: z$1.enum([
1074
+ "finished",
1075
+ "stopped",
1076
+ "error",
1077
+ "policy_violation",
1078
+ "max_iterations"
1079
+ ]).optional(),
894
1080
  content: z$1.string(),
895
1081
  cost_credits: z$1.number().optional(),
896
1082
  created_at: z$1.string(),
@@ -906,7 +1092,7 @@ const V1MessageResponseSchema = z$1.object({
906
1092
  summary: z$1.string().optional()
907
1093
  });
908
1094
  const V1MoveProjectsToFolderInputBodySchema = z$1.object({ project_ids: z$1.array(z$1.string()).min(1).max(30).nullable() });
909
- const V1ProjectCollaboratorSchema = z$1.object({
1095
+ const ProjectCollaboratorSchema = z$1.object({
910
1096
  accepted_at: z$1.iso.datetime().optional(),
911
1097
  access_level: z$1.enum([
912
1098
  "owner",
@@ -921,10 +1107,11 @@ const V1ProjectCollaboratorSchema = z$1.object({
921
1107
  invited_by: z$1.string().optional(),
922
1108
  is_internal: z$1.boolean(),
923
1109
  is_workspace_member: z$1.boolean(),
1110
+ last_accessed_at: z$1.iso.datetime().nullable(),
924
1111
  user_id: z$1.string()
925
1112
  });
926
- const CursorListResponseV1ProjectCollaboratorSchema = z$1.object({
927
- data: z$1.array(V1ProjectCollaboratorSchema).nullable(),
1113
+ const ProjectCollaboratorPageSchema = z$1.object({
1114
+ data: z$1.array(ProjectCollaboratorSchema).nullable(),
928
1115
  pagination: PaginationSchema
929
1116
  });
930
1117
  const V1ProjectFileUploadUrlInputBodySchema = z$1.object({ content_type: z$1.string().optional() });
@@ -934,7 +1121,7 @@ const V1ProjectGitFilesResponseSchema = z$1.object({
934
1121
  ref: z$1.string(),
935
1122
  total: z$1.number()
936
1123
  });
937
- const V1ProjectResponseSchema = z$1.object({
1124
+ const ProjectSchema = z$1.object({
938
1125
  created_at: z$1.iso.datetime().optional(),
939
1126
  description: z$1.string().optional(),
940
1127
  display_name: z$1.string().optional(),
@@ -948,14 +1135,27 @@ const V1ProjectResponseSchema = z$1.object({
948
1135
  name: z$1.string().optional(),
949
1136
  og_image_url: z$1.string().optional(),
950
1137
  preview_url: z$1.string().optional(),
951
- project_type: z$1.string().optional(),
952
- publish_visibility: z$1.string().optional(),
953
- status: z$1.string().optional(),
1138
+ project_type: z$1.enum(["project", "library"]).optional(),
1139
+ publish_visibility: z$1.enum([
1140
+ "public",
1141
+ "private",
1142
+ "workspace_only"
1143
+ ]).optional(),
1144
+ status: z$1.enum([
1145
+ "in_progress",
1146
+ "completed",
1147
+ "failed"
1148
+ ]).optional(),
954
1149
  tech_stack: z$1.string().optional(),
955
1150
  updated_at: z$1.iso.datetime().optional(),
956
1151
  url: z$1.string().optional(),
957
1152
  user_id: z$1.string().optional(),
958
- visibility: z$1.string().optional(),
1153
+ visibility: z$1.enum([
1154
+ "draft",
1155
+ "private",
1156
+ "workspace_view",
1157
+ "public"
1158
+ ]).optional(),
959
1159
  workspace_id: z$1.string()
960
1160
  });
961
1161
  const V1ProjectSkillDtoSchema = z$1.object({
@@ -987,75 +1187,108 @@ const V1RemixInitInputBodySchema = z$1.object({
987
1187
  workspace_id: z$1.string()
988
1188
  });
989
1189
  const V1RemixInitOutputBodySchema = z$1.object({ job_id: z$1.string() });
990
- const V1RemixProgressResultSchema = z$1.object({
1190
+ const RemixResultSchema = z$1.object({
991
1191
  project_id: z$1.string(),
992
1192
  warnings: z$1.array(RemixWarningSchema).nullish()
993
1193
  });
994
- const PublicV1RemixJobOutputBodySchema = z$1.object({
1194
+ const RemixJobSchema = z$1.object({
995
1195
  error_code: z$1.string().optional(),
996
1196
  error_message: z$1.string().optional(),
997
- result: V1RemixProgressResultSchema.optional(),
998
- status: z$1.string(),
1197
+ result: RemixResultSchema.optional(),
1198
+ status: z$1.enum([
1199
+ "preparing",
1200
+ "running",
1201
+ "completed",
1202
+ "error",
1203
+ "unknown"
1204
+ ]),
999
1205
  step: RemixJobStepInfoSchema.optional()
1000
1206
  });
1001
1207
  const V1RemixProgressOutputBodySchema = z$1.object({
1002
1208
  error_code: z$1.string().optional(),
1003
1209
  error_message: z$1.string().optional(),
1004
- result: V1RemixProgressResultSchema.optional(),
1210
+ result: RemixResultSchema.optional(),
1005
1211
  status: z$1.string(),
1006
1212
  step: RemixJobStepInfoSchema.optional()
1007
1213
  });
1008
1214
  const V1RemoveConnectorOutputBodySchema = z$1.object({ success: z$1.boolean() });
1009
- const V1SecurityFindingSchema = z$1.object({
1215
+ const SecurityFindingSchema = z$1.object({
1010
1216
  category: z$1.string().optional(),
1011
1217
  created_at: z$1.iso.datetime(),
1012
1218
  description: z$1.string().optional(),
1013
1219
  details: z$1.string().optional(),
1014
1220
  finding_id: z$1.string(),
1015
1221
  first_seen_scan_id: z$1.string().optional(),
1016
- level: z$1.string(),
1222
+ level: z$1.enum([
1223
+ "error",
1224
+ "warn",
1225
+ "info"
1226
+ ]),
1017
1227
  link: z$1.string().optional(),
1018
1228
  metadata: z$1.record(z$1.string(), z$1.unknown()).optional(),
1019
1229
  name: z$1.string(),
1020
1230
  recurrence: z$1.number(),
1021
1231
  remediation_difficulty: z$1.string().optional(),
1022
1232
  scanner_name: z$1.string(),
1023
- status: z$1.string(),
1233
+ status: z$1.enum([
1234
+ "open",
1235
+ "fixed",
1236
+ "ignored"
1237
+ ]),
1024
1238
  updated_at: z$1.iso.datetime()
1025
1239
  });
1026
- const V1SecurityScanActorSchema = z$1.object({
1240
+ const SecurityScanActorSchema = z$1.object({
1027
1241
  email: z$1.string().optional(),
1028
1242
  id: z$1.string().optional(),
1029
1243
  name: z$1.string().optional(),
1030
- type: z$1.string()
1244
+ type: z$1.enum(["user", "system"])
1031
1245
  });
1032
- const V1SecurityScanSummarySchema = z$1.object({
1246
+ const SecurityScanSchema = z$1.object({
1033
1247
  commit_sha: z$1.string().optional(),
1034
1248
  finished_at: z$1.iso.datetime().optional(),
1035
1249
  requested_scanners: z$1.array(z$1.string()).nullable(),
1036
1250
  scan_id: z$1.string(),
1037
1251
  started_at: z$1.iso.datetime(),
1038
- status: z$1.string(),
1039
- trigger_source: z$1.string(),
1040
- triggered_by: V1SecurityScanActorSchema
1252
+ status: z$1.enum([
1253
+ "running",
1254
+ "completed",
1255
+ "failed"
1256
+ ]),
1257
+ trigger_source: z$1.enum([
1258
+ "workflow",
1259
+ "user",
1260
+ "ui_auto",
1261
+ "aikido_import",
1262
+ "manage_findings",
1263
+ "app_mcp_deep_auto",
1264
+ "hvt_scheduled",
1265
+ "workspace_scheduled",
1266
+ "enterprise_batch",
1267
+ "gitsync_pull"
1268
+ ]),
1269
+ triggered_by: SecurityScanActorSchema
1041
1270
  });
1042
- const CursorListResponseV1SecurityScanSummarySchema = z$1.object({
1043
- data: z$1.array(V1SecurityScanSummarySchema).nullable(),
1271
+ const SecurityScanPageSchema = z$1.object({
1272
+ data: z$1.array(SecurityScanSchema).nullable(),
1044
1273
  pagination: PaginationSchema
1045
1274
  });
1046
- const V1SecurityScannerRunSchema = z$1.object({
1275
+ const SecurityScannerRunSchema = z$1.object({
1047
1276
  commit_sha: z$1.string().optional(),
1048
1277
  error_message: z$1.string().optional(),
1049
1278
  finished_at: z$1.iso.datetime().optional(),
1050
1279
  scanner_name: z$1.string(),
1051
1280
  scanner_version: z$1.string().optional(),
1052
1281
  started_at: z$1.iso.datetime(),
1053
- status: z$1.string()
1282
+ status: z$1.enum([
1283
+ "succeeded",
1284
+ "failed",
1285
+ "skipped"
1286
+ ])
1054
1287
  });
1055
- const V1GetSecurityScanOutputBodySchema = z$1.object({
1056
- findings: z$1.array(V1SecurityFindingSchema).nullable(),
1057
- scan: V1SecurityScanSummarySchema,
1058
- scanner_runs: z$1.array(V1SecurityScannerRunSchema).nullable()
1288
+ const SecurityScanDetailSchema = z$1.object({
1289
+ findings: z$1.array(SecurityFindingSchema).nullable(),
1290
+ scan: SecurityScanSchema,
1291
+ scanner_runs: z$1.array(SecurityScannerRunSchema).nullable()
1059
1292
  });
1060
1293
  const V1SelectedLibrarySchema = z$1.object({ project_id: z$1.string() });
1061
1294
  const V1SendMessageOutputBodySchema = z$1.object({
@@ -1078,10 +1311,14 @@ const V1SetProjectVisibilityInputBodySchema = z$1.object({ visibility: z$1.enum(
1078
1311
  const V1SetProjectVisibilityOutputBodySchema = z$1.object({ visibility: z$1.string() });
1079
1312
  const V1SetWorkspaceKnowledgeInputBodySchema = z$1.object({ content: z$1.string() });
1080
1313
  const V1TriggerSecurityScanInputBodySchema = z$1.object({ project_id: z$1.string() });
1081
- const V1TriggerSecurityScanResponseBodySchema = z$1.object({
1314
+ const TriggerSecurityScanResponseSchema = z$1.object({
1082
1315
  message: z$1.string().optional(),
1083
1316
  scan_id: z$1.string(),
1084
- status: z$1.string()
1317
+ status: z$1.enum([
1318
+ "started",
1319
+ "running",
1320
+ "completed"
1321
+ ])
1085
1322
  });
1086
1323
  const V1UnscopedFileSchema = z$1.object({
1087
1324
  file_id: z$1.string(),
@@ -1160,7 +1397,7 @@ const V1UpdateWorkspaceSettingsInputBodySchema = z$1.object({
1160
1397
  default_monthly_member_credit_limit: z$1.number().gte(0).nullish(),
1161
1398
  workspace_id: z$1.string()
1162
1399
  });
1163
- const V1UpdateWorkspaceSettingsNestedInputBodySchema = z$1.object({ default_monthly_member_credit_limit: z$1.number().gte(0).nullish() });
1400
+ const UpdateWorkspaceSettingsRequestSchema = z$1.object({ default_monthly_member_credit_limit: z$1.number().gte(0).nullish() });
1164
1401
  const V1UsagePeriodSchema = z$1.object({
1165
1402
  end: z$1.string(),
1166
1403
  granularity: z$1.string().optional(),
@@ -1189,34 +1426,60 @@ const V1WorkspaceAuditLogsBodySchema = z$1.object({
1189
1426
  data: z$1.array(V1WorkspaceAuditLogEntrySchema).nullable(),
1190
1427
  pagination: PaginationSchema
1191
1428
  });
1192
- const V1WorkspaceCreditHistoryBodySchema = z$1.object({
1193
- data: z$1.array(V1CreditHistoryEntrySchema).nullable(),
1429
+ const CreditHistoryPageSchema = z$1.object({
1430
+ data: z$1.array(CreditHistoryEntrySchema).nullable(),
1194
1431
  pagination: PaginationSchema,
1195
1432
  total: z$1.number().optional(),
1196
1433
  total_is_capped: z$1.boolean().optional()
1197
1434
  });
1198
- const V1WorkspaceCreditsExpiringGrantSchema = z$1.object({
1199
- applicability: z$1.string().optional(),
1435
+ const ExpiringCreditGrantSchema = z$1.object({
1436
+ applicability: z$1.enum([
1437
+ "generic",
1438
+ "build_time",
1439
+ "build_mode",
1440
+ "plan_mode"
1441
+ ]).optional(),
1200
1442
  credits: z$1.number(),
1201
1443
  expires_at: z$1.iso.datetime(),
1202
- grant_type: z$1.string()
1444
+ grant_type: z$1.enum([
1445
+ "billing",
1446
+ "rollover",
1447
+ "topup",
1448
+ "commitment",
1449
+ "cashback",
1450
+ "granted",
1451
+ "overage",
1452
+ "unlimited",
1453
+ "allowance"
1454
+ ])
1203
1455
  });
1204
- const V1WorkspaceCreditsGrantTypeBalanceSchema = z$1.object({
1205
- grant_type: z$1.string(),
1456
+ const CreditGrantTypeBalanceSchema = z$1.object({
1457
+ grant_type: z$1.enum([
1458
+ "billing",
1459
+ "daily",
1460
+ "rollover",
1461
+ "topup",
1462
+ "commitment",
1463
+ "cashback",
1464
+ "granted",
1465
+ "overage",
1466
+ "unlimited",
1467
+ "allowance"
1468
+ ]),
1206
1469
  granted: z$1.number(),
1207
1470
  remaining: z$1.number()
1208
1471
  });
1209
- const V1WorkspaceCreditsBodySchema = z$1.object({
1210
- billing_period: V1BillingPeriodSchema,
1472
+ const CreditBalanceSchema = z$1.object({
1473
+ billing_period: BillingPeriodSchema,
1211
1474
  daily_limit: z$1.number(),
1212
1475
  daily_remaining: z$1.number(),
1213
- expiring_grants: z$1.array(V1WorkspaceCreditsExpiringGrantSchema).nullable(),
1214
- grant_type_balances: z$1.array(V1WorkspaceCreditsGrantTypeBalanceSchema).nullable(),
1476
+ expiring_grants: z$1.array(ExpiringCreditGrantSchema).nullable(),
1477
+ grant_type_balances: z$1.array(CreditGrantTypeBalanceSchema).nullable(),
1215
1478
  total_billing_period_used: z$1.number(),
1216
1479
  total_granted: z$1.number(),
1217
1480
  total_remaining: z$1.number()
1218
1481
  });
1219
- const V1WorkspaceGroupSchema = z$1.object({
1482
+ const WorkspaceGroupSchema = z$1.object({
1220
1483
  created_at: z$1.iso.datetime(),
1221
1484
  description: z$1.string().optional(),
1222
1485
  id: z$1.string(),
@@ -1226,25 +1489,37 @@ const V1WorkspaceGroupSchema = z$1.object({
1226
1489
  updated_at: z$1.iso.datetime(),
1227
1490
  workspace_id: z$1.string()
1228
1491
  });
1229
- const CursorListResponseV1WorkspaceGroupSchema = z$1.object({
1230
- data: z$1.array(V1WorkspaceGroupSchema).nullable(),
1492
+ const WorkspaceGroupPageSchema = z$1.object({
1493
+ data: z$1.array(WorkspaceGroupSchema).nullable(),
1231
1494
  pagination: PaginationSchema
1232
1495
  });
1233
- const V1WorkspaceInsightsActivityFreshnessSchema = z$1.object({
1496
+ const WorkspaceInsightsActivityFreshnessSchema = z$1.object({
1234
1497
  edits_as_of: z$1.iso.datetime().optional(),
1235
1498
  visitors_as_of: z$1.iso.datetime().optional()
1236
1499
  });
1237
- const V1WorkspaceInsightsEdgeFunctionSchema = z$1.object({ name: z$1.string() });
1238
- const V1WorkspaceInsightsFindingSchema = z$1.object({
1239
- category: z$1.string(),
1500
+ const WorkspaceInsightsEdgeFunctionSchema = z$1.object({ name: z$1.string() });
1501
+ const WorkspaceInsightsFindingSchema = z$1.object({
1502
+ category: z$1.enum([
1503
+ "security",
1504
+ "data",
1505
+ "exposure",
1506
+ "credentials",
1507
+ "access",
1508
+ "integrations",
1509
+ "runtime"
1510
+ ]),
1240
1511
  description: z$1.string(),
1241
1512
  id: z$1.string(),
1242
1513
  project_count: z$1.number(),
1243
- severity: z$1.string(),
1514
+ severity: z$1.enum([
1515
+ "needs_review",
1516
+ "review_recommended",
1517
+ "no_review_needed"
1518
+ ]),
1244
1519
  title: z$1.string()
1245
1520
  });
1246
- const V1WorkspaceInsightsOwnerSchema = z$1.object({ display_name: z$1.string().optional() });
1247
- const V1WorkspaceInsightsReasonValuesSchema = z$1.object({
1521
+ const WorkspaceInsightsOwnerSchema = z$1.object({ display_name: z$1.string().optional() });
1522
+ const WorkspaceInsightsReasonValuesSchema = z$1.object({
1248
1523
  connector_count: z$1.number().optional(),
1249
1524
  edge_function_count: z$1.number().optional(),
1250
1525
  error_count: z$1.number().optional(),
@@ -1254,20 +1529,32 @@ const V1WorkspaceInsightsReasonValuesSchema = z$1.object({
1254
1529
  shared_user_count: z$1.number().optional(),
1255
1530
  warning_count: z$1.number().optional()
1256
1531
  });
1257
- const V1WorkspaceInsightsReasonSchema = z$1.object({
1258
- category: z$1.string(),
1532
+ const WorkspaceInsightsReasonSchema = z$1.object({
1533
+ category: z$1.enum([
1534
+ "security",
1535
+ "data",
1536
+ "exposure",
1537
+ "credentials",
1538
+ "access",
1539
+ "integrations",
1540
+ "runtime"
1541
+ ]),
1259
1542
  detail: z$1.string(),
1260
1543
  id: z$1.string(),
1261
1544
  label: z$1.string(),
1262
- severity: z$1.string(),
1263
- values: V1WorkspaceInsightsReasonValuesSchema.optional()
1545
+ severity: z$1.enum([
1546
+ "needs_review",
1547
+ "review_recommended",
1548
+ "no_review_needed"
1549
+ ]),
1550
+ values: WorkspaceInsightsReasonValuesSchema.optional()
1264
1551
  });
1265
- const V1WorkspaceInsightsReviewPrioritySchema = z$1.object({
1552
+ const WorkspaceInsightsReviewPrioritySchema = z$1.object({
1266
1553
  needs_review: z$1.number(),
1267
1554
  no_review_needed: z$1.number(),
1268
1555
  review_recommended: z$1.number()
1269
1556
  });
1270
- const V1WorkspaceInsightsSignalsSchema = z$1.object({
1557
+ const WorkspaceInsightsSignalsSchema = z$1.object({
1271
1558
  chat_attachment_count: z$1.number(),
1272
1559
  connector_count: z$1.number(),
1273
1560
  edge_function_count: z$1.number(),
@@ -1298,12 +1585,16 @@ const V1WorkspaceInsightsSignalsSchema = z$1.object({
1298
1585
  supply_chain_warning_count: z$1.number(),
1299
1586
  warning_count: z$1.number()
1300
1587
  });
1301
- const V1WorkspaceInsightsProjectSchema = z$1.object({
1302
- activity_group: z$1.string().optional(),
1588
+ const WorkspaceInsightsProjectSchema = z$1.object({
1589
+ activity_group: z$1.enum([
1590
+ "last_14_days",
1591
+ "last_60_days",
1592
+ "older"
1593
+ ]).optional(),
1303
1594
  connectors: z$1.array(z$1.string()).nullish(),
1304
1595
  description: z$1.string().optional(),
1305
1596
  display_name: z$1.string().optional(),
1306
- edge_functions: z$1.array(V1WorkspaceInsightsEdgeFunctionSchema).nullish(),
1597
+ edge_functions: z$1.array(WorkspaceInsightsEdgeFunctionSchema).nullish(),
1307
1598
  edit_count: z$1.number(),
1308
1599
  edits_24h: z$1.number(),
1309
1600
  edits_30d: z$1.number(),
@@ -1313,76 +1604,110 @@ const V1WorkspaceInsightsProjectSchema = z$1.object({
1313
1604
  is_published: z$1.boolean().optional(),
1314
1605
  last_edited_at: z$1.iso.datetime().optional(),
1315
1606
  last_security_scan_at: z$1.iso.datetime().optional(),
1316
- matched_reason: V1WorkspaceInsightsReasonSchema.optional(),
1607
+ matched_reason: WorkspaceInsightsReasonSchema.optional(),
1317
1608
  message_count: z$1.number(),
1318
1609
  name: z$1.string().optional(),
1319
1610
  og_image_url: z$1.string().optional(),
1320
- owner: V1WorkspaceInsightsOwnerSchema.optional(),
1321
- publish_visibility: z$1.string().optional(),
1322
- review_priority: z$1.string().optional(),
1323
- review_priority_explanation: z$1.array(V1WorkspaceInsightsReasonSchema).nullable(),
1324
- signals: V1WorkspaceInsightsSignalsSchema,
1611
+ owner: WorkspaceInsightsOwnerSchema.optional(),
1612
+ publish_visibility: z$1.enum([
1613
+ "public",
1614
+ "private",
1615
+ "workspace_only"
1616
+ ]).optional(),
1617
+ review_priority: z$1.enum([
1618
+ "needs_review",
1619
+ "review_recommended",
1620
+ "no_review_needed",
1621
+ "unscored"
1622
+ ]).optional(),
1623
+ review_priority_explanation: z$1.array(WorkspaceInsightsReasonSchema).nullable(),
1624
+ signals: WorkspaceInsightsSignalsSchema,
1325
1625
  url: z$1.string().optional(),
1326
- visibility: z$1.string().optional(),
1626
+ visibility: z$1.enum([
1627
+ "draft",
1628
+ "private",
1629
+ "workspace_view",
1630
+ "public"
1631
+ ]).optional(),
1327
1632
  visitors_24h: z$1.number(),
1328
1633
  visitors_30d: z$1.number(),
1329
1634
  visitors_7d: z$1.number()
1330
1635
  });
1331
- const V1WorkspaceInsightsProjectsBodySchema = z$1.object({
1332
- activity_as_of: V1WorkspaceInsightsActivityFreshnessSchema.optional(),
1333
- applied_finding: V1WorkspaceInsightsFindingSchema.optional(),
1636
+ const WorkspaceInsightsProjectPageSchema = z$1.object({
1637
+ activity_as_of: WorkspaceInsightsActivityFreshnessSchema.optional(),
1638
+ applied_finding: WorkspaceInsightsFindingSchema.optional(),
1334
1639
  as_of: z$1.iso.datetime().optional(),
1335
- data: z$1.array(V1WorkspaceInsightsProjectSchema).nullable(),
1640
+ data: z$1.array(WorkspaceInsightsProjectSchema).nullable(),
1336
1641
  pagination: PaginationSchema,
1337
1642
  total: z$1.number()
1338
1643
  });
1339
- const V1WorkspaceInsightsStatSchema = z$1.object({
1644
+ const WorkspaceInsightsStatSchema = z$1.object({
1340
1645
  delta_30d: z$1.number(),
1341
1646
  delta_window: z$1.string(),
1342
1647
  value: z$1.number()
1343
1648
  });
1344
- const V1WorkspaceInsightsSummarySchema = z$1.object({
1345
- externally_published: V1WorkspaceInsightsStatSchema,
1346
- risk: V1WorkspaceInsightsReviewPrioritySchema,
1347
- total_projects: V1WorkspaceInsightsStatSchema,
1348
- workspace_members: V1WorkspaceInsightsStatSchema
1649
+ const WorkspaceInsightsSummarySchema = z$1.object({
1650
+ externally_published: WorkspaceInsightsStatSchema,
1651
+ risk: WorkspaceInsightsReviewPrioritySchema,
1652
+ total_projects: WorkspaceInsightsStatSchema,
1653
+ workspace_members: WorkspaceInsightsStatSchema
1349
1654
  });
1350
- const V1WorkspaceInsightsBodySchema = z$1.object({
1655
+ const WorkspaceInsightsSchema = z$1.object({
1351
1656
  as_of: z$1.iso.datetime().optional(),
1352
- findings: z$1.array(V1WorkspaceInsightsFindingSchema).nullable(),
1353
- summary: V1WorkspaceInsightsSummarySchema
1657
+ findings: z$1.array(WorkspaceInsightsFindingSchema),
1658
+ summary: WorkspaceInsightsSummarySchema
1354
1659
  });
1355
- const V1WorkspaceMemberGroupSchema = z$1.object({
1660
+ const WorkspaceMemberGroupSchema = z$1.object({
1356
1661
  id: z$1.string(),
1357
1662
  name: z$1.string()
1358
1663
  });
1359
- const V1WorkspaceMemberSchema = z$1.object({
1664
+ const WorkspaceMemberSchema = z$1.object({
1360
1665
  display_name: z$1.string().optional(),
1361
1666
  email: z$1.string().optional(),
1362
- groups: z$1.array(V1WorkspaceMemberGroupSchema).optional(),
1667
+ groups: z$1.array(WorkspaceMemberGroupSchema).optional(),
1363
1668
  invited_at: z$1.iso.datetime().optional(),
1364
1669
  joined_at: z$1.iso.datetime().optional(),
1365
1670
  monthly_credit_limit: z$1.number().optional(),
1366
- role: z$1.string(),
1671
+ role: z$1.enum([
1672
+ "owner",
1673
+ "admin",
1674
+ "member",
1675
+ "viewer",
1676
+ "collaborator"
1677
+ ]),
1367
1678
  user_id: z$1.string(),
1368
1679
  workspace_id: z$1.string()
1369
1680
  });
1370
- const CursorListResponseV1WorkspaceMemberSchema = z$1.object({
1371
- data: z$1.array(V1WorkspaceMemberSchema).nullable(),
1681
+ const WorkspaceMemberPageSchema = z$1.object({
1682
+ data: z$1.array(WorkspaceMemberSchema).nullable(),
1372
1683
  pagination: PaginationSchema
1373
1684
  });
1374
- const V1WorkspaceSettingsBodySchema = z$1.object({
1685
+ const WorkspaceSettingsSchema = z$1.object({
1375
1686
  billing_period_end_date: z$1.iso.datetime().optional(),
1376
1687
  billing_period_start_date: z$1.iso.datetime().optional(),
1377
1688
  default_monthly_member_credit_limit: z$1.number().optional(),
1378
- default_project_visibility: z$1.string().optional(),
1689
+ default_project_visibility: z$1.enum([
1690
+ "draft",
1691
+ "private",
1692
+ "workspace_view",
1693
+ "public"
1694
+ ]).optional(),
1379
1695
  enable_pii: z$1.boolean(),
1380
1696
  enforce_sso: z$1.boolean(),
1381
1697
  id: z$1.string(),
1382
1698
  name: z$1.string(),
1383
1699
  num_seats: z$1.number().optional(),
1384
- plan: z$1.string(),
1385
- publishing_policy: z$1.string().optional()
1700
+ plan: z$1.enum([
1701
+ "free",
1702
+ "pro",
1703
+ "business",
1704
+ "enterprise"
1705
+ ]),
1706
+ publishing_policy: z$1.enum([
1707
+ "org_only",
1708
+ "workspace_only",
1709
+ "disabled"
1710
+ ]).optional()
1386
1711
  });
1387
1712
  const V1WorkspaceSkillDtoSchema = z$1.object({
1388
1713
  description: z$1.string(),
@@ -1407,37 +1732,37 @@ const V1WorkspaceUsageBreakdownEntrySchema = z$1.object({
1407
1732
  user_id: z$1.string()
1408
1733
  });
1409
1734
  const V1WorkspaceUsageBreakdownBodySchema = z$1.object({
1410
- billing_period: V1BillingPeriodSchema,
1735
+ billing_period: BillingPeriodSchema,
1411
1736
  data: z$1.array(V1WorkspaceUsageBreakdownEntrySchema).nullable(),
1412
1737
  member_count: z$1.number(),
1413
1738
  pagination: PaginationSchema
1414
1739
  });
1415
- const V1WorkspaceUsageConnectorBreakdownSchema = z$1.object({
1740
+ const ConnectorUsageSchema = z$1.object({
1416
1741
  credits: z$1.number(),
1417
1742
  key: z$1.string(),
1418
1743
  label: z$1.string()
1419
1744
  });
1420
- const V1WorkspaceUsageDatabaseBreakdownSchema = z$1.object({
1745
+ const DatabaseUsageSchema = z$1.object({
1421
1746
  credits: z$1.number(),
1422
1747
  key: z$1.enum(["database_server", "database_storage"]),
1423
1748
  label: z$1.string()
1424
1749
  });
1425
- const V1WorkspaceUsageGatewayModelSchema = z$1.object({
1750
+ const GatewayModelUsageSchema = z$1.object({
1426
1751
  credits: z$1.number(),
1427
1752
  name: z$1.string(),
1428
1753
  provider: z$1.string()
1429
1754
  });
1430
- const V1BillingUsageRowSchema = z$1.object({
1755
+ const CreditUsageEntrySchema = z$1.object({
1431
1756
  build: z$1.number(),
1432
1757
  connectors: z$1.number(),
1433
- connectors_breakdown: z$1.array(V1WorkspaceUsageConnectorBreakdownSchema).nullish(),
1758
+ connectors_breakdown: z$1.array(ConnectorUsageSchema).nullish(),
1434
1759
  database: z$1.number(),
1435
- database_breakdown: z$1.array(V1WorkspaceUsageDatabaseBreakdownSchema).nullish(),
1760
+ database_breakdown: z$1.array(DatabaseUsageSchema).nullish(),
1436
1761
  display_name: z$1.string().optional(),
1437
1762
  email: z$1.string().optional(),
1438
1763
  functions: z$1.number(),
1439
1764
  gateway: z$1.number(),
1440
- gateway_models: z$1.array(V1WorkspaceUsageGatewayModelSchema).nullish(),
1765
+ gateway_models: z$1.array(GatewayModelUsageSchema).nullish(),
1441
1766
  network: z$1.number(),
1442
1767
  period_end: z$1.string().optional(),
1443
1768
  period_start: z$1.string().optional(),
@@ -1448,11 +1773,11 @@ const V1BillingUsageRowSchema = z$1.object({
1448
1773
  total: z$1.number(),
1449
1774
  user_id: z$1.string().optional()
1450
1775
  });
1451
- const V1BillingUsageBodySchema = z$1.object({
1452
- data: z$1.array(V1BillingUsageRowSchema).nullable(),
1776
+ const CreditUsagePageSchema = z$1.object({
1777
+ data: z$1.array(CreditUsageEntrySchema).nullable(),
1453
1778
  entity_count: z$1.number().optional(),
1454
1779
  pagination: PaginationSchema,
1455
- period: V1BillingUsagePeriodSchema,
1780
+ period: CreditUsagePeriodSchema,
1456
1781
  workspace_total: z$1.number()
1457
1782
  });
1458
1783
  const V1WorkspaceUsageMeBodySchema = z$1.object({
@@ -1482,12 +1807,12 @@ const V1WorkspaceUsageProjectsBodySchema = z$1.object({
1482
1807
  const V1WorkspaceUsageTimeseriesBucketSchema = z$1.object({
1483
1808
  build: z$1.number(),
1484
1809
  connectors: z$1.number(),
1485
- connectors_breakdown: z$1.array(V1WorkspaceUsageConnectorBreakdownSchema).nullable(),
1810
+ connectors_breakdown: z$1.array(ConnectorUsageSchema).nullable(),
1486
1811
  database: z$1.number(),
1487
- database_breakdown: z$1.array(V1WorkspaceUsageDatabaseBreakdownSchema).nullable(),
1812
+ database_breakdown: z$1.array(DatabaseUsageSchema).nullable(),
1488
1813
  functions: z$1.number(),
1489
1814
  gateway: z$1.number(),
1490
- gateway_models: z$1.array(V1WorkspaceUsageGatewayModelSchema).nullable(),
1815
+ gateway_models: z$1.array(GatewayModelUsageSchema).nullable(),
1491
1816
  network: z$1.number(),
1492
1817
  period_end: z$1.string(),
1493
1818
  period_start: z$1.string(),
@@ -1530,24 +1855,172 @@ const AddProjectsToFolderResultSchema = z$1.object({
1530
1855
  total_requested: z$1.number(),
1531
1856
  visibility_updated: z$1.array(VisibilityChangeInfoSchema).nullable()
1532
1857
  });
1533
- const WorkspaceAnalyticsResponseSchema = z$1.object({ timeSeries: TimeSeriesGroupSchema });
1858
+ const WorkspaceAnalyticsSchema = z$1.object({ timeSeries: TimeSeriesGroupSchema });
1859
+ //#endregion
1860
+ //#region src/schemas-deprecated.ts
1861
+ /** @deprecated Renamed to PiiLabelPageSchema. */
1862
+ const CursorListResponsePublicV1PiiLabelSchema = PiiLabelPageSchema;
1863
+ /** @deprecated Renamed to ProjectSummaryPageSchema. */
1864
+ const CursorListResponsePublicV1ProjectListItemSchema = ProjectSummaryPageSchema;
1865
+ /** @deprecated Renamed to ProjectCollaboratorPageSchema. */
1866
+ const CursorListResponseV1ProjectCollaboratorSchema = ProjectCollaboratorPageSchema;
1867
+ /** @deprecated Renamed to SecurityScanPageSchema. */
1868
+ const CursorListResponseV1SecurityScanSummarySchema = SecurityScanPageSchema;
1869
+ /** @deprecated Renamed to WorkspaceGroupPageSchema. */
1870
+ const CursorListResponseV1WorkspaceGroupSchema = WorkspaceGroupPageSchema;
1871
+ /** @deprecated Renamed to WorkspaceMemberPageSchema. */
1872
+ const CursorListResponseV1WorkspaceMemberSchema = WorkspaceMemberPageSchema;
1873
+ /** @deprecated Renamed to CurrentUserSchema. */
1874
+ const GetMeOutputBodySchema = CurrentUserSchema;
1875
+ /** @deprecated Renamed to CurrentUserWorkspaceSchema. */
1876
+ const GetMeWorkspaceSchema = CurrentUserWorkspaceSchema;
1877
+ /** @deprecated Renamed to AnalyticsBreakdownPointSchema. */
1878
+ const ListDataPointSchema = AnalyticsBreakdownPointSchema;
1879
+ /** @deprecated Renamed to AnalyticsBreakdownSchema. */
1880
+ const ListDataSchema = AnalyticsBreakdownSchema;
1881
+ /** @deprecated Renamed to AnalyticsBreakdownGroupSchema. */
1882
+ const ListsGroupSchema = AnalyticsBreakdownGroupSchema;
1883
+ /** @deprecated Renamed to AnalyticsTrendSchema. */
1884
+ const ProjectTrendResponseSchema = AnalyticsTrendSchema;
1885
+ /** @deprecated Renamed to GetWorkspaceResponseSchema. */
1886
+ const PublicV1GetWorkspaceBodySchema = GetWorkspaceResponseSchema;
1887
+ /** @deprecated Renamed to UpdateProjectRequestSchema. */
1888
+ const PublicV1PatchProjectBodySchema = UpdateProjectRequestSchema;
1889
+ /** @deprecated Renamed to PiiLabelSchema. */
1890
+ const PublicV1PiiLabelSchema = PiiLabelSchema;
1891
+ /** @deprecated Renamed to ProjectAnalyticsSchema. */
1892
+ const PublicV1ProjectAnalyticsBodySchema = ProjectAnalyticsSchema;
1893
+ /** @deprecated Renamed to ProjectSummarySchema. */
1894
+ const PublicV1ProjectListItemSchema = ProjectSummarySchema;
1895
+ /** @deprecated Renamed to PublishAudienceTargetSchema. */
1896
+ const PublicV1PublishAudienceTargetSchema = PublishAudienceTargetSchema;
1897
+ /** @deprecated Renamed to PublishProjectRequestSchema. */
1898
+ const PublicV1PublishProjectInputBodySchema = PublishProjectRequestSchema;
1899
+ /** @deprecated Renamed to PublishProjectResponseSchema. */
1900
+ const PublicV1PublishProjectResponseSchema = PublishProjectResponseSchema;
1901
+ /** @deprecated Renamed to DeploymentSchema. */
1902
+ const PublicV1PublishStatusResponseSchema = DeploymentSchema;
1903
+ /** @deprecated Renamed to RemixJobSchema. */
1904
+ const PublicV1RemixJobOutputBodySchema = RemixJobSchema;
1905
+ /** @deprecated Renamed to UpdatePublishSettingsRequestSchema. */
1906
+ const PublicV1UpdatePublishSettingsInputBodySchema = UpdatePublishSettingsRequestSchema;
1907
+ /** @deprecated Renamed to PublishSettingsSchema. */
1908
+ const PublicV1UpdatePublishSettingsResponseSchema = PublishSettingsSchema;
1909
+ /** @deprecated Renamed to WorkspaceMembershipSchema. */
1910
+ const PublicV1WorkspaceMemberSchema = WorkspaceMembershipSchema;
1911
+ /** @deprecated Renamed to WorkspaceSchema. */
1912
+ const PublicV1WorkspaceSchema = WorkspaceSchema;
1913
+ /** @deprecated Renamed to WorkspaceWithMembershipSchema. */
1914
+ const PublicV1WorkspaceWithMembershipSchema = WorkspaceWithMembershipSchema;
1915
+ /** @deprecated Renamed to SetMemberCreditLimitsRequestSchema. */
1916
+ const V1BillingBulkSetMemberCreditLimitInputBodySchema = SetMemberCreditLimitsRequestSchema;
1917
+ /** @deprecated Renamed to MemberCreditLimitSchema. */
1918
+ const V1BillingCreditLimitRowSchema = MemberCreditLimitSchema;
1919
+ /** @deprecated Renamed to CreditLimitPageSchema. */
1920
+ const V1BillingCreditLimitsBodySchema = CreditLimitPageSchema;
1921
+ /** @deprecated Renamed to BillingPeriodSchema. */
1922
+ const V1BillingPeriodSchema = BillingPeriodSchema;
1923
+ /** @deprecated Renamed to CreditUsagePageSchema. */
1924
+ const V1BillingUsageBodySchema = CreditUsagePageSchema;
1925
+ /** @deprecated Renamed to CreditUsagePeriodSchema. */
1926
+ const V1BillingUsagePeriodSchema = CreditUsagePeriodSchema;
1927
+ /** @deprecated Renamed to CreditUsageEntrySchema. */
1928
+ const V1BillingUsageRowSchema = CreditUsageEntrySchema;
1929
+ /** @deprecated Renamed to MemberCreditLimitUpdateSchema. */
1930
+ const V1BulkMemberCreditLimitItemSchema = MemberCreditLimitUpdateSchema;
1931
+ /** @deprecated Renamed to MemberCreditLimitResultSchema. */
1932
+ const V1BulkMemberCreditLimitResultSchema = MemberCreditLimitResultSchema;
1933
+ /** @deprecated Renamed to SetMemberCreditLimitsResponseSchema. */
1934
+ const V1BulkSetMemberCreditLimitOutputBodySchema = SetMemberCreditLimitsResponseSchema;
1935
+ /** @deprecated Renamed to CreateEmbedUrlRequestSchema. */
1936
+ const V1CreateEmbedUrlInputBodySchema = CreateEmbedUrlRequestSchema;
1937
+ /** @deprecated Renamed to CreateEmbedUrlResponseSchema. */
1938
+ const V1CreateEmbedUrlOutputBodySchema = CreateEmbedUrlResponseSchema;
1939
+ /** @deprecated Renamed to CreditHistoryEntrySchema. */
1940
+ const V1CreditHistoryEntrySchema = CreditHistoryEntrySchema;
1941
+ /** @deprecated Renamed to SecurityScanDetailSchema. */
1942
+ const V1GetSecurityScanOutputBodySchema = SecurityScanDetailSchema;
1943
+ /** @deprecated Renamed to WorkspacePageSchema. */
1944
+ const V1ListWorkspacesBodySchema = WorkspacePageSchema;
1945
+ /** @deprecated Renamed to ProjectCollaboratorSchema. */
1946
+ const V1ProjectCollaboratorSchema = ProjectCollaboratorSchema;
1947
+ /** @deprecated Renamed to ProjectSchema. */
1948
+ const V1ProjectResponseSchema = ProjectSchema;
1949
+ /** @deprecated Renamed to RemixResultSchema. */
1950
+ const V1RemixProgressResultSchema = RemixResultSchema;
1951
+ /** @deprecated Renamed to SecurityFindingSchema. */
1952
+ const V1SecurityFindingSchema = SecurityFindingSchema;
1953
+ /** @deprecated Renamed to SecurityScanActorSchema. */
1954
+ const V1SecurityScanActorSchema = SecurityScanActorSchema;
1955
+ /** @deprecated Renamed to SecurityScanSchema. */
1956
+ const V1SecurityScanSummarySchema = SecurityScanSchema;
1957
+ /** @deprecated Renamed to SecurityScannerRunSchema. */
1958
+ const V1SecurityScannerRunSchema = SecurityScannerRunSchema;
1959
+ /** @deprecated Renamed to TriggerSecurityScanResponseSchema. */
1960
+ const V1TriggerSecurityScanResponseBodySchema = TriggerSecurityScanResponseSchema;
1961
+ /** @deprecated Renamed to UpdateWorkspaceSettingsRequestSchema. */
1962
+ const V1UpdateWorkspaceSettingsNestedInputBodySchema = UpdateWorkspaceSettingsRequestSchema;
1963
+ /** @deprecated Renamed to CreditHistoryPageSchema. */
1964
+ const V1WorkspaceCreditHistoryBodySchema = CreditHistoryPageSchema;
1965
+ /** @deprecated Renamed to CreditBalanceSchema. */
1966
+ const V1WorkspaceCreditsBodySchema = CreditBalanceSchema;
1967
+ /** @deprecated Renamed to ExpiringCreditGrantSchema. */
1968
+ const V1WorkspaceCreditsExpiringGrantSchema = ExpiringCreditGrantSchema;
1969
+ /** @deprecated Renamed to CreditGrantTypeBalanceSchema. */
1970
+ const V1WorkspaceCreditsGrantTypeBalanceSchema = CreditGrantTypeBalanceSchema;
1971
+ /** @deprecated Renamed to WorkspaceGroupSchema. */
1972
+ const V1WorkspaceGroupSchema = WorkspaceGroupSchema;
1973
+ /** @deprecated Renamed to WorkspaceInsightsActivityFreshnessSchema. */
1974
+ const V1WorkspaceInsightsActivityFreshnessSchema = WorkspaceInsightsActivityFreshnessSchema;
1975
+ /** @deprecated Renamed to WorkspaceInsightsSchema. */
1976
+ const V1WorkspaceInsightsBodySchema = WorkspaceInsightsSchema;
1977
+ /** @deprecated Renamed to WorkspaceInsightsEdgeFunctionSchema. */
1978
+ const V1WorkspaceInsightsEdgeFunctionSchema = WorkspaceInsightsEdgeFunctionSchema;
1979
+ /** @deprecated Renamed to WorkspaceInsightsFindingSchema. */
1980
+ const V1WorkspaceInsightsFindingSchema = WorkspaceInsightsFindingSchema;
1981
+ /** @deprecated Renamed to WorkspaceInsightsOwnerSchema. */
1982
+ const V1WorkspaceInsightsOwnerSchema = WorkspaceInsightsOwnerSchema;
1983
+ /** @deprecated Renamed to WorkspaceInsightsProjectSchema. */
1984
+ const V1WorkspaceInsightsProjectSchema = WorkspaceInsightsProjectSchema;
1985
+ /** @deprecated Renamed to WorkspaceInsightsProjectPageSchema. */
1986
+ const V1WorkspaceInsightsProjectsBodySchema = WorkspaceInsightsProjectPageSchema;
1987
+ /** @deprecated Renamed to WorkspaceInsightsReasonSchema. */
1988
+ const V1WorkspaceInsightsReasonSchema = WorkspaceInsightsReasonSchema;
1989
+ /** @deprecated Renamed to WorkspaceInsightsReasonValuesSchema. */
1990
+ const V1WorkspaceInsightsReasonValuesSchema = WorkspaceInsightsReasonValuesSchema;
1991
+ /** @deprecated Renamed to WorkspaceInsightsReviewPrioritySchema. */
1992
+ const V1WorkspaceInsightsReviewPrioritySchema = WorkspaceInsightsReviewPrioritySchema;
1993
+ /** @deprecated Renamed to WorkspaceInsightsSignalsSchema. */
1994
+ const V1WorkspaceInsightsSignalsSchema = WorkspaceInsightsSignalsSchema;
1995
+ /** @deprecated Renamed to WorkspaceInsightsStatSchema. */
1996
+ const V1WorkspaceInsightsStatSchema = WorkspaceInsightsStatSchema;
1997
+ /** @deprecated Renamed to WorkspaceInsightsSummarySchema. */
1998
+ const V1WorkspaceInsightsSummarySchema = WorkspaceInsightsSummarySchema;
1999
+ /** @deprecated Renamed to WorkspaceMemberGroupSchema. */
2000
+ const V1WorkspaceMemberGroupSchema = WorkspaceMemberGroupSchema;
2001
+ /** @deprecated Renamed to WorkspaceMemberSchema. */
2002
+ const V1WorkspaceMemberSchema = WorkspaceMemberSchema;
2003
+ /** @deprecated Renamed to WorkspaceSettingsSchema. */
2004
+ const V1WorkspaceSettingsBodySchema = WorkspaceSettingsSchema;
2005
+ /** @deprecated Renamed to ConnectorUsageSchema. */
2006
+ const V1WorkspaceUsageConnectorBreakdownSchema = ConnectorUsageSchema;
2007
+ /** @deprecated Renamed to DatabaseUsageSchema. */
2008
+ const V1WorkspaceUsageDatabaseBreakdownSchema = DatabaseUsageSchema;
2009
+ /** @deprecated Renamed to GatewayModelUsageSchema. */
2010
+ const V1WorkspaceUsageGatewayModelSchema = GatewayModelUsageSchema;
2011
+ /** @deprecated Renamed to WorkspaceAnalyticsSchema. */
2012
+ const WorkspaceAnalyticsResponseSchema = WorkspaceAnalyticsSchema;
1534
2013
  //#endregion
1535
2014
  //#region src/schemas.ts
1536
- /** @deprecated Renamed to CursorListResponsePublicV1ProjectListItemSchema. */
1537
- const CursorListResponseSearchProjectItemSchema = CursorListResponsePublicV1ProjectListItemSchema;
1538
- /** @deprecated Renamed to PublicV1GetWorkspaceBodySchema. */
1539
- const GetUserWorkspaceBodySchema = PublicV1GetWorkspaceBodySchema;
1540
- /** @deprecated Renamed to PublicV1WorkspaceSchema. */
1541
- const WorkspaceSchema = PublicV1WorkspaceSchema;
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;
2015
+ /** @deprecated Renamed to ProjectSummaryPageSchema. */
2016
+ const CursorListResponseSearchProjectItemSchema = ProjectSummaryPageSchema;
2017
+ /** @deprecated Renamed to GetWorkspaceResponseSchema. */
2018
+ const GetUserWorkspaceBodySchema = GetWorkspaceResponseSchema;
2019
+ /** @deprecated Renamed to WorkspaceMembershipSchema. */
2020
+ const WorkspaceMembershipResponseSchema = WorkspaceMembershipSchema;
1548
2021
  const V1DatabaseQueryOutputBodySchema = z.object({ rows: z.array(z.record(z.string(), z.unknown())).nullable() });
1549
2022
  const V1DatabaseQueryOutputBodyWritableSchema = z.object({ rows: z.array(z.record(z.string(), z.unknown())).nullable() });
1550
2023
  //#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, UserCreatorSchema, V1AddConnectorInputBodySchema, V1AiResponseSummarySchema, V1AvailableConnectorEntrySchema, V1AwaitingInputSummarySchema, V1BillingBulkSetMemberCreditLimitInputBodySchema, V1BillingCreditLimitRowSchema, V1BillingCreditLimitsBodySchema, 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, V1UpdateWorkspaceSettingsNestedInputBodySchema, 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, WorkspaceMembershipResponseSchema, WorkspaceMembershipSchema, WorkspaceSchema, WorkspaceWithMembershipSchema };
2024
+ export { AddProjectsToFolderResultSchema, AnalyticsBreakdownGroupSchema, AnalyticsBreakdownPointSchema, AnalyticsBreakdownSchema, AnalyticsTrendSchema, AppUserConnectorApiSchema, BillingPeriodSchema, ChannelAnalyticsSchema, ChannelListsGroupSchema, ChannelTimeSeriesGroupSchema, CommonSeamlessConnectorFeatureSchema, CommonSeamlessConnectorPermissionSchema, CompanyCreatorSchema, ConnectorUsageSchema, CreateEmbedUrlRequestSchema, CreateEmbedUrlResponseSchema, CreatorSchema, CreditBalanceSchema, CreditGrantTypeBalanceSchema, CreditHistoryEntrySchema, CreditHistoryPageSchema, CreditLimitPageSchema, 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, MemberCreditLimitSchema, 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, SetMemberCreditLimitsRequestSchema, SetMemberCreditLimitsResponseSchema, SkippedProjectInfoSchema, StandardConnectorApiSchema, StandardConnectorPromotionSchema, TemplateProjectResponseSchema, TimeSeriesDataPointSchema, TimeSeriesDataSchema, TimeSeriesGroupSchema, ToolDisplayDataSchema, TrendDataPointSchema, TriggerSecurityScanResponseSchema, UpdateProjectRequestSchema, UpdatePublishSettingsRequestSchema, UpdateWorkspaceSettingsRequestSchema, UserCreatorSchema, V1AddConnectorInputBodySchema, V1AiResponseSummarySchema, V1AvailableConnectorEntrySchema, V1AwaitingInputSummarySchema, V1BillingBulkSetMemberCreditLimitInputBodySchema, V1BillingCreditLimitRowSchema, V1BillingCreditLimitsBodySchema, 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, V1UpdateWorkspaceSettingsNestedInputBodySchema, 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
2025
 
1553
2026
  //# sourceMappingURL=schemas.js.map