dsh-auto-flow 0.1.2 → 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 +233 -24
- package/lib/client.js +2094 -20162
- package/lib/index.d.ts +294 -125
- package/lib/index.js +11854 -2564
- package/lib/typert.host.js +677 -169
- package/lib/typert.remote-client.d.ts +8 -1
- package/lib/typert.remote-client.js +524 -127
- package/lib/types-B5z-T_7S.d.ts +1389 -0
- package/lib/types.d.ts +2 -2
- package/lib/types.js +2 -7
- package/package.json +52 -47
|
@@ -1,140 +1,321 @@
|
|
|
1
1
|
/* Generated by @deepseek-ai/dsh-typert-generator from the Host FaceModel — do not edit. */
|
|
2
2
|
import { z } from 'zod'
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
const FlowDataValueRemoteCodec$
|
|
6
|
-
|
|
7
|
-
const FlowDataValueRemoteCodec$
|
|
8
|
-
|
|
9
|
-
const FlowDataValueRemoteCodec$
|
|
10
|
-
|
|
11
|
-
const FlowDataValueRemoteCodec$
|
|
12
|
-
|
|
13
|
-
const
|
|
14
|
-
|
|
4
|
+
let FlowDataValueRemoteCodec$schema$value
|
|
5
|
+
const FlowDataValueRemoteCodec$schema = () => (FlowDataValueRemoteCodec$schema$value ??= z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema()))]))
|
|
6
|
+
let FlowDataValueRemoteCodec$schema2$value
|
|
7
|
+
const FlowDataValueRemoteCodec$schema2 = () => (FlowDataValueRemoteCodec$schema2$value ??= z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema2())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema2()))]))
|
|
8
|
+
let FlowDataValueRemoteCodec$schema3$value
|
|
9
|
+
const FlowDataValueRemoteCodec$schema3 = () => (FlowDataValueRemoteCodec$schema3$value ??= z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema3())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema3()))]))
|
|
10
|
+
let FlowDataValueRemoteCodec$schema4$value
|
|
11
|
+
const FlowDataValueRemoteCodec$schema4 = () => (FlowDataValueRemoteCodec$schema4$value ??= z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema4())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema4()))]))
|
|
12
|
+
let FlowDataValueRemoteCodec$schema5$value
|
|
13
|
+
const FlowDataValueRemoteCodec$schema5 = () => (FlowDataValueRemoteCodec$schema5$value ??= z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema5())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema5()))]))
|
|
14
|
+
let FlowDataValueRemoteCodec$schema6$value
|
|
15
|
+
const FlowDataValueRemoteCodec$schema6 = () => (FlowDataValueRemoteCodec$schema6$value ??= z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema6())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema6()))]))
|
|
16
|
+
let FlowDataValueRemoteCodec$schema7$value
|
|
17
|
+
const FlowDataValueRemoteCodec$schema7 = () => (FlowDataValueRemoteCodec$schema7$value ??= z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema7())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema7()))]))
|
|
18
|
+
let FlowDataValueRemoteCodec$schema8$value
|
|
19
|
+
const FlowDataValueRemoteCodec$schema8 = () => (FlowDataValueRemoteCodec$schema8$value ??= z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema8())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema8()))]))
|
|
20
|
+
let FlowDataValueRemoteCodec$schema9$value
|
|
21
|
+
const FlowDataValueRemoteCodec$schema9 = () => (FlowDataValueRemoteCodec$schema9$value ??= z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema9())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema9()))]))
|
|
22
|
+
let ScriptParamFieldRemoteCodec$schema$value
|
|
23
|
+
const ScriptParamFieldRemoteCodec$schema = () => (ScriptParamFieldRemoteCodec$schema$value ??= z.object({
|
|
24
|
+
'key': z.string(),
|
|
25
|
+
'label': z.string(),
|
|
26
|
+
'type': z.union([z.literal("string"), z.literal("number"), z.literal("boolean"), z.literal("object"), z.literal("file"), z.literal("array"), z.literal("select"), z.literal("datetime")]),
|
|
27
|
+
'required': z.union([z.undefined(), z.literal(false), z.literal(true)]).optional(),
|
|
28
|
+
'defaultValue': z.union([z.undefined(), z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema4())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema4()))])), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema4()))]).optional(),
|
|
29
|
+
'options': z.union([z.undefined(), z.array(z.object({
|
|
30
|
+
'label': z.string(),
|
|
31
|
+
'value': z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema4())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema4()))]),
|
|
32
|
+
}))]).optional(),
|
|
33
|
+
'multiple': z.union([z.undefined(), z.literal(false), z.literal(true)]).optional(),
|
|
34
|
+
'format': z.union([z.undefined(), z.string()]).optional(),
|
|
35
|
+
'placeholder': z.union([z.undefined(), z.string()]).optional(),
|
|
36
|
+
'description': z.union([z.undefined(), z.string()]).optional(),
|
|
37
|
+
'children': z.union([z.undefined(), z.array(z.lazy(() => ScriptParamFieldRemoteCodec$schema()))]).optional(),
|
|
38
|
+
'variants': z.union([z.undefined(), z.array(z.object({
|
|
39
|
+
'when': z.string(),
|
|
40
|
+
'value': z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema4())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema4()))]),
|
|
41
|
+
'children': z.array(z.lazy(() => ScriptParamFieldRemoteCodec$schema())),
|
|
42
|
+
}))]).optional(),
|
|
43
|
+
'visibleWhen': z.union([z.undefined(), z.object({
|
|
44
|
+
'key': z.string(),
|
|
45
|
+
'op': z.union([z.undefined(), z.literal("eq"), z.literal("not"), z.literal("gte"), z.literal("lte"), z.literal("gt"), z.literal("lt"), z.literal("startsWith"), z.literal("endsWith"), z.literal("includes"), z.literal("regex"), z.literal("exists")]).optional(),
|
|
46
|
+
'value': z.union([z.undefined(), z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema4())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema4()))])), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema4()))]).optional(),
|
|
47
|
+
'values': z.union([z.undefined(), z.array(z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema4())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema4()))]))]).optional(),
|
|
48
|
+
}), z.array(z.object({
|
|
49
|
+
'key': z.string(),
|
|
50
|
+
'op': z.union([z.undefined(), z.literal("eq"), z.literal("not"), z.literal("gte"), z.literal("lte"), z.literal("gt"), z.literal("lt"), z.literal("startsWith"), z.literal("endsWith"), z.literal("includes"), z.literal("regex"), z.literal("exists")]).optional(),
|
|
51
|
+
'value': z.union([z.undefined(), z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema4())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema4()))])), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema4()))]).optional(),
|
|
52
|
+
'values': z.union([z.undefined(), z.array(z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema4())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema4()))]))]).optional(),
|
|
53
|
+
}))]).optional(),
|
|
54
|
+
}))
|
|
55
|
+
let dsh_auto_flow_autoFlow_approveRun_parameter_0$schema$value
|
|
56
|
+
const dsh_auto_flow_autoFlow_approveRun_parameter_0$schema = () => (dsh_auto_flow_autoFlow_approveRun_parameter_0$schema$value ??= z.string())
|
|
57
|
+
let dsh_auto_flow_autoFlow_approveRun_parameter_1$schema$value
|
|
58
|
+
const dsh_auto_flow_autoFlow_approveRun_parameter_1$schema = () => (dsh_auto_flow_autoFlow_approveRun_parameter_1$schema$value ??= z.string())
|
|
59
|
+
let dsh_auto_flow_autoFlow_approveRun_result$schema$value
|
|
60
|
+
const dsh_auto_flow_autoFlow_approveRun_result$schema = () => (dsh_auto_flow_autoFlow_approveRun_result$schema$value ??= z.object({
|
|
15
61
|
'runId': z.string(),
|
|
16
62
|
'workflowId': z.string(),
|
|
17
63
|
'name': z.string(),
|
|
18
64
|
'sessionId': z.union([z.undefined(), z.string()]).optional(),
|
|
19
|
-
'status': z.union([z.literal("running"), z.literal("waiting"), z.literal("completed"), z.literal("failed"), z.literal("cancelled")]),
|
|
65
|
+
'status': z.union([z.literal("running"), z.literal("waiting"), z.literal("completed"), z.literal("failed"), z.literal("cancelled"), z.literal("crashed")]),
|
|
20
66
|
'workspaceDir': z.string(),
|
|
21
67
|
'steps': z.array(z.object({
|
|
68
|
+
'index': z.number(),
|
|
22
69
|
'nodeId': z.string(),
|
|
70
|
+
'itemCounts': z.union([z.undefined(), z.object({
|
|
71
|
+
'in': z.record(z.string(), z.number()),
|
|
72
|
+
'out': z.record(z.string(), z.number()),
|
|
73
|
+
})]).optional(),
|
|
74
|
+
'inputSources': z.union([z.undefined(), z.array(z.string())]).optional(),
|
|
23
75
|
'nodeType': z.string(),
|
|
24
76
|
'label': z.string(),
|
|
25
|
-
'status': z.union([z.literal("
|
|
77
|
+
'status': z.union([z.literal("success"), z.literal("running"), z.literal("waiting"), z.literal("failed"), z.literal("pending"), z.literal("skipped")]),
|
|
78
|
+
'statusChangedAt': z.union([z.undefined(), z.number()]).optional(),
|
|
79
|
+
'startedAt': z.union([z.undefined(), z.number()]).optional(),
|
|
80
|
+
'finishedAt': z.union([z.undefined(), z.number()]).optional(),
|
|
26
81
|
'script': z.union([z.undefined(), z.string()]).optional(),
|
|
27
82
|
'stepDir': z.union([z.undefined(), z.string()]).optional(),
|
|
28
|
-
'
|
|
83
|
+
'files': z.union([z.undefined(), z.array(z.string())]).optional(),
|
|
84
|
+
'items': z.union([z.undefined(), z.array(z.object({
|
|
85
|
+
'json': z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema8())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema8()))])),
|
|
86
|
+
'pairedItem': z.union([z.undefined(), z.number()]).optional(),
|
|
87
|
+
}))]).optional(),
|
|
88
|
+
'portItems': z.union([z.undefined(), z.record(z.string(), z.array(z.object({
|
|
89
|
+
'json': z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema8())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema8()))])),
|
|
90
|
+
'pairedItem': z.union([z.undefined(), z.number()]).optional(),
|
|
91
|
+
})))]).optional(),
|
|
92
|
+
'failedItems': z.union([z.undefined(), z.array(z.object({
|
|
93
|
+
'index': z.number(),
|
|
94
|
+
'error': z.string(),
|
|
95
|
+
}))]).optional(),
|
|
96
|
+
'skippedCount': z.union([z.undefined(), z.number()]).optional(),
|
|
97
|
+
'itemsRef': z.union([z.undefined(), z.string()]).optional(),
|
|
29
98
|
'error': z.union([z.undefined(), z.string()]).optional(),
|
|
30
99
|
'errorCode': z.union([z.undefined(), z.string()]).optional(),
|
|
31
100
|
'durationMs': z.union([z.undefined(), z.number()]).optional(),
|
|
101
|
+
'attempts': z.union([z.undefined(), z.array(z.object({
|
|
102
|
+
'attempt': z.number(),
|
|
103
|
+
'startedAt': z.number(),
|
|
104
|
+
'finishedAt': z.number(),
|
|
105
|
+
'durationMs': z.number(),
|
|
106
|
+
'ok': z.boolean(),
|
|
107
|
+
'itemCounts': z.union([z.undefined(), z.record(z.string(), z.number())]).optional(),
|
|
108
|
+
'error': z.union([z.undefined(), z.string()]).optional(),
|
|
109
|
+
'errorCode': z.union([z.undefined(), z.string()]).optional(),
|
|
110
|
+
'retryable': z.union([z.undefined(), z.literal(false), z.literal(true)]).optional(),
|
|
111
|
+
}))]).optional(),
|
|
112
|
+
'logs': z.union([z.undefined(), z.array(z.object({
|
|
113
|
+
'at': z.number(),
|
|
114
|
+
'kind': z.string(),
|
|
115
|
+
'message': z.string(),
|
|
116
|
+
'data': z.union([z.undefined(), z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema8())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema8()))]))]).optional(),
|
|
117
|
+
}))]).optional(),
|
|
32
118
|
})),
|
|
119
|
+
'batch': z.union([z.undefined(), z.object({
|
|
120
|
+
'batchId': z.string(),
|
|
121
|
+
'nodeId': z.string(),
|
|
122
|
+
'port': z.string(),
|
|
123
|
+
'keyField': z.union([z.undefined(), z.string()]).optional(),
|
|
124
|
+
})]).optional(),
|
|
125
|
+
'resumeMode': z.union([z.undefined(), z.literal("rerun-all"), z.literal("skip-succeeded")]).optional(),
|
|
33
126
|
'createdAt': z.number(),
|
|
34
127
|
'updatedAt': z.number(),
|
|
35
|
-
})
|
|
36
|
-
|
|
37
|
-
const
|
|
128
|
+
}))
|
|
129
|
+
let dsh_auto_flow_autoFlow_cancelRun_parameter_0$schema$value
|
|
130
|
+
const dsh_auto_flow_autoFlow_cancelRun_parameter_0$schema = () => (dsh_auto_flow_autoFlow_cancelRun_parameter_0$schema$value ??= z.string())
|
|
131
|
+
let dsh_auto_flow_autoFlow_cancelRun_result$schema$value
|
|
132
|
+
const dsh_auto_flow_autoFlow_cancelRun_result$schema = () => (dsh_auto_flow_autoFlow_cancelRun_result$schema$value ??= z.object({
|
|
38
133
|
'runId': z.string(),
|
|
39
134
|
'workflowId': z.string(),
|
|
40
135
|
'name': z.string(),
|
|
41
136
|
'sessionId': z.union([z.undefined(), z.string()]).optional(),
|
|
42
|
-
'status': z.union([z.literal("running"), z.literal("waiting"), z.literal("completed"), z.literal("failed"), z.literal("cancelled")]),
|
|
137
|
+
'status': z.union([z.literal("running"), z.literal("waiting"), z.literal("completed"), z.literal("failed"), z.literal("cancelled"), z.literal("crashed")]),
|
|
43
138
|
'workspaceDir': z.string(),
|
|
44
139
|
'steps': z.array(z.object({
|
|
140
|
+
'index': z.number(),
|
|
45
141
|
'nodeId': z.string(),
|
|
142
|
+
'itemCounts': z.union([z.undefined(), z.object({
|
|
143
|
+
'in': z.record(z.string(), z.number()),
|
|
144
|
+
'out': z.record(z.string(), z.number()),
|
|
145
|
+
})]).optional(),
|
|
146
|
+
'inputSources': z.union([z.undefined(), z.array(z.string())]).optional(),
|
|
46
147
|
'nodeType': z.string(),
|
|
47
148
|
'label': z.string(),
|
|
48
|
-
'status': z.union([z.literal("
|
|
149
|
+
'status': z.union([z.literal("success"), z.literal("running"), z.literal("waiting"), z.literal("failed"), z.literal("pending"), z.literal("skipped")]),
|
|
150
|
+
'statusChangedAt': z.union([z.undefined(), z.number()]).optional(),
|
|
151
|
+
'startedAt': z.union([z.undefined(), z.number()]).optional(),
|
|
152
|
+
'finishedAt': z.union([z.undefined(), z.number()]).optional(),
|
|
49
153
|
'script': z.union([z.undefined(), z.string()]).optional(),
|
|
50
154
|
'stepDir': z.union([z.undefined(), z.string()]).optional(),
|
|
51
|
-
'
|
|
155
|
+
'files': z.union([z.undefined(), z.array(z.string())]).optional(),
|
|
156
|
+
'items': z.union([z.undefined(), z.array(z.object({
|
|
157
|
+
'json': z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema7())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema7()))])),
|
|
158
|
+
'pairedItem': z.union([z.undefined(), z.number()]).optional(),
|
|
159
|
+
}))]).optional(),
|
|
160
|
+
'portItems': z.union([z.undefined(), z.record(z.string(), z.array(z.object({
|
|
161
|
+
'json': z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema7())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema7()))])),
|
|
162
|
+
'pairedItem': z.union([z.undefined(), z.number()]).optional(),
|
|
163
|
+
})))]).optional(),
|
|
164
|
+
'failedItems': z.union([z.undefined(), z.array(z.object({
|
|
165
|
+
'index': z.number(),
|
|
166
|
+
'error': z.string(),
|
|
167
|
+
}))]).optional(),
|
|
168
|
+
'skippedCount': z.union([z.undefined(), z.number()]).optional(),
|
|
169
|
+
'itemsRef': z.union([z.undefined(), z.string()]).optional(),
|
|
52
170
|
'error': z.union([z.undefined(), z.string()]).optional(),
|
|
53
171
|
'errorCode': z.union([z.undefined(), z.string()]).optional(),
|
|
54
172
|
'durationMs': z.union([z.undefined(), z.number()]).optional(),
|
|
173
|
+
'attempts': z.union([z.undefined(), z.array(z.object({
|
|
174
|
+
'attempt': z.number(),
|
|
175
|
+
'startedAt': z.number(),
|
|
176
|
+
'finishedAt': z.number(),
|
|
177
|
+
'durationMs': z.number(),
|
|
178
|
+
'ok': z.boolean(),
|
|
179
|
+
'itemCounts': z.union([z.undefined(), z.record(z.string(), z.number())]).optional(),
|
|
180
|
+
'error': z.union([z.undefined(), z.string()]).optional(),
|
|
181
|
+
'errorCode': z.union([z.undefined(), z.string()]).optional(),
|
|
182
|
+
'retryable': z.union([z.undefined(), z.literal(false), z.literal(true)]).optional(),
|
|
183
|
+
}))]).optional(),
|
|
184
|
+
'logs': z.union([z.undefined(), z.array(z.object({
|
|
185
|
+
'at': z.number(),
|
|
186
|
+
'kind': z.string(),
|
|
187
|
+
'message': z.string(),
|
|
188
|
+
'data': z.union([z.undefined(), z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema7())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema7()))]))]).optional(),
|
|
189
|
+
}))]).optional(),
|
|
55
190
|
})),
|
|
191
|
+
'batch': z.union([z.undefined(), z.object({
|
|
192
|
+
'batchId': z.string(),
|
|
193
|
+
'nodeId': z.string(),
|
|
194
|
+
'port': z.string(),
|
|
195
|
+
'keyField': z.union([z.undefined(), z.string()]).optional(),
|
|
196
|
+
})]).optional(),
|
|
197
|
+
'resumeMode': z.union([z.undefined(), z.literal("rerun-all"), z.literal("skip-succeeded")]).optional(),
|
|
56
198
|
'createdAt': z.number(),
|
|
57
199
|
'updatedAt': z.number(),
|
|
58
|
-
})
|
|
59
|
-
|
|
60
|
-
const
|
|
200
|
+
}))
|
|
201
|
+
let dsh_auto_flow_autoFlow_deleteFlow_parameter_0$schema$value
|
|
202
|
+
const dsh_auto_flow_autoFlow_deleteFlow_parameter_0$schema = () => (dsh_auto_flow_autoFlow_deleteFlow_parameter_0$schema$value ??= z.string())
|
|
203
|
+
let dsh_auto_flow_autoFlow_deleteFlow_result$schema$value
|
|
204
|
+
const dsh_auto_flow_autoFlow_deleteFlow_result$schema = () => (dsh_auto_flow_autoFlow_deleteFlow_result$schema$value ??= z.object({
|
|
61
205
|
'deleted': z.boolean(),
|
|
62
|
-
})
|
|
63
|
-
|
|
206
|
+
}))
|
|
207
|
+
let dsh_auto_flow_autoFlow_listFlows_result$schema$value
|
|
208
|
+
const dsh_auto_flow_autoFlow_listFlows_result$schema = () => (dsh_auto_flow_autoFlow_listFlows_result$schema$value ??= z.array(z.object({
|
|
64
209
|
'id': z.string(),
|
|
65
210
|
'name': z.string(),
|
|
66
211
|
'description': z.string(),
|
|
67
212
|
'nodeCount': z.number(),
|
|
68
213
|
'inputs': z.array(z.string()),
|
|
69
|
-
}))
|
|
70
|
-
|
|
214
|
+
})))
|
|
215
|
+
let dsh_auto_flow_autoFlow_listLlmRoutes_result$schema$value
|
|
216
|
+
const dsh_auto_flow_autoFlow_listLlmRoutes_result$schema = () => (dsh_auto_flow_autoFlow_listLlmRoutes_result$schema$value ??= z.object({
|
|
71
217
|
'routes': z.array(z.object({
|
|
72
218
|
'provider': z.string(),
|
|
73
219
|
'displayName': z.string(),
|
|
74
220
|
})),
|
|
75
|
-
})
|
|
76
|
-
|
|
221
|
+
}))
|
|
222
|
+
let dsh_auto_flow_autoFlow_listRouteModels_parameter_0$schema$value
|
|
223
|
+
const dsh_auto_flow_autoFlow_listRouteModels_parameter_0$schema = () => (dsh_auto_flow_autoFlow_listRouteModels_parameter_0$schema$value ??= z.object({
|
|
77
224
|
'provider': z.string(),
|
|
78
|
-
})
|
|
79
|
-
|
|
225
|
+
}))
|
|
226
|
+
let dsh_auto_flow_autoFlow_listRouteModels_result$schema$value
|
|
227
|
+
const dsh_auto_flow_autoFlow_listRouteModels_result$schema = () => (dsh_auto_flow_autoFlow_listRouteModels_result$schema$value ??= z.object({
|
|
80
228
|
'models': z.array(z.object({
|
|
81
229
|
'id': z.string(),
|
|
82
230
|
'name': z.string(),
|
|
83
231
|
})),
|
|
84
232
|
'error': z.union([z.undefined(), z.string()]).optional(),
|
|
85
|
-
})
|
|
86
|
-
|
|
233
|
+
}))
|
|
234
|
+
let dsh_auto_flow_autoFlow_listRuns_parameter_0$schema$value
|
|
235
|
+
const dsh_auto_flow_autoFlow_listRuns_parameter_0$schema = () => (dsh_auto_flow_autoFlow_listRuns_parameter_0$schema$value ??= z.object({
|
|
87
236
|
'sessionId': z.union([z.undefined(), z.string()]).optional(),
|
|
88
237
|
'workflowId': z.union([z.undefined(), z.string()]).optional(),
|
|
89
|
-
})
|
|
90
|
-
|
|
238
|
+
}))
|
|
239
|
+
let dsh_auto_flow_autoFlow_listRuns_result$schema$value
|
|
240
|
+
const dsh_auto_flow_autoFlow_listRuns_result$schema = () => (dsh_auto_flow_autoFlow_listRuns_result$schema$value ??= z.array(z.object({
|
|
91
241
|
'runId': z.string(),
|
|
92
242
|
'workflowId': z.string(),
|
|
93
243
|
'name': z.string(),
|
|
94
244
|
'sessionId': z.union([z.undefined(), z.string()]).optional(),
|
|
95
|
-
'status': z.union([z.literal("running"), z.literal("waiting"), z.literal("completed"), z.literal("failed"), z.literal("cancelled")]),
|
|
245
|
+
'status': z.union([z.literal("running"), z.literal("waiting"), z.literal("completed"), z.literal("failed"), z.literal("cancelled"), z.literal("crashed")]),
|
|
96
246
|
'nodeCount': z.number(),
|
|
97
247
|
'createdAt': z.number(),
|
|
98
248
|
'updatedAt': z.number(),
|
|
99
|
-
}))
|
|
100
|
-
|
|
249
|
+
})))
|
|
250
|
+
let dsh_auto_flow_autoFlow_listScripts_result$schema$value
|
|
251
|
+
const dsh_auto_flow_autoFlow_listScripts_result$schema = () => (dsh_auto_flow_autoFlow_listScripts_result$schema$value ??= z.array(z.object({
|
|
101
252
|
'name': z.string(),
|
|
102
253
|
'label': z.string(),
|
|
103
254
|
'description': z.string(),
|
|
104
255
|
'params': z.array(z.object({
|
|
105
256
|
'key': z.string(),
|
|
106
257
|
'label': z.string(),
|
|
107
|
-
'type': z.union([z.literal("string"), z.literal("number"), z.literal("boolean"), z.literal("object"), z.literal("
|
|
258
|
+
'type': z.union([z.literal("string"), z.literal("number"), z.literal("boolean"), z.literal("object"), z.literal("file"), z.literal("array"), z.literal("select"), z.literal("datetime")]),
|
|
108
259
|
'required': z.union([z.undefined(), z.literal(false), z.literal(true)]).optional(),
|
|
109
|
-
'defaultValue': z.union([z.undefined(), z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$
|
|
260
|
+
'defaultValue': z.union([z.undefined(), z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema4())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema4()))])), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema4()))]).optional(),
|
|
110
261
|
'options': z.union([z.undefined(), z.array(z.object({
|
|
111
262
|
'label': z.string(),
|
|
112
|
-
'value': z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$
|
|
263
|
+
'value': z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema4())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema4()))]),
|
|
113
264
|
}))]).optional(),
|
|
265
|
+
'multiple': z.union([z.undefined(), z.literal(false), z.literal(true)]).optional(),
|
|
114
266
|
'format': z.union([z.undefined(), z.string()]).optional(),
|
|
115
267
|
'placeholder': z.union([z.undefined(), z.string()]).optional(),
|
|
116
268
|
'description': z.union([z.undefined(), z.string()]).optional(),
|
|
269
|
+
'children': z.union([z.undefined(), z.array(z.lazy(() => ScriptParamFieldRemoteCodec$schema()))]).optional(),
|
|
270
|
+
'variants': z.union([z.undefined(), z.array(z.object({
|
|
271
|
+
'when': z.string(),
|
|
272
|
+
'value': z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema4())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema4()))]),
|
|
273
|
+
'children': z.array(z.lazy(() => ScriptParamFieldRemoteCodec$schema())),
|
|
274
|
+
}))]).optional(),
|
|
275
|
+
'visibleWhen': z.union([z.undefined(), z.object({
|
|
276
|
+
'key': z.string(),
|
|
277
|
+
'op': z.union([z.undefined(), z.literal("eq"), z.literal("not"), z.literal("gte"), z.literal("lte"), z.literal("gt"), z.literal("lt"), z.literal("startsWith"), z.literal("endsWith"), z.literal("includes"), z.literal("regex"), z.literal("exists")]).optional(),
|
|
278
|
+
'value': z.union([z.undefined(), z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema4())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema4()))])), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema4()))]).optional(),
|
|
279
|
+
'values': z.union([z.undefined(), z.array(z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema4())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema4()))]))]).optional(),
|
|
280
|
+
}), z.array(z.object({
|
|
281
|
+
'key': z.string(),
|
|
282
|
+
'op': z.union([z.undefined(), z.literal("eq"), z.literal("not"), z.literal("gte"), z.literal("lte"), z.literal("gt"), z.literal("lt"), z.literal("startsWith"), z.literal("endsWith"), z.literal("includes"), z.literal("regex"), z.literal("exists")]).optional(),
|
|
283
|
+
'value': z.union([z.undefined(), z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema4())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema4()))])), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema4()))]).optional(),
|
|
284
|
+
'values': z.union([z.undefined(), z.array(z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema4())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema4()))]))]).optional(),
|
|
285
|
+
}))]).optional(),
|
|
117
286
|
})),
|
|
118
287
|
'artifacts': z.union([z.undefined(), z.object({
|
|
119
288
|
'filesKey': z.union([z.undefined(), z.string()]).optional(),
|
|
120
|
-
'filesShape': z.union([z.undefined(), z.literal("paths"), z.literal("
|
|
289
|
+
'filesShape': z.union([z.undefined(), z.literal("paths"), z.literal("prompt-pairs")]).optional(),
|
|
121
290
|
'filesPromptKey': z.union([z.undefined(), z.string()]).optional(),
|
|
122
291
|
})]).optional(),
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
292
|
+
'source': z.union([z.undefined(), z.object({
|
|
293
|
+
'id': z.string(),
|
|
294
|
+
'label': z.string(),
|
|
295
|
+
})]).optional(),
|
|
296
|
+
'diagnostics': z.union([z.undefined(), z.array(z.object({
|
|
297
|
+
'name': z.string(),
|
|
298
|
+
'code': z.string(),
|
|
299
|
+
'message': z.string(),
|
|
300
|
+
}))]).optional(),
|
|
301
|
+
})))
|
|
302
|
+
let dsh_auto_flow_autoFlow_loadFlow_parameter_0$schema$value
|
|
303
|
+
const dsh_auto_flow_autoFlow_loadFlow_parameter_0$schema = () => (dsh_auto_flow_autoFlow_loadFlow_parameter_0$schema$value ??= z.string())
|
|
304
|
+
let dsh_auto_flow_autoFlow_loadFlow_result$schema$value
|
|
305
|
+
const dsh_auto_flow_autoFlow_loadFlow_result$schema = () => (dsh_auto_flow_autoFlow_loadFlow_result$schema$value ??= z.union([z.literal(null), z.object({
|
|
126
306
|
'formatVersion': z.number(),
|
|
127
307
|
'name': z.string(),
|
|
128
308
|
'description': z.string(),
|
|
129
309
|
'nodes': z.array(z.object({
|
|
130
310
|
'id': z.string(),
|
|
311
|
+
'name': z.string(),
|
|
131
312
|
'type': z.string(),
|
|
132
313
|
'position': z.object({
|
|
133
314
|
'x': z.number(),
|
|
134
315
|
'y': z.number(),
|
|
135
316
|
}),
|
|
136
|
-
'data': z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$
|
|
137
|
-
'style': z.union([z.undefined(), z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$
|
|
317
|
+
'data': z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema()))])),
|
|
318
|
+
'style': z.union([z.undefined(), z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema()))]))]).optional(),
|
|
138
319
|
})),
|
|
139
320
|
'edges': z.array(z.object({
|
|
140
321
|
'id': z.string(),
|
|
@@ -142,22 +323,107 @@ const dsh_auto_flow_autoFlow_loadFlow_result$schema = z.union([z.literal(null),
|
|
|
142
323
|
'target': z.string(),
|
|
143
324
|
'sourceHandle': z.union([z.undefined(), z.string()]).optional(),
|
|
144
325
|
'targetHandle': z.union([z.undefined(), z.string()]).optional(),
|
|
145
|
-
'type': z.union([z.undefined(), z.
|
|
146
|
-
|
|
147
|
-
|
|
326
|
+
'type': z.union([z.undefined(), z.literal("default"), z.literal("custom-edge"), z.literal("straight"), z.literal("step"), z.literal("smoothstep"), z.literal("simplebezier")]).optional(),
|
|
327
|
+
})),
|
|
328
|
+
})]))
|
|
329
|
+
let dsh_auto_flow_autoFlow_resumeRun_parameter_0$schema$value
|
|
330
|
+
const dsh_auto_flow_autoFlow_resumeRun_parameter_0$schema = () => (dsh_auto_flow_autoFlow_resumeRun_parameter_0$schema$value ??= z.string())
|
|
331
|
+
let dsh_auto_flow_autoFlow_resumeRun_result$schema$value
|
|
332
|
+
const dsh_auto_flow_autoFlow_resumeRun_result$schema = () => (dsh_auto_flow_autoFlow_resumeRun_result$schema$value ??= z.object({
|
|
333
|
+
'runId': z.string(),
|
|
334
|
+
'workflowId': z.string(),
|
|
335
|
+
'name': z.string(),
|
|
336
|
+
'sessionId': z.union([z.undefined(), z.string()]).optional(),
|
|
337
|
+
'status': z.union([z.literal("running"), z.literal("waiting"), z.literal("completed"), z.literal("failed"), z.literal("cancelled"), z.literal("crashed")]),
|
|
338
|
+
'workspaceDir': z.string(),
|
|
339
|
+
'steps': z.array(z.object({
|
|
340
|
+
'index': z.number(),
|
|
341
|
+
'nodeId': z.string(),
|
|
342
|
+
'itemCounts': z.union([z.undefined(), z.object({
|
|
343
|
+
'in': z.record(z.string(), z.number()),
|
|
344
|
+
'out': z.record(z.string(), z.number()),
|
|
345
|
+
})]).optional(),
|
|
346
|
+
'inputSources': z.union([z.undefined(), z.array(z.string())]).optional(),
|
|
347
|
+
'nodeType': z.string(),
|
|
348
|
+
'label': z.string(),
|
|
349
|
+
'status': z.union([z.literal("success"), z.literal("running"), z.literal("waiting"), z.literal("failed"), z.literal("pending"), z.literal("skipped")]),
|
|
350
|
+
'statusChangedAt': z.union([z.undefined(), z.number()]).optional(),
|
|
351
|
+
'startedAt': z.union([z.undefined(), z.number()]).optional(),
|
|
352
|
+
'finishedAt': z.union([z.undefined(), z.number()]).optional(),
|
|
353
|
+
'script': z.union([z.undefined(), z.string()]).optional(),
|
|
354
|
+
'stepDir': z.union([z.undefined(), z.string()]).optional(),
|
|
355
|
+
'files': z.union([z.undefined(), z.array(z.string())]).optional(),
|
|
356
|
+
'items': z.union([z.undefined(), z.array(z.object({
|
|
357
|
+
'json': z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema9())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema9()))])),
|
|
358
|
+
'pairedItem': z.union([z.undefined(), z.number()]).optional(),
|
|
359
|
+
}))]).optional(),
|
|
360
|
+
'portItems': z.union([z.undefined(), z.record(z.string(), z.array(z.object({
|
|
361
|
+
'json': z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema9())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema9()))])),
|
|
362
|
+
'pairedItem': z.union([z.undefined(), z.number()]).optional(),
|
|
363
|
+
})))]).optional(),
|
|
364
|
+
'failedItems': z.union([z.undefined(), z.array(z.object({
|
|
365
|
+
'index': z.number(),
|
|
366
|
+
'error': z.string(),
|
|
367
|
+
}))]).optional(),
|
|
368
|
+
'skippedCount': z.union([z.undefined(), z.number()]).optional(),
|
|
369
|
+
'itemsRef': z.union([z.undefined(), z.string()]).optional(),
|
|
370
|
+
'error': z.union([z.undefined(), z.string()]).optional(),
|
|
371
|
+
'errorCode': z.union([z.undefined(), z.string()]).optional(),
|
|
372
|
+
'durationMs': z.union([z.undefined(), z.number()]).optional(),
|
|
373
|
+
'attempts': z.union([z.undefined(), z.array(z.object({
|
|
374
|
+
'attempt': z.number(),
|
|
375
|
+
'startedAt': z.number(),
|
|
376
|
+
'finishedAt': z.number(),
|
|
377
|
+
'durationMs': z.number(),
|
|
378
|
+
'ok': z.boolean(),
|
|
379
|
+
'itemCounts': z.union([z.undefined(), z.record(z.string(), z.number())]).optional(),
|
|
380
|
+
'error': z.union([z.undefined(), z.string()]).optional(),
|
|
381
|
+
'errorCode': z.union([z.undefined(), z.string()]).optional(),
|
|
382
|
+
'retryable': z.union([z.undefined(), z.literal(false), z.literal(true)]).optional(),
|
|
383
|
+
}))]).optional(),
|
|
384
|
+
'logs': z.union([z.undefined(), z.array(z.object({
|
|
385
|
+
'at': z.number(),
|
|
386
|
+
'kind': z.string(),
|
|
387
|
+
'message': z.string(),
|
|
388
|
+
'data': z.union([z.undefined(), z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema9())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema9()))]))]).optional(),
|
|
389
|
+
}))]).optional(),
|
|
148
390
|
})),
|
|
149
|
-
|
|
150
|
-
|
|
391
|
+
'batch': z.union([z.undefined(), z.object({
|
|
392
|
+
'batchId': z.string(),
|
|
393
|
+
'nodeId': z.string(),
|
|
394
|
+
'port': z.string(),
|
|
395
|
+
'keyField': z.union([z.undefined(), z.string()]).optional(),
|
|
396
|
+
})]).optional(),
|
|
397
|
+
'resumeMode': z.union([z.undefined(), z.literal("rerun-all"), z.literal("skip-succeeded")]).optional(),
|
|
398
|
+
'createdAt': z.number(),
|
|
399
|
+
'updatedAt': z.number(),
|
|
400
|
+
}))
|
|
401
|
+
let dsh_auto_flow_autoFlow_retryRun_parameter_0$schema$value
|
|
402
|
+
const dsh_auto_flow_autoFlow_retryRun_parameter_0$schema = () => (dsh_auto_flow_autoFlow_retryRun_parameter_0$schema$value ??= z.string())
|
|
403
|
+
let dsh_auto_flow_autoFlow_retryRun_result$schema$value
|
|
404
|
+
const dsh_auto_flow_autoFlow_retryRun_result$schema = () => (dsh_auto_flow_autoFlow_retryRun_result$schema$value ??= z.object({
|
|
405
|
+
'runId': z.string(),
|
|
406
|
+
'plan': z.object({
|
|
407
|
+
'batchId': z.string(),
|
|
408
|
+
'keyField': z.string(),
|
|
409
|
+
'resumeMode': z.union([z.literal("rerun-all"), z.literal("skip-succeeded")]),
|
|
410
|
+
'pendingCount': z.number(),
|
|
411
|
+
'knownCount': z.number(),
|
|
412
|
+
}),
|
|
413
|
+
}))
|
|
414
|
+
let dsh_auto_flow_autoFlow_runFlow_parameter_0$schema$value
|
|
415
|
+
const dsh_auto_flow_autoFlow_runFlow_parameter_0$schema = () => (dsh_auto_flow_autoFlow_runFlow_parameter_0$schema$value ??= z.object({
|
|
151
416
|
'flow': z.object({
|
|
152
417
|
'nodes': z.array(z.object({
|
|
153
418
|
'id': z.string(),
|
|
419
|
+
'name': z.string(),
|
|
154
420
|
'type': z.string(),
|
|
155
421
|
'position': z.object({
|
|
156
422
|
'x': z.number(),
|
|
157
423
|
'y': z.number(),
|
|
158
424
|
}),
|
|
159
|
-
'data': z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$
|
|
160
|
-
'style': z.union([z.undefined(), z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$
|
|
425
|
+
'data': z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema5())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema5()))])),
|
|
426
|
+
'style': z.union([z.undefined(), z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema5())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema5()))]))]).optional(),
|
|
161
427
|
})),
|
|
162
428
|
'edges': z.array(z.object({
|
|
163
429
|
'id': z.string(),
|
|
@@ -165,55 +431,106 @@ const dsh_auto_flow_autoFlow_runFlow_parameter_0$schema = z.object({
|
|
|
165
431
|
'target': z.string(),
|
|
166
432
|
'sourceHandle': z.union([z.undefined(), z.string()]).optional(),
|
|
167
433
|
'targetHandle': z.union([z.undefined(), z.string()]).optional(),
|
|
168
|
-
'type': z.union([z.undefined(), z.
|
|
169
|
-
'animated': z.union([z.undefined(), z.literal(false), z.literal(true)]).optional(),
|
|
170
|
-
'data': z.union([z.undefined(), z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema6)), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema6))]))]).optional(),
|
|
434
|
+
'type': z.union([z.undefined(), z.literal("default"), z.literal("custom-edge"), z.literal("straight"), z.literal("step"), z.literal("smoothstep"), z.literal("simplebezier")]).optional(),
|
|
171
435
|
})),
|
|
172
436
|
}),
|
|
173
|
-
'workflowId': z.
|
|
174
|
-
'name': z.
|
|
175
|
-
'sessionId': z.
|
|
176
|
-
})
|
|
177
|
-
|
|
437
|
+
'workflowId': z.string().optional(),
|
|
438
|
+
'name': z.string().optional(),
|
|
439
|
+
'sessionId': z.string().optional(),
|
|
440
|
+
}))
|
|
441
|
+
let dsh_auto_flow_autoFlow_runFlow_result$schema$value
|
|
442
|
+
const dsh_auto_flow_autoFlow_runFlow_result$schema = () => (dsh_auto_flow_autoFlow_runFlow_result$schema$value ??= z.object({
|
|
178
443
|
'runId': z.string(),
|
|
179
|
-
})
|
|
180
|
-
|
|
181
|
-
const
|
|
444
|
+
}))
|
|
445
|
+
let dsh_auto_flow_autoFlow_runState_parameter_0$schema$value
|
|
446
|
+
const dsh_auto_flow_autoFlow_runState_parameter_0$schema = () => (dsh_auto_flow_autoFlow_runState_parameter_0$schema$value ??= z.string())
|
|
447
|
+
let dsh_auto_flow_autoFlow_runState_result$schema$value
|
|
448
|
+
const dsh_auto_flow_autoFlow_runState_result$schema = () => (dsh_auto_flow_autoFlow_runState_result$schema$value ??= z.union([z.literal(null), z.object({
|
|
182
449
|
'runId': z.string(),
|
|
183
450
|
'workflowId': z.string(),
|
|
184
451
|
'name': z.string(),
|
|
185
452
|
'sessionId': z.union([z.undefined(), z.string()]).optional(),
|
|
186
|
-
'status': z.union([z.literal("running"), z.literal("waiting"), z.literal("completed"), z.literal("failed"), z.literal("cancelled")]),
|
|
453
|
+
'status': z.union([z.literal("running"), z.literal("waiting"), z.literal("completed"), z.literal("failed"), z.literal("cancelled"), z.literal("crashed")]),
|
|
187
454
|
'workspaceDir': z.string(),
|
|
188
455
|
'steps': z.array(z.object({
|
|
456
|
+
'index': z.number(),
|
|
189
457
|
'nodeId': z.string(),
|
|
458
|
+
'itemCounts': z.union([z.undefined(), z.object({
|
|
459
|
+
'in': z.record(z.string(), z.number()),
|
|
460
|
+
'out': z.record(z.string(), z.number()),
|
|
461
|
+
})]).optional(),
|
|
462
|
+
'inputSources': z.union([z.undefined(), z.array(z.string())]).optional(),
|
|
190
463
|
'nodeType': z.string(),
|
|
191
464
|
'label': z.string(),
|
|
192
|
-
'status': z.union([z.literal("
|
|
465
|
+
'status': z.union([z.literal("success"), z.literal("running"), z.literal("waiting"), z.literal("failed"), z.literal("pending"), z.literal("skipped")]),
|
|
466
|
+
'statusChangedAt': z.union([z.undefined(), z.number()]).optional(),
|
|
467
|
+
'startedAt': z.union([z.undefined(), z.number()]).optional(),
|
|
468
|
+
'finishedAt': z.union([z.undefined(), z.number()]).optional(),
|
|
193
469
|
'script': z.union([z.undefined(), z.string()]).optional(),
|
|
194
470
|
'stepDir': z.union([z.undefined(), z.string()]).optional(),
|
|
195
|
-
'
|
|
471
|
+
'files': z.union([z.undefined(), z.array(z.string())]).optional(),
|
|
472
|
+
'items': z.union([z.undefined(), z.array(z.object({
|
|
473
|
+
'json': z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema6())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema6()))])),
|
|
474
|
+
'pairedItem': z.union([z.undefined(), z.number()]).optional(),
|
|
475
|
+
}))]).optional(),
|
|
476
|
+
'portItems': z.union([z.undefined(), z.record(z.string(), z.array(z.object({
|
|
477
|
+
'json': z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema6())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema6()))])),
|
|
478
|
+
'pairedItem': z.union([z.undefined(), z.number()]).optional(),
|
|
479
|
+
})))]).optional(),
|
|
480
|
+
'failedItems': z.union([z.undefined(), z.array(z.object({
|
|
481
|
+
'index': z.number(),
|
|
482
|
+
'error': z.string(),
|
|
483
|
+
}))]).optional(),
|
|
484
|
+
'skippedCount': z.union([z.undefined(), z.number()]).optional(),
|
|
485
|
+
'itemsRef': z.union([z.undefined(), z.string()]).optional(),
|
|
196
486
|
'error': z.union([z.undefined(), z.string()]).optional(),
|
|
197
487
|
'errorCode': z.union([z.undefined(), z.string()]).optional(),
|
|
198
488
|
'durationMs': z.union([z.undefined(), z.number()]).optional(),
|
|
489
|
+
'attempts': z.union([z.undefined(), z.array(z.object({
|
|
490
|
+
'attempt': z.number(),
|
|
491
|
+
'startedAt': z.number(),
|
|
492
|
+
'finishedAt': z.number(),
|
|
493
|
+
'durationMs': z.number(),
|
|
494
|
+
'ok': z.boolean(),
|
|
495
|
+
'itemCounts': z.union([z.undefined(), z.record(z.string(), z.number())]).optional(),
|
|
496
|
+
'error': z.union([z.undefined(), z.string()]).optional(),
|
|
497
|
+
'errorCode': z.union([z.undefined(), z.string()]).optional(),
|
|
498
|
+
'retryable': z.union([z.undefined(), z.literal(false), z.literal(true)]).optional(),
|
|
499
|
+
}))]).optional(),
|
|
500
|
+
'logs': z.union([z.undefined(), z.array(z.object({
|
|
501
|
+
'at': z.number(),
|
|
502
|
+
'kind': z.string(),
|
|
503
|
+
'message': z.string(),
|
|
504
|
+
'data': z.union([z.undefined(), z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema6())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema6()))]))]).optional(),
|
|
505
|
+
}))]).optional(),
|
|
199
506
|
})),
|
|
507
|
+
'batch': z.union([z.undefined(), z.object({
|
|
508
|
+
'batchId': z.string(),
|
|
509
|
+
'nodeId': z.string(),
|
|
510
|
+
'port': z.string(),
|
|
511
|
+
'keyField': z.union([z.undefined(), z.string()]).optional(),
|
|
512
|
+
})]).optional(),
|
|
513
|
+
'resumeMode': z.union([z.undefined(), z.literal("rerun-all"), z.literal("skip-succeeded")]).optional(),
|
|
200
514
|
'createdAt': z.number(),
|
|
201
515
|
'updatedAt': z.number(),
|
|
202
|
-
})])
|
|
203
|
-
|
|
204
|
-
const
|
|
516
|
+
})]))
|
|
517
|
+
let dsh_auto_flow_autoFlow_saveFlow_parameter_0$schema$value
|
|
518
|
+
const dsh_auto_flow_autoFlow_saveFlow_parameter_0$schema = () => (dsh_auto_flow_autoFlow_saveFlow_parameter_0$schema$value ??= z.string())
|
|
519
|
+
let dsh_auto_flow_autoFlow_saveFlow_parameter_1$schema$value
|
|
520
|
+
const dsh_auto_flow_autoFlow_saveFlow_parameter_1$schema = () => (dsh_auto_flow_autoFlow_saveFlow_parameter_1$schema$value ??= z.object({
|
|
205
521
|
'formatVersion': z.number(),
|
|
206
522
|
'name': z.string(),
|
|
207
523
|
'description': z.string(),
|
|
208
524
|
'nodes': z.array(z.object({
|
|
209
525
|
'id': z.string(),
|
|
526
|
+
'name': z.string(),
|
|
210
527
|
'type': z.string(),
|
|
211
528
|
'position': z.object({
|
|
212
529
|
'x': z.number(),
|
|
213
530
|
'y': z.number(),
|
|
214
531
|
}),
|
|
215
|
-
'data': z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$
|
|
216
|
-
'style': z.union([z.undefined(), z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$
|
|
532
|
+
'data': z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema2())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema2()))])),
|
|
533
|
+
'style': z.union([z.undefined(), z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema2())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema2()))]))]).optional(),
|
|
217
534
|
})),
|
|
218
535
|
'edges': z.array(z.object({
|
|
219
536
|
'id': z.string(),
|
|
@@ -221,24 +538,24 @@ const dsh_auto_flow_autoFlow_saveFlow_parameter_1$schema = z.object({
|
|
|
221
538
|
'target': z.string(),
|
|
222
539
|
'sourceHandle': z.union([z.undefined(), z.string()]).optional(),
|
|
223
540
|
'targetHandle': z.union([z.undefined(), z.string()]).optional(),
|
|
224
|
-
'type': z.union([z.undefined(), z.
|
|
225
|
-
'animated': z.union([z.undefined(), z.literal(false), z.literal(true)]).optional(),
|
|
226
|
-
'data': z.union([z.undefined(), z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema3)), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema3))]))]).optional(),
|
|
541
|
+
'type': z.union([z.undefined(), z.literal("default"), z.literal("custom-edge"), z.literal("straight"), z.literal("step"), z.literal("smoothstep"), z.literal("simplebezier")]).optional(),
|
|
227
542
|
})),
|
|
228
|
-
})
|
|
229
|
-
|
|
543
|
+
}))
|
|
544
|
+
let dsh_auto_flow_autoFlow_saveFlow_result$schema$value
|
|
545
|
+
const dsh_auto_flow_autoFlow_saveFlow_result$schema = () => (dsh_auto_flow_autoFlow_saveFlow_result$schema$value ??= z.object({
|
|
230
546
|
'formatVersion': z.number(),
|
|
231
547
|
'name': z.string(),
|
|
232
548
|
'description': z.string(),
|
|
233
549
|
'nodes': z.array(z.object({
|
|
234
550
|
'id': z.string(),
|
|
551
|
+
'name': z.string(),
|
|
235
552
|
'type': z.string(),
|
|
236
553
|
'position': z.object({
|
|
237
554
|
'x': z.number(),
|
|
238
555
|
'y': z.number(),
|
|
239
556
|
}),
|
|
240
|
-
'data': z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$
|
|
241
|
-
'style': z.union([z.undefined(), z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$
|
|
557
|
+
'data': z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema3())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema3()))])),
|
|
558
|
+
'style': z.union([z.undefined(), z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema3())), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema3()))]))]).optional(),
|
|
242
559
|
})),
|
|
243
560
|
'edges': z.array(z.object({
|
|
244
561
|
'id': z.string(),
|
|
@@ -246,11 +563,16 @@ const dsh_auto_flow_autoFlow_saveFlow_result$schema = z.object({
|
|
|
246
563
|
'target': z.string(),
|
|
247
564
|
'sourceHandle': z.union([z.undefined(), z.string()]).optional(),
|
|
248
565
|
'targetHandle': z.union([z.undefined(), z.string()]).optional(),
|
|
249
|
-
'type': z.union([z.undefined(), z.
|
|
250
|
-
'animated': z.union([z.undefined(), z.literal(false), z.literal(true)]).optional(),
|
|
251
|
-
'data': z.union([z.undefined(), z.record(z.string(), z.union([z.literal(null), z.string(), z.number(), z.literal(false), z.literal(true), z.array(z.lazy(() => FlowDataValueRemoteCodec$schema4)), z.record(z.string(), z.lazy(() => FlowDataValueRemoteCodec$schema4))]))]).optional(),
|
|
566
|
+
'type': z.union([z.undefined(), z.literal("default"), z.literal("custom-edge"), z.literal("straight"), z.literal("step"), z.literal("smoothstep"), z.literal("simplebezier")]).optional(),
|
|
252
567
|
})),
|
|
253
|
-
})
|
|
568
|
+
}))
|
|
569
|
+
let dsh_auto_flow_autoFlow_unitUrl_parameter_0$schema$value
|
|
570
|
+
const dsh_auto_flow_autoFlow_unitUrl_parameter_0$schema = () => (dsh_auto_flow_autoFlow_unitUrl_parameter_0$schema$value ??= z.string())
|
|
571
|
+
let dsh_auto_flow_autoFlow_unitUrl_result$schema$value
|
|
572
|
+
const dsh_auto_flow_autoFlow_unitUrl_result$schema = () => (dsh_auto_flow_autoFlow_unitUrl_result$schema$value ??= z.object({
|
|
573
|
+
'url': z.union([z.literal(null), z.string()]),
|
|
574
|
+
'reason': z.string().optional(),
|
|
575
|
+
}))
|
|
254
576
|
|
|
255
577
|
export const TYPERT_REMOTE = {
|
|
256
578
|
package: 'dsh-auto-flow',
|
|
@@ -269,7 +591,7 @@ export const TYPERT_REMOTE = {
|
|
|
269
591
|
codec: {
|
|
270
592
|
mode: 'strict',
|
|
271
593
|
typeSymbol: 'dsh-auto-flow#autoFlow/approveRun:runId',
|
|
272
|
-
|
|
594
|
+
create: dsh_auto_flow_autoFlow_approveRun_parameter_0$schema,
|
|
273
595
|
},
|
|
274
596
|
},
|
|
275
597
|
{
|
|
@@ -279,16 +601,16 @@ export const TYPERT_REMOTE = {
|
|
|
279
601
|
codec: {
|
|
280
602
|
mode: 'strict',
|
|
281
603
|
typeSymbol: 'dsh-auto-flow#autoFlow/approveRun:choice',
|
|
282
|
-
|
|
604
|
+
create: dsh_auto_flow_autoFlow_approveRun_parameter_1$schema,
|
|
283
605
|
},
|
|
284
606
|
},
|
|
285
607
|
],
|
|
286
608
|
result: {
|
|
287
609
|
mode: 'strict',
|
|
288
|
-
typeSymbol: '
|
|
289
|
-
|
|
610
|
+
typeSymbol: 'workflow/types#RunState',
|
|
611
|
+
create: dsh_auto_flow_autoFlow_approveRun_result$schema,
|
|
290
612
|
},
|
|
291
|
-
sourceLocation: {"file":"packages/dsh-auto-flow/src/host/service.ts","line":
|
|
613
|
+
sourceLocation: {"file":"packages/business/dsh-auto-flow/src/host/service.ts","line":533,"column":9},
|
|
292
614
|
},
|
|
293
615
|
{
|
|
294
616
|
id: 'dsh-auto-flow#autoFlow/cancelRun',
|
|
@@ -304,16 +626,16 @@ export const TYPERT_REMOTE = {
|
|
|
304
626
|
codec: {
|
|
305
627
|
mode: 'strict',
|
|
306
628
|
typeSymbol: 'dsh-auto-flow#autoFlow/cancelRun:runId',
|
|
307
|
-
|
|
629
|
+
create: dsh_auto_flow_autoFlow_cancelRun_parameter_0$schema,
|
|
308
630
|
},
|
|
309
631
|
},
|
|
310
632
|
],
|
|
311
633
|
result: {
|
|
312
634
|
mode: 'strict',
|
|
313
|
-
typeSymbol: '
|
|
314
|
-
|
|
635
|
+
typeSymbol: 'workflow/types#RunState',
|
|
636
|
+
create: dsh_auto_flow_autoFlow_cancelRun_result$schema,
|
|
315
637
|
},
|
|
316
|
-
sourceLocation: {"file":"packages/dsh-auto-flow/src/host/service.ts","line":
|
|
638
|
+
sourceLocation: {"file":"packages/business/dsh-auto-flow/src/host/service.ts","line":527,"column":9},
|
|
317
639
|
},
|
|
318
640
|
{
|
|
319
641
|
id: 'dsh-auto-flow#autoFlow/deleteFlow',
|
|
@@ -329,16 +651,16 @@ export const TYPERT_REMOTE = {
|
|
|
329
651
|
codec: {
|
|
330
652
|
mode: 'strict',
|
|
331
653
|
typeSymbol: 'dsh-auto-flow#autoFlow/deleteFlow:flowId',
|
|
332
|
-
|
|
654
|
+
create: dsh_auto_flow_autoFlow_deleteFlow_parameter_0$schema,
|
|
333
655
|
},
|
|
334
656
|
},
|
|
335
657
|
],
|
|
336
658
|
result: {
|
|
337
659
|
mode: 'strict',
|
|
338
660
|
typeSymbol: 'dsh-auto-flow#autoFlow/deleteFlow:result',
|
|
339
|
-
|
|
661
|
+
create: dsh_auto_flow_autoFlow_deleteFlow_result$schema,
|
|
340
662
|
},
|
|
341
|
-
sourceLocation: {"file":"packages/dsh-auto-flow/src/host/service.ts","line":
|
|
663
|
+
sourceLocation: {"file":"packages/business/dsh-auto-flow/src/host/service.ts","line":410,"column":9},
|
|
342
664
|
},
|
|
343
665
|
{
|
|
344
666
|
id: 'dsh-auto-flow#autoFlow/listFlows',
|
|
@@ -351,9 +673,9 @@ export const TYPERT_REMOTE = {
|
|
|
351
673
|
result: {
|
|
352
674
|
mode: 'strict',
|
|
353
675
|
typeSymbol: 'dsh-auto-flow#autoFlow/listFlows:result',
|
|
354
|
-
|
|
676
|
+
create: dsh_auto_flow_autoFlow_listFlows_result$schema,
|
|
355
677
|
},
|
|
356
|
-
sourceLocation: {"file":"packages/dsh-auto-flow/src/host/service.ts","line":
|
|
678
|
+
sourceLocation: {"file":"packages/business/dsh-auto-flow/src/host/service.ts","line":282,"column":3},
|
|
357
679
|
},
|
|
358
680
|
{
|
|
359
681
|
id: 'dsh-auto-flow#autoFlow/listLlmRoutes',
|
|
@@ -365,10 +687,10 @@ export const TYPERT_REMOTE = {
|
|
|
365
687
|
],
|
|
366
688
|
result: {
|
|
367
689
|
mode: 'strict',
|
|
368
|
-
typeSymbol: '
|
|
369
|
-
|
|
690
|
+
typeSymbol: 'workflow/types#WorkflowListLlmRoutesResult',
|
|
691
|
+
create: dsh_auto_flow_autoFlow_listLlmRoutes_result$schema,
|
|
370
692
|
},
|
|
371
|
-
sourceLocation: {"file":"packages/dsh-auto-flow/src/host/service.ts","line":
|
|
693
|
+
sourceLocation: {"file":"packages/business/dsh-auto-flow/src/host/service.ts","line":474,"column":3},
|
|
372
694
|
},
|
|
373
695
|
{
|
|
374
696
|
id: 'dsh-auto-flow#autoFlow/listRouteModels',
|
|
@@ -383,17 +705,17 @@ export const TYPERT_REMOTE = {
|
|
|
383
705
|
source: 'json',
|
|
384
706
|
codec: {
|
|
385
707
|
mode: 'strict',
|
|
386
|
-
typeSymbol: '
|
|
387
|
-
|
|
708
|
+
typeSymbol: 'workflow/types#WorkflowListRouteModelsRequest',
|
|
709
|
+
create: dsh_auto_flow_autoFlow_listRouteModels_parameter_0$schema,
|
|
388
710
|
},
|
|
389
711
|
},
|
|
390
712
|
],
|
|
391
713
|
result: {
|
|
392
714
|
mode: 'strict',
|
|
393
|
-
typeSymbol: '
|
|
394
|
-
|
|
715
|
+
typeSymbol: 'workflow/types#WorkflowListRouteModelsResult',
|
|
716
|
+
create: dsh_auto_flow_autoFlow_listRouteModels_result$schema,
|
|
395
717
|
},
|
|
396
|
-
sourceLocation: {"file":"packages/dsh-auto-flow/src/host/service.ts","line":
|
|
718
|
+
sourceLocation: {"file":"packages/business/dsh-auto-flow/src/host/service.ts","line":484,"column":9},
|
|
397
719
|
},
|
|
398
720
|
{
|
|
399
721
|
id: 'dsh-auto-flow#autoFlow/listRuns',
|
|
@@ -408,17 +730,17 @@ export const TYPERT_REMOTE = {
|
|
|
408
730
|
source: 'json',
|
|
409
731
|
codec: {
|
|
410
732
|
mode: 'strict',
|
|
411
|
-
typeSymbol: '
|
|
412
|
-
|
|
733
|
+
typeSymbol: 'workflow/types#WorkflowListRunsRequest',
|
|
734
|
+
create: dsh_auto_flow_autoFlow_listRuns_parameter_0$schema,
|
|
413
735
|
},
|
|
414
736
|
},
|
|
415
737
|
],
|
|
416
738
|
result: {
|
|
417
739
|
mode: 'strict',
|
|
418
740
|
typeSymbol: 'dsh-auto-flow#autoFlow/listRuns:result',
|
|
419
|
-
|
|
741
|
+
create: dsh_auto_flow_autoFlow_listRuns_result$schema,
|
|
420
742
|
},
|
|
421
|
-
sourceLocation: {"file":"packages/dsh-auto-flow/src/host/service.ts","line":
|
|
743
|
+
sourceLocation: {"file":"packages/business/dsh-auto-flow/src/host/service.ts","line":305,"column":9},
|
|
422
744
|
},
|
|
423
745
|
{
|
|
424
746
|
id: 'dsh-auto-flow#autoFlow/listScripts',
|
|
@@ -431,9 +753,9 @@ export const TYPERT_REMOTE = {
|
|
|
431
753
|
result: {
|
|
432
754
|
mode: 'strict',
|
|
433
755
|
typeSymbol: 'dsh-auto-flow#autoFlow/listScripts:result',
|
|
434
|
-
|
|
756
|
+
create: dsh_auto_flow_autoFlow_listScripts_result$schema,
|
|
435
757
|
},
|
|
436
|
-
sourceLocation: {"file":"packages/dsh-auto-flow/src/host/service.ts","line":
|
|
758
|
+
sourceLocation: {"file":"packages/business/dsh-auto-flow/src/host/service.ts","line":423,"column":9},
|
|
437
759
|
},
|
|
438
760
|
{
|
|
439
761
|
id: 'dsh-auto-flow#autoFlow/loadFlow',
|
|
@@ -449,16 +771,66 @@ export const TYPERT_REMOTE = {
|
|
|
449
771
|
codec: {
|
|
450
772
|
mode: 'strict',
|
|
451
773
|
typeSymbol: 'dsh-auto-flow#autoFlow/loadFlow:flowId',
|
|
452
|
-
|
|
774
|
+
create: dsh_auto_flow_autoFlow_loadFlow_parameter_0$schema,
|
|
453
775
|
},
|
|
454
776
|
},
|
|
455
777
|
],
|
|
456
778
|
result: {
|
|
457
779
|
mode: 'strict',
|
|
458
780
|
typeSymbol: 'dsh-auto-flow#autoFlow/loadFlow:result',
|
|
459
|
-
|
|
781
|
+
create: dsh_auto_flow_autoFlow_loadFlow_result$schema,
|
|
782
|
+
},
|
|
783
|
+
sourceLocation: {"file":"packages/business/dsh-auto-flow/src/host/service.ts","line":332,"column":9},
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
id: 'dsh-auto-flow#autoFlow/resumeRun',
|
|
787
|
+
service: 'autoFlow',
|
|
788
|
+
namespace: 'autoFlow',
|
|
789
|
+
method: 'resumeRun',
|
|
790
|
+
invocation: { kind: 'direct' },
|
|
791
|
+
parameters: [
|
|
792
|
+
{
|
|
793
|
+
name: 'runId',
|
|
794
|
+
wire: 'runId',
|
|
795
|
+
source: 'json',
|
|
796
|
+
codec: {
|
|
797
|
+
mode: 'strict',
|
|
798
|
+
typeSymbol: 'dsh-auto-flow#autoFlow/resumeRun:runId',
|
|
799
|
+
create: dsh_auto_flow_autoFlow_resumeRun_parameter_0$schema,
|
|
800
|
+
},
|
|
801
|
+
},
|
|
802
|
+
],
|
|
803
|
+
result: {
|
|
804
|
+
mode: 'strict',
|
|
805
|
+
typeSymbol: 'workflow/types#RunState',
|
|
806
|
+
create: dsh_auto_flow_autoFlow_resumeRun_result$schema,
|
|
807
|
+
},
|
|
808
|
+
sourceLocation: {"file":"packages/business/dsh-auto-flow/src/host/service.ts","line":544,"column":9},
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
id: 'dsh-auto-flow#autoFlow/retryRun',
|
|
812
|
+
service: 'autoFlow',
|
|
813
|
+
namespace: 'autoFlow',
|
|
814
|
+
method: 'retryRun',
|
|
815
|
+
invocation: { kind: 'direct' },
|
|
816
|
+
parameters: [
|
|
817
|
+
{
|
|
818
|
+
name: 'runId',
|
|
819
|
+
wire: 'runId',
|
|
820
|
+
source: 'json',
|
|
821
|
+
codec: {
|
|
822
|
+
mode: 'strict',
|
|
823
|
+
typeSymbol: 'dsh-auto-flow#autoFlow/retryRun:runId',
|
|
824
|
+
create: dsh_auto_flow_autoFlow_retryRun_parameter_0$schema,
|
|
825
|
+
},
|
|
826
|
+
},
|
|
827
|
+
],
|
|
828
|
+
result: {
|
|
829
|
+
mode: 'strict',
|
|
830
|
+
typeSymbol: 'dsh-auto-flow#autoFlow/retryRun:result',
|
|
831
|
+
create: dsh_auto_flow_autoFlow_retryRun_result$schema,
|
|
460
832
|
},
|
|
461
|
-
sourceLocation: {"file":"packages/dsh-auto-flow/src/host/service.ts","line":
|
|
833
|
+
sourceLocation: {"file":"packages/business/dsh-auto-flow/src/host/service.ts","line":559,"column":9},
|
|
462
834
|
},
|
|
463
835
|
{
|
|
464
836
|
id: 'dsh-auto-flow#autoFlow/runFlow',
|
|
@@ -474,16 +846,16 @@ export const TYPERT_REMOTE = {
|
|
|
474
846
|
codec: {
|
|
475
847
|
mode: 'strict',
|
|
476
848
|
typeSymbol: 'dsh-auto-flow#autoFlow/runFlow:request',
|
|
477
|
-
|
|
849
|
+
create: dsh_auto_flow_autoFlow_runFlow_parameter_0$schema,
|
|
478
850
|
},
|
|
479
851
|
},
|
|
480
852
|
],
|
|
481
853
|
result: {
|
|
482
854
|
mode: 'strict',
|
|
483
855
|
typeSymbol: 'dsh-auto-flow#autoFlow/runFlow:result',
|
|
484
|
-
|
|
856
|
+
create: dsh_auto_flow_autoFlow_runFlow_result$schema,
|
|
485
857
|
},
|
|
486
|
-
sourceLocation: {"file":"packages/dsh-auto-flow/src/host/service.ts","line":
|
|
858
|
+
sourceLocation: {"file":"packages/business/dsh-auto-flow/src/host/service.ts","line":510,"column":9},
|
|
487
859
|
},
|
|
488
860
|
{
|
|
489
861
|
id: 'dsh-auto-flow#autoFlow/runState',
|
|
@@ -499,16 +871,16 @@ export const TYPERT_REMOTE = {
|
|
|
499
871
|
codec: {
|
|
500
872
|
mode: 'strict',
|
|
501
873
|
typeSymbol: 'dsh-auto-flow#autoFlow/runState:runId',
|
|
502
|
-
|
|
874
|
+
create: dsh_auto_flow_autoFlow_runState_parameter_0$schema,
|
|
503
875
|
},
|
|
504
876
|
},
|
|
505
877
|
],
|
|
506
878
|
result: {
|
|
507
879
|
mode: 'strict',
|
|
508
880
|
typeSymbol: 'dsh-auto-flow#autoFlow/runState:result',
|
|
509
|
-
|
|
881
|
+
create: dsh_auto_flow_autoFlow_runState_result$schema,
|
|
510
882
|
},
|
|
511
|
-
sourceLocation: {"file":"packages/dsh-auto-flow/src/host/service.ts","line":
|
|
883
|
+
sourceLocation: {"file":"packages/business/dsh-auto-flow/src/host/service.ts","line":521,"column":9},
|
|
512
884
|
},
|
|
513
885
|
{
|
|
514
886
|
id: 'dsh-auto-flow#autoFlow/saveFlow',
|
|
@@ -524,7 +896,7 @@ export const TYPERT_REMOTE = {
|
|
|
524
896
|
codec: {
|
|
525
897
|
mode: 'strict',
|
|
526
898
|
typeSymbol: 'dsh-auto-flow#autoFlow/saveFlow:flowId',
|
|
527
|
-
|
|
899
|
+
create: dsh_auto_flow_autoFlow_saveFlow_parameter_0$schema,
|
|
528
900
|
},
|
|
529
901
|
},
|
|
530
902
|
{
|
|
@@ -533,17 +905,42 @@ export const TYPERT_REMOTE = {
|
|
|
533
905
|
source: 'json',
|
|
534
906
|
codec: {
|
|
535
907
|
mode: 'strict',
|
|
536
|
-
typeSymbol: '
|
|
537
|
-
|
|
908
|
+
typeSymbol: 'workflow/types#WorkflowDefinition',
|
|
909
|
+
create: dsh_auto_flow_autoFlow_saveFlow_parameter_1$schema,
|
|
910
|
+
},
|
|
911
|
+
},
|
|
912
|
+
],
|
|
913
|
+
result: {
|
|
914
|
+
mode: 'strict',
|
|
915
|
+
typeSymbol: 'workflow/types#WorkflowDefinition',
|
|
916
|
+
create: dsh_auto_flow_autoFlow_saveFlow_result$schema,
|
|
917
|
+
},
|
|
918
|
+
sourceLocation: {"file":"packages/business/dsh-auto-flow/src/host/service.ts","line":359,"column":9},
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
id: 'dsh-auto-flow#autoFlow/unitUrl',
|
|
922
|
+
service: 'autoFlow',
|
|
923
|
+
namespace: 'autoFlow',
|
|
924
|
+
method: 'unitUrl',
|
|
925
|
+
invocation: { kind: 'direct' },
|
|
926
|
+
parameters: [
|
|
927
|
+
{
|
|
928
|
+
name: 'unit',
|
|
929
|
+
wire: 'unit',
|
|
930
|
+
source: 'json',
|
|
931
|
+
codec: {
|
|
932
|
+
mode: 'strict',
|
|
933
|
+
typeSymbol: 'dsh-auto-flow#autoFlow/unitUrl:unit',
|
|
934
|
+
create: dsh_auto_flow_autoFlow_unitUrl_parameter_0$schema,
|
|
538
935
|
},
|
|
539
936
|
},
|
|
540
937
|
],
|
|
541
938
|
result: {
|
|
542
939
|
mode: 'strict',
|
|
543
|
-
typeSymbol: 'dsh-auto-flow/types#
|
|
544
|
-
|
|
940
|
+
typeSymbol: 'dsh-auto-flow/types#UnitEntryResult',
|
|
941
|
+
create: dsh_auto_flow_autoFlow_unitUrl_result$schema,
|
|
545
942
|
},
|
|
546
|
-
sourceLocation: {"file":"packages/dsh-auto-flow/src/host/service.ts","line":
|
|
943
|
+
sourceLocation: {"file":"packages/business/dsh-auto-flow/src/host/service.ts","line":240,"column":9},
|
|
547
944
|
},
|
|
548
945
|
],
|
|
549
946
|
}
|