@lovable.dev/sdk 1.1.1 → 1.2.3

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.
@@ -1304,7 +1304,7 @@ export interface paths {
1304
1304
  };
1305
1305
  /**
1306
1306
  * List workspaces
1307
- * @description Returns workspaces the authenticated user belongs to. Use data and pagination for new clients; workspaces remains as a compatibility alias.
1307
+ * @description Returns workspaces the authenticated user belongs to with cursor pagination.
1308
1308
  */
1309
1309
  get: operations["get-v1-workspaces"];
1310
1310
  put?: never;
@@ -1734,11 +1734,6 @@ export interface components {
1734
1734
  */
1735
1735
  who_can_create: "editors_and_admins" | "admins_only";
1736
1736
  };
1737
- AppUserConnectorSetting: {
1738
- enabled: boolean;
1739
- name: string;
1740
- who_can_create?: string;
1741
- };
1742
1737
  CommonSeamlessConnectorCreator: {
1743
1738
  name: string;
1744
1739
  url: string;
@@ -1768,8 +1763,8 @@ export interface components {
1768
1763
  data: components["schemas"]["PublicV1ConnectorItem"][] | null;
1769
1764
  pagination: components["schemas"]["Pagination"];
1770
1765
  };
1771
- CursorListResponseSearchProjectItem: {
1772
- data: components["schemas"]["SearchProjectItem"][] | null;
1766
+ CursorListResponsePublicV1ProjectListItem: {
1767
+ data: components["schemas"]["PublicV1ProjectListItem"][] | null;
1773
1768
  pagination: components["schemas"]["Pagination"];
1774
1769
  };
1775
1770
  CursorListResponseV1AvailableConnectorEntry: {
@@ -1815,17 +1810,6 @@ export interface components {
1815
1810
  content: string;
1816
1811
  type: string;
1817
1812
  };
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
1813
  ErrorDetail: {
1830
1814
  /** @description Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id' */
1831
1815
  location?: string;
@@ -1912,12 +1896,6 @@ export interface components {
1912
1896
  /** @description Caller's role in the workspace */
1913
1897
  role: string;
1914
1898
  };
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
1899
  GitFileEntry: {
1922
1900
  binary: boolean;
1923
1901
  path: string;
@@ -1996,34 +1974,12 @@ export interface components {
1996
1974
  name: string;
1997
1975
  url: string;
1998
1976
  };
1999
- MCPConnectorSetting: {
2000
- enabled: boolean;
2001
- name: string;
2002
- };
2003
1977
  Pagination: {
2004
1978
  /** @description Whether more results are available beyond this page */
2005
1979
  has_more: boolean;
2006
1980
  /** @description Cursor for the next page; null when there are no more results */
2007
1981
  next_cursor: string | null;
2008
1982
  };
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
1983
  ProjectAnalyticsResponse: {
2028
1984
  lists: components["schemas"]["ListsGroup"];
2029
1985
  timeSeries: components["schemas"]["TimeSeriesGroup"];
@@ -2136,7 +2092,7 @@ export interface components {
2136
2092
  description?: string;
2137
2093
  /** @description Project display name */
2138
2094
  display_name?: string;
2139
- /** @description Preview URL with a short-lived signed token (?__lovable_token=…) that authenticates an iframe load without an in-iframe Lovable login. Partner integrations should iframe this directly; the token expires after 1h. Uses viewer-level access, which also covers the project's published deployment and custom-domain routes not only the static-preview host in this URL. */
2095
+ /** @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. */
2140
2096
  embed_url?: string;
2141
2097
  /** @description Project ID */
2142
2098
  id?: string;
@@ -2171,6 +2127,12 @@ export interface components {
2171
2127
  /** @description Project ID */
2172
2128
  project_id: string;
2173
2129
  };
2130
+ PublicV1GetWorkspaceBody: {
2131
+ /** @description Caller's membership in this workspace. */
2132
+ current_member?: components["schemas"]["PublicV1WorkspaceMember"];
2133
+ /** @description Workspace details. */
2134
+ workspace: components["schemas"]["PublicV1Workspace"];
2135
+ };
2174
2136
  PublicV1GitFilesResponse: {
2175
2137
  data: components["schemas"]["GitFileEntryLite"][] | null;
2176
2138
  pagination: components["schemas"]["Pagination"];
@@ -2220,6 +2182,57 @@ export interface components {
2220
2182
  /** @description Project ID */
2221
2183
  project_id: string;
2222
2184
  };
2185
+ PublicV1ProjectListItem: {
2186
+ /**
2187
+ * Format: date-time
2188
+ * @description When the project was created.
2189
+ */
2190
+ created_at?: string;
2191
+ /** @description Project description. */
2192
+ description?: string;
2193
+ /** @description Human-readable project name. */
2194
+ display_name?: string;
2195
+ /** @description Folder the project belongs to, if any. */
2196
+ folder_id?: string;
2197
+ /** @description Project ID. */
2198
+ id: string;
2199
+ /** @description Whether the project is published. */
2200
+ is_published?: boolean;
2201
+ /** @description Whether the project is a template. */
2202
+ is_template?: boolean;
2203
+ /**
2204
+ * Format: date-time
2205
+ * @description When the project was last edited.
2206
+ */
2207
+ last_edited_at?: string;
2208
+ /** @description URL of the latest screenshot. */
2209
+ latest_screenshot_url?: string;
2210
+ /** @description Project slug. */
2211
+ name?: string;
2212
+ /** @description Open Graph image URL. */
2213
+ og_image_url?: string;
2214
+ /** @description Project type. */
2215
+ project_type?: string;
2216
+ /** @description Published visibility. */
2217
+ publish_visibility?: string;
2218
+ /** @description Project status: in_progress, completed, or failed. */
2219
+ status?: string;
2220
+ /** @description Project tech stack. */
2221
+ tech_stack?: string;
2222
+ /**
2223
+ * Format: date-time
2224
+ * @description When the project was last updated.
2225
+ */
2226
+ updated_at?: string;
2227
+ /** @description Published project URL. */
2228
+ url?: string;
2229
+ /** @description Project owner user ID. */
2230
+ user_id?: string;
2231
+ /** @description Project visibility: draft, private, workspace_view, or public. */
2232
+ visibility?: string;
2233
+ /** @description Workspace the project belongs to. */
2234
+ workspace_id: string;
2235
+ };
2223
2236
  PublicV1ProjectRemixInputBody: {
2224
2237
  /** @description Project description */
2225
2238
  description?: string;
@@ -2278,6 +2291,76 @@ export interface components {
2278
2291
  /** @description Project ID */
2279
2292
  project_id: string;
2280
2293
  };
2294
+ PublicV1Workspace: {
2295
+ /**
2296
+ * Format: date-time
2297
+ * @description When the workspace was created.
2298
+ */
2299
+ created_at?: string;
2300
+ /** @description Workspace description. */
2301
+ description?: string;
2302
+ /** @description Workspace ID. */
2303
+ id: string;
2304
+ /** @description Workspace image URL. */
2305
+ image_url?: string;
2306
+ /** @description Workspace display name. */
2307
+ name: string;
2308
+ /**
2309
+ * Format: int64
2310
+ * @description Number of projects in the workspace.
2311
+ */
2312
+ num_projects: number;
2313
+ /** @description Plan tier: free, pro, biz, or enterprise. */
2314
+ plan: string;
2315
+ /**
2316
+ * Format: date-time
2317
+ * @description When the workspace was last updated.
2318
+ */
2319
+ updated_at?: string;
2320
+ };
2321
+ PublicV1WorkspaceMember: {
2322
+ /**
2323
+ * Format: date-time
2324
+ * @description When the caller joined the workspace.
2325
+ */
2326
+ joined_at?: string;
2327
+ /**
2328
+ * @description Caller's role in the workspace.
2329
+ * @enum {string}
2330
+ */
2331
+ role: "none" | "owner" | "admin" | "member" | "viewer" | "collaborator" | "invited";
2332
+ /** @description Caller's user ID. */
2333
+ user_id: string;
2334
+ };
2335
+ PublicV1WorkspaceWithMembership: {
2336
+ /**
2337
+ * Format: date-time
2338
+ * @description When the workspace was created.
2339
+ */
2340
+ created_at?: string;
2341
+ /** @description Workspace description. */
2342
+ description?: string;
2343
+ /** @description Workspace ID. */
2344
+ id: string;
2345
+ /** @description Workspace image URL. */
2346
+ image_url?: string;
2347
+ /** @description Caller's membership in this workspace. */
2348
+ membership?: components["schemas"]["PublicV1WorkspaceMember"];
2349
+ /** @description Workspace display name. */
2350
+ name: string;
2351
+ /**
2352
+ * Format: int64
2353
+ * @description Number of projects in the workspace.
2354
+ */
2355
+ num_projects: number;
2356
+ /** @description Plan tier: free, pro, biz, or enterprise. */
2357
+ plan: string;
2358
+ /**
2359
+ * Format: date-time
2360
+ * @description When the workspace was last updated.
2361
+ */
2362
+ updated_at?: string;
2363
+ };
2281
2364
  RemixJobStepInfo: {
2282
2365
  integration_name?: string;
2283
2366
  status?: string;
@@ -2301,10 +2384,6 @@ export interface components {
2301
2384
  short_description: string;
2302
2385
  toolIntegrationName?: string;
2303
2386
  };
2304
- SeamlessConnectorSetting: {
2305
- enabled: boolean;
2306
- name: string;
2307
- };
2308
2387
  SearchProjectItem: {
2309
2388
  /** Format: date-time */
2310
2389
  abandoned_at?: string;
@@ -2439,7 +2518,7 @@ export interface components {
2439
2518
  * @description Product vendor for catalog filtering
2440
2519
  * @enum {string}
2441
2520
  */
2442
- vendor?: "google" | "microsoft";
2521
+ vendor?: "google" | "microsoft" | "aws";
2443
2522
  /**
2444
2523
  * @description Who may create connections for this connector in this workspace
2445
2524
  * @enum {string}
@@ -2453,11 +2532,6 @@ export interface components {
2453
2532
  /** Format: date-time */
2454
2533
  until: string;
2455
2534
  };
2456
- StandardConnectorSetting: {
2457
- enabled: boolean;
2458
- name: string;
2459
- who_can_create?: string;
2460
- };
2461
2535
  TemplateProjectResponse: {
2462
2536
  /** @description Project description */
2463
2537
  description: string;
@@ -2644,31 +2718,60 @@ export interface components {
2644
2718
  visibility?: string;
2645
2719
  };
2646
2720
  V1CreateProjectResponse: {
2647
- /** @description AI-generated project description */
2721
+ /**
2722
+ * Format: date-time
2723
+ * @description When the project was created.
2724
+ */
2725
+ created_at?: string;
2726
+ /** @description Project description. */
2648
2727
  description?: string;
2649
- /** @description Project display name */
2728
+ /** @description Human-readable project name. */
2650
2729
  display_name?: string;
2651
- /** @description Preview URL with a short-lived signed token (?__lovable_token=…) that authenticates an iframe load without an in-iframe Lovable login. Partner integrations should iframe this directly; the token expires after 1h. Uses viewer-level access, which also covers the project's published deployment and custom-domain routes not only the static-preview host in this URL. */
2730
+ /** @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
2731
  embed_url?: string;
2653
- /** @description Project ID */
2732
+ /** @description Folder the project belongs to, if any. */
2733
+ folder_id?: string;
2734
+ /** @description Project ID. */
2654
2735
  id: string;
2655
- /** @description Whether the project is published */
2736
+ /** @description Whether the project is published. */
2656
2737
  is_published?: boolean;
2738
+ /** @description Whether the project is a template. */
2739
+ is_template?: boolean;
2740
+ /**
2741
+ * Format: date-time
2742
+ * @description When the project was last edited.
2743
+ */
2744
+ last_edited_at?: string;
2657
2745
  /** @description SHA of the latest commit */
2658
2746
  latest_commit_sha?: string;
2659
- /** @description URL of the latest screenshot */
2747
+ /** @description URL of the latest screenshot. */
2660
2748
  latest_screenshot_url?: string;
2661
2749
  /** @description User message ID, present when initial_message was provided */
2662
2750
  message_id?: string;
2663
- /** @description Project slug */
2751
+ /** @description Project slug. */
2664
2752
  name?: string;
2665
- /** @description Project status: in_progress, completed, failed */
2753
+ /** @description Open Graph image URL. */
2754
+ og_image_url?: string;
2755
+ /** @description Project type. */
2756
+ project_type?: string;
2757
+ /** @description Published visibility. */
2758
+ publish_visibility?: string;
2759
+ /** @description Project status: in_progress, completed, or failed. */
2666
2760
  status?: string;
2667
- /** @description Published project URL */
2761
+ /** @description Project tech stack. */
2762
+ tech_stack?: string;
2763
+ /**
2764
+ * Format: date-time
2765
+ * @description When the project was last updated.
2766
+ */
2767
+ updated_at?: string;
2768
+ /** @description Published project URL. */
2668
2769
  url?: string;
2669
- /** @description Project visibility: draft, private, workspace_view, public */
2770
+ /** @description Project owner user ID. */
2771
+ user_id?: string;
2772
+ /** @description Project visibility: draft, private, workspace_view, or public. */
2670
2773
  visibility?: string;
2671
- /** @description Workspace ID */
2774
+ /** @description Workspace the project belongs to. */
2672
2775
  workspace_id: string;
2673
2776
  };
2674
2777
  V1CreateVariantInputBody: {
@@ -2912,11 +3015,9 @@ export interface components {
2912
3015
  };
2913
3016
  V1ListWorkspacesBody: {
2914
3017
  /** @description Workspaces the user is a member of */
2915
- data: components["schemas"]["WorkspaceWithMembership"][] | null;
3018
+ data: components["schemas"]["PublicV1WorkspaceWithMembership"][] | null;
2916
3019
  /** @description Pagination metadata */
2917
3020
  pagination: components["schemas"]["Pagination"];
2918
- /** @description Deprecated compatibility field. Use data instead. */
2919
- workspaces: components["schemas"]["WorkspaceWithMembership"][] | null;
2920
3021
  };
2921
3022
  V1MessageListItem: {
2922
3023
  /** @description Message text content */
@@ -3019,29 +3120,58 @@ export interface components {
3019
3120
  total: number;
3020
3121
  };
3021
3122
  V1ProjectResponse: {
3022
- /** @description AI-generated project description */
3123
+ /**
3124
+ * Format: date-time
3125
+ * @description When the project was created.
3126
+ */
3127
+ created_at?: string;
3128
+ /** @description Project description. */
3023
3129
  description?: string;
3024
- /** @description Project display name */
3130
+ /** @description Human-readable project name. */
3025
3131
  display_name?: string;
3026
- /** @description Preview URL with a short-lived signed token (?__lovable_token=…) that authenticates an iframe load without an in-iframe Lovable login. Partner integrations should iframe this directly; the token expires after 1h. Uses viewer-level access, which also covers the project's published deployment and custom-domain routes not only the static-preview host in this URL. */
3132
+ /** @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. */
3027
3133
  embed_url?: string;
3028
- /** @description Project ID */
3134
+ /** @description Folder the project belongs to, if any. */
3135
+ folder_id?: string;
3136
+ /** @description Project ID. */
3029
3137
  id: string;
3030
- /** @description Whether the project is published */
3138
+ /** @description Whether the project is published. */
3031
3139
  is_published?: boolean;
3140
+ /** @description Whether the project is a template. */
3141
+ is_template?: boolean;
3142
+ /**
3143
+ * Format: date-time
3144
+ * @description When the project was last edited.
3145
+ */
3146
+ last_edited_at?: string;
3032
3147
  /** @description SHA of the latest commit */
3033
3148
  latest_commit_sha?: string;
3034
- /** @description URL of the latest screenshot */
3149
+ /** @description URL of the latest screenshot. */
3035
3150
  latest_screenshot_url?: string;
3036
- /** @description Project slug */
3151
+ /** @description Project slug. */
3037
3152
  name?: string;
3038
- /** @description Project status: in_progress, completed, failed */
3153
+ /** @description Open Graph image URL. */
3154
+ og_image_url?: string;
3155
+ /** @description Project type. */
3156
+ project_type?: string;
3157
+ /** @description Published visibility. */
3158
+ publish_visibility?: string;
3159
+ /** @description Project status: in_progress, completed, or failed. */
3039
3160
  status?: string;
3040
- /** @description Published project URL */
3161
+ /** @description Project tech stack. */
3162
+ tech_stack?: string;
3163
+ /**
3164
+ * Format: date-time
3165
+ * @description When the project was last updated.
3166
+ */
3167
+ updated_at?: string;
3168
+ /** @description Published project URL. */
3041
3169
  url?: string;
3042
- /** @description Project visibility: draft, private, workspace_view, public */
3170
+ /** @description Project owner user ID. */
3171
+ user_id?: string;
3172
+ /** @description Project visibility: draft, private, workspace_view, or public. */
3043
3173
  visibility?: string;
3044
- /** @description Workspace ID */
3174
+ /** @description Workspace the project belongs to. */
3045
3175
  workspace_id: string;
3046
3176
  };
3047
3177
  V1ProjectSkillDTO: {
@@ -3890,400 +4020,6 @@ export interface components {
3890
4020
  previous_visibility?: "public" | "private" | "draft" | "workspace_view";
3891
4021
  project_id: string;
3892
4022
  };
3893
- Workspace: {
3894
- /** Format: int64 */
3895
- abandoned_projects_threshold_days?: number;
3896
- aikido_pentest_enabled?: boolean;
3897
- allow_public_member_profiles?: boolean;
3898
- always_redact_pii?: boolean;
3899
- announcement_banner?: components["schemas"]["WorkspaceAnnouncementBanner"];
3900
- app_user_connector_settings?: components["schemas"]["AppUserConnectorSetting"][] | null;
3901
- auto_delete_abandoned_projects_enabled?: boolean;
3902
- /** Format: date-time */
3903
- auto_delete_enabled_at?: string;
3904
- /** Format: int64 */
3905
- auto_delete_grace_days?: number;
3906
- /** Format: double */
3907
- backend_total_used_in_billing_period: number;
3908
- banner_url?: string;
3909
- /** Format: double */
3910
- billing_period_credits_limit: number;
3911
- /** Format: double */
3912
- billing_period_credits_used: number;
3913
- /** Format: date-time */
3914
- billing_period_end_date?: string;
3915
- /** Format: date-time */
3916
- billing_period_start_date?: string;
3917
- block_publish_on_critical_findings?: boolean;
3918
- block_publish_on_pii?: boolean;
3919
- branded_app_url_cert_pack_id?: string;
3920
- branded_app_url_failure_reason?: string;
3921
- branded_app_url_slug?: string;
3922
- branded_app_url_status?: string;
3923
- cloud_block_public_buckets?: boolean;
3924
- /** Format: date-time */
3925
- created_at: string;
3926
- custom_branded_domain?: string;
3927
- custom_branded_domain_dcv_txt_name?: string;
3928
- custom_branded_domain_dcv_txt_value?: string;
3929
- custom_branded_domain_failure_reason?: string;
3930
- custom_branded_domain_status?: string;
3931
- custom_branded_hostname_id?: string;
3932
- data_opt_out?: boolean;
3933
- default_cloud_region?: string;
3934
- default_library_id?: string;
3935
- /** Format: double */
3936
- default_monthly_member_credit_limit: number | null;
3937
- /** @enum {string} */
3938
- default_project_publish_visibility?: "public" | "private";
3939
- /** @enum {string} */
3940
- default_project_visibility?: "public" | "private" | "draft" | "workspace_view";
3941
- default_template_id?: string;
3942
- delegated_domain?: string;
3943
- delegated_domain_status?: string;
3944
- /** Format: date-time */
3945
- deleted_at?: string;
3946
- deleted_by?: string;
3947
- deletion_event_id?: string;
3948
- description?: string;
3949
- disable_code_download?: boolean;
3950
- disable_external_publish_invites?: boolean;
3951
- disable_figma_import?: boolean;
3952
- disable_named_previews?: boolean;
3953
- disable_share_preview?: boolean;
3954
- editor_can_invite?: boolean;
3955
- editor_can_transfer_project?: boolean;
3956
- egress_allowlist?: string[] | null;
3957
- egress_mode?: string;
3958
- enable_pii?: boolean;
3959
- enforce_sso?: boolean;
3960
- enterprise_relay_client_ids?: string[] | null;
3961
- enterprise_relay_enabled?: boolean;
3962
- exclude_from_cross_project_sharing?: boolean;
3963
- exclude_from_discovery?: boolean;
3964
- experimental_features: components["schemas"]["WorkspaceExperimentalFeatures"];
3965
- /** @enum {string} */
3966
- external_collaborator_level?: "all" | "none" | "viewer" | "editor";
3967
- external_publish_permission_level?: string;
3968
- /** Format: int64 */
3969
- followers_count: number;
3970
- /** Format: date-time */
3971
- hard_delete_in_progress_at?: string;
3972
- /** Format: date-time */
3973
- hard_deleted_at?: string;
3974
- id: string;
3975
- image_url?: string;
3976
- invite_links_disabled?: boolean;
3977
- /** Format: date-time */
3978
- invited_at?: string;
3979
- is_personal?: boolean;
3980
- is_temporary_edu?: boolean;
3981
- /** Format: date-time */
3982
- joined_at?: string;
3983
- /** Format: date-time */
3984
- last_rollover_period: string | null;
3985
- /** Format: date-time */
3986
- last_subscription_event_at?: string;
3987
- local_mcp_enabled?: boolean;
3988
- lovable_mcp_server_enabled?: boolean;
3989
- mcp_connector_settings?: components["schemas"]["MCPConnectorSetting"][] | null;
3990
- mcp_enabled?: boolean;
3991
- /** Format: date-time */
3992
- migrated_to_unified_billing_at?: string;
3993
- name: string;
3994
- /** Format: date-time */
3995
- next_monthly_credit_grant_date?: string;
3996
- /** Format: int64 */
3997
- num_projects: number;
3998
- /** Format: int64 */
3999
- num_seats?: number;
4000
- owner_id?: string;
4001
- /** @enum {string} */
4002
- payment_provider?: "stripe" | "apple" | "gcp_marketplace" | "microsoft_marketplace";
4003
- pending_dispute_adjustments?: {
4004
- [key: string]: components["schemas"]["PendingDisputeAdjustment"];
4005
- };
4006
- pending_refund_adjustments?: {
4007
- [key: string]: components["schemas"]["PendingRefundAdjustment"];
4008
- };
4009
- /** @enum {string} */
4010
- pii_live_chat_mode?: "off" | "detect_only" | "prompt" | "block";
4011
- /** @enum {string} */
4012
- 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";
4013
- plan_scheduled?: string;
4014
- /** Format: date-time */
4015
- plan_scheduled_event_at?: string;
4016
- /** Format: date-time */
4017
- plan_scheduled_updated_at?: string;
4018
- plan_type?: string;
4019
- plan_type_scheduled?: string;
4020
- /** @enum {string} */
4021
- publishing_policy?: "workspace_only" | "disabled";
4022
- reauth?: boolean;
4023
- received_tax_id_bonus?: boolean;
4024
- referral_code?: string;
4025
- /** Format: int64 */
4026
- referral_count: number;
4027
- referral_disabled?: boolean;
4028
- require_customer_pam_approval?: boolean;
4029
- require_security_scan_before_publish?: boolean;
4030
- require_workspace_editor_for_project_editing?: boolean;
4031
- sandbox_provider_url?: string;
4032
- seamless_connector_settings?: components["schemas"]["SeamlessConnectorSetting"][] | null;
4033
- /** @enum {string} */
4034
- security_auto_fix_mode?: "off" | "workspace_published_projects" | "externally_published_projects" | "published_projects" | "all_projects";
4035
- share_sample_data_with_llms?: boolean;
4036
- short_referral_code?: string;
4037
- sso_provider_id?: string;
4038
- /** Format: int64 */
4039
- sso_session_duration?: number;
4040
- standard_connector_settings?: components["schemas"]["StandardConnectorSetting"][] | null;
4041
- subscription_currency?: string;
4042
- /** @enum {string} */
4043
- subscription_status?: "active" | "past_due" | "canceled" | "trialing" | "incomplete" | "incomplete_expired" | "unpaid" | "paused";
4044
- /** Format: date-time */
4045
- subscription_status_changed_at?: string;
4046
- /** Format: date-time */
4047
- topup_credits_purchased_at?: string;
4048
- /** Format: date-time */
4049
- updated_at: string;
4050
- use_edu_openai_routing?: boolean;
4051
- username?: string;
4052
- verified_email_jit?: boolean;
4053
- /** @enum {string} */
4054
- verified_email_jit_role?: "none" | "owner" | "admin" | "member" | "viewer" | "collaborator" | "invited";
4055
- };
4056
- WorkspaceAnnouncementBanner: {
4057
- allow_dismissal: boolean;
4058
- color?: string;
4059
- enabled: boolean;
4060
- text?: string;
4061
- text_color?: string;
4062
- /** Format: date-time */
4063
- updated_at?: string;
4064
- };
4065
- WorkspaceExperimentalFeatures: {
4066
- custom_enterprise_git_sync?: boolean;
4067
- gitsync_github?: boolean;
4068
- lovable_ai?: boolean;
4069
- lovable_cloud?: boolean;
4070
- partner_perm_1?: boolean;
4071
- partner_perm_2?: boolean;
4072
- partner_perm_3?: boolean;
4073
- partner_perm_4?: boolean;
4074
- scim?: boolean;
4075
- shopify?: boolean;
4076
- unified_billing?: boolean;
4077
- };
4078
- WorkspaceMembership: {
4079
- email: string;
4080
- /** Format: date-time */
4081
- invited_at: string;
4082
- /** Format: date-time */
4083
- joined_at?: string;
4084
- /** Format: double */
4085
- monthly_credit_limit: number | null;
4086
- project_access?: {
4087
- [key: string]: components["schemas"]["ProjectAccessEntry"];
4088
- };
4089
- /** @enum {string} */
4090
- role: "none" | "owner" | "admin" | "member" | "viewer" | "collaborator" | "invited";
4091
- /** Format: date-time */
4092
- role_changed_at?: string;
4093
- scim_external_id?: string;
4094
- user_id: string;
4095
- workspace_id: string;
4096
- };
4097
- WorkspaceMembershipResponse: {
4098
- display_name?: string;
4099
- email?: string;
4100
- has_project_access: boolean;
4101
- /** Format: date-time */
4102
- invited_at?: string;
4103
- /** Format: date-time */
4104
- joined_at?: string;
4105
- /** Format: double */
4106
- monthly_credit_limit?: number;
4107
- project_access?: {
4108
- [key: string]: components["schemas"]["ProjectAccessEntry"];
4109
- };
4110
- /** @enum {string} */
4111
- role: "none" | "owner" | "admin" | "member" | "viewer" | "collaborator" | "invited";
4112
- /** Format: date-time */
4113
- role_changed_at?: string;
4114
- row_id?: string;
4115
- scim_external_id?: string;
4116
- /** Format: double */
4117
- total_credits_used?: number;
4118
- /** Format: double */
4119
- total_credits_used_in_billing_period?: number;
4120
- user_id: string;
4121
- username: string;
4122
- };
4123
- WorkspaceWithMembership: {
4124
- /** Format: int64 */
4125
- abandoned_projects_threshold_days?: number;
4126
- aikido_pentest_enabled?: boolean;
4127
- allow_public_member_profiles?: boolean;
4128
- always_redact_pii?: boolean;
4129
- announcement_banner?: components["schemas"]["WorkspaceAnnouncementBanner"];
4130
- app_user_connector_settings?: components["schemas"]["AppUserConnectorSetting"][] | null;
4131
- auto_delete_abandoned_projects_enabled?: boolean;
4132
- /** Format: date-time */
4133
- auto_delete_enabled_at?: string;
4134
- /** Format: int64 */
4135
- auto_delete_grace_days?: number;
4136
- /** Format: double */
4137
- backend_total_used_in_billing_period: number;
4138
- banner_url?: string;
4139
- /** Format: double */
4140
- billing_period_credits_limit: number;
4141
- /** Format: double */
4142
- billing_period_credits_used: number;
4143
- /** Format: date-time */
4144
- billing_period_end_date?: string;
4145
- /** Format: date-time */
4146
- billing_period_start_date?: string;
4147
- block_publish_on_critical_findings?: boolean;
4148
- block_publish_on_pii?: boolean;
4149
- branded_app_url_cert_pack_id?: string;
4150
- branded_app_url_failure_reason?: string;
4151
- branded_app_url_slug?: string;
4152
- branded_app_url_status?: string;
4153
- cloud_block_public_buckets?: boolean;
4154
- /** Format: date-time */
4155
- created_at: string;
4156
- custom_branded_domain?: string;
4157
- custom_branded_domain_dcv_txt_name?: string;
4158
- custom_branded_domain_dcv_txt_value?: string;
4159
- custom_branded_domain_failure_reason?: string;
4160
- custom_branded_domain_status?: string;
4161
- custom_branded_hostname_id?: string;
4162
- data_opt_out?: boolean;
4163
- default_cloud_region?: string;
4164
- default_library_id?: string;
4165
- /** Format: double */
4166
- default_monthly_member_credit_limit: number | null;
4167
- /** @enum {string} */
4168
- default_project_publish_visibility?: "public" | "private";
4169
- /** @enum {string} */
4170
- default_project_visibility?: "public" | "private" | "draft" | "workspace_view";
4171
- default_template_id?: string;
4172
- delegated_domain?: string;
4173
- delegated_domain_status?: string;
4174
- /** Format: date-time */
4175
- deleted_at?: string;
4176
- deleted_by?: string;
4177
- deletion_event_id?: string;
4178
- description?: string;
4179
- disable_code_download?: boolean;
4180
- disable_external_publish_invites?: boolean;
4181
- disable_figma_import?: boolean;
4182
- disable_named_previews?: boolean;
4183
- disable_share_preview?: boolean;
4184
- editor_can_invite?: boolean;
4185
- editor_can_transfer_project?: boolean;
4186
- egress_allowlist?: string[] | null;
4187
- egress_mode?: string;
4188
- enable_pii?: boolean;
4189
- enforce_sso?: boolean;
4190
- enterprise_relay_client_ids?: string[] | null;
4191
- enterprise_relay_enabled?: boolean;
4192
- exclude_from_cross_project_sharing?: boolean;
4193
- exclude_from_discovery?: boolean;
4194
- experimental_features: components["schemas"]["WorkspaceExperimentalFeatures"];
4195
- /** @enum {string} */
4196
- external_collaborator_level?: "all" | "none" | "viewer" | "editor";
4197
- external_publish_permission_level?: string;
4198
- /** Format: int64 */
4199
- followers_count: number;
4200
- /** Format: date-time */
4201
- hard_delete_in_progress_at?: string;
4202
- /** Format: date-time */
4203
- hard_deleted_at?: string;
4204
- id: string;
4205
- image_url?: string;
4206
- invite_links_disabled?: boolean;
4207
- /** Format: date-time */
4208
- invited_at?: string;
4209
- is_personal?: boolean;
4210
- is_temporary_edu?: boolean;
4211
- /** Format: date-time */
4212
- joined_at?: string;
4213
- /** Format: date-time */
4214
- last_rollover_period: string | null;
4215
- /** Format: date-time */
4216
- last_subscription_event_at?: string;
4217
- local_mcp_enabled?: boolean;
4218
- lovable_mcp_server_enabled?: boolean;
4219
- mcp_connector_settings?: components["schemas"]["MCPConnectorSetting"][] | null;
4220
- mcp_enabled?: boolean;
4221
- membership: components["schemas"]["WorkspaceMembership"];
4222
- /** Format: date-time */
4223
- migrated_to_unified_billing_at?: string;
4224
- name: string;
4225
- /** Format: date-time */
4226
- next_monthly_credit_grant_date?: string;
4227
- /** Format: int64 */
4228
- num_projects: number;
4229
- /** Format: int64 */
4230
- num_seats?: number;
4231
- owner_id?: string;
4232
- /** @enum {string} */
4233
- payment_provider?: "stripe" | "apple" | "gcp_marketplace" | "microsoft_marketplace";
4234
- pending_dispute_adjustments?: {
4235
- [key: string]: components["schemas"]["PendingDisputeAdjustment"];
4236
- };
4237
- pending_refund_adjustments?: {
4238
- [key: string]: components["schemas"]["PendingRefundAdjustment"];
4239
- };
4240
- /** @enum {string} */
4241
- pii_live_chat_mode?: "off" | "detect_only" | "prompt" | "block";
4242
- /** @enum {string} */
4243
- 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";
4244
- plan_scheduled?: string;
4245
- /** Format: date-time */
4246
- plan_scheduled_event_at?: string;
4247
- /** Format: date-time */
4248
- plan_scheduled_updated_at?: string;
4249
- plan_type?: string;
4250
- plan_type_scheduled?: string;
4251
- /** @enum {string} */
4252
- publishing_policy?: "workspace_only" | "disabled";
4253
- reauth?: boolean;
4254
- received_tax_id_bonus?: boolean;
4255
- referral_code?: string;
4256
- /** Format: int64 */
4257
- referral_count: number;
4258
- referral_disabled?: boolean;
4259
- require_customer_pam_approval?: boolean;
4260
- require_security_scan_before_publish?: boolean;
4261
- require_workspace_editor_for_project_editing?: boolean;
4262
- sandbox_provider_url?: string;
4263
- seamless_connector_settings?: components["schemas"]["SeamlessConnectorSetting"][] | null;
4264
- /** @enum {string} */
4265
- security_auto_fix_mode?: "off" | "workspace_published_projects" | "externally_published_projects" | "published_projects" | "all_projects";
4266
- share_sample_data_with_llms?: boolean;
4267
- short_referral_code?: string;
4268
- sso_provider_id?: string;
4269
- /** Format: int64 */
4270
- sso_session_duration?: number;
4271
- standard_connector_settings?: components["schemas"]["StandardConnectorSetting"][] | null;
4272
- subscription_currency?: string;
4273
- /** @enum {string} */
4274
- subscription_status?: "active" | "past_due" | "canceled" | "trialing" | "incomplete" | "incomplete_expired" | "unpaid" | "paused";
4275
- /** Format: date-time */
4276
- subscription_status_changed_at?: string;
4277
- /** Format: date-time */
4278
- topup_credits_purchased_at?: string;
4279
- /** Format: date-time */
4280
- updated_at: string;
4281
- use_edu_openai_routing?: boolean;
4282
- username?: string;
4283
- verified_email_jit?: boolean;
4284
- /** @enum {string} */
4285
- verified_email_jit_role?: "none" | "owner" | "admin" | "member" | "viewer" | "collaborator" | "invited";
4286
- };
4287
4023
  };
4288
4024
  responses: never;
4289
4025
  parameters: never;
@@ -5375,8 +5111,6 @@ export interface operations {
5375
5111
  query: {
5376
5112
  /** @description Workspace ID */
5377
5113
  workspace_id: string;
5378
- /** @description Include per-project risk rollup fields when enabled for the workspace */
5379
- include_risk?: boolean;
5380
5114
  /** @description Filter by project creator user ID */
5381
5115
  user_id?: string;
5382
5116
  /** @description Filter by visibility */
@@ -5412,7 +5146,7 @@ export interface operations {
5412
5146
  [name: string]: unknown;
5413
5147
  };
5414
5148
  content: {
5415
- "application/json": components["schemas"]["CursorListResponseSearchProjectItem"];
5149
+ "application/json": components["schemas"]["CursorListResponsePublicV1ProjectListItem"];
5416
5150
  };
5417
5151
  };
5418
5152
  /** @description Error */
@@ -6895,7 +6629,7 @@ export interface operations {
6895
6629
  [name: string]: unknown;
6896
6630
  };
6897
6631
  content: {
6898
- "application/json": components["schemas"]["GetUserWorkspaceBody"];
6632
+ "application/json": components["schemas"]["PublicV1GetWorkspaceBody"];
6899
6633
  };
6900
6634
  };
6901
6635
  /** @description Error */