@belonguniverseai/react-sdk 0.3.0 → 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 (67) hide show
  1. package/dist/api/client.d.ts +843 -251
  2. package/dist/api/task-schedules.d.ts +198 -23
  3. package/dist/component/{arc-CMhGaHbE.js → arc-6I9bTNTk.js} +2 -2
  4. package/dist/component/{architectureDiagram-3BPJPVTR-BPbeN6Nl.js → architectureDiagram-3BPJPVTR-DecTtp8M.js} +3 -3
  5. package/dist/component/{blockDiagram-GPEHLZMM-BVn0uHLE.js → blockDiagram-GPEHLZMM-D0ShJEdc.js} +4 -4
  6. package/dist/component/{c4Diagram-AAUBKEIU-D3XBTnJa.js → c4Diagram-AAUBKEIU-D-N4NLkS.js} +3 -3
  7. package/dist/component/{channel-DpI8-a3_.js → channel-BTRAV_iV.js} +2 -2
  8. package/dist/component/{chunk-2J33WTMH-Bqhv40NQ.js → chunk-2J33WTMH-Chgh4n6n.js} +2 -2
  9. package/dist/component/{chunk-4BX2VUAB-DtucQWno.js → chunk-4BX2VUAB-BR7BZW6m.js} +2 -2
  10. package/dist/component/{chunk-55IACEB6-CWb5s5u5.js → chunk-55IACEB6-D0_e3QRv.js} +2 -2
  11. package/dist/component/{chunk-727SXJPM-C83L2sLw.js → chunk-727SXJPM-Cooz66Ae.js} +6 -6
  12. package/dist/component/{chunk-AQP2D5EJ-D00bX5Fy.js → chunk-AQP2D5EJ-CAz4YEpg.js} +4 -4
  13. package/dist/component/{chunk-FMBD7UC4-CR6LCs0Q.js → chunk-FMBD7UC4-C8n0NV45.js} +2 -2
  14. package/dist/component/{chunk-ND2GUHAM-DUfRBvcM.js → chunk-ND2GUHAM-Di6RJblt.js} +2 -2
  15. package/dist/component/{chunk-QZHKN3VN-ZyFUERub.js → chunk-QZHKN3VN-Cii0zOyK.js} +2 -2
  16. package/dist/component/{classDiagram-4FO5ZUOK-nhACsjTQ.js → classDiagram-4FO5ZUOK-BIqkynKR.js} +3 -3
  17. package/dist/component/{classDiagram-v2-Q7XG4LA2-nhACsjTQ.js → classDiagram-v2-Q7XG4LA2-BIqkynKR.js} +3 -3
  18. package/dist/component/{cose-bilkent-S5V4N54A-CNyhXSKg.js → cose-bilkent-S5V4N54A-Dq3K4Kak.js} +2 -2
  19. package/dist/component/{dagre-BM42HDAG-Dr_3n4A9.js → dagre-BM42HDAG-KdRn-NQ2.js} +2 -2
  20. package/dist/component/{diagram-2AECGRRQ-Y2n2wNX9.js → diagram-2AECGRRQ-CeJVj827.js} +3 -3
  21. package/dist/component/{diagram-5GNKFQAL-DHwEARtq.js → diagram-5GNKFQAL-ceCtRhc4.js} +4 -4
  22. package/dist/component/{diagram-KO2AKTUF-JBQc-Qhk.js → diagram-KO2AKTUF-CU9xKIPR.js} +3 -3
  23. package/dist/component/{diagram-LMA3HP47-B55TgguV.js → diagram-LMA3HP47-CRZuMr0r.js} +3 -3
  24. package/dist/component/{diagram-OG6HWLK6-BjQ8Y6zl.js → diagram-OG6HWLK6-DdO8bLrY.js} +4 -4
  25. package/dist/component/{erDiagram-TEJ5UH35-BNl5eT59.js → erDiagram-TEJ5UH35-BnPlE6-i.js} +5 -5
  26. package/dist/component/{flowDiagram-I6XJVG4X-_bWa0zJX.js → flowDiagram-I6XJVG4X-Bi70muwl.js} +7 -7
  27. package/dist/component/{ganttDiagram-6RSMTGT7-D12wJRpv.js → ganttDiagram-6RSMTGT7-FjDKlQ-F.js} +3 -3
  28. package/dist/component/{gitGraphDiagram-PVQCEYII-CKGKNDkP.js → gitGraphDiagram-PVQCEYII-B9GAxjPJ.js} +4 -4
  29. package/dist/component/{highlighted-body-OFNGDK62-T6VnSue_.js → highlighted-body-OFNGDK62-DEhmLiFe.js} +2 -2
  30. package/dist/component/index.js +2 -2
  31. package/dist/component/{infoDiagram-5YYISTIA-CtbQ2PNx.js → infoDiagram-5YYISTIA-D_z8khpb.js} +2 -2
  32. package/dist/component/{ishikawaDiagram-YF4QCWOH-DWHoe0x7.js → ishikawaDiagram-YF4QCWOH-DHUQHc7h.js} +2 -2
  33. package/dist/component/{journeyDiagram-JHISSGLW-Y8U0aQ2t.js → journeyDiagram-JHISSGLW-BdPxTkII.js} +5 -5
  34. package/dist/component/{kanban-definition-UN3LZRKU-Cxa5quvJ.js → kanban-definition-UN3LZRKU-CXo8cG6_.js} +3 -3
  35. package/dist/component/{linear-Deqp7k-y.js → linear-azN-TF0f.js} +2 -2
  36. package/dist/component/{mermaid-GHXKKRXX-Bb3nq6cF.js → mermaid-GHXKKRXX-P_Te0BTc.js} +24921 -24800
  37. package/dist/component/{mindmap-definition-RKZ34NQL-CJO5YIaF.js → mindmap-definition-RKZ34NQL-CVTlgpwY.js} +4 -4
  38. package/dist/component/{pieDiagram-4H26LBE5-fLrS62rY.js → pieDiagram-4H26LBE5-BBqlJN3M.js} +4 -4
  39. package/dist/component/{quadrantDiagram-W4KKPZXB-BMjq2Lu4.js → quadrantDiagram-W4KKPZXB-Cq8G5gg8.js} +3 -3
  40. package/dist/component/{requirementDiagram-4Y6WPE33-BPUkO56k.js → requirementDiagram-4Y6WPE33-DE8meVq8.js} +4 -4
  41. package/dist/component/{sankeyDiagram-5OEKKPKP-ekNfY75x.js → sankeyDiagram-5OEKKPKP-rGv9060J.js} +2 -2
  42. package/dist/component/{sequenceDiagram-3UESZ5HK-CyVmC9Rm.js → sequenceDiagram-3UESZ5HK-CYZCqSg5.js} +4 -4
  43. package/dist/component/{stateDiagram-AJRCARHV-DFkc559m.js → stateDiagram-AJRCARHV-7PfYQio8.js} +3 -3
  44. package/dist/component/{stateDiagram-v2-BHNVJYJU-DyEtRcsV.js → stateDiagram-v2-BHNVJYJU-Bc8Y618M.js} +3 -3
  45. package/dist/component/{timeline-definition-PNZ67QCA-BDLP-x66.js → timeline-definition-PNZ67QCA-DDLIgmb4.js} +3 -3
  46. package/dist/component/{vennDiagram-CIIHVFJN-Bvhzsn8q.js → vennDiagram-CIIHVFJN-BPKi69Hn.js} +2 -2
  47. package/dist/component/{wardleyDiagram-YWT4CUSO-SKdyvNF1.js → wardleyDiagram-YWT4CUSO-Dumz_-ib.js} +3 -3
  48. package/dist/component/{xychartDiagram-2RQKCTM6-DHchnrpW.js → xychartDiagram-2RQKCTM6-DQGacrwk.js} +3 -3
  49. package/dist/components/embed/BrandMark.d.ts +13 -4
  50. package/dist/components/embed/HeavyPreview.d.ts +6 -0
  51. package/dist/components/embed/preview-content-kind.d.ts +5 -5
  52. package/dist/components/scheduled/ScheduledDetailSurface.d.ts +4 -1
  53. package/dist/components/scheduled/schedule-dialog-model.d.ts +6 -1
  54. package/dist/components/scheduled/schedule-format.d.ts +5 -1
  55. package/dist/embed/copy.d.ts +2 -0
  56. package/dist/embed/locale.d.ts +3 -1
  57. package/dist/embed/logo.d.ts +7 -1
  58. package/dist/embed/slash-commands.d.ts +44 -9
  59. package/dist/i18n/messages/en.d.ts +12 -10
  60. package/dist/i18n/messages/surfaces/aiElements.d.ts +3 -0
  61. package/dist/i18n/messages/surfaces/scheduled.d.ts +30 -0
  62. package/dist/i18n/messages/surfaces/stream.d.ts +3 -30
  63. package/dist/stream/ai-sdk-part-renderers.d.ts +8 -20
  64. package/dist/stream/belong-data-parts.d.ts +1 -1
  65. package/dist/stream/sandbox-output.d.ts +8 -4
  66. package/dist/types/public.d.ts +6 -1
  67. 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;
