@lovable.dev/sdk 1.3.0 → 1.4.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.
@@ -52,10 +52,8 @@ export interface paths {
52
52
  cookie?: never;
53
53
  };
54
54
  /**
55
- * Query workspace audit logs (Preview)
55
+ * Query workspace audit logs
56
56
  * @description Returns workspace audit log entries newest first (event timestamp descending, event ID as the cursor tie-breaker), paginated via an opaque cursor. Pass workspace_id as a query parameter.
57
- *
58
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
59
57
  */
60
58
  get: operations["get-v1-audit-logs"];
61
59
  put?: never;
@@ -74,10 +72,8 @@ export interface paths {
74
72
  cookie?: never;
75
73
  };
76
74
  /**
77
- * List project collaborators (Preview)
75
+ * List project collaborators
78
76
  * @description Returns the users with direct access to this project. Pass project_id as a query parameter.
79
- *
80
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
81
77
  */
82
78
  get: operations["get-v1-collaborators"];
83
79
  put?: never;
@@ -116,10 +112,8 @@ export interface paths {
116
112
  cookie?: never;
117
113
  };
118
114
  /**
119
- * Get workspace credit history (Preview)
115
+ * Get workspace credit history
120
116
  * @description Returns the workspace's credit grant, expiry, adjustment, and conversion history, ordered by occurred_at descending with entry ID as the cursor tie-breaker. Pass workspace_id as a query parameter.
121
- *
122
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
123
117
  */
124
118
  get: operations["get-v1-credit-history"];
125
119
  put?: never;
@@ -138,10 +132,8 @@ export interface paths {
138
132
  cookie?: never;
139
133
  };
140
134
  /**
141
- * Get workspace credit balance (Preview)
135
+ * Get workspace credit balance
142
136
  * @description Returns the workspace's aggregated credit balance, daily limit, billing-period usage, expiring grants, and per-bucket balances. Pass workspace_id as a query parameter.
143
- *
144
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
145
137
  */
146
138
  get: operations["get-v1-credits"];
147
139
  put?: never;
@@ -365,10 +357,8 @@ export interface paths {
365
357
  cookie?: never;
366
358
  };
367
359
  /**
368
- * List workspace members (Preview)
360
+ * List workspace members
369
361
  * @description Returns a paginated list of workspace members, filtered by role and status. Pass workspace_id as a query parameter.
370
- *
371
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
372
362
  */
373
363
  get: operations["get-v1-members"];
374
364
  put?: never;
@@ -379,6 +369,46 @@ export interface paths {
379
369
  patch?: never;
380
370
  trace?: never;
381
371
  };
