@belonguniverseai/react-sdk 0.6.28 → 0.6.29

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 (101) hide show
  1. package/README.md +14 -4
  2. package/dist/api/artifact-actions.d.ts +0 -1
  3. package/dist/api/auth-errors.d.ts +21 -0
  4. package/dist/api/client.d.ts +800 -64
  5. package/dist/api/goals.d.ts +19 -2
  6. package/dist/api/task-schedule-sharing.d.ts +18 -3
  7. package/dist/api/task-schedules.d.ts +74 -10
  8. package/dist/app/VoiceOverlay.d.ts +4 -3
  9. package/dist/app/dock-story-data.d.ts +15 -0
  10. package/dist/browser/control-channel.d.ts +9 -0
  11. package/dist/browser/dom-bridge.d.ts +2 -0
  12. package/dist/component/BelongWidget.d.ts +13 -3
  13. package/dist/component/{abnfDiagram-N423BO3Z-BGC_KU0K.js → abnfDiagram-N423BO3Z-BvL7baZ-.js} +4 -4
  14. package/dist/component/{arc-BpIEtZvJ.js → arc-DVUroP2Z.js} +2 -2
  15. package/dist/component/{architectureDiagram-T3A2C74G-DYlEVfnh.js → architectureDiagram-T3A2C74G-CYt93mxs.js} +3 -3
  16. package/dist/component/{blockDiagram-VBNYF7ZC-BWDnhAW1.js → blockDiagram-VBNYF7ZC-yST7U8Pb.js} +4 -4
  17. package/dist/component/{c4Diagram-5PPSVZJV-VKL0Shn2.js → c4Diagram-5PPSVZJV-BHz6Efx3.js} +3 -3
  18. package/dist/component/{channel-gGd0pNDR.js → channel-CKTqNdN4.js} +2 -2
  19. package/dist/component/{chunk-2GRJ4B5K-CEt4y1jX.js → chunk-2GRJ4B5K-Bw2zHHAm.js} +2 -2
  20. package/dist/component/{chunk-2Q5K7J3B-Dj2wrNzr.js → chunk-2Q5K7J3B-DpBuF73m.js} +2 -2
  21. package/dist/component/{chunk-5RXB4S5H-oJQEn1bH.js → chunk-5RXB4S5H-dxBtwi1p.js} +5 -5
  22. package/dist/component/{chunk-5VM5RSS4-DddP8MPP.js → chunk-5VM5RSS4-BOTqM1Rc.js} +2 -2
  23. package/dist/component/{chunk-6Q2QTUOP-CppUJwrF.js → chunk-6Q2QTUOP-DjMXJhRD.js} +2 -2
  24. package/dist/component/{chunk-GF5L2VYU--hyUlO9v.js → chunk-GF5L2VYU-CGpnSfXM.js} +6 -6
  25. package/dist/component/{chunk-JWPE2WC7-CN0Ieqel.js → chunk-JWPE2WC7-L5aYKPho.js} +2 -2
  26. package/dist/component/{chunk-KBJHAD2P-BWhCQoHz.js → chunk-KBJHAD2P-DH2RFBaF.js} +2 -2
  27. package/dist/component/{chunk-RYQCIY6F-BgNewpQe.js → chunk-RYQCIY6F-QPgRO0s7.js} +2 -2
  28. package/dist/component/{chunk-XXDRQBXY-mNH171OF.js → chunk-XXDRQBXY-C1ezaFpA.js} +2 -2
  29. package/dist/component/{classDiagram-JCYQIIEL-UjZbWotD.js → classDiagram-JCYQIIEL-Dx7Qx836.js} +3 -3
  30. package/dist/component/{classDiagram-v2-OCEON4UE-UjZbWotD.js → classDiagram-v2-OCEON4UE-Dx7Qx836.js} +3 -3
  31. package/dist/component/{cose-bilkent-JH36ORCC-lsVWGlMj.js → cose-bilkent-JH36ORCC-Bem1eaLJ.js} +2 -2
  32. package/dist/component/{cynefinDiagram-MW4NZA55-B5Ss0zoy.js → cynefinDiagram-MW4NZA55-DF15EWOu.js} +3 -3
  33. package/dist/component/{dagre-VZM6K2ZE-DisWRVfU.js → dagre-VZM6K2ZE-BVzwev7l.js} +3 -3
  34. package/dist/component/{diagram-7IWD3JNH-B2QrdsOh.js → diagram-7IWD3JNH-DzQhKX_v.js} +4 -4
  35. package/dist/component/{diagram-B4RE2ZJO-Bs8l4THz.js → diagram-B4RE2ZJO-DnHINfhE.js} +3 -3
  36. package/dist/component/{diagram-LBJQPF4R-JTadtYMW.js → diagram-LBJQPF4R-CPqE_GwY.js} +3 -3
  37. package/dist/component/{diagram-Q27KOJAE-BQC33flc.js → diagram-Q27KOJAE-BjpvfqhL.js} +4 -4
  38. package/dist/component/{diagram-UB23O5K3-ujC22dQx.js → diagram-UB23O5K3-BcYqFjqI.js} +3 -3
  39. package/dist/component/{ebnfDiagram-BXEA7PRR-0WnF2wzt.js → ebnfDiagram-BXEA7PRR-DoqGcWGx.js} +4 -4
  40. package/dist/component/{erDiagram-JOGREHBK-CqgMsd5R.js → erDiagram-JOGREHBK-DGrj5tIK.js} +5 -5
  41. package/dist/component/{flowDiagram-UKHOOZJN-BOM0P8Mk.js → flowDiagram-UKHOOZJN-B8OuOrVY.js} +7 -7
  42. package/dist/component/{ganttDiagram-PKOTCBZU-WeRFC1th.js → ganttDiagram-PKOTCBZU-BaxSqTVY.js} +3 -3
  43. package/dist/component/{gitGraphDiagram-DS77QQ5N-CS8L-BA8.js → gitGraphDiagram-DS77QQ5N-W1Sqa3Hc.js} +4 -4
  44. package/dist/component/{highlighted-body-OFNGDK62-CGejnMyq.js → highlighted-body-OFNGDK62-Cf1UqcGe.js} +2 -2
  45. package/dist/component/index.d.ts +1 -0
  46. package/dist/component/index.js +2 -2
  47. package/dist/component/{infoDiagram-6WML65LV-CQQhytkd.js → infoDiagram-6WML65LV-BS0JlYPr.js} +2 -2
  48. package/dist/component/{ishikawaDiagram-WSZJBQD7-CjDo3-zt.js → ishikawaDiagram-WSZJBQD7-Df_NzOQV.js} +2 -2
  49. package/dist/component/{journeyDiagram-NVQOT4AX-BCCoblta.js → journeyDiagram-NVQOT4AX-JWKvZ6rc.js} +5 -5
  50. package/dist/component/{kanban-definition-27J2QSJJ-DgTIrgvB.js → kanban-definition-27J2QSJJ-DMvICKAB.js} +3 -3
  51. package/dist/component/{linear-BOaza_dp.js → linear-D02U2fTS.js} +2 -2
  52. package/dist/component/{mermaid-GHXKKRXX-BAq5-Vj8.js → mermaid-GHXKKRXX-B7CJJdoE.js} +37650 -36676
  53. package/dist/component/{mindmap-definition-FAOFIHXS-D1oolR3A.js → mindmap-definition-FAOFIHXS-AzTh8oju.js} +4 -4
  54. package/dist/component/{pegDiagram-VL7TDLO6-C9UxqvBP.js → pegDiagram-VL7TDLO6-DSCzZs_w.js} +4 -4
  55. package/dist/component/{pieDiagram-7S7Q4E2Y-I5IXzOZM.js → pieDiagram-7S7Q4E2Y-CEByr6BB.js} +4 -4
  56. package/dist/component/{quadrantDiagram-CIZ2JOQS-DPDFBhEd.js → quadrantDiagram-CIZ2JOQS-BrWOf-GT.js} +3 -3
  57. package/dist/component/{railroadDiagram-AXF67PYL-DIAkhVTf.js → railroadDiagram-AXF67PYL-DRtsV2gM.js} +4 -4
  58. package/dist/component/{requirementDiagram-LRYGKXZP-DBEmV-Qy.js → requirementDiagram-LRYGKXZP-_WwAo7AE.js} +4 -4
  59. package/dist/component/{sankeyDiagram-W5VNT64P-BEeDyDj7.js → sankeyDiagram-W5VNT64P-DBxP3yyK.js} +2 -2
  60. package/dist/component/{sequenceDiagram-SI44F4Z6-WYcXWUHF.js → sequenceDiagram-SI44F4Z6-B3SNXrpC.js} +4 -4
  61. package/dist/component/{sizeCapture-X5ZJPWSS-BqDBRpiS.js → sizeCapture-X5ZJPWSS-D5G8pyPC.js} +2 -2
  62. package/dist/component/{stateDiagram-OKZ733FA-CfYfR0OH.js → stateDiagram-OKZ733FA-C4UZwsoc.js} +3 -3
  63. package/dist/component/{stateDiagram-v2-UEYNNEHI-BSa2VwcQ.js → stateDiagram-v2-UEYNNEHI-DIYB5q15.js} +3 -3
  64. package/dist/component/{swimlanes-SLNWSIFB-C-7mrC4X.js → swimlanes-SLNWSIFB-Cc9yJXTh.js} +4 -4
  65. package/dist/component/{swimlanesDiagram-ULZ7WXOC-DXcMd7U4.js → swimlanesDiagram-ULZ7WXOC-DsGPiJ-s.js} +3 -3
  66. package/dist/component/{timeline-definition-Z64GVDOM-Dp65E80E.js → timeline-definition-Z64GVDOM-Dr4-iAeD.js} +3 -3
  67. package/dist/component/{vennDiagram-T6HMQDX7-CRpZ12TH.js → vennDiagram-T6HMQDX7-ZiaZ9jYw.js} +2 -2
  68. package/dist/component/{wardleyDiagram-T6FBY63Y-BupsM8K3.js → wardleyDiagram-T6FBY63Y-KdF37MT-.js} +3 -3
  69. package/dist/component/{xychartDiagram-ELKLHX3M-CUnr8Qbu.js → xychartDiagram-ELKLHX3M-NH_bOKPL.js} +3 -3
  70. package/dist/components/embed/ComposerContext.d.ts +11 -7
  71. package/dist/components/embed/EmbedComposer.d.ts +3 -1
  72. package/dist/components/embed/GoalRefusalCard.d.ts +5 -1
  73. package/dist/components/scheduled/ConfirmRunPausedScheduleDialog.d.ts +18 -0
  74. package/dist/components/scheduled/EmailCopiesFields.d.ts +19 -0
  75. package/dist/components/scheduled/ScheduledDetailSurface.d.ts +2 -1
  76. package/dist/components/scheduled/use-run-now-with-confirmation.d.ts +17 -0
  77. package/dist/embed/artifact-action-bridge.d.ts +11 -3
  78. package/dist/embed/artifact-remint-budget.d.ts +5 -0
  79. package/dist/embed/copy.d.ts +13 -18
  80. package/dist/embed/goal-edit-command.d.ts +6 -5
  81. package/dist/embed/plan-decision-text.d.ts +1 -0
  82. package/dist/embed/voice-config.d.ts +22 -31
  83. package/dist/embed/voice-prefs.d.ts +18 -34
  84. package/dist/i18n/messages/en.d.ts +28 -2
  85. package/dist/i18n/messages/surfaces/feedback.d.ts +12 -0
  86. package/dist/i18n/messages/surfaces/plan.d.ts +4 -0
  87. package/dist/i18n/messages/surfaces/scheduled.d.ts +53 -1
  88. package/dist/i18n/messages/surfaces/usage.d.ts +1 -1
  89. package/dist/lib/tab-control-store.d.ts +14 -0
  90. package/dist/lib/tab-leadership.d.ts +9 -24
  91. package/dist/lib/use-tab-leadership.d.ts +5 -7
  92. package/dist/routes/chat/history-merge.d.ts +53 -0
  93. package/dist/routes/chat/history-paging.d.ts +25 -6
  94. package/dist/routes/chat/use-catch-up-on-return.d.ts +70 -0
  95. package/dist/routes/chat/use-return-to-page.d.ts +7 -0
  96. package/dist/stream/belong-chat-transport.d.ts +8 -6
  97. package/dist/stream/dispatch-once.d.ts +1 -1
  98. package/dist/stream/queued-message-outbox.d.ts +1 -0
  99. package/dist/stream/session-control-context.d.ts +7 -0
  100. package/dist/types/public.d.ts +12 -5
  101. package/package.json +1 -1
