@belonguniverseai/react-sdk 0.6.27 → 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.
- package/README.md +43 -4
- package/dist/api/account-scope.d.ts +75 -0
- package/dist/api/artifact-actions.d.ts +0 -1
- package/dist/api/auth-errors.d.ts +21 -0
- package/dist/api/client-identity.d.ts +3 -1
- package/dist/api/client.d.ts +1394 -162
- package/dist/api/goals.d.ts +19 -2
- package/dist/api/live-artifacts.d.ts +197 -0
- package/dist/api/my-usage.d.ts +28 -0
- package/dist/api/queries.d.ts +6 -4
- package/dist/api/query-keys.d.ts +44 -3
- package/dist/api/task-schedule-sharing.d.ts +18 -3
- package/dist/api/task-schedules.d.ts +76 -12
- package/dist/app/VoiceOverlay.d.ts +4 -3
- package/dist/app/dock-story-data.d.ts +19 -1
- package/dist/browser/control-channel.d.ts +9 -0
- package/dist/browser/dom-bridge.d.ts +2 -0
- package/dist/component/BelongWidget.d.ts +17 -4
- package/dist/component/{abnfDiagram-N423BO3Z-DrnjkZwk.js → abnfDiagram-N423BO3Z-BvL7baZ-.js} +4 -4
- package/dist/component/{arc-CLchGzOM.js → arc-DVUroP2Z.js} +2 -2
- package/dist/component/{architectureDiagram-T3A2C74G-Du8PLen3.js → architectureDiagram-T3A2C74G-CYt93mxs.js} +3 -3
- package/dist/component/{blockDiagram-VBNYF7ZC-BxmYbrlL.js → blockDiagram-VBNYF7ZC-yST7U8Pb.js} +4 -4
- package/dist/component/{c4Diagram-5PPSVZJV-DHiwlK7l.js → c4Diagram-5PPSVZJV-BHz6Efx3.js} +3 -3
- package/dist/component/{channel-C2eeNEMi.js → channel-CKTqNdN4.js} +2 -2
- package/dist/component/{chunk-2GRJ4B5K-D6I_U4nB.js → chunk-2GRJ4B5K-Bw2zHHAm.js} +2 -2
- package/dist/component/{chunk-2Q5K7J3B-BR3JSmNI.js → chunk-2Q5K7J3B-DpBuF73m.js} +2 -2
- package/dist/component/{chunk-5RXB4S5H-DcmzyncC.js → chunk-5RXB4S5H-dxBtwi1p.js} +5 -5
- package/dist/component/{chunk-5VM5RSS4-8ww1xEAz.js → chunk-5VM5RSS4-BOTqM1Rc.js} +2 -2
- package/dist/component/{chunk-6Q2QTUOP-Chlg3gnC.js → chunk-6Q2QTUOP-DjMXJhRD.js} +2 -2
- package/dist/component/{chunk-GF5L2VYU-CgKydjVC.js → chunk-GF5L2VYU-CGpnSfXM.js} +6 -6
- package/dist/component/{chunk-JWPE2WC7-13zVpFYT.js → chunk-JWPE2WC7-L5aYKPho.js} +2 -2
- package/dist/component/{chunk-KBJHAD2P-CP28c_dJ.js → chunk-KBJHAD2P-DH2RFBaF.js} +2 -2
- package/dist/component/{chunk-RYQCIY6F-CaHaa77d.js → chunk-RYQCIY6F-QPgRO0s7.js} +2 -2
- package/dist/component/{chunk-XXDRQBXY-Cd0yVkqx.js → chunk-XXDRQBXY-C1ezaFpA.js} +2 -2
- package/dist/component/{classDiagram-JCYQIIEL-Bn0740dK.js → classDiagram-JCYQIIEL-Dx7Qx836.js} +3 -3
- package/dist/component/{classDiagram-v2-OCEON4UE-Bn0740dK.js → classDiagram-v2-OCEON4UE-Dx7Qx836.js} +3 -3
- package/dist/component/{cose-bilkent-JH36ORCC-Y6CvxIe4.js → cose-bilkent-JH36ORCC-Bem1eaLJ.js} +2 -2
- package/dist/component/{cynefinDiagram-MW4NZA55-BJ_o5gyM.js → cynefinDiagram-MW4NZA55-DF15EWOu.js} +3 -3
- package/dist/component/{dagre-VZM6K2ZE-Ce_ZLKlj.js → dagre-VZM6K2ZE-BVzwev7l.js} +3 -3
- package/dist/component/{diagram-7IWD3JNH-K8E_XdII.js → diagram-7IWD3JNH-DzQhKX_v.js} +4 -4
- package/dist/component/{diagram-B4RE2ZJO-DZGs1RuF.js → diagram-B4RE2ZJO-DnHINfhE.js} +3 -3
- package/dist/component/{diagram-LBJQPF4R-CzKPOqJK.js → diagram-LBJQPF4R-CPqE_GwY.js} +3 -3
- package/dist/component/{diagram-Q27KOJAE-UItKj-dk.js → diagram-Q27KOJAE-BjpvfqhL.js} +4 -4
- package/dist/component/{diagram-UB23O5K3-ZxBLx0B9.js → diagram-UB23O5K3-BcYqFjqI.js} +3 -3
- package/dist/component/{ebnfDiagram-BXEA7PRR-BIS2pIB5.js → ebnfDiagram-BXEA7PRR-DoqGcWGx.js} +4 -4
- package/dist/component/{erDiagram-JOGREHBK-BNZB6-ZZ.js → erDiagram-JOGREHBK-DGrj5tIK.js} +5 -5
- package/dist/component/{flowDiagram-UKHOOZJN-B8H3ZNjd.js → flowDiagram-UKHOOZJN-B8OuOrVY.js} +7 -7
- package/dist/component/{ganttDiagram-PKOTCBZU-2JJJVAY-.js → ganttDiagram-PKOTCBZU-BaxSqTVY.js} +3 -3
- package/dist/component/{gitGraphDiagram-DS77QQ5N-BVWxsX1D.js → gitGraphDiagram-DS77QQ5N-W1Sqa3Hc.js} +4 -4
- package/dist/component/{highlighted-body-OFNGDK62-CmQzAJHd.js → highlighted-body-OFNGDK62-Cf1UqcGe.js} +2 -2
- package/dist/component/index.d.ts +1 -0
- package/dist/component/index.js +2 -2
- package/dist/component/{infoDiagram-6WML65LV-B-7B2PTM.js → infoDiagram-6WML65LV-BS0JlYPr.js} +2 -2
- package/dist/component/{ishikawaDiagram-WSZJBQD7-DgjY91jV.js → ishikawaDiagram-WSZJBQD7-Df_NzOQV.js} +2 -2
- package/dist/component/{journeyDiagram-NVQOT4AX-fkb_5H2H.js → journeyDiagram-NVQOT4AX-JWKvZ6rc.js} +5 -5
- package/dist/component/{kanban-definition-27J2QSJJ-ZRQERkli.js → kanban-definition-27J2QSJJ-DMvICKAB.js} +3 -3
- package/dist/component/{linear-DX0_iAiu.js → linear-D02U2fTS.js} +2 -2
- package/dist/component/{mermaid-GHXKKRXX-BhURR8Q_.js → mermaid-GHXKKRXX-B7CJJdoE.js} +51487 -47044
- package/dist/component/{mindmap-definition-FAOFIHXS-Duc36TEr.js → mindmap-definition-FAOFIHXS-AzTh8oju.js} +4 -4
- package/dist/component/{pegDiagram-VL7TDLO6-Egcz9GLB.js → pegDiagram-VL7TDLO6-DSCzZs_w.js} +4 -4
- package/dist/component/{pieDiagram-7S7Q4E2Y-DEe2GHp7.js → pieDiagram-7S7Q4E2Y-CEByr6BB.js} +4 -4
- package/dist/component/{quadrantDiagram-CIZ2JOQS-DNfio-6s.js → quadrantDiagram-CIZ2JOQS-BrWOf-GT.js} +3 -3
- package/dist/component/{railroadDiagram-AXF67PYL-B3lRYedY.js → railroadDiagram-AXF67PYL-DRtsV2gM.js} +4 -4
- package/dist/component/{requirementDiagram-LRYGKXZP-DYYxC0Cg.js → requirementDiagram-LRYGKXZP-_WwAo7AE.js} +4 -4
- package/dist/component/{sankeyDiagram-W5VNT64P-CKQNueMs.js → sankeyDiagram-W5VNT64P-DBxP3yyK.js} +2 -2
- package/dist/component/{sequenceDiagram-SI44F4Z6-ChF8pgI7.js → sequenceDiagram-SI44F4Z6-B3SNXrpC.js} +4 -4
- package/dist/component/{sizeCapture-X5ZJPWSS-BQyVznxb.js → sizeCapture-X5ZJPWSS-D5G8pyPC.js} +2 -2
- package/dist/component/{stateDiagram-OKZ733FA-CAVOTaJQ.js → stateDiagram-OKZ733FA-C4UZwsoc.js} +3 -3
- package/dist/component/{stateDiagram-v2-UEYNNEHI-rGNqHCbu.js → stateDiagram-v2-UEYNNEHI-DIYB5q15.js} +3 -3
- package/dist/component/{swimlanes-SLNWSIFB-j8tXsaid.js → swimlanes-SLNWSIFB-Cc9yJXTh.js} +4 -4
- package/dist/component/{swimlanesDiagram-ULZ7WXOC-CsbepRMA.js → swimlanesDiagram-ULZ7WXOC-DsGPiJ-s.js} +3 -3
- package/dist/component/{timeline-definition-Z64GVDOM-nCRE1AQh.js → timeline-definition-Z64GVDOM-Dr4-iAeD.js} +3 -3
- package/dist/component/{vennDiagram-T6HMQDX7-C3ubGm9c.js → vennDiagram-T6HMQDX7-ZiaZ9jYw.js} +2 -2
- package/dist/component/{wardleyDiagram-T6FBY63Y-mKT8yN1z.js → wardleyDiagram-T6FBY63Y-KdF37MT-.js} +3 -3
- package/dist/component/{xychartDiagram-ELKLHX3M-D5AF8jgv.js → xychartDiagram-ELKLHX3M-NH_bOKPL.js} +3 -3
- package/dist/components/artifacts/ArtifactDetailSurface.d.ts +37 -0
- package/dist/components/artifacts/ArtifactMeta.d.ts +10 -0
- package/dist/components/artifacts/ArtifactsListSurface.d.ts +11 -0
- package/dist/components/artifacts/BindScheduleDialog.d.ts +39 -0
- package/dist/components/artifacts/ConfirmDeleteArtifactDialog.d.ts +9 -0
- package/dist/components/artifacts/ConfirmReshareDialog.d.ts +24 -0
- package/dist/components/artifacts/artifact-format.d.ts +38 -0
- package/dist/components/artifacts/open-artifact-version.d.ts +16 -0
- package/dist/components/artifacts/use-artifact-actions.d.ts +32 -0
- package/dist/components/embed/ComposerContext.d.ts +11 -7
- package/dist/components/embed/EmbedComposer.d.ts +7 -1
- package/dist/components/embed/EmbedRail.d.ts +9 -2
- package/dist/components/embed/GoalRefusalCard.d.ts +5 -1
- package/dist/components/embed/MobileNavBar.d.ts +2 -1
- package/dist/components/embed/ResponseModeDial.d.ts +11 -0
- package/dist/components/embed/SessionStatsPanel.d.ts +3 -0
- package/dist/components/embed/UsageSettings.d.ts +11 -0
- package/dist/components/embed/format-compact-number.d.ts +8 -0
- package/dist/components/embed/use-artifact-operation-notices.d.ts +1 -0
- package/dist/components/scheduled/ConfirmRunPausedScheduleDialog.d.ts +18 -0
- package/dist/components/scheduled/EmailCopiesFields.d.ts +19 -0
- package/dist/components/scheduled/ScheduledDetailSurface.d.ts +2 -1
- package/dist/components/scheduled/use-run-now-with-confirmation.d.ts +17 -0
- package/dist/embed/artifact-action-bridge.d.ts +13 -3
- package/dist/embed/artifact-remint-budget.d.ts +5 -0
- package/dist/embed/copy.d.ts +13 -18
- package/dist/embed/dock-state.d.ts +1 -1
- package/dist/embed/global.d.ts +2 -0
- package/dist/embed/goal-edit-command.d.ts +6 -5
- package/dist/embed/plan-decision-text.d.ts +1 -0
- package/dist/embed/presets.d.ts +1 -0
- package/dist/embed/response-mode.d.ts +48 -0
- package/dist/embed/theme.d.ts +5 -0
- package/dist/embed/voice-config.d.ts +22 -31
- package/dist/embed/voice-prefs.d.ts +18 -34
- package/dist/i18n/messages/en.d.ts +146 -7
- package/dist/i18n/messages/surfaces/artifacts.d.ts +304 -0
- package/dist/i18n/messages/surfaces/feedback.d.ts +12 -0
- package/dist/i18n/messages/surfaces/header.d.ts +4 -0
- package/dist/i18n/messages/surfaces/myUsage.d.ts +75 -0
- package/dist/i18n/messages/surfaces/plan.d.ts +4 -0
- package/dist/i18n/messages/surfaces/scheduled.d.ts +53 -1
- package/dist/i18n/messages/surfaces/settings.d.ts +12 -0
- package/dist/i18n/messages/surfaces/stats.d.ts +4 -12
- package/dist/i18n/messages/surfaces/stream.d.ts +88 -0
- package/dist/i18n/messages/surfaces/usage.d.ts +1 -9
- package/dist/infrastructure/telemetry/first-response-timing.d.ts +51 -0
- package/dist/lib/tab-control-store.d.ts +14 -0
- package/dist/lib/tab-leadership.d.ts +9 -24
- package/dist/lib/use-now.d.ts +32 -0
- package/dist/lib/use-tab-leadership.d.ts +5 -7
- package/dist/routes/artifact-detail.d.ts +2 -0
- package/dist/routes/artifacts.d.ts +2 -0
- package/dist/routes/chat/history-merge.d.ts +53 -0
- package/dist/routes/chat/history-paging.d.ts +25 -6
- package/dist/routes/chat/transcript-row.d.ts +1 -0
- package/dist/routes/chat/use-catch-up-on-return.d.ts +70 -0
- package/dist/routes/chat/use-return-to-page.d.ts +7 -0
- package/dist/stream/belong-chat-transport.d.ts +38 -8
- package/dist/stream/belong-data-parts.d.ts +10 -0
- package/dist/stream/dispatch-once.d.ts +1 -1
- package/dist/stream/message-parts.d.ts +3 -1
- package/dist/stream/queued-message-outbox.d.ts +6 -0
- package/dist/stream/select-session-usage.d.ts +9 -0
- package/dist/stream/session-control-context.d.ts +7 -0
- package/dist/stream/session-stats-csv.d.ts +7 -9
- package/dist/types/public.d.ts +16 -9
- package/package.json +1 -1
package/dist/api/client.d.ts
CHANGED
|
@@ -1,14 +1,22 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
1
2
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
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,12 +26,22 @@ 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:
|
|
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. */
|
|
25
33
|
export declare const setBelongAgentId: (agentId: string | null) => void;
|
|
26
|
-
/**
|
|
34
|
+
/**
|
|
35
|
+
* Register the tenant slug sent as `X-Belong-Tenant` on every request.
|
|
36
|
+
*
|
|
37
|
+
* Deliberately does NOT publish an effective token: a public slug from
|
|
38
|
+
* `init({ tenant })` is not a credential and cannot change who is speaking.
|
|
39
|
+
* `embed/global.ts` calls this on every boot, including with null, so
|
|
40
|
+
* announcing it re-keyed the account cache partition before it was useful for
|
|
41
|
+
* any host whose token claims cannot be read. The slug is read through
|
|
42
|
+
* `peekBelongTenant()` on the next key read, so a later change is picked up
|
|
43
|
+
* without a notification.
|
|
44
|
+
*/
|
|
27
45
|
export declare const setBelongTenant: (tenant: string | null) => void;
|
|
28
46
|
/** Read the public tenant slug without exposing mutable client state. */
|
|
29
47
|
export declare const peekBelongTenant: () => string | null;
|
|
@@ -38,6 +56,14 @@ export declare const clearBelongToken: () => void;
|
|
|
38
56
|
export declare const peekBelongToken: () => string | null;
|
|
39
57
|
/** Synchronous identity for private browser storage; async auth overrides stale sync tokens. */
|
|
40
58
|
export declare const peekStorageIdentityToken: () => string | null;
|
|
59
|
+
/**
|
|
60
|
+
* Is the ASYNC getter the registered auth source? Cache partitions need to tell
|
|
61
|
+
* "this host authenticates asynchronously and has not resolved a token yet"
|
|
62
|
+
* (a transient, self-correcting state) from "this token's claims are
|
|
63
|
+
* unreadable" (a permanent property of the token) — the two deserve different
|
|
64
|
+
* partitions. No token is read here.
|
|
65
|
+
*/
|
|
66
|
+
export declare const hasBelongTokenGetter: () => boolean;
|
|
41
67
|
/**
|
|
42
68
|
* Whether ANY auth source is registered — async getter, sync provider, or a
|
|
43
69
|
* non-empty static token. The dock login gate (`app/BelongDock.tsx`) reads this
|
|
@@ -70,14 +96,55 @@ export declare const resolveBelongToken: () => Promise<string | null>;
|
|
|
70
96
|
export declare const belongTelemetryHeaders: (sessionId?: string | null) => Record<string, string>;
|
|
71
97
|
/**
|
|
72
98
|
* The full header set for an authed Belong backend request: the telemetry
|
|
73
|
-
* headers above plus `Authorization: Bearer <token
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
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.
|
|
79
112
|
*/
|
|
80
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;
|
|
81
148
|
/**
|
|
82
149
|
* Best-effort: rotate the host token if it's near/expired, so the NEXT
|
|
83
150
|
* `peekBelongToken` returns a fresh value. Safe to call before any authed
|
|
@@ -91,7 +158,12 @@ export declare const ensureFreshBelongToken: () => Promise<void>;
|
|
|
91
158
|
* carries a web JWT the provider has never seen. Use before the agent-grant
|
|
92
159
|
* exchange, whose anti-replay 409s a token that already minted a grant — a
|
|
93
160
|
* plain `ensureFreshBelongToken` would hand back that same spent-but-valid
|
|
94
|
-
* token. No-op / best-effort like
|
|
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.
|
|
95
167
|
*/
|
|
96
168
|
export declare const forceRotateBelongToken: () => Promise<void>;
|
|
97
169
|
export type ApiClient = ReturnType<typeof createApiClient>;
|
|
@@ -742,7 +814,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
742
814
|
};
|
|
743
815
|
};
|
|
744
816
|
output: {
|
|
745
|
-
sessionId: import('
|
|
817
|
+
sessionId: import('../../../../apps/belong-cloud/src/platform/ids').SessionId;
|
|
746
818
|
};
|
|
747
819
|
outputFormat: "json";
|
|
748
820
|
status: 201;
|
|
@@ -772,9 +844,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
772
844
|
};
|
|
773
845
|
output: {
|
|
774
846
|
sessions: readonly {
|
|
775
|
-
readonly sessionId: import('
|
|
847
|
+
readonly sessionId: import('../../../../apps/belong-cloud/src/platform/ids').SessionId;
|
|
776
848
|
readonly title: string | null;
|
|
777
|
-
readonly status: import('
|
|
849
|
+
readonly status: import('../../../../apps/belong-cloud/src/features/sessions/session.repo').SessionRow["status"];
|
|
778
850
|
readonly updatedAt: string;
|
|
779
851
|
}[];
|
|
780
852
|
};
|
|
@@ -794,10 +866,10 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
794
866
|
};
|
|
795
867
|
};
|
|
796
868
|
output: {
|
|
797
|
-
readonly sessionId: import('
|
|
869
|
+
readonly sessionId: import('../../../../apps/belong-cloud/src/platform/ids').SessionId;
|
|
798
870
|
readonly workspaceExternalId: string | null;
|
|
799
871
|
readonly title: string | null;
|
|
800
|
-
readonly status: import('
|
|
872
|
+
readonly status: import('../../../../apps/belong-cloud/src/features/sessions/session.repo').SessionRow["status"];
|
|
801
873
|
readonly createdAt: string;
|
|
802
874
|
readonly updatedAt: string;
|
|
803
875
|
};
|
|
@@ -828,10 +900,10 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
828
900
|
};
|
|
829
901
|
};
|
|
830
902
|
output: {
|
|
831
|
-
readonly sessionId: import('
|
|
903
|
+
readonly sessionId: import('../../../../apps/belong-cloud/src/platform/ids').SessionId;
|
|
832
904
|
readonly workspaceExternalId: string | null;
|
|
833
905
|
readonly title: string | null;
|
|
834
|
-
readonly status: import('
|
|
906
|
+
readonly status: import('../../../../apps/belong-cloud/src/features/sessions/session.repo').SessionRow["status"];
|
|
835
907
|
readonly createdAt: string;
|
|
836
908
|
readonly updatedAt: string;
|
|
837
909
|
};
|
|
@@ -902,7 +974,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
902
974
|
messages: {
|
|
903
975
|
clientMessageId?: string | null | undefined;
|
|
904
976
|
metadata?: {
|
|
905
|
-
taskId: import('
|
|
977
|
+
taskId: import('../../../../apps/belong-cloud/src/platform/ids').TaskId;
|
|
906
978
|
feedback: {
|
|
907
979
|
readonly sentiment: "up" | "down";
|
|
908
980
|
readonly reason: string | null;
|
|
@@ -977,21 +1049,25 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
977
1049
|
text: string;
|
|
978
1050
|
timezone?: string | undefined;
|
|
979
1051
|
locale?: "en" | "es" | "pt" | "it" | undefined;
|
|
1052
|
+
pageContext?: {
|
|
1053
|
+
label: string;
|
|
1054
|
+
} | undefined;
|
|
980
1055
|
workspaceScope?: "open" | "strict" | undefined;
|
|
981
1056
|
questionPresentation?: "text" | "card" | undefined;
|
|
982
1057
|
workspaceExternalId?: string | undefined;
|
|
983
1058
|
goal?: {
|
|
984
1059
|
objective: string;
|
|
985
1060
|
criteria?: string[] | undefined;
|
|
986
|
-
runway?: "
|
|
1061
|
+
runway?: "long" | "quick" | "normal" | undefined;
|
|
987
1062
|
} | undefined;
|
|
988
1063
|
runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
|
|
989
1064
|
llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
|
|
990
1065
|
llmModel?: string | undefined;
|
|
1066
|
+
responseMode?: "balanced" | "fast" | "smart" | undefined;
|
|
991
1067
|
fileIds?: string[] | undefined;
|
|
992
1068
|
clientMessageId?: string | undefined;
|
|
993
1069
|
skill?: string | undefined;
|
|
994
|
-
mode?: "plan" | "
|
|
1070
|
+
mode?: "plan" | "approve" | "balanced" | "bypass" | "execute" | undefined;
|
|
995
1071
|
};
|
|
996
1072
|
} & {
|
|
997
1073
|
param: {
|
|
@@ -999,9 +1075,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
999
1075
|
};
|
|
1000
1076
|
};
|
|
1001
1077
|
output: {
|
|
1002
|
-
messageId: import('
|
|
1003
|
-
taskId: import('
|
|
1004
|
-
runId: import('
|
|
1078
|
+
messageId: import('../../../../apps/belong-cloud/src/platform/ids').MessageId;
|
|
1079
|
+
taskId: import('../../../../apps/belong-cloud/src/platform/ids').TaskId;
|
|
1080
|
+
runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId;
|
|
1005
1081
|
idempotent: boolean;
|
|
1006
1082
|
};
|
|
1007
1083
|
outputFormat: "json";
|
|
@@ -1012,21 +1088,25 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1012
1088
|
text: string;
|
|
1013
1089
|
timezone?: string | undefined;
|
|
1014
1090
|
locale?: "en" | "es" | "pt" | "it" | undefined;
|
|
1091
|
+
pageContext?: {
|
|
1092
|
+
label: string;
|
|
1093
|
+
} | undefined;
|
|
1015
1094
|
workspaceScope?: "open" | "strict" | undefined;
|
|
1016
1095
|
questionPresentation?: "text" | "card" | undefined;
|
|
1017
1096
|
workspaceExternalId?: string | undefined;
|
|
1018
1097
|
goal?: {
|
|
1019
1098
|
objective: string;
|
|
1020
1099
|
criteria?: string[] | undefined;
|
|
1021
|
-
runway?: "
|
|
1100
|
+
runway?: "long" | "quick" | "normal" | undefined;
|
|
1022
1101
|
} | undefined;
|
|
1023
1102
|
runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
|
|
1024
1103
|
llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
|
|
1025
1104
|
llmModel?: string | undefined;
|
|
1105
|
+
responseMode?: "balanced" | "fast" | "smart" | undefined;
|
|
1026
1106
|
fileIds?: string[] | undefined;
|
|
1027
1107
|
clientMessageId?: string | undefined;
|
|
1028
1108
|
skill?: string | undefined;
|
|
1029
|
-
mode?: "plan" | "
|
|
1109
|
+
mode?: "plan" | "approve" | "balanced" | "bypass" | "execute" | undefined;
|
|
1030
1110
|
};
|
|
1031
1111
|
} & {
|
|
1032
1112
|
param: {
|
|
@@ -1046,21 +1126,25 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1046
1126
|
text: string;
|
|
1047
1127
|
timezone?: string | undefined;
|
|
1048
1128
|
locale?: "en" | "es" | "pt" | "it" | undefined;
|
|
1129
|
+
pageContext?: {
|
|
1130
|
+
label: string;
|
|
1131
|
+
} | undefined;
|
|
1049
1132
|
workspaceScope?: "open" | "strict" | undefined;
|
|
1050
1133
|
questionPresentation?: "text" | "card" | undefined;
|
|
1051
1134
|
workspaceExternalId?: string | undefined;
|
|
1052
1135
|
goal?: {
|
|
1053
1136
|
objective: string;
|
|
1054
1137
|
criteria?: string[] | undefined;
|
|
1055
|
-
runway?: "
|
|
1138
|
+
runway?: "long" | "quick" | "normal" | undefined;
|
|
1056
1139
|
} | undefined;
|
|
1057
1140
|
runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
|
|
1058
1141
|
llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
|
|
1059
1142
|
llmModel?: string | undefined;
|
|
1143
|
+
responseMode?: "balanced" | "fast" | "smart" | undefined;
|
|
1060
1144
|
fileIds?: string[] | undefined;
|
|
1061
1145
|
clientMessageId?: string | undefined;
|
|
1062
1146
|
skill?: string | undefined;
|
|
1063
|
-
mode?: "plan" | "
|
|
1147
|
+
mode?: "plan" | "approve" | "balanced" | "bypass" | "execute" | undefined;
|
|
1064
1148
|
};
|
|
1065
1149
|
} & {
|
|
1066
1150
|
param: {
|
|
@@ -1080,21 +1164,25 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1080
1164
|
text: string;
|
|
1081
1165
|
timezone?: string | undefined;
|
|
1082
1166
|
locale?: "en" | "es" | "pt" | "it" | undefined;
|
|
1167
|
+
pageContext?: {
|
|
1168
|
+
label: string;
|
|
1169
|
+
} | undefined;
|
|
1083
1170
|
workspaceScope?: "open" | "strict" | undefined;
|
|
1084
1171
|
questionPresentation?: "text" | "card" | undefined;
|
|
1085
1172
|
workspaceExternalId?: string | undefined;
|
|
1086
1173
|
goal?: {
|
|
1087
1174
|
objective: string;
|
|
1088
1175
|
criteria?: string[] | undefined;
|
|
1089
|
-
runway?: "
|
|
1176
|
+
runway?: "long" | "quick" | "normal" | undefined;
|
|
1090
1177
|
} | undefined;
|
|
1091
1178
|
runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
|
|
1092
1179
|
llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
|
|
1093
1180
|
llmModel?: string | undefined;
|
|
1181
|
+
responseMode?: "balanced" | "fast" | "smart" | undefined;
|
|
1094
1182
|
fileIds?: string[] | undefined;
|
|
1095
1183
|
clientMessageId?: string | undefined;
|
|
1096
1184
|
skill?: string | undefined;
|
|
1097
|
-
mode?: "plan" | "
|
|
1185
|
+
mode?: "plan" | "approve" | "balanced" | "bypass" | "execute" | undefined;
|
|
1098
1186
|
};
|
|
1099
1187
|
} & {
|
|
1100
1188
|
param: {
|
|
@@ -1114,21 +1202,25 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1114
1202
|
text: string;
|
|
1115
1203
|
timezone?: string | undefined;
|
|
1116
1204
|
locale?: "en" | "es" | "pt" | "it" | undefined;
|
|
1205
|
+
pageContext?: {
|
|
1206
|
+
label: string;
|
|
1207
|
+
} | undefined;
|
|
1117
1208
|
workspaceScope?: "open" | "strict" | undefined;
|
|
1118
1209
|
questionPresentation?: "text" | "card" | undefined;
|
|
1119
1210
|
workspaceExternalId?: string | undefined;
|
|
1120
1211
|
goal?: {
|
|
1121
1212
|
objective: string;
|
|
1122
1213
|
criteria?: string[] | undefined;
|
|
1123
|
-
runway?: "
|
|
1214
|
+
runway?: "long" | "quick" | "normal" | undefined;
|
|
1124
1215
|
} | undefined;
|
|
1125
1216
|
runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
|
|
1126
1217
|
llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
|
|
1127
1218
|
llmModel?: string | undefined;
|
|
1219
|
+
responseMode?: "balanced" | "fast" | "smart" | undefined;
|
|
1128
1220
|
fileIds?: string[] | undefined;
|
|
1129
1221
|
clientMessageId?: string | undefined;
|
|
1130
1222
|
skill?: string | undefined;
|
|
1131
|
-
mode?: "plan" | "
|
|
1223
|
+
mode?: "plan" | "approve" | "balanced" | "bypass" | "execute" | undefined;
|
|
1132
1224
|
};
|
|
1133
1225
|
} & {
|
|
1134
1226
|
param: {
|
|
@@ -1148,21 +1240,25 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1148
1240
|
text: string;
|
|
1149
1241
|
timezone?: string | undefined;
|
|
1150
1242
|
locale?: "en" | "es" | "pt" | "it" | undefined;
|
|
1243
|
+
pageContext?: {
|
|
1244
|
+
label: string;
|
|
1245
|
+
} | undefined;
|
|
1151
1246
|
workspaceScope?: "open" | "strict" | undefined;
|
|
1152
1247
|
questionPresentation?: "text" | "card" | undefined;
|
|
1153
1248
|
workspaceExternalId?: string | undefined;
|
|
1154
1249
|
goal?: {
|
|
1155
1250
|
objective: string;
|
|
1156
1251
|
criteria?: string[] | undefined;
|
|
1157
|
-
runway?: "
|
|
1252
|
+
runway?: "long" | "quick" | "normal" | undefined;
|
|
1158
1253
|
} | undefined;
|
|
1159
1254
|
runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
|
|
1160
1255
|
llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
|
|
1161
1256
|
llmModel?: string | undefined;
|
|
1257
|
+
responseMode?: "balanced" | "fast" | "smart" | undefined;
|
|
1162
1258
|
fileIds?: string[] | undefined;
|
|
1163
1259
|
clientMessageId?: string | undefined;
|
|
1164
1260
|
skill?: string | undefined;
|
|
1165
|
-
mode?: "plan" | "
|
|
1261
|
+
mode?: "plan" | "approve" | "balanced" | "bypass" | "execute" | undefined;
|
|
1166
1262
|
};
|
|
1167
1263
|
} & {
|
|
1168
1264
|
param: {
|
|
@@ -1182,21 +1278,25 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1182
1278
|
text: string;
|
|
1183
1279
|
timezone?: string | undefined;
|
|
1184
1280
|
locale?: "en" | "es" | "pt" | "it" | undefined;
|
|
1281
|
+
pageContext?: {
|
|
1282
|
+
label: string;
|
|
1283
|
+
} | undefined;
|
|
1185
1284
|
workspaceScope?: "open" | "strict" | undefined;
|
|
1186
1285
|
questionPresentation?: "text" | "card" | undefined;
|
|
1187
1286
|
workspaceExternalId?: string | undefined;
|
|
1188
1287
|
goal?: {
|
|
1189
1288
|
objective: string;
|
|
1190
1289
|
criteria?: string[] | undefined;
|
|
1191
|
-
runway?: "
|
|
1290
|
+
runway?: "long" | "quick" | "normal" | undefined;
|
|
1192
1291
|
} | undefined;
|
|
1193
1292
|
runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
|
|
1194
1293
|
llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
|
|
1195
1294
|
llmModel?: string | undefined;
|
|
1295
|
+
responseMode?: "balanced" | "fast" | "smart" | undefined;
|
|
1196
1296
|
fileIds?: string[] | undefined;
|
|
1197
1297
|
clientMessageId?: string | undefined;
|
|
1198
1298
|
skill?: string | undefined;
|
|
1199
|
-
mode?: "plan" | "
|
|
1299
|
+
mode?: "plan" | "approve" | "balanced" | "bypass" | "execute" | undefined;
|
|
1200
1300
|
};
|
|
1201
1301
|
} & {
|
|
1202
1302
|
param: {
|
|
@@ -1282,8 +1382,8 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1282
1382
|
};
|
|
1283
1383
|
};
|
|
1284
1384
|
output: {
|
|
1285
|
-
readonly runId: import('
|
|
1286
|
-
readonly status: import('
|
|
1385
|
+
readonly runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId;
|
|
1386
|
+
readonly status: import('../../../../apps/belong-cloud/src/features/tasks/task.repo').ActiveTaskStatus;
|
|
1287
1387
|
} | null;
|
|
1288
1388
|
outputFormat: "json";
|
|
1289
1389
|
status: import('hono/utils/http-status').ContentfulStatusCode;
|
|
@@ -1319,7 +1419,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1319
1419
|
output: {
|
|
1320
1420
|
status: "compacted";
|
|
1321
1421
|
messagesCompacted: number;
|
|
1322
|
-
summaryMessageId: import('
|
|
1422
|
+
summaryMessageId: import('../../../../apps/belong-cloud/src/platform/ids').MessageId;
|
|
1323
1423
|
};
|
|
1324
1424
|
outputFormat: "json";
|
|
1325
1425
|
status: 200;
|
|
@@ -1609,6 +1709,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1609
1709
|
totalCacheReadInputTokens: number;
|
|
1610
1710
|
totalCacheWriteInputTokens: number;
|
|
1611
1711
|
turns: number;
|
|
1712
|
+
weightedTokens: number;
|
|
1612
1713
|
historyChars: number;
|
|
1613
1714
|
autoCompactThresholdChars: number;
|
|
1614
1715
|
};
|
|
@@ -1644,7 +1745,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1644
1745
|
};
|
|
1645
1746
|
};
|
|
1646
1747
|
output: {
|
|
1647
|
-
exportId: import('
|
|
1748
|
+
exportId: import('../../../../apps/belong-cloud/src/platform/ids').SessionExportId;
|
|
1648
1749
|
};
|
|
1649
1750
|
outputFormat: "json";
|
|
1650
1751
|
status: 202;
|
|
@@ -1683,7 +1784,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1683
1784
|
};
|
|
1684
1785
|
};
|
|
1685
1786
|
output: {
|
|
1686
|
-
exportId: import('
|
|
1787
|
+
exportId: import('../../../../apps/belong-cloud/src/platform/ids').SessionExportId;
|
|
1687
1788
|
status: "failed" | "queued" | "running" | "ready";
|
|
1688
1789
|
error: string | null;
|
|
1689
1790
|
};
|
|
@@ -1761,6 +1862,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1761
1862
|
readonly totalInputTokens: number;
|
|
1762
1863
|
readonly totalOutputTokens: number;
|
|
1763
1864
|
readonly totalTokens: number;
|
|
1865
|
+
readonly totalWeightedTokens: number;
|
|
1764
1866
|
readonly totalCacheReadInputTokens: number;
|
|
1765
1867
|
readonly totalCacheWriteInputTokens: number;
|
|
1766
1868
|
readonly turns: number;
|
|
@@ -1805,6 +1907,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1805
1907
|
readonly totalInputTokens: number;
|
|
1806
1908
|
readonly totalOutputTokens: number;
|
|
1807
1909
|
readonly totalTokens: number;
|
|
1910
|
+
readonly totalWeightedTokens: number;
|
|
1808
1911
|
readonly totalCacheReadInputTokens: number;
|
|
1809
1912
|
readonly totalCacheWriteInputTokens: number;
|
|
1810
1913
|
readonly turns: number;
|
|
@@ -1817,6 +1920,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1817
1920
|
readonly inputTokens: number;
|
|
1818
1921
|
readonly outputTokens: number;
|
|
1819
1922
|
readonly totalTokens: number;
|
|
1923
|
+
readonly weightedTokens: number;
|
|
1820
1924
|
}[];
|
|
1821
1925
|
};
|
|
1822
1926
|
outputFormat: "json";
|
|
@@ -1825,6 +1929,32 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1825
1929
|
}>;
|
|
1826
1930
|
};
|
|
1827
1931
|
};
|
|
1932
|
+
} & {
|
|
1933
|
+
v1: {
|
|
1934
|
+
usage: import('hono/client').ClientRequest<string, "/v1/usage", {
|
|
1935
|
+
$get: {
|
|
1936
|
+
input: {};
|
|
1937
|
+
output: {
|
|
1938
|
+
timeZone: "UTC";
|
|
1939
|
+
asOf: string;
|
|
1940
|
+
days: {
|
|
1941
|
+
date: string;
|
|
1942
|
+
weightedTokens: number;
|
|
1943
|
+
}[];
|
|
1944
|
+
today: {
|
|
1945
|
+
date: string;
|
|
1946
|
+
weightedTokens: number;
|
|
1947
|
+
};
|
|
1948
|
+
monthToDate: {
|
|
1949
|
+
from: string;
|
|
1950
|
+
weightedTokens: number;
|
|
1951
|
+
};
|
|
1952
|
+
};
|
|
1953
|
+
outputFormat: "json";
|
|
1954
|
+
status: 200;
|
|
1955
|
+
};
|
|
1956
|
+
}>;
|
|
1957
|
+
};
|
|
1828
1958
|
} & {
|
|
1829
1959
|
v1: {
|
|
1830
1960
|
sessions: {
|
|
@@ -1945,7 +2075,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1945
2075
|
} | {
|
|
1946
2076
|
input: {};
|
|
1947
2077
|
output: {
|
|
1948
|
-
reportId: import('
|
|
2078
|
+
reportId: import('../../../../apps/belong-cloud/src/platform/ids').IssueReportId;
|
|
1949
2079
|
};
|
|
1950
2080
|
outputFormat: "json";
|
|
1951
2081
|
status: 202;
|
|
@@ -2039,7 +2169,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
2039
2169
|
output: {
|
|
2040
2170
|
status: string;
|
|
2041
2171
|
recalledMessages: readonly {
|
|
2042
|
-
readonly messageId: import('
|
|
2172
|
+
readonly messageId: import('../../../../apps/belong-cloud/src/platform/ids').MessageId;
|
|
2043
2173
|
readonly clientMessageId: string | null;
|
|
2044
2174
|
readonly text: string;
|
|
2045
2175
|
}[];
|
|
@@ -2127,9 +2257,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
2127
2257
|
};
|
|
2128
2258
|
output: {
|
|
2129
2259
|
continuation?: {
|
|
2130
|
-
readonly messageId: import('
|
|
2131
|
-
readonly taskId: import('
|
|
2132
|
-
readonly runId: import('
|
|
2260
|
+
readonly messageId: import('../../../../apps/belong-cloud/src/platform/ids').MessageId;
|
|
2261
|
+
readonly taskId: import('../../../../apps/belong-cloud/src/platform/ids').TaskId;
|
|
2262
|
+
readonly runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId;
|
|
2133
2263
|
readonly text: string;
|
|
2134
2264
|
} | undefined;
|
|
2135
2265
|
status: "accepted";
|
|
@@ -2229,13 +2359,13 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
2229
2359
|
};
|
|
2230
2360
|
output: {
|
|
2231
2361
|
continuation?: {
|
|
2232
|
-
readonly messageId: import('
|
|
2233
|
-
readonly taskId: import('
|
|
2234
|
-
readonly runId: import('
|
|
2362
|
+
readonly messageId: import('../../../../apps/belong-cloud/src/platform/ids').MessageId;
|
|
2363
|
+
readonly taskId: import('../../../../apps/belong-cloud/src/platform/ids').TaskId;
|
|
2364
|
+
readonly runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId;
|
|
2235
2365
|
readonly text: string;
|
|
2236
2366
|
} | undefined;
|
|
2237
2367
|
status: "accepted";
|
|
2238
|
-
questionStatus: import('
|
|
2368
|
+
questionStatus: import('../../../../apps/belong-cloud/src/features/runs/run-event.types').QuestionState;
|
|
2239
2369
|
};
|
|
2240
2370
|
outputFormat: "json";
|
|
2241
2371
|
status: 200;
|
|
@@ -2308,7 +2438,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
2308
2438
|
};
|
|
2309
2439
|
} | undefined;
|
|
2310
2440
|
type: string;
|
|
2311
|
-
questionStatus: import('
|
|
2441
|
+
questionStatus: import('../../../../apps/belong-cloud/src/features/runs/run-event.types').QuestionState;
|
|
2312
2442
|
};
|
|
2313
2443
|
};
|
|
2314
2444
|
outputFormat: "json";
|
|
@@ -2407,7 +2537,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
2407
2537
|
} | {
|
|
2408
2538
|
input: {};
|
|
2409
2539
|
output: {
|
|
2410
|
-
fileId: import('
|
|
2540
|
+
fileId: import('../../../../apps/belong-cloud/src/platform/ids').FileId;
|
|
2411
2541
|
};
|
|
2412
2542
|
outputFormat: "json";
|
|
2413
2543
|
status: 201;
|
|
@@ -2434,7 +2564,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
2434
2564
|
input: {};
|
|
2435
2565
|
output: {
|
|
2436
2566
|
files: {
|
|
2437
|
-
fileId: import('
|
|
2567
|
+
fileId: import('../../../../apps/belong-cloud/src/platform/ids').FileId;
|
|
2438
2568
|
filename: string;
|
|
2439
2569
|
mimeType: string;
|
|
2440
2570
|
sizeBytes: number;
|
|
@@ -2457,7 +2587,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
2457
2587
|
};
|
|
2458
2588
|
};
|
|
2459
2589
|
output: {
|
|
2460
|
-
fileId: import('
|
|
2590
|
+
fileId: import('../../../../apps/belong-cloud/src/platform/ids').FileId;
|
|
2461
2591
|
originalFilename: string;
|
|
2462
2592
|
mimeType: string;
|
|
2463
2593
|
sizeBytes: number;
|
|
@@ -2516,7 +2646,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
2516
2646
|
readonly status: "pending";
|
|
2517
2647
|
} | {
|
|
2518
2648
|
readonly status: "ready";
|
|
2519
|
-
readonly kind: import('
|
|
2649
|
+
readonly kind: import('../../../../apps/belong-cloud/src/features/files/preview.types').PreviewKind;
|
|
2520
2650
|
readonly pageCount?: number | undefined;
|
|
2521
2651
|
} | {
|
|
2522
2652
|
readonly status: "too_large";
|
|
@@ -3841,7 +3971,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
3841
3971
|
readonly status: "pending";
|
|
3842
3972
|
} | {
|
|
3843
3973
|
readonly status: "ready";
|
|
3844
|
-
readonly kind: import('
|
|
3974
|
+
readonly kind: import('../../../../apps/belong-cloud/src/features/files/preview.types').PreviewKind;
|
|
3845
3975
|
readonly pageCount?: number | undefined;
|
|
3846
3976
|
readonly totalPages?: number | undefined;
|
|
3847
3977
|
} | {
|
|
@@ -3958,6 +4088,415 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
3958
4088
|
};
|
|
3959
4089
|
};
|
|
3960
4090
|
};
|
|
4091
|
+
} & {
|
|
4092
|
+
v1: {
|
|
4093
|
+
"live-artifacts": import('hono/client').ClientRequest<string, "/v1/live-artifacts", {
|
|
4094
|
+
$get: {
|
|
4095
|
+
input: {};
|
|
4096
|
+
output: {
|
|
4097
|
+
readonly artifacts: readonly {
|
|
4098
|
+
readonly liveArtifactId: import('../../../../apps/belong-cloud/src/platform/ids').LiveArtifactId;
|
|
4099
|
+
readonly workspaceId: import('../../../../apps/belong-cloud/src/platform/ids').WorkspaceId | null;
|
|
4100
|
+
readonly name: string;
|
|
4101
|
+
readonly description: string | null;
|
|
4102
|
+
readonly currentVersion: number;
|
|
4103
|
+
readonly shareSlug: string;
|
|
4104
|
+
readonly shareExpiresAt: string | null;
|
|
4105
|
+
readonly shareRevokedAt: string | null;
|
|
4106
|
+
readonly seriesId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId | null;
|
|
4107
|
+
readonly lastRefreshedAt: string | null;
|
|
4108
|
+
readonly createdAt: string;
|
|
4109
|
+
readonly updatedAt: string;
|
|
4110
|
+
readonly cadence: {
|
|
4111
|
+
readonly intervalMinutes: number | null;
|
|
4112
|
+
readonly timezone: string;
|
|
4113
|
+
readonly recurrenceKind: import('../../../../apps/belong-cloud/src/features/task-schedules/task-schedule.schemas').RecurrenceKind;
|
|
4114
|
+
readonly anchorAt: string;
|
|
4115
|
+
} | null;
|
|
4116
|
+
}[];
|
|
4117
|
+
readonly slotsUsed: number;
|
|
4118
|
+
readonly slotLimit: number;
|
|
4119
|
+
};
|
|
4120
|
+
outputFormat: "json";
|
|
4121
|
+
status: import('hono/utils/http-status').ContentfulStatusCode;
|
|
4122
|
+
};
|
|
4123
|
+
$post: {
|
|
4124
|
+
input: {
|
|
4125
|
+
json: {
|
|
4126
|
+
name: string;
|
|
4127
|
+
artifactId: string;
|
|
4128
|
+
description?: string | undefined;
|
|
4129
|
+
};
|
|
4130
|
+
};
|
|
4131
|
+
output: {
|
|
4132
|
+
error: {
|
|
4133
|
+
type: string;
|
|
4134
|
+
requiredScope: string;
|
|
4135
|
+
};
|
|
4136
|
+
};
|
|
4137
|
+
outputFormat: "json";
|
|
4138
|
+
status: 403;
|
|
4139
|
+
} | {
|
|
4140
|
+
input: {
|
|
4141
|
+
json: {
|
|
4142
|
+
name: string;
|
|
4143
|
+
artifactId: string;
|
|
4144
|
+
description?: string | undefined;
|
|
4145
|
+
};
|
|
4146
|
+
};
|
|
4147
|
+
output: {
|
|
4148
|
+
readonly liveArtifactId: import('../../../../apps/belong-cloud/src/platform/ids').LiveArtifactId;
|
|
4149
|
+
readonly version: 1;
|
|
4150
|
+
};
|
|
4151
|
+
outputFormat: "json";
|
|
4152
|
+
status: 201;
|
|
4153
|
+
} | {
|
|
4154
|
+
input: {
|
|
4155
|
+
json: {
|
|
4156
|
+
name: string;
|
|
4157
|
+
artifactId: string;
|
|
4158
|
+
description?: string | undefined;
|
|
4159
|
+
};
|
|
4160
|
+
};
|
|
4161
|
+
output: {
|
|
4162
|
+
error: {
|
|
4163
|
+
type: "quota_exceeded";
|
|
4164
|
+
existing: readonly {
|
|
4165
|
+
readonly liveArtifactId: import('../../../../apps/belong-cloud/src/platform/ids').LiveArtifactId;
|
|
4166
|
+
readonly workspaceId: import('../../../../apps/belong-cloud/src/platform/ids').WorkspaceId | null;
|
|
4167
|
+
readonly name: string;
|
|
4168
|
+
readonly description: string | null;
|
|
4169
|
+
readonly currentVersion: number;
|
|
4170
|
+
readonly shareSlug: string;
|
|
4171
|
+
readonly shareExpiresAt: string | null;
|
|
4172
|
+
readonly shareRevokedAt: string | null;
|
|
4173
|
+
readonly seriesId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId | null;
|
|
4174
|
+
readonly lastRefreshedAt: string | null;
|
|
4175
|
+
readonly createdAt: string;
|
|
4176
|
+
readonly updatedAt: string;
|
|
4177
|
+
}[];
|
|
4178
|
+
};
|
|
4179
|
+
};
|
|
4180
|
+
outputFormat: "json";
|
|
4181
|
+
status: 409;
|
|
4182
|
+
} | {
|
|
4183
|
+
input: {
|
|
4184
|
+
json: {
|
|
4185
|
+
name: string;
|
|
4186
|
+
artifactId: string;
|
|
4187
|
+
description?: string | undefined;
|
|
4188
|
+
};
|
|
4189
|
+
};
|
|
4190
|
+
output: {
|
|
4191
|
+
error: {
|
|
4192
|
+
type: "name_taken";
|
|
4193
|
+
liveArtifactId: import('../../../../apps/belong-cloud/src/platform/ids').LiveArtifactId;
|
|
4194
|
+
};
|
|
4195
|
+
};
|
|
4196
|
+
outputFormat: "json";
|
|
4197
|
+
status: 409;
|
|
4198
|
+
} | {
|
|
4199
|
+
input: {
|
|
4200
|
+
json: {
|
|
4201
|
+
name: string;
|
|
4202
|
+
artifactId: string;
|
|
4203
|
+
description?: string | undefined;
|
|
4204
|
+
};
|
|
4205
|
+
};
|
|
4206
|
+
output: {
|
|
4207
|
+
error: {
|
|
4208
|
+
type: string;
|
|
4209
|
+
};
|
|
4210
|
+
};
|
|
4211
|
+
outputFormat: "json";
|
|
4212
|
+
status: 404;
|
|
4213
|
+
};
|
|
4214
|
+
}>;
|
|
4215
|
+
};
|
|
4216
|
+
} & {
|
|
4217
|
+
v1: {
|
|
4218
|
+
"live-artifacts": {
|
|
4219
|
+
":id": import('hono/client').ClientRequest<string, "/v1/live-artifacts/:id", {
|
|
4220
|
+
$get: {
|
|
4221
|
+
input: {
|
|
4222
|
+
param: {
|
|
4223
|
+
id: string;
|
|
4224
|
+
};
|
|
4225
|
+
};
|
|
4226
|
+
output: {
|
|
4227
|
+
readonly liveArtifactId: import('../../../../apps/belong-cloud/src/platform/ids').LiveArtifactId;
|
|
4228
|
+
readonly workspaceId: import('../../../../apps/belong-cloud/src/platform/ids').WorkspaceId | null;
|
|
4229
|
+
readonly name: string;
|
|
4230
|
+
readonly description: string | null;
|
|
4231
|
+
readonly currentVersion: number;
|
|
4232
|
+
readonly shareSlug: string;
|
|
4233
|
+
readonly shareExpiresAt: string | null;
|
|
4234
|
+
readonly shareRevokedAt: string | null;
|
|
4235
|
+
readonly seriesId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId | null;
|
|
4236
|
+
readonly lastRefreshedAt: string | null;
|
|
4237
|
+
readonly createdAt: string;
|
|
4238
|
+
readonly updatedAt: string;
|
|
4239
|
+
readonly versions: readonly {
|
|
4240
|
+
readonly version: number;
|
|
4241
|
+
readonly artifactId: import('../../../../apps/belong-cloud/src/platform/ids').ArtifactId;
|
|
4242
|
+
readonly mimeType: string;
|
|
4243
|
+
readonly runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId | null;
|
|
4244
|
+
readonly summary: string | null;
|
|
4245
|
+
readonly publishedAt: string;
|
|
4246
|
+
}[];
|
|
4247
|
+
readonly cadence: {
|
|
4248
|
+
readonly intervalMinutes: number | null;
|
|
4249
|
+
readonly timezone: string;
|
|
4250
|
+
readonly recurrenceKind: import('../../../../apps/belong-cloud/src/features/task-schedules/task-schedule.schemas').RecurrenceKind;
|
|
4251
|
+
readonly anchorAt: string;
|
|
4252
|
+
} | null;
|
|
4253
|
+
};
|
|
4254
|
+
outputFormat: "json";
|
|
4255
|
+
status: import('hono/utils/http-status').ContentfulStatusCode;
|
|
4256
|
+
} | {
|
|
4257
|
+
input: {
|
|
4258
|
+
param: {
|
|
4259
|
+
id: string;
|
|
4260
|
+
};
|
|
4261
|
+
};
|
|
4262
|
+
output: {
|
|
4263
|
+
error: {
|
|
4264
|
+
type: string;
|
|
4265
|
+
};
|
|
4266
|
+
};
|
|
4267
|
+
outputFormat: "json";
|
|
4268
|
+
status: 404;
|
|
4269
|
+
};
|
|
4270
|
+
$patch: {
|
|
4271
|
+
input: {
|
|
4272
|
+
param: {
|
|
4273
|
+
id: string;
|
|
4274
|
+
};
|
|
4275
|
+
} & {
|
|
4276
|
+
json: {
|
|
4277
|
+
name?: string | undefined;
|
|
4278
|
+
description?: string | undefined;
|
|
4279
|
+
seriesId?: string | null | undefined;
|
|
4280
|
+
};
|
|
4281
|
+
};
|
|
4282
|
+
output: null;
|
|
4283
|
+
outputFormat: "body";
|
|
4284
|
+
status: 204;
|
|
4285
|
+
} | {
|
|
4286
|
+
input: {
|
|
4287
|
+
param: {
|
|
4288
|
+
id: string;
|
|
4289
|
+
};
|
|
4290
|
+
} & {
|
|
4291
|
+
json: {
|
|
4292
|
+
name?: string | undefined;
|
|
4293
|
+
description?: string | undefined;
|
|
4294
|
+
seriesId?: string | null | undefined;
|
|
4295
|
+
};
|
|
4296
|
+
};
|
|
4297
|
+
output: {
|
|
4298
|
+
error: {
|
|
4299
|
+
type: string;
|
|
4300
|
+
requiredScope: string;
|
|
4301
|
+
};
|
|
4302
|
+
};
|
|
4303
|
+
outputFormat: "json";
|
|
4304
|
+
status: 403;
|
|
4305
|
+
} | {
|
|
4306
|
+
input: {
|
|
4307
|
+
param: {
|
|
4308
|
+
id: string;
|
|
4309
|
+
};
|
|
4310
|
+
} & {
|
|
4311
|
+
json: {
|
|
4312
|
+
name?: string | undefined;
|
|
4313
|
+
description?: string | undefined;
|
|
4314
|
+
seriesId?: string | null | undefined;
|
|
4315
|
+
};
|
|
4316
|
+
};
|
|
4317
|
+
output: {
|
|
4318
|
+
error: {
|
|
4319
|
+
type: string;
|
|
4320
|
+
};
|
|
4321
|
+
};
|
|
4322
|
+
outputFormat: "json";
|
|
4323
|
+
status: 404;
|
|
4324
|
+
} | {
|
|
4325
|
+
input: {
|
|
4326
|
+
param: {
|
|
4327
|
+
id: string;
|
|
4328
|
+
};
|
|
4329
|
+
} & {
|
|
4330
|
+
json: {
|
|
4331
|
+
name?: string | undefined;
|
|
4332
|
+
description?: string | undefined;
|
|
4333
|
+
seriesId?: string | null | undefined;
|
|
4334
|
+
};
|
|
4335
|
+
};
|
|
4336
|
+
output: {
|
|
4337
|
+
error: {
|
|
4338
|
+
type: string;
|
|
4339
|
+
};
|
|
4340
|
+
};
|
|
4341
|
+
outputFormat: "json";
|
|
4342
|
+
status: 409;
|
|
4343
|
+
};
|
|
4344
|
+
$delete: {
|
|
4345
|
+
input: {
|
|
4346
|
+
param: {
|
|
4347
|
+
id: string;
|
|
4348
|
+
};
|
|
4349
|
+
};
|
|
4350
|
+
output: null;
|
|
4351
|
+
outputFormat: "body";
|
|
4352
|
+
status: 204;
|
|
4353
|
+
} | {
|
|
4354
|
+
input: {
|
|
4355
|
+
param: {
|
|
4356
|
+
id: string;
|
|
4357
|
+
};
|
|
4358
|
+
};
|
|
4359
|
+
output: {
|
|
4360
|
+
error: {
|
|
4361
|
+
type: string;
|
|
4362
|
+
requiredScope: string;
|
|
4363
|
+
};
|
|
4364
|
+
};
|
|
4365
|
+
outputFormat: "json";
|
|
4366
|
+
status: 403;
|
|
4367
|
+
} | {
|
|
4368
|
+
input: {
|
|
4369
|
+
param: {
|
|
4370
|
+
id: string;
|
|
4371
|
+
};
|
|
4372
|
+
};
|
|
4373
|
+
output: {
|
|
4374
|
+
error: {
|
|
4375
|
+
type: string;
|
|
4376
|
+
};
|
|
4377
|
+
};
|
|
4378
|
+
outputFormat: "json";
|
|
4379
|
+
status: 404;
|
|
4380
|
+
};
|
|
4381
|
+
}>;
|
|
4382
|
+
};
|
|
4383
|
+
};
|
|
4384
|
+
} & {
|
|
4385
|
+
v1: {
|
|
4386
|
+
"live-artifacts": {
|
|
4387
|
+
":id": {
|
|
4388
|
+
share: import('hono/client').ClientRequest<string, "/v1/live-artifacts/:id/share", {
|
|
4389
|
+
$post: {
|
|
4390
|
+
input: {
|
|
4391
|
+
param: {
|
|
4392
|
+
id: string;
|
|
4393
|
+
};
|
|
4394
|
+
} & {
|
|
4395
|
+
json: {
|
|
4396
|
+
ttlSeconds?: unknown;
|
|
4397
|
+
};
|
|
4398
|
+
};
|
|
4399
|
+
output: {
|
|
4400
|
+
error: {
|
|
4401
|
+
type: string;
|
|
4402
|
+
requiredScope: string;
|
|
4403
|
+
};
|
|
4404
|
+
};
|
|
4405
|
+
outputFormat: "json";
|
|
4406
|
+
status: 403;
|
|
4407
|
+
} | {
|
|
4408
|
+
input: {
|
|
4409
|
+
param: {
|
|
4410
|
+
id: string;
|
|
4411
|
+
};
|
|
4412
|
+
} & {
|
|
4413
|
+
json: {
|
|
4414
|
+
ttlSeconds?: unknown;
|
|
4415
|
+
};
|
|
4416
|
+
};
|
|
4417
|
+
output: {
|
|
4418
|
+
shareUrl: string;
|
|
4419
|
+
expiresAt: string;
|
|
4420
|
+
rotated: boolean;
|
|
4421
|
+
};
|
|
4422
|
+
outputFormat: "json";
|
|
4423
|
+
status: 201;
|
|
4424
|
+
} | {
|
|
4425
|
+
input: {
|
|
4426
|
+
param: {
|
|
4427
|
+
id: string;
|
|
4428
|
+
};
|
|
4429
|
+
} & {
|
|
4430
|
+
json: {
|
|
4431
|
+
ttlSeconds?: unknown;
|
|
4432
|
+
};
|
|
4433
|
+
};
|
|
4434
|
+
output: {
|
|
4435
|
+
error: {
|
|
4436
|
+
type: string;
|
|
4437
|
+
};
|
|
4438
|
+
};
|
|
4439
|
+
outputFormat: "json";
|
|
4440
|
+
status: 404;
|
|
4441
|
+
};
|
|
4442
|
+
$delete: {
|
|
4443
|
+
input: {
|
|
4444
|
+
param: {
|
|
4445
|
+
id: string;
|
|
4446
|
+
};
|
|
4447
|
+
};
|
|
4448
|
+
output: null;
|
|
4449
|
+
outputFormat: "body";
|
|
4450
|
+
status: 204;
|
|
4451
|
+
} | {
|
|
4452
|
+
input: {
|
|
4453
|
+
param: {
|
|
4454
|
+
id: string;
|
|
4455
|
+
};
|
|
4456
|
+
};
|
|
4457
|
+
output: {
|
|
4458
|
+
error: {
|
|
4459
|
+
type: string;
|
|
4460
|
+
requiredScope: string;
|
|
4461
|
+
};
|
|
4462
|
+
};
|
|
4463
|
+
outputFormat: "json";
|
|
4464
|
+
status: 403;
|
|
4465
|
+
} | {
|
|
4466
|
+
input: {
|
|
4467
|
+
param: {
|
|
4468
|
+
id: string;
|
|
4469
|
+
};
|
|
4470
|
+
};
|
|
4471
|
+
output: {
|
|
4472
|
+
error: {
|
|
4473
|
+
type: string;
|
|
4474
|
+
};
|
|
4475
|
+
};
|
|
4476
|
+
outputFormat: "json";
|
|
4477
|
+
status: 404;
|
|
4478
|
+
};
|
|
4479
|
+
}>;
|
|
4480
|
+
};
|
|
4481
|
+
};
|
|
4482
|
+
};
|
|
4483
|
+
} & {
|
|
4484
|
+
share: {
|
|
4485
|
+
a: {
|
|
4486
|
+
":slug": import('hono/client').ClientRequest<string, "/share/a/:slug", {
|
|
4487
|
+
$get: {
|
|
4488
|
+
input: {
|
|
4489
|
+
param: {
|
|
4490
|
+
slug: string;
|
|
4491
|
+
};
|
|
4492
|
+
};
|
|
4493
|
+
output: {};
|
|
4494
|
+
outputFormat: string;
|
|
4495
|
+
status: import('hono/utils/http-status').StatusCode;
|
|
4496
|
+
};
|
|
4497
|
+
}>;
|
|
4498
|
+
};
|
|
4499
|
+
};
|
|
3961
4500
|
} & {
|
|
3962
4501
|
share: {
|
|
3963
4502
|
":token": import('hono/client').ClientRequest<string, "/share/:token", {
|
|
@@ -4091,20 +4630,6 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
4091
4630
|
};
|
|
4092
4631
|
outputFormat: "json";
|
|
4093
4632
|
status: 403;
|
|
4094
|
-
} | {
|
|
4095
|
-
input: {
|
|
4096
|
-
json: {
|
|
4097
|
-
sessionId?: string | undefined;
|
|
4098
|
-
capabilities?: ("stt" | "tts")[] | undefined;
|
|
4099
|
-
};
|
|
4100
|
-
};
|
|
4101
|
-
output: {
|
|
4102
|
-
error: {
|
|
4103
|
-
type: string;
|
|
4104
|
-
};
|
|
4105
|
-
};
|
|
4106
|
-
outputFormat: "json";
|
|
4107
|
-
status: 503;
|
|
4108
4633
|
} | {
|
|
4109
4634
|
input: {
|
|
4110
4635
|
json: {
|
|
@@ -4590,7 +5115,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
4590
5115
|
readonly sizeBytes: number;
|
|
4591
5116
|
readonly modifiedAt: string;
|
|
4592
5117
|
}[];
|
|
4593
|
-
state: "
|
|
5118
|
+
state: "fresh" | "restoring";
|
|
4594
5119
|
};
|
|
4595
5120
|
outputFormat: "json";
|
|
4596
5121
|
status: import('hono/utils/http-status').ContentfulStatusCode;
|
|
@@ -4684,7 +5209,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
4684
5209
|
} | {
|
|
4685
5210
|
input: {};
|
|
4686
5211
|
output: {
|
|
4687
|
-
fileId: import('
|
|
5212
|
+
fileId: import('../../../../apps/belong-cloud/src/platform/ids').FileId;
|
|
4688
5213
|
};
|
|
4689
5214
|
outputFormat: "json";
|
|
4690
5215
|
status: 201;
|
|
@@ -4712,6 +5237,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
4712
5237
|
query: {
|
|
4713
5238
|
tabId?: string | string[];
|
|
4714
5239
|
sessionId?: string | string[];
|
|
5240
|
+
bindSession?: string | string[];
|
|
4715
5241
|
};
|
|
4716
5242
|
};
|
|
4717
5243
|
output: {};
|
|
@@ -4721,6 +5247,88 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
4721
5247
|
}>;
|
|
4722
5248
|
};
|
|
4723
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
|
+
};
|
|
4724
5332
|
} & {
|
|
4725
5333
|
v1: {
|
|
4726
5334
|
browser: {
|
|
@@ -5264,12 +5872,27 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
5264
5872
|
};
|
|
5265
5873
|
};
|
|
5266
5874
|
output: {
|
|
5267
|
-
error: {
|
|
5268
|
-
type: "browser_disconnected";
|
|
5269
|
-
};
|
|
5875
|
+
error: {
|
|
5876
|
+
type: "browser_disconnected";
|
|
5877
|
+
};
|
|
5878
|
+
};
|
|
5879
|
+
outputFormat: "json";
|
|
5880
|
+
status: 502;
|
|
5881
|
+
};
|
|
5882
|
+
}>;
|
|
5883
|
+
};
|
|
5884
|
+
};
|
|
5885
|
+
} & {
|
|
5886
|
+
v1: {
|
|
5887
|
+
config: {
|
|
5888
|
+
"response-modes": import('hono/client').ClientRequest<string, "/v1/config/response-modes", {
|
|
5889
|
+
$get: {
|
|
5890
|
+
input: {};
|
|
5891
|
+
output: {
|
|
5892
|
+
enabled: boolean;
|
|
5270
5893
|
};
|
|
5271
5894
|
outputFormat: "json";
|
|
5272
|
-
status:
|
|
5895
|
+
status: 200;
|
|
5273
5896
|
};
|
|
5274
5897
|
}>;
|
|
5275
5898
|
};
|
|
@@ -5283,12 +5906,19 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
5283
5906
|
output: null;
|
|
5284
5907
|
outputFormat: "body";
|
|
5285
5908
|
status: 204;
|
|
5909
|
+
} | {
|
|
5910
|
+
input: {};
|
|
5911
|
+
output: {
|
|
5912
|
+
error: string;
|
|
5913
|
+
};
|
|
5914
|
+
outputFormat: "json";
|
|
5915
|
+
status: 400;
|
|
5286
5916
|
} | {
|
|
5287
5917
|
input: {};
|
|
5288
5918
|
output: {
|
|
5289
5919
|
theme: {
|
|
5290
5920
|
mode?: "light" | "dark" | undefined;
|
|
5291
|
-
side?: "
|
|
5921
|
+
side?: "right" | "left" | undefined;
|
|
5292
5922
|
density?: "comfortable" | "compact" | undefined;
|
|
5293
5923
|
panelWidth?: number | undefined;
|
|
5294
5924
|
fontFamily?: string | undefined;
|
|
@@ -5774,7 +6404,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
5774
6404
|
readonly name: string;
|
|
5775
6405
|
readonly description: string;
|
|
5776
6406
|
readonly group: string;
|
|
5777
|
-
readonly source: import('
|
|
6407
|
+
readonly source: import('../../../../apps/belong-cloud/src/features/skills/skill.service').SkillSource;
|
|
5778
6408
|
}[];
|
|
5779
6409
|
commands: readonly {
|
|
5780
6410
|
readonly name: string;
|
|
@@ -5902,7 +6532,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
5902
6532
|
};
|
|
5903
6533
|
output: {
|
|
5904
6534
|
state: "active";
|
|
5905
|
-
grantId: import('
|
|
6535
|
+
grantId: import('../../../../apps/belong-cloud/src/platform/ids').AgentGrantId;
|
|
5906
6536
|
expiresAt: string;
|
|
5907
6537
|
};
|
|
5908
6538
|
outputFormat: "json";
|
|
@@ -5918,7 +6548,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
5918
6548
|
};
|
|
5919
6549
|
output: {
|
|
5920
6550
|
state: "preparing";
|
|
5921
|
-
grantId: import('
|
|
6551
|
+
grantId: import('../../../../apps/belong-cloud/src/platform/ids').AgentGrantId;
|
|
5922
6552
|
expiresAt: string;
|
|
5923
6553
|
};
|
|
5924
6554
|
outputFormat: "json";
|
|
@@ -6119,7 +6749,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6119
6749
|
};
|
|
6120
6750
|
output: {
|
|
6121
6751
|
status: "active" | "expired" | "revoked" | "reauth_required" | "preparing" | "install_degraded";
|
|
6122
|
-
grantId: import('
|
|
6752
|
+
grantId: import('../../../../apps/belong-cloud/src/platform/ids').AgentGrantId;
|
|
6123
6753
|
provider: string;
|
|
6124
6754
|
scopeExternalId: string;
|
|
6125
6755
|
grantedAt: string | null;
|
|
@@ -6147,7 +6777,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6147
6777
|
};
|
|
6148
6778
|
output: {
|
|
6149
6779
|
state: "preparing";
|
|
6150
|
-
grantId: import('
|
|
6780
|
+
grantId: import('../../../../apps/belong-cloud/src/platform/ids').AgentGrantId;
|
|
6151
6781
|
expiresAt: string;
|
|
6152
6782
|
};
|
|
6153
6783
|
outputFormat: "json";
|
|
@@ -6162,7 +6792,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6162
6792
|
};
|
|
6163
6793
|
output: {
|
|
6164
6794
|
state: "reauth_required";
|
|
6165
|
-
grantId: import('
|
|
6795
|
+
grantId: import('../../../../apps/belong-cloud/src/platform/ids').AgentGrantId | null;
|
|
6166
6796
|
expiresAt: string | null;
|
|
6167
6797
|
};
|
|
6168
6798
|
outputFormat: "json";
|
|
@@ -6300,10 +6930,20 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6300
6930
|
notification?: {
|
|
6301
6931
|
kind: "completion_email";
|
|
6302
6932
|
recipients?: string[] | undefined;
|
|
6933
|
+
copies?: {
|
|
6934
|
+
cc?: string[] | undefined;
|
|
6935
|
+
bcc?: string[] | undefined;
|
|
6936
|
+
replyTo?: string[] | undefined;
|
|
6937
|
+
} | undefined;
|
|
6303
6938
|
} | {
|
|
6304
6939
|
kind: "custom_email";
|
|
6305
6940
|
templatePath: string;
|
|
6306
6941
|
recipients?: string[] | undefined;
|
|
6942
|
+
copies?: {
|
|
6943
|
+
cc?: string[] | undefined;
|
|
6944
|
+
bcc?: string[] | undefined;
|
|
6945
|
+
replyTo?: string[] | undefined;
|
|
6946
|
+
} | undefined;
|
|
6307
6947
|
} | undefined;
|
|
6308
6948
|
title?: string | undefined;
|
|
6309
6949
|
mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
|
|
@@ -6322,6 +6962,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6322
6962
|
intervalMinutes: number;
|
|
6323
6963
|
} | undefined;
|
|
6324
6964
|
originatingSessionId?: string | undefined;
|
|
6965
|
+
locale?: "en" | "es" | "pt" | "it" | undefined;
|
|
6325
6966
|
workspaceExternalId?: string | undefined;
|
|
6326
6967
|
runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
|
|
6327
6968
|
llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
|
|
@@ -6347,10 +6988,20 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6347
6988
|
notification?: {
|
|
6348
6989
|
kind: "completion_email";
|
|
6349
6990
|
recipients?: string[] | undefined;
|
|
6991
|
+
copies?: {
|
|
6992
|
+
cc?: string[] | undefined;
|
|
6993
|
+
bcc?: string[] | undefined;
|
|
6994
|
+
replyTo?: string[] | undefined;
|
|
6995
|
+
} | undefined;
|
|
6350
6996
|
} | {
|
|
6351
6997
|
kind: "custom_email";
|
|
6352
6998
|
templatePath: string;
|
|
6353
6999
|
recipients?: string[] | undefined;
|
|
7000
|
+
copies?: {
|
|
7001
|
+
cc?: string[] | undefined;
|
|
7002
|
+
bcc?: string[] | undefined;
|
|
7003
|
+
replyTo?: string[] | undefined;
|
|
7004
|
+
} | undefined;
|
|
6354
7005
|
} | undefined;
|
|
6355
7006
|
title?: string | undefined;
|
|
6356
7007
|
mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
|
|
@@ -6369,6 +7020,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6369
7020
|
intervalMinutes: number;
|
|
6370
7021
|
} | undefined;
|
|
6371
7022
|
originatingSessionId?: string | undefined;
|
|
7023
|
+
locale?: "en" | "es" | "pt" | "it" | undefined;
|
|
6372
7024
|
workspaceExternalId?: string | undefined;
|
|
6373
7025
|
runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
|
|
6374
7026
|
llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
|
|
@@ -6376,12 +7028,12 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6376
7028
|
};
|
|
6377
7029
|
};
|
|
6378
7030
|
output: {
|
|
6379
|
-
taskScheduleId: import('
|
|
7031
|
+
taskScheduleId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId;
|
|
6380
7032
|
status: "failed" | "running" | "completed" | "scheduled";
|
|
6381
7033
|
scheduledFor: string;
|
|
6382
7034
|
seriesStatus: "completed" | "active" | "paused" | "deleted";
|
|
6383
7035
|
recurrence: {
|
|
6384
|
-
kind: "none" | "
|
|
7036
|
+
kind: "none" | "daily" | "weekdays" | "weekly" | "interval" | "manual";
|
|
6385
7037
|
};
|
|
6386
7038
|
nextRunAt: string | null;
|
|
6387
7039
|
title: string;
|
|
@@ -6399,10 +7051,20 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6399
7051
|
notification?: {
|
|
6400
7052
|
kind: "completion_email";
|
|
6401
7053
|
recipients?: string[] | undefined;
|
|
7054
|
+
copies?: {
|
|
7055
|
+
cc?: string[] | undefined;
|
|
7056
|
+
bcc?: string[] | undefined;
|
|
7057
|
+
replyTo?: string[] | undefined;
|
|
7058
|
+
} | undefined;
|
|
6402
7059
|
} | {
|
|
6403
7060
|
kind: "custom_email";
|
|
6404
7061
|
templatePath: string;
|
|
6405
7062
|
recipients?: string[] | undefined;
|
|
7063
|
+
copies?: {
|
|
7064
|
+
cc?: string[] | undefined;
|
|
7065
|
+
bcc?: string[] | undefined;
|
|
7066
|
+
replyTo?: string[] | undefined;
|
|
7067
|
+
} | undefined;
|
|
6406
7068
|
} | undefined;
|
|
6407
7069
|
title?: string | undefined;
|
|
6408
7070
|
mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
|
|
@@ -6421,6 +7083,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6421
7083
|
intervalMinutes: number;
|
|
6422
7084
|
} | undefined;
|
|
6423
7085
|
originatingSessionId?: string | undefined;
|
|
7086
|
+
locale?: "en" | "es" | "pt" | "it" | undefined;
|
|
6424
7087
|
workspaceExternalId?: string | undefined;
|
|
6425
7088
|
runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
|
|
6426
7089
|
llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
|
|
@@ -6445,10 +7108,20 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6445
7108
|
notification?: {
|
|
6446
7109
|
kind: "completion_email";
|
|
6447
7110
|
recipients?: string[] | undefined;
|
|
7111
|
+
copies?: {
|
|
7112
|
+
cc?: string[] | undefined;
|
|
7113
|
+
bcc?: string[] | undefined;
|
|
7114
|
+
replyTo?: string[] | undefined;
|
|
7115
|
+
} | undefined;
|
|
6448
7116
|
} | {
|
|
6449
7117
|
kind: "custom_email";
|
|
6450
7118
|
templatePath: string;
|
|
6451
7119
|
recipients?: string[] | undefined;
|
|
7120
|
+
copies?: {
|
|
7121
|
+
cc?: string[] | undefined;
|
|
7122
|
+
bcc?: string[] | undefined;
|
|
7123
|
+
replyTo?: string[] | undefined;
|
|
7124
|
+
} | undefined;
|
|
6452
7125
|
} | undefined;
|
|
6453
7126
|
title?: string | undefined;
|
|
6454
7127
|
mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
|
|
@@ -6467,6 +7140,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6467
7140
|
intervalMinutes: number;
|
|
6468
7141
|
} | undefined;
|
|
6469
7142
|
originatingSessionId?: string | undefined;
|
|
7143
|
+
locale?: "en" | "es" | "pt" | "it" | undefined;
|
|
6470
7144
|
workspaceExternalId?: string | undefined;
|
|
6471
7145
|
runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
|
|
6472
7146
|
llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
|
|
@@ -6493,13 +7167,13 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6493
7167
|
};
|
|
6494
7168
|
output: {
|
|
6495
7169
|
taskSchedules: {
|
|
6496
|
-
taskScheduleId: import('
|
|
7170
|
+
taskScheduleId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId;
|
|
6497
7171
|
shared: boolean;
|
|
6498
7172
|
title: string;
|
|
6499
7173
|
status: "completed" | "active" | "paused" | "deleted";
|
|
6500
7174
|
recurrence: {
|
|
6501
7175
|
intervalMinutes?: number | undefined;
|
|
6502
|
-
kind: "none" | "
|
|
7176
|
+
kind: "none" | "daily" | "weekdays" | "weekly" | "interval" | "manual";
|
|
6503
7177
|
};
|
|
6504
7178
|
timezone: string;
|
|
6505
7179
|
nextRunAt: string | null;
|
|
@@ -6598,16 +7272,31 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6598
7272
|
readonly revision: number;
|
|
6599
7273
|
readonly workspaceCount: number;
|
|
6600
7274
|
readonly sharedRecipients: readonly string[];
|
|
7275
|
+
readonly sharedCopies: {
|
|
7276
|
+
cc?: string[] | undefined;
|
|
7277
|
+
bcc?: string[] | undefined;
|
|
7278
|
+
replyTo?: string[] | undefined;
|
|
7279
|
+
} | null;
|
|
6601
7280
|
} | null;
|
|
6602
7281
|
explicitTitle: string | null;
|
|
6603
7282
|
message: string;
|
|
6604
7283
|
notification: {
|
|
6605
7284
|
kind: "completion_email";
|
|
6606
7285
|
recipients?: string[] | undefined;
|
|
7286
|
+
copies?: {
|
|
7287
|
+
cc?: string[] | undefined;
|
|
7288
|
+
bcc?: string[] | undefined;
|
|
7289
|
+
replyTo?: string[] | undefined;
|
|
7290
|
+
} | undefined;
|
|
6607
7291
|
} | {
|
|
6608
7292
|
kind: "custom_email";
|
|
6609
7293
|
templatePath: string;
|
|
6610
7294
|
recipients?: string[] | undefined;
|
|
7295
|
+
copies?: {
|
|
7296
|
+
cc?: string[] | undefined;
|
|
7297
|
+
bcc?: string[] | undefined;
|
|
7298
|
+
replyTo?: string[] | undefined;
|
|
7299
|
+
} | undefined;
|
|
6611
7300
|
};
|
|
6612
7301
|
mode: "plan" | "approve" | "balanced" | "bypass";
|
|
6613
7302
|
timeExpression: string;
|
|
@@ -6628,13 +7317,13 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6628
7317
|
allowExternalRecipients: boolean;
|
|
6629
7318
|
maxMessagesPerRun: number;
|
|
6630
7319
|
} | null;
|
|
6631
|
-
taskScheduleId: import('
|
|
7320
|
+
taskScheduleId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId;
|
|
6632
7321
|
shared: boolean;
|
|
6633
7322
|
title: string;
|
|
6634
7323
|
status: "completed" | "active" | "paused" | "deleted";
|
|
6635
7324
|
recurrence: {
|
|
6636
7325
|
intervalMinutes?: number | undefined;
|
|
6637
|
-
kind: "none" | "
|
|
7326
|
+
kind: "none" | "daily" | "weekdays" | "weekly" | "interval" | "manual";
|
|
6638
7327
|
};
|
|
6639
7328
|
timezone: string;
|
|
6640
7329
|
nextRunAt: string | null;
|
|
@@ -6679,6 +7368,16 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6679
7368
|
expectedRevision?: number | undefined;
|
|
6680
7369
|
recipients?: string[] | undefined;
|
|
6681
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;
|
|
6682
7381
|
title?: string | null | undefined;
|
|
6683
7382
|
message?: string | undefined;
|
|
6684
7383
|
mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
|
|
@@ -6702,7 +7401,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6702
7401
|
};
|
|
6703
7402
|
};
|
|
6704
7403
|
output: {
|
|
6705
|
-
taskScheduleId: import('
|
|
7404
|
+
taskScheduleId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId;
|
|
6706
7405
|
status: "completed" | "active" | "paused" | "deleted";
|
|
6707
7406
|
nextRunAt: string | null;
|
|
6708
7407
|
};
|
|
@@ -6722,6 +7421,16 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6722
7421
|
expectedRevision?: number | undefined;
|
|
6723
7422
|
recipients?: string[] | undefined;
|
|
6724
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;
|
|
6725
7434
|
title?: string | null | undefined;
|
|
6726
7435
|
message?: string | undefined;
|
|
6727
7436
|
mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
|
|
@@ -6765,6 +7474,16 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6765
7474
|
expectedRevision?: number | undefined;
|
|
6766
7475
|
recipients?: string[] | undefined;
|
|
6767
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;
|
|
6768
7487
|
title?: string | null | undefined;
|
|
6769
7488
|
message?: string | undefined;
|
|
6770
7489
|
mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
|
|
@@ -6808,6 +7527,16 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6808
7527
|
expectedRevision?: number | undefined;
|
|
6809
7528
|
recipients?: string[] | undefined;
|
|
6810
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;
|
|
6811
7540
|
title?: string | null | undefined;
|
|
6812
7541
|
message?: string | undefined;
|
|
6813
7542
|
mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
|
|
@@ -6851,6 +7580,16 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6851
7580
|
expectedRevision?: number | undefined;
|
|
6852
7581
|
recipients?: string[] | undefined;
|
|
6853
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;
|
|
6854
7593
|
title?: string | null | undefined;
|
|
6855
7594
|
message?: string | undefined;
|
|
6856
7595
|
mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
|
|
@@ -6952,16 +7691,17 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6952
7691
|
};
|
|
6953
7692
|
output: {
|
|
6954
7693
|
runs: {
|
|
6955
|
-
taskScheduleRunId: import('
|
|
6956
|
-
occurrenceKind: "
|
|
6957
|
-
|
|
7694
|
+
taskScheduleRunId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleId;
|
|
7695
|
+
occurrenceKind: "manual" | "scheduled";
|
|
7696
|
+
seriesStatusAtRequest: "active" | "paused" | null;
|
|
7697
|
+
displayStatus: import('../../../../apps/belong-cloud/src/features/task-schedules/task-schedule.service').TaskScheduleRunDisplayStatus;
|
|
6958
7698
|
scheduledFor: string;
|
|
6959
7699
|
startedAt: string | null;
|
|
6960
7700
|
finishedAt: string | null;
|
|
6961
7701
|
failureReason: string | null;
|
|
6962
|
-
sessionId: import('
|
|
6963
|
-
taskId: import('
|
|
6964
|
-
runId: import('
|
|
7702
|
+
sessionId: import('../../../../apps/belong-cloud/src/platform/ids').SessionId | null;
|
|
7703
|
+
taskId: import('../../../../apps/belong-cloud/src/platform/ids').TaskId | null;
|
|
7704
|
+
runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId | null;
|
|
6965
7705
|
}[];
|
|
6966
7706
|
nextOffset: number | null;
|
|
6967
7707
|
};
|
|
@@ -7163,6 +7903,8 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7163
7903
|
} & {
|
|
7164
7904
|
json: {
|
|
7165
7905
|
clientRequestId?: string | undefined;
|
|
7906
|
+
instructions?: string | undefined;
|
|
7907
|
+
expectedSeriesStatus?: "active" | "paused" | undefined;
|
|
7166
7908
|
};
|
|
7167
7909
|
};
|
|
7168
7910
|
output: {
|
|
@@ -7185,6 +7927,8 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7185
7927
|
} & {
|
|
7186
7928
|
json: {
|
|
7187
7929
|
clientRequestId?: string | undefined;
|
|
7930
|
+
instructions?: string | undefined;
|
|
7931
|
+
expectedSeriesStatus?: "active" | "paused" | undefined;
|
|
7188
7932
|
};
|
|
7189
7933
|
};
|
|
7190
7934
|
output: {
|
|
@@ -7206,10 +7950,12 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7206
7950
|
} & {
|
|
7207
7951
|
json: {
|
|
7208
7952
|
clientRequestId?: string | undefined;
|
|
7953
|
+
instructions?: string | undefined;
|
|
7954
|
+
expectedSeriesStatus?: "active" | "paused" | undefined;
|
|
7209
7955
|
};
|
|
7210
7956
|
};
|
|
7211
7957
|
output: {
|
|
7212
|
-
taskScheduleRunId: import('
|
|
7958
|
+
taskScheduleRunId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleId;
|
|
7213
7959
|
};
|
|
7214
7960
|
outputFormat: "json";
|
|
7215
7961
|
status: 202;
|
|
@@ -7225,6 +7971,8 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7225
7971
|
} & {
|
|
7226
7972
|
json: {
|
|
7227
7973
|
clientRequestId?: string | undefined;
|
|
7974
|
+
instructions?: string | undefined;
|
|
7975
|
+
expectedSeriesStatus?: "active" | "paused" | undefined;
|
|
7228
7976
|
};
|
|
7229
7977
|
};
|
|
7230
7978
|
output: {
|
|
@@ -7246,6 +7994,8 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7246
7994
|
} & {
|
|
7247
7995
|
json: {
|
|
7248
7996
|
clientRequestId?: string | undefined;
|
|
7997
|
+
instructions?: string | undefined;
|
|
7998
|
+
expectedSeriesStatus?: "active" | "paused" | undefined;
|
|
7249
7999
|
};
|
|
7250
8000
|
};
|
|
7251
8001
|
output: {
|
|
@@ -7274,10 +8024,20 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7274
8024
|
notification?: {
|
|
7275
8025
|
kind: "completion_email";
|
|
7276
8026
|
recipients?: string[] | undefined;
|
|
8027
|
+
copies?: {
|
|
8028
|
+
cc?: string[] | undefined;
|
|
8029
|
+
bcc?: string[] | undefined;
|
|
8030
|
+
replyTo?: string[] | undefined;
|
|
8031
|
+
} | undefined;
|
|
7277
8032
|
} | {
|
|
7278
8033
|
kind: "custom_email";
|
|
7279
8034
|
templatePath: string;
|
|
7280
8035
|
recipients?: string[] | undefined;
|
|
8036
|
+
copies?: {
|
|
8037
|
+
cc?: string[] | undefined;
|
|
8038
|
+
bcc?: string[] | undefined;
|
|
8039
|
+
replyTo?: string[] | undefined;
|
|
8040
|
+
} | undefined;
|
|
7281
8041
|
} | undefined;
|
|
7282
8042
|
title?: string | undefined;
|
|
7283
8043
|
mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
|
|
@@ -7296,6 +8056,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7296
8056
|
intervalMinutes: number;
|
|
7297
8057
|
} | undefined;
|
|
7298
8058
|
originatingSessionId?: string | undefined;
|
|
8059
|
+
locale?: "en" | "es" | "pt" | "it" | undefined;
|
|
7299
8060
|
workspaceExternalId?: string | undefined;
|
|
7300
8061
|
runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
|
|
7301
8062
|
llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
|
|
@@ -7321,10 +8082,20 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7321
8082
|
notification?: {
|
|
7322
8083
|
kind: "completion_email";
|
|
7323
8084
|
recipients?: string[] | undefined;
|
|
8085
|
+
copies?: {
|
|
8086
|
+
cc?: string[] | undefined;
|
|
8087
|
+
bcc?: string[] | undefined;
|
|
8088
|
+
replyTo?: string[] | undefined;
|
|
8089
|
+
} | undefined;
|
|
7324
8090
|
} | {
|
|
7325
8091
|
kind: "custom_email";
|
|
7326
8092
|
templatePath: string;
|
|
7327
8093
|
recipients?: string[] | undefined;
|
|
8094
|
+
copies?: {
|
|
8095
|
+
cc?: string[] | undefined;
|
|
8096
|
+
bcc?: string[] | undefined;
|
|
8097
|
+
replyTo?: string[] | undefined;
|
|
8098
|
+
} | undefined;
|
|
7328
8099
|
} | undefined;
|
|
7329
8100
|
title?: string | undefined;
|
|
7330
8101
|
mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
|
|
@@ -7343,6 +8114,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7343
8114
|
intervalMinutes: number;
|
|
7344
8115
|
} | undefined;
|
|
7345
8116
|
originatingSessionId?: string | undefined;
|
|
8117
|
+
locale?: "en" | "es" | "pt" | "it" | undefined;
|
|
7346
8118
|
workspaceExternalId?: string | undefined;
|
|
7347
8119
|
runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
|
|
7348
8120
|
llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
|
|
@@ -7350,12 +8122,12 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7350
8122
|
};
|
|
7351
8123
|
};
|
|
7352
8124
|
output: {
|
|
7353
|
-
taskScheduleId: import('
|
|
8125
|
+
taskScheduleId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId;
|
|
7354
8126
|
status: "failed" | "running" | "completed" | "scheduled";
|
|
7355
8127
|
scheduledFor: string;
|
|
7356
8128
|
seriesStatus: "completed" | "active" | "paused" | "deleted";
|
|
7357
8129
|
recurrence: {
|
|
7358
|
-
kind: "none" | "
|
|
8130
|
+
kind: "none" | "daily" | "weekdays" | "weekly" | "interval" | "manual";
|
|
7359
8131
|
};
|
|
7360
8132
|
nextRunAt: string | null;
|
|
7361
8133
|
title: string;
|
|
@@ -7373,10 +8145,20 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7373
8145
|
notification?: {
|
|
7374
8146
|
kind: "completion_email";
|
|
7375
8147
|
recipients?: string[] | undefined;
|
|
8148
|
+
copies?: {
|
|
8149
|
+
cc?: string[] | undefined;
|
|
8150
|
+
bcc?: string[] | undefined;
|
|
8151
|
+
replyTo?: string[] | undefined;
|
|
8152
|
+
} | undefined;
|
|
7376
8153
|
} | {
|
|
7377
8154
|
kind: "custom_email";
|
|
7378
8155
|
templatePath: string;
|
|
7379
8156
|
recipients?: string[] | undefined;
|
|
8157
|
+
copies?: {
|
|
8158
|
+
cc?: string[] | undefined;
|
|
8159
|
+
bcc?: string[] | undefined;
|
|
8160
|
+
replyTo?: string[] | undefined;
|
|
8161
|
+
} | undefined;
|
|
7380
8162
|
} | undefined;
|
|
7381
8163
|
title?: string | undefined;
|
|
7382
8164
|
mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
|
|
@@ -7395,6 +8177,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7395
8177
|
intervalMinutes: number;
|
|
7396
8178
|
} | undefined;
|
|
7397
8179
|
originatingSessionId?: string | undefined;
|
|
8180
|
+
locale?: "en" | "es" | "pt" | "it" | undefined;
|
|
7398
8181
|
workspaceExternalId?: string | undefined;
|
|
7399
8182
|
runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
|
|
7400
8183
|
llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
|
|
@@ -7419,10 +8202,20 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7419
8202
|
notification?: {
|
|
7420
8203
|
kind: "completion_email";
|
|
7421
8204
|
recipients?: string[] | undefined;
|
|
8205
|
+
copies?: {
|
|
8206
|
+
cc?: string[] | undefined;
|
|
8207
|
+
bcc?: string[] | undefined;
|
|
8208
|
+
replyTo?: string[] | undefined;
|
|
8209
|
+
} | undefined;
|
|
7422
8210
|
} | {
|
|
7423
8211
|
kind: "custom_email";
|
|
7424
8212
|
templatePath: string;
|
|
7425
8213
|
recipients?: string[] | undefined;
|
|
8214
|
+
copies?: {
|
|
8215
|
+
cc?: string[] | undefined;
|
|
8216
|
+
bcc?: string[] | undefined;
|
|
8217
|
+
replyTo?: string[] | undefined;
|
|
8218
|
+
} | undefined;
|
|
7426
8219
|
} | undefined;
|
|
7427
8220
|
title?: string | undefined;
|
|
7428
8221
|
mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
|
|
@@ -7441,6 +8234,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7441
8234
|
intervalMinutes: number;
|
|
7442
8235
|
} | undefined;
|
|
7443
8236
|
originatingSessionId?: string | undefined;
|
|
8237
|
+
locale?: "en" | "es" | "pt" | "it" | undefined;
|
|
7444
8238
|
workspaceExternalId?: string | undefined;
|
|
7445
8239
|
runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
|
|
7446
8240
|
llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
|
|
@@ -7467,13 +8261,13 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7467
8261
|
};
|
|
7468
8262
|
output: {
|
|
7469
8263
|
taskSchedules: {
|
|
7470
|
-
taskScheduleId: import('
|
|
8264
|
+
taskScheduleId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId;
|
|
7471
8265
|
shared: boolean;
|
|
7472
8266
|
title: string;
|
|
7473
8267
|
status: "completed" | "active" | "paused" | "deleted";
|
|
7474
8268
|
recurrence: {
|
|
7475
8269
|
intervalMinutes?: number | undefined;
|
|
7476
|
-
kind: "none" | "
|
|
8270
|
+
kind: "none" | "daily" | "weekdays" | "weekly" | "interval" | "manual";
|
|
7477
8271
|
};
|
|
7478
8272
|
timezone: string;
|
|
7479
8273
|
nextRunAt: string | null;
|
|
@@ -7572,16 +8366,31 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7572
8366
|
readonly revision: number;
|
|
7573
8367
|
readonly workspaceCount: number;
|
|
7574
8368
|
readonly sharedRecipients: readonly string[];
|
|
8369
|
+
readonly sharedCopies: {
|
|
8370
|
+
cc?: string[] | undefined;
|
|
8371
|
+
bcc?: string[] | undefined;
|
|
8372
|
+
replyTo?: string[] | undefined;
|
|
8373
|
+
} | null;
|
|
7575
8374
|
} | null;
|
|
7576
8375
|
explicitTitle: string | null;
|
|
7577
8376
|
message: string;
|
|
7578
8377
|
notification: {
|
|
7579
8378
|
kind: "completion_email";
|
|
7580
8379
|
recipients?: string[] | undefined;
|
|
8380
|
+
copies?: {
|
|
8381
|
+
cc?: string[] | undefined;
|
|
8382
|
+
bcc?: string[] | undefined;
|
|
8383
|
+
replyTo?: string[] | undefined;
|
|
8384
|
+
} | undefined;
|
|
7581
8385
|
} | {
|
|
7582
8386
|
kind: "custom_email";
|
|
7583
8387
|
templatePath: string;
|
|
7584
8388
|
recipients?: string[] | undefined;
|
|
8389
|
+
copies?: {
|
|
8390
|
+
cc?: string[] | undefined;
|
|
8391
|
+
bcc?: string[] | undefined;
|
|
8392
|
+
replyTo?: string[] | undefined;
|
|
8393
|
+
} | undefined;
|
|
7585
8394
|
};
|
|
7586
8395
|
mode: "plan" | "approve" | "balanced" | "bypass";
|
|
7587
8396
|
timeExpression: string;
|
|
@@ -7602,13 +8411,13 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7602
8411
|
allowExternalRecipients: boolean;
|
|
7603
8412
|
maxMessagesPerRun: number;
|
|
7604
8413
|
} | null;
|
|
7605
|
-
taskScheduleId: import('
|
|
8414
|
+
taskScheduleId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId;
|
|
7606
8415
|
shared: boolean;
|
|
7607
8416
|
title: string;
|
|
7608
8417
|
status: "completed" | "active" | "paused" | "deleted";
|
|
7609
8418
|
recurrence: {
|
|
7610
8419
|
intervalMinutes?: number | undefined;
|
|
7611
|
-
kind: "none" | "
|
|
8420
|
+
kind: "none" | "daily" | "weekdays" | "weekly" | "interval" | "manual";
|
|
7612
8421
|
};
|
|
7613
8422
|
timezone: string;
|
|
7614
8423
|
nextRunAt: string | null;
|
|
@@ -7653,6 +8462,16 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7653
8462
|
expectedRevision?: number | undefined;
|
|
7654
8463
|
recipients?: string[] | undefined;
|
|
7655
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;
|
|
7656
8475
|
title?: string | null | undefined;
|
|
7657
8476
|
message?: string | undefined;
|
|
7658
8477
|
mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
|
|
@@ -7676,7 +8495,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7676
8495
|
};
|
|
7677
8496
|
};
|
|
7678
8497
|
output: {
|
|
7679
|
-
taskScheduleId: import('
|
|
8498
|
+
taskScheduleId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId;
|
|
7680
8499
|
status: "completed" | "active" | "paused" | "deleted";
|
|
7681
8500
|
nextRunAt: string | null;
|
|
7682
8501
|
};
|
|
@@ -7696,6 +8515,16 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7696
8515
|
expectedRevision?: number | undefined;
|
|
7697
8516
|
recipients?: string[] | undefined;
|
|
7698
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;
|
|
7699
8528
|
title?: string | null | undefined;
|
|
7700
8529
|
message?: string | undefined;
|
|
7701
8530
|
mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
|
|
@@ -7739,6 +8568,16 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7739
8568
|
expectedRevision?: number | undefined;
|
|
7740
8569
|
recipients?: string[] | undefined;
|
|
7741
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;
|
|
7742
8581
|
title?: string | null | undefined;
|
|
7743
8582
|
message?: string | undefined;
|
|
7744
8583
|
mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
|
|
@@ -7782,6 +8621,16 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7782
8621
|
expectedRevision?: number | undefined;
|
|
7783
8622
|
recipients?: string[] | undefined;
|
|
7784
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;
|
|
7785
8634
|
title?: string | null | undefined;
|
|
7786
8635
|
message?: string | undefined;
|
|
7787
8636
|
mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
|
|
@@ -7825,6 +8674,16 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7825
8674
|
expectedRevision?: number | undefined;
|
|
7826
8675
|
recipients?: string[] | undefined;
|
|
7827
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;
|
|
7828
8687
|
title?: string | null | undefined;
|
|
7829
8688
|
message?: string | undefined;
|
|
7830
8689
|
mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
|
|
@@ -7926,16 +8785,17 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7926
8785
|
};
|
|
7927
8786
|
output: {
|
|
7928
8787
|
runs: {
|
|
7929
|
-
taskScheduleRunId: import('
|
|
7930
|
-
occurrenceKind: "
|
|
7931
|
-
|
|
8788
|
+
taskScheduleRunId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleId;
|
|
8789
|
+
occurrenceKind: "manual" | "scheduled";
|
|
8790
|
+
seriesStatusAtRequest: "active" | "paused" | null;
|
|
8791
|
+
displayStatus: import('../../../../apps/belong-cloud/src/features/task-schedules/task-schedule.service').TaskScheduleRunDisplayStatus;
|
|
7932
8792
|
scheduledFor: string;
|
|
7933
8793
|
startedAt: string | null;
|
|
7934
8794
|
finishedAt: string | null;
|
|
7935
8795
|
failureReason: string | null;
|
|
7936
|
-
sessionId: import('
|
|
7937
|
-
taskId: import('
|
|
7938
|
-
runId: import('
|
|
8796
|
+
sessionId: import('../../../../apps/belong-cloud/src/platform/ids').SessionId | null;
|
|
8797
|
+
taskId: import('../../../../apps/belong-cloud/src/platform/ids').TaskId | null;
|
|
8798
|
+
runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId | null;
|
|
7939
8799
|
}[];
|
|
7940
8800
|
nextOffset: number | null;
|
|
7941
8801
|
};
|
|
@@ -8137,6 +8997,8 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8137
8997
|
} & {
|
|
8138
8998
|
json: {
|
|
8139
8999
|
clientRequestId?: string | undefined;
|
|
9000
|
+
instructions?: string | undefined;
|
|
9001
|
+
expectedSeriesStatus?: "active" | "paused" | undefined;
|
|
8140
9002
|
};
|
|
8141
9003
|
};
|
|
8142
9004
|
output: {
|
|
@@ -8159,6 +9021,8 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8159
9021
|
} & {
|
|
8160
9022
|
json: {
|
|
8161
9023
|
clientRequestId?: string | undefined;
|
|
9024
|
+
instructions?: string | undefined;
|
|
9025
|
+
expectedSeriesStatus?: "active" | "paused" | undefined;
|
|
8162
9026
|
};
|
|
8163
9027
|
};
|
|
8164
9028
|
output: {
|
|
@@ -8180,10 +9044,12 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8180
9044
|
} & {
|
|
8181
9045
|
json: {
|
|
8182
9046
|
clientRequestId?: string | undefined;
|
|
9047
|
+
instructions?: string | undefined;
|
|
9048
|
+
expectedSeriesStatus?: "active" | "paused" | undefined;
|
|
8183
9049
|
};
|
|
8184
9050
|
};
|
|
8185
9051
|
output: {
|
|
8186
|
-
taskScheduleRunId: import('
|
|
9052
|
+
taskScheduleRunId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleId;
|
|
8187
9053
|
};
|
|
8188
9054
|
outputFormat: "json";
|
|
8189
9055
|
status: 202;
|
|
@@ -8199,6 +9065,8 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8199
9065
|
} & {
|
|
8200
9066
|
json: {
|
|
8201
9067
|
clientRequestId?: string | undefined;
|
|
9068
|
+
instructions?: string | undefined;
|
|
9069
|
+
expectedSeriesStatus?: "active" | "paused" | undefined;
|
|
8202
9070
|
};
|
|
8203
9071
|
};
|
|
8204
9072
|
output: {
|
|
@@ -8220,6 +9088,8 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8220
9088
|
} & {
|
|
8221
9089
|
json: {
|
|
8222
9090
|
clientRequestId?: string | undefined;
|
|
9091
|
+
instructions?: string | undefined;
|
|
9092
|
+
expectedSeriesStatus?: "active" | "paused" | undefined;
|
|
8223
9093
|
};
|
|
8224
9094
|
};
|
|
8225
9095
|
output: {
|
|
@@ -8270,6 +9140,11 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8270
9140
|
explicitTitle: string | null;
|
|
8271
9141
|
message: string;
|
|
8272
9142
|
sharedRecipients: string[];
|
|
9143
|
+
sharedCopies: {
|
|
9144
|
+
cc?: string[] | undefined;
|
|
9145
|
+
bcc?: string[] | undefined;
|
|
9146
|
+
replyTo?: string[] | undefined;
|
|
9147
|
+
} | null;
|
|
8273
9148
|
role: "edit" | "owner" | "use";
|
|
8274
9149
|
owner: string;
|
|
8275
9150
|
ownerTenant: string;
|
|
@@ -8309,7 +9184,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8309
9184
|
};
|
|
8310
9185
|
};
|
|
8311
9186
|
outputFormat: "json";
|
|
8312
|
-
status: 403 | 404 | 409 | 503;
|
|
9187
|
+
status: 403 | 404 | 409 | 422 | 503;
|
|
8313
9188
|
} | {
|
|
8314
9189
|
input: {
|
|
8315
9190
|
json: {
|
|
@@ -8343,7 +9218,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8343
9218
|
};
|
|
8344
9219
|
};
|
|
8345
9220
|
outputFormat: "json";
|
|
8346
|
-
status: 403 | 404 | 409 | 503;
|
|
9221
|
+
status: 403 | 404 | 409 | 422 | 503;
|
|
8347
9222
|
} | {
|
|
8348
9223
|
input: {
|
|
8349
9224
|
param: {
|
|
@@ -8356,6 +9231,11 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8356
9231
|
explicitTitle: string | null;
|
|
8357
9232
|
message: string;
|
|
8358
9233
|
sharedRecipients: string[];
|
|
9234
|
+
sharedCopies: {
|
|
9235
|
+
cc?: string[] | undefined;
|
|
9236
|
+
bcc?: string[] | undefined;
|
|
9237
|
+
replyTo?: string[] | undefined;
|
|
9238
|
+
} | null;
|
|
8359
9239
|
role: "edit" | "owner" | "use";
|
|
8360
9240
|
owner: string;
|
|
8361
9241
|
ownerTenant: string;
|
|
@@ -8382,6 +9262,11 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8382
9262
|
json: {
|
|
8383
9263
|
expectedRevision: number;
|
|
8384
9264
|
sharedRecipients?: string[] | undefined;
|
|
9265
|
+
sharedCopies?: {
|
|
9266
|
+
cc?: string[] | undefined;
|
|
9267
|
+
bcc?: string[] | undefined;
|
|
9268
|
+
replyTo?: string[] | undefined;
|
|
9269
|
+
} | undefined;
|
|
8385
9270
|
title?: string | null | undefined;
|
|
8386
9271
|
message?: string | undefined;
|
|
8387
9272
|
scheduledFor?: string | undefined;
|
|
@@ -8403,6 +9288,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8403
9288
|
} | undefined;
|
|
8404
9289
|
mode?: undefined;
|
|
8405
9290
|
recipients?: undefined;
|
|
9291
|
+
copies?: undefined;
|
|
8406
9292
|
};
|
|
8407
9293
|
};
|
|
8408
9294
|
output: {
|
|
@@ -8411,7 +9297,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8411
9297
|
};
|
|
8412
9298
|
};
|
|
8413
9299
|
outputFormat: "json";
|
|
8414
|
-
status: 403 | 404 | 409 | 503;
|
|
9300
|
+
status: 403 | 404 | 409 | 422 | 503;
|
|
8415
9301
|
} | {
|
|
8416
9302
|
input: {
|
|
8417
9303
|
param: {
|
|
@@ -8421,6 +9307,11 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8421
9307
|
json: {
|
|
8422
9308
|
expectedRevision: number;
|
|
8423
9309
|
sharedRecipients?: string[] | undefined;
|
|
9310
|
+
sharedCopies?: {
|
|
9311
|
+
cc?: string[] | undefined;
|
|
9312
|
+
bcc?: string[] | undefined;
|
|
9313
|
+
replyTo?: string[] | undefined;
|
|
9314
|
+
} | undefined;
|
|
8424
9315
|
title?: string | null | undefined;
|
|
8425
9316
|
message?: string | undefined;
|
|
8426
9317
|
scheduledFor?: string | undefined;
|
|
@@ -8442,6 +9333,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8442
9333
|
} | undefined;
|
|
8443
9334
|
mode?: undefined;
|
|
8444
9335
|
recipients?: undefined;
|
|
9336
|
+
copies?: undefined;
|
|
8445
9337
|
};
|
|
8446
9338
|
};
|
|
8447
9339
|
output: {
|
|
@@ -8459,6 +9351,11 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8459
9351
|
json: {
|
|
8460
9352
|
expectedRevision: number;
|
|
8461
9353
|
sharedRecipients?: string[] | undefined;
|
|
9354
|
+
sharedCopies?: {
|
|
9355
|
+
cc?: string[] | undefined;
|
|
9356
|
+
bcc?: string[] | undefined;
|
|
9357
|
+
replyTo?: string[] | undefined;
|
|
9358
|
+
} | undefined;
|
|
8462
9359
|
title?: string | null | undefined;
|
|
8463
9360
|
message?: string | undefined;
|
|
8464
9361
|
scheduledFor?: string | undefined;
|
|
@@ -8480,6 +9377,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8480
9377
|
} | undefined;
|
|
8481
9378
|
mode?: undefined;
|
|
8482
9379
|
recipients?: undefined;
|
|
9380
|
+
copies?: undefined;
|
|
8483
9381
|
};
|
|
8484
9382
|
};
|
|
8485
9383
|
output: {
|
|
@@ -8516,7 +9414,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8516
9414
|
};
|
|
8517
9415
|
};
|
|
8518
9416
|
outputFormat: "json";
|
|
8519
|
-
status: 403 | 404 | 409 | 503;
|
|
9417
|
+
status: 403 | 404 | 409 | 422 | 503;
|
|
8520
9418
|
} | {
|
|
8521
9419
|
input: {
|
|
8522
9420
|
param: {
|
|
@@ -8528,7 +9426,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8528
9426
|
};
|
|
8529
9427
|
};
|
|
8530
9428
|
output: {
|
|
8531
|
-
taskScheduleId: import('
|
|
9429
|
+
taskScheduleId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId;
|
|
8532
9430
|
};
|
|
8533
9431
|
outputFormat: "json";
|
|
8534
9432
|
status: import('hono/utils/http-status').ContentfulStatusCode;
|
|
@@ -8560,7 +9458,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8560
9458
|
};
|
|
8561
9459
|
};
|
|
8562
9460
|
outputFormat: "json";
|
|
8563
|
-
status: 403 | 404 | 409 | 503;
|
|
9461
|
+
status: 403 | 404 | 409 | 422 | 503;
|
|
8564
9462
|
} | {
|
|
8565
9463
|
input: {
|
|
8566
9464
|
param: {
|
|
@@ -8604,7 +9502,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8604
9502
|
};
|
|
8605
9503
|
};
|
|
8606
9504
|
outputFormat: "json";
|
|
8607
|
-
status: 403 | 404 | 409 | 503;
|
|
9505
|
+
status: 403 | 404 | 409 | 422 | 503;
|
|
8608
9506
|
} | {
|
|
8609
9507
|
input: {
|
|
8610
9508
|
param: {
|
|
@@ -8642,7 +9540,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8642
9540
|
};
|
|
8643
9541
|
};
|
|
8644
9542
|
outputFormat: "json";
|
|
8645
|
-
status: 403 | 404 | 409 | 503;
|
|
9543
|
+
status: 403 | 404 | 409 | 422 | 503;
|
|
8646
9544
|
} | {
|
|
8647
9545
|
input: {
|
|
8648
9546
|
param: {
|
|
@@ -8685,7 +9583,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8685
9583
|
};
|
|
8686
9584
|
};
|
|
8687
9585
|
outputFormat: "json";
|
|
8688
|
-
status: 403 | 404 | 409 | 503;
|
|
9586
|
+
status: 403 | 404 | 409 | 422 | 503;
|
|
8689
9587
|
} | {
|
|
8690
9588
|
input: {
|
|
8691
9589
|
param: {
|
|
@@ -8721,7 +9619,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8721
9619
|
};
|
|
8722
9620
|
};
|
|
8723
9621
|
outputFormat: "json";
|
|
8724
|
-
status: 403 | 404 | 409 | 503;
|
|
9622
|
+
status: 403 | 404 | 409 | 422 | 503;
|
|
8725
9623
|
} | {
|
|
8726
9624
|
input: {
|
|
8727
9625
|
param: {
|
|
@@ -8744,6 +9642,70 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8744
9642
|
};
|
|
8745
9643
|
};
|
|
8746
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
|
+
};
|
|
8747
9709
|
} & {
|
|
8748
9710
|
v1: {
|
|
8749
9711
|
"pre-prompts": import('hono/client').ClientRequest<string, "/v1/pre-prompts", {
|
|
@@ -8756,7 +9718,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8756
9718
|
};
|
|
8757
9719
|
output: {
|
|
8758
9720
|
prePrompts: {
|
|
8759
|
-
prePromptId: import('
|
|
9721
|
+
prePromptId: import('../../../../apps/belong-cloud/src/platform/ids').PrePromptId;
|
|
8760
9722
|
name: string;
|
|
8761
9723
|
description: string;
|
|
8762
9724
|
body: string;
|
|
@@ -8795,7 +9757,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8795
9757
|
};
|
|
8796
9758
|
};
|
|
8797
9759
|
output: {
|
|
8798
|
-
prePromptId: import('
|
|
9760
|
+
prePromptId: import('../../../../apps/belong-cloud/src/platform/ids').PrePromptId;
|
|
8799
9761
|
name: string;
|
|
8800
9762
|
};
|
|
8801
9763
|
outputFormat: "json";
|
|
@@ -8858,7 +9820,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8858
9820
|
};
|
|
8859
9821
|
};
|
|
8860
9822
|
output: {
|
|
8861
|
-
prePromptId: import('
|
|
9823
|
+
prePromptId: import('../../../../apps/belong-cloud/src/platform/ids').PrePromptId;
|
|
8862
9824
|
};
|
|
8863
9825
|
outputFormat: "json";
|
|
8864
9826
|
status: 200;
|
|
@@ -8952,7 +9914,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8952
9914
|
};
|
|
8953
9915
|
output: {
|
|
8954
9916
|
skills: {
|
|
8955
|
-
userSkillId: import('
|
|
9917
|
+
userSkillId: import('../../../../apps/belong-cloud/src/platform/ids').UserSkillId;
|
|
8956
9918
|
name: string;
|
|
8957
9919
|
description: string;
|
|
8958
9920
|
enabled: boolean;
|
|
@@ -9016,7 +9978,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9016
9978
|
error: {
|
|
9017
9979
|
type: string;
|
|
9018
9980
|
name: string;
|
|
9019
|
-
userSkillId: import('
|
|
9981
|
+
userSkillId: import('../../../../apps/belong-cloud/src/platform/ids').UserSkillId;
|
|
9020
9982
|
};
|
|
9021
9983
|
};
|
|
9022
9984
|
outputFormat: "json";
|
|
@@ -9033,10 +9995,10 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9033
9995
|
} | {
|
|
9034
9996
|
input: {};
|
|
9035
9997
|
output: {
|
|
9036
|
-
userSkillId: import('
|
|
9998
|
+
userSkillId: import('../../../../apps/belong-cloud/src/platform/ids').UserSkillId;
|
|
9037
9999
|
name: string;
|
|
9038
10000
|
revision: number;
|
|
9039
|
-
outcome: import('
|
|
10001
|
+
outcome: import('../../../../apps/belong-cloud/src/features/skill-library/skill-library.service').SkillSaveOutcome;
|
|
9040
10002
|
hasScripts: boolean;
|
|
9041
10003
|
};
|
|
9042
10004
|
outputFormat: "json";
|
|
@@ -9095,7 +10057,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9095
10057
|
};
|
|
9096
10058
|
};
|
|
9097
10059
|
output: {
|
|
9098
|
-
userSkillId: import('
|
|
10060
|
+
userSkillId: import('../../../../apps/belong-cloud/src/platform/ids').UserSkillId;
|
|
9099
10061
|
enabled: boolean;
|
|
9100
10062
|
};
|
|
9101
10063
|
outputFormat: "json";
|
|
@@ -9185,7 +10147,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9185
10147
|
};
|
|
9186
10148
|
};
|
|
9187
10149
|
output: {
|
|
9188
|
-
userSkillId: import('
|
|
10150
|
+
userSkillId: import('../../../../apps/belong-cloud/src/platform/ids').UserSkillId;
|
|
9189
10151
|
name: string;
|
|
9190
10152
|
description: string;
|
|
9191
10153
|
skillMd: string;
|
|
@@ -9267,7 +10229,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9267
10229
|
output: {
|
|
9268
10230
|
error: {
|
|
9269
10231
|
type: string;
|
|
9270
|
-
reason: import('
|
|
10232
|
+
reason: import('../../../../apps/belong-cloud/src/features/skill-library/skill-archive').SkillArchiveRejectionType;
|
|
9271
10233
|
};
|
|
9272
10234
|
};
|
|
9273
10235
|
outputFormat: "json";
|
|
@@ -9287,7 +10249,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9287
10249
|
error: {
|
|
9288
10250
|
type: string;
|
|
9289
10251
|
name: string;
|
|
9290
|
-
reservedBy: import('
|
|
10252
|
+
reservedBy: import('../../../../apps/belong-cloud/src/features/skill-library/skill-library.service').NameReservedBy;
|
|
9291
10253
|
};
|
|
9292
10254
|
};
|
|
9293
10255
|
outputFormat: "json";
|
|
@@ -9325,7 +10287,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9325
10287
|
error: {
|
|
9326
10288
|
type: string;
|
|
9327
10289
|
name: string;
|
|
9328
|
-
userSkillId: import('
|
|
10290
|
+
userSkillId: import('../../../../apps/belong-cloud/src/platform/ids').UserSkillId;
|
|
9329
10291
|
};
|
|
9330
10292
|
};
|
|
9331
10293
|
outputFormat: "json";
|
|
@@ -9342,10 +10304,10 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9342
10304
|
};
|
|
9343
10305
|
};
|
|
9344
10306
|
output: {
|
|
9345
|
-
userSkillId: import('
|
|
10307
|
+
userSkillId: import('../../../../apps/belong-cloud/src/platform/ids').UserSkillId;
|
|
9346
10308
|
name: string;
|
|
9347
10309
|
revision: number;
|
|
9348
|
-
outcome: import('
|
|
10310
|
+
outcome: import('../../../../apps/belong-cloud/src/features/skill-library/skill-library.service').SkillContentOutcome;
|
|
9349
10311
|
};
|
|
9350
10312
|
outputFormat: "json";
|
|
9351
10313
|
status: 200;
|
|
@@ -9380,7 +10342,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9380
10342
|
input: {};
|
|
9381
10343
|
output: {
|
|
9382
10344
|
connectors: {
|
|
9383
|
-
connectorId: import('
|
|
10345
|
+
connectorId: import('../../../../apps/belong-cloud/src/platform/ids').ConnectorId;
|
|
9384
10346
|
name: string;
|
|
9385
10347
|
alias: string;
|
|
9386
10348
|
description: string;
|
|
@@ -9388,10 +10350,10 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9388
10350
|
imageDataUrl: string | null;
|
|
9389
10351
|
serverUrl: string;
|
|
9390
10352
|
transport: "streamable_http" | "sse";
|
|
9391
|
-
authMode: import('
|
|
10353
|
+
authMode: import('../../../../apps/belong-cloud/src/features/connectors/connector.repo').ConnectorAuthMode;
|
|
9392
10354
|
hasCredentials: boolean;
|
|
9393
10355
|
enabled: boolean;
|
|
9394
|
-
status: import('
|
|
10356
|
+
status: import('../../../../apps/belong-cloud/src/features/connectors/connector.repo').ConnectorStatus;
|
|
9395
10357
|
lastError: string | null;
|
|
9396
10358
|
tools: readonly {
|
|
9397
10359
|
readonly name: string;
|
|
@@ -9536,7 +10498,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9536
10498
|
};
|
|
9537
10499
|
};
|
|
9538
10500
|
output: {
|
|
9539
|
-
connectorId: import('
|
|
10501
|
+
connectorId: import('../../../../apps/belong-cloud/src/platform/ids').ConnectorId;
|
|
9540
10502
|
};
|
|
9541
10503
|
outputFormat: "json";
|
|
9542
10504
|
status: 200 | 201;
|
|
@@ -9758,7 +10720,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9758
10720
|
serverUrl: string;
|
|
9759
10721
|
serverUrlMode: "fixed" | "user_provided";
|
|
9760
10722
|
transport: "streamable_http" | "sse";
|
|
9761
|
-
authMode: import('
|
|
10723
|
+
authMode: import('../../../../apps/belong-cloud/src/features/connectors/connector.repo').ConnectorAuthMode;
|
|
9762
10724
|
oauthScope: string | null;
|
|
9763
10725
|
oauthAuthorizationParams: {
|
|
9764
10726
|
readonly [x: string]: string;
|
|
@@ -9965,7 +10927,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9965
10927
|
};
|
|
9966
10928
|
};
|
|
9967
10929
|
output: {
|
|
9968
|
-
connectorId: import('
|
|
10930
|
+
connectorId: import('../../../../apps/belong-cloud/src/platform/ids').ConnectorId;
|
|
9969
10931
|
};
|
|
9970
10932
|
outputFormat: "json";
|
|
9971
10933
|
status: 200;
|
|
@@ -10136,7 +11098,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
10136
11098
|
};
|
|
10137
11099
|
};
|
|
10138
11100
|
output: {
|
|
10139
|
-
connectorId: import('
|
|
11101
|
+
connectorId: import('../../../../apps/belong-cloud/src/platform/ids').ConnectorId;
|
|
10140
11102
|
};
|
|
10141
11103
|
outputFormat: "json";
|
|
10142
11104
|
status: 200;
|
|
@@ -10523,11 +11485,11 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
10523
11485
|
readonly displayName: string;
|
|
10524
11486
|
readonly productName: string | null;
|
|
10525
11487
|
readonly knowledgeDomain: string | null;
|
|
10526
|
-
readonly authKind: import('
|
|
11488
|
+
readonly authKind: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["authKind"];
|
|
10527
11489
|
readonly authIssuer: string;
|
|
10528
11490
|
readonly authAudience: string;
|
|
10529
11491
|
readonly authJwksUri: string | null;
|
|
10530
|
-
readonly agentGrantProvider: import('
|
|
11492
|
+
readonly agentGrantProvider: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["agentGrantProvider"];
|
|
10531
11493
|
readonly agentGrant: {
|
|
10532
11494
|
readonly icsUrl: string | null;
|
|
10533
11495
|
readonly fake: boolean;
|
|
@@ -10545,7 +11507,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
10545
11507
|
integration?: "simetrik" | undefined;
|
|
10546
11508
|
} | null;
|
|
10547
11509
|
readonly terminalSnapshot: string | null;
|
|
10548
|
-
readonly terminalSnapshotProvenance: import('
|
|
11510
|
+
readonly terminalSnapshotProvenance: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["terminalSnapshotProvenance"];
|
|
10549
11511
|
readonly sandbox: {
|
|
10550
11512
|
taskSnapshot?: string | undefined;
|
|
10551
11513
|
autoStopMinutes?: number | undefined;
|
|
@@ -10562,8 +11524,8 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
10562
11524
|
readonly bakedPluginBundle: boolean;
|
|
10563
11525
|
readonly notificationsFromEmail: string | null;
|
|
10564
11526
|
readonly agentId: string | null;
|
|
10565
|
-
readonly status: import('
|
|
10566
|
-
readonly workspaceScope: import('
|
|
11527
|
+
readonly status: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["status"];
|
|
11528
|
+
readonly workspaceScope: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["workspaceScope"];
|
|
10567
11529
|
readonly origins: readonly string[];
|
|
10568
11530
|
readonly createdAt: string;
|
|
10569
11531
|
readonly updatedAt: string;
|
|
@@ -10611,11 +11573,11 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
10611
11573
|
readonly displayName: string;
|
|
10612
11574
|
readonly productName: string | null;
|
|
10613
11575
|
readonly knowledgeDomain: string | null;
|
|
10614
|
-
readonly authKind: import('
|
|
11576
|
+
readonly authKind: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["authKind"];
|
|
10615
11577
|
readonly authIssuer: string;
|
|
10616
11578
|
readonly authAudience: string;
|
|
10617
11579
|
readonly authJwksUri: string | null;
|
|
10618
|
-
readonly agentGrantProvider: import('
|
|
11580
|
+
readonly agentGrantProvider: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["agentGrantProvider"];
|
|
10619
11581
|
readonly agentGrant: {
|
|
10620
11582
|
readonly icsUrl: string | null;
|
|
10621
11583
|
readonly fake: boolean;
|
|
@@ -10633,7 +11595,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
10633
11595
|
integration?: "simetrik" | undefined;
|
|
10634
11596
|
} | null;
|
|
10635
11597
|
readonly terminalSnapshot: string | null;
|
|
10636
|
-
readonly terminalSnapshotProvenance: import('
|
|
11598
|
+
readonly terminalSnapshotProvenance: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["terminalSnapshotProvenance"];
|
|
10637
11599
|
readonly sandbox: {
|
|
10638
11600
|
taskSnapshot?: string | undefined;
|
|
10639
11601
|
autoStopMinutes?: number | undefined;
|
|
@@ -10650,8 +11612,8 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
10650
11612
|
readonly bakedPluginBundle: boolean;
|
|
10651
11613
|
readonly notificationsFromEmail: string | null;
|
|
10652
11614
|
readonly agentId: string | null;
|
|
10653
|
-
readonly status: import('
|
|
10654
|
-
readonly workspaceScope: import('
|
|
11615
|
+
readonly status: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["status"];
|
|
11616
|
+
readonly workspaceScope: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["workspaceScope"];
|
|
10655
11617
|
readonly origins: readonly string[];
|
|
10656
11618
|
readonly createdAt: string;
|
|
10657
11619
|
readonly updatedAt: string;
|
|
@@ -10708,11 +11670,11 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
10708
11670
|
readonly displayName: string;
|
|
10709
11671
|
readonly productName: string | null;
|
|
10710
11672
|
readonly knowledgeDomain: string | null;
|
|
10711
|
-
readonly authKind: import('
|
|
11673
|
+
readonly authKind: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["authKind"];
|
|
10712
11674
|
readonly authIssuer: string;
|
|
10713
11675
|
readonly authAudience: string;
|
|
10714
11676
|
readonly authJwksUri: string | null;
|
|
10715
|
-
readonly agentGrantProvider: import('
|
|
11677
|
+
readonly agentGrantProvider: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["agentGrantProvider"];
|
|
10716
11678
|
readonly agentGrant: {
|
|
10717
11679
|
readonly icsUrl: string | null;
|
|
10718
11680
|
readonly fake: boolean;
|
|
@@ -10730,7 +11692,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
10730
11692
|
integration?: "simetrik" | undefined;
|
|
10731
11693
|
} | null;
|
|
10732
11694
|
readonly terminalSnapshot: string | null;
|
|
10733
|
-
readonly terminalSnapshotProvenance: import('
|
|
11695
|
+
readonly terminalSnapshotProvenance: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["terminalSnapshotProvenance"];
|
|
10734
11696
|
readonly sandbox: {
|
|
10735
11697
|
taskSnapshot?: string | undefined;
|
|
10736
11698
|
autoStopMinutes?: number | undefined;
|
|
@@ -10747,8 +11709,8 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
10747
11709
|
readonly bakedPluginBundle: boolean;
|
|
10748
11710
|
readonly notificationsFromEmail: string | null;
|
|
10749
11711
|
readonly agentId: string | null;
|
|
10750
|
-
readonly status: import('
|
|
10751
|
-
readonly workspaceScope: import('
|
|
11712
|
+
readonly status: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["status"];
|
|
11713
|
+
readonly workspaceScope: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["workspaceScope"];
|
|
10752
11714
|
readonly origins: readonly string[];
|
|
10753
11715
|
readonly createdAt: string;
|
|
10754
11716
|
readonly updatedAt: string;
|
|
@@ -11101,5 +12063,275 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
11101
12063
|
};
|
|
11102
12064
|
};
|
|
11103
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
|
+
};
|
|
11104
12336
|
};
|
|
11105
12337
|
export {};
|