372
+ "/v1/members/bulk-set-credit-limit": {
373
+ parameters: {
374
+ query?: never;
375
+ header?: never;
376
+ path?: never;
377
+ cookie?: never;
378
+ };
379
+ get?: never;
380
+ put?: never;
381
+ /**
382
+ * Bulk-set member credit limits
383
+ * @description Sets or clears the monthly credit limit for up to 50 members in one request. Returns HTTP 200 with a per-member result; an individual failure does not fail the request. Pass workspace_id in the request body.
384
+ */
385
+ post: operations["post-v1-members-bulk-set-credit-limit"];
386
+ delete?: never;
387
+ options?: never;
388
+ head?: never;
389
+ patch?: never;
390
+ trace?: never;
391
+ };
392
+ "/v1/members/{user_id}": {
393
+ parameters: {
394
+ query?: never;
395
+ header?: never;
396
+ path?: never;
397
+ cookie?: never;
398
+ };
399
+ get?: never;
400
+ put?: never;
401
+ post?: never;
402
+ delete?: never;
403
+ options?: never;
404
+ head?: never;
405
+ /**
406
+ * Update a member's credit limit
407
+ * @description Sets or clears a workspace member's monthly credit limit. Pass workspace_id in the request body and the member's user_id in the path.
408
+ */
409
+ patch: operations["patch-v1-members-user_id"];
410
+ trace?: never;
411
+ };
382
412
  "/v1/messages": {
383
413
  parameters: {
384
414
  query?: never;
@@ -472,10 +502,8 @@ export interface paths {
472
502
  cookie?: never;
473
503
  };
474
504
  /**
475
- * List PII labels (Preview)
505
+ * List PII labels
476
506
  * @description Returns PII labels detected for the project, newest first. Pass project_id as a query parameter.
477
- *
478
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
479
507
  */
480
508
  get: operations["get-v1-pii-labels"];
481
509
  put?: never;
@@ -995,10 +1023,8 @@ export interface paths {
995
1023
  cookie?: never;
996
1024
  };
997
1025
  /**
998
- * Get workspace security overview (Preview)
1026
+ * Get workspace security overview
999
1027
  * @description Returns the workspace security summary. Pass workspace_id as a query parameter.
1000
- *
1001
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1002
1028
  */
1003
1029
  get: operations["get-v1-security-dashboard"];
1004
1030
  put?: never;
@@ -1017,10 +1043,8 @@ export interface paths {
1017
1043
  cookie?: never;
1018
1044
  };
1019
1045
  /**
1020
- * List workspace security project inventory (Preview)
1046
+ * List workspace security project inventory
1021
1047
  * @description Returns the review-priority-ranked project inventory for the workspace, sorted by the selected sort_by (default last_edited, or relevance when query is set) with offset-based paging behind the cursor. Pass workspace_id as a query parameter.
1022
- *
1023
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1024
1048
  */
1025
1049
  get: operations["get-v1-security-dashboard-projects"];
1026
1050
  put?: never;
@@ -1039,18 +1063,14 @@ export interface paths {
1039
1063
  cookie?: never;
1040
1064
  };
1041
1065
  /**
1042
- * List security scans (Preview)
1066
+ * List security scans
1043
1067
  * @description Returns the project's security scan invocations, newest first. Pass project_id as a query parameter.
1044
- *
1045
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1046
1068
  */
1047
1069
  get: operations["get-v1-security-scans"];
1048
1070
  put?: never;
1049
1071
  /**
1050
- * Trigger security scan (Preview)
1072
+ * Trigger security scan
1051
1073
  * @description Starts a security scan for the project's latest commit and returns a scan_id. Pass project_id in the request body.
1052
- *
1053
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1054
1074
  */
1055
1075
  post: operations["post-v1-security-scans"];
1056
1076
  delete?: never;
@@ -1067,10 +1087,8 @@ export interface paths {
1067
1087
  cookie?: never;
1068
1088
  };
1069
1089
  /**
1070
- * Get security scan (Preview)
1090
+ * Get security scan
1071
1091
  * @description Returns a single security scan invocation with per-scanner run details and findings. Pass project_id as a query parameter.
1072
- *
1073
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1074
1092
  */
1075
1093
  get: operations["get-v1-security-scans-scan_id"];
1076
1094
  put?: never;
@@ -1089,10 +1107,8 @@ export interface paths {
1089
1107
  cookie?: never;
1090
1108
  };
1091
1109
  /**
1092
- * Get workspace settings (Preview)
1110
+ * Get workspace settings
1093
1111
  * @description Returns a curated subset of the workspace's settings. Pass workspace_id as a query parameter.
1094
- *
1095
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1096
1112
  */
1097
1113
  get: operations["get-v1-settings"];
1098
1114
  put?: never;
@@ -1100,7 +1116,11 @@ export interface paths {
1100
1116
  delete?: never;
1101
1117
  options?: never;
1102
1118
  head?: never;
1103
- patch?: never;
1119
+ /**
1120
+ * Update workspace settings
1121
+ * @description Updates writable workspace settings. Currently supports the default per-member monthly credit limit. Pass workspace_id in the request body.
1122
+ */
1123
+ patch: operations["patch-v1-settings"];
1104
1124
  trace?: never;
1105
1125
  };
1106
1126
  "/v1/skills": {
@@ -1151,10 +1171,8 @@ export interface paths {
1151
1171
  cookie?: never;
1152
1172
  };
1153
1173
  /**
1154
- * Get workspace usage breakdown (Preview)
1174
+ * Get workspace usage breakdown
1155
1175
  * @description Returns per-member credit usage rows, ordered by the selected sort_by field (default total_credits_used_in_billing_period descending) with offset-based paging behind the cursor. Pass workspace_id as a query parameter.
1156
- *
1157
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1158
1176
  */
1159
1177
  get: operations["get-v1-usage-breakdown"];
1160
1178
  put?: never;
@@ -1173,10 +1191,8 @@ export interface paths {
1173
1191
  cookie?: never;
1174
1192
  };
1175
1193
  /**
1176
- * Get caller's workspace usage (Preview)
1194
+ * Get caller's workspace usage
1177
1195
  * @description Returns the calling user's own credit usage in the workspace for the current calendar month. Pass workspace_id as a query parameter.
1178
- *
1179
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1180
1196
  */
1181
1197
  get: operations["get-v1-usage-me"];
1182
1198
  put?: never;
@@ -1195,10 +1211,8 @@ export interface paths {
1195
1211
  cookie?: never;
1196
1212
  };
1197
1213
  /**
1198
- * Get workspace usage by project (Preview)
1214
+ * Get workspace usage by project
1199
1215
  * @description Returns per-project credit usage for a time window, ordered by total credits descending with project ID ascending as the cursor tie-breaker. Pass workspace_id as a query parameter.
1200
- *
1201
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1202
1216
  */
1203
1217
  get: operations["get-v1-usage-projects"];
1204
1218
  put?: never;
@@ -1217,10 +1231,8 @@ export interface paths {
1217
1231
  cookie?: never;
1218
1232
  };
1219
1233
  /**
1220
- * Get workspace usage time series (Preview)
1234
+ * Get workspace usage time series
1221
1235
  * @description Returns historical credit usage bucketed by day, week, or month, ordered by period_start ascending. Pass workspace_id as a query parameter.
1222
- *
1223
- * This operation is in public preview (beta): send `X-Enable-Beta: true` on every request. Requests without the header are rejected with HTTP 400 and type `beta_required` in the standard error envelope. Request and response shapes may change before the operation graduates to the stable surface.
1224
1236
  */
1225
1237
  get: operations["get-v1-usage-timeseries"];
1226
1238
  put?: never;
@@ -2028,6 +2040,16 @@ export interface components {
2028
2040
  /** @description Project ID */
2029
2041
  project_id: string;
2030
2042
  };
2043
+ PublicV1GetEditsOutputBody: {
2044
+ /** @description List of edits */
2045
+ data: components["schemas"]["V1EditSummary"][] | null;
2046
+ /** @description Deprecated: use data. Legacy edits list kept for backward compatibility */
2047
+ edits: components["schemas"]["V1EditSummary"][] | null;
2048
+ /** @description Deprecated: use pagination.has_more */
2049
+ has_more: boolean;
2050
+ /** @description Cursor pagination metadata */
2051
+ pagination: components["schemas"]["Pagination"];
2052
+ };
2031
2053
  PublicV1GetWorkspaceBody: {
2032
2054
  /** @description Caller's membership in this workspace. */
2033
2055
  current_member?: components["schemas"]["PublicV1WorkspaceMember"];
@@ -2549,6 +2571,48 @@ export interface components {
2549
2571
  */
2550
2572
  start: string;
2551
2573
  };
2574
+ V1BulkMemberCreditLimitItem: {
2575
+ /**
2576
+ * Format: double
2577
+ * @description A number (0 blocks all spend) to set the cap, or null to clear it (the member inherits the workspace default).
2578
+ */
2579
+ monthly_credit_limit: number | null;
2580
+ /** @description Member user_id (from GET /v1/members; active members only). */
2581
+ user_id: string;
2582
+ };
2583
+ V1BulkMemberCreditLimitResult: {
2584
+ /** @description Failure reason when status is error. */
2585
+ error?: string;
2586
+ /** @description success or error. */
2587
+ status: string;
2588
+ /** @description The member this result is for. */
2589
+ user_id: string;
2590
+ };
2591
+ V1BulkSetMemberCreditLimitInputBody: {
2592
+ /** @description Per-member limits to apply (1-50 entries). Use the workspace default (PATCH /v1/settings) to cap everyone at once. */
2593
+ members: components["schemas"]["V1BulkMemberCreditLimitItem"][];
2594
+ /** @description Workspace ID. */
2595
+ workspace_id: string;
2596
+ };
2597
+ V1BulkSetMemberCreditLimitOutputBody: {
2598
+ /**
2599
+ * Format: int64
2600
+ * @description Number that failed (see per-item error).
2601
+ */
2602
+ failed: number;
2603
+ /** @description Per-member outcome, in request order. */
2604
+ results: components["schemas"]["V1BulkMemberCreditLimitResult"][] | null;
2605
+ /**
2606
+ * Format: int64
2607
+ * @description Number applied successfully.
2608
+ */
2609
+ successful: number;
2610
+ /**
2611
+ * Format: int64
2612
+ * @description Number of members in the request.
2613
+ */
2614
+ total: number;
2615
+ };
2552
2616
  V1ConnectionItem: {
2553
2617
  /** @description Connector type (e.g. google_drive, stripe) */
2554
2618
  connector_id: string;
@@ -2742,7 +2806,6 @@ export interface components {
2742
2806
  };
2743
2807
  V1DiffResponse: {
2744
2808
  diffs: components["schemas"]["V1DiffEntry"][] | null;
2745
- error?: string;
2746
2809
  };
2747
2810
  V1EditSummary: {
2748
2811
  /** @description Commit message */
@@ -3283,6 +3346,24 @@ export interface components {
3283
3346
  /** @description File type (e.g. user_upload) */
3284
3347
  type?: string;
3285
3348
  };
3349
+ V1UpdateMemberCreditLimitInputBody: {
3350
+ /**
3351
+ * Format: double
3352
+ * @description The member's monthly credit cap. Send a number >= 0 (0 blocks all spend) to set it, or null to clear it (the member then inherits the workspace default).
3353
+ */
3354
+ monthly_credit_limit?: number | null;
3355
+ /** @description Workspace ID. */
3356
+ workspace_id: string;
3357
+ };
3358
+ V1UpdateWorkspaceSettingsInputBody: {
3359
+ /**
3360
+ * Format: double
3361
+ * @description Default monthly credit cap applied to each member without an explicit per-member limit. Send a number >= 0 (0 blocks all member spend) to set it, or null to clear it (members are then bounded only by the workspace balance).
3362
+ */
3363
+ default_monthly_member_credit_limit?: number | null;
3364
+ /** @description Workspace ID. */
3365
+ workspace_id: string;
3366
+ };
3286
3367
  V1UsagePeriod: {
3287
3368
  /** @description Inclusive end of the covered window (YYYY-MM-DD, UTC). */
3288
3369
  end: string;
@@ -4030,10 +4111,7 @@ export interface operations {
4030
4111
  /** @description RFC3339 inclusive end of the time range. Defaults to now. */
4031
4112
  end_date?: string;
4032
4113
  };
4033
- header: {
4034
- /** @description Required for public preview endpoints. Set to true on every request. */
4035
- "X-Enable-Beta": "true";
4036
- };
4114
+ header?: never;
4037
4115
  path?: never;
4038
4116
  cookie?: never;
4039
4117
  };
@@ -4069,10 +4147,7 @@ export interface operations {
4069
4147
  /** @description Opaque pagination cursor returned by the previous page */
4070
4148
  cursor?: string;
4071
4149
  };
4072
- header: {
4073
- /** @description Required for public preview endpoints. Set to true on every request. */
4074
- "X-Enable-Beta": "true";
4075
- };
4150
+ header?: never;
4076
4151
  path?: never;
4077
4152
  cookie?: never;
4078
4153
  };
@@ -4150,10 +4225,7 @@ export interface operations {
4150
4225
  /** @description Opaque pagination cursor returned by the previous page */
4151
4226
  cursor?: string;
4152
4227
  };
4153
- header: {
4154
- /** @description Required for public preview endpoints. Set to true on every request. */
4155
- "X-Enable-Beta": "true";
4156
- };
4228
+ header?: never;
4157
4229
  path?: never;
4158
4230
  cookie?: never;
4159
4231
  };
@@ -4185,10 +4257,7 @@ export interface operations {
4185
4257
  /** @description Workspace ID */
4186
4258
  workspace_id: string;
4187
4259
  };
4188
- header: {
4189
- /** @description Required for public preview endpoints. Set to true on every request. */
4190
- "X-Enable-Beta": "true";
4191
- };
4260
+ header?: never;
4192
4261
  path?: never;
4193
4262
  cookie?: never;
4194
4263
  };
@@ -4319,7 +4388,9 @@ export interface operations {
4319
4388
  project_id: string;
4320
4389
  /** @description Maximum number of edits to return */
4321
4390
  limit?: number;
4322
- /** @description ISO 8601 timestamp to fetch edits older than */
4391
+ /** @description Opaque pagination cursor returned by the previous page */
4392
+ cursor?: string;
4393
+ /** @description Deprecated: use cursor. ISO 8601 timestamp to fetch edits older than */
4323
4394
  before?: string;
4324
4395
  };
4325
4396
  header?: never;
@@ -4334,7 +4405,7 @@ export interface operations {
4334
4405
  [name: string]: unknown;
4335
4406
  };
4336
4407
  content: {
4337
- "application/json": components["schemas"]["V1GetEditsOutputBody"];
4408
+ "application/json": components["schemas"]["PublicV1GetEditsOutputBody"];
4338
4409
  };
4339
4410
  };
4340
4411
  /** @description Error */
@@ -4611,10 +4682,7 @@ export interface operations {
4611
4682
  /** @description Filter by SCIM provisioning status. Empty = all members, 'managed' = only SCIM-provisioned members, 'unmanaged' = only members not managed by SCIM. */
4612
4683
  scim_managed?: "managed" | "unmanaged";
4613
4684
  };
4614
- header: {
4615
- /** @description Required for public preview endpoints. Set to true on every request. */
4616
- "X-Enable-Beta": "true";
4617
- };
4685
+ header?: never;
4618
4686
  path?: never;
4619
4687
  cookie?: never;
4620
4688
  };
@@ -4640,6 +4708,75 @@ export interface operations {
4640
4708
  };
4641
4709
  };
