@belonguniverseai/react-sdk 0.3.1 → 0.3.5

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.
Files changed (53) hide show
  1. package/dist/api/client.d.ts +700 -239
  2. package/dist/component/{arc-B7qwdj5Y.js → arc-6I9bTNTk.js} +2 -2
  3. package/dist/component/{architectureDiagram-3BPJPVTR-DHEfxvGE.js → architectureDiagram-3BPJPVTR-DecTtp8M.js} +3 -3
  4. package/dist/component/{blockDiagram-GPEHLZMM-DO4_lzz8.js → blockDiagram-GPEHLZMM-D0ShJEdc.js} +4 -4
  5. package/dist/component/{c4Diagram-AAUBKEIU-BFvKjeX3.js → c4Diagram-AAUBKEIU-D-N4NLkS.js} +3 -3
  6. package/dist/component/{channel-Be_mlBXd.js → channel-BTRAV_iV.js} +2 -2
  7. package/dist/component/{chunk-2J33WTMH-CJ_JyxkR.js → chunk-2J33WTMH-Chgh4n6n.js} +2 -2
  8. package/dist/component/{chunk-4BX2VUAB-BRkYFXFB.js → chunk-4BX2VUAB-BR7BZW6m.js} +2 -2
  9. package/dist/component/{chunk-55IACEB6-D42tDKAF.js → chunk-55IACEB6-D0_e3QRv.js} +2 -2
  10. package/dist/component/{chunk-727SXJPM-BYOAmsWs.js → chunk-727SXJPM-Cooz66Ae.js} +6 -6
  11. package/dist/component/{chunk-AQP2D5EJ-CUNDVk4Z.js → chunk-AQP2D5EJ-CAz4YEpg.js} +4 -4
  12. package/dist/component/{chunk-FMBD7UC4-BQy-2qFB.js → chunk-FMBD7UC4-C8n0NV45.js} +2 -2
  13. package/dist/component/{chunk-ND2GUHAM-ktW5vI-y.js → chunk-ND2GUHAM-Di6RJblt.js} +2 -2
  14. package/dist/component/{chunk-QZHKN3VN-CpSIn4cF.js → chunk-QZHKN3VN-Cii0zOyK.js} +2 -2
  15. package/dist/component/{classDiagram-4FO5ZUOK-Cm-1lpI4.js → classDiagram-4FO5ZUOK-BIqkynKR.js} +3 -3
  16. package/dist/component/{classDiagram-v2-Q7XG4LA2-Cm-1lpI4.js → classDiagram-v2-Q7XG4LA2-BIqkynKR.js} +3 -3
  17. package/dist/component/{cose-bilkent-S5V4N54A-DqixgjwQ.js → cose-bilkent-S5V4N54A-Dq3K4Kak.js} +2 -2
  18. package/dist/component/{dagre-BM42HDAG-Dv-P7Krm.js → dagre-BM42HDAG-KdRn-NQ2.js} +2 -2
  19. package/dist/component/{diagram-2AECGRRQ-kQGiD7lD.js → diagram-2AECGRRQ-CeJVj827.js} +3 -3
  20. package/dist/component/{diagram-5GNKFQAL-DoQlkZPU.js → diagram-5GNKFQAL-ceCtRhc4.js} +4 -4
  21. package/dist/component/{diagram-KO2AKTUF-CHX5UoXH.js → diagram-KO2AKTUF-CU9xKIPR.js} +3 -3
  22. package/dist/component/{diagram-LMA3HP47-D5zUvZVG.js → diagram-LMA3HP47-CRZuMr0r.js} +3 -3
  23. package/dist/component/{diagram-OG6HWLK6-B4npobs8.js → diagram-OG6HWLK6-DdO8bLrY.js} +4 -4
  24. package/dist/component/{erDiagram-TEJ5UH35-6z0JmU6m.js → erDiagram-TEJ5UH35-BnPlE6-i.js} +5 -5
  25. package/dist/component/{flowDiagram-I6XJVG4X-8Z4MRGGY.js → flowDiagram-I6XJVG4X-Bi70muwl.js} +7 -7
  26. package/dist/component/{ganttDiagram-6RSMTGT7-Dx9QEDPc.js → ganttDiagram-6RSMTGT7-FjDKlQ-F.js} +3 -3
  27. package/dist/component/{gitGraphDiagram-PVQCEYII-BUHDP_7X.js → gitGraphDiagram-PVQCEYII-B9GAxjPJ.js} +4 -4
  28. package/dist/component/{highlighted-body-OFNGDK62-DBPWZwq8.js → highlighted-body-OFNGDK62-DEhmLiFe.js} +2 -2
  29. package/dist/component/index.js +1 -1
  30. package/dist/component/{infoDiagram-5YYISTIA-aiJg6_Qm.js → infoDiagram-5YYISTIA-D_z8khpb.js} +2 -2
  31. package/dist/component/{ishikawaDiagram-YF4QCWOH-DL-CzUme.js → ishikawaDiagram-YF4QCWOH-DHUQHc7h.js} +2 -2
  32. package/dist/component/{journeyDiagram-JHISSGLW-CYDK3R_C.js → journeyDiagram-JHISSGLW-BdPxTkII.js} +5 -5
  33. package/dist/component/{kanban-definition-UN3LZRKU-9ZNt06Tr.js → kanban-definition-UN3LZRKU-CXo8cG6_.js} +3 -3
  34. package/dist/component/{linear-CtEJWK1N.js → linear-azN-TF0f.js} +2 -2
  35. package/dist/component/{mermaid-GHXKKRXX-B00yz-X8.js → mermaid-GHXKKRXX-P_Te0BTc.js} +14146 -14080
  36. package/dist/component/{mindmap-definition-RKZ34NQL-CHx9Cg9G.js → mindmap-definition-RKZ34NQL-CVTlgpwY.js} +4 -4
  37. package/dist/component/{pieDiagram-4H26LBE5-B_dLoXY_.js → pieDiagram-4H26LBE5-BBqlJN3M.js} +4 -4
  38. package/dist/component/{quadrantDiagram-W4KKPZXB-DUL3njPs.js → quadrantDiagram-W4KKPZXB-Cq8G5gg8.js} +3 -3
  39. package/dist/component/{requirementDiagram-4Y6WPE33-DJodprsF.js → requirementDiagram-4Y6WPE33-DE8meVq8.js} +4 -4
  40. package/dist/component/{sankeyDiagram-5OEKKPKP-2Nn_RQ9h.js → sankeyDiagram-5OEKKPKP-rGv9060J.js} +2 -2
  41. package/dist/component/{sequenceDiagram-3UESZ5HK-xJk0kY4S.js → sequenceDiagram-3UESZ5HK-CYZCqSg5.js} +4 -4
  42. package/dist/component/{stateDiagram-AJRCARHV-D4QH9oBV.js → stateDiagram-AJRCARHV-7PfYQio8.js} +3 -3
  43. package/dist/component/{stateDiagram-v2-BHNVJYJU-C6SRcIR1.js → stateDiagram-v2-BHNVJYJU-Bc8Y618M.js} +3 -3
  44. package/dist/component/{timeline-definition-PNZ67QCA-SaEQyBaf.js → timeline-definition-PNZ67QCA-DDLIgmb4.js} +3 -3
  45. package/dist/component/{vennDiagram-CIIHVFJN-Bf8QpQpr.js → vennDiagram-CIIHVFJN-BPKi69Hn.js} +2 -2
  46. package/dist/component/{wardleyDiagram-YWT4CUSO-B0wVwumO.js → wardleyDiagram-YWT4CUSO-Dumz_-ib.js} +3 -3
  47. package/dist/component/{xychartDiagram-2RQKCTM6-Dl5itjjz.js → xychartDiagram-2RQKCTM6-DQGacrwk.js} +3 -3
  48. package/dist/components/embed/BrandMark.d.ts +13 -4
  49. package/dist/components/embed/HeavyPreview.d.ts +6 -0
  50. package/dist/components/embed/preview-content-kind.d.ts +5 -5
  51. package/dist/embed/locale.d.ts +3 -1
  52. package/dist/embed/logo.d.ts +7 -1
  53. package/package.json +1 -1
