@belonguniverseai/react-sdk 0.3.1 → 0.3.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 +8 -8
- package/dist/api/client.d.ts +739 -240
- package/dist/browser/dom-bridge.d.ts +7 -0
- package/dist/browser/spa-navigate.d.ts +11 -2
- package/dist/component/BelongWidget.d.ts +7 -4
- package/dist/component/{arc-B7qwdj5Y.js → arc-6nY2VvBR.js} +2 -2
- package/dist/component/{architectureDiagram-3BPJPVTR-DHEfxvGE.js → architectureDiagram-3BPJPVTR-8NzFzSu-.js} +3 -3
- package/dist/component/{blockDiagram-GPEHLZMM-DO4_lzz8.js → blockDiagram-GPEHLZMM-DUEwMafH.js} +4 -4
- package/dist/component/{c4Diagram-AAUBKEIU-BFvKjeX3.js → c4Diagram-AAUBKEIU-CDD_6To7.js} +3 -3
- package/dist/component/{channel-Be_mlBXd.js → channel-B4iaYdVF.js} +2 -2
- package/dist/component/{chunk-2J33WTMH-CJ_JyxkR.js → chunk-2J33WTMH-DyOrhFxY.js} +2 -2
- package/dist/component/{chunk-4BX2VUAB-BRkYFXFB.js → chunk-4BX2VUAB-Bc66-Fjy.js} +2 -2
- package/dist/component/{chunk-55IACEB6-D42tDKAF.js → chunk-55IACEB6-CIN0g3JH.js} +2 -2
- package/dist/component/{chunk-727SXJPM-BYOAmsWs.js → chunk-727SXJPM-BGs-m5or.js} +6 -6
- package/dist/component/{chunk-AQP2D5EJ-CUNDVk4Z.js → chunk-AQP2D5EJ-CPlwnVcL.js} +4 -4
- package/dist/component/{chunk-FMBD7UC4-BQy-2qFB.js → chunk-FMBD7UC4-09viRWEH.js} +2 -2
- package/dist/component/{chunk-ND2GUHAM-ktW5vI-y.js → chunk-ND2GUHAM-BJo4K53f.js} +2 -2
- package/dist/component/{chunk-QZHKN3VN-CpSIn4cF.js → chunk-QZHKN3VN-DufugBok.js} +2 -2
- package/dist/component/{classDiagram-4FO5ZUOK-Cm-1lpI4.js → classDiagram-4FO5ZUOK-DfAygW-7.js} +3 -3
- package/dist/component/{classDiagram-v2-Q7XG4LA2-Cm-1lpI4.js → classDiagram-v2-Q7XG4LA2-DfAygW-7.js} +3 -3
- package/dist/component/{cose-bilkent-S5V4N54A-DqixgjwQ.js → cose-bilkent-S5V4N54A-CUKOuMcm.js} +2 -2
- package/dist/component/{dagre-BM42HDAG-Dv-P7Krm.js → dagre-BM42HDAG-BPRObW6r.js} +2 -2
- package/dist/component/{diagram-2AECGRRQ-kQGiD7lD.js → diagram-2AECGRRQ-Cxsg-pXz.js} +3 -3
- package/dist/component/{diagram-5GNKFQAL-DoQlkZPU.js → diagram-5GNKFQAL-U6L8NDef.js} +4 -4
- package/dist/component/{diagram-KO2AKTUF-CHX5UoXH.js → diagram-KO2AKTUF-BxN_e8Dk.js} +3 -3
- package/dist/component/{diagram-LMA3HP47-D5zUvZVG.js → diagram-LMA3HP47-Dbkb79LU.js} +3 -3
- package/dist/component/{diagram-OG6HWLK6-B4npobs8.js → diagram-OG6HWLK6-SASqlYMy.js} +4 -4
- package/dist/component/{erDiagram-TEJ5UH35-6z0JmU6m.js → erDiagram-TEJ5UH35-CDTBM9wY.js} +5 -5
- package/dist/component/{flowDiagram-I6XJVG4X-8Z4MRGGY.js → flowDiagram-I6XJVG4X-DugkNxCw.js} +7 -7
- package/dist/component/{ganttDiagram-6RSMTGT7-Dx9QEDPc.js → ganttDiagram-6RSMTGT7-D3FuGu21.js} +3 -3
- package/dist/component/{gitGraphDiagram-PVQCEYII-BUHDP_7X.js → gitGraphDiagram-PVQCEYII-DMKggb_e.js} +4 -4
- package/dist/component/{highlighted-body-OFNGDK62-DBPWZwq8.js → highlighted-body-OFNGDK62-Bnl71RgK.js} +2 -2
- package/dist/component/index.js +1 -1
- package/dist/component/{infoDiagram-5YYISTIA-aiJg6_Qm.js → infoDiagram-5YYISTIA-BaUo1fFU.js} +2 -2
- package/dist/component/{ishikawaDiagram-YF4QCWOH-DL-CzUme.js → ishikawaDiagram-YF4QCWOH-DofOP6uV.js} +2 -2
- package/dist/component/{journeyDiagram-JHISSGLW-CYDK3R_C.js → journeyDiagram-JHISSGLW-D-xl9LqQ.js} +5 -5
- package/dist/component/{kanban-definition-UN3LZRKU-9ZNt06Tr.js → kanban-definition-UN3LZRKU-Lfcidbpn.js} +3 -3
- package/dist/component/{linear-CtEJWK1N.js → linear-CtCl_nrs.js} +2 -2
- package/dist/component/{mermaid-GHXKKRXX-B00yz-X8.js → mermaid-GHXKKRXX-CnzRBGo3.js} +21689 -21547
- package/dist/component/{mindmap-definition-RKZ34NQL-CHx9Cg9G.js → mindmap-definition-RKZ34NQL-RZVaz4dV.js} +4 -4
- package/dist/component/{pieDiagram-4H26LBE5-B_dLoXY_.js → pieDiagram-4H26LBE5-CEwcfNwI.js} +4 -4
- package/dist/component/{quadrantDiagram-W4KKPZXB-DUL3njPs.js → quadrantDiagram-W4KKPZXB-BJBEiTgK.js} +3 -3
- package/dist/component/{requirementDiagram-4Y6WPE33-DJodprsF.js → requirementDiagram-4Y6WPE33-CVHog8O-.js} +4 -4
- package/dist/component/{sankeyDiagram-5OEKKPKP-2Nn_RQ9h.js → sankeyDiagram-5OEKKPKP-Cn1N0qrl.js} +2 -2
- package/dist/component/{sequenceDiagram-3UESZ5HK-xJk0kY4S.js → sequenceDiagram-3UESZ5HK-CRaBqdL0.js} +4 -4
- package/dist/component/{stateDiagram-AJRCARHV-D4QH9oBV.js → stateDiagram-AJRCARHV-9q4hv0ii.js} +3 -3
- package/dist/component/{stateDiagram-v2-BHNVJYJU-C6SRcIR1.js → stateDiagram-v2-BHNVJYJU-By7O-5eN.js} +3 -3
- package/dist/component/{timeline-definition-PNZ67QCA-SaEQyBaf.js → timeline-definition-PNZ67QCA-BWfxZI7f.js} +3 -3
- package/dist/component/{vennDiagram-CIIHVFJN-Bf8QpQpr.js → vennDiagram-CIIHVFJN-B_PQ6bU6.js} +2 -2
- package/dist/component/{wardleyDiagram-YWT4CUSO-B0wVwumO.js → wardleyDiagram-YWT4CUSO-P7tCzeA0.js} +3 -3
- package/dist/component/{xychartDiagram-2RQKCTM6-Dl5itjjz.js → xychartDiagram-2RQKCTM6-B4Z_Zrko.js} +3 -3
- package/dist/components/embed/BrandMark.d.ts +13 -4
- package/dist/components/embed/HeavyPreview.d.ts +6 -0
- package/dist/components/embed/preview-content-kind.d.ts +5 -5
- package/dist/embed/locale.d.ts +3 -1
- package/dist/embed/logo.d.ts +7 -1
- package/dist/i18n/messages/en.d.ts +1 -0
- package/dist/i18n/messages/surfaces/embedMisc.d.ts +3 -0
- package/package.json +1 -1
- package/dist/embed/universe-origin.d.ts +0 -24
package/dist/api/client.d.ts
CHANGED
|
@@ -1128,6 +1128,94 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1128
1128
|
}>;
|
|
1129
1129
|
};
|
|
1130
1130
|
};
|
|
1131
|
+
} & {
|
|
1132
|
+
v1: {
|
|
1133
|
+
artifacts: {
|
|
1134
|
+
":artifactId": {
|
|
1135
|
+
preview: import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId/preview", {
|
|
1136
|
+
$get: {
|
|
1137
|
+
input: {
|
|
1138
|
+
param: {
|
|
1139
|
+
artifactId: string;
|
|
1140
|
+
};
|
|
1141
|
+
};
|
|
1142
|
+
output: {
|
|
1143
|
+
readonly status: "pending";
|
|
1144
|
+
} | {
|
|
1145
|
+
readonly status: "ready";
|
|
1146
|
+
readonly kind: import('node_modules/@belong/cloud/src/features/files/preview.types').PreviewKind;
|
|
1147
|
+
readonly pageCount?: number | undefined;
|
|
1148
|
+
} | {
|
|
1149
|
+
readonly status: "too_large";
|
|
1150
|
+
} | {
|
|
1151
|
+
readonly status: "unsupported";
|
|
1152
|
+
} | {
|
|
1153
|
+
readonly status: "failed";
|
|
1154
|
+
};
|
|
1155
|
+
outputFormat: "json";
|
|
1156
|
+
status: import('hono/utils/http-status').ContentfulStatusCode;
|
|
1157
|
+
} | {
|
|
1158
|
+
input: {
|
|
1159
|
+
param: {
|
|
1160
|
+
artifactId: string;
|
|
1161
|
+
};
|
|
1162
|
+
};
|
|
1163
|
+
output: {
|
|
1164
|
+
error: {
|
|
1165
|
+
type: string;
|
|
1166
|
+
};
|
|
1167
|
+
};
|
|
1168
|
+
outputFormat: "json";
|
|
1169
|
+
status: 404;
|
|
1170
|
+
};
|
|
1171
|
+
}>;
|
|
1172
|
+
};
|
|
1173
|
+
};
|
|
1174
|
+
};
|
|
1175
|
+
} & {
|
|
1176
|
+
v1: {
|
|
1177
|
+
artifacts: {
|
|
1178
|
+
":artifactId": {
|
|
1179
|
+
preview: {
|
|
1180
|
+
html: import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId/preview/html", {
|
|
1181
|
+
$get: {
|
|
1182
|
+
input: {
|
|
1183
|
+
param: {
|
|
1184
|
+
artifactId: string;
|
|
1185
|
+
};
|
|
1186
|
+
};
|
|
1187
|
+
output: {};
|
|
1188
|
+
outputFormat: string;
|
|
1189
|
+
status: import('hono/utils/http-status').StatusCode;
|
|
1190
|
+
};
|
|
1191
|
+
}>;
|
|
1192
|
+
};
|
|
1193
|
+
};
|
|
1194
|
+
};
|
|
1195
|
+
};
|
|
1196
|
+
} & {
|
|
1197
|
+
v1: {
|
|
1198
|
+
artifacts: {
|
|
1199
|
+
":artifactId": {
|
|
1200
|
+
preview: {
|
|
1201
|
+
page: {
|
|
1202
|
+
":n": import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId/preview/page/:n", {
|
|
1203
|
+
$get: {
|
|
1204
|
+
input: {
|
|
1205
|
+
param: {
|
|
1206
|
+
artifactId: string;
|
|
1207
|
+
};
|
|
1208
|
+
};
|
|
1209
|
+
output: {};
|
|
1210
|
+
outputFormat: string;
|
|
1211
|
+
status: import('hono/utils/http-status').StatusCode;
|
|
1212
|
+
};
|
|
1213
|
+
}>;
|
|
1214
|
+
};
|
|
1215
|
+
};
|
|
1216
|
+
};
|
|
1217
|
+
};
|
|
1218
|
+
};
|
|
1131
1219
|
} & {
|
|
1132
1220
|
v1: {
|
|
1133
1221
|
artifacts: {
|
|
@@ -1774,6 +1862,32 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1774
1862
|
};
|
|
1775
1863
|
outputFormat: "json";
|
|
1776
1864
|
status: import('hono/utils/http-status').ContentfulStatusCode;
|
|
1865
|
+
} | {
|
|
1866
|
+
input: {
|
|
1867
|
+
query: {
|
|
1868
|
+
workspaceExternalId?: string | string[];
|
|
1869
|
+
};
|
|
1870
|
+
};
|
|
1871
|
+
output: {
|
|
1872
|
+
error: {
|
|
1873
|
+
type: string;
|
|
1874
|
+
};
|
|
1875
|
+
};
|
|
1876
|
+
outputFormat: "json";
|
|
1877
|
+
status: 503;
|
|
1878
|
+
} | {
|
|
1879
|
+
input: {
|
|
1880
|
+
query: {
|
|
1881
|
+
workspaceExternalId?: string | string[];
|
|
1882
|
+
};
|
|
1883
|
+
};
|
|
1884
|
+
output: {
|
|
1885
|
+
error: {
|
|
1886
|
+
type: string;
|
|
1887
|
+
};
|
|
1888
|
+
};
|
|
1889
|
+
outputFormat: "json";
|
|
1890
|
+
status: 502;
|
|
1777
1891
|
};
|
|
1778
1892
|
}>;
|
|
1779
1893
|
};
|
|
@@ -2167,51 +2281,76 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
2167
2281
|
input: {};
|
|
2168
2282
|
output: {
|
|
2169
2283
|
theme: {
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2284
|
+
brand?: {
|
|
2285
|
+
name?: string | undefined;
|
|
2286
|
+
initials?: string | undefined;
|
|
2287
|
+
logo?: string | undefined;
|
|
2288
|
+
} | undefined;
|
|
2289
|
+
mode?: "light" | "dark" | undefined;
|
|
2290
|
+
copy?: {
|
|
2291
|
+
en?: {
|
|
2292
|
+
capabilities?: string[] | undefined;
|
|
2293
|
+
subtitle?: string | undefined;
|
|
2294
|
+
introBody?: string | undefined;
|
|
2295
|
+
suggestions?: string[] | undefined;
|
|
2296
|
+
} | undefined;
|
|
2297
|
+
es?: {
|
|
2298
|
+
capabilities?: string[] | undefined;
|
|
2299
|
+
subtitle?: string | undefined;
|
|
2300
|
+
introBody?: string | undefined;
|
|
2301
|
+
suggestions?: string[] | undefined;
|
|
2302
|
+
} | undefined;
|
|
2303
|
+
pt?: {
|
|
2304
|
+
capabilities?: string[] | undefined;
|
|
2305
|
+
subtitle?: string | undefined;
|
|
2306
|
+
introBody?: string | undefined;
|
|
2307
|
+
suggestions?: string[] | undefined;
|
|
2193
2308
|
} | undefined;
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2309
|
+
} | undefined;
|
|
2310
|
+
accent?: string | undefined;
|
|
2311
|
+
side?: "left" | "right" | undefined;
|
|
2312
|
+
density?: "comfortable" | "compact" | undefined;
|
|
2313
|
+
panelWidth?: number | undefined;
|
|
2314
|
+
fontFamily?: string | undefined;
|
|
2315
|
+
radius?: string | undefined;
|
|
2316
|
+
palettes?: {
|
|
2317
|
+
light?: {
|
|
2318
|
+
primary?: string | undefined;
|
|
2319
|
+
primaryForeground?: string | undefined;
|
|
2320
|
+
background?: string | undefined;
|
|
2321
|
+
foreground?: string | undefined;
|
|
2322
|
+
border?: string | undefined;
|
|
2323
|
+
muted?: string | undefined;
|
|
2324
|
+
mutedForeground?: string | undefined;
|
|
2325
|
+
accent?: string | undefined;
|
|
2326
|
+
accentForeground?: string | undefined;
|
|
2327
|
+
destructive?: string | undefined;
|
|
2328
|
+
destructiveForeground?: string | undefined;
|
|
2329
|
+
userBubble?: string | undefined;
|
|
2330
|
+
userBubbleForeground?: string | undefined;
|
|
2331
|
+
assistantBubble?: string | undefined;
|
|
2332
|
+
assistantBubbleForeground?: string | undefined;
|
|
2333
|
+
} | undefined;
|
|
2334
|
+
dark?: {
|
|
2335
|
+
primary?: string | undefined;
|
|
2336
|
+
primaryForeground?: string | undefined;
|
|
2337
|
+
background?: string | undefined;
|
|
2338
|
+
foreground?: string | undefined;
|
|
2339
|
+
border?: string | undefined;
|
|
2340
|
+
muted?: string | undefined;
|
|
2341
|
+
mutedForeground?: string | undefined;
|
|
2342
|
+
accent?: string | undefined;
|
|
2343
|
+
accentForeground?: string | undefined;
|
|
2344
|
+
destructive?: string | undefined;
|
|
2345
|
+
destructiveForeground?: string | undefined;
|
|
2346
|
+
userBubble?: string | undefined;
|
|
2347
|
+
userBubbleForeground?: string | undefined;
|
|
2348
|
+
assistantBubble?: string | undefined;
|
|
2349
|
+
assistantBubbleForeground?: string | undefined;
|
|
2210
2350
|
} | undefined;
|
|
2211
2351
|
} | undefined;
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
readonly initials?: string | undefined;
|
|
2352
|
+
cssVars?: {
|
|
2353
|
+
[x: string]: string;
|
|
2215
2354
|
} | undefined;
|
|
2216
2355
|
};
|
|
2217
2356
|
};
|
|
@@ -2226,229 +2365,68 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
2226
2365
|
agents: {
|
|
2227
2366
|
publish: import('hono/client').ClientRequest<string, "/v1/agents/publish", {
|
|
2228
2367
|
$post: {
|
|
2229
|
-
input: {
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
company: string;
|
|
2234
|
-
config: {
|
|
2235
|
-
[x: string]: unknown;
|
|
2236
|
-
agentId: string;
|
|
2237
|
-
};
|
|
2238
|
-
plugin: {
|
|
2239
|
-
[x: string]: unknown;
|
|
2240
|
-
version: 1;
|
|
2241
|
-
name: string;
|
|
2242
|
-
tools: ({
|
|
2243
|
-
toolName: string;
|
|
2244
|
-
requiredScopes: string[];
|
|
2245
|
-
mutates: boolean;
|
|
2246
|
-
approval: "none" | "required";
|
|
2247
|
-
kind: "cli";
|
|
2248
|
-
command: string;
|
|
2249
|
-
tokenEnv?: string | undefined;
|
|
2250
|
-
} | {
|
|
2251
|
-
toolName: string;
|
|
2252
|
-
requiredScopes: string[];
|
|
2253
|
-
mutates: boolean;
|
|
2254
|
-
approval: "none" | "required";
|
|
2255
|
-
kind: "rest";
|
|
2256
|
-
url: string;
|
|
2257
|
-
tokenEnv?: string | undefined;
|
|
2258
|
-
} | {
|
|
2259
|
-
toolName: string;
|
|
2260
|
-
requiredScopes: string[];
|
|
2261
|
-
mutates: boolean;
|
|
2262
|
-
approval: "none" | "required";
|
|
2263
|
-
kind: "mcp";
|
|
2264
|
-
mcpUri: string;
|
|
2265
|
-
tokenEnv?: string | undefined;
|
|
2266
|
-
})[];
|
|
2267
|
-
ui?: {
|
|
2268
|
-
dock?: "left" | "right" | undefined;
|
|
2269
|
-
voice?: boolean | undefined;
|
|
2270
|
-
} | undefined;
|
|
2271
|
-
};
|
|
2272
|
-
knowledge: {
|
|
2273
|
-
path: string;
|
|
2274
|
-
contentBase64: string;
|
|
2275
|
-
}[];
|
|
2368
|
+
input: {};
|
|
2369
|
+
output: {
|
|
2370
|
+
error: {
|
|
2371
|
+
type: string;
|
|
2276
2372
|
};
|
|
2277
2373
|
};
|
|
2374
|
+
outputFormat: "json";
|
|
2375
|
+
status: 400;
|
|
2376
|
+
} | {
|
|
2377
|
+
input: {};
|
|
2278
2378
|
output: {
|
|
2279
|
-
|
|
2379
|
+
readonly agentId: string;
|
|
2380
|
+
readonly objectKey: string;
|
|
2381
|
+
readonly publishedAt: string;
|
|
2382
|
+
readonly version: number;
|
|
2383
|
+
readonly changed: boolean;
|
|
2384
|
+
readonly warnings: readonly string[];
|
|
2280
2385
|
};
|
|
2281
2386
|
outputFormat: "json";
|
|
2282
|
-
status:
|
|
2387
|
+
status: 201;
|
|
2283
2388
|
} | {
|
|
2284
|
-
input: {
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
company: string;
|
|
2289
|
-
config: {
|
|
2290
|
-
[x: string]: unknown;
|
|
2291
|
-
agentId: string;
|
|
2292
|
-
};
|
|
2293
|
-
plugin: {
|
|
2294
|
-
[x: string]: unknown;
|
|
2295
|
-
version: 1;
|
|
2296
|
-
name: string;
|
|
2297
|
-
tools: ({
|
|
2298
|
-
toolName: string;
|
|
2299
|
-
requiredScopes: string[];
|
|
2300
|
-
mutates: boolean;
|
|
2301
|
-
approval: "none" | "required";
|
|
2302
|
-
kind: "cli";
|
|
2303
|
-
command: string;
|
|
2304
|
-
tokenEnv?: string | undefined;
|
|
2305
|
-
} | {
|
|
2306
|
-
toolName: string;
|
|
2307
|
-
requiredScopes: string[];
|
|
2308
|
-
mutates: boolean;
|
|
2309
|
-
approval: "none" | "required";
|
|
2310
|
-
kind: "rest";
|
|
2311
|
-
url: string;
|
|
2312
|
-
tokenEnv?: string | undefined;
|
|
2313
|
-
} | {
|
|
2314
|
-
toolName: string;
|
|
2315
|
-
requiredScopes: string[];
|
|
2316
|
-
mutates: boolean;
|
|
2317
|
-
approval: "none" | "required";
|
|
2318
|
-
kind: "mcp";
|
|
2319
|
-
mcpUri: string;
|
|
2320
|
-
tokenEnv?: string | undefined;
|
|
2321
|
-
})[];
|
|
2322
|
-
ui?: {
|
|
2323
|
-
dock?: "left" | "right" | undefined;
|
|
2324
|
-
voice?: boolean | undefined;
|
|
2325
|
-
} | undefined;
|
|
2326
|
-
};
|
|
2327
|
-
knowledge: {
|
|
2328
|
-
path: string;
|
|
2329
|
-
contentBase64: string;
|
|
2330
|
-
}[];
|
|
2389
|
+
input: {};
|
|
2390
|
+
output: {
|
|
2391
|
+
error: {
|
|
2392
|
+
type: string;
|
|
2331
2393
|
};
|
|
2332
2394
|
};
|
|
2395
|
+
outputFormat: "json";
|
|
2396
|
+
status: 404;
|
|
2397
|
+
} | {
|
|
2398
|
+
input: {};
|
|
2333
2399
|
output: {
|
|
2334
2400
|
error: string;
|
|
2335
2401
|
};
|
|
2336
2402
|
outputFormat: "json";
|
|
2337
2403
|
status: 401;
|
|
2338
2404
|
} | {
|
|
2339
|
-
input: {
|
|
2340
|
-
json: {
|
|
2341
|
-
version: 1;
|
|
2342
|
-
agentId: string;
|
|
2343
|
-
company: string;
|
|
2344
|
-
config: {
|
|
2345
|
-
[x: string]: unknown;
|
|
2346
|
-
agentId: string;
|
|
2347
|
-
};
|
|
2348
|
-
plugin: {
|
|
2349
|
-
[x: string]: unknown;
|
|
2350
|
-
version: 1;
|
|
2351
|
-
name: string;
|
|
2352
|
-
tools: ({
|
|
2353
|
-
toolName: string;
|
|
2354
|
-
requiredScopes: string[];
|
|
2355
|
-
mutates: boolean;
|
|
2356
|
-
approval: "none" | "required";
|
|
2357
|
-
kind: "cli";
|
|
2358
|
-
command: string;
|
|
2359
|
-
tokenEnv?: string | undefined;
|
|
2360
|
-
} | {
|
|
2361
|
-
toolName: string;
|
|
2362
|
-
requiredScopes: string[];
|
|
2363
|
-
mutates: boolean;
|
|
2364
|
-
approval: "none" | "required";
|
|
2365
|
-
kind: "rest";
|
|
2366
|
-
url: string;
|
|
2367
|
-
tokenEnv?: string | undefined;
|
|
2368
|
-
} | {
|
|
2369
|
-
toolName: string;
|
|
2370
|
-
requiredScopes: string[];
|
|
2371
|
-
mutates: boolean;
|
|
2372
|
-
approval: "none" | "required";
|
|
2373
|
-
kind: "mcp";
|
|
2374
|
-
mcpUri: string;
|
|
2375
|
-
tokenEnv?: string | undefined;
|
|
2376
|
-
})[];
|
|
2377
|
-
ui?: {
|
|
2378
|
-
dock?: "left" | "right" | undefined;
|
|
2379
|
-
voice?: boolean | undefined;
|
|
2380
|
-
} | undefined;
|
|
2381
|
-
};
|
|
2382
|
-
knowledge: {
|
|
2383
|
-
path: string;
|
|
2384
|
-
contentBase64: string;
|
|
2385
|
-
}[];
|
|
2386
|
-
};
|
|
2387
|
-
};
|
|
2405
|
+
input: {};
|
|
2388
2406
|
output: {
|
|
2389
|
-
|
|
2390
|
-
objectKey: string;
|
|
2391
|
-
publishedAt: string;
|
|
2407
|
+
error: string;
|
|
2392
2408
|
};
|
|
2393
2409
|
outputFormat: "json";
|
|
2394
|
-
status:
|
|
2410
|
+
status: 403;
|
|
2395
2411
|
} | {
|
|
2396
|
-
input: {
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
company: string;
|
|
2401
|
-
config: {
|
|
2402
|
-
[x: string]: unknown;
|
|
2403
|
-
agentId: string;
|
|
2404
|
-
};
|
|
2405
|
-
plugin: {
|
|
2406
|
-
[x: string]: unknown;
|
|
2407
|
-
version: 1;
|
|
2408
|
-
name: string;
|
|
2409
|
-
tools: ({
|
|
2410
|
-
toolName: string;
|
|
2411
|
-
requiredScopes: string[];
|
|
2412
|
-
mutates: boolean;
|
|
2413
|
-
approval: "none" | "required";
|
|
2414
|
-
kind: "cli";
|
|
2415
|
-
command: string;
|
|
2416
|
-
tokenEnv?: string | undefined;
|
|
2417
|
-
} | {
|
|
2418
|
-
toolName: string;
|
|
2419
|
-
requiredScopes: string[];
|
|
2420
|
-
mutates: boolean;
|
|
2421
|
-
approval: "none" | "required";
|
|
2422
|
-
kind: "rest";
|
|
2423
|
-
url: string;
|
|
2424
|
-
tokenEnv?: string | undefined;
|
|
2425
|
-
} | {
|
|
2426
|
-
toolName: string;
|
|
2427
|
-
requiredScopes: string[];
|
|
2428
|
-
mutates: boolean;
|
|
2429
|
-
approval: "none" | "required";
|
|
2430
|
-
kind: "mcp";
|
|
2431
|
-
mcpUri: string;
|
|
2432
|
-
tokenEnv?: string | undefined;
|
|
2433
|
-
})[];
|
|
2434
|
-
ui?: {
|
|
2435
|
-
dock?: "left" | "right" | undefined;
|
|
2436
|
-
voice?: boolean | undefined;
|
|
2437
|
-
} | undefined;
|
|
2438
|
-
};
|
|
2439
|
-
knowledge: {
|
|
2440
|
-
path: string;
|
|
2441
|
-
contentBase64: string;
|
|
2442
|
-
}[];
|
|
2412
|
+
input: {};
|
|
2413
|
+
output: {
|
|
2414
|
+
error: {
|
|
2415
|
+
type: string;
|
|
2443
2416
|
};
|
|
2444
2417
|
};
|
|
2418
|
+
outputFormat: "json";
|
|
2419
|
+
status: 422;
|
|
2420
|
+
} | {
|
|
2421
|
+
input: {};
|
|
2445
2422
|
output: {
|
|
2446
2423
|
error: {
|
|
2447
2424
|
type: string;
|
|
2425
|
+
message: string;
|
|
2448
2426
|
};
|
|
2449
2427
|
};
|
|
2450
2428
|
outputFormat: "json";
|
|
2451
|
-
status:
|
|
2429
|
+
status: 503;
|
|
2452
2430
|
};
|
|
2453
2431
|
}>;
|
|
2454
2432
|
};
|
|
@@ -2782,7 +2760,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
2782
2760
|
readonly group: string;
|
|
2783
2761
|
readonly source: import('node_modules/@belong/cloud/src/features/skills/skill.service').SkillSource;
|
|
2784
2762
|
}[];
|
|
2785
|
-
commands:
|
|
2763
|
+
commands: {
|
|
2786
2764
|
readonly name: string;
|
|
2787
2765
|
readonly description: string;
|
|
2788
2766
|
}[];
|
|
@@ -3834,4 +3812,525 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
3834
3812
|
};
|
|
3835
3813
|
};
|
|
3836
3814
|
};
|
|
3815
|
+
} & {
|
|
3816
|
+
v1: {
|
|
3817
|
+
admin: {
|
|
3818
|
+
tenants: import('hono/client').ClientRequest<string, "/v1/admin/tenants", {
|
|
3819
|
+
$post: {
|
|
3820
|
+
input: {};
|
|
3821
|
+
output: {
|
|
3822
|
+
error: {
|
|
3823
|
+
type: string;
|
|
3824
|
+
issues: readonly {
|
|
3825
|
+
readonly path: string;
|
|
3826
|
+
readonly message: string;
|
|
3827
|
+
}[];
|
|
3828
|
+
};
|
|
3829
|
+
};
|
|
3830
|
+
outputFormat: "json";
|
|
3831
|
+
status: 422;
|
|
3832
|
+
} | {
|
|
3833
|
+
input: {};
|
|
3834
|
+
output: {
|
|
3835
|
+
readonly tenant: {
|
|
3836
|
+
readonly id: string;
|
|
3837
|
+
readonly slug: string;
|
|
3838
|
+
readonly displayName: string;
|
|
3839
|
+
readonly productName: string | null;
|
|
3840
|
+
readonly knowledgeDomain: string | null;
|
|
3841
|
+
readonly authKind: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["authKind"];
|
|
3842
|
+
readonly authIssuer: string;
|
|
3843
|
+
readonly authAudience: string;
|
|
3844
|
+
readonly authJwksUri: string | null;
|
|
3845
|
+
readonly agentGrantProvider: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["agentGrantProvider"];
|
|
3846
|
+
readonly agentGrant: {
|
|
3847
|
+
readonly icsUrl: string | null;
|
|
3848
|
+
readonly fake: boolean;
|
|
3849
|
+
readonly hasIcsApiKey: boolean;
|
|
3850
|
+
} | null;
|
|
3851
|
+
readonly cli: {
|
|
3852
|
+
name: string;
|
|
3853
|
+
downloadUrl: string;
|
|
3854
|
+
proxyUrl?: string | undefined;
|
|
3855
|
+
configPath?: string | undefined;
|
|
3856
|
+
configJson?: string | undefined;
|
|
3857
|
+
env?: {
|
|
3858
|
+
[x: string]: string;
|
|
3859
|
+
} | undefined;
|
|
3860
|
+
integration?: "simetrik" | undefined;
|
|
3861
|
+
} | null;
|
|
3862
|
+
readonly terminalSnapshot: string | null;
|
|
3863
|
+
readonly sandbox: {
|
|
3864
|
+
taskSnapshot?: string | undefined;
|
|
3865
|
+
autoStopMinutes?: number | undefined;
|
|
3866
|
+
} | null;
|
|
3867
|
+
readonly legacyNames: boolean;
|
|
3868
|
+
readonly bakedSkillsBundle: boolean;
|
|
3869
|
+
readonly bakedWorkspaceTree: boolean;
|
|
3870
|
+
readonly bakedPluginBundle: boolean;
|
|
3871
|
+
readonly notificationsFromEmail: string | null;
|
|
3872
|
+
readonly agentId: string | null;
|
|
3873
|
+
readonly status: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["status"];
|
|
3874
|
+
readonly origins: readonly string[];
|
|
3875
|
+
readonly createdAt: string;
|
|
3876
|
+
readonly updatedAt: string;
|
|
3877
|
+
readonly hasHs256Secret: boolean;
|
|
3878
|
+
readonly hasPublishToken: boolean;
|
|
3879
|
+
readonly hasResendApiKey: boolean;
|
|
3880
|
+
readonly hasRestToolSecret: boolean;
|
|
3881
|
+
};
|
|
3882
|
+
readonly minted: {
|
|
3883
|
+
readonly hs256Secret?: string | undefined;
|
|
3884
|
+
readonly publishToken?: string | undefined;
|
|
3885
|
+
};
|
|
3886
|
+
};
|
|
3887
|
+
outputFormat: "json";
|
|
3888
|
+
status: 201;
|
|
3889
|
+
} | {
|
|
3890
|
+
input: {};
|
|
3891
|
+
output: {
|
|
3892
|
+
error: {
|
|
3893
|
+
type: string;
|
|
3894
|
+
};
|
|
3895
|
+
};
|
|
3896
|
+
outputFormat: "json";
|
|
3897
|
+
status: 409;
|
|
3898
|
+
};
|
|
3899
|
+
}>;
|
|
3900
|
+
};
|
|
3901
|
+
};
|
|
3902
|
+
} & {
|
|
3903
|
+
v1: {
|
|
3904
|
+
admin: {
|
|
3905
|
+
tenants: {
|
|
3906
|
+
":slug": import('hono/client').ClientRequest<string, "/v1/admin/tenants/:slug", {
|
|
3907
|
+
$get: {
|
|
3908
|
+
input: {
|
|
3909
|
+
param: {
|
|
3910
|
+
slug: string;
|
|
3911
|
+
};
|
|
3912
|
+
};
|
|
3913
|
+
output: {
|
|
3914
|
+
readonly tenant: {
|
|
3915
|
+
readonly id: string;
|
|
3916
|
+
readonly slug: string;
|
|
3917
|
+
readonly displayName: string;
|
|
3918
|
+
readonly productName: string | null;
|
|
3919
|
+
readonly knowledgeDomain: string | null;
|
|
3920
|
+
readonly authKind: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["authKind"];
|
|
3921
|
+
readonly authIssuer: string;
|
|
3922
|
+
readonly authAudience: string;
|
|
3923
|
+
readonly authJwksUri: string | null;
|
|
3924
|
+
readonly agentGrantProvider: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["agentGrantProvider"];
|
|
3925
|
+
readonly agentGrant: {
|
|
3926
|
+
readonly icsUrl: string | null;
|
|
3927
|
+
readonly fake: boolean;
|
|
3928
|
+
readonly hasIcsApiKey: boolean;
|
|
3929
|
+
} | null;
|
|
3930
|
+
readonly cli: {
|
|
3931
|
+
name: string;
|
|
3932
|
+
downloadUrl: string;
|
|
3933
|
+
proxyUrl?: string | undefined;
|
|
3934
|
+
configPath?: string | undefined;
|
|
3935
|
+
configJson?: string | undefined;
|
|
3936
|
+
env?: {
|
|
3937
|
+
[x: string]: string;
|
|
3938
|
+
} | undefined;
|
|
3939
|
+
integration?: "simetrik" | undefined;
|
|
3940
|
+
} | null;
|
|
3941
|
+
readonly terminalSnapshot: string | null;
|
|
3942
|
+
readonly sandbox: {
|
|
3943
|
+
taskSnapshot?: string | undefined;
|
|
3944
|
+
autoStopMinutes?: number | undefined;
|
|
3945
|
+
} | null;
|
|
3946
|
+
readonly legacyNames: boolean;
|
|
3947
|
+
readonly bakedSkillsBundle: boolean;
|
|
3948
|
+
readonly bakedWorkspaceTree: boolean;
|
|
3949
|
+
readonly bakedPluginBundle: boolean;
|
|
3950
|
+
readonly notificationsFromEmail: string | null;
|
|
3951
|
+
readonly agentId: string | null;
|
|
3952
|
+
readonly status: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["status"];
|
|
3953
|
+
readonly origins: readonly string[];
|
|
3954
|
+
readonly createdAt: string;
|
|
3955
|
+
readonly updatedAt: string;
|
|
3956
|
+
readonly hasHs256Secret: boolean;
|
|
3957
|
+
readonly hasPublishToken: boolean;
|
|
3958
|
+
readonly hasResendApiKey: boolean;
|
|
3959
|
+
readonly hasRestToolSecret: boolean;
|
|
3960
|
+
};
|
|
3961
|
+
};
|
|
3962
|
+
outputFormat: "json";
|
|
3963
|
+
status: 200;
|
|
3964
|
+
} | {
|
|
3965
|
+
input: {
|
|
3966
|
+
param: {
|
|
3967
|
+
slug: string;
|
|
3968
|
+
};
|
|
3969
|
+
};
|
|
3970
|
+
output: {
|
|
3971
|
+
error: {
|
|
3972
|
+
type: string;
|
|
3973
|
+
};
|
|
3974
|
+
};
|
|
3975
|
+
outputFormat: "json";
|
|
3976
|
+
status: 404;
|
|
3977
|
+
};
|
|
3978
|
+
$patch: {
|
|
3979
|
+
input: {
|
|
3980
|
+
param: {
|
|
3981
|
+
slug: string;
|
|
3982
|
+
};
|
|
3983
|
+
};
|
|
3984
|
+
output: {
|
|
3985
|
+
error: {
|
|
3986
|
+
type: string;
|
|
3987
|
+
issues: readonly {
|
|
3988
|
+
readonly path: string;
|
|
3989
|
+
readonly message: string;
|
|
3990
|
+
}[];
|
|
3991
|
+
};
|
|
3992
|
+
};
|
|
3993
|
+
outputFormat: "json";
|
|
3994
|
+
status: 422;
|
|
3995
|
+
} | {
|
|
3996
|
+
input: {
|
|
3997
|
+
param: {
|
|
3998
|
+
slug: string;
|
|
3999
|
+
};
|
|
4000
|
+
};
|
|
4001
|
+
output: {
|
|
4002
|
+
readonly tenant: {
|
|
4003
|
+
readonly id: string;
|
|
4004
|
+
readonly slug: string;
|
|
4005
|
+
readonly displayName: string;
|
|
4006
|
+
readonly productName: string | null;
|
|
4007
|
+
readonly knowledgeDomain: string | null;
|
|
4008
|
+
readonly authKind: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["authKind"];
|
|
4009
|
+
readonly authIssuer: string;
|
|
4010
|
+
readonly authAudience: string;
|
|
4011
|
+
readonly authJwksUri: string | null;
|
|
4012
|
+
readonly agentGrantProvider: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["agentGrantProvider"];
|
|
4013
|
+
readonly agentGrant: {
|
|
4014
|
+
readonly icsUrl: string | null;
|
|
4015
|
+
readonly fake: boolean;
|
|
4016
|
+
readonly hasIcsApiKey: boolean;
|
|
4017
|
+
} | null;
|
|
4018
|
+
readonly cli: {
|
|
4019
|
+
name: string;
|
|
4020
|
+
downloadUrl: string;
|
|
4021
|
+
proxyUrl?: string | undefined;
|
|
4022
|
+
configPath?: string | undefined;
|
|
4023
|
+
configJson?: string | undefined;
|
|
4024
|
+
env?: {
|
|
4025
|
+
[x: string]: string;
|
|
4026
|
+
} | undefined;
|
|
4027
|
+
integration?: "simetrik" | undefined;
|
|
4028
|
+
} | null;
|
|
4029
|
+
readonly terminalSnapshot: string | null;
|
|
4030
|
+
readonly sandbox: {
|
|
4031
|
+
taskSnapshot?: string | undefined;
|
|
4032
|
+
autoStopMinutes?: number | undefined;
|
|
4033
|
+
} | null;
|
|
4034
|
+
readonly legacyNames: boolean;
|
|
4035
|
+
readonly bakedSkillsBundle: boolean;
|
|
4036
|
+
readonly bakedWorkspaceTree: boolean;
|
|
4037
|
+
readonly bakedPluginBundle: boolean;
|
|
4038
|
+
readonly notificationsFromEmail: string | null;
|
|
4039
|
+
readonly agentId: string | null;
|
|
4040
|
+
readonly status: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["status"];
|
|
4041
|
+
readonly origins: readonly string[];
|
|
4042
|
+
readonly createdAt: string;
|
|
4043
|
+
readonly updatedAt: string;
|
|
4044
|
+
readonly hasHs256Secret: boolean;
|
|
4045
|
+
readonly hasPublishToken: boolean;
|
|
4046
|
+
readonly hasResendApiKey: boolean;
|
|
4047
|
+
readonly hasRestToolSecret: boolean;
|
|
4048
|
+
};
|
|
4049
|
+
};
|
|
4050
|
+
outputFormat: "json";
|
|
4051
|
+
status: 200;
|
|
4052
|
+
} | {
|
|
4053
|
+
input: {
|
|
4054
|
+
param: {
|
|
4055
|
+
slug: string;
|
|
4056
|
+
};
|
|
4057
|
+
};
|
|
4058
|
+
output: {
|
|
4059
|
+
error: {
|
|
4060
|
+
type: string;
|
|
4061
|
+
};
|
|
4062
|
+
};
|
|
4063
|
+
outputFormat: "json";
|
|
4064
|
+
status: 404;
|
|
4065
|
+
} | {
|
|
4066
|
+
input: {
|
|
4067
|
+
param: {
|
|
4068
|
+
slug: string;
|
|
4069
|
+
};
|
|
4070
|
+
};
|
|
4071
|
+
output: {
|
|
4072
|
+
error: {
|
|
4073
|
+
type: string;
|
|
4074
|
+
boundToSlug: string;
|
|
4075
|
+
};
|
|
4076
|
+
};
|
|
4077
|
+
outputFormat: "json";
|
|
4078
|
+
status: 409;
|
|
4079
|
+
};
|
|
4080
|
+
}>;
|
|
4081
|
+
};
|
|
4082
|
+
};
|
|
4083
|
+
};
|
|
4084
|
+
} & {
|
|
4085
|
+
v1: {
|
|
4086
|
+
admin: {
|
|
4087
|
+
tenants: {
|
|
4088
|
+
":slug": {
|
|
4089
|
+
origins: import('hono/client').ClientRequest<string, "/v1/admin/tenants/:slug/origins", {
|
|
4090
|
+
$post: {
|
|
4091
|
+
input: {
|
|
4092
|
+
param: {
|
|
4093
|
+
slug: string;
|
|
4094
|
+
};
|
|
4095
|
+
};
|
|
4096
|
+
output: null;
|
|
4097
|
+
outputFormat: "body";
|
|
4098
|
+
status: 204;
|
|
4099
|
+
} | {
|
|
4100
|
+
input: {
|
|
4101
|
+
param: {
|
|
4102
|
+
slug: string;
|
|
4103
|
+
};
|
|
4104
|
+
};
|
|
4105
|
+
output: {
|
|
4106
|
+
error: {
|
|
4107
|
+
type: string;
|
|
4108
|
+
issues: readonly {
|
|
4109
|
+
readonly path: string;
|
|
4110
|
+
readonly message: string;
|
|
4111
|
+
}[];
|
|
4112
|
+
};
|
|
4113
|
+
};
|
|
4114
|
+
outputFormat: "json";
|
|
4115
|
+
status: 422;
|
|
4116
|
+
} | {
|
|
4117
|
+
input: {
|
|
4118
|
+
param: {
|
|
4119
|
+
slug: string;
|
|
4120
|
+
};
|
|
4121
|
+
};
|
|
4122
|
+
output: {
|
|
4123
|
+
error: {
|
|
4124
|
+
type: string;
|
|
4125
|
+
};
|
|
4126
|
+
};
|
|
4127
|
+
outputFormat: "json";
|
|
4128
|
+
status: 404;
|
|
4129
|
+
};
|
|
4130
|
+
$delete: {
|
|
4131
|
+
input: {
|
|
4132
|
+
param: {
|
|
4133
|
+
slug: string;
|
|
4134
|
+
};
|
|
4135
|
+
};
|
|
4136
|
+
output: null;
|
|
4137
|
+
outputFormat: "body";
|
|
4138
|
+
status: 204;
|
|
4139
|
+
} | {
|
|
4140
|
+
input: {
|
|
4141
|
+
param: {
|
|
4142
|
+
slug: string;
|
|
4143
|
+
};
|
|
4144
|
+
};
|
|
4145
|
+
output: {
|
|
4146
|
+
error: {
|
|
4147
|
+
type: string;
|
|
4148
|
+
issues: {
|
|
4149
|
+
path: string;
|
|
4150
|
+
message: string;
|
|
4151
|
+
}[];
|
|
4152
|
+
};
|
|
4153
|
+
};
|
|
4154
|
+
outputFormat: "json";
|
|
4155
|
+
status: 422;
|
|
4156
|
+
} | {
|
|
4157
|
+
input: {
|
|
4158
|
+
param: {
|
|
4159
|
+
slug: string;
|
|
4160
|
+
};
|
|
4161
|
+
};
|
|
4162
|
+
output: {
|
|
4163
|
+
error: {
|
|
4164
|
+
type: string;
|
|
4165
|
+
};
|
|
4166
|
+
};
|
|
4167
|
+
outputFormat: "json";
|
|
4168
|
+
status: 404;
|
|
4169
|
+
};
|
|
4170
|
+
}>;
|
|
4171
|
+
};
|
|
4172
|
+
};
|
|
4173
|
+
};
|
|
4174
|
+
};
|
|
4175
|
+
} & {
|
|
4176
|
+
v1: {
|
|
4177
|
+
admin: {
|
|
4178
|
+
tenants: {
|
|
4179
|
+
":slug": {
|
|
4180
|
+
"rotate-secret": import('hono/client').ClientRequest<string, "/v1/admin/tenants/:slug/rotate-secret", {
|
|
4181
|
+
$post: {
|
|
4182
|
+
input: {
|
|
4183
|
+
param: {
|
|
4184
|
+
slug: string;
|
|
4185
|
+
};
|
|
4186
|
+
};
|
|
4187
|
+
output: {
|
|
4188
|
+
readonly hs256Secret: string;
|
|
4189
|
+
};
|
|
4190
|
+
outputFormat: "json";
|
|
4191
|
+
status: 200;
|
|
4192
|
+
} | {
|
|
4193
|
+
input: {
|
|
4194
|
+
param: {
|
|
4195
|
+
slug: string;
|
|
4196
|
+
};
|
|
4197
|
+
};
|
|
4198
|
+
output: {
|
|
4199
|
+
error: {
|
|
4200
|
+
type: string;
|
|
4201
|
+
};
|
|
4202
|
+
};
|
|
4203
|
+
outputFormat: "json";
|
|
4204
|
+
status: 404;
|
|
4205
|
+
} | {
|
|
4206
|
+
input: {
|
|
4207
|
+
param: {
|
|
4208
|
+
slug: string;
|
|
4209
|
+
};
|
|
4210
|
+
};
|
|
4211
|
+
output: {
|
|
4212
|
+
error: {
|
|
4213
|
+
type: string;
|
|
4214
|
+
};
|
|
4215
|
+
};
|
|
4216
|
+
outputFormat: "json";
|
|
4217
|
+
status: 409;
|
|
4218
|
+
};
|
|
4219
|
+
}>;
|
|
4220
|
+
};
|
|
4221
|
+
};
|
|
4222
|
+
};
|
|
4223
|
+
};
|
|
4224
|
+
} & {
|
|
4225
|
+
v1: {
|
|
4226
|
+
admin: {
|
|
4227
|
+
tenants: {
|
|
4228
|
+
":slug": {
|
|
4229
|
+
"publish-token": import('hono/client').ClientRequest<string, "/v1/admin/tenants/:slug/publish-token", {
|
|
4230
|
+
$post: {
|
|
4231
|
+
input: {
|
|
4232
|
+
param: {
|
|
4233
|
+
slug: string;
|
|
4234
|
+
};
|
|
4235
|
+
};
|
|
4236
|
+
output: {
|
|
4237
|
+
readonly publishToken: string;
|
|
4238
|
+
};
|
|
4239
|
+
outputFormat: "json";
|
|
4240
|
+
status: 200;
|
|
4241
|
+
} | {
|
|
4242
|
+
input: {
|
|
4243
|
+
param: {
|
|
4244
|
+
slug: string;
|
|
4245
|
+
};
|
|
4246
|
+
};
|
|
4247
|
+
output: {
|
|
4248
|
+
error: {
|
|
4249
|
+
type: string;
|
|
4250
|
+
};
|
|
4251
|
+
};
|
|
4252
|
+
outputFormat: "json";
|
|
4253
|
+
status: 404;
|
|
4254
|
+
};
|
|
4255
|
+
$delete: {
|
|
4256
|
+
input: {
|
|
4257
|
+
param: {
|
|
4258
|
+
slug: string;
|
|
4259
|
+
};
|
|
4260
|
+
};
|
|
4261
|
+
output: null;
|
|
4262
|
+
outputFormat: "body";
|
|
4263
|
+
status: 204;
|
|
4264
|
+
} | {
|
|
4265
|
+
input: {
|
|
4266
|
+
param: {
|
|
4267
|
+
slug: string;
|
|
4268
|
+
};
|
|
4269
|
+
};
|
|
4270
|
+
output: {
|
|
4271
|
+
error: {
|
|
4272
|
+
type: string;
|
|
4273
|
+
};
|
|
4274
|
+
};
|
|
4275
|
+
outputFormat: "json";
|
|
4276
|
+
status: 404;
|
|
4277
|
+
};
|
|
4278
|
+
}>;
|
|
4279
|
+
};
|
|
4280
|
+
};
|
|
4281
|
+
};
|
|
4282
|
+
};
|
|
4283
|
+
} & {
|
|
4284
|
+
v1: {
|
|
4285
|
+
admin: {
|
|
4286
|
+
tenants: {
|
|
4287
|
+
":slug": {
|
|
4288
|
+
"rest-tool-secret": import('hono/client').ClientRequest<string, "/v1/admin/tenants/:slug/rest-tool-secret", {
|
|
4289
|
+
$post: {
|
|
4290
|
+
input: {
|
|
4291
|
+
param: {
|
|
4292
|
+
slug: string;
|
|
4293
|
+
};
|
|
4294
|
+
};
|
|
4295
|
+
output: {
|
|
4296
|
+
error: {
|
|
4297
|
+
type: string;
|
|
4298
|
+
issues: readonly {
|
|
4299
|
+
readonly path: string;
|
|
4300
|
+
readonly message: string;
|
|
4301
|
+
}[];
|
|
4302
|
+
};
|
|
4303
|
+
};
|
|
4304
|
+
outputFormat: "json";
|
|
4305
|
+
status: 422;
|
|
4306
|
+
} | {
|
|
4307
|
+
input: {
|
|
4308
|
+
param: {
|
|
4309
|
+
slug: string;
|
|
4310
|
+
};
|
|
4311
|
+
};
|
|
4312
|
+
output: {
|
|
4313
|
+
readonly secret: string;
|
|
4314
|
+
};
|
|
4315
|
+
outputFormat: "json";
|
|
4316
|
+
status: 200;
|
|
4317
|
+
} | {
|
|
4318
|
+
input: {
|
|
4319
|
+
param: {
|
|
4320
|
+
slug: string;
|
|
4321
|
+
};
|
|
4322
|
+
};
|
|
4323
|
+
output: {
|
|
4324
|
+
error: {
|
|
4325
|
+
type: string;
|
|
4326
|
+
};
|
|
4327
|
+
};
|
|
4328
|
+
outputFormat: "json";
|
|
4329
|
+
status: 404;
|
|
4330
|
+
};
|
|
4331
|
+
}>;
|
|
4332
|
+
};
|
|
4333
|
+
};
|
|
4334
|
+
};
|
|
4335
|
+
};
|
|
3837
4336
|
};
|