@lovable.dev/sdk 1.9.0 → 1.9.1
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 +131 -322
- package/dist/index.js +3 -17
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +124 -374
- package/dist/schemas.js +78 -77
- package/dist/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2 -16
- package/src/generated/paths.ts +129 -307
- package/src/generated/version.ts +1 -1
- package/src/generated/zod/zod.gen.ts +65 -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
|
|
@@ -2857,17 +2828,6 @@ export interface components {
|
|
|
2857
2828
|
* @enum {string}
|
|
2858
2829
|
*/
|
|
2859
2830
|
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
2831
|
/**
|
|
2872
2832
|
* @description Published project URL.
|
|
2873
2833
|
* @example https://acme-landing-page.lovable.app
|
|
@@ -3006,20 +2966,101 @@ export interface components {
|
|
|
3006
2966
|
/** @description Published project URL. Set after a successful deployment. */
|
|
3007
2967
|
url?: string;
|
|
3008
2968
|
};
|
|
3009
|
-
|
|
2969
|
+
PublicV1RemixJobOutputBody: {
|
|
3010
2970
|
/** @description Machine-readable failure cause, present only for recognized failures */
|
|
3011
2971
|
error_code?: string;
|
|
3012
2972
|
/** @description Human-readable explanation if the copy fails. */
|
|
3013
2973
|
error_message?: string;
|
|
3014
2974
|
/** @description Remix result, present after a successful copy. */
|
|
3015
|
-
result?: components["schemas"]["
|
|
2975
|
+
result?: components["schemas"]["V1RemixProgressResult"];
|
|
3016
2976
|
/**
|
|
3017
2977
|
* @description Progress of copying the project. More values may be added; clients must tolerate unknown values.
|
|
3018
2978
|
* @enum {string}
|
|
3019
2979
|
*/
|
|
3020
2980
|
status: "preparing" | "running" | "completed" | "error" | "unknown";
|
|
3021
|
-
|
|
3022
|
-
|
|
2981
|
+
};
|
|
2982
|
+
SecurityFinding: {
|
|
2983
|
+
/**
|
|
2984
|
+
* @description Finding category.
|
|
2985
|
+
* @example data_exposure
|
|
2986
|
+
*/
|
|
2987
|
+
category?: string;
|
|
2988
|
+
/**
|
|
2989
|
+
* Format: date-time
|
|
2990
|
+
* @description When this finding was first recorded, UTC.
|
|
2991
|
+
* @example 2026-01-15T09:30:00Z
|
|
2992
|
+
*/
|
|
2993
|
+
created_at: string;
|
|
2994
|
+
/**
|
|
2995
|
+
* @description Human-readable summary of the finding.
|
|
2996
|
+
* @example A public table has row-level security disabled, exposing all rows to anonymous clients.
|
|
2997
|
+
*/
|
|
2998
|
+
description?: string;
|
|
2999
|
+
/**
|
|
3000
|
+
* @description Stable identifier for this finding.
|
|
3001
|
+
* @example b2c3d4e5-f6a7-8901-bcde-f23456789012
|
|
3002
|
+
*/
|
|
3003
|
+
finding_id: string;
|
|
3004
|
+
/**
|
|
3005
|
+
* @description Severity reported by the scanner. More values may be added; clients must tolerate unknown values.
|
|
3006
|
+
* @example error
|
|
3007
|
+
* @enum {string}
|
|
3008
|
+
*/
|
|
3009
|
+
level: "error" | "warn" | "info";
|
|
3010
|
+
/**
|
|
3011
|
+
* @description Short finding title.
|
|
3012
|
+
* @example Row-level security disabled on a public table
|
|
3013
|
+
*/
|
|
3014
|
+
name: string;
|
|
3015
|
+
/**
|
|
3016
|
+
* @description Name of the scanner that produced this finding.
|
|
3017
|
+
* @example agent_security
|
|
3018
|
+
*/
|
|
3019
|
+
scanner_name: string;
|
|
3020
|
+
/**
|
|
3021
|
+
* @description Review state of the security finding. More values may be added; clients must tolerate unknown values.
|
|
3022
|
+
* @example open
|
|
3023
|
+
* @enum {string}
|
|
3024
|
+
*/
|
|
3025
|
+
status: "open" | "fixed" | "ignored";
|
|
3026
|
+
/**
|
|
3027
|
+
* Format: date-time
|
|
3028
|
+
* @description When this finding was last updated, UTC.
|
|
3029
|
+
* @example 2026-01-15T09:30:00Z
|
|
3030
|
+
*/
|
|
3031
|
+
updated_at: string;
|
|
3032
|
+
};
|
|
3033
|
+
SecurityScan: {
|
|
3034
|
+
/**
|
|
3035
|
+
* @description Git commit SHA of the project when the scan started. Omitted when unavailable.
|
|
3036
|
+
* @example 9fceb02d0ae598e95dc970b74767f19372d61af8
|
|
3037
|
+
*/
|
|
3038
|
+
commit_sha?: string;
|
|
3039
|
+
/**
|
|
3040
|
+
* Format: date-time
|
|
3041
|
+
* @description When the scan finished, UTC; absent while still running.
|
|
3042
|
+
* @example 2026-01-15T09:30:00Z
|
|
3043
|
+
*/
|
|
3044
|
+
finished_at?: string;
|
|
3045
|
+
/** @description Identifiers of the security checks requested for this scan. */
|
|
3046
|
+
requested_scanners: string[] | null;
|
|
3047
|
+
/**
|
|
3048
|
+
* @description Unique ID for this security scan.
|
|
3049
|
+
* @example a1b2c3d4-e5f6-7890-abcd-ef1234567890
|
|
3050
|
+
*/
|
|
3051
|
+
scan_id: string;
|
|
3052
|
+
/**
|
|
3053
|
+
* Format: date-time
|
|
3054
|
+
* @description When the scan started, UTC.
|
|
3055
|
+
* @example 2026-01-15T09:30:00Z
|
|
3056
|
+
*/
|
|
3057
|
+
started_at: string;
|
|
3058
|
+
/**
|
|
3059
|
+
* @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.
|
|
3060
|
+
* @example completed
|
|
3061
|
+
* @enum {string}
|
|
3062
|
+
*/
|
|
3063
|
+
status: "running" | "completed" | "failed";
|
|
3023
3064
|
};
|
|
3024
3065
|
PublicV1SendMessageInputBody: {
|
|
3025
3066
|
/**
|
|
@@ -3557,40 +3598,6 @@ export interface components {
|
|
|
3557
3598
|
/** @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
3599
|
tool_id?: string;
|
|
3559
3600
|
};
|
|
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
3601
|
BillingPeriod: {
|
|
3595
3602
|
/**
|
|
3596
3603
|
* Format: date-time
|
|
@@ -3737,7 +3744,7 @@ export interface components {
|
|
|
3737
3744
|
*/
|
|
3738
3745
|
user_id?: string;
|
|
3739
3746
|
};
|
|
3740
|
-
|
|
3747
|
+
V1BulkMemberCreditLimitItem: {
|
|
3741
3748
|
/**
|
|
3742
3749
|
* @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
3750
|
* @enum {string}
|
|
@@ -3757,7 +3764,7 @@ export interface components {
|
|
|
3757
3764
|
*/
|
|
3758
3765
|
user_id?: string;
|
|
3759
3766
|
};
|
|
3760
|
-
|
|
3767
|
+
V1BulkMemberCreditLimitResult: {
|
|
3761
3768
|
/**
|
|
3762
3769
|
* Format: date-time
|
|
3763
3770
|
* @description When a current-period limit expires. Omitted for permanent updates.
|
|
@@ -3789,11 +3796,11 @@ export interface components {
|
|
|
3789
3796
|
};
|
|
3790
3797
|
V1BulkSetMemberCreditLimitInputBody: {
|
|
3791
3798
|
/** @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"]["
|
|
3799
|
+
members: components["schemas"]["V1BulkMemberCreditLimitItem"][];
|
|
3793
3800
|
/** @description Workspace ID. */
|
|
3794
3801
|
workspace_id: string;
|
|
3795
3802
|
};
|
|
3796
|
-
|
|
3803
|
+
V1BulkSetMemberCreditLimitOutputBody: {
|
|
3797
3804
|
/**
|
|
3798
3805
|
* Format: int64
|
|
3799
3806
|
* @description Number that failed (see per-item error).
|
|
@@ -3801,7 +3808,7 @@ export interface components {
|
|
|
3801
3808
|
*/
|
|
3802
3809
|
failed: number;
|
|
3803
3810
|
/** @description Per-member outcome, in request order. */
|
|
3804
|
-
results: components["schemas"]["
|
|
3811
|
+
results: components["schemas"]["V1BulkMemberCreditLimitResult"][] | null;
|
|
3805
3812
|
/**
|
|
3806
3813
|
* Format: int64
|
|
3807
3814
|
* @description Number applied successfully.
|
|
@@ -3986,17 +3993,6 @@ export interface components {
|
|
|
3986
3993
|
* @enum {string}
|
|
3987
3994
|
*/
|
|
3988
3995
|
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
3996
|
/**
|
|
4001
3997
|
* @description Published project URL.
|
|
4002
3998
|
* @example https://acme-landing-page.lovable.app
|
|
@@ -4152,13 +4148,13 @@ export interface components {
|
|
|
4152
4148
|
/** @description Whether there are older edits available */
|
|
4153
4149
|
has_more: boolean;
|
|
4154
4150
|
};
|
|
4155
|
-
|
|
4151
|
+
V1GetSecurityScanOutputBody: {
|
|
4156
4152
|
/** @description Findings in this scan snapshot, including results reused from earlier scans and findings marked fixed or ignored. */
|
|
4157
|
-
findings: components["schemas"]["
|
|
4153
|
+
findings: components["schemas"]["V1SecurityFinding"][] | null;
|
|
4158
4154
|
/** @description Status, initiator, and timing of the security scan. */
|
|
4159
|
-
scan: components["schemas"]["
|
|
4155
|
+
scan: components["schemas"]["V1SecurityScanSummary"];
|
|
4160
4156
|
/** @description Execution results for individual security checks. Results may be reused from an earlier scan. */
|
|
4161
|
-
scanner_runs: components["schemas"]["
|
|
4157
|
+
scanner_runs: components["schemas"]["V1SecurityScannerRun"][] | null;
|
|
4162
4158
|
};
|
|
4163
4159
|
V1GetWorkspaceSkillOutputBody: {
|
|
4164
4160
|
skill: components["schemas"]["V1WorkspaceSkillDTO"];
|
|
@@ -4509,17 +4505,6 @@ export interface components {
|
|
|
4509
4505
|
* @enum {string}
|
|
4510
4506
|
*/
|
|
4511
4507
|
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
4508
|
/**
|
|
4524
4509
|
* @description Published project URL.
|
|
4525
4510
|
* @example https://acme-landing-page.lovable.app
|
|
@@ -4591,13 +4576,13 @@ export interface components {
|
|
|
4591
4576
|
/** @description Error details when the remix job fails */
|
|
4592
4577
|
error_message?: string;
|
|
4593
4578
|
/** @description Remix result (present when completed) */
|
|
4594
|
-
result?: components["schemas"]["
|
|
4579
|
+
result?: components["schemas"]["V1RemixProgressResult"];
|
|
4595
4580
|
/** @description Job status: preparing, running, completed, or error */
|
|
4596
4581
|
status: string;
|
|
4597
4582
|
/** @description Current step details (present when running) */
|
|
4598
4583
|
step?: components["schemas"]["RemixJobStepInfo"];
|
|
4599
4584
|
};
|
|
4600
|
-
|
|
4585
|
+
V1RemixProgressResult: {
|
|
4601
4586
|
/** @description ID of the newly created project */
|
|
4602
4587
|
project_id: string;
|
|
4603
4588
|
/** @description Non-fatal issues encountered while creating the project */
|
|
@@ -4607,7 +4592,7 @@ export interface components {
|
|
|
4607
4592
|
/** @description Whether the connector was removed */
|
|
4608
4593
|
success: boolean;
|
|
4609
4594
|
};
|
|
4610
|
-
|
|
4595
|
+
V1SecurityFinding: {
|
|
4611
4596
|
/**
|
|
4612
4597
|
* @description Finding category.
|
|
4613
4598
|
* @example data_exposure
|
|
@@ -4688,7 +4673,7 @@ export interface components {
|
|
|
4688
4673
|
*/
|
|
4689
4674
|
updated_at: string;
|
|
4690
4675
|
};
|
|
4691
|
-
|
|
4676
|
+
V1SecurityScanActor: {
|
|
4692
4677
|
/** @description Email of the user actor, when resolvable. */
|
|
4693
4678
|
email?: string;
|
|
4694
4679
|
/** @description Lovable user ID when the actor is a user. */
|
|
@@ -4701,7 +4686,7 @@ export interface components {
|
|
|
4701
4686
|
*/
|
|
4702
4687
|
type: "user" | "system";
|
|
4703
4688
|
};
|
|
4704
|
-
|
|
4689
|
+
V1SecurityScanSummary: {
|
|
4705
4690
|
/**
|
|
4706
4691
|
* @description Git commit SHA of the project when the scan started. Omitted when unavailable.
|
|
4707
4692
|
* @example 9fceb02d0ae598e95dc970b74767f19372d61af8
|
|
@@ -4739,9 +4724,9 @@ export interface components {
|
|
|
4739
4724
|
*/
|
|
4740
4725
|
trigger_source: "workflow" | "user" | "ui_auto" | "aikido_import" | "manage_findings" | "app_mcp_deep_auto" | "hvt_scheduled" | "workspace_scheduled" | "enterprise_batch" | "gitsync_pull";
|
|
4741
4726
|
/** @description Actor that triggered the scan. */
|
|
4742
|
-
triggered_by: components["schemas"]["
|
|
4727
|
+
triggered_by: components["schemas"]["V1SecurityScanActor"];
|
|
4743
4728
|
};
|
|
4744
|
-
|
|
4729
|
+
V1SecurityScannerRun: {
|
|
4745
4730
|
/**
|
|
4746
4731
|
* @description Git commit SHA checked by this scanner. May be older than scan.commit_sha when results from an earlier scan are reused.
|
|
4747
4732
|
* @example 9fceb02d0ae598e95dc970b74767f19372d61af8
|
|
@@ -4859,7 +4844,7 @@ export interface components {
|
|
|
4859
4844
|
/** @description Project ID */
|
|
4860
4845
|
project_id: string;
|
|
4861
4846
|
};
|
|
4862
|
-
|
|
4847
|
+
V1TriggerSecurityScanResponseBody: {
|
|
4863
4848
|
/**
|
|
4864
4849
|
* @description Human-readable status message
|
|
4865
4850
|
* @example Security scan started.
|
|
@@ -4919,14 +4904,6 @@ export interface components {
|
|
|
4919
4904
|
/** @description Workspace ID. */
|
|
4920
4905
|
workspace_id: string;
|
|
4921
4906
|
};
|
|
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
4907
|
V1UsagePeriod: {
|
|
4931
4908
|
/** @description Inclusive end of the covered window (YYYY-MM-DD, UTC). */
|
|
4932
4909
|
end: string;
|
|
@@ -6825,7 +6802,7 @@ export interface operations {
|
|
|
6825
6802
|
[name: string]: unknown;
|
|
6826
6803
|
};
|
|
6827
6804
|
content: {
|
|
6828
|
-
"application/json": components["schemas"]["
|
|
6805
|
+
"application/json": components["schemas"]["V1BulkSetMemberCreditLimitOutputBody"];
|
|
6829
6806
|
};
|
|
6830
6807
|
};
|
|
6831
6808
|
/** @description Error */
|
|
@@ -7118,11 +7095,9 @@ export interface operations {
|
|
|
7118
7095
|
publish_status?: "any" | "published" | "internal" | "external" | "not_published";
|
|
7119
7096
|
/** @description Filter by folder ID */
|
|
7120
7097
|
folder_id?: string;
|
|
7121
|
-
/** @description Filter by multiple folder IDs (comma-separated, takes precedence over folder_id) */
|
|
7122
|
-
folder_ids?: string;
|
|
7123
7098
|
/** @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
7099
|
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.
|
|
7100
|
+
/** @description Search project names, generated descriptions, and owner names or email addresses. Terms shorter than 3 characters are ignored. */
|
|
7126
7101
|
query?: string;
|
|
7127
7102
|
/** @description Maximum number of items to return per page. */
|
|
7128
7103
|
limit?: number;
|
|
@@ -7130,8 +7105,6 @@ export interface operations {
|
|
|
7130
7105
|
cursor?: string;
|
|
7131
7106
|
/** @description Only return projects viewed by the current user */
|
|
7132
7107
|
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
7108
|
};
|
|
7136
7109
|
header?: never;
|
|
7137
7110
|
path?: never;
|
|
@@ -8177,39 +8150,6 @@ export interface operations {
|
|
|
8177
8150
|
};
|
|
8178
8151
|
};
|
|
8179
8152
|
};
|
|
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
8153
|
getSecurityScan: {
|
|
8214
8154
|
parameters: {
|
|
8215
8155
|
query?: never;
|
|
@@ -8391,7 +8331,7 @@ export interface operations {
|
|
|
8391
8331
|
};
|
|
8392
8332
|
};
|
|
8393
8333
|
};
|
|
8394
|
-
|
|
8334
|
+
"get-v1-remix-jobs-job_id": {
|
|
8395
8335
|
parameters: {
|
|
8396
8336
|
query?: never;
|
|
8397
8337
|
header?: never;
|
|
@@ -8409,7 +8349,7 @@ export interface operations {
|
|
|
8409
8349
|
[name: string]: unknown;
|
|
8410
8350
|
};
|
|
8411
8351
|
content: {
|
|
8412
|
-
"application/json": components["schemas"]["
|
|
8352
|
+
"application/json": components["schemas"]["PublicV1RemixJobOutputBody"];
|
|
8413
8353
|
};
|
|
8414
8354
|
};
|
|
8415
8355
|
/** @description Error */
|
|
@@ -8445,7 +8385,7 @@ export interface operations {
|
|
|
8445
8385
|
[name: string]: unknown;
|
|
8446
8386
|
};
|
|
8447
8387
|
content: {
|
|
8448
|
-
"application/json": components["schemas"]["
|
|
8388
|
+
"application/json": components["schemas"]["CursorListResponseV1SecurityScanSummary"];
|
|
8449
8389
|
};
|
|
8450
8390
|
};
|
|
8451
8391
|
/** @description Error */
|
|
@@ -8479,7 +8419,7 @@ export interface operations {
|
|
|
8479
8419
|
[name: string]: unknown;
|
|
8480
8420
|
};
|
|
8481
8421
|
content: {
|
|
8482
|
-
"application/json": components["schemas"]["
|
|
8422
|
+
"application/json": components["schemas"]["V1TriggerSecurityScanResponseBody"];
|
|
8483
8423
|
};
|
|
8484
8424
|
};
|
|
8485
8425
|
/** @description Error */
|
|
@@ -8514,7 +8454,7 @@ export interface operations {
|
|
|
8514
8454
|
[name: string]: unknown;
|
|
8515
8455
|
};
|
|
8516
8456
|
content: {
|
|
8517
|
-
"application/json": components["schemas"]["
|
|
8457
|
+
"application/json": components["schemas"]["V1GetSecurityScanOutputBody"];
|
|
8518
8458
|
};
|
|
8519
8459
|
};
|
|
8520
8460
|
/** @description Error */
|
|
@@ -9122,88 +9062,6 @@ export interface operations {
|
|
|
9122
9062
|
};
|
|
9123
9063
|
};
|
|
9124
9064
|
};
|
|
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
9065
|
getCreditUsage: {
|
|
9208
9066
|
parameters: {
|
|
9209
9067
|
query: {
|
|
@@ -10091,42 +9949,6 @@ export interface operations {
|
|
|
10091
9949
|
};
|
|
10092
9950
|
};
|
|
10093
9951
|
};
|
|
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
9952
|
"get-v1-workspaces-workspace_id-skills": {
|
|
10131
9953
|
parameters: {
|
|
10132
9954
|
query?: {
|