@@ -1,14 +1,22 @@
1
+ import { z } from 'zod';
1
2
  /**
2
- * Hono RPC client typed against the belong-cloud `AppType`. The whole
3
- * point of this file: every method call below is end-to-end type-checked
4
- * — request body, params, query, response shape, status code.
5
- *
6
- * The host calls `setBelongToken` after `init` (or via
7
- * `window.belong.setToken`); each request reads the current value and
8
- * attaches `Authorization: Bearer <jwt>`.
3
+ * What the dock asks of the host's async token getter. `forceRefresh` is set
4
+ * only after belong-cloud rejected the current token (or none could be read):
5
+ * an Auth0 host should then skip its cache (`getAccessTokenSilently({
6
+ * cacheMode: "off" })`). A getter that ignores it keeps working — it is just
7
+ * asked again.
9
8
  */
9
+ export type BelongTokenRequest = {
10
+ readonly forceRefresh?: boolean;
11
+ };
12
+ export type BelongTokenGetter = (request?: BelongTokenRequest) => Promise<string>;
10
13
  type ResolvedGetterTokenObserver = (token: string | null) => void;
11
14
  export declare const observeEffectiveToken: (observer: ResolvedGetterTokenObserver) => (() => void);
15
+ type BelongAuthAvailability = "unknown" | "available" | "unavailable";
16
+ type AuthAvailabilityObserver = (next: BelongAuthAvailability, previous: BelongAuthAvailability) => void;
17
+ export declare const observeBelongAuthAvailability: (observer: AuthAvailabilityObserver) => (() => void);
18
+ /** belong-cloud answered an authenticated request with something other than 401. */
19
+ export declare const noteBelongAuthAccepted: () => void;
12
20
  export declare const setBelongToken: (token: string) => void;
13
21
  /** Register a fresh-per-request token source (takes precedence over setToken). */
14
22
  export declare const setBelongTokenProvider: (provider: () => string | null) => void;
@@ -18,7 +26,7 @@ export declare const setBelongTokenProvider: (provider: () => string | null) =>
18
26
  * token. Pass null to clear. Awaited on every request; its result is never
19
27
  * cached (see `resolveBelongToken`).
20
28
  */
21
- export declare const setBelongTokenGetter: (getter: (() => Promise<string>) | null) => void;
29
+ export declare const setBelongTokenGetter: (getter: BelongTokenGetter | null) => void;
22
30
  /** Observe the async getter's freshly resolved tokens without storing them. */
23
31
  export declare const observeResolvedGetterToken: (observer: ResolvedGetterTokenObserver) => (() => void);
24
32
  /** Register the host agent id sent as `X-Belong-Agent-Id` on every request. */
@@ -88,14 +96,55 @@ export declare const resolveBelongToken: () => Promise<string | null>;
88
96
  export declare const belongTelemetryHeaders: (sessionId?: string | null) => Record<string, string>;
89
97
  /**
90
98
  * The full header set for an authed Belong backend request: the telemetry
91
- * headers above plus `Authorization: Bearer <token>` when one resolves. Async
92
- * because the component DI getter is awaited per request (BEL-111). EVERY raw
93
- * `fetch` to the backend should use this; the typed `hc` client uses it via its
94
- * `headers` callback. An empty / whitespace token is treated as absent so the
95
- * request stays cleanly unauthenticated rather than sending a malformed bare
96
- * `Authorization: Bearer `.
99
+ * headers above plus `Authorization: Bearer <token>`. Async because the
100
+ * component DI getter is awaited per request (BEL-111). EVERY raw `fetch` to
101
+ * the backend should use this; the typed `hc` client uses it via its `headers`
102
+ * callback.
103
+ *
104
+ * With an auth source registered, a request NEVER leaves without a usable
105
+ * token: when the source yields nothing (the host's Auth0 getter threw
106
+ * `login_required`, an empty string, or only the token belong-cloud already
107
+ * rejected as expired), this forces one fresh mint and waits briefly
108
+ * (`recoverBelongToken`), then throws `BelongAuthUnavailableError` rather than
109
+ * sending a request that can only 401. With NO source at all (the host has not
110
+ * signed anyone in yet — the dock shows its login gate) the request stays
111
+ * cleanly unauthenticated, as public routes such as `/api/health` expect.
97
112
  */
98
113
  export declare const authHeaders: (sessionId?: string | null) => Promise<Record<string, string>>;
114
+ /** The 401 reasons belong-cloud's SDK-auth middleware answers with. */
115
+ declare const sdkAuthRejectionSchema: z.ZodObject<{
116
+ error: z.ZodObject<{
117
+ type: z.ZodEnum<{
118
+ missing_authorization_header: "missing_authorization_header";
119
+ malformed_authorization_header: "malformed_authorization_header";
120
+ jwt_expired: "jwt_expired";
121
+ jwt_invalid_signature: "jwt_invalid_signature";
122
+ jwt_invalid_claims: "jwt_invalid_claims";
123
+ jwt_invalid_audience: "jwt_invalid_audience";
124
+ jwt_invalid_issuer: "jwt_invalid_issuer";
125
+ jwt_unknown_error: "jwt_unknown_error";
126
+ }>;
127
+ }, z.core.$strip>;
128
+ }, z.core.$strip>;
129
+ type SdkAuthRejection = z.infer<typeof sdkAuthRejectionSchema>["error"]["type"];
130
+ /**
131
+ * Read a 401 from belong-cloud. Returns the SDK-auth rejection reason, or null
132
+ * for a 401 the auth middleware did not produce (a route-level refusal, which
133
+ * a fresh token cannot fix). A `jwt_expired` token is remembered so no path —
134
+ * this request's retry, a reconnect loop, a sibling query — sends it again.
135
+ * The caller owns the retry: one `forceRotateBelongToken()` + one resend.
136
+ * The response body is read from a clone, so the caller can still consume it.
137
+ */
138
+ export declare const noteBelongAuthRejection: (response: Response, sentAuthorization: string | null) => Promise<SdkAuthRejection | null>;
139
+ /**
140
+ * For typed-client calls that deliberately opt out of the transient-retry
141
+ * ladder (boot probes, non-replayable POSTs): ONE network attempt, but the
142
+ * same auth discipline — never header-less, one forced re-mint on a 401. A
143
+ * bare `globalThis.fetch` override would bypass both, which is how the
144
+ * connectors / skill-library / live-artifacts probes kept 401-ing.
145
+ * Resolves `globalThis.fetch` per call so test stubs apply.
146
+ */
147
+ export declare const singleAttemptBelongFetch: typeof fetch;
99
148
  /**
100
149
  * Best-effort: rotate the host token if it's near/expired, so the NEXT
101
150
  * `peekBelongToken` returns a fresh value. Safe to call before any authed
@@ -109,7 +158,12 @@ export declare const ensureFreshBelongToken: () => Promise<void>;
109
158
  * carries a web JWT the provider has never seen. Use before the agent-grant
110
159
  * exchange, whose anti-replay 409s a token that already minted a grant — a
111
160
  * plain `ensureFreshBelongToken` would hand back that same spent-but-valid
112
- * token. No-op / best-effort like `ensureFreshBelongToken`.
161
+ * token — and before retrying a 401. No-op / best-effort like
162
+ * `ensureFreshBelongToken`.
163
+ *
164
+ * Two mechanisms, for the two embed paths: the script embed's Auth0 refresher
165
+ * mints into the shared cache now; the component embed's async getter is asked
166
+ * with `{ forceRefresh: true }` on its next read.
113
167
  */
114
168
  export declare const forceRotateBelongToken: () => Promise<void>;
115
169
  export type ApiClient = ReturnType<typeof createApiClient>;
