@lovable.dev/sdk 1.2.3 → 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 +259 -287
- package/dist/index.js +2 -48
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +65 -65
- package/dist/schemas.js +40 -36
- package/dist/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +10 -54
- package/src/generated/paths.ts +256 -257
- package/src/generated/zod/zod.gen.ts +46 -36
- package/src/index.ts +0 -6
- package/src/types.ts +1 -15
package/dist/schemas.d.ts
CHANGED
|
@@ -236,24 +236,7 @@ declare const CursorListResponseProjectPiiFindingDtoSchema: z$1.ZodObject<{
|
|
|
236
236
|
next_cursor: z$1.ZodNullable<z$1.ZodString>;
|
|
237
237
|
}, z$1.core.$strip>;
|
|
238
238
|
}, z$1.core.$strip>;
|
|
239
|
-
declare const PublicV1AddConnectorBodySchema: z$1.ZodObject<{
|
|
240
|
-
auth_type: z$1.ZodEnum<{
|
|
241
|
-
none: "none";
|
|
242
|
-
bearer_token: "bearer_token";
|
|
243
|
-
}>;
|
|
244
|
-
connector_id: z$1.ZodOptional<z$1.ZodString>;
|
|
245
|
-
name: z$1.ZodString;
|
|
246
|
-
network_transport_endpoint_id: z$1.ZodOptional<z$1.ZodString>;
|
|
247
|
-
network_transport_profile_id: z$1.ZodOptional<z$1.ZodString>;
|
|
248
|
-
network_transport_type: z$1.ZodOptional<z$1.ZodString>;
|
|
249
|
-
relay_client_id: z$1.ZodOptional<z$1.ZodString>;
|
|
250
|
-
relay_service_name: z$1.ZodOptional<z$1.ZodString>;
|
|
251
|
-
token: z$1.ZodOptional<z$1.ZodString>;
|
|
252
|
-
url: z$1.ZodOptional<z$1.ZodString>;
|
|
253
|
-
workspace_id: z$1.ZodString;
|
|
254
|
-
}, z$1.core.$strip>;
|
|
255
239
|
declare const PublicV1ConnectorItemSchema: z$1.ZodObject<{
|
|
256
|
-
auth_type: z$1.ZodOptional<z$1.ZodString>;
|
|
257
240
|
categories: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
|
|
258
241
|
category: z$1.ZodOptional<z$1.ZodString>;
|
|
259
242
|
connector_id: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -262,15 +245,15 @@ declare const PublicV1ConnectorItemSchema: z$1.ZodObject<{
|
|
|
262
245
|
id: z$1.ZodString;
|
|
263
246
|
is_connected: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
264
247
|
is_enabled_for_workspace: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
265
|
-
|
|
248
|
+
settings_url: z$1.ZodOptional<z$1.ZodString>;
|
|
266
249
|
short_description: z$1.ZodOptional<z$1.ZodString>;
|
|
267
250
|
status: z$1.ZodOptional<z$1.ZodString>;
|
|
268
251
|
summary: z$1.ZodOptional<z$1.ZodString>;
|
|
269
252
|
type: z$1.ZodString;
|
|
253
|
+
types: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
270
254
|
}, z$1.core.$strip>;
|
|
271
255
|
declare const CursorListResponsePublicV1ConnectorItemSchema: z$1.ZodObject<{
|
|
272
256
|
data: z$1.ZodNullable<z$1.ZodArray<z$1.ZodObject<{
|
|
273
|
-
auth_type: z$1.ZodOptional<z$1.ZodString>;
|
|
274
257
|
categories: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
|
|
275
258
|
category: z$1.ZodOptional<z$1.ZodString>;
|
|
276
259
|
connector_id: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -279,11 +262,12 @@ declare const CursorListResponsePublicV1ConnectorItemSchema: z$1.ZodObject<{
|
|
|
279
262
|
id: z$1.ZodString;
|
|
280
263
|
is_connected: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
281
264
|
is_enabled_for_workspace: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
282
|
-
|
|
265
|
+
settings_url: z$1.ZodOptional<z$1.ZodString>;
|
|
283
266
|
short_description: z$1.ZodOptional<z$1.ZodString>;
|
|
284
267
|
status: z$1.ZodOptional<z$1.ZodString>;
|
|
285
268
|
summary: z$1.ZodOptional<z$1.ZodString>;
|
|
286
269
|
type: z$1.ZodString;
|
|
270
|
+
types: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
287
271
|
}, z$1.core.$strip>>>;
|
|
288
272
|
pagination: z$1.ZodObject<{
|
|
289
273
|
has_more: z$1.ZodBoolean;
|
|
@@ -660,13 +644,6 @@ declare const StandardConnectorPromotionSchema: z$1.ZodObject<{
|
|
|
660
644
|
until: z$1.ZodISODateTime;
|
|
661
645
|
}, z$1.core.$strip>;
|
|
662
646
|
declare const StandardConnectorApiSchema: z$1.ZodObject<{
|
|
663
|
-
auth_type: z$1.ZodEnum<{
|
|
664
|
-
APIKEY: "APIKEY";
|
|
665
|
-
OAUTH2: "OAUTH2";
|
|
666
|
-
OAUTH2_CLIENT_CREDENTIALS: "OAUTH2_CLIENT_CREDENTIALS";
|
|
667
|
-
WIF: "WIF";
|
|
668
|
-
STEPS: "STEPS";
|
|
669
|
-
}>;
|
|
670
647
|
can_be_managed: z$1.ZodBoolean;
|
|
671
648
|
can_restrict_to_admins: z$1.ZodBoolean;
|
|
672
649
|
categories: z$1.ZodArray<z$1.ZodEnum<{
|
|
@@ -974,20 +951,6 @@ declare const V1AvailableConnectorEntrySchema: z$1.ZodObject<{
|
|
|
974
951
|
requires_custom_url: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
975
952
|
summary: z$1.ZodString;
|
|
976
953
|
}, z$1.core.$strip>;
|
|
977
|
-
declare const CursorListResponseV1AvailableConnectorEntrySchema: z$1.ZodObject<{
|
|
978
|
-
data: z$1.ZodNullable<z$1.ZodArray<z$1.ZodObject<{
|
|
979
|
-
category: z$1.ZodString;
|
|
980
|
-
display_name: z$1.ZodString;
|
|
981
|
-
documentation_url: z$1.ZodOptional<z$1.ZodString>;
|
|
982
|
-
id: z$1.ZodString;
|
|
983
|
-
requires_custom_url: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
984
|
-
summary: z$1.ZodString;
|
|
985
|
-
}, z$1.core.$strip>>>;
|
|
986
|
-
pagination: z$1.ZodObject<{
|
|
987
|
-
has_more: z$1.ZodBoolean;
|
|
988
|
-
next_cursor: z$1.ZodNullable<z$1.ZodString>;
|
|
989
|
-
}, z$1.core.$strip>;
|
|
990
|
-
}, z$1.core.$strip>;
|
|
991
954
|
declare const V1AwaitingInputSummarySchema: z$1.ZodObject<{
|
|
992
955
|
event_id: z$1.ZodString;
|
|
993
956
|
input_schema: z$1.ZodOptional<z$1.ZodUnknown>;
|
|
@@ -1011,6 +974,32 @@ declare const V1BillingPeriodSchema: z$1.ZodObject<{
|
|
|
1011
974
|
end: z$1.ZodISODateTime;
|
|
1012
975
|
start: z$1.ZodISODateTime;
|
|
1013
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>;
|
|
1014
1003
|
declare const V1ConnectionItemSchema: z$1.ZodObject<{
|
|
1015
1004
|
connector_id: z$1.ZodString;
|
|
1016
1005
|
created_at: z$1.ZodString;
|
|
@@ -1020,21 +1009,6 @@ declare const V1ConnectionItemSchema: z$1.ZodObject<{
|
|
|
1020
1009
|
status: z$1.ZodString;
|
|
1021
1010
|
updated_at: z$1.ZodString;
|
|
1022
1011
|
}, z$1.core.$strip>;
|
|
1023
|
-
declare const CursorListResponseV1ConnectionItemSchema: z$1.ZodObject<{
|
|
1024
|
-
data: z$1.ZodNullable<z$1.ZodArray<z$1.ZodObject<{
|
|
1025
|
-
connector_id: z$1.ZodString;
|
|
1026
|
-
created_at: z$1.ZodString;
|
|
1027
|
-
display_name: z$1.ZodString;
|
|
1028
|
-
id: z$1.ZodString;
|
|
1029
|
-
is_managed: z$1.ZodBoolean;
|
|
1030
|
-
status: z$1.ZodString;
|
|
1031
|
-
updated_at: z$1.ZodString;
|
|
1032
|
-
}, z$1.core.$strip>>>;
|
|
1033
|
-
pagination: z$1.ZodObject<{
|
|
1034
|
-
has_more: z$1.ZodBoolean;
|
|
1035
|
-
next_cursor: z$1.ZodNullable<z$1.ZodString>;
|
|
1036
|
-
}, z$1.core.$strip>;
|
|
1037
|
-
}, z$1.core.$strip>;
|
|
1038
1012
|
declare const V1ConnectorResponseSchema: z$1.ZodObject<{
|
|
1039
1013
|
auth_type: z$1.ZodString;
|
|
1040
1014
|
connector_id: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -1154,7 +1128,6 @@ declare const V1DiffResponseSchema: z$1.ZodObject<{
|
|
|
1154
1128
|
is_incomplete: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
1155
1129
|
original_file_path: z$1.ZodOptional<z$1.ZodString>;
|
|
1156
1130
|
}, z$1.core.$strip>>>;
|
|
1157
|
-
error: z$1.ZodOptional<z$1.ZodString>;
|
|
1158
1131
|
}, z$1.core.$strip>;
|
|
1159
1132
|
declare const V1EditSummarySchema: z$1.ZodObject<{
|
|
1160
1133
|
commit_message: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -1164,6 +1137,29 @@ declare const V1EditSummarySchema: z$1.ZodObject<{
|
|
|
1164
1137
|
status: z$1.ZodString;
|
|
1165
1138
|
type: z$1.ZodString;
|
|
1166
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>;
|
|
1167
1163
|
declare const V1EnableDatabaseOutputBodySchema: z$1.ZodObject<{
|
|
1168
1164
|
enabled: z$1.ZodBoolean;
|
|
1169
1165
|
stack: z$1.ZodString;
|
|
@@ -1373,13 +1369,6 @@ declare const V1ListSeamlessConnectorsResponseSchema: z$1.ZodObject<{
|
|
|
1373
1369
|
}, z$1.core.$strip>;
|
|
1374
1370
|
declare const V1ListStandardConnectorsResponseSchema: z$1.ZodObject<{
|
|
1375
1371
|
connectors: z$1.ZodNullable<z$1.ZodArray<z$1.ZodObject<{
|
|
1376
|
-
auth_type: z$1.ZodEnum<{
|
|
1377
|
-
APIKEY: "APIKEY";
|
|
1378
|
-
OAUTH2: "OAUTH2";
|
|
1379
|
-
OAUTH2_CLIENT_CREDENTIALS: "OAUTH2_CLIENT_CREDENTIALS";
|
|
1380
|
-
WIF: "WIF";
|
|
1381
|
-
STEPS: "STEPS";
|
|
1382
|
-
}>;
|
|
1383
1372
|
can_be_managed: z$1.ZodBoolean;
|
|
1384
1373
|
can_restrict_to_admins: z$1.ZodBoolean;
|
|
1385
1374
|
categories: z$1.ZodArray<z$1.ZodEnum<{
|
|
@@ -1936,6 +1925,14 @@ declare const V1SendMessageInputBodySchema: z$1.ZodObject<{
|
|
|
1936
1925
|
plan_mode: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
1937
1926
|
variant_id: z$1.ZodOptional<z$1.ZodString>;
|
|
1938
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>;
|
|
1939
1936
|
declare const V1UsagePeriodSchema: z$1.ZodObject<{
|
|
1940
1937
|
end: z$1.ZodString;
|
|
1941
1938
|
granularity: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -2048,6 +2045,7 @@ declare const V1WorkspaceMemberSchema: z$1.ZodObject<{
|
|
|
2048
2045
|
email: z$1.ZodOptional<z$1.ZodString>;
|
|
2049
2046
|
invited_at: z$1.ZodOptional<z$1.ZodISODateTime>;
|
|
2050
2047
|
joined_at: z$1.ZodOptional<z$1.ZodISODateTime>;
|
|
2048
|
+
monthly_credit_limit: z$1.ZodOptional<z$1.ZodNumber>;
|
|
2051
2049
|
role: z$1.ZodString;
|
|
2052
2050
|
user_id: z$1.ZodString;
|
|
2053
2051
|
workspace_id: z$1.ZodString;
|
|
@@ -2058,6 +2056,7 @@ declare const CursorListResponseV1WorkspaceMemberSchema: z$1.ZodObject<{
|
|
|
2058
2056
|
email: z$1.ZodOptional<z$1.ZodString>;
|
|
2059
2057
|
invited_at: z$1.ZodOptional<z$1.ZodISODateTime>;
|
|
2060
2058
|
joined_at: z$1.ZodOptional<z$1.ZodISODateTime>;
|
|
2059
|
+
monthly_credit_limit: z$1.ZodOptional<z$1.ZodNumber>;
|
|
2061
2060
|
role: z$1.ZodString;
|
|
2062
2061
|
user_id: z$1.ZodString;
|
|
2063
2062
|
workspace_id: z$1.ZodString;
|
|
@@ -2423,6 +2422,7 @@ declare const V1WorkspaceSecurityDashboardBodySchema: z$1.ZodObject<{
|
|
|
2423
2422
|
declare const V1WorkspaceSettingsBodySchema: z$1.ZodObject<{
|
|
2424
2423
|
billing_period_end_date: z$1.ZodOptional<z$1.ZodISODateTime>;
|
|
2425
2424
|
billing_period_start_date: z$1.ZodOptional<z$1.ZodISODateTime>;
|
|
2425
|
+
default_monthly_member_credit_limit: z$1.ZodOptional<z$1.ZodNumber>;
|
|
2426
2426
|
default_project_visibility: z$1.ZodOptional<z$1.ZodString>;
|
|
2427
2427
|
enable_pii: z$1.ZodBoolean;
|
|
2428
2428
|
enforce_sso: z$1.ZodBoolean;
|
|
@@ -2809,5 +2809,5 @@ declare const V1DatabaseQueryOutputBodyWritableSchema: z.ZodObject<{
|
|
|
2809
2809
|
rows: z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2810
2810
|
}, z.core.$strip>;
|
|
2811
2811
|
//#endregion
|
|
2812
|
-
export { AddProjectsToFolderResultSchema, AppUserConnectorApiSchema, CommonSeamlessConnectorCreatorSchema, CommonSeamlessConnectorFeatureSchema, CommonSeamlessConnectorPermissionSchema, CreatorSchema, CursorListResponseProjectPiiFindingDtoSchema, CursorListResponsePublicV1ConnectorItemSchema, CursorListResponsePublicV1ProjectListItemSchema, CursorListResponseSearchProjectItemSchema,
|
|
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 };
|
|
2813
2813
|
//# sourceMappingURL=schemas.d.ts.map
|
package/dist/schemas.js
CHANGED
|
@@ -163,21 +163,7 @@ const CursorListResponseProjectPiiFindingDtoSchema = z$1.object({
|
|
|
163
163
|
data: z$1.array(ProjectPiiFindingDtoSchema).nullable(),
|
|
164
164
|
pagination: PaginationSchema
|
|
165
165
|
});
|
|
166
|
-
const PublicV1AddConnectorBodySchema = z$1.object({
|
|
167
|
-
auth_type: z$1.enum(["none", "bearer_token"]),
|
|
168
|
-
connector_id: z$1.string().optional(),
|
|
169
|
-
name: z$1.string().min(1),
|
|
170
|
-
network_transport_endpoint_id: z$1.string().optional(),
|
|
171
|
-
network_transport_profile_id: z$1.string().optional(),
|
|
172
|
-
network_transport_type: z$1.string().optional(),
|
|
173
|
-
relay_client_id: z$1.string().optional(),
|
|
174
|
-
relay_service_name: z$1.string().optional(),
|
|
175
|
-
token: z$1.string().optional(),
|
|
176
|
-
url: z$1.string().optional(),
|
|
177
|
-
workspace_id: z$1.string()
|
|
178
|
-
});
|
|
179
166
|
const PublicV1ConnectorItemSchema = z$1.object({
|
|
180
|
-
auth_type: z$1.string().optional(),
|
|
181
167
|
categories: z$1.array(z$1.string()).nullish(),
|
|
182
168
|
category: z$1.string().optional(),
|
|
183
169
|
connector_id: z$1.string().optional(),
|
|
@@ -186,11 +172,12 @@ const PublicV1ConnectorItemSchema = z$1.object({
|
|
|
186
172
|
id: z$1.string(),
|
|
187
173
|
is_connected: z$1.boolean().optional(),
|
|
188
174
|
is_enabled_for_workspace: z$1.boolean().optional(),
|
|
189
|
-
|
|
175
|
+
settings_url: z$1.string().optional(),
|
|
190
176
|
short_description: z$1.string().optional(),
|
|
191
177
|
status: z$1.string().optional(),
|
|
192
178
|
summary: z$1.string().optional(),
|
|
193
|
-
type: z$1.string()
|
|
179
|
+
type: z$1.string(),
|
|
180
|
+
types: z$1.array(z$1.string()).optional()
|
|
194
181
|
});
|
|
195
182
|
const CursorListResponsePublicV1ConnectorItemSchema = z$1.object({
|
|
196
183
|
data: z$1.array(PublicV1ConnectorItemSchema).nullable(),
|
|
@@ -419,13 +406,6 @@ const StandardConnectorPromotionSchema = z$1.object({
|
|
|
419
406
|
until: z$1.iso.datetime()
|
|
420
407
|
});
|
|
421
408
|
const StandardConnectorApiSchema = z$1.object({
|
|
422
|
-
auth_type: z$1.enum([
|
|
423
|
-
"APIKEY",
|
|
424
|
-
"OAUTH2",
|
|
425
|
-
"OAUTH2_CLIENT_CREDENTIALS",
|
|
426
|
-
"WIF",
|
|
427
|
-
"STEPS"
|
|
428
|
-
]),
|
|
429
409
|
can_be_managed: z$1.boolean(),
|
|
430
410
|
can_restrict_to_admins: z$1.boolean(),
|
|
431
411
|
categories: z$1.array(z$1.enum([
|
|
@@ -578,10 +558,6 @@ const V1AvailableConnectorEntrySchema = z$1.object({
|
|
|
578
558
|
requires_custom_url: z$1.boolean().optional(),
|
|
579
559
|
summary: z$1.string()
|
|
580
560
|
});
|
|
581
|
-
const CursorListResponseV1AvailableConnectorEntrySchema = z$1.object({
|
|
582
|
-
data: z$1.array(V1AvailableConnectorEntrySchema).nullable(),
|
|
583
|
-
pagination: PaginationSchema
|
|
584
|
-
});
|
|
585
561
|
const V1AwaitingInputSummarySchema = z$1.object({
|
|
586
562
|
event_id: z$1.string(),
|
|
587
563
|
input_schema: z$1.unknown().optional(),
|
|
@@ -601,6 +577,25 @@ const V1BillingPeriodSchema = z$1.object({
|
|
|
601
577
|
end: z$1.iso.datetime(),
|
|
602
578
|
start: z$1.iso.datetime()
|
|
603
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
|
+
});
|
|
604
599
|
const V1ConnectionItemSchema = z$1.object({
|
|
605
600
|
connector_id: z$1.string(),
|
|
606
601
|
created_at: z$1.string(),
|
|
@@ -610,10 +605,6 @@ const V1ConnectionItemSchema = z$1.object({
|
|
|
610
605
|
status: z$1.string(),
|
|
611
606
|
updated_at: z$1.string()
|
|
612
607
|
});
|
|
613
|
-
const CursorListResponseV1ConnectionItemSchema = z$1.object({
|
|
614
|
-
data: z$1.array(V1ConnectionItemSchema).nullable(),
|
|
615
|
-
pagination: PaginationSchema
|
|
616
|
-
});
|
|
617
608
|
const V1ConnectorResponseSchema = z$1.object({
|
|
618
609
|
auth_type: z$1.string(),
|
|
619
610
|
connector_id: z$1.string().optional(),
|
|
@@ -699,10 +690,7 @@ const V1DiffEntrySchema = z$1.object({
|
|
|
699
690
|
is_incomplete: z$1.boolean().optional(),
|
|
700
691
|
original_file_path: z$1.string().optional()
|
|
701
692
|
});
|
|
702
|
-
const V1DiffResponseSchema = z$1.object({
|
|
703
|
-
diffs: z$1.array(V1DiffEntrySchema).nullable(),
|
|
704
|
-
error: z$1.string().optional()
|
|
705
|
-
});
|
|
693
|
+
const V1DiffResponseSchema = z$1.object({ diffs: z$1.array(V1DiffEntrySchema).nullable() });
|
|
706
694
|
const V1EditSummarySchema = z$1.object({
|
|
707
695
|
commit_message: z$1.string().optional(),
|
|
708
696
|
commit_sha: z$1.string().optional(),
|
|
@@ -711,6 +699,12 @@ const V1EditSummarySchema = z$1.object({
|
|
|
711
699
|
status: z$1.string(),
|
|
712
700
|
type: z$1.string()
|
|
713
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
|
+
});
|
|
714
708
|
const V1EnableDatabaseOutputBodySchema = z$1.object({
|
|
715
709
|
enabled: z$1.boolean(),
|
|
716
710
|
stack: z$1.string()
|
|
@@ -1024,6 +1018,14 @@ const V1SendMessageInputBodySchema = z$1.object({
|
|
|
1024
1018
|
plan_mode: z$1.boolean().optional(),
|
|
1025
1019
|
variant_id: z$1.string().optional()
|
|
1026
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
|
+
});
|
|
1027
1029
|
const V1UsagePeriodSchema = z$1.object({
|
|
1028
1030
|
end: z$1.string(),
|
|
1029
1031
|
granularity: z$1.string().optional(),
|
|
@@ -1082,6 +1084,7 @@ const V1WorkspaceMemberSchema = z$1.object({
|
|
|
1082
1084
|
email: z$1.string().optional(),
|
|
1083
1085
|
invited_at: z$1.iso.datetime().optional(),
|
|
1084
1086
|
joined_at: z$1.iso.datetime().optional(),
|
|
1087
|
+
monthly_credit_limit: z$1.number().optional(),
|
|
1085
1088
|
role: z$1.string(),
|
|
1086
1089
|
user_id: z$1.string(),
|
|
1087
1090
|
workspace_id: z$1.string()
|
|
@@ -1215,6 +1218,7 @@ const V1WorkspaceSecurityDashboardBodySchema = z$1.object({
|
|
|
1215
1218
|
const V1WorkspaceSettingsBodySchema = z$1.object({
|
|
1216
1219
|
billing_period_end_date: z$1.iso.datetime().optional(),
|
|
1217
1220
|
billing_period_start_date: z$1.iso.datetime().optional(),
|
|
1221
|
+
default_monthly_member_credit_limit: z$1.number().optional(),
|
|
1218
1222
|
default_project_visibility: z$1.string().optional(),
|
|
1219
1223
|
enable_pii: z$1.boolean(),
|
|
1220
1224
|
enforce_sso: z$1.boolean(),
|
|
@@ -1350,6 +1354,6 @@ const WorkspaceWithMembershipSchema = PublicV1WorkspaceWithMembershipSchema;
|
|
|
1350
1354
|
const V1DatabaseQueryOutputBodySchema = z.object({ rows: z.array(z.record(z.string(), z.unknown())).nullable() });
|
|
1351
1355
|
const V1DatabaseQueryOutputBodyWritableSchema = z.object({ rows: z.array(z.record(z.string(), z.unknown())).nullable() });
|
|
1352
1356
|
//#endregion
|
|
1353
|
-
export { AddProjectsToFolderResultSchema, AppUserConnectorApiSchema, CommonSeamlessConnectorCreatorSchema, CommonSeamlessConnectorFeatureSchema, CommonSeamlessConnectorPermissionSchema, CreatorSchema, CursorListResponseProjectPiiFindingDtoSchema, CursorListResponsePublicV1ConnectorItemSchema, CursorListResponsePublicV1ProjectListItemSchema, CursorListResponseSearchProjectItemSchema,
|
|
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 };
|
|
1354
1358
|
|
|
1355
1359
|
//# sourceMappingURL=schemas.js.map
|