@lovable.dev/sdk 1.2.2 → 1.3.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 +278 -928
- package/dist/index.js +0 -48
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +277 -1701
- package/dist/schemas.js +104 -575
- package/dist/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +0 -53
- package/src/generated/paths.ts +229 -736
- package/src/generated/zod/zod.gen.ts +98 -594
- package/src/index.ts +0 -6
- package/src/schemas.ts +23 -0
- package/src/types.ts +10 -24
package/dist/index.d.ts
CHANGED
|
@@ -67,26 +67,6 @@ interface paths {
|
|
|
67
67
|
patch?: never;
|
|
68
68
|
trace?: never;
|
|
69
69
|
};
|
|
70
|
-
"/v1/available-connectors": {
|
|
71
|
-
parameters: {
|
|
72
|
-
query?: never;
|
|
73
|
-
header?: never;
|
|
74
|
-
path?: never;
|
|
75
|
-
cookie?: never;
|
|
76
|
-
};
|
|
77
|
-
/**
|
|
78
|
-
* Browse available connectors
|
|
79
|
-
* @description Returns available connector templates that can be added to a workspace in catalog order.
|
|
80
|
-
*/
|
|
81
|
-
get: operations["get-v1-available-connectors"];
|
|
82
|
-
put?: never;
|
|
83
|
-
post?: never;
|
|
84
|
-
delete?: never;
|
|
85
|
-
options?: never;
|
|
86
|
-
head?: never;
|
|
87
|
-
patch?: never;
|
|
88
|
-
trace?: never;
|
|
89
|
-
};
|
|
90
70
|
"/v1/collaborators": {
|
|
91
71
|
parameters: {
|
|
92
72
|
query?: never;
|
|
@@ -109,26 +89,6 @@ interface paths {
|
|
|
109
89
|
patch?: never;
|
|
110
90
|
trace?: never;
|
|
111
91
|
};
|
|
112
|
-
"/v1/connections": {
|
|
113
|
-
parameters: {
|
|
114
|
-
query?: never;
|
|
115
|
-
header?: never;
|
|
116
|
-
path?: never;
|
|
117
|
-
cookie?: never;
|
|
118
|
-
};
|
|
119
|
-
/**
|
|
120
|
-
* List connections
|
|
121
|
-
* @description Returns authenticated connector connections in a workspace, sorted by created_at then connection ID.
|
|
122
|
-
*/
|
|
123
|
-
get: operations["get-v1-connections"];
|
|
124
|
-
put?: never;
|
|
125
|
-
post?: never;
|
|
126
|
-
delete?: never;
|
|
127
|
-
options?: never;
|
|
128
|
-
head?: never;
|
|
129
|
-
patch?: never;
|
|
130
|
-
trace?: never;
|
|
131
|
-
};
|
|
132
92
|
"/v1/connectors": {
|
|
133
93
|
parameters: {
|
|
134
94
|
query?: never;
|
|
@@ -138,36 +98,12 @@ interface paths {
|
|
|
138
98
|
};
|
|
139
99
|
/**
|
|
140
100
|
* List connectors
|
|
141
|
-
* @description Returns connectors for a workspace in
|
|
101
|
+
* @description Returns connectors for a workspace, one item per connector. A connector offered as several types (e.g. standard and mcp) is returned once with every type in its types array, workspace connection state, and a settings page link where it can be set up. Ordered by type (standard, seamless, app-user, mcp), then each type's stable catalog order. Filter with type=standard,seamless,app-user,mcp and status=connected.
|
|
142
102
|
*/
|
|
143
103
|
get: operations["get-v1-connectors"];
|
|
144
104
|
put?: never;
|
|
145
|
-
/**
|
|
146
|
-
* Add connector
|
|
147
|
-
* @description Adds an MCP connector to a workspace. Pass workspace_id in the request body.
|
|
148
|
-
*/
|
|
149
|
-
post: operations["post-v1-connectors"];
|
|
150
|
-
delete?: never;
|
|
151
|
-
options?: never;
|
|
152
|
-
head?: never;
|
|
153
|
-
patch?: never;
|
|
154
|
-
trace?: never;
|
|
155
|
-
};
|
|
156
|
-
"/v1/connectors/{connector_id}": {
|
|
157
|
-
parameters: {
|
|
158
|
-
query?: never;
|
|
159
|
-
header?: never;
|
|
160
|
-
path?: never;
|
|
161
|
-
cookie?: never;
|
|
162
|
-
};
|
|
163
|
-
get?: never;
|
|
164
|
-
put?: never;
|
|
165
105
|
post?: never;
|
|
166
|
-
|
|
167
|
-
* Remove connector
|
|
168
|
-
* @description Removes an MCP connector from a workspace. Pass workspace_id as a query parameter.
|
|
169
|
-
*/
|
|
170
|
-
delete: operations["delete-v1-connectors-connector_id"];
|
|
106
|
+
delete?: never;
|
|
171
107
|
options?: never;
|
|
172
108
|
head?: never;
|
|
173
109
|
patch?: never;
|
|
@@ -1305,7 +1241,7 @@ interface paths {
|
|
|
1305
1241
|
};
|
|
1306
1242
|
/**
|
|
1307
1243
|
* List workspaces
|
|
1308
|
-
* @description Returns workspaces the authenticated user belongs to
|
|
1244
|
+
* @description Returns workspaces the authenticated user belongs to with cursor pagination.
|
|
1309
1245
|
*/
|
|
1310
1246
|
get: operations["get-v1-workspaces"];
|
|
1311
1247
|
put?: never;
|
|
@@ -1346,7 +1282,7 @@ interface paths {
|
|
|
1346
1282
|
/**
|
|
1347
1283
|
* Browse available connectors
|
|
1348
1284
|
* @deprecated
|
|
1349
|
-
* @description Deprecated compatibility alias. Prefer GET /v1/
|
|
1285
|
+
* @description Deprecated compatibility alias. Prefer GET /v1/connectors?workspace_id=...
|
|
1350
1286
|
*/
|
|
1351
1287
|
get: operations["get-v1-workspaces-workspace_id-available-connectors"];
|
|
1352
1288
|
put?: never;
|
|
@@ -1409,7 +1345,7 @@ interface paths {
|
|
|
1409
1345
|
/**
|
|
1410
1346
|
* List connections
|
|
1411
1347
|
* @deprecated
|
|
1412
|
-
* @description Deprecated compatibility
|
|
1348
|
+
* @description Deprecated compatibility endpoint.
|
|
1413
1349
|
*/
|
|
1414
1350
|
get: operations["get-v1-workspaces-workspace_id-connections"];
|
|
1415
1351
|
put?: never;
|
|
@@ -1437,7 +1373,7 @@ interface paths {
|
|
|
1437
1373
|
/**
|
|
1438
1374
|
* Add connector
|
|
1439
1375
|
* @deprecated
|
|
1440
|
-
* @description Deprecated compatibility
|
|
1376
|
+
* @description Deprecated compatibility endpoint.
|
|
1441
1377
|
*/
|
|
1442
1378
|
post: operations["post-v1-workspaces-workspace_id-connectors"];
|
|
1443
1379
|
delete?: never;
|
|
@@ -1734,11 +1670,6 @@ interface components {
|
|
|
1734
1670
|
*/
|
|
1735
1671
|
who_can_create: "editors_and_admins" | "admins_only";
|
|
1736
1672
|
};
|
|
1737
|
-
AppUserConnectorSetting: {
|
|
1738
|
-
enabled: boolean;
|
|
1739
|
-
name: string;
|
|
1740
|
-
who_can_create?: string;
|
|
1741
|
-
};
|
|
1742
1673
|
CommonSeamlessConnectorCreator: {
|
|
1743
1674
|
name: string;
|
|
1744
1675
|
url: string;
|
|
@@ -1768,16 +1699,8 @@ interface components {
|
|
|
1768
1699
|
data: components["schemas"]["PublicV1ConnectorItem"][] | null;
|
|
1769
1700
|
pagination: components["schemas"]["Pagination"];
|
|
1770
1701
|
};
|
|
1771
|
-
|
|
1772
|
-
data: components["schemas"]["
|
|
1773
|
-
pagination: components["schemas"]["Pagination"];
|
|
1774
|
-
};
|
|
1775
|
-
CursorListResponseV1AvailableConnectorEntry: {
|
|
1776
|
-
data: components["schemas"]["V1AvailableConnectorEntry"][] | null;
|
|
1777
|
-
pagination: components["schemas"]["Pagination"];
|
|
1778
|
-
};
|
|
1779
|
-
CursorListResponseV1ConnectionItem: {
|
|
1780
|
-
data: components["schemas"]["V1ConnectionItem"][] | null;
|
|
1702
|
+
CursorListResponsePublicV1ProjectListItem: {
|
|
1703
|
+
data: components["schemas"]["PublicV1ProjectListItem"][] | null;
|
|
1781
1704
|
pagination: components["schemas"]["Pagination"];
|
|
1782
1705
|
};
|
|
1783
1706
|
CursorListResponseV1MessageListItem: {
|
|
@@ -1815,17 +1738,6 @@ interface components {
|
|
|
1815
1738
|
content: string;
|
|
1816
1739
|
type: string;
|
|
1817
1740
|
};
|
|
1818
|
-
DisputeVoidedGrant: {
|
|
1819
|
-
/** Format: int64 */
|
|
1820
|
-
amount: number;
|
|
1821
|
-
applicability: string;
|
|
1822
|
-
category: string;
|
|
1823
|
-
currency: string;
|
|
1824
|
-
grant_id: string;
|
|
1825
|
-
grant_type: string;
|
|
1826
|
-
/** Format: int64 */
|
|
1827
|
-
price_per_credit_hundredths: number;
|
|
1828
|
-
};
|
|
1829
1741
|
ErrorDetail: {
|
|
1830
1742
|
/** @description Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id' */
|
|
1831
1743
|
location?: string;
|
|
@@ -1912,12 +1824,6 @@ interface components {
|
|
|
1912
1824
|
/** @description Caller's role in the workspace */
|
|
1913
1825
|
role: string;
|
|
1914
1826
|
};
|
|
1915
|
-
GetUserWorkspaceBody: {
|
|
1916
|
-
/** @description Current user's membership details */
|
|
1917
|
-
current_member?: components["schemas"]["WorkspaceMembershipResponse"];
|
|
1918
|
-
/** @description The workspace details */
|
|
1919
|
-
workspace: components["schemas"]["Workspace"];
|
|
1920
|
-
};
|
|
1921
1827
|
GitFileEntry: {
|
|
1922
1828
|
binary: boolean;
|
|
1923
1829
|
path: string;
|
|
@@ -1996,34 +1902,12 @@ interface components {
|
|
|
1996
1902
|
name: string;
|
|
1997
1903
|
url: string;
|
|
1998
1904
|
};
|
|
1999
|
-
MCPConnectorSetting: {
|
|
2000
|
-
enabled: boolean;
|
|
2001
|
-
name: string;
|
|
2002
|
-
};
|
|
2003
1905
|
Pagination: {
|
|
2004
1906
|
/** @description Whether more results are available beyond this page */
|
|
2005
1907
|
has_more: boolean;
|
|
2006
1908
|
/** @description Cursor for the next page; null when there are no more results */
|
|
2007
1909
|
next_cursor: string | null;
|
|
2008
1910
|
};
|
|
2009
|
-
PendingDisputeAdjustment: {
|
|
2010
|
-
currency: string;
|
|
2011
|
-
/** Format: int64 */
|
|
2012
|
-
customer_balance_debit_amount: number;
|
|
2013
|
-
customer_id: string;
|
|
2014
|
-
invoice_id: string;
|
|
2015
|
-
voided_grants: components["schemas"]["DisputeVoidedGrant"][] | null;
|
|
2016
|
-
};
|
|
2017
|
-
PendingRefundAdjustment: Record<string, never>;
|
|
2018
|
-
ProjectAccessEntry: {
|
|
2019
|
-
/** Format: date-time */
|
|
2020
|
-
accepted_at?: string;
|
|
2021
|
-
/** Format: date-time */
|
|
2022
|
-
invited_at: string;
|
|
2023
|
-
invited_by: string;
|
|
2024
|
-
/** @enum {string} */
|
|
2025
|
-
level: "owner" | "admin" | "write" | "read" | "none";
|
|
2026
|
-
};
|
|
2027
1911
|
ProjectAnalyticsResponse: {
|
|
2028
1912
|
lists: components["schemas"]["ListsGroup"];
|
|
2029
1913
|
timeSeries: components["schemas"]["TimeSeriesGroup"];
|
|
@@ -2074,36 +1958,7 @@ interface components {
|
|
|
2074
1958
|
currentVisitors: number;
|
|
2075
1959
|
data: components["schemas"]["TrendDataPoint"][] | null;
|
|
2076
1960
|
};
|
|
2077
|
-
PublicV1AddConnectorBody: {
|
|
2078
|
-
/**
|
|
2079
|
-
* @description Authentication type
|
|
2080
|
-
* @enum {string}
|
|
2081
|
-
*/
|
|
2082
|
-
auth_type: "none" | "bearer_token";
|
|
2083
|
-
/** @description Catalog connector ID */
|
|
2084
|
-
connector_id?: string;
|
|
2085
|
-
/** @description Display name for this connector */
|
|
2086
|
-
name: string;
|
|
2087
|
-
/** @description Enterprise connectivity endpoint ID */
|
|
2088
|
-
network_transport_endpoint_id?: string;
|
|
2089
|
-
/** @description Enterprise connectivity profile ID */
|
|
2090
|
-
network_transport_profile_id?: string;
|
|
2091
|
-
/** @description Enterprise connectivity transport type */
|
|
2092
|
-
network_transport_type?: string;
|
|
2093
|
-
/** @description Enterprise relay client ID */
|
|
2094
|
-
relay_client_id?: string;
|
|
2095
|
-
/** @description Target service name in relay client route table */
|
|
2096
|
-
relay_service_name?: string;
|
|
2097
|
-
/** @description Bearer token */
|
|
2098
|
-
token?: string;
|
|
2099
|
-
/** @description MCP server URL. Required unless relay_client_id is provided */
|
|
2100
|
-
url?: string;
|
|
2101
|
-
/** @description Workspace ID */
|
|
2102
|
-
workspace_id: string;
|
|
2103
|
-
};
|
|
2104
1961
|
PublicV1ConnectorItem: {
|
|
2105
|
-
/** @description Authentication type, when available */
|
|
2106
|
-
auth_type?: string;
|
|
2107
1962
|
/** @description Connector categories */
|
|
2108
1963
|
categories?: string[] | null;
|
|
2109
1964
|
/** @description Connector category */
|
|
@@ -2120,16 +1975,18 @@ interface components {
|
|
|
2120
1975
|
is_connected?: boolean;
|
|
2121
1976
|
/** @description Whether the connector is enabled for this workspace, when available */
|
|
2122
1977
|
is_enabled_for_workspace?: boolean;
|
|
2123
|
-
/** @description
|
|
2124
|
-
|
|
1978
|
+
/** @description Lovable settings page where this connector can be set up */
|
|
1979
|
+
settings_url?: string;
|
|
2125
1980
|
/** @description Short connector description */
|
|
2126
1981
|
short_description?: string;
|
|
2127
1982
|
/** @description Connection status, when available */
|
|
2128
1983
|
status?: string;
|
|
2129
1984
|
/** @description Connector summary */
|
|
2130
1985
|
summary?: string;
|
|
2131
|
-
/** @description
|
|
1986
|
+
/** @description Deprecated: first entry of types. Use types instead. */
|
|
2132
1987
|
type: string;
|
|
1988
|
+
/** @description Connector types this connector supports: standard, seamless, app-user, mcp */
|
|
1989
|
+
types?: string[];
|
|
2133
1990
|
};
|
|
2134
1991
|
PublicV1CreateProjectResponse: {
|
|
2135
1992
|
/** @description AI-generated project description */
|
|
@@ -2171,6 +2028,12 @@ interface components {
|
|
|
2171
2028
|
/** @description Project ID */
|
|
2172
2029
|
project_id: string;
|
|
2173
2030
|
};
|
|
2031
|
+
PublicV1GetWorkspaceBody: {
|
|
2032
|
+
/** @description Caller's membership in this workspace. */
|
|
2033
|
+
current_member?: components["schemas"]["PublicV1WorkspaceMember"];
|
|
2034
|
+
/** @description Workspace details. */
|
|
2035
|
+
workspace: components["schemas"]["PublicV1Workspace"];
|
|
2036
|
+
};
|
|
2174
2037
|
PublicV1GitFilesResponse: {
|
|
2175
2038
|
data: components["schemas"]["GitFileEntryLite"][] | null;
|
|
2176
2039
|
pagination: components["schemas"]["Pagination"];
|
|
@@ -2220,6 +2083,57 @@ interface components {
|
|
|
2220
2083
|
/** @description Project ID */
|
|
2221
2084
|
project_id: string;
|
|
2222
2085
|
};
|
|
2086
|
+
PublicV1ProjectListItem: {
|
|
2087
|
+
/**
|
|
2088
|
+
* Format: date-time
|
|
2089
|
+
* @description When the project was created.
|
|
2090
|
+
*/
|
|
2091
|
+
created_at?: string;
|
|
2092
|
+
/** @description Project description. */
|
|
2093
|
+
description?: string;
|
|
2094
|
+
/** @description Human-readable project name. */
|
|
2095
|
+
display_name?: string;
|
|
2096
|
+
/** @description Folder the project belongs to, if any. */
|
|
2097
|
+
folder_id?: string;
|
|
2098
|
+
/** @description Project ID. */
|
|
2099
|
+
id: string;
|
|
2100
|
+
/** @description Whether the project is published. */
|
|
2101
|
+
is_published?: boolean;
|
|
2102
|
+
/** @description Whether the project is a template. */
|
|
2103
|
+
is_template?: boolean;
|
|
2104
|
+
/**
|
|
2105
|
+
* Format: date-time
|
|
2106
|
+
* @description When the project was last edited.
|
|
2107
|
+
*/
|
|
2108
|
+
last_edited_at?: string;
|
|
2109
|
+
/** @description URL of the latest screenshot. */
|
|
2110
|
+
latest_screenshot_url?: string;
|
|
2111
|
+
/** @description Project slug. */
|
|
2112
|
+
name?: string;
|
|
2113
|
+
/** @description Open Graph image URL. */
|
|
2114
|
+
og_image_url?: string;
|
|
2115
|
+
/** @description Project type. */
|
|
2116
|
+
project_type?: string;
|
|
2117
|
+
/** @description Published visibility. */
|
|
2118
|
+
publish_visibility?: string;
|
|
2119
|
+
/** @description Project status: in_progress, completed, or failed. */
|
|
2120
|
+
status?: string;
|
|
2121
|
+
/** @description Project tech stack. */
|
|
2122
|
+
tech_stack?: string;
|
|
2123
|
+
/**
|
|
2124
|
+
* Format: date-time
|
|
2125
|
+
* @description When the project was last updated.
|
|
2126
|
+
*/
|
|
2127
|
+
updated_at?: string;
|
|
2128
|
+
/** @description Published project URL. */
|
|
2129
|
+
url?: string;
|
|
2130
|
+
/** @description Project owner user ID. */
|
|
2131
|
+
user_id?: string;
|
|
2132
|
+
/** @description Project visibility: draft, private, workspace_view, or public. */
|
|
2133
|
+
visibility?: string;
|
|
2134
|
+
/** @description Workspace the project belongs to. */
|
|
2135
|
+
workspace_id: string;
|
|
2136
|
+
};
|
|
2223
2137
|
PublicV1ProjectRemixInputBody: {
|
|
2224
2138
|
/** @description Project description */
|
|
2225
2139
|
description?: string;
|
|
@@ -2278,6 +2192,76 @@ interface components {
|
|
|
2278
2192
|
/** @description Project ID */
|
|
2279
2193
|
project_id: string;
|
|
2280
2194
|
};
|
|
2195
|
+
PublicV1Workspace: {
|
|
2196
|
+
/**
|
|
2197
|
+
* Format: date-time
|
|
2198
|
+
* @description When the workspace was created.
|
|
2199
|
+
*/
|
|
2200
|
+
created_at?: string;
|
|
2201
|
+
/** @description Workspace description. */
|
|
2202
|
+
description?: string;
|
|
2203
|
+
/** @description Workspace ID. */
|
|
2204
|
+
id: string;
|
|
2205
|
+
/** @description Workspace image URL. */
|
|
2206
|
+
image_url?: string;
|
|
2207
|
+
/** @description Workspace display name. */
|
|
2208
|
+
name: string;
|
|
2209
|
+
/**
|
|
2210
|
+
* Format: int64
|
|
2211
|
+
* @description Number of projects in the workspace.
|
|
2212
|
+
*/
|
|
2213
|
+
num_projects: number;
|
|
2214
|
+
/** @description Plan tier: free, pro, biz, or enterprise. */
|
|
2215
|
+
plan: string;
|
|
2216
|
+
/**
|
|
2217
|
+
* Format: date-time
|
|
2218
|
+
* @description When the workspace was last updated.
|
|
2219
|
+
*/
|
|
2220
|
+
updated_at?: string;
|
|
2221
|
+
};
|
|
2222
|
+
PublicV1WorkspaceMember: {
|
|
2223
|
+
/**
|
|
2224
|
+
* Format: date-time
|
|
2225
|
+
* @description When the caller joined the workspace.
|
|
2226
|
+
*/
|
|
2227
|
+
joined_at?: string;
|
|
2228
|
+
/**
|
|
2229
|
+
* @description Caller's role in the workspace.
|
|
2230
|
+
* @enum {string}
|
|
2231
|
+
*/
|
|
2232
|
+
role: "none" | "owner" | "admin" | "member" | "viewer" | "collaborator" | "invited";
|
|
2233
|
+
/** @description Caller's user ID. */
|
|
2234
|
+
user_id: string;
|
|
2235
|
+
};
|
|
2236
|
+
PublicV1WorkspaceWithMembership: {
|
|
2237
|
+
/**
|
|
2238
|
+
* Format: date-time
|
|
2239
|
+
* @description When the workspace was created.
|
|
2240
|
+
*/
|
|
2241
|
+
created_at?: string;
|
|
2242
|
+
/** @description Workspace description. */
|
|
2243
|
+
description?: string;
|
|
2244
|
+
/** @description Workspace ID. */
|
|
2245
|
+
id: string;
|
|
2246
|
+
/** @description Workspace image URL. */
|
|
2247
|
+
image_url?: string;
|
|
2248
|
+
/** @description Caller's membership in this workspace. */
|
|
2249
|
+
membership?: components["schemas"]["PublicV1WorkspaceMember"];
|
|
2250
|
+
/** @description Workspace display name. */
|
|
2251
|
+
name: string;
|
|
2252
|
+
/**
|
|
2253
|
+
* Format: int64
|
|
2254
|
+
* @description Number of projects in the workspace.
|
|
2255
|
+
*/
|
|
2256
|
+
num_projects: number;
|
|
2257
|
+
/** @description Plan tier: free, pro, biz, or enterprise. */
|
|
2258
|
+
plan: string;
|
|
2259
|
+
/**
|
|
2260
|
+
* Format: date-time
|
|
2261
|
+
* @description When the workspace was last updated.
|
|
2262
|
+
*/
|
|
2263
|
+
updated_at?: string;
|
|
2264
|
+
};
|
|
2281
2265
|
RemixJobStepInfo: {
|
|
2282
2266
|
integration_name?: string;
|
|
2283
2267
|
status?: string;
|
|
@@ -2301,10 +2285,6 @@ interface components {
|
|
|
2301
2285
|
short_description: string;
|
|
2302
2286
|
toolIntegrationName?: string;
|
|
2303
2287
|
};
|
|
2304
|
-
SeamlessConnectorSetting: {
|
|
2305
|
-
enabled: boolean;
|
|
2306
|
-
name: string;
|
|
2307
|
-
};
|
|
2308
2288
|
SearchProjectItem: {
|
|
2309
2289
|
/** Format: date-time */
|
|
2310
2290
|
abandoned_at?: string;
|
|
@@ -2394,8 +2374,6 @@ interface components {
|
|
|
2394
2374
|
reason: string;
|
|
2395
2375
|
};
|
|
2396
2376
|
StandardConnectorAPI: {
|
|
2397
|
-
/** @enum {string} */
|
|
2398
|
-
auth_type: "APIKEY" | "OAUTH2" | "OAUTH2_CLIENT_CREDENTIALS" | "WIF" | "STEPS";
|
|
2399
2377
|
can_be_managed: boolean;
|
|
2400
2378
|
/** @description True when the workspace plan allows restricting connection creation to admins (Business and Enterprise) */
|
|
2401
2379
|
can_restrict_to_admins: boolean;
|
|
@@ -2453,11 +2431,6 @@ interface components {
|
|
|
2453
2431
|
/** Format: date-time */
|
|
2454
2432
|
until: string;
|
|
2455
2433
|
};
|
|
2456
|
-
StandardConnectorSetting: {
|
|
2457
|
-
enabled: boolean;
|
|
2458
|
-
name: string;
|
|
2459
|
-
who_can_create?: string;
|
|
2460
|
-
};
|
|
2461
2434
|
TemplateProjectResponse: {
|
|
2462
2435
|
/** @description Project description */
|
|
2463
2436
|
description: string;
|
|
@@ -2644,33 +2617,60 @@ interface components {
|
|
|
2644
2617
|
visibility?: string;
|
|
2645
2618
|
};
|
|
2646
2619
|
V1CreateProjectResponse: {
|
|
2647
|
-
/**
|
|
2620
|
+
/**
|
|
2621
|
+
* Format: date-time
|
|
2622
|
+
* @description When the project was created.
|
|
2623
|
+
*/
|
|
2624
|
+
created_at?: string;
|
|
2625
|
+
/** @description Project description. */
|
|
2648
2626
|
description?: string;
|
|
2649
|
-
/** @description
|
|
2627
|
+
/** @description Human-readable project name. */
|
|
2650
2628
|
display_name?: string;
|
|
2651
2629
|
/** @description Static-preview URL with a short-lived (1h) signed token (?__lovable_token=…) that loads the preview in an iframe or a direct open without an in-iframe Lovable login. Grants static-preview access only; to permit a specific third-party framing origin, mint an origin-bound token via POST /v1/projects/{project_id}/embed-url. */
|
|
2652
2630
|
embed_url?: string;
|
|
2653
|
-
/** @description
|
|
2631
|
+
/** @description Folder the project belongs to, if any. */
|
|
2632
|
+
folder_id?: string;
|
|
2633
|
+
/** @description Project ID. */
|
|
2654
2634
|
id: string;
|
|
2655
|
-
/** @description Whether the project is published */
|
|
2635
|
+
/** @description Whether the project is published. */
|
|
2656
2636
|
is_published?: boolean;
|
|
2637
|
+
/** @description Whether the project is a template. */
|
|
2638
|
+
is_template?: boolean;
|
|
2639
|
+
/**
|
|
2640
|
+
* Format: date-time
|
|
2641
|
+
* @description When the project was last edited.
|
|
2642
|
+
*/
|
|
2643
|
+
last_edited_at?: string;
|
|
2657
2644
|
/** @description SHA of the latest commit */
|
|
2658
2645
|
latest_commit_sha?: string;
|
|
2659
|
-
/** @description URL of the latest screenshot */
|
|
2646
|
+
/** @description URL of the latest screenshot. */
|
|
2660
2647
|
latest_screenshot_url?: string;
|
|
2661
2648
|
/** @description User message ID, present when initial_message was provided */
|
|
2662
2649
|
message_id?: string;
|
|
2663
|
-
/** @description Project slug */
|
|
2650
|
+
/** @description Project slug. */
|
|
2664
2651
|
name?: string;
|
|
2665
|
-
/** @description
|
|
2652
|
+
/** @description Open Graph image URL. */
|
|
2653
|
+
og_image_url?: string;
|
|
2654
|
+
/** @description Project type. */
|
|
2655
|
+
project_type?: string;
|
|
2656
|
+
/** @description Published visibility. */
|
|
2657
|
+
publish_visibility?: string;
|
|
2658
|
+
/** @description Project status: in_progress, completed, or failed. */
|
|
2666
2659
|
status?: string;
|
|
2667
|
-
/** @description
|
|
2660
|
+
/** @description Project tech stack. */
|
|
2668
2661
|
tech_stack?: string;
|
|
2669
|
-
/**
|
|
2662
|
+
/**
|
|
2663
|
+
* Format: date-time
|
|
2664
|
+
* @description When the project was last updated.
|
|
2665
|
+
*/
|
|
2666
|
+
updated_at?: string;
|
|
2667
|
+
/** @description Published project URL. */
|
|
2670
2668
|
url?: string;
|
|
2671
|
-
/** @description Project
|
|
2669
|
+
/** @description Project owner user ID. */
|
|
2670
|
+
user_id?: string;
|
|
2671
|
+
/** @description Project visibility: draft, private, workspace_view, or public. */
|
|
2672
2672
|
visibility?: string;
|
|
2673
|
-
/** @description Workspace
|
|
2673
|
+
/** @description Workspace the project belongs to. */
|
|
2674
2674
|
workspace_id: string;
|
|
2675
2675
|
};
|
|
2676
2676
|
V1CreateVariantInputBody: {
|
|
@@ -2914,11 +2914,9 @@ interface components {
|
|
|
2914
2914
|
};
|
|
2915
2915
|
V1ListWorkspacesBody: {
|
|
2916
2916
|
/** @description Workspaces the user is a member of */
|
|
2917
|
-
data: components["schemas"]["
|
|
2917
|
+
data: components["schemas"]["PublicV1WorkspaceWithMembership"][] | null;
|
|
2918
2918
|
/** @description Pagination metadata */
|
|
2919
2919
|
pagination: components["schemas"]["Pagination"];
|
|
2920
|
-
/** @description Deprecated compatibility field. Use data instead. */
|
|
2921
|
-
workspaces: components["schemas"]["WorkspaceWithMembership"][] | null;
|
|
2922
2920
|
};
|
|
2923
2921
|
V1MessageListItem: {
|
|
2924
2922
|
/** @description Message text content */
|
|
@@ -3021,31 +3019,58 @@ interface components {
|
|
|
3021
3019
|
total: number;
|
|
3022
3020
|
};
|
|
3023
3021
|
V1ProjectResponse: {
|
|
3024
|
-
/**
|
|
3022
|
+
/**
|
|
3023
|
+
* Format: date-time
|
|
3024
|
+
* @description When the project was created.
|
|
3025
|
+
*/
|
|
3026
|
+
created_at?: string;
|
|
3027
|
+
/** @description Project description. */
|
|
3025
3028
|
description?: string;
|
|
3026
|
-
/** @description
|
|
3029
|
+
/** @description Human-readable project name. */
|
|
3027
3030
|
display_name?: string;
|
|
3028
3031
|
/** @description Static-preview URL with a short-lived (1h) signed token (?__lovable_token=…) that loads the preview in an iframe or a direct open without an in-iframe Lovable login. Grants static-preview access only; to permit a specific third-party framing origin, mint an origin-bound token via POST /v1/projects/{project_id}/embed-url. */
|
|
3029
3032
|
embed_url?: string;
|
|
3030
|
-
/** @description
|
|
3033
|
+
/** @description Folder the project belongs to, if any. */
|
|
3034
|
+
folder_id?: string;
|
|
3035
|
+
/** @description Project ID. */
|
|
3031
3036
|
id: string;
|
|
3032
|
-
/** @description Whether the project is published */
|
|
3037
|
+
/** @description Whether the project is published. */
|
|
3033
3038
|
is_published?: boolean;
|
|
3039
|
+
/** @description Whether the project is a template. */
|
|
3040
|
+
is_template?: boolean;
|
|
3041
|
+
/**
|
|
3042
|
+
* Format: date-time
|
|
3043
|
+
* @description When the project was last edited.
|
|
3044
|
+
*/
|
|
3045
|
+
last_edited_at?: string;
|
|
3034
3046
|
/** @description SHA of the latest commit */
|
|
3035
3047
|
latest_commit_sha?: string;
|
|
3036
|
-
/** @description URL of the latest screenshot */
|
|
3048
|
+
/** @description URL of the latest screenshot. */
|
|
3037
3049
|
latest_screenshot_url?: string;
|
|
3038
|
-
/** @description Project slug */
|
|
3050
|
+
/** @description Project slug. */
|
|
3039
3051
|
name?: string;
|
|
3040
|
-
/** @description
|
|
3052
|
+
/** @description Open Graph image URL. */
|
|
3053
|
+
og_image_url?: string;
|
|
3054
|
+
/** @description Project type. */
|
|
3055
|
+
project_type?: string;
|
|
3056
|
+
/** @description Published visibility. */
|
|
3057
|
+
publish_visibility?: string;
|
|
3058
|
+
/** @description Project status: in_progress, completed, or failed. */
|
|
3041
3059
|
status?: string;
|
|
3042
|
-
/** @description
|
|
3060
|
+
/** @description Project tech stack. */
|
|
3043
3061
|
tech_stack?: string;
|
|
3044
|
-
/**
|
|
3062
|
+
/**
|
|
3063
|
+
* Format: date-time
|
|
3064
|
+
* @description When the project was last updated.
|
|
3065
|
+
*/
|
|
3066
|
+
updated_at?: string;
|
|
3067
|
+
/** @description Published project URL. */
|
|
3045
3068
|
url?: string;
|
|
3046
|
-
/** @description Project
|
|
3069
|
+
/** @description Project owner user ID. */
|
|
3070
|
+
user_id?: string;
|
|
3071
|
+
/** @description Project visibility: draft, private, workspace_view, or public. */
|
|
3047
3072
|
visibility?: string;
|
|
3048
|
-
/** @description Workspace
|
|
3073
|
+
/** @description Workspace the project belongs to. */
|
|
3049
3074
|
workspace_id: string;
|
|
3050
3075
|
};
|
|
3051
3076
|
V1ProjectSkillDTO: {
|
|
@@ -3396,6 +3421,11 @@ interface components {
|
|
|
3396
3421
|
* @description When the user accepted the invitation. Absent on pending invites.
|
|
3397
3422
|
*/
|
|
3398
3423
|
joined_at?: string;
|
|
3424
|
+
/**
|
|
3425
|
+
* Format: double
|
|
3426
|
+
* @description Explicit monthly credit cap for this member. Absent means no per-member cap is set and the workspace default applies. Visible for yourself; visible for other members only with permission to view member usage.
|
|
3427
|
+
*/
|
|
3428
|
+
monthly_credit_limit?: number;
|
|
3399
3429
|
/** @description Workspace role. One of: owner, admin, member, viewer, collaborator. */
|
|
3400
3430
|
role: string;
|
|
3401
3431
|
/** @description Stable opaque identifier for the entry. For active members this is the user ID; for pending invites this is the Spanner-generated membership row id (never an email-derived value). */
|
|
@@ -3640,6 +3670,11 @@ interface components {
|
|
|
3640
3670
|
* @description Start of the current billing period.
|
|
3641
3671
|
*/
|
|
3642
3672
|
billing_period_start_date?: string;
|
|
3673
|
+
/**
|
|
3674
|
+
* Format: double
|
|
3675
|
+
* @description Default monthly credit cap applied to each member who has no explicit per-member limit. Absent when unset (members are bounded only by the workspace balance) or when the caller lacks permission to view workspace usage.
|
|
3676
|
+
*/
|
|
3677
|
+
default_monthly_member_credit_limit?: number;
|
|
3643
3678
|
/** @description Default visibility applied to new projects. One of: public, private, draft. Absent means the workspace effective default of private. */
|
|
3644
3679
|
default_project_visibility?: string;
|
|
3645
3680
|
/** @description Whether PII scanning is enabled across project resources. */
|
|
@@ -3851,446 +3886,48 @@ interface components {
|
|
|
3851
3886
|
/**
|
|
3852
3887
|
* Format: double
|
|
3853
3888
|
* @description Network data-transfer credits.
|
|
3854
|
-
*/
|
|
3855
|
-
network: number;
|
|
3856
|
-
/** @description Bucket end (YYYY-MM-DD, UTC), clamped to the requested window at the edges. */
|
|
3857
|
-
period_end: string;
|
|
3858
|
-
/** @description Inclusive bucket start (YYYY-MM-DD, UTC). */
|
|
3859
|
-
period_start: string;
|
|
3860
|
-
/**
|
|
3861
|
-
* Format: double
|
|
3862
|
-
* @description Realtime credits.
|
|
3863
|
-
*/
|
|
3864
|
-
realtime: number;
|
|
3865
|
-
/**
|
|
3866
|
-
* Format: double
|
|
3867
|
-
* @description Run-time credits in the bucket.
|
|
3868
|
-
*/
|
|
3869
|
-
run: number;
|
|
3870
|
-
/**
|
|
3871
|
-
* Format: double
|
|
3872
|
-
* @description Storage credits.
|
|
3873
|
-
*/
|
|
3874
|
-
storage: number;
|
|
3875
|
-
/**
|
|
3876
|
-
* Format: double
|
|
3877
|
-
* @description Total credits in the bucket.
|
|
3878
|
-
*/
|
|
3879
|
-
total: number;
|
|
3880
|
-
};
|
|
3881
|
-
V1WriteWorkspaceSkillInputBody: {
|
|
3882
|
-
/** @description Full SKILL.md contents (frontmatter + body) */
|
|
3883
|
-
markdown: string;
|
|
3884
|
-
};
|
|
3885
|
-
V1WriteWorkspaceSkillOutputBody: {
|
|
3886
|
-
/** @description Workspace repo commit SHA produced by this write */
|
|
3887
|
-
commit_sha: string;
|
|
3888
|
-
skill: components["schemas"]["V1WorkspaceSkillDTO"];
|
|
3889
|
-
};
|
|
3890
|
-
VisibilityChangeInfo: {
|
|
3891
|
-
/** @enum {string} */
|
|
3892
|
-
new_visibility: "public" | "private" | "draft" | "workspace_view";
|
|
3893
|
-
/** @enum {string} */
|
|
3894
|
-
previous_visibility?: "public" | "private" | "draft" | "workspace_view";
|
|
3895
|
-
project_id: string;
|
|
3896
|
-
};
|
|
3897
|
-
Workspace: {
|
|
3898
|
-
/** Format: int64 */
|
|
3899
|
-
abandoned_projects_threshold_days?: number;
|
|
3900
|
-
aikido_pentest_enabled?: boolean;
|
|
3901
|
-
allow_public_member_profiles?: boolean;
|
|
3902
|
-
always_redact_pii?: boolean;
|
|
3903
|
-
announcement_banner?: components["schemas"]["WorkspaceAnnouncementBanner"];
|
|
3904
|
-
app_user_connector_settings?: components["schemas"]["AppUserConnectorSetting"][] | null;
|
|
3905
|
-
auto_delete_abandoned_projects_enabled?: boolean;
|
|
3906
|
-
/** Format: date-time */
|
|
3907
|
-
auto_delete_enabled_at?: string;
|
|
3908
|
-
/** Format: int64 */
|
|
3909
|
-
auto_delete_grace_days?: number;
|
|
3910
|
-
/** Format: double */
|
|
3911
|
-
backend_total_used_in_billing_period: number;
|
|
3912
|
-
banner_url?: string;
|
|
3913
|
-
/** Format: double */
|
|
3914
|
-
billing_period_credits_limit: number;
|
|
3915
|
-
/** Format: double */
|
|
3916
|
-
billing_period_credits_used: number;
|
|
3917
|
-
/** Format: date-time */
|
|
3918
|
-
billing_period_end_date?: string;
|
|
3919
|
-
/** Format: date-time */
|
|
3920
|
-
billing_period_start_date?: string;
|
|
3921
|
-
block_publish_on_critical_findings?: boolean;
|
|
3922
|
-
block_publish_on_pii?: boolean;
|
|
3923
|
-
branded_app_url_cert_pack_id?: string;
|
|
3924
|
-
branded_app_url_failure_reason?: string;
|
|
3925
|
-
branded_app_url_slug?: string;
|
|
3926
|
-
branded_app_url_status?: string;
|
|
3927
|
-
cloud_block_bucket_creation?: boolean;
|
|
3928
|
-
cloud_block_database_creation?: boolean;
|
|
3929
|
-
cloud_block_public_buckets?: boolean;
|
|
3930
|
-
/** Format: date-time */
|
|
3931
|
-
created_at: string;
|
|
3932
|
-
custom_branded_domain?: string;
|
|
3933
|
-
custom_branded_domain_dcv_txt_name?: string;
|
|
3934
|
-
custom_branded_domain_dcv_txt_value?: string;
|
|
3935
|
-
custom_branded_domain_failure_reason?: string;
|
|
3936
|
-
custom_branded_domain_status?: string;
|
|
3937
|
-
custom_branded_hostname_id?: string;
|
|
3938
|
-
data_opt_out?: boolean;
|
|
3939
|
-
default_cloud_region?: string;
|
|
3940
|
-
default_library_id?: string;
|
|
3941
|
-
/** Format: double */
|
|
3942
|
-
default_monthly_member_credit_limit: number | null;
|
|
3943
|
-
/** @enum {string} */
|
|
3944
|
-
default_project_publish_visibility?: "public" | "private";
|
|
3945
|
-
/** @enum {string} */
|
|
3946
|
-
default_project_visibility?: "public" | "private" | "draft" | "workspace_view";
|
|
3947
|
-
default_template_id?: string;
|
|
3948
|
-
delegated_domain?: string;
|
|
3949
|
-
delegated_domain_status?: string;
|
|
3950
|
-
/** Format: date-time */
|
|
3951
|
-
deleted_at?: string;
|
|
3952
|
-
deleted_by?: string;
|
|
3953
|
-
deletion_event_id?: string;
|
|
3954
|
-
description?: string;
|
|
3955
|
-
disable_code_download?: boolean;
|
|
3956
|
-
disable_external_publish_invites?: boolean;
|
|
3957
|
-
disable_figma_import?: boolean;
|
|
3958
|
-
disable_named_previews?: boolean;
|
|
3959
|
-
disable_share_preview?: boolean;
|
|
3960
|
-
editor_can_invite?: boolean;
|
|
3961
|
-
editor_can_transfer_project?: boolean;
|
|
3962
|
-
egress_allowlist?: string[] | null;
|
|
3963
|
-
egress_mode?: string;
|
|
3964
|
-
enable_pii?: boolean;
|
|
3965
|
-
enforce_sso?: boolean;
|
|
3966
|
-
enterprise_relay_client_ids?: string[] | null;
|
|
3967
|
-
enterprise_relay_enabled?: boolean;
|
|
3968
|
-
exclude_from_cross_project_sharing?: boolean;
|
|
3969
|
-
exclude_from_discovery?: boolean;
|
|
3970
|
-
experimental_features: components["schemas"]["WorkspaceExperimentalFeatures"];
|
|
3971
|
-
/** @enum {string} */
|
|
3972
|
-
external_collaborator_level?: "all" | "none" | "viewer" | "editor";
|
|
3973
|
-
external_publish_permission_level?: string;
|
|
3974
|
-
/** Format: int64 */
|
|
3975
|
-
followers_count: number;
|
|
3976
|
-
/** Format: date-time */
|
|
3977
|
-
hard_delete_in_progress_at?: string;
|
|
3978
|
-
/** Format: date-time */
|
|
3979
|
-
hard_deleted_at?: string;
|
|
3980
|
-
id: string;
|
|
3981
|
-
image_url?: string;
|
|
3982
|
-
invite_links_disabled?: boolean;
|
|
3983
|
-
/** Format: date-time */
|
|
3984
|
-
invited_at?: string;
|
|
3985
|
-
is_personal?: boolean;
|
|
3986
|
-
is_temporary_edu?: boolean;
|
|
3987
|
-
/** Format: date-time */
|
|
3988
|
-
joined_at?: string;
|
|
3989
|
-
/** Format: date-time */
|
|
3990
|
-
last_rollover_period: string | null;
|
|
3991
|
-
/** Format: date-time */
|
|
3992
|
-
last_subscription_event_at?: string;
|
|
3993
|
-
local_mcp_enabled?: boolean;
|
|
3994
|
-
lovable_mcp_server_enabled?: boolean;
|
|
3995
|
-
mcp_connector_settings?: components["schemas"]["MCPConnectorSetting"][] | null;
|
|
3996
|
-
mcp_enabled?: boolean;
|
|
3997
|
-
/** Format: date-time */
|
|
3998
|
-
migrated_to_unified_billing_at?: string;
|
|
3999
|
-
name: string;
|
|
4000
|
-
/** Format: date-time */
|
|
4001
|
-
next_monthly_credit_grant_date?: string;
|
|
4002
|
-
/** Format: int64 */
|
|
4003
|
-
num_projects: number;
|
|
4004
|
-
/** Format: int64 */
|
|
4005
|
-
num_seats?: number;
|
|
4006
|
-
owner_id?: string;
|
|
4007
|
-
/** @enum {string} */
|
|
4008
|
-
payment_provider?: "stripe" | "apple" | "gcp_marketplace" | "microsoft_marketplace";
|
|
4009
|
-
pending_dispute_adjustments?: {
|
|
4010
|
-
[key: string]: components["schemas"]["PendingDisputeAdjustment"];
|
|
4011
|
-
};
|
|
4012
|
-
pending_refund_adjustments?: {
|
|
4013
|
-
[key: string]: components["schemas"]["PendingRefundAdjustment"];
|
|
4014
|
-
};
|
|
4015
|
-
/** @enum {string} */
|
|
4016
|
-
pii_live_chat_mode?: "off" | "detect_only" | "prompt" | "block";
|
|
4017
|
-
/** @enum {string} */
|
|
4018
|
-
plan?: "free" | "inactive" | "pro_0" | "pro_1" | "pro_2" | "pro_3" | "pro_4" | "pro_5" | "pro_6" | "pro_7" | "pro_8" | "pro_9" | "pro_10" | "pro_11" | "biz_1" | "biz_2" | "biz_3" | "biz_4" | "biz_5" | "biz_6" | "biz_7" | "biz_8" | "biz_9" | "biz_10" | "biz_11" | "enterprise" | "ambassador" | "ktlo" | "ktlo_1" | "ktlo_2" | "model_partner" | "teams_1" | "teams_2" | "teams_3" | "teams_4" | "teams_5" | "teams_6" | "teams_7" | "teams_8" | "teams_9" | "teams_10" | "teams_11";
|
|
4019
|
-
plan_scheduled?: string;
|
|
4020
|
-
/** Format: date-time */
|
|
4021
|
-
plan_scheduled_event_at?: string;
|
|
4022
|
-
/** Format: date-time */
|
|
4023
|
-
plan_scheduled_updated_at?: string;
|
|
4024
|
-
plan_type?: string;
|
|
4025
|
-
plan_type_scheduled?: string;
|
|
4026
|
-
/** @enum {string} */
|
|
4027
|
-
publishing_policy?: "workspace_only" | "disabled";
|
|
4028
|
-
reauth?: boolean;
|
|
4029
|
-
received_tax_id_bonus?: boolean;
|
|
4030
|
-
referral_code?: string;
|
|
4031
|
-
/** Format: int64 */
|
|
4032
|
-
referral_count: number;
|
|
4033
|
-
referral_disabled?: boolean;
|
|
4034
|
-
require_customer_pam_approval?: boolean;
|
|
4035
|
-
require_security_scan_before_publish?: boolean;
|
|
4036
|
-
require_workspace_editor_for_project_editing?: boolean;
|
|
4037
|
-
sandbox_provider_url?: string;
|
|
4038
|
-
seamless_connector_settings?: components["schemas"]["SeamlessConnectorSetting"][] | null;
|
|
4039
|
-
/** @enum {string} */
|
|
4040
|
-
security_auto_fix_mode?: "off" | "workspace_published_projects" | "externally_published_projects" | "published_projects" | "all_projects";
|
|
4041
|
-
share_sample_data_with_llms?: boolean;
|
|
4042
|
-
short_referral_code?: string;
|
|
4043
|
-
sso_provider_id?: string;
|
|
4044
|
-
/** Format: int64 */
|
|
4045
|
-
sso_session_duration?: number;
|
|
4046
|
-
standard_connector_settings?: components["schemas"]["StandardConnectorSetting"][] | null;
|
|
4047
|
-
subscription_currency?: string;
|
|
4048
|
-
/** @enum {string} */
|
|
4049
|
-
subscription_status?: "active" | "past_due" | "canceled" | "trialing" | "incomplete" | "incomplete_expired" | "unpaid" | "paused";
|
|
4050
|
-
/** Format: date-time */
|
|
4051
|
-
subscription_status_changed_at?: string;
|
|
4052
|
-
/** Format: date-time */
|
|
4053
|
-
topup_credits_purchased_at?: string;
|
|
4054
|
-
/** Format: date-time */
|
|
4055
|
-
updated_at: string;
|
|
4056
|
-
use_edu_openai_routing?: boolean;
|
|
4057
|
-
username?: string;
|
|
4058
|
-
verified_email_jit?: boolean;
|
|
4059
|
-
/** @enum {string} */
|
|
4060
|
-
verified_email_jit_role?: "none" | "owner" | "admin" | "member" | "viewer" | "collaborator" | "invited";
|
|
4061
|
-
};
|
|
4062
|
-
WorkspaceAnnouncementBanner: {
|
|
4063
|
-
allow_dismissal: boolean;
|
|
4064
|
-
color?: string;
|
|
4065
|
-
enabled: boolean;
|
|
4066
|
-
text?: string;
|
|
4067
|
-
text_color?: string;
|
|
4068
|
-
/** Format: date-time */
|
|
4069
|
-
updated_at?: string;
|
|
3889
|
+
*/
|
|
3890
|
+
network: number;
|
|
3891
|
+
/** @description Bucket end (YYYY-MM-DD, UTC), clamped to the requested window at the edges. */
|
|
3892
|
+
period_end: string;
|
|
3893
|
+
/** @description Inclusive bucket start (YYYY-MM-DD, UTC). */
|
|
3894
|
+
period_start: string;
|
|
3895
|
+
/**
|
|
3896
|
+
* Format: double
|
|
3897
|
+
* @description Realtime credits.
|
|
3898
|
+
*/
|
|
3899
|
+
realtime: number;
|
|
3900
|
+
/**
|
|
3901
|
+
* Format: double
|
|
3902
|
+
* @description Run-time credits in the bucket.
|
|
3903
|
+
*/
|
|
3904
|
+
run: number;
|
|
3905
|
+
/**
|
|
3906
|
+
* Format: double
|
|
3907
|
+
* @description Storage credits.
|
|
3908
|
+
*/
|
|
3909
|
+
storage: number;
|
|
3910
|
+
/**
|
|
3911
|
+
* Format: double
|
|
3912
|
+
* @description Total credits in the bucket.
|
|
3913
|
+
*/
|
|
3914
|
+
total: number;
|
|
4070
3915
|
};
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
lovable_ai?: boolean;
|
|
4075
|
-
lovable_cloud?: boolean;
|
|
4076
|
-
partner_perm_1?: boolean;
|
|
4077
|
-
partner_perm_2?: boolean;
|
|
4078
|
-
partner_perm_3?: boolean;
|
|
4079
|
-
partner_perm_4?: boolean;
|
|
4080
|
-
scim?: boolean;
|
|
4081
|
-
shopify?: boolean;
|
|
4082
|
-
unified_billing?: boolean;
|
|
4083
|
-
};
|
|
4084
|
-
WorkspaceMembership: {
|
|
4085
|
-
email: string;
|
|
4086
|
-
/** Format: date-time */
|
|
4087
|
-
invited_at: string;
|
|
4088
|
-
/** Format: date-time */
|
|
4089
|
-
joined_at?: string;
|
|
4090
|
-
/** Format: double */
|
|
4091
|
-
monthly_credit_limit: number | null;
|
|
4092
|
-
project_access?: {
|
|
4093
|
-
[key: string]: components["schemas"]["ProjectAccessEntry"];
|
|
4094
|
-
};
|
|
4095
|
-
/** @enum {string} */
|
|
4096
|
-
role: "none" | "owner" | "admin" | "member" | "viewer" | "collaborator" | "invited";
|
|
4097
|
-
/** Format: date-time */
|
|
4098
|
-
role_changed_at?: string;
|
|
4099
|
-
scim_external_id?: string;
|
|
4100
|
-
user_id: string;
|
|
4101
|
-
workspace_id: string;
|
|
3916
|
+
V1WriteWorkspaceSkillInputBody: {
|
|
3917
|
+
/** @description Full SKILL.md contents (frontmatter + body) */
|
|
3918
|
+
markdown: string;
|
|
4102
3919
|
};
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
/** Format: date-time */
|
|
4108
|
-
invited_at?: string;
|
|
4109
|
-
/** Format: date-time */
|
|
4110
|
-
joined_at?: string;
|
|
4111
|
-
/** Format: double */
|
|
4112
|
-
monthly_credit_limit?: number;
|
|
4113
|
-
project_access?: {
|
|
4114
|
-
[key: string]: components["schemas"]["ProjectAccessEntry"];
|
|
4115
|
-
};
|
|
4116
|
-
/** @enum {string} */
|
|
4117
|
-
role: "none" | "owner" | "admin" | "member" | "viewer" | "collaborator" | "invited";
|
|
4118
|
-
/** Format: date-time */
|
|
4119
|
-
role_changed_at?: string;
|
|
4120
|
-
row_id?: string;
|
|
4121
|
-
scim_external_id?: string;
|
|
4122
|
-
/** Format: double */
|
|
4123
|
-
total_credits_used?: number;
|
|
4124
|
-
/** Format: double */
|
|
4125
|
-
total_credits_used_in_billing_period?: number;
|
|
4126
|
-
user_id: string;
|
|
4127
|
-
username: string;
|
|
3920
|
+
V1WriteWorkspaceSkillOutputBody: {
|
|
3921
|
+
/** @description Workspace repo commit SHA produced by this write */
|
|
3922
|
+
commit_sha: string;
|
|
3923
|
+
skill: components["schemas"]["V1WorkspaceSkillDTO"];
|
|
4128
3924
|
};
|
|
4129
|
-
|
|
4130
|
-
/** Format: int64 */
|
|
4131
|
-
abandoned_projects_threshold_days?: number;
|
|
4132
|
-
aikido_pentest_enabled?: boolean;
|
|
4133
|
-
allow_public_member_profiles?: boolean;
|
|
4134
|
-
always_redact_pii?: boolean;
|
|
4135
|
-
announcement_banner?: components["schemas"]["WorkspaceAnnouncementBanner"];
|
|
4136
|
-
app_user_connector_settings?: components["schemas"]["AppUserConnectorSetting"][] | null;
|
|
4137
|
-
auto_delete_abandoned_projects_enabled?: boolean;
|
|
4138
|
-
/** Format: date-time */
|
|
4139
|
-
auto_delete_enabled_at?: string;
|
|
4140
|
-
/** Format: int64 */
|
|
4141
|
-
auto_delete_grace_days?: number;
|
|
4142
|
-
/** Format: double */
|
|
4143
|
-
backend_total_used_in_billing_period: number;
|
|
4144
|
-
banner_url?: string;
|
|
4145
|
-
/** Format: double */
|
|
4146
|
-
billing_period_credits_limit: number;
|
|
4147
|
-
/** Format: double */
|
|
4148
|
-
billing_period_credits_used: number;
|
|
4149
|
-
/** Format: date-time */
|
|
4150
|
-
billing_period_end_date?: string;
|
|
4151
|
-
/** Format: date-time */
|
|
4152
|
-
billing_period_start_date?: string;
|
|
4153
|
-
block_publish_on_critical_findings?: boolean;
|
|
4154
|
-
block_publish_on_pii?: boolean;
|
|
4155
|
-
branded_app_url_cert_pack_id?: string;
|
|
4156
|
-
branded_app_url_failure_reason?: string;
|
|
4157
|
-
branded_app_url_slug?: string;
|
|
4158
|
-
branded_app_url_status?: string;
|
|
4159
|
-
cloud_block_bucket_creation?: boolean;
|
|
4160
|
-
cloud_block_database_creation?: boolean;
|
|
4161
|
-
cloud_block_public_buckets?: boolean;
|
|
4162
|
-
/** Format: date-time */
|
|
4163
|
-
created_at: string;
|
|
4164
|
-
custom_branded_domain?: string;
|
|
4165
|
-
custom_branded_domain_dcv_txt_name?: string;
|
|
4166
|
-
custom_branded_domain_dcv_txt_value?: string;
|
|
4167
|
-
custom_branded_domain_failure_reason?: string;
|
|
4168
|
-
custom_branded_domain_status?: string;
|
|
4169
|
-
custom_branded_hostname_id?: string;
|
|
4170
|
-
data_opt_out?: boolean;
|
|
4171
|
-
default_cloud_region?: string;
|
|
4172
|
-
default_library_id?: string;
|
|
4173
|
-
/** Format: double */
|
|
4174
|
-
default_monthly_member_credit_limit: number | null;
|
|
4175
|
-
/** @enum {string} */
|
|
4176
|
-
default_project_publish_visibility?: "public" | "private";
|
|
4177
|
-
/** @enum {string} */
|
|
4178
|
-
default_project_visibility?: "public" | "private" | "draft" | "workspace_view";
|
|
4179
|
-
default_template_id?: string;
|
|
4180
|
-
delegated_domain?: string;
|
|
4181
|
-
delegated_domain_status?: string;
|
|
4182
|
-
/** Format: date-time */
|
|
4183
|
-
deleted_at?: string;
|
|
4184
|
-
deleted_by?: string;
|
|
4185
|
-
deletion_event_id?: string;
|
|
4186
|
-
description?: string;
|
|
4187
|
-
disable_code_download?: boolean;
|
|
4188
|
-
disable_external_publish_invites?: boolean;
|
|
4189
|
-
disable_figma_import?: boolean;
|
|
4190
|
-
disable_named_previews?: boolean;
|
|
4191
|
-
disable_share_preview?: boolean;
|
|
4192
|
-
editor_can_invite?: boolean;
|
|
4193
|
-
editor_can_transfer_project?: boolean;
|
|
4194
|
-
egress_allowlist?: string[] | null;
|
|
4195
|
-
egress_mode?: string;
|
|
4196
|
-
enable_pii?: boolean;
|
|
4197
|
-
enforce_sso?: boolean;
|
|
4198
|
-
enterprise_relay_client_ids?: string[] | null;
|
|
4199
|
-
enterprise_relay_enabled?: boolean;
|
|
4200
|
-
exclude_from_cross_project_sharing?: boolean;
|
|
4201
|
-
exclude_from_discovery?: boolean;
|
|
4202
|
-
experimental_features: components["schemas"]["WorkspaceExperimentalFeatures"];
|
|
4203
|
-
/** @enum {string} */
|
|
4204
|
-
external_collaborator_level?: "all" | "none" | "viewer" | "editor";
|
|
4205
|
-
external_publish_permission_level?: string;
|
|
4206
|
-
/** Format: int64 */
|
|
4207
|
-
followers_count: number;
|
|
4208
|
-
/** Format: date-time */
|
|
4209
|
-
hard_delete_in_progress_at?: string;
|
|
4210
|
-
/** Format: date-time */
|
|
4211
|
-
hard_deleted_at?: string;
|
|
4212
|
-
id: string;
|
|
4213
|
-
image_url?: string;
|
|
4214
|
-
invite_links_disabled?: boolean;
|
|
4215
|
-
/** Format: date-time */
|
|
4216
|
-
invited_at?: string;
|
|
4217
|
-
is_personal?: boolean;
|
|
4218
|
-
is_temporary_edu?: boolean;
|
|
4219
|
-
/** Format: date-time */
|
|
4220
|
-
joined_at?: string;
|
|
4221
|
-
/** Format: date-time */
|
|
4222
|
-
last_rollover_period: string | null;
|
|
4223
|
-
/** Format: date-time */
|
|
4224
|
-
last_subscription_event_at?: string;
|
|
4225
|
-
local_mcp_enabled?: boolean;
|
|
4226
|
-
lovable_mcp_server_enabled?: boolean;
|
|
4227
|
-
mcp_connector_settings?: components["schemas"]["MCPConnectorSetting"][] | null;
|
|
4228
|
-
mcp_enabled?: boolean;
|
|
4229
|
-
membership: components["schemas"]["WorkspaceMembership"];
|
|
4230
|
-
/** Format: date-time */
|
|
4231
|
-
migrated_to_unified_billing_at?: string;
|
|
4232
|
-
name: string;
|
|
4233
|
-
/** Format: date-time */
|
|
4234
|
-
next_monthly_credit_grant_date?: string;
|
|
4235
|
-
/** Format: int64 */
|
|
4236
|
-
num_projects: number;
|
|
4237
|
-
/** Format: int64 */
|
|
4238
|
-
num_seats?: number;
|
|
4239
|
-
owner_id?: string;
|
|
4240
|
-
/** @enum {string} */
|
|
4241
|
-
payment_provider?: "stripe" | "apple" | "gcp_marketplace" | "microsoft_marketplace";
|
|
4242
|
-
pending_dispute_adjustments?: {
|
|
4243
|
-
[key: string]: components["schemas"]["PendingDisputeAdjustment"];
|
|
4244
|
-
};
|
|
4245
|
-
pending_refund_adjustments?: {
|
|
4246
|
-
[key: string]: components["schemas"]["PendingRefundAdjustment"];
|
|
4247
|
-
};
|
|
4248
|
-
/** @enum {string} */
|
|
4249
|
-
pii_live_chat_mode?: "off" | "detect_only" | "prompt" | "block";
|
|
4250
|
-
/** @enum {string} */
|
|
4251
|
-
plan?: "free" | "inactive" | "pro_0" | "pro_1" | "pro_2" | "pro_3" | "pro_4" | "pro_5" | "pro_6" | "pro_7" | "pro_8" | "pro_9" | "pro_10" | "pro_11" | "biz_1" | "biz_2" | "biz_3" | "biz_4" | "biz_5" | "biz_6" | "biz_7" | "biz_8" | "biz_9" | "biz_10" | "biz_11" | "enterprise" | "ambassador" | "ktlo" | "ktlo_1" | "ktlo_2" | "model_partner" | "teams_1" | "teams_2" | "teams_3" | "teams_4" | "teams_5" | "teams_6" | "teams_7" | "teams_8" | "teams_9" | "teams_10" | "teams_11";
|
|
4252
|
-
plan_scheduled?: string;
|
|
4253
|
-
/** Format: date-time */
|
|
4254
|
-
plan_scheduled_event_at?: string;
|
|
4255
|
-
/** Format: date-time */
|
|
4256
|
-
plan_scheduled_updated_at?: string;
|
|
4257
|
-
plan_type?: string;
|
|
4258
|
-
plan_type_scheduled?: string;
|
|
4259
|
-
/** @enum {string} */
|
|
4260
|
-
publishing_policy?: "workspace_only" | "disabled";
|
|
4261
|
-
reauth?: boolean;
|
|
4262
|
-
received_tax_id_bonus?: boolean;
|
|
4263
|
-
referral_code?: string;
|
|
4264
|
-
/** Format: int64 */
|
|
4265
|
-
referral_count: number;
|
|
4266
|
-
referral_disabled?: boolean;
|
|
4267
|
-
require_customer_pam_approval?: boolean;
|
|
4268
|
-
require_security_scan_before_publish?: boolean;
|
|
4269
|
-
require_workspace_editor_for_project_editing?: boolean;
|
|
4270
|
-
sandbox_provider_url?: string;
|
|
4271
|
-
seamless_connector_settings?: components["schemas"]["SeamlessConnectorSetting"][] | null;
|
|
4272
|
-
/** @enum {string} */
|
|
4273
|
-
security_auto_fix_mode?: "off" | "workspace_published_projects" | "externally_published_projects" | "published_projects" | "all_projects";
|
|
4274
|
-
share_sample_data_with_llms?: boolean;
|
|
4275
|
-
short_referral_code?: string;
|
|
4276
|
-
sso_provider_id?: string;
|
|
4277
|
-
/** Format: int64 */
|
|
4278
|
-
sso_session_duration?: number;
|
|
4279
|
-
standard_connector_settings?: components["schemas"]["StandardConnectorSetting"][] | null;
|
|
4280
|
-
subscription_currency?: string;
|
|
3925
|
+
VisibilityChangeInfo: {
|
|
4281
3926
|
/** @enum {string} */
|
|
4282
|
-
|
|
4283
|
-
/** Format: date-time */
|
|
4284
|
-
subscription_status_changed_at?: string;
|
|
4285
|
-
/** Format: date-time */
|
|
4286
|
-
topup_credits_purchased_at?: string;
|
|
4287
|
-
/** Format: date-time */
|
|
4288
|
-
updated_at: string;
|
|
4289
|
-
use_edu_openai_routing?: boolean;
|
|
4290
|
-
username?: string;
|
|
4291
|
-
verified_email_jit?: boolean;
|
|
3927
|
+
new_visibility: "public" | "private" | "draft" | "workspace_view";
|
|
4292
3928
|
/** @enum {string} */
|
|
4293
|
-
|
|
3929
|
+
previous_visibility?: "public" | "private" | "draft" | "workspace_view";
|
|
3930
|
+
project_id: string;
|
|
4294
3931
|
};
|
|
4295
3932
|
};
|
|
4296
3933
|
responses: never;
|
|
@@ -4421,42 +4058,6 @@ interface operations {
|
|
|
4421
4058
|
};
|
|
4422
4059
|
};
|
|
4423
4060
|
};
|
|
4424
|
-
"get-v1-available-connectors": {
|
|
4425
|
-
parameters: {
|
|
4426
|
-
query: {
|
|
4427
|
-
/** @description Workspace ID */
|
|
4428
|
-
workspace_id: string;
|
|
4429
|
-
/** @description Maximum number of items to return */
|
|
4430
|
-
limit?: number;
|
|
4431
|
-
/** @description Opaque pagination cursor returned by the previous page */
|
|
4432
|
-
cursor?: string;
|
|
4433
|
-
};
|
|
4434
|
-
header?: never;
|
|
4435
|
-
path?: never;
|
|
4436
|
-
cookie?: never;
|
|
4437
|
-
};
|
|
4438
|
-
requestBody?: never;
|
|
4439
|
-
responses: {
|
|
4440
|
-
/** @description OK */
|
|
4441
|
-
200: {
|
|
4442
|
-
headers: {
|
|
4443
|
-
[name: string]: unknown;
|
|
4444
|
-
};
|
|
4445
|
-
content: {
|
|
4446
|
-
"application/json": components["schemas"]["CursorListResponseV1AvailableConnectorEntry"];
|
|
4447
|
-
};
|
|
4448
|
-
};
|
|
4449
|
-
/** @description Error */
|
|
4450
|
-
default: {
|
|
4451
|
-
headers: {
|
|
4452
|
-
[name: string]: unknown;
|
|
4453
|
-
};
|
|
4454
|
-
content: {
|
|
4455
|
-
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
4456
|
-
};
|
|
4457
|
-
};
|
|
4458
|
-
};
|
|
4459
|
-
};
|
|
4460
4061
|
"get-v1-collaborators": {
|
|
4461
4062
|
parameters: {
|
|
4462
4063
|
query: {
|
|
@@ -4496,44 +4097,6 @@ interface operations {
|
|
|
4496
4097
|
};
|
|
4497
4098
|
};
|
|
4498
4099
|
};
|
|
4499
|
-
"get-v1-connections": {
|
|
4500
|
-
parameters: {
|
|
4501
|
-
query: {
|
|
4502
|
-
/** @description Workspace ID */
|
|
4503
|
-
workspace_id: string;
|
|
4504
|
-
/** @description Optional connector ID filter */
|
|
4505
|
-
connector_id?: string;
|
|
4506
|
-
/** @description Maximum number of items to return */
|
|
4507
|
-
limit?: number;
|
|
4508
|
-
/** @description Opaque pagination cursor returned by the previous page */
|
|
4509
|
-
cursor?: string;
|
|
4510
|
-
};
|
|
4511
|
-
header?: never;
|
|
4512
|
-
path?: never;
|
|
4513
|
-
cookie?: never;
|
|
4514
|
-
};
|
|
4515
|
-
requestBody?: never;
|
|
4516
|
-
responses: {
|
|
4517
|
-
/** @description OK */
|
|
4518
|
-
200: {
|
|
4519
|
-
headers: {
|
|
4520
|
-
[name: string]: unknown;
|
|
4521
|
-
};
|
|
4522
|
-
content: {
|
|
4523
|
-
"application/json": components["schemas"]["CursorListResponseV1ConnectionItem"];
|
|
4524
|
-
};
|
|
4525
|
-
};
|
|
4526
|
-
/** @description Error */
|
|
4527
|
-
default: {
|
|
4528
|
-
headers: {
|
|
4529
|
-
[name: string]: unknown;
|
|
4530
|
-
};
|
|
4531
|
-
content: {
|
|
4532
|
-
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
4533
|
-
};
|
|
4534
|
-
};
|
|
4535
|
-
};
|
|
4536
|
-
};
|
|
4537
4100
|
"get-v1-connectors": {
|
|
4538
4101
|
parameters: {
|
|
4539
4102
|
query: {
|
|
@@ -4574,74 +4137,6 @@ interface operations {
|
|
|
4574
4137
|
};
|
|
4575
4138
|
};
|
|
4576
4139
|
};
|
|
4577
|
-
"post-v1-connectors": {
|
|
4578
|
-
parameters: {
|
|
4579
|
-
query?: never;
|
|
4580
|
-
header?: never;
|
|
4581
|
-
path?: never;
|
|
4582
|
-
cookie?: never;
|
|
4583
|
-
};
|
|
4584
|
-
requestBody: {
|
|
4585
|
-
content: {
|
|
4586
|
-
"application/json": components["schemas"]["PublicV1AddConnectorBody"];
|
|
4587
|
-
};
|
|
4588
|
-
};
|
|
4589
|
-
responses: {
|
|
4590
|
-
/** @description Created */
|
|
4591
|
-
201: {
|
|
4592
|
-
headers: {
|
|
4593
|
-
[name: string]: unknown;
|
|
4594
|
-
};
|
|
4595
|
-
content: {
|
|
4596
|
-
"application/json": components["schemas"]["V1ConnectorResponse"];
|
|
4597
|
-
};
|
|
4598
|
-
};
|
|
4599
|
-
/** @description Error */
|
|
4600
|
-
default: {
|
|
4601
|
-
headers: {
|
|
4602
|
-
[name: string]: unknown;
|
|
4603
|
-
};
|
|
4604
|
-
content: {
|
|
4605
|
-
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
4606
|
-
};
|
|
4607
|
-
};
|
|
4608
|
-
};
|
|
4609
|
-
};
|
|
4610
|
-
"delete-v1-connectors-connector_id": {
|
|
4611
|
-
parameters: {
|
|
4612
|
-
query: {
|
|
4613
|
-
/** @description Workspace ID */
|
|
4614
|
-
workspace_id: string;
|
|
4615
|
-
};
|
|
4616
|
-
header?: never;
|
|
4617
|
-
path: {
|
|
4618
|
-
/** @description Connector ID */
|
|
4619
|
-
connector_id: string;
|
|
4620
|
-
};
|
|
4621
|
-
cookie?: never;
|
|
4622
|
-
};
|
|
4623
|
-
requestBody?: never;
|
|
4624
|
-
responses: {
|
|
4625
|
-
/** @description OK */
|
|
4626
|
-
200: {
|
|
4627
|
-
headers: {
|
|
4628
|
-
[name: string]: unknown;
|
|
4629
|
-
};
|
|
4630
|
-
content: {
|
|
4631
|
-
"application/json": components["schemas"]["V1RemoveConnectorOutputBody"];
|
|
4632
|
-
};
|
|
4633
|
-
};
|
|
4634
|
-
/** @description Error */
|
|
4635
|
-
default: {
|
|
4636
|
-
headers: {
|
|
4637
|
-
[name: string]: unknown;
|
|
4638
|
-
};
|
|
4639
|
-
content: {
|
|
4640
|
-
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
4641
|
-
};
|
|
4642
|
-
};
|
|
4643
|
-
};
|
|
4644
|
-
};
|
|
4645
4140
|
"get-v1-credit-history": {
|
|
4646
4141
|
parameters: {
|
|
4647
4142
|
query: {
|
|
@@ -5382,8 +4877,6 @@ interface operations {
|
|
|
5382
4877
|
query: {
|
|
5383
4878
|
/** @description Workspace ID */
|
|
5384
4879
|
workspace_id: string;
|
|
5385
|
-
/** @description Include per-project risk rollup fields when enabled for the workspace */
|
|
5386
|
-
include_risk?: boolean;
|
|
5387
4880
|
/** @description Filter by project creator user ID */
|
|
5388
4881
|
user_id?: string;
|
|
5389
4882
|
/** @description Filter by visibility */
|
|
@@ -5419,7 +4912,7 @@ interface operations {
|
|
|
5419
4912
|
[name: string]: unknown;
|
|
5420
4913
|
};
|
|
5421
4914
|
content: {
|
|
5422
|
-
"application/json": components["schemas"]["
|
|
4915
|
+
"application/json": components["schemas"]["CursorListResponsePublicV1ProjectListItem"];
|
|
5423
4916
|
};
|
|
5424
4917
|
};
|
|
5425
4918
|
/** @description Error */
|
|
@@ -6902,7 +6395,7 @@ interface operations {
|
|
|
6902
6395
|
[name: string]: unknown;
|
|
6903
6396
|
};
|
|
6904
6397
|
content: {
|
|
6905
|
-
"application/json": components["schemas"]["
|
|
6398
|
+
"application/json": components["schemas"]["PublicV1GetWorkspaceBody"];
|
|
6906
6399
|
};
|
|
6907
6400
|
};
|
|
6908
6401
|
/** @description Error */
|
|
@@ -7755,9 +7248,11 @@ type ListProjectsQuery = NonNullable<paths["/v1/projects"]["get"]["parameters"][
|
|
|
7755
7248
|
type ListConnectorsQuery = NonNullable<paths["/v1/connectors"]["get"]["parameters"]["query"]>;
|
|
7756
7249
|
type MeWorkspace = Schemas["GetMeWorkspace"];
|
|
7757
7250
|
type MeResponse = Schemas["GetMeOutputBody"];
|
|
7758
|
-
type WorkspaceMembership = Schemas["
|
|
7759
|
-
type WorkspaceWithMembership = Schemas["
|
|
7760
|
-
type GetWorkspacesResponse = Schemas["V1ListWorkspacesBody"]
|
|
7251
|
+
type WorkspaceMembership = Schemas["PublicV1WorkspaceMember"];
|
|
7252
|
+
type WorkspaceWithMembership = Schemas["PublicV1WorkspaceWithMembership"];
|
|
7253
|
+
type GetWorkspacesResponse = Schemas["V1ListWorkspacesBody"] & {
|
|
7254
|
+
workspaces: WorkspaceWithMembership[];
|
|
7255
|
+
};
|
|
7761
7256
|
type MemberRole = WorkspaceMembership["role"];
|
|
7762
7257
|
type ProjectResponse = Schemas["V1ProjectResponse"];
|
|
7763
7258
|
type CreateProjectResponse = Schemas["PublicV1CreateProjectResponse"] & {
|
|
@@ -7766,14 +7261,14 @@ type CreateProjectResponse = Schemas["PublicV1CreateProjectResponse"] & {
|
|
|
7766
7261
|
type CreateProjectBody = Omit<Schemas["PublicV1ProjectCreateInputBody"], "workspace_id">;
|
|
7767
7262
|
type UpdateProjectOptions = Schemas["PublicV1PatchProjectBody"];
|
|
7768
7263
|
type EmbedURLResponse = Schemas["V1CreateEmbedURLOutputBody"];
|
|
7769
|
-
type ListProjectItem = Schemas["
|
|
7770
|
-
type ListProjectsResponse = Schemas["
|
|
7264
|
+
type ListProjectItem = Schemas["PublicV1ProjectListItem"];
|
|
7265
|
+
type ListProjectsResponse = Schemas["CursorListResponsePublicV1ProjectListItem"] & {
|
|
7771
7266
|
projects: ListProjectItem[] | null;
|
|
7772
7267
|
total?: number;
|
|
7773
7268
|
has_more?: boolean;
|
|
7774
7269
|
};
|
|
7775
7270
|
type MoveProjectsToFolderResponse = Schemas["AddProjectsToFolderResult"];
|
|
7776
|
-
type ProjectVisibility =
|
|
7271
|
+
type ProjectVisibility = "public" | "private" | "draft" | "workspace_view";
|
|
7777
7272
|
type ProjectPatchVisibility = NonNullable<UpdateProjectOptions["visibility"]>;
|
|
7778
7273
|
type SendMessageResponse = Schemas["V1SendMessageOutputBody"];
|
|
7779
7274
|
type GetMessageResponse = Schemas["V1MessageResponse"];
|
|
@@ -7838,24 +7333,15 @@ type ListTemplateProjectsResponse = {
|
|
|
7838
7333
|
total?: number;
|
|
7839
7334
|
has_more?: boolean;
|
|
7840
7335
|
};
|
|
7841
|
-
type ConnectorResponse = Schemas["V1ConnectorResponse"];
|
|
7842
|
-
type AvailableConnectorEntry = Schemas["V1AvailableConnectorEntry"];
|
|
7843
|
-
type AddConnectorBody = Omit<Schemas["PublicV1AddConnectorBody"], "workspace_id">;
|
|
7844
7336
|
type ConnectorItem = Schemas["PublicV1ConnectorItem"];
|
|
7845
7337
|
type StandardConnectorItem = ConnectorItem;
|
|
7846
7338
|
type SeamlessConnectorItem = ConnectorItem;
|
|
7847
7339
|
type MCPConnectorItem = ConnectorItem;
|
|
7848
|
-
type ConnectionItem = Schemas["V1ConnectionItem"];
|
|
7849
7340
|
type ListConnectorsResponse = Omit<Schemas["CursorListResponsePublicV1ConnectorItem"], "data"> & {
|
|
7850
7341
|
data: ConnectorItem[];
|
|
7851
7342
|
connectors: ConnectorItem[];
|
|
7852
7343
|
has_more: boolean;
|
|
7853
7344
|
};
|
|
7854
|
-
type ListAvailableConnectorsResponse = Omit<Schemas["CursorListResponseV1AvailableConnectorEntry"], "data"> & {
|
|
7855
|
-
data: AvailableConnectorEntry[];
|
|
7856
|
-
catalog: AvailableConnectorEntry[];
|
|
7857
|
-
has_more: boolean;
|
|
7858
|
-
};
|
|
7859
7345
|
type ListStandardConnectorsResponse = Omit<ListConnectorsResponse, "connectors"> & {
|
|
7860
7346
|
connectors: StandardConnectorItem[];
|
|
7861
7347
|
};
|
|
@@ -7866,11 +7352,6 @@ type ListMCPConnectorsResponse = Omit<ListConnectorsResponse, "connectors"> & Pa
|
|
|
7866
7352
|
data: MCPConnectorItem[];
|
|
7867
7353
|
connectors: MCPConnectorItem[];
|
|
7868
7354
|
};
|
|
7869
|
-
type ListConnectionsResponse = Omit<Schemas["CursorListResponseV1ConnectionItem"], "data"> & {
|
|
7870
|
-
data: ConnectionItem[];
|
|
7871
|
-
connections: ConnectionItem[];
|
|
7872
|
-
has_more: boolean;
|
|
7873
|
-
};
|
|
7874
7355
|
type TimeSeriesDataPoint = Schemas["TimeSeriesDataPoint"];
|
|
7875
7356
|
type TimeSeriesData = Schemas["TimeSeriesData"];
|
|
7876
7357
|
type ListDataPoint = Schemas["ListDataPoint"];
|
|
@@ -8063,7 +7544,6 @@ interface ListProjectsOptions {
|
|
|
8063
7544
|
folder_ids?: ListProjectsQuery["folder_ids"];
|
|
8064
7545
|
user_id?: ListProjectsQuery["user_id"];
|
|
8065
7546
|
type?: ListProjectsQuery["type"];
|
|
8066
|
-
include_risk?: ListProjectsQuery["include_risk"];
|
|
8067
7547
|
search_fields?: ListProjectsQuery["search_fields"];
|
|
8068
7548
|
viewed_by_me?: ListProjectsQuery["viewed_by_me"];
|
|
8069
7549
|
cursor?: ListProjectsQuery["cursor"];
|
|
@@ -8115,130 +7595,14 @@ declare class LovableClient {
|
|
|
8115
7595
|
* Get a specific workspace by ID
|
|
8116
7596
|
*/
|
|
8117
7597
|
getWorkspace(workspaceId: string): Promise<{
|
|
8118
|
-
|
|
8119
|
-
aikido_pentest_enabled?: boolean;
|
|
8120
|
-
allow_public_member_profiles?: boolean;
|
|
8121
|
-
always_redact_pii?: boolean;
|
|
8122
|
-
announcement_banner?: components["schemas"]["WorkspaceAnnouncementBanner"];
|
|
8123
|
-
app_user_connector_settings?: components["schemas"]["AppUserConnectorSetting"][] | null;
|
|
8124
|
-
auto_delete_abandoned_projects_enabled?: boolean;
|
|
8125
|
-
auto_delete_enabled_at?: string;
|
|
8126
|
-
auto_delete_grace_days?: number;
|
|
8127
|
-
backend_total_used_in_billing_period: number;
|
|
8128
|
-
banner_url?: string;
|
|
8129
|
-
billing_period_credits_limit: number;
|
|
8130
|
-
billing_period_credits_used: number;
|
|
8131
|
-
billing_period_end_date?: string;
|
|
8132
|
-
billing_period_start_date?: string;
|
|
8133
|
-
block_publish_on_critical_findings?: boolean;
|
|
8134
|
-
block_publish_on_pii?: boolean;
|
|
8135
|
-
branded_app_url_cert_pack_id?: string;
|
|
8136
|
-
branded_app_url_failure_reason?: string;
|
|
8137
|
-
branded_app_url_slug?: string;
|
|
8138
|
-
branded_app_url_status?: string;
|
|
8139
|
-
cloud_block_bucket_creation?: boolean;
|
|
8140
|
-
cloud_block_database_creation?: boolean;
|
|
8141
|
-
cloud_block_public_buckets?: boolean;
|
|
8142
|
-
created_at: string;
|
|
8143
|
-
custom_branded_domain?: string;
|
|
8144
|
-
custom_branded_domain_dcv_txt_name?: string;
|
|
8145
|
-
custom_branded_domain_dcv_txt_value?: string;
|
|
8146
|
-
custom_branded_domain_failure_reason?: string;
|
|
8147
|
-
custom_branded_domain_status?: string;
|
|
8148
|
-
custom_branded_hostname_id?: string;
|
|
8149
|
-
data_opt_out?: boolean;
|
|
8150
|
-
default_cloud_region?: string;
|
|
8151
|
-
default_library_id?: string;
|
|
8152
|
-
default_monthly_member_credit_limit: number | null;
|
|
8153
|
-
default_project_publish_visibility?: "public" | "private";
|
|
8154
|
-
default_project_visibility?: "public" | "private" | "draft" | "workspace_view";
|
|
8155
|
-
default_template_id?: string;
|
|
8156
|
-
delegated_domain?: string;
|
|
8157
|
-
delegated_domain_status?: string;
|
|
8158
|
-
deleted_at?: string;
|
|
8159
|
-
deleted_by?: string;
|
|
8160
|
-
deletion_event_id?: string;
|
|
7598
|
+
created_at?: string;
|
|
8161
7599
|
description?: string;
|
|
8162
|
-
disable_code_download?: boolean;
|
|
8163
|
-
disable_external_publish_invites?: boolean;
|
|
8164
|
-
disable_figma_import?: boolean;
|
|
8165
|
-
disable_named_previews?: boolean;
|
|
8166
|
-
disable_share_preview?: boolean;
|
|
8167
|
-
editor_can_invite?: boolean;
|
|
8168
|
-
editor_can_transfer_project?: boolean;
|
|
8169
|
-
egress_allowlist?: string[] | null;
|
|
8170
|
-
egress_mode?: string;
|
|
8171
|
-
enable_pii?: boolean;
|
|
8172
|
-
enforce_sso?: boolean;
|
|
8173
|
-
enterprise_relay_client_ids?: string[] | null;
|
|
8174
|
-
enterprise_relay_enabled?: boolean;
|
|
8175
|
-
exclude_from_cross_project_sharing?: boolean;
|
|
8176
|
-
exclude_from_discovery?: boolean;
|
|
8177
|
-
experimental_features: components["schemas"]["WorkspaceExperimentalFeatures"];
|
|
8178
|
-
external_collaborator_level?: "all" | "none" | "viewer" | "editor";
|
|
8179
|
-
external_publish_permission_level?: string;
|
|
8180
|
-
followers_count: number;
|
|
8181
|
-
hard_delete_in_progress_at?: string;
|
|
8182
|
-
hard_deleted_at?: string;
|
|
8183
7600
|
id: string;
|
|
8184
7601
|
image_url?: string;
|
|
8185
|
-
invite_links_disabled?: boolean;
|
|
8186
|
-
invited_at?: string;
|
|
8187
|
-
is_personal?: boolean;
|
|
8188
|
-
is_temporary_edu?: boolean;
|
|
8189
|
-
joined_at?: string;
|
|
8190
|
-
last_rollover_period: string | null;
|
|
8191
|
-
last_subscription_event_at?: string;
|
|
8192
|
-
local_mcp_enabled?: boolean;
|
|
8193
|
-
lovable_mcp_server_enabled?: boolean;
|
|
8194
|
-
mcp_connector_settings?: components["schemas"]["MCPConnectorSetting"][] | null;
|
|
8195
|
-
mcp_enabled?: boolean;
|
|
8196
|
-
migrated_to_unified_billing_at?: string;
|
|
8197
7602
|
name: string;
|
|
8198
|
-
next_monthly_credit_grant_date?: string;
|
|
8199
7603
|
num_projects: number;
|
|
8200
|
-
|
|
8201
|
-
|
|
8202
|
-
payment_provider?: "stripe" | "apple" | "gcp_marketplace" | "microsoft_marketplace";
|
|
8203
|
-
pending_dispute_adjustments?: {
|
|
8204
|
-
[key: string]: components["schemas"]["PendingDisputeAdjustment"];
|
|
8205
|
-
};
|
|
8206
|
-
pending_refund_adjustments?: {
|
|
8207
|
-
[key: string]: components["schemas"]["PendingRefundAdjustment"];
|
|
8208
|
-
};
|
|
8209
|
-
pii_live_chat_mode?: "off" | "detect_only" | "prompt" | "block";
|
|
8210
|
-
plan?: "free" | "inactive" | "pro_0" | "pro_1" | "pro_2" | "pro_3" | "pro_4" | "pro_5" | "pro_6" | "pro_7" | "pro_8" | "pro_9" | "pro_10" | "pro_11" | "biz_1" | "biz_2" | "biz_3" | "biz_4" | "biz_5" | "biz_6" | "biz_7" | "biz_8" | "biz_9" | "biz_10" | "biz_11" | "enterprise" | "ambassador" | "ktlo" | "ktlo_1" | "ktlo_2" | "model_partner" | "teams_1" | "teams_2" | "teams_3" | "teams_4" | "teams_5" | "teams_6" | "teams_7" | "teams_8" | "teams_9" | "teams_10" | "teams_11";
|
|
8211
|
-
plan_scheduled?: string;
|
|
8212
|
-
plan_scheduled_event_at?: string;
|
|
8213
|
-
plan_scheduled_updated_at?: string;
|
|
8214
|
-
plan_type?: string;
|
|
8215
|
-
plan_type_scheduled?: string;
|
|
8216
|
-
publishing_policy?: "workspace_only" | "disabled";
|
|
8217
|
-
reauth?: boolean;
|
|
8218
|
-
received_tax_id_bonus?: boolean;
|
|
8219
|
-
referral_code?: string;
|
|
8220
|
-
referral_count: number;
|
|
8221
|
-
referral_disabled?: boolean;
|
|
8222
|
-
require_customer_pam_approval?: boolean;
|
|
8223
|
-
require_security_scan_before_publish?: boolean;
|
|
8224
|
-
require_workspace_editor_for_project_editing?: boolean;
|
|
8225
|
-
sandbox_provider_url?: string;
|
|
8226
|
-
seamless_connector_settings?: components["schemas"]["SeamlessConnectorSetting"][] | null;
|
|
8227
|
-
security_auto_fix_mode?: "off" | "workspace_published_projects" | "externally_published_projects" | "published_projects" | "all_projects";
|
|
8228
|
-
share_sample_data_with_llms?: boolean;
|
|
8229
|
-
short_referral_code?: string;
|
|
8230
|
-
sso_provider_id?: string;
|
|
8231
|
-
sso_session_duration?: number;
|
|
8232
|
-
standard_connector_settings?: components["schemas"]["StandardConnectorSetting"][] | null;
|
|
8233
|
-
subscription_currency?: string;
|
|
8234
|
-
subscription_status?: "active" | "past_due" | "canceled" | "trialing" | "incomplete" | "incomplete_expired" | "unpaid" | "paused";
|
|
8235
|
-
subscription_status_changed_at?: string;
|
|
8236
|
-
topup_credits_purchased_at?: string;
|
|
8237
|
-
updated_at: string;
|
|
8238
|
-
use_edu_openai_routing?: boolean;
|
|
8239
|
-
username?: string;
|
|
8240
|
-
verified_email_jit?: boolean;
|
|
8241
|
-
verified_email_jit_role?: "none" | "owner" | "admin" | "member" | "viewer" | "collaborator" | "invited";
|
|
7604
|
+
plan: string;
|
|
7605
|
+
updated_at?: string;
|
|
8242
7606
|
}>;
|
|
8243
7607
|
/**
|
|
8244
7608
|
* List projects in a workspace.
|
|
@@ -8432,26 +7796,12 @@ declare class LovableClient {
|
|
|
8432
7796
|
listTemplateProjects(workspaceId: string, options?: ListOffsetPaginationOptions): Promise<ListTemplateProjectsResponse>;
|
|
8433
7797
|
/** List all connectors in a workspace. */
|
|
8434
7798
|
listConnectors(workspaceId: string, options?: ListConnectorsOptions): Promise<ListConnectorsResponse>;
|
|
8435
|
-
/** Add a connector to a workspace. The server URL is tested before saving. */
|
|
8436
|
-
addConnector(workspaceId: string, body: AddConnectorBody): Promise<ConnectorResponse>;
|
|
8437
|
-
/** Remove a connector from a workspace. */
|
|
8438
|
-
removeConnector(workspaceId: string, connectorId: string): Promise<{
|
|
8439
|
-
success: boolean;
|
|
8440
|
-
}>;
|
|
8441
|
-
/** Browse available connector templates. */
|
|
8442
|
-
listAvailableConnectors(workspaceId: string, options?: ListCursorPaginationOptions): Promise<ListAvailableConnectorsResponse>;
|
|
8443
7799
|
/** List standard (OAuth-based) connectors in a workspace. */
|
|
8444
7800
|
listStandardConnectors(workspaceId: string, options?: ListCursorPaginationOptions): Promise<ListStandardConnectorsResponse>;
|
|
8445
7801
|
/** List seamless (zero-config) connectors in a workspace. */
|
|
8446
7802
|
listSeamlessConnectors(workspaceId: string, options?: ListCursorPaginationOptions): Promise<ListSeamlessConnectorsResponse>;
|
|
8447
7803
|
/** List MCP connectors in a workspace. */
|
|
8448
7804
|
listMCPConnectors(workspaceId: string, options?: ListCursorPaginationOptions): Promise<ListMCPConnectorsResponse>;
|
|
8449
|
-
/** List authenticated connections (accounts) in a workspace. */
|
|
8450
|
-
listConnections(workspaceId: string, params?: {
|
|
8451
|
-
connector_id?: string;
|
|
8452
|
-
limit?: number;
|
|
8453
|
-
cursor?: string;
|
|
8454
|
-
}): Promise<ListConnectionsResponse>;
|
|
8455
7805
|
/** Get historical analytics for a published project. */
|
|
8456
7806
|
getProjectAnalytics(projectId: string, params: {
|
|
8457
7807
|
startDate: string;
|
|
@@ -8541,5 +7891,5 @@ declare class LovableClient {
|
|
|
8541
7891
|
waitForProjectPublished(projectId: string, options?: WaitOptions): Promise<ProjectResponse>;
|
|
8542
7892
|
}
|
|
8543
7893
|
//#endregion
|
|
8544
|
-
export {
|
|
7894
|
+
export { ApiError, type ChatMessageOptions, type ChatRequest, type ChatResponse, type ChatResponseOptions, type ConnectorItem, type ContinuationOverride, type CreateProjectBody, type CreateProjectOptions, type CreateProjectResponse, type CreateVariantOptions, type CreateVariantResponse, type CursorPaginationOptions, type DatabaseQueryResult, type DatabaseStatus, type DeploymentResponse, type DiffEntry, type DiffHunk, type DiffLine, type EditSummary, type EditsResponse, type EmbedURLResponse, type EnableDatabaseResult, type FileInput, type FileUploadUrlResponse, type GetMessageResponse, type GetWorkspacesResponse, type GitDiffResponse, type GitFileEntry, type GitFilesResponse, type KnowledgeResponse, type LibraryProjectResponse, type ListConnectorsOptions, type ListConnectorsResponse, type ListCursorPaginationOptions, type ListData, type ListDataPoint, type ListHybridPaginationOptions, type ListLibraryProjectsResponse, type ListMCPConnectorsResponse, type ListMessagesOptions, type ListMessagesResponse, type ListOffsetPaginationOptions, type ListPaginationOptions, type ListProjectItem, type ListProjectsOptions, type ListProjectsResponse, type ListSeamlessConnectorsResponse, type ListStandardConnectorsResponse, type ListTemplateProjectsResponse, LovableClient, type LovableClientOptions, type LovableError, type MCPConnectorItem, type MeResponse, type MeWorkspace, type MemberRole, type MessageCompletionOptions, type MessageCompletionResult, type MessageSummary, type ProjectAnalyticsResponse, type ProjectAnalyticsTrendResponse, type ProjectResponse, type ProjectStatus, type ProjectVisibility, type RateLimitInfo, type RemixJobStatus, type RemixJobStep, type RemixJobStepInfo, type RemixMode, type RemixProjectOptions, type RemixResult, type RemixWaitOptions, type SeamlessConnectorItem, type SendMessageResponse, type StandardConnectorItem, type TemplateProjectResponse, type TimeSeriesData, type TimeSeriesDataPoint, type TrendDataPoint, type UnscopedFile, type WaitOptions, type WorkspaceMembership, type WorkspaceWithMembership };
|
|
8545
7895
|
//# sourceMappingURL=index.d.ts.map
|