@lovable.dev/sdk 1.3.0 → 1.4.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/index.d.ts +238 -5
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +58 -2
- package/dist/schemas.js +35 -5
- package/dist/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +10 -2
- package/src/generated/paths.ts +236 -4
- package/src/generated/zod/zod.gen.ts +41 -2
- package/src/types.ts +1 -1
package/dist/schemas.d.ts
CHANGED
|
@@ -974,6 +974,32 @@ declare const V1BillingPeriodSchema: z$1.ZodObject<{
|
|
|
974
974
|
end: z$1.ZodISODateTime;
|
|
975
975
|
start: z$1.ZodISODateTime;
|
|
976
976
|
}, z$1.core.$strip>;
|
|
977
|
+
declare const V1BulkMemberCreditLimitItemSchema: z$1.ZodObject<{
|
|
978
|
+
monthly_credit_limit: z$1.ZodNullable<z$1.ZodNumber>;
|
|
979
|
+
user_id: z$1.ZodString;
|
|
980
|
+
}, z$1.core.$strip>;
|
|
981
|
+
declare const V1BulkMemberCreditLimitResultSchema: z$1.ZodObject<{
|
|
982
|
+
error: z$1.ZodOptional<z$1.ZodString>;
|
|
983
|
+
status: z$1.ZodString;
|
|
984
|
+
user_id: z$1.ZodString;
|
|
985
|
+
}, z$1.core.$strip>;
|
|
986
|
+
declare const V1BulkSetMemberCreditLimitInputBodySchema: z$1.ZodObject<{
|
|
987
|
+
members: z$1.ZodArray<z$1.ZodObject<{
|
|
988
|
+
monthly_credit_limit: z$1.ZodNullable<z$1.ZodNumber>;
|
|
989
|
+
user_id: z$1.ZodString;
|
|
990
|
+
}, z$1.core.$strip>>;
|
|
991
|
+
workspace_id: z$1.ZodString;
|
|
992
|
+
}, z$1.core.$strip>;
|
|
993
|
+
declare const V1BulkSetMemberCreditLimitOutputBodySchema: z$1.ZodObject<{
|
|
994
|
+
failed: z$1.ZodNumber;
|
|
995
|
+
results: z$1.ZodNullable<z$1.ZodArray<z$1.ZodObject<{
|
|
996
|
+
error: z$1.ZodOptional<z$1.ZodString>;
|
|
997
|
+
status: z$1.ZodString;
|
|
998
|
+
user_id: z$1.ZodString;
|
|
999
|
+
}, z$1.core.$strip>>>;
|
|
1000
|
+
successful: z$1.ZodNumber;
|
|
1001
|
+
total: z$1.ZodNumber;
|
|
1002
|
+
}, z$1.core.$strip>;
|
|
977
1003
|
declare const V1ConnectionItemSchema: z$1.ZodObject<{
|
|
978
1004
|
connector_id: z$1.ZodString;
|
|
979
1005
|
created_at: z$1.ZodString;
|
|
@@ -1102,7 +1128,6 @@ declare const V1DiffResponseSchema: z$1.ZodObject<{
|
|
|
1102
1128
|
is_incomplete: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
1103
1129
|
original_file_path: z$1.ZodOptional<z$1.ZodString>;
|
|
1104
1130
|
}, z$1.core.$strip>>>;
|
|
1105
|
-
error: z$1.ZodOptional<z$1.ZodString>;
|
|
1106
1131
|
}, z$1.core.$strip>;
|
|
1107
1132
|
declare const V1EditSummarySchema: z$1.ZodObject<{
|
|
1108
1133
|
commit_message: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -1112,6 +1137,29 @@ declare const V1EditSummarySchema: z$1.ZodObject<{
|
|
|
1112
1137
|
status: z$1.ZodString;
|
|
1113
1138
|
type: z$1.ZodString;
|
|
1114
1139
|
}, z$1.core.$strip>;
|
|
1140
|
+
declare const PublicV1GetEditsOutputBodySchema: z$1.ZodObject<{
|
|
1141
|
+
data: z$1.ZodNullable<z$1.ZodArray<z$1.ZodObject<{
|
|
1142
|
+
commit_message: z$1.ZodOptional<z$1.ZodString>;
|
|
1143
|
+
commit_sha: z$1.ZodOptional<z$1.ZodString>;
|
|
1144
|
+
created_at: z$1.ZodString;
|
|
1145
|
+
id: z$1.ZodString;
|
|
1146
|
+
status: z$1.ZodString;
|
|
1147
|
+
type: z$1.ZodString;
|
|
1148
|
+
}, z$1.core.$strip>>>;
|
|
1149
|
+
edits: z$1.ZodNullable<z$1.ZodArray<z$1.ZodObject<{
|
|
1150
|
+
commit_message: z$1.ZodOptional<z$1.ZodString>;
|
|
1151
|
+
commit_sha: z$1.ZodOptional<z$1.ZodString>;
|
|
1152
|
+
created_at: z$1.ZodString;
|
|
1153
|
+
id: z$1.ZodString;
|
|
1154
|
+
status: z$1.ZodString;
|
|
1155
|
+
type: z$1.ZodString;
|
|
1156
|
+
}, z$1.core.$strip>>>;
|
|
1157
|
+
has_more: z$1.ZodBoolean;
|
|
1158
|
+
pagination: z$1.ZodObject<{
|
|
1159
|
+
has_more: z$1.ZodBoolean;
|
|
1160
|
+
next_cursor: z$1.ZodNullable<z$1.ZodString>;
|
|
1161
|
+
}, z$1.core.$strip>;
|
|
1162
|
+
}, z$1.core.$strip>;
|
|
1115
1163
|
declare const V1EnableDatabaseOutputBodySchema: z$1.ZodObject<{
|
|
1116
1164
|
enabled: z$1.ZodBoolean;
|
|
1117
1165
|
stack: z$1.ZodString;
|
|
@@ -1877,6 +1925,14 @@ declare const V1SendMessageInputBodySchema: z$1.ZodObject<{
|
|
|
1877
1925
|
plan_mode: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
1878
1926
|
variant_id: z$1.ZodOptional<z$1.ZodString>;
|
|
1879
1927
|
}, z$1.core.$strip>;
|
|
1928
|
+
declare const V1UpdateMemberCreditLimitInputBodySchema: z$1.ZodObject<{
|
|
1929
|
+
monthly_credit_limit: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
|
|
1930
|
+
workspace_id: z$1.ZodString;
|
|
1931
|
+
}, z$1.core.$strip>;
|
|
1932
|
+
declare const V1UpdateWorkspaceSettingsInputBodySchema: z$1.ZodObject<{
|
|
1933
|
+
default_monthly_member_credit_limit: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
|
|
1934
|
+
workspace_id: z$1.ZodString;
|
|
1935
|
+
}, z$1.core.$strip>;
|
|
1880
1936
|
declare const V1UsagePeriodSchema: z$1.ZodObject<{
|
|
1881
1937
|
end: z$1.ZodString;
|
|
1882
1938
|
granularity: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -2753,5 +2809,5 @@ declare const V1DatabaseQueryOutputBodyWritableSchema: z.ZodObject<{
|
|
|
2753
2809
|
rows: z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2754
2810
|
}, z.core.$strip>;
|
|
2755
2811
|
//#endregion
|
|
2756
|
-
export { AddProjectsToFolderResultSchema, AppUserConnectorApiSchema, CommonSeamlessConnectorCreatorSchema, CommonSeamlessConnectorFeatureSchema, CommonSeamlessConnectorPermissionSchema, CreatorSchema, CursorListResponseProjectPiiFindingDtoSchema, CursorListResponsePublicV1ConnectorItemSchema, CursorListResponsePublicV1ProjectListItemSchema, CursorListResponseSearchProjectItemSchema, CursorListResponseV1MessageListItemSchema, CursorListResponseV1ProjectCollaboratorSchema, CursorListResponseV1ProjectSkillDtoSchema, CursorListResponseV1SecurityScanSummarySchema, CursorListResponseV1WorkspaceMemberSchema, DiffHunkSchema, DiffLineSchema, ErrorDetailSchema, ErrorModelSchema, FeatureDescriptionSchema, GetAvailableLibraryProjectsPublicV1OutputBodySchema, GetAvailableTemplateProjectsPublicV1OutputBodySchema, GetMeCapabilitiesSchema, GetMeOutputBodySchema, GetMeWorkspaceSchema, GetUserWorkspaceBodySchema, GitFileEntryLiteSchema, GitFileEntrySchema, LibraryProjectResponseSchema, ListDataPointSchema, ListDataSchema, ListsGroupSchema, McpConnectorCreatorStructSchema, McpConnectorSchema, PaginationSchema, ProjectAnalyticsResponseSchema, ProjectFileInfoSchema, ProjectPiiFindingDtoSchema, ProjectTrendResponseSchema, PublicV1ConnectorItemSchema, PublicV1CreateProjectResponseSchema, PublicV1DeployProjectInputBodySchema, PublicV1EnableDatabaseInputBodySchema, PublicV1GetWorkspaceBodySchema, PublicV1GitFilesResponseSchema, PublicV1PatchProjectBodySchema, PublicV1ProjectCreateInputBodySchema, PublicV1ProjectFileUploadUrlInputBodySchema, PublicV1ProjectListItemSchema, PublicV1ProjectRemixInputBodySchema, PublicV1SendMessageInputBodySchema, PublicV1SetProjectKnowledgeInputBodySchema, PublicV1SetProjectSkillEnabledInputBodySchema, PublicV1WorkspaceMemberSchema, PublicV1WorkspaceSchema, PublicV1WorkspaceWithMembershipSchema, RemixJobStepInfoSchema, SeamlessConnectorApiSchema, SearchProjectItemSchema, SearchWorkspaceProjectsResponseSchema, SkippedProjectInfoSchema, StandardConnectorApiSchema, StandardConnectorPromotionSchema, TemplateProjectResponseSchema, TimeSeriesDataPointSchema, TimeSeriesDataSchema, TimeSeriesGroupSchema, ToolDisplayDataSchema, TrendDataPointSchema, V1AddConnectorInputBodySchema, V1AiResponseSummarySchema, V1AvailableConnectorEntrySchema, V1AwaitingInputSummarySchema, V1BillingPeriodSchema, 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, V1MessageListItemSchema, V1MessageResponseSchema, V1MoveProjectsToFolderInputBodySchema, V1ProjectCollaboratorSchema, V1ProjectFileUploadUrlInputBodySchema, V1ProjectGitFilesResponseSchema, V1ProjectResponseSchema, V1ProjectSkillDtoSchema, V1RemixInitInputBodySchema, V1RemixInitOutputBodySchema, V1RemixProgressOutputBodySchema, V1RemixProgressResultSchema, V1RemoveConnectorOutputBodySchema, V1SecurityFindingSchema, V1SecurityScanSummarySchema, V1SecurityScannerRunSchema, V1SelectedLibrarySchema, V1SendMessageInputBodySchema, V1SendMessageOutputBodySchema, V1SetFolderVisibilityInputBodySchema, V1SetFolderVisibilityOutputBodySchema, V1SetProjectKnowledgeInputBodySchema, V1SetProjectSkillEnabledInputBodySchema, V1SetProjectSkillEnabledOutputBodySchema, V1SetProjectVisibilityInputBodySchema, V1SetProjectVisibilityOutputBodySchema, V1SetWorkspaceKnowledgeInputBodySchema, V1TriggerSecurityScanInputBodySchema, V1TriggerSecurityScanResponseBodySchema, V1UnscopedFileSchema, V1UsagePeriodSchema, V1WorkspaceAuditLogEntrySchema, V1WorkspaceAuditLogsBodySchema, V1WorkspaceCreditHistoryBodySchema, V1WorkspaceCreditsBodySchema, V1WorkspaceCreditsExpiringGrantSchema, V1WorkspaceCreditsGrantTypeBalanceSchema, V1WorkspaceMemberSchema, V1WorkspaceSecurityActivityFreshnessSchema, V1WorkspaceSecurityDashboardBodySchema, V1WorkspaceSecurityEdgeFunctionSchema, V1WorkspaceSecurityFindingSchema, V1WorkspaceSecurityOwnerSchema, V1WorkspaceSecurityProjectSchema, V1WorkspaceSecurityProjectsBodySchema, V1WorkspaceSecurityReasonSchema, V1WorkspaceSecurityReasonValuesSchema, V1WorkspaceSecurityReviewPrioritySchema, V1WorkspaceSecuritySignalsSchema, V1WorkspaceSecurityStatSchema, V1WorkspaceSecuritySummarySchema, V1WorkspaceSettingsBodySchema, V1WorkspaceSkillDtoSchema, V1WorkspaceUsageBreakdownBodySchema, V1WorkspaceUsageBreakdownEntrySchema, V1WorkspaceUsageDatabaseBreakdownSchema, V1WorkspaceUsageGatewayModelSchema, V1WorkspaceUsageMeBodySchema, V1WorkspaceUsageProjectRowSchema, V1WorkspaceUsageProjectsBodySchema, V1WorkspaceUsageTimeseriesBodySchema, V1WorkspaceUsageTimeseriesBucketSchema, V1WriteWorkspaceSkillInputBodySchema, V1WriteWorkspaceSkillOutputBodySchema, VisibilityChangeInfoSchema, WorkspaceMembershipResponseSchema, WorkspaceMembershipSchema, WorkspaceSchema, WorkspaceWithMembershipSchema };
|
|
2812
|
+
export { AddProjectsToFolderResultSchema, AppUserConnectorApiSchema, CommonSeamlessConnectorCreatorSchema, CommonSeamlessConnectorFeatureSchema, CommonSeamlessConnectorPermissionSchema, CreatorSchema, CursorListResponseProjectPiiFindingDtoSchema, CursorListResponsePublicV1ConnectorItemSchema, CursorListResponsePublicV1ProjectListItemSchema, CursorListResponseSearchProjectItemSchema, CursorListResponseV1MessageListItemSchema, CursorListResponseV1ProjectCollaboratorSchema, CursorListResponseV1ProjectSkillDtoSchema, CursorListResponseV1SecurityScanSummarySchema, CursorListResponseV1WorkspaceMemberSchema, DiffHunkSchema, DiffLineSchema, ErrorDetailSchema, ErrorModelSchema, FeatureDescriptionSchema, GetAvailableLibraryProjectsPublicV1OutputBodySchema, GetAvailableTemplateProjectsPublicV1OutputBodySchema, GetMeCapabilitiesSchema, GetMeOutputBodySchema, GetMeWorkspaceSchema, GetUserWorkspaceBodySchema, GitFileEntryLiteSchema, GitFileEntrySchema, LibraryProjectResponseSchema, ListDataPointSchema, ListDataSchema, ListsGroupSchema, McpConnectorCreatorStructSchema, McpConnectorSchema, PaginationSchema, ProjectAnalyticsResponseSchema, ProjectFileInfoSchema, ProjectPiiFindingDtoSchema, ProjectTrendResponseSchema, PublicV1ConnectorItemSchema, PublicV1CreateProjectResponseSchema, PublicV1DeployProjectInputBodySchema, PublicV1EnableDatabaseInputBodySchema, PublicV1GetEditsOutputBodySchema, PublicV1GetWorkspaceBodySchema, PublicV1GitFilesResponseSchema, PublicV1PatchProjectBodySchema, PublicV1ProjectCreateInputBodySchema, PublicV1ProjectFileUploadUrlInputBodySchema, PublicV1ProjectListItemSchema, PublicV1ProjectRemixInputBodySchema, PublicV1SendMessageInputBodySchema, PublicV1SetProjectKnowledgeInputBodySchema, PublicV1SetProjectSkillEnabledInputBodySchema, PublicV1WorkspaceMemberSchema, PublicV1WorkspaceSchema, PublicV1WorkspaceWithMembershipSchema, RemixJobStepInfoSchema, SeamlessConnectorApiSchema, SearchProjectItemSchema, SearchWorkspaceProjectsResponseSchema, SkippedProjectInfoSchema, StandardConnectorApiSchema, StandardConnectorPromotionSchema, TemplateProjectResponseSchema, TimeSeriesDataPointSchema, TimeSeriesDataSchema, TimeSeriesGroupSchema, ToolDisplayDataSchema, TrendDataPointSchema, V1AddConnectorInputBodySchema, V1AiResponseSummarySchema, V1AvailableConnectorEntrySchema, V1AwaitingInputSummarySchema, V1BillingPeriodSchema, 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, V1MessageListItemSchema, V1MessageResponseSchema, V1MoveProjectsToFolderInputBodySchema, V1ProjectCollaboratorSchema, V1ProjectFileUploadUrlInputBodySchema, V1ProjectGitFilesResponseSchema, V1ProjectResponseSchema, V1ProjectSkillDtoSchema, V1RemixInitInputBodySchema, V1RemixInitOutputBodySchema, V1RemixProgressOutputBodySchema, V1RemixProgressResultSchema, V1RemoveConnectorOutputBodySchema, V1SecurityFindingSchema, V1SecurityScanSummarySchema, V1SecurityScannerRunSchema, V1SelectedLibrarySchema, V1SendMessageInputBodySchema, V1SendMessageOutputBodySchema, V1SetFolderVisibilityInputBodySchema, V1SetFolderVisibilityOutputBodySchema, V1SetProjectKnowledgeInputBodySchema, V1SetProjectSkillEnabledInputBodySchema, V1SetProjectSkillEnabledOutputBodySchema, V1SetProjectVisibilityInputBodySchema, V1SetProjectVisibilityOutputBodySchema, V1SetWorkspaceKnowledgeInputBodySchema, V1TriggerSecurityScanInputBodySchema, V1TriggerSecurityScanResponseBodySchema, V1UnscopedFileSchema, V1UpdateMemberCreditLimitInputBodySchema, V1UpdateWorkspaceSettingsInputBodySchema, V1UsagePeriodSchema, V1WorkspaceAuditLogEntrySchema, V1WorkspaceAuditLogsBodySchema, V1WorkspaceCreditHistoryBodySchema, V1WorkspaceCreditsBodySchema, V1WorkspaceCreditsExpiringGrantSchema, V1WorkspaceCreditsGrantTypeBalanceSchema, V1WorkspaceMemberSchema, V1WorkspaceSecurityActivityFreshnessSchema, V1WorkspaceSecurityDashboardBodySchema, V1WorkspaceSecurityEdgeFunctionSchema, V1WorkspaceSecurityFindingSchema, V1WorkspaceSecurityOwnerSchema, V1WorkspaceSecurityProjectSchema, V1WorkspaceSecurityProjectsBodySchema, V1WorkspaceSecurityReasonSchema, V1WorkspaceSecurityReasonValuesSchema, V1WorkspaceSecurityReviewPrioritySchema, V1WorkspaceSecuritySignalsSchema, V1WorkspaceSecurityStatSchema, V1WorkspaceSecuritySummarySchema, V1WorkspaceSettingsBodySchema, V1WorkspaceSkillDtoSchema, V1WorkspaceUsageBreakdownBodySchema, V1WorkspaceUsageBreakdownEntrySchema, V1WorkspaceUsageDatabaseBreakdownSchema, V1WorkspaceUsageGatewayModelSchema, V1WorkspaceUsageMeBodySchema, V1WorkspaceUsageProjectRowSchema, V1WorkspaceUsageProjectsBodySchema, V1WorkspaceUsageTimeseriesBodySchema, V1WorkspaceUsageTimeseriesBucketSchema, V1WriteWorkspaceSkillInputBodySchema, V1WriteWorkspaceSkillOutputBodySchema, VisibilityChangeInfoSchema, WorkspaceMembershipResponseSchema, WorkspaceMembershipSchema, WorkspaceSchema, WorkspaceWithMembershipSchema };
|
|
2757
2813
|
//# sourceMappingURL=schemas.d.ts.map
|
package/dist/schemas.js
CHANGED
|
@@ -577,6 +577,25 @@ const V1BillingPeriodSchema = z$1.object({
|
|
|
577
577
|
end: z$1.iso.datetime(),
|
|
578
578
|
start: z$1.iso.datetime()
|
|
579
579
|
});
|
|
580
|
+
const V1BulkMemberCreditLimitItemSchema = z$1.object({
|
|
581
|
+
monthly_credit_limit: z$1.number().gte(0).nullable(),
|
|
582
|
+
user_id: z$1.string()
|
|
583
|
+
});
|
|
584
|
+
const V1BulkMemberCreditLimitResultSchema = z$1.object({
|
|
585
|
+
error: z$1.string().optional(),
|
|
586
|
+
status: z$1.string(),
|
|
587
|
+
user_id: z$1.string()
|
|
588
|
+
});
|
|
589
|
+
const V1BulkSetMemberCreditLimitInputBodySchema = z$1.object({
|
|
590
|
+
members: z$1.array(V1BulkMemberCreditLimitItemSchema).min(1).max(50),
|
|
591
|
+
workspace_id: z$1.string()
|
|
592
|
+
});
|
|
593
|
+
const V1BulkSetMemberCreditLimitOutputBodySchema = z$1.object({
|
|
594
|
+
failed: z$1.number(),
|
|
595
|
+
results: z$1.array(V1BulkMemberCreditLimitResultSchema).nullable(),
|
|
596
|
+
successful: z$1.number(),
|
|
597
|
+
total: z$1.number()
|
|
598
|
+
});
|
|
580
599
|
const V1ConnectionItemSchema = z$1.object({
|
|
581
600
|
connector_id: z$1.string(),
|
|
582
601
|
created_at: z$1.string(),
|
|
@@ -671,10 +690,7 @@ const V1DiffEntrySchema = z$1.object({
|
|
|
671
690
|
is_incomplete: z$1.boolean().optional(),
|
|
672
691
|
original_file_path: z$1.string().optional()
|
|
673
692
|
});
|
|
674
|
-
const V1DiffResponseSchema = z$1.object({
|
|
675
|
-
diffs: z$1.array(V1DiffEntrySchema).nullable(),
|
|
676
|
-
error: z$1.string().optional()
|
|
677
|
-
});
|
|
693
|
+
const V1DiffResponseSchema = z$1.object({ diffs: z$1.array(V1DiffEntrySchema).nullable() });
|
|
678
694
|
const V1EditSummarySchema = z$1.object({
|
|
679
695
|
commit_message: z$1.string().optional(),
|
|
680
696
|
commit_sha: z$1.string().optional(),
|
|
@@ -683,6 +699,12 @@ const V1EditSummarySchema = z$1.object({
|
|
|
683
699
|
status: z$1.string(),
|
|
684
700
|
type: z$1.string()
|
|
685
701
|
});
|
|
702
|
+
const PublicV1GetEditsOutputBodySchema = z$1.object({
|
|
703
|
+
data: z$1.array(V1EditSummarySchema).nullable(),
|
|
704
|
+
edits: z$1.array(V1EditSummarySchema).nullable(),
|
|
705
|
+
has_more: z$1.boolean(),
|
|
706
|
+
pagination: PaginationSchema
|
|
707
|
+
});
|
|
686
708
|
const V1EnableDatabaseOutputBodySchema = z$1.object({
|
|
687
709
|
enabled: z$1.boolean(),
|
|
688
710
|
stack: z$1.string()
|
|
@@ -996,6 +1018,14 @@ const V1SendMessageInputBodySchema = z$1.object({
|
|
|
996
1018
|
plan_mode: z$1.boolean().optional(),
|
|
997
1019
|
variant_id: z$1.string().optional()
|
|
998
1020
|
});
|
|
1021
|
+
const V1UpdateMemberCreditLimitInputBodySchema = z$1.object({
|
|
1022
|
+
monthly_credit_limit: z$1.number().gte(0).nullish(),
|
|
1023
|
+
workspace_id: z$1.string()
|
|
1024
|
+
});
|
|
1025
|
+
const V1UpdateWorkspaceSettingsInputBodySchema = z$1.object({
|
|
1026
|
+
default_monthly_member_credit_limit: z$1.number().gte(0).nullish(),
|
|
1027
|
+
workspace_id: z$1.string()
|
|
1028
|
+
});
|
|
999
1029
|
const V1UsagePeriodSchema = z$1.object({
|
|
1000
1030
|
end: z$1.string(),
|
|
1001
1031
|
granularity: z$1.string().optional(),
|
|
@@ -1324,6 +1354,6 @@ const WorkspaceWithMembershipSchema = PublicV1WorkspaceWithMembershipSchema;
|
|
|
1324
1354
|
const V1DatabaseQueryOutputBodySchema = z.object({ rows: z.array(z.record(z.string(), z.unknown())).nullable() });
|
|
1325
1355
|
const V1DatabaseQueryOutputBodyWritableSchema = z.object({ rows: z.array(z.record(z.string(), z.unknown())).nullable() });
|
|
1326
1356
|
//#endregion
|
|
1327
|
-
export { AddProjectsToFolderResultSchema, AppUserConnectorApiSchema, CommonSeamlessConnectorCreatorSchema, CommonSeamlessConnectorFeatureSchema, CommonSeamlessConnectorPermissionSchema, CreatorSchema, CursorListResponseProjectPiiFindingDtoSchema, CursorListResponsePublicV1ConnectorItemSchema, CursorListResponsePublicV1ProjectListItemSchema, CursorListResponseSearchProjectItemSchema, CursorListResponseV1MessageListItemSchema, CursorListResponseV1ProjectCollaboratorSchema, CursorListResponseV1ProjectSkillDtoSchema, CursorListResponseV1SecurityScanSummarySchema, CursorListResponseV1WorkspaceMemberSchema, DiffHunkSchema, DiffLineSchema, ErrorDetailSchema, ErrorModelSchema, FeatureDescriptionSchema, GetAvailableLibraryProjectsPublicV1OutputBodySchema, GetAvailableTemplateProjectsPublicV1OutputBodySchema, GetMeCapabilitiesSchema, GetMeOutputBodySchema, GetMeWorkspaceSchema, GetUserWorkspaceBodySchema, GitFileEntryLiteSchema, GitFileEntrySchema, LibraryProjectResponseSchema, ListDataPointSchema, ListDataSchema, ListsGroupSchema, McpConnectorCreatorStructSchema, McpConnectorSchema, PaginationSchema, ProjectAnalyticsResponseSchema, ProjectFileInfoSchema, ProjectPiiFindingDtoSchema, ProjectTrendResponseSchema, PublicV1ConnectorItemSchema, PublicV1CreateProjectResponseSchema, PublicV1DeployProjectInputBodySchema, PublicV1EnableDatabaseInputBodySchema, PublicV1GetWorkspaceBodySchema, PublicV1GitFilesResponseSchema, PublicV1PatchProjectBodySchema, PublicV1ProjectCreateInputBodySchema, PublicV1ProjectFileUploadUrlInputBodySchema, PublicV1ProjectListItemSchema, PublicV1ProjectRemixInputBodySchema, PublicV1SendMessageInputBodySchema, PublicV1SetProjectKnowledgeInputBodySchema, PublicV1SetProjectSkillEnabledInputBodySchema, PublicV1WorkspaceMemberSchema, PublicV1WorkspaceSchema, PublicV1WorkspaceWithMembershipSchema, RemixJobStepInfoSchema, SeamlessConnectorApiSchema, SearchProjectItemSchema, SearchWorkspaceProjectsResponseSchema, SkippedProjectInfoSchema, StandardConnectorApiSchema, StandardConnectorPromotionSchema, TemplateProjectResponseSchema, TimeSeriesDataPointSchema, TimeSeriesDataSchema, TimeSeriesGroupSchema, ToolDisplayDataSchema, TrendDataPointSchema, V1AddConnectorInputBodySchema, V1AiResponseSummarySchema, V1AvailableConnectorEntrySchema, V1AwaitingInputSummarySchema, V1BillingPeriodSchema, 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, V1MessageListItemSchema, V1MessageResponseSchema, V1MoveProjectsToFolderInputBodySchema, V1ProjectCollaboratorSchema, V1ProjectFileUploadUrlInputBodySchema, V1ProjectGitFilesResponseSchema, V1ProjectResponseSchema, V1ProjectSkillDtoSchema, V1RemixInitInputBodySchema, V1RemixInitOutputBodySchema, V1RemixProgressOutputBodySchema, V1RemixProgressResultSchema, V1RemoveConnectorOutputBodySchema, V1SecurityFindingSchema, V1SecurityScanSummarySchema, V1SecurityScannerRunSchema, V1SelectedLibrarySchema, V1SendMessageInputBodySchema, V1SendMessageOutputBodySchema, V1SetFolderVisibilityInputBodySchema, V1SetFolderVisibilityOutputBodySchema, V1SetProjectKnowledgeInputBodySchema, V1SetProjectSkillEnabledInputBodySchema, V1SetProjectSkillEnabledOutputBodySchema, V1SetProjectVisibilityInputBodySchema, V1SetProjectVisibilityOutputBodySchema, V1SetWorkspaceKnowledgeInputBodySchema, V1TriggerSecurityScanInputBodySchema, V1TriggerSecurityScanResponseBodySchema, V1UnscopedFileSchema, V1UsagePeriodSchema, V1WorkspaceAuditLogEntrySchema, V1WorkspaceAuditLogsBodySchema, V1WorkspaceCreditHistoryBodySchema, V1WorkspaceCreditsBodySchema, V1WorkspaceCreditsExpiringGrantSchema, V1WorkspaceCreditsGrantTypeBalanceSchema, V1WorkspaceMemberSchema, V1WorkspaceSecurityActivityFreshnessSchema, V1WorkspaceSecurityDashboardBodySchema, V1WorkspaceSecurityEdgeFunctionSchema, V1WorkspaceSecurityFindingSchema, V1WorkspaceSecurityOwnerSchema, V1WorkspaceSecurityProjectSchema, V1WorkspaceSecurityProjectsBodySchema, V1WorkspaceSecurityReasonSchema, V1WorkspaceSecurityReasonValuesSchema, V1WorkspaceSecurityReviewPrioritySchema, V1WorkspaceSecuritySignalsSchema, V1WorkspaceSecurityStatSchema, V1WorkspaceSecuritySummarySchema, V1WorkspaceSettingsBodySchema, V1WorkspaceSkillDtoSchema, V1WorkspaceUsageBreakdownBodySchema, V1WorkspaceUsageBreakdownEntrySchema, V1WorkspaceUsageDatabaseBreakdownSchema, V1WorkspaceUsageGatewayModelSchema, V1WorkspaceUsageMeBodySchema, V1WorkspaceUsageProjectRowSchema, V1WorkspaceUsageProjectsBodySchema, V1WorkspaceUsageTimeseriesBodySchema, V1WorkspaceUsageTimeseriesBucketSchema, V1WriteWorkspaceSkillInputBodySchema, V1WriteWorkspaceSkillOutputBodySchema, VisibilityChangeInfoSchema, WorkspaceMembershipResponseSchema, WorkspaceMembershipSchema, WorkspaceSchema, WorkspaceWithMembershipSchema };
|
|
1357
|
+
export { AddProjectsToFolderResultSchema, AppUserConnectorApiSchema, CommonSeamlessConnectorCreatorSchema, CommonSeamlessConnectorFeatureSchema, CommonSeamlessConnectorPermissionSchema, CreatorSchema, CursorListResponseProjectPiiFindingDtoSchema, CursorListResponsePublicV1ConnectorItemSchema, CursorListResponsePublicV1ProjectListItemSchema, CursorListResponseSearchProjectItemSchema, CursorListResponseV1MessageListItemSchema, CursorListResponseV1ProjectCollaboratorSchema, CursorListResponseV1ProjectSkillDtoSchema, CursorListResponseV1SecurityScanSummarySchema, CursorListResponseV1WorkspaceMemberSchema, DiffHunkSchema, DiffLineSchema, ErrorDetailSchema, ErrorModelSchema, FeatureDescriptionSchema, GetAvailableLibraryProjectsPublicV1OutputBodySchema, GetAvailableTemplateProjectsPublicV1OutputBodySchema, GetMeCapabilitiesSchema, GetMeOutputBodySchema, GetMeWorkspaceSchema, GetUserWorkspaceBodySchema, GitFileEntryLiteSchema, GitFileEntrySchema, LibraryProjectResponseSchema, ListDataPointSchema, ListDataSchema, ListsGroupSchema, McpConnectorCreatorStructSchema, McpConnectorSchema, PaginationSchema, ProjectAnalyticsResponseSchema, ProjectFileInfoSchema, ProjectPiiFindingDtoSchema, ProjectTrendResponseSchema, PublicV1ConnectorItemSchema, PublicV1CreateProjectResponseSchema, PublicV1DeployProjectInputBodySchema, PublicV1EnableDatabaseInputBodySchema, PublicV1GetEditsOutputBodySchema, PublicV1GetWorkspaceBodySchema, PublicV1GitFilesResponseSchema, PublicV1PatchProjectBodySchema, PublicV1ProjectCreateInputBodySchema, PublicV1ProjectFileUploadUrlInputBodySchema, PublicV1ProjectListItemSchema, PublicV1ProjectRemixInputBodySchema, PublicV1SendMessageInputBodySchema, PublicV1SetProjectKnowledgeInputBodySchema, PublicV1SetProjectSkillEnabledInputBodySchema, PublicV1WorkspaceMemberSchema, PublicV1WorkspaceSchema, PublicV1WorkspaceWithMembershipSchema, RemixJobStepInfoSchema, SeamlessConnectorApiSchema, SearchProjectItemSchema, SearchWorkspaceProjectsResponseSchema, SkippedProjectInfoSchema, StandardConnectorApiSchema, StandardConnectorPromotionSchema, TemplateProjectResponseSchema, TimeSeriesDataPointSchema, TimeSeriesDataSchema, TimeSeriesGroupSchema, ToolDisplayDataSchema, TrendDataPointSchema, V1AddConnectorInputBodySchema, V1AiResponseSummarySchema, V1AvailableConnectorEntrySchema, V1AwaitingInputSummarySchema, V1BillingPeriodSchema, 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, V1MessageListItemSchema, V1MessageResponseSchema, V1MoveProjectsToFolderInputBodySchema, V1ProjectCollaboratorSchema, V1ProjectFileUploadUrlInputBodySchema, V1ProjectGitFilesResponseSchema, V1ProjectResponseSchema, V1ProjectSkillDtoSchema, V1RemixInitInputBodySchema, V1RemixInitOutputBodySchema, V1RemixProgressOutputBodySchema, V1RemixProgressResultSchema, V1RemoveConnectorOutputBodySchema, V1SecurityFindingSchema, V1SecurityScanSummarySchema, V1SecurityScannerRunSchema, V1SelectedLibrarySchema, V1SendMessageInputBodySchema, V1SendMessageOutputBodySchema, V1SetFolderVisibilityInputBodySchema, V1SetFolderVisibilityOutputBodySchema, V1SetProjectKnowledgeInputBodySchema, V1SetProjectSkillEnabledInputBodySchema, V1SetProjectSkillEnabledOutputBodySchema, V1SetProjectVisibilityInputBodySchema, V1SetProjectVisibilityOutputBodySchema, V1SetWorkspaceKnowledgeInputBodySchema, V1TriggerSecurityScanInputBodySchema, V1TriggerSecurityScanResponseBodySchema, V1UnscopedFileSchema, V1UpdateMemberCreditLimitInputBodySchema, V1UpdateWorkspaceSettingsInputBodySchema, V1UsagePeriodSchema, V1WorkspaceAuditLogEntrySchema, V1WorkspaceAuditLogsBodySchema, V1WorkspaceCreditHistoryBodySchema, V1WorkspaceCreditsBodySchema, V1WorkspaceCreditsExpiringGrantSchema, V1WorkspaceCreditsGrantTypeBalanceSchema, V1WorkspaceMemberSchema, V1WorkspaceSecurityActivityFreshnessSchema, V1WorkspaceSecurityDashboardBodySchema, V1WorkspaceSecurityEdgeFunctionSchema, V1WorkspaceSecurityFindingSchema, V1WorkspaceSecurityOwnerSchema, V1WorkspaceSecurityProjectSchema, V1WorkspaceSecurityProjectsBodySchema, V1WorkspaceSecurityReasonSchema, V1WorkspaceSecurityReasonValuesSchema, V1WorkspaceSecurityReviewPrioritySchema, V1WorkspaceSecuritySignalsSchema, V1WorkspaceSecurityStatSchema, V1WorkspaceSecuritySummarySchema, V1WorkspaceSettingsBodySchema, V1WorkspaceSkillDtoSchema, V1WorkspaceUsageBreakdownBodySchema, V1WorkspaceUsageBreakdownEntrySchema, V1WorkspaceUsageDatabaseBreakdownSchema, V1WorkspaceUsageGatewayModelSchema, V1WorkspaceUsageMeBodySchema, V1WorkspaceUsageProjectRowSchema, V1WorkspaceUsageProjectsBodySchema, V1WorkspaceUsageTimeseriesBodySchema, V1WorkspaceUsageTimeseriesBucketSchema, V1WriteWorkspaceSkillInputBodySchema, V1WriteWorkspaceSkillOutputBodySchema, VisibilityChangeInfoSchema, WorkspaceMembershipResponseSchema, WorkspaceMembershipSchema, WorkspaceSchema, WorkspaceWithMembershipSchema };
|
|
1328
1358
|
|
|
1329
1359
|
//# sourceMappingURL=schemas.js.map
|