@belonguniverseai/react-sdk 0.6.32 → 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 (108) hide show
  1. package/dist/api/account-connectors.d.ts +2 -2
  2. package/dist/api/client.d.ts +1114 -78
  3. package/dist/api/goals.d.ts +4 -4
  4. package/dist/api/quota-refusal.d.ts +49 -0
  5. package/dist/api/secret-paste.d.ts +5 -0
  6. package/dist/api/suggestions.d.ts +18 -0
  7. package/dist/api/task-schedule-sharing.d.ts +13 -1
  8. package/dist/api/task-schedules.d.ts +33 -4
  9. package/dist/api/vault.d.ts +49 -0
  10. package/dist/app/dock-story-data.d.ts +6 -0
  11. package/dist/component/{abnfDiagram-N423BO3Z-Cs6vuzym.js → abnfDiagram-N423BO3Z-CK4wvzwz.js} +4 -4
  12. package/dist/component/{architectureDiagram-T3A2C74G-BdBpK2d_.js → architectureDiagram-T3A2C74G-DoljsqqO.js} +6 -6
  13. package/dist/component/{blockDiagram-VBNYF7ZC-Cf6dsn1j.js → blockDiagram-VBNYF7ZC-Ie7SErpH.js} +8 -8
  14. package/dist/component/{c4Diagram-5PPSVZJV-Cxt2hfnn.js → c4Diagram-5PPSVZJV-rfEof5mj.js} +4 -4
  15. package/dist/component/{channel-COtJQ6CP.js → channel-C5ABP6lE.js} +2 -2
  16. package/dist/component/{chunk-2GRJ4B5K-C14K2lKj.js → chunk-2GRJ4B5K-CWOCv67u.js} +2 -2
  17. package/dist/component/{chunk-3NCLNEKW-oHacP_OI.js → chunk-3NCLNEKW-BJYANBvv.js} +2 -2
  18. package/dist/component/{chunk-4I5QYGJK-CGOVqmKQ.js → chunk-4I5QYGJK-C29OfER5.js} +2 -2
  19. package/dist/component/{chunk-5RXB4S5H-CMJnmUzX.js → chunk-5RXB4S5H-D__NH4Op.js} +6 -6
  20. package/dist/component/{chunk-6Q2QTUOP-B5ACmZa2.js → chunk-6Q2QTUOP-BgSQgII8.js} +3 -3
  21. package/dist/component/{chunk-7Z6QIM7H-CSfSb_Xc.js → chunk-7Z6QIM7H-vNexNF_V.js} +8 -8
  22. package/dist/component/{chunk-GF5L2VYU-xi_oDTd2.js → chunk-GF5L2VYU-D3vxqomE.js} +6 -6
  23. package/dist/component/{chunk-I66GZJ75-DB1sFGc-.js → chunk-I66GZJ75-Dkw1ISGd.js} +2 -2
  24. package/dist/component/{chunk-J7OUQ5F2-DB9d7Gt_.js → chunk-J7OUQ5F2-dC67pJWg.js} +7 -7
  25. package/dist/component/{chunk-JQJVKLGR-De7zUJDv.js → chunk-JQJVKLGR-Djj9TdhH.js} +8 -8
  26. package/dist/component/{chunk-KBJHAD2P-CVoxmRa8.js → chunk-KBJHAD2P-dwIA6Vmi.js} +2 -2
  27. package/dist/component/{chunk-NSK5VX7P-ur_ZGcVX.js → chunk-NSK5VX7P-thQxjtNK.js} +2 -2
  28. package/dist/component/{chunk-QR6OTTB3-Bl3Z_jKC.js → chunk-QR6OTTB3-OMd-rgNj.js} +7 -7
  29. package/dist/component/{chunk-UBXNYLIW-CDKeQUnO.js → chunk-UBXNYLIW-D26S6zO6.js} +3 -3
  30. package/dist/component/{chunk-W5SLKNZC-Dq8uD14N.js → chunk-W5SLKNZC-DLV7M8by.js} +2 -2
  31. package/dist/component/{chunk-WRU74C26-BwQb4DnE.js → chunk-WRU74C26-13bvIAgD.js} +4 -4
  32. package/dist/component/{classDiagram-JCYQIIEL-yl7JabGO.js → classDiagram-JCYQIIEL-BFQ72AZA.js} +13 -13
  33. package/dist/component/{classDiagram-v2-OCEON4UE-ozBAEvyC.js → classDiagram-v2-OCEON4UE-UFfArXpP.js} +13 -13
  34. package/dist/component/{component-DnTvWVQQ.js → component-Bhs6PFPY.js} +22656 -21083
  35. package/dist/component/{cynefinDiagram-MW4NZA55-fdKo3DVx.js → cynefinDiagram-MW4NZA55-Bgfw8c41.js} +4 -4
  36. package/dist/component/{dagre-VZM6K2ZE-C7nAehQV.js → dagre-VZM6K2ZE-CQoUcF3S.js} +9 -9
  37. package/dist/component/{diagram-7IWD3JNH-DRM3Hv3P.js → diagram-7IWD3JNH-C8-mvAEv.js} +5 -5
  38. package/dist/component/{diagram-B4RE2ZJO-DXqATSZd.js → diagram-B4RE2ZJO-BATqCIx3.js} +3 -3
  39. package/dist/component/{diagram-LBJQPF4R-DJRJfBnF.js → diagram-LBJQPF4R-DwRMRXWz.js} +4 -4
  40. package/dist/component/{diagram-Q27KOJAE-B4cTzsYZ.js → diagram-Q27KOJAE-D6gO0LTm.js} +6 -6
  41. package/dist/component/{diagram-UB23O5K3-CyUjYCbX.js → diagram-UB23O5K3-4nOrWHql.js} +4 -4
  42. package/dist/component/{ebnfDiagram-BXEA7PRR-C6GS4eTe.js → ebnfDiagram-BXEA7PRR-DCO-Nj3k.js} +4 -4
  43. package/dist/component/{erDiagram-JOGREHBK-D8qt0_mW.js → erDiagram-JOGREHBK-hWtImhPN.js} +12 -12
  44. package/dist/component/flowDiagram-UKHOOZJN-8qLgX2Wv.js +19 -0
  45. package/dist/component/{ganttDiagram-PKOTCBZU-D6o-gloU.js → ganttDiagram-PKOTCBZU-BE8Mqoej.js} +3 -3
  46. package/dist/component/{gitGraphDiagram-DS77QQ5N-Cz3kf7xj.js → gitGraphDiagram-DS77QQ5N-DURS7rAN.js} +3 -3
  47. package/dist/component/index.js +2 -2
  48. package/dist/component/{infoDiagram-6WML65LV-sdz8qoTE.js → infoDiagram-6WML65LV-BqBxR6YB.js} +3 -3
  49. package/dist/component/{ishikawaDiagram-WSZJBQD7--tUiPVAr.js → ishikawaDiagram-WSZJBQD7-CnYZd1Dq.js} +4 -4
  50. package/dist/component/{journeyDiagram-NVQOT4AX-_-TjqBid.js → journeyDiagram-NVQOT4AX-Cgkpx4Qx.js} +3 -3
  51. package/dist/component/{kanban-definition-27J2QSJJ-BXBySx2U.js → kanban-definition-27J2QSJJ-CJSdhT0i.js} +9 -9
  52. package/dist/component/{line-C2WkjBlg.js → line-BBEHlpsV.js} +2 -2
  53. package/dist/component/{mindmap-definition-FAOFIHXS-CbpSDN_k.js → mindmap-definition-FAOFIHXS-DgHouLA-.js} +11 -11
  54. package/dist/component/{pegDiagram-VL7TDLO6-Cp_Wn0PS.js → pegDiagram-VL7TDLO6-B_iGQ6sI.js} +4 -4
  55. package/dist/component/{pieDiagram-7S7Q4E2Y-D6KGBWSF.js → pieDiagram-7S7Q4E2Y-g7GxM0JA.js} +4 -4
  56. package/dist/component/{quadrantDiagram-CIZ2JOQS-BWjdUg-z.js → quadrantDiagram-CIZ2JOQS-Bp7z4raq.js} +2 -2
  57. package/dist/component/{railroadDiagram-AXF67PYL-B5iYZXm-.js → railroadDiagram-AXF67PYL-CYx3PP5o.js} +4 -4
  58. package/dist/component/{requirementDiagram-LRYGKXZP-CewRkYfE.js → requirementDiagram-LRYGKXZP-BJNRJceo.js} +11 -11
  59. package/dist/component/{sankeyDiagram-W5VNT64P-D3Zb5dQ6.js → sankeyDiagram-W5VNT64P-Cf0tVHbW.js} +2 -2
  60. package/dist/component/{sequenceDiagram-SI44F4Z6-BfxhjyrN.js → sequenceDiagram-SI44F4Z6-BsAsKMRH.js} +4 -4
  61. package/dist/component/{stateDiagram-OKZ733FA-DLd9YI1A.js → stateDiagram-OKZ733FA-Bpk0vtTK.js} +14 -14
  62. package/dist/component/{stateDiagram-v2-UEYNNEHI-Dd_FaBaY.js → stateDiagram-v2-UEYNNEHI-CJFoUvD2.js} +13 -13
  63. package/dist/component/{swimlanes-SLNWSIFB-C56sHJuV.js → swimlanes-SLNWSIFB-Be5A0lwq.js} +9 -9
  64. package/dist/component/{swimlanesDiagram-ULZ7WXOC-nHtka4qn.js → swimlanesDiagram-ULZ7WXOC-J8VNaPhM.js} +13 -13
  65. package/dist/component/{timeline-definition-Z64GVDOM-JYR_6zGi.js → timeline-definition-Z64GVDOM-CU9PEkPY.js} +4 -4
  66. package/dist/component/{vennDiagram-T6HMQDX7-CEGGwXxv.js → vennDiagram-T6HMQDX7-Cno78tFK.js} +4 -4
  67. package/dist/component/{wardleyDiagram-T6FBY63Y-zZGm618Q.js → wardleyDiagram-T6FBY63Y-BEb1Rn5J.js} +4 -4
  68. package/dist/component/{xychartDiagram-ELKLHX3M-BYbnWmqD.js → xychartDiagram-ELKLHX3M-BwjMczCl.js} +7 -7
  69. package/dist/components/embed/EmbedRail.d.ts +8 -1
  70. package/dist/components/embed/NextStepCard.d.ts +6 -0
  71. package/dist/components/embed/QuotaNoticeCard.d.ts +4 -0
  72. package/dist/components/embed/SessionSwitcher.d.ts +6 -1
  73. package/dist/components/embed/quota-notice-copy.d.ts +3 -0
  74. package/dist/components/scheduled/schedule-dialog-model.d.ts +2 -1
  75. package/dist/components/scheduled/schedule-format.d.ts +4 -1
  76. package/dist/components/vault/SecretPasteFeedback.d.ts +6 -0
  77. package/dist/components/vault/SecretsPanel.d.ts +23 -0
  78. package/dist/components/vault/vault-open.d.ts +3 -0
  79. package/dist/embed/goal-edit-command.d.ts +6 -1
  80. package/dist/embed/quota-notice.d.ts +9 -0
  81. package/dist/embed/theme.d.ts +10 -0
  82. package/dist/embed/voice/agent-spawn.d.ts +12 -2
  83. package/dist/embed/voice-call.d.ts +4 -1
  84. package/dist/i18n/messages/en.d.ts +55 -0
  85. package/dist/i18n/messages/surfaces/quota.d.ts +69 -0
  86. package/dist/i18n/messages/surfaces/scheduled.d.ts +32 -0
  87. package/dist/i18n/messages/surfaces/settings.d.ts +8 -0
  88. package/dist/i18n/messages/surfaces/stream.d.ts +4 -0
  89. package/dist/i18n/messages/surfaces/vault.d.ts +120 -0
  90. package/dist/lib/use-tab-leadership.d.ts +1 -0
  91. package/dist/routes/chat/history-cache.d.ts +5 -0
  92. package/dist/routes/chat/question-parts.d.ts +26 -0
  93. package/dist/routes/chat/queued-delivery.d.ts +20 -0
  94. package/dist/routes/chat/queued-messages.d.ts +15 -0
  95. package/dist/routes/chat/session-api.d.ts +52 -0
  96. package/dist/routes/chat/session-history-api.d.ts +9 -0
  97. package/dist/routes/chat/transcript-update.d.ts +45 -0
  98. package/dist/routes/chat/use-catch-up-on-return.d.ts +7 -0
  99. package/dist/routes/chat/use-next-step-suggestion.d.ts +38 -0
  100. package/dist/routes/chat/use-quota-notice.d.ts +29 -0
  101. package/dist/routes/chat/use-quota-stop-refresh.d.ts +27 -0
  102. package/dist/routes/chat/use-session-goal.d.ts +6 -0
  103. package/dist/routes/chat.d.ts +9 -15
  104. package/dist/stream/belong-chat-transport.d.ts +17 -2
  105. package/dist/stream/belong-data-parts.d.ts +31 -1
  106. package/dist/stream/provider-blocked.d.ts +16 -0
  107. package/package.json +1 -1
  108. package/dist/component/flowDiagram-UKHOOZJN-U55NEBew.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,21 @@ 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
