@lovable.dev/sdk 1.2.3 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +259 -287
- package/dist/index.js +2 -48
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +65 -65
- package/dist/schemas.js +40 -36
- package/dist/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +10 -54
- package/src/generated/paths.ts +256 -257
- package/src/generated/zod/zod.gen.ts +46 -36
- package/src/index.ts +0 -6
- package/src/types.ts +1 -15
package/src/generated/paths.ts
CHANGED
|
@@ -66,26 +66,6 @@ export interface paths {
|
|
|
66
66
|
patch?: never;
|
|
67
67
|
trace?: never;
|
|
68
68
|
};
|
|
69
|
-
"/v1/available-connectors": {
|
|
70
|
-
parameters: {
|
|
71
|
-
query?: never;
|
|
72
|
-
header?: never;
|
|
73
|
-
path?: never;
|
|
74
|
-
cookie?: never;
|
|
75
|
-
};
|
|
76
|
-
/**
|
|
77
|
-
* Browse available connectors
|
|
78
|
-
* @description Returns available connector templates that can be added to a workspace in catalog order.
|
|
79
|
-
*/
|
|
80
|
-
get: operations["get-v1-available-connectors"];
|
|
81
|
-
put?: never;
|
|
82
|
-
post?: never;
|
|
83
|
-
delete?: never;
|
|
84
|
-
options?: never;
|
|
85
|
-
head?: never;
|
|
86
|
-
patch?: never;
|
|
87
|
-
trace?: never;
|
|
88
|
-
};
|
|
89
69
|
"/v1/collaborators": {
|
|
90
70
|
parameters: {
|
|
91
71
|
query?: never;
|
|
@@ -108,26 +88,6 @@ export interface paths {
|
|
|
108
88
|
patch?: never;
|
|
109
89
|
trace?: never;
|
|
110
90
|
};
|
|
111
|
-
"/v1/connections": {
|
|
112
|
-
parameters: {
|
|
113
|
-
query?: never;
|
|
114
|
-
header?: never;
|
|
115
|
-
path?: never;
|
|
116
|
-
cookie?: never;
|
|
117
|
-
};
|
|
118
|
-
/**
|
|
119
|
-
* List connections
|
|
120
|
-
* @description Returns authenticated connector connections in a workspace, sorted by created_at then connection ID.
|
|
121
|
-
*/
|
|
122
|
-
get: operations["get-v1-connections"];
|
|
123
|
-
put?: never;
|
|
124
|
-
post?: never;
|
|
125
|
-
delete?: never;
|
|
126
|
-
options?: never;
|
|
127
|
-
head?: never;
|
|
128
|
-
patch?: never;
|
|
129
|
-
trace?: never;
|
|
130
|
-
};
|
|
131
91
|
"/v1/connectors": {
|
|
132
92
|
parameters: {
|
|
133
93
|
query?: never;
|
|
@@ -137,36 +97,12 @@ export interface paths {
|
|
|
137
97
|
};
|
|
138
98
|
/**
|
|
139
99
|
* List connectors
|
|
140
|
-
* @description Returns connectors for a workspace in
|
|
100
|
+
* @description Returns connectors for a workspace, one item per connector. A connector offered as several types (e.g. standard and mcp) is returned once with every type in its types array, workspace connection state, and a settings page link where it can be set up. Ordered by type (standard, seamless, app-user, mcp), then each type's stable catalog order. Filter with type=standard,seamless,app-user,mcp and status=connected.
|
|
141
101
|
*/
|
|
142
102
|
get: operations["get-v1-connectors"];
|
|
143
103
|
put?: never;
|
|
144
|
-
/**
|
|
145
|
-
* Add connector
|
|
146
|
-
* @description Adds an MCP connector to a workspace. Pass workspace_id in the request body.
|
|
147
|
-
*/
|
|
148
|
-
post: operations["post-v1-connectors"];
|
|
149
|
-
delete?: never;
|
|
150
|
-
options?: never;
|
|
151
|
-
head?: never;
|
|
152
|
-
patch?: never;
|
|
153
|
-
trace?: never;
|
|
154
|
-
};
|
|
155
|
-
"/v1/connectors/{connector_id}": {
|
|
156
|
-
parameters: {
|
|
157
|
-
query?: never;
|
|
158
|
-
header?: never;
|
|
159
|
-
path?: never;
|
|
160
|
-
cookie?: never;
|
|
161
|
-
};
|
|
162
|
-
get?: never;
|
|
163
|
-
put?: never;
|
|
164
104
|
post?: never;
|
|
165
|
-
|
|
166
|
-
* Remove connector
|
|
167
|
-
* @description Removes an MCP connector from a workspace. Pass workspace_id as a query parameter.
|
|
168
|
-
*/
|
|
169
|
-
delete: operations["delete-v1-connectors-connector_id"];
|
|
105
|
+
delete?: never;
|
|
170
106
|
options?: never;
|
|
171
107
|
head?: never;
|
|
172
108
|
patch?: never;
|
|
@@ -443,6 +379,50 @@ export interface paths {
|
|
|
443
379
|
patch?: never;
|
|
444
380
|
trace?: never;
|
|
445
381
|
};
|
|
382
|
+
"/v1/members/bulk-set-credit-limit": {
|
|
383
|
+
parameters: {
|
|
384
|
+
query?: never;
|
|
385
|
+
header?: never;
|
|
386
|
+
path?: never;
|
|
387
|
+
cookie?: never;
|
|
388
|
+
};
|
|
389
|
+
get?: never;
|
|
390
|
+
put?: never;
|
|
391
|
+
/**
|
|
392
|
+
* Bulk-set member credit limits (Preview)
|
|
393
|
+
* @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.
|
|
394
|
+
*
|
|
395
|
+
* 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.
|
|
396
|
+
*/
|
|
397
|
+
post: operations["post-v1-members-bulk-set-credit-limit"];
|
|
398
|
+
delete?: never;
|
|
399
|
+
options?: never;
|
|
400
|
+
head?: never;
|
|
401
|
+
patch?: never;
|
|
402
|
+
trace?: never;
|
|
403
|
+
};
|
|
404
|
+
"/v1/members/{user_id}": {
|
|
405
|
+
parameters: {
|
|
406
|
+
query?: never;
|
|
407
|
+
header?: never;
|
|
408
|
+
path?: never;
|
|
409
|
+
cookie?: never;
|
|
410
|
+
};
|
|
411
|
+
get?: never;
|
|
412
|
+
put?: never;
|
|
413
|
+
post?: never;
|
|
414
|
+
delete?: never;
|
|
415
|
+
options?: never;
|
|
416
|
+
head?: never;
|
|
417
|
+
/**
|
|
418
|
+
* Update a member's credit limit (Preview)
|
|
419
|
+
* @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.
|
|
420
|
+
*
|
|
421
|
+
* 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.
|
|
422
|
+
*/
|
|
423
|
+
patch: operations["patch-v1-members-user_id"];
|
|
424
|
+
trace?: never;
|
|
425
|
+
};
|
|
446
426
|
"/v1/messages": {
|
|
447
427
|
parameters: {
|
|
448
428
|
query?: never;
|
|
@@ -1164,7 +1144,13 @@ export interface paths {
|
|
|
1164
1144
|
delete?: never;
|
|
1165
1145
|
options?: never;
|
|
1166
1146
|
head?: never;
|
|
1167
|
-
|
|
1147
|
+
/**
|
|
1148
|
+
* Update workspace settings (Preview)
|
|
1149
|
+
* @description Updates writable workspace settings. Currently supports the default per-member monthly credit limit. Pass workspace_id in the request body.
|
|
1150
|
+
*
|
|
1151
|
+
* 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.
|
|
1152
|
+
*/
|
|
1153
|
+
patch: operations["patch-v1-settings"];
|
|
1168
1154
|
trace?: never;
|
|
1169
1155
|
};
|
|
1170
1156
|
"/v1/skills": {
|
|
@@ -1345,7 +1331,7 @@ export interface paths {
|
|
|
1345
1331
|
/**
|
|
1346
1332
|
* Browse available connectors
|
|
1347
1333
|
* @deprecated
|
|
1348
|
-
* @description Deprecated compatibility alias. Prefer GET /v1/
|
|
1334
|
+
* @description Deprecated compatibility alias. Prefer GET /v1/connectors?workspace_id=...
|
|
1349
1335
|
*/
|
|
1350
1336
|
get: operations["get-v1-workspaces-workspace_id-available-connectors"];
|
|
1351
1337
|
put?: never;
|
|
@@ -1408,7 +1394,7 @@ export interface paths {
|
|
|
1408
1394
|
/**
|
|
1409
1395
|
* List connections
|
|
1410
1396
|
* @deprecated
|
|
1411
|
-
* @description Deprecated compatibility
|
|
1397
|
+
* @description Deprecated compatibility endpoint.
|
|
1412
1398
|
*/
|
|
1413
1399
|
get: operations["get-v1-workspaces-workspace_id-connections"];
|
|
1414
1400
|
put?: never;
|
|
@@ -1436,7 +1422,7 @@ export interface paths {
|
|
|
1436
1422
|
/**
|
|
1437
1423
|
* Add connector
|
|
1438
1424
|
* @deprecated
|
|
1439
|
-
* @description Deprecated compatibility
|
|
1425
|
+
* @description Deprecated compatibility endpoint.
|
|
1440
1426
|
*/
|
|
1441
1427
|
post: operations["post-v1-workspaces-workspace_id-connectors"];
|
|
1442
1428
|
delete?: never;
|
|
@@ -1767,14 +1753,6 @@ export interface components {
|
|
|
1767
1753
|
data: components["schemas"]["PublicV1ProjectListItem"][] | null;
|
|
1768
1754
|
pagination: components["schemas"]["Pagination"];
|
|
1769
1755
|
};
|
|
1770
|
-
CursorListResponseV1AvailableConnectorEntry: {
|
|
1771
|
-
data: components["schemas"]["V1AvailableConnectorEntry"][] | null;
|
|
1772
|
-
pagination: components["schemas"]["Pagination"];
|
|
1773
|
-
};
|
|
1774
|
-
CursorListResponseV1ConnectionItem: {
|
|
1775
|
-
data: components["schemas"]["V1ConnectionItem"][] | null;
|
|
1776
|
-
pagination: components["schemas"]["Pagination"];
|
|
1777
|
-
};
|
|
1778
1756
|
CursorListResponseV1MessageListItem: {
|
|
1779
1757
|
data: components["schemas"]["V1MessageListItem"][] | null;
|
|
1780
1758
|
pagination: components["schemas"]["Pagination"];
|
|
@@ -2030,36 +2008,7 @@ export interface components {
|
|
|
2030
2008
|
currentVisitors: number;
|
|
2031
2009
|
data: components["schemas"]["TrendDataPoint"][] | null;
|
|
2032
2010
|
};
|
|
2033
|
-
PublicV1AddConnectorBody: {
|
|
2034
|
-
/**
|
|
2035
|
-
* @description Authentication type
|
|
2036
|
-
* @enum {string}
|
|
2037
|
-
*/
|
|
2038
|
-
auth_type: "none" | "bearer_token";
|
|
2039
|
-
/** @description Catalog connector ID */
|
|
2040
|
-
connector_id?: string;
|
|
2041
|
-
/** @description Display name for this connector */
|
|
2042
|
-
name: string;
|
|
2043
|
-
/** @description Enterprise connectivity endpoint ID */
|
|
2044
|
-
network_transport_endpoint_id?: string;
|
|
2045
|
-
/** @description Enterprise connectivity profile ID */
|
|
2046
|
-
network_transport_profile_id?: string;
|
|
2047
|
-
/** @description Enterprise connectivity transport type */
|
|
2048
|
-
network_transport_type?: string;
|
|
2049
|
-
/** @description Enterprise relay client ID */
|
|
2050
|
-
relay_client_id?: string;
|
|
2051
|
-
/** @description Target service name in relay client route table */
|
|
2052
|
-
relay_service_name?: string;
|
|
2053
|
-
/** @description Bearer token */
|
|
2054
|
-
token?: string;
|
|
2055
|
-
/** @description MCP server URL. Required unless relay_client_id is provided */
|
|
2056
|
-
url?: string;
|
|
2057
|
-
/** @description Workspace ID */
|
|
2058
|
-
workspace_id: string;
|
|
2059
|
-
};
|
|
2060
2011
|
PublicV1ConnectorItem: {
|
|
2061
|
-
/** @description Authentication type, when available */
|
|
2062
|
-
auth_type?: string;
|
|
2063
2012
|
/** @description Connector categories */
|
|
2064
2013
|
categories?: string[] | null;
|
|
2065
2014
|
/** @description Connector category */
|
|
@@ -2076,16 +2025,18 @@ export interface components {
|
|
|
2076
2025
|
is_connected?: boolean;
|
|
2077
2026
|
/** @description Whether the connector is enabled for this workspace, when available */
|
|
2078
2027
|
is_enabled_for_workspace?: boolean;
|
|
2079
|
-
/** @description
|
|
2080
|
-
|
|
2028
|
+
/** @description Lovable settings page where this connector can be set up */
|
|
2029
|
+
settings_url?: string;
|
|
2081
2030
|
/** @description Short connector description */
|
|
2082
2031
|
short_description?: string;
|
|
2083
2032
|
/** @description Connection status, when available */
|
|
2084
2033
|
status?: string;
|
|
2085
2034
|
/** @description Connector summary */
|
|
2086
2035
|
summary?: string;
|
|
2087
|
-
/** @description
|
|
2036
|
+
/** @description Deprecated: first entry of types. Use types instead. */
|
|
2088
2037
|
type: string;
|
|
2038
|
+
/** @description Connector types this connector supports: standard, seamless, app-user, mcp */
|
|
2039
|
+
types?: string[];
|
|
2089
2040
|
};
|
|
2090
2041
|
PublicV1CreateProjectResponse: {
|
|
2091
2042
|
/** @description AI-generated project description */
|
|
@@ -2127,6 +2078,16 @@ export interface components {
|
|
|
2127
2078
|
/** @description Project ID */
|
|
2128
2079
|
project_id: string;
|
|
2129
2080
|
};
|
|
2081
|
+
PublicV1GetEditsOutputBody: {
|
|
2082
|
+
/** @description List of edits */
|
|
2083
|
+
data: components["schemas"]["V1EditSummary"][] | null;
|
|
2084
|
+
/** @description Deprecated: use data. Legacy edits list kept for backward compatibility */
|
|
2085
|
+
edits: components["schemas"]["V1EditSummary"][] | null;
|
|
2086
|
+
/** @description Deprecated: use pagination.has_more */
|
|
2087
|
+
has_more: boolean;
|
|
2088
|
+
/** @description Cursor pagination metadata */
|
|
2089
|
+
pagination: components["schemas"]["Pagination"];
|
|
2090
|
+
};
|
|
2130
2091
|
PublicV1GetWorkspaceBody: {
|
|
2131
2092
|
/** @description Caller's membership in this workspace. */
|
|
2132
2093
|
current_member?: components["schemas"]["PublicV1WorkspaceMember"];
|
|
@@ -2473,8 +2434,6 @@ export interface components {
|
|
|
2473
2434
|
reason: string;
|
|
2474
2435
|
};
|
|
2475
2436
|
StandardConnectorAPI: {
|
|
2476
|
-
/** @enum {string} */
|
|
2477
|
-
auth_type: "APIKEY" | "OAUTH2" | "OAUTH2_CLIENT_CREDENTIALS" | "WIF" | "STEPS";
|
|
2478
2437
|
can_be_managed: boolean;
|
|
2479
2438
|
/** @description True when the workspace plan allows restricting connection creation to admins (Business and Enterprise) */
|
|
2480
2439
|
can_restrict_to_admins: boolean;
|
|
@@ -2650,6 +2609,48 @@ export interface components {
|
|
|
2650
2609
|
*/
|
|
2651
2610
|
start: string;
|
|
2652
2611
|
};
|
|
2612
|
+
V1BulkMemberCreditLimitItem: {
|
|
2613
|
+
/**
|
|
2614
|
+
* Format: double
|
|
2615
|
+
* @description A number (0 blocks all spend) to set the cap, or null to clear it (the member inherits the workspace default).
|
|
2616
|
+
*/
|
|
2617
|
+
monthly_credit_limit: number | null;
|
|
2618
|
+
/** @description Member user_id (from GET /v1/members; active members only). */
|
|
2619
|
+
user_id: string;
|
|
2620
|
+
};
|
|
2621
|
+
V1BulkMemberCreditLimitResult: {
|
|
2622
|
+
/** @description Failure reason when status is error. */
|
|
2623
|
+
error?: string;
|
|
2624
|
+
/** @description success or error. */
|
|
2625
|
+
status: string;
|
|
2626
|
+
/** @description The member this result is for. */
|
|
2627
|
+
user_id: string;
|
|
2628
|
+
};
|
|
2629
|
+
V1BulkSetMemberCreditLimitInputBody: {
|
|
2630
|
+
/** @description Per-member limits to apply (1-50 entries). Use the workspace default (PATCH /v1/settings) to cap everyone at once. */
|
|
2631
|
+
members: components["schemas"]["V1BulkMemberCreditLimitItem"][];
|
|
2632
|
+
/** @description Workspace ID. */
|
|
2633
|
+
workspace_id: string;
|
|
2634
|
+
};
|
|
2635
|
+
V1BulkSetMemberCreditLimitOutputBody: {
|
|
2636
|
+
/**
|
|
2637
|
+
* Format: int64
|
|
2638
|
+
* @description Number that failed (see per-item error).
|
|
2639
|
+
*/
|
|
2640
|
+
failed: number;
|
|
2641
|
+
/** @description Per-member outcome, in request order. */
|
|
2642
|
+
results: components["schemas"]["V1BulkMemberCreditLimitResult"][] | null;
|
|
2643
|
+
/**
|
|
2644
|
+
* Format: int64
|
|
2645
|
+
* @description Number applied successfully.
|
|
2646
|
+
*/
|
|
2647
|
+
successful: number;
|
|
2648
|
+
/**
|
|
2649
|
+
* Format: int64
|
|
2650
|
+
* @description Number of members in the request.
|
|
2651
|
+
*/
|
|
2652
|
+
total: number;
|
|
2653
|
+
};
|
|
2653
2654
|
V1ConnectionItem: {
|
|
2654
2655
|
/** @description Connector type (e.g. google_drive, stripe) */
|
|
2655
2656
|
connector_id: string;
|
|
@@ -2843,7 +2844,6 @@ export interface components {
|
|
|
2843
2844
|
};
|
|
2844
2845
|
V1DiffResponse: {
|
|
2845
2846
|
diffs: components["schemas"]["V1DiffEntry"][] | null;
|
|
2846
|
-
error?: string;
|
|
2847
2847
|
};
|
|
2848
2848
|
V1EditSummary: {
|
|
2849
2849
|
/** @description Commit message */
|
|
@@ -3384,6 +3384,24 @@ export interface components {
|
|
|
3384
3384
|
/** @description File type (e.g. user_upload) */
|
|
3385
3385
|
type?: string;
|
|
3386
3386
|
};
|
|
3387
|
+
V1UpdateMemberCreditLimitInputBody: {
|
|
3388
|
+
/**
|
|
3389
|
+
* Format: double
|
|
3390
|
+
* @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).
|
|
3391
|
+
*/
|
|
3392
|
+
monthly_credit_limit?: number | null;
|
|
3393
|
+
/** @description Workspace ID. */
|
|
3394
|
+
workspace_id: string;
|
|
3395
|
+
};
|
|
3396
|
+
V1UpdateWorkspaceSettingsInputBody: {
|
|
3397
|
+
/**
|
|
3398
|
+
* Format: double
|
|
3399
|
+
* @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).
|
|
3400
|
+
*/
|
|
3401
|
+
default_monthly_member_credit_limit?: number | null;
|
|
3402
|
+
/** @description Workspace ID. */
|
|
3403
|
+
workspace_id: string;
|
|
3404
|
+
};
|
|
3387
3405
|
V1UsagePeriod: {
|
|
3388
3406
|
/** @description Inclusive end of the covered window (YYYY-MM-DD, UTC). */
|
|
3389
3407
|
end: string;
|
|
@@ -3522,6 +3540,11 @@ export interface components {
|
|
|
3522
3540
|
* @description When the user accepted the invitation. Absent on pending invites.
|
|
3523
3541
|
*/
|
|
3524
3542
|
joined_at?: string;
|
|
3543
|
+
/**
|
|
3544
|
+
* Format: double
|
|
3545
|
+
* @description Explicit monthly credit cap for this member. Absent means no per-member cap is set and the workspace default applies. Visible for yourself; visible for other members only with permission to view member usage.
|
|
3546
|
+
*/
|
|
3547
|
+
monthly_credit_limit?: number;
|
|
3525
3548
|
/** @description Workspace role. One of: owner, admin, member, viewer, collaborator. */
|
|
3526
3549
|
role: string;
|
|
3527
3550
|
/** @description Stable opaque identifier for the entry. For active members this is the user ID; for pending invites this is the Spanner-generated membership row id (never an email-derived value). */
|
|
@@ -3766,6 +3789,11 @@ export interface components {
|
|
|
3766
3789
|
* @description Start of the current billing period.
|
|
3767
3790
|
*/
|
|
3768
3791
|
billing_period_start_date?: string;
|
|
3792
|
+
/**
|
|
3793
|
+
* Format: double
|
|
3794
|
+
* @description Default monthly credit cap applied to each member who has no explicit per-member limit. Absent when unset (members are bounded only by the workspace balance) or when the caller lacks permission to view workspace usage.
|
|
3795
|
+
*/
|
|
3796
|
+
default_monthly_member_credit_limit?: number;
|
|
3769
3797
|
/** @description Default visibility applied to new projects. One of: public, private, draft. Absent means the workspace effective default of private. */
|
|
3770
3798
|
default_project_visibility?: string;
|
|
3771
3799
|
/** @description Whether PII scanning is enabled across project resources. */
|
|
@@ -4150,42 +4178,6 @@ export interface operations {
|
|
|
4150
4178
|
};
|
|
4151
4179
|
};
|
|
4152
4180
|
};
|
|
4153
|
-
"get-v1-available-connectors": {
|
|
4154
|
-
parameters: {
|
|
4155
|
-
query: {
|
|
4156
|
-
/** @description Workspace ID */
|
|
4157
|
-
workspace_id: string;
|
|
4158
|
-
/** @description Maximum number of items to return */
|
|
4159
|
-
limit?: number;
|
|
4160
|
-
/** @description Opaque pagination cursor returned by the previous page */
|
|
4161
|
-
cursor?: string;
|
|
4162
|
-
};
|
|
4163
|
-
header?: never;
|
|
4164
|
-
path?: never;
|
|
4165
|
-
cookie?: never;
|
|
4166
|
-
};
|
|
4167
|
-
requestBody?: never;
|
|
4168
|
-
responses: {
|
|
4169
|
-
/** @description OK */
|
|
4170
|
-
200: {
|
|
4171
|
-
headers: {
|
|
4172
|
-
[name: string]: unknown;
|
|
4173
|
-
};
|
|
4174
|
-
content: {
|
|
4175
|
-
"application/json": components["schemas"]["CursorListResponseV1AvailableConnectorEntry"];
|
|
4176
|
-
};
|
|
4177
|
-
};
|
|
4178
|
-
/** @description Error */
|
|
4179
|
-
default: {
|
|
4180
|
-
headers: {
|
|
4181
|
-
[name: string]: unknown;
|
|
4182
|
-
};
|
|
4183
|
-
content: {
|
|
4184
|
-
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
4185
|
-
};
|
|
4186
|
-
};
|
|
4187
|
-
};
|
|
4188
|
-
};
|
|
4189
4181
|
"get-v1-collaborators": {
|
|
4190
4182
|
parameters: {
|
|
4191
4183
|
query: {
|
|
@@ -4225,44 +4217,6 @@ export interface operations {
|
|
|
4225
4217
|
};
|
|
4226
4218
|
};
|
|
4227
4219
|
};
|
|
4228
|
-
"get-v1-connections": {
|
|
4229
|
-
parameters: {
|
|
4230
|
-
query: {
|
|
4231
|
-
/** @description Workspace ID */
|
|
4232
|
-
workspace_id: string;
|
|
4233
|
-
/** @description Optional connector ID filter */
|
|
4234
|
-
connector_id?: string;
|
|
4235
|
-
/** @description Maximum number of items to return */
|
|
4236
|
-
limit?: number;
|
|
4237
|
-
/** @description Opaque pagination cursor returned by the previous page */
|
|
4238
|
-
cursor?: string;
|
|
4239
|
-
};
|
|
4240
|
-
header?: never;
|
|
4241
|
-
path?: never;
|
|
4242
|
-
cookie?: never;
|
|
4243
|
-
};
|
|
4244
|
-
requestBody?: never;
|
|
4245
|
-
responses: {
|
|
4246
|
-
/** @description OK */
|
|
4247
|
-
200: {
|
|
4248
|
-
headers: {
|
|
4249
|
-
[name: string]: unknown;
|
|
4250
|
-
};
|
|
4251
|
-
content: {
|
|
4252
|
-
"application/json": components["schemas"]["CursorListResponseV1ConnectionItem"];
|
|
4253
|
-
};
|
|
4254
|
-
};
|
|
4255
|
-
/** @description Error */
|
|
4256
|
-
default: {
|
|
4257
|
-
headers: {
|
|
4258
|
-
[name: string]: unknown;
|
|
4259
|
-
};
|
|
4260
|
-
content: {
|
|
4261
|
-
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
4262
|
-
};
|
|
4263
|
-
};
|
|
4264
|
-
};
|
|
4265
|
-
};
|
|
4266
4220
|
"get-v1-connectors": {
|
|
4267
4221
|
parameters: {
|
|
4268
4222
|
query: {
|
|
@@ -4303,74 +4257,6 @@ export interface operations {
|
|
|
4303
4257
|
};
|
|
4304
4258
|
};
|
|
4305
4259
|
};
|
|
4306
|
-
"post-v1-connectors": {
|
|
4307
|
-
parameters: {
|
|
4308
|
-
query?: never;
|
|
4309
|
-
header?: never;
|
|
4310
|
-
path?: never;
|
|
4311
|
-
cookie?: never;
|
|
4312
|
-
};
|
|
4313
|
-
requestBody: {
|
|
4314
|
-
content: {
|
|
4315
|
-
"application/json": components["schemas"]["PublicV1AddConnectorBody"];
|
|
4316
|
-
};
|
|
4317
|
-
};
|
|
4318
|
-
responses: {
|
|
4319
|
-
/** @description Created */
|
|
4320
|
-
201: {
|
|
4321
|
-
headers: {
|
|
4322
|
-
[name: string]: unknown;
|
|
4323
|
-
};
|
|
4324
|
-
content: {
|
|
4325
|
-
"application/json": components["schemas"]["V1ConnectorResponse"];
|
|
4326
|
-
};
|
|
4327
|
-
};
|
|
4328
|
-
/** @description Error */
|
|
4329
|
-
default: {
|
|
4330
|
-
headers: {
|
|
4331
|
-
[name: string]: unknown;
|
|
4332
|
-
};
|
|
4333
|
-
content: {
|
|
4334
|
-
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
4335
|
-
};
|
|
4336
|
-
};
|
|
4337
|
-
};
|
|
4338
|
-
};
|
|
4339
|
-
"delete-v1-connectors-connector_id": {
|
|
4340
|
-
parameters: {
|
|
4341
|
-
query: {
|
|
4342
|
-
/** @description Workspace ID */
|
|
4343
|
-
workspace_id: string;
|
|
4344
|
-
};
|
|
4345
|
-
header?: never;
|
|
4346
|
-
path: {
|
|
4347
|
-
/** @description Connector ID */
|
|
4348
|
-
connector_id: string;
|
|
4349
|
-
};
|
|
4350
|
-
cookie?: never;
|
|
4351
|
-
};
|
|
4352
|
-
requestBody?: never;
|
|
4353
|
-
responses: {
|
|
4354
|
-
/** @description OK */
|
|
4355
|
-
200: {
|
|
4356
|
-
headers: {
|
|
4357
|
-
[name: string]: unknown;
|
|
4358
|
-
};
|
|
4359
|
-
content: {
|
|
4360
|
-
"application/json": components["schemas"]["V1RemoveConnectorOutputBody"];
|
|
4361
|
-
};
|
|
4362
|
-
};
|
|
4363
|
-
/** @description Error */
|
|
4364
|
-
default: {
|
|
4365
|
-
headers: {
|
|
4366
|
-
[name: string]: unknown;
|
|
4367
|
-
};
|
|
4368
|
-
content: {
|
|
4369
|
-
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
4370
|
-
};
|
|
4371
|
-
};
|
|
4372
|
-
};
|
|
4373
|
-
};
|
|
4374
4260
|
"get-v1-credit-history": {
|
|
4375
4261
|
parameters: {
|
|
4376
4262
|
query: {
|
|
@@ -4552,7 +4438,9 @@ export interface operations {
|
|
|
4552
4438
|
project_id: string;
|
|
4553
4439
|
/** @description Maximum number of edits to return */
|
|
4554
4440
|
limit?: number;
|
|
4555
|
-
/** @description
|
|
4441
|
+
/** @description Opaque pagination cursor returned by the previous page */
|
|
4442
|
+
cursor?: string;
|
|
4443
|
+
/** @description Deprecated: use cursor. ISO 8601 timestamp to fetch edits older than */
|
|
4556
4444
|
before?: string;
|
|
4557
4445
|
};
|
|
4558
4446
|
header?: never;
|
|
@@ -4567,7 +4455,7 @@ export interface operations {
|
|
|
4567
4455
|
[name: string]: unknown;
|
|
4568
4456
|
};
|
|
4569
4457
|
content: {
|
|
4570
|
-
"application/json": components["schemas"]["
|
|
4458
|
+
"application/json": components["schemas"]["PublicV1GetEditsOutputBody"];
|
|
4571
4459
|
};
|
|
4572
4460
|
};
|
|
4573
4461
|
/** @description Error */
|
|
@@ -4873,6 +4761,81 @@ export interface operations {
|
|
|
4873
4761
|
};
|
|
4874
4762
|
};
|
|
4875
4763
|
};
|
|
4764
|
+
"post-v1-members-bulk-set-credit-limit": {
|
|
4765
|
+
parameters: {
|
|
4766
|
+
query?: never;
|
|
4767
|
+
header: {
|
|
4768
|
+
/** @description Required for public preview endpoints. Set to true on every request. */
|
|
4769
|
+
"X-Enable-Beta": "true";
|
|
4770
|
+
};
|
|
4771
|
+
path?: never;
|
|
4772
|
+
cookie?: never;
|
|
4773
|
+
};
|
|
4774
|
+
requestBody: {
|
|
4775
|
+
content: {
|
|
4776
|
+
"application/json": components["schemas"]["V1BulkSetMemberCreditLimitInputBody"];
|
|
4777
|
+
};
|
|
4778
|
+
};
|
|
4779
|
+
responses: {
|
|
4780
|
+
/** @description OK */
|
|
4781
|
+
200: {
|
|
4782
|
+
headers: {
|
|
4783
|
+
[name: string]: unknown;
|
|
4784
|
+
};
|
|
4785
|
+
content: {
|
|
4786
|
+
"application/json": components["schemas"]["V1BulkSetMemberCreditLimitOutputBody"];
|
|
4787
|
+
};
|
|
4788
|
+
};
|
|
4789
|
+
/** @description Error */
|
|
4790
|
+
default: {
|
|
4791
|
+
headers: {
|
|
4792
|
+
[name: string]: unknown;
|
|
4793
|
+
};
|
|
4794
|
+
content: {
|
|
4795
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
4796
|
+
};
|
|
4797
|
+
};
|
|
4798
|
+
};
|
|
4799
|
+
};
|
|
4800
|
+
"patch-v1-members-user_id": {
|
|
4801
|
+
parameters: {
|
|
4802
|
+
query?: never;
|
|
4803
|
+
header: {
|
|
4804
|
+
/** @description Required for public preview endpoints. Set to true on every request. */
|
|
4805
|
+
"X-Enable-Beta": "true";
|
|
4806
|
+
};
|
|
4807
|
+
path: {
|
|
4808
|
+
/** @description User ID of the member to update (the user_id returned by GET /v1/members; active members only). */
|
|
4809
|
+
user_id: string;
|
|
4810
|
+
};
|
|
4811
|
+
cookie?: never;
|
|
4812
|
+
};
|
|
4813
|
+
requestBody: {
|
|
4814
|
+
content: {
|
|
4815
|
+
"application/json": components["schemas"]["V1UpdateMemberCreditLimitInputBody"];
|
|
4816
|
+
};
|
|
4817
|
+
};
|
|
4818
|
+
responses: {
|
|
4819
|
+
/** @description OK */
|
|
4820
|
+
200: {
|
|
4821
|
+
headers: {
|
|
4822
|
+
[name: string]: unknown;
|
|
4823
|
+
};
|
|
4824
|
+
content: {
|
|
4825
|
+
"application/json": components["schemas"]["V1WorkspaceMember"];
|
|
4826
|
+
};
|
|
4827
|
+
};
|
|
4828
|
+
/** @description Error */
|
|
4829
|
+
default: {
|
|
4830
|
+
headers: {
|
|
4831
|
+
[name: string]: unknown;
|
|
4832
|
+
};
|
|
4833
|
+
content: {
|
|
4834
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
4835
|
+
};
|
|
4836
|
+
};
|
|
4837
|
+
};
|
|
4838
|
+
};
|
|
4876
4839
|
"get-v1-messages": {
|
|
4877
4840
|
parameters: {
|
|
4878
4841
|
query: {
|
|
@@ -6329,6 +6292,42 @@ export interface operations {
|
|
|
6329
6292
|
};
|
|
6330
6293
|
};
|
|
6331
6294
|
};
|
|
6295
|
+
"patch-v1-settings": {
|
|
6296
|
+
parameters: {
|
|
6297
|
+
query?: never;
|
|
6298
|
+
header: {
|
|
6299
|
+
/** @description Required for public preview endpoints. Set to true on every request. */
|
|
6300
|
+
"X-Enable-Beta": "true";
|
|
6301
|
+
};
|
|
6302
|
+
path?: never;
|
|
6303
|
+
cookie?: never;
|
|
6304
|
+
};
|
|
6305
|
+
requestBody: {
|
|
6306
|
+
content: {
|
|
6307
|
+
"application/json": components["schemas"]["V1UpdateWorkspaceSettingsInputBody"];
|
|
6308
|
+
};
|
|
6309
|
+
};
|
|
6310
|
+
responses: {
|
|
6311
|
+
/** @description OK */
|
|
6312
|
+
200: {
|
|
6313
|
+
headers: {
|
|
6314
|
+
[name: string]: unknown;
|
|
6315
|
+
};
|
|
6316
|
+
content: {
|
|
6317
|
+
"application/json": components["schemas"]["V1WorkspaceSettingsBody"];
|
|
6318
|
+
};
|
|
6319
|
+
};
|
|
6320
|
+
/** @description Error */
|
|
6321
|
+
default: {
|
|
6322
|
+
headers: {
|
|
6323
|
+
[name: string]: unknown;
|
|
6324
|
+
};
|
|
6325
|
+
content: {
|
|
6326
|
+
"application/problem+json": components["schemas"]["ErrorModel"];
|
|
6327
|
+
};
|
|
6328
|
+
};
|
|
6329
|
+
};
|
|
6330
|
+
};
|
|
6332
6331
|
"get-v1-skills": {
|
|
6333
6332
|
parameters: {
|
|
6334
6333
|
query: {
|