@lovable.dev/sdk 1.6.1 → 1.7.5
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 +9 -2
- package/dist/index.d.ts +1602 -655
- package/dist/index.js +33 -14
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +596 -316
- package/dist/schemas.js +181 -190
- package/dist/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +40 -20
- package/src/generated/paths.ts +1599 -652
- package/src/generated/version.ts +2 -0
- package/src/generated/zod/zod.gen.ts +194 -201
- package/src/types.ts +2 -8
package/dist/schemas.js
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import * as z$1 from "zod";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/generated/zod/zod.gen.ts
|
|
4
|
-
const CommonSeamlessConnectorCreatorSchema = z$1.object({
|
|
5
|
-
name: z$1.string(),
|
|
6
|
-
url: z$1.string()
|
|
7
|
-
});
|
|
8
4
|
const CommonSeamlessConnectorFeatureSchema = z$1.object({
|
|
9
5
|
body: z$1.string().optional(),
|
|
10
6
|
items: z$1.array(z$1.string()).nullable(),
|
|
@@ -18,37 +14,12 @@ const CommonSeamlessConnectorPermissionSchema = z$1.object({
|
|
|
18
14
|
is_primary: z$1.boolean().optional(),
|
|
19
15
|
name: z$1.string()
|
|
20
16
|
});
|
|
21
|
-
const
|
|
17
|
+
const CompanyCreatorSchema = z$1.object({
|
|
18
|
+
logo_url: z$1.string().optional(),
|
|
22
19
|
name: z$1.string(),
|
|
20
|
+
type: z$1.enum(["company"]),
|
|
23
21
|
url: z$1.string()
|
|
24
22
|
});
|
|
25
|
-
const AppUserConnectorApiSchema = z$1.object({
|
|
26
|
-
can_restrict_to_admins: z$1.boolean(),
|
|
27
|
-
categories: z$1.array(z$1.enum([
|
|
28
|
-
"ecommerce",
|
|
29
|
-
"marketing",
|
|
30
|
-
"productivity",
|
|
31
|
-
"sales",
|
|
32
|
-
"support",
|
|
33
|
-
"other",
|
|
34
|
-
"messaging",
|
|
35
|
-
"development",
|
|
36
|
-
"payments",
|
|
37
|
-
"security",
|
|
38
|
-
"custom"
|
|
39
|
-
])),
|
|
40
|
-
creator: CreatorSchema,
|
|
41
|
-
display_name: z$1.string(),
|
|
42
|
-
documentation_url: z$1.string(),
|
|
43
|
-
has_clients: z$1.boolean(),
|
|
44
|
-
id: z$1.string(),
|
|
45
|
-
is_enabled_for_workspace: z$1.boolean(),
|
|
46
|
-
long_description: z$1.string(),
|
|
47
|
-
search_tags: z$1.array(z$1.string()),
|
|
48
|
-
short_description: z$1.string(),
|
|
49
|
-
terms_url: z$1.string().optional(),
|
|
50
|
-
who_can_create: z$1.enum(["editors_and_admins", "admins_only"])
|
|
51
|
-
});
|
|
52
23
|
const DiffLineSchema = z$1.object({
|
|
53
24
|
content: z$1.string(),
|
|
54
25
|
type: z$1.string()
|
|
@@ -114,14 +85,19 @@ const ListDataSchema = z$1.object({
|
|
|
114
85
|
data: z$1.array(ListDataPointSchema).nullable(),
|
|
115
86
|
label: z$1.string()
|
|
116
87
|
});
|
|
88
|
+
const ChannelListsGroupSchema = z$1.object({
|
|
89
|
+
page: ListDataSchema,
|
|
90
|
+
source: ListDataSchema
|
|
91
|
+
});
|
|
117
92
|
const ListsGroupSchema = z$1.object({
|
|
118
93
|
country: ListDataSchema,
|
|
119
94
|
device: ListDataSchema,
|
|
120
95
|
page: ListDataSchema,
|
|
121
96
|
source: ListDataSchema
|
|
122
97
|
});
|
|
123
|
-
const
|
|
98
|
+
const LovableCreatorSchema = z$1.object({
|
|
124
99
|
name: z$1.string(),
|
|
100
|
+
type: z$1.enum(["lovable"]),
|
|
125
101
|
url: z$1.string()
|
|
126
102
|
});
|
|
127
103
|
const PaginationSchema = z$1.object({
|
|
@@ -245,6 +221,7 @@ const PublicV1ProjectRemixInputBodySchema = z$1.object({
|
|
|
245
221
|
description: z$1.string().min(1).optional(),
|
|
246
222
|
display_name: z$1.string().optional(),
|
|
247
223
|
include_custom_knowledge: z$1.boolean().optional(),
|
|
224
|
+
include_files: z$1.boolean().optional(),
|
|
248
225
|
include_history: z$1.boolean().optional(),
|
|
249
226
|
initial_message: z$1.string().optional(),
|
|
250
227
|
message_id: z$1.string().optional(),
|
|
@@ -350,25 +327,10 @@ const RemixJobStepInfoSchema = z$1.object({
|
|
|
350
327
|
step: z$1.string()
|
|
351
328
|
});
|
|
352
329
|
const RemixWarningSchema = z$1.object({
|
|
353
|
-
code: z$1.enum(["edge_functions_not_deployed"]),
|
|
354
|
-
failed_edge_functions: z$1.array(z$1.string()).nullish()
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
alias: z$1.string().optional(),
|
|
358
|
-
categories: z$1.array(z$1.string()).nullable(),
|
|
359
|
-
creator: CommonSeamlessConnectorCreatorSchema,
|
|
360
|
-
description: z$1.string(),
|
|
361
|
-
display_name: z$1.string(),
|
|
362
|
-
documentation_url: z$1.string(),
|
|
363
|
-
features: z$1.array(CommonSeamlessConnectorFeatureSchema).nullish(),
|
|
364
|
-
id: z$1.string(),
|
|
365
|
-
is_enabled_for_workspace: z$1.boolean(),
|
|
366
|
-
level: z$1.string(),
|
|
367
|
-
manual_connect_hint: z$1.string().optional(),
|
|
368
|
-
permissions: z$1.array(CommonSeamlessConnectorPermissionSchema).nullable(),
|
|
369
|
-
searchTags: z$1.array(z$1.string()).nullish(),
|
|
370
|
-
short_description: z$1.string(),
|
|
371
|
-
toolIntegrationName: z$1.string().optional()
|
|
330
|
+
code: z$1.enum(["edge_functions_not_deployed", "integration_skipped"]),
|
|
331
|
+
failed_edge_functions: z$1.array(z$1.string()).nullish(),
|
|
332
|
+
reason: z$1.string().optional(),
|
|
333
|
+
skipped_integration: z$1.string().optional()
|
|
372
334
|
});
|
|
373
335
|
const SearchProjectItemSchema = z$1.object({
|
|
374
336
|
abandoned_at: z$1.iso.datetime().optional(),
|
|
@@ -380,6 +342,7 @@ const SearchProjectItemSchema = z$1.object({
|
|
|
380
342
|
app_visitors_30d: z$1.number().optional(),
|
|
381
343
|
app_visitors_7d: z$1.number().optional(),
|
|
382
344
|
category: z$1.string().optional(),
|
|
345
|
+
commit_time: z$1.iso.datetime().optional(),
|
|
383
346
|
created_at: z$1.iso.datetime().optional(),
|
|
384
347
|
created_by: z$1.string().optional(),
|
|
385
348
|
deleted_at: z$1.iso.datetime().optional(),
|
|
@@ -445,46 +408,6 @@ const StandardConnectorPromotionSchema = z$1.object({
|
|
|
445
408
|
message: z$1.string(),
|
|
446
409
|
until: z$1.iso.datetime()
|
|
447
410
|
});
|
|
448
|
-
const StandardConnectorApiSchema = z$1.object({
|
|
449
|
-
can_restrict_to_admins: z$1.boolean(),
|
|
450
|
-
categories: z$1.array(z$1.enum([
|
|
451
|
-
"ecommerce",
|
|
452
|
-
"marketing",
|
|
453
|
-
"productivity",
|
|
454
|
-
"sales",
|
|
455
|
-
"support",
|
|
456
|
-
"other",
|
|
457
|
-
"messaging",
|
|
458
|
-
"development",
|
|
459
|
-
"payments",
|
|
460
|
-
"security",
|
|
461
|
-
"custom"
|
|
462
|
-
])),
|
|
463
|
-
connection_scope: z$1.enum(["project", "workspace"]),
|
|
464
|
-
creator: CreatorSchema,
|
|
465
|
-
data_scope: z$1.enum(["organization", "individual"]),
|
|
466
|
-
description: z$1.string(),
|
|
467
|
-
display_name: z$1.string(),
|
|
468
|
-
documentation_url: z$1.string(),
|
|
469
|
-
has_connections: z$1.boolean(),
|
|
470
|
-
has_metered_option: z$1.boolean().optional(),
|
|
471
|
-
id: z$1.string(),
|
|
472
|
-
is_enabled_for_workspace: z$1.boolean(),
|
|
473
|
-
is_new: z$1.boolean().optional(),
|
|
474
|
-
promotion: StandardConnectorPromotionSchema.optional(),
|
|
475
|
-
searchTags: z$1.array(z$1.string()),
|
|
476
|
-
short_description: z$1.string(),
|
|
477
|
-
single_connection: z$1.boolean().optional(),
|
|
478
|
-
source: z$1.enum(["native", "user_defined"]).optional(),
|
|
479
|
-
terms_url: z$1.string().optional(),
|
|
480
|
-
vendor: z$1.enum([
|
|
481
|
-
"google",
|
|
482
|
-
"microsoft",
|
|
483
|
-
"aws",
|
|
484
|
-
"meta"
|
|
485
|
-
]).optional(),
|
|
486
|
-
who_can_create: z$1.enum(["editors_and_admins", "admins_only"])
|
|
487
|
-
});
|
|
488
411
|
const TemplateProjectResponseSchema = z$1.object({
|
|
489
412
|
description: z$1.string(),
|
|
490
413
|
id: z$1.string(),
|
|
@@ -505,6 +428,17 @@ const TimeSeriesDataSchema = z$1.object({
|
|
|
505
428
|
label: z$1.string(),
|
|
506
429
|
total: z$1.number()
|
|
507
430
|
});
|
|
431
|
+
const ChannelTimeSeriesGroupSchema = z$1.object({
|
|
432
|
+
bounceRate: TimeSeriesDataSchema,
|
|
433
|
+
pageviews: TimeSeriesDataSchema,
|
|
434
|
+
pageviewsPerVisit: TimeSeriesDataSchema,
|
|
435
|
+
sessionDuration: TimeSeriesDataSchema,
|
|
436
|
+
visitors: TimeSeriesDataSchema
|
|
437
|
+
});
|
|
438
|
+
const ChannelAnalyticsSchema = z$1.object({
|
|
439
|
+
lists: ChannelListsGroupSchema,
|
|
440
|
+
timeSeries: ChannelTimeSeriesGroupSchema
|
|
441
|
+
});
|
|
508
442
|
const TimeSeriesGroupSchema = z$1.object({
|
|
509
443
|
bounceRate: TimeSeriesDataSchema,
|
|
510
444
|
pageviews: TimeSeriesDataSchema,
|
|
@@ -513,6 +447,8 @@ const TimeSeriesGroupSchema = z$1.object({
|
|
|
513
447
|
visitors: TimeSeriesDataSchema
|
|
514
448
|
});
|
|
515
449
|
const ProjectAnalyticsResponseSchema = z$1.object({
|
|
450
|
+
channels: z$1.record(z$1.string(), ChannelAnalyticsSchema).optional(),
|
|
451
|
+
channelsSource: z$1.enum(["legacy", "user_app_events"]).optional(),
|
|
516
452
|
lists: ListsGroupSchema,
|
|
517
453
|
timeSeries: TimeSeriesGroupSchema
|
|
518
454
|
});
|
|
@@ -527,6 +463,55 @@ const ToolDisplayDataSchema = z$1.object({
|
|
|
527
463
|
name: z$1.string(),
|
|
528
464
|
title: z$1.string().optional()
|
|
529
465
|
});
|
|
466
|
+
const TrendDataPointSchema = z$1.object({
|
|
467
|
+
time: z$1.string(),
|
|
468
|
+
visits: z$1.number()
|
|
469
|
+
});
|
|
470
|
+
const ProjectTrendResponseSchema = z$1.object({
|
|
471
|
+
currentVisitors: z$1.number(),
|
|
472
|
+
data: z$1.array(TrendDataPointSchema).nullable()
|
|
473
|
+
});
|
|
474
|
+
const PublicV1ProjectAnalyticsBodySchema = z$1.object({
|
|
475
|
+
lists: ListsGroupSchema.optional(),
|
|
476
|
+
timeSeries: TimeSeriesGroupSchema.optional(),
|
|
477
|
+
trend: ProjectTrendResponseSchema.optional()
|
|
478
|
+
});
|
|
479
|
+
const UserCreatorSchema = z$1.object({
|
|
480
|
+
type: z$1.enum(["user"]),
|
|
481
|
+
user_id: z$1.string()
|
|
482
|
+
});
|
|
483
|
+
const CreatorSchema = z$1.discriminatedUnion("type", [
|
|
484
|
+
LovableCreatorSchema.extend({ type: z$1.literal("lovable") }),
|
|
485
|
+
UserCreatorSchema.extend({ type: z$1.literal("user") }),
|
|
486
|
+
CompanyCreatorSchema.extend({ type: z$1.literal("company") })
|
|
487
|
+
]);
|
|
488
|
+
const AppUserConnectorApiSchema = z$1.object({
|
|
489
|
+
can_restrict_to_admins: z$1.boolean(),
|
|
490
|
+
categories: z$1.array(z$1.enum([
|
|
491
|
+
"ecommerce",
|
|
492
|
+
"marketing",
|
|
493
|
+
"productivity",
|
|
494
|
+
"sales",
|
|
495
|
+
"support",
|
|
496
|
+
"other",
|
|
497
|
+
"messaging",
|
|
498
|
+
"development",
|
|
499
|
+
"payments",
|
|
500
|
+
"security",
|
|
501
|
+
"custom"
|
|
502
|
+
])),
|
|
503
|
+
creator: CreatorSchema,
|
|
504
|
+
display_name: z$1.string(),
|
|
505
|
+
documentation_url: z$1.string(),
|
|
506
|
+
has_clients: z$1.boolean(),
|
|
507
|
+
id: z$1.string(),
|
|
508
|
+
is_enabled_for_workspace: z$1.boolean(),
|
|
509
|
+
long_description: z$1.string(),
|
|
510
|
+
search_tags: z$1.array(z$1.string()),
|
|
511
|
+
short_description: z$1.string(),
|
|
512
|
+
terms_url: z$1.string().optional(),
|
|
513
|
+
who_can_create: z$1.enum(["editors_and_admins", "admins_only"])
|
|
514
|
+
});
|
|
530
515
|
const McpConnectorSchema = z$1.object({
|
|
531
516
|
app_mcp_auth_method: z$1.string().optional(),
|
|
532
517
|
app_mcp_project_id: z$1.string().optional(),
|
|
@@ -548,7 +533,7 @@ const McpConnectorSchema = z$1.object({
|
|
|
548
533
|
connect_interaction: z$1.enum(["desktop_app_download"]).optional(),
|
|
549
534
|
connection_id: z$1.string().optional(),
|
|
550
535
|
connector_id: z$1.string().optional(),
|
|
551
|
-
creator:
|
|
536
|
+
creator: CreatorSchema,
|
|
552
537
|
custom_url_hint: z$1.string().optional(),
|
|
553
538
|
display_name: z$1.string(),
|
|
554
539
|
documentation_url: z$1.string().optional(),
|
|
@@ -575,18 +560,64 @@ const McpConnectorSchema = z$1.object({
|
|
|
575
560
|
url: z$1.string().optional(),
|
|
576
561
|
url_placeholder: z$1.string().optional()
|
|
577
562
|
});
|
|
578
|
-
const
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
563
|
+
const SeamlessConnectorApiSchema = z$1.object({
|
|
564
|
+
alias: z$1.string().optional(),
|
|
565
|
+
categories: z$1.array(z$1.string()).nullable(),
|
|
566
|
+
creator: CreatorSchema,
|
|
567
|
+
description: z$1.string(),
|
|
568
|
+
display_name: z$1.string(),
|
|
569
|
+
documentation_url: z$1.string(),
|
|
570
|
+
features: z$1.array(CommonSeamlessConnectorFeatureSchema).nullish(),
|
|
571
|
+
id: z$1.string(),
|
|
572
|
+
is_enabled_for_workspace: z$1.boolean(),
|
|
573
|
+
level: z$1.string(),
|
|
574
|
+
manual_connect_hint: z$1.string().optional(),
|
|
575
|
+
permissions: z$1.array(CommonSeamlessConnectorPermissionSchema).nullable(),
|
|
576
|
+
searchTags: z$1.array(z$1.string()).nullish(),
|
|
577
|
+
short_description: z$1.string(),
|
|
578
|
+
toolIntegrationName: z$1.string().optional()
|
|
585
579
|
});
|
|
586
|
-
const
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
580
|
+
const StandardConnectorApiSchema = z$1.object({
|
|
581
|
+
can_restrict_to_admins: z$1.boolean(),
|
|
582
|
+
categories: z$1.array(z$1.enum([
|
|
583
|
+
"ecommerce",
|
|
584
|
+
"marketing",
|
|
585
|
+
"productivity",
|
|
586
|
+
"sales",
|
|
587
|
+
"support",
|
|
588
|
+
"other",
|
|
589
|
+
"messaging",
|
|
590
|
+
"development",
|
|
591
|
+
"payments",
|
|
592
|
+
"security",
|
|
593
|
+
"custom"
|
|
594
|
+
])),
|
|
595
|
+
connection_scope: z$1.enum(["project", "workspace"]),
|
|
596
|
+
creator: CreatorSchema,
|
|
597
|
+
data_scope: z$1.enum(["organization", "individual"]),
|
|
598
|
+
description: z$1.string(),
|
|
599
|
+
display_name: z$1.string(),
|
|
600
|
+
documentation_url: z$1.string(),
|
|
601
|
+
has_connections: z$1.boolean(),
|
|
602
|
+
id: z$1.string(),
|
|
603
|
+
is_enabled_for_workspace: z$1.boolean(),
|
|
604
|
+
is_new: z$1.boolean().optional(),
|
|
605
|
+
logo_url: z$1.string().optional(),
|
|
606
|
+
pricing_url: z$1.string().optional(),
|
|
607
|
+
promotion: StandardConnectorPromotionSchema.optional(),
|
|
608
|
+
searchTags: z$1.array(z$1.string()),
|
|
609
|
+
short_description: z$1.string(),
|
|
610
|
+
single_connection: z$1.boolean().optional(),
|
|
611
|
+
source: z$1.enum(["native", "user_defined"]).optional(),
|
|
612
|
+
supports_inbound: z$1.boolean().optional(),
|
|
613
|
+
terms_url: z$1.string().optional(),
|
|
614
|
+
vendor: z$1.enum([
|
|
615
|
+
"google",
|
|
616
|
+
"microsoft",
|
|
617
|
+
"aws",
|
|
618
|
+
"meta"
|
|
619
|
+
]).optional(),
|
|
620
|
+
who_can_create: z$1.enum(["editors_and_admins", "admins_only"])
|
|
590
621
|
});
|
|
591
622
|
const V1AddConnectorInputBodySchema = z$1.object({
|
|
592
623
|
auth_type: z$1.enum(["none", "bearer_token"]),
|
|
@@ -598,7 +629,8 @@ const V1AddConnectorInputBodySchema = z$1.object({
|
|
|
598
629
|
relay_client_id: z$1.string().optional(),
|
|
599
630
|
relay_service_name: z$1.string().optional(),
|
|
600
631
|
token: z$1.string().optional(),
|
|
601
|
-
url: z$1.string().optional()
|
|
632
|
+
url: z$1.string().optional(),
|
|
633
|
+
use_egress_proxy: z$1.boolean().optional()
|
|
602
634
|
});
|
|
603
635
|
const V1AvailableConnectorEntrySchema = z$1.object({
|
|
604
636
|
category: z$1.string(),
|
|
@@ -613,16 +645,6 @@ const V1AwaitingInputSummarySchema = z$1.object({
|
|
|
613
645
|
input_schema: z$1.unknown().optional(),
|
|
614
646
|
prev_session_id: z$1.string().optional()
|
|
615
647
|
});
|
|
616
|
-
const V1AiResponseSummarySchema = z$1.object({
|
|
617
|
-
awaiting_input: V1AwaitingInputSummarySchema.optional(),
|
|
618
|
-
commit_sha: z$1.string().optional(),
|
|
619
|
-
content: z$1.string(),
|
|
620
|
-
cost_credits: z$1.number().optional(),
|
|
621
|
-
edit_id: z$1.string().optional(),
|
|
622
|
-
message_id: z$1.string(),
|
|
623
|
-
status: z$1.string(),
|
|
624
|
-
summary: z$1.string().optional()
|
|
625
|
-
});
|
|
626
648
|
const V1BillingCreditLimitRowSchema = z$1.object({
|
|
627
649
|
monthly_credit_limit: z$1.number().optional(),
|
|
628
650
|
user_id: z$1.string()
|
|
@@ -835,21 +857,20 @@ const V1ListWorkspacesBodySchema = z$1.object({
|
|
|
835
857
|
data: z$1.array(PublicV1WorkspaceWithMembershipSchema).nullable(),
|
|
836
858
|
pagination: PaginationSchema
|
|
837
859
|
});
|
|
838
|
-
const
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
])
|
|
860
|
+
const V1MessageErrorSchema = z$1.object({
|
|
861
|
+
code: z$1.string(),
|
|
862
|
+
message: z$1.string()
|
|
863
|
+
});
|
|
864
|
+
const V1AiResponseSummarySchema = z$1.object({
|
|
865
|
+
awaiting_input: V1AwaitingInputSummarySchema.optional(),
|
|
866
|
+
commit_sha: z$1.string().optional(),
|
|
867
|
+
content: z$1.string(),
|
|
868
|
+
cost_credits: z$1.number().optional(),
|
|
869
|
+
edit_id: z$1.string().optional(),
|
|
870
|
+
error: V1MessageErrorSchema.optional(),
|
|
871
|
+
message_id: z$1.string(),
|
|
872
|
+
status: z$1.string(),
|
|
873
|
+
summary: z$1.string().optional()
|
|
853
874
|
});
|
|
854
875
|
const V1MessageListItemSchema = z$1.object({
|
|
855
876
|
content: z$1.string(),
|
|
@@ -874,6 +895,7 @@ const V1MessageResponseSchema = z$1.object({
|
|
|
874
895
|
cost_credits: z$1.number().optional(),
|
|
875
896
|
created_at: z$1.string(),
|
|
876
897
|
edit_id: z$1.string().optional(),
|
|
898
|
+
error: V1MessageErrorSchema.optional(),
|
|
877
899
|
message_id: z$1.string(),
|
|
878
900
|
queue_pause_reason: z$1.string().optional(),
|
|
879
901
|
queue_paused: z$1.boolean().optional(),
|
|
@@ -884,54 +906,6 @@ const V1MessageResponseSchema = z$1.object({
|
|
|
884
906
|
summary: z$1.string().optional()
|
|
885
907
|
});
|
|
886
908
|
const V1MoveProjectsToFolderInputBodySchema = z$1.object({ project_ids: z$1.array(z$1.string()).min(1).max(30).nullable() });
|
|
887
|
-
const V1ProjectCloudDiskSchema = z$1.object({
|
|
888
|
-
size_bytes: z$1.number(),
|
|
889
|
-
timestamp: z$1.iso.datetime(),
|
|
890
|
-
used_bytes: z$1.number()
|
|
891
|
-
});
|
|
892
|
-
const V1ProjectCloudResourceSignalSchema = z$1.object({
|
|
893
|
-
alert_hours: z$1.number(),
|
|
894
|
-
label: z$1.string(),
|
|
895
|
-
latest_alert_at: z$1.iso.datetime().optional(),
|
|
896
|
-
latest_value: z$1.number().optional(),
|
|
897
|
-
resource_type: z$1.string()
|
|
898
|
-
});
|
|
899
|
-
const V1ProjectCloudResourcePressureSchema = z$1.object({
|
|
900
|
-
resources: z$1.array(V1ProjectCloudResourceSignalSchema).nullable(),
|
|
901
|
-
window_hours: z$1.number()
|
|
902
|
-
});
|
|
903
|
-
const V1ProjectCloudBodySchema = z$1.object({
|
|
904
|
-
disk: V1ProjectCloudDiskSchema.optional(),
|
|
905
|
-
environment: z$1.string(),
|
|
906
|
-
instance_tier: z$1.enum([
|
|
907
|
-
"xs",
|
|
908
|
-
"s",
|
|
909
|
-
"m",
|
|
910
|
-
"ml",
|
|
911
|
-
"l",
|
|
912
|
-
"xl",
|
|
913
|
-
"xxl"
|
|
914
|
-
]),
|
|
915
|
-
instance_tier_label: z$1.string(),
|
|
916
|
-
pause_reason: z$1.string().optional(),
|
|
917
|
-
postgres_version: z$1.string().optional(),
|
|
918
|
-
region: z$1.string().optional(),
|
|
919
|
-
resource_pressure: V1ProjectCloudResourcePressureSchema.optional(),
|
|
920
|
-
status: z$1.enum([
|
|
921
|
-
"OK",
|
|
922
|
-
"RESIZING",
|
|
923
|
-
"UPGRADING",
|
|
924
|
-
"RESTARTING",
|
|
925
|
-
"COMING_UP",
|
|
926
|
-
"RESTORING",
|
|
927
|
-
"UNHEALTHY",
|
|
928
|
-
"INACTIVE",
|
|
929
|
-
"PAUSING",
|
|
930
|
-
"UNKNOWN",
|
|
931
|
-
""
|
|
932
|
-
]).optional(),
|
|
933
|
-
user_paused: z$1.boolean()
|
|
934
|
-
});
|
|
935
909
|
const V1ProjectCollaboratorSchema = z$1.object({
|
|
936
910
|
accepted_at: z$1.iso.datetime().optional(),
|
|
937
911
|
access_level: z$1.enum([
|
|
@@ -1002,6 +976,7 @@ const V1ListProjectSkillsOutputBodySchema = z$1.object({
|
|
|
1002
976
|
const V1RemixInitInputBodySchema = z$1.object({
|
|
1003
977
|
description: z$1.string().optional(),
|
|
1004
978
|
include_custom_knowledge: z$1.boolean().optional(),
|
|
979
|
+
include_files: z$1.boolean().optional(),
|
|
1005
980
|
include_history: z$1.boolean().optional(),
|
|
1006
981
|
initial_message: z$1.string().optional(),
|
|
1007
982
|
message_id: z$1.string().optional(),
|
|
@@ -1016,6 +991,13 @@ const V1RemixProgressResultSchema = z$1.object({
|
|
|
1016
991
|
project_id: z$1.string(),
|
|
1017
992
|
warnings: z$1.array(RemixWarningSchema).nullish()
|
|
1018
993
|
});
|
|
994
|
+
const PublicV1RemixJobOutputBodySchema = z$1.object({
|
|
995
|
+
error_code: z$1.string().optional(),
|
|
996
|
+
error_message: z$1.string().optional(),
|
|
997
|
+
result: V1RemixProgressResultSchema.optional(),
|
|
998
|
+
status: z$1.string(),
|
|
999
|
+
step: RemixJobStepInfoSchema.optional()
|
|
1000
|
+
});
|
|
1019
1001
|
const V1RemixProgressOutputBodySchema = z$1.object({
|
|
1020
1002
|
error_code: z$1.string().optional(),
|
|
1021
1003
|
error_message: z$1.string().optional(),
|
|
@@ -1026,7 +1008,6 @@ const V1RemixProgressOutputBodySchema = z$1.object({
|
|
|
1026
1008
|
const V1RemoveConnectorOutputBodySchema = z$1.object({ success: z$1.boolean() });
|
|
1027
1009
|
const V1SecurityFindingSchema = z$1.object({
|
|
1028
1010
|
category: z$1.string().optional(),
|
|
1029
|
-
connector_id: z$1.string().optional(),
|
|
1030
1011
|
created_at: z$1.iso.datetime(),
|
|
1031
1012
|
description: z$1.string().optional(),
|
|
1032
1013
|
details: z$1.string().optional(),
|
|
@@ -1096,16 +1077,6 @@ const V1SetProjectVisibilityInputBodySchema = z$1.object({ visibility: z$1.enum(
|
|
|
1096
1077
|
]) });
|
|
1097
1078
|
const V1SetProjectVisibilityOutputBodySchema = z$1.object({ visibility: z$1.string() });
|
|
1098
1079
|
const V1SetWorkspaceKnowledgeInputBodySchema = z$1.object({ content: z$1.string() });
|
|
1099
|
-
const V1StartMessageExportInputBodySchema = z$1.object({
|
|
1100
|
-
end_date: z$1.string().optional(),
|
|
1101
|
-
project_id: z$1.string().optional(),
|
|
1102
|
-
start_date: z$1.string().optional(),
|
|
1103
|
-
user_id: z$1.string().optional()
|
|
1104
|
-
});
|
|
1105
|
-
const V1StartMessageExportOutputBodySchema = z$1.object({
|
|
1106
|
-
export_id: z$1.string(),
|
|
1107
|
-
status: z$1.enum(["running"])
|
|
1108
|
-
});
|
|
1109
1080
|
const V1TriggerSecurityScanInputBodySchema = z$1.object({ project_id: z$1.string() });
|
|
1110
1081
|
const V1TriggerSecurityScanResponseBodySchema = z$1.object({
|
|
1111
1082
|
message: z$1.string().optional(),
|
|
@@ -1245,6 +1216,20 @@ const V1WorkspaceCreditsBodySchema = z$1.object({
|
|
|
1245
1216
|
total_granted: z$1.number(),
|
|
1246
1217
|
total_remaining: z$1.number()
|
|
1247
1218
|
});
|
|
1219
|
+
const V1WorkspaceGroupSchema = z$1.object({
|
|
1220
|
+
created_at: z$1.iso.datetime(),
|
|
1221
|
+
description: z$1.string().optional(),
|
|
1222
|
+
id: z$1.string(),
|
|
1223
|
+
member_count: z$1.number(),
|
|
1224
|
+
name: z$1.string(),
|
|
1225
|
+
scim_external_id: z$1.string().optional(),
|
|
1226
|
+
updated_at: z$1.iso.datetime(),
|
|
1227
|
+
workspace_id: z$1.string()
|
|
1228
|
+
});
|
|
1229
|
+
const CursorListResponseV1WorkspaceGroupSchema = z$1.object({
|
|
1230
|
+
data: z$1.array(V1WorkspaceGroupSchema).nullable(),
|
|
1231
|
+
pagination: PaginationSchema
|
|
1232
|
+
});
|
|
1248
1233
|
const V1WorkspaceInsightsActivityFreshnessSchema = z$1.object({
|
|
1249
1234
|
edits_as_of: z$1.iso.datetime().optional(),
|
|
1250
1235
|
visitors_as_of: z$1.iso.datetime().optional()
|
|
@@ -1367,9 +1352,14 @@ const V1WorkspaceInsightsBodySchema = z$1.object({
|
|
|
1367
1352
|
findings: z$1.array(V1WorkspaceInsightsFindingSchema).nullable(),
|
|
1368
1353
|
summary: V1WorkspaceInsightsSummarySchema
|
|
1369
1354
|
});
|
|
1355
|
+
const V1WorkspaceMemberGroupSchema = z$1.object({
|
|
1356
|
+
id: z$1.string(),
|
|
1357
|
+
name: z$1.string()
|
|
1358
|
+
});
|
|
1370
1359
|
const V1WorkspaceMemberSchema = z$1.object({
|
|
1371
1360
|
display_name: z$1.string().optional(),
|
|
1372
1361
|
email: z$1.string().optional(),
|
|
1362
|
+
groups: z$1.array(V1WorkspaceMemberGroupSchema).optional(),
|
|
1373
1363
|
invited_at: z$1.iso.datetime().optional(),
|
|
1374
1364
|
joined_at: z$1.iso.datetime().optional(),
|
|
1375
1365
|
monthly_credit_limit: z$1.number().optional(),
|
|
@@ -1518,6 +1508,7 @@ const V1WriteWorkspaceSkillOutputBodySchema = z$1.object({
|
|
|
1518
1508
|
skill: V1WorkspaceSkillDtoSchema
|
|
1519
1509
|
});
|
|
1520
1510
|
const VisibilityChangeInfoSchema = z$1.object({
|
|
1511
|
+
commit_time: z$1.iso.datetime().optional(),
|
|
1521
1512
|
new_visibility: z$1.enum([
|
|
1522
1513
|
"public",
|
|
1523
1514
|
"private",
|
|
@@ -1557,6 +1548,6 @@ const WorkspaceWithMembershipSchema = PublicV1WorkspaceWithMembershipSchema;
|
|
|
1557
1548
|
const V1DatabaseQueryOutputBodySchema = z.object({ rows: z.array(z.record(z.string(), z.unknown())).nullable() });
|
|
1558
1549
|
const V1DatabaseQueryOutputBodyWritableSchema = z.object({ rows: z.array(z.record(z.string(), z.unknown())).nullable() });
|
|
1559
1550
|
//#endregion
|
|
1560
|
-
export { AddProjectsToFolderResultSchema, AppUserConnectorApiSchema,
|
|
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 };
|
|
1561
1552
|
|
|
1562
1553
|
//# sourceMappingURL=schemas.js.map
|