+ };
6034
6494
  } & {
6035
6495
  v1: {
6036
6496
  config: {
@@ -7118,6 +7578,9 @@ export declare const createApiClient: (baseUrl: string) => {
7118
7578
  kind: "weekdays";
7119
7579
  } | {
7120
7580
  kind: "weekly";
7581
+ } | {
7582
+ kind: "custom_weekly";
7583
+ weekdays: number[];
7121
7584
  } | {
7122
7585
  kind: "manual";
7123
7586
  } | {
@@ -7178,6 +7641,9 @@ export declare const createApiClient: (baseUrl: string) => {
7178
7641
  kind: "weekdays";
7179
7642
  } | {
7180
7643
  kind: "weekly";
7644
+ } | {
7645
+ kind: "custom_weekly";
7646
+ weekdays: number[];
7181
7647
  } | {
7182
7648
  kind: "manual";
7183
7649
  } | {
@@ -7198,7 +7664,8 @@ export declare const createApiClient: (baseUrl: string) => {
7198
7664
  scheduledFor: string;
7199
7665
  seriesStatus: "completed" | "active" | "paused" | "deleted";
7200
7666
  recurrence: {
7201
- kind: "none" | "daily" | "weekdays" | "weekly" | "interval" | "manual";
7667
+ weekdays?: readonly number[] | undefined;
7668
+ kind: "none" | "daily" | "weekdays" | "weekly" | "custom_weekly" | "interval" | "manual";
7202
7669
  };
7203
7670
  nextRunAt: string | null;
7204
7671
  title: string;
@@ -7243,6 +7710,9 @@ export declare const createApiClient: (baseUrl: string) => {
7243
7710
  kind: "weekdays";
7244
7711
  } | {
7245
7712
  kind: "weekly";
7713
+ } | {
7714
+ kind: "custom_weekly";
7715
+ weekdays: number[];
7246
7716
  } | {
7247
7717
  kind: "manual";
7248
7718
  } | {
@@ -7302,6 +7772,9 @@ export declare const createApiClient: (baseUrl: string) => {
7302
7772
  kind: "weekdays";
7303
7773
  } | {
7304
7774
  kind: "weekly";
7775
+ } | {
7776
+ kind: "custom_weekly";
7777
+ weekdays: number[];
7305
7778
  } | {
7306
7779
  kind: "manual";
7307
7780
  } | {
@@ -7345,8 +7818,9 @@ export declare const createApiClient: (baseUrl: string) => {
7345
7818
  title: string;
7346
7819
  status: "completed" | "active" | "paused" | "deleted";
7347
7820
  recurrence: {
7821
+ weekdays?: readonly number[] | undefined;
7348
7822
  intervalMinutes?: number | undefined;
7349
- kind: "none" | "daily" | "weekdays" | "weekly" | "interval" | "manual";
7823
+ kind: "none" | "daily" | "weekdays" | "weekly" | "custom_weekly" | "interval" | "manual";
7350
7824
  };
7351
7825
  timezone: string;
7352
7826
  nextRunAt: string | null;
@@ -7519,8 +7993,9 @@ export declare const createApiClient: (baseUrl: string) => {
7519
7993
  title: string;
7520
7994
  status: "completed" | "active" | "paused" | "deleted";
7521
7995
  recurrence: {
7996
+ weekdays?: readonly number[] | undefined;
7522
7997
  intervalMinutes?: number | undefined;
7523
- kind: "none" | "daily" | "weekdays" | "weekly" | "interval" | "manual";
7998
+ kind: "none" | "daily" | "weekdays" | "weekly" | "custom_weekly" | "interval" | "manual";
7524
7999
  };
7525
8000
  timezone: string;
7526
8001
  nextRunAt: string | null;
@@ -7590,6 +8065,9 @@ export declare const createApiClient: (baseUrl: string) => {
7590
8065
  kind: "weekdays";
7591
8066
  } | {
7592
8067
  kind: "weekly";
8068
+ } | {
8069
+ kind: "custom_weekly";
8070
+ weekdays: number[];
7593
8071
  } | {
7594
8072
  kind: "manual";
7595
8073
  } | {
@@ -7648,6 +8126,9 @@ export declare const createApiClient: (baseUrl: string) => {
7648
8126
  kind: "weekdays";
7649
8127
  } | {
7650
8128
  kind: "weekly";
8129
+ } | {
8130
+ kind: "custom_weekly";
8131
+ weekdays: number[];
7651
8132
  } | {
7652
8133
  kind: "manual";
7653
8134
  } | {
@@ -7706,6 +8187,9 @@ export declare const createApiClient: (baseUrl: string) => {
7706
8187
  kind: "weekdays";
7707
8188
  } | {
7708
8189
  kind: "weekly";
8190
+ } | {
8191
+ kind: "custom_weekly";
8192
+ weekdays: number[];
7709
8193
  } | {
7710
8194
  kind: "manual";
7711
8195
  } | {
@@ -7764,6 +8248,9 @@ export declare const createApiClient: (baseUrl: string) => {
7764
8248
  kind: "weekdays";
7765
8249
  } | {
7766
8250
  kind: "weekly";
8251
+ } | {
8252
+ kind: "custom_weekly";
8253
+ weekdays: number[];
7767
8254
  } | {
7768
8255
  kind: "manual";
7769
8256
  } | {
@@ -7822,6 +8309,9 @@ export declare const createApiClient: (baseUrl: string) => {
7822
8309
  kind: "weekdays";
7823
8310
  } | {
7824
8311
  kind: "weekly";
8312
+ } | {
8313
+ kind: "custom_weekly";
8314
+ weekdays: number[];
7825
8315
  } | {
7826
8316
  kind: "manual";
7827
8317
  } | {
@@ -7925,6 +8415,11 @@ export declare const createApiClient: (baseUrl: string) => {
7925
8415
  runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId | null;
7926
8416
  delivery: {
7927
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;
7928
8423
  sentAt: string | null;
7929
8424
  source: "schedule_email" | "send_email";
7930
8425
  status: import('../../../../apps/belong-cloud/src/features/task-schedules/run-delivery').RunDeliveryEmailStatus;
@@ -8397,6 +8892,9 @@ export declare const createApiClient: (baseUrl: string) => {
8397
8892
  kind: "weekdays";
8398
8893
  } | {
8399
8894
  kind: "weekly";
8895
+ } | {
8896
+ kind: "custom_weekly";
8897
+ weekdays: number[];
8400
8898
  } | {
8401
8899
  kind: "manual";
8402
8900
  } | {
@@ -8457,6 +8955,9 @@ export declare const createApiClient: (baseUrl: string) => {
8457
8955
  kind: "weekdays";
8458
8956
  } | {
8459
8957
  kind: "weekly";
8958
+ } | {
8959
+ kind: "custom_weekly";
8960
+ weekdays: number[];
8460
8961
  } | {
8461
8962
  kind: "manual";
8462
8963
  } | {
@@ -8477,7 +8978,8 @@ export declare const createApiClient: (baseUrl: string) => {
8477
8978
  scheduledFor: string;
8478
8979
  seriesStatus: "completed" | "active" | "paused" | "deleted";
8479
8980
  recurrence: {
8480
- kind: "none" | "daily" | "weekdays" | "weekly" | "interval" | "manual";
8981
+ weekdays?: readonly number[] | undefined;
8982
+ kind: "none" | "daily" | "weekdays" | "weekly" | "custom_weekly" | "interval" | "manual";
8481
8983
  };
8482
8984
  nextRunAt: string | null;
8483
8985
  title: string;
@@ -8522,6 +9024,9 @@ export declare const createApiClient: (baseUrl: string) => {
8522
9024
  kind: "weekdays";
8523
9025
  } | {
8524
9026
  kind: "weekly";
9027
+ } | {
9028
+ kind: "custom_weekly";
9029
+ weekdays: number[];
8525
9030
  } | {
8526
9031
  kind: "manual";
8527
9032
  } | {
@@ -8581,6 +9086,9 @@ export declare const createApiClient: (baseUrl: string) => {
8581
9086
  kind: "weekdays";
8582
9087
  } | {
8583
9088
  kind: "weekly";
9089
+ } | {
9090
+ kind: "custom_weekly";
9091
+ weekdays: number[];
8584
9092
  } | {
8585
9093
  kind: "manual";
8586
9094
  } | {
@@ -8624,8 +9132,9 @@ export declare const createApiClient: (baseUrl: string) => {
8624
9132
  title: string;
8625
9133
  status: "completed" | "active" | "paused" | "deleted";
8626
9134
  recurrence: {
9135
+ weekdays?: readonly number[] | undefined;
8627
9136
  intervalMinutes?: number | undefined;
8628
- kind: "none" | "daily" | "weekdays" | "weekly" | "interval" | "manual";
9137
+ kind: "none" | "daily" | "weekdays" | "weekly" | "custom_weekly" | "interval" | "manual";
8629
9138
  };
8630
9139
  timezone: string;
8631
9140
  nextRunAt: string | null;
@@ -8798,8 +9307,9 @@ export declare const createApiClient: (baseUrl: string) => {
8798
9307
  title: string;
8799
9308
  status: "completed" | "active" | "paused" | "deleted";
8800
9309
  recurrence: {
9310
+ weekdays?: readonly number[] | undefined;
8801
9311
  intervalMinutes?: number | undefined;
8802
- kind: "none" | "daily" | "weekdays" | "weekly" | "interval" | "manual";
9312
+ kind: "none" | "daily" | "weekdays" | "weekly" | "custom_weekly" | "interval" | "manual";
8803
9313
  };
8804
9314
  timezone: string;
8805
9315
  nextRunAt: string | null;
@@ -8869,6 +9379,9 @@ export declare const createApiClient: (baseUrl: string) => {
8869
9379
  kind: "weekdays";
8870
9380
  } | {
8871
9381
  kind: "weekly";
9382
+ } | {
9383
+ kind: "custom_weekly";
9384
+ weekdays: number[];
8872
9385
  } | {
8873
9386
  kind: "manual";
8874
9387
  } | {
@@ -8927,6 +9440,9 @@ export declare const createApiClient: (baseUrl: string) => {
8927
9440
  kind: "weekdays";
8928
9441
  } | {
8929
9442
  kind: "weekly";
9443
+ } | {
9444
+ kind: "custom_weekly";
9445
+ weekdays: number[];
8930
9446
  } | {
8931
9447
  kind: "manual";
8932
9448
  } | {
@@ -8985,6 +9501,9 @@ export declare const createApiClient: (baseUrl: string) => {
8985
9501
  kind: "weekdays";
8986
9502
  } | {
8987
9503
  kind: "weekly";
9504
+ } | {
9505
+ kind: "custom_weekly";
9506
+ weekdays: number[];
8988
9507
  } | {
8989
9508
  kind: "manual";
8990
9509
  } | {
@@ -9043,6 +9562,9 @@ export declare const createApiClient: (baseUrl: string) => {
9043
9562
  kind: "weekdays";
9044
9563
  } | {
9045
9564
  kind: "weekly";
9565
+ } | {
9566
+ kind: "custom_weekly";
9567
+ weekdays: number[];
9046
9568
  } | {
9047
9569
  kind: "manual";
9048
9570
  } | {
@@ -9101,6 +9623,9 @@ export declare const createApiClient: (baseUrl: string) => {
9101
9623
  kind: "weekdays";
9102
9624
  } | {
9103
9625
  kind: "weekly";
9626
+ } | {
9627
+ kind: "custom_weekly";
9628
+ weekdays: number[];
9104
9629
  } | {
9105
9630
  kind: "manual";
9106
9631
  } | {
@@ -9204,6 +9729,11 @@ export declare const createApiClient: (baseUrl: string) => {
9204
9729
  runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId | null;
9205
9730
  delivery: {
9206
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;
9207
9737
  sentAt: string | null;
9208
9738
  source: "schedule_email" | "send_email";
9209
9739
  status: import('../../../../apps/belong-cloud/src/features/task-schedules/run-delivery').RunDeliveryEmailStatus;
@@ -9684,8 +10214,9 @@ export declare const createApiClient: (baseUrl: string) => {
9684
10214
  timeExpression: string;
9685
10215
  timezone: string;
9686
10216
  recurrence: {
10217
+ weekdays?: readonly number[] | undefined;
9687
10218
  intervalMinutes?: number | undefined;
9688
- kind: string;
10219
+ kind: "none" | "daily" | "weekdays" | "weekly" | "custom_weekly" | "interval" | "manual";
9689
10220
  };
9690
10221
  anchorAt: string;
9691
10222
  templateName: string | null;
@@ -9776,8 +10307,9 @@ export declare const createApiClient: (baseUrl: string) => {
9776
10307
  timeExpression: string;
9777
10308
  timezone: string;
9778
10309
  recurrence: {
10310
+ weekdays?: readonly number[] | undefined;
9779
10311
  intervalMinutes?: number | undefined;
9780
- kind: string;
10312
+ kind: "none" | "daily" | "weekdays" | "weekly" | "custom_weekly" | "interval" | "manual";
9781
10313
  };
9782
10314
  anchorAt: string;
9783
10315
  templateName: string | null;
@@ -9813,6 +10345,9 @@ export declare const createApiClient: (baseUrl: string) => {
9813
10345
  kind: "weekdays";
9814
10346
  } | {
9815
10347
  kind: "weekly";
10348
+ } | {
10349
+ kind: "custom_weekly";
10350
+ weekdays: number[];
9816
10351
  } | {
9817
10352
  kind: "manual";
9818
10353
  } | {
@@ -9860,6 +10395,9 @@ export declare const createApiClient: (baseUrl: string) => {
9860
10395
  kind: "weekdays";
9861
10396
  } | {
9862
10397
  kind: "weekly";
10398
+ } | {
10399
+ kind: "custom_weekly";
10400
+ weekdays: number[];
9863
10401
  } | {
9864
10402
  kind: "manual";
9865
10403
  } | {
@@ -9906,6 +10444,9 @@ export declare const createApiClient: (baseUrl: string) => {
9906
10444
  kind: "weekdays";
9907
10445
  } | {
9908
10446
  kind: "weekly";
10447
+ } | {
10448
+ kind: "custom_weekly";
10449
+ weekdays: number[];
9909
10450
  } | {
9910
10451
  kind: "manual";
9911
10452
  } | {
@@ -13260,47 +13801,227 @@ export declare const createApiClient: (baseUrl: string) => {
13260
13801
  };
13261
13802
  } & {
13262
13803
  v1: {
13263
- "skill-library": import('hono/client').ClientRequest<string, "/v1/skill-library", {
13804
+ vault: import('hono/client').ClientRequest<string, "/v1/vault", {
13264
13805
  $get: {
13265
- input: {
13266
- query: {
13267
- workspaceExternalId?: string | string[];
13806
+ input: {};
13807
+ output: {
13808
+ error: {
13809
+ type: string;
13268
13810
  };
13269
13811
  };
13812
+ outputFormat: "json";
13813
+ status: 403;
13814
+ } | {
13815
+ input: {};
13270
13816
  output: {
13271
- skills: {
13272
- userSkillId: import('../../../../apps/belong-cloud/src/platform/ids').UserSkillId;
13817
+ readonly enabled: boolean;
13818
+ readonly secrets: readonly {
13273
13819
  name: string;
13274
- description: string;
13275
- enabled: boolean;
13276
- revision: number;
13277
- hasScripts: boolean;
13278
- filesCount: number;
13279
- archiveSizeBytes: number;
13820
+ kind: "api_key" | "pem";
13821
+ reference: string;
13822
+ createdAt: string;
13280
13823
  updatedAt: string;
13281
13824
  }[];
13282
13825
  };
13283
13826
  outputFormat: "json";
13284
- 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;
13285
13837
  };
13286
- }>;
13287
- };
13288
- } & {
13289
- v1: {
13290
- "skill-library": {
13291
- import: import('hono/client').ClientRequest<string, "/v1/skill-library/import", {
13292
- $post: {
13293
- input: {};
13294
- output: {
13295
- readonly error: {
13296
- readonly type: "missing_scope";
13297
- readonly requiredScope: "session:write";
13298
- };
13838
+ $post: {
13839
+ input: {};
13840
+ output: {
13841
+ error: {
13842
+ type: string;
13299
13843
  };
13300
- outputFormat: "json";
13301
- status: 403;
13302
- } | {
13303
- input: {};
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
+ };
14009
+ } & {
14010
+ v1: {
14011
+ "skill-library": {
14012
+ import: import('hono/client').ClientRequest<string, "/v1/skill-library/import", {
14013
+ $post: {
14014
+ input: {};
14015
+ output: {
14016
+ readonly error: {
14017
+ readonly type: "missing_scope";
14018
+ readonly requiredScope: "session:write";
14019
+ };
14020
+ };
14021
+ outputFormat: "json";
14022
+ status: 403;
14023
+ } | {
14024
+ input: {};
13304
14025
  output: {
13305
14026
  readonly error: {
13306
14027
  readonly type: "invalid_workspace_external_id";
@@ -14623,8 +15344,8 @@ export declare const createApiClient: (baseUrl: string) => {
14623
15344
  }[];
14624
15345
  actions: {
14625
15346
  id: string;
14626
- kind: "authorization" | "disconnect";
14627
- label: "reconnect" | "connect" | "disconnect" | "grant_admin_consent";
15347
+ kind: "disconnect" | "authorization";
15348
+ label: "connect" | "disconnect" | "reconnect" | "grant_admin_consent";
14628
15349
  tone: "primary" | "destructive" | "secondary";
14629
15350
  requiresConfirmation: boolean;
14630
15351
  }[];
@@ -14887,6 +15608,7 @@ export declare const createApiClient: (baseUrl: string) => {
14887
15608
  readonly hasPublishToken: boolean;
14888
15609
  readonly hasResendApiKey: boolean;
14889
15610
  readonly hasRestToolSecret: boolean;
15611
+ readonly hasResendWebhookSecret: boolean;
14890
15612
  };
14891
15613
  readonly minted: {
14892
15614
  readonly hs256Secret?: string | undefined;
@@ -14973,6 +15695,7 @@ export declare const createApiClient: (baseUrl: string) => {
14973
15695
  readonly hasPublishToken: boolean;
14974
15696
  readonly hasResendApiKey: boolean;
14975
15697
  readonly hasRestToolSecret: boolean;
15698
+ readonly hasResendWebhookSecret: boolean;
14976
15699
  };
14977
15700
  };
14978
15701
  outputFormat: "json";
@@ -15068,6 +15791,7 @@ export declare const createApiClient: (baseUrl: string) => {
15068
15791
  readonly hasPublishToken: boolean;
15069
15792
  readonly hasResendApiKey: boolean;
15070
15793
  readonly hasRestToolSecret: boolean;
15794
+ readonly hasResendWebhookSecret: boolean;
15071
15795
  };
15072
15796
  };
15073
15797
  outputFormat: "json";
@@ -15551,7 +16275,7 @@ export declare const createApiClient: (baseUrl: string) => {
15551
16275
  input: {};
15552
16276
  output: {
15553
16277
  error: {
15554
- type: string;
16278
+ type: "invalid_query" | "unknown_dimension" | "invalid_window";
15555
16279
  };
15556
16280
  };
15557
16281
  outputFormat: "json";
@@ -15567,6 +16291,8 @@ export declare const createApiClient: (baseUrl: string) => {
15567
16291
  readonly tasks: number;
15568
16292
  readonly judgedTasks: number;
15569
16293
  readonly votedTasks: number;
16294
+ readonly sessions: number;
16295
+ readonly judgedSessions: number;
15570
16296
  };
15571
16297
  readonly groups: readonly {
15572
16298
  readonly group: string;
@@ -15574,6 +16300,8 @@ export declare const createApiClient: (baseUrl: string) => {
15574
16300
  readonly tasks: number;
15575
16301
  readonly judgedTasks: number;
15576
16302
  readonly votedTasks: number;
16303
+ readonly sessions: number;
16304
+ readonly judgedSessions: number;
15577
16305
  readonly metrics: {
15578
16306
  readonly failed: {
15579
16307
  readonly n: number;
@@ -15599,6 +16327,12 @@ export declare const createApiClient: (baseUrl: string) => {
15599
16327
  readonly low: number | null;
15600
16328
  readonly high: number | null;
15601
16329
  };
16330
+ readonly goalAchieved: {
16331
+ readonly n: number;
16332
+ readonly mean: number | null;
16333
+ readonly low: number | null;
16334
+ readonly high: number | null;
16335
+ };
15602
16336
  readonly dissatisfied: {
15603
16337
  readonly n: number;
15604
16338
  readonly mean: number | null;
@@ -15611,6 +16345,24 @@ export declare const createApiClient: (baseUrl: string) => {
15611
16345
  readonly low: number | null;
15612
16346
  readonly high: number | null;
15613
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
+ };
15614
16366
  };
15615
16367
  readonly versusControl?: {
15616
16368
  readonly failed: {
@@ -15641,6 +16393,13 @@ export declare const createApiClient: (baseUrl: string) => {
15641
16393
  readonly p: number | null;
15642
16394
  readonly df: number | null;
15643
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
+ };
15644
16403
  readonly dissatisfied: {
15645
16404
  readonly diff: number | null;
15646
16405
  readonly low: number | null;
@@ -15655,6 +16414,27 @@ export declare const createApiClient: (baseUrl: string) => {
15655
16414
  readonly p: number | null;
15656
16415
  readonly df: number | null;
15657
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
+ };
15658
16438
  } | undefined;
15659
16439
  readonly worstTraces: readonly {
15660
16440
  readonly taskId: string;
@@ -15682,4 +16462,260 @@ export declare const createApiClient: (baseUrl: string) => {
15682
16462
  };
15683
16463
  };
15684
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
+ };
15685
16721
  };