@brazosd/node 0.1.3 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/browser.d.ts +1223 -52
- package/browser.js +2631 -402
- package/index.d.ts +1223 -52
- package/index.js +2631 -402
- package/package.json +1 -1
package/browser.d.ts
CHANGED
|
@@ -292,6 +292,23 @@ type AgentContactListMutationRequest = {
|
|
|
292
292
|
*/
|
|
293
293
|
toAgentId: string;
|
|
294
294
|
};
|
|
295
|
+
type AgentDirectoryEntry = {
|
|
296
|
+
avatarPublicFileId?: string;
|
|
297
|
+
avatarThumbnailPublicFileId?: string;
|
|
298
|
+
favorite: boolean;
|
|
299
|
+
id: string;
|
|
300
|
+
kind: "group" | "agent";
|
|
301
|
+
name: string;
|
|
302
|
+
parentId?: string | null;
|
|
303
|
+
/**
|
|
304
|
+
* Display path of the parent groups; use the path endpoint for IDs.
|
|
305
|
+
*/
|
|
306
|
+
path: string;
|
|
307
|
+
};
|
|
308
|
+
type AgentDirectoryPage = {
|
|
309
|
+
items: Array<AgentDirectoryEntry>;
|
|
310
|
+
nextCursor?: string;
|
|
311
|
+
};
|
|
295
312
|
type AgentListResponse = {
|
|
296
313
|
items: Array<Agent>;
|
|
297
314
|
/**
|
|
@@ -420,6 +437,10 @@ type AgentSession = {
|
|
|
420
437
|
* Canonical activity timestamp used for inactivity archival.
|
|
421
438
|
*/
|
|
422
439
|
lastActivityAt: string;
|
|
440
|
+
/**
|
|
441
|
+
* Session ordering timestamp, advanced by accepted direct user input including queued messages and attachments. Defaults to creation time for new sessions; existing sessions are initialized from lastActivityAt when input tracking is introduced.
|
|
442
|
+
*/
|
|
443
|
+
lastInputAt: string;
|
|
423
444
|
/**
|
|
424
445
|
* UUID of the most recent run started for this session.
|
|
425
446
|
*/
|
|
@@ -746,10 +767,23 @@ type AuthorizeSSORequest = {
|
|
|
746
767
|
mode: SSOMode;
|
|
747
768
|
orgId: number;
|
|
748
769
|
};
|
|
770
|
+
type BillingCloudDriveKind = "user.drive" | "org.drive" | "org-public.drive" | "public.drive" | "channel.drive" | "agent-repo.drive" | "other";
|
|
749
771
|
type BillingCredit = {
|
|
750
772
|
createdAt: string;
|
|
751
773
|
earnedAmountMicroyuans: number;
|
|
752
774
|
giftAmountMicroyuans: number;
|
|
775
|
+
/**
|
|
776
|
+
* Settled consumption paid from recharge credits after refunds and previously invoiced amounts, floored at zero, in integer microyuans. Omitted until the recharge spending aggregate is synchronized.
|
|
777
|
+
*/
|
|
778
|
+
invoiceableMicroyuans?: string;
|
|
779
|
+
/**
|
|
780
|
+
* Cumulative amount already invoiced for the organization, in integer microyuans. Defaults to zero until set by an administrator.
|
|
781
|
+
*/
|
|
782
|
+
invoicedMicroyuans: string;
|
|
783
|
+
/**
|
|
784
|
+
* Net settled spending across all billing categories, including enterprise fees and paid purchases, in integer microyuans. Updated asynchronously. Omitted until the first aggregate is available.
|
|
785
|
+
*/
|
|
786
|
+
lifetimeSpentMicroyuans?: string;
|
|
753
787
|
orgId: number;
|
|
754
788
|
rechargeAmountMicroyuans: number;
|
|
755
789
|
totalAmountMicroyuans: number;
|
|
@@ -1139,6 +1173,53 @@ export type ClientMCPToolResult = {
|
|
|
1139
1173
|
isError?: boolean;
|
|
1140
1174
|
structuredContent?: Record<string, any>;
|
|
1141
1175
|
};
|
|
1176
|
+
type CloudDriveCapacity = {
|
|
1177
|
+
/**
|
|
1178
|
+
* Combined access fee at the usage-day tariff in decimal microyuans before organization-level rounding
|
|
1179
|
+
*/
|
|
1180
|
+
accessMicroyuans: string;
|
|
1181
|
+
/**
|
|
1182
|
+
* Last observed closing size on the selected UTC usage day
|
|
1183
|
+
*/
|
|
1184
|
+
closingBytes?: number;
|
|
1185
|
+
driveKind: string;
|
|
1186
|
+
/**
|
|
1187
|
+
* Owning user or resource ID when known
|
|
1188
|
+
*/
|
|
1189
|
+
entityId: string;
|
|
1190
|
+
externalBytes: number;
|
|
1191
|
+
/**
|
|
1192
|
+
* Current logical capacity
|
|
1193
|
+
*/
|
|
1194
|
+
logicalBytes: number;
|
|
1195
|
+
/**
|
|
1196
|
+
* Current personal drive bytes in a member total
|
|
1197
|
+
*/
|
|
1198
|
+
personalBytes?: number;
|
|
1199
|
+
rootId: string;
|
|
1200
|
+
/**
|
|
1201
|
+
* Current combined session drive bytes in a member total
|
|
1202
|
+
*/
|
|
1203
|
+
sessionBytes?: number;
|
|
1204
|
+
/**
|
|
1205
|
+
* Member name for a user drive
|
|
1206
|
+
*/
|
|
1207
|
+
userName: string;
|
|
1208
|
+
};
|
|
1209
|
+
type CloudDriveCategoryCapacity = {
|
|
1210
|
+
driveKind: BillingCloudDriveKind;
|
|
1211
|
+
logicalBytes: number;
|
|
1212
|
+
};
|
|
1213
|
+
type CloudDriveCapacitySummary = {
|
|
1214
|
+
/**
|
|
1215
|
+
* Current bytes by billed drive kind. Member drives include sessions. Empty while the snapshot is pending.
|
|
1216
|
+
*/
|
|
1217
|
+
categories: Array<CloudDriveCategoryCapacity>;
|
|
1218
|
+
/**
|
|
1219
|
+
* Current logical bytes across the organization. Omitted until the first snapshot arrives.
|
|
1220
|
+
*/
|
|
1221
|
+
totalBytes?: number;
|
|
1222
|
+
};
|
|
1142
1223
|
type CloudDriveFnode = {
|
|
1143
1224
|
/**
|
|
1144
1225
|
* MIME type of the file, when known. Null for directories.
|
|
@@ -1169,7 +1250,7 @@ type CloudDriveFnode = {
|
|
|
1169
1250
|
*/
|
|
1170
1251
|
sha256?: string | null;
|
|
1171
1252
|
/**
|
|
1172
|
-
*
|
|
1253
|
+
* Logical bytes for files and the eventually consistent total size for directories.
|
|
1173
1254
|
*/
|
|
1174
1255
|
size?: number | null;
|
|
1175
1256
|
/**
|
|
@@ -1181,6 +1262,20 @@ type CloudDriveFnode = {
|
|
|
1181
1262
|
*/
|
|
1182
1263
|
updatedAt: string;
|
|
1183
1264
|
};
|
|
1265
|
+
type CloudDriveInvoiceItem = {
|
|
1266
|
+
amountMicroyuans: number;
|
|
1267
|
+
earnedMicroyuans: number;
|
|
1268
|
+
getRequests: number;
|
|
1269
|
+
giftMicroyuans: number;
|
|
1270
|
+
offpeakBytes: number;
|
|
1271
|
+
peakBytes: number;
|
|
1272
|
+
priceDay: string;
|
|
1273
|
+
putRequests: number;
|
|
1274
|
+
rechargeMicroyuans: number;
|
|
1275
|
+
sourceOrgId: number;
|
|
1276
|
+
storageByteMicroseconds: string;
|
|
1277
|
+
usageDay: string;
|
|
1278
|
+
};
|
|
1184
1279
|
type CloudDriveSettings = {
|
|
1185
1280
|
/**
|
|
1186
1281
|
* Whether clients should show the `.tmp` area in file listings for this drive.
|
|
@@ -1191,6 +1286,20 @@ type CloudDriveSettings = {
|
|
|
1191
1286
|
*/
|
|
1192
1287
|
trashCleanupIntervalDays?: number | null;
|
|
1193
1288
|
};
|
|
1289
|
+
type CloudSandbox = {
|
|
1290
|
+
billedAmountMicroyuans: number;
|
|
1291
|
+
deviceKey: string;
|
|
1292
|
+
hostname: string;
|
|
1293
|
+
id: string;
|
|
1294
|
+
/**
|
|
1295
|
+
* Reason the cloud sandbox can no longer be used or resumed.
|
|
1296
|
+
*/
|
|
1297
|
+
lossReason?: string;
|
|
1298
|
+
name: string;
|
|
1299
|
+
ports: Array<number>;
|
|
1300
|
+
serviceUserId: number;
|
|
1301
|
+
state: string;
|
|
1302
|
+
};
|
|
1194
1303
|
type CloudSkillMetadata = {
|
|
1195
1304
|
/**
|
|
1196
1305
|
* Public file UUID for the skill avatar, if present.
|
|
@@ -1490,6 +1599,10 @@ type CreateAgentRequest = {
|
|
|
1490
1599
|
* Core system instruction that defines the agent's duties.
|
|
1491
1600
|
*/
|
|
1492
1601
|
dutyPrompt: string;
|
|
1602
|
+
/**
|
|
1603
|
+
* Optional initial directory group. Requires agent-groups:manage in addition to agent creation permission. Omission places the agent at the root.
|
|
1604
|
+
*/
|
|
1605
|
+
groupId?: string;
|
|
1493
1606
|
/**
|
|
1494
1607
|
* Model ID the agent should use for new sessions.
|
|
1495
1608
|
*/
|
|
@@ -1503,6 +1616,15 @@ type CreateAgentRequest = {
|
|
|
1503
1616
|
*/
|
|
1504
1617
|
uniqueKey: string;
|
|
1505
1618
|
};
|
|
1619
|
+
type ClientMCPToolDefinition = {
|
|
1620
|
+
description: string;
|
|
1621
|
+
inputSchema: Record<string, any>;
|
|
1622
|
+
name: string;
|
|
1623
|
+
};
|
|
1624
|
+
type InitialClientMCP = {
|
|
1625
|
+
namespace: string;
|
|
1626
|
+
tools: Array<ClientMCPToolDefinition>;
|
|
1627
|
+
};
|
|
1506
1628
|
type CreateAgentSession = {
|
|
1507
1629
|
/**
|
|
1508
1630
|
* Agent UUID to run.
|
|
@@ -1516,6 +1638,7 @@ type CreateAgentSession = {
|
|
|
1516
1638
|
* Legacy compatibility field for temporary attachment paths. New clients should use `attachmentPaths`.
|
|
1517
1639
|
*/
|
|
1518
1640
|
attachmentTmpPaths?: Array<string>;
|
|
1641
|
+
initialClientMcp?: InitialClientMCP;
|
|
1519
1642
|
/**
|
|
1520
1643
|
* Optional model ID to use for the session. If omitted, the agent model is used.
|
|
1521
1644
|
*/
|
|
@@ -1574,9 +1697,9 @@ type CreateChannelMessageResult = {
|
|
|
1574
1697
|
};
|
|
1575
1698
|
type ChannelSubjectRef = {
|
|
1576
1699
|
/**
|
|
1577
|
-
*
|
|
1700
|
+
* Users accept namespace/username or a positive numeric ID. Agents use a UUID.
|
|
1578
1701
|
*/
|
|
1579
|
-
subjectId: string;
|
|
1702
|
+
subjectId: (string | number);
|
|
1580
1703
|
subjectType: ChannelSubjectType;
|
|
1581
1704
|
};
|
|
1582
1705
|
type CreateChannelRequest = {
|
|
@@ -1594,12 +1717,35 @@ type CreateChannelRequest = {
|
|
|
1594
1717
|
invitees: Array<ChannelSubjectRef>;
|
|
1595
1718
|
type: ChannelType;
|
|
1596
1719
|
};
|
|
1720
|
+
type CreateCLIRequest = {
|
|
1721
|
+
codeChallenge: string;
|
|
1722
|
+
redirectUri: string;
|
|
1723
|
+
scopes: Array<string>;
|
|
1724
|
+
state: string;
|
|
1725
|
+
};
|
|
1597
1726
|
type CreateCloudDriveDirectoryRequest = {
|
|
1598
1727
|
/**
|
|
1599
1728
|
* Canonical destination path of the directory to create. Unicode text; percent sequences and plus signs are literal filename characters, not URL encoding.
|
|
1600
1729
|
*/
|
|
1601
1730
|
path: string;
|
|
1602
1731
|
};
|
|
1732
|
+
type CreateCloudSandboxRequest = {
|
|
1733
|
+
/**
|
|
1734
|
+
* Optional client-generated resource UUID for tracking asynchronous creation.
|
|
1735
|
+
*/
|
|
1736
|
+
id?: string;
|
|
1737
|
+
name: string;
|
|
1738
|
+
ports?: Array<number>;
|
|
1739
|
+
/**
|
|
1740
|
+
* Qualified name or positive numeric ID of an active service user in this organization. Omit to allocate a service user.
|
|
1741
|
+
*/
|
|
1742
|
+
serviceUserId?: (string | number);
|
|
1743
|
+
snapshotId?: string;
|
|
1744
|
+
/**
|
|
1745
|
+
* Sandbox resource SKU
|
|
1746
|
+
*/
|
|
1747
|
+
spec?: string;
|
|
1748
|
+
};
|
|
1603
1749
|
type CreateCredentialRequest = {
|
|
1604
1750
|
/**
|
|
1605
1751
|
* Human-readable description shown in management UIs.
|
|
@@ -1727,6 +1873,10 @@ type CreateSnapshotRequest = {
|
|
|
1727
1873
|
*/
|
|
1728
1874
|
annotations?: Record<string, any>;
|
|
1729
1875
|
description: string;
|
|
1876
|
+
/**
|
|
1877
|
+
* Optional client-generated UUID for tracking asynchronous capture.
|
|
1878
|
+
*/
|
|
1879
|
+
id?: string;
|
|
1730
1880
|
name: string;
|
|
1731
1881
|
};
|
|
1732
1882
|
type CreateSSORequest = {
|
|
@@ -1978,6 +2128,11 @@ type EnterprisePermissionPolicySummary = {
|
|
|
1978
2128
|
type EnterprisePermissionRules = {
|
|
1979
2129
|
rules: Array<EnterprisePermissionRule>;
|
|
1980
2130
|
};
|
|
2131
|
+
type ExchangeCLICodeRequest = {
|
|
2132
|
+
code: string;
|
|
2133
|
+
codeVerifier: string;
|
|
2134
|
+
redirectUri: string;
|
|
2135
|
+
};
|
|
1981
2136
|
type ExchangeSSOCodeRequest = {
|
|
1982
2137
|
appId: string;
|
|
1983
2138
|
code: string;
|
|
@@ -2016,11 +2171,6 @@ type GiftTopupRequest = {
|
|
|
2016
2171
|
amountMicroyuans: number;
|
|
2017
2172
|
note?: string;
|
|
2018
2173
|
};
|
|
2019
|
-
type ClientMCPToolDefinition = {
|
|
2020
|
-
description: string;
|
|
2021
|
-
inputSchema: Record<string, any>;
|
|
2022
|
-
name: string;
|
|
2023
|
-
};
|
|
2024
2174
|
type InstallClientMCP = {
|
|
2025
2175
|
tools: Array<ClientMCPToolDefinition>;
|
|
2026
2176
|
};
|
|
@@ -2055,9 +2205,9 @@ type InvitationCodeListResponse = {
|
|
|
2055
2205
|
};
|
|
2056
2206
|
type InviteChannelMemberRequest = {
|
|
2057
2207
|
/**
|
|
2058
|
-
*
|
|
2208
|
+
* Users accept namespace/username or a positive numeric ID. Agents use a UUID.
|
|
2059
2209
|
*/
|
|
2060
|
-
subjectId: string;
|
|
2210
|
+
subjectId: (string | number);
|
|
2061
2211
|
subjectType: ChannelSubjectType;
|
|
2062
2212
|
};
|
|
2063
2213
|
type LlmModelPermissions = {
|
|
@@ -2274,6 +2424,9 @@ type MCPManageResult = {
|
|
|
2274
2424
|
updated_at?: string;
|
|
2275
2425
|
user_id?: number | null;
|
|
2276
2426
|
};
|
|
2427
|
+
type MoveAgentToGroupRequest = {
|
|
2428
|
+
groupId?: string | null;
|
|
2429
|
+
};
|
|
2277
2430
|
type MoveCloudDriveFnodeRequest = {
|
|
2278
2431
|
/**
|
|
2279
2432
|
* Canonical destination path to move to. Unicode text; percent sequences and plus signs are literal filename characters, not URL encoding.
|
|
@@ -2398,7 +2551,7 @@ type OrgGroup = {
|
|
|
2398
2551
|
userIds: Array<number>;
|
|
2399
2552
|
};
|
|
2400
2553
|
type OrgGroupMembersRequest = {
|
|
2401
|
-
userIds: Array<number>;
|
|
2554
|
+
userIds: Array<(string | number)>;
|
|
2402
2555
|
};
|
|
2403
2556
|
type OrgGroupRequest = {
|
|
2404
2557
|
name: string;
|
|
@@ -2441,7 +2594,7 @@ type OrgLlmSettings = {
|
|
|
2441
2594
|
*/
|
|
2442
2595
|
agentOverrideModelId?: string | null;
|
|
2443
2596
|
/**
|
|
2444
|
-
* System or organization-owned model for
|
|
2597
|
+
* System or organization-owned model for read_images and read_video when the session model cannot process images. Requires imageInput. Null uses the platform default.
|
|
2445
2598
|
*/
|
|
2446
2599
|
imageModelId?: string | null;
|
|
2447
2600
|
/**
|
|
@@ -2490,6 +2643,10 @@ type OrgUser = {
|
|
|
2490
2643
|
* Bound phone number, if present.
|
|
2491
2644
|
*/
|
|
2492
2645
|
phone?: string;
|
|
2646
|
+
/**
|
|
2647
|
+
* Unique organization namespace/username for this member. Use this value in user-targeted operations.
|
|
2648
|
+
*/
|
|
2649
|
+
qualifiedName?: string;
|
|
2493
2650
|
/**
|
|
2494
2651
|
* Earliest time an owner may reactivate the account, 24 hours after deactivation.
|
|
2495
2652
|
*/
|
|
@@ -2786,6 +2943,10 @@ type RecruitAgentRequest = {
|
|
|
2786
2943
|
*/
|
|
2787
2944
|
displayName?: string;
|
|
2788
2945
|
};
|
|
2946
|
+
type RefreshCLITokensRequest = {
|
|
2947
|
+
refreshToken: string;
|
|
2948
|
+
requestId: string;
|
|
2949
|
+
};
|
|
2789
2950
|
type RefreshSSOTokensRequest = {
|
|
2790
2951
|
appId: string;
|
|
2791
2952
|
refreshToken: string;
|
|
@@ -2861,6 +3022,9 @@ type RenameCloudDriveFnodeRequest = {
|
|
|
2861
3022
|
*/
|
|
2862
3023
|
path: string;
|
|
2863
3024
|
};
|
|
3025
|
+
type RenameCloudSandboxRequest = {
|
|
3026
|
+
name: string;
|
|
3027
|
+
};
|
|
2864
3028
|
type ReplaceCloudSkillRequest = {
|
|
2865
3029
|
/**
|
|
2866
3030
|
* Readable canonical cloud-drive directory that atomically replaces the agent-repo skill.
|
|
@@ -2882,6 +3046,9 @@ type RestoreCloudDriveFnodeRequest = {
|
|
|
2882
3046
|
*/
|
|
2883
3047
|
path: string;
|
|
2884
3048
|
};
|
|
3049
|
+
type RevokeCLIGrantRequest = {
|
|
3050
|
+
refreshToken: string;
|
|
3051
|
+
};
|
|
2885
3052
|
type RotateDeviceTokenResult = {
|
|
2886
3053
|
device: Device;
|
|
2887
3054
|
token: string;
|
|
@@ -2892,6 +3059,10 @@ type RunSandboxCommandRequest = {
|
|
|
2892
3059
|
* Shell command to run inside the sandbox.
|
|
2893
3060
|
*/
|
|
2894
3061
|
command: string;
|
|
3062
|
+
/**
|
|
3063
|
+
* Environment variables for this command invocation.
|
|
3064
|
+
*/
|
|
3065
|
+
env?: Record<string, string>;
|
|
2895
3066
|
/**
|
|
2896
3067
|
* Optional absolute path to the shell binary used to execute command.
|
|
2897
3068
|
*/
|
|
@@ -2919,6 +3090,10 @@ type SandboxCommandResult = {
|
|
|
2919
3090
|
*/
|
|
2920
3091
|
stdout: string;
|
|
2921
3092
|
};
|
|
3093
|
+
type SaveAgentGroupRequest = {
|
|
3094
|
+
name: string;
|
|
3095
|
+
parentId?: string | null;
|
|
3096
|
+
};
|
|
2922
3097
|
type ScheduledHttpRequest = {
|
|
2923
3098
|
/**
|
|
2924
3099
|
* UTF-8 body template, at most 65536 bytes both before and after secret substitution. JSON bodies are substituted structurally and re-encoded.
|
|
@@ -3021,6 +3196,30 @@ type ServiceUser = {
|
|
|
3021
3196
|
displayName: string;
|
|
3022
3197
|
id: number;
|
|
3023
3198
|
name: string;
|
|
3199
|
+
/**
|
|
3200
|
+
* Current organization namespace and service username separated by a slash. Use this value in bindings.
|
|
3201
|
+
*/
|
|
3202
|
+
qualifiedName?: string;
|
|
3203
|
+
/**
|
|
3204
|
+
* Stable service username within the organization.
|
|
3205
|
+
*/
|
|
3206
|
+
username: string;
|
|
3207
|
+
};
|
|
3208
|
+
type SessionSubscription = {
|
|
3209
|
+
createdAt: string;
|
|
3210
|
+
deviceId?: string;
|
|
3211
|
+
executionId?: string;
|
|
3212
|
+
id: string;
|
|
3213
|
+
lastReceivedAt?: string;
|
|
3214
|
+
publicationId: string;
|
|
3215
|
+
sourceSessionId?: string;
|
|
3216
|
+
status: "waiting" | "received";
|
|
3217
|
+
type: "subagent" | "background_terminal";
|
|
3218
|
+
waitingSince?: string;
|
|
3219
|
+
};
|
|
3220
|
+
type SessionSubscriptionPage = {
|
|
3221
|
+
items: Array<SessionSubscription>;
|
|
3222
|
+
nextCursor?: string;
|
|
3024
3223
|
};
|
|
3025
3224
|
type SetDeviceDNSAliasRequest = {
|
|
3026
3225
|
/**
|
|
@@ -3180,6 +3379,50 @@ type SharedAgentSessionToken = {
|
|
|
3180
3379
|
*/
|
|
3181
3380
|
tokenType: "Bearer";
|
|
3182
3381
|
};
|
|
3382
|
+
type SideQueryRequest = {
|
|
3383
|
+
input: string;
|
|
3384
|
+
};
|
|
3385
|
+
type AssistantUsageCost = {
|
|
3386
|
+
/**
|
|
3387
|
+
* Cost attributed to cached input tokens.
|
|
3388
|
+
*/
|
|
3389
|
+
cacheInput?: number;
|
|
3390
|
+
/**
|
|
3391
|
+
* Cost attributed to input tokens.
|
|
3392
|
+
*/
|
|
3393
|
+
input?: number;
|
|
3394
|
+
/**
|
|
3395
|
+
* Cost attributed to output tokens.
|
|
3396
|
+
*/
|
|
3397
|
+
output?: number;
|
|
3398
|
+
/**
|
|
3399
|
+
* Total cost across all token categories.
|
|
3400
|
+
*/
|
|
3401
|
+
total?: number;
|
|
3402
|
+
};
|
|
3403
|
+
type AssistantUsage = {
|
|
3404
|
+
/**
|
|
3405
|
+
* Cached input token count.
|
|
3406
|
+
*/
|
|
3407
|
+
cacheInput?: number;
|
|
3408
|
+
cost?: AssistantUsageCost;
|
|
3409
|
+
/**
|
|
3410
|
+
* Input token count.
|
|
3411
|
+
*/
|
|
3412
|
+
input?: number;
|
|
3413
|
+
/**
|
|
3414
|
+
* Output token count.
|
|
3415
|
+
*/
|
|
3416
|
+
output?: number;
|
|
3417
|
+
/**
|
|
3418
|
+
* Total token count across input, output, and cache categories.
|
|
3419
|
+
*/
|
|
3420
|
+
totalTokens?: number;
|
|
3421
|
+
};
|
|
3422
|
+
type SideQueryResponse = {
|
|
3423
|
+
reply: string;
|
|
3424
|
+
usage?: AssistantUsage;
|
|
3425
|
+
};
|
|
3183
3426
|
type SnapshotProvider = "acs_e2b";
|
|
3184
3427
|
type Snapshot = {
|
|
3185
3428
|
/**
|
|
@@ -3233,22 +3476,42 @@ type SSOAuthorization = {
|
|
|
3233
3476
|
redirectUrl: string;
|
|
3234
3477
|
};
|
|
3235
3478
|
type SSOGrant = {
|
|
3236
|
-
appId
|
|
3479
|
+
appId?: string;
|
|
3237
3480
|
appName: string;
|
|
3481
|
+
/**
|
|
3482
|
+
* Built-in public client identifier for CLI grants.
|
|
3483
|
+
*/
|
|
3484
|
+
clientId?: string;
|
|
3238
3485
|
createdAt: string;
|
|
3239
3486
|
expiresAt: string;
|
|
3240
3487
|
id: string;
|
|
3241
3488
|
orgId: number;
|
|
3489
|
+
/**
|
|
3490
|
+
* Cloud permissions requested by the CLI.
|
|
3491
|
+
*/
|
|
3492
|
+
scopes?: Array<string>;
|
|
3242
3493
|
userId: number;
|
|
3243
3494
|
};
|
|
3244
3495
|
type SSORequest = {
|
|
3245
|
-
appId
|
|
3496
|
+
appId?: string;
|
|
3246
3497
|
appName: string;
|
|
3247
|
-
appOrgId
|
|
3498
|
+
appOrgId?: number;
|
|
3499
|
+
/**
|
|
3500
|
+
* Local CLI callback containing only the request state and access_denied.
|
|
3501
|
+
*/
|
|
3502
|
+
cancelUri?: string;
|
|
3503
|
+
/**
|
|
3504
|
+
* Built-in public client identifier for CLI grants.
|
|
3505
|
+
*/
|
|
3506
|
+
clientId?: string;
|
|
3248
3507
|
expiresAt: string;
|
|
3249
3508
|
id: string;
|
|
3250
3509
|
mode: SSOMode;
|
|
3251
3510
|
redirectUri: string;
|
|
3511
|
+
/**
|
|
3512
|
+
* Cloud permissions requested by the CLI.
|
|
3513
|
+
*/
|
|
3514
|
+
scopes?: Array<string>;
|
|
3252
3515
|
};
|
|
3253
3516
|
type SSOTokens = {
|
|
3254
3517
|
/**
|
|
@@ -3266,7 +3529,7 @@ type SSOTokens = {
|
|
|
3266
3529
|
orgId: number;
|
|
3267
3530
|
refreshExpiresAt?: string;
|
|
3268
3531
|
/**
|
|
3269
|
-
*
|
|
3532
|
+
* Org-user refresh credential. Cloud apps use /sso/refresh and the CLI uses /sso/cli/refresh.
|
|
3270
3533
|
*/
|
|
3271
3534
|
refreshToken?: string;
|
|
3272
3535
|
userId: number;
|
|
@@ -3964,6 +4227,69 @@ declare class DefaultService {
|
|
|
3964
4227
|
agentId: string;
|
|
3965
4228
|
requestBody: UpdateAgentDelegationSettingsRequest;
|
|
3966
4229
|
}): CancelablePromise<Agent>;
|
|
4230
|
+
/**
|
|
4231
|
+
* List direct children or search the organization's agent directory
|
|
4232
|
+
* Groups precede agents, ordered by name and ID. Search covers the whole directory. Cursors are bound to the authenticated user, organization and query.
|
|
4233
|
+
* @returns AgentDirectoryPage Directory page
|
|
4234
|
+
* @throws ApiError
|
|
4235
|
+
*/
|
|
4236
|
+
listAgentDirectory({ parentId, q, cursor, limit, }: {
|
|
4237
|
+
parentId?: string;
|
|
4238
|
+
q?: string;
|
|
4239
|
+
cursor?: string;
|
|
4240
|
+
limit?: number;
|
|
4241
|
+
}): CancelablePromise<AgentDirectoryPage>;
|
|
4242
|
+
/**
|
|
4243
|
+
* Locate an agent and its ancestors even outside loaded pages
|
|
4244
|
+
* @returns AgentDirectoryEntry Root-to-leaf path, ending with the agent
|
|
4245
|
+
* @throws ApiError
|
|
4246
|
+
*/
|
|
4247
|
+
getAgentDirectoryPath({ agentId, }: {
|
|
4248
|
+
agentId: string;
|
|
4249
|
+
}): CancelablePromise<Array<AgentDirectoryEntry>>;
|
|
4250
|
+
/**
|
|
4251
|
+
* Locate a group and its ancestors
|
|
4252
|
+
* @returns AgentDirectoryEntry Root-to-group path
|
|
4253
|
+
* @throws ApiError
|
|
4254
|
+
*/
|
|
4255
|
+
getAgentGroupDirectoryPath({ groupId, }: {
|
|
4256
|
+
groupId: string;
|
|
4257
|
+
}): CancelablePromise<Array<AgentDirectoryEntry>>;
|
|
4258
|
+
/**
|
|
4259
|
+
* List the authenticated user's favorite agents in the current organization
|
|
4260
|
+
* @returns AgentDirectoryPage Favorites page
|
|
4261
|
+
* @throws ApiError
|
|
4262
|
+
*/
|
|
4263
|
+
listAgentFavorites({ cursor, limit, }: {
|
|
4264
|
+
cursor?: string;
|
|
4265
|
+
limit?: number;
|
|
4266
|
+
}): CancelablePromise<AgentDirectoryPage>;
|
|
4267
|
+
/**
|
|
4268
|
+
* Create an organization-shared agent group
|
|
4269
|
+
* @returns AgentDirectoryEntry Group created
|
|
4270
|
+
* @throws ApiError
|
|
4271
|
+
*/
|
|
4272
|
+
createAgentGroup({ requestBody, }: {
|
|
4273
|
+
requestBody: SaveAgentGroupRequest;
|
|
4274
|
+
}): CancelablePromise<AgentDirectoryEntry>;
|
|
4275
|
+
/**
|
|
4276
|
+
* Dissolve a group and promote its direct children to its parent
|
|
4277
|
+
* Preserves agents, descendant groups, sessions and personal favorites.
|
|
4278
|
+
* @returns void
|
|
4279
|
+
* @throws ApiError
|
|
4280
|
+
*/
|
|
4281
|
+
dissolveAgentGroup({ groupId, }: {
|
|
4282
|
+
groupId: string;
|
|
4283
|
+
}): CancelablePromise<void>;
|
|
4284
|
+
/**
|
|
4285
|
+
* Rename or move a group, including all descendants
|
|
4286
|
+
* @returns AgentDirectoryEntry Group updated
|
|
4287
|
+
* @throws ApiError
|
|
4288
|
+
*/
|
|
4289
|
+
updateAgentGroup({ groupId, requestBody, }: {
|
|
4290
|
+
groupId: string;
|
|
4291
|
+
requestBody: SaveAgentGroupRequest;
|
|
4292
|
+
}): CancelablePromise<AgentDirectoryEntry>;
|
|
3967
4293
|
/**
|
|
3968
4294
|
* Delete agent repository
|
|
3969
4295
|
* Soft delete a creator-owned agent repository. Recruited instances in other orgs keep historical data but can no longer start new work.
|
|
@@ -4166,7 +4492,7 @@ declare class DefaultService {
|
|
|
4166
4492
|
}): CancelablePromise<AgentSession>;
|
|
4167
4493
|
/**
|
|
4168
4494
|
* Continue agent session
|
|
4169
|
-
* Append a new user prompt to an
|
|
4495
|
+
* Append a new user prompt to an unarchived managed agent session. Active sessions queue the input; finished, interrupted and failed sessions start a new run over the existing history.
|
|
4170
4496
|
* @returns AgentSession Agent session continued
|
|
4171
4497
|
* @throws ApiError
|
|
4172
4498
|
*/
|
|
@@ -4252,8 +4578,8 @@ declare class DefaultService {
|
|
|
4252
4578
|
requestBody: UpdateAgentSessionLlmModel;
|
|
4253
4579
|
}): CancelablePromise<AgentSession>;
|
|
4254
4580
|
/**
|
|
4255
|
-
* Resume an interrupted agent session
|
|
4256
|
-
* Continue unfinished work without adding a user prompt. Starts a new run linked to the stopped run. Already running or otherwise ineligible sessions return 409.
|
|
4581
|
+
* Resume an interrupted or failed agent session
|
|
4582
|
+
* Continue unfinished work in an unarchived interrupted or failed session without adding a user prompt. Starts a new run linked to the stopped run, preserving its history and completed tool results. Already running or otherwise ineligible sessions return 409.
|
|
4257
4583
|
* @returns AgentSession Recovery accepted
|
|
4258
4584
|
* @throws ApiError
|
|
4259
4585
|
*/
|
|
@@ -4262,7 +4588,7 @@ declare class DefaultService {
|
|
|
4262
4588
|
}): CancelablePromise<AgentSession>;
|
|
4263
4589
|
/**
|
|
4264
4590
|
* Resume an agent session and its descendants
|
|
4265
|
-
* Resume unarchived interrupted sessions in the subtree rooted at sessionId, deepest level first and root last. Traverse through inactive and archived ancestors. Other session states are skipped. Each resume uses the existing recovery, model, permission and quota checks. Execution stops on the first error; earlier successful resumes remain applied and a retry skips them.
|
|
4591
|
+
* Resume unarchived interrupted or failed sessions in the subtree rooted at sessionId, deepest level first and root last. Traverse through inactive and archived ancestors. Other session states are skipped. Each resume uses the existing recovery, model, permission and quota checks. Execution stops on the first error; earlier successful resumes remain applied and a retry skips them.
|
|
4266
4592
|
* @returns AgentSessionTreeActionResult All eligible sessions resumed
|
|
4267
4593
|
* @throws ApiError
|
|
4268
4594
|
*/
|
|
@@ -4311,6 +4637,27 @@ declare class DefaultService {
|
|
|
4311
4637
|
rotateAgentSessionShare({ sessionId, }: {
|
|
4312
4638
|
sessionId: string;
|
|
4313
4639
|
}): CancelablePromise<SharedAgentSessionToken>;
|
|
4640
|
+
/**
|
|
4641
|
+
* Ask an ephemeral question about a session
|
|
4642
|
+
* Replays the latest forkable context once, with tool calls disabled. Does not create a session, run, or session event. Usage is billed separately as side_query.
|
|
4643
|
+
* @returns SideQueryResponse Answer and provider token usage
|
|
4644
|
+
* @throws ApiError
|
|
4645
|
+
*/
|
|
4646
|
+
sideQueryAgentSession({ sessionId, requestBody, }: {
|
|
4647
|
+
sessionId: string;
|
|
4648
|
+
requestBody: SideQueryRequest;
|
|
4649
|
+
}): CancelablePromise<SideQueryResponse>;
|
|
4650
|
+
/**
|
|
4651
|
+
* List current session subscriptions
|
|
4652
|
+
* Read non-cancelled subscriptions from the primary database, ordered by creation time and ID. Refresh explicitly to see changes.
|
|
4653
|
+
* @returns SessionSubscriptionPage Current subscriptions; cancelled subscriptions are excluded.
|
|
4654
|
+
* @throws ApiError
|
|
4655
|
+
*/
|
|
4656
|
+
listAgentSessionSubscriptions({ sessionId, cursor, limit, }: {
|
|
4657
|
+
sessionId: string;
|
|
4658
|
+
cursor?: string;
|
|
4659
|
+
limit?: number;
|
|
4660
|
+
}): CancelablePromise<SessionSubscriptionPage>;
|
|
4314
4661
|
/**
|
|
4315
4662
|
* Rename agent session
|
|
4316
4663
|
* Change the title of a session owned by the current user in the current organization, including archived sessions. A manually set title is preserved when automatic title generation finishes.
|
|
@@ -4451,6 +4798,31 @@ declare class DefaultService {
|
|
|
4451
4798
|
agentId: string;
|
|
4452
4799
|
deviceId: string;
|
|
4453
4800
|
}): CancelablePromise<void>;
|
|
4801
|
+
/**
|
|
4802
|
+
* Remove the authenticated user's favorite (idempotent)
|
|
4803
|
+
* @returns void
|
|
4804
|
+
* @throws ApiError
|
|
4805
|
+
*/
|
|
4806
|
+
removeAgentFavorite({ agentId, }: {
|
|
4807
|
+
agentId: string;
|
|
4808
|
+
}): CancelablePromise<void>;
|
|
4809
|
+
/**
|
|
4810
|
+
* Favorite an agent for the authenticated user (idempotent)
|
|
4811
|
+
* @returns void
|
|
4812
|
+
* @throws ApiError
|
|
4813
|
+
*/
|
|
4814
|
+
addAgentFavorite({ agentId, }: {
|
|
4815
|
+
agentId: string;
|
|
4816
|
+
}): CancelablePromise<void>;
|
|
4817
|
+
/**
|
|
4818
|
+
* Move an agent to a group or the root
|
|
4819
|
+
* @returns void
|
|
4820
|
+
* @throws ApiError
|
|
4821
|
+
*/
|
|
4822
|
+
moveAgentToGroup({ agentId, requestBody, }: {
|
|
4823
|
+
agentId: string;
|
|
4824
|
+
requestBody: MoveAgentToGroupRequest;
|
|
4825
|
+
}): CancelablePromise<void>;
|
|
4454
4826
|
/**
|
|
4455
4827
|
* Publish agent
|
|
4456
4828
|
* Set the confirmed third-party token multiplier and publish the agent's main factory settings so other orgs can instantiate it.
|
|
@@ -4629,7 +5001,7 @@ declare class DefaultService {
|
|
|
4629
5001
|
*/
|
|
4630
5002
|
agentId: string;
|
|
4631
5003
|
/**
|
|
4632
|
-
* Inclusive upper bound for
|
|
5004
|
+
* Inclusive upper bound for lastInputAt as Unix microseconds. Omit to start from the most recently used sessions. Use session-history for timestamp-and-ID cursor pagination.
|
|
4633
5005
|
*/
|
|
4634
5006
|
to?: number;
|
|
4635
5007
|
/**
|
|
@@ -4807,9 +5179,43 @@ declare class DefaultService {
|
|
|
4807
5179
|
refreshOrgToken({ requestBody, }: {
|
|
4808
5180
|
requestBody: RefreshTokenRequest;
|
|
4809
5181
|
}): CancelablePromise<OrgAuthCredentials>;
|
|
5182
|
+
/**
|
|
5183
|
+
* List preaggregated member and functional drive capacity and daily access usage for the authenticated organization
|
|
5184
|
+
* @returns CloudDriveCapacity Drives in ascending root ID order with current logical bytes, the last sample and the combined access fee for the selected UTC day
|
|
5185
|
+
* @throws ApiError
|
|
5186
|
+
*/
|
|
5187
|
+
listBillingCloudDriveCapacities({ after, limit, usageDay, driveKind, }: {
|
|
5188
|
+
/**
|
|
5189
|
+
* Last root ID from the previous page
|
|
5190
|
+
*/
|
|
5191
|
+
after?: string;
|
|
5192
|
+
limit?: number;
|
|
5193
|
+
/**
|
|
5194
|
+
* UTC usage day for access fees and the last capacity sample. Defaults to today.
|
|
5195
|
+
*/
|
|
5196
|
+
usageDay?: string;
|
|
5197
|
+
/**
|
|
5198
|
+
* Filter before cursor pagination. Omit for all drives.
|
|
5199
|
+
*/
|
|
5200
|
+
driveKind?: BillingCloudDriveKind;
|
|
5201
|
+
}): CancelablePromise<Array<CloudDriveCapacity>>;
|
|
5202
|
+
/**
|
|
5203
|
+
* Get the authenticated organization's current logical storage total and breakdown by drive kind
|
|
5204
|
+
* @returns CloudDriveCapacitySummary One current organization snapshot, independent of pagination and usage day
|
|
5205
|
+
* @throws ApiError
|
|
5206
|
+
*/
|
|
5207
|
+
getBillingCloudDriveCapacitySummary(): CancelablePromise<CloudDriveCapacitySummary>;
|
|
5208
|
+
/**
|
|
5209
|
+
* Read the current organization's cloud drive invoice for one UTC issue date
|
|
5210
|
+
* @returns CloudDriveInvoiceItem Incremental charges and quantities on this invoice, including late adjustments
|
|
5211
|
+
* @throws ApiError
|
|
5212
|
+
*/
|
|
5213
|
+
getBillingCloudDriveInvoice({ invoiceDay, }: {
|
|
5214
|
+
invoiceDay: string;
|
|
5215
|
+
}): CancelablePromise<Array<CloudDriveInvoiceItem>>;
|
|
4810
5216
|
/**
|
|
4811
5217
|
* Get billing credits
|
|
4812
|
-
* Get current credit balances
|
|
5218
|
+
* Get the current organization's credit balances, lifetime spending, and invoiced and available invoice amounts.
|
|
4813
5219
|
* @returns BillingCredit Billing credits retrieved
|
|
4814
5220
|
* @throws ApiError
|
|
4815
5221
|
*/
|
|
@@ -5379,6 +5785,61 @@ declare class DefaultService {
|
|
|
5379
5785
|
sha256: string;
|
|
5380
5786
|
formData: UploadCloudDriveFileRequest;
|
|
5381
5787
|
}): CancelablePromise<CloudDriveFnode>;
|
|
5788
|
+
/**
|
|
5789
|
+
* List cloud sandboxes
|
|
5790
|
+
* @returns CloudSandbox Organization cloud sandboxes visible to the caller
|
|
5791
|
+
* @throws ApiError
|
|
5792
|
+
*/
|
|
5793
|
+
listCloudSandboxes(): CancelablePromise<Array<CloudSandbox>>;
|
|
5794
|
+
/**
|
|
5795
|
+
* Create and start a persistent cloud sandbox
|
|
5796
|
+
* @returns CloudSandbox Creation accepted
|
|
5797
|
+
* @throws ApiError
|
|
5798
|
+
*/
|
|
5799
|
+
createCloudSandbox({ requestBody, }: {
|
|
5800
|
+
requestBody: CreateCloudSandboxRequest;
|
|
5801
|
+
}): CancelablePromise<CloudSandbox>;
|
|
5802
|
+
/**
|
|
5803
|
+
* Retire a cloud sandbox and release its resources
|
|
5804
|
+
* @returns any Deletion accepted
|
|
5805
|
+
* @throws ApiError
|
|
5806
|
+
*/
|
|
5807
|
+
deleteCloudSandbox({ sandboxId, }: {
|
|
5808
|
+
sandboxId: string;
|
|
5809
|
+
}): CancelablePromise<any>;
|
|
5810
|
+
/**
|
|
5811
|
+
* Get a cloud sandbox
|
|
5812
|
+
* @returns CloudSandbox Cloud sandbox
|
|
5813
|
+
* @throws ApiError
|
|
5814
|
+
*/
|
|
5815
|
+
getCloudSandbox({ sandboxId, }: {
|
|
5816
|
+
sandboxId: string;
|
|
5817
|
+
}): CancelablePromise<CloudSandbox>;
|
|
5818
|
+
/**
|
|
5819
|
+
* Edit the display name
|
|
5820
|
+
* @returns CloudSandbox Updated cloud sandbox
|
|
5821
|
+
* @throws ApiError
|
|
5822
|
+
*/
|
|
5823
|
+
renameCloudSandbox({ sandboxId, requestBody, }: {
|
|
5824
|
+
sandboxId: string;
|
|
5825
|
+
requestBody: RenameCloudSandboxRequest;
|
|
5826
|
+
}): CancelablePromise<CloudSandbox>;
|
|
5827
|
+
/**
|
|
5828
|
+
* Checkpoint a cloud sandbox into deep sleep
|
|
5829
|
+
* @returns any Pause accepted
|
|
5830
|
+
* @throws ApiError
|
|
5831
|
+
*/
|
|
5832
|
+
pauseCloudSandbox({ sandboxId, }: {
|
|
5833
|
+
sandboxId: string;
|
|
5834
|
+
}): CancelablePromise<any>;
|
|
5835
|
+
/**
|
|
5836
|
+
* Explicitly restore a cloud sandbox from deep sleep
|
|
5837
|
+
* @returns any Resume accepted
|
|
5838
|
+
* @throws ApiError
|
|
5839
|
+
*/
|
|
5840
|
+
resumeCloudSandbox({ sandboxId, }: {
|
|
5841
|
+
sandboxId: string;
|
|
5842
|
+
}): CancelablePromise<any>;
|
|
5382
5843
|
/**
|
|
5383
5844
|
* List consent forms
|
|
5384
5845
|
* List consent forms received by the authenticated user in reverse chronological order
|
|
@@ -5951,15 +6412,65 @@ declare class DefaultService {
|
|
|
5951
6412
|
requestBody: CreateManagedAccountRequest;
|
|
5952
6413
|
}): CancelablePromise<ManagedAccountCredentials>;
|
|
5953
6414
|
/**
|
|
5954
|
-
* Deactivate org user
|
|
5955
|
-
* Deactivate
|
|
6415
|
+
* Deactivate org user by qualified name
|
|
6416
|
+
* Deactivate a human organization member. To deactivate a service user, use DELETE /service-users/{namespace}/{username}.
|
|
5956
6417
|
* @returns void
|
|
5957
6418
|
* @throws ApiError
|
|
5958
6419
|
*/
|
|
5959
|
-
|
|
5960
|
-
|
|
5961
|
-
|
|
5962
|
-
|
|
6420
|
+
deleteOrgUserByName({ namespace, username, }: {
|
|
6421
|
+
namespace: string;
|
|
6422
|
+
username: string;
|
|
6423
|
+
}): CancelablePromise<void>;
|
|
6424
|
+
/**
|
|
6425
|
+
* Update a managed member's display name by qualified name
|
|
6426
|
+
* @returns OrgUser Managed member updated
|
|
6427
|
+
* @throws ApiError
|
|
6428
|
+
*/
|
|
6429
|
+
updateManagedOrgUserByName({ namespace, username, requestBody, }: {
|
|
6430
|
+
namespace: string;
|
|
6431
|
+
username: string;
|
|
6432
|
+
requestBody: UpdateCurrentOrgUserRequest;
|
|
6433
|
+
}): CancelablePromise<OrgUser>;
|
|
6434
|
+
/**
|
|
6435
|
+
* Deactivate a managed account by qualified name
|
|
6436
|
+
* Requires the operation RN in enterprise organizations; ordinary organizations require the owner. Stops login, revokes credentials and releases its occupied seat. Repeated deactivation preserves the original cooldown start.
|
|
6437
|
+
* @returns void
|
|
6438
|
+
* @throws ApiError
|
|
6439
|
+
*/
|
|
6440
|
+
deactivateManagedOrgUserByName({ namespace, username, }: {
|
|
6441
|
+
namespace: string;
|
|
6442
|
+
username: string;
|
|
6443
|
+
}): CancelablePromise<void>;
|
|
6444
|
+
/**
|
|
6445
|
+
* Reactivate a managed account by qualified name
|
|
6446
|
+
* Requires the operation RN in enterprise organizations, or the owner in ordinary organizations, at least 24 hours after deactivation. Rechecks quotas and enterprise seats transactionally. Does not reset the password or automatically log in the user.
|
|
6447
|
+
* @returns void
|
|
6448
|
+
* @throws ApiError
|
|
6449
|
+
*/
|
|
6450
|
+
reactivateManagedOrgUserByName({ namespace, username, }: {
|
|
6451
|
+
namespace: string;
|
|
6452
|
+
username: string;
|
|
6453
|
+
}): CancelablePromise<void>;
|
|
6454
|
+
/**
|
|
6455
|
+
* Reset a managed account's password by qualified name
|
|
6456
|
+
* Requires the operation RN in enterprise organizations; ordinary organizations require the owner. Generates a temporary password and revokes existing credentials without changing activation status.
|
|
6457
|
+
* @returns ManagedPasswordReset Temporary password generated
|
|
6458
|
+
* @throws ApiError
|
|
6459
|
+
*/
|
|
6460
|
+
resetManagedOrgUserPasswordByName({ namespace, username, }: {
|
|
6461
|
+
namespace: string;
|
|
6462
|
+
username: string;
|
|
6463
|
+
}): CancelablePromise<ManagedPasswordReset>;
|
|
6464
|
+
/**
|
|
6465
|
+
* Deactivate org user
|
|
6466
|
+
* Deactivate a human organization member. To deactivate a service user, use DELETE /service-users/{namespace}/{username}.
|
|
6467
|
+
* @returns void
|
|
6468
|
+
* @throws ApiError
|
|
6469
|
+
*/
|
|
6470
|
+
deleteOrgUser({ userId, }: {
|
|
6471
|
+
/**
|
|
6472
|
+
* Numeric ID of the human member to deactivate.
|
|
6473
|
+
*/
|
|
5963
6474
|
userId: number;
|
|
5964
6475
|
}): CancelablePromise<void>;
|
|
5965
6476
|
/**
|
|
@@ -6231,6 +6742,69 @@ declare class DefaultService {
|
|
|
6231
6742
|
* @throws ApiError
|
|
6232
6743
|
*/
|
|
6233
6744
|
listOrgQuotas(): CancelablePromise<QuotaListResponse>;
|
|
6745
|
+
/**
|
|
6746
|
+
* Get an enterprise member's daily usage budget by qualified name
|
|
6747
|
+
* Uses the current UTC billing date and all usage categories from the billing aggregates. Only Agent/model admission is limited. Subscription expiry does not remove configured budgets.
|
|
6748
|
+
* @returns UserDailyBudget Current budget and aggregated usage
|
|
6749
|
+
* @throws ApiError
|
|
6750
|
+
*/
|
|
6751
|
+
getUserDailyBudgetByName({ namespace, username, }: {
|
|
6752
|
+
namespace: string;
|
|
6753
|
+
username: string;
|
|
6754
|
+
}): CancelablePromise<UserDailyBudget>;
|
|
6755
|
+
/**
|
|
6756
|
+
* Set an enterprise member's daily usage budget by qualified name
|
|
6757
|
+
* Zero blocks new Agent/model work; omit limitMicroyuans or set it to null for unlimited usage. Settings propagate to other workers within 7 seconds while dependencies are healthy. Usage checks additionally cache billing aggregates for at most 5 seconds. RisingWave lag and already admitted concurrent calls can cause overspending. No automatic replay of stopped work occurs at the next UTC day.
|
|
6758
|
+
* @returns UserDailyBudget Saved budget and current aggregated usage
|
|
6759
|
+
* @throws ApiError
|
|
6760
|
+
*/
|
|
6761
|
+
setUserDailyBudgetByName({ namespace, username, requestBody, }: {
|
|
6762
|
+
namespace: string;
|
|
6763
|
+
username: string;
|
|
6764
|
+
requestBody: SetUserDailyBudgetRequest;
|
|
6765
|
+
}): CancelablePromise<UserDailyBudget>;
|
|
6766
|
+
/**
|
|
6767
|
+
* Get a member's bound policy IDs by qualified name
|
|
6768
|
+
* Requires an enterprise organization and the corresponding enterprise RN permission.
|
|
6769
|
+
* @returns EnterprisePermissionPolicyBindings Get a member's bound policy IDs
|
|
6770
|
+
* @throws ApiError
|
|
6771
|
+
*/
|
|
6772
|
+
getUserEnterprisePermissionPoliciesByName({ namespace, username, }: {
|
|
6773
|
+
namespace: string;
|
|
6774
|
+
username: string;
|
|
6775
|
+
}): CancelablePromise<EnterprisePermissionPolicyBindings>;
|
|
6776
|
+
/**
|
|
6777
|
+
* Replace a member's policy bindings by qualified name
|
|
6778
|
+
* Requires an enterprise organization and the corresponding enterprise RN permission. Atomically replaces all bindings without changing direct user rules. Empty policyIds detaches every policy. Subsequent login or renewal does not restore detached policies.
|
|
6779
|
+
* @returns EnterprisePermissionPolicyBindings Replace a member's policy bindings
|
|
6780
|
+
* @throws ApiError
|
|
6781
|
+
*/
|
|
6782
|
+
replaceUserEnterprisePermissionPoliciesByName({ namespace, username, requestBody, }: {
|
|
6783
|
+
namespace: string;
|
|
6784
|
+
username: string;
|
|
6785
|
+
requestBody: EnterprisePermissionPolicyBindings;
|
|
6786
|
+
}): CancelablePromise<EnterprisePermissionPolicyBindings>;
|
|
6787
|
+
/**
|
|
6788
|
+
* Get a member's enterprise permission rules by qualified name
|
|
6789
|
+
* Requires the corresponding enterprise RN permission. Returns direct user rules only; bound policy rules are evaluated separately. Existing resource access checks still apply.
|
|
6790
|
+
* @returns EnterprisePermissionRules Current rules
|
|
6791
|
+
* @throws ApiError
|
|
6792
|
+
*/
|
|
6793
|
+
getUserEnterprisePermissionsByName({ namespace, username, }: {
|
|
6794
|
+
namespace: string;
|
|
6795
|
+
username: string;
|
|
6796
|
+
}): CancelablePromise<EnterprisePermissionRules>;
|
|
6797
|
+
/**
|
|
6798
|
+
* Replace a member's enterprise permission rules by qualified name
|
|
6799
|
+
* Requires the corresponding enterprise RN permission. Atomically replaces direct user rules without changing policy bindings. Empty rules clear direct grants and denies; bound policies still apply. Deny always overrides allow across all sources. No token refresh is required.
|
|
6800
|
+
* @returns EnterprisePermissionRules Updated rules
|
|
6801
|
+
* @throws ApiError
|
|
6802
|
+
*/
|
|
6803
|
+
replaceUserEnterprisePermissionsByName({ namespace, username, requestBody, }: {
|
|
6804
|
+
namespace: string;
|
|
6805
|
+
username: string;
|
|
6806
|
+
requestBody: EnterprisePermissionRules;
|
|
6807
|
+
}): CancelablePromise<EnterprisePermissionRules>;
|
|
6234
6808
|
/**
|
|
6235
6809
|
* Get an enterprise member's daily usage budget
|
|
6236
6810
|
* Uses the current UTC billing date and all usage categories from the billing aggregates. Only Agent/model admission is limited. Subscription expiry does not remove configured budgets.
|
|
@@ -6541,6 +7115,40 @@ declare class DefaultService {
|
|
|
6541
7115
|
* @throws ApiError
|
|
6542
7116
|
*/
|
|
6543
7117
|
listServiceUsers(): CancelablePromise<Array<ServiceUser>>;
|
|
7118
|
+
/**
|
|
7119
|
+
* Deactivate an organization service user by qualified name
|
|
7120
|
+
* @returns void
|
|
7121
|
+
* @throws ApiError
|
|
7122
|
+
*/
|
|
7123
|
+
deleteServiceUserByName({ namespace, username, }: {
|
|
7124
|
+
namespace: string;
|
|
7125
|
+
username: string;
|
|
7126
|
+
}): CancelablePromise<void>;
|
|
7127
|
+
/**
|
|
7128
|
+
* Get an organization service user by qualified name
|
|
7129
|
+
* @returns ServiceUser Active service identity
|
|
7130
|
+
* @throws ApiError
|
|
7131
|
+
*/
|
|
7132
|
+
getServiceUserByName({ namespace, username, }: {
|
|
7133
|
+
namespace: string;
|
|
7134
|
+
username: string;
|
|
7135
|
+
}): CancelablePromise<ServiceUser>;
|
|
7136
|
+
/**
|
|
7137
|
+
* Deactivate an organization service user by ID
|
|
7138
|
+
* @returns void
|
|
7139
|
+
* @throws ApiError
|
|
7140
|
+
*/
|
|
7141
|
+
deleteServiceUser({ userId, }: {
|
|
7142
|
+
userId: number;
|
|
7143
|
+
}): CancelablePromise<void>;
|
|
7144
|
+
/**
|
|
7145
|
+
* Get an organization service user by ID
|
|
7146
|
+
* @returns ServiceUser Active service identity
|
|
7147
|
+
* @throws ApiError
|
|
7148
|
+
*/
|
|
7149
|
+
getServiceUser({ userId, }: {
|
|
7150
|
+
userId: number;
|
|
7151
|
+
}): CancelablePromise<ServiceUser>;
|
|
6544
7152
|
/**
|
|
6545
7153
|
* Get the shared session selected by a short share key
|
|
6546
7154
|
* Resolve immutable shared-session metadata using a short bearer key that is accepted only by session-share APIs.
|
|
@@ -6664,6 +7272,38 @@ declare class DefaultService {
|
|
|
6664
7272
|
appId: string;
|
|
6665
7273
|
requestBody: SSOAppConfiguration;
|
|
6666
7274
|
}): CancelablePromise<SSOAppConfiguration>;
|
|
7275
|
+
/**
|
|
7276
|
+
* Rotate this CLI grant using its refresh credential
|
|
7277
|
+
* @returns SSOTokens Rotate this CLI grant using its refresh credential
|
|
7278
|
+
* @throws ApiError
|
|
7279
|
+
*/
|
|
7280
|
+
refreshCliTokens({ requestBody, }: {
|
|
7281
|
+
requestBody: RefreshCLITokensRequest;
|
|
7282
|
+
}): CancelablePromise<SSOTokens>;
|
|
7283
|
+
/**
|
|
7284
|
+
* Begin a Leawan CLI login bound to a loopback callback and S256 PKCE
|
|
7285
|
+
* @returns SSORequest Begin a Leawan CLI login bound to a loopback callback and S256 PKCE
|
|
7286
|
+
* @throws ApiError
|
|
7287
|
+
*/
|
|
7288
|
+
createCliRequest({ requestBody, }: {
|
|
7289
|
+
requestBody: CreateCLIRequest;
|
|
7290
|
+
}): CancelablePromise<SSORequest>;
|
|
7291
|
+
/**
|
|
7292
|
+
* Revoke this CLI grant using its refresh credential
|
|
7293
|
+
* @returns void
|
|
7294
|
+
* @throws ApiError
|
|
7295
|
+
*/
|
|
7296
|
+
revokeCliGrant({ requestBody, }: {
|
|
7297
|
+
requestBody: RevokeCLIGrantRequest;
|
|
7298
|
+
}): CancelablePromise<void>;
|
|
7299
|
+
/**
|
|
7300
|
+
* Exchange the CLI authorization code with its original PKCE verifier
|
|
7301
|
+
* @returns SSOTokens Exchange the CLI authorization code with its original PKCE verifier
|
|
7302
|
+
* @throws ApiError
|
|
7303
|
+
*/
|
|
7304
|
+
exchangeCliCode({ requestBody, }: {
|
|
7305
|
+
requestBody: ExchangeCLICodeRequest;
|
|
7306
|
+
}): CancelablePromise<SSOTokens>;
|
|
6667
7307
|
/**
|
|
6668
7308
|
* Revoke a user grant using the application's service identity
|
|
6669
7309
|
* @returns void
|
|
@@ -7060,6 +7700,9 @@ type Deployment = {
|
|
|
7060
7700
|
appId: string;
|
|
7061
7701
|
packageId: string;
|
|
7062
7702
|
state: "pending" | "deploying" | "succeeded" | "failed" | "superseded" | "cancelled";
|
|
7703
|
+
/**
|
|
7704
|
+
* Number of candidates prepared by this rollout. Zero when updating a dormant function.
|
|
7705
|
+
*/
|
|
7063
7706
|
targetReplicas: number;
|
|
7064
7707
|
readyReplicas: number;
|
|
7065
7708
|
attempts: number;
|
|
@@ -7067,13 +7710,17 @@ type Deployment = {
|
|
|
7067
7710
|
createdAt: string;
|
|
7068
7711
|
startedAt?: string;
|
|
7069
7712
|
completedAt?: string;
|
|
7713
|
+
/**
|
|
7714
|
+
* Time this deployment first passed runtime health checks. A successful zero-candidate rollout awaits its first request until verified.
|
|
7715
|
+
*/
|
|
7716
|
+
verifiedAt?: string;
|
|
7070
7717
|
};
|
|
7071
7718
|
type App = {
|
|
7072
|
-
serviceUserId: number;
|
|
7073
7719
|
/**
|
|
7074
|
-
*
|
|
7720
|
+
* Effective enabled and ready domain URL. Prefers an explicit primary, then custom domains, then the platform address; omitted when none are available.
|
|
7075
7721
|
*/
|
|
7076
|
-
|
|
7722
|
+
primaryUrl?: string;
|
|
7723
|
+
serviceUserId: number;
|
|
7077
7724
|
/**
|
|
7078
7725
|
* Configured database bindings; applied to the next deployment.
|
|
7079
7726
|
*/
|
|
@@ -7111,13 +7758,28 @@ type App = {
|
|
|
7111
7758
|
desiredDeploymentId?: string;
|
|
7112
7759
|
deployment?: Deployment;
|
|
7113
7760
|
};
|
|
7761
|
+
type AppCredentialBindingInput = {
|
|
7762
|
+
credentialId: string;
|
|
7763
|
+
};
|
|
7114
7764
|
type NodeMemoryGiB = 2;
|
|
7115
7765
|
type NodeVCPU = 1;
|
|
7116
7766
|
type AppInput = {
|
|
7117
7767
|
/**
|
|
7118
|
-
*
|
|
7768
|
+
* Use a verified root domain from this organization. Omit to use the organization's default root, or just the platform domain when no default is set. The platform URL is always retained.
|
|
7769
|
+
*/
|
|
7770
|
+
rootDomainId?: string;
|
|
7771
|
+
/**
|
|
7772
|
+
* Single DNS label under the selected root domain; omitted prefixes are generated randomly and stored. May also be used with the organization's default root.
|
|
7119
7773
|
*/
|
|
7120
|
-
|
|
7774
|
+
subdomain?: string;
|
|
7775
|
+
/**
|
|
7776
|
+
* Explicitly bypass the organization's default root. Cannot be combined with rootDomainId or subdomain.
|
|
7777
|
+
*/
|
|
7778
|
+
usePlatformDomain?: boolean;
|
|
7779
|
+
/**
|
|
7780
|
+
* Qualified name or positive numeric ID of an active service user in this organization. Omit to allocate a service user.
|
|
7781
|
+
*/
|
|
7782
|
+
serviceUserId?: (string | number);
|
|
7121
7783
|
name: string;
|
|
7122
7784
|
entrypoint?: string;
|
|
7123
7785
|
healthPath?: string;
|
|
@@ -7198,6 +7860,10 @@ type AppSettings = {
|
|
|
7198
7860
|
environment?: Record<string, string>;
|
|
7199
7861
|
};
|
|
7200
7862
|
type AppSummary = {
|
|
7863
|
+
/**
|
|
7864
|
+
* Effective enabled and ready domain URL. Prefers an explicit primary, then custom domains, then the platform address; omitted when none are available.
|
|
7865
|
+
*/
|
|
7866
|
+
primaryUrl?: string;
|
|
7201
7867
|
id: string;
|
|
7202
7868
|
name: string;
|
|
7203
7869
|
hostname: string;
|
|
@@ -7211,17 +7877,100 @@ type AppSummary = {
|
|
|
7211
7877
|
desiredDeploymentId?: string;
|
|
7212
7878
|
deploymentState?: string;
|
|
7213
7879
|
};
|
|
7880
|
+
type CloudAppProfile = {
|
|
7881
|
+
/**
|
|
7882
|
+
* Public display name. Defaults to the source function name.
|
|
7883
|
+
*/
|
|
7884
|
+
displayName: string;
|
|
7885
|
+
/**
|
|
7886
|
+
* Plain text introduction
|
|
7887
|
+
*/
|
|
7888
|
+
description: string;
|
|
7889
|
+
/**
|
|
7890
|
+
* Square image served by the public-files API
|
|
7891
|
+
*/
|
|
7892
|
+
logoPublicFileId?: string;
|
|
7893
|
+
};
|
|
7894
|
+
type CloudApp = {
|
|
7895
|
+
id: string;
|
|
7896
|
+
publisherOrgId: number;
|
|
7897
|
+
/**
|
|
7898
|
+
* Source function name and default installation name
|
|
7899
|
+
*/
|
|
7900
|
+
name: string;
|
|
7901
|
+
profile: CloudAppProfile;
|
|
7902
|
+
/**
|
|
7903
|
+
* Whether the app is listed in the App Marketplace.
|
|
7904
|
+
*/
|
|
7905
|
+
published: boolean;
|
|
7906
|
+
version: string;
|
|
7907
|
+
releaseNumber: number;
|
|
7908
|
+
bundlePath: string;
|
|
7909
|
+
namespace: string;
|
|
7910
|
+
};
|
|
7911
|
+
type CloudAppInstallation = {
|
|
7912
|
+
id: string;
|
|
7913
|
+
/**
|
|
7914
|
+
* This default installation only pins a release. Open it to allocate its function and database.
|
|
7915
|
+
*/
|
|
7916
|
+
awaitingFirstOpen?: boolean;
|
|
7917
|
+
cloudAppId: string;
|
|
7918
|
+
name: string;
|
|
7919
|
+
profile: CloudAppProfile;
|
|
7920
|
+
state: "installing" | "installed" | "updating" | "uninstalling" | "uninstalled";
|
|
7921
|
+
wantedVersion: number;
|
|
7922
|
+
appliedVersion?: number;
|
|
7923
|
+
functionId?: string;
|
|
7924
|
+
databaseId?: string;
|
|
7925
|
+
updateBackupId?: string;
|
|
7926
|
+
uninstallBackupId?: string;
|
|
7927
|
+
restoreBackupId?: string;
|
|
7928
|
+
lastError: string;
|
|
7929
|
+
retainData: boolean;
|
|
7930
|
+
};
|
|
7931
|
+
type CloudAppInstallationList = {
|
|
7932
|
+
items: Array<CloudAppInstallation>;
|
|
7933
|
+
nextCursor?: string;
|
|
7934
|
+
};
|
|
7935
|
+
type CloudAppInstallInput = {
|
|
7936
|
+
name?: string;
|
|
7937
|
+
};
|
|
7938
|
+
type CloudAppList = {
|
|
7939
|
+
items: Array<CloudApp>;
|
|
7940
|
+
nextCursor?: string;
|
|
7941
|
+
};
|
|
7942
|
+
type CloudAppPublishInput = {
|
|
7943
|
+
version: string;
|
|
7944
|
+
/**
|
|
7945
|
+
* Pin the version listed in the App Marketplace to this verified active deployment.
|
|
7946
|
+
*/
|
|
7947
|
+
expectedDeploymentId?: string;
|
|
7948
|
+
};
|
|
7949
|
+
type CloudAppUninstallInput = {
|
|
7950
|
+
retainData?: boolean;
|
|
7951
|
+
};
|
|
7214
7952
|
type DomainDNSRecord = {
|
|
7215
7953
|
type: "CNAME" | "TXT";
|
|
7216
7954
|
name: string;
|
|
7217
7955
|
value: string;
|
|
7218
|
-
purpose: "routing" | "ownership";
|
|
7956
|
+
purpose: "routing" | "ownership" | "certificate";
|
|
7219
7957
|
};
|
|
7220
7958
|
type CustomDomain = {
|
|
7221
7959
|
id: string;
|
|
7222
7960
|
hostname: string;
|
|
7223
7961
|
url: string;
|
|
7224
|
-
|
|
7962
|
+
/**
|
|
7963
|
+
* Uses the organization's shared wildcard certificate; no per-function DNS setup is required
|
|
7964
|
+
*/
|
|
7965
|
+
rootDomainId?: string;
|
|
7966
|
+
state: "pending_dns" | "issuing" | "ready" | "renewing" | "error" | "deleting" | "deleted";
|
|
7967
|
+
/**
|
|
7968
|
+
* User-facing access status, independent of certificate lifecycle state
|
|
7969
|
+
*/
|
|
7970
|
+
status: "pending_verification" | "active" | "disabled";
|
|
7971
|
+
enabled: boolean;
|
|
7972
|
+
isPrimary: boolean;
|
|
7973
|
+
kind: "platform" | "root" | "custom";
|
|
7225
7974
|
dnsRecords: Array<DomainDNSRecord>;
|
|
7226
7975
|
createdAt: string;
|
|
7227
7976
|
verifiedAt?: string;
|
|
@@ -7231,19 +7980,77 @@ type CustomDomain = {
|
|
|
7231
7980
|
lastError: string;
|
|
7232
7981
|
};
|
|
7233
7982
|
type CustomDomainInput = {
|
|
7234
|
-
hostname
|
|
7983
|
+
hostname?: string;
|
|
7984
|
+
rootDomainId?: string;
|
|
7985
|
+
subdomain?: string;
|
|
7235
7986
|
};
|
|
7236
7987
|
type Database = {
|
|
7237
7988
|
id: string;
|
|
7989
|
+
/**
|
|
7990
|
+
* Present for branches. These databases do not support backups or restoration and are deleted when the primary is deleted or rolled back.
|
|
7991
|
+
*/
|
|
7992
|
+
parentDatabaseId?: string;
|
|
7238
7993
|
name: string;
|
|
7239
7994
|
state: string;
|
|
7240
7995
|
/**
|
|
7241
|
-
* Private WS connection string containing access credentials
|
|
7996
|
+
* Private WS connection string containing access credentials. Empty when the database is pending or enterprise policy allows listing without reading the database.
|
|
7242
7997
|
*/
|
|
7243
7998
|
connectionString: string;
|
|
7244
7999
|
};
|
|
8000
|
+
type DatabaseBackup = {
|
|
8001
|
+
id: string;
|
|
8002
|
+
databaseId: string;
|
|
8003
|
+
mode: "offline" | "online";
|
|
8004
|
+
state: "pending" | "ready" | "cancelled" | "failed";
|
|
8005
|
+
createdAt: string;
|
|
8006
|
+
completedAt?: string;
|
|
8007
|
+
/**
|
|
8008
|
+
* Last task failure. Transient failures retry up to the task policy limit; failed backups must be cancelled before retrying with a new backup.
|
|
8009
|
+
*/
|
|
8010
|
+
lastError: string;
|
|
8011
|
+
sizeBytes?: number;
|
|
8012
|
+
sha256?: string;
|
|
8013
|
+
sourceTxid?: number;
|
|
8014
|
+
pageSize?: number;
|
|
8015
|
+
pageCount?: number;
|
|
8016
|
+
};
|
|
8017
|
+
type DatabaseBackupList = {
|
|
8018
|
+
items: Array<DatabaseBackup>;
|
|
8019
|
+
nextCursor?: string;
|
|
8020
|
+
};
|
|
8021
|
+
type DatabaseBranchInput = {
|
|
8022
|
+
name: string;
|
|
8023
|
+
};
|
|
8024
|
+
type DatabaseBranchList = {
|
|
8025
|
+
items: Array<Database>;
|
|
8026
|
+
nextCursor?: string;
|
|
8027
|
+
};
|
|
7245
8028
|
type DatabaseInput = {
|
|
7246
8029
|
name: string;
|
|
8030
|
+
/**
|
|
8031
|
+
* Restore a ready backup owned by this organization into a new buffered database. The source is preserved.
|
|
8032
|
+
*/
|
|
8033
|
+
backupId?: string;
|
|
8034
|
+
};
|
|
8035
|
+
type DatabaseMaintenance = {
|
|
8036
|
+
maintenanceStartedAt: string | null;
|
|
8037
|
+
};
|
|
8038
|
+
type DatabaseRollback = {
|
|
8039
|
+
id: string;
|
|
8040
|
+
databaseId: string;
|
|
8041
|
+
backupId: string;
|
|
8042
|
+
state: "pending" | "switched" | "ready" | "failed" | "cancelled";
|
|
8043
|
+
lastError: string;
|
|
8044
|
+
createdAt: string;
|
|
8045
|
+
completedAt?: string;
|
|
8046
|
+
cleanupCompletedAt?: string;
|
|
8047
|
+
};
|
|
8048
|
+
type DatabaseRollbackInput = {
|
|
8049
|
+
backupId: string;
|
|
8050
|
+
};
|
|
8051
|
+
type DatabaseRollbackList = {
|
|
8052
|
+
items: Array<DatabaseRollback>;
|
|
8053
|
+
nextCursor?: string;
|
|
7247
8054
|
};
|
|
7248
8055
|
type DeploymentInput = {
|
|
7249
8056
|
packageId: string;
|
|
@@ -7256,9 +8063,21 @@ type DeploymentPackage = {
|
|
|
7256
8063
|
size: number;
|
|
7257
8064
|
createdAt: string;
|
|
7258
8065
|
};
|
|
7259
|
-
type
|
|
7260
|
-
|
|
7261
|
-
|
|
8066
|
+
type DevelopedCloudApp = {
|
|
8067
|
+
id: string;
|
|
8068
|
+
name: string;
|
|
8069
|
+
profile: CloudAppProfile;
|
|
8070
|
+
};
|
|
8071
|
+
type DevelopedCloudAppList = {
|
|
8072
|
+
items: Array<DevelopedCloudApp>;
|
|
8073
|
+
nextCursor?: string;
|
|
8074
|
+
};
|
|
8075
|
+
type DomainSettings = {
|
|
8076
|
+
enabled?: boolean;
|
|
8077
|
+
/**
|
|
8078
|
+
* Preferred display address; other enabled domains remain accessible
|
|
8079
|
+
*/
|
|
8080
|
+
isPrimary?: boolean;
|
|
7262
8081
|
};
|
|
7263
8082
|
type ImportDeploymentPackage = {
|
|
7264
8083
|
/**
|
|
@@ -7266,6 +8085,30 @@ type ImportDeploymentPackage = {
|
|
|
7266
8085
|
*/
|
|
7267
8086
|
path: string;
|
|
7268
8087
|
};
|
|
8088
|
+
type RootDomain = {
|
|
8089
|
+
id: string;
|
|
8090
|
+
hostname: string;
|
|
8091
|
+
isDefault: boolean;
|
|
8092
|
+
/**
|
|
8093
|
+
* Ownership verified and an unexpired wildcard certificate is available
|
|
8094
|
+
*/
|
|
8095
|
+
usable: boolean;
|
|
8096
|
+
state: "pending_dns" | "issuing" | "ready" | "renewing" | "error" | "deleting" | "deleted";
|
|
8097
|
+
dnsRecords: Array<DomainDNSRecord>;
|
|
8098
|
+
bindingCount: number;
|
|
8099
|
+
createdAt: string;
|
|
8100
|
+
verifiedAt?: string;
|
|
8101
|
+
certificateExpiresAt?: string;
|
|
8102
|
+
renewAt?: string;
|
|
8103
|
+
nextAttemptAt: string;
|
|
8104
|
+
lastError: string;
|
|
8105
|
+
};
|
|
8106
|
+
type RootDomainInput = {
|
|
8107
|
+
hostname: string;
|
|
8108
|
+
};
|
|
8109
|
+
type RootDomainSettings = {
|
|
8110
|
+
isDefault: boolean;
|
|
8111
|
+
};
|
|
7269
8112
|
type Usage = {
|
|
7270
8113
|
kind: "function" | "sqlite";
|
|
7271
8114
|
resourceId: string;
|
|
@@ -7297,20 +8140,187 @@ declare class DefaultService$2 {
|
|
|
7297
8140
|
readonly httpRequest: BaseHttpRequest;
|
|
7298
8141
|
constructor(httpRequest: BaseHttpRequest);
|
|
7299
8142
|
/**
|
|
7300
|
-
*
|
|
8143
|
+
* Browse the App Marketplace, including delisted apps owned by this organization.
|
|
8144
|
+
* @returns CloudAppList App Marketplace listings and this organization's delisted apps
|
|
8145
|
+
* @throws ApiError
|
|
8146
|
+
*/
|
|
8147
|
+
listCloudApps({ after, }: {
|
|
8148
|
+
after?: string;
|
|
8149
|
+
}): CancelablePromise<CloudAppList>;
|
|
8150
|
+
/**
|
|
8151
|
+
* List this organization's cloud apps, including drafts with saved profiles.
|
|
8152
|
+
* @returns DevelopedCloudAppList Cloud apps developed in this organization
|
|
8153
|
+
* @throws ApiError
|
|
8154
|
+
*/
|
|
8155
|
+
listDevelopedCloudApps({ after, }: {
|
|
8156
|
+
after?: string;
|
|
8157
|
+
}): CancelablePromise<DevelopedCloudAppList>;
|
|
8158
|
+
/**
|
|
8159
|
+
* Read the source function's editable profile, including before it is listed in the App Marketplace.
|
|
8160
|
+
* @returns CloudAppProfile Current profile
|
|
8161
|
+
* @throws ApiError
|
|
8162
|
+
*/
|
|
8163
|
+
getCloudAppProfile({ id, }: {
|
|
8164
|
+
id: string;
|
|
8165
|
+
}): CancelablePromise<CloudAppProfile>;
|
|
8166
|
+
/**
|
|
8167
|
+
* Save App Marketplace listing details
|
|
8168
|
+
* Create a draft or edit an existing listing. Edits to listed apps appear immediately in the App Marketplace. Omit the logo to retain it.
|
|
8169
|
+
* @returns CloudAppProfile Saved profile
|
|
8170
|
+
* @throws ApiError
|
|
8171
|
+
*/
|
|
8172
|
+
updateCloudAppProfile({ id, formData, }: {
|
|
8173
|
+
id: string;
|
|
8174
|
+
formData: {
|
|
8175
|
+
displayName: string;
|
|
8176
|
+
description: string;
|
|
8177
|
+
/**
|
|
8178
|
+
* PNG, JPEG or GIF, up to 2 MiB
|
|
8179
|
+
*/
|
|
8180
|
+
logo?: Blob;
|
|
8181
|
+
/**
|
|
8182
|
+
* Read the image from this authorized canonical Cloud Drive path. Choose one of logo
|
|
8183
|
+
*/
|
|
8184
|
+
logoPath?: string;
|
|
8185
|
+
/**
|
|
8186
|
+
* Clear the current logo. Mutually exclusive with uploading a logo.
|
|
8187
|
+
*/
|
|
8188
|
+
removeLogo?: boolean;
|
|
8189
|
+
};
|
|
8190
|
+
}): CancelablePromise<CloudAppProfile>;
|
|
8191
|
+
/**
|
|
8192
|
+
* List a version in the App Marketplace (上架到应用市场)
|
|
8193
|
+
* List the source function's verified active deployment for other organizations to install. The bundle is linked from the organization's public Cloud Drive, and existing subscribers are queued for updates. Agents should guide users to open Platform → Cloud applications, select the source function under Edit app profile, enter the version, and click List in the App Marketplace themselves. An agent may call this operation on the user's behalf only after the user explicitly authorizes the agent to list that app version in the App Marketplace. This applies to first listings and new versions.
|
|
8194
|
+
* @returns CloudApp Version listed in the App Marketplace
|
|
8195
|
+
* @throws ApiError
|
|
8196
|
+
*/
|
|
8197
|
+
publishCloudApp({ id, requestBody, }: {
|
|
8198
|
+
id: string;
|
|
8199
|
+
requestBody: CloudAppPublishInput;
|
|
8200
|
+
}): CancelablePromise<CloudApp>;
|
|
8201
|
+
/**
|
|
8202
|
+
* Read the current App Marketplace listing.
|
|
8203
|
+
* @returns CloudApp App Marketplace listing details
|
|
8204
|
+
* @throws ApiError
|
|
8205
|
+
*/
|
|
8206
|
+
getCloudApp({ id, }: {
|
|
8207
|
+
id: string;
|
|
8208
|
+
}): CancelablePromise<CloudApp>;
|
|
8209
|
+
/**
|
|
8210
|
+
* Remove an app from the App Marketplace
|
|
8211
|
+
* Remove the app from the App Marketplace to stop new installations and future updates.
|
|
8212
|
+
* @returns CloudApp App removed from the App Marketplace
|
|
8213
|
+
* @throws ApiError
|
|
8214
|
+
*/
|
|
8215
|
+
unpublishCloudApp({ id, }: {
|
|
8216
|
+
id: string;
|
|
8217
|
+
}): CancelablePromise<CloudApp>;
|
|
8218
|
+
/**
|
|
8219
|
+
* Reserve an installation and provision it asynchronously.
|
|
8220
|
+
* @returns CloudAppInstallation Reserve an installation and provision it asynchronously.
|
|
8221
|
+
* @throws ApiError
|
|
8222
|
+
*/
|
|
8223
|
+
installCloudApp({ id, requestBody, }: {
|
|
8224
|
+
id: string;
|
|
8225
|
+
requestBody: CloudAppInstallInput;
|
|
8226
|
+
}): CancelablePromise<CloudAppInstallation>;
|
|
8227
|
+
/**
|
|
8228
|
+
* List current installations in this organization.
|
|
8229
|
+
* @returns CloudAppInstallationList List current installations in this organization.
|
|
8230
|
+
* @throws ApiError
|
|
8231
|
+
*/
|
|
8232
|
+
listCloudAppInstallations({ after, }: {
|
|
8233
|
+
after?: string;
|
|
8234
|
+
}): CancelablePromise<CloudAppInstallationList>;
|
|
8235
|
+
/**
|
|
8236
|
+
* Prepare a default installation on first use. Repeated calls return the existing installation.
|
|
8237
|
+
* @returns CloudAppInstallation Poll this installation until installed, then open the function URL.
|
|
8238
|
+
* @throws ApiError
|
|
8239
|
+
*/
|
|
8240
|
+
openCloudAppInstallation({ id, }: {
|
|
8241
|
+
id: string;
|
|
8242
|
+
}): CancelablePromise<CloudAppInstallation>;
|
|
8243
|
+
/**
|
|
8244
|
+
* Read lifecycle progress, including a completed uninstall.
|
|
8245
|
+
* @returns CloudAppInstallation Read lifecycle progress, including a completed uninstall.
|
|
8246
|
+
* @throws ApiError
|
|
8247
|
+
*/
|
|
8248
|
+
getCloudAppInstallation({ id, }: {
|
|
8249
|
+
id: string;
|
|
8250
|
+
}): CancelablePromise<CloudAppInstallation>;
|
|
8251
|
+
/**
|
|
8252
|
+
* Withdraw traffic and remove owned resources asynchronously.
|
|
8253
|
+
* @returns CloudAppInstallation Withdraw traffic and remove owned resources asynchronously.
|
|
8254
|
+
* @throws ApiError
|
|
8255
|
+
*/
|
|
8256
|
+
uninstallCloudApp({ id, requestBody, }: {
|
|
8257
|
+
id: string;
|
|
8258
|
+
requestBody?: CloudAppUninstallInput;
|
|
8259
|
+
}): CancelablePromise<CloudAppInstallation>;
|
|
8260
|
+
/**
|
|
8261
|
+
* Resume a failed lifecycle operation.
|
|
8262
|
+
* @returns CloudAppInstallation Resume a failed lifecycle operation.
|
|
8263
|
+
* @throws ApiError
|
|
8264
|
+
*/
|
|
8265
|
+
retryCloudAppInstallation({ id, }: {
|
|
8266
|
+
id: string;
|
|
8267
|
+
}): CancelablePromise<CloudAppInstallation>;
|
|
8268
|
+
/**
|
|
8269
|
+
* List the current organization's reusable domain suffixes.
|
|
8270
|
+
* @returns RootDomain Root domains, wildcard certificate status and one-time DNS setup
|
|
8271
|
+
* @throws ApiError
|
|
8272
|
+
*/
|
|
8273
|
+
listRootDomains(): CancelablePromise<Array<RootDomain>>;
|
|
8274
|
+
/**
|
|
8275
|
+
* Requires organization ownership or root-domains:edit permission. DNS setup and certificate issuance are asynchronous.
|
|
8276
|
+
* @returns RootDomain Root domain reserved; configure the returned DNS records
|
|
8277
|
+
* @throws ApiError
|
|
8278
|
+
*/
|
|
8279
|
+
createRootDomain({ requestBody, }: {
|
|
8280
|
+
requestBody: RootDomainInput;
|
|
8281
|
+
}): CancelablePromise<RootDomain>;
|
|
8282
|
+
/**
|
|
8283
|
+
* Change the default automatically used for future function creation when rootDomainId is omitted. Does not change existing bindings.
|
|
8284
|
+
* @returns RootDomain Root domain updated
|
|
8285
|
+
* @throws ApiError
|
|
8286
|
+
*/
|
|
8287
|
+
updateRootDomain({ rootDomainId, requestBody, }: {
|
|
8288
|
+
rootDomainId: string;
|
|
8289
|
+
requestBody: RootDomainSettings;
|
|
8290
|
+
}): CancelablePromise<RootDomain>;
|
|
8291
|
+
/**
|
|
8292
|
+
* Requires root-domains:edit permission or organization ownership. Withdraws all bindings under this root; functions and other domains remain. Binding and DNS cleanup are asynchronous.
|
|
8293
|
+
* @returns any Deletion recorded; managed DNS records will be cleaned asynchronously
|
|
8294
|
+
* @throws ApiError
|
|
8295
|
+
*/
|
|
8296
|
+
deleteRootDomain({ rootDomainId, }: {
|
|
8297
|
+
rootDomainId: string;
|
|
8298
|
+
}): CancelablePromise<any>;
|
|
8299
|
+
/**
|
|
8300
|
+
* @returns CustomDomain All function domains, including the non-deletable platform domain, access status and DNS configuration
|
|
7301
8301
|
* @throws ApiError
|
|
7302
8302
|
*/
|
|
7303
8303
|
listAppDomains({ id, }: {
|
|
7304
8304
|
id: string;
|
|
7305
8305
|
}): CancelablePromise<Array<CustomDomain>>;
|
|
7306
8306
|
/**
|
|
7307
|
-
* @returns CustomDomain Domain
|
|
8307
|
+
* @returns CustomDomain Domain bound; organization-root subdomains need no separate DNS setup. Other domains require the returned DNS records.
|
|
7308
8308
|
* @throws ApiError
|
|
7309
8309
|
*/
|
|
7310
8310
|
createAppDomain({ id, requestBody, }: {
|
|
7311
8311
|
id: string;
|
|
7312
8312
|
requestBody: CustomDomainInput;
|
|
7313
8313
|
}): CancelablePromise<CustomDomain>;
|
|
8314
|
+
/**
|
|
8315
|
+
* Independently enable or disable a domain, or choose a ready enabled domain as the preferred display URL. Changes propagate asynchronously; certificates remain managed while disabled.
|
|
8316
|
+
* @returns CustomDomain Settings saved and route publication queued
|
|
8317
|
+
* @throws ApiError
|
|
8318
|
+
*/
|
|
8319
|
+
updateAppDomain({ id, domainId, requestBody, }: {
|
|
8320
|
+
id: string;
|
|
8321
|
+
domainId: string;
|
|
8322
|
+
requestBody: DomainSettings;
|
|
8323
|
+
}): CancelablePromise<CustomDomain>;
|
|
7314
8324
|
/**
|
|
7315
8325
|
* @returns void
|
|
7316
8326
|
* @throws ApiError
|
|
@@ -7325,7 +8335,7 @@ declare class DefaultService$2 {
|
|
|
7325
8335
|
*/
|
|
7326
8336
|
getServerlessOpenApi(): CancelablePromise<string>;
|
|
7327
8337
|
/**
|
|
7328
|
-
*
|
|
8338
|
+
* List undeleted functions in the caller's organization.
|
|
7329
8339
|
* @returns AppSummary Success
|
|
7330
8340
|
* @throws ApiError
|
|
7331
8341
|
*/
|
|
@@ -7359,6 +8369,53 @@ declare class DefaultService$2 {
|
|
|
7359
8369
|
deleteApp({ id, }: {
|
|
7360
8370
|
id: string;
|
|
7361
8371
|
}): CancelablePromise<any>;
|
|
8372
|
+
/**
|
|
8373
|
+
* Keep an active function instance running while it processes background work
|
|
8374
|
+
* @returns void
|
|
8375
|
+
* @throws ApiError
|
|
8376
|
+
*/
|
|
8377
|
+
reportAppInstanceActivity({ id, instanceId, }: {
|
|
8378
|
+
id: string;
|
|
8379
|
+
instanceId: string;
|
|
8380
|
+
}): CancelablePromise<void>;
|
|
8381
|
+
/**
|
|
8382
|
+
* List binding names as the assigned function service user
|
|
8383
|
+
* @returns string Names available to the function
|
|
8384
|
+
* @throws ApiError
|
|
8385
|
+
*/
|
|
8386
|
+
listAppCredentialBindings({ id, }: {
|
|
8387
|
+
id: string;
|
|
8388
|
+
}): CancelablePromise<Array<string>>;
|
|
8389
|
+
/**
|
|
8390
|
+
* Bind an organization credential to a function, including installed cloud applications
|
|
8391
|
+
* @returns void
|
|
8392
|
+
* @throws ApiError
|
|
8393
|
+
*/
|
|
8394
|
+
bindAppCredential({ id, key, requestBody, }: {
|
|
8395
|
+
id: string;
|
|
8396
|
+
key: string;
|
|
8397
|
+
requestBody: AppCredentialBindingInput;
|
|
8398
|
+
}): CancelablePromise<void>;
|
|
8399
|
+
/**
|
|
8400
|
+
* Revoke a function's named credential binding
|
|
8401
|
+
* @returns void
|
|
8402
|
+
* @throws ApiError
|
|
8403
|
+
*/
|
|
8404
|
+
unbindAppCredential({ id, key, }: {
|
|
8405
|
+
id: string;
|
|
8406
|
+
key: string;
|
|
8407
|
+
}): CancelablePromise<void>;
|
|
8408
|
+
/**
|
|
8409
|
+
* Resolve one explicitly bound organization credential as the function's service user
|
|
8410
|
+
* @returns any Current value of the credential bound to this name
|
|
8411
|
+
* @throws ApiError
|
|
8412
|
+
*/
|
|
8413
|
+
resolveAppCredentialBinding({ id, key, }: {
|
|
8414
|
+
id: string;
|
|
8415
|
+
key: string;
|
|
8416
|
+
}): CancelablePromise<{
|
|
8417
|
+
value: string;
|
|
8418
|
+
}>;
|
|
7362
8419
|
/**
|
|
7363
8420
|
* Query cloud function stdout and stderr without waking the function
|
|
7364
8421
|
* Queries retained container logs for current and stopped instances. Requires the same
|
|
@@ -7430,6 +8487,13 @@ declare class DefaultService$2 {
|
|
|
7430
8487
|
createDatabase({ requestBody, }: {
|
|
7431
8488
|
requestBody: DatabaseInput;
|
|
7432
8489
|
}): CancelablePromise<Database>;
|
|
8490
|
+
/**
|
|
8491
|
+
* @returns Database Database creation or restore progress; credentials are returned only when ready.
|
|
8492
|
+
* @throws ApiError
|
|
8493
|
+
*/
|
|
8494
|
+
getDatabase({ id, }: {
|
|
8495
|
+
id: string;
|
|
8496
|
+
}): CancelablePromise<Database>;
|
|
7433
8497
|
/**
|
|
7434
8498
|
* @returns any Success
|
|
7435
8499
|
* @throws ApiError
|
|
@@ -7437,6 +8501,114 @@ declare class DefaultService$2 {
|
|
|
7437
8501
|
deleteDatabase({ id, }: {
|
|
7438
8502
|
id: string;
|
|
7439
8503
|
}): CancelablePromise<any>;
|
|
8504
|
+
/**
|
|
8505
|
+
* Create a writable branch of a ready buffered primary database. The branch has its own credentials, endpoint, quota and billing. It supports online backups. Offline backups, in-place rollback and creating user branches require a primary database.
|
|
8506
|
+
* @returns Database Durable creation accepted. Poll the database until ready before connecting.
|
|
8507
|
+
* @throws ApiError
|
|
8508
|
+
*/
|
|
8509
|
+
createDatabaseBranch({ id, requestBody, }: {
|
|
8510
|
+
id: string;
|
|
8511
|
+
requestBody: DatabaseBranchInput;
|
|
8512
|
+
}): CancelablePromise<Database>;
|
|
8513
|
+
/**
|
|
8514
|
+
* List non-deleted branches of this primary database, including creation and deletion progress. Branches are omitted from the ordinary database list.
|
|
8515
|
+
* @returns DatabaseBranchList Branches ordered by UUID
|
|
8516
|
+
* @throws ApiError
|
|
8517
|
+
*/
|
|
8518
|
+
listDatabaseBranches({ id, after, }: {
|
|
8519
|
+
id: string;
|
|
8520
|
+
after?: string;
|
|
8521
|
+
}): CancelablePromise<DatabaseBranchList>;
|
|
8522
|
+
/**
|
|
8523
|
+
* Restore a backup into fresh storage, delete all branches, atomically switch the primary database, and asynchronously reclaim its old namespace. Branch databases cannot be restored. Accepting this request immediately withdraws branch access; cancelling or failing the rollback does not revive branches.
|
|
8524
|
+
* @returns DatabaseRollback Durable rollback accepted; reconnect existing WebSockets after completion.
|
|
8525
|
+
* @throws ApiError
|
|
8526
|
+
*/
|
|
8527
|
+
rollbackDatabase({ id, requestBody, }: {
|
|
8528
|
+
id: string;
|
|
8529
|
+
requestBody: DatabaseRollbackInput;
|
|
8530
|
+
}): CancelablePromise<DatabaseRollback>;
|
|
8531
|
+
/**
|
|
8532
|
+
* @returns DatabaseRollbackList Recover operation IDs after an uncertain create response; at most 100 per page.
|
|
8533
|
+
* @throws ApiError
|
|
8534
|
+
*/
|
|
8535
|
+
listDatabaseRollbacks({ id, after, }: {
|
|
8536
|
+
id: string;
|
|
8537
|
+
after?: string;
|
|
8538
|
+
}): CancelablePromise<DatabaseRollbackList>;
|
|
8539
|
+
/**
|
|
8540
|
+
* @returns DatabaseRollback Rollback and old storage cleanup progress
|
|
8541
|
+
* @throws ApiError
|
|
8542
|
+
*/
|
|
8543
|
+
getDatabaseRollback({ id, }: {
|
|
8544
|
+
id: string;
|
|
8545
|
+
}): CancelablePromise<DatabaseRollback>;
|
|
8546
|
+
/**
|
|
8547
|
+
* @returns DatabaseRollback Retry the same operation and physical namespace
|
|
8548
|
+
* @throws ApiError
|
|
8549
|
+
*/
|
|
8550
|
+
retryDatabaseRollback({ id, }: {
|
|
8551
|
+
id: string;
|
|
8552
|
+
}): CancelablePromise<DatabaseRollback>;
|
|
8553
|
+
/**
|
|
8554
|
+
* Cancel before the storage pointer switches. Old storage stays in maintenance until explicitly released.
|
|
8555
|
+
* @returns DatabaseRollback Cancelled; staged storage cleanup is durable
|
|
8556
|
+
* @throws ApiError
|
|
8557
|
+
*/
|
|
8558
|
+
cancelDatabaseRollback({ id, }: {
|
|
8559
|
+
id: string;
|
|
8560
|
+
}): CancelablePromise<DatabaseRollback>;
|
|
8561
|
+
/**
|
|
8562
|
+
* Queue an offline backup of a primary database. The task enters maintenance, gracefully drains compute and leaves the source in maintenance after completion.
|
|
8563
|
+
* @returns DatabaseBackup Durable backup task accepted
|
|
8564
|
+
* @throws ApiError
|
|
8565
|
+
*/
|
|
8566
|
+
createDatabaseBackup({ id, }: {
|
|
8567
|
+
id: string;
|
|
8568
|
+
}): CancelablePromise<DatabaseBackup>;
|
|
8569
|
+
/**
|
|
8570
|
+
* Queue an online backup of a buffered primary or branch. The worker captures the committed state when it forks a private branch. The source continues serving reads and writes.
|
|
8571
|
+
* @returns DatabaseBackup Backup queued. The restore point is fixed when the worker captures the branch.
|
|
8572
|
+
* @throws ApiError
|
|
8573
|
+
*/
|
|
8574
|
+
createOnlineDatabaseBackup({ id, }: {
|
|
8575
|
+
id: string;
|
|
8576
|
+
}): CancelablePromise<DatabaseBackup>;
|
|
8577
|
+
/**
|
|
8578
|
+
* @returns DatabaseBackupList Organization backups ordered by UUID; backups survive source deletion.
|
|
8579
|
+
* @throws ApiError
|
|
8580
|
+
*/
|
|
8581
|
+
listDatabaseBackups({ after, }: {
|
|
8582
|
+
after?: string;
|
|
8583
|
+
}): CancelablePromise<DatabaseBackupList>;
|
|
8584
|
+
/**
|
|
8585
|
+
* @returns DatabaseBackup Backup state and verification metadata
|
|
8586
|
+
* @throws ApiError
|
|
8587
|
+
*/
|
|
8588
|
+
getDatabaseBackup({ id, }: {
|
|
8589
|
+
id: string;
|
|
8590
|
+
}): CancelablePromise<DatabaseBackup>;
|
|
8591
|
+
/**
|
|
8592
|
+
* @returns DatabaseBackup Cancelled or already-complete backup. For an offline backup, release source maintenance separately after inspecting the result.
|
|
8593
|
+
* @throws ApiError
|
|
8594
|
+
*/
|
|
8595
|
+
cancelDatabaseBackup({ id, }: {
|
|
8596
|
+
id: string;
|
|
8597
|
+
}): CancelablePromise<DatabaseBackup>;
|
|
8598
|
+
/**
|
|
8599
|
+
* @returns DatabaseMaintenance New compute and compaction admission blocked; existing work has not necessarily drained.
|
|
8600
|
+
* @throws ApiError
|
|
8601
|
+
*/
|
|
8602
|
+
startDatabaseMaintenance({ id, }: {
|
|
8603
|
+
id: string;
|
|
8604
|
+
}): CancelablePromise<DatabaseMaintenance>;
|
|
8605
|
+
/**
|
|
8606
|
+
* @returns DatabaseMaintenance Database may start again
|
|
8607
|
+
* @throws ApiError
|
|
8608
|
+
*/
|
|
8609
|
+
finishDatabaseMaintenance({ id, }: {
|
|
8610
|
+
id: string;
|
|
8611
|
+
}): CancelablePromise<DatabaseMaintenance>;
|
|
7440
8612
|
/**
|
|
7441
8613
|
* @returns Usage Success
|
|
7442
8614
|
* @throws ApiError
|
|
@@ -7475,7 +8647,9 @@ declare class DefaultService$2 {
|
|
|
7475
8647
|
id: string;
|
|
7476
8648
|
}): CancelablePromise<Array<Deployment>>;
|
|
7477
8649
|
/**
|
|
7478
|
-
*
|
|
8650
|
+
* Deploy a package to the target cloud function
|
|
8651
|
+
* Start an asynchronous rollout on the selected cloud function, including production updates. On success, the package becomes active for that function's URL.
|
|
8652
|
+
* @returns Deployment Function deployment accepted
|
|
7479
8653
|
* @throws ApiError
|
|
7480
8654
|
*/
|
|
7481
8655
|
createDeployment({ id, requestBody, }: {
|
|
@@ -7498,14 +8672,6 @@ declare class DefaultService$2 {
|
|
|
7498
8672
|
id: string;
|
|
7499
8673
|
deploymentId: string;
|
|
7500
8674
|
}): CancelablePromise<any>;
|
|
7501
|
-
/**
|
|
7502
|
-
* @returns App Saved development snapshot changed
|
|
7503
|
-
* @throws ApiError
|
|
7504
|
-
*/
|
|
7505
|
-
setDevelopmentSnapshot({ id, requestBody, }: {
|
|
7506
|
-
id: string;
|
|
7507
|
-
requestBody: DevelopmentSnapshotInput;
|
|
7508
|
-
}): CancelablePromise<App>;
|
|
7509
8675
|
}
|
|
7510
8676
|
type HttpRequestConstructor$2 = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
7511
8677
|
declare class ServerlessClient {
|
|
@@ -7548,6 +8714,10 @@ export interface ClientMCPRegistrationOptions {
|
|
|
7548
8714
|
export interface ClientMCPOptions {
|
|
7549
8715
|
/** Installation namespace used by registerTool. Defaults to "browser". */
|
|
7550
8716
|
namespace?: string;
|
|
8717
|
+
/** Leave calls without a locally registered callback to other clients of the session. */
|
|
8718
|
+
registeredToolsOnly?: boolean;
|
|
8719
|
+
/** Previous bound names mapped to their current bound names for calls already in flight. Aliases are local to this bridge. */
|
|
8720
|
+
toolAliases?: ReadonlyMap<string, string>;
|
|
7551
8721
|
onError?: (error: Error) => void;
|
|
7552
8722
|
/** Optional bounded receipt cache, e.g. window.localStorage. Never stores tool arguments or results. */
|
|
7553
8723
|
storage?: Pick<Storage, "getItem" | "setItem">;
|
|
@@ -7597,6 +8767,7 @@ export declare class ClientMCPBridge {
|
|
|
7597
8767
|
private consume;
|
|
7598
8768
|
private complete;
|
|
7599
8769
|
private dispatch;
|
|
8770
|
+
private callbackFor;
|
|
7600
8771
|
private execute;
|
|
7601
8772
|
}
|
|
7602
8773
|
export interface ClientOptions {
|