@@ -995,13 +1049,16 @@ export declare const createApiClient: (baseUrl: string) => {
995
1049
  text: string;
996
1050
  timezone?: string | undefined;
997
1051
  locale?: "en" | "es" | "pt" | "it" | undefined;
1052
+ pageContext?: {
1053
+ label: string;
1054
+ } | undefined;
998
1055
  workspaceScope?: "open" | "strict" | undefined;
999
1056
  questionPresentation?: "text" | "card" | undefined;
1000
1057
  workspaceExternalId?: string | undefined;
1001
1058
  goal?: {
1002
1059
  objective: string;
1003
1060
  criteria?: string[] | undefined;
1004
- runway?: "quick" | "normal" | "long" | undefined;
1061
+ runway?: "long" | "quick" | "normal" | undefined;
1005
1062
  } | undefined;
1006
1063
  runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
1007
1064
  llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
@@ -1010,7 +1067,7 @@ export declare const createApiClient: (baseUrl: string) => {
1010
1067
  fileIds?: string[] | undefined;
1011
1068
  clientMessageId?: string | undefined;
1012
1069
  skill?: string | undefined;
1013
- mode?: "plan" | "execute" | "approve" | "balanced" | "bypass" | undefined;
1070
+ mode?: "plan" | "approve" | "balanced" | "bypass" | "execute" | undefined;
1014
1071
  };
1015
1072
  } & {
1016
1073
  param: {
@@ -1031,13 +1088,16 @@ export declare const createApiClient: (baseUrl: string) => {
1031
1088
  text: string;
1032
1089
  timezone?: string | undefined;
1033
1090
  locale?: "en" | "es" | "pt" | "it" | undefined;
1091
+ pageContext?: {
1092
+ label: string;
1093
+ } | undefined;
1034
1094
  workspaceScope?: "open" | "strict" | undefined;
1035
1095
  questionPresentation?: "text" | "card" | undefined;
1036
1096
  workspaceExternalId?: string | undefined;
1037
1097
  goal?: {
1038
1098
  objective: string;
1039
1099
  criteria?: string[] | undefined;
1040
- runway?: "quick" | "normal" | "long" | undefined;
1100
+ runway?: "long" | "quick" | "normal" | undefined;
1041
1101
  } | undefined;
1042
1102
  runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
1043
1103
  llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
@@ -1046,7 +1106,7 @@ export declare const createApiClient: (baseUrl: string) => {
1046
1106
  fileIds?: string[] | undefined;
1047
1107
  clientMessageId?: string | undefined;
1048
1108
  skill?: string | undefined;
1049
- mode?: "plan" | "execute" | "approve" | "balanced" | "bypass" | undefined;
1109
+ mode?: "plan" | "approve" | "balanced" | "bypass" | "execute" | undefined;
1050
1110
  };
1051
1111
  } & {
1052
1112
  param: {
@@ -1066,13 +1126,16 @@ export declare const createApiClient: (baseUrl: string) => {
1066
1126
  text: string;
1067
1127
  timezone?: string | undefined;
1068
1128
  locale?: "en" | "es" | "pt" | "it" | undefined;
1129
+ pageContext?: {
1130
+ label: string;
1131
+ } | undefined;
1069
1132
  workspaceScope?: "open" | "strict" | undefined;
1070
1133
  questionPresentation?: "text" | "card" | undefined;
1071
1134
  workspaceExternalId?: string | undefined;
1072
1135
  goal?: {
1073
1136
  objective: string;
1074
1137
  criteria?: string[] | undefined;
1075
- runway?: "quick" | "normal" | "long" | undefined;
1138
+ runway?: "long" | "quick" | "normal" | undefined;
1076
1139
  } | undefined;
1077
1140
  runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
1078
1141
  llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
@@ -1081,7 +1144,7 @@ export declare const createApiClient: (baseUrl: string) => {
1081
1144
  fileIds?: string[] | undefined;
1082
1145
  clientMessageId?: string | undefined;
1083
1146
  skill?: string | undefined;
1084
- mode?: "plan" | "execute" | "approve" | "balanced" | "bypass" | undefined;
1147
+ mode?: "plan" | "approve" | "balanced" | "bypass" | "execute" | undefined;
1085
1148
  };
1086
1149
  } & {
1087
1150
  param: {
@@ -1101,13 +1164,16 @@ export declare const createApiClient: (baseUrl: string) => {
1101
1164
  text: string;
1102
1165
  timezone?: string | undefined;
1103
1166
  locale?: "en" | "es" | "pt" | "it" | undefined;
1167
+ pageContext?: {
1168
+ label: string;
1169
+ } | undefined;
1104
1170
  workspaceScope?: "open" | "strict" | undefined;
1105
1171
  questionPresentation?: "text" | "card" | undefined;
1106
1172
  workspaceExternalId?: string | undefined;
1107
1173
  goal?: {
1108
1174
  objective: string;
1109
1175
  criteria?: string[] | undefined;
1110
- runway?: "quick" | "normal" | "long" | undefined;
1176
+ runway?: "long" | "quick" | "normal" | undefined;
1111
1177
  } | undefined;
1112
1178
  runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
1113
1179
  llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
@@ -1116,7 +1182,7 @@ export declare const createApiClient: (baseUrl: string) => {
1116
1182
  fileIds?: string[] | undefined;
1117
1183
  clientMessageId?: string | undefined;
1118
1184
  skill?: string | undefined;
1119
- mode?: "plan" | "execute" | "approve" | "balanced" | "bypass" | undefined;
1185
+ mode?: "plan" | "approve" | "balanced" | "bypass" | "execute" | undefined;
1120
1186
  };
1121
1187
  } & {
1122
1188
  param: {
@@ -1136,13 +1202,16 @@ export declare const createApiClient: (baseUrl: string) => {
1136
1202
  text: string;
1137
1203
  timezone?: string | undefined;
1138
1204
  locale?: "en" | "es" | "pt" | "it" | undefined;
1205
+ pageContext?: {
1206
+ label: string;
1207
+ } | undefined;
1139
1208
  workspaceScope?: "open" | "strict" | undefined;
1140
1209
  questionPresentation?: "text" | "card" | undefined;
1141
1210
  workspaceExternalId?: string | undefined;
1142
1211
  goal?: {
1143
1212
  objective: string;
1144
1213
  criteria?: string[] | undefined;
1145
- runway?: "quick" | "normal" | "long" | undefined;
1214
+ runway?: "long" | "quick" | "normal" | undefined;
1146
1215
  } | undefined;
1147
1216
  runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
1148
1217
  llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
@@ -1151,7 +1220,7 @@ export declare const createApiClient: (baseUrl: string) => {
1151
1220
  fileIds?: string[] | undefined;
1152
1221
  clientMessageId?: string | undefined;
1153
1222
  skill?: string | undefined;
1154
- mode?: "plan" | "execute" | "approve" | "balanced" | "bypass" | undefined;
1223
+ mode?: "plan" | "approve" | "balanced" | "bypass" | "execute" | undefined;
1155
1224
  };
1156
1225
  } & {
1157
1226
  param: {
@@ -1171,13 +1240,16 @@ export declare const createApiClient: (baseUrl: string) => {
1171
1240
  text: string;
1172
1241
  timezone?: string | undefined;
1173
1242
  locale?: "en" | "es" | "pt" | "it" | undefined;
1243
+ pageContext?: {
1244
+ label: string;
1245
+ } | undefined;
1174
1246
  workspaceScope?: "open" | "strict" | undefined;
1175
1247
  questionPresentation?: "text" | "card" | undefined;
1176
1248
  workspaceExternalId?: string | undefined;
1177
1249
  goal?: {
1178
1250
  objective: string;
1179
1251
  criteria?: string[] | undefined;
1180
- runway?: "quick" | "normal" | "long" | undefined;
1252
+ runway?: "long" | "quick" | "normal" | undefined;
1181
1253
  } | undefined;
1182
1254
  runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
1183
1255
  llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
@@ -1186,7 +1258,7 @@ export declare const createApiClient: (baseUrl: string) => {
1186
1258
  fileIds?: string[] | undefined;
1187
1259
  clientMessageId?: string | undefined;
1188
1260
  skill?: string | undefined;
1189
- mode?: "plan" | "execute" | "approve" | "balanced" | "bypass" | undefined;
1261
+ mode?: "plan" | "approve" | "balanced" | "bypass" | "execute" | undefined;
1190
1262
  };
1191
1263
  } & {
1192
1264
  param: {
@@ -1206,13 +1278,16 @@ export declare const createApiClient: (baseUrl: string) => {
1206
1278
  text: string;
1207
1279
  timezone?: string | undefined;
1208
1280
  locale?: "en" | "es" | "pt" | "it" | undefined;
1281
+ pageContext?: {
1282
+ label: string;
1283
+ } | undefined;
1209
1284
  workspaceScope?: "open" | "strict" | undefined;
1210
1285
  questionPresentation?: "text" | "card" | undefined;
1211
1286
  workspaceExternalId?: string | undefined;
1212
1287
  goal?: {
1213
1288
  objective: string;
1214
1289
  criteria?: string[] | undefined;
1215
- runway?: "quick" | "normal" | "long" | undefined;
1290
+ runway?: "long" | "quick" | "normal" | undefined;
1216
1291
  } | undefined;
1217
1292
  runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
1218
1293
  llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
@@ -1221,7 +1296,7 @@ export declare const createApiClient: (baseUrl: string) => {
1221
1296
  fileIds?: string[] | undefined;
1222
1297
  clientMessageId?: string | undefined;
1223
1298
  skill?: string | undefined;
1224
- mode?: "plan" | "execute" | "approve" | "balanced" | "bypass" | undefined;
1299
+ mode?: "plan" | "approve" | "balanced" | "bypass" | "execute" | undefined;
1225
1300
  };
1226
1301
  } & {
1227
1302
  param: {
@@ -4033,9 +4108,9 @@ export declare const createApiClient: (baseUrl: string) => {
4033
4108
  readonly createdAt: string;
4034
4109
  readonly updatedAt: string;
4035
4110
  readonly cadence: {
4111
+ readonly intervalMinutes: number | null;
4036
4112
  readonly timezone: string;
4037
4113
  readonly recurrenceKind: import('../../../../apps/belong-cloud/src/features/task-schedules/task-schedule.schemas').RecurrenceKind;
4038
- readonly intervalMinutes: number | null;
4039
4114
  readonly anchorAt: string;
4040
4115
  } | null;
4041
4116
  }[];
@@ -4170,9 +4245,9 @@ export declare const createApiClient: (baseUrl: string) => {
4170
4245
  readonly publishedAt: string;
4171
4246
  }[];
4172
4247
  readonly cadence: {
4248
+ readonly intervalMinutes: number | null;
4173
4249
  readonly timezone: string;
4174
4250
  readonly recurrenceKind: import('../../../../apps/belong-cloud/src/features/task-schedules/task-schedule.schemas').RecurrenceKind;
4175
- readonly intervalMinutes: number | null;
4176
4251
  readonly anchorAt: string;
4177
4252
  } | null;
4178
4253
  };
@@ -4555,20 +4630,6 @@ export declare const createApiClient: (baseUrl: string) => {
4555
4630
  };
4556
4631
  outputFormat: "json";
4557
4632
  status: 403;
4558
- } | {
4559
- input: {
4560
- json: {
4561
- sessionId?: string | undefined;
4562
- capabilities?: ("stt" | "tts")[] | undefined;
4563
- };
4564
- };
4565
- output: {
4566
- error: {
4567
- type: string;
4568
- };
4569
- };
4570
- outputFormat: "json";
4571
- status: 503;
4572
4633
  } | {
4573
4634
  input: {
4574
4635
  json: {
@@ -5054,7 +5115,7 @@ export declare const createApiClient: (baseUrl: string) => {
5054
5115
  readonly sizeBytes: number;
5055
5116
  readonly modifiedAt: string;
5056
5117
  }[];
5057
- state: "restoring" | "fresh";
5118
+ state: "fresh" | "restoring";
5058
5119
  };
5059
5120
  outputFormat: "json";
5060
5121
  status: import('hono/utils/http-status').ContentfulStatusCode;
@@ -5176,6 +5237,7 @@ export declare const createApiClient: (baseUrl: string) => {
5176
5237
  query: {
5177
5238
  tabId?: string | string[];
5178
5239
  sessionId?: string | string[];
5240
+ bindSession?: string | string[];
5179
5241
  };
5180
5242
  };
5181
5243
  output: {};
@@ -5185,6 +5247,88 @@ export declare const createApiClient: (baseUrl: string) => {
5185
5247
  }>;
5186
5248
  };
5187
5249
  };
5250
+ } & {
5251
+ v1: {
5252
+ browser: {
5253
+ claim: import('hono/client').ClientRequest<string, "/v1/browser/claim", {
5254
+ $post: {
5255
+ input: {
5256
+ json: {
5257
+ sessionId: string;
5258
+ tabId: string;
5259
+ term: number;
5260
+ };
5261
+ };
5262
+ output: {
5263
+ readonly status: "claimed" | "stale";
5264
+ };
5265
+ outputFormat: "json";
5266
+ status: 200;
5267
+ } | {
5268
+ input: {
5269
+ json: {
5270
+ sessionId: string;
5271
+ tabId: string;
5272
+ term: number;
5273
+ };
5274
+ };
5275
+ output: {
5276
+ error: {
5277
+ readonly type: "missing_scope";
5278
+ readonly requiredScope: "session:write";
5279
+ };
5280
+ };
5281
+ outputFormat: "json";
5282
+ status: 403;
5283
+ } | {
5284
+ input: {
5285
+ json: {
5286
+ sessionId: string;
5287
+ tabId: string;
5288
+ term: number;
5289
+ };
5290
+ };
5291
+ output: {
5292
+ error: {
5293
+ type: string;
5294
+ };
5295
+ };
5296
+ outputFormat: "json";
5297
+ status: 404;
5298
+ } | {
5299
+ input: {
5300
+ json: {
5301
+ sessionId: string;
5302
+ tabId: string;
5303
+ term: number;
5304
+ };
5305
+ };
5306
+ output: {
5307
+ error: {
5308
+ type: string;
5309
+ };
5310
+ };
5311
+ outputFormat: "json";
5312
+ status: 403;
5313
+ } | {
5314
+ input: {
5315
+ json: {
5316
+ sessionId: string;
5317
+ tabId: string;
5318
+ term: number;
5319
+ };
5320
+ };
5321
+ output: {
5322
+ error: {
5323
+ type: string;
5324
+ };
5325
+ };
5326
+ outputFormat: "json";
5327
+ status: 409;
5328
+ };
5329
+ }>;
5330
+ };
5331
+ };
5188
5332
  } & {
5189
5333
  v1: {
5190
5334
  browser: {
@@ -5774,7 +5918,7 @@ export declare const createApiClient: (baseUrl: string) => {
5774
5918
  output: {
5775
5919
  theme: {
5776
5920
  mode?: "light" | "dark" | undefined;
5777
- side?: "left" | "right" | undefined;
5921
+ side?: "right" | "left" | undefined;
5778
5922
  density?: "comfortable" | "compact" | undefined;
5779
5923
  panelWidth?: number | undefined;
5780
5924
  fontFamily?: string | undefined;
@@ -6786,10 +6930,20 @@ export declare const createApiClient: (baseUrl: string) => {
6786
6930
  notification?: {
6787
6931
  kind: "completion_email";
6788
6932
  recipients?: string[] | undefined;
6933
+ copies?: {
6934
+ cc?: string[] | undefined;
6935
+ bcc?: string[] | undefined;
6936
+ replyTo?: string[] | undefined;
6937
+ } | undefined;
6789
6938
  } | {
6790
6939
  kind: "custom_email";
6791
6940
  templatePath: string;
6792
6941
  recipients?: string[] | undefined;
6942
+ copies?: {
6943
+ cc?: string[] | undefined;
6944
+ bcc?: string[] | undefined;
6945
+ replyTo?: string[] | undefined;
6946
+ } | undefined;
6793
6947
  } | undefined;
6794
6948
  title?: string | undefined;
6795
6949
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -6808,6 +6962,7 @@ export declare const createApiClient: (baseUrl: string) => {
6808
6962
  intervalMinutes: number;
6809
6963
  } | undefined;
6810
6964
  originatingSessionId?: string | undefined;
6965
+ locale?: "en" | "es" | "pt" | "it" | undefined;
6811
6966
  workspaceExternalId?: string | undefined;
6812
6967
  runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
6813
6968
  llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
@@ -6833,10 +6988,20 @@ export declare const createApiClient: (baseUrl: string) => {
6833
6988
  notification?: {
6834
6989
  kind: "completion_email";
6835
6990
  recipients?: string[] | undefined;
6991
+ copies?: {
6992
+ cc?: string[] | undefined;
6993
+ bcc?: string[] | undefined;
6994
+ replyTo?: string[] | undefined;
6995
+ } | undefined;
6836
6996
  } | {
6837
6997
  kind: "custom_email";
6838
6998
  templatePath: string;
6839
6999
  recipients?: string[] | undefined;
7000
+ copies?: {
7001
+ cc?: string[] | undefined;
7002
+ bcc?: string[] | undefined;
7003
+ replyTo?: string[] | undefined;
7004
+ } | undefined;
6840
7005
  } | undefined;
6841
7006
  title?: string | undefined;
6842
7007
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -6855,6 +7020,7 @@ export declare const createApiClient: (baseUrl: string) => {
6855
7020
  intervalMinutes: number;
6856
7021
  } | undefined;
6857
7022
  originatingSessionId?: string | undefined;
7023
+ locale?: "en" | "es" | "pt" | "it" | undefined;
6858
7024
  workspaceExternalId?: string | undefined;
6859
7025
  runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
6860
7026
  llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
@@ -6867,7 +7033,7 @@ export declare const createApiClient: (baseUrl: string) => {
6867
7033
  scheduledFor: string;
6868
7034
  seriesStatus: "completed" | "active" | "paused" | "deleted";
6869
7035
  recurrence: {
6870
- kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
7036
+ kind: "none" | "daily" | "weekdays" | "weekly" | "interval" | "manual";
6871
7037
  };
6872
7038
  nextRunAt: string | null;
6873
7039
  title: string;
@@ -6885,10 +7051,20 @@ export declare const createApiClient: (baseUrl: string) => {
6885
7051
  notification?: {
6886
7052
  kind: "completion_email";
6887
7053
  recipients?: string[] | undefined;
7054
+ copies?: {
7055
+ cc?: string[] | undefined;
7056
+ bcc?: string[] | undefined;
7057
+ replyTo?: string[] | undefined;
7058
+ } | undefined;
6888
7059
  } | {
6889
7060
  kind: "custom_email";
6890
7061
  templatePath: string;
6891
7062
  recipients?: string[] | undefined;
7063
+ copies?: {
7064
+ cc?: string[] | undefined;
7065
+ bcc?: string[] | undefined;
7066
+ replyTo?: string[] | undefined;
7067
+ } | undefined;
6892
7068
  } | undefined;
6893
7069
  title?: string | undefined;
6894
7070
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -6907,6 +7083,7 @@ export declare const createApiClient: (baseUrl: string) => {
6907
7083
  intervalMinutes: number;
6908
7084
  } | undefined;
6909
7085
  originatingSessionId?: string | undefined;
7086
+ locale?: "en" | "es" | "pt" | "it" | undefined;
6910
7087
  workspaceExternalId?: string | undefined;
6911
7088
  runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
6912
7089
  llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
@@ -6931,10 +7108,20 @@ export declare const createApiClient: (baseUrl: string) => {
6931
7108
  notification?: {
6932
7109
  kind: "completion_email";
6933
7110
  recipients?: string[] | undefined;
7111
+ copies?: {
7112
+ cc?: string[] | undefined;
7113
+ bcc?: string[] | undefined;
7114
+ replyTo?: string[] | undefined;
7115
+ } | undefined;
6934
7116
  } | {
6935
7117
  kind: "custom_email";
6936
7118
  templatePath: string;
6937
7119
  recipients?: string[] | undefined;
7120
+ copies?: {
7121
+ cc?: string[] | undefined;
7122
+ bcc?: string[] | undefined;
7123
+ replyTo?: string[] | undefined;
7124
+ } | undefined;
6938
7125
  } | undefined;
6939
7126
  title?: string | undefined;
6940
7127
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -6953,6 +7140,7 @@ export declare const createApiClient: (baseUrl: string) => {
6953
7140
  intervalMinutes: number;
6954
7141
  } | undefined;
6955
7142
  originatingSessionId?: string | undefined;
7143
+ locale?: "en" | "es" | "pt" | "it" | undefined;
6956
7144
  workspaceExternalId?: string | undefined;
6957
7145
  runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
6958
7146
  llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
@@ -6985,7 +7173,7 @@ export declare const createApiClient: (baseUrl: string) => {
6985
7173
  status: "completed" | "active" | "paused" | "deleted";
6986
7174
  recurrence: {
6987
7175
  intervalMinutes?: number | undefined;
6988
- kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
7176
+ kind: "none" | "daily" | "weekdays" | "weekly" | "interval" | "manual";
6989
7177
  };
6990
7178
  timezone: string;
6991
7179
  nextRunAt: string | null;
@@ -7084,16 +7272,31 @@ export declare const createApiClient: (baseUrl: string) => {
7084
7272
  readonly revision: number;
7085
7273
  readonly workspaceCount: number;
7086
7274
  readonly sharedRecipients: readonly string[];
7275
+ readonly sharedCopies: {
7276
+ cc?: string[] | undefined;
7277
+ bcc?: string[] | undefined;
7278
+ replyTo?: string[] | undefined;
7279
+ } | null;
7087
7280
  } | null;
7088
7281
  explicitTitle: string | null;
7089
7282
  message: string;
7090
7283
  notification: {
7091
7284
  kind: "completion_email";
7092
7285
  recipients?: string[] | undefined;
7286
+ copies?: {
7287
+ cc?: string[] | undefined;
7288
+ bcc?: string[] | undefined;
7289
+ replyTo?: string[] | undefined;
7290
+ } | undefined;
7093
7291
  } | {
7094
7292
  kind: "custom_email";
7095
7293
  templatePath: string;
7096
7294
  recipients?: string[] | undefined;
7295
+ copies?: {
7296
+ cc?: string[] | undefined;
7297
+ bcc?: string[] | undefined;
7298
+ replyTo?: string[] | undefined;
7299
+ } | undefined;
7097
7300
  };
7098
7301
  mode: "plan" | "approve" | "balanced" | "bypass";
7099
7302
  timeExpression: string;
@@ -7120,7 +7323,7 @@ export declare const createApiClient: (baseUrl: string) => {
7120
7323
  status: "completed" | "active" | "paused" | "deleted";
7121
7324
  recurrence: {
7122
7325
  intervalMinutes?: number | undefined;
7123
- kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
7326
+ kind: "none" | "daily" | "weekdays" | "weekly" | "interval" | "manual";
7124
7327
  };
7125
7328
  timezone: string;
7126
7329
  nextRunAt: string | null;
@@ -7165,6 +7368,16 @@ export declare const createApiClient: (baseUrl: string) => {
7165
7368
  expectedRevision?: number | undefined;
7166
7369
  recipients?: string[] | undefined;
7167
7370
  sharedRecipients?: string[] | undefined;
7371
+ copies?: {
7372
+ cc?: string[] | undefined;
7373
+ bcc?: string[] | undefined;
7374
+ replyTo?: string[] | undefined;
7375
+ } | null | undefined;
7376
+ sharedCopies?: {
7377
+ cc?: string[] | undefined;
7378
+ bcc?: string[] | undefined;
7379
+ replyTo?: string[] | undefined;
7380
+ } | undefined;
7168
7381
  title?: string | null | undefined;
7169
7382
  message?: string | undefined;
7170
7383
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -7208,6 +7421,16 @@ export declare const createApiClient: (baseUrl: string) => {
7208
7421
  expectedRevision?: number | undefined;
7209
7422
  recipients?: string[] | undefined;
7210
7423
  sharedRecipients?: string[] | undefined;
7424
+ copies?: {
7425
+ cc?: string[] | undefined;
7426
+ bcc?: string[] | undefined;
7427
+ replyTo?: string[] | undefined;
7428
+ } | null | undefined;
7429
+ sharedCopies?: {
7430
+ cc?: string[] | undefined;
7431
+ bcc?: string[] | undefined;
7432
+ replyTo?: string[] | undefined;
7433
+ } | undefined;
7211
7434
  title?: string | null | undefined;
7212
7435
  message?: string | undefined;
7213
7436
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -7251,6 +7474,16 @@ export declare const createApiClient: (baseUrl: string) => {
7251
7474
  expectedRevision?: number | undefined;
7252
7475
  recipients?: string[] | undefined;
7253
7476
  sharedRecipients?: string[] | undefined;
7477
+ copies?: {
7478
+ cc?: string[] | undefined;
7479
+ bcc?: string[] | undefined;
7480
+ replyTo?: string[] | undefined;
7481
+ } | null | undefined;
7482
+ sharedCopies?: {
7483
+ cc?: string[] | undefined;
7484
+ bcc?: string[] | undefined;
7485
+ replyTo?: string[] | undefined;
7486
+ } | undefined;
7254
7487
  title?: string | null | undefined;
7255
7488
  message?: string | undefined;
7256
7489
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -7294,6 +7527,16 @@ export declare const createApiClient: (baseUrl: string) => {
7294
7527
  expectedRevision?: number | undefined;
7295
7528
  recipients?: string[] | undefined;
7296
7529
  sharedRecipients?: string[] | undefined;
7530
+ copies?: {
7531
+ cc?: string[] | undefined;
7532
+ bcc?: string[] | undefined;
7533
+ replyTo?: string[] | undefined;
7534
+ } | null | undefined;
7535
+ sharedCopies?: {
7536
+ cc?: string[] | undefined;
7537
+ bcc?: string[] | undefined;
7538
+ replyTo?: string[] | undefined;
7539
+ } | undefined;
7297
7540
  title?: string | null | undefined;
7298
7541
  message?: string | undefined;
7299
7542
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -7337,6 +7580,16 @@ export declare const createApiClient: (baseUrl: string) => {
7337
7580
  expectedRevision?: number | undefined;
7338
7581
  recipients?: string[] | undefined;
7339
7582
  sharedRecipients?: string[] | undefined;
7583
+ copies?: {
7584
+ cc?: string[] | undefined;
7585
+ bcc?: string[] | undefined;
7586
+ replyTo?: string[] | undefined;
7587
+ } | null | undefined;
7588
+ sharedCopies?: {
7589
+ cc?: string[] | undefined;
7590
+ bcc?: string[] | undefined;
7591
+ replyTo?: string[] | undefined;
7592
+ } | undefined;
7340
7593
  title?: string | null | undefined;
7341
7594
  message?: string | undefined;
7342
7595
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -7439,7 +7692,8 @@ export declare const createApiClient: (baseUrl: string) => {
7439
7692
  output: {
7440
7693
  runs: {
7441
7694
  taskScheduleRunId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleId;
7442
- occurrenceKind: "scheduled" | "manual";
7695
+ occurrenceKind: "manual" | "scheduled";
7696
+ seriesStatusAtRequest: "active" | "paused" | null;
7443
7697
  displayStatus: import('../../../../apps/belong-cloud/src/features/task-schedules/task-schedule.service').TaskScheduleRunDisplayStatus;
7444
7698
  scheduledFor: string;
7445
7699
  startedAt: string | null;
@@ -7650,6 +7904,7 @@ export declare const createApiClient: (baseUrl: string) => {
7650
7904
  json: {
7651
7905
  clientRequestId?: string | undefined;
7652
7906
  instructions?: string | undefined;
7907
+ expectedSeriesStatus?: "active" | "paused" | undefined;
7653
7908
  };
7654
7909
  };
7655
7910
  output: {
@@ -7673,6 +7928,7 @@ export declare const createApiClient: (baseUrl: string) => {
7673
7928
  json: {
7674
7929
  clientRequestId?: string | undefined;
7675
7930
  instructions?: string | undefined;
7931
+ expectedSeriesStatus?: "active" | "paused" | undefined;
7676
7932
  };
7677
7933
  };
7678
7934
  output: {
@@ -7695,6 +7951,7 @@ export declare const createApiClient: (baseUrl: string) => {
7695
7951
  json: {
7696
7952
  clientRequestId?: string | undefined;
7697
7953
  instructions?: string | undefined;
7954
+ expectedSeriesStatus?: "active" | "paused" | undefined;
7698
7955
  };
7699
7956
  };
7700
7957
  output: {
@@ -7715,6 +7972,7 @@ export declare const createApiClient: (baseUrl: string) => {
7715
7972
  json: {
7716
7973
  clientRequestId?: string | undefined;
7717
7974
  instructions?: string | undefined;
7975
+ expectedSeriesStatus?: "active" | "paused" | undefined;
7718
7976
  };
7719
7977
  };
7720
7978
  output: {
@@ -7737,6 +7995,7 @@ export declare const createApiClient: (baseUrl: string) => {
7737
7995
  json: {
7738
7996
  clientRequestId?: string | undefined;
7739
7997
  instructions?: string | undefined;
7998
+ expectedSeriesStatus?: "active" | "paused" | undefined;
7740
7999
  };
7741
8000
  };
7742
8001
  output: {
@@ -7765,10 +8024,20 @@ export declare const createApiClient: (baseUrl: string) => {
7765
8024
  notification?: {
7766
8025
  kind: "completion_email";
7767
8026
  recipients?: string[] | undefined;
8027
+ copies?: {
8028
+ cc?: string[] | undefined;
8029
+ bcc?: string[] | undefined;
8030
+ replyTo?: string[] | undefined;
8031
+ } | undefined;
7768
8032
  } | {
7769
8033
  kind: "custom_email";
7770
8034
  templatePath: string;
7771
8035
  recipients?: string[] | undefined;
8036
+ copies?: {
8037
+ cc?: string[] | undefined;
8038
+ bcc?: string[] | undefined;
8039
+ replyTo?: string[] | undefined;
8040
+ } | undefined;
7772
8041
  } | undefined;
7773
8042
  title?: string | undefined;
7774
8043
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -7787,6 +8056,7 @@ export declare const createApiClient: (baseUrl: string) => {
7787
8056
  intervalMinutes: number;
7788
8057
  } | undefined;
7789
8058
  originatingSessionId?: string | undefined;
8059
+ locale?: "en" | "es" | "pt" | "it" | undefined;
7790
8060
  workspaceExternalId?: string | undefined;
7791
8061
  runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
7792
8062
  llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
@@ -7812,10 +8082,20 @@ export declare const createApiClient: (baseUrl: string) => {
7812
8082
  notification?: {
7813
8083
  kind: "completion_email";
7814
8084
  recipients?: string[] | undefined;
8085
+ copies?: {
8086
+ cc?: string[] | undefined;
8087
+ bcc?: string[] | undefined;
8088
+ replyTo?: string[] | undefined;
8089
+ } | undefined;
7815
8090
  } | {
7816
8091
  kind: "custom_email";
7817
8092
  templatePath: string;
7818
8093
  recipients?: string[] | undefined;
8094
+ copies?: {
8095
+ cc?: string[] | undefined;
8096
+ bcc?: string[] | undefined;
8097
+ replyTo?: string[] | undefined;
8098
+ } | undefined;
7819
8099
  } | undefined;
7820
8100
  title?: string | undefined;
7821
8101
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -7834,6 +8114,7 @@ export declare const createApiClient: (baseUrl: string) => {
7834
8114
  intervalMinutes: number;
7835
8115
  } | undefined;
7836
8116
  originatingSessionId?: string | undefined;
8117
+ locale?: "en" | "es" | "pt" | "it" | undefined;
7837
8118
  workspaceExternalId?: string | undefined;
7838
8119
  runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
7839
8120
  llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
@@ -7846,7 +8127,7 @@ export declare const createApiClient: (baseUrl: string) => {
7846
8127
  scheduledFor: string;
7847
8128
  seriesStatus: "completed" | "active" | "paused" | "deleted";
7848
8129
  recurrence: {
7849
- kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
8130
+ kind: "none" | "daily" | "weekdays" | "weekly" | "interval" | "manual";
7850
8131
  };
7851
8132
  nextRunAt: string | null;
7852
8133
  title: string;
@@ -7864,10 +8145,20 @@ export declare const createApiClient: (baseUrl: string) => {
7864
8145
  notification?: {
7865
8146
  kind: "completion_email";
7866
8147
  recipients?: string[] | undefined;
8148
+ copies?: {
8149
+ cc?: string[] | undefined;
8150
+ bcc?: string[] | undefined;
8151
+ replyTo?: string[] | undefined;
8152
+ } | undefined;
7867
8153
  } | {
7868
8154
  kind: "custom_email";
7869
8155
  templatePath: string;
7870
8156
  recipients?: string[] | undefined;
8157
+ copies?: {
8158
+ cc?: string[] | undefined;
8159
+ bcc?: string[] | undefined;
8160
+ replyTo?: string[] | undefined;
8161
+ } | undefined;
7871
8162
  } | undefined;
7872
8163
  title?: string | undefined;
7873
8164
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -7886,6 +8177,7 @@ export declare const createApiClient: (baseUrl: string) => {
7886
8177
  intervalMinutes: number;
7887
8178
  } | undefined;
7888
8179
  originatingSessionId?: string | undefined;
8180
+ locale?: "en" | "es" | "pt" | "it" | undefined;
7889
8181
  workspaceExternalId?: string | undefined;
7890
8182
  runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
7891
8183
  llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
@@ -7910,10 +8202,20 @@ export declare const createApiClient: (baseUrl: string) => {
7910
8202
  notification?: {
7911
8203
  kind: "completion_email";
7912
8204
  recipients?: string[] | undefined;
8205
+ copies?: {
8206
+ cc?: string[] | undefined;
8207
+ bcc?: string[] | undefined;
8208
+ replyTo?: string[] | undefined;
8209
+ } | undefined;
7913
8210
  } | {
7914
8211
  kind: "custom_email";
7915
8212
  templatePath: string;
7916
8213
  recipients?: string[] | undefined;
8214
+ copies?: {
8215
+ cc?: string[] | undefined;
8216
+ bcc?: string[] | undefined;
8217
+ replyTo?: string[] | undefined;
8218
+ } | undefined;
7917
8219
  } | undefined;
7918
8220
  title?: string | undefined;
7919
8221
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -7932,6 +8234,7 @@ export declare const createApiClient: (baseUrl: string) => {
7932
8234
  intervalMinutes: number;
7933
8235
  } | undefined;
7934
8236
  originatingSessionId?: string | undefined;
8237
+ locale?: "en" | "es" | "pt" | "it" | undefined;
7935
8238
  workspaceExternalId?: string | undefined;
7936
8239
  runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
7937
8240
  llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
@@ -7964,7 +8267,7 @@ export declare const createApiClient: (baseUrl: string) => {
7964
8267
  status: "completed" | "active" | "paused" | "deleted";
7965
8268
  recurrence: {
7966
8269
  intervalMinutes?: number | undefined;
7967
- kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
8270
+ kind: "none" | "daily" | "weekdays" | "weekly" | "interval" | "manual";
7968
8271
  };
7969
8272
  timezone: string;
7970
8273
  nextRunAt: string | null;
@@ -8063,16 +8366,31 @@ export declare const createApiClient: (baseUrl: string) => {
8063
8366
  readonly revision: number;
8064
8367
  readonly workspaceCount: number;
8065
8368
  readonly sharedRecipients: readonly string[];
8369
+ readonly sharedCopies: {
8370
+ cc?: string[] | undefined;
8371
+ bcc?: string[] | undefined;
8372
+ replyTo?: string[] | undefined;
8373
+ } | null;
8066
8374
  } | null;
8067
8375
  explicitTitle: string | null;
8068
8376
  message: string;
8069
8377
  notification: {
8070
8378
  kind: "completion_email";
8071
8379
  recipients?: string[] | undefined;
8380
+ copies?: {
8381
+ cc?: string[] | undefined;
8382
+ bcc?: string[] | undefined;
8383
+ replyTo?: string[] | undefined;
8384
+ } | undefined;
8072
8385
  } | {
8073
8386
  kind: "custom_email";
8074
8387
  templatePath: string;
8075
8388
  recipients?: string[] | undefined;
8389
+ copies?: {
8390
+ cc?: string[] | undefined;
8391
+ bcc?: string[] | undefined;
8392
+ replyTo?: string[] | undefined;
8393
+ } | undefined;
8076
8394
  };
8077
8395
  mode: "plan" | "approve" | "balanced" | "bypass";
8078
8396
  timeExpression: string;
@@ -8099,7 +8417,7 @@ export declare const createApiClient: (baseUrl: string) => {
8099
8417
  status: "completed" | "active" | "paused" | "deleted";
8100
8418
  recurrence: {
8101
8419
  intervalMinutes?: number | undefined;
8102
- kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
8420
+ kind: "none" | "daily" | "weekdays" | "weekly" | "interval" | "manual";
8103
8421
  };
8104
8422
  timezone: string;
8105
8423
  nextRunAt: string | null;
@@ -8144,6 +8462,16 @@ export declare const createApiClient: (baseUrl: string) => {
8144
8462
  expectedRevision?: number | undefined;
8145
8463
  recipients?: string[] | undefined;
8146
8464
  sharedRecipients?: string[] | undefined;
8465
+ copies?: {
8466
+ cc?: string[] | undefined;
8467
+ bcc?: string[] | undefined;
8468
+ replyTo?: string[] | undefined;
8469
+ } | null | undefined;
8470
+ sharedCopies?: {
8471
+ cc?: string[] | undefined;
8472
+ bcc?: string[] | undefined;
8473
+ replyTo?: string[] | undefined;
8474
+ } | undefined;
8147
8475
  title?: string | null | undefined;
8148
8476
  message?: string | undefined;
8149
8477
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -8187,6 +8515,16 @@ export declare const createApiClient: (baseUrl: string) => {
8187
8515
  expectedRevision?: number | undefined;
8188
8516
  recipients?: string[] | undefined;
8189
8517
  sharedRecipients?: string[] | undefined;
8518
+ copies?: {
8519
+ cc?: string[] | undefined;
8520
+ bcc?: string[] | undefined;
8521
+ replyTo?: string[] | undefined;
8522
+ } | null | undefined;
8523
+ sharedCopies?: {
8524
+ cc?: string[] | undefined;
8525
+ bcc?: string[] | undefined;
8526
+ replyTo?: string[] | undefined;
8527
+ } | undefined;
8190
8528
  title?: string | null | undefined;
8191
8529
  message?: string | undefined;
8192
8530
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -8230,6 +8568,16 @@ export declare const createApiClient: (baseUrl: string) => {
8230
8568
  expectedRevision?: number | undefined;
8231
8569
  recipients?: string[] | undefined;
8232
8570
  sharedRecipients?: string[] | undefined;
8571
+ copies?: {
8572
+ cc?: string[] | undefined;
8573
+ bcc?: string[] | undefined;
8574
+ replyTo?: string[] | undefined;
8575
+ } | null | undefined;
8576
+ sharedCopies?: {
8577
+ cc?: string[] | undefined;
8578
+ bcc?: string[] | undefined;
8579
+ replyTo?: string[] | undefined;
8580
+ } | undefined;
8233
8581
  title?: string | null | undefined;
8234
8582
  message?: string | undefined;
8235
8583
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -8273,6 +8621,16 @@ export declare const createApiClient: (baseUrl: string) => {
8273
8621
  expectedRevision?: number | undefined;
8274
8622
  recipients?: string[] | undefined;
8275
8623
  sharedRecipients?: string[] | undefined;
8624
+ copies?: {
8625
+ cc?: string[] | undefined;
8626
+ bcc?: string[] | undefined;
8627
+ replyTo?: string[] | undefined;
8628
+ } | null | undefined;
8629
+ sharedCopies?: {
8630
+ cc?: string[] | undefined;
8631
+ bcc?: string[] | undefined;
8632
+ replyTo?: string[] | undefined;
8633
+ } | undefined;
8276
8634
  title?: string | null | undefined;
8277
8635
  message?: string | undefined;
8278
8636
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -8316,6 +8674,16 @@ export declare const createApiClient: (baseUrl: string) => {
8316
8674
  expectedRevision?: number | undefined;
8317
8675
  recipients?: string[] | undefined;
8318
8676
  sharedRecipients?: string[] | undefined;
8677
+ copies?: {
8678
+ cc?: string[] | undefined;
8679
+ bcc?: string[] | undefined;
8680
+ replyTo?: string[] | undefined;
8681
+ } | null | undefined;
8682
+ sharedCopies?: {
8683
+ cc?: string[] | undefined;
8684
+ bcc?: string[] | undefined;
8685
+ replyTo?: string[] | undefined;
8686
+ } | undefined;
8319
8687
  title?: string | null | undefined;
8320
8688
  message?: string | undefined;
8321
8689
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -8418,7 +8786,8 @@ export declare const createApiClient: (baseUrl: string) => {
8418
8786
  output: {
8419
8787
  runs: {
8420
8788
  taskScheduleRunId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleId;
8421
- occurrenceKind: "scheduled" | "manual";
8789
+ occurrenceKind: "manual" | "scheduled";
8790
+ seriesStatusAtRequest: "active" | "paused" | null;
8422
8791
  displayStatus: import('../../../../apps/belong-cloud/src/features/task-schedules/task-schedule.service').TaskScheduleRunDisplayStatus;
8423
8792
  scheduledFor: string;
8424
8793
  startedAt: string | null;
@@ -8629,6 +8998,7 @@ export declare const createApiClient: (baseUrl: string) => {
8629
8998
  json: {
8630
8999
  clientRequestId?: string | undefined;
8631
9000
  instructions?: string | undefined;
9001
+ expectedSeriesStatus?: "active" | "paused" | undefined;
8632
9002
  };
8633
9003
  };
8634
9004
  output: {
@@ -8652,6 +9022,7 @@ export declare const createApiClient: (baseUrl: string) => {
8652
9022
  json: {
8653
9023
  clientRequestId?: string | undefined;
8654
9024
  instructions?: string | undefined;
9025
+ expectedSeriesStatus?: "active" | "paused" | undefined;
8655
9026
  };
8656
9027
  };
8657
9028
  output: {
@@ -8674,6 +9045,7 @@ export declare const createApiClient: (baseUrl: string) => {
8674
9045
  json: {
8675
9046
  clientRequestId?: string | undefined;
8676
9047
  instructions?: string | undefined;
9048
+ expectedSeriesStatus?: "active" | "paused" | undefined;
8677
9049
  };
8678
9050
  };
8679
9051
  output: {
@@ -8694,6 +9066,7 @@ export declare const createApiClient: (baseUrl: string) => {
8694
9066
  json: {
8695
9067
  clientRequestId?: string | undefined;
8696
9068
  instructions?: string | undefined;
9069
+ expectedSeriesStatus?: "active" | "paused" | undefined;
8697
9070
  };
8698
9071
  };
8699
9072
  output: {
@@ -8716,6 +9089,7 @@ export declare const createApiClient: (baseUrl: string) => {
8716
9089
  json: {
8717
9090
  clientRequestId?: string | undefined;
8718
9091
  instructions?: string | undefined;
9092
+ expectedSeriesStatus?: "active" | "paused" | undefined;
8719
9093
  };
8720
9094
  };
8721
9095
  output: {
@@ -8766,6 +9140,11 @@ export declare const createApiClient: (baseUrl: string) => {
8766
9140
  explicitTitle: string | null;
8767
9141
  message: string;
8768
9142
  sharedRecipients: string[];
9143
+ sharedCopies: {
9144
+ cc?: string[] | undefined;
9145
+ bcc?: string[] | undefined;
9146
+ replyTo?: string[] | undefined;
9147
+ } | null;
8769
9148
  role: "edit" | "owner" | "use";
8770
9149
  owner: string;
8771
9150
  ownerTenant: string;
@@ -8805,7 +9184,7 @@ export declare const createApiClient: (baseUrl: string) => {
8805
9184
  };
8806
9185
  };
8807
9186
  outputFormat: "json";
8808
- status: 403 | 404 | 409 | 503;
9187
+ status: 403 | 404 | 409 | 422 | 503;
8809
9188
  } | {
8810
9189
  input: {
8811
9190
  json: {
@@ -8839,7 +9218,7 @@ export declare const createApiClient: (baseUrl: string) => {
8839
9218
  };
8840
9219
  };
8841
9220
  outputFormat: "json";
8842
- status: 403 | 404 | 409 | 503;
9221
+ status: 403 | 404 | 409 | 422 | 503;
8843
9222
  } | {
8844
9223
  input: {
8845
9224
  param: {
@@ -8852,6 +9231,11 @@ export declare const createApiClient: (baseUrl: string) => {
8852
9231
  explicitTitle: string | null;
8853
9232
  message: string;
8854
9233
  sharedRecipients: string[];
9234
+ sharedCopies: {
9235
+ cc?: string[] | undefined;
9236
+ bcc?: string[] | undefined;
9237
+ replyTo?: string[] | undefined;
9238
+ } | null;
8855
9239
  role: "edit" | "owner" | "use";
8856
9240
  owner: string;
8857
9241
  ownerTenant: string;
@@ -8878,6 +9262,11 @@ export declare const createApiClient: (baseUrl: string) => {
8878
9262
  json: {
8879
9263
  expectedRevision: number;
8880
9264
  sharedRecipients?: string[] | undefined;
9265
+ sharedCopies?: {
9266
+ cc?: string[] | undefined;
9267
+ bcc?: string[] | undefined;
9268
+ replyTo?: string[] | undefined;
9269
+ } | undefined;
8881
9270
  title?: string | null | undefined;
8882
9271
  message?: string | undefined;
8883
9272
  scheduledFor?: string | undefined;
@@ -8899,6 +9288,7 @@ export declare const createApiClient: (baseUrl: string) => {
8899
9288
  } | undefined;
8900
9289
  mode?: undefined;
8901
9290
  recipients?: undefined;
9291
+ copies?: undefined;
8902
9292
  };
8903
9293
  };
8904
9294
  output: {
@@ -8907,7 +9297,7 @@ export declare const createApiClient: (baseUrl: string) => {
8907
9297
  };
8908
9298
  };
8909
9299
  outputFormat: "json";
8910
- status: 403 | 404 | 409 | 503;
9300
+ status: 403 | 404 | 409 | 422 | 503;
8911
9301
  } | {
8912
9302
  input: {
8913
9303
  param: {
@@ -8917,6 +9307,11 @@ export declare const createApiClient: (baseUrl: string) => {
8917
9307
  json: {
8918
9308
  expectedRevision: number;
8919
9309
  sharedRecipients?: string[] | undefined;
9310
+ sharedCopies?: {
9311
+ cc?: string[] | undefined;
9312
+ bcc?: string[] | undefined;
9313
+ replyTo?: string[] | undefined;
9314
+ } | undefined;
8920
9315
  title?: string | null | undefined;
8921
9316
  message?: string | undefined;
8922
9317
  scheduledFor?: string | undefined;
@@ -8938,6 +9333,7 @@ export declare const createApiClient: (baseUrl: string) => {
8938
9333
  } | undefined;
8939
9334
  mode?: undefined;
8940
9335
  recipients?: undefined;
9336
+ copies?: undefined;
8941
9337
  };
8942
9338
  };
8943
9339
  output: {
@@ -8955,6 +9351,11 @@ export declare const createApiClient: (baseUrl: string) => {
8955
9351
  json: {
8956
9352
  expectedRevision: number;
8957
9353
  sharedRecipients?: string[] | undefined;
9354
+ sharedCopies?: {
9355
+ cc?: string[] | undefined;
9356
+ bcc?: string[] | undefined;
9357
+ replyTo?: string[] | undefined;
9358
+ } | undefined;
8958
9359
  title?: string | null | undefined;
8959
9360
  message?: string | undefined;
8960
9361
  scheduledFor?: string | undefined;
@@ -8976,6 +9377,7 @@ export declare const createApiClient: (baseUrl: string) => {
8976
9377
  } | undefined;
8977
9378
  mode?: undefined;
8978
9379
  recipients?: undefined;
9380
+ copies?: undefined;
8979
9381
  };
8980
9382
  };
8981
9383
  output: {
@@ -9012,7 +9414,7 @@ export declare const createApiClient: (baseUrl: string) => {
9012
9414
  };
9013
9415
  };
9014
9416
  outputFormat: "json";
9015
- status: 403 | 404 | 409 | 503;
9417
+ status: 403 | 404 | 409 | 422 | 503;
9016
9418
  } | {
9017
9419
  input: {
9018
9420
  param: {
@@ -9056,7 +9458,7 @@ export declare const createApiClient: (baseUrl: string) => {
9056
9458
  };
9057
9459
  };
9058
9460
  outputFormat: "json";
9059
- status: 403 | 404 | 409 | 503;
9461
+ status: 403 | 404 | 409 | 422 | 503;
9060
9462
  } | {
9061
9463
  input: {
9062
9464
  param: {
@@ -9100,7 +9502,7 @@ export declare const createApiClient: (baseUrl: string) => {
9100
9502
  };
9101
9503
  };
9102
9504
  outputFormat: "json";
9103
- status: 403 | 404 | 409 | 503;
9505
+ status: 403 | 404 | 409 | 422 | 503;
9104
9506
  } | {
9105
9507
  input: {
9106
9508
  param: {
@@ -9138,7 +9540,7 @@ export declare const createApiClient: (baseUrl: string) => {
9138
9540
  };
9139
9541
  };
9140
9542
  outputFormat: "json";
9141
- status: 403 | 404 | 409 | 503;
9543
+ status: 403 | 404 | 409 | 422 | 503;
9142
9544
  } | {
9143
9545
  input: {
9144
9546
  param: {
@@ -9181,7 +9583,7 @@ export declare const createApiClient: (baseUrl: string) => {
9181
9583
  };
9182
9584
  };
9183
9585
  outputFormat: "json";
9184
- status: 403 | 404 | 409 | 503;
9586
+ status: 403 | 404 | 409 | 422 | 503;
9185
9587
  } | {
9186
9588
  input: {
9187
9589
  param: {
@@ -9217,7 +9619,7 @@ export declare const createApiClient: (baseUrl: string) => {
9217
9619
  };
9218
9620
  };
9219
9621
  outputFormat: "json";
9220
- status: 403 | 404 | 409 | 503;
9622
+ status: 403 | 404 | 409 | 422 | 503;
9221
9623
  } | {
9222
9624
  input: {
9223
9625
  param: {
@@ -9240,6 +9642,70 @@ export declare const createApiClient: (baseUrl: string) => {
9240
9642
  };
9241
9643
  };
9242
9644
  };
9645
+ } & {
9646
+ v1: {
9647
+ integrations: {
9648
+ simetrik: {
9649
+ "enrolled-key": import('hono/client').ClientRequest<string, "/v1/integrations/simetrik/enrolled-key", {
9650
+ $post: {
9651
+ input: {
9652
+ json: {
9653
+ workspaceExternalId: string;
9654
+ };
9655
+ };
9656
+ output: {
9657
+ workspaceExternalId: string;
9658
+ gatewayUrl: string;
9659
+ publicJwk: {
9660
+ kty: "EC";
9661
+ crv: "P-256";
9662
+ x: string;
9663
+ y: string;
9664
+ };
9665
+ privateJwk: {
9666
+ kty: "EC";
9667
+ crv: "P-256";
9668
+ x: string;
9669
+ y: string;
9670
+ d: string;
9671
+ };
9672
+ jkt: string;
9673
+ capturedAt: string;
9674
+ };
9675
+ outputFormat: "json";
9676
+ status: 200;
9677
+ } | {
9678
+ input: {
9679
+ json: {
9680
+ workspaceExternalId: string;
9681
+ };
9682
+ };
9683
+ output: {
9684
+ error: {
9685
+ type: string;
9686
+ };
9687
+ };
9688
+ outputFormat: "json";
9689
+ status: 404;
9690
+ } | {
9691
+ input: {
9692
+ json: {
9693
+ workspaceExternalId: string;
9694
+ };
9695
+ };
9696
+ output: {
9697
+ error: {
9698
+ type: string;
9699
+ message: string;
9700
+ };
9701
+ };
9702
+ outputFormat: "json";
9703
+ status: 409;
9704
+ };
9705
+ }>;
9706
+ };
9707
+ };
9708
+ };
9243
9709
  } & {
9244
9710
  v1: {
9245
9711
  "pre-prompts": import('hono/client').ClientRequest<string, "/v1/pre-prompts", {
@@ -11597,5 +12063,275 @@ export declare const createApiClient: (baseUrl: string) => {
11597
12063
  };
11598
12064
  };
11599
12065
  };
12066
+ } & {
12067
+ v1: {
12068
+ admin: {
12069
+ "runtime-flags": import('hono/client').ClientRequest<string, "/v1/admin/runtime-flags", {
12070
+ $get: {
12071
+ input: {};
12072
+ output: {
12073
+ flags: {
12074
+ name: string;
12075
+ description: string;
12076
+ value: import('hono/utils/types').JSONValue;
12077
+ default: import('hono/utils/types').JSONValue;
12078
+ source: "set" | "default" | "invalid";
12079
+ }[];
12080
+ };
12081
+ outputFormat: "json";
12082
+ status: 200;
12083
+ };
12084
+ }>;
12085
+ };
12086
+ };
12087
+ } & {
12088
+ v1: {
12089
+ admin: {
12090
+ "runtime-flags": {
12091
+ ":name": import('hono/client').ClientRequest<string, "/v1/admin/runtime-flags/:name", {
12092
+ $get: {
12093
+ input: {
12094
+ param: {
12095
+ name: string;
12096
+ };
12097
+ };
12098
+ output: {
12099
+ error: {
12100
+ type: string;
12101
+ };
12102
+ };
12103
+ outputFormat: "json";
12104
+ status: 404;
12105
+ } | {
12106
+ input: {
12107
+ param: {
12108
+ name: string;
12109
+ };
12110
+ };
12111
+ output: {
12112
+ name: string;
12113
+ description: string;
12114
+ value: import('hono/utils/types').JSONValue;
12115
+ default: import('hono/utils/types').JSONValue;
12116
+ source: "set" | "default" | "invalid";
12117
+ };
12118
+ outputFormat: "json";
12119
+ status: 200;
12120
+ };
12121
+ $put: {
12122
+ input: {
12123
+ param: {
12124
+ name: string;
12125
+ };
12126
+ };
12127
+ output: {
12128
+ name: string;
12129
+ description: string;
12130
+ value: import('hono/utils/types').JSONValue;
12131
+ default: import('hono/utils/types').JSONValue;
12132
+ source: "set" | "default" | "invalid";
12133
+ };
12134
+ outputFormat: "json";
12135
+ status: 200;
12136
+ } | {
12137
+ input: {
12138
+ param: {
12139
+ name: string;
12140
+ };
12141
+ };
12142
+ output: {
12143
+ error: {
12144
+ type: string;
12145
+ };
12146
+ };
12147
+ outputFormat: "json";
12148
+ status: 404;
12149
+ } | {
12150
+ input: {
12151
+ param: {
12152
+ name: string;
12153
+ };
12154
+ };
12155
+ output: {
12156
+ error: {
12157
+ type: string;
12158
+ };
12159
+ };
12160
+ outputFormat: "json";
12161
+ status: 422;
12162
+ };
12163
+ $delete: {
12164
+ input: {
12165
+ param: {
12166
+ name: string;
12167
+ };
12168
+ };
12169
+ output: {
12170
+ name: string;
12171
+ description: string;
12172
+ value: import('hono/utils/types').JSONValue;
12173
+ default: import('hono/utils/types').JSONValue;
12174
+ source: "set" | "default" | "invalid";
12175
+ };
12176
+ outputFormat: "json";
12177
+ status: 200;
12178
+ } | {
12179
+ input: {
12180
+ param: {
12181
+ name: string;
12182
+ };
12183
+ };
12184
+ output: {
12185
+ error: {
12186
+ type: string;
12187
+ };
12188
+ };
12189
+ outputFormat: "json";
12190
+ status: 404;
12191
+ };
12192
+ }>;
12193
+ };
12194
+ };
12195
+ };
12196
+ } & {
12197
+ v1: {
12198
+ admin: {
12199
+ signals: {
12200
+ report: import('hono/client').ClientRequest<string, "/v1/admin/signals/report", {
12201
+ $get: {
12202
+ input: {};
12203
+ output: {
12204
+ error: {
12205
+ type: string;
12206
+ };
12207
+ };
12208
+ outputFormat: "json";
12209
+ status: 422;
12210
+ } | {
12211
+ input: {};
12212
+ output: {
12213
+ readonly dimension: string;
12214
+ readonly since: string;
12215
+ readonly until: string;
12216
+ readonly totals: {
12217
+ readonly users: number;
12218
+ readonly tasks: number;
12219
+ readonly judgedTasks: number;
12220
+ readonly votedTasks: number;
12221
+ };
12222
+ readonly groups: readonly {
12223
+ readonly group: string;
12224
+ readonly users: number;
12225
+ readonly tasks: number;
12226
+ readonly judgedTasks: number;
12227
+ readonly votedTasks: number;
12228
+ readonly metrics: {
12229
+ readonly failed: {
12230
+ readonly n: number;
12231
+ readonly mean: number | null;
12232
+ readonly low: number | null;
12233
+ readonly high: number | null;
12234
+ };
12235
+ readonly cancelled: {
12236
+ readonly n: number;
12237
+ readonly mean: number | null;
12238
+ readonly low: number | null;
12239
+ readonly high: number | null;
12240
+ };
12241
+ readonly satisfaction: {
12242
+ readonly n: number;
12243
+ readonly mean: number | null;
12244
+ readonly low: number | null;
12245
+ readonly high: number | null;
12246
+ };
12247
+ readonly fulfilled: {
12248
+ readonly n: number;
12249
+ readonly mean: number | null;
12250
+ readonly low: number | null;
12251
+ readonly high: number | null;
12252
+ };
12253
+ readonly dissatisfied: {
12254
+ readonly n: number;
12255
+ readonly mean: number | null;
12256
+ readonly low: number | null;
12257
+ readonly high: number | null;
12258
+ };
12259
+ readonly thumbsDown: {
12260
+ readonly n: number;
12261
+ readonly mean: number | null;
12262
+ readonly low: number | null;
12263
+ readonly high: number | null;
12264
+ };
12265
+ };
12266
+ readonly versusControl?: {
12267
+ readonly failed: {
12268
+ readonly diff: number | null;
12269
+ readonly low: number | null;
12270
+ readonly high: number | null;
12271
+ readonly p: number | null;
12272
+ readonly df: number | null;
12273
+ };
12274
+ readonly cancelled: {
12275
+ readonly diff: number | null;
12276
+ readonly low: number | null;
12277
+ readonly high: number | null;
12278
+ readonly p: number | null;
12279
+ readonly df: number | null;
12280
+ };
12281
+ readonly satisfaction: {
12282
+ readonly diff: number | null;
12283
+ readonly low: number | null;
12284
+ readonly high: number | null;
12285
+ readonly p: number | null;
12286
+ readonly df: number | null;
12287
+ };
12288
+ readonly fulfilled: {
12289
+ readonly diff: number | null;
12290
+ readonly low: number | null;
12291
+ readonly high: number | null;
12292
+ readonly p: number | null;
12293
+ readonly df: number | null;
12294
+ };
12295
+ readonly dissatisfied: {
12296
+ readonly diff: number | null;
12297
+ readonly low: number | null;
12298
+ readonly high: number | null;
12299
+ readonly p: number | null;
12300
+ readonly df: number | null;
12301
+ };
12302
+ readonly thumbsDown: {
12303
+ readonly diff: number | null;
12304
+ readonly low: number | null;
12305
+ readonly high: number | null;
12306
+ readonly p: number | null;
12307
+ readonly df: number | null;
12308
+ };
12309
+ } | undefined;
12310
+ readonly worstTraces: readonly {
12311
+ readonly taskId: string;
12312
+ readonly traceId: string;
12313
+ readonly satisfaction: number;
12314
+ }[];
12315
+ }[];
12316
+ readonly sampleRatio?: {
12317
+ readonly allocation: string;
12318
+ readonly users: number;
12319
+ readonly chiSquare: number;
12320
+ readonly p: number;
12321
+ } | null | undefined;
12322
+ readonly judgeVersusThumbs: {
12323
+ readonly tasks: number;
12324
+ readonly meanScoreUp: number | null;
12325
+ readonly meanScoreDown: number | null;
12326
+ readonly agreement: number | null;
12327
+ };
12328
+ };
12329
+ outputFormat: "json";
12330
+ status: 200;
12331
+ };
12332
+ }>;
12333
+ };
12334
+ };
12335
+ };
11600
12336
  };
11601
12337
  export {};