@belonguniverseai/react-sdk 0.6.31 → 0.6.33

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 (125) hide show
  1. package/dist/api/account-connectors.d.ts +2 -2
  2. package/dist/api/client.d.ts +1126 -63
  3. package/dist/api/goals.d.ts +4 -4
  4. package/dist/api/guide.d.ts +15 -0
  5. package/dist/api/query-keys.d.ts +6 -5
  6. package/dist/api/quota-refusal.d.ts +49 -0
  7. package/dist/api/secret-paste.d.ts +5 -0
  8. package/dist/api/suggestions.d.ts +18 -0
  9. package/dist/api/task-schedule-sharing.d.ts +13 -1
  10. package/dist/api/task-schedules.d.ts +33 -4
  11. package/dist/api/vault.d.ts +49 -0
  12. package/dist/app/dock-story-data.d.ts +6 -0
  13. package/dist/component/{abnfDiagram-N423BO3Z-C_vMQSL0.js → abnfDiagram-N423BO3Z-CK4wvzwz.js} +4 -4
  14. package/dist/component/{architectureDiagram-T3A2C74G-dvNbgSIj.js → architectureDiagram-T3A2C74G-DoljsqqO.js} +6 -6
  15. package/dist/component/{blockDiagram-VBNYF7ZC-CRm9PRRf.js → blockDiagram-VBNYF7ZC-Ie7SErpH.js} +8 -8
  16. package/dist/component/{c4Diagram-5PPSVZJV-B1PMAZEg.js → c4Diagram-5PPSVZJV-rfEof5mj.js} +4 -4
  17. package/dist/component/{channel-Boj1wmAa.js → channel-C5ABP6lE.js} +2 -2
  18. package/dist/component/{chunk-2GRJ4B5K-CBAw5kla.js → chunk-2GRJ4B5K-CWOCv67u.js} +2 -2
  19. package/dist/component/{chunk-3NCLNEKW-BuxgmuBS.js → chunk-3NCLNEKW-BJYANBvv.js} +2 -2
  20. package/dist/component/{chunk-4I5QYGJK-CDPqoPOq.js → chunk-4I5QYGJK-C29OfER5.js} +2 -2
  21. package/dist/component/{chunk-5RXB4S5H-fv_mFlec.js → chunk-5RXB4S5H-D__NH4Op.js} +6 -6
  22. package/dist/component/{chunk-6Q2QTUOP-RU5jVXsd.js → chunk-6Q2QTUOP-BgSQgII8.js} +3 -3
  23. package/dist/component/{chunk-7Z6QIM7H-BgV4nQ80.js → chunk-7Z6QIM7H-vNexNF_V.js} +8 -8
  24. package/dist/component/{chunk-GF5L2VYU-CSROQiBr.js → chunk-GF5L2VYU-D3vxqomE.js} +6 -6
  25. package/dist/component/{chunk-I66GZJ75-CGsmSAKB.js → chunk-I66GZJ75-Dkw1ISGd.js} +2 -2
  26. package/dist/component/{chunk-J7OUQ5F2-D0GPh9LA.js → chunk-J7OUQ5F2-dC67pJWg.js} +7 -7
  27. package/dist/component/{chunk-JQJVKLGR-D4zeU7rQ.js → chunk-JQJVKLGR-Djj9TdhH.js} +8 -8
  28. package/dist/component/{chunk-KBJHAD2P-_EJQ1rNN.js → chunk-KBJHAD2P-dwIA6Vmi.js} +2 -2
  29. package/dist/component/{chunk-NSK5VX7P-dusZw8pp.js → chunk-NSK5VX7P-thQxjtNK.js} +2 -2
  30. package/dist/component/{chunk-QR6OTTB3-Bb0pFQ-m.js → chunk-QR6OTTB3-OMd-rgNj.js} +7 -7
  31. package/dist/component/{chunk-UBXNYLIW-CJHU4Dfa.js → chunk-UBXNYLIW-D26S6zO6.js} +3 -3
  32. package/dist/component/{chunk-W5SLKNZC-CRG_NQXu.js → chunk-W5SLKNZC-DLV7M8by.js} +2 -2
  33. package/dist/component/{chunk-WRU74C26-D8hrtupL.js → chunk-WRU74C26-13bvIAgD.js} +4 -4
  34. package/dist/component/{classDiagram-JCYQIIEL-CIgvdG3B.js → classDiagram-JCYQIIEL-BFQ72AZA.js} +13 -13
  35. package/dist/component/{classDiagram-v2-OCEON4UE-CyMNFCrX.js → classDiagram-v2-OCEON4UE-UFfArXpP.js} +13 -13
  36. package/dist/component/{component-CtEw7QuU.js → component-Bhs6PFPY.js} +42587 -40222
  37. package/dist/component/{cynefinDiagram-MW4NZA55-M_mUz7fS.js → cynefinDiagram-MW4NZA55-Bgfw8c41.js} +4 -4
  38. package/dist/component/{dagre-VZM6K2ZE-Co5UZ6ZI.js → dagre-VZM6K2ZE-CQoUcF3S.js} +9 -9
  39. package/dist/component/{diagram-7IWD3JNH-Bfgrgw1x.js → diagram-7IWD3JNH-C8-mvAEv.js} +5 -5
  40. package/dist/component/{diagram-B4RE2ZJO-On8y3Dsu.js → diagram-B4RE2ZJO-BATqCIx3.js} +3 -3
  41. package/dist/component/{diagram-LBJQPF4R-CzDYf7jJ.js → diagram-LBJQPF4R-DwRMRXWz.js} +4 -4
  42. package/dist/component/{diagram-Q27KOJAE-D2MlvnqP.js → diagram-Q27KOJAE-D6gO0LTm.js} +6 -6
  43. package/dist/component/{diagram-UB23O5K3-Bl3kdzTb.js → diagram-UB23O5K3-4nOrWHql.js} +4 -4
  44. package/dist/component/{ebnfDiagram-BXEA7PRR-CyKWxoNI.js → ebnfDiagram-BXEA7PRR-DCO-Nj3k.js} +4 -4
  45. package/dist/component/{erDiagram-JOGREHBK-B2DjPQI6.js → erDiagram-JOGREHBK-hWtImhPN.js} +12 -12
  46. package/dist/component/flowDiagram-UKHOOZJN-8qLgX2Wv.js +19 -0
  47. package/dist/component/{ganttDiagram-PKOTCBZU-Do3-h4U7.js → ganttDiagram-PKOTCBZU-BE8Mqoej.js} +3 -3
  48. package/dist/component/{gitGraphDiagram-DS77QQ5N-CRyn9FyP.js → gitGraphDiagram-DS77QQ5N-DURS7rAN.js} +3 -3
  49. package/dist/component/index.js +2 -2
  50. package/dist/component/{infoDiagram-6WML65LV-BvRo6Umd.js → infoDiagram-6WML65LV-BqBxR6YB.js} +3 -3
  51. package/dist/component/{ishikawaDiagram-WSZJBQD7-DNxrL1bn.js → ishikawaDiagram-WSZJBQD7-CnYZd1Dq.js} +4 -4
  52. package/dist/component/{journeyDiagram-NVQOT4AX-Cvzr6jFA.js → journeyDiagram-NVQOT4AX-Cgkpx4Qx.js} +3 -3
  53. package/dist/component/{kanban-definition-27J2QSJJ-CWjHCc6Q.js → kanban-definition-27J2QSJJ-CJSdhT0i.js} +9 -9
  54. package/dist/component/{line-qLTHZib7.js → line-BBEHlpsV.js} +2 -2
  55. package/dist/component/{mindmap-definition-FAOFIHXS-CTrxLLMf.js → mindmap-definition-FAOFIHXS-DgHouLA-.js} +11 -11
  56. package/dist/component/{pegDiagram-VL7TDLO6-DKquwTLr.js → pegDiagram-VL7TDLO6-B_iGQ6sI.js} +4 -4
  57. package/dist/component/{pieDiagram-7S7Q4E2Y-B9mrWWER.js → pieDiagram-7S7Q4E2Y-g7GxM0JA.js} +4 -4
  58. package/dist/component/{quadrantDiagram-CIZ2JOQS-CLMlPfFg.js → quadrantDiagram-CIZ2JOQS-Bp7z4raq.js} +2 -2
  59. package/dist/component/{railroadDiagram-AXF67PYL-DBRxaZy0.js → railroadDiagram-AXF67PYL-CYx3PP5o.js} +4 -4
  60. package/dist/component/{requirementDiagram-LRYGKXZP-DFbNp-NQ.js → requirementDiagram-LRYGKXZP-BJNRJceo.js} +11 -11
  61. package/dist/component/{sankeyDiagram-W5VNT64P-Ba10c9Ya.js → sankeyDiagram-W5VNT64P-Cf0tVHbW.js} +2 -2
  62. package/dist/component/{sequenceDiagram-SI44F4Z6-CakxF9z5.js → sequenceDiagram-SI44F4Z6-BsAsKMRH.js} +4 -4
  63. package/dist/component/{stateDiagram-OKZ733FA-DpwaZHAD.js → stateDiagram-OKZ733FA-Bpk0vtTK.js} +14 -14
  64. package/dist/component/{stateDiagram-v2-UEYNNEHI-CXLHj_sq.js → stateDiagram-v2-UEYNNEHI-CJFoUvD2.js} +13 -13
  65. package/dist/component/{swimlanes-SLNWSIFB-CLLLQ7CI.js → swimlanes-SLNWSIFB-Be5A0lwq.js} +9 -9
  66. package/dist/component/{swimlanesDiagram-ULZ7WXOC-B1LbGSCS.js → swimlanesDiagram-ULZ7WXOC-J8VNaPhM.js} +13 -13
  67. package/dist/component/{timeline-definition-Z64GVDOM-BsifI4rA.js → timeline-definition-Z64GVDOM-CU9PEkPY.js} +4 -4
  68. package/dist/component/{vennDiagram-T6HMQDX7-zuVcjY9p.js → vennDiagram-T6HMQDX7-Cno78tFK.js} +4 -4
  69. package/dist/component/{wardleyDiagram-T6FBY63Y-B9DV6RwN.js → wardleyDiagram-T6FBY63Y-BEb1Rn5J.js} +4 -4
  70. package/dist/component/{xychartDiagram-ELKLHX3M-FyZaGaUV.js → xychartDiagram-ELKLHX3M-BwjMczCl.js} +7 -7
  71. package/dist/components/ai-elements/dock-link.d.ts +14 -1
  72. package/dist/components/ai-elements/message.d.ts +8 -1
  73. package/dist/components/embed/EmbedRail.d.ts +8 -1
  74. package/dist/components/embed/NextStepCard.d.ts +6 -0
  75. package/dist/components/embed/QuotaNoticeCard.d.ts +4 -0
  76. package/dist/components/embed/SessionSwitcher.d.ts +6 -1
  77. package/dist/components/embed/quota-notice-copy.d.ts +3 -0
  78. package/dist/components/guide/GuideArticleView.d.ts +7 -0
  79. package/dist/components/guide/GuideHub.d.ts +9 -0
  80. package/dist/components/guide/GuideSettings.d.ts +23 -0
  81. package/dist/components/guide/figures/ComposerIndicatorsFigure.d.ts +16 -0
  82. package/dist/components/guide/figures/SharedTaskCopiesFigure.d.ts +12 -0
  83. package/dist/components/guide/figures/index.d.ts +3 -0
  84. package/dist/components/guide/guide-fixtures.d.ts +3 -0
  85. package/dist/components/guide/guide-icons.d.ts +3 -0
  86. package/dist/components/guide/guide-link.d.ts +12 -0
  87. package/dist/components/guide/guide-search.d.ts +15 -0
  88. package/dist/components/scheduled/schedule-dialog-model.d.ts +2 -1
  89. package/dist/components/scheduled/schedule-format.d.ts +4 -1
  90. package/dist/components/ui/button.d.ts +1 -1
  91. package/dist/components/ui/input-group.d.ts +1 -1
  92. package/dist/components/vault/SecretPasteFeedback.d.ts +6 -0
  93. package/dist/components/vault/SecretsPanel.d.ts +23 -0
  94. package/dist/components/vault/vault-open.d.ts +3 -0
  95. package/dist/embed/goal-edit-command.d.ts +6 -1
  96. package/dist/embed/quota-notice.d.ts +9 -0
  97. package/dist/embed/theme.d.ts +10 -0
  98. package/dist/embed/voice/agent-spawn.d.ts +12 -2
  99. package/dist/embed/voice-call.d.ts +4 -1
  100. package/dist/i18n/messages/en.d.ts +85 -0
  101. package/dist/i18n/messages/surfaces/guide.d.ts +131 -0
  102. package/dist/i18n/messages/surfaces/quota.d.ts +69 -0
  103. package/dist/i18n/messages/surfaces/scheduled.d.ts +32 -0
  104. package/dist/i18n/messages/surfaces/settings.d.ts +16 -0
  105. package/dist/i18n/messages/surfaces/stream.d.ts +4 -0
  106. package/dist/i18n/messages/surfaces/vault.d.ts +120 -0
  107. package/dist/lib/use-tab-leadership.d.ts +1 -0
  108. package/dist/routes/chat/history-cache.d.ts +5 -0
  109. package/dist/routes/chat/question-parts.d.ts +26 -0
  110. package/dist/routes/chat/queued-delivery.d.ts +20 -0
  111. package/dist/routes/chat/queued-messages.d.ts +15 -0
  112. package/dist/routes/chat/session-api.d.ts +52 -0
  113. package/dist/routes/chat/session-history-api.d.ts +9 -0
  114. package/dist/routes/chat/transcript-update.d.ts +45 -0
  115. package/dist/routes/chat/use-catch-up-on-return.d.ts +7 -0
  116. package/dist/routes/chat/use-next-step-suggestion.d.ts +38 -0
  117. package/dist/routes/chat/use-quota-notice.d.ts +29 -0
  118. package/dist/routes/chat/use-quota-stop-refresh.d.ts +27 -0
  119. package/dist/routes/chat/use-session-goal.d.ts +6 -0
  120. package/dist/routes/chat.d.ts +9 -15
  121. package/dist/stream/belong-chat-transport.d.ts +17 -2
  122. package/dist/stream/belong-data-parts.d.ts +31 -1
  123. package/dist/stream/provider-blocked.d.ts +16 -0
  124. package/package.json +1 -1
  125. package/dist/component/flowDiagram-UKHOOZJN-CjSeviPw.js +0 -19
