@kortyx/telemetry-contracts 0.6.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/index.d.ts +343 -1
- package/dist/index.js +465 -358
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.8.0](https://github.com/kortyx-io/kortyx/compare/telemetry-contracts-v0.7.0...telemetry-contracts-v0.8.0) (2026-09-16)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **studio:** surface consumer feedback and human reviews ([#209](https://github.com/kortyx-io/kortyx/issues/209)) ([b757879](https://github.com/kortyx-io/kortyx/commit/b757879ab72c3bb3bf3d5c8f2d10611606834cf6))
|
|
9
|
+
|
|
10
|
+
## [0.7.0](https://github.com/kortyx-io/kortyx/compare/telemetry-contracts-v0.6.0...telemetry-contracts-v0.7.0) (2026-09-15)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **studio:** support highly available runtimes ([#192](https://github.com/kortyx-io/kortyx/issues/192)) ([450bf3c](https://github.com/kortyx-io/kortyx/commit/450bf3c5099b9520eef5dc43542bfc2b83501986))
|
|
16
|
+
|
|
3
17
|
## [0.6.0](https://github.com/kortyx-io/kortyx/compare/telemetry-contracts-v0.5.0...telemetry-contracts-v0.6.0) (2026-09-14)
|
|
4
18
|
|
|
5
19
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,235 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
|
+
declare const FEEDBACK_FILTERS: readonly ["positive", "negative", "unrated"];
|
|
4
|
+
declare const FeedbackSummarySchema: z.ZodObject<{
|
|
5
|
+
positive: z.ZodNumber;
|
|
6
|
+
negative: z.ZodNumber;
|
|
7
|
+
}, z.core.$strict>;
|
|
8
|
+
declare const FeedbackReasonSchema: z.ZodEnum<{
|
|
9
|
+
incomplete: "incomplete";
|
|
10
|
+
incorrect: "incorrect";
|
|
11
|
+
irrelevant: "irrelevant";
|
|
12
|
+
unsafe: "unsafe";
|
|
13
|
+
other: "other";
|
|
14
|
+
}>;
|
|
15
|
+
declare const ReviewVerdictSchema: z.ZodEnum<{
|
|
16
|
+
incorrect: "incorrect";
|
|
17
|
+
correct: "correct";
|
|
18
|
+
"partially-correct": "partially-correct";
|
|
19
|
+
}>;
|
|
20
|
+
declare const UserFeedbackRequestSchema: z.ZodObject<{
|
|
21
|
+
runId: z.ZodString;
|
|
22
|
+
actorId: z.ZodString;
|
|
23
|
+
value: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
24
|
+
reasons: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
25
|
+
incomplete: "incomplete";
|
|
26
|
+
incorrect: "incorrect";
|
|
27
|
+
irrelevant: "irrelevant";
|
|
28
|
+
unsafe: "unsafe";
|
|
29
|
+
other: "other";
|
|
30
|
+
}>>>;
|
|
31
|
+
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
}, z.core.$strict>;
|
|
33
|
+
declare const ClearUserFeedbackRequestSchema: z.ZodObject<{
|
|
34
|
+
runId: z.ZodString;
|
|
35
|
+
actorId: z.ZodString;
|
|
36
|
+
}, z.core.$strict>;
|
|
37
|
+
declare const StudioReviewRequestSchema: z.ZodObject<{
|
|
38
|
+
value: z.ZodEnum<{
|
|
39
|
+
incorrect: "incorrect";
|
|
40
|
+
correct: "correct";
|
|
41
|
+
"partially-correct": "partially-correct";
|
|
42
|
+
}>;
|
|
43
|
+
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
+
}, z.core.$strict>;
|
|
45
|
+
declare const StudioScoreSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
46
|
+
id: z.ZodString;
|
|
47
|
+
target: z.ZodObject<{
|
|
48
|
+
type: z.ZodLiteral<"run">;
|
|
49
|
+
runId: z.ZodString;
|
|
50
|
+
}, z.core.$strict>;
|
|
51
|
+
environment: z.ZodString;
|
|
52
|
+
name: z.ZodString;
|
|
53
|
+
source: z.ZodEnum<{
|
|
54
|
+
"end-user": "end-user";
|
|
55
|
+
"human-review": "human-review";
|
|
56
|
+
evaluator: "evaluator";
|
|
57
|
+
}>;
|
|
58
|
+
actorId: z.ZodString;
|
|
59
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
60
|
+
incomplete: "incomplete";
|
|
61
|
+
incorrect: "incorrect";
|
|
62
|
+
irrelevant: "irrelevant";
|
|
63
|
+
unsafe: "unsafe";
|
|
64
|
+
other: "other";
|
|
65
|
+
}>>;
|
|
66
|
+
comment: z.ZodNullable<z.ZodString>;
|
|
67
|
+
createdAt: z.ZodString;
|
|
68
|
+
updatedAt: z.ZodString;
|
|
69
|
+
dataType: z.ZodLiteral<"BOOLEAN">;
|
|
70
|
+
value: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
71
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
72
|
+
id: z.ZodString;
|
|
73
|
+
target: z.ZodObject<{
|
|
74
|
+
type: z.ZodLiteral<"run">;
|
|
75
|
+
runId: z.ZodString;
|
|
76
|
+
}, z.core.$strict>;
|
|
77
|
+
environment: z.ZodString;
|
|
78
|
+
name: z.ZodString;
|
|
79
|
+
source: z.ZodEnum<{
|
|
80
|
+
"end-user": "end-user";
|
|
81
|
+
"human-review": "human-review";
|
|
82
|
+
evaluator: "evaluator";
|
|
83
|
+
}>;
|
|
84
|
+
actorId: z.ZodString;
|
|
85
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
86
|
+
incomplete: "incomplete";
|
|
87
|
+
incorrect: "incorrect";
|
|
88
|
+
irrelevant: "irrelevant";
|
|
89
|
+
unsafe: "unsafe";
|
|
90
|
+
other: "other";
|
|
91
|
+
}>>;
|
|
92
|
+
comment: z.ZodNullable<z.ZodString>;
|
|
93
|
+
createdAt: z.ZodString;
|
|
94
|
+
updatedAt: z.ZodString;
|
|
95
|
+
dataType: z.ZodLiteral<"CATEGORICAL">;
|
|
96
|
+
value: z.ZodString;
|
|
97
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
98
|
+
id: z.ZodString;
|
|
99
|
+
target: z.ZodObject<{
|
|
100
|
+
type: z.ZodLiteral<"run">;
|
|
101
|
+
runId: z.ZodString;
|
|
102
|
+
}, z.core.$strict>;
|
|
103
|
+
environment: z.ZodString;
|
|
104
|
+
name: z.ZodString;
|
|
105
|
+
source: z.ZodEnum<{
|
|
106
|
+
"end-user": "end-user";
|
|
107
|
+
"human-review": "human-review";
|
|
108
|
+
evaluator: "evaluator";
|
|
109
|
+
}>;
|
|
110
|
+
actorId: z.ZodString;
|
|
111
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
112
|
+
incomplete: "incomplete";
|
|
113
|
+
incorrect: "incorrect";
|
|
114
|
+
irrelevant: "irrelevant";
|
|
115
|
+
unsafe: "unsafe";
|
|
116
|
+
other: "other";
|
|
117
|
+
}>>;
|
|
118
|
+
comment: z.ZodNullable<z.ZodString>;
|
|
119
|
+
createdAt: z.ZodString;
|
|
120
|
+
updatedAt: z.ZodString;
|
|
121
|
+
dataType: z.ZodLiteral<"NUMERIC">;
|
|
122
|
+
value: z.ZodNumber;
|
|
123
|
+
}, z.core.$strict>], "dataType">;
|
|
124
|
+
declare const StudioScoreResponseSchema: z.ZodObject<{
|
|
125
|
+
score: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
126
|
+
id: z.ZodString;
|
|
127
|
+
target: z.ZodObject<{
|
|
128
|
+
type: z.ZodLiteral<"run">;
|
|
129
|
+
runId: z.ZodString;
|
|
130
|
+
}, z.core.$strict>;
|
|
131
|
+
environment: z.ZodString;
|
|
132
|
+
name: z.ZodString;
|
|
133
|
+
source: z.ZodEnum<{
|
|
134
|
+
"end-user": "end-user";
|
|
135
|
+
"human-review": "human-review";
|
|
136
|
+
evaluator: "evaluator";
|
|
137
|
+
}>;
|
|
138
|
+
actorId: z.ZodString;
|
|
139
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
140
|
+
incomplete: "incomplete";
|
|
141
|
+
incorrect: "incorrect";
|
|
142
|
+
irrelevant: "irrelevant";
|
|
143
|
+
unsafe: "unsafe";
|
|
144
|
+
other: "other";
|
|
145
|
+
}>>;
|
|
146
|
+
comment: z.ZodNullable<z.ZodString>;
|
|
147
|
+
createdAt: z.ZodString;
|
|
148
|
+
updatedAt: z.ZodString;
|
|
149
|
+
dataType: z.ZodLiteral<"BOOLEAN">;
|
|
150
|
+
value: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
151
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
152
|
+
id: z.ZodString;
|
|
153
|
+
target: z.ZodObject<{
|
|
154
|
+
type: z.ZodLiteral<"run">;
|
|
155
|
+
runId: z.ZodString;
|
|
156
|
+
}, z.core.$strict>;
|
|
157
|
+
environment: z.ZodString;
|
|
158
|
+
name: z.ZodString;
|
|
159
|
+
source: z.ZodEnum<{
|
|
160
|
+
"end-user": "end-user";
|
|
161
|
+
"human-review": "human-review";
|
|
162
|
+
evaluator: "evaluator";
|
|
163
|
+
}>;
|
|
164
|
+
actorId: z.ZodString;
|
|
165
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
166
|
+
incomplete: "incomplete";
|
|
167
|
+
incorrect: "incorrect";
|
|
168
|
+
irrelevant: "irrelevant";
|
|
169
|
+
unsafe: "unsafe";
|
|
170
|
+
other: "other";
|
|
171
|
+
}>>;
|
|
172
|
+
comment: z.ZodNullable<z.ZodString>;
|
|
173
|
+
createdAt: z.ZodString;
|
|
174
|
+
updatedAt: z.ZodString;
|
|
175
|
+
dataType: z.ZodLiteral<"CATEGORICAL">;
|
|
176
|
+
value: z.ZodString;
|
|
177
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
178
|
+
id: z.ZodString;
|
|
179
|
+
target: z.ZodObject<{
|
|
180
|
+
type: z.ZodLiteral<"run">;
|
|
181
|
+
runId: z.ZodString;
|
|
182
|
+
}, z.core.$strict>;
|
|
183
|
+
environment: z.ZodString;
|
|
184
|
+
name: z.ZodString;
|
|
185
|
+
source: z.ZodEnum<{
|
|
186
|
+
"end-user": "end-user";
|
|
187
|
+
"human-review": "human-review";
|
|
188
|
+
evaluator: "evaluator";
|
|
189
|
+
}>;
|
|
190
|
+
actorId: z.ZodString;
|
|
191
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
192
|
+
incomplete: "incomplete";
|
|
193
|
+
incorrect: "incorrect";
|
|
194
|
+
irrelevant: "irrelevant";
|
|
195
|
+
unsafe: "unsafe";
|
|
196
|
+
other: "other";
|
|
197
|
+
}>>;
|
|
198
|
+
comment: z.ZodNullable<z.ZodString>;
|
|
199
|
+
createdAt: z.ZodString;
|
|
200
|
+
updatedAt: z.ZodString;
|
|
201
|
+
dataType: z.ZodLiteral<"NUMERIC">;
|
|
202
|
+
value: z.ZodNumber;
|
|
203
|
+
}, z.core.$strict>], "dataType">;
|
|
204
|
+
}, z.core.$strict>;
|
|
205
|
+
declare const ClearScoreResponseSchema: z.ZodObject<{
|
|
206
|
+
ok: z.ZodLiteral<true>;
|
|
207
|
+
}, z.core.$strict>;
|
|
208
|
+
type FeedbackSummary = z.infer<typeof FeedbackSummarySchema>;
|
|
209
|
+
type StudioScore = z.infer<typeof StudioScoreSchema>;
|
|
210
|
+
type UserFeedbackRequest = z.infer<typeof UserFeedbackRequestSchema>;
|
|
211
|
+
type StudioReviewRequest = z.infer<typeof StudioReviewRequestSchema>;
|
|
212
|
+
declare function summarizeUserFeedback(scores: readonly StudioScore[]): FeedbackSummary;
|
|
213
|
+
|
|
3
214
|
declare const StudioReleaseVersionSchema: z.ZodString;
|
|
215
|
+
declare const StudioReleaseDeploymentSchema: z.ZodObject<{
|
|
216
|
+
strategy: z.ZodEnum<{
|
|
217
|
+
rolling: "rolling";
|
|
218
|
+
recreate: "recreate";
|
|
219
|
+
}>;
|
|
220
|
+
}, z.core.$strip>;
|
|
4
221
|
declare const StudioReleaseSchema: z.ZodObject<{
|
|
5
222
|
format: z.ZodLiteral<1>;
|
|
6
223
|
installer: z.ZodLiteral<1>;
|
|
7
224
|
version: z.ZodString;
|
|
8
225
|
api: z.ZodString;
|
|
9
226
|
studio: z.ZodString;
|
|
227
|
+
deployment: z.ZodDefault<z.ZodObject<{
|
|
228
|
+
strategy: z.ZodEnum<{
|
|
229
|
+
rolling: "rolling";
|
|
230
|
+
recreate: "recreate";
|
|
231
|
+
}>;
|
|
232
|
+
}, z.core.$strip>>;
|
|
10
233
|
}, z.core.$strip>;
|
|
11
234
|
type StudioRelease = z.infer<typeof StudioReleaseSchema>;
|
|
12
235
|
declare const StudioUpdateSettingsSchema: z.ZodObject<{
|
|
@@ -23,6 +246,12 @@ declare const StudioUpdateOperationSchema: z.ZodObject<{
|
|
|
23
246
|
version: z.ZodString;
|
|
24
247
|
api: z.ZodString;
|
|
25
248
|
studio: z.ZodString;
|
|
249
|
+
deployment: z.ZodDefault<z.ZodObject<{
|
|
250
|
+
strategy: z.ZodEnum<{
|
|
251
|
+
rolling: "rolling";
|
|
252
|
+
recreate: "recreate";
|
|
253
|
+
}>;
|
|
254
|
+
}, z.core.$strip>>;
|
|
26
255
|
}, z.core.$strip>;
|
|
27
256
|
phase: z.ZodEnum<{
|
|
28
257
|
failed: "failed";
|
|
@@ -47,6 +276,12 @@ declare const StudioUpdateStatusSchema: z.ZodObject<{
|
|
|
47
276
|
version: z.ZodString;
|
|
48
277
|
api: z.ZodString;
|
|
49
278
|
studio: z.ZodString;
|
|
279
|
+
deployment: z.ZodDefault<z.ZodObject<{
|
|
280
|
+
strategy: z.ZodEnum<{
|
|
281
|
+
rolling: "rolling";
|
|
282
|
+
recreate: "recreate";
|
|
283
|
+
}>;
|
|
284
|
+
}, z.core.$strip>>;
|
|
50
285
|
}, z.core.$strip>>;
|
|
51
286
|
checkedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
52
287
|
checkError: z.ZodNullable<z.ZodString>;
|
|
@@ -63,6 +298,12 @@ declare const StudioUpdateStatusSchema: z.ZodObject<{
|
|
|
63
298
|
version: z.ZodString;
|
|
64
299
|
api: z.ZodString;
|
|
65
300
|
studio: z.ZodString;
|
|
301
|
+
deployment: z.ZodDefault<z.ZodObject<{
|
|
302
|
+
strategy: z.ZodEnum<{
|
|
303
|
+
rolling: "rolling";
|
|
304
|
+
recreate: "recreate";
|
|
305
|
+
}>;
|
|
306
|
+
}, z.core.$strip>>;
|
|
66
307
|
}, z.core.$strip>;
|
|
67
308
|
phase: z.ZodEnum<{
|
|
68
309
|
failed: "failed";
|
|
@@ -758,6 +999,10 @@ declare const StudioMetricSchema: z.ZodObject<{
|
|
|
758
999
|
}, z.core.$strict>;
|
|
759
1000
|
declare const StudioRunSchema: z.ZodObject<{
|
|
760
1001
|
id: z.ZodString;
|
|
1002
|
+
feedback: z.ZodOptional<z.ZodObject<{
|
|
1003
|
+
positive: z.ZodNumber;
|
|
1004
|
+
negative: z.ZodNumber;
|
|
1005
|
+
}, z.core.$strict>>;
|
|
761
1006
|
callerNodeId: z.ZodOptional<z.ZodString>;
|
|
762
1007
|
parentRunId: z.ZodOptional<z.ZodString>;
|
|
763
1008
|
parentWorkflowId: z.ZodOptional<z.ZodString>;
|
|
@@ -1090,6 +1335,10 @@ declare const StudioWorkflowSchema: z.ZodObject<{
|
|
|
1090
1335
|
declare const StudioRunsResponseSchema: z.ZodObject<{
|
|
1091
1336
|
runs: z.ZodArray<z.ZodObject<{
|
|
1092
1337
|
id: z.ZodString;
|
|
1338
|
+
feedback: z.ZodOptional<z.ZodObject<{
|
|
1339
|
+
positive: z.ZodNumber;
|
|
1340
|
+
negative: z.ZodNumber;
|
|
1341
|
+
}, z.core.$strict>>;
|
|
1093
1342
|
callerNodeId: z.ZodOptional<z.ZodString>;
|
|
1094
1343
|
parentRunId: z.ZodOptional<z.ZodString>;
|
|
1095
1344
|
parentWorkflowId: z.ZodOptional<z.ZodString>;
|
|
@@ -1274,6 +1523,10 @@ declare const StudioInterruptsResponseSchema: z.ZodObject<{
|
|
|
1274
1523
|
declare const StudioRunDetailResponseSchema: z.ZodObject<{
|
|
1275
1524
|
run: z.ZodObject<{
|
|
1276
1525
|
id: z.ZodString;
|
|
1526
|
+
feedback: z.ZodOptional<z.ZodObject<{
|
|
1527
|
+
positive: z.ZodNumber;
|
|
1528
|
+
negative: z.ZodNumber;
|
|
1529
|
+
}, z.core.$strict>>;
|
|
1277
1530
|
callerNodeId: z.ZodOptional<z.ZodString>;
|
|
1278
1531
|
parentRunId: z.ZodOptional<z.ZodString>;
|
|
1279
1532
|
parentWorkflowId: z.ZodOptional<z.ZodString>;
|
|
@@ -1338,6 +1591,87 @@ declare const StudioRunDetailResponseSchema: z.ZodObject<{
|
|
|
1338
1591
|
}>>>;
|
|
1339
1592
|
interruptExpiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1340
1593
|
}, z.core.$strict>;
|
|
1594
|
+
scores: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1595
|
+
id: z.ZodString;
|
|
1596
|
+
target: z.ZodObject<{
|
|
1597
|
+
type: z.ZodLiteral<"run">;
|
|
1598
|
+
runId: z.ZodString;
|
|
1599
|
+
}, z.core.$strict>;
|
|
1600
|
+
environment: z.ZodString;
|
|
1601
|
+
name: z.ZodString;
|
|
1602
|
+
source: z.ZodEnum<{
|
|
1603
|
+
"end-user": "end-user";
|
|
1604
|
+
"human-review": "human-review";
|
|
1605
|
+
evaluator: "evaluator";
|
|
1606
|
+
}>;
|
|
1607
|
+
actorId: z.ZodString;
|
|
1608
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
1609
|
+
incomplete: "incomplete";
|
|
1610
|
+
incorrect: "incorrect";
|
|
1611
|
+
irrelevant: "irrelevant";
|
|
1612
|
+
unsafe: "unsafe";
|
|
1613
|
+
other: "other";
|
|
1614
|
+
}>>;
|
|
1615
|
+
comment: z.ZodNullable<z.ZodString>;
|
|
1616
|
+
createdAt: z.ZodString;
|
|
1617
|
+
updatedAt: z.ZodString;
|
|
1618
|
+
dataType: z.ZodLiteral<"BOOLEAN">;
|
|
1619
|
+
value: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
1620
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1621
|
+
id: z.ZodString;
|
|
1622
|
+
target: z.ZodObject<{
|
|
1623
|
+
type: z.ZodLiteral<"run">;
|
|
1624
|
+
runId: z.ZodString;
|
|
1625
|
+
}, z.core.$strict>;
|
|
1626
|
+
environment: z.ZodString;
|
|
1627
|
+
name: z.ZodString;
|
|
1628
|
+
source: z.ZodEnum<{
|
|
1629
|
+
"end-user": "end-user";
|
|
1630
|
+
"human-review": "human-review";
|
|
1631
|
+
evaluator: "evaluator";
|
|
1632
|
+
}>;
|
|
1633
|
+
actorId: z.ZodString;
|
|
1634
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
1635
|
+
incomplete: "incomplete";
|
|
1636
|
+
incorrect: "incorrect";
|
|
1637
|
+
irrelevant: "irrelevant";
|
|
1638
|
+
unsafe: "unsafe";
|
|
1639
|
+
other: "other";
|
|
1640
|
+
}>>;
|
|
1641
|
+
comment: z.ZodNullable<z.ZodString>;
|
|
1642
|
+
createdAt: z.ZodString;
|
|
1643
|
+
updatedAt: z.ZodString;
|
|
1644
|
+
dataType: z.ZodLiteral<"CATEGORICAL">;
|
|
1645
|
+
value: z.ZodString;
|
|
1646
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1647
|
+
id: z.ZodString;
|
|
1648
|
+
target: z.ZodObject<{
|
|
1649
|
+
type: z.ZodLiteral<"run">;
|
|
1650
|
+
runId: z.ZodString;
|
|
1651
|
+
}, z.core.$strict>;
|
|
1652
|
+
environment: z.ZodString;
|
|
1653
|
+
name: z.ZodString;
|
|
1654
|
+
source: z.ZodEnum<{
|
|
1655
|
+
"end-user": "end-user";
|
|
1656
|
+
"human-review": "human-review";
|
|
1657
|
+
evaluator: "evaluator";
|
|
1658
|
+
}>;
|
|
1659
|
+
actorId: z.ZodString;
|
|
1660
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
1661
|
+
incomplete: "incomplete";
|
|
1662
|
+
incorrect: "incorrect";
|
|
1663
|
+
irrelevant: "irrelevant";
|
|
1664
|
+
unsafe: "unsafe";
|
|
1665
|
+
other: "other";
|
|
1666
|
+
}>>;
|
|
1667
|
+
comment: z.ZodNullable<z.ZodString>;
|
|
1668
|
+
createdAt: z.ZodString;
|
|
1669
|
+
updatedAt: z.ZodString;
|
|
1670
|
+
dataType: z.ZodLiteral<"NUMERIC">;
|
|
1671
|
+
value: z.ZodNumber;
|
|
1672
|
+
}, z.core.$strict>], "dataType">>>;
|
|
1673
|
+
canReview: z.ZodOptional<z.ZodBoolean>;
|
|
1674
|
+
reviewActorId: z.ZodOptional<z.ZodString>;
|
|
1341
1675
|
events: z.ZodArray<z.ZodObject<{
|
|
1342
1676
|
id: z.ZodString;
|
|
1343
1677
|
type: z.ZodEnum<{
|
|
@@ -1555,6 +1889,10 @@ declare const StudioSessionDetailResponseSchema: z.ZodObject<{
|
|
|
1555
1889
|
}, z.core.$strict>;
|
|
1556
1890
|
runs: z.ZodArray<z.ZodObject<{
|
|
1557
1891
|
id: z.ZodString;
|
|
1892
|
+
feedback: z.ZodOptional<z.ZodObject<{
|
|
1893
|
+
positive: z.ZodNumber;
|
|
1894
|
+
negative: z.ZodNumber;
|
|
1895
|
+
}, z.core.$strict>>;
|
|
1558
1896
|
callerNodeId: z.ZodOptional<z.ZodString>;
|
|
1559
1897
|
parentRunId: z.ZodOptional<z.ZodString>;
|
|
1560
1898
|
parentWorkflowId: z.ZodOptional<z.ZodString>;
|
|
@@ -1828,6 +2166,10 @@ declare const StudioInterruptDetailResponseSchema: z.ZodObject<{
|
|
|
1828
2166
|
}, z.core.$strict>>;
|
|
1829
2167
|
run: z.ZodNullable<z.ZodObject<{
|
|
1830
2168
|
id: z.ZodString;
|
|
2169
|
+
feedback: z.ZodOptional<z.ZodObject<{
|
|
2170
|
+
positive: z.ZodNumber;
|
|
2171
|
+
negative: z.ZodNumber;
|
|
2172
|
+
}, z.core.$strict>>;
|
|
1831
2173
|
callerNodeId: z.ZodOptional<z.ZodString>;
|
|
1832
2174
|
parentRunId: z.ZodOptional<z.ZodString>;
|
|
1833
2175
|
parentWorkflowId: z.ZodOptional<z.ZodString>;
|
|
@@ -2119,4 +2461,4 @@ type StudioWorkflowsResponse = z.infer<typeof StudioWorkflowsResponseSchema>;
|
|
|
2119
2461
|
type StudioCatalogsResponse = z.infer<typeof StudioCatalogsResponseSchema>;
|
|
2120
2462
|
type StudioContextResponse = z.infer<typeof StudioContextResponseSchema>;
|
|
2121
2463
|
|
|
2122
|
-
export { type EnsureWorkflowTopologyRequest, EnsureWorkflowTopologyRequestSchema, type EnsureWorkflowTopologyResponse, EnsureWorkflowTopologyResponseSchema, type KortyxTelemetryEvent, type KortyxTelemetryEventType, type KortyxTelemetryService, type KortyxWorkflowTopologyEdge, type KortyxWorkflowTopologyNode, type KortyxWorkflowTopologyTransition, STUDIO_TIME_RANGES, type StudioCatalogsResponse, StudioCatalogsResponseSchema, type StudioChange, type StudioChangeResource, StudioChangeResourceSchema, StudioChangeSchema, type StudioContextResponse, StudioContextResponseSchema, type StudioDetailEvent, StudioDetailEventSchema, type StudioInterrupt, type StudioInterruptDetailResponse, StudioInterruptDetailResponseSchema, type StudioInterruptInteractionMode, StudioInterruptInteractionModeSchema, type StudioInterruptOption, StudioInterruptOptionSchema, StudioInterruptSchema, type StudioInterruptStatus, StudioInterruptStatusSchema, type StudioInterruptType, StudioInterruptTypeSchema, type StudioInterruptsResponse, StudioInterruptsResponseSchema, type StudioMetric, StudioMetricSchema, type StudioPricingSource, StudioPricingSourceSchema, type StudioPricingStatus, StudioPricingStatusSchema, type StudioRelease, StudioReleaseSchema, StudioReleaseVersionSchema, type StudioResumeOutcome, StudioResumeOutcomeSchema, type StudioRun, type StudioRunDetailResponse, StudioRunDetailResponseSchema, StudioRunSchema, type StudioRunStatus, StudioRunStatusSchema, type StudioRunsResponse, StudioRunsResponseSchema, type StudioSession, type StudioSessionDetailResponse, StudioSessionDetailResponseSchema, StudioSessionSchema, type StudioSessionsResponse, StudioSessionsResponseSchema, type StudioTimeRange, type StudioTimeRangeContext, StudioTimeRangeContextSchema, StudioTimeRangeQuerySchema, type StudioTimeRangeResolution, StudioTimeRangeSchema, type StudioUpdateOperation, StudioUpdateOperationSchema, type StudioUpdateSettings, StudioUpdateSettingsSchema, type StudioUpdateStatus, StudioUpdateStatusSchema, type StudioWorkflow, type StudioWorkflowCall, type StudioWorkflowHealth, StudioWorkflowHealthSchema, type StudioWorkflowInternalEdge, StudioWorkflowInternalEdgeSchema, type StudioWorkflowNode, StudioWorkflowNodeSchema, StudioWorkflowSchema, type StudioWorkflowTransition, StudioWorkflowTransitionSchema, type StudioWorkflowsResponse, StudioWorkflowsResponseSchema, TELEMETRY_EVENT_TYPES, type TelemetryEventBatch, type TelemetryEventBatchResponse, TelemetryEventBatchResponseSchema, TelemetryEventBatchSchema, TelemetryEventSchema, TelemetryEventTypeSchema, type TelemetryPricingHint, TelemetryPricingHintSchema, type TelemetryPricingLineItem, TelemetryPricingLineItemSchema, type TelemetryPricingSource, TelemetryPricingSourceSchema, type TelemetryPricingUnit, TelemetryPricingUnitSchema, type TelemetryPricingUsageType, TelemetryPricingUsageTypeSchema, TelemetryServiceSchema, type TelemetryUnitPrice, TelemetryUnitPriceSchema, type TelemetryUsageItem, TelemetryUsageItemSchema, WorkflowTopologyCallSchema, WorkflowTopologyEdgeSchema, WorkflowTopologyNodeSchema, WorkflowTopologyTransitionSchema, newerStudioVersion, projectWorkflowCalls, resolveStudioInterruptStatus, resolveStudioTimeRange, studioUpdateRunning };
|
|
2464
|
+
export { ClearScoreResponseSchema, ClearUserFeedbackRequestSchema, type EnsureWorkflowTopologyRequest, EnsureWorkflowTopologyRequestSchema, type EnsureWorkflowTopologyResponse, EnsureWorkflowTopologyResponseSchema, FEEDBACK_FILTERS, FeedbackReasonSchema, type FeedbackSummary, FeedbackSummarySchema, type KortyxTelemetryEvent, type KortyxTelemetryEventType, type KortyxTelemetryService, type KortyxWorkflowTopologyEdge, type KortyxWorkflowTopologyNode, type KortyxWorkflowTopologyTransition, ReviewVerdictSchema, STUDIO_TIME_RANGES, type StudioCatalogsResponse, StudioCatalogsResponseSchema, type StudioChange, type StudioChangeResource, StudioChangeResourceSchema, StudioChangeSchema, type StudioContextResponse, StudioContextResponseSchema, type StudioDetailEvent, StudioDetailEventSchema, type StudioInterrupt, type StudioInterruptDetailResponse, StudioInterruptDetailResponseSchema, type StudioInterruptInteractionMode, StudioInterruptInteractionModeSchema, type StudioInterruptOption, StudioInterruptOptionSchema, StudioInterruptSchema, type StudioInterruptStatus, StudioInterruptStatusSchema, type StudioInterruptType, StudioInterruptTypeSchema, type StudioInterruptsResponse, StudioInterruptsResponseSchema, type StudioMetric, StudioMetricSchema, type StudioPricingSource, StudioPricingSourceSchema, type StudioPricingStatus, StudioPricingStatusSchema, type StudioRelease, StudioReleaseDeploymentSchema, StudioReleaseSchema, StudioReleaseVersionSchema, type StudioResumeOutcome, StudioResumeOutcomeSchema, type StudioReviewRequest, StudioReviewRequestSchema, type StudioRun, type StudioRunDetailResponse, StudioRunDetailResponseSchema, StudioRunSchema, type StudioRunStatus, StudioRunStatusSchema, type StudioRunsResponse, StudioRunsResponseSchema, type StudioScore, StudioScoreResponseSchema, StudioScoreSchema, type StudioSession, type StudioSessionDetailResponse, StudioSessionDetailResponseSchema, StudioSessionSchema, type StudioSessionsResponse, StudioSessionsResponseSchema, type StudioTimeRange, type StudioTimeRangeContext, StudioTimeRangeContextSchema, StudioTimeRangeQuerySchema, type StudioTimeRangeResolution, StudioTimeRangeSchema, type StudioUpdateOperation, StudioUpdateOperationSchema, type StudioUpdateSettings, StudioUpdateSettingsSchema, type StudioUpdateStatus, StudioUpdateStatusSchema, type StudioWorkflow, type StudioWorkflowCall, type StudioWorkflowHealth, StudioWorkflowHealthSchema, type StudioWorkflowInternalEdge, StudioWorkflowInternalEdgeSchema, type StudioWorkflowNode, StudioWorkflowNodeSchema, StudioWorkflowSchema, type StudioWorkflowTransition, StudioWorkflowTransitionSchema, type StudioWorkflowsResponse, StudioWorkflowsResponseSchema, TELEMETRY_EVENT_TYPES, type TelemetryEventBatch, type TelemetryEventBatchResponse, TelemetryEventBatchResponseSchema, TelemetryEventBatchSchema, TelemetryEventSchema, TelemetryEventTypeSchema, type TelemetryPricingHint, TelemetryPricingHintSchema, type TelemetryPricingLineItem, TelemetryPricingLineItemSchema, type TelemetryPricingSource, TelemetryPricingSourceSchema, type TelemetryPricingUnit, TelemetryPricingUnitSchema, type TelemetryPricingUsageType, TelemetryPricingUsageTypeSchema, TelemetryServiceSchema, type TelemetryUnitPrice, TelemetryUnitPriceSchema, type TelemetryUsageItem, TelemetryUsageItemSchema, type UserFeedbackRequest, UserFeedbackRequestSchema, WorkflowTopologyCallSchema, WorkflowTopologyEdgeSchema, WorkflowTopologyNodeSchema, WorkflowTopologyTransitionSchema, newerStudioVersion, projectWorkflowCalls, resolveStudioInterruptStatus, resolveStudioTimeRange, studioUpdateRunning, summarizeUserFeedback };
|