2276
+ } | undefined;
2277
+ pt?: {
2278
+ capabilities?: string[] | undefined;
2279
+ subtitle?: string | undefined;
2280
+ introBody?: string | undefined;
2281
+ suggestions?: string[] | undefined;
2282
+ } | undefined;
2283
+ } | 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;
2193
2307
  } | 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;
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;
2210
2324
  } | undefined;
2211
2325
  } | undefined;
2212
- readonly brand?: {
2213
- readonly name?: string | undefined;
2214
- readonly initials?: string | 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
  };
@@ -2998,10 +2950,27 @@ export declare const createApiClient: (baseUrl: string) => {
2998
2950
  timezone: string;
2999
2951
  message: string;
3000
2952
  clientScheduleId: string;
2953
+ notification?: {
2954
+ kind: "completion_email";
2955
+ } | {
2956
+ kind: "custom_email";
2957
+ templatePath: string;
2958
+ } | undefined;
3001
2959
  title?: string | undefined;
3002
2960
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
3003
2961
  recurrence?: {
3004
- kind: "none" | "daily" | "weekdays" | "weekly";
2962
+ kind: "none";
2963
+ } | {
2964
+ kind: "daily";
2965
+ } | {
2966
+ kind: "weekdays";
2967
+ } | {
2968
+ kind: "weekly";
2969
+ } | {
2970
+ kind: "manual";
2971
+ } | {
2972
+ kind: "interval";
2973
+ intervalMinutes: number;
3005
2974
  } | undefined;
3006
2975
  originatingSessionId?: string | undefined;
3007
2976
  workspaceExternalId?: string | undefined;
@@ -3026,10 +2995,27 @@ export declare const createApiClient: (baseUrl: string) => {
3026
2995
  timezone: string;
3027
2996
  message: string;
3028
2997
  clientScheduleId: string;
2998
+ notification?: {
2999
+ kind: "completion_email";
3000
+ } | {
3001
+ kind: "custom_email";
3002
+ templatePath: string;
3003
+ } | undefined;
3029
3004
  title?: string | undefined;
3030
3005
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
3031
3006
  recurrence?: {
3032
- kind: "none" | "daily" | "weekdays" | "weekly";
3007
+ kind: "none";
3008
+ } | {
3009
+ kind: "daily";
3010
+ } | {
3011
+ kind: "weekdays";
3012
+ } | {
3013
+ kind: "weekly";
3014
+ } | {
3015
+ kind: "manual";
3016
+ } | {
3017
+ kind: "interval";
3018
+ intervalMinutes: number;
3033
3019
  } | undefined;
3034
3020
  originatingSessionId?: string | undefined;
3035
3021
  workspaceExternalId?: string | undefined;
@@ -3044,7 +3030,7 @@ export declare const createApiClient: (baseUrl: string) => {
3044
3030
  scheduledFor: string;
3045
3031
  seriesStatus: "active" | "completed" | "paused" | "deleted";
3046
3032
  recurrence: {
3047
- kind: "none" | "daily" | "weekdays" | "weekly";
3033
+ kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
3048
3034
  };
3049
3035
  nextRunAt: string | null;
3050
3036
  title: string;
@@ -3059,10 +3045,27 @@ export declare const createApiClient: (baseUrl: string) => {
3059
3045
  timezone: string;
3060
3046
  message: string;
3061
3047
  clientScheduleId: string;
3048
+ notification?: {
3049
+ kind: "completion_email";
3050
+ } | {
3051
+ kind: "custom_email";
3052
+ templatePath: string;
3053
+ } | undefined;
3062
3054
  title?: string | undefined;
3063
3055
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
3064
3056
  recurrence?: {
3065
- kind: "none" | "daily" | "weekdays" | "weekly";
3057
+ kind: "none";
3058
+ } | {
3059
+ kind: "daily";
3060
+ } | {
3061
+ kind: "weekdays";
3062
+ } | {
3063
+ kind: "weekly";
3064
+ } | {
3065
+ kind: "manual";
3066
+ } | {
3067
+ kind: "interval";
3068
+ intervalMinutes: number;
3066
3069
  } | undefined;
3067
3070
  originatingSessionId?: string | undefined;
3068
3071
  workspaceExternalId?: string | undefined;
@@ -3086,10 +3089,27 @@ export declare const createApiClient: (baseUrl: string) => {
3086
3089
  timezone: string;
3087
3090
  message: string;
3088
3091
  clientScheduleId: string;
3092
+ notification?: {
3093
+ kind: "completion_email";
3094
+ } | {
3095
+ kind: "custom_email";
3096
+ templatePath: string;
3097
+ } | undefined;
3089
3098
  title?: string | undefined;
3090
3099
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
3091
3100
  recurrence?: {
3092
- kind: "none" | "daily" | "weekdays" | "weekly";
3101
+ kind: "none";
3102
+ } | {
3103
+ kind: "daily";
3104
+ } | {
3105
+ kind: "weekdays";
3106
+ } | {
3107
+ kind: "weekly";
3108
+ } | {
3109
+ kind: "manual";
3110
+ } | {
3111
+ kind: "interval";
3112
+ intervalMinutes: number;
3093
3113
  } | undefined;
3094
3114
  originatingSessionId?: string | undefined;
3095
3115
  workspaceExternalId?: string | undefined;
@@ -3123,7 +3143,8 @@ export declare const createApiClient: (baseUrl: string) => {
3123
3143
  title: string;
3124
3144
  status: "active" | "completed" | "paused" | "deleted";
3125
3145
  recurrence: {
3126
- kind: "none" | "daily" | "weekdays" | "weekly";
3146
+ intervalMinutes?: number | undefined;
3147
+ kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
3127
3148
  };
3128
3149
  timezone: string;
3129
3150
  nextRunAt: string | null;
@@ -3158,6 +3179,12 @@ export declare const createApiClient: (baseUrl: string) => {
3158
3179
  output: {
3159
3180
  explicitTitle: string | null;
3160
3181
  message: string;
3182
+ notification: {
3183
+ kind: "completion_email";
3184
+ } | {
3185
+ kind: "custom_email";
3186
+ templatePath: string;
3187
+ };
3161
3188
  mode: "plan" | "approve" | "balanced" | "bypass";
3162
3189
  timeExpression: string;
3163
3190
  anchorAt: string;
@@ -3167,7 +3194,8 @@ export declare const createApiClient: (baseUrl: string) => {
3167
3194
  title: string;
3168
3195
  status: "active" | "completed" | "paused" | "deleted";
3169
3196
  recurrence: {
3170
- kind: "none" | "daily" | "weekdays" | "weekly";
3197
+ intervalMinutes?: number | undefined;
3198
+ kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
3171
3199
  };
3172
3200
  timezone: string;
3173
3201
  nextRunAt: string | null;
@@ -3216,7 +3244,18 @@ export declare const createApiClient: (baseUrl: string) => {
3216
3244
  timeExpression?: string | undefined;
3217
3245
  timezone?: string | undefined;
3218
3246
  recurrence?: {
3219
- kind: "none" | "daily" | "weekdays" | "weekly";
3247
+ kind: "none";
3248
+ } | {
3249
+ kind: "daily";
3250
+ } | {
3251
+ kind: "weekdays";
3252
+ } | {
3253
+ kind: "weekly";
3254
+ } | {
3255
+ kind: "manual";
3256
+ } | {
3257
+ kind: "interval";
3258
+ intervalMinutes: number;
3220
3259
  } | undefined;
3221
3260
  };
3222
3261
  };
@@ -3246,7 +3285,18 @@ export declare const createApiClient: (baseUrl: string) => {
3246
3285
  timeExpression?: string | undefined;
3247
3286
  timezone?: string | undefined;
3248
3287
  recurrence?: {
3249
- kind: "none" | "daily" | "weekdays" | "weekly";
3288
+ kind: "none";
3289
+ } | {
3290
+ kind: "daily";
3291
+ } | {
3292
+ kind: "weekdays";
3293
+ } | {
3294
+ kind: "weekly";
3295
+ } | {
3296
+ kind: "manual";
3297
+ } | {
3298
+ kind: "interval";
3299
+ intervalMinutes: number;
3250
3300
  } | undefined;
3251
3301
  };
3252
3302
  };
@@ -3275,7 +3325,18 @@ export declare const createApiClient: (baseUrl: string) => {
3275
3325
  timeExpression?: string | undefined;
3276
3326
  timezone?: string | undefined;
3277
3327
  recurrence?: {
3278
- kind: "none" | "daily" | "weekdays" | "weekly";
3328
+ kind: "none";
3329
+ } | {
3330
+ kind: "daily";
3331
+ } | {
3332
+ kind: "weekdays";
3333
+ } | {
3334
+ kind: "weekly";
3335
+ } | {
3336
+ kind: "manual";
3337
+ } | {
3338
+ kind: "interval";
3339
+ intervalMinutes: number;
3279
3340
  } | undefined;
3280
3341
  };
3281
3342
  };
@@ -3304,7 +3365,18 @@ export declare const createApiClient: (baseUrl: string) => {
3304
3365
  timeExpression?: string | undefined;
3305
3366
  timezone?: string | undefined;
3306
3367
  recurrence?: {
3307
- kind: "none" | "daily" | "weekdays" | "weekly";
3368
+ kind: "none";
3369
+ } | {
3370
+ kind: "daily";
3371
+ } | {
3372
+ kind: "weekdays";
3373
+ } | {
3374
+ kind: "weekly";
3375
+ } | {
3376
+ kind: "manual";
3377
+ } | {
3378
+ kind: "interval";
3379
+ intervalMinutes: number;
3308
3380
  } | undefined;
3309
3381
  };
3310
3382
  };
@@ -3333,7 +3405,18 @@ export declare const createApiClient: (baseUrl: string) => {
3333
3405
  timeExpression?: string | undefined;
3334
3406
  timezone?: string | undefined;
3335
3407
  recurrence?: {
3336
- kind: "none" | "daily" | "weekdays" | "weekly";
3408
+ kind: "none";
3409
+ } | {
3410
+ kind: "daily";
3411
+ } | {
3412
+ kind: "weekdays";
3413
+ } | {
3414
+ kind: "weekly";
3415
+ } | {
3416
+ kind: "manual";
3417
+ } | {
3418
+ kind: "interval";
3419
+ intervalMinutes: number;
3337
3420
  } | undefined;
3338
3421
  };
3339
3422
  };
@@ -3703,4 +3786,513 @@ export declare const createApiClient: (baseUrl: string) => {
3703
3786
  };
3704
3787
  };
3705
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
+ };
3706
4298
  };