@belonguniverseai/react-sdk 0.6.27 → 0.6.28
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 +29 -0
- package/dist/api/account-scope.d.ts +75 -0
- package/dist/api/client-identity.d.ts +3 -1
- package/dist/api/client.d.ts +592 -96
- 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-schedules.d.ts +2 -2
- package/dist/app/dock-story-data.d.ts +4 -1
- package/dist/component/BelongWidget.d.ts +4 -1
- package/dist/component/{abnfDiagram-N423BO3Z-DrnjkZwk.js → abnfDiagram-N423BO3Z-BGC_KU0K.js} +4 -4
- package/dist/component/{arc-CLchGzOM.js → arc-BpIEtZvJ.js} +2 -2
- package/dist/component/{architectureDiagram-T3A2C74G-Du8PLen3.js → architectureDiagram-T3A2C74G-DYlEVfnh.js} +3 -3
- package/dist/component/{blockDiagram-VBNYF7ZC-BxmYbrlL.js → blockDiagram-VBNYF7ZC-BWDnhAW1.js} +4 -4
- package/dist/component/{c4Diagram-5PPSVZJV-DHiwlK7l.js → c4Diagram-5PPSVZJV-VKL0Shn2.js} +3 -3
- package/dist/component/{channel-C2eeNEMi.js → channel-gGd0pNDR.js} +2 -2
- package/dist/component/{chunk-2GRJ4B5K-D6I_U4nB.js → chunk-2GRJ4B5K-CEt4y1jX.js} +2 -2
- package/dist/component/{chunk-2Q5K7J3B-BR3JSmNI.js → chunk-2Q5K7J3B-Dj2wrNzr.js} +2 -2
- package/dist/component/{chunk-5RXB4S5H-DcmzyncC.js → chunk-5RXB4S5H-oJQEn1bH.js} +5 -5
- package/dist/component/{chunk-5VM5RSS4-8ww1xEAz.js → chunk-5VM5RSS4-DddP8MPP.js} +2 -2
- package/dist/component/{chunk-6Q2QTUOP-Chlg3gnC.js → chunk-6Q2QTUOP-CppUJwrF.js} +2 -2
- package/dist/component/{chunk-GF5L2VYU-CgKydjVC.js → chunk-GF5L2VYU--hyUlO9v.js} +6 -6
- package/dist/component/{chunk-JWPE2WC7-13zVpFYT.js → chunk-JWPE2WC7-CN0Ieqel.js} +2 -2
- package/dist/component/{chunk-KBJHAD2P-CP28c_dJ.js → chunk-KBJHAD2P-BWhCQoHz.js} +2 -2
- package/dist/component/{chunk-RYQCIY6F-CaHaa77d.js → chunk-RYQCIY6F-BgNewpQe.js} +2 -2
- package/dist/component/{chunk-XXDRQBXY-Cd0yVkqx.js → chunk-XXDRQBXY-mNH171OF.js} +2 -2
- package/dist/component/{classDiagram-JCYQIIEL-Bn0740dK.js → classDiagram-JCYQIIEL-UjZbWotD.js} +3 -3
- package/dist/component/{classDiagram-v2-OCEON4UE-Bn0740dK.js → classDiagram-v2-OCEON4UE-UjZbWotD.js} +3 -3
- package/dist/component/{cose-bilkent-JH36ORCC-Y6CvxIe4.js → cose-bilkent-JH36ORCC-lsVWGlMj.js} +2 -2
- package/dist/component/{cynefinDiagram-MW4NZA55-BJ_o5gyM.js → cynefinDiagram-MW4NZA55-B5Ss0zoy.js} +3 -3
- package/dist/component/{dagre-VZM6K2ZE-Ce_ZLKlj.js → dagre-VZM6K2ZE-DisWRVfU.js} +3 -3
- package/dist/component/{diagram-7IWD3JNH-K8E_XdII.js → diagram-7IWD3JNH-B2QrdsOh.js} +4 -4
- package/dist/component/{diagram-B4RE2ZJO-DZGs1RuF.js → diagram-B4RE2ZJO-Bs8l4THz.js} +3 -3
- package/dist/component/{diagram-LBJQPF4R-CzKPOqJK.js → diagram-LBJQPF4R-JTadtYMW.js} +3 -3
- package/dist/component/{diagram-Q27KOJAE-UItKj-dk.js → diagram-Q27KOJAE-BQC33flc.js} +4 -4
- package/dist/component/{diagram-UB23O5K3-ZxBLx0B9.js → diagram-UB23O5K3-ujC22dQx.js} +3 -3
- package/dist/component/{ebnfDiagram-BXEA7PRR-BIS2pIB5.js → ebnfDiagram-BXEA7PRR-0WnF2wzt.js} +4 -4
- package/dist/component/{erDiagram-JOGREHBK-BNZB6-ZZ.js → erDiagram-JOGREHBK-CqgMsd5R.js} +5 -5
- package/dist/component/{flowDiagram-UKHOOZJN-B8H3ZNjd.js → flowDiagram-UKHOOZJN-BOM0P8Mk.js} +7 -7
- package/dist/component/{ganttDiagram-PKOTCBZU-2JJJVAY-.js → ganttDiagram-PKOTCBZU-WeRFC1th.js} +3 -3
- package/dist/component/{gitGraphDiagram-DS77QQ5N-BVWxsX1D.js → gitGraphDiagram-DS77QQ5N-CS8L-BA8.js} +4 -4
- package/dist/component/{highlighted-body-OFNGDK62-CmQzAJHd.js → highlighted-body-OFNGDK62-CGejnMyq.js} +2 -2
- package/dist/component/index.js +2 -2
- package/dist/component/{infoDiagram-6WML65LV-B-7B2PTM.js → infoDiagram-6WML65LV-CQQhytkd.js} +2 -2
- package/dist/component/{ishikawaDiagram-WSZJBQD7-DgjY91jV.js → ishikawaDiagram-WSZJBQD7-CjDo3-zt.js} +2 -2
- package/dist/component/{journeyDiagram-NVQOT4AX-fkb_5H2H.js → journeyDiagram-NVQOT4AX-BCCoblta.js} +5 -5
- package/dist/component/{kanban-definition-27J2QSJJ-ZRQERkli.js → kanban-definition-27J2QSJJ-DgTIrgvB.js} +3 -3
- package/dist/component/{linear-DX0_iAiu.js → linear-BOaza_dp.js} +2 -2
- package/dist/component/{mermaid-GHXKKRXX-BhURR8Q_.js → mermaid-GHXKKRXX-BAq5-Vj8.js} +50846 -47377
- package/dist/component/{mindmap-definition-FAOFIHXS-Duc36TEr.js → mindmap-definition-FAOFIHXS-D1oolR3A.js} +4 -4
- package/dist/component/{pegDiagram-VL7TDLO6-Egcz9GLB.js → pegDiagram-VL7TDLO6-C9UxqvBP.js} +4 -4
- package/dist/component/{pieDiagram-7S7Q4E2Y-DEe2GHp7.js → pieDiagram-7S7Q4E2Y-I5IXzOZM.js} +4 -4
- package/dist/component/{quadrantDiagram-CIZ2JOQS-DNfio-6s.js → quadrantDiagram-CIZ2JOQS-DPDFBhEd.js} +3 -3
- package/dist/component/{railroadDiagram-AXF67PYL-B3lRYedY.js → railroadDiagram-AXF67PYL-DIAkhVTf.js} +4 -4
- package/dist/component/{requirementDiagram-LRYGKXZP-DYYxC0Cg.js → requirementDiagram-LRYGKXZP-DBEmV-Qy.js} +4 -4
- package/dist/component/{sankeyDiagram-W5VNT64P-CKQNueMs.js → sankeyDiagram-W5VNT64P-BEeDyDj7.js} +2 -2
- package/dist/component/{sequenceDiagram-SI44F4Z6-ChF8pgI7.js → sequenceDiagram-SI44F4Z6-WYcXWUHF.js} +4 -4
- package/dist/component/{sizeCapture-X5ZJPWSS-BQyVznxb.js → sizeCapture-X5ZJPWSS-BqDBRpiS.js} +2 -2
- package/dist/component/{stateDiagram-OKZ733FA-CAVOTaJQ.js → stateDiagram-OKZ733FA-CfYfR0OH.js} +3 -3
- package/dist/component/{stateDiagram-v2-UEYNNEHI-rGNqHCbu.js → stateDiagram-v2-UEYNNEHI-BSa2VwcQ.js} +3 -3
- package/dist/component/{swimlanes-SLNWSIFB-j8tXsaid.js → swimlanes-SLNWSIFB-C-7mrC4X.js} +4 -4
- package/dist/component/{swimlanesDiagram-ULZ7WXOC-CsbepRMA.js → swimlanesDiagram-ULZ7WXOC-DXcMd7U4.js} +3 -3
- package/dist/component/{timeline-definition-Z64GVDOM-nCRE1AQh.js → timeline-definition-Z64GVDOM-Dp65E80E.js} +3 -3
- package/dist/component/{vennDiagram-T6HMQDX7-C3ubGm9c.js → vennDiagram-T6HMQDX7-CRpZ12TH.js} +2 -2
- package/dist/component/{wardleyDiagram-T6FBY63Y-mKT8yN1z.js → wardleyDiagram-T6FBY63Y-BupsM8K3.js} +3 -3
- package/dist/component/{xychartDiagram-ELKLHX3M-D5AF8jgv.js → xychartDiagram-ELKLHX3M-CUnr8Qbu.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/EmbedComposer.d.ts +5 -1
- package/dist/components/embed/EmbedRail.d.ts +9 -2
- 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/embed/artifact-action-bridge.d.ts +2 -0
- package/dist/embed/dock-state.d.ts +1 -1
- package/dist/embed/global.d.ts +2 -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/i18n/messages/en.d.ts +118 -5
- package/dist/i18n/messages/surfaces/artifacts.d.ts +304 -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/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 +0 -8
- package/dist/infrastructure/telemetry/first-response-timing.d.ts +51 -0
- package/dist/lib/use-now.d.ts +32 -0
- package/dist/routes/artifact-detail.d.ts +2 -0
- package/dist/routes/artifacts.d.ts +2 -0
- package/dist/routes/chat/transcript-row.d.ts +1 -0
- package/dist/stream/belong-chat-transport.d.ts +30 -2
- package/dist/stream/belong-data-parts.d.ts +10 -0
- package/dist/stream/message-parts.d.ts +3 -1
- package/dist/stream/queued-message-outbox.d.ts +5 -0
- package/dist/stream/select-session-usage.d.ts +9 -0
- package/dist/stream/session-stats-csv.d.ts +7 -9
- package/dist/types/public.d.ts +4 -4
- package/package.json +1 -1
package/dist/api/client.d.ts
CHANGED
|
@@ -23,7 +23,17 @@ export declare const setBelongTokenGetter: (getter: (() => Promise<string>) | nu
|
|
|
23
23
|
export declare const observeResolvedGetterToken: (observer: ResolvedGetterTokenObserver) => (() => void);
|
|
24
24
|
/** Register the host agent id sent as `X-Belong-Agent-Id` on every request. */
|
|
25
25
|
export declare const setBelongAgentId: (agentId: string | null) => void;
|
|
26
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* Register the tenant slug sent as `X-Belong-Tenant` on every request.
|
|
28
|
+
*
|
|
29
|
+
* Deliberately does NOT publish an effective token: a public slug from
|
|
30
|
+
* `init({ tenant })` is not a credential and cannot change who is speaking.
|
|
31
|
+
* `embed/global.ts` calls this on every boot, including with null, so
|
|
32
|
+
* announcing it re-keyed the account cache partition before it was useful for
|
|
33
|
+
* any host whose token claims cannot be read. The slug is read through
|
|
34
|
+
* `peekBelongTenant()` on the next key read, so a later change is picked up
|
|
35
|
+
* without a notification.
|
|
36
|
+
*/
|
|
27
37
|
export declare const setBelongTenant: (tenant: string | null) => void;
|
|
28
38
|
/** Read the public tenant slug without exposing mutable client state. */
|
|
29
39
|
export declare const peekBelongTenant: () => string | null;
|
|
@@ -38,6 +48,14 @@ export declare const clearBelongToken: () => void;
|
|
|
38
48
|
export declare const peekBelongToken: () => string | null;
|
|
39
49
|
/** Synchronous identity for private browser storage; async auth overrides stale sync tokens. */
|
|
40
50
|
export declare const peekStorageIdentityToken: () => string | null;
|
|
51
|
+
/**
|
|
52
|
+
* Is the ASYNC getter the registered auth source? Cache partitions need to tell
|
|
53
|
+
* "this host authenticates asynchronously and has not resolved a token yet"
|
|
54
|
+
* (a transient, self-correcting state) from "this token's claims are
|
|
55
|
+
* unreadable" (a permanent property of the token) — the two deserve different
|
|
56
|
+
* partitions. No token is read here.
|
|
57
|
+
*/
|
|
58
|
+
export declare const hasBelongTokenGetter: () => boolean;
|
|
41
59
|
/**
|
|
42
60
|
* Whether ANY auth source is registered — async getter, sync provider, or a
|
|
43
61
|
* non-empty static token. The dock login gate (`app/BelongDock.tsx`) reads this
|
|
@@ -742,7 +760,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
742
760
|
};
|
|
743
761
|
};
|
|
744
762
|
output: {
|
|
745
|
-
sessionId: import('
|
|
763
|
+
sessionId: import('../../../../apps/belong-cloud/src/platform/ids').SessionId;
|
|
746
764
|
};
|
|
747
765
|
outputFormat: "json";
|
|
748
766
|
status: 201;
|
|
@@ -772,9 +790,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
772
790
|
};
|
|
773
791
|
output: {
|
|
774
792
|
sessions: readonly {
|
|
775
|
-
readonly sessionId: import('
|
|
793
|
+
readonly sessionId: import('../../../../apps/belong-cloud/src/platform/ids').SessionId;
|
|
776
794
|
readonly title: string | null;
|
|
777
|
-
readonly status: import('
|
|
795
|
+
readonly status: import('../../../../apps/belong-cloud/src/features/sessions/session.repo').SessionRow["status"];
|
|
778
796
|
readonly updatedAt: string;
|
|
779
797
|
}[];
|
|
780
798
|
};
|
|
@@ -794,10 +812,10 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
794
812
|
};
|
|
795
813
|
};
|
|
796
814
|
output: {
|
|
797
|
-
readonly sessionId: import('
|
|
815
|
+
readonly sessionId: import('../../../../apps/belong-cloud/src/platform/ids').SessionId;
|
|
798
816
|
readonly workspaceExternalId: string | null;
|
|
799
817
|
readonly title: string | null;
|
|
800
|
-
readonly status: import('
|
|
818
|
+
readonly status: import('../../../../apps/belong-cloud/src/features/sessions/session.repo').SessionRow["status"];
|
|
801
819
|
readonly createdAt: string;
|
|
802
820
|
readonly updatedAt: string;
|
|
803
821
|
};
|
|
@@ -828,10 +846,10 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
828
846
|
};
|
|
829
847
|
};
|
|
830
848
|
output: {
|
|
831
|
-
readonly sessionId: import('
|
|
849
|
+
readonly sessionId: import('../../../../apps/belong-cloud/src/platform/ids').SessionId;
|
|
832
850
|
readonly workspaceExternalId: string | null;
|
|
833
851
|
readonly title: string | null;
|
|
834
|
-
readonly status: import('
|
|
852
|
+
readonly status: import('../../../../apps/belong-cloud/src/features/sessions/session.repo').SessionRow["status"];
|
|
835
853
|
readonly createdAt: string;
|
|
836
854
|
readonly updatedAt: string;
|
|
837
855
|
};
|
|
@@ -902,7 +920,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
902
920
|
messages: {
|
|
903
921
|
clientMessageId?: string | null | undefined;
|
|
904
922
|
metadata?: {
|
|
905
|
-
taskId: import('
|
|
923
|
+
taskId: import('../../../../apps/belong-cloud/src/platform/ids').TaskId;
|
|
906
924
|
feedback: {
|
|
907
925
|
readonly sentiment: "up" | "down";
|
|
908
926
|
readonly reason: string | null;
|
|
@@ -988,6 +1006,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
988
1006
|
runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
|
|
989
1007
|
llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
|
|
990
1008
|
llmModel?: string | undefined;
|
|
1009
|
+
responseMode?: "balanced" | "fast" | "smart" | undefined;
|
|
991
1010
|
fileIds?: string[] | undefined;
|
|
992
1011
|
clientMessageId?: string | undefined;
|
|
993
1012
|
skill?: string | undefined;
|
|
@@ -999,9 +1018,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
999
1018
|
};
|
|
1000
1019
|
};
|
|
1001
1020
|
output: {
|
|
1002
|
-
messageId: import('
|
|
1003
|
-
taskId: import('
|
|
1004
|
-
runId: import('
|
|
1021
|
+
messageId: import('../../../../apps/belong-cloud/src/platform/ids').MessageId;
|
|
1022
|
+
taskId: import('../../../../apps/belong-cloud/src/platform/ids').TaskId;
|
|
1023
|
+
runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId;
|
|
1005
1024
|
idempotent: boolean;
|
|
1006
1025
|
};
|
|
1007
1026
|
outputFormat: "json";
|
|
@@ -1023,6 +1042,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1023
1042
|
runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
|
|
1024
1043
|
llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
|
|
1025
1044
|
llmModel?: string | undefined;
|
|
1045
|
+
responseMode?: "balanced" | "fast" | "smart" | undefined;
|
|
1026
1046
|
fileIds?: string[] | undefined;
|
|
1027
1047
|
clientMessageId?: string | undefined;
|
|
1028
1048
|
skill?: string | undefined;
|
|
@@ -1057,6 +1077,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1057
1077
|
runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
|
|
1058
1078
|
llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
|
|
1059
1079
|
llmModel?: string | undefined;
|
|
1080
|
+
responseMode?: "balanced" | "fast" | "smart" | undefined;
|
|
1060
1081
|
fileIds?: string[] | undefined;
|
|
1061
1082
|
clientMessageId?: string | undefined;
|
|
1062
1083
|
skill?: string | undefined;
|
|
@@ -1091,6 +1112,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1091
1112
|
runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
|
|
1092
1113
|
llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
|
|
1093
1114
|
llmModel?: string | undefined;
|
|
1115
|
+
responseMode?: "balanced" | "fast" | "smart" | undefined;
|
|
1094
1116
|
fileIds?: string[] | undefined;
|
|
1095
1117
|
clientMessageId?: string | undefined;
|
|
1096
1118
|
skill?: string | undefined;
|
|
@@ -1125,6 +1147,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1125
1147
|
runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
|
|
1126
1148
|
llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
|
|
1127
1149
|
llmModel?: string | undefined;
|
|
1150
|
+
responseMode?: "balanced" | "fast" | "smart" | undefined;
|
|
1128
1151
|
fileIds?: string[] | undefined;
|
|
1129
1152
|
clientMessageId?: string | undefined;
|
|
1130
1153
|
skill?: string | undefined;
|
|
@@ -1159,6 +1182,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1159
1182
|
runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
|
|
1160
1183
|
llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
|
|
1161
1184
|
llmModel?: string | undefined;
|
|
1185
|
+
responseMode?: "balanced" | "fast" | "smart" | undefined;
|
|
1162
1186
|
fileIds?: string[] | undefined;
|
|
1163
1187
|
clientMessageId?: string | undefined;
|
|
1164
1188
|
skill?: string | undefined;
|
|
@@ -1193,6 +1217,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1193
1217
|
runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
|
|
1194
1218
|
llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
|
|
1195
1219
|
llmModel?: string | undefined;
|
|
1220
|
+
responseMode?: "balanced" | "fast" | "smart" | undefined;
|
|
1196
1221
|
fileIds?: string[] | undefined;
|
|
1197
1222
|
clientMessageId?: string | undefined;
|
|
1198
1223
|
skill?: string | undefined;
|
|
@@ -1282,8 +1307,8 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1282
1307
|
};
|
|
1283
1308
|
};
|
|
1284
1309
|
output: {
|
|
1285
|
-
readonly runId: import('
|
|
1286
|
-
readonly status: import('
|
|
1310
|
+
readonly runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId;
|
|
1311
|
+
readonly status: import('../../../../apps/belong-cloud/src/features/tasks/task.repo').ActiveTaskStatus;
|
|
1287
1312
|
} | null;
|
|
1288
1313
|
outputFormat: "json";
|
|
1289
1314
|
status: import('hono/utils/http-status').ContentfulStatusCode;
|
|
@@ -1319,7 +1344,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1319
1344
|
output: {
|
|
1320
1345
|
status: "compacted";
|
|
1321
1346
|
messagesCompacted: number;
|
|
1322
|
-
summaryMessageId: import('
|
|
1347
|
+
summaryMessageId: import('../../../../apps/belong-cloud/src/platform/ids').MessageId;
|
|
1323
1348
|
};
|
|
1324
1349
|
outputFormat: "json";
|
|
1325
1350
|
status: 200;
|
|
@@ -1609,6 +1634,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1609
1634
|
totalCacheReadInputTokens: number;
|
|
1610
1635
|
totalCacheWriteInputTokens: number;
|
|
1611
1636
|
turns: number;
|
|
1637
|
+
weightedTokens: number;
|
|
1612
1638
|
historyChars: number;
|
|
1613
1639
|
autoCompactThresholdChars: number;
|
|
1614
1640
|
};
|
|
@@ -1644,7 +1670,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1644
1670
|
};
|
|
1645
1671
|
};
|
|
1646
1672
|
output: {
|
|
1647
|
-
exportId: import('
|
|
1673
|
+
exportId: import('../../../../apps/belong-cloud/src/platform/ids').SessionExportId;
|
|
1648
1674
|
};
|
|
1649
1675
|
outputFormat: "json";
|
|
1650
1676
|
status: 202;
|
|
@@ -1683,7 +1709,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1683
1709
|
};
|
|
1684
1710
|
};
|
|
1685
1711
|
output: {
|
|
1686
|
-
exportId: import('
|
|
1712
|
+
exportId: import('../../../../apps/belong-cloud/src/platform/ids').SessionExportId;
|
|
1687
1713
|
status: "failed" | "queued" | "running" | "ready";
|
|
1688
1714
|
error: string | null;
|
|
1689
1715
|
};
|
|
@@ -1761,6 +1787,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1761
1787
|
readonly totalInputTokens: number;
|
|
1762
1788
|
readonly totalOutputTokens: number;
|
|
1763
1789
|
readonly totalTokens: number;
|
|
1790
|
+
readonly totalWeightedTokens: number;
|
|
1764
1791
|
readonly totalCacheReadInputTokens: number;
|
|
1765
1792
|
readonly totalCacheWriteInputTokens: number;
|
|
1766
1793
|
readonly turns: number;
|
|
@@ -1805,6 +1832,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1805
1832
|
readonly totalInputTokens: number;
|
|
1806
1833
|
readonly totalOutputTokens: number;
|
|
1807
1834
|
readonly totalTokens: number;
|
|
1835
|
+
readonly totalWeightedTokens: number;
|
|
1808
1836
|
readonly totalCacheReadInputTokens: number;
|
|
1809
1837
|
readonly totalCacheWriteInputTokens: number;
|
|
1810
1838
|
readonly turns: number;
|
|
@@ -1817,6 +1845,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1817
1845
|
readonly inputTokens: number;
|
|
1818
1846
|
readonly outputTokens: number;
|
|
1819
1847
|
readonly totalTokens: number;
|
|
1848
|
+
readonly weightedTokens: number;
|
|
1820
1849
|
}[];
|
|
1821
1850
|
};
|
|
1822
1851
|
outputFormat: "json";
|
|
@@ -1825,6 +1854,32 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1825
1854
|
}>;
|
|
1826
1855
|
};
|
|
1827
1856
|
};
|
|
1857
|
+
} & {
|
|
1858
|
+
v1: {
|
|
1859
|
+
usage: import('hono/client').ClientRequest<string, "/v1/usage", {
|
|
1860
|
+
$get: {
|
|
1861
|
+
input: {};
|
|
1862
|
+
output: {
|
|
1863
|
+
timeZone: "UTC";
|
|
1864
|
+
asOf: string;
|
|
1865
|
+
days: {
|
|
1866
|
+
date: string;
|
|
1867
|
+
weightedTokens: number;
|
|
1868
|
+
}[];
|
|
1869
|
+
today: {
|
|
1870
|
+
date: string;
|
|
1871
|
+
weightedTokens: number;
|
|
1872
|
+
};
|
|
1873
|
+
monthToDate: {
|
|
1874
|
+
from: string;
|
|
1875
|
+
weightedTokens: number;
|
|
1876
|
+
};
|
|
1877
|
+
};
|
|
1878
|
+
outputFormat: "json";
|
|
1879
|
+
status: 200;
|
|
1880
|
+
};
|
|
1881
|
+
}>;
|
|
1882
|
+
};
|
|
1828
1883
|
} & {
|
|
1829
1884
|
v1: {
|
|
1830
1885
|
sessions: {
|
|
@@ -1945,7 +2000,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1945
2000
|
} | {
|
|
1946
2001
|
input: {};
|
|
1947
2002
|
output: {
|
|
1948
|
-
reportId: import('
|
|
2003
|
+
reportId: import('../../../../apps/belong-cloud/src/platform/ids').IssueReportId;
|
|
1949
2004
|
};
|
|
1950
2005
|
outputFormat: "json";
|
|
1951
2006
|
status: 202;
|
|
@@ -2039,7 +2094,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
2039
2094
|
output: {
|
|
2040
2095
|
status: string;
|
|
2041
2096
|
recalledMessages: readonly {
|
|
2042
|
-
readonly messageId: import('
|
|
2097
|
+
readonly messageId: import('../../../../apps/belong-cloud/src/platform/ids').MessageId;
|
|
2043
2098
|
readonly clientMessageId: string | null;
|
|
2044
2099
|
readonly text: string;
|
|
2045
2100
|
}[];
|
|
@@ -2127,9 +2182,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
2127
2182
|
};
|
|
2128
2183
|
output: {
|
|
2129
2184
|
continuation?: {
|
|
2130
|
-
readonly messageId: import('
|
|
2131
|
-
readonly taskId: import('
|
|
2132
|
-
readonly runId: import('
|
|
2185
|
+
readonly messageId: import('../../../../apps/belong-cloud/src/platform/ids').MessageId;
|
|
2186
|
+
readonly taskId: import('../../../../apps/belong-cloud/src/platform/ids').TaskId;
|
|
2187
|
+
readonly runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId;
|
|
2133
2188
|
readonly text: string;
|
|
2134
2189
|
} | undefined;
|
|
2135
2190
|
status: "accepted";
|
|
@@ -2229,13 +2284,13 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
2229
2284
|
};
|
|
2230
2285
|
output: {
|
|
2231
2286
|
continuation?: {
|
|
2232
|
-
readonly messageId: import('
|
|
2233
|
-
readonly taskId: import('
|
|
2234
|
-
readonly runId: import('
|
|
2287
|
+
readonly messageId: import('../../../../apps/belong-cloud/src/platform/ids').MessageId;
|
|
2288
|
+
readonly taskId: import('../../../../apps/belong-cloud/src/platform/ids').TaskId;
|
|
2289
|
+
readonly runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId;
|
|
2235
2290
|
readonly text: string;
|
|
2236
2291
|
} | undefined;
|
|
2237
2292
|
status: "accepted";
|
|
2238
|
-
questionStatus: import('
|
|
2293
|
+
questionStatus: import('../../../../apps/belong-cloud/src/features/runs/run-event.types').QuestionState;
|
|
2239
2294
|
};
|
|
2240
2295
|
outputFormat: "json";
|
|
2241
2296
|
status: 200;
|
|
@@ -2308,7 +2363,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
2308
2363
|
};
|
|
2309
2364
|
} | undefined;
|
|
2310
2365
|
type: string;
|
|
2311
|
-
questionStatus: import('
|
|
2366
|
+
questionStatus: import('../../../../apps/belong-cloud/src/features/runs/run-event.types').QuestionState;
|
|
2312
2367
|
};
|
|
2313
2368
|
};
|
|
2314
2369
|
outputFormat: "json";
|
|
@@ -2407,7 +2462,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
2407
2462
|
} | {
|
|
2408
2463
|
input: {};
|
|
2409
2464
|
output: {
|
|
2410
|
-
fileId: import('
|
|
2465
|
+
fileId: import('../../../../apps/belong-cloud/src/platform/ids').FileId;
|
|
2411
2466
|
};
|
|
2412
2467
|
outputFormat: "json";
|
|
2413
2468
|
status: 201;
|
|
@@ -2434,7 +2489,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
2434
2489
|
input: {};
|
|
2435
2490
|
output: {
|
|
2436
2491
|
files: {
|
|
2437
|
-
fileId: import('
|
|
2492
|
+
fileId: import('../../../../apps/belong-cloud/src/platform/ids').FileId;
|
|
2438
2493
|
filename: string;
|
|
2439
2494
|
mimeType: string;
|
|
2440
2495
|
sizeBytes: number;
|
|
@@ -2457,7 +2512,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
2457
2512
|
};
|
|
2458
2513
|
};
|
|
2459
2514
|
output: {
|
|
2460
|
-
fileId: import('
|
|
2515
|
+
fileId: import('../../../../apps/belong-cloud/src/platform/ids').FileId;
|
|
2461
2516
|
originalFilename: string;
|
|
2462
2517
|
mimeType: string;
|
|
2463
2518
|
sizeBytes: number;
|
|
@@ -2516,7 +2571,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
2516
2571
|
readonly status: "pending";
|
|
2517
2572
|
} | {
|
|
2518
2573
|
readonly status: "ready";
|
|
2519
|
-
readonly kind: import('
|
|
2574
|
+
readonly kind: import('../../../../apps/belong-cloud/src/features/files/preview.types').PreviewKind;
|
|
2520
2575
|
readonly pageCount?: number | undefined;
|
|
2521
2576
|
} | {
|
|
2522
2577
|
readonly status: "too_large";
|
|
@@ -3841,7 +3896,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
3841
3896
|
readonly status: "pending";
|
|
3842
3897
|
} | {
|
|
3843
3898
|
readonly status: "ready";
|
|
3844
|
-
readonly kind: import('
|
|
3899
|
+
readonly kind: import('../../../../apps/belong-cloud/src/features/files/preview.types').PreviewKind;
|
|
3845
3900
|
readonly pageCount?: number | undefined;
|
|
3846
3901
|
readonly totalPages?: number | undefined;
|
|
3847
3902
|
} | {
|
|
@@ -3958,6 +4013,415 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
3958
4013
|
};
|
|
3959
4014
|
};
|
|
3960
4015
|
};
|
|
4016
|
+
} & {
|
|
4017
|
+
v1: {
|
|
4018
|
+
"live-artifacts": import('hono/client').ClientRequest<string, "/v1/live-artifacts", {
|
|
4019
|
+
$get: {
|
|
4020
|
+
input: {};
|
|
4021
|
+
output: {
|
|
4022
|
+
readonly artifacts: readonly {
|
|
4023
|
+
readonly liveArtifactId: import('../../../../apps/belong-cloud/src/platform/ids').LiveArtifactId;
|
|
4024
|
+
readonly workspaceId: import('../../../../apps/belong-cloud/src/platform/ids').WorkspaceId | null;
|
|
4025
|
+
readonly name: string;
|
|
4026
|
+
readonly description: string | null;
|
|
4027
|
+
readonly currentVersion: number;
|
|
4028
|
+
readonly shareSlug: string;
|
|
4029
|
+
readonly shareExpiresAt: string | null;
|
|
4030
|
+
readonly shareRevokedAt: string | null;
|
|
4031
|
+
readonly seriesId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId | null;
|
|
4032
|
+
readonly lastRefreshedAt: string | null;
|
|
4033
|
+
readonly createdAt: string;
|
|
4034
|
+
readonly updatedAt: string;
|
|
4035
|
+
readonly cadence: {
|
|
4036
|
+
readonly timezone: string;
|
|
4037
|
+
readonly recurrenceKind: import('../../../../apps/belong-cloud/src/features/task-schedules/task-schedule.schemas').RecurrenceKind;
|
|
4038
|
+
readonly intervalMinutes: number | null;
|
|
4039
|
+
readonly anchorAt: string;
|
|
4040
|
+
} | null;
|
|
4041
|
+
}[];
|
|
4042
|
+
readonly slotsUsed: number;
|
|
4043
|
+
readonly slotLimit: number;
|
|
4044
|
+
};
|
|
4045
|
+
outputFormat: "json";
|
|
4046
|
+
status: import('hono/utils/http-status').ContentfulStatusCode;
|
|
4047
|
+
};
|
|
4048
|
+
$post: {
|
|
4049
|
+
input: {
|
|
4050
|
+
json: {
|
|
4051
|
+
name: string;
|
|
4052
|
+
artifactId: string;
|
|
4053
|
+
description?: string | undefined;
|
|
4054
|
+
};
|
|
4055
|
+
};
|
|
4056
|
+
output: {
|
|
4057
|
+
error: {
|
|
4058
|
+
type: string;
|
|
4059
|
+
requiredScope: string;
|
|
4060
|
+
};
|
|
4061
|
+
};
|
|
4062
|
+
outputFormat: "json";
|
|
4063
|
+
status: 403;
|
|
4064
|
+
} | {
|
|
4065
|
+
input: {
|
|
4066
|
+
json: {
|
|
4067
|
+
name: string;
|
|
4068
|
+
artifactId: string;
|
|
4069
|
+
description?: string | undefined;
|
|
4070
|
+
};
|
|
4071
|
+
};
|
|
4072
|
+
output: {
|
|
4073
|
+
readonly liveArtifactId: import('../../../../apps/belong-cloud/src/platform/ids').LiveArtifactId;
|
|
4074
|
+
readonly version: 1;
|
|
4075
|
+
};
|
|
4076
|
+
outputFormat: "json";
|
|
4077
|
+
status: 201;
|
|
4078
|
+
} | {
|
|
4079
|
+
input: {
|
|
4080
|
+
json: {
|
|
4081
|
+
name: string;
|
|
4082
|
+
artifactId: string;
|
|
4083
|
+
description?: string | undefined;
|
|
4084
|
+
};
|
|
4085
|
+
};
|
|
4086
|
+
output: {
|
|
4087
|
+
error: {
|
|
4088
|
+
type: "quota_exceeded";
|
|
4089
|
+
existing: readonly {
|
|
4090
|
+
readonly liveArtifactId: import('../../../../apps/belong-cloud/src/platform/ids').LiveArtifactId;
|
|
4091
|
+
readonly workspaceId: import('../../../../apps/belong-cloud/src/platform/ids').WorkspaceId | null;
|
|
4092
|
+
readonly name: string;
|
|
4093
|
+
readonly description: string | null;
|
|
4094
|
+
readonly currentVersion: number;
|
|
4095
|
+
readonly shareSlug: string;
|
|
4096
|
+
readonly shareExpiresAt: string | null;
|
|
4097
|
+
readonly shareRevokedAt: string | null;
|
|
4098
|
+
readonly seriesId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId | null;
|
|
4099
|
+
readonly lastRefreshedAt: string | null;
|
|
4100
|
+
readonly createdAt: string;
|
|
4101
|
+
readonly updatedAt: string;
|
|
4102
|
+
}[];
|
|
4103
|
+
};
|
|
4104
|
+
};
|
|
4105
|
+
outputFormat: "json";
|
|
4106
|
+
status: 409;
|
|
4107
|
+
} | {
|
|
4108
|
+
input: {
|
|
4109
|
+
json: {
|
|
4110
|
+
name: string;
|
|
4111
|
+
artifactId: string;
|
|
4112
|
+
description?: string | undefined;
|
|
4113
|
+
};
|
|
4114
|
+
};
|
|
4115
|
+
output: {
|
|
4116
|
+
error: {
|
|
4117
|
+
type: "name_taken";
|
|
4118
|
+
liveArtifactId: import('../../../../apps/belong-cloud/src/platform/ids').LiveArtifactId;
|
|
4119
|
+
};
|
|
4120
|
+
};
|
|
4121
|
+
outputFormat: "json";
|
|
4122
|
+
status: 409;
|
|
4123
|
+
} | {
|
|
4124
|
+
input: {
|
|
4125
|
+
json: {
|
|
4126
|
+
name: string;
|
|
4127
|
+
artifactId: string;
|
|
4128
|
+
description?: string | undefined;
|
|
4129
|
+
};
|
|
4130
|
+
};
|
|
4131
|
+
output: {
|
|
4132
|
+
error: {
|
|
4133
|
+
type: string;
|
|
4134
|
+
};
|
|
4135
|
+
};
|
|
4136
|
+
outputFormat: "json";
|
|
4137
|
+
status: 404;
|
|
4138
|
+
};
|
|
4139
|
+
}>;
|
|
4140
|
+
};
|
|
4141
|
+
} & {
|
|
4142
|
+
v1: {
|
|
4143
|
+
"live-artifacts": {
|
|
4144
|
+
":id": import('hono/client').ClientRequest<string, "/v1/live-artifacts/:id", {
|
|
4145
|
+
$get: {
|
|
4146
|
+
input: {
|
|
4147
|
+
param: {
|
|
4148
|
+
id: string;
|
|
4149
|
+
};
|
|
4150
|
+
};
|
|
4151
|
+
output: {
|
|
4152
|
+
readonly liveArtifactId: import('../../../../apps/belong-cloud/src/platform/ids').LiveArtifactId;
|
|
4153
|
+
readonly workspaceId: import('../../../../apps/belong-cloud/src/platform/ids').WorkspaceId | null;
|
|
4154
|
+
readonly name: string;
|
|
4155
|
+
readonly description: string | null;
|
|
4156
|
+
readonly currentVersion: number;
|
|
4157
|
+
readonly shareSlug: string;
|
|
4158
|
+
readonly shareExpiresAt: string | null;
|
|
4159
|
+
readonly shareRevokedAt: string | null;
|
|
4160
|
+
readonly seriesId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId | null;
|
|
4161
|
+
readonly lastRefreshedAt: string | null;
|
|
4162
|
+
readonly createdAt: string;
|
|
4163
|
+
readonly updatedAt: string;
|
|
4164
|
+
readonly versions: readonly {
|
|
4165
|
+
readonly version: number;
|
|
4166
|
+
readonly artifactId: import('../../../../apps/belong-cloud/src/platform/ids').ArtifactId;
|
|
4167
|
+
readonly mimeType: string;
|
|
4168
|
+
readonly runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId | null;
|
|
4169
|
+
readonly summary: string | null;
|
|
4170
|
+
readonly publishedAt: string;
|
|
4171
|
+
}[];
|
|
4172
|
+
readonly cadence: {
|
|
4173
|
+
readonly timezone: string;
|
|
4174
|
+
readonly recurrenceKind: import('../../../../apps/belong-cloud/src/features/task-schedules/task-schedule.schemas').RecurrenceKind;
|
|
4175
|
+
readonly intervalMinutes: number | null;
|
|
4176
|
+
readonly anchorAt: string;
|
|
4177
|
+
} | null;
|
|
4178
|
+
};
|
|
4179
|
+
outputFormat: "json";
|
|
4180
|
+
status: import('hono/utils/http-status').ContentfulStatusCode;
|
|
4181
|
+
} | {
|
|
4182
|
+
input: {
|
|
4183
|
+
param: {
|
|
4184
|
+
id: string;
|
|
4185
|
+
};
|
|
4186
|
+
};
|
|
4187
|
+
output: {
|
|
4188
|
+
error: {
|
|
4189
|
+
type: string;
|
|
4190
|
+
};
|
|
4191
|
+
};
|
|
4192
|
+
outputFormat: "json";
|
|
4193
|
+
status: 404;
|
|
4194
|
+
};
|
|
4195
|
+
$patch: {
|
|
4196
|
+
input: {
|
|
4197
|
+
param: {
|
|
4198
|
+
id: string;
|
|
4199
|
+
};
|
|
4200
|
+
} & {
|
|
4201
|
+
json: {
|
|
4202
|
+
name?: string | undefined;
|
|
4203
|
+
description?: string | undefined;
|
|
4204
|
+
seriesId?: string | null | undefined;
|
|
4205
|
+
};
|
|
4206
|
+
};
|
|
4207
|
+
output: null;
|
|
4208
|
+
outputFormat: "body";
|
|
4209
|
+
status: 204;
|
|
4210
|
+
} | {
|
|
4211
|
+
input: {
|
|
4212
|
+
param: {
|
|
4213
|
+
id: string;
|
|
4214
|
+
};
|
|
4215
|
+
} & {
|
|
4216
|
+
json: {
|
|
4217
|
+
name?: string | undefined;
|
|
4218
|
+
description?: string | undefined;
|
|
4219
|
+
seriesId?: string | null | undefined;
|
|
4220
|
+
};
|
|
4221
|
+
};
|
|
4222
|
+
output: {
|
|
4223
|
+
error: {
|
|
4224
|
+
type: string;
|
|
4225
|
+
requiredScope: string;
|
|
4226
|
+
};
|
|
4227
|
+
};
|
|
4228
|
+
outputFormat: "json";
|
|
4229
|
+
status: 403;
|
|
4230
|
+
} | {
|
|
4231
|
+
input: {
|
|
4232
|
+
param: {
|
|
4233
|
+
id: string;
|
|
4234
|
+
};
|
|
4235
|
+
} & {
|
|
4236
|
+
json: {
|
|
4237
|
+
name?: string | undefined;
|
|
4238
|
+
description?: string | undefined;
|
|
4239
|
+
seriesId?: string | null | undefined;
|
|
4240
|
+
};
|
|
4241
|
+
};
|
|
4242
|
+
output: {
|
|
4243
|
+
error: {
|
|
4244
|
+
type: string;
|
|
4245
|
+
};
|
|
4246
|
+
};
|
|
4247
|
+
outputFormat: "json";
|
|
4248
|
+
status: 404;
|
|
4249
|
+
} | {
|
|
4250
|
+
input: {
|
|
4251
|
+
param: {
|
|
4252
|
+
id: string;
|
|
4253
|
+
};
|
|
4254
|
+
} & {
|
|
4255
|
+
json: {
|
|
4256
|
+
name?: string | undefined;
|
|
4257
|
+
description?: string | undefined;
|
|
4258
|
+
seriesId?: string | null | undefined;
|
|
4259
|
+
};
|
|
4260
|
+
};
|
|
4261
|
+
output: {
|
|
4262
|
+
error: {
|
|
4263
|
+
type: string;
|
|
4264
|
+
};
|
|
4265
|
+
};
|
|
4266
|
+
outputFormat: "json";
|
|
4267
|
+
status: 409;
|
|
4268
|
+
};
|
|
4269
|
+
$delete: {
|
|
4270
|
+
input: {
|
|
4271
|
+
param: {
|
|
4272
|
+
id: string;
|
|
4273
|
+
};
|
|
4274
|
+
};
|
|
4275
|
+
output: null;
|
|
4276
|
+
outputFormat: "body";
|
|
4277
|
+
status: 204;
|
|
4278
|
+
} | {
|
|
4279
|
+
input: {
|
|
4280
|
+
param: {
|
|
4281
|
+
id: string;
|
|
4282
|
+
};
|
|
4283
|
+
};
|
|
4284
|
+
output: {
|
|
4285
|
+
error: {
|
|
4286
|
+
type: string;
|
|
4287
|
+
requiredScope: string;
|
|
4288
|
+
};
|
|
4289
|
+
};
|
|
4290
|
+
outputFormat: "json";
|
|
4291
|
+
status: 403;
|
|
4292
|
+
} | {
|
|
4293
|
+
input: {
|
|
4294
|
+
param: {
|
|
4295
|
+
id: string;
|
|
4296
|
+
};
|
|
4297
|
+
};
|
|
4298
|
+
output: {
|
|
4299
|
+
error: {
|
|
4300
|
+
type: string;
|
|
4301
|
+
};
|
|
4302
|
+
};
|
|
4303
|
+
outputFormat: "json";
|
|
4304
|
+
status: 404;
|
|
4305
|
+
};
|
|
4306
|
+
}>;
|
|
4307
|
+
};
|
|
4308
|
+
};
|
|
4309
|
+
} & {
|
|
4310
|
+
v1: {
|
|
4311
|
+
"live-artifacts": {
|
|
4312
|
+
":id": {
|
|
4313
|
+
share: import('hono/client').ClientRequest<string, "/v1/live-artifacts/:id/share", {
|
|
4314
|
+
$post: {
|
|
4315
|
+
input: {
|
|
4316
|
+
param: {
|
|
4317
|
+
id: string;
|
|
4318
|
+
};
|
|
4319
|
+
} & {
|
|
4320
|
+
json: {
|
|
4321
|
+
ttlSeconds?: unknown;
|
|
4322
|
+
};
|
|
4323
|
+
};
|
|
4324
|
+
output: {
|
|
4325
|
+
error: {
|
|
4326
|
+
type: string;
|
|
4327
|
+
requiredScope: string;
|
|
4328
|
+
};
|
|
4329
|
+
};
|
|
4330
|
+
outputFormat: "json";
|
|
4331
|
+
status: 403;
|
|
4332
|
+
} | {
|
|
4333
|
+
input: {
|
|
4334
|
+
param: {
|
|
4335
|
+
id: string;
|
|
4336
|
+
};
|
|
4337
|
+
} & {
|
|
4338
|
+
json: {
|
|
4339
|
+
ttlSeconds?: unknown;
|
|
4340
|
+
};
|
|
4341
|
+
};
|
|
4342
|
+
output: {
|
|
4343
|
+
shareUrl: string;
|
|
4344
|
+
expiresAt: string;
|
|
4345
|
+
rotated: boolean;
|
|
4346
|
+
};
|
|
4347
|
+
outputFormat: "json";
|
|
4348
|
+
status: 201;
|
|
4349
|
+
} | {
|
|
4350
|
+
input: {
|
|
4351
|
+
param: {
|
|
4352
|
+
id: string;
|
|
4353
|
+
};
|
|
4354
|
+
} & {
|
|
4355
|
+
json: {
|
|
4356
|
+
ttlSeconds?: unknown;
|
|
4357
|
+
};
|
|
4358
|
+
};
|
|
4359
|
+
output: {
|
|
4360
|
+
error: {
|
|
4361
|
+
type: string;
|
|
4362
|
+
};
|
|
4363
|
+
};
|
|
4364
|
+
outputFormat: "json";
|
|
4365
|
+
status: 404;
|
|
4366
|
+
};
|
|
4367
|
+
$delete: {
|
|
4368
|
+
input: {
|
|
4369
|
+
param: {
|
|
4370
|
+
id: string;
|
|
4371
|
+
};
|
|
4372
|
+
};
|
|
4373
|
+
output: null;
|
|
4374
|
+
outputFormat: "body";
|
|
4375
|
+
status: 204;
|
|
4376
|
+
} | {
|
|
4377
|
+
input: {
|
|
4378
|
+
param: {
|
|
4379
|
+
id: string;
|
|
4380
|
+
};
|
|
4381
|
+
};
|
|
4382
|
+
output: {
|
|
4383
|
+
error: {
|
|
4384
|
+
type: string;
|
|
4385
|
+
requiredScope: string;
|
|
4386
|
+
};
|
|
4387
|
+
};
|
|
4388
|
+
outputFormat: "json";
|
|
4389
|
+
status: 403;
|
|
4390
|
+
} | {
|
|
4391
|
+
input: {
|
|
4392
|
+
param: {
|
|
4393
|
+
id: string;
|
|
4394
|
+
};
|
|
4395
|
+
};
|
|
4396
|
+
output: {
|
|
4397
|
+
error: {
|
|
4398
|
+
type: string;
|
|
4399
|
+
};
|
|
4400
|
+
};
|
|
4401
|
+
outputFormat: "json";
|
|
4402
|
+
status: 404;
|
|
4403
|
+
};
|
|
4404
|
+
}>;
|
|
4405
|
+
};
|
|
4406
|
+
};
|
|
4407
|
+
};
|
|
4408
|
+
} & {
|
|
4409
|
+
share: {
|
|
4410
|
+
a: {
|
|
4411
|
+
":slug": import('hono/client').ClientRequest<string, "/share/a/:slug", {
|
|
4412
|
+
$get: {
|
|
4413
|
+
input: {
|
|
4414
|
+
param: {
|
|
4415
|
+
slug: string;
|
|
4416
|
+
};
|
|
4417
|
+
};
|
|
4418
|
+
output: {};
|
|
4419
|
+
outputFormat: string;
|
|
4420
|
+
status: import('hono/utils/http-status').StatusCode;
|
|
4421
|
+
};
|
|
4422
|
+
}>;
|
|
4423
|
+
};
|
|
4424
|
+
};
|
|
3961
4425
|
} & {
|
|
3962
4426
|
share: {
|
|
3963
4427
|
":token": import('hono/client').ClientRequest<string, "/share/:token", {
|
|
@@ -4684,7 +5148,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
4684
5148
|
} | {
|
|
4685
5149
|
input: {};
|
|
4686
5150
|
output: {
|
|
4687
|
-
fileId: import('
|
|
5151
|
+
fileId: import('../../../../apps/belong-cloud/src/platform/ids').FileId;
|
|
4688
5152
|
};
|
|
4689
5153
|
outputFormat: "json";
|
|
4690
5154
|
status: 201;
|
|
@@ -5274,6 +5738,21 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
5274
5738
|
}>;
|
|
5275
5739
|
};
|
|
5276
5740
|
};
|
|
5741
|
+
} & {
|
|
5742
|
+
v1: {
|
|
5743
|
+
config: {
|
|
5744
|
+
"response-modes": import('hono/client').ClientRequest<string, "/v1/config/response-modes", {
|
|
5745
|
+
$get: {
|
|
5746
|
+
input: {};
|
|
5747
|
+
output: {
|
|
5748
|
+
enabled: boolean;
|
|
5749
|
+
};
|
|
5750
|
+
outputFormat: "json";
|
|
5751
|
+
status: 200;
|
|
5752
|
+
};
|
|
5753
|
+
}>;
|
|
5754
|
+
};
|
|
5755
|
+
};
|
|
5277
5756
|
} & {
|
|
5278
5757
|
v1: {
|
|
5279
5758
|
config: {
|
|
@@ -5283,6 +5762,13 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
5283
5762
|
output: null;
|
|
5284
5763
|
outputFormat: "body";
|
|
5285
5764
|
status: 204;
|
|
5765
|
+
} | {
|
|
5766
|
+
input: {};
|
|
5767
|
+
output: {
|
|
5768
|
+
error: string;
|
|
5769
|
+
};
|
|
5770
|
+
outputFormat: "json";
|
|
5771
|
+
status: 400;
|
|
5286
5772
|
} | {
|
|
5287
5773
|
input: {};
|
|
5288
5774
|
output: {
|
|
@@ -5774,7 +6260,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
5774
6260
|
readonly name: string;
|
|
5775
6261
|
readonly description: string;
|
|
5776
6262
|
readonly group: string;
|
|
5777
|
-
readonly source: import('
|
|
6263
|
+
readonly source: import('../../../../apps/belong-cloud/src/features/skills/skill.service').SkillSource;
|
|
5778
6264
|
}[];
|
|
5779
6265
|
commands: readonly {
|
|
5780
6266
|
readonly name: string;
|
|
@@ -5902,7 +6388,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
5902
6388
|
};
|
|
5903
6389
|
output: {
|
|
5904
6390
|
state: "active";
|
|
5905
|
-
grantId: import('
|
|
6391
|
+
grantId: import('../../../../apps/belong-cloud/src/platform/ids').AgentGrantId;
|
|
5906
6392
|
expiresAt: string;
|
|
5907
6393
|
};
|
|
5908
6394
|
outputFormat: "json";
|
|
@@ -5918,7 +6404,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
5918
6404
|
};
|
|
5919
6405
|
output: {
|
|
5920
6406
|
state: "preparing";
|
|
5921
|
-
grantId: import('
|
|
6407
|
+
grantId: import('../../../../apps/belong-cloud/src/platform/ids').AgentGrantId;
|
|
5922
6408
|
expiresAt: string;
|
|
5923
6409
|
};
|
|
5924
6410
|
outputFormat: "json";
|
|
@@ -6119,7 +6605,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6119
6605
|
};
|
|
6120
6606
|
output: {
|
|
6121
6607
|
status: "active" | "expired" | "revoked" | "reauth_required" | "preparing" | "install_degraded";
|
|
6122
|
-
grantId: import('
|
|
6608
|
+
grantId: import('../../../../apps/belong-cloud/src/platform/ids').AgentGrantId;
|
|
6123
6609
|
provider: string;
|
|
6124
6610
|
scopeExternalId: string;
|
|
6125
6611
|
grantedAt: string | null;
|
|
@@ -6147,7 +6633,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6147
6633
|
};
|
|
6148
6634
|
output: {
|
|
6149
6635
|
state: "preparing";
|
|
6150
|
-
grantId: import('
|
|
6636
|
+
grantId: import('../../../../apps/belong-cloud/src/platform/ids').AgentGrantId;
|
|
6151
6637
|
expiresAt: string;
|
|
6152
6638
|
};
|
|
6153
6639
|
outputFormat: "json";
|
|
@@ -6162,7 +6648,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6162
6648
|
};
|
|
6163
6649
|
output: {
|
|
6164
6650
|
state: "reauth_required";
|
|
6165
|
-
grantId: import('
|
|
6651
|
+
grantId: import('../../../../apps/belong-cloud/src/platform/ids').AgentGrantId | null;
|
|
6166
6652
|
expiresAt: string | null;
|
|
6167
6653
|
};
|
|
6168
6654
|
outputFormat: "json";
|
|
@@ -6376,7 +6862,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6376
6862
|
};
|
|
6377
6863
|
};
|
|
6378
6864
|
output: {
|
|
6379
|
-
taskScheduleId: import('
|
|
6865
|
+
taskScheduleId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId;
|
|
6380
6866
|
status: "failed" | "running" | "completed" | "scheduled";
|
|
6381
6867
|
scheduledFor: string;
|
|
6382
6868
|
seriesStatus: "completed" | "active" | "paused" | "deleted";
|
|
@@ -6493,7 +6979,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6493
6979
|
};
|
|
6494
6980
|
output: {
|
|
6495
6981
|
taskSchedules: {
|
|
6496
|
-
taskScheduleId: import('
|
|
6982
|
+
taskScheduleId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId;
|
|
6497
6983
|
shared: boolean;
|
|
6498
6984
|
title: string;
|
|
6499
6985
|
status: "completed" | "active" | "paused" | "deleted";
|
|
@@ -6628,7 +7114,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6628
7114
|
allowExternalRecipients: boolean;
|
|
6629
7115
|
maxMessagesPerRun: number;
|
|
6630
7116
|
} | null;
|
|
6631
|
-
taskScheduleId: import('
|
|
7117
|
+
taskScheduleId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId;
|
|
6632
7118
|
shared: boolean;
|
|
6633
7119
|
title: string;
|
|
6634
7120
|
status: "completed" | "active" | "paused" | "deleted";
|
|
@@ -6702,7 +7188,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6702
7188
|
};
|
|
6703
7189
|
};
|
|
6704
7190
|
output: {
|
|
6705
|
-
taskScheduleId: import('
|
|
7191
|
+
taskScheduleId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId;
|
|
6706
7192
|
status: "completed" | "active" | "paused" | "deleted";
|
|
6707
7193
|
nextRunAt: string | null;
|
|
6708
7194
|
};
|
|
@@ -6952,16 +7438,16 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6952
7438
|
};
|
|
6953
7439
|
output: {
|
|
6954
7440
|
runs: {
|
|
6955
|
-
taskScheduleRunId: import('
|
|
7441
|
+
taskScheduleRunId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleId;
|
|
6956
7442
|
occurrenceKind: "scheduled" | "manual";
|
|
6957
|
-
displayStatus: import('
|
|
7443
|
+
displayStatus: import('../../../../apps/belong-cloud/src/features/task-schedules/task-schedule.service').TaskScheduleRunDisplayStatus;
|
|
6958
7444
|
scheduledFor: string;
|
|
6959
7445
|
startedAt: string | null;
|
|
6960
7446
|
finishedAt: string | null;
|
|
6961
7447
|
failureReason: string | null;
|
|
6962
|
-
sessionId: import('
|
|
6963
|
-
taskId: import('
|
|
6964
|
-
runId: import('
|
|
7448
|
+
sessionId: import('../../../../apps/belong-cloud/src/platform/ids').SessionId | null;
|
|
7449
|
+
taskId: import('../../../../apps/belong-cloud/src/platform/ids').TaskId | null;
|
|
7450
|
+
runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId | null;
|
|
6965
7451
|
}[];
|
|
6966
7452
|
nextOffset: number | null;
|
|
6967
7453
|
};
|
|
@@ -7163,6 +7649,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7163
7649
|
} & {
|
|
7164
7650
|
json: {
|
|
7165
7651
|
clientRequestId?: string | undefined;
|
|
7652
|
+
instructions?: string | undefined;
|
|
7166
7653
|
};
|
|
7167
7654
|
};
|
|
7168
7655
|
output: {
|
|
@@ -7185,6 +7672,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7185
7672
|
} & {
|
|
7186
7673
|
json: {
|
|
7187
7674
|
clientRequestId?: string | undefined;
|
|
7675
|
+
instructions?: string | undefined;
|
|
7188
7676
|
};
|
|
7189
7677
|
};
|
|
7190
7678
|
output: {
|
|
@@ -7206,10 +7694,11 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7206
7694
|
} & {
|
|
7207
7695
|
json: {
|
|
7208
7696
|
clientRequestId?: string | undefined;
|
|
7697
|
+
instructions?: string | undefined;
|
|
7209
7698
|
};
|
|
7210
7699
|
};
|
|
7211
7700
|
output: {
|
|
7212
|
-
taskScheduleRunId: import('
|
|
7701
|
+
taskScheduleRunId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleId;
|
|
7213
7702
|
};
|
|
7214
7703
|
outputFormat: "json";
|
|
7215
7704
|
status: 202;
|
|
@@ -7225,6 +7714,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7225
7714
|
} & {
|
|
7226
7715
|
json: {
|
|
7227
7716
|
clientRequestId?: string | undefined;
|
|
7717
|
+
instructions?: string | undefined;
|
|
7228
7718
|
};
|
|
7229
7719
|
};
|
|
7230
7720
|
output: {
|
|
@@ -7246,6 +7736,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7246
7736
|
} & {
|
|
7247
7737
|
json: {
|
|
7248
7738
|
clientRequestId?: string | undefined;
|
|
7739
|
+
instructions?: string | undefined;
|
|
7249
7740
|
};
|
|
7250
7741
|
};
|
|
7251
7742
|
output: {
|
|
@@ -7350,7 +7841,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7350
7841
|
};
|
|
7351
7842
|
};
|
|
7352
7843
|
output: {
|
|
7353
|
-
taskScheduleId: import('
|
|
7844
|
+
taskScheduleId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId;
|
|
7354
7845
|
status: "failed" | "running" | "completed" | "scheduled";
|
|
7355
7846
|
scheduledFor: string;
|
|
7356
7847
|
seriesStatus: "completed" | "active" | "paused" | "deleted";
|
|
@@ -7467,7 +7958,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7467
7958
|
};
|
|
7468
7959
|
output: {
|
|
7469
7960
|
taskSchedules: {
|
|
7470
|
-
taskScheduleId: import('
|
|
7961
|
+
taskScheduleId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId;
|
|
7471
7962
|
shared: boolean;
|
|
7472
7963
|
title: string;
|
|
7473
7964
|
status: "completed" | "active" | "paused" | "deleted";
|
|
@@ -7602,7 +8093,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7602
8093
|
allowExternalRecipients: boolean;
|
|
7603
8094
|
maxMessagesPerRun: number;
|
|
7604
8095
|
} | null;
|
|
7605
|
-
taskScheduleId: import('
|
|
8096
|
+
taskScheduleId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId;
|
|
7606
8097
|
shared: boolean;
|
|
7607
8098
|
title: string;
|
|
7608
8099
|
status: "completed" | "active" | "paused" | "deleted";
|
|
@@ -7676,7 +8167,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7676
8167
|
};
|
|
7677
8168
|
};
|
|
7678
8169
|
output: {
|
|
7679
|
-
taskScheduleId: import('
|
|
8170
|
+
taskScheduleId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId;
|
|
7680
8171
|
status: "completed" | "active" | "paused" | "deleted";
|
|
7681
8172
|
nextRunAt: string | null;
|
|
7682
8173
|
};
|
|
@@ -7926,16 +8417,16 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7926
8417
|
};
|
|
7927
8418
|
output: {
|
|
7928
8419
|
runs: {
|
|
7929
|
-
taskScheduleRunId: import('
|
|
8420
|
+
taskScheduleRunId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleId;
|
|
7930
8421
|
occurrenceKind: "scheduled" | "manual";
|
|
7931
|
-
displayStatus: import('
|
|
8422
|
+
displayStatus: import('../../../../apps/belong-cloud/src/features/task-schedules/task-schedule.service').TaskScheduleRunDisplayStatus;
|
|
7932
8423
|
scheduledFor: string;
|
|
7933
8424
|
startedAt: string | null;
|
|
7934
8425
|
finishedAt: string | null;
|
|
7935
8426
|
failureReason: string | null;
|
|
7936
|
-
sessionId: import('
|
|
7937
|
-
taskId: import('
|
|
7938
|
-
runId: import('
|
|
8427
|
+
sessionId: import('../../../../apps/belong-cloud/src/platform/ids').SessionId | null;
|
|
8428
|
+
taskId: import('../../../../apps/belong-cloud/src/platform/ids').TaskId | null;
|
|
8429
|
+
runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId | null;
|
|
7939
8430
|
}[];
|
|
7940
8431
|
nextOffset: number | null;
|
|
7941
8432
|
};
|
|
@@ -8137,6 +8628,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8137
8628
|
} & {
|
|
8138
8629
|
json: {
|
|
8139
8630
|
clientRequestId?: string | undefined;
|
|
8631
|
+
instructions?: string | undefined;
|
|
8140
8632
|
};
|
|
8141
8633
|
};
|
|
8142
8634
|
output: {
|
|
@@ -8159,6 +8651,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8159
8651
|
} & {
|
|
8160
8652
|
json: {
|
|
8161
8653
|
clientRequestId?: string | undefined;
|
|
8654
|
+
instructions?: string | undefined;
|
|
8162
8655
|
};
|
|
8163
8656
|
};
|
|
8164
8657
|
output: {
|
|
@@ -8180,10 +8673,11 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8180
8673
|
} & {
|
|
8181
8674
|
json: {
|
|
8182
8675
|
clientRequestId?: string | undefined;
|
|
8676
|
+
instructions?: string | undefined;
|
|
8183
8677
|
};
|
|
8184
8678
|
};
|
|
8185
8679
|
output: {
|
|
8186
|
-
taskScheduleRunId: import('
|
|
8680
|
+
taskScheduleRunId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleId;
|
|
8187
8681
|
};
|
|
8188
8682
|
outputFormat: "json";
|
|
8189
8683
|
status: 202;
|
|
@@ -8199,6 +8693,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8199
8693
|
} & {
|
|
8200
8694
|
json: {
|
|
8201
8695
|
clientRequestId?: string | undefined;
|
|
8696
|
+
instructions?: string | undefined;
|
|
8202
8697
|
};
|
|
8203
8698
|
};
|
|
8204
8699
|
output: {
|
|
@@ -8220,6 +8715,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8220
8715
|
} & {
|
|
8221
8716
|
json: {
|
|
8222
8717
|
clientRequestId?: string | undefined;
|
|
8718
|
+
instructions?: string | undefined;
|
|
8223
8719
|
};
|
|
8224
8720
|
};
|
|
8225
8721
|
output: {
|
|
@@ -8528,7 +9024,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8528
9024
|
};
|
|
8529
9025
|
};
|
|
8530
9026
|
output: {
|
|
8531
|
-
taskScheduleId: import('
|
|
9027
|
+
taskScheduleId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId;
|
|
8532
9028
|
};
|
|
8533
9029
|
outputFormat: "json";
|
|
8534
9030
|
status: import('hono/utils/http-status').ContentfulStatusCode;
|
|
@@ -8756,7 +9252,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8756
9252
|
};
|
|
8757
9253
|
output: {
|
|
8758
9254
|
prePrompts: {
|
|
8759
|
-
prePromptId: import('
|
|
9255
|
+
prePromptId: import('../../../../apps/belong-cloud/src/platform/ids').PrePromptId;
|
|
8760
9256
|
name: string;
|
|
8761
9257
|
description: string;
|
|
8762
9258
|
body: string;
|
|
@@ -8795,7 +9291,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8795
9291
|
};
|
|
8796
9292
|
};
|
|
8797
9293
|
output: {
|
|
8798
|
-
prePromptId: import('
|
|
9294
|
+
prePromptId: import('../../../../apps/belong-cloud/src/platform/ids').PrePromptId;
|
|
8799
9295
|
name: string;
|
|
8800
9296
|
};
|
|
8801
9297
|
outputFormat: "json";
|
|
@@ -8858,7 +9354,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8858
9354
|
};
|
|
8859
9355
|
};
|
|
8860
9356
|
output: {
|
|
8861
|
-
prePromptId: import('
|
|
9357
|
+
prePromptId: import('../../../../apps/belong-cloud/src/platform/ids').PrePromptId;
|
|
8862
9358
|
};
|
|
8863
9359
|
outputFormat: "json";
|
|
8864
9360
|
status: 200;
|
|
@@ -8952,7 +9448,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8952
9448
|
};
|
|
8953
9449
|
output: {
|
|
8954
9450
|
skills: {
|
|
8955
|
-
userSkillId: import('
|
|
9451
|
+
userSkillId: import('../../../../apps/belong-cloud/src/platform/ids').UserSkillId;
|
|
8956
9452
|
name: string;
|
|
8957
9453
|
description: string;
|
|
8958
9454
|
enabled: boolean;
|
|
@@ -9016,7 +9512,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9016
9512
|
error: {
|
|
9017
9513
|
type: string;
|
|
9018
9514
|
name: string;
|
|
9019
|
-
userSkillId: import('
|
|
9515
|
+
userSkillId: import('../../../../apps/belong-cloud/src/platform/ids').UserSkillId;
|
|
9020
9516
|
};
|
|
9021
9517
|
};
|
|
9022
9518
|
outputFormat: "json";
|
|
@@ -9033,10 +9529,10 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9033
9529
|
} | {
|
|
9034
9530
|
input: {};
|
|
9035
9531
|
output: {
|
|
9036
|
-
userSkillId: import('
|
|
9532
|
+
userSkillId: import('../../../../apps/belong-cloud/src/platform/ids').UserSkillId;
|
|
9037
9533
|
name: string;
|
|
9038
9534
|
revision: number;
|
|
9039
|
-
outcome: import('
|
|
9535
|
+
outcome: import('../../../../apps/belong-cloud/src/features/skill-library/skill-library.service').SkillSaveOutcome;
|
|
9040
9536
|
hasScripts: boolean;
|
|
9041
9537
|
};
|
|
9042
9538
|
outputFormat: "json";
|
|
@@ -9095,7 +9591,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9095
9591
|
};
|
|
9096
9592
|
};
|
|
9097
9593
|
output: {
|
|
9098
|
-
userSkillId: import('
|
|
9594
|
+
userSkillId: import('../../../../apps/belong-cloud/src/platform/ids').UserSkillId;
|
|
9099
9595
|
enabled: boolean;
|
|
9100
9596
|
};
|
|
9101
9597
|
outputFormat: "json";
|
|
@@ -9185,7 +9681,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9185
9681
|
};
|
|
9186
9682
|
};
|
|
9187
9683
|
output: {
|
|
9188
|
-
userSkillId: import('
|
|
9684
|
+
userSkillId: import('../../../../apps/belong-cloud/src/platform/ids').UserSkillId;
|
|
9189
9685
|
name: string;
|
|
9190
9686
|
description: string;
|
|
9191
9687
|
skillMd: string;
|
|
@@ -9267,7 +9763,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9267
9763
|
output: {
|
|
9268
9764
|
error: {
|
|
9269
9765
|
type: string;
|
|
9270
|
-
reason: import('
|
|
9766
|
+
reason: import('../../../../apps/belong-cloud/src/features/skill-library/skill-archive').SkillArchiveRejectionType;
|
|
9271
9767
|
};
|
|
9272
9768
|
};
|
|
9273
9769
|
outputFormat: "json";
|
|
@@ -9287,7 +9783,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9287
9783
|
error: {
|
|
9288
9784
|
type: string;
|
|
9289
9785
|
name: string;
|
|
9290
|
-
reservedBy: import('
|
|
9786
|
+
reservedBy: import('../../../../apps/belong-cloud/src/features/skill-library/skill-library.service').NameReservedBy;
|
|
9291
9787
|
};
|
|
9292
9788
|
};
|
|
9293
9789
|
outputFormat: "json";
|
|
@@ -9325,7 +9821,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9325
9821
|
error: {
|
|
9326
9822
|
type: string;
|
|
9327
9823
|
name: string;
|
|
9328
|
-
userSkillId: import('
|
|
9824
|
+
userSkillId: import('../../../../apps/belong-cloud/src/platform/ids').UserSkillId;
|
|
9329
9825
|
};
|
|
9330
9826
|
};
|
|
9331
9827
|
outputFormat: "json";
|
|
@@ -9342,10 +9838,10 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9342
9838
|
};
|
|
9343
9839
|
};
|
|
9344
9840
|
output: {
|
|
9345
|
-
userSkillId: import('
|
|
9841
|
+
userSkillId: import('../../../../apps/belong-cloud/src/platform/ids').UserSkillId;
|
|
9346
9842
|
name: string;
|
|
9347
9843
|
revision: number;
|
|
9348
|
-
outcome: import('
|
|
9844
|
+
outcome: import('../../../../apps/belong-cloud/src/features/skill-library/skill-library.service').SkillContentOutcome;
|
|
9349
9845
|
};
|
|
9350
9846
|
outputFormat: "json";
|
|
9351
9847
|
status: 200;
|
|
@@ -9380,7 +9876,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9380
9876
|
input: {};
|
|
9381
9877
|
output: {
|
|
9382
9878
|
connectors: {
|
|
9383
|
-
connectorId: import('
|
|
9879
|
+
connectorId: import('../../../../apps/belong-cloud/src/platform/ids').ConnectorId;
|
|
9384
9880
|
name: string;
|
|
9385
9881
|
alias: string;
|
|
9386
9882
|
description: string;
|
|
@@ -9388,10 +9884,10 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9388
9884
|
imageDataUrl: string | null;
|
|
9389
9885
|
serverUrl: string;
|
|
9390
9886
|
transport: "streamable_http" | "sse";
|
|
9391
|
-
authMode: import('
|
|
9887
|
+
authMode: import('../../../../apps/belong-cloud/src/features/connectors/connector.repo').ConnectorAuthMode;
|
|
9392
9888
|
hasCredentials: boolean;
|
|
9393
9889
|
enabled: boolean;
|
|
9394
|
-
status: import('
|
|
9890
|
+
status: import('../../../../apps/belong-cloud/src/features/connectors/connector.repo').ConnectorStatus;
|
|
9395
9891
|
lastError: string | null;
|
|
9396
9892
|
tools: readonly {
|
|
9397
9893
|
readonly name: string;
|
|
@@ -9536,7 +10032,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9536
10032
|
};
|
|
9537
10033
|
};
|
|
9538
10034
|
output: {
|
|
9539
|
-
connectorId: import('
|
|
10035
|
+
connectorId: import('../../../../apps/belong-cloud/src/platform/ids').ConnectorId;
|
|
9540
10036
|
};
|
|
9541
10037
|
outputFormat: "json";
|
|
9542
10038
|
status: 200 | 201;
|
|
@@ -9758,7 +10254,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9758
10254
|
serverUrl: string;
|
|
9759
10255
|
serverUrlMode: "fixed" | "user_provided";
|
|
9760
10256
|
transport: "streamable_http" | "sse";
|
|
9761
|
-
authMode: import('
|
|
10257
|
+
authMode: import('../../../../apps/belong-cloud/src/features/connectors/connector.repo').ConnectorAuthMode;
|
|
9762
10258
|
oauthScope: string | null;
|
|
9763
10259
|
oauthAuthorizationParams: {
|
|
9764
10260
|
readonly [x: string]: string;
|
|
@@ -9965,7 +10461,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9965
10461
|
};
|
|
9966
10462
|
};
|
|
9967
10463
|
output: {
|
|
9968
|
-
connectorId: import('
|
|
10464
|
+
connectorId: import('../../../../apps/belong-cloud/src/platform/ids').ConnectorId;
|
|
9969
10465
|
};
|
|
9970
10466
|
outputFormat: "json";
|
|
9971
10467
|
status: 200;
|
|
@@ -10136,7 +10632,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
10136
10632
|
};
|
|
10137
10633
|
};
|
|
10138
10634
|
output: {
|
|
10139
|
-
connectorId: import('
|
|
10635
|
+
connectorId: import('../../../../apps/belong-cloud/src/platform/ids').ConnectorId;
|
|
10140
10636
|
};
|
|
10141
10637
|
outputFormat: "json";
|
|
10142
10638
|
status: 200;
|
|
@@ -10523,11 +11019,11 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
10523
11019
|
readonly displayName: string;
|
|
10524
11020
|
readonly productName: string | null;
|
|
10525
11021
|
readonly knowledgeDomain: string | null;
|
|
10526
|
-
readonly authKind: import('
|
|
11022
|
+
readonly authKind: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["authKind"];
|
|
10527
11023
|
readonly authIssuer: string;
|
|
10528
11024
|
readonly authAudience: string;
|
|
10529
11025
|
readonly authJwksUri: string | null;
|
|
10530
|
-
readonly agentGrantProvider: import('
|
|
11026
|
+
readonly agentGrantProvider: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["agentGrantProvider"];
|
|
10531
11027
|
readonly agentGrant: {
|
|
10532
11028
|
readonly icsUrl: string | null;
|
|
10533
11029
|
readonly fake: boolean;
|
|
@@ -10545,7 +11041,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
10545
11041
|
integration?: "simetrik" | undefined;
|
|
10546
11042
|
} | null;
|
|
10547
11043
|
readonly terminalSnapshot: string | null;
|
|
10548
|
-
readonly terminalSnapshotProvenance: import('
|
|
11044
|
+
readonly terminalSnapshotProvenance: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["terminalSnapshotProvenance"];
|
|
10549
11045
|
readonly sandbox: {
|
|
10550
11046
|
taskSnapshot?: string | undefined;
|
|
10551
11047
|
autoStopMinutes?: number | undefined;
|
|
@@ -10562,8 +11058,8 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
10562
11058
|
readonly bakedPluginBundle: boolean;
|
|
10563
11059
|
readonly notificationsFromEmail: string | null;
|
|
10564
11060
|
readonly agentId: string | null;
|
|
10565
|
-
readonly status: import('
|
|
10566
|
-
readonly workspaceScope: import('
|
|
11061
|
+
readonly status: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["status"];
|
|
11062
|
+
readonly workspaceScope: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["workspaceScope"];
|
|
10567
11063
|
readonly origins: readonly string[];
|
|
10568
11064
|
readonly createdAt: string;
|
|
10569
11065
|
readonly updatedAt: string;
|
|
@@ -10611,11 +11107,11 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
10611
11107
|
readonly displayName: string;
|
|
10612
11108
|
readonly productName: string | null;
|
|
10613
11109
|
readonly knowledgeDomain: string | null;
|
|
10614
|
-
readonly authKind: import('
|
|
11110
|
+
readonly authKind: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["authKind"];
|
|
10615
11111
|
readonly authIssuer: string;
|
|
10616
11112
|
readonly authAudience: string;
|
|
10617
11113
|
readonly authJwksUri: string | null;
|
|
10618
|
-
readonly agentGrantProvider: import('
|
|
11114
|
+
readonly agentGrantProvider: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["agentGrantProvider"];
|
|
10619
11115
|
readonly agentGrant: {
|
|
10620
11116
|
readonly icsUrl: string | null;
|
|
10621
11117
|
readonly fake: boolean;
|
|
@@ -10633,7 +11129,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
10633
11129
|
integration?: "simetrik" | undefined;
|
|
10634
11130
|
} | null;
|
|
10635
11131
|
readonly terminalSnapshot: string | null;
|
|
10636
|
-
readonly terminalSnapshotProvenance: import('
|
|
11132
|
+
readonly terminalSnapshotProvenance: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["terminalSnapshotProvenance"];
|
|
10637
11133
|
readonly sandbox: {
|
|
10638
11134
|
taskSnapshot?: string | undefined;
|
|
10639
11135
|
autoStopMinutes?: number | undefined;
|
|
@@ -10650,8 +11146,8 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
10650
11146
|
readonly bakedPluginBundle: boolean;
|
|
10651
11147
|
readonly notificationsFromEmail: string | null;
|
|
10652
11148
|
readonly agentId: string | null;
|
|
10653
|
-
readonly status: import('
|
|
10654
|
-
readonly workspaceScope: import('
|
|
11149
|
+
readonly status: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["status"];
|
|
11150
|
+
readonly workspaceScope: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["workspaceScope"];
|
|
10655
11151
|
readonly origins: readonly string[];
|
|
10656
11152
|
readonly createdAt: string;
|
|
10657
11153
|
readonly updatedAt: string;
|
|
@@ -10708,11 +11204,11 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
10708
11204
|
readonly displayName: string;
|
|
10709
11205
|
readonly productName: string | null;
|
|
10710
11206
|
readonly knowledgeDomain: string | null;
|
|
10711
|
-
readonly authKind: import('
|
|
11207
|
+
readonly authKind: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["authKind"];
|
|
10712
11208
|
readonly authIssuer: string;
|
|
10713
11209
|
readonly authAudience: string;
|
|
10714
11210
|
readonly authJwksUri: string | null;
|
|
10715
|
-
readonly agentGrantProvider: import('
|
|
11211
|
+
readonly agentGrantProvider: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["agentGrantProvider"];
|
|
10716
11212
|
readonly agentGrant: {
|
|
10717
11213
|
readonly icsUrl: string | null;
|
|
10718
11214
|
readonly fake: boolean;
|
|
@@ -10730,7 +11226,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
10730
11226
|
integration?: "simetrik" | undefined;
|
|
10731
11227
|
} | null;
|
|
10732
11228
|
readonly terminalSnapshot: string | null;
|
|
10733
|
-
readonly terminalSnapshotProvenance: import('
|
|
11229
|
+
readonly terminalSnapshotProvenance: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["terminalSnapshotProvenance"];
|
|
10734
11230
|
readonly sandbox: {
|
|
10735
11231
|
taskSnapshot?: string | undefined;
|
|
10736
11232
|
autoStopMinutes?: number | undefined;
|
|
@@ -10747,8 +11243,8 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
10747
11243
|
readonly bakedPluginBundle: boolean;
|
|
10748
11244
|
readonly notificationsFromEmail: string | null;
|
|
10749
11245
|
readonly agentId: string | null;
|
|
10750
|
-
readonly status: import('
|
|
10751
|
-
readonly workspaceScope: import('
|
|
11246
|
+
readonly status: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["status"];
|
|
11247
|
+
readonly workspaceScope: import('../../../../apps/belong-cloud/src/features/tenants/tenant.repo').TenantRecord["workspaceScope"];
|
|
10752
11248
|
readonly origins: readonly string[];
|
|
10753
11249
|
readonly createdAt: string;
|
|
10754
11250
|
readonly updatedAt: string;
|