@belonguniverseai/react-sdk 0.6.32 → 0.6.34
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/dist/api/account-connectors.d.ts +2 -2
- package/dist/api/client.d.ts +1722 -125
- package/dist/api/computer.d.ts +60 -0
- package/dist/api/goals.d.ts +4 -4
- package/dist/api/proactive.d.ts +36 -0
- package/dist/api/query-keys.d.ts +3 -0
- package/dist/api/quota-refusal.d.ts +49 -0
- package/dist/api/secret-paste.d.ts +5 -0
- package/dist/api/suggestions.d.ts +18 -0
- package/dist/api/task-schedule-folders.d.ts +3 -3
- package/dist/api/task-schedule-projects.d.ts +5 -5
- package/dist/api/task-schedule-sharing.d.ts +13 -1
- package/dist/api/task-schedules.d.ts +60 -8
- package/dist/api/vault.d.ts +49 -0
- package/dist/app/dock-story-data.d.ts +7 -1
- package/dist/component/{abnfDiagram-N423BO3Z-Cs6vuzym.js → abnfDiagram-N423BO3Z-K52-wOfg.js} +4 -4
- package/dist/component/{architectureDiagram-T3A2C74G-BdBpK2d_.js → architectureDiagram-T3A2C74G-B64SrMLF.js} +6 -6
- package/dist/component/{blockDiagram-VBNYF7ZC-Cf6dsn1j.js → blockDiagram-VBNYF7ZC-B7Di5R1s.js} +8 -8
- package/dist/component/{c4Diagram-5PPSVZJV-Cxt2hfnn.js → c4Diagram-5PPSVZJV-ClDtA2m4.js} +4 -4
- package/dist/component/{channel-COtJQ6CP.js → channel-C6_lLEWW.js} +2 -2
- package/dist/component/{chunk-2GRJ4B5K-C14K2lKj.js → chunk-2GRJ4B5K-B07moQal.js} +2 -2
- package/dist/component/{chunk-3NCLNEKW-oHacP_OI.js → chunk-3NCLNEKW-TUF1Wrf6.js} +2 -2
- package/dist/component/{chunk-4I5QYGJK-CGOVqmKQ.js → chunk-4I5QYGJK-qY-_sgVE.js} +2 -2
- package/dist/component/{chunk-5RXB4S5H-CMJnmUzX.js → chunk-5RXB4S5H-BU0H_zl3.js} +6 -6
- package/dist/component/{chunk-6Q2QTUOP-B5ACmZa2.js → chunk-6Q2QTUOP-nIHNEMhm.js} +3 -3
- package/dist/component/{chunk-7Z6QIM7H-CSfSb_Xc.js → chunk-7Z6QIM7H-D7mHGFzt.js} +8 -8
- package/dist/component/{chunk-GF5L2VYU-xi_oDTd2.js → chunk-GF5L2VYU-uM1RliIa.js} +6 -6
- package/dist/component/{chunk-I66GZJ75-DB1sFGc-.js → chunk-I66GZJ75-oDyTlx3R.js} +2 -2
- package/dist/component/{chunk-J7OUQ5F2-DB9d7Gt_.js → chunk-J7OUQ5F2-c7iD4Gpa.js} +7 -7
- package/dist/component/{chunk-JQJVKLGR-De7zUJDv.js → chunk-JQJVKLGR-JeqFPv2A.js} +8 -8
- package/dist/component/{chunk-KBJHAD2P-CVoxmRa8.js → chunk-KBJHAD2P-DjQd-FIs.js} +2 -2
- package/dist/component/{chunk-NSK5VX7P-ur_ZGcVX.js → chunk-NSK5VX7P-Bq0sOWgd.js} +2 -2
- package/dist/component/{chunk-QR6OTTB3-Bl3Z_jKC.js → chunk-QR6OTTB3-DctDLVWm.js} +7 -7
- package/dist/component/{chunk-UBXNYLIW-CDKeQUnO.js → chunk-UBXNYLIW-Ka1R3omP.js} +3 -3
- package/dist/component/{chunk-W5SLKNZC-Dq8uD14N.js → chunk-W5SLKNZC-CI_OqVnD.js} +2 -2
- package/dist/component/{chunk-WRU74C26-BwQb4DnE.js → chunk-WRU74C26-BMkh1mHN.js} +4 -4
- package/dist/component/{classDiagram-JCYQIIEL-yl7JabGO.js → classDiagram-JCYQIIEL-C1E0BQye.js} +13 -13
- package/dist/component/{classDiagram-v2-OCEON4UE-ozBAEvyC.js → classDiagram-v2-OCEON4UE-hQKKIbDF.js} +13 -13
- package/dist/component/{component-DnTvWVQQ.js → component-B44aZ-1Z.js} +24455 -21767
- package/dist/component/{cynefinDiagram-MW4NZA55-fdKo3DVx.js → cynefinDiagram-MW4NZA55-0yefvDKM.js} +4 -4
- package/dist/component/{dagre-VZM6K2ZE-C7nAehQV.js → dagre-VZM6K2ZE-CBlt7UUF.js} +9 -9
- package/dist/component/{diagram-7IWD3JNH-DRM3Hv3P.js → diagram-7IWD3JNH-D0zEzayZ.js} +5 -5
- package/dist/component/{diagram-B4RE2ZJO-DXqATSZd.js → diagram-B4RE2ZJO-Dm2FX5kh.js} +3 -3
- package/dist/component/{diagram-LBJQPF4R-DJRJfBnF.js → diagram-LBJQPF4R-nQGWQGIp.js} +4 -4
- package/dist/component/{diagram-Q27KOJAE-B4cTzsYZ.js → diagram-Q27KOJAE-Co-Dq4kd.js} +6 -6
- package/dist/component/{diagram-UB23O5K3-CyUjYCbX.js → diagram-UB23O5K3-ClWS8vTp.js} +4 -4
- package/dist/component/{ebnfDiagram-BXEA7PRR-C6GS4eTe.js → ebnfDiagram-BXEA7PRR-Cq6K_q0O.js} +4 -4
- package/dist/component/{erDiagram-JOGREHBK-D8qt0_mW.js → erDiagram-JOGREHBK-DvPI-BqP.js} +12 -12
- package/dist/component/flowDiagram-UKHOOZJN-2MBQiA4G.js +19 -0
- package/dist/component/{ganttDiagram-PKOTCBZU-D6o-gloU.js → ganttDiagram-PKOTCBZU-DXzfT7Q5.js} +3 -3
- package/dist/component/{gitGraphDiagram-DS77QQ5N-Cz3kf7xj.js → gitGraphDiagram-DS77QQ5N-CMKpJJJ_.js} +3 -3
- package/dist/component/index.js +2 -2
- package/dist/component/{infoDiagram-6WML65LV-sdz8qoTE.js → infoDiagram-6WML65LV-Ck5rB_GF.js} +3 -3
- package/dist/component/{ishikawaDiagram-WSZJBQD7--tUiPVAr.js → ishikawaDiagram-WSZJBQD7-CHQxwGjK.js} +4 -4
- package/dist/component/{journeyDiagram-NVQOT4AX-_-TjqBid.js → journeyDiagram-NVQOT4AX-CnPVgyHk.js} +3 -3
- package/dist/component/{kanban-definition-27J2QSJJ-BXBySx2U.js → kanban-definition-27J2QSJJ-CC8oOHrI.js} +9 -9
- package/dist/component/{line-C2WkjBlg.js → line-AtEledwJ.js} +2 -2
- package/dist/component/{mindmap-definition-FAOFIHXS-CbpSDN_k.js → mindmap-definition-FAOFIHXS-WWI6yyUJ.js} +11 -11
- package/dist/component/{pegDiagram-VL7TDLO6-Cp_Wn0PS.js → pegDiagram-VL7TDLO6-D5NeC_IJ.js} +4 -4
- package/dist/component/{pieDiagram-7S7Q4E2Y-D6KGBWSF.js → pieDiagram-7S7Q4E2Y-M4MUAitH.js} +4 -4
- package/dist/component/{quadrantDiagram-CIZ2JOQS-BWjdUg-z.js → quadrantDiagram-CIZ2JOQS-viErJFsV.js} +2 -2
- package/dist/component/{railroadDiagram-AXF67PYL-B5iYZXm-.js → railroadDiagram-AXF67PYL-C8IhZ-59.js} +4 -4
- package/dist/component/{requirementDiagram-LRYGKXZP-CewRkYfE.js → requirementDiagram-LRYGKXZP-D1vdZzCs.js} +11 -11
- package/dist/component/{sankeyDiagram-W5VNT64P-D3Zb5dQ6.js → sankeyDiagram-W5VNT64P-Bl52MqzW.js} +2 -2
- package/dist/component/{sequenceDiagram-SI44F4Z6-BfxhjyrN.js → sequenceDiagram-SI44F4Z6-Cx-Aio7P.js} +4 -4
- package/dist/component/{stateDiagram-OKZ733FA-DLd9YI1A.js → stateDiagram-OKZ733FA-CHqMp3xm.js} +14 -14
- package/dist/component/{stateDiagram-v2-UEYNNEHI-Dd_FaBaY.js → stateDiagram-v2-UEYNNEHI-DqTLHDUB.js} +13 -13
- package/dist/component/{swimlanes-SLNWSIFB-C56sHJuV.js → swimlanes-SLNWSIFB-BkaXpBe5.js} +9 -9
- package/dist/component/{swimlanesDiagram-ULZ7WXOC-nHtka4qn.js → swimlanesDiagram-ULZ7WXOC-DyMFUKdr.js} +13 -13
- package/dist/component/{timeline-definition-Z64GVDOM-JYR_6zGi.js → timeline-definition-Z64GVDOM-Ba3A3s-L.js} +4 -4
- package/dist/component/{vennDiagram-T6HMQDX7-CEGGwXxv.js → vennDiagram-T6HMQDX7-4W_JJhIz.js} +4 -4
- package/dist/component/{wardleyDiagram-T6FBY63Y-zZGm618Q.js → wardleyDiagram-T6FBY63Y-CllyyQYm.js} +4 -4
- package/dist/component/{xychartDiagram-ELKLHX3M-BYbnWmqD.js → xychartDiagram-ELKLHX3M-DS3MPPul.js} +7 -7
- package/dist/components/embed/ComputerSettings.d.ts +7 -0
- package/dist/components/embed/EmbedRail.d.ts +15 -2
- package/dist/components/embed/EmbedSessions.d.ts +15 -2
- package/dist/components/embed/MobileNavBar.d.ts +4 -2
- package/dist/components/embed/NextStepCard.d.ts +6 -0
- package/dist/components/embed/ProactiveChecksSetting.d.ts +7 -0
- package/dist/components/embed/QuotaNoticeCard.d.ts +4 -0
- package/dist/components/embed/SessionSwitcher.d.ts +6 -1
- package/dist/components/embed/quota-notice-copy.d.ts +3 -0
- package/dist/components/embed/use-settings-owner-key.d.ts +15 -0
- package/dist/components/pinned/PinnedChatHeader.d.ts +9 -0
- package/dist/components/pinned/use-agent-name.d.ts +2 -0
- package/dist/components/scheduled/schedule-dialog-model.d.ts +2 -1
- package/dist/components/scheduled/schedule-format.d.ts +4 -1
- package/dist/components/vault/SecretPasteFeedback.d.ts +6 -0
- package/dist/components/vault/SecretsPanel.d.ts +23 -0
- package/dist/components/vault/vault-open.d.ts +3 -0
- package/dist/embed/goal-cap-notice.d.ts +0 -9
- package/dist/embed/goal-edit-command.d.ts +6 -1
- package/dist/embed/pinned-chat.d.ts +34 -0
- package/dist/embed/quota-notice.d.ts +9 -0
- package/dist/embed/theme.d.ts +10 -0
- package/dist/embed/voice/agent-spawn.d.ts +12 -2
- package/dist/embed/voice/line-run-reader.d.ts +1 -1
- package/dist/embed/voice-call.d.ts +10 -1
- package/dist/i18n/messages/en.d.ts +135 -8
- package/dist/i18n/messages/surfaces/pinned.d.ts +76 -0
- package/dist/i18n/messages/surfaces/quota.d.ts +69 -0
- package/dist/i18n/messages/surfaces/scheduled.d.ts +69 -5
- package/dist/i18n/messages/surfaces/settings.d.ts +148 -0
- package/dist/i18n/messages/surfaces/stream.d.ts +56 -4
- package/dist/i18n/messages/surfaces/vault.d.ts +120 -0
- package/dist/lib/use-tab-leadership.d.ts +1 -0
- package/dist/routes/chat/history-cache.d.ts +5 -0
- package/dist/routes/chat/history-merge.d.ts +4 -1
- package/dist/routes/chat/question-parts.d.ts +26 -0
- package/dist/routes/chat/queued-delivery.d.ts +20 -0
- package/dist/routes/chat/queued-messages.d.ts +15 -0
- package/dist/routes/chat/session-api.d.ts +52 -0
- package/dist/routes/chat/session-history-api.d.ts +9 -0
- package/dist/routes/chat/transcript-update.d.ts +45 -0
- package/dist/routes/chat/use-catch-up-on-return.d.ts +7 -0
- package/dist/routes/chat/use-next-step-suggestion.d.ts +38 -0
- package/dist/routes/chat/use-quota-notice.d.ts +29 -0
- package/dist/routes/chat/use-quota-stop-refresh.d.ts +27 -0
- package/dist/routes/chat/use-session-goal.d.ts +6 -0
- package/dist/routes/chat.d.ts +9 -15
- package/dist/stream/belong-chat-transport.d.ts +23 -11
- package/dist/stream/belong-data-parts.d.ts +31 -1
- package/dist/stream/pause-notice-copy.d.ts +3 -0
- package/dist/stream/provider-blocked.d.ts +16 -0
- package/dist/stream/reconnect-backoff.d.ts +39 -0
- package/dist/stream/run-error-copy.d.ts +25 -0
- package/dist/stream/stream-notice.d.ts +9 -0
- package/package.json +1 -1
- package/dist/component/flowDiagram-UKHOOZJN-U55NEBew.js +0 -19
package/dist/api/client.d.ts
CHANGED
|
@@ -127,6 +127,10 @@ type SdkAuthRejection = z.infer<typeof sdkAuthRejectionSchema>["error"]["type"];
|
|
|
127
127
|
* The response body is read from a clone, so the caller can still consume it.
|
|
128
128
|
*/
|
|
129
129
|
export declare const noteBelongAuthRejection: (response: Response, sentAuthorization: string | null) => Promise<SdkAuthRejection | null>;
|
|
130
|
+
/** The typed client's default fetch: transient retries + the auth discipline. */
|
|
131
|
+
export declare const authRecoveringFetch: typeof fetch;
|
|
132
|
+
/** Check an initiating identity before EVERY attempt, including auth refresh. */
|
|
133
|
+
export declare const createGuardedAuthFetch: (canSend: () => boolean) => typeof fetch;
|
|
130
134
|
/**
|
|
131
135
|
* For typed-client calls that deliberately opt out of the transient-retry
|
|
132
136
|
* ladder (boot probes, non-replayable POSTs): ONE network attempt, but the
|
|
@@ -792,6 +796,38 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
792
796
|
}>;
|
|
793
797
|
};
|
|
794
798
|
};
|
|
799
|
+
} & {
|
|
800
|
+
v1: {
|
|
801
|
+
webhooks: {
|
|
802
|
+
resend: {
|
|
803
|
+
":tenantId": import('hono/client').ClientRequest<string, "/v1/webhooks/resend/:tenantId", {
|
|
804
|
+
$post: {
|
|
805
|
+
input: {
|
|
806
|
+
param: {
|
|
807
|
+
tenantId: string;
|
|
808
|
+
};
|
|
809
|
+
};
|
|
810
|
+
output: {
|
|
811
|
+
error: string;
|
|
812
|
+
};
|
|
813
|
+
outputFormat: "json";
|
|
814
|
+
status: 401;
|
|
815
|
+
} | {
|
|
816
|
+
input: {
|
|
817
|
+
param: {
|
|
818
|
+
tenantId: string;
|
|
819
|
+
};
|
|
820
|
+
};
|
|
821
|
+
output: {
|
|
822
|
+
status: string;
|
|
823
|
+
};
|
|
824
|
+
outputFormat: "json";
|
|
825
|
+
status: 200;
|
|
826
|
+
};
|
|
827
|
+
}>;
|
|
828
|
+
};
|
|
829
|
+
};
|
|
830
|
+
};
|
|
795
831
|
} & {
|
|
796
832
|
v1: {
|
|
797
833
|
sessions: import('hono/client').ClientRequest<string, "/v1/sessions", {
|
|
@@ -1036,6 +1072,46 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1036
1072
|
status: 400;
|
|
1037
1073
|
};
|
|
1038
1074
|
$post: {
|
|
1075
|
+
input: {
|
|
1076
|
+
json: {
|
|
1077
|
+
text: string;
|
|
1078
|
+
timezone?: string | undefined;
|
|
1079
|
+
locale?: "en" | "es" | "pt" | "it" | undefined;
|
|
1080
|
+
pageContext?: {
|
|
1081
|
+
label: string;
|
|
1082
|
+
} | undefined;
|
|
1083
|
+
workspaceScope?: "open" | "strict" | undefined;
|
|
1084
|
+
questionPresentation?: "text" | "card" | undefined;
|
|
1085
|
+
cliReconnect?: "none" | "dock" | undefined;
|
|
1086
|
+
workspaceExternalId?: string | undefined;
|
|
1087
|
+
goal?: {
|
|
1088
|
+
objective: string;
|
|
1089
|
+
criteria?: string[] | undefined;
|
|
1090
|
+
runway?: "long" | "quick" | "normal" | undefined;
|
|
1091
|
+
} | undefined;
|
|
1092
|
+
runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
|
|
1093
|
+
llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
|
|
1094
|
+
llmModel?: string | undefined;
|
|
1095
|
+
responseMode?: "balanced" | "fast" | "smart" | undefined;
|
|
1096
|
+
fileIds?: string[] | undefined;
|
|
1097
|
+
clientMessageId?: string | undefined;
|
|
1098
|
+
skill?: string | undefined;
|
|
1099
|
+
mode?: "plan" | "approve" | "balanced" | "bypass" | "execute" | undefined;
|
|
1100
|
+
};
|
|
1101
|
+
} & {
|
|
1102
|
+
param: {
|
|
1103
|
+
sessionId: string;
|
|
1104
|
+
};
|
|
1105
|
+
};
|
|
1106
|
+
output: {
|
|
1107
|
+
error: {
|
|
1108
|
+
readonly type: typeof import('@belong/codec/vault').SECRET_PASTE_ERROR_TYPE;
|
|
1109
|
+
readonly message: typeof import('@belong/codec/vault').SECRET_PASTE_MESSAGE;
|
|
1110
|
+
};
|
|
1111
|
+
};
|
|
1112
|
+
outputFormat: "json";
|
|
1113
|
+
status: 400;
|
|
1114
|
+
} | {
|
|
1039
1115
|
input: {
|
|
1040
1116
|
json: {
|
|
1041
1117
|
text: string;
|
|
@@ -1310,6 +1386,52 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1310
1386
|
};
|
|
1311
1387
|
outputFormat: "json";
|
|
1312
1388
|
status: 429;
|
|
1389
|
+
} | {
|
|
1390
|
+
input: {
|
|
1391
|
+
json: {
|
|
1392
|
+
text: string;
|
|
1393
|
+
timezone?: string | undefined;
|
|
1394
|
+
locale?: "en" | "es" | "pt" | "it" | undefined;
|
|
1395
|
+
pageContext?: {
|
|
1396
|
+
label: string;
|
|
1397
|
+
} | undefined;
|
|
1398
|
+
workspaceScope?: "open" | "strict" | undefined;
|
|
1399
|
+
questionPresentation?: "text" | "card" | undefined;
|
|
1400
|
+
cliReconnect?: "none" | "dock" | undefined;
|
|
1401
|
+
workspaceExternalId?: string | undefined;
|
|
1402
|
+
goal?: {
|
|
1403
|
+
objective: string;
|
|
1404
|
+
criteria?: string[] | undefined;
|
|
1405
|
+
runway?: "long" | "quick" | "normal" | undefined;
|
|
1406
|
+
} | undefined;
|
|
1407
|
+
runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
|
|
1408
|
+
llmProvider?: "anthropic" | "openai" | "google" | "gateway" | "cerebras" | "openrouter" | "vertex" | undefined;
|
|
1409
|
+
llmModel?: string | undefined;
|
|
1410
|
+
responseMode?: "balanced" | "fast" | "smart" | undefined;
|
|
1411
|
+
fileIds?: string[] | undefined;
|
|
1412
|
+
clientMessageId?: string | undefined;
|
|
1413
|
+
skill?: string | undefined;
|
|
1414
|
+
mode?: "plan" | "approve" | "balanced" | "bypass" | "execute" | undefined;
|
|
1415
|
+
};
|
|
1416
|
+
} & {
|
|
1417
|
+
param: {
|
|
1418
|
+
sessionId: string;
|
|
1419
|
+
};
|
|
1420
|
+
};
|
|
1421
|
+
output: {
|
|
1422
|
+
error: {
|
|
1423
|
+
type: string;
|
|
1424
|
+
reason: "exhausted" | "blocked";
|
|
1425
|
+
limitWeightedTokens: number;
|
|
1426
|
+
usedWeightedTokens: number;
|
|
1427
|
+
resetsAt: string | null;
|
|
1428
|
+
productName: string;
|
|
1429
|
+
messageId: import('../../../../apps/belong-cloud/src/platform/ids').MessageId;
|
|
1430
|
+
noticeMessageId: import('../../../../apps/belong-cloud/src/platform/ids').MessageId;
|
|
1431
|
+
};
|
|
1432
|
+
};
|
|
1433
|
+
outputFormat: "json";
|
|
1434
|
+
status: 429;
|
|
1313
1435
|
};
|
|
1314
1436
|
}>;
|
|
1315
1437
|
};
|
|
@@ -1954,6 +2076,181 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
1954
2076
|
};
|
|
1955
2077
|
}>;
|
|
1956
2078
|
};
|
|
2079
|
+
} & {
|
|
2080
|
+
v1: {
|
|
2081
|
+
proactive: import('hono/client').ClientRequest<string, "/v1/proactive", {
|
|
2082
|
+
$get: {
|
|
2083
|
+
input: {};
|
|
2084
|
+
output: {
|
|
2085
|
+
error: "proactive_unavailable";
|
|
2086
|
+
};
|
|
2087
|
+
outputFormat: "json";
|
|
2088
|
+
status: 404;
|
|
2089
|
+
} | {
|
|
2090
|
+
input: {};
|
|
2091
|
+
output: {
|
|
2092
|
+
enabled: boolean;
|
|
2093
|
+
lastCheckAt: string | null;
|
|
2094
|
+
nextCheckAt: string | null;
|
|
2095
|
+
checkingCount: number;
|
|
2096
|
+
slackAvailable: boolean;
|
|
2097
|
+
watchedApps: readonly string[];
|
|
2098
|
+
chat: {
|
|
2099
|
+
sessionId: string;
|
|
2100
|
+
unreadCount: number;
|
|
2101
|
+
lastMessageAt: string | null;
|
|
2102
|
+
lastMessage: string | null;
|
|
2103
|
+
activeRunId: string | null;
|
|
2104
|
+
} | null;
|
|
2105
|
+
};
|
|
2106
|
+
outputFormat: "json";
|
|
2107
|
+
status: 200;
|
|
2108
|
+
};
|
|
2109
|
+
$put: {
|
|
2110
|
+
input: {
|
|
2111
|
+
json: {
|
|
2112
|
+
enabled: boolean;
|
|
2113
|
+
};
|
|
2114
|
+
};
|
|
2115
|
+
output: {
|
|
2116
|
+
error: {
|
|
2117
|
+
type: string;
|
|
2118
|
+
requiredScope: string;
|
|
2119
|
+
};
|
|
2120
|
+
};
|
|
2121
|
+
outputFormat: "json";
|
|
2122
|
+
status: 403;
|
|
2123
|
+
} | {
|
|
2124
|
+
input: {
|
|
2125
|
+
json: {
|
|
2126
|
+
enabled: boolean;
|
|
2127
|
+
};
|
|
2128
|
+
};
|
|
2129
|
+
output: {
|
|
2130
|
+
enabled: boolean;
|
|
2131
|
+
};
|
|
2132
|
+
outputFormat: "json";
|
|
2133
|
+
status: 200;
|
|
2134
|
+
} | {
|
|
2135
|
+
input: {
|
|
2136
|
+
json: {
|
|
2137
|
+
enabled: boolean;
|
|
2138
|
+
};
|
|
2139
|
+
};
|
|
2140
|
+
output: {
|
|
2141
|
+
error: "proactive_unavailable";
|
|
2142
|
+
};
|
|
2143
|
+
outputFormat: "json";
|
|
2144
|
+
status: 404;
|
|
2145
|
+
};
|
|
2146
|
+
}>;
|
|
2147
|
+
};
|
|
2148
|
+
} & {
|
|
2149
|
+
v1: {
|
|
2150
|
+
proactive: {
|
|
2151
|
+
chat: import('hono/client').ClientRequest<string, "/v1/proactive/chat", {
|
|
2152
|
+
$post: {
|
|
2153
|
+
input: {
|
|
2154
|
+
json: {
|
|
2155
|
+
workspaceExternalId?: string | undefined;
|
|
2156
|
+
};
|
|
2157
|
+
};
|
|
2158
|
+
output: {
|
|
2159
|
+
error: {
|
|
2160
|
+
type: string;
|
|
2161
|
+
requiredScope: string;
|
|
2162
|
+
};
|
|
2163
|
+
};
|
|
2164
|
+
outputFormat: "json";
|
|
2165
|
+
status: 403;
|
|
2166
|
+
} | {
|
|
2167
|
+
input: {
|
|
2168
|
+
json: {
|
|
2169
|
+
workspaceExternalId?: string | undefined;
|
|
2170
|
+
};
|
|
2171
|
+
};
|
|
2172
|
+
output: {
|
|
2173
|
+
sessionId: string;
|
|
2174
|
+
};
|
|
2175
|
+
outputFormat: "json";
|
|
2176
|
+
status: 200;
|
|
2177
|
+
} | {
|
|
2178
|
+
input: {
|
|
2179
|
+
json: {
|
|
2180
|
+
workspaceExternalId?: string | undefined;
|
|
2181
|
+
};
|
|
2182
|
+
};
|
|
2183
|
+
output: {
|
|
2184
|
+
error: "proactive_unavailable";
|
|
2185
|
+
};
|
|
2186
|
+
outputFormat: "json";
|
|
2187
|
+
status: 404;
|
|
2188
|
+
};
|
|
2189
|
+
}>;
|
|
2190
|
+
};
|
|
2191
|
+
};
|
|
2192
|
+
} & {
|
|
2193
|
+
v1: {
|
|
2194
|
+
proactive: {
|
|
2195
|
+
check: import('hono/client').ClientRequest<string, "/v1/proactive/check", {
|
|
2196
|
+
$post: {
|
|
2197
|
+
input: {};
|
|
2198
|
+
output: {
|
|
2199
|
+
error: {
|
|
2200
|
+
type: string;
|
|
2201
|
+
requiredScope: string;
|
|
2202
|
+
};
|
|
2203
|
+
};
|
|
2204
|
+
outputFormat: "json";
|
|
2205
|
+
status: 403;
|
|
2206
|
+
} | {
|
|
2207
|
+
input: {};
|
|
2208
|
+
output: {
|
|
2209
|
+
startedCount: number;
|
|
2210
|
+
};
|
|
2211
|
+
outputFormat: "json";
|
|
2212
|
+
status: 202;
|
|
2213
|
+
} | {
|
|
2214
|
+
input: {};
|
|
2215
|
+
output: {
|
|
2216
|
+
error: "proactive_unavailable";
|
|
2217
|
+
};
|
|
2218
|
+
outputFormat: "json";
|
|
2219
|
+
status: 404;
|
|
2220
|
+
};
|
|
2221
|
+
}>;
|
|
2222
|
+
};
|
|
2223
|
+
};
|
|
2224
|
+
} & {
|
|
2225
|
+
v1: {
|
|
2226
|
+
proactive: {
|
|
2227
|
+
read: import('hono/client').ClientRequest<string, "/v1/proactive/read", {
|
|
2228
|
+
$post: {
|
|
2229
|
+
input: {};
|
|
2230
|
+
output: null;
|
|
2231
|
+
outputFormat: "body";
|
|
2232
|
+
status: 204;
|
|
2233
|
+
} | {
|
|
2234
|
+
input: {};
|
|
2235
|
+
output: {
|
|
2236
|
+
error: {
|
|
2237
|
+
type: string;
|
|
2238
|
+
requiredScope: string;
|
|
2239
|
+
};
|
|
2240
|
+
};
|
|
2241
|
+
outputFormat: "json";
|
|
2242
|
+
status: 403;
|
|
2243
|
+
} | {
|
|
2244
|
+
input: {};
|
|
2245
|
+
output: {
|
|
2246
|
+
error: "proactive_unavailable";
|
|
2247
|
+
};
|
|
2248
|
+
outputFormat: "json";
|
|
2249
|
+
status: 404;
|
|
2250
|
+
};
|
|
2251
|
+
}>;
|
|
2252
|
+
};
|
|
2253
|
+
};
|
|
1957
2254
|
} & {
|
|
1958
2255
|
v1: {
|
|
1959
2256
|
sessions: {
|
|
@@ -2042,17 +2339,116 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
2042
2339
|
};
|
|
2043
2340
|
} & {
|
|
2044
2341
|
v1: {
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2342
|
+
sessions: {
|
|
2343
|
+
":sessionId": {
|
|
2344
|
+
suggestions: import('hono/client').ClientRequest<string, "/v1/sessions/:sessionId/suggestions", {
|
|
2345
|
+
$post: {
|
|
2346
|
+
input: {
|
|
2347
|
+
json: {
|
|
2348
|
+
locale?: "en" | "es" | "pt" | "it" | undefined;
|
|
2349
|
+
};
|
|
2350
|
+
} & {
|
|
2351
|
+
param: {
|
|
2352
|
+
sessionId: string;
|
|
2353
|
+
};
|
|
2354
|
+
};
|
|
2355
|
+
output: {
|
|
2356
|
+
suggestion: {
|
|
2357
|
+
readonly question: string;
|
|
2358
|
+
readonly options: readonly {
|
|
2359
|
+
readonly label: string;
|
|
2360
|
+
readonly message: string;
|
|
2361
|
+
}[];
|
|
2362
|
+
} | null;
|
|
2363
|
+
};
|
|
2364
|
+
outputFormat: "json";
|
|
2365
|
+
status: 200;
|
|
2366
|
+
} | {
|
|
2367
|
+
input: {
|
|
2368
|
+
json: {
|
|
2369
|
+
locale?: "en" | "es" | "pt" | "it" | undefined;
|
|
2370
|
+
};
|
|
2371
|
+
} & {
|
|
2372
|
+
param: {
|
|
2373
|
+
sessionId: string;
|
|
2374
|
+
};
|
|
2375
|
+
};
|
|
2376
|
+
output: {
|
|
2377
|
+
error: {
|
|
2378
|
+
type: string;
|
|
2379
|
+
};
|
|
2380
|
+
};
|
|
2381
|
+
outputFormat: "json";
|
|
2382
|
+
status: 503;
|
|
2383
|
+
} | {
|
|
2384
|
+
input: {
|
|
2385
|
+
json: {
|
|
2386
|
+
locale?: "en" | "es" | "pt" | "it" | undefined;
|
|
2387
|
+
};
|
|
2388
|
+
} & {
|
|
2389
|
+
param: {
|
|
2390
|
+
sessionId: string;
|
|
2391
|
+
};
|
|
2392
|
+
};
|
|
2393
|
+
output: {
|
|
2394
|
+
error: {
|
|
2395
|
+
type: string;
|
|
2396
|
+
};
|
|
2397
|
+
};
|
|
2398
|
+
outputFormat: "json";
|
|
2399
|
+
status: 404;
|
|
2400
|
+
} | {
|
|
2401
|
+
input: {
|
|
2402
|
+
json: {
|
|
2403
|
+
locale?: "en" | "es" | "pt" | "it" | undefined;
|
|
2404
|
+
};
|
|
2405
|
+
} & {
|
|
2406
|
+
param: {
|
|
2407
|
+
sessionId: string;
|
|
2408
|
+
};
|
|
2409
|
+
};
|
|
2410
|
+
output: {
|
|
2411
|
+
error: {
|
|
2412
|
+
type: string;
|
|
2413
|
+
};
|
|
2414
|
+
};
|
|
2415
|
+
outputFormat: "json";
|
|
2416
|
+
status: 409;
|
|
2417
|
+
} | {
|
|
2418
|
+
input: {
|
|
2419
|
+
json: {
|
|
2420
|
+
locale?: "en" | "es" | "pt" | "it" | undefined;
|
|
2421
|
+
};
|
|
2422
|
+
} & {
|
|
2423
|
+
param: {
|
|
2424
|
+
sessionId: string;
|
|
2425
|
+
};
|
|
2426
|
+
};
|
|
2427
|
+
output: {
|
|
2428
|
+
error: {
|
|
2429
|
+
type: string;
|
|
2430
|
+
};
|
|
2431
|
+
};
|
|
2432
|
+
outputFormat: "json";
|
|
2433
|
+
status: 403;
|
|
2434
|
+
};
|
|
2435
|
+
}>;
|
|
2436
|
+
};
|
|
2437
|
+
};
|
|
2438
|
+
};
|
|
2439
|
+
} & {
|
|
2440
|
+
v1: {
|
|
2441
|
+
"issue-reports": import('hono/client').ClientRequest<string, "/v1/issue-reports", {
|
|
2442
|
+
$post: {
|
|
2443
|
+
input: {};
|
|
2444
|
+
output: {
|
|
2445
|
+
readonly error: {
|
|
2446
|
+
readonly type: "screenshot_too_large";
|
|
2447
|
+
readonly maxBytes: 2000000;
|
|
2448
|
+
};
|
|
2449
|
+
};
|
|
2450
|
+
outputFormat: "json";
|
|
2451
|
+
status: 413;
|
|
2056
2452
|
} | {
|
|
2057
2453
|
input: {};
|
|
2058
2454
|
output: {
|
|
@@ -2243,6 +2639,26 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
2243
2639
|
":approvalId": {
|
|
2244
2640
|
resolve: import('hono/client').ClientRequest<string, "/v1/approvals/:approvalId/resolve", {
|
|
2245
2641
|
$post: {
|
|
2642
|
+
input: {
|
|
2643
|
+
json: {
|
|
2644
|
+
decision: "approved" | "rejected" | "amend_requested";
|
|
2645
|
+
comment?: string | undefined;
|
|
2646
|
+
alwaysAllow?: boolean | undefined;
|
|
2647
|
+
};
|
|
2648
|
+
} & {
|
|
2649
|
+
param: {
|
|
2650
|
+
approvalId: string;
|
|
2651
|
+
};
|
|
2652
|
+
};
|
|
2653
|
+
output: {
|
|
2654
|
+
error: {
|
|
2655
|
+
readonly type: typeof import('@belong/codec/vault').SECRET_PASTE_ERROR_TYPE;
|
|
2656
|
+
readonly message: typeof import('@belong/codec/vault').SECRET_PASTE_MESSAGE;
|
|
2657
|
+
};
|
|
2658
|
+
};
|
|
2659
|
+
outputFormat: "json";
|
|
2660
|
+
status: 400;
|
|
2661
|
+
} | {
|
|
2246
2662
|
input: {
|
|
2247
2663
|
json: {
|
|
2248
2664
|
decision: "approved" | "rejected" | "amend_requested";
|
|
@@ -2334,6 +2750,37 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
2334
2750
|
":questionRequestId": {
|
|
2335
2751
|
answer: import('hono/client').ClientRequest<string, "/v1/questions/:questionRequestId/answer", {
|
|
2336
2752
|
$post: {
|
|
2753
|
+
input: {
|
|
2754
|
+
param: {
|
|
2755
|
+
questionRequestId: string;
|
|
2756
|
+
};
|
|
2757
|
+
} & {
|
|
2758
|
+
json: {
|
|
2759
|
+
answers: Record<string, {
|
|
2760
|
+
kind: "options";
|
|
2761
|
+
optionIds: string[];
|
|
2762
|
+
text?: string;
|
|
2763
|
+
} | {
|
|
2764
|
+
kind: "text";
|
|
2765
|
+
text: string;
|
|
2766
|
+
} | {
|
|
2767
|
+
kind: "skipped";
|
|
2768
|
+
}>;
|
|
2769
|
+
} | {
|
|
2770
|
+
reply: string;
|
|
2771
|
+
} | {
|
|
2772
|
+
dismissed: true;
|
|
2773
|
+
};
|
|
2774
|
+
};
|
|
2775
|
+
output: {
|
|
2776
|
+
error: {
|
|
2777
|
+
readonly type: typeof import('@belong/codec/vault').SECRET_PASTE_ERROR_TYPE;
|
|
2778
|
+
readonly message: typeof import('@belong/codec/vault').SECRET_PASTE_MESSAGE;
|
|
2779
|
+
};
|
|
2780
|
+
};
|
|
2781
|
+
outputFormat: "json";
|
|
2782
|
+
status: 400;
|
|
2783
|
+
} | {
|
|
2337
2784
|
input: {
|
|
2338
2785
|
param: {
|
|
2339
2786
|
questionRequestId: string;
|
|
@@ -4104,28 +4551,29 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
4104
4551
|
$get: {
|
|
4105
4552
|
input: {};
|
|
4106
4553
|
output: {
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
readonly name: string;
|
|
4111
|
-
readonly description: string | null;
|
|
4112
|
-
readonly currentVersion: number;
|
|
4113
|
-
readonly shareSlug: string;
|
|
4114
|
-
readonly shareExpiresAt: string | null;
|
|
4115
|
-
readonly shareRevokedAt: string | null;
|
|
4116
|
-
readonly seriesId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId | null;
|
|
4117
|
-
readonly lastRefreshedAt: string | null;
|
|
4118
|
-
readonly createdAt: string;
|
|
4119
|
-
readonly updatedAt: string;
|
|
4120
|
-
readonly cadence: {
|
|
4554
|
+
artifacts: {
|
|
4555
|
+
cadence: {
|
|
4556
|
+
readonly weekdays?: (readonly number[] | null) | undefined;
|
|
4121
4557
|
readonly intervalMinutes: number | null;
|
|
4122
4558
|
readonly timezone: string;
|
|
4123
4559
|
readonly recurrenceKind: import('../../../../apps/belong-cloud/src/features/task-schedules/task-schedule.schemas').RecurrenceKind;
|
|
4124
4560
|
readonly anchorAt: string;
|
|
4125
4561
|
} | null;
|
|
4562
|
+
liveArtifactId: import('../../../../apps/belong-cloud/src/platform/ids').LiveArtifactId;
|
|
4563
|
+
workspaceId: import('../../../../apps/belong-cloud/src/platform/ids').WorkspaceId | null;
|
|
4564
|
+
name: string;
|
|
4565
|
+
description: string | null;
|
|
4566
|
+
currentVersion: number;
|
|
4567
|
+
shareSlug: string;
|
|
4568
|
+
shareExpiresAt: string | null;
|
|
4569
|
+
shareRevokedAt: string | null;
|
|
4570
|
+
seriesId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId | null;
|
|
4571
|
+
lastRefreshedAt: string | null;
|
|
4572
|
+
createdAt: string;
|
|
4573
|
+
updatedAt: string;
|
|
4126
4574
|
}[];
|
|
4127
|
-
|
|
4128
|
-
|
|
4575
|
+
slotsUsed: number;
|
|
4576
|
+
slotLimit: number;
|
|
4129
4577
|
};
|
|
4130
4578
|
outputFormat: "json";
|
|
4131
4579
|
status: import('hono/utils/http-status').ContentfulStatusCode;
|
|
@@ -4234,19 +4682,26 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
4234
4682
|
};
|
|
4235
4683
|
};
|
|
4236
4684
|
output: {
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4685
|
+
cadence: {
|
|
4686
|
+
readonly weekdays?: (readonly number[] | null) | undefined;
|
|
4687
|
+
readonly intervalMinutes: number | null;
|
|
4688
|
+
readonly timezone: string;
|
|
4689
|
+
readonly recurrenceKind: import('../../../../apps/belong-cloud/src/features/task-schedules/task-schedule.schemas').RecurrenceKind;
|
|
4690
|
+
readonly anchorAt: string;
|
|
4691
|
+
} | null;
|
|
4692
|
+
liveArtifactId: import('../../../../apps/belong-cloud/src/platform/ids').LiveArtifactId;
|
|
4693
|
+
workspaceId: import('../../../../apps/belong-cloud/src/platform/ids').WorkspaceId | null;
|
|
4694
|
+
name: string;
|
|
4695
|
+
description: string | null;
|
|
4696
|
+
currentVersion: number;
|
|
4697
|
+
shareSlug: string;
|
|
4698
|
+
shareExpiresAt: string | null;
|
|
4699
|
+
shareRevokedAt: string | null;
|
|
4700
|
+
seriesId: import('../../../../apps/belong-cloud/src/platform/ids').TaskScheduleSeriesId | null;
|
|
4701
|
+
lastRefreshedAt: string | null;
|
|
4702
|
+
createdAt: string;
|
|
4703
|
+
updatedAt: string;
|
|
4704
|
+
versions: readonly {
|
|
4250
4705
|
readonly version: number;
|
|
4251
4706
|
readonly artifactId: import('../../../../apps/belong-cloud/src/platform/ids').ArtifactId;
|
|
4252
4707
|
readonly mimeType: string;
|
|
@@ -4254,12 +4709,6 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
4254
4709
|
readonly summary: string | null;
|
|
4255
4710
|
readonly publishedAt: string;
|
|
4256
4711
|
}[];
|
|
4257
|
-
readonly cadence: {
|
|
4258
|
-
readonly intervalMinutes: number | null;
|
|
4259
|
-
readonly timezone: string;
|
|
4260
|
-
readonly recurrenceKind: import('../../../../apps/belong-cloud/src/features/task-schedules/task-schedule.schemas').RecurrenceKind;
|
|
4261
|
-
readonly anchorAt: string;
|
|
4262
|
-
} | null;
|
|
4263
4712
|
};
|
|
4264
4713
|
outputFormat: "json";
|
|
4265
4714
|
status: import('hono/utils/http-status').ContentfulStatusCode;
|
|
@@ -5185,59 +5634,226 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
5185
5634
|
outputFormat: string;
|
|
5186
5635
|
status: import('hono/utils/http-status').StatusCode;
|
|
5187
5636
|
};
|
|
5188
|
-
|
|
5189
|
-
|
|
5190
|
-
|
|
5191
|
-
|
|
5192
|
-
|
|
5193
|
-
|
|
5194
|
-
|
|
5195
|
-
|
|
5196
|
-
|
|
5197
|
-
|
|
5198
|
-
$post: {
|
|
5199
|
-
input: {};
|
|
5200
|
-
output: {
|
|
5201
|
-
error: {
|
|
5202
|
-
type: string;
|
|
5203
|
-
};
|
|
5204
|
-
};
|
|
5205
|
-
outputFormat: "json";
|
|
5206
|
-
status: 503;
|
|
5207
|
-
} | {
|
|
5208
|
-
input: {};
|
|
5209
|
-
output: {
|
|
5210
|
-
error: {
|
|
5211
|
-
type: string;
|
|
5212
|
-
};
|
|
5637
|
+
$put: {
|
|
5638
|
+
input: {};
|
|
5639
|
+
output: null;
|
|
5640
|
+
outputFormat: "body";
|
|
5641
|
+
status: 204;
|
|
5642
|
+
} | {
|
|
5643
|
+
input: {};
|
|
5644
|
+
output: {
|
|
5645
|
+
error: {
|
|
5646
|
+
type: "terminal_no_sandbox";
|
|
5213
5647
|
};
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
|
|
5648
|
+
};
|
|
5649
|
+
outputFormat: "json";
|
|
5650
|
+
status: 409;
|
|
5651
|
+
} | {
|
|
5652
|
+
input: {};
|
|
5653
|
+
output: {
|
|
5654
|
+
error: {
|
|
5655
|
+
type: "invalid_path";
|
|
5222
5656
|
};
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5657
|
+
};
|
|
5658
|
+
outputFormat: "json";
|
|
5659
|
+
status: 400;
|
|
5660
|
+
} | {
|
|
5661
|
+
input: {};
|
|
5662
|
+
output: {
|
|
5663
|
+
error: {
|
|
5664
|
+
type: "file_not_found";
|
|
5231
5665
|
};
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5666
|
+
};
|
|
5667
|
+
outputFormat: "json";
|
|
5668
|
+
status: 404;
|
|
5669
|
+
} | {
|
|
5670
|
+
input: {};
|
|
5671
|
+
output: {
|
|
5672
|
+
error: {
|
|
5673
|
+
type: "path_is_directory" | "directory_not_empty";
|
|
5238
5674
|
};
|
|
5239
|
-
|
|
5240
|
-
|
|
5675
|
+
};
|
|
5676
|
+
outputFormat: "json";
|
|
5677
|
+
status: 409;
|
|
5678
|
+
} | {
|
|
5679
|
+
input: {};
|
|
5680
|
+
output: {
|
|
5681
|
+
error: {
|
|
5682
|
+
type: "precondition_failed";
|
|
5683
|
+
};
|
|
5684
|
+
};
|
|
5685
|
+
outputFormat: "json";
|
|
5686
|
+
status: 412;
|
|
5687
|
+
} | {
|
|
5688
|
+
input: {};
|
|
5689
|
+
output: {
|
|
5690
|
+
error: {
|
|
5691
|
+
type: "write_failed" | "remove_failed";
|
|
5692
|
+
};
|
|
5693
|
+
};
|
|
5694
|
+
outputFormat: "json";
|
|
5695
|
+
status: 502;
|
|
5696
|
+
} | {
|
|
5697
|
+
input: {};
|
|
5698
|
+
output: {
|
|
5699
|
+
readonly error: {
|
|
5700
|
+
readonly type: "missing_scope";
|
|
5701
|
+
readonly requiredScope: "session:write";
|
|
5702
|
+
};
|
|
5703
|
+
};
|
|
5704
|
+
outputFormat: "json";
|
|
5705
|
+
status: 403;
|
|
5706
|
+
} | {
|
|
5707
|
+
input: {};
|
|
5708
|
+
output: {
|
|
5709
|
+
error: {
|
|
5710
|
+
type: "missing_path" | "invalid_workspace";
|
|
5711
|
+
};
|
|
5712
|
+
};
|
|
5713
|
+
outputFormat: "json";
|
|
5714
|
+
status: 400;
|
|
5715
|
+
} | {
|
|
5716
|
+
input: {};
|
|
5717
|
+
output: {
|
|
5718
|
+
error: {
|
|
5719
|
+
type: string;
|
|
5720
|
+
};
|
|
5721
|
+
};
|
|
5722
|
+
outputFormat: "json";
|
|
5723
|
+
status: 503;
|
|
5724
|
+
};
|
|
5725
|
+
$delete: {
|
|
5726
|
+
input: {};
|
|
5727
|
+
output: null;
|
|
5728
|
+
outputFormat: "body";
|
|
5729
|
+
status: 204;
|
|
5730
|
+
} | {
|
|
5731
|
+
input: {};
|
|
5732
|
+
output: {
|
|
5733
|
+
error: {
|
|
5734
|
+
type: "terminal_no_sandbox";
|
|
5735
|
+
};
|
|
5736
|
+
};
|
|
5737
|
+
outputFormat: "json";
|
|
5738
|
+
status: 409;
|
|
5739
|
+
} | {
|
|
5740
|
+
input: {};
|
|
5741
|
+
output: {
|
|
5742
|
+
error: {
|
|
5743
|
+
type: "file_not_found";
|
|
5744
|
+
};
|
|
5745
|
+
};
|
|
5746
|
+
outputFormat: "json";
|
|
5747
|
+
status: 404;
|
|
5748
|
+
} | {
|
|
5749
|
+
input: {};
|
|
5750
|
+
output: {
|
|
5751
|
+
error: {
|
|
5752
|
+
type: "path_is_directory" | "directory_not_empty";
|
|
5753
|
+
};
|
|
5754
|
+
};
|
|
5755
|
+
outputFormat: "json";
|
|
5756
|
+
status: 409;
|
|
5757
|
+
} | {
|
|
5758
|
+
input: {};
|
|
5759
|
+
output: {
|
|
5760
|
+
error: {
|
|
5761
|
+
type: "precondition_failed";
|
|
5762
|
+
};
|
|
5763
|
+
};
|
|
5764
|
+
outputFormat: "json";
|
|
5765
|
+
status: 412;
|
|
5766
|
+
} | {
|
|
5767
|
+
input: {};
|
|
5768
|
+
output: {
|
|
5769
|
+
error: {
|
|
5770
|
+
type: "write_failed" | "remove_failed";
|
|
5771
|
+
};
|
|
5772
|
+
};
|
|
5773
|
+
outputFormat: "json";
|
|
5774
|
+
status: 502;
|
|
5775
|
+
} | {
|
|
5776
|
+
input: {};
|
|
5777
|
+
output: {
|
|
5778
|
+
readonly error: {
|
|
5779
|
+
readonly type: "missing_scope";
|
|
5780
|
+
readonly requiredScope: "session:write";
|
|
5781
|
+
};
|
|
5782
|
+
};
|
|
5783
|
+
outputFormat: "json";
|
|
5784
|
+
status: 403;
|
|
5785
|
+
} | {
|
|
5786
|
+
input: {};
|
|
5787
|
+
output: {
|
|
5788
|
+
error: {
|
|
5789
|
+
type: string;
|
|
5790
|
+
};
|
|
5791
|
+
};
|
|
5792
|
+
outputFormat: "json";
|
|
5793
|
+
status: 400;
|
|
5794
|
+
} | {
|
|
5795
|
+
input: {};
|
|
5796
|
+
output: {
|
|
5797
|
+
error: {
|
|
5798
|
+
type: string;
|
|
5799
|
+
};
|
|
5800
|
+
};
|
|
5801
|
+
outputFormat: "json";
|
|
5802
|
+
status: 503;
|
|
5803
|
+
};
|
|
5804
|
+
}>;
|
|
5805
|
+
};
|
|
5806
|
+
};
|
|
5807
|
+
};
|
|
5808
|
+
} & {
|
|
5809
|
+
v1: {
|
|
5810
|
+
terminal: {
|
|
5811
|
+
workspace: {
|
|
5812
|
+
file: {
|
|
5813
|
+
preview: import('hono/client').ClientRequest<string, "/v1/terminal/workspace/file/preview", {
|
|
5814
|
+
$post: {
|
|
5815
|
+
input: {};
|
|
5816
|
+
output: {
|
|
5817
|
+
error: {
|
|
5818
|
+
type: string;
|
|
5819
|
+
};
|
|
5820
|
+
};
|
|
5821
|
+
outputFormat: "json";
|
|
5822
|
+
status: 503;
|
|
5823
|
+
} | {
|
|
5824
|
+
input: {};
|
|
5825
|
+
output: {
|
|
5826
|
+
error: {
|
|
5827
|
+
type: string;
|
|
5828
|
+
};
|
|
5829
|
+
};
|
|
5830
|
+
outputFormat: "json";
|
|
5831
|
+
status: 409;
|
|
5832
|
+
} | {
|
|
5833
|
+
input: {};
|
|
5834
|
+
output: {
|
|
5835
|
+
error: {
|
|
5836
|
+
type: string;
|
|
5837
|
+
};
|
|
5838
|
+
};
|
|
5839
|
+
outputFormat: "json";
|
|
5840
|
+
status: 400;
|
|
5841
|
+
} | {
|
|
5842
|
+
input: {};
|
|
5843
|
+
output: {
|
|
5844
|
+
error: {
|
|
5845
|
+
type: string;
|
|
5846
|
+
};
|
|
5847
|
+
};
|
|
5848
|
+
outputFormat: "json";
|
|
5849
|
+
status: 404;
|
|
5850
|
+
} | {
|
|
5851
|
+
input: {};
|
|
5852
|
+
output: {
|
|
5853
|
+
fileId: import('../../../../apps/belong-cloud/src/platform/ids').FileId;
|
|
5854
|
+
};
|
|
5855
|
+
outputFormat: "json";
|
|
5856
|
+
status: 201;
|
|
5241
5857
|
} | {
|
|
5242
5858
|
input: {};
|
|
5243
5859
|
output: {
|
|
@@ -5383,6 +5999,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
5383
5999
|
message: string;
|
|
5384
6000
|
};
|
|
5385
6001
|
};
|
|
6002
|
+
visibility?: "other" | "visible" | "hidden" | undefined;
|
|
5386
6003
|
};
|
|
5387
6004
|
};
|
|
5388
6005
|
output: {
|
|
@@ -5414,6 +6031,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
5414
6031
|
message: string;
|
|
5415
6032
|
};
|
|
5416
6033
|
};
|
|
6034
|
+
visibility?: "other" | "visible" | "hidden" | undefined;
|
|
5417
6035
|
};
|
|
5418
6036
|
};
|
|
5419
6037
|
output: {
|
|
@@ -5435,6 +6053,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
5435
6053
|
input: {
|
|
5436
6054
|
json: {
|
|
5437
6055
|
commandId: string;
|
|
6056
|
+
visibility?: "other" | "visible" | "hidden" | undefined;
|
|
5438
6057
|
};
|
|
5439
6058
|
};
|
|
5440
6059
|
output: {
|
|
@@ -5446,6 +6065,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
5446
6065
|
input: {
|
|
5447
6066
|
json: {
|
|
5448
6067
|
commandId: string;
|
|
6068
|
+
visibility?: "other" | "visible" | "hidden" | undefined;
|
|
5449
6069
|
};
|
|
5450
6070
|
};
|
|
5451
6071
|
output: {
|
|
@@ -6006,12 +6626,364 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6006
6626
|
};
|
|
6007
6627
|
};
|
|
6008
6628
|
output: {
|
|
6009
|
-
error: {
|
|
6010
|
-
type: "browser_disconnected";
|
|
6629
|
+
error: {
|
|
6630
|
+
type: "browser_disconnected";
|
|
6631
|
+
};
|
|
6632
|
+
};
|
|
6633
|
+
outputFormat: "json";
|
|
6634
|
+
status: 502;
|
|
6635
|
+
};
|
|
6636
|
+
}>;
|
|
6637
|
+
};
|
|
6638
|
+
};
|
|
6639
|
+
} & {
|
|
6640
|
+
v1: {
|
|
6641
|
+
computer: {
|
|
6642
|
+
command: import('hono/client').ClientRequest<string, "/v1/computer/command", {
|
|
6643
|
+
$post: {
|
|
6644
|
+
input: {
|
|
6645
|
+
json: {
|
|
6646
|
+
command: {
|
|
6647
|
+
op: "shell";
|
|
6648
|
+
command: string;
|
|
6649
|
+
cwd: string | null;
|
|
6650
|
+
timeoutMs: number;
|
|
6651
|
+
};
|
|
6652
|
+
};
|
|
6653
|
+
};
|
|
6654
|
+
output: {
|
|
6655
|
+
result: {
|
|
6656
|
+
op: "shell";
|
|
6657
|
+
exitCode: number | null;
|
|
6658
|
+
stdout: string;
|
|
6659
|
+
stderr: string;
|
|
6660
|
+
timedOut: boolean;
|
|
6661
|
+
truncated: boolean;
|
|
6662
|
+
durationMs: number;
|
|
6663
|
+
};
|
|
6664
|
+
};
|
|
6665
|
+
outputFormat: "json";
|
|
6666
|
+
status: 200;
|
|
6667
|
+
} | {
|
|
6668
|
+
input: {
|
|
6669
|
+
json: {
|
|
6670
|
+
command: {
|
|
6671
|
+
op: "shell";
|
|
6672
|
+
command: string;
|
|
6673
|
+
cwd: string | null;
|
|
6674
|
+
timeoutMs: number;
|
|
6675
|
+
};
|
|
6676
|
+
};
|
|
6677
|
+
};
|
|
6678
|
+
output: {
|
|
6679
|
+
error: {
|
|
6680
|
+
type: "computer_not_paired";
|
|
6681
|
+
};
|
|
6682
|
+
};
|
|
6683
|
+
outputFormat: "json";
|
|
6684
|
+
status: 409;
|
|
6685
|
+
} | {
|
|
6686
|
+
input: {
|
|
6687
|
+
json: {
|
|
6688
|
+
command: {
|
|
6689
|
+
op: "shell";
|
|
6690
|
+
command: string;
|
|
6691
|
+
cwd: string | null;
|
|
6692
|
+
timeoutMs: number;
|
|
6693
|
+
};
|
|
6694
|
+
};
|
|
6695
|
+
};
|
|
6696
|
+
output: {
|
|
6697
|
+
error: {
|
|
6698
|
+
type: "computer_not_connected";
|
|
6699
|
+
};
|
|
6700
|
+
};
|
|
6701
|
+
outputFormat: "json";
|
|
6702
|
+
status: 409;
|
|
6703
|
+
} | {
|
|
6704
|
+
input: {
|
|
6705
|
+
json: {
|
|
6706
|
+
command: {
|
|
6707
|
+
op: "shell";
|
|
6708
|
+
command: string;
|
|
6709
|
+
cwd: string | null;
|
|
6710
|
+
timeoutMs: number;
|
|
6711
|
+
};
|
|
6712
|
+
};
|
|
6713
|
+
};
|
|
6714
|
+
output: {
|
|
6715
|
+
error: {
|
|
6716
|
+
type: "computer_busy";
|
|
6717
|
+
};
|
|
6718
|
+
};
|
|
6719
|
+
outputFormat: "json";
|
|
6720
|
+
status: 409;
|
|
6721
|
+
} | {
|
|
6722
|
+
input: {
|
|
6723
|
+
json: {
|
|
6724
|
+
command: {
|
|
6725
|
+
op: "shell";
|
|
6726
|
+
command: string;
|
|
6727
|
+
cwd: string | null;
|
|
6728
|
+
timeoutMs: number;
|
|
6729
|
+
};
|
|
6730
|
+
};
|
|
6731
|
+
};
|
|
6732
|
+
output: {
|
|
6733
|
+
error: {
|
|
6734
|
+
type: "computer_disconnected";
|
|
6735
|
+
};
|
|
6736
|
+
};
|
|
6737
|
+
outputFormat: "json";
|
|
6738
|
+
status: 502;
|
|
6739
|
+
} | {
|
|
6740
|
+
input: {
|
|
6741
|
+
json: {
|
|
6742
|
+
command: {
|
|
6743
|
+
op: "shell";
|
|
6744
|
+
command: string;
|
|
6745
|
+
cwd: string | null;
|
|
6746
|
+
timeoutMs: number;
|
|
6747
|
+
};
|
|
6748
|
+
};
|
|
6749
|
+
};
|
|
6750
|
+
output: {
|
|
6751
|
+
error: {
|
|
6752
|
+
type: "command_timeout";
|
|
6753
|
+
};
|
|
6754
|
+
};
|
|
6755
|
+
outputFormat: "json";
|
|
6756
|
+
status: 504;
|
|
6757
|
+
};
|
|
6758
|
+
}>;
|
|
6759
|
+
};
|
|
6760
|
+
};
|
|
6761
|
+
} & {
|
|
6762
|
+
v1: {
|
|
6763
|
+
computer: {
|
|
6764
|
+
pairings: import('hono/client').ClientRequest<string, "/v1/computer/pairings", {
|
|
6765
|
+
$post: {
|
|
6766
|
+
input: {};
|
|
6767
|
+
output: {
|
|
6768
|
+
error: {
|
|
6769
|
+
type: string;
|
|
6770
|
+
requiredScope: string;
|
|
6771
|
+
};
|
|
6772
|
+
};
|
|
6773
|
+
outputFormat: "json";
|
|
6774
|
+
status: 403;
|
|
6775
|
+
} | {
|
|
6776
|
+
input: {};
|
|
6777
|
+
output: {
|
|
6778
|
+
pairingCode: string;
|
|
6779
|
+
expiresAt: string;
|
|
6780
|
+
};
|
|
6781
|
+
outputFormat: "json";
|
|
6782
|
+
status: 201;
|
|
6783
|
+
} | {
|
|
6784
|
+
input: {};
|
|
6785
|
+
output: {
|
|
6786
|
+
error: {
|
|
6787
|
+
readonly type: "tenant_inactive";
|
|
6788
|
+
};
|
|
6789
|
+
};
|
|
6790
|
+
outputFormat: "json";
|
|
6791
|
+
status: 403;
|
|
6792
|
+
};
|
|
6793
|
+
}>;
|
|
6794
|
+
};
|
|
6795
|
+
};
|
|
6796
|
+
} & {
|
|
6797
|
+
v1: {
|
|
6798
|
+
computer: {
|
|
6799
|
+
device: import('hono/client').ClientRequest<string, "/v1/computer/device", {
|
|
6800
|
+
$get: {
|
|
6801
|
+
input: {};
|
|
6802
|
+
output: {
|
|
6803
|
+
device: {
|
|
6804
|
+
deviceId: string;
|
|
6805
|
+
name: string;
|
|
6806
|
+
os: "macos" | "windows" | "linux";
|
|
6807
|
+
appVersion: string;
|
|
6808
|
+
pairedAt: string;
|
|
6809
|
+
lastSeenAt: string | null;
|
|
6810
|
+
online: boolean;
|
|
6811
|
+
} | null;
|
|
6812
|
+
downloadUrl: string | null;
|
|
6813
|
+
};
|
|
6814
|
+
outputFormat: "json";
|
|
6815
|
+
status: 200;
|
|
6816
|
+
};
|
|
6817
|
+
$delete: {
|
|
6818
|
+
input: {};
|
|
6819
|
+
output: null;
|
|
6820
|
+
outputFormat: "body";
|
|
6821
|
+
status: 204;
|
|
6822
|
+
} | {
|
|
6823
|
+
input: {};
|
|
6824
|
+
output: {
|
|
6825
|
+
error: {
|
|
6826
|
+
type: string;
|
|
6827
|
+
requiredScope: string;
|
|
6828
|
+
};
|
|
6829
|
+
};
|
|
6830
|
+
outputFormat: "json";
|
|
6831
|
+
status: 403;
|
|
6832
|
+
} | {
|
|
6833
|
+
input: {};
|
|
6834
|
+
output: {
|
|
6835
|
+
error: {
|
|
6836
|
+
readonly type: "computer_not_paired";
|
|
6837
|
+
};
|
|
6838
|
+
};
|
|
6839
|
+
outputFormat: "json";
|
|
6840
|
+
status: 404;
|
|
6841
|
+
};
|
|
6842
|
+
}>;
|
|
6843
|
+
};
|
|
6844
|
+
};
|
|
6845
|
+
} & {
|
|
6846
|
+
v1: {
|
|
6847
|
+
computer: {
|
|
6848
|
+
pairings: {
|
|
6849
|
+
claim: import('hono/client').ClientRequest<string, "/v1/computer/pairings/claim", {
|
|
6850
|
+
$post: {
|
|
6851
|
+
input: {
|
|
6852
|
+
json: {
|
|
6853
|
+
pairingCode: string;
|
|
6854
|
+
deviceName: string;
|
|
6855
|
+
os: "macos" | "windows" | "linux";
|
|
6856
|
+
appVersion: string;
|
|
6857
|
+
};
|
|
6858
|
+
};
|
|
6859
|
+
output: {
|
|
6860
|
+
error: "pairing_code_invalid";
|
|
6861
|
+
};
|
|
6862
|
+
outputFormat: "json";
|
|
6863
|
+
status: 404;
|
|
6864
|
+
} | {
|
|
6865
|
+
input: {
|
|
6866
|
+
json: {
|
|
6867
|
+
pairingCode: string;
|
|
6868
|
+
deviceName: string;
|
|
6869
|
+
os: "macos" | "windows" | "linux";
|
|
6870
|
+
appVersion: string;
|
|
6871
|
+
};
|
|
6872
|
+
};
|
|
6873
|
+
output: {
|
|
6874
|
+
readonly deviceId: string;
|
|
6875
|
+
readonly deviceToken: string;
|
|
6876
|
+
};
|
|
6877
|
+
outputFormat: "json";
|
|
6878
|
+
status: 201;
|
|
6879
|
+
};
|
|
6880
|
+
}>;
|
|
6881
|
+
};
|
|
6882
|
+
};
|
|
6883
|
+
};
|
|
6884
|
+
} & {
|
|
6885
|
+
v1: {
|
|
6886
|
+
computer: {
|
|
6887
|
+
stream: import('hono/client').ClientRequest<string, "/v1/computer/stream", {
|
|
6888
|
+
$get: {
|
|
6889
|
+
input: {
|
|
6890
|
+
query: {
|
|
6891
|
+
protocol: string | string[];
|
|
6892
|
+
os: string | string[];
|
|
6893
|
+
appVersion: string | string[];
|
|
6894
|
+
shell?: string | string[];
|
|
6895
|
+
};
|
|
6896
|
+
};
|
|
6897
|
+
output: {};
|
|
6898
|
+
outputFormat: string;
|
|
6899
|
+
status: import('hono/utils/http-status').StatusCode;
|
|
6900
|
+
};
|
|
6901
|
+
}>;
|
|
6902
|
+
};
|
|
6903
|
+
};
|
|
6904
|
+
} & {
|
|
6905
|
+
v1: {
|
|
6906
|
+
computer: {
|
|
6907
|
+
heartbeat: import('hono/client').ClientRequest<string, "/v1/computer/heartbeat", {
|
|
6908
|
+
$post: {
|
|
6909
|
+
input: {};
|
|
6910
|
+
output: null;
|
|
6911
|
+
outputFormat: "body";
|
|
6912
|
+
status: 204;
|
|
6913
|
+
};
|
|
6914
|
+
}>;
|
|
6915
|
+
};
|
|
6916
|
+
};
|
|
6917
|
+
} & {
|
|
6918
|
+
v1: {
|
|
6919
|
+
computer: {
|
|
6920
|
+
ack: import('hono/client').ClientRequest<string, "/v1/computer/ack", {
|
|
6921
|
+
$post: {
|
|
6922
|
+
input: {
|
|
6923
|
+
json: {
|
|
6924
|
+
commandId: string;
|
|
6925
|
+
};
|
|
6926
|
+
};
|
|
6927
|
+
output: null;
|
|
6928
|
+
outputFormat: "body";
|
|
6929
|
+
status: 204;
|
|
6930
|
+
} | {
|
|
6931
|
+
input: {
|
|
6932
|
+
json: {
|
|
6933
|
+
commandId: string;
|
|
6934
|
+
};
|
|
6935
|
+
};
|
|
6936
|
+
output: {
|
|
6937
|
+
error: "unknown_command";
|
|
6938
|
+
};
|
|
6939
|
+
outputFormat: "json";
|
|
6940
|
+
status: 404;
|
|
6941
|
+
};
|
|
6942
|
+
}>;
|
|
6943
|
+
};
|
|
6944
|
+
};
|
|
6945
|
+
} & {
|
|
6946
|
+
v1: {
|
|
6947
|
+
computer: {
|
|
6948
|
+
result: import('hono/client').ClientRequest<string, "/v1/computer/result", {
|
|
6949
|
+
$post: {
|
|
6950
|
+
input: {
|
|
6951
|
+
json: {
|
|
6952
|
+
commandId: string;
|
|
6953
|
+
result: {
|
|
6954
|
+
op: "shell";
|
|
6955
|
+
exitCode: number | null;
|
|
6956
|
+
stdout: string;
|
|
6957
|
+
stderr: string;
|
|
6958
|
+
timedOut: boolean;
|
|
6959
|
+
truncated: boolean;
|
|
6960
|
+
durationMs: number;
|
|
6961
|
+
};
|
|
6962
|
+
};
|
|
6963
|
+
};
|
|
6964
|
+
output: null;
|
|
6965
|
+
outputFormat: "body";
|
|
6966
|
+
status: 204;
|
|
6967
|
+
} | {
|
|
6968
|
+
input: {
|
|
6969
|
+
json: {
|
|
6970
|
+
commandId: string;
|
|
6971
|
+
result: {
|
|
6972
|
+
op: "shell";
|
|
6973
|
+
exitCode: number | null;
|
|
6974
|
+
stdout: string;
|
|
6975
|
+
stderr: string;
|
|
6976
|
+
timedOut: boolean;
|
|
6977
|
+
truncated: boolean;
|
|
6978
|
+
durationMs: number;
|
|
6979
|
+
};
|
|
6011
6980
|
};
|
|
6012
6981
|
};
|
|
6982
|
+
output: {
|
|
6983
|
+
error: "unknown_command";
|
|
6984
|
+
};
|
|
6013
6985
|
outputFormat: "json";
|
|
6014
|
-
status:
|
|
6986
|
+
status: 404;
|
|
6015
6987
|
};
|
|
6016
6988
|
}>;
|
|
6017
6989
|
};
|
|
@@ -6031,6 +7003,21 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
6031
7003
|
}>;
|
|
6032
7004
|
};
|
|
6033
7005
|
};
|
|
7006
|
+
} & {
|
|
7007
|
+
v1: {
|
|
7008
|
+
config: {
|
|
7009
|
+
"next-step-suggestions": import('hono/client').ClientRequest<string, "/v1/config/next-step-suggestions", {
|
|
7010
|
+
$get: {
|
|
7011
|
+
input: {};
|
|
7012
|
+
output: {
|
|
7013
|
+
enabled: boolean;
|
|
7014
|
+
};
|
|
7015
|
+
outputFormat: "json";
|
|
7016
|
+
status: 200;
|
|
7017
|
+
};
|
|
7018
|
+
}>;
|
|
7019
|
+
};
|
|
7020
|
+
};
|
|
6034
7021
|
} & {
|
|
6035
7022
|
v1: {
|
|
6036
7023
|
config: {
|
|
@@ -7118,6 +8105,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7118
8105
|
kind: "weekdays";
|
|
7119
8106
|
} | {
|
|
7120
8107
|
kind: "weekly";
|
|
8108
|
+
} | {
|
|
8109
|
+
kind: "custom_weekly";
|
|
8110
|
+
weekdays: number[];
|
|
7121
8111
|
} | {
|
|
7122
8112
|
kind: "manual";
|
|
7123
8113
|
} | {
|
|
@@ -7178,6 +8168,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7178
8168
|
kind: "weekdays";
|
|
7179
8169
|
} | {
|
|
7180
8170
|
kind: "weekly";
|
|
8171
|
+
} | {
|
|
8172
|
+
kind: "custom_weekly";
|
|
8173
|
+
weekdays: number[];
|
|
7181
8174
|
} | {
|
|
7182
8175
|
kind: "manual";
|
|
7183
8176
|
} | {
|
|
@@ -7198,7 +8191,8 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7198
8191
|
scheduledFor: string;
|
|
7199
8192
|
seriesStatus: "completed" | "active" | "paused" | "deleted";
|
|
7200
8193
|
recurrence: {
|
|
7201
|
-
|
|
8194
|
+
weekdays?: readonly number[] | undefined;
|
|
8195
|
+
kind: "none" | "daily" | "weekdays" | "weekly" | "custom_weekly" | "interval" | "manual";
|
|
7202
8196
|
};
|
|
7203
8197
|
nextRunAt: string | null;
|
|
7204
8198
|
title: string;
|
|
@@ -7243,6 +8237,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7243
8237
|
kind: "weekdays";
|
|
7244
8238
|
} | {
|
|
7245
8239
|
kind: "weekly";
|
|
8240
|
+
} | {
|
|
8241
|
+
kind: "custom_weekly";
|
|
8242
|
+
weekdays: number[];
|
|
7246
8243
|
} | {
|
|
7247
8244
|
kind: "manual";
|
|
7248
8245
|
} | {
|
|
@@ -7302,6 +8299,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7302
8299
|
kind: "weekdays";
|
|
7303
8300
|
} | {
|
|
7304
8301
|
kind: "weekly";
|
|
8302
|
+
} | {
|
|
8303
|
+
kind: "custom_weekly";
|
|
8304
|
+
weekdays: number[];
|
|
7305
8305
|
} | {
|
|
7306
8306
|
kind: "manual";
|
|
7307
8307
|
} | {
|
|
@@ -7345,8 +8345,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7345
8345
|
title: string;
|
|
7346
8346
|
status: "completed" | "active" | "paused" | "deleted";
|
|
7347
8347
|
recurrence: {
|
|
8348
|
+
weekdays?: readonly number[] | undefined;
|
|
7348
8349
|
intervalMinutes?: number | undefined;
|
|
7349
|
-
kind: "none" | "daily" | "weekdays" | "weekly" | "interval" | "manual";
|
|
8350
|
+
kind: "none" | "daily" | "weekdays" | "weekly" | "custom_weekly" | "interval" | "manual";
|
|
7350
8351
|
};
|
|
7351
8352
|
timezone: string;
|
|
7352
8353
|
nextRunAt: string | null;
|
|
@@ -7519,8 +8520,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7519
8520
|
title: string;
|
|
7520
8521
|
status: "completed" | "active" | "paused" | "deleted";
|
|
7521
8522
|
recurrence: {
|
|
8523
|
+
weekdays?: readonly number[] | undefined;
|
|
7522
8524
|
intervalMinutes?: number | undefined;
|
|
7523
|
-
kind: "none" | "daily" | "weekdays" | "weekly" | "interval" | "manual";
|
|
8525
|
+
kind: "none" | "daily" | "weekdays" | "weekly" | "custom_weekly" | "interval" | "manual";
|
|
7524
8526
|
};
|
|
7525
8527
|
timezone: string;
|
|
7526
8528
|
nextRunAt: string | null;
|
|
@@ -7590,6 +8592,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7590
8592
|
kind: "weekdays";
|
|
7591
8593
|
} | {
|
|
7592
8594
|
kind: "weekly";
|
|
8595
|
+
} | {
|
|
8596
|
+
kind: "custom_weekly";
|
|
8597
|
+
weekdays: number[];
|
|
7593
8598
|
} | {
|
|
7594
8599
|
kind: "manual";
|
|
7595
8600
|
} | {
|
|
@@ -7648,6 +8653,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7648
8653
|
kind: "weekdays";
|
|
7649
8654
|
} | {
|
|
7650
8655
|
kind: "weekly";
|
|
8656
|
+
} | {
|
|
8657
|
+
kind: "custom_weekly";
|
|
8658
|
+
weekdays: number[];
|
|
7651
8659
|
} | {
|
|
7652
8660
|
kind: "manual";
|
|
7653
8661
|
} | {
|
|
@@ -7706,6 +8714,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7706
8714
|
kind: "weekdays";
|
|
7707
8715
|
} | {
|
|
7708
8716
|
kind: "weekly";
|
|
8717
|
+
} | {
|
|
8718
|
+
kind: "custom_weekly";
|
|
8719
|
+
weekdays: number[];
|
|
7709
8720
|
} | {
|
|
7710
8721
|
kind: "manual";
|
|
7711
8722
|
} | {
|
|
@@ -7764,6 +8775,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7764
8775
|
kind: "weekdays";
|
|
7765
8776
|
} | {
|
|
7766
8777
|
kind: "weekly";
|
|
8778
|
+
} | {
|
|
8779
|
+
kind: "custom_weekly";
|
|
8780
|
+
weekdays: number[];
|
|
7767
8781
|
} | {
|
|
7768
8782
|
kind: "manual";
|
|
7769
8783
|
} | {
|
|
@@ -7822,6 +8836,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7822
8836
|
kind: "weekdays";
|
|
7823
8837
|
} | {
|
|
7824
8838
|
kind: "weekly";
|
|
8839
|
+
} | {
|
|
8840
|
+
kind: "custom_weekly";
|
|
8841
|
+
weekdays: number[];
|
|
7825
8842
|
} | {
|
|
7826
8843
|
kind: "manual";
|
|
7827
8844
|
} | {
|
|
@@ -7925,6 +8942,11 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7925
8942
|
runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId | null;
|
|
7926
8943
|
delivery: {
|
|
7927
8944
|
emails: {
|
|
8945
|
+
providerEvent?: {
|
|
8946
|
+
at: string;
|
|
8947
|
+
type: import('../../../../apps/belong-cloud/src/features/notifications/email-provider-event.repo').EmailProviderEventType;
|
|
8948
|
+
bounceType: import('../../../../apps/belong-cloud/src/features/notifications/email-provider-event.repo').EmailBounceType | null;
|
|
8949
|
+
} | null | undefined;
|
|
7928
8950
|
sentAt: string | null;
|
|
7929
8951
|
source: "schedule_email" | "send_email";
|
|
7930
8952
|
status: import('../../../../apps/belong-cloud/src/features/task-schedules/run-delivery').RunDeliveryEmailStatus;
|
|
@@ -7934,7 +8956,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
7934
8956
|
to?: readonly string[] | undefined;
|
|
7935
8957
|
cc?: readonly string[] | undefined;
|
|
7936
8958
|
}[];
|
|
7937
|
-
outcome: "sent" | "partial" | "not_sent";
|
|
8959
|
+
outcome: "sent" | "partial" | "not_sent" | "unknown";
|
|
7938
8960
|
reason: "no_match" | "missing_outcome" | "provider_failed" | null;
|
|
7939
8961
|
} | null;
|
|
7940
8962
|
}[];
|
|
@@ -8397,6 +9419,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8397
9419
|
kind: "weekdays";
|
|
8398
9420
|
} | {
|
|
8399
9421
|
kind: "weekly";
|
|
9422
|
+
} | {
|
|
9423
|
+
kind: "custom_weekly";
|
|
9424
|
+
weekdays: number[];
|
|
8400
9425
|
} | {
|
|
8401
9426
|
kind: "manual";
|
|
8402
9427
|
} | {
|
|
@@ -8457,6 +9482,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8457
9482
|
kind: "weekdays";
|
|
8458
9483
|
} | {
|
|
8459
9484
|
kind: "weekly";
|
|
9485
|
+
} | {
|
|
9486
|
+
kind: "custom_weekly";
|
|
9487
|
+
weekdays: number[];
|
|
8460
9488
|
} | {
|
|
8461
9489
|
kind: "manual";
|
|
8462
9490
|
} | {
|
|
@@ -8477,7 +9505,8 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8477
9505
|
scheduledFor: string;
|
|
8478
9506
|
seriesStatus: "completed" | "active" | "paused" | "deleted";
|
|
8479
9507
|
recurrence: {
|
|
8480
|
-
|
|
9508
|
+
weekdays?: readonly number[] | undefined;
|
|
9509
|
+
kind: "none" | "daily" | "weekdays" | "weekly" | "custom_weekly" | "interval" | "manual";
|
|
8481
9510
|
};
|
|
8482
9511
|
nextRunAt: string | null;
|
|
8483
9512
|
title: string;
|
|
@@ -8522,6 +9551,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8522
9551
|
kind: "weekdays";
|
|
8523
9552
|
} | {
|
|
8524
9553
|
kind: "weekly";
|
|
9554
|
+
} | {
|
|
9555
|
+
kind: "custom_weekly";
|
|
9556
|
+
weekdays: number[];
|
|
8525
9557
|
} | {
|
|
8526
9558
|
kind: "manual";
|
|
8527
9559
|
} | {
|
|
@@ -8581,6 +9613,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8581
9613
|
kind: "weekdays";
|
|
8582
9614
|
} | {
|
|
8583
9615
|
kind: "weekly";
|
|
9616
|
+
} | {
|
|
9617
|
+
kind: "custom_weekly";
|
|
9618
|
+
weekdays: number[];
|
|
8584
9619
|
} | {
|
|
8585
9620
|
kind: "manual";
|
|
8586
9621
|
} | {
|
|
@@ -8624,8 +9659,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8624
9659
|
title: string;
|
|
8625
9660
|
status: "completed" | "active" | "paused" | "deleted";
|
|
8626
9661
|
recurrence: {
|
|
9662
|
+
weekdays?: readonly number[] | undefined;
|
|
8627
9663
|
intervalMinutes?: number | undefined;
|
|
8628
|
-
kind: "none" | "daily" | "weekdays" | "weekly" | "interval" | "manual";
|
|
9664
|
+
kind: "none" | "daily" | "weekdays" | "weekly" | "custom_weekly" | "interval" | "manual";
|
|
8629
9665
|
};
|
|
8630
9666
|
timezone: string;
|
|
8631
9667
|
nextRunAt: string | null;
|
|
@@ -8798,8 +9834,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8798
9834
|
title: string;
|
|
8799
9835
|
status: "completed" | "active" | "paused" | "deleted";
|
|
8800
9836
|
recurrence: {
|
|
9837
|
+
weekdays?: readonly number[] | undefined;
|
|
8801
9838
|
intervalMinutes?: number | undefined;
|
|
8802
|
-
kind: "none" | "daily" | "weekdays" | "weekly" | "interval" | "manual";
|
|
9839
|
+
kind: "none" | "daily" | "weekdays" | "weekly" | "custom_weekly" | "interval" | "manual";
|
|
8803
9840
|
};
|
|
8804
9841
|
timezone: string;
|
|
8805
9842
|
nextRunAt: string | null;
|
|
@@ -8869,6 +9906,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8869
9906
|
kind: "weekdays";
|
|
8870
9907
|
} | {
|
|
8871
9908
|
kind: "weekly";
|
|
9909
|
+
} | {
|
|
9910
|
+
kind: "custom_weekly";
|
|
9911
|
+
weekdays: number[];
|
|
8872
9912
|
} | {
|
|
8873
9913
|
kind: "manual";
|
|
8874
9914
|
} | {
|
|
@@ -8927,6 +9967,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8927
9967
|
kind: "weekdays";
|
|
8928
9968
|
} | {
|
|
8929
9969
|
kind: "weekly";
|
|
9970
|
+
} | {
|
|
9971
|
+
kind: "custom_weekly";
|
|
9972
|
+
weekdays: number[];
|
|
8930
9973
|
} | {
|
|
8931
9974
|
kind: "manual";
|
|
8932
9975
|
} | {
|
|
@@ -8985,6 +10028,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
8985
10028
|
kind: "weekdays";
|
|
8986
10029
|
} | {
|
|
8987
10030
|
kind: "weekly";
|
|
10031
|
+
} | {
|
|
10032
|
+
kind: "custom_weekly";
|
|
10033
|
+
weekdays: number[];
|
|
8988
10034
|
} | {
|
|
8989
10035
|
kind: "manual";
|
|
8990
10036
|
} | {
|
|
@@ -9043,6 +10089,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9043
10089
|
kind: "weekdays";
|
|
9044
10090
|
} | {
|
|
9045
10091
|
kind: "weekly";
|
|
10092
|
+
} | {
|
|
10093
|
+
kind: "custom_weekly";
|
|
10094
|
+
weekdays: number[];
|
|
9046
10095
|
} | {
|
|
9047
10096
|
kind: "manual";
|
|
9048
10097
|
} | {
|
|
@@ -9101,6 +10150,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9101
10150
|
kind: "weekdays";
|
|
9102
10151
|
} | {
|
|
9103
10152
|
kind: "weekly";
|
|
10153
|
+
} | {
|
|
10154
|
+
kind: "custom_weekly";
|
|
10155
|
+
weekdays: number[];
|
|
9104
10156
|
} | {
|
|
9105
10157
|
kind: "manual";
|
|
9106
10158
|
} | {
|
|
@@ -9204,6 +10256,11 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9204
10256
|
runId: import('../../../../apps/belong-cloud/src/platform/ids').RunId | null;
|
|
9205
10257
|
delivery: {
|
|
9206
10258
|
emails: {
|
|
10259
|
+
providerEvent?: {
|
|
10260
|
+
at: string;
|
|
10261
|
+
type: import('../../../../apps/belong-cloud/src/features/notifications/email-provider-event.repo').EmailProviderEventType;
|
|
10262
|
+
bounceType: import('../../../../apps/belong-cloud/src/features/notifications/email-provider-event.repo').EmailBounceType | null;
|
|
10263
|
+
} | null | undefined;
|
|
9207
10264
|
sentAt: string | null;
|
|
9208
10265
|
source: "schedule_email" | "send_email";
|
|
9209
10266
|
status: import('../../../../apps/belong-cloud/src/features/task-schedules/run-delivery').RunDeliveryEmailStatus;
|
|
@@ -9213,7 +10270,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9213
10270
|
to?: readonly string[] | undefined;
|
|
9214
10271
|
cc?: readonly string[] | undefined;
|
|
9215
10272
|
}[];
|
|
9216
|
-
outcome: "sent" | "partial" | "not_sent";
|
|
10273
|
+
outcome: "sent" | "partial" | "not_sent" | "unknown";
|
|
9217
10274
|
reason: "no_match" | "missing_outcome" | "provider_failed" | null;
|
|
9218
10275
|
} | null;
|
|
9219
10276
|
}[];
|
|
@@ -9684,8 +10741,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9684
10741
|
timeExpression: string;
|
|
9685
10742
|
timezone: string;
|
|
9686
10743
|
recurrence: {
|
|
10744
|
+
weekdays?: readonly number[] | undefined;
|
|
9687
10745
|
intervalMinutes?: number | undefined;
|
|
9688
|
-
kind:
|
|
10746
|
+
kind: "none" | "daily" | "weekdays" | "weekly" | "custom_weekly" | "interval" | "manual";
|
|
9689
10747
|
};
|
|
9690
10748
|
anchorAt: string;
|
|
9691
10749
|
templateName: string | null;
|
|
@@ -9776,8 +10834,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9776
10834
|
timeExpression: string;
|
|
9777
10835
|
timezone: string;
|
|
9778
10836
|
recurrence: {
|
|
10837
|
+
weekdays?: readonly number[] | undefined;
|
|
9779
10838
|
intervalMinutes?: number | undefined;
|
|
9780
|
-
kind:
|
|
10839
|
+
kind: "none" | "daily" | "weekdays" | "weekly" | "custom_weekly" | "interval" | "manual";
|
|
9781
10840
|
};
|
|
9782
10841
|
anchorAt: string;
|
|
9783
10842
|
templateName: string | null;
|
|
@@ -9813,6 +10872,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9813
10872
|
kind: "weekdays";
|
|
9814
10873
|
} | {
|
|
9815
10874
|
kind: "weekly";
|
|
10875
|
+
} | {
|
|
10876
|
+
kind: "custom_weekly";
|
|
10877
|
+
weekdays: number[];
|
|
9816
10878
|
} | {
|
|
9817
10879
|
kind: "manual";
|
|
9818
10880
|
} | {
|
|
@@ -9860,6 +10922,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9860
10922
|
kind: "weekdays";
|
|
9861
10923
|
} | {
|
|
9862
10924
|
kind: "weekly";
|
|
10925
|
+
} | {
|
|
10926
|
+
kind: "custom_weekly";
|
|
10927
|
+
weekdays: number[];
|
|
9863
10928
|
} | {
|
|
9864
10929
|
kind: "manual";
|
|
9865
10930
|
} | {
|
|
@@ -9906,6 +10971,9 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
9906
10971
|
kind: "weekdays";
|
|
9907
10972
|
} | {
|
|
9908
10973
|
kind: "weekly";
|
|
10974
|
+
} | {
|
|
10975
|
+
kind: "custom_weekly";
|
|
10976
|
+
weekdays: number[];
|
|
9909
10977
|
} | {
|
|
9910
10978
|
kind: "manual";
|
|
9911
10979
|
} | {
|
|
@@ -11249,6 +12317,23 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
11249
12317
|
};
|
|
11250
12318
|
outputFormat: "json";
|
|
11251
12319
|
status: 409;
|
|
12320
|
+
} | {
|
|
12321
|
+
input: {
|
|
12322
|
+
param: {
|
|
12323
|
+
projectId: string;
|
|
12324
|
+
};
|
|
12325
|
+
} & {
|
|
12326
|
+
query: {
|
|
12327
|
+
workspaceExternalId?: string | string[];
|
|
12328
|
+
};
|
|
12329
|
+
};
|
|
12330
|
+
output: {
|
|
12331
|
+
error: {
|
|
12332
|
+
type: "project_handover_too_many_files";
|
|
12333
|
+
};
|
|
12334
|
+
};
|
|
12335
|
+
outputFormat: "json";
|
|
12336
|
+
status: 409;
|
|
11252
12337
|
} | {
|
|
11253
12338
|
input: {
|
|
11254
12339
|
param: {
|
|
@@ -12276,6 +13361,23 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
12276
13361
|
};
|
|
12277
13362
|
outputFormat: "json";
|
|
12278
13363
|
status: 409;
|
|
13364
|
+
} | {
|
|
13365
|
+
input: {
|
|
13366
|
+
param: {
|
|
13367
|
+
projectId: string;
|
|
13368
|
+
};
|
|
13369
|
+
} & {
|
|
13370
|
+
query: {
|
|
13371
|
+
workspaceExternalId?: string | string[];
|
|
13372
|
+
};
|
|
13373
|
+
};
|
|
13374
|
+
output: {
|
|
13375
|
+
error: {
|
|
13376
|
+
type: "project_handover_too_many_files";
|
|
13377
|
+
};
|
|
13378
|
+
};
|
|
13379
|
+
outputFormat: "json";
|
|
13380
|
+
status: 409;
|
|
12279
13381
|
} | {
|
|
12280
13382
|
input: {
|
|
12281
13383
|
param: {
|
|
@@ -13197,31 +14299,199 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
13197
14299
|
};
|
|
13198
14300
|
};
|
|
13199
14301
|
outputFormat: "json";
|
|
13200
|
-
status: 404;
|
|
14302
|
+
status: 404;
|
|
14303
|
+
} | {
|
|
14304
|
+
input: {
|
|
14305
|
+
param: {
|
|
14306
|
+
prePromptId: string;
|
|
14307
|
+
};
|
|
14308
|
+
} & {
|
|
14309
|
+
json: {
|
|
14310
|
+
name?: string | undefined;
|
|
14311
|
+
body?: string | undefined;
|
|
14312
|
+
description?: string | undefined;
|
|
14313
|
+
};
|
|
14314
|
+
};
|
|
14315
|
+
output: {
|
|
14316
|
+
error: {
|
|
14317
|
+
type: string;
|
|
14318
|
+
};
|
|
14319
|
+
};
|
|
14320
|
+
outputFormat: "json";
|
|
14321
|
+
status: 409;
|
|
14322
|
+
};
|
|
14323
|
+
$delete: {
|
|
14324
|
+
input: {
|
|
14325
|
+
param: {
|
|
14326
|
+
prePromptId: string;
|
|
14327
|
+
};
|
|
14328
|
+
};
|
|
14329
|
+
output: null;
|
|
14330
|
+
outputFormat: "body";
|
|
14331
|
+
status: 204;
|
|
14332
|
+
} | {
|
|
14333
|
+
input: {
|
|
14334
|
+
param: {
|
|
14335
|
+
prePromptId: string;
|
|
14336
|
+
};
|
|
14337
|
+
};
|
|
14338
|
+
output: {
|
|
14339
|
+
error: {
|
|
14340
|
+
type: string;
|
|
14341
|
+
requiredScope: string;
|
|
14342
|
+
};
|
|
14343
|
+
};
|
|
14344
|
+
outputFormat: "json";
|
|
14345
|
+
status: 403;
|
|
14346
|
+
} | {
|
|
14347
|
+
input: {
|
|
14348
|
+
param: {
|
|
14349
|
+
prePromptId: string;
|
|
14350
|
+
};
|
|
14351
|
+
};
|
|
14352
|
+
output: {
|
|
14353
|
+
error: {
|
|
14354
|
+
type: string;
|
|
14355
|
+
};
|
|
14356
|
+
};
|
|
14357
|
+
outputFormat: "json";
|
|
14358
|
+
status: 404;
|
|
14359
|
+
};
|
|
14360
|
+
}>;
|
|
14361
|
+
};
|
|
14362
|
+
};
|
|
14363
|
+
} & {
|
|
14364
|
+
v1: {
|
|
14365
|
+
vault: import('hono/client').ClientRequest<string, "/v1/vault", {
|
|
14366
|
+
$get: {
|
|
14367
|
+
input: {};
|
|
14368
|
+
output: {
|
|
14369
|
+
error: {
|
|
14370
|
+
type: string;
|
|
14371
|
+
};
|
|
14372
|
+
};
|
|
14373
|
+
outputFormat: "json";
|
|
14374
|
+
status: 403;
|
|
14375
|
+
} | {
|
|
14376
|
+
input: {};
|
|
14377
|
+
output: {
|
|
14378
|
+
readonly enabled: boolean;
|
|
14379
|
+
readonly secrets: readonly {
|
|
14380
|
+
name: string;
|
|
14381
|
+
kind: "api_key" | "pem";
|
|
14382
|
+
reference: string;
|
|
14383
|
+
createdAt: string;
|
|
14384
|
+
updatedAt: string;
|
|
14385
|
+
}[];
|
|
14386
|
+
};
|
|
14387
|
+
outputFormat: "json";
|
|
14388
|
+
status: import('hono/utils/http-status').ContentfulStatusCode;
|
|
14389
|
+
} | {
|
|
14390
|
+
input: {};
|
|
14391
|
+
output: {
|
|
14392
|
+
error: {
|
|
14393
|
+
readonly type: "vault_disabled" | "name_taken" | "not_found" | "unavailable" | "invalid_kind" | "invalid_input";
|
|
14394
|
+
};
|
|
14395
|
+
};
|
|
14396
|
+
outputFormat: "json";
|
|
14397
|
+
status: 400 | 404 | 409 | 503;
|
|
14398
|
+
};
|
|
14399
|
+
$post: {
|
|
14400
|
+
input: {};
|
|
14401
|
+
output: {
|
|
14402
|
+
error: {
|
|
14403
|
+
type: string;
|
|
14404
|
+
};
|
|
14405
|
+
};
|
|
14406
|
+
outputFormat: "json";
|
|
14407
|
+
status: 403;
|
|
14408
|
+
} | {
|
|
14409
|
+
input: {};
|
|
14410
|
+
output: {
|
|
14411
|
+
error: {
|
|
14412
|
+
type: string;
|
|
14413
|
+
};
|
|
14414
|
+
};
|
|
14415
|
+
outputFormat: "json";
|
|
14416
|
+
status: 400;
|
|
14417
|
+
} | {
|
|
14418
|
+
input: {};
|
|
14419
|
+
output: {
|
|
14420
|
+
reference: string;
|
|
14421
|
+
};
|
|
14422
|
+
outputFormat: "json";
|
|
14423
|
+
status: 200 | 201;
|
|
14424
|
+
} | {
|
|
14425
|
+
input: {};
|
|
14426
|
+
output: {
|
|
14427
|
+
error: {
|
|
14428
|
+
readonly type: "vault_disabled" | "name_taken" | "not_found" | "unavailable" | "invalid_kind" | "invalid_input";
|
|
14429
|
+
};
|
|
14430
|
+
};
|
|
14431
|
+
outputFormat: "json";
|
|
14432
|
+
status: 400 | 404 | 409 | 503;
|
|
14433
|
+
};
|
|
14434
|
+
}>;
|
|
14435
|
+
};
|
|
14436
|
+
} & {
|
|
14437
|
+
v1: {
|
|
14438
|
+
vault: {
|
|
14439
|
+
":name": import('hono/client').ClientRequest<string, "/v1/vault/:name", {
|
|
14440
|
+
$patch: {
|
|
14441
|
+
input: {
|
|
14442
|
+
param: {
|
|
14443
|
+
name: string;
|
|
14444
|
+
};
|
|
14445
|
+
};
|
|
14446
|
+
output: {
|
|
14447
|
+
error: {
|
|
14448
|
+
type: string;
|
|
14449
|
+
};
|
|
14450
|
+
};
|
|
14451
|
+
outputFormat: "json";
|
|
14452
|
+
status: 403;
|
|
14453
|
+
} | {
|
|
14454
|
+
input: {
|
|
14455
|
+
param: {
|
|
14456
|
+
name: string;
|
|
14457
|
+
};
|
|
14458
|
+
};
|
|
14459
|
+
output: {
|
|
14460
|
+
error: {
|
|
14461
|
+
type: string;
|
|
14462
|
+
};
|
|
14463
|
+
};
|
|
14464
|
+
outputFormat: "json";
|
|
14465
|
+
status: 400;
|
|
13201
14466
|
} | {
|
|
13202
14467
|
input: {
|
|
13203
14468
|
param: {
|
|
13204
|
-
|
|
14469
|
+
name: string;
|
|
13205
14470
|
};
|
|
13206
|
-
}
|
|
13207
|
-
|
|
13208
|
-
|
|
13209
|
-
|
|
13210
|
-
|
|
14471
|
+
};
|
|
14472
|
+
output: {
|
|
14473
|
+
readonly reference: string;
|
|
14474
|
+
};
|
|
14475
|
+
outputFormat: "json";
|
|
14476
|
+
status: import('hono/utils/http-status').ContentfulStatusCode;
|
|
14477
|
+
} | {
|
|
14478
|
+
input: {
|
|
14479
|
+
param: {
|
|
14480
|
+
name: string;
|
|
13211
14481
|
};
|
|
13212
14482
|
};
|
|
13213
14483
|
output: {
|
|
13214
14484
|
error: {
|
|
13215
|
-
type:
|
|
14485
|
+
readonly type: "vault_disabled" | "name_taken" | "not_found" | "unavailable" | "invalid_kind" | "invalid_input";
|
|
13216
14486
|
};
|
|
13217
14487
|
};
|
|
13218
14488
|
outputFormat: "json";
|
|
13219
|
-
status: 409;
|
|
14489
|
+
status: 400 | 404 | 409 | 503;
|
|
13220
14490
|
};
|
|
13221
14491
|
$delete: {
|
|
13222
14492
|
input: {
|
|
13223
14493
|
param: {
|
|
13224
|
-
|
|
14494
|
+
name: string;
|
|
13225
14495
|
};
|
|
13226
14496
|
};
|
|
13227
14497
|
output: null;
|
|
@@ -13230,13 +14500,12 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
13230
14500
|
} | {
|
|
13231
14501
|
input: {
|
|
13232
14502
|
param: {
|
|
13233
|
-
|
|
14503
|
+
name: string;
|
|
13234
14504
|
};
|
|
13235
14505
|
};
|
|
13236
14506
|
output: {
|
|
13237
14507
|
error: {
|
|
13238
14508
|
type: string;
|
|
13239
|
-
requiredScope: string;
|
|
13240
14509
|
};
|
|
13241
14510
|
};
|
|
13242
14511
|
outputFormat: "json";
|
|
@@ -13244,7 +14513,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
13244
14513
|
} | {
|
|
13245
14514
|
input: {
|
|
13246
14515
|
param: {
|
|
13247
|
-
|
|
14516
|
+
name: string;
|
|
13248
14517
|
};
|
|
13249
14518
|
};
|
|
13250
14519
|
output: {
|
|
@@ -13253,7 +14522,20 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
13253
14522
|
};
|
|
13254
14523
|
};
|
|
13255
14524
|
outputFormat: "json";
|
|
13256
|
-
status:
|
|
14525
|
+
status: 400;
|
|
14526
|
+
} | {
|
|
14527
|
+
input: {
|
|
14528
|
+
param: {
|
|
14529
|
+
name: string;
|
|
14530
|
+
};
|
|
14531
|
+
};
|
|
14532
|
+
output: {
|
|
14533
|
+
error: {
|
|
14534
|
+
readonly type: "vault_disabled" | "name_taken" | "not_found" | "unavailable" | "invalid_kind" | "invalid_input";
|
|
14535
|
+
};
|
|
14536
|
+
};
|
|
14537
|
+
outputFormat: "json";
|
|
14538
|
+
status: 400 | 404 | 409 | 503;
|
|
13257
14539
|
};
|
|
13258
14540
|
}>;
|
|
13259
14541
|
};
|
|
@@ -14623,8 +15905,8 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
14623
15905
|
}[];
|
|
14624
15906
|
actions: {
|
|
14625
15907
|
id: string;
|
|
14626
|
-
kind: "
|
|
14627
|
-
label: "
|
|
15908
|
+
kind: "disconnect" | "authorization";
|
|
15909
|
+
label: "connect" | "disconnect" | "reconnect" | "grant_admin_consent";
|
|
14628
15910
|
tone: "primary" | "destructive" | "secondary";
|
|
14629
15911
|
requiresConfirmation: boolean;
|
|
14630
15912
|
}[];
|
|
@@ -14887,6 +16169,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
14887
16169
|
readonly hasPublishToken: boolean;
|
|
14888
16170
|
readonly hasResendApiKey: boolean;
|
|
14889
16171
|
readonly hasRestToolSecret: boolean;
|
|
16172
|
+
readonly hasResendWebhookSecret: boolean;
|
|
14890
16173
|
};
|
|
14891
16174
|
readonly minted: {
|
|
14892
16175
|
readonly hs256Secret?: string | undefined;
|
|
@@ -14973,6 +16256,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
14973
16256
|
readonly hasPublishToken: boolean;
|
|
14974
16257
|
readonly hasResendApiKey: boolean;
|
|
14975
16258
|
readonly hasRestToolSecret: boolean;
|
|
16259
|
+
readonly hasResendWebhookSecret: boolean;
|
|
14976
16260
|
};
|
|
14977
16261
|
};
|
|
14978
16262
|
outputFormat: "json";
|
|
@@ -15068,6 +16352,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
15068
16352
|
readonly hasPublishToken: boolean;
|
|
15069
16353
|
readonly hasResendApiKey: boolean;
|
|
15070
16354
|
readonly hasRestToolSecret: boolean;
|
|
16355
|
+
readonly hasResendWebhookSecret: boolean;
|
|
15071
16356
|
};
|
|
15072
16357
|
};
|
|
15073
16358
|
outputFormat: "json";
|
|
@@ -15551,7 +16836,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
15551
16836
|
input: {};
|
|
15552
16837
|
output: {
|
|
15553
16838
|
error: {
|
|
15554
|
-
type:
|
|
16839
|
+
type: "invalid_query" | "unknown_dimension" | "invalid_window";
|
|
15555
16840
|
};
|
|
15556
16841
|
};
|
|
15557
16842
|
outputFormat: "json";
|
|
@@ -15567,6 +16852,8 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
15567
16852
|
readonly tasks: number;
|
|
15568
16853
|
readonly judgedTasks: number;
|
|
15569
16854
|
readonly votedTasks: number;
|
|
16855
|
+
readonly sessions: number;
|
|
16856
|
+
readonly judgedSessions: number;
|
|
15570
16857
|
};
|
|
15571
16858
|
readonly groups: readonly {
|
|
15572
16859
|
readonly group: string;
|
|
@@ -15574,6 +16861,8 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
15574
16861
|
readonly tasks: number;
|
|
15575
16862
|
readonly judgedTasks: number;
|
|
15576
16863
|
readonly votedTasks: number;
|
|
16864
|
+
readonly sessions: number;
|
|
16865
|
+
readonly judgedSessions: number;
|
|
15577
16866
|
readonly metrics: {
|
|
15578
16867
|
readonly failed: {
|
|
15579
16868
|
readonly n: number;
|
|
@@ -15599,6 +16888,12 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
15599
16888
|
readonly low: number | null;
|
|
15600
16889
|
readonly high: number | null;
|
|
15601
16890
|
};
|
|
16891
|
+
readonly goalAchieved: {
|
|
16892
|
+
readonly n: number;
|
|
16893
|
+
readonly mean: number | null;
|
|
16894
|
+
readonly low: number | null;
|
|
16895
|
+
readonly high: number | null;
|
|
16896
|
+
};
|
|
15602
16897
|
readonly dissatisfied: {
|
|
15603
16898
|
readonly n: number;
|
|
15604
16899
|
readonly mean: number | null;
|
|
@@ -15611,6 +16906,24 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
15611
16906
|
readonly low: number | null;
|
|
15612
16907
|
readonly high: number | null;
|
|
15613
16908
|
};
|
|
16909
|
+
readonly slow: {
|
|
16910
|
+
readonly n: number;
|
|
16911
|
+
readonly mean: number | null;
|
|
16912
|
+
readonly low: number | null;
|
|
16913
|
+
readonly high: number | null;
|
|
16914
|
+
};
|
|
16915
|
+
readonly notAchieved: {
|
|
16916
|
+
readonly n: number;
|
|
16917
|
+
readonly mean: number | null;
|
|
16918
|
+
readonly low: number | null;
|
|
16919
|
+
readonly high: number | null;
|
|
16920
|
+
};
|
|
16921
|
+
readonly endsAsking: {
|
|
16922
|
+
readonly n: number;
|
|
16923
|
+
readonly mean: number | null;
|
|
16924
|
+
readonly low: number | null;
|
|
16925
|
+
readonly high: number | null;
|
|
16926
|
+
};
|
|
15614
16927
|
};
|
|
15615
16928
|
readonly versusControl?: {
|
|
15616
16929
|
readonly failed: {
|
|
@@ -15641,6 +16954,13 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
15641
16954
|
readonly p: number | null;
|
|
15642
16955
|
readonly df: number | null;
|
|
15643
16956
|
};
|
|
16957
|
+
readonly goalAchieved: {
|
|
16958
|
+
readonly diff: number | null;
|
|
16959
|
+
readonly low: number | null;
|
|
16960
|
+
readonly high: number | null;
|
|
16961
|
+
readonly p: number | null;
|
|
16962
|
+
readonly df: number | null;
|
|
16963
|
+
};
|
|
15644
16964
|
readonly dissatisfied: {
|
|
15645
16965
|
readonly diff: number | null;
|
|
15646
16966
|
readonly low: number | null;
|
|
@@ -15655,6 +16975,27 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
15655
16975
|
readonly p: number | null;
|
|
15656
16976
|
readonly df: number | null;
|
|
15657
16977
|
};
|
|
16978
|
+
readonly slow: {
|
|
16979
|
+
readonly diff: number | null;
|
|
16980
|
+
readonly low: number | null;
|
|
16981
|
+
readonly high: number | null;
|
|
16982
|
+
readonly p: number | null;
|
|
16983
|
+
readonly df: number | null;
|
|
16984
|
+
};
|
|
16985
|
+
readonly notAchieved: {
|
|
16986
|
+
readonly diff: number | null;
|
|
16987
|
+
readonly low: number | null;
|
|
16988
|
+
readonly high: number | null;
|
|
16989
|
+
readonly p: number | null;
|
|
16990
|
+
readonly df: number | null;
|
|
16991
|
+
};
|
|
16992
|
+
readonly endsAsking: {
|
|
16993
|
+
readonly diff: number | null;
|
|
16994
|
+
readonly low: number | null;
|
|
16995
|
+
readonly high: number | null;
|
|
16996
|
+
readonly p: number | null;
|
|
16997
|
+
readonly df: number | null;
|
|
16998
|
+
};
|
|
15658
16999
|
} | undefined;
|
|
15659
17000
|
readonly worstTraces: readonly {
|
|
15660
17001
|
readonly taskId: string;
|
|
@@ -15682,4 +17023,260 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
15682
17023
|
};
|
|
15683
17024
|
};
|
|
15684
17025
|
};
|
|
17026
|
+
} & {
|
|
17027
|
+
v1: {
|
|
17028
|
+
admin: {
|
|
17029
|
+
signals: {
|
|
17030
|
+
regression: import('hono/client').ClientRequest<string, "/v1/admin/signals/regression", {
|
|
17031
|
+
$get: {
|
|
17032
|
+
input: {};
|
|
17033
|
+
output: {
|
|
17034
|
+
readonly dimension: string;
|
|
17035
|
+
readonly since: string;
|
|
17036
|
+
readonly until: string;
|
|
17037
|
+
readonly verdict: import('../../../../apps/belong-cloud/src/features/signals/signal-regression').Verdict;
|
|
17038
|
+
readonly reason: string;
|
|
17039
|
+
readonly drivenBy: readonly string[];
|
|
17040
|
+
readonly primary: {
|
|
17041
|
+
readonly baseline: {
|
|
17042
|
+
readonly n: number;
|
|
17043
|
+
readonly mean: number | null;
|
|
17044
|
+
readonly low: number | null;
|
|
17045
|
+
readonly high: number | null;
|
|
17046
|
+
};
|
|
17047
|
+
readonly candidate: {
|
|
17048
|
+
readonly n: number;
|
|
17049
|
+
readonly mean: number | null;
|
|
17050
|
+
readonly low: number | null;
|
|
17051
|
+
readonly high: number | null;
|
|
17052
|
+
};
|
|
17053
|
+
readonly diff: {
|
|
17054
|
+
readonly diff: number | null;
|
|
17055
|
+
readonly low: number | null;
|
|
17056
|
+
readonly high: number | null;
|
|
17057
|
+
readonly p: number | null;
|
|
17058
|
+
readonly df: number | null;
|
|
17059
|
+
};
|
|
17060
|
+
readonly metric: "goalAchieved";
|
|
17061
|
+
readonly margin: number;
|
|
17062
|
+
};
|
|
17063
|
+
readonly usersNeededPerArm: number | null;
|
|
17064
|
+
readonly baseline: {
|
|
17065
|
+
readonly group: string;
|
|
17066
|
+
readonly users: number;
|
|
17067
|
+
readonly sessions: number;
|
|
17068
|
+
readonly judgedSessions: number;
|
|
17069
|
+
readonly tasks: number;
|
|
17070
|
+
};
|
|
17071
|
+
readonly candidate: {
|
|
17072
|
+
readonly group: string;
|
|
17073
|
+
readonly users: number;
|
|
17074
|
+
readonly sessions: number;
|
|
17075
|
+
readonly judgedSessions: number;
|
|
17076
|
+
readonly tasks: number;
|
|
17077
|
+
};
|
|
17078
|
+
readonly sampleRatio?: {
|
|
17079
|
+
readonly allocation: string;
|
|
17080
|
+
readonly users: number;
|
|
17081
|
+
readonly chiSquare: number;
|
|
17082
|
+
readonly p: number;
|
|
17083
|
+
} | null | undefined;
|
|
17084
|
+
readonly guardrails: {
|
|
17085
|
+
readonly failed: {
|
|
17086
|
+
readonly baseline: {
|
|
17087
|
+
readonly n: number;
|
|
17088
|
+
readonly mean: number | null;
|
|
17089
|
+
readonly low: number | null;
|
|
17090
|
+
readonly high: number | null;
|
|
17091
|
+
};
|
|
17092
|
+
readonly candidate: {
|
|
17093
|
+
readonly n: number;
|
|
17094
|
+
readonly mean: number | null;
|
|
17095
|
+
readonly low: number | null;
|
|
17096
|
+
readonly high: number | null;
|
|
17097
|
+
};
|
|
17098
|
+
readonly diff: {
|
|
17099
|
+
readonly diff: number | null;
|
|
17100
|
+
readonly low: number | null;
|
|
17101
|
+
readonly high: number | null;
|
|
17102
|
+
readonly p: number | null;
|
|
17103
|
+
readonly df: number | null;
|
|
17104
|
+
};
|
|
17105
|
+
readonly confidence: number;
|
|
17106
|
+
readonly worse: boolean;
|
|
17107
|
+
readonly insufficient: boolean;
|
|
17108
|
+
};
|
|
17109
|
+
readonly satisfaction: {
|
|
17110
|
+
readonly baseline: {
|
|
17111
|
+
readonly n: number;
|
|
17112
|
+
readonly mean: number | null;
|
|
17113
|
+
readonly low: number | null;
|
|
17114
|
+
readonly high: number | null;
|
|
17115
|
+
};
|
|
17116
|
+
readonly candidate: {
|
|
17117
|
+
readonly n: number;
|
|
17118
|
+
readonly mean: number | null;
|
|
17119
|
+
readonly low: number | null;
|
|
17120
|
+
readonly high: number | null;
|
|
17121
|
+
};
|
|
17122
|
+
readonly diff: {
|
|
17123
|
+
readonly diff: number | null;
|
|
17124
|
+
readonly low: number | null;
|
|
17125
|
+
readonly high: number | null;
|
|
17126
|
+
readonly p: number | null;
|
|
17127
|
+
readonly df: number | null;
|
|
17128
|
+
};
|
|
17129
|
+
readonly confidence: number;
|
|
17130
|
+
readonly worse: boolean;
|
|
17131
|
+
readonly insufficient: boolean;
|
|
17132
|
+
};
|
|
17133
|
+
readonly thumbsDown: {
|
|
17134
|
+
readonly baseline: {
|
|
17135
|
+
readonly n: number;
|
|
17136
|
+
readonly mean: number | null;
|
|
17137
|
+
readonly low: number | null;
|
|
17138
|
+
readonly high: number | null;
|
|
17139
|
+
};
|
|
17140
|
+
readonly candidate: {
|
|
17141
|
+
readonly n: number;
|
|
17142
|
+
readonly mean: number | null;
|
|
17143
|
+
readonly low: number | null;
|
|
17144
|
+
readonly high: number | null;
|
|
17145
|
+
};
|
|
17146
|
+
readonly diff: {
|
|
17147
|
+
readonly diff: number | null;
|
|
17148
|
+
readonly low: number | null;
|
|
17149
|
+
readonly high: number | null;
|
|
17150
|
+
readonly p: number | null;
|
|
17151
|
+
readonly df: number | null;
|
|
17152
|
+
};
|
|
17153
|
+
readonly confidence: number;
|
|
17154
|
+
readonly worse: boolean;
|
|
17155
|
+
readonly insufficient: boolean;
|
|
17156
|
+
};
|
|
17157
|
+
readonly notAchieved: {
|
|
17158
|
+
readonly baseline: {
|
|
17159
|
+
readonly n: number;
|
|
17160
|
+
readonly mean: number | null;
|
|
17161
|
+
readonly low: number | null;
|
|
17162
|
+
readonly high: number | null;
|
|
17163
|
+
};
|
|
17164
|
+
readonly candidate: {
|
|
17165
|
+
readonly n: number;
|
|
17166
|
+
readonly mean: number | null;
|
|
17167
|
+
readonly low: number | null;
|
|
17168
|
+
readonly high: number | null;
|
|
17169
|
+
};
|
|
17170
|
+
readonly diff: {
|
|
17171
|
+
readonly diff: number | null;
|
|
17172
|
+
readonly low: number | null;
|
|
17173
|
+
readonly high: number | null;
|
|
17174
|
+
readonly p: number | null;
|
|
17175
|
+
readonly df: number | null;
|
|
17176
|
+
};
|
|
17177
|
+
readonly confidence: number;
|
|
17178
|
+
readonly worse: boolean;
|
|
17179
|
+
readonly insufficient: boolean;
|
|
17180
|
+
};
|
|
17181
|
+
readonly endsAsking: {
|
|
17182
|
+
readonly baseline: {
|
|
17183
|
+
readonly n: number;
|
|
17184
|
+
readonly mean: number | null;
|
|
17185
|
+
readonly low: number | null;
|
|
17186
|
+
readonly high: number | null;
|
|
17187
|
+
};
|
|
17188
|
+
readonly candidate: {
|
|
17189
|
+
readonly n: number;
|
|
17190
|
+
readonly mean: number | null;
|
|
17191
|
+
readonly low: number | null;
|
|
17192
|
+
readonly high: number | null;
|
|
17193
|
+
};
|
|
17194
|
+
readonly diff: {
|
|
17195
|
+
readonly diff: number | null;
|
|
17196
|
+
readonly low: number | null;
|
|
17197
|
+
readonly high: number | null;
|
|
17198
|
+
readonly p: number | null;
|
|
17199
|
+
readonly df: number | null;
|
|
17200
|
+
};
|
|
17201
|
+
readonly confidence: number;
|
|
17202
|
+
readonly worse: boolean;
|
|
17203
|
+
readonly insufficient: boolean;
|
|
17204
|
+
};
|
|
17205
|
+
};
|
|
17206
|
+
readonly secondary: {
|
|
17207
|
+
readonly cancelled: {
|
|
17208
|
+
readonly baseline: {
|
|
17209
|
+
readonly n: number;
|
|
17210
|
+
readonly mean: number | null;
|
|
17211
|
+
readonly low: number | null;
|
|
17212
|
+
readonly high: number | null;
|
|
17213
|
+
};
|
|
17214
|
+
readonly candidate: {
|
|
17215
|
+
readonly n: number;
|
|
17216
|
+
readonly mean: number | null;
|
|
17217
|
+
readonly low: number | null;
|
|
17218
|
+
readonly high: number | null;
|
|
17219
|
+
};
|
|
17220
|
+
readonly diff: {
|
|
17221
|
+
readonly diff: number | null;
|
|
17222
|
+
readonly low: number | null;
|
|
17223
|
+
readonly high: number | null;
|
|
17224
|
+
readonly p: number | null;
|
|
17225
|
+
readonly df: number | null;
|
|
17226
|
+
};
|
|
17227
|
+
};
|
|
17228
|
+
readonly slow: {
|
|
17229
|
+
readonly baseline: {
|
|
17230
|
+
readonly n: number;
|
|
17231
|
+
readonly mean: number | null;
|
|
17232
|
+
readonly low: number | null;
|
|
17233
|
+
readonly high: number | null;
|
|
17234
|
+
};
|
|
17235
|
+
readonly candidate: {
|
|
17236
|
+
readonly n: number;
|
|
17237
|
+
readonly mean: number | null;
|
|
17238
|
+
readonly low: number | null;
|
|
17239
|
+
readonly high: number | null;
|
|
17240
|
+
};
|
|
17241
|
+
readonly diff: {
|
|
17242
|
+
readonly diff: number | null;
|
|
17243
|
+
readonly low: number | null;
|
|
17244
|
+
readonly high: number | null;
|
|
17245
|
+
readonly p: number | null;
|
|
17246
|
+
readonly df: number | null;
|
|
17247
|
+
};
|
|
17248
|
+
};
|
|
17249
|
+
};
|
|
17250
|
+
readonly worstSessions: {
|
|
17251
|
+
readonly baseline: readonly {
|
|
17252
|
+
readonly sessionId: string;
|
|
17253
|
+
readonly traceId: string;
|
|
17254
|
+
readonly goalAchieved: number;
|
|
17255
|
+
readonly ending: string | null;
|
|
17256
|
+
}[];
|
|
17257
|
+
readonly candidate: readonly {
|
|
17258
|
+
readonly sessionId: string;
|
|
17259
|
+
readonly traceId: string;
|
|
17260
|
+
readonly goalAchieved: number;
|
|
17261
|
+
readonly ending: string | null;
|
|
17262
|
+
}[];
|
|
17263
|
+
};
|
|
17264
|
+
readonly caveat: string | null;
|
|
17265
|
+
};
|
|
17266
|
+
outputFormat: "json";
|
|
17267
|
+
status: 200;
|
|
17268
|
+
} | {
|
|
17269
|
+
input: {};
|
|
17270
|
+
output: {
|
|
17271
|
+
error: {
|
|
17272
|
+
type: string;
|
|
17273
|
+
};
|
|
17274
|
+
};
|
|
17275
|
+
outputFormat: "json";
|
|
17276
|
+
status: 422;
|
|
17277
|
+
};
|
|
17278
|
+
}>;
|
|
17279
|
+
};
|
|
17280
|
+
};
|
|
17281
|
+
};
|
|
15685
17282
|
};
|