4642
4710
  };
4711
+ "post-v1-members-bulk-set-credit-limit": {
4712
+ parameters: {
4713
+ query?: never;
4714
+ header?: never;
4715
+ path?: never;
4716
+ cookie?: never;
4717
+ };
4718
+ requestBody: {
4719
+ content: {
4720
+ "application/json": components["schemas"]["V1BulkSetMemberCreditLimitInputBody"];
4721
+ };
4722
+ };
4723
+ responses: {
4724
+ /** @description OK */
4725
+ 200: {
4726
+ headers: {
4727
+ [name: string]: unknown;
4728
+ };
4729
+ content: {
4730
+ "application/json": components["schemas"]["V1BulkSetMemberCreditLimitOutputBody"];
4731
+ };
4732
+ };
4733
+ /** @description Error */
4734
+ default: {
4735
+ headers: {
4736
+ [name: string]: unknown;
4737
+ };
4738
+ content: {
4739
+ "application/problem+json": components["schemas"]["ErrorModel"];
4740
+ };
4741
+ };
4742
+ };
4743
+ };
4744
+ "patch-v1-members-user_id": {
4745
+ parameters: {
4746
+ query?: never;
4747
+ header?: never;
4748
+ path: {
4749
+ /** @description User ID of the member to update (the user_id returned by GET /v1/members; active members only). */
4750
+ user_id: string;
4751
+ };
4752
+ cookie?: never;
4753
+ };
4754
+ requestBody: {
4755
+ content: {
4756
+ "application/json": components["schemas"]["V1UpdateMemberCreditLimitInputBody"];
4757
+ };
4758
+ };
4759
+ responses: {
4760
+ /** @description OK */
4761
+ 200: {
4762
+ headers: {
4763
+ [name: string]: unknown;
4764
+ };
4765
+ content: {
4766
+ "application/json": components["schemas"]["V1WorkspaceMember"];
4767
+ };
4768
+ };
4769
+ /** @description Error */
4770
+ default: {
4771
+ headers: {
4772
+ [name: string]: unknown;
4773
+ };
4774
+ content: {
4775
+ "application/problem+json": components["schemas"]["ErrorModel"];
4776
+ };
4777
+ };
4778
+ };
4779
+ };
4643
4780
  "get-v1-messages": {
4644
4781
  parameters: {
4645
4782
  query: {
@@ -4811,10 +4948,7 @@ export interface operations {
4811
4948
  /** @description Opaque cursor returned by a previous page; omit for the first page */
4812
4949
  cursor?: string;
4813
4950
  };
4814
- header: {
4815
- /** @description Required for public preview endpoints. Set to true on every request. */
4816
- "X-Enable-Beta": "true";
4817
- };
4951
+ header?: never;
4818
4952
  path?: never;
4819
4953
  cookie?: never;
4820
4954
  };
@@ -5860,10 +5994,7 @@ export interface operations {
5860
5994
  /** @description Repeat to keep only findings at these review priorities (needs_review=critical, review_recommended=high+medium, no_review_needed=low+minimal). Omit for all. */
5861
5995
  severity?: ("needs_review" | "review_recommended" | "no_review_needed")[] | null;
5862
5996
  };
5863
- header: {
5864
- /** @description Required for public preview endpoints. Set to true on every request. */
5865
- "X-Enable-Beta": "true";
5866
- };
5997
+ header?: never;
5867
5998
  path?: never;
5868
5999
  cookie?: never;
5869
6000
  };
@@ -5919,10 +6050,7 @@ export interface operations {
5919
6050
  /** @description Repeat to filter to projects matching any of the listed catalog findings (e.g. public_pii_exposure, abandoned_published). Unknown finding ids return 400. */
5920
6051
  finding_id?: string[] | null;
5921
6052
  };
5922
- header: {
5923
- /** @description Required for public preview endpoints. Set to true on every request. */
5924
- "X-Enable-Beta": "true";
5925
- };
6053
+ header?: never;
5926
6054
  path?: never;
5927
6055
  cookie?: never;
5928
6056
  };