@@ -127,6 +127,10 @@ type SdkAuthRejection = z.infer<typeof sdkAuthRejectionSchema>["error"]["type"];
127
127
  * The response body is read from a clone, so the caller can still consume it.
128
128
  */
129
129
  export declare const noteBelongAuthRejection: (response: Response, sentAuthorization: string | null) => Promise<SdkAuthRejection | null>;
130
+ /** The typed client's default fetch: transient retries + the auth discipline. */
131
+ export declare const authRecoveringFetch: typeof fetch;
132
+ /** Check an initiating identity before EVERY attempt, including auth refresh. */
133
+ export declare const createGuardedAuthFetch: (canSend: () => boolean) => typeof fetch;
130
134
  /**
131
135
  * For typed-client calls that deliberately opt out of the transient-retry
132
136
  * ladder (boot probes, non-replayable POSTs): ONE network attempt, but the
@@ -792,6 +796,38 @@ export declare const createApiClient: (baseUrl: string) => {
792
796
  }>;
793
797
  };
794
798
  };
799
+ } & {
800
+ v1: {
801
+ webhooks: {
802
+ resend: {
803
+ ":tenantId": import('hono/client').ClientRequest<string, "/v1/webhooks/resend/:tenantId", {
804
+ $post: {
805
+ input: {
806
+ param: {
807
+ tenantId: string;
808
+ };
809
+ };
810
+ output: {
811
+ error: string;
812
+ };
813
+ outputFormat: "json";
814
+ status: 401;
815
+ } | {
816
+ input: {
817
+ param: {
818
+ tenantId: string;
819
+ };
820
+ };
821
+ output: {
822
+ status: string;
823
+ };
824
+ outputFormat: "json";
825
+ status: 200;
826
+ };
827
+ }>;
828
+ };
829
+ };
830
+ };
795
831
  } & {
796
832
  v1: {
797
833
  sessions: import('hono/client').ClientRequest<string, "/v1/sessions", {
@@ -1036,6 +1072,46 @@ export declare const createApiClient: (baseUrl: string) => {
1036
1072
  status: 400;
1037
1073
  };
1038
1074
  $post: {
1075
+ input: {
1076
+ json: {
1077
+ text: string;
1078
+ timezone?: string | undefined;
1079
+ locale?: "en" | "es" | "pt" | "it" | undefined;
1080
+ pageContext?: {
1081
+ label: string;
1082
+ } | undefined;
1083
+ workspaceScope?: "open" | "strict" | undefined;
1084
+ questionPresentation?: "text" | "card" | undefined;
1085
+ cliReconnect?: "none" | "dock" | undefined;
1086
+ workspaceExternalId?: string | undefined;
1087
+ goal?: {
1088
+ objective: string;
1089
+ criteria?: string[] | undefined;
1090
+ runway?: "long" | "quick" | "normal" | undefined;
1091
+ } | undefined;
1092
+ runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
1093
+ llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
1094
+ llmModel?: string | undefined;
1095
+ responseMode?: "balanced" | "fast" | "smart" | undefined;
1096
+ fileIds?: string[] | undefined;
1097
+ clientMessageId?: string | undefined;
1098
+ skill?: string | undefined;
1099
+ mode?: "plan" | "approve" | "balanced" | "bypass" | "execute" | undefined;
1100
+ };
1101
+ } & {
1102
+ param: {
1103
+ sessionId: string;
1104
+ };
1105
+ };
1106
+ output: {
1107
+ error: {
1108
+ readonly type: typeof import('@belong/codec/vault').SECRET_PASTE_ERROR_TYPE;
1109
+ readonly message: typeof import('@belong/codec/vault').SECRET_PASTE_MESSAGE;
1110
+ };
1111
+ };
1112
+ outputFormat: "json";
1113
+ status: 400;
1114
+ } | {
1039
1115
  input: {
1040
1116
  json: {
1041
1117
  text: string;
@@ -1310,6 +1386,52 @@ export declare const createApiClient: (baseUrl: string) => {
1310
1386
  };
1311
1387
  outputFormat: "json";
1312
1388
  status: 429;
1389
+ } | {
1390
+ input: {
1391
+ json: {
1392
+ text: string;
1393
+ timezone?: string | undefined;
1394
+ locale?: "en" | "es" | "pt" | "it" | undefined;
1395
+ pageContext?: {
1396
+ label: string;
1397
+ } | undefined;
1398
+ workspaceScope?: "open" | "strict" | undefined;
1399
+ questionPresentation?: "text" | "card" | undefined;
1400
+ cliReconnect?: "none" | "dock" | undefined;
1401
+ workspaceExternalId?: string | undefined;
1402
+ goal?: {
1403
+ objective: string;
1404
+ criteria?: string[] | undefined;
1405
+ runway?: "long" | "quick" | "normal" | undefined;
1406
+ } | undefined;
1407
+ runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
1408
+ llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
1409
+ llmModel?: string | undefined;
1410
+ responseMode?: "balanced" | "fast" | "smart" | undefined;
1411
+ fileIds?: string[] | undefined;
1412
+ clientMessageId?: string | undefined;
1413
+ skill?: string | undefined;
1414
+ mode?: "plan" | "approve" | "balanced" | "bypass" | "execute" | undefined;
1415
+ };
1416
+ } & {
1417
+ param: {
1418
+ sessionId: string;
1419
+ };
1420
+ };
1421
+ output: {
1422
+ error: {
1423
+ type: string;
1424
+ reason: "exhausted" | "blocked";
1425
+ limitWeightedTokens: number;
1426
+ usedWeightedTokens: number;
1427
+ resetsAt: string | null;
1428
+ productName: string;
1429
+ messageId: import('../../../../apps/belong-cloud/src/platform/ids').MessageId;
1430
+ noticeMessageId: import('../../../../apps/belong-cloud/src/platform/ids').MessageId;
1431
+ };
1432
+ };
1433
+ outputFormat: "json";
1434
+ status: 429;
1313
1435
  };
1314
1436
  }>;
1315
1437
  };
@@ -2040,6 +2162,105 @@ export declare const createApiClient: (baseUrl: string) => {
2040
2162
  };
2041
2163
  };
2042
2164
  };
2165
+ } & {
2166
+ v1: {
2167
+ sessions: {
2168
+ ":sessionId": {
2169
+ suggestions: import('hono/client').ClientRequest<string, "/v1/sessions/:sessionId/suggestions", {
2170
+ $post: {
2171
+ input: {
2172
+ json: {
2173
+ locale?: "en" | "es" | "pt" | "it" | undefined;
2174
+ };
2175
+ } & {
2176
+ param: {
2177
+ sessionId: string;
2178
+ };
2179
+ };
2180
+ output: {
2181
+ suggestion: {
2182
+ readonly question: string;
2183
+ readonly options: readonly {
2184
+ readonly label: string;
2185
+ readonly message: string;
2186
+ }[];
2187
+ } | null;
2188
+ };
2189
+ outputFormat: "json";
2190
+ status: 200;
2191
+ } | {
2192
+ input: {
2193
+ json: {
2194
+ locale?: "en" | "es" | "pt" | "it" | undefined;
2195
+ };
2196
+ } & {
2197
+ param: {
2198
+ sessionId: string;
2199
+ };
2200
+ };
2201
+ output: {
2202
+ error: {
2203
+ type: string;
2204
+ };
2205
+ };
2206
+ outputFormat: "json";
2207
+ status: 503;
2208
+ } | {
2209
+ input: {
2210
+ json: {
2211
+ locale?: "en" | "es" | "pt" | "it" | undefined;
2212
+ };
2213
+ } & {
2214
+ param: {
2215
+ sessionId: string;
2216
+ };
2217
+ };
2218
+ output: {
2219
+ error: {
2220
+ type: string;
2221
+ };
2222
+ };
2223
+ outputFormat: "json";
2224
+ status: 404;
2225
+ } | {
2226
+ input: {
2227
+ json: {
2228
+ locale?: "en" | "es" | "pt" | "it" | undefined;
2229
+ };
2230
+ } & {
2231
+ param: {
2232
+ sessionId: string;
2233
+ };
2234
+ };
2235
+ output: {
2236
+ error: {
2237
+ type: string;
2238
+ };
2239
+ };
2240
+ outputFormat: "json";
2241
+ status: 409;
2242
+ } | {
2243
+ input: {
2244
+ json: {
2245
+ locale?: "en" | "es" | "pt" | "it" | undefined;
2246
+ };
2247
+ } & {
2248
+ param: {
2249
+ sessionId: string;
2250
+ };
2251
+ };
2252
+ output: {
2253
+ error: {
2254
+ type: string;
2255
+ };
2256
+ };
2257
+ outputFormat: "json";
2258
+ status: 403;
2259
+ };
2260
+ }>;
2261
+ };
2262
+ };
2263
+ };
2043
2264
  } & {
2044
2265
  v1: {
2045
2266
  "issue-reports": import('hono/client').ClientRequest<string, "/v1/issue-reports", {
@@ -2243,6 +2464,26 @@ export declare const createApiClient: (baseUrl: string) => {
2243
2464
  ":approvalId": {
2244
2465
  resolve: import('hono/client').ClientRequest<string, "/v1/approvals/:approvalId/resolve", {
2245
2466
  $post: {
2467
+ input: {
2468
+ json: {
2469
+ decision: "approved" | "rejected" | "amend_requested";
2470
+ comment?: string | undefined;
2471
+ alwaysAllow?: boolean | undefined;
2472
+ };
2473
+ } & {
2474
+ param: {
2475
+ approvalId: string;
2476
+ };
2477
+ };
2478
+ output: {
2479
+ error: {
2480
+ readonly type: typeof import('@belong/codec/vault').SECRET_PASTE_ERROR_TYPE;
2481
+ readonly message: typeof import('@belong/codec/vault').SECRET_PASTE_MESSAGE;
2482
+ };
2483
+ };
2484
+ outputFormat: "json";
2485
+ status: 400;
2486
+ } | {
2246
2487
  input: {
2247
2488
  json: {
2248
2489
  decision: "approved" | "rejected" | "amend_requested";
@@ -2334,6 +2575,37 @@ export declare const createApiClient: (baseUrl: string) => {
2334
2575
  ":questionRequestId": {
2335
2576
  answer: import('hono/client').ClientRequest<string, "/v1/questions/:questionRequestId/answer", {
2336
2577
  $post: {
2578
+ input: {
2579
+ param: {
2580
+ questionRequestId: string;
2581
+ };
2582
+ } & {
2583
+ json: {
2584
+ answers: Record<string, {
2585
+ kind: "options";
2586
+ optionIds: string[];
2587
+ text?: string;
2588
+ } | {
2589
+ kind: "text";
2590
+ text: string;
2591
+ } | {
2592
+ kind: "skipped";
2593
+ }>;
2594
+ } | {
2595
+ reply: string;
2596
+ } | {
2597
+ dismissed: true;
2598
+ };
2599
+ };
2600
+ output: {
2601
+ error: {
2602
+ readonly type: typeof import('@belong/codec/vault').SECRET_PASTE_ERROR_TYPE;
2603
+ readonly message: typeof import('@belong/codec/vault').SECRET_PASTE_MESSAGE;
2604
+ };
2605
+ };
2606
+ outputFormat: "json";
2607
+ status: 400;
2608
+ } | {
2337
2609
  input: {
2338
2610
  param: {
2339
2611
  questionRequestId: string;
@@ -4104,28 +4376,29 @@ export declare const createApiClient: (baseUrl: string) => {
4104
4376
  $get: {
4105
4377
  input: {};
4106
4378
  output: {
4107
- readonly artifacts: readonly {
4108
- readonly liveArtifactId: import('../../../../apps/belong-cloud/src/platform/ids').LiveArtifactId;
4109
- readonly workspaceId: import('../../../../apps/belong-cloud/src/platform/ids').WorkspaceId | null;
4110
- readonly name: string;
4111
- readonly description: string | null;
4112
- readonly currentVersion: number;
4113
- readonly shareSlug: string;
4114
- readonly shareExpiresAt: string | null;
4115
- readonly shareRevokedAt: string | null;
4116
- readonly seriesId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId | null;
4117
- readonly lastRefreshedAt: string | null;
4118
- readonly createdAt: string;
4119
- readonly updatedAt: string;
4120
- readonly cadence: {
4379
+ artifacts: {
4380
+ cadence: {
4381
+ readonly weekdays?: (readonly number[] | null) | undefined;
4121
4382
  readonly intervalMinutes: number | null;
4122
4383
  readonly timezone: string;
4123
4384
  readonly recurrenceKind: import('../../../../apps/belong-cloud/src/features/task-schedules/task-schedule.schemas').RecurrenceKind;
4124
4385
  readonly anchorAt: string;
4125
4386
  } | null;
4387
+ liveArtifactId: import('../../../../apps/belong-cloud/src/platform/ids').LiveArtifactId;
4388
+ workspaceId: import('../../../../apps/belong-cloud/src/platform/ids').WorkspaceId | null;
4389
+ name: string;
4390
+ description: string | null;
4391
+ currentVersion: number;
4392
+ shareSlug: string;
4393
+ shareExpiresAt: string | null;
4394
+ shareRevokedAt: string | null;
4395
+ seriesId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId | null;
4396
+ lastRefreshedAt: string | null;
4397
+ createdAt: string;
4398
+ updatedAt: string;
4126
4399
  }[];
4127
- readonly slotsUsed: number;
4128
- readonly slotLimit: number;
4400
+ slotsUsed: number;
4401
+ slotLimit: number;
4129
4402
  };
4130
4403
  outputFormat: "json";
4131
4404
  status: import('hono/utils/http-status').ContentfulStatusCode;
@@ -4234,32 +4507,33 @@ export declare const createApiClient: (baseUrl: string) => {
4234
4507
  };
4235
4508
  };
4236
4509
  output: {
4237
- readonly liveArtifactId: import('../../../../apps/belong-cloud/src/platform/ids').LiveArtifactId;
4238
- readonly workspaceId: import('../../../../apps/belong-cloud/src/platform/ids').WorkspaceId | null;
4239
- readonly name: string;
4240
- readonly description: string | null;
4241
- readonly currentVersion: number;
4242
- readonly shareSlug: string;
4243
- readonly shareExpiresAt: string | null;
4244
- readonly shareRevokedAt: string | null;
4245
- readonly seriesId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId | null;
4246
- readonly lastRefreshedAt: string | null;
4247
- readonly createdAt: string;
4248
- readonly updatedAt: string;
4249
- readonly versions: readonly {
4250
- readonly version: number;
4251
- readonly artifactId: import('../../../../apps/belong-cloud/src/platform/ids').ArtifactId;
4252
- readonly mimeType: string;
4253
- readonly runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId | null;
4254
- readonly summary: string | null;
4255
- readonly publishedAt: string;
4256
- }[];
4257
- readonly cadence: {
4510
+ cadence: {
4511
+ readonly weekdays?: (readonly number[] | null) | undefined;
4258
4512
  readonly intervalMinutes: number | null;
4259
4513
  readonly timezone: string;
4260
4514
  readonly recurrenceKind: import('../../../../apps/belong-cloud/src/features/task-schedules/task-schedule.schemas').RecurrenceKind;
4261
4515
  readonly anchorAt: string;
4262
4516
  } | null;
4517
+ liveArtifactId: import('../../../../apps/belong-cloud/src/platform/ids').LiveArtifactId;
4518
+ workspaceId: import('../../../../apps/belong-cloud/src/platform/ids').WorkspaceId | null;
4519
+ name: string;
4520
+ description: string | null;
4521
+ currentVersion: number;
4522
+ shareSlug: string;
4523
+ shareExpiresAt: string | null;
4524
+ shareRevokedAt: string | null;
4525
+ seriesId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId | null;
4526
+ lastRefreshedAt: string | null;
4527
+ createdAt: string;
4528
+ updatedAt: string;
4529
+ versions: readonly {
4530
+ readonly version: number;
4531
+ readonly artifactId: import('../../../../apps/belong-cloud/src/platform/ids').ArtifactId;
4532
+ readonly mimeType: string;
4533
+ readonly runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId | null;
4534
+ readonly summary: string | null;
4535
+ readonly publishedAt: string;
4536
+ }[];
4263
4537
  };
4264
4538
  outputFormat: "json";
4265
4539
  status: import('hono/utils/http-status').ContentfulStatusCode;
@@ -5185,6 +5459,173 @@ export declare const createApiClient: (baseUrl: string) => {
5185
5459
  outputFormat: string;
5186
5460
  status: import('hono/utils/http-status').StatusCode;
5187
5461
  };
5462
+ $put: {
5463
+ input: {};
5464
+ output: null;
5465
+ outputFormat: "body";
5466
+ status: 204;
5467
+ } | {
5468
+ input: {};
5469
+ output: {
5470
+ error: {
5471
+ type: "terminal_no_sandbox";
5472
+ };
5473
+ };
5474
+ outputFormat: "json";
5475
+ status: 409;
5476
+ } | {
5477
+ input: {};
5478
+ output: {
5479
+ error: {
5480
+ type: "invalid_path";
5481
+ };
5482
+ };
5483
+ outputFormat: "json";
5484
+ status: 400;
5485
+ } | {
5486
+ input: {};
5487
+ output: {
5488
+ error: {
5489
+ type: "file_not_found";
5490
+ };
5491
+ };
5492
+ outputFormat: "json";
5493
+ status: 404;
5494
+ } | {
5495
+ input: {};
5496
+ output: {
5497
+ error: {
5498
+ type: "path_is_directory" | "directory_not_empty";
5499
+ };
5500
+ };
5501
+ outputFormat: "json";
5502
+ status: 409;
5503
+ } | {
5504
+ input: {};
5505
+ output: {
5506
+ error: {
5507
+ type: "precondition_failed";
5508
+ };
5509
+ };
5510
+ outputFormat: "json";
5511
+ status: 412;
5512
+ } | {
5513
+ input: {};
5514
+ output: {
5515
+ error: {
5516
+ type: "write_failed" | "remove_failed";
5517
+ };
5518
+ };
5519
+ outputFormat: "json";
5520
+ status: 502;
5521
+ } | {
5522
+ input: {};
5523
+ output: {
5524
+ readonly error: {
5525
+ readonly type: "missing_scope";
5526
+ readonly requiredScope: "session:write";
5527
+ };
5528
+ };
5529
+ outputFormat: "json";
5530
+ status: 403;
5531
+ } | {
5532
+ input: {};
5533
+ output: {
5534
+ error: {
5535
+ type: "missing_path" | "invalid_workspace";
5536
+ };
5537
+ };
5538
+ outputFormat: "json";
5539
+ status: 400;
5540
+ } | {
5541
+ input: {};
5542
+ output: {
5543
+ error: {
5544
+ type: string;
5545
+ };
5546
+ };
5547
+ outputFormat: "json";
5548
+ status: 503;
5549
+ };
5550
+ $delete: {
5551
+ input: {};
5552
+ output: null;
5553
+ outputFormat: "body";
5554
+ status: 204;
5555
+ } | {
5556
+ input: {};
5557
+ output: {
5558
+ error: {
5559
+ type: "terminal_no_sandbox";
5560
+ };
5561
+ };
5562
+ outputFormat: "json";
5563
+ status: 409;
5564
+ } | {
5565
+ input: {};
5566
+ output: {
5567
+ error: {
5568
+ type: "file_not_found";
5569
+ };
5570
+ };
5571
+ outputFormat: "json";
5572
+ status: 404;
5573
+ } | {
5574
+ input: {};
5575
+ output: {
5576
+ error: {
5577
+ type: "path_is_directory" | "directory_not_empty";
5578
+ };
5579
+ };
5580
+ outputFormat: "json";
5581
+ status: 409;
5582
+ } | {
5583
+ input: {};
5584
+ output: {
5585
+ error: {
5586
+ type: "precondition_failed";
5587
+ };
5588
+ };
5589
+ outputFormat: "json";
5590
+ status: 412;
5591
+ } | {
5592
+ input: {};
5593
+ output: {
5594
+ error: {
5595
+ type: "write_failed" | "remove_failed";
5596
+ };
5597
+ };
5598
+ outputFormat: "json";
5599
+ status: 502;
5600
+ } | {
5601
+ input: {};
5602
+ output: {
5603
+ readonly error: {
5604
+ readonly type: "missing_scope";
5605
+ readonly requiredScope: "session:write";
5606
+ };
5607
+ };
5608
+ outputFormat: "json";
5609
+ status: 403;
5610
+ } | {
5611
+ input: {};
5612
+ output: {
5613
+ error: {
5614
+ type: string;
5615
+ };
5616
+ };
5617
+ outputFormat: "json";
5618
+ status: 400;
5619
+ } | {
5620
+ input: {};
5621
+ output: {
5622
+ error: {
5623
+ type: string;
5624
+ };
5625
+ };
5626
+ outputFormat: "json";
5627
+ status: 503;
5628
+ };
5188
5629
  }>;
5189
5630
  };
5190
5631
  };
@@ -5383,6 +5824,7 @@ export declare const createApiClient: (baseUrl: string) => {
5383
5824
  message: string;
5384
5825
  };
5385
5826
  };
5827
+ visibility?: "other" | "visible" | "hidden" | undefined;
5386
5828
  };
5387
5829
  };
5388
5830
  output: {
@@ -5414,6 +5856,7 @@ export declare const createApiClient: (baseUrl: string) => {
5414
5856
  message: string;
5415
5857
  };
5416
5858
  };
5859
+ visibility?: "other" | "visible" | "hidden" | undefined;
5417
5860
  };
5418
5861
  };
5419
5862
  output: {
@@ -5435,6 +5878,7 @@ export declare const createApiClient: (baseUrl: string) => {
5435
5878
  input: {
5436
5879
  json: {
5437
5880
  commandId: string;
5881
+ visibility?: "other" | "visible" | "hidden" | undefined;
5438
5882
  };
5439
5883
  };
5440
5884
  output: {
@@ -5446,6 +5890,7 @@ export declare const createApiClient: (baseUrl: string) => {
5446
5890
  input: {
5447
5891
  json: {
5448
5892
  commandId: string;
5893
+ visibility?: "other" | "visible" | "hidden" | undefined;
5449
5894
  };
5450
5895
  };
5451
5896
  output: {
@@ -6031,6 +6476,48 @@ export declare const createApiClient: (baseUrl: string) => {
6031
6476
  }>;
6032
6477
  };
6033
6478
  };
6479
+ } & {
6480
+ v1: {
6481
+ config: {
6482
+ "next-step-suggestions": import('hono/client').ClientRequest<string, "/v1/config/next-step-suggestions", {
6483
+ $get: {
6484
+ input: {};
6485
+ output: {
6486
+ enabled: boolean;
6487
+ };
6488
+ outputFormat: "json";
6489
+ status: 200;
6490
+ };
6491
+ }>;
6492
+ };
6493
+ };
6494
+ } & {
6495
+ v1: {
6496
+ config: {
6497
+ guide: import('hono/client').ClientRequest<string, "/v1/config/guide", {
6498
+ $get: {
6499
+ input: {
6500
+ query: {
6501
+ locale: "en" | "es" | "pt" | "it";
6502
+ };
6503
+ };
6504
+ output: {
6505
+ locale: "en" | "es" | "pt" | "it";
6506
+ summary: string;
6507
+ articles: {
6508
+ id: string;
6509
+ kind: "question" | "topic";
6510
+ icon: "target" | "messages" | "lock" | "users" | "settings" | "folder" | "sparkles" | "ban" | "shield-check" | "calendar-clock" | "file-text" | "slash" | "gauge" | "life-buoy" | "mic" | "help-circle" | "plug" | "compass";
6511
+ title: string;
6512
+ markdown: string;
6513
+ }[];
6514
+ };
6515
+ outputFormat: "json";
6516
+ status: 200;
6517
+ };
6518
+ }>;
6519
+ };
6520
+ };
6034
6521
  } & {
6035
6522
  v1: {
6036
6523
  config: {
@@ -7091,6 +7578,9 @@ export declare const createApiClient: (baseUrl: string) => {
7091
7578
  kind: "weekdays";
7092
7579
  } | {
7093
7580
  kind: "weekly";
7581
+ } | {
7582
+ kind: "custom_weekly";
7583
+ weekdays: number[];
7094
7584
  } | {
7095
7585
  kind: "manual";
7096
7586
  } | {
@@ -7151,6 +7641,9 @@ export declare const createApiClient: (baseUrl: string) => {
7151
7641
  kind: "weekdays";
7152
7642
  } | {
7153
7643
  kind: "weekly";
7644
+ } | {
7645
+ kind: "custom_weekly";
7646
+ weekdays: number[];
7154
7647
  } | {
7155
7648
  kind: "manual";
7156
7649
  } | {
@@ -7171,7 +7664,8 @@ export declare const createApiClient: (baseUrl: string) => {
7171
7664
  scheduledFor: string;
7172
7665
  seriesStatus: "completed" | "active" | "paused" | "deleted";
7173
7666
  recurrence: {
7174
- kind: "none" | "daily" | "weekdays" | "weekly" | "interval" | "manual";
7667
+ weekdays?: readonly number[] | undefined;
7668
+ kind: "none" | "daily" | "weekdays" | "weekly" | "custom_weekly" | "interval" | "manual";
7175
7669
  };
7176
7670
  nextRunAt: string | null;
7177
7671
  title: string;
@@ -7216,6 +7710,9 @@ export declare const createApiClient: (baseUrl: string) => {
7216
7710
  kind: "weekdays";
7217
7711
  } | {
7218
7712
  kind: "weekly";
7713
+ } | {
7714
+ kind: "custom_weekly";
7715
+ weekdays: number[];
7219
7716
  } | {
7220
7717
  kind: "manual";
7221
7718
  } | {
@@ -7275,6 +7772,9 @@ export declare const createApiClient: (baseUrl: string) => {
7275
7772
  kind: "weekdays";
7276
7773
  } | {
7277
7774
  kind: "weekly";
7775
+ } | {
7776
+ kind: "custom_weekly";
7777
+ weekdays: number[];
7278
7778
  } | {
7279
7779
  kind: "manual";
7280
7780
  } | {
@@ -7318,8 +7818,9 @@ export declare const createApiClient: (baseUrl: string) => {
7318
7818
  title: string;
7319
7819
  status: "completed" | "active" | "paused" | "deleted";
7320
7820
  recurrence: {
7821
+ weekdays?: readonly number[] | undefined;
7321
7822
  intervalMinutes?: number | undefined;
7322
- kind: "none" | "daily" | "weekdays" | "weekly" | "interval" | "manual";
7823
+ kind: "none" | "daily" | "weekdays" | "weekly" | "custom_weekly" | "interval" | "manual";
7323
7824
  };
7324
7825
  timezone: string;
7325
7826
  nextRunAt: string | null;
@@ -7492,8 +7993,9 @@ export declare const createApiClient: (baseUrl: string) => {
7492
7993
  title: string;
7493
7994
  status: "completed" | "active" | "paused" | "deleted";
7494
7995
  recurrence: {
7996
+ weekdays?: readonly number[] | undefined;
7495
7997
  intervalMinutes?: number | undefined;
7496
- kind: "none" | "daily" | "weekdays" | "weekly" | "interval" | "manual";
7998
+ kind: "none" | "daily" | "weekdays" | "weekly" | "custom_weekly" | "interval" | "manual";
7497
7999
  };
7498
8000
  timezone: string;
7499
8001
  nextRunAt: string | null;
@@ -7563,6 +8065,9 @@ export declare const createApiClient: (baseUrl: string) => {
7563
8065
  kind: "weekdays";
7564
8066
  } | {
7565
8067
  kind: "weekly";
8068
+ } | {
8069
+ kind: "custom_weekly";
8070
+ weekdays: number[];
7566
8071
  } | {
7567
8072
  kind: "manual";
7568
8073
  } | {
@@ -7621,6 +8126,9 @@ export declare const createApiClient: (baseUrl: string) => {
7621
8126
  kind: "weekdays";
7622
8127
  } | {
7623
8128
  kind: "weekly";
8129
+ } | {
8130
+ kind: "custom_weekly";
8131
+ weekdays: number[];
7624
8132
  } | {
7625
8133
  kind: "manual";
7626
8134
  } | {
@@ -7679,6 +8187,9 @@ export declare const createApiClient: (baseUrl: string) => {
7679
8187
  kind: "weekdays";
7680
8188
  } | {
7681
8189
  kind: "weekly";
8190
+ } | {
8191
+ kind: "custom_weekly";
8192
+ weekdays: number[];
7682
8193
  } | {
7683
8194
  kind: "manual";
7684
8195
  } | {
@@ -7737,6 +8248,9 @@ export declare const createApiClient: (baseUrl: string) => {
7737
8248
  kind: "weekdays";
7738
8249
  } | {
7739
8250
  kind: "weekly";
8251
+ } | {
8252
+ kind: "custom_weekly";
8253
+ weekdays: number[];
7740
8254
  } | {
7741
8255
  kind: "manual";
7742
8256
  } | {
@@ -7795,6 +8309,9 @@ export declare const createApiClient: (baseUrl: string) => {
7795
8309
  kind: "weekdays";
7796
8310
  } | {
7797
8311
  kind: "weekly";
8312
+ } | {
8313
+ kind: "custom_weekly";
8314
+ weekdays: number[];
7798
8315
  } | {
7799
8316
  kind: "manual";
7800
8317
  } | {
@@ -7898,6 +8415,11 @@ export declare const createApiClient: (baseUrl: string) => {
7898
8415
  runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId | null;
7899
8416
  delivery: {
7900
8417
  emails: {
8418
+ providerEvent?: {
8419
+ at: string;
8420
+ type: import('../../../../apps/belong-cloud/src/features/notifications/email-provider-event.repo').EmailProviderEventType;
8421
+ bounceType: import('../../../../apps/belong-cloud/src/features/notifications/email-provider-event.repo').EmailBounceType | null;
8422
+ } | null | undefined;
7901
8423
  sentAt: string | null;
7902
8424
  source: "schedule_email" | "send_email";
7903
8425
  status: import('../../../../apps/belong-cloud/src/features/task-schedules/run-delivery').RunDeliveryEmailStatus;
@@ -8370,6 +8892,9 @@ export declare const createApiClient: (baseUrl: string) => {
8370
8892
  kind: "weekdays";
8371
8893
  } | {
8372
8894
  kind: "weekly";
8895
+ } | {
8896
+ kind: "custom_weekly";
8897
+ weekdays: number[];
8373
8898
  } | {
8374
8899
  kind: "manual";
8375
8900
  } | {
@@ -8430,6 +8955,9 @@ export declare const createApiClient: (baseUrl: string) => {
8430
8955
  kind: "weekdays";
8431
8956
  } | {
8432
8957
  kind: "weekly";
8958
+ } | {
8959
+ kind: "custom_weekly";
8960
+ weekdays: number[];
8433
8961
  } | {
8434
8962
  kind: "manual";
8435
8963
  } | {
@@ -8450,7 +8978,8 @@ export declare const createApiClient: (baseUrl: string) => {
8450
8978
  scheduledFor: string;
8451
8979
  seriesStatus: "completed" | "active" | "paused" | "deleted";
8452
8980
  recurrence: {
8453
- kind: "none" | "daily" | "weekdays" | "weekly" | "interval" | "manual";
8981
+ weekdays?: readonly number[] | undefined;
8982
+ kind: "none" | "daily" | "weekdays" | "weekly" | "custom_weekly" | "interval" | "manual";
8454
8983
  };
8455
8984
  nextRunAt: string | null;
8456
8985
  title: string;
@@ -8495,6 +9024,9 @@ export declare const createApiClient: (baseUrl: string) => {
8495
9024
  kind: "weekdays";
8496
9025
  } | {
8497
9026
  kind: "weekly";
9027
+ } | {
9028
+ kind: "custom_weekly";
9029
+ weekdays: number[];
8498
9030
  } | {
8499
9031
  kind: "manual";
8500
9032
  } | {
@@ -8554,6 +9086,9 @@ export declare const createApiClient: (baseUrl: string) => {
8554
9086
  kind: "weekdays";
8555
9087
  } | {
8556
9088
  kind: "weekly";
9089
+ } | {
9090
+ kind: "custom_weekly";
9091
+ weekdays: number[];
8557
9092
  } | {
8558
9093
  kind: "manual";
8559
9094
  } | {
@@ -8597,8 +9132,9 @@ export declare const createApiClient: (baseUrl: string) => {
8597
9132
  title: string;
8598
9133
  status: "completed" | "active" | "paused" | "deleted";
8599
9134
  recurrence: {
9135
+ weekdays?: readonly number[] | undefined;
8600
9136
  intervalMinutes?: number | undefined;
8601
- kind: "none" | "daily" | "weekdays" | "weekly" | "interval" | "manual";
9137
+ kind: "none" | "daily" | "weekdays" | "weekly" | "custom_weekly" | "interval" | "manual";
8602
9138
  };
8603
9139
  timezone: string;
8604
9140
  nextRunAt: string | null;
@@ -8771,8 +9307,9 @@ export declare const createApiClient: (baseUrl: string) => {
8771
9307
  title: string;
8772
9308
  status: "completed" | "active" | "paused" | "deleted";
8773
9309
  recurrence: {
9310
+ weekdays?: readonly number[] | undefined;
8774
9311
  intervalMinutes?: number | undefined;
8775
- kind: "none" | "daily" | "weekdays" | "weekly" | "interval" | "manual";
9312
+ kind: "none" | "daily" | "weekdays" | "weekly" | "custom_weekly" | "interval" | "manual";
8776
9313
  };
8777
9314
  timezone: string;
8778
9315
  nextRunAt: string | null;
@@ -8842,6 +9379,9 @@ export declare const createApiClient: (baseUrl: string) => {
8842
9379
  kind: "weekdays";
8843
9380
  } | {
8844
9381
  kind: "weekly";
9382
+ } | {
9383
+ kind: "custom_weekly";
9384
+ weekdays: number[];
8845
9385
  } | {
8846
9386
  kind: "manual";
8847
9387
  } | {
@@ -8900,6 +9440,9 @@ export declare const createApiClient: (baseUrl: string) => {
8900
9440
  kind: "weekdays";
8901
9441
  } | {
8902
9442
  kind: "weekly";
9443
+ } | {
9444
+ kind: "custom_weekly";
9445
+ weekdays: number[];
8903
9446
  } | {
8904
9447
  kind: "manual";
8905
9448
  } | {
@@ -8958,6 +9501,9 @@ export declare const createApiClient: (baseUrl: string) => {
8958
9501
  kind: "weekdays";
8959
9502
  } | {
8960
9503
  kind: "weekly";
9504
+ } | {
9505
+ kind: "custom_weekly";
9506
+ weekdays: number[];
8961
9507
  } | {
8962
9508
  kind: "manual";
8963
9509
  } | {
@@ -9016,6 +9562,9 @@ export declare const createApiClient: (baseUrl: string) => {
9016
9562
  kind: "weekdays";
9017
9563
  } | {
9018
9564
  kind: "weekly";
9565
+ } | {
9566
+ kind: "custom_weekly";
9567
+ weekdays: number[];
9019
9568
  } | {
9020
9569
  kind: "manual";
9021
9570
  } | {
@@ -9074,6 +9623,9 @@ export declare const createApiClient: (baseUrl: string) => {
9074
9623
  kind: "weekdays";
9075
9624
  } | {
9076
9625
  kind: "weekly";
9626
+ } | {
9627
+ kind: "custom_weekly";
9628
+ weekdays: number[];
9077
9629
  } | {
9078
9630
  kind: "manual";
9079
9631
  } | {
@@ -9177,6 +9729,11 @@ export declare const createApiClient: (baseUrl: string) => {
9177
9729
  runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId | null;
9178
9730
  delivery: {
9179
9731
  emails: {
9732
+ providerEvent?: {
9733
+ at: string;
9734
+ type: import('../../../../apps/belong-cloud/src/features/notifications/email-provider-event.repo').EmailProviderEventType;
9735
+ bounceType: import('../../../../apps/belong-cloud/src/features/notifications/email-provider-event.repo').EmailBounceType | null;
9736
+ } | null | undefined;
9180
9737
  sentAt: string | null;
9181
9738
  source: "schedule_email" | "send_email";
9182
9739
  status: import('../../../../apps/belong-cloud/src/features/task-schedules/run-delivery').RunDeliveryEmailStatus;
@@ -9657,8 +10214,9 @@ export declare const createApiClient: (baseUrl: string) => {
9657
10214
  timeExpression: string;
9658
10215
  timezone: string;
9659
10216
  recurrence: {
10217
+ weekdays?: readonly number[] | undefined;
9660
10218
  intervalMinutes?: number | undefined;
9661
- kind: string;
10219
+ kind: "none" | "daily" | "weekdays" | "weekly" | "custom_weekly" | "interval" | "manual";
9662
10220
  };
9663
10221
  anchorAt: string;
9664
10222
  templateName: string | null;
@@ -9749,8 +10307,9 @@ export declare const createApiClient: (baseUrl: string) => {
9749
10307
  timeExpression: string;
9750
10308
  timezone: string;
9751
10309
  recurrence: {
10310
+ weekdays?: readonly number[] | undefined;
9752
10311
  intervalMinutes?: number | undefined;
9753
- kind: string;
10312
+ kind: "none" | "daily" | "weekdays" | "weekly" | "custom_weekly" | "interval" | "manual";
9754
10313
  };
9755
10314
  anchorAt: string;
9756
10315
  templateName: string | null;
@@ -9786,6 +10345,9 @@ export declare const createApiClient: (baseUrl: string) => {
9786
10345
  kind: "weekdays";
9787
10346
  } | {
9788
10347
  kind: "weekly";
10348
+ } | {
10349
+ kind: "custom_weekly";
10350
+ weekdays: number[];
9789
10351
  } | {
9790
10352
  kind: "manual";
9791
10353
  } | {
@@ -9833,6 +10395,9 @@ export declare const createApiClient: (baseUrl: string) => {
9833
10395
  kind: "weekdays";
9834
10396
  } | {
9835
10397
  kind: "weekly";
10398
+ } | {
10399
+ kind: "custom_weekly";
10400
+ weekdays: number[];
9836
10401
  } | {
9837
10402
  kind: "manual";
9838
10403
  } | {
@@ -9879,6 +10444,9 @@ export declare const createApiClient: (baseUrl: string) => {
9879
10444
  kind: "weekdays";
9880
10445
  } | {
9881
10446
  kind: "weekly";
10447
+ } | {
10448
+ kind: "custom_weekly";
10449
+ weekdays: number[];
9882
10450
  } | {
9883
10451
  kind: "manual";
9884
10452
  } | {
@@ -13233,31 +13801,211 @@ export declare const createApiClient: (baseUrl: string) => {
13233
13801
  };
13234
13802
  } & {
13235
13803
  v1: {
13236
- "skill-library": import('hono/client').ClientRequest<string, "/v1/skill-library", {
13804
+ vault: import('hono/client').ClientRequest<string, "/v1/vault", {
13237
13805
  $get: {
13238
- input: {
13239
- query: {
13240
- workspaceExternalId?: string | string[];
13806
+ input: {};
13807
+ output: {
13808
+ error: {
13809
+ type: string;
13241
13810
  };
13242
13811
  };
13812
+ outputFormat: "json";
13813
+ status: 403;
13814
+ } | {
13815
+ input: {};
13243
13816
  output: {
13244
- skills: {
13245
- userSkillId: import('../../../../apps/belong-cloud/src/platform/ids').UserSkillId;
13817
+ readonly enabled: boolean;
13818
+ readonly secrets: readonly {
13246
13819
  name: string;
13247
- description: string;
13248
- enabled: boolean;
13249
- revision: number;
13250
- hasScripts: boolean;
13251
- filesCount: number;
13252
- archiveSizeBytes: number;
13820
+ kind: "api_key" | "pem";
13821
+ reference: string;
13822
+ createdAt: string;
13253
13823
  updatedAt: string;
13254
13824
  }[];
13255
13825
  };
13256
13826
  outputFormat: "json";
13257
- status: 200;
13827
+ status: import('hono/utils/http-status').ContentfulStatusCode;
13828
+ } | {
13829
+ input: {};
13830
+ output: {
13831
+ error: {
13832
+ readonly type: "vault_disabled" | "name_taken" | "not_found" | "unavailable" | "invalid_kind" | "invalid_input";
13833
+ };
13834
+ };
13835
+ outputFormat: "json";
13836
+ status: 400 | 404 | 409 | 503;
13258
13837
  };
13259
- }>;
13260
- };
13838
+ $post: {
13839
+ input: {};
13840
+ output: {
13841
+ error: {
13842
+ type: string;
13843
+ };
13844
+ };
13845
+ outputFormat: "json";
13846
+ status: 403;
13847
+ } | {
13848
+ input: {};
13849
+ output: {
13850
+ error: {
13851
+ type: string;
13852
+ };
13853
+ };
13854
+ outputFormat: "json";
13855
+ status: 400;
13856
+ } | {
13857
+ input: {};
13858
+ output: {
13859
+ reference: string;
13860
+ };
13861
+ outputFormat: "json";
13862
+ status: 200 | 201;
13863
+ } | {
13864
+ input: {};
13865
+ output: {
13866
+ error: {
13867
+ readonly type: "vault_disabled" | "name_taken" | "not_found" | "unavailable" | "invalid_kind" | "invalid_input";
13868
+ };
13869
+ };
13870
+ outputFormat: "json";
13871
+ status: 400 | 404 | 409 | 503;
13872
+ };
13873
+ }>;
13874
+ };
13875
+ } & {
13876
+ v1: {
13877
+ vault: {
13878
+ ":name": import('hono/client').ClientRequest<string, "/v1/vault/:name", {
13879
+ $patch: {
13880
+ input: {
13881
+ param: {
13882
+ name: string;
13883
+ };
13884
+ };
13885
+ output: {
13886
+ error: {
13887
+ type: string;
13888
+ };
13889
+ };
13890
+ outputFormat: "json";
13891
+ status: 403;
13892
+ } | {
13893
+ input: {
13894
+ param: {
13895
+ name: string;
13896
+ };
13897
+ };
13898
+ output: {
13899
+ error: {
13900
+ type: string;
13901
+ };
13902
+ };
13903
+ outputFormat: "json";
13904
+ status: 400;
13905
+ } | {
13906
+ input: {
13907
+ param: {
13908
+ name: string;
13909
+ };
13910
+ };
13911
+ output: {
13912
+ readonly reference: string;
13913
+ };
13914
+ outputFormat: "json";
13915
+ status: import('hono/utils/http-status').ContentfulStatusCode;
13916
+ } | {
13917
+ input: {
13918
+ param: {
13919
+ name: string;
13920
+ };
13921
+ };
13922
+ output: {
13923
+ error: {
13924
+ readonly type: "vault_disabled" | "name_taken" | "not_found" | "unavailable" | "invalid_kind" | "invalid_input";
13925
+ };
13926
+ };
13927
+ outputFormat: "json";
13928
+ status: 400 | 404 | 409 | 503;
13929
+ };
13930
+ $delete: {
13931
+ input: {
13932
+ param: {
13933
+ name: string;
13934
+ };
13935
+ };
13936
+ output: null;
13937
+ outputFormat: "body";
13938
+ status: 204;
13939
+ } | {
13940
+ input: {
13941
+ param: {
13942
+ name: string;
13943
+ };
13944
+ };
13945
+ output: {
13946
+ error: {
13947
+ type: string;
13948
+ };
13949
+ };
13950
+ outputFormat: "json";
13951
+ status: 403;
13952
+ } | {
13953
+ input: {
13954
+ param: {
13955
+ name: string;
13956
+ };
13957
+ };
13958
+ output: {
13959
+ error: {
13960
+ type: string;
13961
+ };
13962
+ };
13963
+ outputFormat: "json";
13964
+ status: 400;
13965
+ } | {
13966
+ input: {
13967
+ param: {
13968
+ name: string;
13969
+ };
13970
+ };
13971
+ output: {
13972
+ error: {
13973
+ readonly type: "vault_disabled" | "name_taken" | "not_found" | "unavailable" | "invalid_kind" | "invalid_input";
13974
+ };
13975
+ };
13976
+ outputFormat: "json";
13977
+ status: 400 | 404 | 409 | 503;
13978
+ };
13979
+ }>;
13980
+ };
13981
+ };
13982
+ } & {
13983
+ v1: {
13984
+ "skill-library": import('hono/client').ClientRequest<string, "/v1/skill-library", {
13985
+ $get: {
13986
+ input: {
13987
+ query: {
13988
+ workspaceExternalId?: string | string[];
13989
+ };
13990
+ };
13991
+ output: {
13992
+ skills: {
13993
+ userSkillId: import('../../../../apps/belong-cloud/src/platform/ids').UserSkillId;
13994
+ name: string;
13995
+ description: string;
13996
+ enabled: boolean;
13997
+ revision: number;
13998
+ hasScripts: boolean;
13999
+ filesCount: number;
14000
+ archiveSizeBytes: number;
14001
+ updatedAt: string;
14002
+ }[];
14003
+ };
14004
+ outputFormat: "json";
14005
+ status: 200;
14006
+ };
14007
+ }>;
14008
+ };
13261
14009
  } & {
13262
14010
  v1: {
13263
14011
  "skill-library": {
@@ -14596,8 +15344,8 @@ export declare const createApiClient: (baseUrl: string) => {
14596
15344
  }[];
14597
15345
  actions: {
14598
15346
  id: string;
14599
- kind: "authorization" | "disconnect";
14600
- label: "reconnect" | "connect" | "disconnect" | "grant_admin_consent";
15347
+ kind: "disconnect" | "authorization";
15348
+ label: "connect" | "disconnect" | "reconnect" | "grant_admin_consent";
14601
15349
  tone: "primary" | "destructive" | "secondary";
14602
15350
  requiresConfirmation: boolean;
14603
15351
  }[];
@@ -14860,6 +15608,7 @@ export declare const createApiClient: (baseUrl: string) => {
14860
15608
  readonly hasPublishToken: boolean;
14861
15609
  readonly hasResendApiKey: boolean;
14862
15610
  readonly hasRestToolSecret: boolean;
15611
+ readonly hasResendWebhookSecret: boolean;
14863
15612
  };
14864
15613
  readonly minted: {
14865
15614
  readonly hs256Secret?: string | undefined;
@@ -14946,6 +15695,7 @@ export declare const createApiClient: (baseUrl: string) => {
14946
15695
  readonly hasPublishToken: boolean;
14947
15696
  readonly hasResendApiKey: boolean;
14948
15697
  readonly hasRestToolSecret: boolean;
15698
+ readonly hasResendWebhookSecret: boolean;
14949
15699
  };
14950
15700
  };
14951
15701
  outputFormat: "json";
@@ -15041,6 +15791,7 @@ export declare const createApiClient: (baseUrl: string) => {
15041
15791
  readonly hasPublishToken: boolean;
15042
15792
  readonly hasResendApiKey: boolean;
15043
15793
  readonly hasRestToolSecret: boolean;
15794
+ readonly hasResendWebhookSecret: boolean;
15044
15795
  };
15045
15796
  };
15046
15797
  outputFormat: "json";
@@ -15524,7 +16275,7 @@ export declare const createApiClient: (baseUrl: string) => {
15524
16275
  input: {};
15525
16276
  output: {
15526
16277
  error: {
15527
- type: string;
16278
+ type: "invalid_query" | "unknown_dimension" | "invalid_window";
15528
16279
  };
15529
16280
  };
15530
16281
  outputFormat: "json";
@@ -15540,6 +16291,8 @@ export declare const createApiClient: (baseUrl: string) => {
15540
16291
  readonly tasks: number;
15541
16292
  readonly judgedTasks: number;
15542
16293
  readonly votedTasks: number;
16294
+ readonly sessions: number;
16295
+ readonly judgedSessions: number;
15543
16296
  };
15544
16297
  readonly groups: readonly {
15545
16298
  readonly group: string;
@@ -15547,6 +16300,8 @@ export declare const createApiClient: (baseUrl: string) => {
15547
16300
  readonly tasks: number;
15548
16301
  readonly judgedTasks: number;
15549
16302
  readonly votedTasks: number;
16303
+ readonly sessions: number;
16304
+ readonly judgedSessions: number;
15550
16305
  readonly metrics: {
15551
16306
  readonly failed: {
15552
16307
  readonly n: number;
@@ -15572,6 +16327,12 @@ export declare const createApiClient: (baseUrl: string) => {
15572
16327
  readonly low: number | null;
15573
16328
  readonly high: number | null;
15574
16329
  };
16330
+ readonly goalAchieved: {
16331
+ readonly n: number;
16332
+ readonly mean: number | null;
16333
+ readonly low: number | null;
16334
+ readonly high: number | null;
16335
+ };
15575
16336
  readonly dissatisfied: {
15576
16337
  readonly n: number;
15577
16338
  readonly mean: number | null;
@@ -15584,6 +16345,24 @@ export declare const createApiClient: (baseUrl: string) => {
15584
16345
  readonly low: number | null;
15585
16346
  readonly high: number | null;
15586
16347
  };
16348
+ readonly slow: {
16349
+ readonly n: number;
16350
+ readonly mean: number | null;
16351
+ readonly low: number | null;
16352
+ readonly high: number | null;
16353
+ };
16354
+ readonly notAchieved: {
16355
+ readonly n: number;
16356
+ readonly mean: number | null;
16357
+ readonly low: number | null;
16358
+ readonly high: number | null;
16359
+ };
16360
+ readonly endsAsking: {
16361
+ readonly n: number;
16362
+ readonly mean: number | null;
16363
+ readonly low: number | null;
16364
+ readonly high: number | null;
16365
+ };
15587
16366
  };
15588
16367
  readonly versusControl?: {
15589
16368
  readonly failed: {
@@ -15614,6 +16393,13 @@ export declare const createApiClient: (baseUrl: string) => {
15614
16393
  readonly p: number | null;
15615
16394
  readonly df: number | null;
15616
16395
  };
16396
+ readonly goalAchieved: {
16397
+ readonly diff: number | null;
16398
+ readonly low: number | null;
16399
+ readonly high: number | null;
16400
+ readonly p: number | null;
16401
+ readonly df: number | null;
16402
+ };
15617
16403
  readonly dissatisfied: {
15618
16404
  readonly diff: number | null;
15619
16405
  readonly low: number | null;
@@ -15628,6 +16414,27 @@ export declare const createApiClient: (baseUrl: string) => {
15628
16414
  readonly p: number | null;
15629
16415
  readonly df: number | null;
15630
16416
  };
16417
+ readonly slow: {
16418
+ readonly diff: number | null;
16419
+ readonly low: number | null;
16420
+ readonly high: number | null;
16421
+ readonly p: number | null;
16422
+ readonly df: number | null;
16423
+ };
16424
+ readonly notAchieved: {
16425
+ readonly diff: number | null;
16426
+ readonly low: number | null;
16427
+ readonly high: number | null;
16428
+ readonly p: number | null;
16429
+ readonly df: number | null;
16430
+ };
16431
+ readonly endsAsking: {
16432
+ readonly diff: number | null;
16433
+ readonly low: number | null;
16434
+ readonly high: number | null;
16435
+ readonly p: number | null;
16436
+ readonly df: number | null;
16437
+ };
15631
16438
  } | undefined;
15632
16439
  readonly worstTraces: readonly {
15633
16440
  readonly taskId: string;
@@ -15655,4 +16462,260 @@ export declare const createApiClient: (baseUrl: string) => {
15655
16462
  };
15656
16463
  };
15657
16464
  };
16465
+ } & {
16466
+ v1: {
16467
+ admin: {
16468
+ signals: {
16469
+ regression: import('hono/client').ClientRequest<string, "/v1/admin/signals/regression", {
16470
+ $get: {
16471
+ input: {};
16472
+ output: {
16473
+ readonly dimension: string;
16474
+ readonly since: string;
16475
+ readonly until: string;
16476
+ readonly verdict: import('../../../../apps/belong-cloud/src/features/signals/signal-regression').Verdict;
16477
+ readonly reason: string;
16478
+ readonly drivenBy: readonly string[];
16479
+ readonly primary: {
16480
+ readonly baseline: {
16481
+ readonly n: number;
16482
+ readonly mean: number | null;
16483
+ readonly low: number | null;
16484
+ readonly high: number | null;
16485
+ };
16486
+ readonly candidate: {
16487
+ readonly n: number;
16488
+ readonly mean: number | null;
16489
+ readonly low: number | null;
16490
+ readonly high: number | null;
16491
+ };
16492
+ readonly diff: {
16493
+ readonly diff: number | null;
16494
+ readonly low: number | null;
16495
+ readonly high: number | null;
16496
+ readonly p: number | null;
16497
+ readonly df: number | null;
16498
+ };
16499
+ readonly metric: "goalAchieved";
16500
+ readonly margin: number;
16501
+ };
16502
+ readonly usersNeededPerArm: number | null;
16503
+ readonly baseline: {
16504
+ readonly group: string;
16505
+ readonly users: number;
16506
+ readonly sessions: number;
16507
+ readonly judgedSessions: number;
16508
+ readonly tasks: number;
16509
+ };
16510
+ readonly candidate: {
16511
+ readonly group: string;
16512
+ readonly users: number;
16513
+ readonly sessions: number;
16514
+ readonly judgedSessions: number;
16515
+ readonly tasks: number;
16516
+ };
16517
+ readonly sampleRatio?: {
16518
+ readonly allocation: string;
16519
+ readonly users: number;
16520
+ readonly chiSquare: number;
16521
+ readonly p: number;
16522
+ } | null | undefined;
16523
+ readonly guardrails: {
16524
+ readonly failed: {
16525
+ readonly baseline: {
16526
+ readonly n: number;
16527
+ readonly mean: number | null;
16528
+ readonly low: number | null;
16529
+ readonly high: number | null;
16530
+ };
16531
+ readonly candidate: {
16532
+ readonly n: number;
16533
+ readonly mean: number | null;
16534
+ readonly low: number | null;
16535
+ readonly high: number | null;
16536
+ };
16537
+ readonly diff: {
16538
+ readonly diff: number | null;
16539
+ readonly low: number | null;
16540
+ readonly high: number | null;
16541
+ readonly p: number | null;
16542
+ readonly df: number | null;
16543
+ };
16544
+ readonly confidence: number;
16545
+ readonly worse: boolean;
16546
+ readonly insufficient: boolean;
16547
+ };
16548
+ readonly satisfaction: {
16549
+ readonly baseline: {
16550
+ readonly n: number;
16551
+ readonly mean: number | null;
16552
+ readonly low: number | null;
16553
+ readonly high: number | null;
16554
+ };
16555
+ readonly candidate: {
16556
+ readonly n: number;
16557
+ readonly mean: number | null;
16558
+ readonly low: number | null;
16559
+ readonly high: number | null;
16560
+ };
16561
+ readonly diff: {
16562
+ readonly diff: number | null;
16563
+ readonly low: number | null;
16564
+ readonly high: number | null;
16565
+ readonly p: number | null;
16566
+ readonly df: number | null;
16567
+ };
16568
+ readonly confidence: number;
16569
+ readonly worse: boolean;
16570
+ readonly insufficient: boolean;
16571
+ };
16572
+ readonly thumbsDown: {
16573
+ readonly baseline: {
16574
+ readonly n: number;
16575
+ readonly mean: number | null;
16576
+ readonly low: number | null;
16577
+ readonly high: number | null;
16578
+ };
16579
+ readonly candidate: {
16580
+ readonly n: number;
16581
+ readonly mean: number | null;
16582
+ readonly low: number | null;
16583
+ readonly high: number | null;
16584
+ };
16585
+ readonly diff: {
16586
+ readonly diff: number | null;
16587
+ readonly low: number | null;
16588
+ readonly high: number | null;
16589
+ readonly p: number | null;
16590
+ readonly df: number | null;
16591
+ };
16592
+ readonly confidence: number;
16593
+ readonly worse: boolean;
16594
+ readonly insufficient: boolean;
16595
+ };
16596
+ readonly notAchieved: {
16597
+ readonly baseline: {
16598
+ readonly n: number;
16599
+ readonly mean: number | null;
16600
+ readonly low: number | null;
16601
+ readonly high: number | null;
16602
+ };
16603
+ readonly candidate: {
16604
+ readonly n: number;
16605
+ readonly mean: number | null;
16606
+ readonly low: number | null;
16607
+ readonly high: number | null;
16608
+ };
16609
+ readonly diff: {
16610
+ readonly diff: number | null;
16611
+ readonly low: number | null;
16612
+ readonly high: number | null;
16613
+ readonly p: number | null;
16614
+ readonly df: number | null;
16615
+ };
16616
+ readonly confidence: number;
16617
+ readonly worse: boolean;
16618
+ readonly insufficient: boolean;
16619
+ };
16620
+ readonly endsAsking: {
16621
+ readonly baseline: {
16622
+ readonly n: number;
16623
+ readonly mean: number | null;
16624
+ readonly low: number | null;
16625
+ readonly high: number | null;
16626
+ };
16627
+ readonly candidate: {
16628
+ readonly n: number;
16629
+ readonly mean: number | null;
16630
+ readonly low: number | null;
16631
+ readonly high: number | null;
16632
+ };
16633
+ readonly diff: {
16634
+ readonly diff: number | null;
16635
+ readonly low: number | null;
16636
+ readonly high: number | null;
16637
+ readonly p: number | null;
16638
+ readonly df: number | null;
16639
+ };
16640
+ readonly confidence: number;
16641
+ readonly worse: boolean;
16642
+ readonly insufficient: boolean;
16643
+ };
16644
+ };
16645
+ readonly secondary: {
16646
+ readonly cancelled: {
16647
+ readonly baseline: {
16648
+ readonly n: number;
16649
+ readonly mean: number | null;
16650
+ readonly low: number | null;
16651
+ readonly high: number | null;
16652
+ };
16653
+ readonly candidate: {
16654
+ readonly n: number;
16655
+ readonly mean: number | null;
16656
+ readonly low: number | null;
16657
+ readonly high: number | null;
16658
+ };
16659
+ readonly diff: {
16660
+ readonly diff: number | null;
16661
+ readonly low: number | null;
16662
+ readonly high: number | null;
16663
+ readonly p: number | null;
16664
+ readonly df: number | null;
16665
+ };
16666
+ };
16667
+ readonly slow: {
16668
+ readonly baseline: {
16669
+ readonly n: number;
16670
+ readonly mean: number | null;
16671
+ readonly low: number | null;
16672
+ readonly high: number | null;
16673
+ };
16674
+ readonly candidate: {
16675
+ readonly n: number;
16676
+ readonly mean: number | null;
16677
+ readonly low: number | null;
16678
+ readonly high: number | null;
16679
+ };
16680
+ readonly diff: {
16681
+ readonly diff: number | null;
16682
+ readonly low: number | null;
16683
+ readonly high: number | null;
16684
+ readonly p: number | null;
16685
+ readonly df: number | null;
16686
+ };
16687
+ };
16688
+ };
16689
+ readonly worstSessions: {
16690
+ readonly baseline: readonly {
16691
+ readonly sessionId: string;
16692
+ readonly traceId: string;
16693
+ readonly goalAchieved: number;
16694
+ readonly ending: string | null;
16695
+ }[];
16696
+ readonly candidate: readonly {
16697
+ readonly sessionId: string;
16698
+ readonly traceId: string;
16699
+ readonly goalAchieved: number;
16700
+ readonly ending: string | null;
16701
+ }[];
16702
+ };
16703
+ readonly caveat: string | null;
16704
+ };
16705
+ outputFormat: "json";
16706
+ status: 200;
16707
+ } | {
16708
+ input: {};
16709
+ output: {
16710
+ error: {
16711
+ type: string;
16712
+ };
16713
+ };
16714
+ outputFormat: "json";
16715
+ status: 422;
16716
+ };
16717
+ }>;
16718
+ };
16719
+ };
16720
+ };
15658
16721
  };