@sixb/server 0.1.1 → 0.1.3
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/auth/application-access.d.ts +2 -2
- package/dist/auth/application-access.d.ts.map +1 -1
- package/dist/auth/connector-callback-cookie.d.ts +12 -0
- package/dist/auth/connector-callback-cookie.d.ts.map +1 -0
- package/dist/auth/experience.d.ts +33 -0
- package/dist/auth/experience.d.ts.map +1 -0
- package/dist/auth/guard.d.ts +3 -3
- package/dist/auth/guard.d.ts.map +1 -1
- package/dist/auth/public-routes.d.ts.map +1 -1
- package/dist/auth/scope.d.ts +13 -27
- package/dist/auth/scope.d.ts.map +1 -1
- package/dist/auth/session-cookies.d.ts +2 -2
- package/dist/auth/session-cookies.d.ts.map +1 -1
- package/dist/connectors/http.d.ts +16 -0
- package/dist/connectors/http.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3903 -2760
- package/dist/index.js.map +58 -50
- package/dist/openapi/tags.d.ts +15 -3
- package/dist/openapi/tags.d.ts.map +1 -1
- package/dist/registerRoutes.d.ts +6 -2
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/action-runs.d.ts +21 -31
- package/dist/routes/action-runs.d.ts.map +1 -1
- package/dist/routes/actions.d.ts +12 -11
- package/dist/routes/actions.d.ts.map +1 -1
- package/dist/routes/agent-api-gateway.d.ts +2 -2
- package/dist/routes/agent-api-gateway.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +230 -159
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/ai-accounting.d.ts +31 -0
- package/dist/routes/ai-accounting.d.ts.map +1 -0
- package/dist/routes/auth.d.ts +149 -92
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/connector-connection-runs.d.ts +794 -0
- package/dist/routes/connector-connection-runs.d.ts.map +1 -0
- package/dist/routes/connector-connections.d.ts +219 -0
- package/dist/routes/connector-connections.d.ts.map +1 -0
- package/dist/routes/connectors.d.ts +10 -4
- package/dist/routes/connectors.d.ts.map +1 -1
- package/dist/routes/datasets.d.ts +16 -12
- package/dist/routes/datasets.d.ts.map +1 -1
- package/dist/routes/events.d.ts +9 -9
- package/dist/routes/events.d.ts.map +1 -1
- package/dist/routes/files.d.ts +19 -18
- package/dist/routes/files.d.ts.map +1 -1
- package/dist/routes/links.d.ts +11 -11
- package/dist/routes/links.d.ts.map +1 -1
- package/dist/routes/logs.d.ts +5 -5
- package/dist/routes/logs.d.ts.map +1 -1
- package/dist/routes/objects.d.ts +37 -37
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/ontology.d.ts +50 -50
- package/dist/routes/ontology.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +28 -38
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/project.d.ts +2 -2
- package/dist/routes/project.d.ts.map +1 -1
- package/dist/routes/projections.d.ts +145 -85
- package/dist/routes/projections.d.ts.map +1 -1
- package/dist/routes/rules.d.ts +6 -6
- package/dist/routes/rules.d.ts.map +1 -1
- package/dist/routes/status.d.ts +2 -2
- package/dist/routes/status.d.ts.map +1 -1
- package/dist/routes/syncs.d.ts +23 -28
- package/dist/routes/syncs.d.ts.map +1 -1
- package/dist/routes/telemetry.d.ts +9 -9
- package/dist/routes/telemetry.d.ts.map +1 -1
- package/dist/routes/webhook-runs.d.ts +9 -9
- package/dist/routes/webhook-runs.d.ts.map +1 -1
- package/dist/routes/webhooks.d.ts +2 -2
- package/dist/routes/webhooks.d.ts.map +1 -1
- package/dist/routes/workflows.d.ts +177 -66
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/agents.d.ts +11 -5
- package/dist/routes/ws/agents.d.ts.map +1 -1
- package/dist/routes/ws/events.d.ts +8 -8
- package/dist/routes/ws/events.d.ts.map +1 -1
- package/dist/routes/ws/log-subscription-hub.d.ts +6 -3
- package/dist/routes/ws/log-subscription-hub.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +10 -10
- package/dist/routes/ws/logs.d.ts.map +1 -1
- package/dist/schemas/actions.d.ts +89 -194
- package/dist/schemas/actions.d.ts.map +1 -1
- package/dist/schemas/agents.d.ts +791 -471
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +2393 -0
- package/dist/schemas/ai-accounting.d.ts.map +1 -0
- package/dist/schemas/ai-usage.d.ts +34 -0
- package/dist/schemas/ai-usage.d.ts.map +1 -0
- package/dist/schemas/auth.d.ts +102 -102
- package/dist/schemas/common.d.ts +37 -0
- package/dist/schemas/common.d.ts.map +1 -1
- package/dist/schemas/connectors.d.ts +713 -2
- package/dist/schemas/connectors.d.ts.map +1 -1
- package/dist/schemas/datasets.d.ts +2 -2
- package/dist/schemas/event-payloads.d.ts +12 -12
- package/dist/schemas/events.d.ts +40 -40
- package/dist/schemas/links.d.ts +2 -2
- package/dist/schemas/logs.d.ts +22 -22
- package/dist/schemas/objects.d.ts +10 -10
- package/dist/schemas/ontology.d.ts +118 -118
- package/dist/schemas/pipelines.d.ts +89 -184
- package/dist/schemas/pipelines.d.ts.map +1 -1
- package/dist/schemas/projections.d.ts +1030 -563
- package/dist/schemas/projections.d.ts.map +1 -1
- package/dist/schemas/rules.d.ts +6 -6
- package/dist/schemas/syncs.d.ts +65 -108
- package/dist/schemas/syncs.d.ts.map +1 -1
- package/dist/schemas/webhook-runs.d.ts +41 -41
- package/dist/schemas/webhook-runs.d.ts.map +1 -1
- package/dist/schemas/workflows.d.ts +1189 -185
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/server.d.ts +11 -6
- package/dist/server.d.ts.map +1 -1
- package/dist/utils/http.d.ts +2 -0
- package/dist/utils/http.d.ts.map +1 -1
- package/dist/utils/ws.d.ts +4 -3
- package/dist/utils/ws.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/auth/access-token-boundary.ts +4 -4
- package/src/auth/application-access.ts +8 -9
- package/src/auth/connector-callback-cookie.ts +95 -0
- package/src/auth/experience.ts +190 -0
- package/src/auth/guard.ts +11 -11
- package/src/auth/public-routes.ts +20 -0
- package/src/auth/scope.ts +26 -36
- package/src/auth/session-cookies.ts +3 -3
- package/src/connectors/http.ts +110 -0
- package/src/index.ts +1 -0
- package/src/openapi/tags.ts +13 -1
- package/src/registerRoutes.ts +36 -23
- package/src/routes/action-runs.ts +39 -39
- package/src/routes/actions.ts +7 -13
- package/src/routes/agent-api-gateway.ts +41 -38
- package/src/routes/agents.ts +90 -200
- package/src/routes/ai-accounting.ts +166 -0
- package/src/routes/auth.ts +274 -122
- package/src/routes/connector-connection-runs.ts +346 -0
- package/src/routes/connector-connections.ts +135 -0
- package/src/routes/connectors.ts +24 -12
- package/src/routes/datasets.ts +55 -54
- package/src/routes/events.ts +5 -5
- package/src/routes/files.ts +22 -30
- package/src/routes/links.ts +31 -35
- package/src/routes/logs.ts +6 -11
- package/src/routes/objects.ts +51 -114
- package/src/routes/ontology.ts +27 -38
- package/src/routes/pipelines.ts +28 -62
- package/src/routes/project.ts +3 -3
- package/src/routes/projections.ts +44 -42
- package/src/routes/rules.ts +11 -25
- package/src/routes/status.ts +5 -5
- package/src/routes/syncs.ts +19 -45
- package/src/routes/telemetry.ts +18 -29
- package/src/routes/webhook-runs.ts +5 -5
- package/src/routes/webhooks.ts +259 -341
- package/src/routes/workflows.ts +242 -248
- package/src/routes/ws/agents.ts +196 -66
- package/src/routes/ws/events.ts +11 -10
- package/src/routes/ws/log-subscription-hub.ts +6 -12
- package/src/routes/ws/logs.ts +13 -5
- package/src/schemas/actions.ts +58 -25
- package/src/schemas/agents.ts +23 -23
- package/src/schemas/ai-accounting.ts +182 -0
- package/src/schemas/ai-usage.ts +16 -0
- package/src/schemas/common.ts +24 -0
- package/src/schemas/connectors.ts +164 -0
- package/src/schemas/pipelines.ts +23 -15
- package/src/schemas/projections.ts +23 -3
- package/src/schemas/syncs.ts +13 -8
- package/src/schemas/webhook-runs.ts +10 -5
- package/src/schemas/workflows.ts +23 -8
- package/src/server.ts +75 -26
- package/src/utils/http.ts +34 -6
- package/src/utils/ws.ts +10 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projections.d.ts","sourceRoot":"","sources":["../../src/schemas/projections.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"projections.d.ts","sourceRoot":"","sources":["../../src/schemas/projections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAE7C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAMvB,eAAO,MAAM,oBAAoB,4CAA0C,CAAA;AAC3E,eAAO,MAAM,yBAAyB,sEAMpC,CAAA;AAyDF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAI9B,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;EAKrC,CAAA;AAEF,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;IAG7C,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI1C,CAAA"}
|
package/dist/schemas/rules.d.ts
CHANGED
|
@@ -15,18 +15,18 @@ export declare const RuleStatesQuerySchema: z.ZodObject<{
|
|
|
15
15
|
offset: z.ZodOptional<z.ZodString>;
|
|
16
16
|
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
objectTypeId?: string | undefined;
|
|
19
|
+
primaryId?: string | undefined;
|
|
18
20
|
limit?: string | undefined;
|
|
19
21
|
offset?: string | undefined;
|
|
20
22
|
order?: "asc" | "desc" | undefined;
|
|
21
|
-
objectTypeId?: string | undefined;
|
|
22
|
-
primaryId?: string | undefined;
|
|
23
23
|
ruleId?: string | undefined;
|
|
24
24
|
}, {
|
|
25
|
+
objectTypeId?: string | undefined;
|
|
26
|
+
primaryId?: string | undefined;
|
|
25
27
|
limit?: string | undefined;
|
|
26
28
|
offset?: string | undefined;
|
|
27
29
|
order?: "asc" | "desc" | undefined;
|
|
28
|
-
objectTypeId?: string | undefined;
|
|
29
|
-
primaryId?: string | undefined;
|
|
30
30
|
ruleId?: string | undefined;
|
|
31
31
|
}>;
|
|
32
32
|
export declare const RulePredicateSchema: z.ZodType<RulePredicate>;
|
|
@@ -67,8 +67,8 @@ export declare const RuleSchema: z.ZodObject<{
|
|
|
67
67
|
linkId: string;
|
|
68
68
|
}>]>, "many">;
|
|
69
69
|
}, "strip", z.ZodTypeAny, {
|
|
70
|
-
kind: "rule";
|
|
71
70
|
id: string;
|
|
71
|
+
kind: "rule";
|
|
72
72
|
subject: {
|
|
73
73
|
kind: "object";
|
|
74
74
|
objectTypeId: string;
|
|
@@ -83,8 +83,8 @@ export declare const RuleSchema: z.ZodObject<{
|
|
|
83
83
|
linkId: string;
|
|
84
84
|
})[];
|
|
85
85
|
}, {
|
|
86
|
-
kind: "rule";
|
|
87
86
|
id: string;
|
|
87
|
+
kind: "rule";
|
|
88
88
|
subject: {
|
|
89
89
|
kind: "object";
|
|
90
90
|
objectTypeId: string;
|
package/dist/schemas/syncs.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type SixbFailure } from "@sixb/core/storage";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
export declare const SyncParamsSchema: z.ZodObject<{
|
|
3
4
|
syncId: z.ZodString;
|
|
@@ -6,32 +7,32 @@ export declare const SyncParamsSchema: z.ZodObject<{
|
|
|
6
7
|
}, {
|
|
7
8
|
syncId: string;
|
|
8
9
|
}>;
|
|
9
|
-
export declare const SyncRunStatusSchema: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
|
|
10
|
+
export declare const SyncRunStatusSchema: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
10
11
|
export declare const SyncRunsQuerySchema: z.ZodObject<{
|
|
11
12
|
syncId: z.ZodOptional<z.ZodString>;
|
|
12
13
|
datasetId: z.ZodOptional<z.ZodString>;
|
|
13
|
-
status: z.ZodOptional<z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>>;
|
|
14
|
+
status: z.ZodOptional<z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>>;
|
|
14
15
|
startedAfter: z.ZodOptional<z.ZodString>;
|
|
15
16
|
startedBefore: z.ZodOptional<z.ZodString>;
|
|
16
17
|
limit: z.ZodOptional<z.ZodString>;
|
|
17
18
|
offset: z.ZodOptional<z.ZodString>;
|
|
18
19
|
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
19
20
|
}, "strip", z.ZodTypeAny, {
|
|
20
|
-
status?: "running" | "succeeded" | "failed" | "cancelled" | undefined;
|
|
21
|
+
status?: "queued" | "running" | "succeeded" | "failed" | "cancelled" | undefined;
|
|
22
|
+
startedAfter?: string | undefined;
|
|
23
|
+
startedBefore?: string | undefined;
|
|
21
24
|
limit?: string | undefined;
|
|
22
25
|
offset?: string | undefined;
|
|
23
26
|
order?: "asc" | "desc" | undefined;
|
|
24
|
-
startedAfter?: string | undefined;
|
|
25
|
-
startedBefore?: string | undefined;
|
|
26
27
|
datasetId?: string | undefined;
|
|
27
28
|
syncId?: string | undefined;
|
|
28
29
|
}, {
|
|
29
|
-
status?: "running" | "succeeded" | "failed" | "cancelled" | undefined;
|
|
30
|
+
status?: "queued" | "running" | "succeeded" | "failed" | "cancelled" | undefined;
|
|
31
|
+
startedAfter?: string | undefined;
|
|
32
|
+
startedBefore?: string | undefined;
|
|
30
33
|
limit?: string | undefined;
|
|
31
34
|
offset?: string | undefined;
|
|
32
35
|
order?: "asc" | "desc" | undefined;
|
|
33
|
-
startedAfter?: string | undefined;
|
|
34
|
-
startedBefore?: string | undefined;
|
|
35
36
|
datasetId?: string | undefined;
|
|
36
37
|
syncId?: string | undefined;
|
|
37
38
|
}>;
|
|
@@ -51,8 +52,9 @@ export declare const SyncRunSchema: z.ZodObject<{
|
|
|
51
52
|
syncId: z.ZodString;
|
|
52
53
|
datasetId: z.ZodString;
|
|
53
54
|
mode: z.ZodEnum<["snapshot", "append", "merge"]>;
|
|
54
|
-
status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
|
|
55
|
-
|
|
55
|
+
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
56
|
+
queuedAt: z.ZodString;
|
|
57
|
+
startedAt: z.ZodOptional<z.ZodString>;
|
|
56
58
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
57
59
|
rowsRead: z.ZodOptional<z.ZodNumber>;
|
|
58
60
|
output: z.ZodOptional<z.ZodObject<{
|
|
@@ -67,28 +69,17 @@ export declare const SyncRunSchema: z.ZodObject<{
|
|
|
67
69
|
}>>;
|
|
68
70
|
expectedLatestVersionId: z.ZodOptional<z.ZodString>;
|
|
69
71
|
commitMessage: z.ZodOptional<z.ZodString>;
|
|
70
|
-
error: z.ZodOptional<z.
|
|
71
|
-
name: z.ZodOptional<z.ZodString>;
|
|
72
|
-
message: z.ZodString;
|
|
73
|
-
}, "strip", z.ZodTypeAny, {
|
|
74
|
-
message: string;
|
|
75
|
-
name?: string | undefined;
|
|
76
|
-
}, {
|
|
77
|
-
message: string;
|
|
78
|
-
name?: string | undefined;
|
|
79
|
-
}>>;
|
|
72
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed">>>;
|
|
80
73
|
}, "strip", z.ZodTypeAny, {
|
|
81
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
74
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
82
75
|
projectId: string;
|
|
83
76
|
id: string;
|
|
84
77
|
mode: "append" | "snapshot" | "merge";
|
|
85
|
-
|
|
78
|
+
queuedAt: string;
|
|
86
79
|
datasetId: string;
|
|
87
80
|
syncId: string;
|
|
88
|
-
error?:
|
|
89
|
-
|
|
90
|
-
name?: string | undefined;
|
|
91
|
-
} | undefined;
|
|
81
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
|
|
82
|
+
startedAt?: string | undefined;
|
|
92
83
|
finishedAt?: string | undefined;
|
|
93
84
|
output?: {
|
|
94
85
|
datasetId: string;
|
|
@@ -98,17 +89,15 @@ export declare const SyncRunSchema: z.ZodObject<{
|
|
|
98
89
|
commitMessage?: string | undefined;
|
|
99
90
|
rowsRead?: number | undefined;
|
|
100
91
|
}, {
|
|
101
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
92
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
102
93
|
projectId: string;
|
|
103
94
|
id: string;
|
|
104
95
|
mode: "append" | "snapshot" | "merge";
|
|
105
|
-
|
|
96
|
+
queuedAt: string;
|
|
106
97
|
datasetId: string;
|
|
107
98
|
syncId: string;
|
|
108
|
-
error?:
|
|
109
|
-
|
|
110
|
-
name?: string | undefined;
|
|
111
|
-
} | undefined;
|
|
99
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
|
|
100
|
+
startedAt?: string | undefined;
|
|
112
101
|
finishedAt?: string | undefined;
|
|
113
102
|
output?: {
|
|
114
103
|
datasetId: string;
|
|
@@ -125,11 +114,11 @@ export declare const SyncSchema: z.ZodObject<{
|
|
|
125
114
|
id: z.ZodString;
|
|
126
115
|
type: z.ZodString;
|
|
127
116
|
}, "strip", z.ZodTypeAny, {
|
|
128
|
-
type: string;
|
|
129
117
|
id: string;
|
|
130
|
-
}, {
|
|
131
118
|
type: string;
|
|
119
|
+
}, {
|
|
132
120
|
id: string;
|
|
121
|
+
type: string;
|
|
133
122
|
}>;
|
|
134
123
|
target: z.ZodObject<{
|
|
135
124
|
kind: z.ZodLiteral<"dataset">;
|
|
@@ -237,8 +226,9 @@ export declare const SyncSchema: z.ZodObject<{
|
|
|
237
226
|
syncId: z.ZodString;
|
|
238
227
|
datasetId: z.ZodString;
|
|
239
228
|
mode: z.ZodEnum<["snapshot", "append", "merge"]>;
|
|
240
|
-
status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
|
|
241
|
-
|
|
229
|
+
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
230
|
+
queuedAt: z.ZodString;
|
|
231
|
+
startedAt: z.ZodOptional<z.ZodString>;
|
|
242
232
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
243
233
|
rowsRead: z.ZodOptional<z.ZodNumber>;
|
|
244
234
|
output: z.ZodOptional<z.ZodObject<{
|
|
@@ -253,28 +243,17 @@ export declare const SyncSchema: z.ZodObject<{
|
|
|
253
243
|
}>>;
|
|
254
244
|
expectedLatestVersionId: z.ZodOptional<z.ZodString>;
|
|
255
245
|
commitMessage: z.ZodOptional<z.ZodString>;
|
|
256
|
-
error: z.ZodOptional<z.
|
|
257
|
-
name: z.ZodOptional<z.ZodString>;
|
|
258
|
-
message: z.ZodString;
|
|
259
|
-
}, "strip", z.ZodTypeAny, {
|
|
260
|
-
message: string;
|
|
261
|
-
name?: string | undefined;
|
|
262
|
-
}, {
|
|
263
|
-
message: string;
|
|
264
|
-
name?: string | undefined;
|
|
265
|
-
}>>;
|
|
246
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed">>>;
|
|
266
247
|
}, "strip", z.ZodTypeAny, {
|
|
267
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
248
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
268
249
|
projectId: string;
|
|
269
250
|
id: string;
|
|
270
251
|
mode: "append" | "snapshot" | "merge";
|
|
271
|
-
|
|
252
|
+
queuedAt: string;
|
|
272
253
|
datasetId: string;
|
|
273
254
|
syncId: string;
|
|
274
|
-
error?:
|
|
275
|
-
|
|
276
|
-
name?: string | undefined;
|
|
277
|
-
} | undefined;
|
|
255
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
|
|
256
|
+
startedAt?: string | undefined;
|
|
278
257
|
finishedAt?: string | undefined;
|
|
279
258
|
output?: {
|
|
280
259
|
datasetId: string;
|
|
@@ -284,17 +263,15 @@ export declare const SyncSchema: z.ZodObject<{
|
|
|
284
263
|
commitMessage?: string | undefined;
|
|
285
264
|
rowsRead?: number | undefined;
|
|
286
265
|
}, {
|
|
287
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
266
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
288
267
|
projectId: string;
|
|
289
268
|
id: string;
|
|
290
269
|
mode: "append" | "snapshot" | "merge";
|
|
291
|
-
|
|
270
|
+
queuedAt: string;
|
|
292
271
|
datasetId: string;
|
|
293
272
|
syncId: string;
|
|
294
|
-
error?:
|
|
295
|
-
|
|
296
|
-
name?: string | undefined;
|
|
297
|
-
} | undefined;
|
|
273
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
|
|
274
|
+
startedAt?: string | undefined;
|
|
298
275
|
finishedAt?: string | undefined;
|
|
299
276
|
output?: {
|
|
300
277
|
datasetId: string;
|
|
@@ -312,17 +289,15 @@ export declare const SyncSchema: z.ZodObject<{
|
|
|
312
289
|
scheduleId: string;
|
|
313
290
|
}[];
|
|
314
291
|
latestRun: {
|
|
315
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
292
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
316
293
|
projectId: string;
|
|
317
294
|
id: string;
|
|
318
295
|
mode: "append" | "snapshot" | "merge";
|
|
319
|
-
|
|
296
|
+
queuedAt: string;
|
|
320
297
|
datasetId: string;
|
|
321
298
|
syncId: string;
|
|
322
|
-
error?:
|
|
323
|
-
|
|
324
|
-
name?: string | undefined;
|
|
325
|
-
} | undefined;
|
|
299
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
|
|
300
|
+
startedAt?: string | undefined;
|
|
326
301
|
finishedAt?: string | undefined;
|
|
327
302
|
output?: {
|
|
328
303
|
datasetId: string;
|
|
@@ -349,8 +324,8 @@ export declare const SyncSchema: z.ZodObject<{
|
|
|
349
324
|
};
|
|
350
325
|
};
|
|
351
326
|
connector: {
|
|
352
|
-
type: string;
|
|
353
327
|
id: string;
|
|
328
|
+
type: string;
|
|
354
329
|
};
|
|
355
330
|
}, {
|
|
356
331
|
id: string;
|
|
@@ -360,17 +335,15 @@ export declare const SyncSchema: z.ZodObject<{
|
|
|
360
335
|
scheduleId: string;
|
|
361
336
|
}[];
|
|
362
337
|
latestRun: {
|
|
363
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
338
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
364
339
|
projectId: string;
|
|
365
340
|
id: string;
|
|
366
341
|
mode: "append" | "snapshot" | "merge";
|
|
367
|
-
|
|
342
|
+
queuedAt: string;
|
|
368
343
|
datasetId: string;
|
|
369
344
|
syncId: string;
|
|
370
|
-
error?:
|
|
371
|
-
|
|
372
|
-
name?: string | undefined;
|
|
373
|
-
} | undefined;
|
|
345
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
|
|
346
|
+
startedAt?: string | undefined;
|
|
374
347
|
finishedAt?: string | undefined;
|
|
375
348
|
output?: {
|
|
376
349
|
datasetId: string;
|
|
@@ -397,8 +370,8 @@ export declare const SyncSchema: z.ZodObject<{
|
|
|
397
370
|
};
|
|
398
371
|
};
|
|
399
372
|
connector: {
|
|
400
|
-
type: string;
|
|
401
373
|
id: string;
|
|
374
|
+
type: string;
|
|
402
375
|
};
|
|
403
376
|
}>;
|
|
404
377
|
export declare const SyncRunListResponseSchema: z.ZodObject<{
|
|
@@ -408,8 +381,9 @@ export declare const SyncRunListResponseSchema: z.ZodObject<{
|
|
|
408
381
|
syncId: z.ZodString;
|
|
409
382
|
datasetId: z.ZodString;
|
|
410
383
|
mode: z.ZodEnum<["snapshot", "append", "merge"]>;
|
|
411
|
-
status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
|
|
412
|
-
|
|
384
|
+
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
385
|
+
queuedAt: z.ZodString;
|
|
386
|
+
startedAt: z.ZodOptional<z.ZodString>;
|
|
413
387
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
414
388
|
rowsRead: z.ZodOptional<z.ZodNumber>;
|
|
415
389
|
output: z.ZodOptional<z.ZodObject<{
|
|
@@ -424,28 +398,17 @@ export declare const SyncRunListResponseSchema: z.ZodObject<{
|
|
|
424
398
|
}>>;
|
|
425
399
|
expectedLatestVersionId: z.ZodOptional<z.ZodString>;
|
|
426
400
|
commitMessage: z.ZodOptional<z.ZodString>;
|
|
427
|
-
error: z.ZodOptional<z.
|
|
428
|
-
name: z.ZodOptional<z.ZodString>;
|
|
429
|
-
message: z.ZodString;
|
|
430
|
-
}, "strip", z.ZodTypeAny, {
|
|
431
|
-
message: string;
|
|
432
|
-
name?: string | undefined;
|
|
433
|
-
}, {
|
|
434
|
-
message: string;
|
|
435
|
-
name?: string | undefined;
|
|
436
|
-
}>>;
|
|
401
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed">>>;
|
|
437
402
|
}, "strip", z.ZodTypeAny, {
|
|
438
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
403
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
439
404
|
projectId: string;
|
|
440
405
|
id: string;
|
|
441
406
|
mode: "append" | "snapshot" | "merge";
|
|
442
|
-
|
|
407
|
+
queuedAt: string;
|
|
443
408
|
datasetId: string;
|
|
444
409
|
syncId: string;
|
|
445
|
-
error?:
|
|
446
|
-
|
|
447
|
-
name?: string | undefined;
|
|
448
|
-
} | undefined;
|
|
410
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
|
|
411
|
+
startedAt?: string | undefined;
|
|
449
412
|
finishedAt?: string | undefined;
|
|
450
413
|
output?: {
|
|
451
414
|
datasetId: string;
|
|
@@ -455,17 +418,15 @@ export declare const SyncRunListResponseSchema: z.ZodObject<{
|
|
|
455
418
|
commitMessage?: string | undefined;
|
|
456
419
|
rowsRead?: number | undefined;
|
|
457
420
|
}, {
|
|
458
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
421
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
459
422
|
projectId: string;
|
|
460
423
|
id: string;
|
|
461
424
|
mode: "append" | "snapshot" | "merge";
|
|
462
|
-
|
|
425
|
+
queuedAt: string;
|
|
463
426
|
datasetId: string;
|
|
464
427
|
syncId: string;
|
|
465
|
-
error?:
|
|
466
|
-
|
|
467
|
-
name?: string | undefined;
|
|
468
|
-
} | undefined;
|
|
428
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
|
|
429
|
+
startedAt?: string | undefined;
|
|
469
430
|
finishedAt?: string | undefined;
|
|
470
431
|
output?: {
|
|
471
432
|
datasetId: string;
|
|
@@ -479,17 +440,15 @@ export declare const SyncRunListResponseSchema: z.ZodObject<{
|
|
|
479
440
|
total: z.ZodNumber;
|
|
480
441
|
}, "strip", z.ZodTypeAny, {
|
|
481
442
|
runs: {
|
|
482
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
443
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
483
444
|
projectId: string;
|
|
484
445
|
id: string;
|
|
485
446
|
mode: "append" | "snapshot" | "merge";
|
|
486
|
-
|
|
447
|
+
queuedAt: string;
|
|
487
448
|
datasetId: string;
|
|
488
449
|
syncId: string;
|
|
489
|
-
error?:
|
|
490
|
-
|
|
491
|
-
name?: string | undefined;
|
|
492
|
-
} | undefined;
|
|
450
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
|
|
451
|
+
startedAt?: string | undefined;
|
|
493
452
|
finishedAt?: string | undefined;
|
|
494
453
|
output?: {
|
|
495
454
|
datasetId: string;
|
|
@@ -503,17 +462,15 @@ export declare const SyncRunListResponseSchema: z.ZodObject<{
|
|
|
503
462
|
total: number;
|
|
504
463
|
}, {
|
|
505
464
|
runs: {
|
|
506
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
465
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
507
466
|
projectId: string;
|
|
508
467
|
id: string;
|
|
509
468
|
mode: "append" | "snapshot" | "merge";
|
|
510
|
-
|
|
469
|
+
queuedAt: string;
|
|
511
470
|
datasetId: string;
|
|
512
471
|
syncId: string;
|
|
513
|
-
error?:
|
|
514
|
-
|
|
515
|
-
name?: string | undefined;
|
|
516
|
-
} | undefined;
|
|
472
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
|
|
473
|
+
startedAt?: string | undefined;
|
|
517
474
|
finishedAt?: string | undefined;
|
|
518
475
|
output?: {
|
|
519
476
|
datasetId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"syncs.d.ts","sourceRoot":"","sources":["../../src/schemas/syncs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBxB,CAAA;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAarB,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIpC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;EAKvC,CAAA"}
|