@@ -5958,10 +6086,7 @@ export interface operations {
5958
6086
  /** @description Opaque cursor from a prior response */
5959
6087
  cursor?: string;
5960
6088
  };
5961
- header: {
5962
- /** @description Required for public preview endpoints. Set to true on every request. */
5963
- "X-Enable-Beta": "true";
5964
- };
6089
+ header?: never;
5965
6090
  path?: never;
5966
6091
  cookie?: never;
5967
6092
  };
@@ -5990,10 +6115,7 @@ export interface operations {
5990
6115
  "post-v1-security-scans": {
5991
6116
  parameters: {
5992
6117
  query?: never;
5993
- header: {
5994
- /** @description Required for public preview endpoints. Set to true on every request. */
5995
- "X-Enable-Beta": "true";
5996
- };
6118
+ header?: never;
5997
6119
  path?: never;
5998
6120
  cookie?: never;
5999
6121
  };
@@ -6029,10 +6151,7 @@ export interface operations {
6029
6151
  /** @description Project ID */
6030
6152
  project_id: string;
6031
6153
  };
6032
- header: {
6033
- /** @description Required for public preview endpoints. Set to true on every request. */
6034
- "X-Enable-Beta": "true";
6035
- };
6154
+ header?: never;
6036
6155
  path: {
6037
6156
  /** @description Scan invocation ID from the list endpoint */
6038
6157
  scan_id: string;
@@ -6067,10 +6186,7 @@ export interface operations {
6067
6186
  /** @description Workspace ID */
6068
6187
  workspace_id: string;
6069
6188
  };
6070
- header: {
6071
- /** @description Required for public preview endpoints. Set to true on every request. */
6072
- "X-Enable-Beta": "true";
6073
- };
6189
+ header?: never;
6074
6190
  path?: never;
6075
6191
  cookie?: never;
6076
6192
  };
@@ -6096,6 +6212,39 @@ export interface operations {
6096
6212
  };
6097
6213
  };
6098
6214
  };
