@tai42/api-client 1.0.1 → 1.2.0
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/client.d.ts +282 -42
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +63 -2
- package/dist/client.js.map +1 -1
- package/dist/fleet-report.d.ts +12 -12
- package/dist/fleet-report.d.ts.map +1 -1
- package/dist/fleet-report.js +2 -2
- package/dist/fleet-report.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +1354 -351
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +273 -31
- package/dist/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +120 -2
- package/src/fleet-report.ts +14 -14
- package/src/index.ts +18 -4
- package/src/schemas.ts +324 -34
package/dist/schemas.d.ts
CHANGED
|
@@ -896,125 +896,252 @@ export declare const backendInfo: z.ZodObject<{
|
|
|
896
896
|
export type BackendInfo = z.infer<typeof backendInfo>;
|
|
897
897
|
/** The two worker kinds that join the bus: an ASGI `serve` worker or a
|
|
898
898
|
* `backend` runtime process. A drift throws `ApiSchemaError`. */
|
|
899
|
-
export declare const
|
|
900
|
-
export type
|
|
899
|
+
export declare const workerKind: z.ZodEnum<["serve", "backend"]>;
|
|
900
|
+
export type WorkerKind = z.infer<typeof workerKind>;
|
|
901
|
+
/** The lifecycle state a worker advertises in its presence value: `ready` once its
|
|
902
|
+
* resync has converged, `resyncing` while a boot/reconnect resync runs, `recycling`
|
|
903
|
+
* once it has begun a graceful self-exit. A drift throws `ApiSchemaError`. */
|
|
904
|
+
export declare const workerState: z.ZodEnum<["ready", "resyncing", "recycling"]>;
|
|
905
|
+
export type WorkerState = z.infer<typeof workerState>;
|
|
906
|
+
/** The last op a worker applied, stamped onto its presence row after the terminal
|
|
907
|
+
* reply. `outcome` is the free op-outcome string; `at` is the ISO instant it landed. */
|
|
908
|
+
export declare const workerLastOp: z.ZodObject<{
|
|
909
|
+
op: z.ZodString;
|
|
910
|
+
outcome: z.ZodString;
|
|
911
|
+
at: z.ZodString;
|
|
912
|
+
}, "strip", z.ZodTypeAny, {
|
|
913
|
+
at: string;
|
|
914
|
+
op: string;
|
|
915
|
+
outcome: string;
|
|
916
|
+
}, {
|
|
917
|
+
at: string;
|
|
918
|
+
op: string;
|
|
919
|
+
outcome: string;
|
|
920
|
+
}>;
|
|
921
|
+
export type WorkerLastOp = z.infer<typeof workerLastOp>;
|
|
901
922
|
/**
|
|
902
|
-
* One live worker on the bus — a presence-census
|
|
903
|
-
* `{kind}-{
|
|
904
|
-
*
|
|
923
|
+
* One live worker on the bus — a presence-census row. `name` is the stable slot
|
|
924
|
+
* (`{kind}-{n}`) that doubles as a reload target; `generation` is the monotonic life
|
|
925
|
+
* counter minted with the worker's claim; `kind` tells the two worker kinds apart;
|
|
926
|
+
* `pid` is the process id. `joined_at`/`beat_at` are ISO instants (first-seen and last
|
|
927
|
+
* heartbeat) for the cosmetic seen-since display; `state` is the advertised lifecycle
|
|
928
|
+
* state; `stale` is SERVER-computed from the row's remaining presence TTL against the
|
|
929
|
+
* bus cadence (a quiet row past the freshness bound — reconnecting or dead) and is the
|
|
930
|
+
* only freshness signal a client reads, never a client-side threshold; `last_op` is the
|
|
931
|
+
* worker's last applied op, or `null` before it has applied one.
|
|
905
932
|
*/
|
|
906
|
-
export declare const
|
|
907
|
-
|
|
933
|
+
export declare const fleetWorker: z.ZodObject<{
|
|
934
|
+
name: z.ZodString;
|
|
908
935
|
kind: z.ZodEnum<["serve", "backend"]>;
|
|
909
936
|
pid: z.ZodNumber;
|
|
937
|
+
generation: z.ZodNumber;
|
|
938
|
+
joined_at: z.ZodString;
|
|
939
|
+
beat_at: z.ZodString;
|
|
940
|
+
state: z.ZodEnum<["ready", "resyncing", "recycling"]>;
|
|
941
|
+
stale: z.ZodBoolean;
|
|
942
|
+
last_op: z.ZodNullable<z.ZodObject<{
|
|
943
|
+
op: z.ZodString;
|
|
944
|
+
outcome: z.ZodString;
|
|
945
|
+
at: z.ZodString;
|
|
946
|
+
}, "strip", z.ZodTypeAny, {
|
|
947
|
+
at: string;
|
|
948
|
+
op: string;
|
|
949
|
+
outcome: string;
|
|
950
|
+
}, {
|
|
951
|
+
at: string;
|
|
952
|
+
op: string;
|
|
953
|
+
outcome: string;
|
|
954
|
+
}>>;
|
|
910
955
|
}, "strip", z.ZodTypeAny, {
|
|
956
|
+
name: string;
|
|
911
957
|
kind: "backend" | "serve";
|
|
912
|
-
origin: string;
|
|
913
958
|
pid: number;
|
|
959
|
+
generation: number;
|
|
960
|
+
joined_at: string;
|
|
961
|
+
beat_at: string;
|
|
962
|
+
state: "ready" | "resyncing" | "recycling";
|
|
963
|
+
stale: boolean;
|
|
964
|
+
last_op: {
|
|
965
|
+
at: string;
|
|
966
|
+
op: string;
|
|
967
|
+
outcome: string;
|
|
968
|
+
} | null;
|
|
914
969
|
}, {
|
|
970
|
+
name: string;
|
|
915
971
|
kind: "backend" | "serve";
|
|
916
|
-
origin: string;
|
|
917
972
|
pid: number;
|
|
973
|
+
generation: number;
|
|
974
|
+
joined_at: string;
|
|
975
|
+
beat_at: string;
|
|
976
|
+
state: "ready" | "resyncing" | "recycling";
|
|
977
|
+
stale: boolean;
|
|
978
|
+
last_op: {
|
|
979
|
+
at: string;
|
|
980
|
+
op: string;
|
|
981
|
+
outcome: string;
|
|
982
|
+
} | null;
|
|
918
983
|
}>;
|
|
919
|
-
export type
|
|
984
|
+
export type FleetWorker = z.infer<typeof fleetWorker>;
|
|
920
985
|
/**
|
|
921
986
|
* `GET /api/fleet/workers` — the live worker fleet from the bus presence census.
|
|
922
|
-
* The census lists ALL subscribed
|
|
987
|
+
* The census lists ALL subscribed workers (ASGI `serve` workers and backend-runtime
|
|
923
988
|
* processes alike), not only backend workers. A census read that fails surfaces as a
|
|
924
989
|
* loud 500, never a fabricated empty fleet.
|
|
925
990
|
*/
|
|
926
991
|
export declare const fleetWorkers: z.ZodObject<{
|
|
927
992
|
workers: z.ZodArray<z.ZodObject<{
|
|
928
|
-
|
|
993
|
+
name: z.ZodString;
|
|
929
994
|
kind: z.ZodEnum<["serve", "backend"]>;
|
|
930
995
|
pid: z.ZodNumber;
|
|
996
|
+
generation: z.ZodNumber;
|
|
997
|
+
joined_at: z.ZodString;
|
|
998
|
+
beat_at: z.ZodString;
|
|
999
|
+
state: z.ZodEnum<["ready", "resyncing", "recycling"]>;
|
|
1000
|
+
stale: z.ZodBoolean;
|
|
1001
|
+
last_op: z.ZodNullable<z.ZodObject<{
|
|
1002
|
+
op: z.ZodString;
|
|
1003
|
+
outcome: z.ZodString;
|
|
1004
|
+
at: z.ZodString;
|
|
1005
|
+
}, "strip", z.ZodTypeAny, {
|
|
1006
|
+
at: string;
|
|
1007
|
+
op: string;
|
|
1008
|
+
outcome: string;
|
|
1009
|
+
}, {
|
|
1010
|
+
at: string;
|
|
1011
|
+
op: string;
|
|
1012
|
+
outcome: string;
|
|
1013
|
+
}>>;
|
|
931
1014
|
}, "strip", z.ZodTypeAny, {
|
|
1015
|
+
name: string;
|
|
932
1016
|
kind: "backend" | "serve";
|
|
933
|
-
origin: string;
|
|
934
1017
|
pid: number;
|
|
1018
|
+
generation: number;
|
|
1019
|
+
joined_at: string;
|
|
1020
|
+
beat_at: string;
|
|
1021
|
+
state: "ready" | "resyncing" | "recycling";
|
|
1022
|
+
stale: boolean;
|
|
1023
|
+
last_op: {
|
|
1024
|
+
at: string;
|
|
1025
|
+
op: string;
|
|
1026
|
+
outcome: string;
|
|
1027
|
+
} | null;
|
|
935
1028
|
}, {
|
|
1029
|
+
name: string;
|
|
936
1030
|
kind: "backend" | "serve";
|
|
937
|
-
origin: string;
|
|
938
1031
|
pid: number;
|
|
1032
|
+
generation: number;
|
|
1033
|
+
joined_at: string;
|
|
1034
|
+
beat_at: string;
|
|
1035
|
+
state: "ready" | "resyncing" | "recycling";
|
|
1036
|
+
stale: boolean;
|
|
1037
|
+
last_op: {
|
|
1038
|
+
at: string;
|
|
1039
|
+
op: string;
|
|
1040
|
+
outcome: string;
|
|
1041
|
+
} | null;
|
|
939
1042
|
}>, "many">;
|
|
940
1043
|
}, "strip", z.ZodTypeAny, {
|
|
941
1044
|
workers: {
|
|
1045
|
+
name: string;
|
|
942
1046
|
kind: "backend" | "serve";
|
|
943
|
-
origin: string;
|
|
944
1047
|
pid: number;
|
|
1048
|
+
generation: number;
|
|
1049
|
+
joined_at: string;
|
|
1050
|
+
beat_at: string;
|
|
1051
|
+
state: "ready" | "resyncing" | "recycling";
|
|
1052
|
+
stale: boolean;
|
|
1053
|
+
last_op: {
|
|
1054
|
+
at: string;
|
|
1055
|
+
op: string;
|
|
1056
|
+
outcome: string;
|
|
1057
|
+
} | null;
|
|
945
1058
|
}[];
|
|
946
1059
|
}, {
|
|
947
1060
|
workers: {
|
|
1061
|
+
name: string;
|
|
948
1062
|
kind: "backend" | "serve";
|
|
949
|
-
origin: string;
|
|
950
1063
|
pid: number;
|
|
1064
|
+
generation: number;
|
|
1065
|
+
joined_at: string;
|
|
1066
|
+
beat_at: string;
|
|
1067
|
+
state: "ready" | "resyncing" | "recycling";
|
|
1068
|
+
stale: boolean;
|
|
1069
|
+
last_op: {
|
|
1070
|
+
at: string;
|
|
1071
|
+
op: string;
|
|
1072
|
+
outcome: string;
|
|
1073
|
+
} | null;
|
|
951
1074
|
}[];
|
|
952
1075
|
}>;
|
|
953
1076
|
export type FleetWorkers = z.infer<typeof fleetWorkers>;
|
|
954
1077
|
/**
|
|
955
|
-
* One
|
|
956
|
-
*
|
|
957
|
-
*
|
|
1078
|
+
* One worker's outcome within a fleet broadcast. `applied`/`failed` are terminal wire
|
|
1079
|
+
* replies from a subscriber; `missing`/`departed`/`timed_out` are publisher-computed
|
|
1080
|
+
* from the presence census (a silent worker never sends them); `resyncing`/`recycling`/
|
|
1081
|
+
* `stale` are the gap outcomes for a row that failed the ready+fresh gate — reported as
|
|
1082
|
+
* its own actual condition rather than dropped (`resyncing` converges on its resync,
|
|
1083
|
+
* `recycling` is departing, `stale` is a quiet row past the freshness bound carrying no
|
|
1084
|
+
* convergence promise).
|
|
958
1085
|
*/
|
|
959
|
-
export declare const fleetOutcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out"]>;
|
|
1086
|
+
export declare const fleetOutcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out", "resyncing", "recycling", "stale"]>;
|
|
960
1087
|
export type FleetOutcome = z.infer<typeof fleetOutcome>;
|
|
961
1088
|
/**
|
|
962
|
-
* One
|
|
1089
|
+
* One worker's result within a {@link fleetResult}. `payload` carries query-op data
|
|
963
1090
|
* (opaque to the UI); `error` carries a failed apply's message; `detail` carries the
|
|
964
|
-
* publisher's report text for a computed `missing`/`departed`/`timed_out
|
|
965
|
-
* throws `ApiSchemaError`.
|
|
1091
|
+
* publisher's report text for a computed gap outcome (`missing`/`departed`/`timed_out`/
|
|
1092
|
+
* `resyncing`/`recycling`/`stale`). A drift throws `ApiSchemaError`.
|
|
966
1093
|
*/
|
|
967
|
-
export declare const
|
|
968
|
-
|
|
969
|
-
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out"]>;
|
|
1094
|
+
export declare const fleetWorkerResult: z.ZodObject<{
|
|
1095
|
+
name: z.ZodString;
|
|
1096
|
+
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out", "resyncing", "recycling", "stale"]>;
|
|
970
1097
|
payload: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
971
1098
|
error: z.ZodNullable<z.ZodString>;
|
|
972
1099
|
detail: z.ZodNullable<z.ZodString>;
|
|
973
1100
|
}, "strip", z.ZodTypeAny, {
|
|
974
1101
|
error: string | null;
|
|
975
|
-
|
|
976
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1102
|
+
name: string;
|
|
1103
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
977
1104
|
detail: string | null;
|
|
978
1105
|
payload?: unknown;
|
|
979
1106
|
}, {
|
|
980
1107
|
error: string | null;
|
|
981
|
-
|
|
982
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1108
|
+
name: string;
|
|
1109
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
983
1110
|
detail: string | null;
|
|
984
1111
|
payload?: unknown;
|
|
985
1112
|
}>;
|
|
986
|
-
export type
|
|
1113
|
+
export type FleetWorkerResult = z.infer<typeof fleetWorkerResult>;
|
|
987
1114
|
/**
|
|
988
|
-
* The awaited per-
|
|
1115
|
+
* The awaited per-worker report of one fleet broadcast. Two honest shapes ride the
|
|
989
1116
|
* same schema. Reachable (`reachable: true`): `results` holds one entry per expected
|
|
990
|
-
*
|
|
991
|
-
* visible `failed`/`missing`/`departed`/`timed_out
|
|
992
|
-
* worker. Bus-unreachable (`reachable: false`): the
|
|
993
|
-
*
|
|
994
|
-
* bare body of `POST /api/fleet/reload-config` and the single-MCP
|
|
995
|
-
* the body the mode-wrapped {@link fleetReportFanout} carries under its
|
|
996
|
-
* `unreachable` modes.
|
|
1117
|
+
* worker (the serving worker's own entry included) plus the gap rows, so an unconfirmed
|
|
1118
|
+
* sibling is a visible `failed`/`missing`/`departed`/`timed_out`/`resyncing`/`recycling`/
|
|
1119
|
+
* `stale` entry, never a silent stale worker. Bus-unreachable (`reachable: false`): the
|
|
1120
|
+
* transport failed before any worker could reply, so `results` is empty and only `error`
|
|
1121
|
+
* is carried. This is the bare body of `POST /api/fleet/reload-config` and the single-MCP
|
|
1122
|
+
* reload; it is also the body the mode-wrapped {@link fleetReportFanout} carries under its
|
|
1123
|
+
* `fleet` / `unreachable` modes.
|
|
997
1124
|
*/
|
|
998
1125
|
export declare const fleetResult: z.ZodObject<{
|
|
999
1126
|
op: z.ZodString;
|
|
1000
1127
|
reachable: z.ZodBoolean;
|
|
1001
1128
|
local_only: z.ZodBoolean;
|
|
1002
1129
|
results: z.ZodArray<z.ZodObject<{
|
|
1003
|
-
|
|
1004
|
-
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out"]>;
|
|
1130
|
+
name: z.ZodString;
|
|
1131
|
+
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out", "resyncing", "recycling", "stale"]>;
|
|
1005
1132
|
payload: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
1006
1133
|
error: z.ZodNullable<z.ZodString>;
|
|
1007
1134
|
detail: z.ZodNullable<z.ZodString>;
|
|
1008
1135
|
}, "strip", z.ZodTypeAny, {
|
|
1009
1136
|
error: string | null;
|
|
1010
|
-
|
|
1011
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1137
|
+
name: string;
|
|
1138
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1012
1139
|
detail: string | null;
|
|
1013
1140
|
payload?: unknown;
|
|
1014
1141
|
}, {
|
|
1015
1142
|
error: string | null;
|
|
1016
|
-
|
|
1017
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1143
|
+
name: string;
|
|
1144
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1018
1145
|
detail: string | null;
|
|
1019
1146
|
payload?: unknown;
|
|
1020
1147
|
}>, "many">;
|
|
@@ -1026,8 +1153,8 @@ export declare const fleetResult: z.ZodObject<{
|
|
|
1026
1153
|
local_only: boolean;
|
|
1027
1154
|
results: {
|
|
1028
1155
|
error: string | null;
|
|
1029
|
-
|
|
1030
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1156
|
+
name: string;
|
|
1157
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1031
1158
|
detail: string | null;
|
|
1032
1159
|
payload?: unknown;
|
|
1033
1160
|
}[];
|
|
@@ -1038,17 +1165,17 @@ export declare const fleetResult: z.ZodObject<{
|
|
|
1038
1165
|
local_only: boolean;
|
|
1039
1166
|
results: {
|
|
1040
1167
|
error: string | null;
|
|
1041
|
-
|
|
1042
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1168
|
+
name: string;
|
|
1169
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1043
1170
|
detail: string | null;
|
|
1044
1171
|
payload?: unknown;
|
|
1045
1172
|
}[];
|
|
1046
1173
|
}>;
|
|
1047
1174
|
export type FleetResult = z.infer<typeof fleetResult>;
|
|
1048
1175
|
/**
|
|
1049
|
-
* `POST /api/fleet/reload-config` — soft-restart the fleet and report per-
|
|
1176
|
+
* `POST /api/fleet/reload-config` — soft-restart the fleet and report per-worker. The
|
|
1050
1177
|
* serving worker applies its own reload first, then broadcasts; the returned report
|
|
1051
|
-
* names every
|
|
1178
|
+
* names every worker's outcome. A failed local apply does not abort the broadcast, so
|
|
1052
1179
|
* the report is embedded even on the convergence-failure path.
|
|
1053
1180
|
*/
|
|
1054
1181
|
export declare const fleetReloadResult: z.ZodObject<{
|
|
@@ -1056,21 +1183,21 @@ export declare const fleetReloadResult: z.ZodObject<{
|
|
|
1056
1183
|
reachable: z.ZodBoolean;
|
|
1057
1184
|
local_only: z.ZodBoolean;
|
|
1058
1185
|
results: z.ZodArray<z.ZodObject<{
|
|
1059
|
-
|
|
1060
|
-
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out"]>;
|
|
1186
|
+
name: z.ZodString;
|
|
1187
|
+
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out", "resyncing", "recycling", "stale"]>;
|
|
1061
1188
|
payload: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
1062
1189
|
error: z.ZodNullable<z.ZodString>;
|
|
1063
1190
|
detail: z.ZodNullable<z.ZodString>;
|
|
1064
1191
|
}, "strip", z.ZodTypeAny, {
|
|
1065
1192
|
error: string | null;
|
|
1066
|
-
|
|
1067
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1193
|
+
name: string;
|
|
1194
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1068
1195
|
detail: string | null;
|
|
1069
1196
|
payload?: unknown;
|
|
1070
1197
|
}, {
|
|
1071
1198
|
error: string | null;
|
|
1072
|
-
|
|
1073
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1199
|
+
name: string;
|
|
1200
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1074
1201
|
detail: string | null;
|
|
1075
1202
|
payload?: unknown;
|
|
1076
1203
|
}>, "many">;
|
|
@@ -1082,8 +1209,8 @@ export declare const fleetReloadResult: z.ZodObject<{
|
|
|
1082
1209
|
local_only: boolean;
|
|
1083
1210
|
results: {
|
|
1084
1211
|
error: string | null;
|
|
1085
|
-
|
|
1086
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1212
|
+
name: string;
|
|
1213
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1087
1214
|
detail: string | null;
|
|
1088
1215
|
payload?: unknown;
|
|
1089
1216
|
}[];
|
|
@@ -1094,8 +1221,8 @@ export declare const fleetReloadResult: z.ZodObject<{
|
|
|
1094
1221
|
local_only: boolean;
|
|
1095
1222
|
results: {
|
|
1096
1223
|
error: string | null;
|
|
1097
|
-
|
|
1098
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1224
|
+
name: string;
|
|
1225
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1099
1226
|
detail: string | null;
|
|
1100
1227
|
payload?: unknown;
|
|
1101
1228
|
}[];
|
|
@@ -1109,7 +1236,7 @@ export type FleetReloadResult = z.infer<typeof fleetReloadResult>;
|
|
|
1109
1236
|
* - `fleet` — a reachable multi-worker broadcast; carries the full {@link
|
|
1110
1237
|
* fleetResult} so an unconfirmed sibling is visible.
|
|
1111
1238
|
* - `unreachable` — the bus itself could not be reached; carries the
|
|
1112
|
-
* bus-unreachable {@link fleetResult} (no
|
|
1239
|
+
* bus-unreachable {@link fleetResult} (no worker list, only `error`).
|
|
1113
1240
|
*
|
|
1114
1241
|
* Every mutation whose response embeds this parses it EXPLICITLY: zod's default
|
|
1115
1242
|
* unknown-key stripping would otherwise silently drop the field, hiding a failed
|
|
@@ -1129,21 +1256,21 @@ export declare const fleetReportFanout: z.ZodDiscriminatedUnion<"mode", [z.ZodOb
|
|
|
1129
1256
|
reachable: z.ZodBoolean;
|
|
1130
1257
|
local_only: z.ZodBoolean;
|
|
1131
1258
|
results: z.ZodArray<z.ZodObject<{
|
|
1132
|
-
|
|
1133
|
-
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out"]>;
|
|
1259
|
+
name: z.ZodString;
|
|
1260
|
+
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out", "resyncing", "recycling", "stale"]>;
|
|
1134
1261
|
payload: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
1135
1262
|
error: z.ZodNullable<z.ZodString>;
|
|
1136
1263
|
detail: z.ZodNullable<z.ZodString>;
|
|
1137
1264
|
}, "strip", z.ZodTypeAny, {
|
|
1138
1265
|
error: string | null;
|
|
1139
|
-
|
|
1140
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1266
|
+
name: string;
|
|
1267
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1141
1268
|
detail: string | null;
|
|
1142
1269
|
payload?: unknown;
|
|
1143
1270
|
}, {
|
|
1144
1271
|
error: string | null;
|
|
1145
|
-
|
|
1146
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1272
|
+
name: string;
|
|
1273
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1147
1274
|
detail: string | null;
|
|
1148
1275
|
payload?: unknown;
|
|
1149
1276
|
}>, "many">;
|
|
@@ -1157,8 +1284,8 @@ export declare const fleetReportFanout: z.ZodDiscriminatedUnion<"mode", [z.ZodOb
|
|
|
1157
1284
|
local_only: boolean;
|
|
1158
1285
|
results: {
|
|
1159
1286
|
error: string | null;
|
|
1160
|
-
|
|
1161
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1287
|
+
name: string;
|
|
1288
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1162
1289
|
detail: string | null;
|
|
1163
1290
|
payload?: unknown;
|
|
1164
1291
|
}[];
|
|
@@ -1170,8 +1297,8 @@ export declare const fleetReportFanout: z.ZodDiscriminatedUnion<"mode", [z.ZodOb
|
|
|
1170
1297
|
local_only: boolean;
|
|
1171
1298
|
results: {
|
|
1172
1299
|
error: string | null;
|
|
1173
|
-
|
|
1174
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1300
|
+
name: string;
|
|
1301
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1175
1302
|
detail: string | null;
|
|
1176
1303
|
payload?: unknown;
|
|
1177
1304
|
}[];
|
|
@@ -1181,21 +1308,21 @@ export declare const fleetReportFanout: z.ZodDiscriminatedUnion<"mode", [z.ZodOb
|
|
|
1181
1308
|
reachable: z.ZodBoolean;
|
|
1182
1309
|
local_only: z.ZodBoolean;
|
|
1183
1310
|
results: z.ZodArray<z.ZodObject<{
|
|
1184
|
-
|
|
1185
|
-
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out"]>;
|
|
1311
|
+
name: z.ZodString;
|
|
1312
|
+
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out", "resyncing", "recycling", "stale"]>;
|
|
1186
1313
|
payload: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
1187
1314
|
error: z.ZodNullable<z.ZodString>;
|
|
1188
1315
|
detail: z.ZodNullable<z.ZodString>;
|
|
1189
1316
|
}, "strip", z.ZodTypeAny, {
|
|
1190
1317
|
error: string | null;
|
|
1191
|
-
|
|
1192
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1318
|
+
name: string;
|
|
1319
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1193
1320
|
detail: string | null;
|
|
1194
1321
|
payload?: unknown;
|
|
1195
1322
|
}, {
|
|
1196
1323
|
error: string | null;
|
|
1197
|
-
|
|
1198
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1324
|
+
name: string;
|
|
1325
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1199
1326
|
detail: string | null;
|
|
1200
1327
|
payload?: unknown;
|
|
1201
1328
|
}>, "many">;
|
|
@@ -1209,8 +1336,8 @@ export declare const fleetReportFanout: z.ZodDiscriminatedUnion<"mode", [z.ZodOb
|
|
|
1209
1336
|
local_only: boolean;
|
|
1210
1337
|
results: {
|
|
1211
1338
|
error: string | null;
|
|
1212
|
-
|
|
1213
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1339
|
+
name: string;
|
|
1340
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1214
1341
|
detail: string | null;
|
|
1215
1342
|
payload?: unknown;
|
|
1216
1343
|
}[];
|
|
@@ -1222,8 +1349,8 @@ export declare const fleetReportFanout: z.ZodDiscriminatedUnion<"mode", [z.ZodOb
|
|
|
1222
1349
|
local_only: boolean;
|
|
1223
1350
|
results: {
|
|
1224
1351
|
error: string | null;
|
|
1225
|
-
|
|
1226
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1352
|
+
name: string;
|
|
1353
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1227
1354
|
detail: string | null;
|
|
1228
1355
|
payload?: unknown;
|
|
1229
1356
|
}[];
|
|
@@ -1407,21 +1534,21 @@ export declare const reloadConfigResult: z.ZodObject<{
|
|
|
1407
1534
|
reachable: z.ZodBoolean;
|
|
1408
1535
|
local_only: z.ZodBoolean;
|
|
1409
1536
|
results: z.ZodArray<z.ZodObject<{
|
|
1410
|
-
|
|
1411
|
-
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out"]>;
|
|
1537
|
+
name: z.ZodString;
|
|
1538
|
+
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out", "resyncing", "recycling", "stale"]>;
|
|
1412
1539
|
payload: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
1413
1540
|
error: z.ZodNullable<z.ZodString>;
|
|
1414
1541
|
detail: z.ZodNullable<z.ZodString>;
|
|
1415
1542
|
}, "strip", z.ZodTypeAny, {
|
|
1416
1543
|
error: string | null;
|
|
1417
|
-
|
|
1418
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1544
|
+
name: string;
|
|
1545
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1419
1546
|
detail: string | null;
|
|
1420
1547
|
payload?: unknown;
|
|
1421
1548
|
}, {
|
|
1422
1549
|
error: string | null;
|
|
1423
|
-
|
|
1424
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1550
|
+
name: string;
|
|
1551
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1425
1552
|
detail: string | null;
|
|
1426
1553
|
payload?: unknown;
|
|
1427
1554
|
}>, "many">;
|
|
@@ -1435,8 +1562,8 @@ export declare const reloadConfigResult: z.ZodObject<{
|
|
|
1435
1562
|
local_only: boolean;
|
|
1436
1563
|
results: {
|
|
1437
1564
|
error: string | null;
|
|
1438
|
-
|
|
1439
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1565
|
+
name: string;
|
|
1566
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1440
1567
|
detail: string | null;
|
|
1441
1568
|
payload?: unknown;
|
|
1442
1569
|
}[];
|
|
@@ -1448,8 +1575,8 @@ export declare const reloadConfigResult: z.ZodObject<{
|
|
|
1448
1575
|
local_only: boolean;
|
|
1449
1576
|
results: {
|
|
1450
1577
|
error: string | null;
|
|
1451
|
-
|
|
1452
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1578
|
+
name: string;
|
|
1579
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1453
1580
|
detail: string | null;
|
|
1454
1581
|
payload?: unknown;
|
|
1455
1582
|
}[];
|
|
@@ -1459,21 +1586,21 @@ export declare const reloadConfigResult: z.ZodObject<{
|
|
|
1459
1586
|
reachable: z.ZodBoolean;
|
|
1460
1587
|
local_only: z.ZodBoolean;
|
|
1461
1588
|
results: z.ZodArray<z.ZodObject<{
|
|
1462
|
-
|
|
1463
|
-
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out"]>;
|
|
1589
|
+
name: z.ZodString;
|
|
1590
|
+
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out", "resyncing", "recycling", "stale"]>;
|
|
1464
1591
|
payload: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
1465
1592
|
error: z.ZodNullable<z.ZodString>;
|
|
1466
1593
|
detail: z.ZodNullable<z.ZodString>;
|
|
1467
1594
|
}, "strip", z.ZodTypeAny, {
|
|
1468
1595
|
error: string | null;
|
|
1469
|
-
|
|
1470
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1596
|
+
name: string;
|
|
1597
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1471
1598
|
detail: string | null;
|
|
1472
1599
|
payload?: unknown;
|
|
1473
1600
|
}, {
|
|
1474
1601
|
error: string | null;
|
|
1475
|
-
|
|
1476
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1602
|
+
name: string;
|
|
1603
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1477
1604
|
detail: string | null;
|
|
1478
1605
|
payload?: unknown;
|
|
1479
1606
|
}>, "many">;
|
|
@@ -1487,8 +1614,8 @@ export declare const reloadConfigResult: z.ZodObject<{
|
|
|
1487
1614
|
local_only: boolean;
|
|
1488
1615
|
results: {
|
|
1489
1616
|
error: string | null;
|
|
1490
|
-
|
|
1491
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1617
|
+
name: string;
|
|
1618
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1492
1619
|
detail: string | null;
|
|
1493
1620
|
payload?: unknown;
|
|
1494
1621
|
}[];
|
|
@@ -1500,8 +1627,8 @@ export declare const reloadConfigResult: z.ZodObject<{
|
|
|
1500
1627
|
local_only: boolean;
|
|
1501
1628
|
results: {
|
|
1502
1629
|
error: string | null;
|
|
1503
|
-
|
|
1504
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1630
|
+
name: string;
|
|
1631
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1505
1632
|
detail: string | null;
|
|
1506
1633
|
payload?: unknown;
|
|
1507
1634
|
}[];
|
|
@@ -1520,8 +1647,8 @@ export declare const reloadConfigResult: z.ZodObject<{
|
|
|
1520
1647
|
local_only: boolean;
|
|
1521
1648
|
results: {
|
|
1522
1649
|
error: string | null;
|
|
1523
|
-
|
|
1524
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1650
|
+
name: string;
|
|
1651
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1525
1652
|
detail: string | null;
|
|
1526
1653
|
payload?: unknown;
|
|
1527
1654
|
}[];
|
|
@@ -1533,8 +1660,8 @@ export declare const reloadConfigResult: z.ZodObject<{
|
|
|
1533
1660
|
local_only: boolean;
|
|
1534
1661
|
results: {
|
|
1535
1662
|
error: string | null;
|
|
1536
|
-
|
|
1537
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1663
|
+
name: string;
|
|
1664
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1538
1665
|
detail: string | null;
|
|
1539
1666
|
payload?: unknown;
|
|
1540
1667
|
}[];
|
|
@@ -1553,8 +1680,8 @@ export declare const reloadConfigResult: z.ZodObject<{
|
|
|
1553
1680
|
local_only: boolean;
|
|
1554
1681
|
results: {
|
|
1555
1682
|
error: string | null;
|
|
1556
|
-
|
|
1557
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1683
|
+
name: string;
|
|
1684
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1558
1685
|
detail: string | null;
|
|
1559
1686
|
payload?: unknown;
|
|
1560
1687
|
}[];
|
|
@@ -1566,8 +1693,8 @@ export declare const reloadConfigResult: z.ZodObject<{
|
|
|
1566
1693
|
local_only: boolean;
|
|
1567
1694
|
results: {
|
|
1568
1695
|
error: string | null;
|
|
1569
|
-
|
|
1570
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1696
|
+
name: string;
|
|
1697
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1571
1698
|
detail: string | null;
|
|
1572
1699
|
payload?: unknown;
|
|
1573
1700
|
}[];
|
|
@@ -1582,13 +1709,13 @@ export declare const kindStatus: z.ZodObject<{
|
|
|
1582
1709
|
detail: z.ZodString;
|
|
1583
1710
|
}, "strip", z.ZodTypeAny, {
|
|
1584
1711
|
kind: string;
|
|
1585
|
-
detail: string;
|
|
1586
1712
|
state: "active" | "default" | "off";
|
|
1713
|
+
detail: string;
|
|
1587
1714
|
plugin: string | null;
|
|
1588
1715
|
}, {
|
|
1589
1716
|
kind: string;
|
|
1590
|
-
detail: string;
|
|
1591
1717
|
state: "active" | "default" | "off";
|
|
1718
|
+
detail: string;
|
|
1592
1719
|
plugin: string | null;
|
|
1593
1720
|
}>;
|
|
1594
1721
|
export declare const kindStatusList: z.ZodArray<z.ZodObject<{
|
|
@@ -1598,13 +1725,13 @@ export declare const kindStatusList: z.ZodArray<z.ZodObject<{
|
|
|
1598
1725
|
detail: z.ZodString;
|
|
1599
1726
|
}, "strip", z.ZodTypeAny, {
|
|
1600
1727
|
kind: string;
|
|
1601
|
-
detail: string;
|
|
1602
1728
|
state: "active" | "default" | "off";
|
|
1729
|
+
detail: string;
|
|
1603
1730
|
plugin: string | null;
|
|
1604
1731
|
}, {
|
|
1605
1732
|
kind: string;
|
|
1606
|
-
detail: string;
|
|
1607
1733
|
state: "active" | "default" | "off";
|
|
1734
|
+
detail: string;
|
|
1608
1735
|
plugin: string | null;
|
|
1609
1736
|
}>, "many">;
|
|
1610
1737
|
export type KindStatus = z.infer<typeof kindStatus>;
|
|
@@ -1634,21 +1761,21 @@ export declare const toolExtensionsApplyResult: z.ZodObject<{
|
|
|
1634
1761
|
reachable: z.ZodBoolean;
|
|
1635
1762
|
local_only: z.ZodBoolean;
|
|
1636
1763
|
results: z.ZodArray<z.ZodObject<{
|
|
1637
|
-
|
|
1638
|
-
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out"]>;
|
|
1764
|
+
name: z.ZodString;
|
|
1765
|
+
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out", "resyncing", "recycling", "stale"]>;
|
|
1639
1766
|
payload: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
1640
1767
|
error: z.ZodNullable<z.ZodString>;
|
|
1641
1768
|
detail: z.ZodNullable<z.ZodString>;
|
|
1642
1769
|
}, "strip", z.ZodTypeAny, {
|
|
1643
1770
|
error: string | null;
|
|
1644
|
-
|
|
1645
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1771
|
+
name: string;
|
|
1772
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1646
1773
|
detail: string | null;
|
|
1647
1774
|
payload?: unknown;
|
|
1648
1775
|
}, {
|
|
1649
1776
|
error: string | null;
|
|
1650
|
-
|
|
1651
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1777
|
+
name: string;
|
|
1778
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1652
1779
|
detail: string | null;
|
|
1653
1780
|
payload?: unknown;
|
|
1654
1781
|
}>, "many">;
|
|
@@ -1662,8 +1789,8 @@ export declare const toolExtensionsApplyResult: z.ZodObject<{
|
|
|
1662
1789
|
local_only: boolean;
|
|
1663
1790
|
results: {
|
|
1664
1791
|
error: string | null;
|
|
1665
|
-
|
|
1666
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1792
|
+
name: string;
|
|
1793
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1667
1794
|
detail: string | null;
|
|
1668
1795
|
payload?: unknown;
|
|
1669
1796
|
}[];
|
|
@@ -1675,8 +1802,8 @@ export declare const toolExtensionsApplyResult: z.ZodObject<{
|
|
|
1675
1802
|
local_only: boolean;
|
|
1676
1803
|
results: {
|
|
1677
1804
|
error: string | null;
|
|
1678
|
-
|
|
1679
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1805
|
+
name: string;
|
|
1806
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1680
1807
|
detail: string | null;
|
|
1681
1808
|
payload?: unknown;
|
|
1682
1809
|
}[];
|
|
@@ -1686,21 +1813,21 @@ export declare const toolExtensionsApplyResult: z.ZodObject<{
|
|
|
1686
1813
|
reachable: z.ZodBoolean;
|
|
1687
1814
|
local_only: z.ZodBoolean;
|
|
1688
1815
|
results: z.ZodArray<z.ZodObject<{
|
|
1689
|
-
|
|
1690
|
-
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out"]>;
|
|
1816
|
+
name: z.ZodString;
|
|
1817
|
+
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out", "resyncing", "recycling", "stale"]>;
|
|
1691
1818
|
payload: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
1692
1819
|
error: z.ZodNullable<z.ZodString>;
|
|
1693
1820
|
detail: z.ZodNullable<z.ZodString>;
|
|
1694
1821
|
}, "strip", z.ZodTypeAny, {
|
|
1695
1822
|
error: string | null;
|
|
1696
|
-
|
|
1697
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1823
|
+
name: string;
|
|
1824
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1698
1825
|
detail: string | null;
|
|
1699
1826
|
payload?: unknown;
|
|
1700
1827
|
}, {
|
|
1701
1828
|
error: string | null;
|
|
1702
|
-
|
|
1703
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1829
|
+
name: string;
|
|
1830
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1704
1831
|
detail: string | null;
|
|
1705
1832
|
payload?: unknown;
|
|
1706
1833
|
}>, "many">;
|
|
@@ -1714,8 +1841,8 @@ export declare const toolExtensionsApplyResult: z.ZodObject<{
|
|
|
1714
1841
|
local_only: boolean;
|
|
1715
1842
|
results: {
|
|
1716
1843
|
error: string | null;
|
|
1717
|
-
|
|
1718
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1844
|
+
name: string;
|
|
1845
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1719
1846
|
detail: string | null;
|
|
1720
1847
|
payload?: unknown;
|
|
1721
1848
|
}[];
|
|
@@ -1727,8 +1854,8 @@ export declare const toolExtensionsApplyResult: z.ZodObject<{
|
|
|
1727
1854
|
local_only: boolean;
|
|
1728
1855
|
results: {
|
|
1729
1856
|
error: string | null;
|
|
1730
|
-
|
|
1731
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1857
|
+
name: string;
|
|
1858
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1732
1859
|
detail: string | null;
|
|
1733
1860
|
payload?: unknown;
|
|
1734
1861
|
}[];
|
|
@@ -1747,8 +1874,8 @@ export declare const toolExtensionsApplyResult: z.ZodObject<{
|
|
|
1747
1874
|
local_only: boolean;
|
|
1748
1875
|
results: {
|
|
1749
1876
|
error: string | null;
|
|
1750
|
-
|
|
1751
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1877
|
+
name: string;
|
|
1878
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1752
1879
|
detail: string | null;
|
|
1753
1880
|
payload?: unknown;
|
|
1754
1881
|
}[];
|
|
@@ -1760,8 +1887,8 @@ export declare const toolExtensionsApplyResult: z.ZodObject<{
|
|
|
1760
1887
|
local_only: boolean;
|
|
1761
1888
|
results: {
|
|
1762
1889
|
error: string | null;
|
|
1763
|
-
|
|
1764
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1890
|
+
name: string;
|
|
1891
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1765
1892
|
detail: string | null;
|
|
1766
1893
|
payload?: unknown;
|
|
1767
1894
|
}[];
|
|
@@ -1780,8 +1907,8 @@ export declare const toolExtensionsApplyResult: z.ZodObject<{
|
|
|
1780
1907
|
local_only: boolean;
|
|
1781
1908
|
results: {
|
|
1782
1909
|
error: string | null;
|
|
1783
|
-
|
|
1784
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1910
|
+
name: string;
|
|
1911
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1785
1912
|
detail: string | null;
|
|
1786
1913
|
payload?: unknown;
|
|
1787
1914
|
}[];
|
|
@@ -1793,8 +1920,8 @@ export declare const toolExtensionsApplyResult: z.ZodObject<{
|
|
|
1793
1920
|
local_only: boolean;
|
|
1794
1921
|
results: {
|
|
1795
1922
|
error: string | null;
|
|
1796
|
-
|
|
1797
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1923
|
+
name: string;
|
|
1924
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1798
1925
|
detail: string | null;
|
|
1799
1926
|
payload?: unknown;
|
|
1800
1927
|
}[];
|
|
@@ -1829,7 +1956,7 @@ export declare const mcpStatus: z.ZodObject<{
|
|
|
1829
1956
|
}>;
|
|
1830
1957
|
/**
|
|
1831
1958
|
* `POST /api/mcp-status/{title}/reload` — re-probe a single MCP server and broadcast
|
|
1832
|
-
* the reload to the fleet. The response is the bare per-
|
|
1959
|
+
* the reload to the fleet. The response is the bare per-worker {@link fleetResult}
|
|
1833
1960
|
* (the serving worker's re-probe rides its own `results` entry as the payload); there
|
|
1834
1961
|
* is no local/workers split. A drift throws `ApiSchemaError`.
|
|
1835
1962
|
*/
|
|
@@ -1838,21 +1965,21 @@ export declare const mcpReloadResult: z.ZodObject<{
|
|
|
1838
1965
|
reachable: z.ZodBoolean;
|
|
1839
1966
|
local_only: z.ZodBoolean;
|
|
1840
1967
|
results: z.ZodArray<z.ZodObject<{
|
|
1841
|
-
|
|
1842
|
-
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out"]>;
|
|
1968
|
+
name: z.ZodString;
|
|
1969
|
+
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out", "resyncing", "recycling", "stale"]>;
|
|
1843
1970
|
payload: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
1844
1971
|
error: z.ZodNullable<z.ZodString>;
|
|
1845
1972
|
detail: z.ZodNullable<z.ZodString>;
|
|
1846
1973
|
}, "strip", z.ZodTypeAny, {
|
|
1847
1974
|
error: string | null;
|
|
1848
|
-
|
|
1849
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1975
|
+
name: string;
|
|
1976
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1850
1977
|
detail: string | null;
|
|
1851
1978
|
payload?: unknown;
|
|
1852
1979
|
}, {
|
|
1853
1980
|
error: string | null;
|
|
1854
|
-
|
|
1855
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1981
|
+
name: string;
|
|
1982
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1856
1983
|
detail: string | null;
|
|
1857
1984
|
payload?: unknown;
|
|
1858
1985
|
}>, "many">;
|
|
@@ -1864,8 +1991,8 @@ export declare const mcpReloadResult: z.ZodObject<{
|
|
|
1864
1991
|
local_only: boolean;
|
|
1865
1992
|
results: {
|
|
1866
1993
|
error: string | null;
|
|
1867
|
-
|
|
1868
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1994
|
+
name: string;
|
|
1995
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1869
1996
|
detail: string | null;
|
|
1870
1997
|
payload?: unknown;
|
|
1871
1998
|
}[];
|
|
@@ -1876,8 +2003,8 @@ export declare const mcpReloadResult: z.ZodObject<{
|
|
|
1876
2003
|
local_only: boolean;
|
|
1877
2004
|
results: {
|
|
1878
2005
|
error: string | null;
|
|
1879
|
-
|
|
1880
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2006
|
+
name: string;
|
|
2007
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
1881
2008
|
detail: string | null;
|
|
1882
2009
|
payload?: unknown;
|
|
1883
2010
|
}[];
|
|
@@ -1925,42 +2052,516 @@ export declare const subMcpCreated: z.ZodObject<{
|
|
|
1925
2052
|
transport: string;
|
|
1926
2053
|
slug: string;
|
|
1927
2054
|
}>;
|
|
1928
|
-
export declare const subMcpRemoved: z.ZodObject<{
|
|
1929
|
-
slug: z.ZodString;
|
|
1930
|
-
removed: z.ZodLiteral<true>;
|
|
2055
|
+
export declare const subMcpRemoved: z.ZodObject<{
|
|
2056
|
+
slug: z.ZodString;
|
|
2057
|
+
removed: z.ZodLiteral<true>;
|
|
2058
|
+
}, "strip", z.ZodTypeAny, {
|
|
2059
|
+
slug: string;
|
|
2060
|
+
removed: true;
|
|
2061
|
+
}, {
|
|
2062
|
+
slug: string;
|
|
2063
|
+
removed: true;
|
|
2064
|
+
}>;
|
|
2065
|
+
export declare const envConfig: z.ZodObject<{
|
|
2066
|
+
env: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2067
|
+
secret_keys: z.ZodArray<z.ZodString, "many">;
|
|
2068
|
+
}, "strip", z.ZodTypeAny, {
|
|
2069
|
+
env: Record<string, string>;
|
|
2070
|
+
secret_keys: string[];
|
|
2071
|
+
}, {
|
|
2072
|
+
env: Record<string, string>;
|
|
2073
|
+
secret_keys: string[];
|
|
2074
|
+
}>;
|
|
2075
|
+
/**
|
|
2076
|
+
* `GET /api/config/mode` — the active config backend mode (`file` / `k8s`). The
|
|
2077
|
+
* skeleton emits only `config_mode`; `read_only` is a UI-side gate, tolerated-absent
|
|
2078
|
+
* and defaulting to `false` (writable) so a normal response never drifts, while a
|
|
2079
|
+
* genuinely read-only deployment can opt in by emitting `read_only: true`.
|
|
2080
|
+
*/
|
|
2081
|
+
export declare const configMode: z.ZodObject<{
|
|
2082
|
+
config_mode: z.ZodString;
|
|
2083
|
+
read_only: z.ZodDefault<z.ZodBoolean>;
|
|
2084
|
+
}, "strip", z.ZodTypeAny, {
|
|
2085
|
+
config_mode: string;
|
|
2086
|
+
read_only: boolean;
|
|
2087
|
+
}, {
|
|
2088
|
+
config_mode: string;
|
|
2089
|
+
read_only?: boolean | undefined;
|
|
2090
|
+
}>;
|
|
2091
|
+
/**
|
|
2092
|
+
* `GET /api/config/profiles` — one row per stored profile. The list is
|
|
2093
|
+
* names+descriptions ONLY (action=read); no `env`, no `secret_keys`, no bodies.
|
|
2094
|
+
* (No `last_modified`: the list carries identity, not history — version metadata
|
|
2095
|
+
* is the `/versions` surface — so the list renders no last-modified column.)
|
|
2096
|
+
*/
|
|
2097
|
+
export declare const settingsProfileSummary: z.ZodObject<{
|
|
2098
|
+
name: z.ZodString;
|
|
2099
|
+
description: z.ZodString;
|
|
2100
|
+
}, "strip", z.ZodTypeAny, {
|
|
2101
|
+
name: string;
|
|
2102
|
+
description: string;
|
|
2103
|
+
}, {
|
|
2104
|
+
name: string;
|
|
2105
|
+
description: string;
|
|
2106
|
+
}>;
|
|
2107
|
+
export type SettingsProfileSummary = z.infer<typeof settingsProfileSummary>;
|
|
2108
|
+
export declare const settingsProfileList: z.ZodArray<z.ZodObject<{
|
|
2109
|
+
name: z.ZodString;
|
|
2110
|
+
description: z.ZodString;
|
|
2111
|
+
}, "strip", z.ZodTypeAny, {
|
|
2112
|
+
name: string;
|
|
2113
|
+
description: string;
|
|
2114
|
+
}, {
|
|
2115
|
+
name: string;
|
|
2116
|
+
description: string;
|
|
2117
|
+
}>, "many">;
|
|
2118
|
+
/**
|
|
2119
|
+
* `GET /api/config/profiles/{name}` and each version body — the stored profile
|
|
2120
|
+
* document (action=secret). `env` carries REAL values; `secret_keys` is the
|
|
2121
|
+
* per-profile secret-marks band folded into the secret-mask union for masking.
|
|
2122
|
+
*/
|
|
2123
|
+
export declare const settingsProfileBody: z.ZodObject<{
|
|
2124
|
+
description: z.ZodString;
|
|
2125
|
+
env: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2126
|
+
secret_keys: z.ZodArray<z.ZodString, "many">;
|
|
2127
|
+
}, "strip", z.ZodTypeAny, {
|
|
2128
|
+
description: string;
|
|
2129
|
+
env: Record<string, string>;
|
|
2130
|
+
secret_keys: string[];
|
|
2131
|
+
}, {
|
|
2132
|
+
description: string;
|
|
2133
|
+
env: Record<string, string>;
|
|
2134
|
+
secret_keys: string[];
|
|
2135
|
+
}>;
|
|
2136
|
+
export type SettingsProfileBody = z.infer<typeof settingsProfileBody>;
|
|
2137
|
+
/** `PUT /api/config/profiles/{name}` — a minimal save ack; `version` is the new store version. */
|
|
2138
|
+
export declare const settingsProfileSaved: z.ZodObject<{
|
|
2139
|
+
ok: z.ZodLiteral<true>;
|
|
2140
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
2141
|
+
}, "strip", z.ZodTypeAny, {
|
|
2142
|
+
ok: true;
|
|
2143
|
+
version?: number | undefined;
|
|
2144
|
+
}, {
|
|
2145
|
+
ok: true;
|
|
2146
|
+
version?: number | undefined;
|
|
2147
|
+
}>;
|
|
2148
|
+
export type SettingsProfileSaved = z.infer<typeof settingsProfileSaved>;
|
|
2149
|
+
/** `DELETE /api/config/profiles/{name}` — a minimal removal ack. */
|
|
2150
|
+
export declare const settingsProfileDeleted: z.ZodObject<{
|
|
2151
|
+
ok: z.ZodLiteral<true>;
|
|
2152
|
+
}, "strip", z.ZodTypeAny, {
|
|
2153
|
+
ok: true;
|
|
2154
|
+
}, {
|
|
2155
|
+
ok: true;
|
|
2156
|
+
}>;
|
|
2157
|
+
/** `POST /api/config/profiles/{name}/rollback` — the restore ack; `version` is the resulting active version. */
|
|
2158
|
+
export declare const settingsProfileRollback: z.ZodObject<{
|
|
2159
|
+
ok: z.ZodLiteral<true>;
|
|
2160
|
+
version: z.ZodNumber;
|
|
2161
|
+
}, "strip", z.ZodTypeAny, {
|
|
2162
|
+
version: number;
|
|
2163
|
+
ok: true;
|
|
2164
|
+
}, {
|
|
2165
|
+
version: number;
|
|
2166
|
+
ok: true;
|
|
2167
|
+
}>;
|
|
2168
|
+
export type SettingsProfileRollback = z.infer<typeof settingsProfileRollback>;
|
|
2169
|
+
/**
|
|
2170
|
+
* `POST /api/config/profiles/{name}/diff` — the SAVED profile vs the stored env
|
|
2171
|
+
* (action=secret). `changed` carries real `old`/`new` values (UI masks via
|
|
2172
|
+
* JsonDiff); `recycle_keys`/`refused_keys` are the diff's recycle-class and
|
|
2173
|
+
* boundary-refused key names, called out in the UI before apply.
|
|
2174
|
+
*/
|
|
2175
|
+
export declare const settingsProfileDiff: z.ZodObject<{
|
|
2176
|
+
added: z.ZodArray<z.ZodString, "many">;
|
|
2177
|
+
removed: z.ZodArray<z.ZodString, "many">;
|
|
2178
|
+
changed: z.ZodArray<z.ZodObject<{
|
|
2179
|
+
key: z.ZodString;
|
|
2180
|
+
old: z.ZodString;
|
|
2181
|
+
new: z.ZodString;
|
|
2182
|
+
}, "strip", z.ZodTypeAny, {
|
|
2183
|
+
key: string;
|
|
2184
|
+
old: string;
|
|
2185
|
+
new: string;
|
|
2186
|
+
}, {
|
|
2187
|
+
key: string;
|
|
2188
|
+
old: string;
|
|
2189
|
+
new: string;
|
|
2190
|
+
}>, "many">;
|
|
2191
|
+
recycle_keys: z.ZodArray<z.ZodString, "many">;
|
|
2192
|
+
refused_keys: z.ZodArray<z.ZodString, "many">;
|
|
2193
|
+
}, "strip", z.ZodTypeAny, {
|
|
2194
|
+
removed: string[];
|
|
2195
|
+
added: string[];
|
|
2196
|
+
changed: {
|
|
2197
|
+
key: string;
|
|
2198
|
+
old: string;
|
|
2199
|
+
new: string;
|
|
2200
|
+
}[];
|
|
2201
|
+
recycle_keys: string[];
|
|
2202
|
+
refused_keys: string[];
|
|
2203
|
+
}, {
|
|
2204
|
+
removed: string[];
|
|
2205
|
+
added: string[];
|
|
2206
|
+
changed: {
|
|
2207
|
+
key: string;
|
|
2208
|
+
old: string;
|
|
2209
|
+
new: string;
|
|
2210
|
+
}[];
|
|
2211
|
+
recycle_keys: string[];
|
|
2212
|
+
refused_keys: string[];
|
|
2213
|
+
}>;
|
|
2214
|
+
export type SettingsProfileDiff = z.infer<typeof settingsProfileDiff>;
|
|
2215
|
+
/**
|
|
2216
|
+
* `POST /api/config/profiles/{name}/apply` — the dedicated `profile_apply_response`
|
|
2217
|
+
* (action=fenced, destructive). NAMES-ONLY (no env value in any
|
|
2218
|
+
* section): `hot` is the hot-swapped key names; `recycle` is the orchestrator's
|
|
2219
|
+
* per-worker section — one `{name, kind, status, generation_before}` row per recycled
|
|
2220
|
+
* target, `generation_before` the life that was recycled, the applier's OWN row carrying
|
|
2221
|
+
* the `self-deferred` status literal when the diff has serve-affecting recycle keys;
|
|
2222
|
+
* `fresh` is the per-kind list of NEW ready lives observed since the pre-apply snapshot
|
|
2223
|
+
* (each `{name, kind, generation}`), evidence of fresh capacity and never claimed as any
|
|
2224
|
+
* target's successor; `refused` is `[]` on success by construction (populated
|
|
2225
|
+
* `{key, reason}` only on a refusal), the populated refusal surfaces being the diff
|
|
2226
|
+
* preview and the refusal error report. `fanout` is the mode-wrapped fleet broadcast,
|
|
2227
|
+
* parsed EXPLICITLY so a failed propagation reaches the shared fleet-report handler. A
|
|
2228
|
+
* drift throws `ApiSchemaError`.
|
|
2229
|
+
*/
|
|
2230
|
+
export declare const profileApplyResponse: z.ZodObject<{
|
|
2231
|
+
hot: z.ZodArray<z.ZodString, "many">;
|
|
2232
|
+
recycle: z.ZodArray<z.ZodObject<{
|
|
2233
|
+
name: z.ZodString;
|
|
2234
|
+
kind: z.ZodString;
|
|
2235
|
+
status: z.ZodString;
|
|
2236
|
+
generation_before: z.ZodNumber;
|
|
2237
|
+
}, "strip", z.ZodTypeAny, {
|
|
2238
|
+
name: string;
|
|
2239
|
+
status: string;
|
|
2240
|
+
kind: string;
|
|
2241
|
+
generation_before: number;
|
|
2242
|
+
}, {
|
|
2243
|
+
name: string;
|
|
2244
|
+
status: string;
|
|
2245
|
+
kind: string;
|
|
2246
|
+
generation_before: number;
|
|
2247
|
+
}>, "many">;
|
|
2248
|
+
fresh: z.ZodArray<z.ZodObject<{
|
|
2249
|
+
name: z.ZodString;
|
|
2250
|
+
kind: z.ZodString;
|
|
2251
|
+
generation: z.ZodNumber;
|
|
2252
|
+
}, "strip", z.ZodTypeAny, {
|
|
2253
|
+
name: string;
|
|
2254
|
+
kind: string;
|
|
2255
|
+
generation: number;
|
|
2256
|
+
}, {
|
|
2257
|
+
name: string;
|
|
2258
|
+
kind: string;
|
|
2259
|
+
generation: number;
|
|
2260
|
+
}>, "many">;
|
|
2261
|
+
refused: z.ZodArray<z.ZodObject<{
|
|
2262
|
+
key: z.ZodString;
|
|
2263
|
+
reason: z.ZodString;
|
|
2264
|
+
}, "strip", z.ZodTypeAny, {
|
|
2265
|
+
key: string;
|
|
2266
|
+
reason: string;
|
|
2267
|
+
}, {
|
|
2268
|
+
key: string;
|
|
2269
|
+
reason: string;
|
|
2270
|
+
}>, "many">;
|
|
2271
|
+
fanout: z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
2272
|
+
mode: z.ZodLiteral<"local-only">;
|
|
2273
|
+
note: z.ZodString;
|
|
2274
|
+
}, "strip", z.ZodTypeAny, {
|
|
2275
|
+
mode: "local-only";
|
|
2276
|
+
note: string;
|
|
2277
|
+
}, {
|
|
2278
|
+
mode: "local-only";
|
|
2279
|
+
note: string;
|
|
2280
|
+
}>, z.ZodObject<{
|
|
2281
|
+
op: z.ZodString;
|
|
2282
|
+
reachable: z.ZodBoolean;
|
|
2283
|
+
local_only: z.ZodBoolean;
|
|
2284
|
+
results: z.ZodArray<z.ZodObject<{
|
|
2285
|
+
name: z.ZodString;
|
|
2286
|
+
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out", "resyncing", "recycling", "stale"]>;
|
|
2287
|
+
payload: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
2288
|
+
error: z.ZodNullable<z.ZodString>;
|
|
2289
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
2290
|
+
}, "strip", z.ZodTypeAny, {
|
|
2291
|
+
error: string | null;
|
|
2292
|
+
name: string;
|
|
2293
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2294
|
+
detail: string | null;
|
|
2295
|
+
payload?: unknown;
|
|
2296
|
+
}, {
|
|
2297
|
+
error: string | null;
|
|
2298
|
+
name: string;
|
|
2299
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2300
|
+
detail: string | null;
|
|
2301
|
+
payload?: unknown;
|
|
2302
|
+
}>, "many">;
|
|
2303
|
+
error: z.ZodNullable<z.ZodString>;
|
|
2304
|
+
} & {
|
|
2305
|
+
mode: z.ZodLiteral<"fleet">;
|
|
2306
|
+
}, "strip", z.ZodTypeAny, {
|
|
2307
|
+
error: string | null;
|
|
2308
|
+
op: string;
|
|
2309
|
+
reachable: boolean;
|
|
2310
|
+
local_only: boolean;
|
|
2311
|
+
results: {
|
|
2312
|
+
error: string | null;
|
|
2313
|
+
name: string;
|
|
2314
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2315
|
+
detail: string | null;
|
|
2316
|
+
payload?: unknown;
|
|
2317
|
+
}[];
|
|
2318
|
+
mode: "fleet";
|
|
2319
|
+
}, {
|
|
2320
|
+
error: string | null;
|
|
2321
|
+
op: string;
|
|
2322
|
+
reachable: boolean;
|
|
2323
|
+
local_only: boolean;
|
|
2324
|
+
results: {
|
|
2325
|
+
error: string | null;
|
|
2326
|
+
name: string;
|
|
2327
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2328
|
+
detail: string | null;
|
|
2329
|
+
payload?: unknown;
|
|
2330
|
+
}[];
|
|
2331
|
+
mode: "fleet";
|
|
2332
|
+
}>, z.ZodObject<{
|
|
2333
|
+
op: z.ZodString;
|
|
2334
|
+
reachable: z.ZodBoolean;
|
|
2335
|
+
local_only: z.ZodBoolean;
|
|
2336
|
+
results: z.ZodArray<z.ZodObject<{
|
|
2337
|
+
name: z.ZodString;
|
|
2338
|
+
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out", "resyncing", "recycling", "stale"]>;
|
|
2339
|
+
payload: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
2340
|
+
error: z.ZodNullable<z.ZodString>;
|
|
2341
|
+
detail: z.ZodNullable<z.ZodString>;
|
|
2342
|
+
}, "strip", z.ZodTypeAny, {
|
|
2343
|
+
error: string | null;
|
|
2344
|
+
name: string;
|
|
2345
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2346
|
+
detail: string | null;
|
|
2347
|
+
payload?: unknown;
|
|
2348
|
+
}, {
|
|
2349
|
+
error: string | null;
|
|
2350
|
+
name: string;
|
|
2351
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2352
|
+
detail: string | null;
|
|
2353
|
+
payload?: unknown;
|
|
2354
|
+
}>, "many">;
|
|
2355
|
+
error: z.ZodNullable<z.ZodString>;
|
|
2356
|
+
} & {
|
|
2357
|
+
mode: z.ZodLiteral<"unreachable">;
|
|
2358
|
+
}, "strip", z.ZodTypeAny, {
|
|
2359
|
+
error: string | null;
|
|
2360
|
+
op: string;
|
|
2361
|
+
reachable: boolean;
|
|
2362
|
+
local_only: boolean;
|
|
2363
|
+
results: {
|
|
2364
|
+
error: string | null;
|
|
2365
|
+
name: string;
|
|
2366
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2367
|
+
detail: string | null;
|
|
2368
|
+
payload?: unknown;
|
|
2369
|
+
}[];
|
|
2370
|
+
mode: "unreachable";
|
|
2371
|
+
}, {
|
|
2372
|
+
error: string | null;
|
|
2373
|
+
op: string;
|
|
2374
|
+
reachable: boolean;
|
|
2375
|
+
local_only: boolean;
|
|
2376
|
+
results: {
|
|
2377
|
+
error: string | null;
|
|
2378
|
+
name: string;
|
|
2379
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2380
|
+
detail: string | null;
|
|
2381
|
+
payload?: unknown;
|
|
2382
|
+
}[];
|
|
2383
|
+
mode: "unreachable";
|
|
2384
|
+
}>]>;
|
|
2385
|
+
}, "strip", z.ZodTypeAny, {
|
|
2386
|
+
fanout: {
|
|
2387
|
+
mode: "local-only";
|
|
2388
|
+
note: string;
|
|
2389
|
+
} | {
|
|
2390
|
+
error: string | null;
|
|
2391
|
+
op: string;
|
|
2392
|
+
reachable: boolean;
|
|
2393
|
+
local_only: boolean;
|
|
2394
|
+
results: {
|
|
2395
|
+
error: string | null;
|
|
2396
|
+
name: string;
|
|
2397
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2398
|
+
detail: string | null;
|
|
2399
|
+
payload?: unknown;
|
|
2400
|
+
}[];
|
|
2401
|
+
mode: "fleet";
|
|
2402
|
+
} | {
|
|
2403
|
+
error: string | null;
|
|
2404
|
+
op: string;
|
|
2405
|
+
reachable: boolean;
|
|
2406
|
+
local_only: boolean;
|
|
2407
|
+
results: {
|
|
2408
|
+
error: string | null;
|
|
2409
|
+
name: string;
|
|
2410
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2411
|
+
detail: string | null;
|
|
2412
|
+
payload?: unknown;
|
|
2413
|
+
}[];
|
|
2414
|
+
mode: "unreachable";
|
|
2415
|
+
};
|
|
2416
|
+
hot: string[];
|
|
2417
|
+
recycle: {
|
|
2418
|
+
name: string;
|
|
2419
|
+
status: string;
|
|
2420
|
+
kind: string;
|
|
2421
|
+
generation_before: number;
|
|
2422
|
+
}[];
|
|
2423
|
+
fresh: {
|
|
2424
|
+
name: string;
|
|
2425
|
+
kind: string;
|
|
2426
|
+
generation: number;
|
|
2427
|
+
}[];
|
|
2428
|
+
refused: {
|
|
2429
|
+
key: string;
|
|
2430
|
+
reason: string;
|
|
2431
|
+
}[];
|
|
2432
|
+
}, {
|
|
2433
|
+
fanout: {
|
|
2434
|
+
mode: "local-only";
|
|
2435
|
+
note: string;
|
|
2436
|
+
} | {
|
|
2437
|
+
error: string | null;
|
|
2438
|
+
op: string;
|
|
2439
|
+
reachable: boolean;
|
|
2440
|
+
local_only: boolean;
|
|
2441
|
+
results: {
|
|
2442
|
+
error: string | null;
|
|
2443
|
+
name: string;
|
|
2444
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2445
|
+
detail: string | null;
|
|
2446
|
+
payload?: unknown;
|
|
2447
|
+
}[];
|
|
2448
|
+
mode: "fleet";
|
|
2449
|
+
} | {
|
|
2450
|
+
error: string | null;
|
|
2451
|
+
op: string;
|
|
2452
|
+
reachable: boolean;
|
|
2453
|
+
local_only: boolean;
|
|
2454
|
+
results: {
|
|
2455
|
+
error: string | null;
|
|
2456
|
+
name: string;
|
|
2457
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2458
|
+
detail: string | null;
|
|
2459
|
+
payload?: unknown;
|
|
2460
|
+
}[];
|
|
2461
|
+
mode: "unreachable";
|
|
2462
|
+
};
|
|
2463
|
+
hot: string[];
|
|
2464
|
+
recycle: {
|
|
2465
|
+
name: string;
|
|
2466
|
+
status: string;
|
|
2467
|
+
kind: string;
|
|
2468
|
+
generation_before: number;
|
|
2469
|
+
}[];
|
|
2470
|
+
fresh: {
|
|
2471
|
+
name: string;
|
|
2472
|
+
kind: string;
|
|
2473
|
+
generation: number;
|
|
2474
|
+
}[];
|
|
2475
|
+
refused: {
|
|
2476
|
+
key: string;
|
|
2477
|
+
reason: string;
|
|
2478
|
+
}[];
|
|
2479
|
+
}>;
|
|
2480
|
+
export type ProfileApplyResponse = z.infer<typeof profileApplyResponse>;
|
|
2481
|
+
/**
|
|
2482
|
+
* `GET /api/config/profiles/{name}/versions` — version METADATA only (action=read;
|
|
2483
|
+
* no bodies), the generic versioned-store row minus `body`. `is_current` flags the
|
|
2484
|
+
* active pointer.
|
|
2485
|
+
*/
|
|
2486
|
+
export declare const settingsProfileVersionMeta: z.ZodObject<{
|
|
2487
|
+
version: z.ZodNumber;
|
|
2488
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
2489
|
+
created_at: z.ZodString;
|
|
2490
|
+
is_current: z.ZodBoolean;
|
|
1931
2491
|
}, "strip", z.ZodTypeAny, {
|
|
1932
|
-
|
|
1933
|
-
|
|
2492
|
+
tags: string[];
|
|
2493
|
+
version: number;
|
|
2494
|
+
created_at: string;
|
|
2495
|
+
is_current: boolean;
|
|
1934
2496
|
}, {
|
|
1935
|
-
|
|
1936
|
-
|
|
2497
|
+
tags: string[];
|
|
2498
|
+
version: number;
|
|
2499
|
+
created_at: string;
|
|
2500
|
+
is_current: boolean;
|
|
1937
2501
|
}>;
|
|
1938
|
-
export
|
|
1939
|
-
|
|
1940
|
-
|
|
2502
|
+
export type SettingsProfileVersionMeta = z.infer<typeof settingsProfileVersionMeta>;
|
|
2503
|
+
export declare const settingsProfileVersionList: z.ZodArray<z.ZodObject<{
|
|
2504
|
+
version: z.ZodNumber;
|
|
2505
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
2506
|
+
created_at: z.ZodString;
|
|
2507
|
+
is_current: z.ZodBoolean;
|
|
1941
2508
|
}, "strip", z.ZodTypeAny, {
|
|
1942
|
-
|
|
1943
|
-
|
|
2509
|
+
tags: string[];
|
|
2510
|
+
version: number;
|
|
2511
|
+
created_at: string;
|
|
2512
|
+
is_current: boolean;
|
|
1944
2513
|
}, {
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
2514
|
+
tags: string[];
|
|
2515
|
+
version: number;
|
|
2516
|
+
created_at: string;
|
|
2517
|
+
is_current: boolean;
|
|
2518
|
+
}>, "many">;
|
|
1948
2519
|
/**
|
|
1949
|
-
* `GET /api/config/
|
|
1950
|
-
*
|
|
1951
|
-
*
|
|
1952
|
-
* genuinely read-only deployment can opt in by emitting `read_only: true`.
|
|
2520
|
+
* `GET /api/config/profiles/{name}/versions/{version}` — one immutable version WITH
|
|
2521
|
+
* its `body` (action=secret; body rendered masked per the secret-mask union). The generic
|
|
2522
|
+
* versioned-store row shape.
|
|
1953
2523
|
*/
|
|
1954
|
-
export declare const
|
|
1955
|
-
|
|
1956
|
-
|
|
2524
|
+
export declare const settingsProfileVersion: z.ZodObject<{
|
|
2525
|
+
version: z.ZodNumber;
|
|
2526
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
2527
|
+
created_at: z.ZodString;
|
|
2528
|
+
is_current: z.ZodBoolean;
|
|
2529
|
+
} & {
|
|
2530
|
+
body: z.ZodObject<{
|
|
2531
|
+
description: z.ZodString;
|
|
2532
|
+
env: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2533
|
+
secret_keys: z.ZodArray<z.ZodString, "many">;
|
|
2534
|
+
}, "strip", z.ZodTypeAny, {
|
|
2535
|
+
description: string;
|
|
2536
|
+
env: Record<string, string>;
|
|
2537
|
+
secret_keys: string[];
|
|
2538
|
+
}, {
|
|
2539
|
+
description: string;
|
|
2540
|
+
env: Record<string, string>;
|
|
2541
|
+
secret_keys: string[];
|
|
2542
|
+
}>;
|
|
1957
2543
|
}, "strip", z.ZodTypeAny, {
|
|
1958
|
-
|
|
1959
|
-
|
|
2544
|
+
tags: string[];
|
|
2545
|
+
version: number;
|
|
2546
|
+
body: {
|
|
2547
|
+
description: string;
|
|
2548
|
+
env: Record<string, string>;
|
|
2549
|
+
secret_keys: string[];
|
|
2550
|
+
};
|
|
2551
|
+
created_at: string;
|
|
2552
|
+
is_current: boolean;
|
|
1960
2553
|
}, {
|
|
1961
|
-
|
|
1962
|
-
|
|
2554
|
+
tags: string[];
|
|
2555
|
+
version: number;
|
|
2556
|
+
body: {
|
|
2557
|
+
description: string;
|
|
2558
|
+
env: Record<string, string>;
|
|
2559
|
+
secret_keys: string[];
|
|
2560
|
+
};
|
|
2561
|
+
created_at: string;
|
|
2562
|
+
is_current: boolean;
|
|
1963
2563
|
}>;
|
|
2564
|
+
export type SettingsProfileVersion = z.infer<typeof settingsProfileVersion>;
|
|
1964
2565
|
export declare const subServiceView: z.ZodObject<{
|
|
1965
2566
|
id: z.ZodString;
|
|
1966
2567
|
display_name: z.ZodString;
|
|
@@ -2044,8 +2645,8 @@ export declare const providerView: z.ZodObject<{
|
|
|
2044
2645
|
kind: "oauth" | "none";
|
|
2045
2646
|
id: string;
|
|
2046
2647
|
display_name: string;
|
|
2047
|
-
origin: "system" | "community";
|
|
2048
2648
|
icon_url: string;
|
|
2649
|
+
origin: "system" | "community";
|
|
2049
2650
|
category: string;
|
|
2050
2651
|
sub_services: {
|
|
2051
2652
|
description: string;
|
|
@@ -2065,8 +2666,8 @@ export declare const providerView: z.ZodObject<{
|
|
|
2065
2666
|
kind: "oauth" | "none";
|
|
2066
2667
|
id: string;
|
|
2067
2668
|
display_name: string;
|
|
2068
|
-
origin: "system" | "community";
|
|
2069
2669
|
icon_url: string;
|
|
2670
|
+
origin: "system" | "community";
|
|
2070
2671
|
category: string;
|
|
2071
2672
|
sub_services: {
|
|
2072
2673
|
description: string;
|
|
@@ -2156,8 +2757,8 @@ export declare const providers: z.ZodObject<{
|
|
|
2156
2757
|
kind: "oauth" | "none";
|
|
2157
2758
|
id: string;
|
|
2158
2759
|
display_name: string;
|
|
2159
|
-
origin: "system" | "community";
|
|
2160
2760
|
icon_url: string;
|
|
2761
|
+
origin: "system" | "community";
|
|
2161
2762
|
category: string;
|
|
2162
2763
|
sub_services: {
|
|
2163
2764
|
description: string;
|
|
@@ -2177,8 +2778,8 @@ export declare const providers: z.ZodObject<{
|
|
|
2177
2778
|
kind: "oauth" | "none";
|
|
2178
2779
|
id: string;
|
|
2179
2780
|
display_name: string;
|
|
2180
|
-
origin: "system" | "community";
|
|
2181
2781
|
icon_url: string;
|
|
2782
|
+
origin: "system" | "community";
|
|
2182
2783
|
category: string;
|
|
2183
2784
|
sub_services: {
|
|
2184
2785
|
description: string;
|
|
@@ -2213,8 +2814,8 @@ export declare const providers: z.ZodObject<{
|
|
|
2213
2814
|
kind: "oauth" | "none";
|
|
2214
2815
|
id: string;
|
|
2215
2816
|
display_name: string;
|
|
2216
|
-
origin: "system" | "community";
|
|
2217
2817
|
icon_url: string;
|
|
2818
|
+
origin: "system" | "community";
|
|
2218
2819
|
category: string;
|
|
2219
2820
|
sub_services: {
|
|
2220
2821
|
description: string;
|
|
@@ -2241,8 +2842,8 @@ export declare const providers: z.ZodObject<{
|
|
|
2241
2842
|
kind: "oauth" | "none";
|
|
2242
2843
|
id: string;
|
|
2243
2844
|
display_name: string;
|
|
2244
|
-
origin: "system" | "community";
|
|
2245
2845
|
icon_url: string;
|
|
2846
|
+
origin: "system" | "community";
|
|
2246
2847
|
category: string;
|
|
2247
2848
|
sub_services: {
|
|
2248
2849
|
description: string;
|
|
@@ -2394,21 +2995,21 @@ export declare const startConnectResult: z.ZodUnion<[z.ZodObject<{
|
|
|
2394
2995
|
reachable: z.ZodBoolean;
|
|
2395
2996
|
local_only: z.ZodBoolean;
|
|
2396
2997
|
results: z.ZodArray<z.ZodObject<{
|
|
2397
|
-
|
|
2398
|
-
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out"]>;
|
|
2998
|
+
name: z.ZodString;
|
|
2999
|
+
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out", "resyncing", "recycling", "stale"]>;
|
|
2399
3000
|
payload: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
2400
3001
|
error: z.ZodNullable<z.ZodString>;
|
|
2401
3002
|
detail: z.ZodNullable<z.ZodString>;
|
|
2402
3003
|
}, "strip", z.ZodTypeAny, {
|
|
2403
3004
|
error: string | null;
|
|
2404
|
-
|
|
2405
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3005
|
+
name: string;
|
|
3006
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2406
3007
|
detail: string | null;
|
|
2407
3008
|
payload?: unknown;
|
|
2408
3009
|
}, {
|
|
2409
3010
|
error: string | null;
|
|
2410
|
-
|
|
2411
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3011
|
+
name: string;
|
|
3012
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2412
3013
|
detail: string | null;
|
|
2413
3014
|
payload?: unknown;
|
|
2414
3015
|
}>, "many">;
|
|
@@ -2422,8 +3023,8 @@ export declare const startConnectResult: z.ZodUnion<[z.ZodObject<{
|
|
|
2422
3023
|
local_only: boolean;
|
|
2423
3024
|
results: {
|
|
2424
3025
|
error: string | null;
|
|
2425
|
-
|
|
2426
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3026
|
+
name: string;
|
|
3027
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2427
3028
|
detail: string | null;
|
|
2428
3029
|
payload?: unknown;
|
|
2429
3030
|
}[];
|
|
@@ -2435,8 +3036,8 @@ export declare const startConnectResult: z.ZodUnion<[z.ZodObject<{
|
|
|
2435
3036
|
local_only: boolean;
|
|
2436
3037
|
results: {
|
|
2437
3038
|
error: string | null;
|
|
2438
|
-
|
|
2439
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3039
|
+
name: string;
|
|
3040
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2440
3041
|
detail: string | null;
|
|
2441
3042
|
payload?: unknown;
|
|
2442
3043
|
}[];
|
|
@@ -2446,21 +3047,21 @@ export declare const startConnectResult: z.ZodUnion<[z.ZodObject<{
|
|
|
2446
3047
|
reachable: z.ZodBoolean;
|
|
2447
3048
|
local_only: z.ZodBoolean;
|
|
2448
3049
|
results: z.ZodArray<z.ZodObject<{
|
|
2449
|
-
|
|
2450
|
-
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out"]>;
|
|
3050
|
+
name: z.ZodString;
|
|
3051
|
+
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out", "resyncing", "recycling", "stale"]>;
|
|
2451
3052
|
payload: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
2452
3053
|
error: z.ZodNullable<z.ZodString>;
|
|
2453
3054
|
detail: z.ZodNullable<z.ZodString>;
|
|
2454
3055
|
}, "strip", z.ZodTypeAny, {
|
|
2455
3056
|
error: string | null;
|
|
2456
|
-
|
|
2457
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3057
|
+
name: string;
|
|
3058
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2458
3059
|
detail: string | null;
|
|
2459
3060
|
payload?: unknown;
|
|
2460
3061
|
}, {
|
|
2461
3062
|
error: string | null;
|
|
2462
|
-
|
|
2463
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3063
|
+
name: string;
|
|
3064
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2464
3065
|
detail: string | null;
|
|
2465
3066
|
payload?: unknown;
|
|
2466
3067
|
}>, "many">;
|
|
@@ -2474,8 +3075,8 @@ export declare const startConnectResult: z.ZodUnion<[z.ZodObject<{
|
|
|
2474
3075
|
local_only: boolean;
|
|
2475
3076
|
results: {
|
|
2476
3077
|
error: string | null;
|
|
2477
|
-
|
|
2478
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3078
|
+
name: string;
|
|
3079
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2479
3080
|
detail: string | null;
|
|
2480
3081
|
payload?: unknown;
|
|
2481
3082
|
}[];
|
|
@@ -2487,8 +3088,8 @@ export declare const startConnectResult: z.ZodUnion<[z.ZodObject<{
|
|
|
2487
3088
|
local_only: boolean;
|
|
2488
3089
|
results: {
|
|
2489
3090
|
error: string | null;
|
|
2490
|
-
|
|
2491
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3091
|
+
name: string;
|
|
3092
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2492
3093
|
detail: string | null;
|
|
2493
3094
|
payload?: unknown;
|
|
2494
3095
|
}[];
|
|
@@ -2506,8 +3107,8 @@ export declare const startConnectResult: z.ZodUnion<[z.ZodObject<{
|
|
|
2506
3107
|
local_only: boolean;
|
|
2507
3108
|
results: {
|
|
2508
3109
|
error: string | null;
|
|
2509
|
-
|
|
2510
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3110
|
+
name: string;
|
|
3111
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2511
3112
|
detail: string | null;
|
|
2512
3113
|
payload?: unknown;
|
|
2513
3114
|
}[];
|
|
@@ -2519,8 +3120,8 @@ export declare const startConnectResult: z.ZodUnion<[z.ZodObject<{
|
|
|
2519
3120
|
local_only: boolean;
|
|
2520
3121
|
results: {
|
|
2521
3122
|
error: string | null;
|
|
2522
|
-
|
|
2523
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3123
|
+
name: string;
|
|
3124
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2524
3125
|
detail: string | null;
|
|
2525
3126
|
payload?: unknown;
|
|
2526
3127
|
}[];
|
|
@@ -2539,8 +3140,8 @@ export declare const startConnectResult: z.ZodUnion<[z.ZodObject<{
|
|
|
2539
3140
|
local_only: boolean;
|
|
2540
3141
|
results: {
|
|
2541
3142
|
error: string | null;
|
|
2542
|
-
|
|
2543
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3143
|
+
name: string;
|
|
3144
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2544
3145
|
detail: string | null;
|
|
2545
3146
|
payload?: unknown;
|
|
2546
3147
|
}[];
|
|
@@ -2552,8 +3153,8 @@ export declare const startConnectResult: z.ZodUnion<[z.ZodObject<{
|
|
|
2552
3153
|
local_only: boolean;
|
|
2553
3154
|
results: {
|
|
2554
3155
|
error: string | null;
|
|
2555
|
-
|
|
2556
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3156
|
+
name: string;
|
|
3157
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2557
3158
|
detail: string | null;
|
|
2558
3159
|
payload?: unknown;
|
|
2559
3160
|
}[];
|
|
@@ -2590,21 +3191,21 @@ export declare const disconnectResult: z.ZodObject<{
|
|
|
2590
3191
|
reachable: z.ZodBoolean;
|
|
2591
3192
|
local_only: z.ZodBoolean;
|
|
2592
3193
|
results: z.ZodArray<z.ZodObject<{
|
|
2593
|
-
|
|
2594
|
-
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out"]>;
|
|
3194
|
+
name: z.ZodString;
|
|
3195
|
+
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out", "resyncing", "recycling", "stale"]>;
|
|
2595
3196
|
payload: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
2596
3197
|
error: z.ZodNullable<z.ZodString>;
|
|
2597
3198
|
detail: z.ZodNullable<z.ZodString>;
|
|
2598
3199
|
}, "strip", z.ZodTypeAny, {
|
|
2599
3200
|
error: string | null;
|
|
2600
|
-
|
|
2601
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3201
|
+
name: string;
|
|
3202
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2602
3203
|
detail: string | null;
|
|
2603
3204
|
payload?: unknown;
|
|
2604
3205
|
}, {
|
|
2605
3206
|
error: string | null;
|
|
2606
|
-
|
|
2607
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3207
|
+
name: string;
|
|
3208
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2608
3209
|
detail: string | null;
|
|
2609
3210
|
payload?: unknown;
|
|
2610
3211
|
}>, "many">;
|
|
@@ -2618,8 +3219,8 @@ export declare const disconnectResult: z.ZodObject<{
|
|
|
2618
3219
|
local_only: boolean;
|
|
2619
3220
|
results: {
|
|
2620
3221
|
error: string | null;
|
|
2621
|
-
|
|
2622
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3222
|
+
name: string;
|
|
3223
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2623
3224
|
detail: string | null;
|
|
2624
3225
|
payload?: unknown;
|
|
2625
3226
|
}[];
|
|
@@ -2631,8 +3232,8 @@ export declare const disconnectResult: z.ZodObject<{
|
|
|
2631
3232
|
local_only: boolean;
|
|
2632
3233
|
results: {
|
|
2633
3234
|
error: string | null;
|
|
2634
|
-
|
|
2635
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3235
|
+
name: string;
|
|
3236
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2636
3237
|
detail: string | null;
|
|
2637
3238
|
payload?: unknown;
|
|
2638
3239
|
}[];
|
|
@@ -2642,21 +3243,21 @@ export declare const disconnectResult: z.ZodObject<{
|
|
|
2642
3243
|
reachable: z.ZodBoolean;
|
|
2643
3244
|
local_only: z.ZodBoolean;
|
|
2644
3245
|
results: z.ZodArray<z.ZodObject<{
|
|
2645
|
-
|
|
2646
|
-
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out"]>;
|
|
3246
|
+
name: z.ZodString;
|
|
3247
|
+
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out", "resyncing", "recycling", "stale"]>;
|
|
2647
3248
|
payload: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
2648
3249
|
error: z.ZodNullable<z.ZodString>;
|
|
2649
3250
|
detail: z.ZodNullable<z.ZodString>;
|
|
2650
3251
|
}, "strip", z.ZodTypeAny, {
|
|
2651
3252
|
error: string | null;
|
|
2652
|
-
|
|
2653
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3253
|
+
name: string;
|
|
3254
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2654
3255
|
detail: string | null;
|
|
2655
3256
|
payload?: unknown;
|
|
2656
3257
|
}, {
|
|
2657
3258
|
error: string | null;
|
|
2658
|
-
|
|
2659
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3259
|
+
name: string;
|
|
3260
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2660
3261
|
detail: string | null;
|
|
2661
3262
|
payload?: unknown;
|
|
2662
3263
|
}>, "many">;
|
|
@@ -2670,8 +3271,8 @@ export declare const disconnectResult: z.ZodObject<{
|
|
|
2670
3271
|
local_only: boolean;
|
|
2671
3272
|
results: {
|
|
2672
3273
|
error: string | null;
|
|
2673
|
-
|
|
2674
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3274
|
+
name: string;
|
|
3275
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2675
3276
|
detail: string | null;
|
|
2676
3277
|
payload?: unknown;
|
|
2677
3278
|
}[];
|
|
@@ -2683,8 +3284,8 @@ export declare const disconnectResult: z.ZodObject<{
|
|
|
2683
3284
|
local_only: boolean;
|
|
2684
3285
|
results: {
|
|
2685
3286
|
error: string | null;
|
|
2686
|
-
|
|
2687
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3287
|
+
name: string;
|
|
3288
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2688
3289
|
detail: string | null;
|
|
2689
3290
|
payload?: unknown;
|
|
2690
3291
|
}[];
|
|
@@ -2702,8 +3303,8 @@ export declare const disconnectResult: z.ZodObject<{
|
|
|
2702
3303
|
local_only: boolean;
|
|
2703
3304
|
results: {
|
|
2704
3305
|
error: string | null;
|
|
2705
|
-
|
|
2706
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3306
|
+
name: string;
|
|
3307
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2707
3308
|
detail: string | null;
|
|
2708
3309
|
payload?: unknown;
|
|
2709
3310
|
}[];
|
|
@@ -2715,8 +3316,8 @@ export declare const disconnectResult: z.ZodObject<{
|
|
|
2715
3316
|
local_only: boolean;
|
|
2716
3317
|
results: {
|
|
2717
3318
|
error: string | null;
|
|
2718
|
-
|
|
2719
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3319
|
+
name: string;
|
|
3320
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2720
3321
|
detail: string | null;
|
|
2721
3322
|
payload?: unknown;
|
|
2722
3323
|
}[];
|
|
@@ -2737,8 +3338,8 @@ export declare const disconnectResult: z.ZodObject<{
|
|
|
2737
3338
|
local_only: boolean;
|
|
2738
3339
|
results: {
|
|
2739
3340
|
error: string | null;
|
|
2740
|
-
|
|
2741
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3341
|
+
name: string;
|
|
3342
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2742
3343
|
detail: string | null;
|
|
2743
3344
|
payload?: unknown;
|
|
2744
3345
|
}[];
|
|
@@ -2750,8 +3351,8 @@ export declare const disconnectResult: z.ZodObject<{
|
|
|
2750
3351
|
local_only: boolean;
|
|
2751
3352
|
results: {
|
|
2752
3353
|
error: string | null;
|
|
2753
|
-
|
|
2754
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3354
|
+
name: string;
|
|
3355
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2755
3356
|
detail: string | null;
|
|
2756
3357
|
payload?: unknown;
|
|
2757
3358
|
}[];
|
|
@@ -2783,21 +3384,21 @@ export declare const patchSubServicesResult: z.ZodObject<{
|
|
|
2783
3384
|
reachable: z.ZodBoolean;
|
|
2784
3385
|
local_only: z.ZodBoolean;
|
|
2785
3386
|
results: z.ZodArray<z.ZodObject<{
|
|
2786
|
-
|
|
2787
|
-
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out"]>;
|
|
3387
|
+
name: z.ZodString;
|
|
3388
|
+
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out", "resyncing", "recycling", "stale"]>;
|
|
2788
3389
|
payload: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
2789
3390
|
error: z.ZodNullable<z.ZodString>;
|
|
2790
3391
|
detail: z.ZodNullable<z.ZodString>;
|
|
2791
3392
|
}, "strip", z.ZodTypeAny, {
|
|
2792
3393
|
error: string | null;
|
|
2793
|
-
|
|
2794
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3394
|
+
name: string;
|
|
3395
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2795
3396
|
detail: string | null;
|
|
2796
3397
|
payload?: unknown;
|
|
2797
3398
|
}, {
|
|
2798
3399
|
error: string | null;
|
|
2799
|
-
|
|
2800
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3400
|
+
name: string;
|
|
3401
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2801
3402
|
detail: string | null;
|
|
2802
3403
|
payload?: unknown;
|
|
2803
3404
|
}>, "many">;
|
|
@@ -2811,8 +3412,8 @@ export declare const patchSubServicesResult: z.ZodObject<{
|
|
|
2811
3412
|
local_only: boolean;
|
|
2812
3413
|
results: {
|
|
2813
3414
|
error: string | null;
|
|
2814
|
-
|
|
2815
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3415
|
+
name: string;
|
|
3416
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2816
3417
|
detail: string | null;
|
|
2817
3418
|
payload?: unknown;
|
|
2818
3419
|
}[];
|
|
@@ -2824,8 +3425,8 @@ export declare const patchSubServicesResult: z.ZodObject<{
|
|
|
2824
3425
|
local_only: boolean;
|
|
2825
3426
|
results: {
|
|
2826
3427
|
error: string | null;
|
|
2827
|
-
|
|
2828
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3428
|
+
name: string;
|
|
3429
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2829
3430
|
detail: string | null;
|
|
2830
3431
|
payload?: unknown;
|
|
2831
3432
|
}[];
|
|
@@ -2835,21 +3436,21 @@ export declare const patchSubServicesResult: z.ZodObject<{
|
|
|
2835
3436
|
reachable: z.ZodBoolean;
|
|
2836
3437
|
local_only: z.ZodBoolean;
|
|
2837
3438
|
results: z.ZodArray<z.ZodObject<{
|
|
2838
|
-
|
|
2839
|
-
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out"]>;
|
|
3439
|
+
name: z.ZodString;
|
|
3440
|
+
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out", "resyncing", "recycling", "stale"]>;
|
|
2840
3441
|
payload: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
2841
3442
|
error: z.ZodNullable<z.ZodString>;
|
|
2842
3443
|
detail: z.ZodNullable<z.ZodString>;
|
|
2843
3444
|
}, "strip", z.ZodTypeAny, {
|
|
2844
3445
|
error: string | null;
|
|
2845
|
-
|
|
2846
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3446
|
+
name: string;
|
|
3447
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2847
3448
|
detail: string | null;
|
|
2848
3449
|
payload?: unknown;
|
|
2849
3450
|
}, {
|
|
2850
3451
|
error: string | null;
|
|
2851
|
-
|
|
2852
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3452
|
+
name: string;
|
|
3453
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2853
3454
|
detail: string | null;
|
|
2854
3455
|
payload?: unknown;
|
|
2855
3456
|
}>, "many">;
|
|
@@ -2863,8 +3464,8 @@ export declare const patchSubServicesResult: z.ZodObject<{
|
|
|
2863
3464
|
local_only: boolean;
|
|
2864
3465
|
results: {
|
|
2865
3466
|
error: string | null;
|
|
2866
|
-
|
|
2867
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3467
|
+
name: string;
|
|
3468
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2868
3469
|
detail: string | null;
|
|
2869
3470
|
payload?: unknown;
|
|
2870
3471
|
}[];
|
|
@@ -2876,8 +3477,8 @@ export declare const patchSubServicesResult: z.ZodObject<{
|
|
|
2876
3477
|
local_only: boolean;
|
|
2877
3478
|
results: {
|
|
2878
3479
|
error: string | null;
|
|
2879
|
-
|
|
2880
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3480
|
+
name: string;
|
|
3481
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2881
3482
|
detail: string | null;
|
|
2882
3483
|
payload?: unknown;
|
|
2883
3484
|
}[];
|
|
@@ -2895,8 +3496,8 @@ export declare const patchSubServicesResult: z.ZodObject<{
|
|
|
2895
3496
|
local_only: boolean;
|
|
2896
3497
|
results: {
|
|
2897
3498
|
error: string | null;
|
|
2898
|
-
|
|
2899
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3499
|
+
name: string;
|
|
3500
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2900
3501
|
detail: string | null;
|
|
2901
3502
|
payload?: unknown;
|
|
2902
3503
|
}[];
|
|
@@ -2908,8 +3509,8 @@ export declare const patchSubServicesResult: z.ZodObject<{
|
|
|
2908
3509
|
local_only: boolean;
|
|
2909
3510
|
results: {
|
|
2910
3511
|
error: string | null;
|
|
2911
|
-
|
|
2912
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3512
|
+
name: string;
|
|
3513
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2913
3514
|
detail: string | null;
|
|
2914
3515
|
payload?: unknown;
|
|
2915
3516
|
}[];
|
|
@@ -2933,8 +3534,8 @@ export declare const patchSubServicesResult: z.ZodObject<{
|
|
|
2933
3534
|
local_only: boolean;
|
|
2934
3535
|
results: {
|
|
2935
3536
|
error: string | null;
|
|
2936
|
-
|
|
2937
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3537
|
+
name: string;
|
|
3538
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2938
3539
|
detail: string | null;
|
|
2939
3540
|
payload?: unknown;
|
|
2940
3541
|
}[];
|
|
@@ -2946,8 +3547,8 @@ export declare const patchSubServicesResult: z.ZodObject<{
|
|
|
2946
3547
|
local_only: boolean;
|
|
2947
3548
|
results: {
|
|
2948
3549
|
error: string | null;
|
|
2949
|
-
|
|
2950
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3550
|
+
name: string;
|
|
3551
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2951
3552
|
detail: string | null;
|
|
2952
3553
|
payload?: unknown;
|
|
2953
3554
|
}[];
|
|
@@ -2978,21 +3579,21 @@ export declare const oauthCompleteResult: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
2978
3579
|
reachable: z.ZodBoolean;
|
|
2979
3580
|
local_only: z.ZodBoolean;
|
|
2980
3581
|
results: z.ZodArray<z.ZodObject<{
|
|
2981
|
-
|
|
2982
|
-
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out"]>;
|
|
3582
|
+
name: z.ZodString;
|
|
3583
|
+
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out", "resyncing", "recycling", "stale"]>;
|
|
2983
3584
|
payload: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
2984
3585
|
error: z.ZodNullable<z.ZodString>;
|
|
2985
3586
|
detail: z.ZodNullable<z.ZodString>;
|
|
2986
3587
|
}, "strip", z.ZodTypeAny, {
|
|
2987
3588
|
error: string | null;
|
|
2988
|
-
|
|
2989
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3589
|
+
name: string;
|
|
3590
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2990
3591
|
detail: string | null;
|
|
2991
3592
|
payload?: unknown;
|
|
2992
3593
|
}, {
|
|
2993
3594
|
error: string | null;
|
|
2994
|
-
|
|
2995
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3595
|
+
name: string;
|
|
3596
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
2996
3597
|
detail: string | null;
|
|
2997
3598
|
payload?: unknown;
|
|
2998
3599
|
}>, "many">;
|
|
@@ -3006,8 +3607,8 @@ export declare const oauthCompleteResult: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
3006
3607
|
local_only: boolean;
|
|
3007
3608
|
results: {
|
|
3008
3609
|
error: string | null;
|
|
3009
|
-
|
|
3010
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3610
|
+
name: string;
|
|
3611
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
3011
3612
|
detail: string | null;
|
|
3012
3613
|
payload?: unknown;
|
|
3013
3614
|
}[];
|
|
@@ -3019,8 +3620,8 @@ export declare const oauthCompleteResult: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
3019
3620
|
local_only: boolean;
|
|
3020
3621
|
results: {
|
|
3021
3622
|
error: string | null;
|
|
3022
|
-
|
|
3023
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3623
|
+
name: string;
|
|
3624
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
3024
3625
|
detail: string | null;
|
|
3025
3626
|
payload?: unknown;
|
|
3026
3627
|
}[];
|
|
@@ -3030,21 +3631,21 @@ export declare const oauthCompleteResult: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
3030
3631
|
reachable: z.ZodBoolean;
|
|
3031
3632
|
local_only: z.ZodBoolean;
|
|
3032
3633
|
results: z.ZodArray<z.ZodObject<{
|
|
3033
|
-
|
|
3034
|
-
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out"]>;
|
|
3634
|
+
name: z.ZodString;
|
|
3635
|
+
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out", "resyncing", "recycling", "stale"]>;
|
|
3035
3636
|
payload: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
3036
3637
|
error: z.ZodNullable<z.ZodString>;
|
|
3037
3638
|
detail: z.ZodNullable<z.ZodString>;
|
|
3038
3639
|
}, "strip", z.ZodTypeAny, {
|
|
3039
3640
|
error: string | null;
|
|
3040
|
-
|
|
3041
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3641
|
+
name: string;
|
|
3642
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
3042
3643
|
detail: string | null;
|
|
3043
3644
|
payload?: unknown;
|
|
3044
3645
|
}, {
|
|
3045
3646
|
error: string | null;
|
|
3046
|
-
|
|
3047
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3647
|
+
name: string;
|
|
3648
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
3048
3649
|
detail: string | null;
|
|
3049
3650
|
payload?: unknown;
|
|
3050
3651
|
}>, "many">;
|
|
@@ -3058,8 +3659,8 @@ export declare const oauthCompleteResult: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
3058
3659
|
local_only: boolean;
|
|
3059
3660
|
results: {
|
|
3060
3661
|
error: string | null;
|
|
3061
|
-
|
|
3062
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3662
|
+
name: string;
|
|
3663
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
3063
3664
|
detail: string | null;
|
|
3064
3665
|
payload?: unknown;
|
|
3065
3666
|
}[];
|
|
@@ -3071,8 +3672,8 @@ export declare const oauthCompleteResult: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
3071
3672
|
local_only: boolean;
|
|
3072
3673
|
results: {
|
|
3073
3674
|
error: string | null;
|
|
3074
|
-
|
|
3075
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3675
|
+
name: string;
|
|
3676
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
3076
3677
|
detail: string | null;
|
|
3077
3678
|
payload?: unknown;
|
|
3078
3679
|
}[];
|
|
@@ -3091,8 +3692,8 @@ export declare const oauthCompleteResult: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
3091
3692
|
local_only: boolean;
|
|
3092
3693
|
results: {
|
|
3093
3694
|
error: string | null;
|
|
3094
|
-
|
|
3095
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3695
|
+
name: string;
|
|
3696
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
3096
3697
|
detail: string | null;
|
|
3097
3698
|
payload?: unknown;
|
|
3098
3699
|
}[];
|
|
@@ -3104,8 +3705,8 @@ export declare const oauthCompleteResult: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
3104
3705
|
local_only: boolean;
|
|
3105
3706
|
results: {
|
|
3106
3707
|
error: string | null;
|
|
3107
|
-
|
|
3108
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3708
|
+
name: string;
|
|
3709
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
3109
3710
|
detail: string | null;
|
|
3110
3711
|
payload?: unknown;
|
|
3111
3712
|
}[];
|
|
@@ -3125,8 +3726,8 @@ export declare const oauthCompleteResult: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
3125
3726
|
local_only: boolean;
|
|
3126
3727
|
results: {
|
|
3127
3728
|
error: string | null;
|
|
3128
|
-
|
|
3129
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3729
|
+
name: string;
|
|
3730
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
3130
3731
|
detail: string | null;
|
|
3131
3732
|
payload?: unknown;
|
|
3132
3733
|
}[];
|
|
@@ -3138,8 +3739,8 @@ export declare const oauthCompleteResult: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
3138
3739
|
local_only: boolean;
|
|
3139
3740
|
results: {
|
|
3140
3741
|
error: string | null;
|
|
3141
|
-
|
|
3142
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
3742
|
+
name: string;
|
|
3743
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
3143
3744
|
detail: string | null;
|
|
3144
3745
|
payload?: unknown;
|
|
3145
3746
|
}[];
|
|
@@ -3360,6 +3961,408 @@ export declare const channels: z.ZodObject<{
|
|
|
3360
3961
|
channels: string[];
|
|
3361
3962
|
}>;
|
|
3362
3963
|
export type Channels = z.infer<typeof channels>;
|
|
3964
|
+
/** The inbound door a route is bound to: the authed API, or a channel medium. */
|
|
3965
|
+
export declare const conversationDoor: z.ZodEnum<["api", "channel"]>;
|
|
3966
|
+
export type ConversationDoor = z.infer<typeof conversationDoor>;
|
|
3967
|
+
/** What a route's turn runs: a registered agent, or a tool dispatch. */
|
|
3968
|
+
export declare const conversationTargetKind: z.ZodEnum<["agent", "tool"]>;
|
|
3969
|
+
export type ConversationTargetKind = z.infer<typeof conversationTargetKind>;
|
|
3970
|
+
/**
|
|
3971
|
+
* Where a record sits between intake and a terminal outcome. `failed` is the one
|
|
3972
|
+
* the monitor surfaces loudly; `shed` and `silent` are terminal by design and
|
|
3973
|
+
* never send.
|
|
3974
|
+
*/
|
|
3975
|
+
export declare const conversationDeliveryStatus: z.ZodEnum<["accepted", "pending_delivery", "provisional", "delivered", "failed", "shed", "silent"]>;
|
|
3976
|
+
export type ConversationDeliveryStatus = z.infer<typeof conversationDeliveryStatus>;
|
|
3977
|
+
/** The nature of a turn's outcome, orthogonal to where its delivery stands. */
|
|
3978
|
+
export declare const conversationAnswerStatus: z.ZodEnum<["answered", "error", "silent"]>;
|
|
3979
|
+
export type ConversationAnswerStatus = z.infer<typeof conversationAnswerStatus>;
|
|
3980
|
+
/** A stored routing row as a read door returns it, its `callback_secret` withheld. */
|
|
3981
|
+
export declare const conversationRoute: z.ZodObject<{
|
|
3982
|
+
route_name: z.ZodString;
|
|
3983
|
+
door: z.ZodEnum<["api", "channel"]>;
|
|
3984
|
+
target_kind: z.ZodEnum<["agent", "tool"]>;
|
|
3985
|
+
target_name: z.ZodString;
|
|
3986
|
+
payload_expr: z.ZodNullable<z.ZodString>;
|
|
3987
|
+
reply_expr: z.ZodNullable<z.ZodString>;
|
|
3988
|
+
execution_key: z.ZodString;
|
|
3989
|
+
channel: z.ZodNullable<z.ZodString>;
|
|
3990
|
+
our_identity: z.ZodNullable<z.ZodString>;
|
|
3991
|
+
callback_url: z.ZodNullable<z.ZodString>;
|
|
3992
|
+
execution_key_fingerprint: z.ZodString;
|
|
3993
|
+
}, "strip", z.ZodTypeAny, {
|
|
3994
|
+
channel: string | null;
|
|
3995
|
+
route_name: string;
|
|
3996
|
+
door: "channel" | "api";
|
|
3997
|
+
target_kind: "tool" | "agent";
|
|
3998
|
+
target_name: string;
|
|
3999
|
+
payload_expr: string | null;
|
|
4000
|
+
reply_expr: string | null;
|
|
4001
|
+
execution_key: string;
|
|
4002
|
+
our_identity: string | null;
|
|
4003
|
+
callback_url: string | null;
|
|
4004
|
+
execution_key_fingerprint: string;
|
|
4005
|
+
}, {
|
|
4006
|
+
channel: string | null;
|
|
4007
|
+
route_name: string;
|
|
4008
|
+
door: "channel" | "api";
|
|
4009
|
+
target_kind: "tool" | "agent";
|
|
4010
|
+
target_name: string;
|
|
4011
|
+
payload_expr: string | null;
|
|
4012
|
+
reply_expr: string | null;
|
|
4013
|
+
execution_key: string;
|
|
4014
|
+
our_identity: string | null;
|
|
4015
|
+
callback_url: string | null;
|
|
4016
|
+
execution_key_fingerprint: string;
|
|
4017
|
+
}>;
|
|
4018
|
+
export type ConversationRoute = z.infer<typeof conversationRoute>;
|
|
4019
|
+
export declare const conversationRoutes: z.ZodObject<{
|
|
4020
|
+
items: z.ZodArray<z.ZodObject<{
|
|
4021
|
+
route_name: z.ZodString;
|
|
4022
|
+
door: z.ZodEnum<["api", "channel"]>;
|
|
4023
|
+
target_kind: z.ZodEnum<["agent", "tool"]>;
|
|
4024
|
+
target_name: z.ZodString;
|
|
4025
|
+
payload_expr: z.ZodNullable<z.ZodString>;
|
|
4026
|
+
reply_expr: z.ZodNullable<z.ZodString>;
|
|
4027
|
+
execution_key: z.ZodString;
|
|
4028
|
+
channel: z.ZodNullable<z.ZodString>;
|
|
4029
|
+
our_identity: z.ZodNullable<z.ZodString>;
|
|
4030
|
+
callback_url: z.ZodNullable<z.ZodString>;
|
|
4031
|
+
execution_key_fingerprint: z.ZodString;
|
|
4032
|
+
}, "strip", z.ZodTypeAny, {
|
|
4033
|
+
channel: string | null;
|
|
4034
|
+
route_name: string;
|
|
4035
|
+
door: "channel" | "api";
|
|
4036
|
+
target_kind: "tool" | "agent";
|
|
4037
|
+
target_name: string;
|
|
4038
|
+
payload_expr: string | null;
|
|
4039
|
+
reply_expr: string | null;
|
|
4040
|
+
execution_key: string;
|
|
4041
|
+
our_identity: string | null;
|
|
4042
|
+
callback_url: string | null;
|
|
4043
|
+
execution_key_fingerprint: string;
|
|
4044
|
+
}, {
|
|
4045
|
+
channel: string | null;
|
|
4046
|
+
route_name: string;
|
|
4047
|
+
door: "channel" | "api";
|
|
4048
|
+
target_kind: "tool" | "agent";
|
|
4049
|
+
target_name: string;
|
|
4050
|
+
payload_expr: string | null;
|
|
4051
|
+
reply_expr: string | null;
|
|
4052
|
+
execution_key: string;
|
|
4053
|
+
our_identity: string | null;
|
|
4054
|
+
callback_url: string | null;
|
|
4055
|
+
execution_key_fingerprint: string;
|
|
4056
|
+
}>, "many">;
|
|
4057
|
+
total: z.ZodNumber;
|
|
4058
|
+
}, "strip", z.ZodTypeAny, {
|
|
4059
|
+
items: {
|
|
4060
|
+
channel: string | null;
|
|
4061
|
+
route_name: string;
|
|
4062
|
+
door: "channel" | "api";
|
|
4063
|
+
target_kind: "tool" | "agent";
|
|
4064
|
+
target_name: string;
|
|
4065
|
+
payload_expr: string | null;
|
|
4066
|
+
reply_expr: string | null;
|
|
4067
|
+
execution_key: string;
|
|
4068
|
+
our_identity: string | null;
|
|
4069
|
+
callback_url: string | null;
|
|
4070
|
+
execution_key_fingerprint: string;
|
|
4071
|
+
}[];
|
|
4072
|
+
total: number;
|
|
4073
|
+
}, {
|
|
4074
|
+
items: {
|
|
4075
|
+
channel: string | null;
|
|
4076
|
+
route_name: string;
|
|
4077
|
+
door: "channel" | "api";
|
|
4078
|
+
target_kind: "tool" | "agent";
|
|
4079
|
+
target_name: string;
|
|
4080
|
+
payload_expr: string | null;
|
|
4081
|
+
reply_expr: string | null;
|
|
4082
|
+
execution_key: string;
|
|
4083
|
+
our_identity: string | null;
|
|
4084
|
+
callback_url: string | null;
|
|
4085
|
+
execution_key_fingerprint: string;
|
|
4086
|
+
}[];
|
|
4087
|
+
total: number;
|
|
4088
|
+
}>;
|
|
4089
|
+
export type ConversationRoutes = z.infer<typeof conversationRoutes>;
|
|
4090
|
+
/**
|
|
4091
|
+
* One thread of a route, summarized from its newest record. A `thread_id` holds
|
|
4092
|
+
* an api-door address (`{principal}/{end user}`, percent-encoded), so it never
|
|
4093
|
+
* goes back into a URL as a path segment — the transcript door takes it as a
|
|
4094
|
+
* query value.
|
|
4095
|
+
*/
|
|
4096
|
+
export declare const conversationThread: z.ZodObject<{
|
|
4097
|
+
thread_id: z.ZodString;
|
|
4098
|
+
client_address: z.ZodString;
|
|
4099
|
+
last_activity_at: z.ZodNumber;
|
|
4100
|
+
message_count: z.ZodNumber;
|
|
4101
|
+
last_delivery_status: z.ZodEnum<["accepted", "pending_delivery", "provisional", "delivered", "failed", "shed", "silent"]>;
|
|
4102
|
+
}, "strip", z.ZodTypeAny, {
|
|
4103
|
+
thread_id: string;
|
|
4104
|
+
client_address: string;
|
|
4105
|
+
last_activity_at: number;
|
|
4106
|
+
message_count: number;
|
|
4107
|
+
last_delivery_status: "failed" | "accepted" | "pending_delivery" | "provisional" | "delivered" | "shed" | "silent";
|
|
4108
|
+
}, {
|
|
4109
|
+
thread_id: string;
|
|
4110
|
+
client_address: string;
|
|
4111
|
+
last_activity_at: number;
|
|
4112
|
+
message_count: number;
|
|
4113
|
+
last_delivery_status: "failed" | "accepted" | "pending_delivery" | "provisional" | "delivered" | "shed" | "silent";
|
|
4114
|
+
}>;
|
|
4115
|
+
export type ConversationThread = z.infer<typeof conversationThread>;
|
|
4116
|
+
export declare const conversationThreadsPage: z.ZodObject<{
|
|
4117
|
+
total: z.ZodNumber;
|
|
4118
|
+
page: z.ZodNumber;
|
|
4119
|
+
page_size: z.ZodNumber;
|
|
4120
|
+
next_page: z.ZodNullable<z.ZodNumber>;
|
|
4121
|
+
items: z.ZodArray<z.ZodObject<{
|
|
4122
|
+
thread_id: z.ZodString;
|
|
4123
|
+
client_address: z.ZodString;
|
|
4124
|
+
last_activity_at: z.ZodNumber;
|
|
4125
|
+
message_count: z.ZodNumber;
|
|
4126
|
+
last_delivery_status: z.ZodEnum<["accepted", "pending_delivery", "provisional", "delivered", "failed", "shed", "silent"]>;
|
|
4127
|
+
}, "strip", z.ZodTypeAny, {
|
|
4128
|
+
thread_id: string;
|
|
4129
|
+
client_address: string;
|
|
4130
|
+
last_activity_at: number;
|
|
4131
|
+
message_count: number;
|
|
4132
|
+
last_delivery_status: "failed" | "accepted" | "pending_delivery" | "provisional" | "delivered" | "shed" | "silent";
|
|
4133
|
+
}, {
|
|
4134
|
+
thread_id: string;
|
|
4135
|
+
client_address: string;
|
|
4136
|
+
last_activity_at: number;
|
|
4137
|
+
message_count: number;
|
|
4138
|
+
last_delivery_status: "failed" | "accepted" | "pending_delivery" | "provisional" | "delivered" | "shed" | "silent";
|
|
4139
|
+
}>, "many">;
|
|
4140
|
+
}, "strip", z.ZodTypeAny, {
|
|
4141
|
+
items: {
|
|
4142
|
+
thread_id: string;
|
|
4143
|
+
client_address: string;
|
|
4144
|
+
last_activity_at: number;
|
|
4145
|
+
message_count: number;
|
|
4146
|
+
last_delivery_status: "failed" | "accepted" | "pending_delivery" | "provisional" | "delivered" | "shed" | "silent";
|
|
4147
|
+
}[];
|
|
4148
|
+
total: number;
|
|
4149
|
+
page: number;
|
|
4150
|
+
page_size: number;
|
|
4151
|
+
next_page: number | null;
|
|
4152
|
+
}, {
|
|
4153
|
+
items: {
|
|
4154
|
+
thread_id: string;
|
|
4155
|
+
client_address: string;
|
|
4156
|
+
last_activity_at: number;
|
|
4157
|
+
message_count: number;
|
|
4158
|
+
last_delivery_status: "failed" | "accepted" | "pending_delivery" | "provisional" | "delivered" | "shed" | "silent";
|
|
4159
|
+
}[];
|
|
4160
|
+
total: number;
|
|
4161
|
+
page: number;
|
|
4162
|
+
page_size: number;
|
|
4163
|
+
next_page: number | null;
|
|
4164
|
+
}>;
|
|
4165
|
+
export type ConversationThreadsPage = z.infer<typeof conversationThreadsPage>;
|
|
4166
|
+
/**
|
|
4167
|
+
* One exchange: the visitor's `inbound_text` — every record answers a message, so
|
|
4168
|
+
* both projections always carry it — and the agent's `answer`, plus where that
|
|
4169
|
+
* answer's delivery stands. The fields after `updated_at` are ADMIN ONLY —
|
|
4170
|
+
* the same door serves a caller-scoped projection that withholds them — so they
|
|
4171
|
+
* are optional here and absence means "not published to this reader".
|
|
4172
|
+
*/
|
|
4173
|
+
export declare const conversationMessage: z.ZodObject<{
|
|
4174
|
+
message_id: z.ZodString;
|
|
4175
|
+
route_name: z.ZodString;
|
|
4176
|
+
door: z.ZodEnum<["api", "channel"]>;
|
|
4177
|
+
thread_id: z.ZodString;
|
|
4178
|
+
client_address: z.ZodString;
|
|
4179
|
+
caller_principal: z.ZodNullable<z.ZodString>;
|
|
4180
|
+
inbound_text: z.ZodString;
|
|
4181
|
+
answer_status: z.ZodNullable<z.ZodEnum<["answered", "error", "silent"]>>;
|
|
4182
|
+
answer: z.ZodNullable<z.ZodString>;
|
|
4183
|
+
delivery_status: z.ZodEnum<["accepted", "pending_delivery", "provisional", "delivered", "failed", "shed", "silent"]>;
|
|
4184
|
+
created_at: z.ZodNumber;
|
|
4185
|
+
updated_at: z.ZodNumber;
|
|
4186
|
+
channel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4187
|
+
our_identity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4188
|
+
provider_message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4189
|
+
callback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4190
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4191
|
+
outbound_message_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4192
|
+
attempts: z.ZodOptional<z.ZodNumber>;
|
|
4193
|
+
}, "strip", z.ZodTypeAny, {
|
|
4194
|
+
created_at: number;
|
|
4195
|
+
route_name: string;
|
|
4196
|
+
door: "channel" | "api";
|
|
4197
|
+
thread_id: string;
|
|
4198
|
+
client_address: string;
|
|
4199
|
+
message_id: string;
|
|
4200
|
+
caller_principal: string | null;
|
|
4201
|
+
inbound_text: string;
|
|
4202
|
+
answer_status: "error" | "silent" | "answered" | null;
|
|
4203
|
+
answer: string | null;
|
|
4204
|
+
delivery_status: "failed" | "accepted" | "pending_delivery" | "provisional" | "delivered" | "shed" | "silent";
|
|
4205
|
+
updated_at: number;
|
|
4206
|
+
error?: string | null | undefined;
|
|
4207
|
+
channel?: string | null | undefined;
|
|
4208
|
+
our_identity?: string | null | undefined;
|
|
4209
|
+
callback_url?: string | null | undefined;
|
|
4210
|
+
provider_message_id?: string | null | undefined;
|
|
4211
|
+
outbound_message_ids?: string[] | undefined;
|
|
4212
|
+
attempts?: number | undefined;
|
|
4213
|
+
}, {
|
|
4214
|
+
created_at: number;
|
|
4215
|
+
route_name: string;
|
|
4216
|
+
door: "channel" | "api";
|
|
4217
|
+
thread_id: string;
|
|
4218
|
+
client_address: string;
|
|
4219
|
+
message_id: string;
|
|
4220
|
+
caller_principal: string | null;
|
|
4221
|
+
inbound_text: string;
|
|
4222
|
+
answer_status: "error" | "silent" | "answered" | null;
|
|
4223
|
+
answer: string | null;
|
|
4224
|
+
delivery_status: "failed" | "accepted" | "pending_delivery" | "provisional" | "delivered" | "shed" | "silent";
|
|
4225
|
+
updated_at: number;
|
|
4226
|
+
error?: string | null | undefined;
|
|
4227
|
+
channel?: string | null | undefined;
|
|
4228
|
+
our_identity?: string | null | undefined;
|
|
4229
|
+
callback_url?: string | null | undefined;
|
|
4230
|
+
provider_message_id?: string | null | undefined;
|
|
4231
|
+
outbound_message_ids?: string[] | undefined;
|
|
4232
|
+
attempts?: number | undefined;
|
|
4233
|
+
}>;
|
|
4234
|
+
export type ConversationMessage = z.infer<typeof conversationMessage>;
|
|
4235
|
+
/**
|
|
4236
|
+
* The direction a transcript page reads in. `asc` is the reading order (oldest
|
|
4237
|
+
* first); `desc` is the live-tail order, where page 1 is always the newest page
|
|
4238
|
+
* and paging forward walks BACKWARDS through the thread's history.
|
|
4239
|
+
*/
|
|
4240
|
+
export declare const transcriptOrder: z.ZodEnum<["asc", "desc"]>;
|
|
4241
|
+
export type TranscriptOrder = z.infer<typeof transcriptOrder>;
|
|
4242
|
+
/** A transcript page, echoing the order it was read in. */
|
|
4243
|
+
export declare const conversationTranscriptPage: z.ZodObject<{
|
|
4244
|
+
order: z.ZodEnum<["asc", "desc"]>;
|
|
4245
|
+
total: z.ZodNumber;
|
|
4246
|
+
page: z.ZodNumber;
|
|
4247
|
+
page_size: z.ZodNumber;
|
|
4248
|
+
next_page: z.ZodNullable<z.ZodNumber>;
|
|
4249
|
+
items: z.ZodArray<z.ZodObject<{
|
|
4250
|
+
message_id: z.ZodString;
|
|
4251
|
+
route_name: z.ZodString;
|
|
4252
|
+
door: z.ZodEnum<["api", "channel"]>;
|
|
4253
|
+
thread_id: z.ZodString;
|
|
4254
|
+
client_address: z.ZodString;
|
|
4255
|
+
caller_principal: z.ZodNullable<z.ZodString>;
|
|
4256
|
+
inbound_text: z.ZodString;
|
|
4257
|
+
answer_status: z.ZodNullable<z.ZodEnum<["answered", "error", "silent"]>>;
|
|
4258
|
+
answer: z.ZodNullable<z.ZodString>;
|
|
4259
|
+
delivery_status: z.ZodEnum<["accepted", "pending_delivery", "provisional", "delivered", "failed", "shed", "silent"]>;
|
|
4260
|
+
created_at: z.ZodNumber;
|
|
4261
|
+
updated_at: z.ZodNumber;
|
|
4262
|
+
channel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4263
|
+
our_identity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4264
|
+
provider_message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4265
|
+
callback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4266
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4267
|
+
outbound_message_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4268
|
+
attempts: z.ZodOptional<z.ZodNumber>;
|
|
4269
|
+
}, "strip", z.ZodTypeAny, {
|
|
4270
|
+
created_at: number;
|
|
4271
|
+
route_name: string;
|
|
4272
|
+
door: "channel" | "api";
|
|
4273
|
+
thread_id: string;
|
|
4274
|
+
client_address: string;
|
|
4275
|
+
message_id: string;
|
|
4276
|
+
caller_principal: string | null;
|
|
4277
|
+
inbound_text: string;
|
|
4278
|
+
answer_status: "error" | "silent" | "answered" | null;
|
|
4279
|
+
answer: string | null;
|
|
4280
|
+
delivery_status: "failed" | "accepted" | "pending_delivery" | "provisional" | "delivered" | "shed" | "silent";
|
|
4281
|
+
updated_at: number;
|
|
4282
|
+
error?: string | null | undefined;
|
|
4283
|
+
channel?: string | null | undefined;
|
|
4284
|
+
our_identity?: string | null | undefined;
|
|
4285
|
+
callback_url?: string | null | undefined;
|
|
4286
|
+
provider_message_id?: string | null | undefined;
|
|
4287
|
+
outbound_message_ids?: string[] | undefined;
|
|
4288
|
+
attempts?: number | undefined;
|
|
4289
|
+
}, {
|
|
4290
|
+
created_at: number;
|
|
4291
|
+
route_name: string;
|
|
4292
|
+
door: "channel" | "api";
|
|
4293
|
+
thread_id: string;
|
|
4294
|
+
client_address: string;
|
|
4295
|
+
message_id: string;
|
|
4296
|
+
caller_principal: string | null;
|
|
4297
|
+
inbound_text: string;
|
|
4298
|
+
answer_status: "error" | "silent" | "answered" | null;
|
|
4299
|
+
answer: string | null;
|
|
4300
|
+
delivery_status: "failed" | "accepted" | "pending_delivery" | "provisional" | "delivered" | "shed" | "silent";
|
|
4301
|
+
updated_at: number;
|
|
4302
|
+
error?: string | null | undefined;
|
|
4303
|
+
channel?: string | null | undefined;
|
|
4304
|
+
our_identity?: string | null | undefined;
|
|
4305
|
+
callback_url?: string | null | undefined;
|
|
4306
|
+
provider_message_id?: string | null | undefined;
|
|
4307
|
+
outbound_message_ids?: string[] | undefined;
|
|
4308
|
+
attempts?: number | undefined;
|
|
4309
|
+
}>, "many">;
|
|
4310
|
+
}, "strip", z.ZodTypeAny, {
|
|
4311
|
+
items: {
|
|
4312
|
+
created_at: number;
|
|
4313
|
+
route_name: string;
|
|
4314
|
+
door: "channel" | "api";
|
|
4315
|
+
thread_id: string;
|
|
4316
|
+
client_address: string;
|
|
4317
|
+
message_id: string;
|
|
4318
|
+
caller_principal: string | null;
|
|
4319
|
+
inbound_text: string;
|
|
4320
|
+
answer_status: "error" | "silent" | "answered" | null;
|
|
4321
|
+
answer: string | null;
|
|
4322
|
+
delivery_status: "failed" | "accepted" | "pending_delivery" | "provisional" | "delivered" | "shed" | "silent";
|
|
4323
|
+
updated_at: number;
|
|
4324
|
+
error?: string | null | undefined;
|
|
4325
|
+
channel?: string | null | undefined;
|
|
4326
|
+
our_identity?: string | null | undefined;
|
|
4327
|
+
callback_url?: string | null | undefined;
|
|
4328
|
+
provider_message_id?: string | null | undefined;
|
|
4329
|
+
outbound_message_ids?: string[] | undefined;
|
|
4330
|
+
attempts?: number | undefined;
|
|
4331
|
+
}[];
|
|
4332
|
+
total: number;
|
|
4333
|
+
page: number;
|
|
4334
|
+
page_size: number;
|
|
4335
|
+
next_page: number | null;
|
|
4336
|
+
order: "asc" | "desc";
|
|
4337
|
+
}, {
|
|
4338
|
+
items: {
|
|
4339
|
+
created_at: number;
|
|
4340
|
+
route_name: string;
|
|
4341
|
+
door: "channel" | "api";
|
|
4342
|
+
thread_id: string;
|
|
4343
|
+
client_address: string;
|
|
4344
|
+
message_id: string;
|
|
4345
|
+
caller_principal: string | null;
|
|
4346
|
+
inbound_text: string;
|
|
4347
|
+
answer_status: "error" | "silent" | "answered" | null;
|
|
4348
|
+
answer: string | null;
|
|
4349
|
+
delivery_status: "failed" | "accepted" | "pending_delivery" | "provisional" | "delivered" | "shed" | "silent";
|
|
4350
|
+
updated_at: number;
|
|
4351
|
+
error?: string | null | undefined;
|
|
4352
|
+
channel?: string | null | undefined;
|
|
4353
|
+
our_identity?: string | null | undefined;
|
|
4354
|
+
callback_url?: string | null | undefined;
|
|
4355
|
+
provider_message_id?: string | null | undefined;
|
|
4356
|
+
outbound_message_ids?: string[] | undefined;
|
|
4357
|
+
attempts?: number | undefined;
|
|
4358
|
+
}[];
|
|
4359
|
+
total: number;
|
|
4360
|
+
page: number;
|
|
4361
|
+
page_size: number;
|
|
4362
|
+
next_page: number | null;
|
|
4363
|
+
order: "asc" | "desc";
|
|
4364
|
+
}>;
|
|
4365
|
+
export type ConversationTranscriptPage = z.infer<typeof conversationTranscriptPage>;
|
|
3363
4366
|
export declare const notification: z.ZodObject<{
|
|
3364
4367
|
id: z.ZodString;
|
|
3365
4368
|
message: z.ZodString;
|
|
@@ -3428,8 +4431,8 @@ export declare const hookParams: z.ZodObject<{
|
|
|
3428
4431
|
}, "strip", z.ZodTypeAny, {
|
|
3429
4432
|
name: string;
|
|
3430
4433
|
tool: string;
|
|
3431
|
-
topic: string;
|
|
3432
4434
|
execution_key: string;
|
|
4435
|
+
topic: string;
|
|
3433
4436
|
tool_kwargs: Record<string, unknown>;
|
|
3434
4437
|
condition: string | null;
|
|
3435
4438
|
condition_id: string | null;
|
|
@@ -3440,8 +4443,8 @@ export declare const hookParams: z.ZodObject<{
|
|
|
3440
4443
|
}, {
|
|
3441
4444
|
name: string;
|
|
3442
4445
|
tool: string;
|
|
3443
|
-
topic: string;
|
|
3444
4446
|
execution_key: string;
|
|
4447
|
+
topic: string;
|
|
3445
4448
|
tool_kwargs?: Record<string, unknown> | undefined;
|
|
3446
4449
|
condition?: string | null | undefined;
|
|
3447
4450
|
condition_id?: string | null | undefined;
|
|
@@ -3467,8 +4470,8 @@ export declare const hookList: z.ZodObject<{
|
|
|
3467
4470
|
}, "strip", z.ZodTypeAny, {
|
|
3468
4471
|
name: string;
|
|
3469
4472
|
tool: string;
|
|
3470
|
-
topic: string;
|
|
3471
4473
|
execution_key: string;
|
|
4474
|
+
topic: string;
|
|
3472
4475
|
tool_kwargs: Record<string, unknown>;
|
|
3473
4476
|
condition: string | null;
|
|
3474
4477
|
condition_id: string | null;
|
|
@@ -3479,8 +4482,8 @@ export declare const hookList: z.ZodObject<{
|
|
|
3479
4482
|
}, {
|
|
3480
4483
|
name: string;
|
|
3481
4484
|
tool: string;
|
|
3482
|
-
topic: string;
|
|
3483
4485
|
execution_key: string;
|
|
4486
|
+
topic: string;
|
|
3484
4487
|
tool_kwargs?: Record<string, unknown> | undefined;
|
|
3485
4488
|
condition?: string | null | undefined;
|
|
3486
4489
|
condition_id?: string | null | undefined;
|
|
@@ -3505,8 +4508,8 @@ export declare const hookList: z.ZodObject<{
|
|
|
3505
4508
|
items: {
|
|
3506
4509
|
name: string;
|
|
3507
4510
|
tool: string;
|
|
3508
|
-
topic: string;
|
|
3509
4511
|
execution_key: string;
|
|
4512
|
+
topic: string;
|
|
3510
4513
|
tool_kwargs: Record<string, unknown>;
|
|
3511
4514
|
condition: string | null;
|
|
3512
4515
|
condition_id: string | null;
|
|
@@ -3525,8 +4528,8 @@ export declare const hookList: z.ZodObject<{
|
|
|
3525
4528
|
items: {
|
|
3526
4529
|
name: string;
|
|
3527
4530
|
tool: string;
|
|
3528
|
-
topic: string;
|
|
3529
4531
|
execution_key: string;
|
|
4532
|
+
topic: string;
|
|
3530
4533
|
tool_kwargs?: Record<string, unknown> | undefined;
|
|
3531
4534
|
condition?: string | null | undefined;
|
|
3532
4535
|
condition_id?: string | null | undefined;
|
|
@@ -3633,8 +4636,8 @@ export declare const triggerLinkRecord: z.ZodObject<{
|
|
|
3633
4636
|
}, "strip", z.ZodTypeAny, {
|
|
3634
4637
|
name: string;
|
|
3635
4638
|
created_at: string;
|
|
3636
|
-
topic: string;
|
|
3637
4639
|
execution_key: string;
|
|
4640
|
+
topic: string;
|
|
3638
4641
|
tool_kwargs: Record<string, unknown> | null;
|
|
3639
4642
|
trigger_auth: "public" | "verifier" | "token" | "token+api_key" | "out-of-service";
|
|
3640
4643
|
expires_at: string | null;
|
|
@@ -3643,8 +4646,8 @@ export declare const triggerLinkRecord: z.ZodObject<{
|
|
|
3643
4646
|
}, {
|
|
3644
4647
|
name: string;
|
|
3645
4648
|
created_at: string;
|
|
3646
|
-
topic: string;
|
|
3647
4649
|
execution_key: string;
|
|
4650
|
+
topic: string;
|
|
3648
4651
|
tool_kwargs: Record<string, unknown> | null;
|
|
3649
4652
|
trigger_auth: "public" | "verifier" | "token" | "token+api_key" | "out-of-service";
|
|
3650
4653
|
expires_at: string | null;
|
|
@@ -3667,8 +4670,8 @@ export declare const triggerLinkList: z.ZodObject<{
|
|
|
3667
4670
|
}, "strip", z.ZodTypeAny, {
|
|
3668
4671
|
name: string;
|
|
3669
4672
|
created_at: string;
|
|
3670
|
-
topic: string;
|
|
3671
4673
|
execution_key: string;
|
|
4674
|
+
topic: string;
|
|
3672
4675
|
tool_kwargs: Record<string, unknown> | null;
|
|
3673
4676
|
trigger_auth: "public" | "verifier" | "token" | "token+api_key" | "out-of-service";
|
|
3674
4677
|
expires_at: string | null;
|
|
@@ -3677,8 +4680,8 @@ export declare const triggerLinkList: z.ZodObject<{
|
|
|
3677
4680
|
}, {
|
|
3678
4681
|
name: string;
|
|
3679
4682
|
created_at: string;
|
|
3680
|
-
topic: string;
|
|
3681
4683
|
execution_key: string;
|
|
4684
|
+
topic: string;
|
|
3682
4685
|
tool_kwargs: Record<string, unknown> | null;
|
|
3683
4686
|
trigger_auth: "public" | "verifier" | "token" | "token+api_key" | "out-of-service";
|
|
3684
4687
|
expires_at: string | null;
|
|
@@ -3690,8 +4693,8 @@ export declare const triggerLinkList: z.ZodObject<{
|
|
|
3690
4693
|
items: {
|
|
3691
4694
|
name: string;
|
|
3692
4695
|
created_at: string;
|
|
3693
|
-
topic: string;
|
|
3694
4696
|
execution_key: string;
|
|
4697
|
+
topic: string;
|
|
3695
4698
|
tool_kwargs: Record<string, unknown> | null;
|
|
3696
4699
|
trigger_auth: "public" | "verifier" | "token" | "token+api_key" | "out-of-service";
|
|
3697
4700
|
expires_at: string | null;
|
|
@@ -3703,8 +4706,8 @@ export declare const triggerLinkList: z.ZodObject<{
|
|
|
3703
4706
|
items: {
|
|
3704
4707
|
name: string;
|
|
3705
4708
|
created_at: string;
|
|
3706
|
-
topic: string;
|
|
3707
4709
|
execution_key: string;
|
|
4710
|
+
topic: string;
|
|
3708
4711
|
tool_kwargs: Record<string, unknown> | null;
|
|
3709
4712
|
trigger_auth: "public" | "verifier" | "token" | "token+api_key" | "out-of-service";
|
|
3710
4713
|
expires_at: string | null;
|
|
@@ -5059,21 +6062,21 @@ export declare const backupImportReport: z.ZodObject<{
|
|
|
5059
6062
|
reachable: z.ZodBoolean;
|
|
5060
6063
|
local_only: z.ZodBoolean;
|
|
5061
6064
|
results: z.ZodArray<z.ZodObject<{
|
|
5062
|
-
|
|
5063
|
-
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out"]>;
|
|
6065
|
+
name: z.ZodString;
|
|
6066
|
+
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out", "resyncing", "recycling", "stale"]>;
|
|
5064
6067
|
payload: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
5065
6068
|
error: z.ZodNullable<z.ZodString>;
|
|
5066
6069
|
detail: z.ZodNullable<z.ZodString>;
|
|
5067
6070
|
}, "strip", z.ZodTypeAny, {
|
|
5068
6071
|
error: string | null;
|
|
5069
|
-
|
|
5070
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
6072
|
+
name: string;
|
|
6073
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
5071
6074
|
detail: string | null;
|
|
5072
6075
|
payload?: unknown;
|
|
5073
6076
|
}, {
|
|
5074
6077
|
error: string | null;
|
|
5075
|
-
|
|
5076
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
6078
|
+
name: string;
|
|
6079
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
5077
6080
|
detail: string | null;
|
|
5078
6081
|
payload?: unknown;
|
|
5079
6082
|
}>, "many">;
|
|
@@ -5087,8 +6090,8 @@ export declare const backupImportReport: z.ZodObject<{
|
|
|
5087
6090
|
local_only: boolean;
|
|
5088
6091
|
results: {
|
|
5089
6092
|
error: string | null;
|
|
5090
|
-
|
|
5091
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
6093
|
+
name: string;
|
|
6094
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
5092
6095
|
detail: string | null;
|
|
5093
6096
|
payload?: unknown;
|
|
5094
6097
|
}[];
|
|
@@ -5100,8 +6103,8 @@ export declare const backupImportReport: z.ZodObject<{
|
|
|
5100
6103
|
local_only: boolean;
|
|
5101
6104
|
results: {
|
|
5102
6105
|
error: string | null;
|
|
5103
|
-
|
|
5104
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
6106
|
+
name: string;
|
|
6107
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
5105
6108
|
detail: string | null;
|
|
5106
6109
|
payload?: unknown;
|
|
5107
6110
|
}[];
|
|
@@ -5111,21 +6114,21 @@ export declare const backupImportReport: z.ZodObject<{
|
|
|
5111
6114
|
reachable: z.ZodBoolean;
|
|
5112
6115
|
local_only: z.ZodBoolean;
|
|
5113
6116
|
results: z.ZodArray<z.ZodObject<{
|
|
5114
|
-
|
|
5115
|
-
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out"]>;
|
|
6117
|
+
name: z.ZodString;
|
|
6118
|
+
outcome: z.ZodEnum<["applied", "failed", "missing", "departed", "timed_out", "resyncing", "recycling", "stale"]>;
|
|
5116
6119
|
payload: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
5117
6120
|
error: z.ZodNullable<z.ZodString>;
|
|
5118
6121
|
detail: z.ZodNullable<z.ZodString>;
|
|
5119
6122
|
}, "strip", z.ZodTypeAny, {
|
|
5120
6123
|
error: string | null;
|
|
5121
|
-
|
|
5122
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
6124
|
+
name: string;
|
|
6125
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
5123
6126
|
detail: string | null;
|
|
5124
6127
|
payload?: unknown;
|
|
5125
6128
|
}, {
|
|
5126
6129
|
error: string | null;
|
|
5127
|
-
|
|
5128
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
6130
|
+
name: string;
|
|
6131
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
5129
6132
|
detail: string | null;
|
|
5130
6133
|
payload?: unknown;
|
|
5131
6134
|
}>, "many">;
|
|
@@ -5139,8 +6142,8 @@ export declare const backupImportReport: z.ZodObject<{
|
|
|
5139
6142
|
local_only: boolean;
|
|
5140
6143
|
results: {
|
|
5141
6144
|
error: string | null;
|
|
5142
|
-
|
|
5143
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
6145
|
+
name: string;
|
|
6146
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
5144
6147
|
detail: string | null;
|
|
5145
6148
|
payload?: unknown;
|
|
5146
6149
|
}[];
|
|
@@ -5152,8 +6155,8 @@ export declare const backupImportReport: z.ZodObject<{
|
|
|
5152
6155
|
local_only: boolean;
|
|
5153
6156
|
results: {
|
|
5154
6157
|
error: string | null;
|
|
5155
|
-
|
|
5156
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
6158
|
+
name: string;
|
|
6159
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
5157
6160
|
detail: string | null;
|
|
5158
6161
|
payload?: unknown;
|
|
5159
6162
|
}[];
|
|
@@ -5174,8 +6177,8 @@ export declare const backupImportReport: z.ZodObject<{
|
|
|
5174
6177
|
local_only: boolean;
|
|
5175
6178
|
results: {
|
|
5176
6179
|
error: string | null;
|
|
5177
|
-
|
|
5178
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
6180
|
+
name: string;
|
|
6181
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
5179
6182
|
detail: string | null;
|
|
5180
6183
|
payload?: unknown;
|
|
5181
6184
|
}[];
|
|
@@ -5187,8 +6190,8 @@ export declare const backupImportReport: z.ZodObject<{
|
|
|
5187
6190
|
local_only: boolean;
|
|
5188
6191
|
results: {
|
|
5189
6192
|
error: string | null;
|
|
5190
|
-
|
|
5191
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
6193
|
+
name: string;
|
|
6194
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
5192
6195
|
detail: string | null;
|
|
5193
6196
|
payload?: unknown;
|
|
5194
6197
|
}[];
|
|
@@ -5214,8 +6217,8 @@ export declare const backupImportReport: z.ZodObject<{
|
|
|
5214
6217
|
local_only: boolean;
|
|
5215
6218
|
results: {
|
|
5216
6219
|
error: string | null;
|
|
5217
|
-
|
|
5218
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
6220
|
+
name: string;
|
|
6221
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
5219
6222
|
detail: string | null;
|
|
5220
6223
|
payload?: unknown;
|
|
5221
6224
|
}[];
|
|
@@ -5227,8 +6230,8 @@ export declare const backupImportReport: z.ZodObject<{
|
|
|
5227
6230
|
local_only: boolean;
|
|
5228
6231
|
results: {
|
|
5229
6232
|
error: string | null;
|
|
5230
|
-
|
|
5231
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
6233
|
+
name: string;
|
|
6234
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
5232
6235
|
detail: string | null;
|
|
5233
6236
|
payload?: unknown;
|
|
5234
6237
|
}[];
|
|
@@ -5257,8 +6260,8 @@ export declare const backupImportReport: z.ZodObject<{
|
|
|
5257
6260
|
local_only: boolean;
|
|
5258
6261
|
results: {
|
|
5259
6262
|
error: string | null;
|
|
5260
|
-
|
|
5261
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
6263
|
+
name: string;
|
|
6264
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
5262
6265
|
detail: string | null;
|
|
5263
6266
|
payload?: unknown;
|
|
5264
6267
|
}[];
|
|
@@ -5270,8 +6273,8 @@ export declare const backupImportReport: z.ZodObject<{
|
|
|
5270
6273
|
local_only: boolean;
|
|
5271
6274
|
results: {
|
|
5272
6275
|
error: string | null;
|
|
5273
|
-
|
|
5274
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
6276
|
+
name: string;
|
|
6277
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
5275
6278
|
detail: string | null;
|
|
5276
6279
|
payload?: unknown;
|
|
5277
6280
|
}[];
|
|
@@ -5300,8 +6303,8 @@ export declare const backupImportReport: z.ZodObject<{
|
|
|
5300
6303
|
local_only: boolean;
|
|
5301
6304
|
results: {
|
|
5302
6305
|
error: string | null;
|
|
5303
|
-
|
|
5304
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
6306
|
+
name: string;
|
|
6307
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
5305
6308
|
detail: string | null;
|
|
5306
6309
|
payload?: unknown;
|
|
5307
6310
|
}[];
|
|
@@ -5313,8 +6316,8 @@ export declare const backupImportReport: z.ZodObject<{
|
|
|
5313
6316
|
local_only: boolean;
|
|
5314
6317
|
results: {
|
|
5315
6318
|
error: string | null;
|
|
5316
|
-
|
|
5317
|
-
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
6319
|
+
name: string;
|
|
6320
|
+
outcome: "failed" | "resyncing" | "recycling" | "stale" | "applied" | "missing" | "departed" | "timed_out";
|
|
5318
6321
|
detail: string | null;
|
|
5319
6322
|
payload?: unknown;
|
|
5320
6323
|
}[];
|
|
@@ -5853,6 +6856,7 @@ export declare const marketplaceSearchRow: z.ZodObject<{
|
|
|
5853
6856
|
display_name: string | null;
|
|
5854
6857
|
icon_url: string | null;
|
|
5855
6858
|
categories: string[];
|
|
6859
|
+
updated_at: string;
|
|
5856
6860
|
item: {
|
|
5857
6861
|
name: string;
|
|
5858
6862
|
description: string;
|
|
@@ -5866,7 +6870,6 @@ export declare const marketplaceSearchRow: z.ZodObject<{
|
|
|
5866
6870
|
pricing: string;
|
|
5867
6871
|
latest_version: string | null;
|
|
5868
6872
|
downloads: number;
|
|
5869
|
-
updated_at: string;
|
|
5870
6873
|
}, {
|
|
5871
6874
|
name: string;
|
|
5872
6875
|
description: string;
|
|
@@ -5874,6 +6877,7 @@ export declare const marketplaceSearchRow: z.ZodObject<{
|
|
|
5874
6877
|
display_name: string | null;
|
|
5875
6878
|
icon_url: string | null;
|
|
5876
6879
|
categories: string[];
|
|
6880
|
+
updated_at: string;
|
|
5877
6881
|
item: {
|
|
5878
6882
|
name: string;
|
|
5879
6883
|
description: string;
|
|
@@ -5887,7 +6891,6 @@ export declare const marketplaceSearchRow: z.ZodObject<{
|
|
|
5887
6891
|
pricing: string;
|
|
5888
6892
|
latest_version: string | null;
|
|
5889
6893
|
downloads: number;
|
|
5890
|
-
updated_at: string;
|
|
5891
6894
|
}>;
|
|
5892
6895
|
export type MarketplaceSearchRow = z.infer<typeof marketplaceSearchRow>;
|
|
5893
6896
|
/**
|
|
@@ -5933,6 +6936,7 @@ export declare const marketplaceSearchPage: z.ZodObject<{
|
|
|
5933
6936
|
display_name: string | null;
|
|
5934
6937
|
icon_url: string | null;
|
|
5935
6938
|
categories: string[];
|
|
6939
|
+
updated_at: string;
|
|
5936
6940
|
item: {
|
|
5937
6941
|
name: string;
|
|
5938
6942
|
description: string;
|
|
@@ -5946,7 +6950,6 @@ export declare const marketplaceSearchPage: z.ZodObject<{
|
|
|
5946
6950
|
pricing: string;
|
|
5947
6951
|
latest_version: string | null;
|
|
5948
6952
|
downloads: number;
|
|
5949
|
-
updated_at: string;
|
|
5950
6953
|
}, {
|
|
5951
6954
|
name: string;
|
|
5952
6955
|
description: string;
|
|
@@ -5954,6 +6957,7 @@ export declare const marketplaceSearchPage: z.ZodObject<{
|
|
|
5954
6957
|
display_name: string | null;
|
|
5955
6958
|
icon_url: string | null;
|
|
5956
6959
|
categories: string[];
|
|
6960
|
+
updated_at: string;
|
|
5957
6961
|
item: {
|
|
5958
6962
|
name: string;
|
|
5959
6963
|
description: string;
|
|
@@ -5967,7 +6971,6 @@ export declare const marketplaceSearchPage: z.ZodObject<{
|
|
|
5967
6971
|
pricing: string;
|
|
5968
6972
|
latest_version: string | null;
|
|
5969
6973
|
downloads: number;
|
|
5970
|
-
updated_at: string;
|
|
5971
6974
|
}>, "many">;
|
|
5972
6975
|
total: z.ZodNumber;
|
|
5973
6976
|
page: z.ZodNumber;
|
|
@@ -5980,6 +6983,7 @@ export declare const marketplaceSearchPage: z.ZodObject<{
|
|
|
5980
6983
|
display_name: string | null;
|
|
5981
6984
|
icon_url: string | null;
|
|
5982
6985
|
categories: string[];
|
|
6986
|
+
updated_at: string;
|
|
5983
6987
|
item: {
|
|
5984
6988
|
name: string;
|
|
5985
6989
|
description: string;
|
|
@@ -5993,7 +6997,6 @@ export declare const marketplaceSearchPage: z.ZodObject<{
|
|
|
5993
6997
|
pricing: string;
|
|
5994
6998
|
latest_version: string | null;
|
|
5995
6999
|
downloads: number;
|
|
5996
|
-
updated_at: string;
|
|
5997
7000
|
}[];
|
|
5998
7001
|
total: number;
|
|
5999
7002
|
page: number;
|
|
@@ -6006,6 +7009,7 @@ export declare const marketplaceSearchPage: z.ZodObject<{
|
|
|
6006
7009
|
display_name: string | null;
|
|
6007
7010
|
icon_url: string | null;
|
|
6008
7011
|
categories: string[];
|
|
7012
|
+
updated_at: string;
|
|
6009
7013
|
item: {
|
|
6010
7014
|
name: string;
|
|
6011
7015
|
description: string;
|
|
@@ -6019,7 +7023,6 @@ export declare const marketplaceSearchPage: z.ZodObject<{
|
|
|
6019
7023
|
pricing: string;
|
|
6020
7024
|
latest_version: string | null;
|
|
6021
7025
|
downloads: number;
|
|
6022
|
-
updated_at: string;
|
|
6023
7026
|
}[];
|
|
6024
7027
|
total: number;
|
|
6025
7028
|
page: number;
|