@opendatalabs/connect 0.8.1 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +58 -0
- package/dist/cli/bin.d.ts +3 -0
- package/dist/cli/bin.d.ts.map +1 -0
- package/dist/cli/bin.js +15 -0
- package/dist/cli/bin.js.map +1 -0
- package/dist/cli/index.d.ts +89 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +3844 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/main.d.ts +2 -0
- package/dist/cli/main.d.ts.map +1 -0
- package/dist/cli/main.js +10 -0
- package/dist/cli/main.js.map +1 -0
- package/dist/cli/mcp-server.d.ts +15 -0
- package/dist/cli/mcp-server.d.ts.map +1 -0
- package/dist/cli/mcp-server.js +199 -0
- package/dist/cli/mcp-server.js.map +1 -0
- package/dist/cli/queries.d.ts +128 -0
- package/dist/cli/queries.d.ts.map +1 -0
- package/dist/cli/queries.js +415 -0
- package/dist/cli/queries.js.map +1 -0
- package/dist/cli/render/capabilities.d.ts +9 -0
- package/dist/cli/render/capabilities.d.ts.map +1 -0
- package/dist/cli/render/capabilities.js +24 -0
- package/dist/cli/render/capabilities.js.map +1 -0
- package/dist/cli/render/connect-renderer.d.ts +18 -0
- package/dist/cli/render/connect-renderer.d.ts.map +1 -0
- package/dist/cli/render/connect-renderer.js +255 -0
- package/dist/cli/render/connect-renderer.js.map +1 -0
- package/dist/cli/render/format.d.ts +27 -0
- package/dist/cli/render/format.d.ts.map +1 -0
- package/dist/cli/render/format.js +111 -0
- package/dist/cli/render/format.js.map +1 -0
- package/dist/cli/render/index.d.ts +7 -0
- package/dist/cli/render/index.d.ts.map +1 -0
- package/dist/cli/render/index.js +7 -0
- package/dist/cli/render/index.js.map +1 -0
- package/dist/cli/render/progress.d.ts +11 -0
- package/dist/cli/render/progress.d.ts.map +1 -0
- package/dist/cli/render/progress.js +56 -0
- package/dist/cli/render/progress.js.map +1 -0
- package/dist/cli/render/symbols.d.ts +11 -0
- package/dist/cli/render/symbols.d.ts.map +1 -0
- package/dist/cli/render/symbols.js +21 -0
- package/dist/cli/render/symbols.js.map +1 -0
- package/dist/cli/render/theme.d.ts +15 -0
- package/dist/cli/render/theme.d.ts.map +1 -0
- package/dist/cli/render/theme.js +41 -0
- package/dist/cli/render/theme.js.map +1 -0
- package/dist/cli/search-select.d.ts +17 -0
- package/dist/cli/search-select.d.ts.map +1 -0
- package/dist/cli/search-select.js +29 -0
- package/dist/cli/search-select.js.map +1 -0
- package/dist/cli/update-check-worker.d.ts +2 -0
- package/dist/cli/update-check-worker.d.ts.map +1 -0
- package/dist/cli/update-check-worker.js +55 -0
- package/dist/cli/update-check-worker.js.map +1 -0
- package/dist/cli/update-check.d.ts +21 -0
- package/dist/cli/update-check.d.ts.map +1 -0
- package/dist/cli/update-check.js +52 -0
- package/dist/cli/update-check.js.map +1 -0
- package/dist/connectors/index.d.ts +2 -0
- package/dist/connectors/index.d.ts.map +1 -0
- package/dist/connectors/index.js +2 -0
- package/dist/connectors/index.js.map +1 -0
- package/dist/connectors/registry.d.ts +55 -0
- package/dist/connectors/registry.d.ts.map +1 -0
- package/dist/connectors/registry.js +298 -0
- package/dist/connectors/registry.js.map +1 -0
- package/dist/core/cli-types.d.ts +692 -0
- package/dist/core/cli-types.d.ts.map +1 -0
- package/dist/core/cli-types.js +322 -0
- package/dist/core/cli-types.js.map +1 -0
- package/dist/core/index.d.ts +4 -0
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +3 -0
- package/dist/core/index.js.map +1 -1
- package/dist/core/paths.d.ts +28 -0
- package/dist/core/paths.d.ts.map +1 -0
- package/dist/core/paths.js +89 -0
- package/dist/core/paths.js.map +1 -0
- package/dist/core/state-store.d.ts +39 -0
- package/dist/core/state-store.d.ts.map +1 -0
- package/dist/core/state-store.js +101 -0
- package/dist/core/state-store.js.map +1 -0
- package/dist/core/types.d.ts +2 -0
- package/dist/core/types.d.ts.map +1 -1
- package/dist/personal-server/client.d.ts +34 -0
- package/dist/personal-server/client.d.ts.map +1 -0
- package/dist/personal-server/client.js +94 -0
- package/dist/personal-server/client.js.map +1 -0
- package/dist/personal-server/index.d.ts +18 -0
- package/dist/personal-server/index.d.ts.map +1 -0
- package/dist/personal-server/index.js +123 -0
- package/dist/personal-server/index.js.map +1 -0
- package/dist/personal-server/scope-resolver.d.ts +22 -0
- package/dist/personal-server/scope-resolver.d.ts.map +1 -0
- package/dist/personal-server/scope-resolver.js +68 -0
- package/dist/personal-server/scope-resolver.js.map +1 -0
- package/dist/runtime/core/contracts.d.ts +84 -0
- package/dist/runtime/core/contracts.d.ts.map +1 -0
- package/dist/runtime/core/contracts.js +2 -0
- package/dist/runtime/core/contracts.js.map +1 -0
- package/dist/runtime/core/index.d.ts +2 -0
- package/dist/runtime/core/index.d.ts.map +1 -0
- package/dist/runtime/core/index.js +2 -0
- package/dist/runtime/core/index.js.map +1 -0
- package/dist/runtime/index.d.ts +4 -0
- package/dist/runtime/index.d.ts.map +1 -0
- package/dist/runtime/index.js +3 -0
- package/dist/runtime/index.js.map +1 -0
- package/dist/runtime/managed-playwright.d.ts +42 -0
- package/dist/runtime/managed-playwright.d.ts.map +1 -0
- package/dist/runtime/managed-playwright.js +178 -0
- package/dist/runtime/managed-playwright.js.map +1 -0
- package/dist/runtime/playwright/browser.d.ts +12 -0
- package/dist/runtime/playwright/browser.d.ts.map +1 -0
- package/dist/runtime/playwright/browser.js +229 -0
- package/dist/runtime/playwright/browser.js.map +1 -0
- package/dist/runtime/playwright/in-process-run.d.ts +6 -0
- package/dist/runtime/playwright/in-process-run.d.ts.map +1 -0
- package/dist/runtime/playwright/in-process-run.js +628 -0
- package/dist/runtime/playwright/in-process-run.js.map +1 -0
- package/dist/runtime/playwright/index.d.ts +3 -0
- package/dist/runtime/playwright/index.d.ts.map +1 -0
- package/dist/runtime/playwright/index.js +3 -0
- package/dist/runtime/playwright/index.js.map +1 -0
- package/dist/runtime/repo-paths.d.ts +2 -0
- package/dist/runtime/repo-paths.d.ts.map +1 -0
- package/dist/runtime/repo-paths.js +36 -0
- package/dist/runtime/repo-paths.js.map +1 -0
- package/dist/server/config.d.ts +2 -0
- package/dist/server/config.d.ts.map +1 -1
- package/dist/server/config.js +1 -0
- package/dist/server/config.js.map +1 -1
- package/dist/server/connect.d.ts.map +1 -1
- package/dist/server/connect.js +4 -0
- package/dist/server/connect.js.map +1 -1
- package/dist/skills/index.d.ts +4 -0
- package/dist/skills/index.d.ts.map +1 -0
- package/dist/skills/index.js +3 -0
- package/dist/skills/index.js.map +1 -0
- package/dist/skills/paths.d.ts +33 -0
- package/dist/skills/paths.d.ts.map +1 -0
- package/dist/skills/paths.js +81 -0
- package/dist/skills/paths.js.map +1 -0
- package/dist/skills/registry.d.ts +48 -0
- package/dist/skills/registry.d.ts.map +1 -0
- package/dist/skills/registry.js +173 -0
- package/dist/skills/registry.js.map +1 -0
- package/package.json +51 -4
|
@@ -0,0 +1,692 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const CliOutcomeStatus: {
|
|
3
|
+
readonly CONNECTED_AND_INGESTED: "connected_and_ingested";
|
|
4
|
+
readonly CONNECTED_LOCAL_ONLY: "connected_local_only";
|
|
5
|
+
readonly NEEDS_INPUT: "needs_input";
|
|
6
|
+
readonly SETUP_REQUIRED: "setup_required";
|
|
7
|
+
readonly PERSONAL_SERVER_UNAVAILABLE: "personal_server_unavailable";
|
|
8
|
+
readonly AUTH_FAILED: "auth_failed";
|
|
9
|
+
readonly LEGACY_AUTH: "legacy_auth";
|
|
10
|
+
readonly CONNECTOR_UNAVAILABLE: "connector_unavailable";
|
|
11
|
+
readonly INGEST_FAILED: "ingest_failed";
|
|
12
|
+
readonly RUNTIME_ERROR: "runtime_error";
|
|
13
|
+
readonly INVALID_CONNECTOR: "invalid_connector";
|
|
14
|
+
readonly UNEXPECTED_INTERNAL_ERROR: "unexpected_internal_error";
|
|
15
|
+
};
|
|
16
|
+
export type CliOutcomeStatus = (typeof CliOutcomeStatus)[keyof typeof CliOutcomeStatus];
|
|
17
|
+
export declare const runtimeStateSchema: z.ZodEnum<{
|
|
18
|
+
installed: "installed";
|
|
19
|
+
missing: "missing";
|
|
20
|
+
unhealthy: "unhealthy";
|
|
21
|
+
}>;
|
|
22
|
+
export type RuntimeState = z.infer<typeof runtimeStateSchema>;
|
|
23
|
+
export declare const personalServerStateSchema: z.ZodEnum<{
|
|
24
|
+
available: "available";
|
|
25
|
+
unavailable: "unavailable";
|
|
26
|
+
unknown: "unknown";
|
|
27
|
+
}>;
|
|
28
|
+
export type PersonalServerState = z.infer<typeof personalServerStateSchema>;
|
|
29
|
+
export declare const cliChannelSchema: z.ZodEnum<{
|
|
30
|
+
stable: "stable";
|
|
31
|
+
canary: "canary";
|
|
32
|
+
}>;
|
|
33
|
+
export type CliChannel = z.infer<typeof cliChannelSchema>;
|
|
34
|
+
export declare const cliInstallMethodSchema: z.ZodEnum<{
|
|
35
|
+
unknown: "unknown";
|
|
36
|
+
homebrew: "homebrew";
|
|
37
|
+
installer: "installer";
|
|
38
|
+
development: "development";
|
|
39
|
+
}>;
|
|
40
|
+
export type CliInstallMethod = z.infer<typeof cliInstallMethodSchema>;
|
|
41
|
+
export declare const cliVersionInfoSchema: z.ZodObject<{
|
|
42
|
+
cliVersion: z.ZodString;
|
|
43
|
+
channel: z.ZodEnum<{
|
|
44
|
+
stable: "stable";
|
|
45
|
+
canary: "canary";
|
|
46
|
+
}>;
|
|
47
|
+
installMethod: z.ZodEnum<{
|
|
48
|
+
unknown: "unknown";
|
|
49
|
+
homebrew: "homebrew";
|
|
50
|
+
installer: "installer";
|
|
51
|
+
development: "development";
|
|
52
|
+
}>;
|
|
53
|
+
}, z.core.$strip>;
|
|
54
|
+
export type CliVersionInfo = z.infer<typeof cliVersionInfoSchema>;
|
|
55
|
+
export declare const dataStateSchema: z.ZodEnum<{
|
|
56
|
+
ingest_failed: "ingest_failed";
|
|
57
|
+
none: "none";
|
|
58
|
+
collected_local: "collected_local";
|
|
59
|
+
ingested_personal_server: "ingested_personal_server";
|
|
60
|
+
ingest_unavailable: "ingest_unavailable";
|
|
61
|
+
}>;
|
|
62
|
+
export type DataState = z.infer<typeof dataStateSchema>;
|
|
63
|
+
export declare const sourceStatusSchema: z.ZodObject<{
|
|
64
|
+
source: z.ZodString;
|
|
65
|
+
name: z.ZodOptional<z.ZodString>;
|
|
66
|
+
company: z.ZodOptional<z.ZodString>;
|
|
67
|
+
description: z.ZodOptional<z.ZodString>;
|
|
68
|
+
authMode: z.ZodOptional<z.ZodEnum<{
|
|
69
|
+
automated: "automated";
|
|
70
|
+
interactive: "interactive";
|
|
71
|
+
legacy: "legacy";
|
|
72
|
+
}>>;
|
|
73
|
+
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
74
|
+
exportFrequency: z.ZodOptional<z.ZodString>;
|
|
75
|
+
lastCollectedAt: z.ZodOptional<z.ZodString>;
|
|
76
|
+
scopeLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
77
|
+
installed: z.ZodBoolean;
|
|
78
|
+
sessionPresent: z.ZodBoolean;
|
|
79
|
+
lastRunAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
80
|
+
lastRunOutcome: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
81
|
+
dataState: z.ZodOptional<z.ZodEnum<{
|
|
82
|
+
ingest_failed: "ingest_failed";
|
|
83
|
+
none: "none";
|
|
84
|
+
collected_local: "collected_local";
|
|
85
|
+
ingested_personal_server: "ingested_personal_server";
|
|
86
|
+
ingest_unavailable: "ingest_unavailable";
|
|
87
|
+
}>>;
|
|
88
|
+
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
89
|
+
lastResultPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
90
|
+
lastLogPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
91
|
+
ingestScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
92
|
+
scope: z.ZodString;
|
|
93
|
+
status: z.ZodEnum<{
|
|
94
|
+
stored: "stored";
|
|
95
|
+
failed: "failed";
|
|
96
|
+
}>;
|
|
97
|
+
syncedAt: z.ZodOptional<z.ZodString>;
|
|
98
|
+
error: z.ZodOptional<z.ZodString>;
|
|
99
|
+
}, z.core.$strip>>>;
|
|
100
|
+
syncedScopeCount: z.ZodOptional<z.ZodNumber>;
|
|
101
|
+
failedScopeCount: z.ZodOptional<z.ZodNumber>;
|
|
102
|
+
suggestedNextCollectionAt: z.ZodOptional<z.ZodString>;
|
|
103
|
+
isOverdue: z.ZodOptional<z.ZodBoolean>;
|
|
104
|
+
}, z.core.$strip>;
|
|
105
|
+
export type SourceStatus = z.infer<typeof sourceStatusSchema>;
|
|
106
|
+
export declare const listedSourceSchema: z.ZodObject<{
|
|
107
|
+
id: z.ZodString;
|
|
108
|
+
name: z.ZodString;
|
|
109
|
+
company: z.ZodOptional<z.ZodString>;
|
|
110
|
+
description: z.ZodOptional<z.ZodString>;
|
|
111
|
+
authMode: z.ZodOptional<z.ZodEnum<{
|
|
112
|
+
automated: "automated";
|
|
113
|
+
interactive: "interactive";
|
|
114
|
+
legacy: "legacy";
|
|
115
|
+
}>>;
|
|
116
|
+
installed: z.ZodBoolean;
|
|
117
|
+
dataState: z.ZodOptional<z.ZodEnum<{
|
|
118
|
+
ingest_failed: "ingest_failed";
|
|
119
|
+
none: "none";
|
|
120
|
+
collected_local: "collected_local";
|
|
121
|
+
ingested_personal_server: "ingested_personal_server";
|
|
122
|
+
ingest_unavailable: "ingest_unavailable";
|
|
123
|
+
}>>;
|
|
124
|
+
lastRunOutcome: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
125
|
+
sessionPresent: z.ZodOptional<z.ZodBoolean>;
|
|
126
|
+
}, z.core.$loose>;
|
|
127
|
+
export type ListedSource = z.infer<typeof listedSourceSchema>;
|
|
128
|
+
export declare const personalServerSourceSchema: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
129
|
+
config: "config";
|
|
130
|
+
env: "env";
|
|
131
|
+
scan: "scan";
|
|
132
|
+
}>>>;
|
|
133
|
+
export declare const cliStatusSchema: z.ZodObject<{
|
|
134
|
+
cliVersion: z.ZodOptional<z.ZodString>;
|
|
135
|
+
channel: z.ZodOptional<z.ZodEnum<{
|
|
136
|
+
stable: "stable";
|
|
137
|
+
canary: "canary";
|
|
138
|
+
}>>;
|
|
139
|
+
installMethod: z.ZodOptional<z.ZodEnum<{
|
|
140
|
+
unknown: "unknown";
|
|
141
|
+
homebrew: "homebrew";
|
|
142
|
+
installer: "installer";
|
|
143
|
+
development: "development";
|
|
144
|
+
}>>;
|
|
145
|
+
runtime: z.ZodEnum<{
|
|
146
|
+
installed: "installed";
|
|
147
|
+
missing: "missing";
|
|
148
|
+
unhealthy: "unhealthy";
|
|
149
|
+
}>;
|
|
150
|
+
runtimePath: z.ZodNullable<z.ZodString>;
|
|
151
|
+
personalServer: z.ZodEnum<{
|
|
152
|
+
available: "available";
|
|
153
|
+
unavailable: "unavailable";
|
|
154
|
+
unknown: "unknown";
|
|
155
|
+
}>;
|
|
156
|
+
personalServerUrl: z.ZodNullable<z.ZodString>;
|
|
157
|
+
personalServerSource: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
158
|
+
config: "config";
|
|
159
|
+
env: "env";
|
|
160
|
+
scan: "scan";
|
|
161
|
+
}>>>;
|
|
162
|
+
personalServerInfo: z.ZodOptional<z.ZodObject<{
|
|
163
|
+
url: z.ZodNullable<z.ZodString>;
|
|
164
|
+
status: z.ZodEnum<{
|
|
165
|
+
available: "available";
|
|
166
|
+
unavailable: "unavailable";
|
|
167
|
+
unknown: "unknown";
|
|
168
|
+
}>;
|
|
169
|
+
scopeCount: z.ZodNumber;
|
|
170
|
+
}, z.core.$strip>>;
|
|
171
|
+
pendingSyncCount: z.ZodOptional<z.ZodNumber>;
|
|
172
|
+
summary: z.ZodOptional<z.ZodObject<{
|
|
173
|
+
sourceCount: z.ZodNumber;
|
|
174
|
+
needsAttentionCount: z.ZodNumber;
|
|
175
|
+
connectedCount: z.ZodNumber;
|
|
176
|
+
installedCount: z.ZodNumber;
|
|
177
|
+
localCount: z.ZodNumber;
|
|
178
|
+
syncedCount: z.ZodNumber;
|
|
179
|
+
syncFailedCount: z.ZodNumber;
|
|
180
|
+
}, z.core.$strip>>;
|
|
181
|
+
nextSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
182
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
183
|
+
source: z.ZodString;
|
|
184
|
+
name: z.ZodOptional<z.ZodString>;
|
|
185
|
+
company: z.ZodOptional<z.ZodString>;
|
|
186
|
+
description: z.ZodOptional<z.ZodString>;
|
|
187
|
+
authMode: z.ZodOptional<z.ZodEnum<{
|
|
188
|
+
automated: "automated";
|
|
189
|
+
interactive: "interactive";
|
|
190
|
+
legacy: "legacy";
|
|
191
|
+
}>>;
|
|
192
|
+
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
193
|
+
exportFrequency: z.ZodOptional<z.ZodString>;
|
|
194
|
+
lastCollectedAt: z.ZodOptional<z.ZodString>;
|
|
195
|
+
scopeLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
196
|
+
installed: z.ZodBoolean;
|
|
197
|
+
sessionPresent: z.ZodBoolean;
|
|
198
|
+
lastRunAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
199
|
+
lastRunOutcome: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
200
|
+
dataState: z.ZodOptional<z.ZodEnum<{
|
|
201
|
+
ingest_failed: "ingest_failed";
|
|
202
|
+
none: "none";
|
|
203
|
+
collected_local: "collected_local";
|
|
204
|
+
ingested_personal_server: "ingested_personal_server";
|
|
205
|
+
ingest_unavailable: "ingest_unavailable";
|
|
206
|
+
}>>;
|
|
207
|
+
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
208
|
+
lastResultPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
209
|
+
lastLogPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
210
|
+
ingestScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
211
|
+
scope: z.ZodString;
|
|
212
|
+
status: z.ZodEnum<{
|
|
213
|
+
stored: "stored";
|
|
214
|
+
failed: "failed";
|
|
215
|
+
}>;
|
|
216
|
+
syncedAt: z.ZodOptional<z.ZodString>;
|
|
217
|
+
error: z.ZodOptional<z.ZodString>;
|
|
218
|
+
}, z.core.$strip>>>;
|
|
219
|
+
syncedScopeCount: z.ZodOptional<z.ZodNumber>;
|
|
220
|
+
failedScopeCount: z.ZodOptional<z.ZodNumber>;
|
|
221
|
+
suggestedNextCollectionAt: z.ZodOptional<z.ZodString>;
|
|
222
|
+
isOverdue: z.ZodOptional<z.ZodBoolean>;
|
|
223
|
+
}, z.core.$strip>>;
|
|
224
|
+
}, z.core.$strip>;
|
|
225
|
+
export type CliStatus = z.infer<typeof cliStatusSchema>;
|
|
226
|
+
export declare const cliDoctorCheckSchema: z.ZodObject<{
|
|
227
|
+
key: z.ZodString;
|
|
228
|
+
label: z.ZodString;
|
|
229
|
+
status: z.ZodEnum<{
|
|
230
|
+
error: "error";
|
|
231
|
+
ok: "ok";
|
|
232
|
+
warn: "warn";
|
|
233
|
+
}>;
|
|
234
|
+
detail: z.ZodString;
|
|
235
|
+
}, z.core.$strip>;
|
|
236
|
+
export type CliDoctorCheck = z.infer<typeof cliDoctorCheckSchema>;
|
|
237
|
+
export declare const cliDoctorSchema: z.ZodObject<{
|
|
238
|
+
cliVersion: z.ZodString;
|
|
239
|
+
channel: z.ZodEnum<{
|
|
240
|
+
stable: "stable";
|
|
241
|
+
canary: "canary";
|
|
242
|
+
}>;
|
|
243
|
+
installMethod: z.ZodEnum<{
|
|
244
|
+
unknown: "unknown";
|
|
245
|
+
homebrew: "homebrew";
|
|
246
|
+
installer: "installer";
|
|
247
|
+
development: "development";
|
|
248
|
+
}>;
|
|
249
|
+
runtime: z.ZodEnum<{
|
|
250
|
+
installed: "installed";
|
|
251
|
+
missing: "missing";
|
|
252
|
+
unhealthy: "unhealthy";
|
|
253
|
+
}>;
|
|
254
|
+
runtimePath: z.ZodNullable<z.ZodString>;
|
|
255
|
+
personalServer: z.ZodEnum<{
|
|
256
|
+
available: "available";
|
|
257
|
+
unavailable: "unavailable";
|
|
258
|
+
unknown: "unknown";
|
|
259
|
+
}>;
|
|
260
|
+
personalServerUrl: z.ZodNullable<z.ZodString>;
|
|
261
|
+
personalServerSource: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
262
|
+
config: "config";
|
|
263
|
+
env: "env";
|
|
264
|
+
scan: "scan";
|
|
265
|
+
}>>>;
|
|
266
|
+
capabilities: z.ZodObject<{
|
|
267
|
+
supportsHeaded: z.ZodBoolean;
|
|
268
|
+
supportsManagedProfiles: z.ZodBoolean;
|
|
269
|
+
supportsScreenshots: z.ZodBoolean;
|
|
270
|
+
}, z.core.$strip>;
|
|
271
|
+
paths: z.ZodObject<{
|
|
272
|
+
executable: z.ZodString;
|
|
273
|
+
appRoot: z.ZodNullable<z.ZodString>;
|
|
274
|
+
dataHome: z.ZodString;
|
|
275
|
+
stateFile: z.ZodString;
|
|
276
|
+
connectorCache: z.ZodString;
|
|
277
|
+
browserProfiles: z.ZodString;
|
|
278
|
+
logs: z.ZodString;
|
|
279
|
+
}, z.core.$strip>;
|
|
280
|
+
lifecycle: z.ZodObject<{
|
|
281
|
+
upgrade: z.ZodString;
|
|
282
|
+
uninstall: z.ZodString;
|
|
283
|
+
}, z.core.$strip>;
|
|
284
|
+
summary: z.ZodObject<{
|
|
285
|
+
trackedSourceCount: z.ZodNumber;
|
|
286
|
+
attentionCount: z.ZodNumber;
|
|
287
|
+
connectedCount: z.ZodNumber;
|
|
288
|
+
}, z.core.$strip>;
|
|
289
|
+
recentSources: z.ZodArray<z.ZodObject<{
|
|
290
|
+
source: z.ZodString;
|
|
291
|
+
name: z.ZodOptional<z.ZodString>;
|
|
292
|
+
company: z.ZodOptional<z.ZodString>;
|
|
293
|
+
description: z.ZodOptional<z.ZodString>;
|
|
294
|
+
authMode: z.ZodOptional<z.ZodEnum<{
|
|
295
|
+
automated: "automated";
|
|
296
|
+
interactive: "interactive";
|
|
297
|
+
legacy: "legacy";
|
|
298
|
+
}>>;
|
|
299
|
+
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
300
|
+
exportFrequency: z.ZodOptional<z.ZodString>;
|
|
301
|
+
lastCollectedAt: z.ZodOptional<z.ZodString>;
|
|
302
|
+
scopeLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
303
|
+
installed: z.ZodBoolean;
|
|
304
|
+
sessionPresent: z.ZodBoolean;
|
|
305
|
+
lastRunAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
306
|
+
lastRunOutcome: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
307
|
+
dataState: z.ZodOptional<z.ZodEnum<{
|
|
308
|
+
ingest_failed: "ingest_failed";
|
|
309
|
+
none: "none";
|
|
310
|
+
collected_local: "collected_local";
|
|
311
|
+
ingested_personal_server: "ingested_personal_server";
|
|
312
|
+
ingest_unavailable: "ingest_unavailable";
|
|
313
|
+
}>>;
|
|
314
|
+
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
315
|
+
lastResultPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
316
|
+
lastLogPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
317
|
+
ingestScopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
318
|
+
scope: z.ZodString;
|
|
319
|
+
status: z.ZodEnum<{
|
|
320
|
+
stored: "stored";
|
|
321
|
+
failed: "failed";
|
|
322
|
+
}>;
|
|
323
|
+
syncedAt: z.ZodOptional<z.ZodString>;
|
|
324
|
+
error: z.ZodOptional<z.ZodString>;
|
|
325
|
+
}, z.core.$strip>>>;
|
|
326
|
+
syncedScopeCount: z.ZodOptional<z.ZodNumber>;
|
|
327
|
+
failedScopeCount: z.ZodOptional<z.ZodNumber>;
|
|
328
|
+
suggestedNextCollectionAt: z.ZodOptional<z.ZodString>;
|
|
329
|
+
isOverdue: z.ZodOptional<z.ZodBoolean>;
|
|
330
|
+
}, z.core.$strip>>;
|
|
331
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
332
|
+
key: z.ZodString;
|
|
333
|
+
label: z.ZodString;
|
|
334
|
+
status: z.ZodEnum<{
|
|
335
|
+
error: "error";
|
|
336
|
+
ok: "ok";
|
|
337
|
+
warn: "warn";
|
|
338
|
+
}>;
|
|
339
|
+
detail: z.ZodString;
|
|
340
|
+
}, z.core.$strip>>;
|
|
341
|
+
nextSteps: z.ZodArray<z.ZodString>;
|
|
342
|
+
}, z.core.$strip>;
|
|
343
|
+
export type CliDoctor = z.infer<typeof cliDoctorSchema>;
|
|
344
|
+
export declare const cliSourcesSchema: z.ZodObject<{
|
|
345
|
+
count: z.ZodNumber;
|
|
346
|
+
recommendedSource: z.ZodNullable<z.ZodObject<{
|
|
347
|
+
id: z.ZodString;
|
|
348
|
+
name: z.ZodString;
|
|
349
|
+
company: z.ZodOptional<z.ZodString>;
|
|
350
|
+
description: z.ZodOptional<z.ZodString>;
|
|
351
|
+
authMode: z.ZodOptional<z.ZodEnum<{
|
|
352
|
+
automated: "automated";
|
|
353
|
+
interactive: "interactive";
|
|
354
|
+
legacy: "legacy";
|
|
355
|
+
}>>;
|
|
356
|
+
installed: z.ZodBoolean;
|
|
357
|
+
dataState: z.ZodOptional<z.ZodEnum<{
|
|
358
|
+
ingest_failed: "ingest_failed";
|
|
359
|
+
none: "none";
|
|
360
|
+
collected_local: "collected_local";
|
|
361
|
+
ingested_personal_server: "ingested_personal_server";
|
|
362
|
+
ingest_unavailable: "ingest_unavailable";
|
|
363
|
+
}>>;
|
|
364
|
+
lastRunOutcome: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
365
|
+
sessionPresent: z.ZodOptional<z.ZodBoolean>;
|
|
366
|
+
}, z.core.$loose>>;
|
|
367
|
+
nextSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
368
|
+
summary: z.ZodOptional<z.ZodObject<{
|
|
369
|
+
connectedCount: z.ZodNumber;
|
|
370
|
+
readyCount: z.ZodNumber;
|
|
371
|
+
manualCount: z.ZodNumber;
|
|
372
|
+
installedCount: z.ZodNumber;
|
|
373
|
+
}, z.core.$strip>>;
|
|
374
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
375
|
+
id: z.ZodString;
|
|
376
|
+
name: z.ZodString;
|
|
377
|
+
company: z.ZodOptional<z.ZodString>;
|
|
378
|
+
description: z.ZodOptional<z.ZodString>;
|
|
379
|
+
authMode: z.ZodOptional<z.ZodEnum<{
|
|
380
|
+
automated: "automated";
|
|
381
|
+
interactive: "interactive";
|
|
382
|
+
legacy: "legacy";
|
|
383
|
+
}>>;
|
|
384
|
+
installed: z.ZodBoolean;
|
|
385
|
+
dataState: z.ZodOptional<z.ZodEnum<{
|
|
386
|
+
ingest_failed: "ingest_failed";
|
|
387
|
+
none: "none";
|
|
388
|
+
collected_local: "collected_local";
|
|
389
|
+
ingested_personal_server: "ingested_personal_server";
|
|
390
|
+
ingest_unavailable: "ingest_unavailable";
|
|
391
|
+
}>>;
|
|
392
|
+
lastRunOutcome: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
393
|
+
sessionPresent: z.ZodOptional<z.ZodBoolean>;
|
|
394
|
+
}, z.core.$loose>>;
|
|
395
|
+
}, z.core.$strip>;
|
|
396
|
+
export type CliSources = z.infer<typeof cliSourcesSchema>;
|
|
397
|
+
export declare const datasetSummarySchema: z.ZodObject<{
|
|
398
|
+
lines: z.ZodArray<z.ZodString>;
|
|
399
|
+
}, z.core.$strip>;
|
|
400
|
+
export type DatasetSummary = z.infer<typeof datasetSummarySchema>;
|
|
401
|
+
export declare const datasetRecordSchema: z.ZodObject<{
|
|
402
|
+
source: z.ZodString;
|
|
403
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
404
|
+
authMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
405
|
+
automated: "automated";
|
|
406
|
+
interactive: "interactive";
|
|
407
|
+
legacy: "legacy";
|
|
408
|
+
}>>>;
|
|
409
|
+
dataState: z.ZodOptional<z.ZodEnum<{
|
|
410
|
+
ingest_failed: "ingest_failed";
|
|
411
|
+
none: "none";
|
|
412
|
+
collected_local: "collected_local";
|
|
413
|
+
ingested_personal_server: "ingested_personal_server";
|
|
414
|
+
ingest_unavailable: "ingest_unavailable";
|
|
415
|
+
}>>;
|
|
416
|
+
lastRunAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
417
|
+
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
418
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
419
|
+
lines: z.ZodArray<z.ZodString>;
|
|
420
|
+
}, z.core.$strip>>>;
|
|
421
|
+
}, z.core.$strip>;
|
|
422
|
+
export type DatasetRecord = z.infer<typeof datasetRecordSchema>;
|
|
423
|
+
export declare const cliDataListSchema: z.ZodObject<{
|
|
424
|
+
count: z.ZodNumber;
|
|
425
|
+
latestDataset: z.ZodNullable<z.ZodObject<{
|
|
426
|
+
source: z.ZodString;
|
|
427
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
428
|
+
authMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
429
|
+
automated: "automated";
|
|
430
|
+
interactive: "interactive";
|
|
431
|
+
legacy: "legacy";
|
|
432
|
+
}>>>;
|
|
433
|
+
dataState: z.ZodOptional<z.ZodEnum<{
|
|
434
|
+
ingest_failed: "ingest_failed";
|
|
435
|
+
none: "none";
|
|
436
|
+
collected_local: "collected_local";
|
|
437
|
+
ingested_personal_server: "ingested_personal_server";
|
|
438
|
+
ingest_unavailable: "ingest_unavailable";
|
|
439
|
+
}>>;
|
|
440
|
+
lastRunAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
441
|
+
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
442
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
443
|
+
lines: z.ZodArray<z.ZodString>;
|
|
444
|
+
}, z.core.$strip>>>;
|
|
445
|
+
}, z.core.$strip>>;
|
|
446
|
+
nextSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
447
|
+
summary: z.ZodOptional<z.ZodObject<{
|
|
448
|
+
localCount: z.ZodNumber;
|
|
449
|
+
syncedCount: z.ZodNumber;
|
|
450
|
+
syncFailedCount: z.ZodNumber;
|
|
451
|
+
}, z.core.$strip>>;
|
|
452
|
+
datasets: z.ZodArray<z.ZodObject<{
|
|
453
|
+
source: z.ZodString;
|
|
454
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
455
|
+
authMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
456
|
+
automated: "automated";
|
|
457
|
+
interactive: "interactive";
|
|
458
|
+
legacy: "legacy";
|
|
459
|
+
}>>>;
|
|
460
|
+
dataState: z.ZodOptional<z.ZodEnum<{
|
|
461
|
+
ingest_failed: "ingest_failed";
|
|
462
|
+
none: "none";
|
|
463
|
+
collected_local: "collected_local";
|
|
464
|
+
ingested_personal_server: "ingested_personal_server";
|
|
465
|
+
ingest_unavailable: "ingest_unavailable";
|
|
466
|
+
}>>;
|
|
467
|
+
lastRunAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
468
|
+
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
469
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
470
|
+
lines: z.ZodArray<z.ZodString>;
|
|
471
|
+
}, z.core.$strip>>>;
|
|
472
|
+
}, z.core.$strip>>;
|
|
473
|
+
}, z.core.$strip>;
|
|
474
|
+
export type CliDataList = z.infer<typeof cliDataListSchema>;
|
|
475
|
+
export declare const cliDataPathSchema: z.ZodObject<{
|
|
476
|
+
source: z.ZodString;
|
|
477
|
+
name: z.ZodString;
|
|
478
|
+
path: z.ZodString;
|
|
479
|
+
lastRunAt: z.ZodNullable<z.ZodString>;
|
|
480
|
+
dataState: z.ZodNullable<z.ZodEnum<{
|
|
481
|
+
ingest_failed: "ingest_failed";
|
|
482
|
+
none: "none";
|
|
483
|
+
collected_local: "collected_local";
|
|
484
|
+
ingested_personal_server: "ingested_personal_server";
|
|
485
|
+
ingest_unavailable: "ingest_unavailable";
|
|
486
|
+
}>>;
|
|
487
|
+
nextSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
488
|
+
}, z.core.$strip>;
|
|
489
|
+
export type CliDataPath = z.infer<typeof cliDataPathSchema>;
|
|
490
|
+
export declare const logRecordSchema: z.ZodObject<{
|
|
491
|
+
source: z.ZodString;
|
|
492
|
+
name: z.ZodString;
|
|
493
|
+
path: z.ZodString;
|
|
494
|
+
lastRunAt: z.ZodNullable<z.ZodString>;
|
|
495
|
+
lastRunOutcome: z.ZodNullable<z.ZodString>;
|
|
496
|
+
dataState: z.ZodNullable<z.ZodEnum<{
|
|
497
|
+
ingest_failed: "ingest_failed";
|
|
498
|
+
none: "none";
|
|
499
|
+
collected_local: "collected_local";
|
|
500
|
+
ingested_personal_server: "ingested_personal_server";
|
|
501
|
+
ingest_unavailable: "ingest_unavailable";
|
|
502
|
+
}>>;
|
|
503
|
+
}, z.core.$strip>;
|
|
504
|
+
export type LogRecord = z.infer<typeof logRecordSchema>;
|
|
505
|
+
export declare const cliLogsSchema: z.ZodObject<{
|
|
506
|
+
count: z.ZodNumber;
|
|
507
|
+
latestLog: z.ZodNullable<z.ZodObject<{
|
|
508
|
+
source: z.ZodString;
|
|
509
|
+
name: z.ZodString;
|
|
510
|
+
path: z.ZodString;
|
|
511
|
+
lastRunAt: z.ZodNullable<z.ZodString>;
|
|
512
|
+
lastRunOutcome: z.ZodNullable<z.ZodString>;
|
|
513
|
+
dataState: z.ZodNullable<z.ZodEnum<{
|
|
514
|
+
ingest_failed: "ingest_failed";
|
|
515
|
+
none: "none";
|
|
516
|
+
collected_local: "collected_local";
|
|
517
|
+
ingested_personal_server: "ingested_personal_server";
|
|
518
|
+
ingest_unavailable: "ingest_unavailable";
|
|
519
|
+
}>>;
|
|
520
|
+
}, z.core.$strip>>;
|
|
521
|
+
nextSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
522
|
+
summary: z.ZodOptional<z.ZodObject<{
|
|
523
|
+
attentionCount: z.ZodNumber;
|
|
524
|
+
successfulCount: z.ZodNumber;
|
|
525
|
+
localCount: z.ZodNumber;
|
|
526
|
+
syncedCount: z.ZodNumber;
|
|
527
|
+
}, z.core.$strip>>;
|
|
528
|
+
logs: z.ZodArray<z.ZodObject<{
|
|
529
|
+
source: z.ZodString;
|
|
530
|
+
name: z.ZodString;
|
|
531
|
+
path: z.ZodString;
|
|
532
|
+
lastRunAt: z.ZodNullable<z.ZodString>;
|
|
533
|
+
lastRunOutcome: z.ZodNullable<z.ZodString>;
|
|
534
|
+
dataState: z.ZodNullable<z.ZodEnum<{
|
|
535
|
+
ingest_failed: "ingest_failed";
|
|
536
|
+
none: "none";
|
|
537
|
+
collected_local: "collected_local";
|
|
538
|
+
ingested_personal_server: "ingested_personal_server";
|
|
539
|
+
ingest_unavailable: "ingest_unavailable";
|
|
540
|
+
}>>;
|
|
541
|
+
}, z.core.$strip>>;
|
|
542
|
+
}, z.core.$strip>;
|
|
543
|
+
export type CliLogs = z.infer<typeof cliLogsSchema>;
|
|
544
|
+
export declare const cliDataShowSchema: z.ZodObject<{
|
|
545
|
+
source: z.ZodString;
|
|
546
|
+
name: z.ZodString;
|
|
547
|
+
path: z.ZodString;
|
|
548
|
+
summary: z.ZodNullable<z.ZodObject<{
|
|
549
|
+
lines: z.ZodArray<z.ZodString>;
|
|
550
|
+
}, z.core.$strip>>;
|
|
551
|
+
lastRunAt: z.ZodNullable<z.ZodString>;
|
|
552
|
+
dataState: z.ZodNullable<z.ZodEnum<{
|
|
553
|
+
ingest_failed: "ingest_failed";
|
|
554
|
+
none: "none";
|
|
555
|
+
collected_local: "collected_local";
|
|
556
|
+
ingested_personal_server: "ingested_personal_server";
|
|
557
|
+
ingest_unavailable: "ingest_unavailable";
|
|
558
|
+
}>>;
|
|
559
|
+
nextSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
560
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
561
|
+
}, z.core.$strip>;
|
|
562
|
+
export type CliDataShow = z.infer<typeof cliDataShowSchema>;
|
|
563
|
+
export declare const progressPhaseSchema: z.ZodObject<{
|
|
564
|
+
step: z.ZodNumber;
|
|
565
|
+
total: z.ZodNumber;
|
|
566
|
+
label: z.ZodString;
|
|
567
|
+
}, z.core.$strip>;
|
|
568
|
+
export type ProgressPhase = z.infer<typeof progressPhaseSchema>;
|
|
569
|
+
export declare const cliEventTypeSchema: z.ZodEnum<{
|
|
570
|
+
"collection-complete": "collection-complete";
|
|
571
|
+
"connector-resolved": "connector-resolved";
|
|
572
|
+
"headed-required": "headed-required";
|
|
573
|
+
"ingest-complete": "ingest-complete";
|
|
574
|
+
"ingest-failed": "ingest-failed";
|
|
575
|
+
"ingest-partial": "ingest-partial";
|
|
576
|
+
"ingest-skipped": "ingest-skipped";
|
|
577
|
+
"ingest-started": "ingest-started";
|
|
578
|
+
jpeg: "jpeg";
|
|
579
|
+
"legacy-auth": "legacy-auth";
|
|
580
|
+
"needs-input": "needs-input";
|
|
581
|
+
outcome: "outcome";
|
|
582
|
+
"progress-update": "progress-update";
|
|
583
|
+
"run-started": "run-started";
|
|
584
|
+
"runtime-error": "runtime-error";
|
|
585
|
+
"setup-check": "setup-check";
|
|
586
|
+
"setup-complete": "setup-complete";
|
|
587
|
+
"status-update": "status-update";
|
|
588
|
+
}>;
|
|
589
|
+
export type CliEventType = z.infer<typeof cliEventTypeSchema>;
|
|
590
|
+
export declare const sourceRequiredErrorSchema: z.ZodObject<{
|
|
591
|
+
error: z.ZodLiteral<"source_required">;
|
|
592
|
+
message: z.ZodString;
|
|
593
|
+
suggestedSource: z.ZodOptional<z.ZodObject<{
|
|
594
|
+
id: z.ZodString;
|
|
595
|
+
name: z.ZodString;
|
|
596
|
+
authMode: z.ZodOptional<z.ZodEnum<{
|
|
597
|
+
automated: "automated";
|
|
598
|
+
interactive: "interactive";
|
|
599
|
+
legacy: "legacy";
|
|
600
|
+
}>>;
|
|
601
|
+
}, z.core.$strip>>;
|
|
602
|
+
}, z.core.$strip>;
|
|
603
|
+
export type SourceRequiredError = z.infer<typeof sourceRequiredErrorSchema>;
|
|
604
|
+
export declare const datasetNotFoundErrorSchema: z.ZodObject<{
|
|
605
|
+
error: z.ZodLiteral<"dataset_not_found">;
|
|
606
|
+
source: z.ZodString;
|
|
607
|
+
name: z.ZodOptional<z.ZodString>;
|
|
608
|
+
message: z.ZodString;
|
|
609
|
+
nextSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
610
|
+
}, z.core.$strip>;
|
|
611
|
+
export type DatasetNotFoundError = z.infer<typeof datasetNotFoundErrorSchema>;
|
|
612
|
+
export declare const datasetReadFailedErrorSchema: z.ZodObject<{
|
|
613
|
+
error: z.ZodLiteral<"dataset_read_failed">;
|
|
614
|
+
source: z.ZodString;
|
|
615
|
+
path: z.ZodString;
|
|
616
|
+
message: z.ZodString;
|
|
617
|
+
}, z.core.$strip>;
|
|
618
|
+
export type DatasetReadFailedError = z.infer<typeof datasetReadFailedErrorSchema>;
|
|
619
|
+
export declare const logNotFoundErrorSchema: z.ZodObject<{
|
|
620
|
+
error: z.ZodLiteral<"log_not_found">;
|
|
621
|
+
source: z.ZodOptional<z.ZodString>;
|
|
622
|
+
message: z.ZodString;
|
|
623
|
+
nextSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
624
|
+
}, z.core.$strip>;
|
|
625
|
+
export type LogNotFoundError = z.infer<typeof logNotFoundErrorSchema>;
|
|
626
|
+
export declare const scopeResultSchema: z.ZodObject<{
|
|
627
|
+
scope: z.ZodString;
|
|
628
|
+
status: z.ZodEnum<{
|
|
629
|
+
stored: "stored";
|
|
630
|
+
failed: "failed";
|
|
631
|
+
}>;
|
|
632
|
+
collectedAt: z.ZodOptional<z.ZodString>;
|
|
633
|
+
error: z.ZodOptional<z.ZodString>;
|
|
634
|
+
}, z.core.$strip>;
|
|
635
|
+
export type ScopeResult = z.infer<typeof scopeResultSchema>;
|
|
636
|
+
export declare const cliEventSchema: z.ZodObject<{
|
|
637
|
+
type: z.ZodEnum<{
|
|
638
|
+
"collection-complete": "collection-complete";
|
|
639
|
+
"connector-resolved": "connector-resolved";
|
|
640
|
+
"headed-required": "headed-required";
|
|
641
|
+
"ingest-complete": "ingest-complete";
|
|
642
|
+
"ingest-failed": "ingest-failed";
|
|
643
|
+
"ingest-partial": "ingest-partial";
|
|
644
|
+
"ingest-skipped": "ingest-skipped";
|
|
645
|
+
"ingest-started": "ingest-started";
|
|
646
|
+
jpeg: "jpeg";
|
|
647
|
+
"legacy-auth": "legacy-auth";
|
|
648
|
+
"needs-input": "needs-input";
|
|
649
|
+
outcome: "outcome";
|
|
650
|
+
"progress-update": "progress-update";
|
|
651
|
+
"run-started": "run-started";
|
|
652
|
+
"runtime-error": "runtime-error";
|
|
653
|
+
"setup-check": "setup-check";
|
|
654
|
+
"setup-complete": "setup-complete";
|
|
655
|
+
"status-update": "status-update";
|
|
656
|
+
}>;
|
|
657
|
+
source: z.ZodOptional<z.ZodString>;
|
|
658
|
+
message: z.ZodOptional<z.ZodString>;
|
|
659
|
+
status: z.ZodOptional<z.ZodString>;
|
|
660
|
+
resultPath: z.ZodOptional<z.ZodString>;
|
|
661
|
+
connectorPath: z.ZodOptional<z.ZodString>;
|
|
662
|
+
logPath: z.ZodOptional<z.ZodString>;
|
|
663
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
664
|
+
url: z.ZodOptional<z.ZodString>;
|
|
665
|
+
target: z.ZodOptional<z.ZodString>;
|
|
666
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
667
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
668
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
669
|
+
phase: z.ZodOptional<z.ZodObject<{
|
|
670
|
+
step: z.ZodNumber;
|
|
671
|
+
total: z.ZodNumber;
|
|
672
|
+
label: z.ZodString;
|
|
673
|
+
}, z.core.$strip>>;
|
|
674
|
+
scopeResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
675
|
+
scope: z.ZodString;
|
|
676
|
+
status: z.ZodEnum<{
|
|
677
|
+
stored: "stored";
|
|
678
|
+
failed: "failed";
|
|
679
|
+
}>;
|
|
680
|
+
collectedAt: z.ZodOptional<z.ZodString>;
|
|
681
|
+
error: z.ZodOptional<z.ZodString>;
|
|
682
|
+
}, z.core.$strip>>>;
|
|
683
|
+
}, z.core.$strip>;
|
|
684
|
+
export type CliEvent = z.infer<typeof cliEventSchema>;
|
|
685
|
+
export interface CliOutcome extends Record<string, unknown> {
|
|
686
|
+
type: "outcome";
|
|
687
|
+
status: CliOutcomeStatus;
|
|
688
|
+
source?: string;
|
|
689
|
+
resultPath?: string;
|
|
690
|
+
reason?: string;
|
|
691
|
+
}
|
|
692
|
+
//# sourceMappingURL=cli-types.d.ts.map
|