@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/src/generated/paths.ts
CHANGED
|
@@ -66,26 +66,6 @@ export interface paths {
|
|
|
66
66
|
patch?: never;
|
|
67
67
|
trace?: never;
|
|
68
68
|
};
|
|
69
|
-
"/v1/available-connectors": {
|
|
70
|
-
parameters: {
|
|
71
|
-
query?: never;
|
|
72
|
-
header?: never;
|
|
73
|
-
path?: never;
|
|
74
|
-
cookie?: never;
|
|
75
|
-
};
|
|
76
|
-
/**
|
|
77
|
-
* Browse available connectors
|
|
78
|
-
* @description Returns available connector templates that can be added to a workspace in catalog order.
|
|
79
|
-
*/
|
|
80
|
-
get: operations["get-v1-available-connectors"];
|
|
81
|
-
put?: never;
|
|
82
|
-
post?: never;
|
|
83
|
-
delete?: never;
|
|
84
|
-
options?: never;
|
|
85
|
-
head?: never;
|
|
86
|
-
patch?: never;
|
|
87
|
-
trace?: never;
|
|
88
|
-
};
|
|
89
69
|
"/v1/collaborators": {
|
|
90
70
|
parameters: {
|
|
91
71
|
query?: never;
|
|
@@ -108,26 +88,6 @@ export interface paths {
|
|
|
108
88
|
patch?: never;
|
|
109
89
|
trace?: never;
|
|
110
90
|
};
|
|
111
|
-
"/v1/connections": {
|
|
112
|
-
parameters: {
|
|
113
|
-
query?: never;
|
|
114
|
-
header?: never;
|
|
115
|
-
path?: never;
|
|
116
|
-
cookie?: never;
|
|
117
|
-
};
|
|
118
|
-
/**
|
|
119
|
-
* List connections
|
|
120
|
-
* @description Returns authenticated connector connections in a workspace, sorted by created_at then connection ID.
|
|
121
|
-
*/
|
|
122
|
-
get: operations["get-v1-connections"];
|
|
123
|
-
put?: never;
|
|
124
|
-
post?: never;
|
|
125
|
-
delete?: never;
|
|
126
|
-
options?: never;
|
|
127
|
-
head?: never;
|
|
128
|
-
patch?: never;
|
|
129
|
-
trace?: never;
|
|
130
|
-
};
|
|
131
91
|
"/v1/connectors": {
|
|
132
92
|
parameters: {
|
|
133
93
|
query?: never;
|
|
@@ -137,36 +97,12 @@ export interface paths {
|
|
|
137
97
|
};
|
|
138
98
|
/**
|
|
139
99
|
* List connectors
|
|
140
|
-
* @description Returns connectors for a workspace in
|
|
100
|
+
* @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.
|
|
141
101
|
*/
|
|
142
102
|
get: operations["get-v1-connectors"];
|
|
143
103
|
put?: never;
|
|
144
|
-
/**
|
|
145
|
-
* Add connector
|
|
146
|
-
* @description Adds an MCP connector to a workspace. Pass workspace_id in the request body.
|
|
147
|
-
*/
|
|
148
|
-
post: operations["post-v1-connectors"];
|
|
149
|
-
delete?: never;
|
|
150
|
-
options?: never;
|
|
151
|
-
head?: never;
|
|
152
|
-
patch?: never;
|
|
153
|
-
trace?: never;
|
|
154
|
-
};
|
|
155
|
-
"/v1/connectors/{connector_id}": {
|
|
156
|
-
parameters: {
|
|
157
|
-
query?: never;
|
|
158
|
-
header?: never;
|
|
159
|
-
path?: never;
|
|
160
|
-
cookie?: never;
|
|
161
|
-
};
|
|
162
|
-
get?: never;
|
|
163
|
-
put?: never;
|
|
164
104
|
post?: never;
|
|
165
|
-
|
|
166
|
-
* Remove connector
|
|
167
|
-
* @description Removes an MCP connector from a workspace. Pass workspace_id as a query parameter.
|
|
168
|
-
*/
|
|
169
|
-
delete: operations["delete-v1-connectors-connector_id"];
|
|
105
|
+
delete?: never;
|
|
170
106
|
options?: never;
|
|
171
107
|
head?: never;
|
|
172
108
|
patch?: never;
|
|
@@ -1304,7 +1240,7 @@ export interface paths {
|
|
|
1304
1240
|
};
|
|
1305
1241
|
/**
|
|
1306
1242
|
* List workspaces
|
|
1307
|
-
* @description Returns workspaces the authenticated user belongs to
|
|
1243
|
+
* @description Returns workspaces the authenticated user belongs to with cursor pagination.
|
|
1308
1244
|
*/
|
|
1309
1245
|
get: operations["get-v1-workspaces"];
|
|
1310
1246
|
put?: never;
|
|
@@ -1345,7 +1281,7 @@ export interface paths {
|
|
|
1345
1281
|
/**
|
|
1346
1282
|
* Browse available connectors
|
|
1347
1283
|
* @deprecated
|
|
1348
|
-
* @description Deprecated compatibility alias. Prefer GET /v1/
|
|
1284
|
+
* @description Deprecated compatibility alias. Prefer GET /v1/connectors?workspace_id=...
|
|
1349
1285
|
*/
|
|
1350
1286
|
get: operations["get-v1-workspaces-workspace_id-available-connectors"];
|
|
1351
1287
|
put?: never;
|
|
@@ -1408,7 +1344,7 @@ export interface paths {
|
|
|
1408
1344
|
/**
|
|
1409
1345
|
* List connections
|
|
1410
1346
|
* @deprecated
|
|
1411
|
-
* @description Deprecated compatibility
|
|
1347
|
+
* @description Deprecated compatibility endpoint.
|
|
1412
1348
|
*/
|
|
1413
1349
|
get: operations["get-v1-workspaces-workspace_id-connections"];
|
|
1414
1350
|
put?: never;
|
|
@@ -1436,7 +1372,7 @@ export interface paths {
|
|
|
1436
1372
|
/**
|
|
1437
1373
|
* Add connector
|
|
1438
1374
|
* @deprecated
|
|
1439
|
-
* @description Deprecated compatibility
|
|
1375
|
+
* @description Deprecated compatibility endpoint.
|
|
1440
1376
|
*/
|
|
1441
1377
|
post: operations["post-v1-workspaces-workspace_id-connectors"];
|
|
1442
1378
|
delete?: never;
|
|
@@ -1734,11 +1670,6 @@ export 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 @@ export 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 @@ export 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 @@ export 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 @@ export 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 @@ export 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 @@ export 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 @@ export 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 @@ export 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 @@ export 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 @@ export 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 @@ export 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 @@ export 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 @@ export 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 @@ export 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 @@ export 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 @@ export 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 @@ export 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. */
|
|
@@ -3894,404 +3929,6 @@ export interface components {
|
|
|
3894
3929
|
previous_visibility?: "public" | "private" | "draft" | "workspace_view";
|
|
3895
3930
|
project_id: string;
|
|
3896
3931
|
};
|
|
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;
|
|
4070
|
-
};
|
|
4071
|
-
WorkspaceExperimentalFeatures: {
|
|
4072
|
-
custom_enterprise_git_sync?: boolean;
|
|
4073
|
-
gitsync_github?: boolean;
|
|
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;
|
|
4102
|
-
};
|
|
4103
|
-
WorkspaceMembershipResponse: {
|
|
4104
|
-
display_name?: string;
|
|
4105
|
-
email?: string;
|
|
4106
|
-
has_project_access: boolean;
|
|
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;
|
|
4128
|
-
};
|
|
4129
|
-
WorkspaceWithMembership: {
|
|
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;
|
|
4281
|
-
/** @enum {string} */
|
|
4282
|
-
subscription_status?: "active" | "past_due" | "canceled" | "trialing" | "incomplete" | "incomplete_expired" | "unpaid" | "paused";
|
|
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;
|
|
4292
|
-
/** @enum {string} */
|
|
4293
|
-
verified_email_jit_role?: "none" | "owner" | "admin" | "member" | "viewer" | "collaborator" | "invited";
|
|
4294
|
-
};
|
|
4295
3932
|
};
|
|
4296
3933
|
responses: never;
|
|
4297
3934
|
parameters: never;
|
|
@@ -4422,42 +4059,6 @@ export interface operations {
|
|
|
4422
4059
|
};
|
|
4423
4060
|
};
|
|
4424
4061
|
};
|
|
4425
|
-
"get-v1-available-connectors": {
|
|
4426
|
-
parameters: {
|
|
4427
|
-
query: {
|
|
4428
|
-
/** @description Workspace ID */
|
|
4429
|
-
workspace_id: string;
|
|
4430
|
-
/** @description Maximum number of items to return */
|
|
4431
|
-
limit?: number;
|
|
4432
|
-
/** @description Opaque pagination cursor returned by the previous page */
|
|
4433
|
-
cursor?: string;
|
|
4434
|
-
};
|
|
4435
|
-
header?: never;
|
|
4436
|
-
path?: never;
|
|
4437
|
-
cookie?: never;
|
|
4438
|
-
};
|
|
4439
|
-
requestBody?: never;
|
|
4440
|
-
responses: {
|
|
4441
|
-
/** @description OK */
|
|
4442
|
-
200: {
|
|
4443
|
-
headers: {
|
|
4444
|
-
[name: string]: unknown;
|
|
4445
|
-
};
|
|
4446
|
-
content: {
|
|
4447
|
-
"application/json": components["schemas"]["CursorListResponseV1AvailableConnectorEntry"];
|
|
4448
|
-
};
|
|
4449
|
-
};
|
|
4450
|
-
/** @description Error */
|
|
4451
|
-
default: {
|
|
4452
|
-
headers: {
|
|
4453
|
-
[name: string]: unknown;
|
|
4454
|
-
};
|
|
4455
|
-
content: {
|
|
4456
|
-
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
4457
|
-
};
|
|
4458
|
-
};
|
|
4459
|
-
};
|
|
4460
|
-
};
|
|
4461
4062
|
"get-v1-collaborators": {
|
|
4462
4063
|
parameters: {
|
|
4463
4064
|
query: {
|
|
@@ -4497,44 +4098,6 @@ export interface operations {
|
|
|
4497
4098
|
};
|
|
4498
4099
|
};
|
|
4499
4100
|
};
|
|
4500
|
-
"get-v1-connections": {
|
|
4501
|
-
parameters: {
|
|
4502
|
-
query: {
|
|
4503
|
-
/** @description Workspace ID */
|
|
4504
|
-
workspace_id: string;
|
|
4505
|
-
/** @description Optional connector ID filter */
|
|
4506
|
-
connector_id?: string;
|
|
4507
|
-
/** @description Maximum number of items to return */
|
|
4508
|
-
limit?: number;
|
|
4509
|
-
/** @description Opaque pagination cursor returned by the previous page */
|
|
4510
|
-
cursor?: string;
|
|
4511
|
-
};
|
|
4512
|
-
header?: never;
|
|
4513
|
-
path?: never;
|
|
4514
|
-
cookie?: never;
|
|
4515
|
-
};
|
|
4516
|
-
requestBody?: never;
|
|
4517
|
-
responses: {
|
|
4518
|
-
/** @description OK */
|
|
4519
|
-
200: {
|
|
4520
|
-
headers: {
|
|
4521
|
-
[name: string]: unknown;
|
|
4522
|
-
};
|
|
4523
|
-
content: {
|
|
4524
|
-
"application/json": components["schemas"]["CursorListResponseV1ConnectionItem"];
|
|
4525
|
-
};
|
|
4526
|
-
};
|
|
4527
|
-
/** @description Error */
|
|
4528
|
-
default: {
|
|
4529
|
-
headers: {
|
|
4530
|
-
[name: string]: unknown;
|
|
4531
|
-
};
|
|
4532
|
-
content: {
|
|
4533
|
-
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
4534
|
-
};
|
|
4535
|
-
};
|
|
4536
|
-
};
|
|
4537
|
-
};
|
|
4538
4101
|
"get-v1-connectors": {
|
|
4539
4102
|
parameters: {
|
|
4540
4103
|
query: {
|
|
@@ -4575,74 +4138,6 @@ export interface operations {
|
|
|
4575
4138
|
};
|
|
4576
4139
|
};
|
|
4577
4140
|
};
|
|
4578
|
-
"post-v1-connectors": {
|
|
4579
|
-
parameters: {
|
|
4580
|
-
query?: never;
|
|
4581
|
-
header?: never;
|
|
4582
|
-
path?: never;
|
|
4583
|
-
cookie?: never;
|
|
4584
|
-
};
|
|
4585
|
-
requestBody: {
|
|
4586
|
-
content: {
|
|
4587
|
-
"application/json": components["schemas"]["PublicV1AddConnectorBody"];
|
|
4588
|
-
};
|
|
4589
|
-
};
|
|
4590
|
-
responses: {
|
|
4591
|
-
/** @description Created */
|
|
4592
|
-
201: {
|
|
4593
|
-
headers: {
|
|
4594
|
-
[name: string]: unknown;
|
|
4595
|
-
};
|
|
4596
|
-
content: {
|
|
4597
|
-
"application/json": components["schemas"]["V1ConnectorResponse"];
|
|
4598
|
-
};
|
|
4599
|
-
};
|
|
4600
|
-
/** @description Error */
|
|
4601
|
-
default: {
|
|
4602
|
-
headers: {
|
|
4603
|
-
[name: string]: unknown;
|
|
4604
|
-
};
|
|
4605
|
-
content: {
|
|
4606
|
-
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
4607
|
-
};
|
|
4608
|
-
};
|
|
4609
|
-
};
|
|
4610
|
-
};
|
|
4611
|
-
"delete-v1-connectors-connector_id": {
|
|
4612
|
-
parameters: {
|
|
4613
|
-
query: {
|
|
4614
|
-
/** @description Workspace ID */
|
|
4615
|
-
workspace_id: string;
|
|
4616
|
-
};
|
|
4617
|
-
header?: never;
|
|
4618
|
-
path: {
|
|
4619
|
-
/** @description Connector ID */
|
|
4620
|
-
connector_id: string;
|
|
4621
|
-
};
|
|
4622
|
-
cookie?: never;
|
|
4623
|
-
};
|
|
4624
|
-
requestBody?: never;
|
|
4625
|
-
responses: {
|
|
4626
|
-
/** @description OK */
|
|
4627
|
-
200: {
|
|
4628
|
-
headers: {
|
|
4629
|
-
[name: string]: unknown;
|
|
4630
|
-
};
|
|
4631
|
-
content: {
|
|
4632
|
-
"application/json": components["schemas"]["V1RemoveConnectorOutputBody"];
|
|
4633
|
-
};
|
|
4634
|
-
};
|
|
4635
|
-
/** @description Error */
|
|
4636
|
-
default: {
|
|
4637
|
-
headers: {
|
|
4638
|
-
[name: string]: unknown;
|
|
4639
|
-
};
|
|
4640
|
-
content: {
|
|
4641
|
-
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
4642
|
-
};
|
|
4643
|
-
};
|
|
4644
|
-
};
|
|
4645
|
-
};
|
|
4646
4141
|
"get-v1-credit-history": {
|
|
4647
4142
|
parameters: {
|
|
4648
4143
|
query: {
|
|
@@ -5383,8 +4878,6 @@ export interface operations {
|
|
|
5383
4878
|
query: {
|
|
5384
4879
|
/** @description Workspace ID */
|
|
5385
4880
|
workspace_id: string;
|
|
5386
|
-
/** @description Include per-project risk rollup fields when enabled for the workspace */
|
|
5387
|
-
include_risk?: boolean;
|
|
5388
4881
|
/** @description Filter by project creator user ID */
|
|
5389
4882
|
user_id?: string;
|
|
5390
4883
|
/** @description Filter by visibility */
|
|
@@ -5420,7 +4913,7 @@ export interface operations {
|
|
|
5420
4913
|
[name: string]: unknown;
|
|
5421
4914
|
};
|
|
5422
4915
|
content: {
|
|
5423
|
-
"application/json": components["schemas"]["
|
|
4916
|
+
"application/json": components["schemas"]["CursorListResponsePublicV1ProjectListItem"];
|
|
5424
4917
|
};
|
|
5425
4918
|
};
|
|
5426
4919
|
/** @description Error */
|
|
@@ -6903,7 +6396,7 @@ export interface operations {
|
|
|
6903
6396
|
[name: string]: unknown;
|
|
6904
6397
|
};
|
|
6905
6398
|
content: {
|
|
6906
|
-
"application/json": components["schemas"]["
|
|
6399
|
+
"application/json": components["schemas"]["PublicV1GetWorkspaceBody"];
|
|
6907
6400
|
};
|
|
6908
6401
|
};
|
|
6909
6402
|
/** @description Error */
|