@lovable.dev/sdk 1.9.0 → 1.10.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/README.md +5 -4
- package/dist/index.d.ts +167 -330
- package/dist/index.js +3 -17
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +192 -382
- package/dist/schemas.js +98 -77
- package/dist/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2 -16
- package/src/generated/paths.ts +165 -315
- package/src/generated/version.ts +1 -1
- package/src/generated/zod/zod.gen.ts +85 -52
- package/src/schemas-deprecated.ts +25 -50
- package/src/types.ts +3 -4
package/src/generated/paths.ts
CHANGED
|
@@ -1049,15 +1049,11 @@ export interface paths {
|
|
|
1049
1049
|
};
|
|
1050
1050
|
/**
|
|
1051
1051
|
* List security scans
|
|
1052
|
-
* @description Returns the project's security scans ordered by start time, newest first. Use a scan's detail endpoint to retrieve
|
|
1052
|
+
* @description Returns the project's security scans ordered by start time, newest first. Use a scan's detail endpoint to retrieve findings.
|
|
1053
1053
|
*/
|
|
1054
1054
|
get: operations["listSecurityScans"];
|
|
1055
1055
|
put?: never;
|
|
1056
|
-
|
|
1057
|
-
* Trigger security scan
|
|
1058
|
-
* @description Starts a security scan for the project's latest commit. Returns the existing scan when one for the same commit and scanner set is already running, or the latest completed scan when it already covers the current commit. Poll GET /v1/projects/{project_id}/security-scans/{scan_id} for status and findings.
|
|
1059
|
-
*/
|
|
1060
|
-
post: operations["triggerSecurityScan"];
|
|
1056
|
+
post?: never;
|
|
1061
1057
|
delete?: never;
|
|
1062
1058
|
options?: never;
|
|
1063
1059
|
head?: never;
|
|
@@ -1073,7 +1069,7 @@ export interface paths {
|
|
|
1073
1069
|
};
|
|
1074
1070
|
/**
|
|
1075
1071
|
* Get security scan
|
|
1076
|
-
* @description Returns a security scan's status
|
|
1072
|
+
* @description Returns a security scan's status and findings. A scan may include results reused from earlier scans.
|
|
1077
1073
|
*/
|
|
1078
1074
|
get: operations["getSecurityScan"];
|
|
1079
1075
|
put?: never;
|
|
@@ -1177,9 +1173,10 @@ export interface paths {
|
|
|
1177
1173
|
};
|
|
1178
1174
|
/**
|
|
1179
1175
|
* Get remix job
|
|
1176
|
+
* @deprecated
|
|
1180
1177
|
* @description Returns the status of a remix started with POST /v1/projects, using the returned job_id. Poll until copying succeeds (result.project_id is set) or fails (error_message explains the failure). Poll no more than once every 2 seconds and honor Retry-After on 429 responses. After the copy finishes, any initial_message may still be processing. Job status is retained for a limited time; expired jobs return 404.
|
|
1181
1178
|
*/
|
|
1182
|
-
get: operations["
|
|
1179
|
+
get: operations["get-v1-remix-jobs-job_id"];
|
|
1183
1180
|
put?: never;
|
|
1184
1181
|
post?: never;
|
|
1185
1182
|
delete?: never;
|
|
@@ -1550,30 +1547,6 @@ export interface paths {
|
|
|
1550
1547
|
patch?: never;
|
|
1551
1548
|
trace?: never;
|
|
1552
1549
|
};
|
|
1553
|
-
"/v1/workspaces/{workspace_id}/billing/credit-limits": {
|
|
1554
|
-
parameters: {
|
|
1555
|
-
query?: never;
|
|
1556
|
-
header?: never;
|
|
1557
|
-
path?: never;
|
|
1558
|
-
cookie?: never;
|
|
1559
|
-
};
|
|
1560
|
-
/**
|
|
1561
|
-
* Get member credit limits
|
|
1562
|
-
* @description Returns each active member's explicit monthly build-credit limit and the workspace default, with pagination. Members without an explicit limit inherit the default; active higher temporary limits can override either. Usage resets at the start of each UTC calendar month.
|
|
1563
|
-
*/
|
|
1564
|
-
get: operations["listCreditLimits"];
|
|
1565
|
-
put?: never;
|
|
1566
|
-
/**
|
|
1567
|
-
* Set member credit limits
|
|
1568
|
-
* @description Sets or clears monthly build-credit limits for up to 1000 members per request. Workspaces without bulk-limit support accept at most 50 members and reject larger requests with HTTP 400 before processing any member; current_period limits fail per member where unsupported. Usage resets at the start of each UTC calendar month. Returns HTTP 200 with a result for each member; other individual failures do not fail the whole request. If every member fails, returns HTTP 422 with the same response body.
|
|
1569
|
-
*/
|
|
1570
|
-
post: operations["setCreditLimits"];
|
|
1571
|
-
delete?: never;
|
|
1572
|
-
options?: never;
|
|
1573
|
-
head?: never;
|
|
1574
|
-
patch?: never;
|
|
1575
|
-
trace?: never;
|
|
1576
|
-
};
|
|
1577
1550
|
"/v1/workspaces/{workspace_id}/billing/credit-usage": {
|
|
1578
1551
|
parameters: {
|
|
1579
1552
|
query?: never;
|
|
@@ -1977,11 +1950,7 @@ export interface paths {
|
|
|
1977
1950
|
delete?: never;
|
|
1978
1951
|
options?: never;
|
|
1979
1952
|
head?: never;
|
|
1980
|
-
|
|
1981
|
-
* Update workspace settings
|
|
1982
|
-
* @description Sets or clears the default monthly build-credit limit for members without an explicit limit. Usage resets at the start of each UTC calendar month. Explicit member limits and active higher temporary limits still apply.
|
|
1983
|
-
*/
|
|
1984
|
-
patch: operations["updateWorkspaceSettings"];
|
|
1953
|
+
patch?: never;
|
|
1985
1954
|
trace?: never;
|
|
1986
1955
|
};
|
|
1987
1956
|
"/v1/workspaces/{workspace_id}/skills": {
|
|
@@ -2145,6 +2114,12 @@ export interface components {
|
|
|
2145
2114
|
/** @description Whether more results are available and the cursor to fetch the next page. */
|
|
2146
2115
|
pagination: components["schemas"]["Pagination"];
|
|
2147
2116
|
};
|
|
2117
|
+
SecurityScanPage: {
|
|
2118
|
+
/** @description Items in this page. */
|
|
2119
|
+
data: components["schemas"]["SecurityScan"][] | null;
|
|
2120
|
+
/** @description Whether more results are available and the cursor to fetch the next page. */
|
|
2121
|
+
pagination: components["schemas"]["Pagination"];
|
|
2122
|
+
};
|
|
2148
2123
|
CursorListResponseV1EditSummary: {
|
|
2149
2124
|
/** @description Items in this page. */
|
|
2150
2125
|
data: components["schemas"]["V1EditSummary"][] | null;
|
|
@@ -2169,9 +2144,9 @@ export interface components {
|
|
|
2169
2144
|
/** @description Whether more results are available and the cursor to fetch the next page. */
|
|
2170
2145
|
pagination: components["schemas"]["Pagination"];
|
|
2171
2146
|
};
|
|
2172
|
-
|
|
2147
|
+
CursorListResponseV1SecurityScanSummary: {
|
|
2173
2148
|
/** @description Items in this page. */
|
|
2174
|
-
data: components["schemas"]["
|
|
2149
|
+
data: components["schemas"]["V1SecurityScanSummary"][] | null;
|
|
2175
2150
|
/** @description Whether more results are available and the cursor to fetch the next page. */
|
|
2176
2151
|
pagination: components["schemas"]["Pagination"];
|
|
2177
2152
|
};
|
|
@@ -2616,6 +2591,12 @@ export interface components {
|
|
|
2616
2591
|
/** @description Project ID */
|
|
2617
2592
|
project_id: string;
|
|
2618
2593
|
};
|
|
2594
|
+
SecurityScanDetail: {
|
|
2595
|
+
/** @description Findings in this scan snapshot, including results reused from earlier scans and findings marked fixed or ignored. */
|
|
2596
|
+
findings: components["schemas"]["SecurityFinding"][] | null;
|
|
2597
|
+
/** @description Status and timing of the security scan. */
|
|
2598
|
+
scan: components["schemas"]["SecurityScan"];
|
|
2599
|
+
};
|
|
2619
2600
|
GetWorkspaceResponse: {
|
|
2620
2601
|
/** @description Caller's membership in this workspace. */
|
|
2621
2602
|
current_member?: components["schemas"]["WorkspaceMembership"];
|
|
@@ -2629,11 +2610,6 @@ export interface components {
|
|
|
2629
2610
|
ref: string;
|
|
2630
2611
|
};
|
|
2631
2612
|
PiiLabel: {
|
|
2632
|
-
/**
|
|
2633
|
-
* @description Identifier of the chat message associated with a chat or uploaded-file finding, when available.
|
|
2634
|
-
* @example default:user#12#01jw3k9m2xq8r5v0c7d4e6f2gh
|
|
2635
|
-
*/
|
|
2636
|
-
chat_message_id?: string;
|
|
2637
2613
|
/** @description Identifier of the uploaded file where personal data was detected. */
|
|
2638
2614
|
chat_upload_id?: string;
|
|
2639
2615
|
/** @description Connected service associated with this finding. */
|
|
@@ -2665,11 +2641,6 @@ export interface components {
|
|
|
2665
2641
|
* @example alex@example.com
|
|
2666
2642
|
*/
|
|
2667
2643
|
quote?: string;
|
|
2668
|
-
/**
|
|
2669
|
-
* @description Identifier of the personal data scan that recorded this finding. Separate from security scan IDs.
|
|
2670
|
-
* @example pii-scan-prj_01jw3k9m2xq8r5v0c7d4e6f2gh
|
|
2671
|
-
*/
|
|
2672
|
-
scan_id?: string;
|
|
2673
2644
|
/**
|
|
2674
2645
|
* @description Sensitivity assigned to the detected data type. More values may be added; clients must tolerate unknown values.
|
|
2675
2646
|
* @example high
|
|
@@ -2846,7 +2817,14 @@ export interface components {
|
|
|
2846
2817
|
*/
|
|
2847
2818
|
project_type?: "project" | "library";
|
|
2848
2819
|
/**
|
|
2849
|
-
* @description Who can
|
|
2820
|
+
* @description Who can open the published app, using the same values as the visibility field on the publish routes. Omitted while the app is not published. More values may be added; clients must tolerate unknown values.
|
|
2821
|
+
* @example public
|
|
2822
|
+
* @enum {string}
|
|
2823
|
+
*/
|
|
2824
|
+
publish_audience?: "public" | "workspace" | "custom";
|
|
2825
|
+
/**
|
|
2826
|
+
* @deprecated
|
|
2827
|
+
* @description Deprecated: use publish_audience. Stored app-access setting; private covers both the workspace and custom audiences. More values may be added; clients must tolerate unknown values.
|
|
2850
2828
|
* @example public
|
|
2851
2829
|
* @enum {string}
|
|
2852
2830
|
*/
|
|
@@ -2857,17 +2835,6 @@ export interface components {
|
|
|
2857
2835
|
* @enum {string}
|
|
2858
2836
|
*/
|
|
2859
2837
|
status?: "in_progress" | "completed" | "failed";
|
|
2860
|
-
/**
|
|
2861
|
-
* @description Project tech stack.
|
|
2862
|
-
* @example vite_react_shadcn_ts
|
|
2863
|
-
*/
|
|
2864
|
-
tech_stack?: string;
|
|
2865
|
-
/**
|
|
2866
|
-
* Format: date-time
|
|
2867
|
-
* @description When the project was last updated.
|
|
2868
|
-
* @example 2026-01-15T09:30:00Z
|
|
2869
|
-
*/
|
|
2870
|
-
updated_at?: string;
|
|
2871
2838
|
/**
|
|
2872
2839
|
* @description Published project URL.
|
|
2873
2840
|
* @example https://acme-landing-page.lovable.app
|
|
@@ -3006,20 +2973,101 @@ export interface components {
|
|
|
3006
2973
|
/** @description Published project URL. Set after a successful deployment. */
|
|
3007
2974
|
url?: string;
|
|
3008
2975
|
};
|
|
3009
|
-
|
|
2976
|
+
PublicV1RemixJobOutputBody: {
|
|
3010
2977
|
/** @description Machine-readable failure cause, present only for recognized failures */
|
|
3011
2978
|
error_code?: string;
|
|
3012
2979
|
/** @description Human-readable explanation if the copy fails. */
|
|
3013
2980
|
error_message?: string;
|
|
3014
2981
|
/** @description Remix result, present after a successful copy. */
|
|
3015
|
-
result?: components["schemas"]["
|
|
2982
|
+
result?: components["schemas"]["V1RemixProgressResult"];
|
|
3016
2983
|
/**
|
|
3017
2984
|
* @description Progress of copying the project. More values may be added; clients must tolerate unknown values.
|
|
3018
2985
|
* @enum {string}
|
|
3019
2986
|
*/
|
|
3020
2987
|
status: "preparing" | "running" | "completed" | "error" | "unknown";
|
|
3021
|
-
|
|
3022
|
-
|
|
2988
|
+
};
|
|
2989
|
+
SecurityFinding: {
|
|
2990
|
+
/**
|
|
2991
|
+
* @description Finding category.
|
|
2992
|
+
* @example data_exposure
|
|
2993
|
+
*/
|
|
2994
|
+
category?: string;
|
|
2995
|
+
/**
|
|
2996
|
+
* Format: date-time
|
|
2997
|
+
* @description When this finding was first recorded, UTC.
|
|
2998
|
+
* @example 2026-01-15T09:30:00Z
|
|
2999
|
+
*/
|
|
3000
|
+
created_at: string;
|
|
3001
|
+
/**
|
|
3002
|
+
* @description Human-readable summary of the finding.
|
|
3003
|
+
* @example A public table has row-level security disabled, exposing all rows to anonymous clients.
|
|
3004
|
+
*/
|
|
3005
|
+
description?: string;
|
|
3006
|
+
/**
|
|
3007
|
+
* @description Stable identifier for this finding.
|
|
3008
|
+
* @example b2c3d4e5-f6a7-8901-bcde-f23456789012
|
|
3009
|
+
*/
|
|
3010
|
+
finding_id: string;
|
|
3011
|
+
/**
|
|
3012
|
+
* @description Severity reported by the scanner. More values may be added; clients must tolerate unknown values.
|
|
3013
|
+
* @example error
|
|
3014
|
+
* @enum {string}
|
|
3015
|
+
*/
|
|
3016
|
+
level: "error" | "warn" | "info";
|
|
3017
|
+
/**
|
|
3018
|
+
* @description Short finding title.
|
|
3019
|
+
* @example Row-level security disabled on a public table
|
|
3020
|
+
*/
|
|
3021
|
+
name: string;
|
|
3022
|
+
/**
|
|
3023
|
+
* @description Name of the scanner that produced this finding.
|
|
3024
|
+
* @example agent_security
|
|
3025
|
+
*/
|
|
3026
|
+
scanner_name: string;
|
|
3027
|
+
/**
|
|
3028
|
+
* @description Review state of the security finding. More values may be added; clients must tolerate unknown values.
|
|
3029
|
+
* @example open
|
|
3030
|
+
* @enum {string}
|
|
3031
|
+
*/
|
|
3032
|
+
status: "open" | "fixed" | "ignored";
|
|
3033
|
+
/**
|
|
3034
|
+
* Format: date-time
|
|
3035
|
+
* @description When this finding was last updated, UTC.
|
|
3036
|
+
* @example 2026-01-15T09:30:00Z
|
|
3037
|
+
*/
|
|
3038
|
+
updated_at: string;
|
|
3039
|
+
};
|
|
3040
|
+
SecurityScan: {
|
|
3041
|
+
/**
|
|
3042
|
+
* @description Git commit SHA of the project when the scan started. Omitted when unavailable.
|
|
3043
|
+
* @example 9fceb02d0ae598e95dc970b74767f19372d61af8
|
|
3044
|
+
*/
|
|
3045
|
+
commit_sha?: string;
|
|
3046
|
+
/**
|
|
3047
|
+
* Format: date-time
|
|
3048
|
+
* @description When the scan finished, UTC; absent while still running.
|
|
3049
|
+
* @example 2026-01-15T09:30:00Z
|
|
3050
|
+
*/
|
|
3051
|
+
finished_at?: string;
|
|
3052
|
+
/** @description Identifiers of the security checks requested for this scan. */
|
|
3053
|
+
requested_scanners: string[] | null;
|
|
3054
|
+
/**
|
|
3055
|
+
* @description Unique ID for this security scan.
|
|
3056
|
+
* @example a1b2c3d4-e5f6-7890-abcd-ef1234567890
|
|
3057
|
+
*/
|
|
3058
|
+
scan_id: string;
|
|
3059
|
+
/**
|
|
3060
|
+
* Format: date-time
|
|
3061
|
+
* @description When the scan started, UTC.
|
|
3062
|
+
* @example 2026-01-15T09:30:00Z
|
|
3063
|
+
*/
|
|
3064
|
+
started_at: string;
|
|
3065
|
+
/**
|
|
3066
|
+
* @description Overall scan state. Finishing a scan does not mean that no security issues were found. More values may be added; clients must tolerate unknown values.
|
|
3067
|
+
* @example completed
|
|
3068
|
+
* @enum {string}
|
|
3069
|
+
*/
|
|
3070
|
+
status: "running" | "completed" | "failed";
|
|
3023
3071
|
};
|
|
3024
3072
|
PublicV1SendMessageInputBody: {
|
|
3025
3073
|
/**
|
|
@@ -3557,40 +3605,6 @@ export interface components {
|
|
|
3557
3605
|
/** @description Stable identifier of the tool awaiting approval, e.g. app_user_connector--provision_app. Omitted when the tool call carries no stable tool id. */
|
|
3558
3606
|
tool_id?: string;
|
|
3559
3607
|
};
|
|
3560
|
-
SetMemberCreditLimitsRequest: {
|
|
3561
|
-
/** @description Per-member limits to apply, with each member listed at most once. To set the default for members without an explicit limit, use PATCH /v1/workspaces/{workspace_id}/settings. */
|
|
3562
|
-
members: components["schemas"]["MemberCreditLimitUpdate"][];
|
|
3563
|
-
};
|
|
3564
|
-
MemberCreditLimit: {
|
|
3565
|
-
/**
|
|
3566
|
-
* Format: double
|
|
3567
|
-
* @description Explicit ongoing monthly build-credit limit for this member. Omitted when the member inherits the workspace default. An active higher temporary limit can override it.
|
|
3568
|
-
*/
|
|
3569
|
-
monthly_credit_limit?: number;
|
|
3570
|
-
/**
|
|
3571
|
-
* Format: date-time
|
|
3572
|
-
* @description When temporary_monthly_credit_limit expires.
|
|
3573
|
-
*/
|
|
3574
|
-
temporary_limit_expires_at?: string;
|
|
3575
|
-
/**
|
|
3576
|
-
* Format: double
|
|
3577
|
-
* @description Active temporary monthly build-credit limit for this member. It overrides the permanent or default limit only when higher. Omitted when no temporary limit is active.
|
|
3578
|
-
*/
|
|
3579
|
-
temporary_monthly_credit_limit?: number;
|
|
3580
|
-
/** @description Member the cap applies to. Join GET /v1/workspaces/{workspace_id}/members for display metadata. */
|
|
3581
|
-
user_id: string;
|
|
3582
|
-
};
|
|
3583
|
-
CreditLimitPage: {
|
|
3584
|
-
/** @description Items in this page. */
|
|
3585
|
-
data: components["schemas"]["MemberCreditLimit"][] | null;
|
|
3586
|
-
/**
|
|
3587
|
-
* Format: double
|
|
3588
|
-
* @description Default monthly build-credit limit for members without an explicit per-member limit. Omitted when unset. An active higher temporary limit can override it.
|
|
3589
|
-
*/
|
|
3590
|
-
default_monthly_credit_limit?: number;
|
|
3591
|
-
/** @description Whether more results are available and the cursor to fetch the next page. */
|
|
3592
|
-
pagination: components["schemas"]["Pagination"];
|
|
3593
|
-
};
|
|
3594
3608
|
BillingPeriod: {
|
|
3595
3609
|
/**
|
|
3596
3610
|
* Format: date-time
|
|
@@ -3737,7 +3751,7 @@ export interface components {
|
|
|
3737
3751
|
*/
|
|
3738
3752
|
user_id?: string;
|
|
3739
3753
|
};
|
|
3740
|
-
|
|
3754
|
+
V1BulkMemberCreditLimitItem: {
|
|
3741
3755
|
/**
|
|
3742
3756
|
* @description How long the limit applies. Omit for an ongoing limit. Temporary increases must exceed an existing effective limit and expire at the end of the current UTC calendar month. Temporary increases must be supported by the workspace.
|
|
3743
3757
|
* @enum {string}
|
|
@@ -3757,7 +3771,7 @@ export interface components {
|
|
|
3757
3771
|
*/
|
|
3758
3772
|
user_id?: string;
|
|
3759
3773
|
};
|
|
3760
|
-
|
|
3774
|
+
V1BulkMemberCreditLimitResult: {
|
|
3761
3775
|
/**
|
|
3762
3776
|
* Format: date-time
|
|
3763
3777
|
* @description When a current-period limit expires. Omitted for permanent updates.
|
|
@@ -3789,11 +3803,11 @@ export interface components {
|
|
|
3789
3803
|
};
|
|
3790
3804
|
V1BulkSetMemberCreditLimitInputBody: {
|
|
3791
3805
|
/** @description Per-member limits to apply (1-50 entries). Use the workspace default (PATCH /v1/settings) to cap everyone at once. */
|
|
3792
|
-
members: components["schemas"]["
|
|
3806
|
+
members: components["schemas"]["V1BulkMemberCreditLimitItem"][];
|
|
3793
3807
|
/** @description Workspace ID. */
|
|
3794
3808
|
workspace_id: string;
|
|
3795
3809
|
};
|
|
3796
|
-
|
|
3810
|
+
V1BulkSetMemberCreditLimitOutputBody: {
|
|
3797
3811
|
/**
|
|
3798
3812
|
* Format: int64
|
|
3799
3813
|
* @description Number that failed (see per-item error).
|
|
@@ -3801,7 +3815,7 @@ export interface components {
|
|
|
3801
3815
|
*/
|
|
3802
3816
|
failed: number;
|
|
3803
3817
|
/** @description Per-member outcome, in request order. */
|
|
3804
|
-
results: components["schemas"]["
|
|
3818
|
+
results: components["schemas"]["V1BulkMemberCreditLimitResult"][] | null;
|
|
3805
3819
|
/**
|
|
3806
3820
|
* Format: int64
|
|
3807
3821
|
* @description Number applied successfully.
|
|
@@ -3975,7 +3989,14 @@ export interface components {
|
|
|
3975
3989
|
*/
|
|
3976
3990
|
project_type?: "project" | "library";
|
|
3977
3991
|
/**
|
|
3978
|
-
* @description Who can
|
|
3992
|
+
* @description Who can open the published app, using the same values as the visibility field on the publish routes. Omitted while the app is not published. More values may be added; clients must tolerate unknown values.
|
|
3993
|
+
* @example public
|
|
3994
|
+
* @enum {string}
|
|
3995
|
+
*/
|
|
3996
|
+
publish_audience?: "public" | "workspace" | "custom";
|
|
3997
|
+
/**
|
|
3998
|
+
* @deprecated
|
|
3999
|
+
* @description Deprecated: use publish_audience. Stored app-access setting; private covers both the workspace and custom audiences. More values may be added; clients must tolerate unknown values.
|
|
3979
4000
|
* @example public
|
|
3980
4001
|
* @enum {string}
|
|
3981
4002
|
*/
|
|
@@ -3986,17 +4007,6 @@ export interface components {
|
|
|
3986
4007
|
* @enum {string}
|
|
3987
4008
|
*/
|
|
3988
4009
|
status?: "in_progress" | "completed" | "failed";
|
|
3989
|
-
/**
|
|
3990
|
-
* @description Project tech stack.
|
|
3991
|
-
* @example vite_react_shadcn_ts
|
|
3992
|
-
*/
|
|
3993
|
-
tech_stack?: string;
|
|
3994
|
-
/**
|
|
3995
|
-
* Format: date-time
|
|
3996
|
-
* @description When the project was last updated.
|
|
3997
|
-
* @example 2026-01-15T09:30:00Z
|
|
3998
|
-
*/
|
|
3999
|
-
updated_at?: string;
|
|
4000
4010
|
/**
|
|
4001
4011
|
* @description Published project URL.
|
|
4002
4012
|
* @example https://acme-landing-page.lovable.app
|
|
@@ -4152,13 +4162,13 @@ export interface components {
|
|
|
4152
4162
|
/** @description Whether there are older edits available */
|
|
4153
4163
|
has_more: boolean;
|
|
4154
4164
|
};
|
|
4155
|
-
|
|
4165
|
+
V1GetSecurityScanOutputBody: {
|
|
4156
4166
|
/** @description Findings in this scan snapshot, including results reused from earlier scans and findings marked fixed or ignored. */
|
|
4157
|
-
findings: components["schemas"]["
|
|
4167
|
+
findings: components["schemas"]["V1SecurityFinding"][] | null;
|
|
4158
4168
|
/** @description Status, initiator, and timing of the security scan. */
|
|
4159
|
-
scan: components["schemas"]["
|
|
4169
|
+
scan: components["schemas"]["V1SecurityScanSummary"];
|
|
4160
4170
|
/** @description Execution results for individual security checks. Results may be reused from an earlier scan. */
|
|
4161
|
-
scanner_runs: components["schemas"]["
|
|
4171
|
+
scanner_runs: components["schemas"]["V1SecurityScannerRun"][] | null;
|
|
4162
4172
|
};
|
|
4163
4173
|
V1GetWorkspaceSkillOutputBody: {
|
|
4164
4174
|
skill: components["schemas"]["V1WorkspaceSkillDTO"];
|
|
@@ -4498,7 +4508,14 @@ export interface components {
|
|
|
4498
4508
|
*/
|
|
4499
4509
|
project_type?: "project" | "library";
|
|
4500
4510
|
/**
|
|
4501
|
-
* @description Who can
|
|
4511
|
+
* @description Who can open the published app, using the same values as the visibility field on the publish routes. Omitted while the app is not published. More values may be added; clients must tolerate unknown values.
|
|
4512
|
+
* @example public
|
|
4513
|
+
* @enum {string}
|
|
4514
|
+
*/
|
|
4515
|
+
publish_audience?: "public" | "workspace" | "custom";
|
|
4516
|
+
/**
|
|
4517
|
+
* @deprecated
|
|
4518
|
+
* @description Deprecated: use publish_audience. Stored app-access setting; private covers both the workspace and custom audiences. More values may be added; clients must tolerate unknown values.
|
|
4502
4519
|
* @example public
|
|
4503
4520
|
* @enum {string}
|
|
4504
4521
|
*/
|
|
@@ -4509,17 +4526,6 @@ export interface components {
|
|
|
4509
4526
|
* @enum {string}
|
|
4510
4527
|
*/
|
|
4511
4528
|
status?: "in_progress" | "completed" | "failed";
|
|
4512
|
-
/**
|
|
4513
|
-
* @description Project tech stack.
|
|
4514
|
-
* @example vite_react_shadcn_ts
|
|
4515
|
-
*/
|
|
4516
|
-
tech_stack?: string;
|
|
4517
|
-
/**
|
|
4518
|
-
* Format: date-time
|
|
4519
|
-
* @description When the project was last updated.
|
|
4520
|
-
* @example 2026-01-15T09:30:00Z
|
|
4521
|
-
*/
|
|
4522
|
-
updated_at?: string;
|
|
4523
4529
|
/**
|
|
4524
4530
|
* @description Published project URL.
|
|
4525
4531
|
* @example https://acme-landing-page.lovable.app
|
|
@@ -4591,13 +4597,13 @@ export interface components {
|
|
|
4591
4597
|
/** @description Error details when the remix job fails */
|
|
4592
4598
|
error_message?: string;
|
|
4593
4599
|
/** @description Remix result (present when completed) */
|
|
4594
|
-
result?: components["schemas"]["
|
|
4600
|
+
result?: components["schemas"]["V1RemixProgressResult"];
|
|
4595
4601
|
/** @description Job status: preparing, running, completed, or error */
|
|
4596
4602
|
status: string;
|
|
4597
4603
|
/** @description Current step details (present when running) */
|
|
4598
4604
|
step?: components["schemas"]["RemixJobStepInfo"];
|
|
4599
4605
|
};
|
|
4600
|
-
|
|
4606
|
+
V1RemixProgressResult: {
|
|
4601
4607
|
/** @description ID of the newly created project */
|
|
4602
4608
|
project_id: string;
|
|
4603
4609
|
/** @description Non-fatal issues encountered while creating the project */
|
|
@@ -4607,7 +4613,7 @@ export interface components {
|
|
|
4607
4613
|
/** @description Whether the connector was removed */
|
|
4608
4614
|
success: boolean;
|
|
4609
4615
|
};
|
|
4610
|
-
|
|
4616
|
+
V1SecurityFinding: {
|
|
4611
4617
|
/**
|
|
4612
4618
|
* @description Finding category.
|
|
4613
4619
|
* @example data_exposure
|
|
@@ -4688,7 +4694,7 @@ export interface components {
|
|
|
4688
4694
|
*/
|
|
4689
4695
|
updated_at: string;
|
|
4690
4696
|
};
|
|
4691
|
-
|
|
4697
|
+
V1SecurityScanActor: {
|
|
4692
4698
|
/** @description Email of the user actor, when resolvable. */
|
|
4693
4699
|
email?: string;
|
|
4694
4700
|
/** @description Lovable user ID when the actor is a user. */
|
|
@@ -4701,7 +4707,7 @@ export interface components {
|
|
|
4701
4707
|
*/
|
|
4702
4708
|
type: "user" | "system";
|
|
4703
4709
|
};
|
|
4704
|
-
|
|
4710
|
+
V1SecurityScanSummary: {
|
|
4705
4711
|
/**
|
|
4706
4712
|
* @description Git commit SHA of the project when the scan started. Omitted when unavailable.
|
|
4707
4713
|
* @example 9fceb02d0ae598e95dc970b74767f19372d61af8
|
|
@@ -4739,9 +4745,9 @@ export interface components {
|
|
|
4739
4745
|
*/
|
|
4740
4746
|
trigger_source: "workflow" | "user" | "ui_auto" | "aikido_import" | "manage_findings" | "app_mcp_deep_auto" | "hvt_scheduled" | "workspace_scheduled" | "enterprise_batch" | "gitsync_pull";
|
|
4741
4747
|
/** @description Actor that triggered the scan. */
|
|
4742
|
-
triggered_by: components["schemas"]["
|
|
4748
|
+
triggered_by: components["schemas"]["V1SecurityScanActor"];
|
|
4743
4749
|
};
|
|
4744
|
-
|
|
4750
|
+
V1SecurityScannerRun: {
|
|
4745
4751
|
/**
|
|
4746
4752
|
* @description Git commit SHA checked by this scanner. May be older than scan.commit_sha when results from an earlier scan are reused.
|
|
4747
4753
|
* @example 9fceb02d0ae598e95dc970b74767f19372d61af8
|
|
@@ -4859,7 +4865,7 @@ export interface components {
|
|
|
4859
4865
|
/** @description Project ID */
|
|
4860
4866
|
project_id: string;
|
|
4861
4867
|
};
|
|
4862
|
-
|
|
4868
|
+
V1TriggerSecurityScanResponseBody: {
|
|
4863
4869
|
/**
|
|
4864
4870
|
* @description Human-readable status message
|
|
4865
4871
|
* @example Security scan started.
|
|
@@ -4919,14 +4925,6 @@ export interface components {
|
|
|
4919
4925
|
/** @description Workspace ID. */
|
|
4920
4926
|
workspace_id: string;
|
|
4921
4927
|
};
|
|
4922
|
-
UpdateWorkspaceSettingsRequest: {
|
|
4923
|
-
/**
|
|
4924
|
-
* Format: double
|
|
4925
|
-
* @description Default monthly build-credit limit for members without an explicit per-member limit. Send a nonnegative number of Lovable credits, or null to clear the default. Explicit member limits and active higher temporary limits still apply. This field is required for an update.
|
|
4926
|
-
* @example 500
|
|
4927
|
-
*/
|
|
4928
|
-
default_monthly_member_credit_limit?: number | null;
|
|
4929
|
-
};
|
|
4930
4928
|
V1UsagePeriod: {
|
|
4931
4929
|
/** @description Inclusive end of the covered window (YYYY-MM-DD, UTC). */
|
|
4932
4930
|
end: string;
|
|
@@ -5342,7 +5340,14 @@ export interface components {
|
|
|
5342
5340
|
/** @description Project owner's display name, when available. */
|
|
5343
5341
|
owner?: components["schemas"]["WorkspaceInsightsOwner"];
|
|
5344
5342
|
/**
|
|
5345
|
-
* @description Who can
|
|
5343
|
+
* @description Who can open the published site, using the same values as the visibility field on the publish routes. Omitted while the site is not published. More values may be added; clients must tolerate unknown values.
|
|
5344
|
+
* @example public
|
|
5345
|
+
* @enum {string}
|
|
5346
|
+
*/
|
|
5347
|
+
publish_audience?: "public" | "workspace" | "custom";
|
|
5348
|
+
/**
|
|
5349
|
+
* @deprecated
|
|
5350
|
+
* @description Deprecated: use publish_audience. Stored app-access setting; private covers both the workspace and custom audiences. More values may be added; clients must tolerate unknown values.
|
|
5346
5351
|
* @example public
|
|
5347
5352
|
* @enum {string}
|
|
5348
5353
|
*/
|
|
@@ -6825,7 +6830,7 @@ export interface operations {
|
|
|
6825
6830
|
[name: string]: unknown;
|
|
6826
6831
|
};
|
|
6827
6832
|
content: {
|
|
6828
|
-
"application/json": components["schemas"]["
|
|
6833
|
+
"application/json": components["schemas"]["V1BulkSetMemberCreditLimitOutputBody"];
|
|
6829
6834
|
};
|
|
6830
6835
|
};
|
|
6831
6836
|
/** @description Error */
|
|
@@ -7114,15 +7119,13 @@ export interface operations {
|
|
|
7114
7119
|
user_id?: string;
|
|
7115
7120
|
/** @description Filter projects by editor-sharing scope. Omit to include every scope you can access. */
|
|
7116
7121
|
visibility?: "personal" | "workspace" | "public" | "all";
|
|
7117
|
-
/** @description Filter by publication state and audience. Audience-specific filters require an explicit app-access setting; projects without one remain in the broader publication-state results. Omit to include every state. */
|
|
7118
|
-
publish_status?: "any" | "published" | "internal" | "external" | "not_published";
|
|
7122
|
+
/** @description Filter by publication state and audience. workspace matches published apps limited to workspace members or a selected audience; public matches apps anyone can open. Deprecated aliases: internal (use workspace), external (use public). Audience-specific filters require an explicit app-access setting; projects without one remain in the broader publication-state results. Omit to include every state. */
|
|
7123
|
+
publish_status?: "any" | "published" | "workspace" | "public" | "internal" | "external" | "not_published";
|
|
7119
7124
|
/** @description Filter by folder ID */
|
|
7120
7125
|
folder_id?: string;
|
|
7121
|
-
/** @description Filter by multiple folder IDs (comma-separated, takes precedence over folder_id) */
|
|
7122
|
-
folder_ids?: string;
|
|
7123
7126
|
/** @description Filter by project type. Design-system libraries and reusable templates exclude personal drafts unless the sharing filter selects them. Omit to include every type. */
|
|
7124
7127
|
type?: "" | "project" | "library" | "template" | "all";
|
|
7125
|
-
/** @description Search project names, generated descriptions, and owner names or email addresses. Terms shorter than 3 characters are ignored.
|
|
7128
|
+
/** @description Search project names, generated descriptions, and owner names or email addresses. Terms shorter than 3 characters are ignored. */
|
|
7126
7129
|
query?: string;
|
|
7127
7130
|
/** @description Maximum number of items to return per page. */
|
|
7128
7131
|
limit?: number;
|
|
@@ -7130,8 +7133,6 @@ export interface operations {
|
|
|
7130
7133
|
cursor?: string;
|
|
7131
7134
|
/** @description Only return projects viewed by the current user */
|
|
7132
7135
|
viewed_by_me?: boolean;
|
|
7133
|
-
/** @description Limit searching to project names. Omit to also search generated descriptions and owner names or email addresses. */
|
|
7134
|
-
search_fields?: "" | "name";
|
|
7135
7136
|
};
|
|
7136
7137
|
header?: never;
|
|
7137
7138
|
path?: never;
|
|
@@ -8177,39 +8178,6 @@ export interface operations {
|
|
|
8177
8178
|
};
|
|
8178
8179
|
};
|
|
8179
8180
|
};
|
|
8180
|
-
triggerSecurityScan: {
|
|
8181
|
-
parameters: {
|
|
8182
|
-
query?: never;
|
|
8183
|
-
header?: never;
|
|
8184
|
-
path: {
|
|
8185
|
-
/** @description Project ID */
|
|
8186
|
-
project_id: string;
|
|
8187
|
-
};
|
|
8188
|
-
cookie?: never;
|
|
8189
|
-
};
|
|
8190
|
-
requestBody?: never;
|
|
8191
|
-
responses: {
|
|
8192
|
-
/** @description Scan request accepted. scan_id identifies the new scan, or the reused in-progress or completed scan (see status). Poll GET /v1/projects/{project_id}/security-scans/{scan_id} (the Location header) for results. */
|
|
8193
|
-
202: {
|
|
8194
|
-
headers: {
|
|
8195
|
-
Location?: string;
|
|
8196
|
-
[name: string]: unknown;
|
|
8197
|
-
};
|
|
8198
|
-
content: {
|
|
8199
|
-
"application/json": components["schemas"]["TriggerSecurityScanResponse"];
|
|
8200
|
-
};
|
|
8201
|
-
};
|
|
8202
|
-
/** @description Error */
|
|
8203
|
-
default: {
|
|
8204
|
-
headers: {
|
|
8205
|
-
[name: string]: unknown;
|
|
8206
|
-
};
|
|
8207
|
-
content: {
|
|
8208
|
-
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
8209
|
-
};
|
|
8210
|
-
};
|
|
8211
|
-
};
|
|
8212
|
-
};
|
|
8213
8181
|
getSecurityScan: {
|
|
8214
8182
|
parameters: {
|
|
8215
8183
|
query?: never;
|
|
@@ -8391,7 +8359,7 @@ export interface operations {
|
|
|
8391
8359
|
};
|
|
8392
8360
|
};
|
|
8393
8361
|
};
|
|
8394
|
-
|
|
8362
|
+
"get-v1-remix-jobs-job_id": {
|
|
8395
8363
|
parameters: {
|
|
8396
8364
|
query?: never;
|
|
8397
8365
|
header?: never;
|
|
@@ -8409,7 +8377,7 @@ export interface operations {
|
|
|
8409
8377
|
[name: string]: unknown;
|
|
8410
8378
|
};
|
|
8411
8379
|
content: {
|
|
8412
|
-
"application/json": components["schemas"]["
|
|
8380
|
+
"application/json": components["schemas"]["PublicV1RemixJobOutputBody"];
|
|
8413
8381
|
};
|
|
8414
8382
|
};
|
|
8415
8383
|
/** @description Error */
|
|
@@ -8445,7 +8413,7 @@ export interface operations {
|
|
|
8445
8413
|
[name: string]: unknown;
|
|
8446
8414
|
};
|
|
8447
8415
|
content: {
|
|
8448
|
-
"application/json": components["schemas"]["
|
|
8416
|
+
"application/json": components["schemas"]["CursorListResponseV1SecurityScanSummary"];
|
|
8449
8417
|
};
|
|
8450
8418
|
};
|
|
8451
8419
|
/** @description Error */
|
|
@@ -8479,7 +8447,7 @@ export interface operations {
|
|
|
8479
8447
|
[name: string]: unknown;
|
|
8480
8448
|
};
|
|
8481
8449
|
content: {
|
|
8482
|
-
"application/json": components["schemas"]["
|
|
8450
|
+
"application/json": components["schemas"]["V1TriggerSecurityScanResponseBody"];
|
|
8483
8451
|
};
|
|
8484
8452
|
};
|
|
8485
8453
|
/** @description Error */
|
|
@@ -8514,7 +8482,7 @@ export interface operations {
|
|
|
8514
8482
|
[name: string]: unknown;
|
|
8515
8483
|
};
|
|
8516
8484
|
content: {
|
|
8517
|
-
"application/json": components["schemas"]["
|
|
8485
|
+
"application/json": components["schemas"]["V1GetSecurityScanOutputBody"];
|
|
8518
8486
|
};
|
|
8519
8487
|
};
|
|
8520
8488
|
/** @description Error */
|
|
@@ -9122,88 +9090,6 @@ export interface operations {
|
|
|
9122
9090
|
};
|
|
9123
9091
|
};
|
|
9124
9092
|
};
|
|
9125
|
-
listCreditLimits: {
|
|
9126
|
-
parameters: {
|
|
9127
|
-
query?: {
|
|
9128
|
-
/** @description Maximum number of items to return per page. */
|
|
9129
|
-
limit?: number;
|
|
9130
|
-
/** @description Pass pagination.next_cursor from the previous response to fetch the next page. Omit for the first page; keep the same filters and sort order across pages. */
|
|
9131
|
-
cursor?: string;
|
|
9132
|
-
};
|
|
9133
|
-
header?: never;
|
|
9134
|
-
path: {
|
|
9135
|
-
/** @description Workspace ID */
|
|
9136
|
-
workspace_id: string;
|
|
9137
|
-
};
|
|
9138
|
-
cookie?: never;
|
|
9139
|
-
};
|
|
9140
|
-
requestBody?: never;
|
|
9141
|
-
responses: {
|
|
9142
|
-
/** @description OK */
|
|
9143
|
-
200: {
|
|
9144
|
-
headers: {
|
|
9145
|
-
[name: string]: unknown;
|
|
9146
|
-
};
|
|
9147
|
-
content: {
|
|
9148
|
-
"application/json": components["schemas"]["CreditLimitPage"];
|
|
9149
|
-
};
|
|
9150
|
-
};
|
|
9151
|
-
/** @description Error */
|
|
9152
|
-
default: {
|
|
9153
|
-
headers: {
|
|
9154
|
-
[name: string]: unknown;
|
|
9155
|
-
};
|
|
9156
|
-
content: {
|
|
9157
|
-
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
9158
|
-
};
|
|
9159
|
-
};
|
|
9160
|
-
};
|
|
9161
|
-
};
|
|
9162
|
-
setCreditLimits: {
|
|
9163
|
-
parameters: {
|
|
9164
|
-
query?: never;
|
|
9165
|
-
header?: never;
|
|
9166
|
-
path: {
|
|
9167
|
-
/** @description Workspace ID */
|
|
9168
|
-
workspace_id: string;
|
|
9169
|
-
};
|
|
9170
|
-
cookie?: never;
|
|
9171
|
-
};
|
|
9172
|
-
requestBody: {
|
|
9173
|
-
content: {
|
|
9174
|
-
"application/json": components["schemas"]["SetMemberCreditLimitsRequest"];
|
|
9175
|
-
};
|
|
9176
|
-
};
|
|
9177
|
-
responses: {
|
|
9178
|
-
/** @description OK */
|
|
9179
|
-
200: {
|
|
9180
|
-
headers: {
|
|
9181
|
-
[name: string]: unknown;
|
|
9182
|
-
};
|
|
9183
|
-
content: {
|
|
9184
|
-
"application/json": components["schemas"]["SetMemberCreditLimitsResponse"];
|
|
9185
|
-
};
|
|
9186
|
-
};
|
|
9187
|
-
/** @description Every member failed; same per-member response body as 200 */
|
|
9188
|
-
422: {
|
|
9189
|
-
headers: {
|
|
9190
|
-
[name: string]: unknown;
|
|
9191
|
-
};
|
|
9192
|
-
content: {
|
|
9193
|
-
"application/json": components["schemas"]["SetMemberCreditLimitsResponse"];
|
|
9194
|
-
};
|
|
9195
|
-
};
|
|
9196
|
-
/** @description Error */
|
|
9197
|
-
default: {
|
|
9198
|
-
headers: {
|
|
9199
|
-
[name: string]: unknown;
|
|
9200
|
-
};
|
|
9201
|
-
content: {
|
|
9202
|
-
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
9203
|
-
};
|
|
9204
|
-
};
|
|
9205
|
-
};
|
|
9206
|
-
};
|
|
9207
9093
|
getCreditUsage: {
|
|
9208
9094
|
parameters: {
|
|
9209
9095
|
query: {
|
|
@@ -10023,8 +9909,8 @@ export interface operations {
|
|
|
10023
9909
|
contains_pii?: boolean;
|
|
10024
9910
|
/** @description Set true to include only projects with a connected service. False or omitted applies no filter. */
|
|
10025
9911
|
has_connectors?: boolean;
|
|
10026
|
-
/** @description Filter by published site access.
|
|
10027
|
-
publish_status?: ("
|
|
9912
|
+
/** @description Filter by published site access. workspace matches sites limited to workspace members or a selected audience; public matches sites anyone can open. Deprecated aliases: external (use public). Repeat to match any selected status; omit for no filter. */
|
|
9913
|
+
publish_status?: ("public" | "workspace" | "external" | "not_published")[] | null;
|
|
10028
9914
|
/** @description Filter projects by Security Center review priority. Repeat to match any selected priority. Omit to include every project, including those not yet scored. */
|
|
10029
9915
|
review_priority?: ("needs_review" | "review_recommended" | "no_review_needed")[] | null;
|
|
10030
9916
|
/** @description Finding type IDs returned by GET /v1/workspaces/{workspace_id}/security-center/insights. Repeat to match any selected type. Unknown IDs return 400. Types requiring personal data detection are ignored when that feature is unavailable. */
|
|
@@ -10091,42 +9977,6 @@ export interface operations {
|
|
|
10091
9977
|
};
|
|
10092
9978
|
};
|
|
10093
9979
|
};
|
|
10094
|
-
updateWorkspaceSettings: {
|
|
10095
|
-
parameters: {
|
|
10096
|
-
query?: never;
|
|
10097
|
-
header?: never;
|
|
10098
|
-
path: {
|
|
10099
|
-
/** @description Workspace ID. */
|
|
10100
|
-
workspace_id: string;
|
|
10101
|
-
};
|
|
10102
|
-
cookie?: never;
|
|
10103
|
-
};
|
|
10104
|
-
requestBody: {
|
|
10105
|
-
content: {
|
|
10106
|
-
"application/json": components["schemas"]["UpdateWorkspaceSettingsRequest"];
|
|
10107
|
-
};
|
|
10108
|
-
};
|
|
10109
|
-
responses: {
|
|
10110
|
-
/** @description OK */
|
|
10111
|
-
200: {
|
|
10112
|
-
headers: {
|
|
10113
|
-
[name: string]: unknown;
|
|
10114
|
-
};
|
|
10115
|
-
content: {
|
|
10116
|
-
"application/json": components["schemas"]["WorkspaceSettings"];
|
|
10117
|
-
};
|
|
10118
|
-
};
|
|
10119
|
-
/** @description Error */
|
|
10120
|
-
default: {
|
|
10121
|
-
headers: {
|
|
10122
|
-
[name: string]: unknown;
|
|
10123
|
-
};
|
|
10124
|
-
content: {
|
|
10125
|
-
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
10126
|
-
};
|
|
10127
|
-
};
|
|
10128
|
-
};
|
|
10129
|
-
};
|
|
10130
9980
|
"get-v1-workspaces-workspace_id-skills": {
|
|
10131
9981
|
parameters: {
|
|
10132
9982
|
query?: {
|