@sixb/server 0.2.2 → 0.2.4
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 +3 -3
- package/dist/artifacts/frame.d.ts.map +1 -1
- package/dist/auth/scope.d.ts +3 -0
- package/dist/auth/scope.d.ts.map +1 -1
- package/dist/auth/shared-access.d.ts +23 -0
- package/dist/auth/shared-access.d.ts.map +1 -1
- package/dist/connectors/http.d.ts +6 -1
- package/dist/connectors/http.d.ts.map +1 -1
- package/dist/index.js +2777 -683
- package/dist/index.js.map +41 -34
- package/dist/live/awareness.d.ts +48 -0
- package/dist/live/awareness.d.ts.map +1 -0
- package/dist/live/room.d.ts +198 -0
- package/dist/live/room.d.ts.map +1 -0
- package/dist/live/rooms.d.ts +67 -0
- package/dist/live/rooms.d.ts.map +1 -0
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/actions.d.ts +3 -3
- package/dist/routes/agent-approvals.d.ts +10 -10
- package/dist/routes/agent-children.d.ts +2 -2
- package/dist/routes/agent-computers.d.ts +32 -0
- package/dist/routes/agent-computers.d.ts.map +1 -1
- package/dist/routes/agent-runners.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +48 -48
- package/dist/routes/artifact-frames.d.ts +2 -1
- package/dist/routes/artifact-frames.d.ts.map +1 -1
- package/dist/routes/artifacts.d.ts +1713 -178
- package/dist/routes/artifacts.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +21 -21
- package/dist/routes/connector-connection-runs.d.ts +124 -5
- package/dist/routes/connector-connection-runs.d.ts.map +1 -1
- package/dist/routes/connector-connections.d.ts +9 -1
- package/dist/routes/connector-connections.d.ts.map +1 -1
- package/dist/routes/datasets.d.ts +5 -5
- package/dist/routes/events.d.ts +4 -4
- package/dist/routes/lake.d.ts +91 -0
- package/dist/routes/lake.d.ts.map +1 -0
- package/dist/routes/links.d.ts +6 -6
- package/dist/routes/logs.d.ts +2 -2
- package/dist/routes/model-generations.d.ts +2 -2
- package/dist/routes/objects.d.ts +6 -6
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/observed-agent-threads.d.ts +7 -7
- package/dist/routes/ontology.d.ts +6 -6
- package/dist/routes/pipelines.d.ts +8 -4
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/projections.d.ts +2 -2
- package/dist/routes/share-grants.d.ts +9 -9
- package/dist/routes/shared-access.d.ts +57 -2
- package/dist/routes/shared-access.d.ts.map +1 -1
- package/dist/routes/status.d.ts +11 -15
- package/dist/routes/status.d.ts.map +1 -1
- package/dist/routes/syncs.d.ts +5 -2
- package/dist/routes/syncs.d.ts.map +1 -1
- package/dist/routes/telemetry.d.ts +7 -7
- package/dist/routes/webhooks.d.ts.map +1 -1
- package/dist/routes/workflows.d.ts +3 -3
- package/dist/routes/ws/artifacts.d.ts +57 -0
- package/dist/routes/ws/artifacts.d.ts.map +1 -0
- package/dist/routes/ws/events.d.ts +8 -7
- package/dist/routes/ws/events.d.ts.map +1 -1
- package/dist/routes/ws/index.d.ts +2 -1
- package/dist/routes/ws/index.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +10 -10
- package/dist/routes/ws/shared-sockets.d.ts +52 -0
- package/dist/routes/ws/shared-sockets.d.ts.map +1 -0
- package/dist/schemas/actions.d.ts +7 -7
- package/dist/schemas/activity.d.ts +8 -8
- package/dist/schemas/agent-approvals.d.ts +27 -27
- package/dist/schemas/agents.d.ts +195 -154
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +12 -12
- package/dist/schemas/artifacts.d.ts +2106 -127
- package/dist/schemas/artifacts.d.ts.map +1 -1
- package/dist/schemas/auth.d.ts +63 -63
- package/dist/schemas/connectors.d.ts +180 -20
- package/dist/schemas/connectors.d.ts.map +1 -1
- package/dist/schemas/datasets.d.ts +44 -44
- package/dist/schemas/event-payloads.d.ts +2 -2
- package/dist/schemas/events.d.ts +26 -26
- package/dist/schemas/events.d.ts.map +1 -1
- package/dist/schemas/files.d.ts +12 -0
- package/dist/schemas/files.d.ts.map +1 -1
- package/dist/schemas/lake.d.ts +251 -0
- package/dist/schemas/lake.d.ts.map +1 -0
- package/dist/schemas/lineage.d.ts +56 -56
- package/dist/schemas/logs.d.ts +18 -18
- package/dist/schemas/models.d.ts +4 -4
- package/dist/schemas/objects.d.ts.map +1 -1
- package/dist/schemas/ontology.d.ts +14 -14
- package/dist/schemas/pipelines.d.ts +70 -48
- package/dist/schemas/pipelines.d.ts.map +1 -1
- package/dist/schemas/projections.d.ts +14 -14
- package/dist/schemas/projections.d.ts.map +1 -1
- package/dist/schemas/share-grants.d.ts +30 -30
- package/dist/schemas/shared-access.d.ts +17 -4
- package/dist/schemas/shared-access.d.ts.map +1 -1
- package/dist/schemas/status.d.ts +59 -79
- package/dist/schemas/status.d.ts.map +1 -1
- package/dist/schemas/syncs.d.ts +26 -10
- package/dist/schemas/syncs.d.ts.map +1 -1
- package/dist/schemas/telemetry.d.ts +26 -26
- package/dist/schemas/workflows.d.ts +19 -19
- package/dist/server.d.ts +13 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/utils/ws.d.ts +3 -0
- package/dist/utils/ws.d.ts.map +1 -1
- package/package.json +11 -7
- package/src/artifacts/frame.ts +4 -13
- package/src/auth/scope.ts +10 -1
- package/src/auth/shared-access.ts +108 -12
- package/src/connectors/http.ts +35 -1
- package/src/live/README.md +136 -0
- package/src/live/awareness.ts +141 -0
- package/src/live/room.ts +933 -0
- package/src/live/rooms.ts +288 -0
- package/src/registerRoutes.ts +2 -0
- package/src/routes/agent-computers.ts +59 -1
- package/src/routes/agent-runners.ts +1 -0
- package/src/routes/artifact-frames.ts +40 -12
- package/src/routes/artifacts.ts +713 -28
- package/src/routes/connector-connection-runs.ts +7 -12
- package/src/routes/connector-connections.ts +10 -7
- package/src/routes/lake.ts +73 -0
- package/src/routes/objects.ts +3 -9
- package/src/routes/pipelines.ts +1 -0
- package/src/routes/shared-access.ts +53 -1
- package/src/routes/status.ts +9 -4
- package/src/routes/syncs.ts +1 -0
- package/src/routes/webhooks.ts +44 -3
- package/src/routes/ws/artifacts.ts +138 -0
- package/src/routes/ws/events.ts +7 -2
- package/src/routes/ws/index.ts +13 -2
- package/src/routes/ws/shared-sockets.ts +152 -0
- package/src/schemas/agents.ts +11 -0
- package/src/schemas/artifacts.ts +255 -18
- package/src/schemas/connectors.ts +17 -2
- package/src/schemas/files.ts +12 -0
- package/src/schemas/lake.ts +53 -0
- package/src/schemas/objects.ts +1 -0
- package/src/schemas/pipelines.ts +2 -0
- package/src/schemas/projections.ts +2 -2
- package/src/schemas/shared-access.ts +16 -0
- package/src/schemas/status.ts +16 -22
- package/src/schemas/syncs.ts +2 -0
- package/src/server.ts +35 -4
- package/src/utils/ws.ts +7 -0
package/dist/schemas/syncs.d.ts
CHANGED
|
@@ -53,6 +53,8 @@ export declare const SyncRunSchema: z.ZodObject<{
|
|
|
53
53
|
datasetId: z.ZodString;
|
|
54
54
|
mode: z.ZodEnum<["snapshot", "append", "merge"]>;
|
|
55
55
|
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
56
|
+
/** How many executions took the run: above one, it resumed after losing its worker. */
|
|
57
|
+
attempt: z.ZodNumber;
|
|
56
58
|
queuedAt: z.ZodString;
|
|
57
59
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
58
60
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -76,6 +78,7 @@ export declare const SyncRunSchema: z.ZodObject<{
|
|
|
76
78
|
id: string;
|
|
77
79
|
mode: "append" | "merge" | "snapshot";
|
|
78
80
|
queuedAt: string;
|
|
81
|
+
attempt: number;
|
|
79
82
|
datasetId: string;
|
|
80
83
|
syncId: string;
|
|
81
84
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
|
|
@@ -94,6 +97,7 @@ export declare const SyncRunSchema: z.ZodObject<{
|
|
|
94
97
|
id: string;
|
|
95
98
|
mode: "append" | "merge" | "snapshot";
|
|
96
99
|
queuedAt: string;
|
|
100
|
+
attempt: number;
|
|
97
101
|
datasetId: string;
|
|
98
102
|
syncId: string;
|
|
99
103
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
|
|
@@ -134,24 +138,24 @@ export declare const SyncSchema: z.ZodObject<{
|
|
|
134
138
|
type: z.ZodEnum<["string", "boolean", "int64", "float64", "decimal", "date", "timestamp", "json", "fileRef"]>;
|
|
135
139
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
136
140
|
}, "strip", z.ZodTypeAny, {
|
|
137
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
138
141
|
name: string;
|
|
142
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
139
143
|
nullable?: boolean | undefined;
|
|
140
144
|
}, {
|
|
141
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
142
145
|
name: string;
|
|
146
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
143
147
|
nullable?: boolean | undefined;
|
|
144
148
|
}>, "many">;
|
|
145
149
|
}, "strip", z.ZodTypeAny, {
|
|
146
150
|
columns: {
|
|
147
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
148
151
|
name: string;
|
|
152
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
149
153
|
nullable?: boolean | undefined;
|
|
150
154
|
}[];
|
|
151
155
|
}, {
|
|
152
156
|
columns: {
|
|
153
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
154
157
|
name: string;
|
|
158
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
155
159
|
nullable?: boolean | undefined;
|
|
156
160
|
}[];
|
|
157
161
|
}>;
|
|
@@ -159,8 +163,8 @@ export declare const SyncSchema: z.ZodObject<{
|
|
|
159
163
|
id: string;
|
|
160
164
|
schema: {
|
|
161
165
|
columns: {
|
|
162
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
163
166
|
name: string;
|
|
167
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
164
168
|
nullable?: boolean | undefined;
|
|
165
169
|
}[];
|
|
166
170
|
};
|
|
@@ -172,8 +176,8 @@ export declare const SyncSchema: z.ZodObject<{
|
|
|
172
176
|
id: string;
|
|
173
177
|
schema: {
|
|
174
178
|
columns: {
|
|
175
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
176
179
|
name: string;
|
|
180
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
177
181
|
nullable?: boolean | undefined;
|
|
178
182
|
}[];
|
|
179
183
|
};
|
|
@@ -188,8 +192,8 @@ export declare const SyncSchema: z.ZodObject<{
|
|
|
188
192
|
id: string;
|
|
189
193
|
schema: {
|
|
190
194
|
columns: {
|
|
191
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
192
195
|
name: string;
|
|
196
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
193
197
|
nullable?: boolean | undefined;
|
|
194
198
|
}[];
|
|
195
199
|
};
|
|
@@ -204,8 +208,8 @@ export declare const SyncSchema: z.ZodObject<{
|
|
|
204
208
|
id: string;
|
|
205
209
|
schema: {
|
|
206
210
|
columns: {
|
|
207
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
208
211
|
name: string;
|
|
212
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
209
213
|
nullable?: boolean | undefined;
|
|
210
214
|
}[];
|
|
211
215
|
};
|
|
@@ -232,6 +236,8 @@ export declare const SyncSchema: z.ZodObject<{
|
|
|
232
236
|
datasetId: z.ZodString;
|
|
233
237
|
mode: z.ZodEnum<["snapshot", "append", "merge"]>;
|
|
234
238
|
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
239
|
+
/** How many executions took the run: above one, it resumed after losing its worker. */
|
|
240
|
+
attempt: z.ZodNumber;
|
|
235
241
|
queuedAt: z.ZodString;
|
|
236
242
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
237
243
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -255,6 +261,7 @@ export declare const SyncSchema: z.ZodObject<{
|
|
|
255
261
|
id: string;
|
|
256
262
|
mode: "append" | "merge" | "snapshot";
|
|
257
263
|
queuedAt: string;
|
|
264
|
+
attempt: number;
|
|
258
265
|
datasetId: string;
|
|
259
266
|
syncId: string;
|
|
260
267
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
|
|
@@ -273,6 +280,7 @@ export declare const SyncSchema: z.ZodObject<{
|
|
|
273
280
|
id: string;
|
|
274
281
|
mode: "append" | "merge" | "snapshot";
|
|
275
282
|
queuedAt: string;
|
|
283
|
+
attempt: number;
|
|
276
284
|
datasetId: string;
|
|
277
285
|
syncId: string;
|
|
278
286
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
|
|
@@ -303,6 +311,7 @@ export declare const SyncSchema: z.ZodObject<{
|
|
|
303
311
|
id: string;
|
|
304
312
|
mode: "append" | "merge" | "snapshot";
|
|
305
313
|
queuedAt: string;
|
|
314
|
+
attempt: number;
|
|
306
315
|
datasetId: string;
|
|
307
316
|
syncId: string;
|
|
308
317
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
|
|
@@ -322,8 +331,8 @@ export declare const SyncSchema: z.ZodObject<{
|
|
|
322
331
|
id: string;
|
|
323
332
|
schema: {
|
|
324
333
|
columns: {
|
|
325
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
326
334
|
name: string;
|
|
335
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
327
336
|
nullable?: boolean | undefined;
|
|
328
337
|
}[];
|
|
329
338
|
};
|
|
@@ -350,6 +359,7 @@ export declare const SyncSchema: z.ZodObject<{
|
|
|
350
359
|
id: string;
|
|
351
360
|
mode: "append" | "merge" | "snapshot";
|
|
352
361
|
queuedAt: string;
|
|
362
|
+
attempt: number;
|
|
353
363
|
datasetId: string;
|
|
354
364
|
syncId: string;
|
|
355
365
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
|
|
@@ -369,8 +379,8 @@ export declare const SyncSchema: z.ZodObject<{
|
|
|
369
379
|
id: string;
|
|
370
380
|
schema: {
|
|
371
381
|
columns: {
|
|
372
|
-
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
373
382
|
name: string;
|
|
383
|
+
type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
|
|
374
384
|
nullable?: boolean | undefined;
|
|
375
385
|
}[];
|
|
376
386
|
};
|
|
@@ -389,6 +399,8 @@ export declare const SyncRunListResponseSchema: z.ZodObject<{
|
|
|
389
399
|
datasetId: z.ZodString;
|
|
390
400
|
mode: z.ZodEnum<["snapshot", "append", "merge"]>;
|
|
391
401
|
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
402
|
+
/** How many executions took the run: above one, it resumed after losing its worker. */
|
|
403
|
+
attempt: z.ZodNumber;
|
|
392
404
|
queuedAt: z.ZodString;
|
|
393
405
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
394
406
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -412,6 +424,7 @@ export declare const SyncRunListResponseSchema: z.ZodObject<{
|
|
|
412
424
|
id: string;
|
|
413
425
|
mode: "append" | "merge" | "snapshot";
|
|
414
426
|
queuedAt: string;
|
|
427
|
+
attempt: number;
|
|
415
428
|
datasetId: string;
|
|
416
429
|
syncId: string;
|
|
417
430
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
|
|
@@ -430,6 +443,7 @@ export declare const SyncRunListResponseSchema: z.ZodObject<{
|
|
|
430
443
|
id: string;
|
|
431
444
|
mode: "append" | "merge" | "snapshot";
|
|
432
445
|
queuedAt: string;
|
|
446
|
+
attempt: number;
|
|
433
447
|
datasetId: string;
|
|
434
448
|
syncId: string;
|
|
435
449
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
|
|
@@ -452,6 +466,7 @@ export declare const SyncRunListResponseSchema: z.ZodObject<{
|
|
|
452
466
|
id: string;
|
|
453
467
|
mode: "append" | "merge" | "snapshot";
|
|
454
468
|
queuedAt: string;
|
|
469
|
+
attempt: number;
|
|
455
470
|
datasetId: string;
|
|
456
471
|
syncId: string;
|
|
457
472
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
|
|
@@ -474,6 +489,7 @@ export declare const SyncRunListResponseSchema: z.ZodObject<{
|
|
|
474
489
|
id: string;
|
|
475
490
|
mode: "append" | "merge" | "snapshot";
|
|
476
491
|
queuedAt: string;
|
|
492
|
+
attempt: number;
|
|
477
493
|
datasetId: string;
|
|
478
494
|
syncId: string;
|
|
479
495
|
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"syncs.d.ts","sourceRoot":"","sources":["../../src/schemas/syncs.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,WAAW,EAGjB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAOvB,eAAO,MAAM,gBAAgB;;;;;;EAE3B,CAAA;AAEF,eAAO,MAAM,mBAAmB,sEAAoE,CAAA;AAGpG,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS9B,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;EAGnC,CAAA;AAOF,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"syncs.d.ts","sourceRoot":"","sources":["../../src/schemas/syncs.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,WAAW,EAGjB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAOvB,eAAO,MAAM,gBAAgB;;;;;;EAE3B,CAAA;AAEF,eAAO,MAAM,mBAAmB,sEAAoE,CAAA;AAGpG,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS9B,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;EAGnC,CAAA;AAOF,eAAO,MAAM,aAAa;;;;;;;IAOxB,uFAAuF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAevF,CAAA;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAjBrB,uFAAuF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8BvF,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;QAhCpC,uFAAuF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoCvF,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;EAKvC,CAAA"}
|
|
@@ -5,12 +5,12 @@ export declare const TelemetryParamsSchema: z.ZodObject<{
|
|
|
5
5
|
propertyId: z.ZodString;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
7
|
objectTypeId: string;
|
|
8
|
-
objectId: string;
|
|
9
8
|
propertyId: string;
|
|
9
|
+
objectId: string;
|
|
10
10
|
}, {
|
|
11
11
|
objectTypeId: string;
|
|
12
|
-
objectId: string;
|
|
13
12
|
propertyId: string;
|
|
13
|
+
objectId: string;
|
|
14
14
|
}>;
|
|
15
15
|
export declare const TelemetryHistoryQuerySchema: z.ZodObject<{
|
|
16
16
|
from: z.ZodOptional<z.ZodString>;
|
|
@@ -34,12 +34,12 @@ export declare const BulkTelemetryHistorySeriesInputSchema: z.ZodObject<{
|
|
|
34
34
|
propertyId: z.ZodString;
|
|
35
35
|
}, "strict", z.ZodTypeAny, {
|
|
36
36
|
objectTypeId: string;
|
|
37
|
-
objectId: string;
|
|
38
37
|
propertyId: string;
|
|
38
|
+
objectId: string;
|
|
39
39
|
}, {
|
|
40
40
|
objectTypeId: string;
|
|
41
|
-
objectId: string;
|
|
42
41
|
propertyId: string;
|
|
42
|
+
objectId: string;
|
|
43
43
|
}>;
|
|
44
44
|
export declare const BulkTelemetryHistoryBodySchema: z.ZodObject<{
|
|
45
45
|
series: z.ZodArray<z.ZodObject<{
|
|
@@ -48,12 +48,12 @@ export declare const BulkTelemetryHistoryBodySchema: z.ZodObject<{
|
|
|
48
48
|
propertyId: z.ZodString;
|
|
49
49
|
}, "strict", z.ZodTypeAny, {
|
|
50
50
|
objectTypeId: string;
|
|
51
|
-
objectId: string;
|
|
52
51
|
propertyId: string;
|
|
52
|
+
objectId: string;
|
|
53
53
|
}, {
|
|
54
54
|
objectTypeId: string;
|
|
55
|
-
objectId: string;
|
|
56
55
|
propertyId: string;
|
|
56
|
+
objectId: string;
|
|
57
57
|
}>, "many">;
|
|
58
58
|
from: z.ZodOptional<z.ZodString>;
|
|
59
59
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -62,8 +62,8 @@ export declare const BulkTelemetryHistoryBodySchema: z.ZodObject<{
|
|
|
62
62
|
}, "strict", z.ZodTypeAny, {
|
|
63
63
|
series: {
|
|
64
64
|
objectTypeId: string;
|
|
65
|
-
objectId: string;
|
|
66
65
|
propertyId: string;
|
|
66
|
+
objectId: string;
|
|
67
67
|
}[];
|
|
68
68
|
order?: "asc" | "desc" | undefined;
|
|
69
69
|
from?: string | undefined;
|
|
@@ -72,8 +72,8 @@ export declare const BulkTelemetryHistoryBodySchema: z.ZodObject<{
|
|
|
72
72
|
}, {
|
|
73
73
|
series: {
|
|
74
74
|
objectTypeId: string;
|
|
75
|
-
objectId: string;
|
|
76
75
|
propertyId: string;
|
|
76
|
+
objectId: string;
|
|
77
77
|
}[];
|
|
78
78
|
order?: "asc" | "desc" | undefined;
|
|
79
79
|
from?: string | undefined;
|
|
@@ -92,16 +92,16 @@ export declare const TelemetryPointSchema: z.ZodObject<{
|
|
|
92
92
|
at: string;
|
|
93
93
|
projectId: string;
|
|
94
94
|
objectTypeId: string;
|
|
95
|
-
objectId: string;
|
|
96
95
|
propertyId: string;
|
|
96
|
+
objectId: string;
|
|
97
97
|
value?: unknown;
|
|
98
98
|
unit?: string | undefined;
|
|
99
99
|
}, {
|
|
100
100
|
at: string;
|
|
101
101
|
projectId: string;
|
|
102
102
|
objectTypeId: string;
|
|
103
|
-
objectId: string;
|
|
104
103
|
propertyId: string;
|
|
104
|
+
objectId: string;
|
|
105
105
|
value?: unknown;
|
|
106
106
|
unit?: string | undefined;
|
|
107
107
|
}>;
|
|
@@ -121,42 +121,42 @@ export declare const BulkTelemetryHistorySeriesSchema: z.ZodObject<{
|
|
|
121
121
|
at: string;
|
|
122
122
|
projectId: string;
|
|
123
123
|
objectTypeId: string;
|
|
124
|
-
objectId: string;
|
|
125
124
|
propertyId: string;
|
|
125
|
+
objectId: string;
|
|
126
126
|
value?: unknown;
|
|
127
127
|
unit?: string | undefined;
|
|
128
128
|
}, {
|
|
129
129
|
at: string;
|
|
130
130
|
projectId: string;
|
|
131
131
|
objectTypeId: string;
|
|
132
|
-
objectId: string;
|
|
133
132
|
propertyId: string;
|
|
133
|
+
objectId: string;
|
|
134
134
|
value?: unknown;
|
|
135
135
|
unit?: string | undefined;
|
|
136
136
|
}>, "many">;
|
|
137
137
|
}, "strip", z.ZodTypeAny, {
|
|
138
138
|
objectTypeId: string;
|
|
139
|
-
objectId: string;
|
|
140
139
|
propertyId: string;
|
|
140
|
+
objectId: string;
|
|
141
141
|
points: {
|
|
142
142
|
at: string;
|
|
143
143
|
projectId: string;
|
|
144
144
|
objectTypeId: string;
|
|
145
|
-
objectId: string;
|
|
146
145
|
propertyId: string;
|
|
146
|
+
objectId: string;
|
|
147
147
|
value?: unknown;
|
|
148
148
|
unit?: string | undefined;
|
|
149
149
|
}[];
|
|
150
150
|
}, {
|
|
151
151
|
objectTypeId: string;
|
|
152
|
-
objectId: string;
|
|
153
152
|
propertyId: string;
|
|
153
|
+
objectId: string;
|
|
154
154
|
points: {
|
|
155
155
|
at: string;
|
|
156
156
|
projectId: string;
|
|
157
157
|
objectTypeId: string;
|
|
158
|
-
objectId: string;
|
|
159
158
|
propertyId: string;
|
|
159
|
+
objectId: string;
|
|
160
160
|
value?: unknown;
|
|
161
161
|
unit?: string | undefined;
|
|
162
162
|
}[];
|
|
@@ -178,42 +178,42 @@ export declare const BulkTelemetryHistoryResponseSchema: z.ZodObject<{
|
|
|
178
178
|
at: string;
|
|
179
179
|
projectId: string;
|
|
180
180
|
objectTypeId: string;
|
|
181
|
-
objectId: string;
|
|
182
181
|
propertyId: string;
|
|
182
|
+
objectId: string;
|
|
183
183
|
value?: unknown;
|
|
184
184
|
unit?: string | undefined;
|
|
185
185
|
}, {
|
|
186
186
|
at: string;
|
|
187
187
|
projectId: string;
|
|
188
188
|
objectTypeId: string;
|
|
189
|
-
objectId: string;
|
|
190
189
|
propertyId: string;
|
|
190
|
+
objectId: string;
|
|
191
191
|
value?: unknown;
|
|
192
192
|
unit?: string | undefined;
|
|
193
193
|
}>, "many">;
|
|
194
194
|
}, "strip", z.ZodTypeAny, {
|
|
195
195
|
objectTypeId: string;
|
|
196
|
-
objectId: string;
|
|
197
196
|
propertyId: string;
|
|
197
|
+
objectId: string;
|
|
198
198
|
points: {
|
|
199
199
|
at: string;
|
|
200
200
|
projectId: string;
|
|
201
201
|
objectTypeId: string;
|
|
202
|
-
objectId: string;
|
|
203
202
|
propertyId: string;
|
|
203
|
+
objectId: string;
|
|
204
204
|
value?: unknown;
|
|
205
205
|
unit?: string | undefined;
|
|
206
206
|
}[];
|
|
207
207
|
}, {
|
|
208
208
|
objectTypeId: string;
|
|
209
|
-
objectId: string;
|
|
210
209
|
propertyId: string;
|
|
210
|
+
objectId: string;
|
|
211
211
|
points: {
|
|
212
212
|
at: string;
|
|
213
213
|
projectId: string;
|
|
214
214
|
objectTypeId: string;
|
|
215
|
-
objectId: string;
|
|
216
215
|
propertyId: string;
|
|
216
|
+
objectId: string;
|
|
217
217
|
value?: unknown;
|
|
218
218
|
unit?: string | undefined;
|
|
219
219
|
}[];
|
|
@@ -221,14 +221,14 @@ export declare const BulkTelemetryHistoryResponseSchema: z.ZodObject<{
|
|
|
221
221
|
}, "strip", z.ZodTypeAny, {
|
|
222
222
|
series: {
|
|
223
223
|
objectTypeId: string;
|
|
224
|
-
objectId: string;
|
|
225
224
|
propertyId: string;
|
|
225
|
+
objectId: string;
|
|
226
226
|
points: {
|
|
227
227
|
at: string;
|
|
228
228
|
projectId: string;
|
|
229
229
|
objectTypeId: string;
|
|
230
|
-
objectId: string;
|
|
231
230
|
propertyId: string;
|
|
231
|
+
objectId: string;
|
|
232
232
|
value?: unknown;
|
|
233
233
|
unit?: string | undefined;
|
|
234
234
|
}[];
|
|
@@ -236,14 +236,14 @@ export declare const BulkTelemetryHistoryResponseSchema: z.ZodObject<{
|
|
|
236
236
|
}, {
|
|
237
237
|
series: {
|
|
238
238
|
objectTypeId: string;
|
|
239
|
-
objectId: string;
|
|
240
239
|
propertyId: string;
|
|
240
|
+
objectId: string;
|
|
241
241
|
points: {
|
|
242
242
|
at: string;
|
|
243
243
|
projectId: string;
|
|
244
244
|
objectTypeId: string;
|
|
245
|
-
objectId: string;
|
|
246
245
|
propertyId: string;
|
|
246
|
+
objectId: string;
|
|
247
247
|
value?: unknown;
|
|
248
248
|
unit?: string | undefined;
|
|
249
249
|
}[];
|