@@ -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: {
@@ -2167,51 +2255,76 @@ export declare const createApiClient: (baseUrl: string) => {
2167
2255
  input: {};
2168
2256
  output: {
2169
2257
  theme: {
2170
- readonly mode?: "light" | "dark" | undefined;
2171
- readonly side?: "right" | "left" | undefined;
2172
- readonly density?: "comfortable" | "compact" | undefined;
2173
- readonly panelWidth?: number | undefined;
2174
- readonly fontFamily?: string | undefined;
2175
- readonly radius?: string | undefined;
2176
- readonly palettes?: {
2177
- readonly light?: {
2178
- readonly primary?: string | undefined;
2179
- readonly primaryForeground?: string | undefined;
2180
- readonly background?: string | undefined;
2181
- readonly foreground?: string | undefined;
2182
- readonly border?: string | undefined;
2183
- readonly muted?: string | undefined;
2184
- readonly mutedForeground?: string | undefined;
2185
- readonly accent?: string | undefined;
2186
- readonly accentForeground?: string | undefined;
2187
- readonly destructive?: string | undefined;
2188
- readonly destructiveForeground?: string | undefined;
2189
- readonly userBubble?: string | undefined;
2190
- readonly userBubbleForeground?: string | undefined;
2191
- readonly assistantBubble?: string | undefined;
2192
- readonly assistantBubbleForeground?: string | undefined;
2258
+ brand?: {
2259
+ name?: string | undefined;
2260
+ initials?: string | undefined;
2261
+ logo?: string | undefined;
2262
+ } | undefined;
2263
+ mode?: "light" | "dark" | undefined;
2264
+ copy?: {
2265
+ en?: {
2266
+ capabilities?: string[] | undefined;
2267
+ subtitle?: string | undefined;
2268
+ introBody?: string | undefined;
2269
+ suggestions?: string[] | undefined;
2270
+ } | undefined;
2271
+ es?: {
2272
+ capabilities?: string[] | undefined;
2273
+ subtitle?: string | undefined;
2274
+ introBody?: string | undefined;
2275
+ suggestions?: string[] | undefined;
2193
2276
  } | undefined;
2194
- readonly dark?: {
2195
- readonly primary?: string | undefined;
2196
- readonly primaryForeground?: string | undefined;
2197
- readonly background?: string | undefined;
2198
- readonly foreground?: string | undefined;
2199
- readonly border?: string | undefined;
2200
- readonly muted?: string | undefined;
2201
- readonly mutedForeground?: string | undefined;
2202
- readonly accent?: string | undefined;
2203
- readonly accentForeground?: string | undefined;
2204
- readonly destructive?: string | undefined;
2205
- readonly destructiveForeground?: string | undefined;
2206
- readonly userBubble?: string | undefined;
2207
- readonly userBubbleForeground?: string | undefined;
2208
- readonly assistantBubble?: string | undefined;
2209
- readonly assistantBubbleForeground?: string | undefined;
2277
+ pt?: {
2278
+ capabilities?: string[] | undefined;
2279
+ subtitle?: string | undefined;
2280
+ introBody?: string | undefined;
2281
+ suggestions?: string[] | undefined;
2210
2282
  } | undefined;
2211
2283
  } | undefined;
2212
- readonly brand?: {
2213
- readonly name?: string | undefined;
2214
- readonly initials?: string | undefined;
2284
+ accent?: string | undefined;
2285
+ side?: "left" | "right" | undefined;
2286
+ density?: "comfortable" | "compact" | undefined;
2287
+ panelWidth?: number | undefined;
2288
+ fontFamily?: string | undefined;
2289
+ radius?: string | undefined;
2290
+ palettes?: {
2291
+ light?: {
2292
+ primary?: string | undefined;
2293
+ primaryForeground?: string | undefined;
2294
+ background?: string | undefined;
2295
+ foreground?: string | undefined;
2296
+ border?: string | undefined;
2297
+ muted?: string | undefined;
2298
+ mutedForeground?: string | undefined;
2299
+ accent?: string | undefined;
2300
+ accentForeground?: string | undefined;
2301
+ destructive?: string | undefined;
2302
+ destructiveForeground?: string | undefined;
2303
+ userBubble?: string | undefined;
2304
+ userBubbleForeground?: string | undefined;
2305
+ assistantBubble?: string | undefined;
2306
+ assistantBubbleForeground?: string | undefined;
2307
+ } | undefined;
2308
+ dark?: {
2309
+ primary?: string | undefined;
2310
+ primaryForeground?: string | undefined;
2311
+ background?: string | undefined;
2312
+ foreground?: string | undefined;
2313
+ border?: string | undefined;
2314
+ muted?: string | undefined;
2315
+ mutedForeground?: string | undefined;
2316
+ accent?: string | undefined;
2317
+ accentForeground?: string | undefined;
2318
+ destructive?: string | undefined;
2319
+ destructiveForeground?: string | undefined;
2320
+ userBubble?: string | undefined;
2321
+ userBubbleForeground?: string | undefined;
2322
+ assistantBubble?: string | undefined;
2323
+ assistantBubbleForeground?: string | undefined;
2324
+ } | undefined;
2325
+ } | undefined;
2326
+ cssVars?: {
2327
+ [x: string]: string;
2215
2328
  } | undefined;
2216
2329
  };
2217
2330
  };
@@ -2226,229 +2339,68 @@ export declare const createApiClient: (baseUrl: string) => {
2226
2339
  agents: {
2227
2340
  publish: import('hono/client').ClientRequest<string, "/v1/agents/publish", {
2228
2341
  $post: {
2229
- input: {
2230
- json: {
2231
- version: 1;
2232
- agentId: string;
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
- }[];
2342
+ input: {};
2343
+ output: {
2344
+ error: {
2345
+ type: string;
2276
2346
  };
2277
2347
  };
2348
+ outputFormat: "json";
2349
+ status: 400;
2350
+ } | {
2351
+ input: {};
2278
2352
  output: {
2279
- error: string;
2353
+ readonly agentId: string;
2354
+ readonly objectKey: string;
2355
+ readonly publishedAt: string;
2356
+ readonly version: number;
2357
+ readonly changed: boolean;
2358
+ readonly warnings: readonly string[];
2280
2359
  };
2281
2360
  outputFormat: "json";
2282
- status: 503;
2361
+ status: 201;
2283
2362
  } | {
2284
- input: {
2285
- json: {
2286
- version: 1;
2287
- agentId: string;
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
- }[];
2363
+ input: {};
2364
+ output: {
2365
+ error: {
2366
+ type: string;
2331
2367
  };
2332
2368
  };
2369
+ outputFormat: "json";
2370
+ status: 404;
2371
+ } | {
2372
+ input: {};
2333
2373
  output: {
2334
2374
  error: string;
2335
2375
  };
2336
2376
  outputFormat: "json";
2337
2377
  status: 401;
2338
2378
  } | {
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
- };
2379
+ input: {};
2388
2380
  output: {
2389
- agentId: string;
2390
- objectKey: string;
2391
- publishedAt: string;
2381
+ error: string;
2392
2382
  };
2393
2383
  outputFormat: "json";
2394
- status: 201;
2384
+ status: 403;
2395
2385
  } | {
2396
- input: {
2397
- json: {
2398
- version: 1;
2399
- agentId: string;
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
- }[];
2386
+ input: {};
2387
+ output: {
2388
+ error: {
2389
+ type: string;
2443
2390
  };
2444
2391
  };
2392
+ outputFormat: "json";
2393
+ status: 422;
2394
+ } | {
2395
+ input: {};
2445
2396
  output: {
2446
2397
  error: {
2447
2398
  type: string;
2399
+ message: string;
2448
2400
  };
2449
2401
  };
2450
2402
  outputFormat: "json";
2451
- status: 422;
2403
+ status: 503;
2452
2404
  };
2453
2405
  }>;
2454
2406
  };
@@ -3834,4 +3786,513 @@ export declare const createApiClient: (baseUrl: string) => {
3834
3786
  };
3835
3787
  };
3836
3788
  };
3789
+ } & {
3790
+ v1: {
3791
+ admin: {
3792
+ tenants: import('hono/client').ClientRequest<string, "/v1/admin/tenants", {
3793
+ $post: {
3794
+ input: {};
3795
+ output: {
3796
+ error: {
3797
+ type: string;
3798
+ issues: readonly {
3799
+ readonly path: string;
3800
+ readonly message: string;
3801
+ }[];
3802
+ };
3803
+ };
3804
+ outputFormat: "json";
3805
+ status: 422;
3806
+ } | {
3807
+ input: {};
3808
+ output: {
3809
+ readonly tenant: {
3810
+ readonly id: string;
3811
+ readonly slug: string;
3812
+ readonly displayName: string;
3813
+ readonly productName: string | null;
3814
+ readonly knowledgeDomain: string | null;
3815
+ readonly authKind: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["authKind"];
3816
+ readonly authIssuer: string;
3817
+ readonly authAudience: string;
3818
+ readonly authJwksUri: string | null;
3819
+ readonly agentGrantProvider: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["agentGrantProvider"];
3820
+ readonly agentGrant: {
3821
+ readonly icsUrl: string | null;
3822
+ readonly fake: boolean;
3823
+ readonly hasIcsApiKey: boolean;
3824
+ } | null;
3825
+ readonly cli: {
3826
+ name: string;
3827
+ downloadUrl: string;
3828
+ proxyUrl?: string | undefined;
3829
+ configPath?: string | undefined;
3830
+ configJson?: string | undefined;
3831
+ env?: {
3832
+ [x: string]: string;
3833
+ } | undefined;
3834
+ integration?: "simetrik" | undefined;
3835
+ } | null;
3836
+ readonly terminalSnapshot: string | null;
3837
+ readonly legacyNames: boolean;
3838
+ readonly bakedSkillsBundle: boolean;
3839
+ readonly bakedWorkspaceTree: boolean;
3840
+ readonly bakedPluginBundle: boolean;
3841
+ readonly notificationsFromEmail: string | null;
3842
+ readonly agentId: string | null;
3843
+ readonly status: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["status"];
3844
+ readonly origins: readonly string[];
3845
+ readonly createdAt: string;
3846
+ readonly updatedAt: string;
3847
+ readonly hasHs256Secret: boolean;
3848
+ readonly hasPublishToken: boolean;
3849
+ readonly hasResendApiKey: boolean;
3850
+ readonly hasRestToolSecret: boolean;
3851
+ };
3852
+ readonly minted: {
3853
+ readonly hs256Secret?: string | undefined;
3854
+ readonly publishToken?: string | undefined;
3855
+ };
3856
+ };
3857
+ outputFormat: "json";
3858
+ status: 201;
3859
+ } | {
3860
+ input: {};
3861
+ output: {
3862
+ error: {
3863
+ type: string;
3864
+ };
3865
+ };
3866
+ outputFormat: "json";
3867
+ status: 409;
3868
+ };
3869
+ }>;
3870
+ };
3871
+ };
3872
+ } & {
3873
+ v1: {
3874
+ admin: {
3875
+ tenants: {
3876
+ ":slug": import('hono/client').ClientRequest<string, "/v1/admin/tenants/:slug", {
3877
+ $get: {
3878
+ input: {
3879
+ param: {
3880
+ slug: string;
3881
+ };
3882
+ };
3883
+ output: {
3884
+ readonly tenant: {
3885
+ readonly id: string;
3886
+ readonly slug: string;
3887
+ readonly displayName: string;
3888
+ readonly productName: string | null;
3889
+ readonly knowledgeDomain: string | null;
3890
+ readonly authKind: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["authKind"];
3891
+ readonly authIssuer: string;
3892
+ readonly authAudience: string;
3893
+ readonly authJwksUri: string | null;
3894
+ readonly agentGrantProvider: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["agentGrantProvider"];
3895
+ readonly agentGrant: {
3896
+ readonly icsUrl: string | null;
3897
+ readonly fake: boolean;
3898
+ readonly hasIcsApiKey: boolean;
3899
+ } | null;
3900
+ readonly cli: {
3901
+ name: string;
3902
+ downloadUrl: string;
3903
+ proxyUrl?: string | undefined;
3904
+ configPath?: string | undefined;
3905
+ configJson?: string | undefined;
3906
+ env?: {
3907
+ [x: string]: string;
3908
+ } | undefined;
3909
+ integration?: "simetrik" | undefined;
3910
+ } | null;
3911
+ readonly terminalSnapshot: string | null;
3912
+ readonly legacyNames: boolean;
3913
+ readonly bakedSkillsBundle: boolean;
3914
+ readonly bakedWorkspaceTree: boolean;
3915
+ readonly bakedPluginBundle: boolean;
3916
+ readonly notificationsFromEmail: string | null;
3917
+ readonly agentId: string | null;
3918
+ readonly status: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["status"];
3919
+ readonly origins: readonly string[];
3920
+ readonly createdAt: string;
3921
+ readonly updatedAt: string;
3922
+ readonly hasHs256Secret: boolean;
3923
+ readonly hasPublishToken: boolean;
3924
+ readonly hasResendApiKey: boolean;
3925
+ readonly hasRestToolSecret: boolean;
3926
+ };
3927
+ };
3928
+ outputFormat: "json";
3929
+ status: 200;
3930
+ } | {
3931
+ input: {
3932
+ param: {
3933
+ slug: string;
3934
+ };
3935
+ };
3936
+ output: {
3937
+ error: {
3938
+ type: string;
3939
+ };
3940
+ };
3941
+ outputFormat: "json";
3942
+ status: 404;
3943
+ };
3944
+ $patch: {
3945
+ input: {
3946
+ param: {
3947
+ slug: string;
3948
+ };
3949
+ };
3950
+ output: {
3951
+ error: {
3952
+ type: string;
3953
+ issues: readonly {
3954
+ readonly path: string;
3955
+ readonly message: string;
3956
+ }[];
3957
+ };
3958
+ };
3959
+ outputFormat: "json";
3960
+ status: 422;
3961
+ } | {
3962
+ input: {
3963
+ param: {
3964
+ slug: string;
3965
+ };
3966
+ };
3967
+ output: {
3968
+ readonly tenant: {
3969
+ readonly id: string;
3970
+ readonly slug: string;
3971
+ readonly displayName: string;
3972
+ readonly productName: string | null;
3973
+ readonly knowledgeDomain: string | null;
3974
+ readonly authKind: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["authKind"];
3975
+ readonly authIssuer: string;
3976
+ readonly authAudience: string;
3977
+ readonly authJwksUri: string | null;
3978
+ readonly agentGrantProvider: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["agentGrantProvider"];
3979
+ readonly agentGrant: {
3980
+ readonly icsUrl: string | null;
3981
+ readonly fake: boolean;
3982
+ readonly hasIcsApiKey: boolean;
3983
+ } | null;
3984
+ readonly cli: {
3985
+ name: string;
3986
+ downloadUrl: string;
3987
+ proxyUrl?: string | undefined;
3988
+ configPath?: string | undefined;
3989
+ configJson?: string | undefined;
3990
+ env?: {
3991
+ [x: string]: string;
3992
+ } | undefined;
3993
+ integration?: "simetrik" | undefined;
3994
+ } | null;
3995
+ readonly terminalSnapshot: string | null;
3996
+ readonly legacyNames: boolean;
3997
+ readonly bakedSkillsBundle: boolean;
3998
+ readonly bakedWorkspaceTree: boolean;
3999
+ readonly bakedPluginBundle: boolean;
4000
+ readonly notificationsFromEmail: string | null;
4001
+ readonly agentId: string | null;
4002
+ readonly status: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["status"];
4003
+ readonly origins: readonly string[];
4004
+ readonly createdAt: string;
4005
+ readonly updatedAt: string;
4006
+ readonly hasHs256Secret: boolean;
4007
+ readonly hasPublishToken: boolean;
4008
+ readonly hasResendApiKey: boolean;
4009
+ readonly hasRestToolSecret: boolean;
4010
+ };
4011
+ };
4012
+ outputFormat: "json";
4013
+ status: 200;
4014
+ } | {
4015
+ input: {
4016
+ param: {
4017
+ slug: string;
4018
+ };
4019
+ };
4020
+ output: {
4021
+ error: {
4022
+ type: string;
4023
+ };
4024
+ };
4025
+ outputFormat: "json";
4026
+ status: 404;
4027
+ } | {
4028
+ input: {
4029
+ param: {
4030
+ slug: string;
4031
+ };
4032
+ };
4033
+ output: {
4034
+ error: {
4035
+ type: string;
4036
+ boundToSlug: string;
4037
+ };
4038
+ };
4039
+ outputFormat: "json";
4040
+ status: 409;
4041
+ };
4042
+ }>;
4043
+ };
4044
+ };
4045
+ };
4046
+ } & {
4047
+ v1: {
4048
+ admin: {
4049
+ tenants: {
4050
+ ":slug": {
4051
+ origins: import('hono/client').ClientRequest<string, "/v1/admin/tenants/:slug/origins", {
4052
+ $post: {
4053
+ input: {
4054
+ param: {
4055
+ slug: string;
4056
+ };
4057
+ };
4058
+ output: null;
4059
+ outputFormat: "body";
4060
+ status: 204;
4061
+ } | {
4062
+ input: {
4063
+ param: {
4064
+ slug: string;
4065
+ };
4066
+ };
4067
+ output: {
4068
+ error: {
4069
+ type: string;
4070
+ issues: readonly {
4071
+ readonly path: string;
4072
+ readonly message: string;
4073
+ }[];
4074
+ };
4075
+ };
4076
+ outputFormat: "json";
4077
+ status: 422;
4078
+ } | {
4079
+ input: {
4080
+ param: {
4081
+ slug: string;
4082
+ };
4083
+ };
4084
+ output: {
4085
+ error: {
4086
+ type: string;
4087
+ };
4088
+ };
4089
+ outputFormat: "json";
4090
+ status: 404;
4091
+ };
4092
+ $delete: {
4093
+ input: {
4094
+ param: {
4095
+ slug: string;
4096
+ };
4097
+ };
4098
+ output: null;
4099
+ outputFormat: "body";
4100
+ status: 204;
4101
+ } | {
4102
+ input: {
4103
+ param: {
4104
+ slug: string;
4105
+ };
4106
+ };
4107
+ output: {
4108
+ error: {
4109
+ type: string;
4110
+ issues: {
4111
+ path: string;
4112
+ message: string;
4113
+ }[];
4114
+ };
4115
+ };
4116
+ outputFormat: "json";
4117
+ status: 422;
4118
+ } | {
4119
+ input: {
4120
+ param: {
4121
+ slug: string;
4122
+ };
4123
+ };
4124
+ output: {
4125
+ error: {
4126
+ type: string;
4127
+ };
4128
+ };
4129
+ outputFormat: "json";
4130
+ status: 404;
4131
+ };
4132
+ }>;
4133
+ };
4134
+ };
4135
+ };
4136
+ };
4137
+ } & {
4138
+ v1: {
4139
+ admin: {
4140
+ tenants: {
4141
+ ":slug": {
4142
+ "rotate-secret": import('hono/client').ClientRequest<string, "/v1/admin/tenants/:slug/rotate-secret", {
4143
+ $post: {
4144
+ input: {
4145
+ param: {
4146
+ slug: string;
4147
+ };
4148
+ };
4149
+ output: {
4150
+ readonly hs256Secret: string;
4151
+ };
4152
+ outputFormat: "json";
4153
+ status: 200;
4154
+ } | {
4155
+ input: {
4156
+ param: {
4157
+ slug: string;
4158
+ };
4159
+ };
4160
+ output: {
4161
+ error: {
4162
+ type: string;
4163
+ };
4164
+ };
4165
+ outputFormat: "json";
4166
+ status: 404;
4167
+ } | {
4168
+ input: {
4169
+ param: {
4170
+ slug: string;
4171
+ };
4172
+ };
4173
+ output: {
4174
+ error: {
4175
+ type: string;
4176
+ };
4177
+ };
4178
+ outputFormat: "json";
4179
+ status: 409;
4180
+ };
4181
+ }>;
4182
+ };
4183
+ };
4184
+ };
4185
+ };
4186
+ } & {
4187
+ v1: {
4188
+ admin: {
4189
+ tenants: {
4190
+ ":slug": {
4191
+ "publish-token": import('hono/client').ClientRequest<string, "/v1/admin/tenants/:slug/publish-token", {
4192
+ $post: {
4193
+ input: {
4194
+ param: {
4195
+ slug: string;
4196
+ };
4197
+ };
4198
+ output: {
4199
+ readonly publishToken: string;
4200
+ };
4201
+ outputFormat: "json";
4202
+ status: 200;
4203
+ } | {
4204
+ input: {
4205
+ param: {
4206
+ slug: string;
4207
+ };
4208
+ };
4209
+ output: {
4210
+ error: {
4211
+ type: string;
4212
+ };
4213
+ };
4214
+ outputFormat: "json";
4215
+ status: 404;
4216
+ };
4217
+ $delete: {
4218
+ input: {
4219
+ param: {
4220
+ slug: string;
4221
+ };
4222
+ };
4223
+ output: null;
4224
+ outputFormat: "body";
4225
+ status: 204;
4226
+ } | {
4227
+ input: {
4228
+ param: {
4229
+ slug: string;
4230
+ };
4231
+ };
4232
+ output: {
4233
+ error: {
4234
+ type: string;
4235
+ };
4236
+ };
4237
+ outputFormat: "json";
4238
+ status: 404;
4239
+ };
4240
+ }>;
4241
+ };
4242
+ };
4243
+ };
4244
+ };
4245
+ } & {
4246
+ v1: {
4247
+ admin: {
4248
+ tenants: {
4249
+ ":slug": {
4250
+ "rest-tool-secret": import('hono/client').ClientRequest<string, "/v1/admin/tenants/:slug/rest-tool-secret", {
4251
+ $post: {
4252
+ input: {
4253
+ param: {
4254
+ slug: string;
4255
+ };
4256
+ };
4257
+ output: {
4258
+ error: {
4259
+ type: string;
4260
+ issues: readonly {
4261
+ readonly path: string;
4262
+ readonly message: string;
4263
+ }[];
4264
+ };
4265
+ };
4266
+ outputFormat: "json";
4267
+ status: 422;
4268
+ } | {
4269
+ input: {
4270
+ param: {
4271
+ slug: string;
4272
+ };
4273
+ };
4274
+ output: {
4275
+ readonly secret: string;
4276
+ };
4277
+ outputFormat: "json";
4278
+ status: 200;
4279
+ } | {
4280
+ input: {
4281
+ param: {
4282
+ slug: string;
4283
+ };
4284
+ };
4285
+ output: {
4286
+ error: {
4287
+ type: string;
4288
+ };
4289
+ };
4290
+ outputFormat: "json";
4291
+ status: 404;
4292
+ };
4293
+ }>;
4294
+ };
4295
+ };
4296
+ };
4297
+ };
3837
4298
  };