6215
+ "patch-v1-settings": {
6216
+ parameters: {
6217
+ query?: never;
6218
+ header?: never;
6219
+ path?: never;
6220
+ cookie?: never;
6221
+ };
6222
+ requestBody: {
6223
+ content: {
6224
+ "application/json": components["schemas"]["V1UpdateWorkspaceSettingsInputBody"];
6225
+ };
6226
+ };
6227
+ responses: {
6228
+ /** @description OK */
6229
+ 200: {
6230
+ headers: {
6231
+ [name: string]: unknown;
6232
+ };
6233
+ content: {
6234
+ "application/json": components["schemas"]["V1WorkspaceSettingsBody"];
6235
+ };
6236
+ };
6237
+ /** @description Error */
6238
+ default: {
6239
+ headers: {
6240
+ [name: string]: unknown;
6241
+ };
6242
+ content: {
6243
+ "application/problem+json": components["schemas"]["ErrorModel"];
6244
+ };
6245
+ };
6246
+ };
6247
+ };
6099
6248
  "get-v1-skills": {
6100
6249
  parameters: {
6101
6250
  query: {
@@ -6184,10 +6333,7 @@ export interface operations {
6184
6333
  /** @description Opaque pagination cursor returned by the previous page */
6185
6334
  cursor?: string;
6186
6335
  };
6187
- header: {
6188
- /** @description Required for public preview endpoints. Set to true on every request. */
6189
- "X-Enable-Beta": "true";
6190
- };
6336
+ header?: never;
6191
6337
  path?: never;
6192
6338
  cookie?: never;
6193
6339
  };
@@ -6219,10 +6365,7 @@ export interface operations {
6219
6365
  /** @description Workspace ID */
6220
6366
  workspace_id: string;
6221
6367
  };
6222
- header: {
6223
- /** @description Required for public preview endpoints. Set to true on every request. */
6224
- "X-Enable-Beta": "true";
6225
- };
6368
+ header?: never;
6226
6369
  path?: never;
6227
6370
  cookie?: never;
6228
6371
  };
@@ -6264,10 +6407,7 @@ export interface operations {
6264
6407
  /** @description Opaque pagination cursor returned by the previous page */
6265
6408
  cursor?: string;
6266
6409
  };
6267
- header: {
6268
- /** @description Required for public preview endpoints. Set to true on every request. */
6269
- "X-Enable-Beta": "true";
6270
- };
6410
+ header?: never;
6271
6411
  path?: never;
6272
6412
  cookie?: never;
6273
6413
  };
@@ -6315,10 +6455,7 @@ export interface operations {
6315
6455
  /** @description Opaque pagination cursor returned by the previous page */
6316
6456
  cursor?: string;
6317
6457
  };
6318
- header: {
6319
- /** @description Required for public preview endpoints. Set to true on every request. */
6320
- "X-Enable-Beta": "true";
6321
- };
6458
+ header?: never;
6322
6459
  path?: never;
6323
6460
  cookie?: never;
6324
6461
  };