@narrative.io/data-collaboration-sdk-ts 2.57.1 → 2.58.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/build/index.d.ts +6 -6
- package/build/index.js +3 -5
- package/build/jobs/index.d.ts +1 -1
- package/build/jobs/types.d.ts +176 -2
- package/build/nql/Ast.d.ts +1 -1
- package/build/nql/NqlBuilder.js +1 -4
- package/build/nql/types.d.ts +205 -969
- package/build/rosetta/types.d.ts +123 -775
- package/package.json +8 -8
package/build/rosetta/types.d.ts
CHANGED
|
@@ -1,885 +1,233 @@
|
|
|
1
1
|
import z from "zod";
|
|
2
|
-
declare const ChatCompletionRequestMessageRoleEnum: z.ZodEnum<
|
|
2
|
+
declare const ChatCompletionRequestMessageRoleEnum: z.ZodEnum<{
|
|
3
|
+
function: "function";
|
|
4
|
+
system: "system";
|
|
5
|
+
user: "user";
|
|
6
|
+
assistant: "assistant";
|
|
7
|
+
}>;
|
|
3
8
|
type ConversationMessageRole = z.infer<typeof ChatCompletionRequestMessageRoleEnum>;
|
|
4
|
-
declare const isConversationMessageRole: (input: unknown) => input is
|
|
5
|
-
declare const ChatCompletionRequestMessageName: z.
|
|
9
|
+
declare const isConversationMessageRole: (input: unknown) => input is ConversationMessageRole;
|
|
10
|
+
declare const ChatCompletionRequestMessageName: z.ZodString;
|
|
6
11
|
type ConversationMessageName = z.infer<typeof ChatCompletionRequestMessageName>;
|
|
7
|
-
declare const isConversationMessageName: (input: unknown) => input is
|
|
12
|
+
declare const isConversationMessageName: (input: unknown) => input is ConversationMessageName;
|
|
8
13
|
declare const ChatCompletionRequestUserMessageSchema: z.ZodObject<{
|
|
9
|
-
role: z.ZodEnum<
|
|
14
|
+
role: z.ZodEnum<{
|
|
15
|
+
user: "user";
|
|
16
|
+
}>;
|
|
10
17
|
content: z.ZodString;
|
|
11
|
-
name: z.ZodOptional<z.
|
|
18
|
+
name: z.ZodOptional<z.ZodString>;
|
|
12
19
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
13
20
|
id: z.ZodOptional<z.ZodString>;
|
|
14
|
-
},
|
|
15
|
-
role: "user";
|
|
16
|
-
content: string;
|
|
17
|
-
id?: string | undefined;
|
|
18
|
-
name?: string | undefined;
|
|
19
|
-
timestamp?: number | undefined;
|
|
20
|
-
}, {
|
|
21
|
-
role: "user";
|
|
22
|
-
content: string;
|
|
23
|
-
id?: string | undefined;
|
|
24
|
-
name?: string | undefined;
|
|
25
|
-
timestamp?: number | undefined;
|
|
26
|
-
}>;
|
|
21
|
+
}, z.core.$strip>;
|
|
27
22
|
type ConversationUserMessage = z.infer<typeof ChatCompletionRequestUserMessageSchema>;
|
|
28
|
-
declare const isConversationUserMessage: (input: unknown) => input is
|
|
29
|
-
role: "user";
|
|
30
|
-
content: string;
|
|
31
|
-
id?: string | undefined;
|
|
32
|
-
name?: string | undefined;
|
|
33
|
-
timestamp?: number | undefined;
|
|
34
|
-
};
|
|
23
|
+
declare const isConversationUserMessage: (input: unknown) => input is ConversationUserMessage;
|
|
35
24
|
declare const ChatCompletionRequestMessageFunctionCall: z.ZodObject<{
|
|
36
25
|
name: z.ZodString;
|
|
37
26
|
arguments: z.ZodString;
|
|
38
|
-
},
|
|
39
|
-
name: string;
|
|
40
|
-
arguments: string;
|
|
41
|
-
}, {
|
|
42
|
-
name: string;
|
|
43
|
-
arguments: string;
|
|
44
|
-
}>;
|
|
27
|
+
}, z.core.$strip>;
|
|
45
28
|
type ConversationMessageFunctionCall = z.infer<typeof ChatCompletionRequestMessageFunctionCall>;
|
|
46
|
-
declare const isConversationMessageFunctionCall: (input: unknown) => input is
|
|
47
|
-
name: string;
|
|
48
|
-
arguments: string;
|
|
49
|
-
};
|
|
29
|
+
declare const isConversationMessageFunctionCall: (input: unknown) => input is ConversationMessageFunctionCall;
|
|
50
30
|
declare const ChatCompletionRequestAssistantMessageWithFunctionCall: z.ZodObject<{
|
|
51
|
-
role: z.ZodEnum<
|
|
31
|
+
role: z.ZodEnum<{
|
|
32
|
+
assistant: "assistant";
|
|
33
|
+
}>;
|
|
52
34
|
content: z.ZodUnion<[z.ZodNull, z.ZodString]>;
|
|
53
35
|
function_call: z.ZodObject<{
|
|
54
36
|
name: z.ZodString;
|
|
55
37
|
arguments: z.ZodString;
|
|
56
|
-
},
|
|
57
|
-
name: string;
|
|
58
|
-
arguments: string;
|
|
59
|
-
}, {
|
|
60
|
-
name: string;
|
|
61
|
-
arguments: string;
|
|
62
|
-
}>;
|
|
38
|
+
}, z.core.$strip>;
|
|
63
39
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
64
40
|
id: z.ZodOptional<z.ZodString>;
|
|
65
|
-
},
|
|
66
|
-
role: "assistant";
|
|
67
|
-
content: string | null;
|
|
68
|
-
function_call: {
|
|
69
|
-
name: string;
|
|
70
|
-
arguments: string;
|
|
71
|
-
};
|
|
72
|
-
id?: string | undefined;
|
|
73
|
-
timestamp?: number | undefined;
|
|
74
|
-
}, {
|
|
75
|
-
role: "assistant";
|
|
76
|
-
content: string | null;
|
|
77
|
-
function_call: {
|
|
78
|
-
name: string;
|
|
79
|
-
arguments: string;
|
|
80
|
-
};
|
|
81
|
-
id?: string | undefined;
|
|
82
|
-
timestamp?: number | undefined;
|
|
83
|
-
}>;
|
|
41
|
+
}, z.core.$strict>;
|
|
84
42
|
type ConversationAssistantMessageWithFunctionCall = z.infer<typeof ChatCompletionRequestAssistantMessageWithFunctionCall>;
|
|
85
|
-
declare const isConversationAssistantMessageWithFunctionCall: (input: unknown) => input is
|
|
86
|
-
role: "assistant";
|
|
87
|
-
content: string | null;
|
|
88
|
-
function_call: {
|
|
89
|
-
name: string;
|
|
90
|
-
arguments: string;
|
|
91
|
-
};
|
|
92
|
-
id?: string | undefined;
|
|
93
|
-
timestamp?: number | undefined;
|
|
94
|
-
};
|
|
43
|
+
declare const isConversationAssistantMessageWithFunctionCall: (input: unknown) => input is ConversationAssistantMessageWithFunctionCall;
|
|
95
44
|
declare const ChatCompletionRequestAssistantMessageWihtoutFunctionCall: z.ZodObject<{
|
|
96
|
-
role: z.ZodEnum<
|
|
45
|
+
role: z.ZodEnum<{
|
|
46
|
+
assistant: "assistant";
|
|
47
|
+
}>;
|
|
97
48
|
content: z.ZodString;
|
|
98
49
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
99
50
|
id: z.ZodOptional<z.ZodString>;
|
|
100
|
-
},
|
|
101
|
-
role: "assistant";
|
|
102
|
-
content: string;
|
|
103
|
-
id?: string | undefined;
|
|
104
|
-
timestamp?: number | undefined;
|
|
105
|
-
}, {
|
|
106
|
-
role: "assistant";
|
|
107
|
-
content: string;
|
|
108
|
-
id?: string | undefined;
|
|
109
|
-
timestamp?: number | undefined;
|
|
110
|
-
}>;
|
|
51
|
+
}, z.core.$strict>;
|
|
111
52
|
type ConversationAssistantMessageWithoutFunctionCall = z.infer<typeof ChatCompletionRequestAssistantMessageWihtoutFunctionCall>;
|
|
112
|
-
declare const isConversationAssistantMessageWithoutFunctionCall: (input: unknown) => input is
|
|
113
|
-
role: "assistant";
|
|
114
|
-
content: string;
|
|
115
|
-
id?: string | undefined;
|
|
116
|
-
timestamp?: number | undefined;
|
|
117
|
-
};
|
|
53
|
+
declare const isConversationAssistantMessageWithoutFunctionCall: (input: unknown) => input is ConversationAssistantMessageWithoutFunctionCall;
|
|
118
54
|
declare const ChatCompletionAssistantMessage: z.ZodUnion<[z.ZodObject<{
|
|
119
|
-
role: z.ZodEnum<
|
|
55
|
+
role: z.ZodEnum<{
|
|
56
|
+
assistant: "assistant";
|
|
57
|
+
}>;
|
|
120
58
|
content: z.ZodString;
|
|
121
59
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
122
60
|
id: z.ZodOptional<z.ZodString>;
|
|
123
|
-
},
|
|
124
|
-
role:
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
timestamp?: number | undefined;
|
|
128
|
-
}, {
|
|
129
|
-
role: "assistant";
|
|
130
|
-
content: string;
|
|
131
|
-
id?: string | undefined;
|
|
132
|
-
timestamp?: number | undefined;
|
|
133
|
-
}>, z.ZodObject<{
|
|
134
|
-
role: z.ZodEnum<["assistant"]>;
|
|
61
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
62
|
+
role: z.ZodEnum<{
|
|
63
|
+
assistant: "assistant";
|
|
64
|
+
}>;
|
|
135
65
|
content: z.ZodUnion<[z.ZodNull, z.ZodString]>;
|
|
136
66
|
function_call: z.ZodObject<{
|
|
137
67
|
name: z.ZodString;
|
|
138
68
|
arguments: z.ZodString;
|
|
139
|
-
},
|
|
140
|
-
name: string;
|
|
141
|
-
arguments: string;
|
|
142
|
-
}, {
|
|
143
|
-
name: string;
|
|
144
|
-
arguments: string;
|
|
145
|
-
}>;
|
|
69
|
+
}, z.core.$strip>;
|
|
146
70
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
147
71
|
id: z.ZodOptional<z.ZodString>;
|
|
148
|
-
},
|
|
149
|
-
role: "assistant";
|
|
150
|
-
content: string | null;
|
|
151
|
-
function_call: {
|
|
152
|
-
name: string;
|
|
153
|
-
arguments: string;
|
|
154
|
-
};
|
|
155
|
-
id?: string | undefined;
|
|
156
|
-
timestamp?: number | undefined;
|
|
157
|
-
}, {
|
|
158
|
-
role: "assistant";
|
|
159
|
-
content: string | null;
|
|
160
|
-
function_call: {
|
|
161
|
-
name: string;
|
|
162
|
-
arguments: string;
|
|
163
|
-
};
|
|
164
|
-
id?: string | undefined;
|
|
165
|
-
timestamp?: number | undefined;
|
|
166
|
-
}>]>;
|
|
72
|
+
}, z.core.$strict>]>;
|
|
167
73
|
type ConversationAssistantMessage = z.infer<typeof ChatCompletionAssistantMessage>;
|
|
168
|
-
declare const isConversationAssistantMessage: (input: unknown) => input is
|
|
169
|
-
role: "assistant";
|
|
170
|
-
content: string | null;
|
|
171
|
-
function_call: {
|
|
172
|
-
name: string;
|
|
173
|
-
arguments: string;
|
|
174
|
-
};
|
|
175
|
-
id?: string | undefined;
|
|
176
|
-
timestamp?: number | undefined;
|
|
177
|
-
} | {
|
|
178
|
-
role: "assistant";
|
|
179
|
-
content: string;
|
|
180
|
-
id?: string | undefined;
|
|
181
|
-
timestamp?: number | undefined;
|
|
182
|
-
};
|
|
74
|
+
declare const isConversationAssistantMessage: (input: unknown) => input is ConversationAssistantMessage;
|
|
183
75
|
declare const ChatCompletionSystemMessageSchema: z.ZodObject<{
|
|
184
|
-
role: z.ZodEnum<
|
|
76
|
+
role: z.ZodEnum<{
|
|
77
|
+
system: "system";
|
|
78
|
+
}>;
|
|
185
79
|
content: z.ZodString;
|
|
186
|
-
},
|
|
187
|
-
role: "system";
|
|
188
|
-
content: string;
|
|
189
|
-
}, {
|
|
190
|
-
role: "system";
|
|
191
|
-
content: string;
|
|
192
|
-
}>;
|
|
80
|
+
}, z.core.$strip>;
|
|
193
81
|
type ConversationSystemMessage = z.infer<typeof ChatCompletionSystemMessageSchema>;
|
|
194
|
-
declare const isConversationSystemMessage: (input: unknown) => input is
|
|
195
|
-
role: "system";
|
|
196
|
-
content: string;
|
|
197
|
-
};
|
|
82
|
+
declare const isConversationSystemMessage: (input: unknown) => input is ConversationSystemMessage;
|
|
198
83
|
declare const ChatCompletionFunctionMessageSchema: z.ZodObject<{
|
|
199
|
-
role: z.ZodEnum<
|
|
84
|
+
role: z.ZodEnum<{
|
|
85
|
+
function: "function";
|
|
86
|
+
}>;
|
|
200
87
|
content: z.ZodString;
|
|
201
88
|
name: z.ZodString;
|
|
202
89
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
203
90
|
id: z.ZodOptional<z.ZodString>;
|
|
204
|
-
},
|
|
205
|
-
name: string;
|
|
206
|
-
role: "function";
|
|
207
|
-
content: string;
|
|
208
|
-
id?: string | undefined;
|
|
209
|
-
timestamp?: number | undefined;
|
|
210
|
-
}, {
|
|
211
|
-
name: string;
|
|
212
|
-
role: "function";
|
|
213
|
-
content: string;
|
|
214
|
-
id?: string | undefined;
|
|
215
|
-
timestamp?: number | undefined;
|
|
216
|
-
}>;
|
|
91
|
+
}, z.core.$strip>;
|
|
217
92
|
type ConversationFunctionMessage = z.infer<typeof ChatCompletionFunctionMessageSchema>;
|
|
218
|
-
declare const isConversationFunctionMessage: (input: unknown) => input is
|
|
219
|
-
|
|
220
|
-
role:
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
timestamp?: number | undefined;
|
|
224
|
-
};
|
|
225
|
-
declare const ChatCompletionRequestMessageSchema: z.ZodUnion<[z.ZodObject<{
|
|
226
|
-
role: z.ZodEnum<["user"]>;
|
|
93
|
+
declare const isConversationFunctionMessage: (input: unknown) => input is ConversationFunctionMessage;
|
|
94
|
+
declare const ChatCompletionRequestMessageSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
95
|
+
role: z.ZodEnum<{
|
|
96
|
+
user: "user";
|
|
97
|
+
}>;
|
|
227
98
|
content: z.ZodString;
|
|
228
|
-
name: z.ZodOptional<z.
|
|
99
|
+
name: z.ZodOptional<z.ZodString>;
|
|
229
100
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
230
101
|
id: z.ZodOptional<z.ZodString>;
|
|
231
|
-
},
|
|
232
|
-
role:
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
name?: string | undefined;
|
|
236
|
-
timestamp?: number | undefined;
|
|
237
|
-
}, {
|
|
238
|
-
role: "user";
|
|
239
|
-
content: string;
|
|
240
|
-
id?: string | undefined;
|
|
241
|
-
name?: string | undefined;
|
|
242
|
-
timestamp?: number | undefined;
|
|
243
|
-
}>, z.ZodUnion<[z.ZodObject<{
|
|
244
|
-
role: z.ZodEnum<["assistant"]>;
|
|
102
|
+
}, z.core.$strip>, z.ZodUnion<[z.ZodObject<{
|
|
103
|
+
role: z.ZodEnum<{
|
|
104
|
+
assistant: "assistant";
|
|
105
|
+
}>;
|
|
245
106
|
content: z.ZodString;
|
|
246
107
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
247
108
|
id: z.ZodOptional<z.ZodString>;
|
|
248
|
-
},
|
|
249
|
-
role:
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
timestamp?: number | undefined;
|
|
253
|
-
}, {
|
|
254
|
-
role: "assistant";
|
|
255
|
-
content: string;
|
|
256
|
-
id?: string | undefined;
|
|
257
|
-
timestamp?: number | undefined;
|
|
258
|
-
}>, z.ZodObject<{
|
|
259
|
-
role: z.ZodEnum<["assistant"]>;
|
|
109
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
110
|
+
role: z.ZodEnum<{
|
|
111
|
+
assistant: "assistant";
|
|
112
|
+
}>;
|
|
260
113
|
content: z.ZodUnion<[z.ZodNull, z.ZodString]>;
|
|
261
114
|
function_call: z.ZodObject<{
|
|
262
115
|
name: z.ZodString;
|
|
263
116
|
arguments: z.ZodString;
|
|
264
|
-
},
|
|
265
|
-
name: string;
|
|
266
|
-
arguments: string;
|
|
267
|
-
}, {
|
|
268
|
-
name: string;
|
|
269
|
-
arguments: string;
|
|
270
|
-
}>;
|
|
117
|
+
}, z.core.$strip>;
|
|
271
118
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
272
119
|
id: z.ZodOptional<z.ZodString>;
|
|
273
|
-
},
|
|
274
|
-
role:
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
name: string;
|
|
278
|
-
arguments: string;
|
|
279
|
-
};
|
|
280
|
-
id?: string | undefined;
|
|
281
|
-
timestamp?: number | undefined;
|
|
282
|
-
}, {
|
|
283
|
-
role: "assistant";
|
|
284
|
-
content: string | null;
|
|
285
|
-
function_call: {
|
|
286
|
-
name: string;
|
|
287
|
-
arguments: string;
|
|
288
|
-
};
|
|
289
|
-
id?: string | undefined;
|
|
290
|
-
timestamp?: number | undefined;
|
|
291
|
-
}>]>, z.ZodObject<{
|
|
292
|
-
role: z.ZodEnum<["system"]>;
|
|
120
|
+
}, z.core.$strict>]>, z.ZodObject<{
|
|
121
|
+
role: z.ZodEnum<{
|
|
122
|
+
system: "system";
|
|
123
|
+
}>;
|
|
293
124
|
content: z.ZodString;
|
|
294
|
-
},
|
|
295
|
-
role:
|
|
296
|
-
|
|
297
|
-
}
|
|
298
|
-
role: "system";
|
|
299
|
-
content: string;
|
|
300
|
-
}>, z.ZodObject<{
|
|
301
|
-
role: z.ZodEnum<["function"]>;
|
|
125
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
126
|
+
role: z.ZodEnum<{
|
|
127
|
+
function: "function";
|
|
128
|
+
}>;
|
|
302
129
|
content: z.ZodString;
|
|
303
130
|
name: z.ZodString;
|
|
304
131
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
305
132
|
id: z.ZodOptional<z.ZodString>;
|
|
306
|
-
},
|
|
307
|
-
name: string;
|
|
308
|
-
role: "function";
|
|
309
|
-
content: string;
|
|
310
|
-
id?: string | undefined;
|
|
311
|
-
timestamp?: number | undefined;
|
|
312
|
-
}, {
|
|
313
|
-
name: string;
|
|
314
|
-
role: "function";
|
|
315
|
-
content: string;
|
|
316
|
-
id?: string | undefined;
|
|
317
|
-
timestamp?: number | undefined;
|
|
318
|
-
}>]>;
|
|
133
|
+
}, z.core.$strip>]>;
|
|
319
134
|
type ConversationMessage = z.infer<typeof ChatCompletionRequestMessageSchema>;
|
|
320
|
-
declare const isConversationMessage: (input: unknown) => input is
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
timestamp?: number | undefined;
|
|
326
|
-
} | {
|
|
327
|
-
role: "assistant";
|
|
328
|
-
content: string | null;
|
|
329
|
-
function_call: {
|
|
330
|
-
name: string;
|
|
331
|
-
arguments: string;
|
|
332
|
-
};
|
|
333
|
-
id?: string | undefined;
|
|
334
|
-
timestamp?: number | undefined;
|
|
335
|
-
} | {
|
|
336
|
-
role: "assistant";
|
|
337
|
-
content: string;
|
|
338
|
-
id?: string | undefined;
|
|
339
|
-
timestamp?: number | undefined;
|
|
340
|
-
} | {
|
|
341
|
-
role: "system";
|
|
342
|
-
content: string;
|
|
343
|
-
} | {
|
|
344
|
-
name: string;
|
|
345
|
-
role: "function";
|
|
346
|
-
content: string;
|
|
347
|
-
id?: string | undefined;
|
|
348
|
-
timestamp?: number | undefined;
|
|
349
|
-
};
|
|
350
|
-
declare const ChatCompletionRequestMessagesSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
351
|
-
role: z.ZodEnum<["user"]>;
|
|
135
|
+
declare const isConversationMessage: (input: unknown) => input is ConversationMessage;
|
|
136
|
+
declare const ChatCompletionRequestMessagesSchema: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
137
|
+
role: z.ZodEnum<{
|
|
138
|
+
user: "user";
|
|
139
|
+
}>;
|
|
352
140
|
content: z.ZodString;
|
|
353
|
-
name: z.ZodOptional<z.
|
|
141
|
+
name: z.ZodOptional<z.ZodString>;
|
|
354
142
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
355
143
|
id: z.ZodOptional<z.ZodString>;
|
|
356
|
-
},
|
|
357
|
-
role:
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
name?: string | undefined;
|
|
361
|
-
timestamp?: number | undefined;
|
|
362
|
-
}, {
|
|
363
|
-
role: "user";
|
|
364
|
-
content: string;
|
|
365
|
-
id?: string | undefined;
|
|
366
|
-
name?: string | undefined;
|
|
367
|
-
timestamp?: number | undefined;
|
|
368
|
-
}>, z.ZodUnion<[z.ZodObject<{
|
|
369
|
-
role: z.ZodEnum<["assistant"]>;
|
|
144
|
+
}, z.core.$strip>, z.ZodUnion<[z.ZodObject<{
|
|
145
|
+
role: z.ZodEnum<{
|
|
146
|
+
assistant: "assistant";
|
|
147
|
+
}>;
|
|
370
148
|
content: z.ZodString;
|
|
371
149
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
372
150
|
id: z.ZodOptional<z.ZodString>;
|
|
373
|
-
},
|
|
374
|
-
role:
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
timestamp?: number | undefined;
|
|
378
|
-
}, {
|
|
379
|
-
role: "assistant";
|
|
380
|
-
content: string;
|
|
381
|
-
id?: string | undefined;
|
|
382
|
-
timestamp?: number | undefined;
|
|
383
|
-
}>, z.ZodObject<{
|
|
384
|
-
role: z.ZodEnum<["assistant"]>;
|
|
151
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
152
|
+
role: z.ZodEnum<{
|
|
153
|
+
assistant: "assistant";
|
|
154
|
+
}>;
|
|
385
155
|
content: z.ZodUnion<[z.ZodNull, z.ZodString]>;
|
|
386
156
|
function_call: z.ZodObject<{
|
|
387
157
|
name: z.ZodString;
|
|
388
158
|
arguments: z.ZodString;
|
|
389
|
-
},
|
|
390
|
-
name: string;
|
|
391
|
-
arguments: string;
|
|
392
|
-
}, {
|
|
393
|
-
name: string;
|
|
394
|
-
arguments: string;
|
|
395
|
-
}>;
|
|
159
|
+
}, z.core.$strip>;
|
|
396
160
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
397
161
|
id: z.ZodOptional<z.ZodString>;
|
|
398
|
-
},
|
|
399
|
-
role:
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
name: string;
|
|
403
|
-
arguments: string;
|
|
404
|
-
};
|
|
405
|
-
id?: string | undefined;
|
|
406
|
-
timestamp?: number | undefined;
|
|
407
|
-
}, {
|
|
408
|
-
role: "assistant";
|
|
409
|
-
content: string | null;
|
|
410
|
-
function_call: {
|
|
411
|
-
name: string;
|
|
412
|
-
arguments: string;
|
|
413
|
-
};
|
|
414
|
-
id?: string | undefined;
|
|
415
|
-
timestamp?: number | undefined;
|
|
416
|
-
}>]>, z.ZodObject<{
|
|
417
|
-
role: z.ZodEnum<["system"]>;
|
|
162
|
+
}, z.core.$strict>]>, z.ZodObject<{
|
|
163
|
+
role: z.ZodEnum<{
|
|
164
|
+
system: "system";
|
|
165
|
+
}>;
|
|
418
166
|
content: z.ZodString;
|
|
419
|
-
},
|
|
420
|
-
role:
|
|
421
|
-
|
|
422
|
-
}
|
|
423
|
-
role: "system";
|
|
424
|
-
content: string;
|
|
425
|
-
}>, z.ZodObject<{
|
|
426
|
-
role: z.ZodEnum<["function"]>;
|
|
167
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
168
|
+
role: z.ZodEnum<{
|
|
169
|
+
function: "function";
|
|
170
|
+
}>;
|
|
427
171
|
content: z.ZodString;
|
|
428
172
|
name: z.ZodString;
|
|
429
173
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
430
174
|
id: z.ZodOptional<z.ZodString>;
|
|
431
|
-
},
|
|
432
|
-
name: string;
|
|
433
|
-
role: "function";
|
|
434
|
-
content: string;
|
|
435
|
-
id?: string | undefined;
|
|
436
|
-
timestamp?: number | undefined;
|
|
437
|
-
}, {
|
|
438
|
-
name: string;
|
|
439
|
-
role: "function";
|
|
440
|
-
content: string;
|
|
441
|
-
id?: string | undefined;
|
|
442
|
-
timestamp?: number | undefined;
|
|
443
|
-
}>]>, "many">, ({
|
|
444
|
-
role: "user";
|
|
445
|
-
content: string;
|
|
446
|
-
id?: string | undefined;
|
|
447
|
-
name?: string | undefined;
|
|
448
|
-
timestamp?: number | undefined;
|
|
449
|
-
} | {
|
|
450
|
-
role: "assistant";
|
|
451
|
-
content: string | null;
|
|
452
|
-
function_call: {
|
|
453
|
-
name: string;
|
|
454
|
-
arguments: string;
|
|
455
|
-
};
|
|
456
|
-
id?: string | undefined;
|
|
457
|
-
timestamp?: number | undefined;
|
|
458
|
-
} | {
|
|
459
|
-
role: "assistant";
|
|
460
|
-
content: string;
|
|
461
|
-
id?: string | undefined;
|
|
462
|
-
timestamp?: number | undefined;
|
|
463
|
-
} | {
|
|
464
|
-
role: "system";
|
|
465
|
-
content: string;
|
|
466
|
-
} | {
|
|
467
|
-
name: string;
|
|
468
|
-
role: "function";
|
|
469
|
-
content: string;
|
|
470
|
-
id?: string | undefined;
|
|
471
|
-
timestamp?: number | undefined;
|
|
472
|
-
})[], ({
|
|
473
|
-
role: "user";
|
|
474
|
-
content: string;
|
|
475
|
-
id?: string | undefined;
|
|
476
|
-
name?: string | undefined;
|
|
477
|
-
timestamp?: number | undefined;
|
|
478
|
-
} | {
|
|
479
|
-
role: "assistant";
|
|
480
|
-
content: string | null;
|
|
481
|
-
function_call: {
|
|
482
|
-
name: string;
|
|
483
|
-
arguments: string;
|
|
484
|
-
};
|
|
485
|
-
id?: string | undefined;
|
|
486
|
-
timestamp?: number | undefined;
|
|
487
|
-
} | {
|
|
488
|
-
role: "assistant";
|
|
489
|
-
content: string;
|
|
490
|
-
id?: string | undefined;
|
|
491
|
-
timestamp?: number | undefined;
|
|
492
|
-
} | {
|
|
493
|
-
role: "system";
|
|
494
|
-
content: string;
|
|
495
|
-
} | {
|
|
496
|
-
name: string;
|
|
497
|
-
role: "function";
|
|
498
|
-
content: string;
|
|
499
|
-
id?: string | undefined;
|
|
500
|
-
timestamp?: number | undefined;
|
|
501
|
-
})[]>, ({
|
|
502
|
-
role: "user";
|
|
503
|
-
content: string;
|
|
504
|
-
id?: string | undefined;
|
|
505
|
-
name?: string | undefined;
|
|
506
|
-
timestamp?: number | undefined;
|
|
507
|
-
} | {
|
|
508
|
-
role: "assistant";
|
|
509
|
-
content: string | null;
|
|
510
|
-
function_call: {
|
|
511
|
-
name: string;
|
|
512
|
-
arguments: string;
|
|
513
|
-
};
|
|
514
|
-
id?: string | undefined;
|
|
515
|
-
timestamp?: number | undefined;
|
|
516
|
-
} | {
|
|
517
|
-
role: "assistant";
|
|
518
|
-
content: string;
|
|
519
|
-
id?: string | undefined;
|
|
520
|
-
timestamp?: number | undefined;
|
|
521
|
-
} | {
|
|
522
|
-
role: "system";
|
|
523
|
-
content: string;
|
|
524
|
-
} | {
|
|
525
|
-
name: string;
|
|
526
|
-
role: "function";
|
|
527
|
-
content: string;
|
|
528
|
-
id?: string | undefined;
|
|
529
|
-
timestamp?: number | undefined;
|
|
530
|
-
})[], ({
|
|
531
|
-
role: "user";
|
|
532
|
-
content: string;
|
|
533
|
-
id?: string | undefined;
|
|
534
|
-
name?: string | undefined;
|
|
535
|
-
timestamp?: number | undefined;
|
|
536
|
-
} | {
|
|
537
|
-
role: "assistant";
|
|
538
|
-
content: string | null;
|
|
539
|
-
function_call: {
|
|
540
|
-
name: string;
|
|
541
|
-
arguments: string;
|
|
542
|
-
};
|
|
543
|
-
id?: string | undefined;
|
|
544
|
-
timestamp?: number | undefined;
|
|
545
|
-
} | {
|
|
546
|
-
role: "assistant";
|
|
547
|
-
content: string;
|
|
548
|
-
id?: string | undefined;
|
|
549
|
-
timestamp?: number | undefined;
|
|
550
|
-
} | {
|
|
551
|
-
role: "system";
|
|
552
|
-
content: string;
|
|
553
|
-
} | {
|
|
554
|
-
name: string;
|
|
555
|
-
role: "function";
|
|
556
|
-
content: string;
|
|
557
|
-
id?: string | undefined;
|
|
558
|
-
timestamp?: number | undefined;
|
|
559
|
-
})[]>, ({
|
|
560
|
-
role: "user";
|
|
561
|
-
content: string;
|
|
562
|
-
id?: string | undefined;
|
|
563
|
-
name?: string | undefined;
|
|
564
|
-
timestamp?: number | undefined;
|
|
565
|
-
} | {
|
|
566
|
-
role: "assistant";
|
|
567
|
-
content: string | null;
|
|
568
|
-
function_call: {
|
|
569
|
-
name: string;
|
|
570
|
-
arguments: string;
|
|
571
|
-
};
|
|
572
|
-
id?: string | undefined;
|
|
573
|
-
timestamp?: number | undefined;
|
|
574
|
-
} | {
|
|
575
|
-
role: "assistant";
|
|
576
|
-
content: string;
|
|
577
|
-
id?: string | undefined;
|
|
578
|
-
timestamp?: number | undefined;
|
|
579
|
-
} | {
|
|
580
|
-
role: "system";
|
|
581
|
-
content: string;
|
|
582
|
-
} | {
|
|
583
|
-
name: string;
|
|
584
|
-
role: "function";
|
|
585
|
-
content: string;
|
|
586
|
-
id?: string | undefined;
|
|
587
|
-
timestamp?: number | undefined;
|
|
588
|
-
})[], ({
|
|
589
|
-
role: "user";
|
|
590
|
-
content: string;
|
|
591
|
-
id?: string | undefined;
|
|
592
|
-
name?: string | undefined;
|
|
593
|
-
timestamp?: number | undefined;
|
|
594
|
-
} | {
|
|
595
|
-
role: "assistant";
|
|
596
|
-
content: string | null;
|
|
597
|
-
function_call: {
|
|
598
|
-
name: string;
|
|
599
|
-
arguments: string;
|
|
600
|
-
};
|
|
601
|
-
id?: string | undefined;
|
|
602
|
-
timestamp?: number | undefined;
|
|
603
|
-
} | {
|
|
604
|
-
role: "assistant";
|
|
605
|
-
content: string;
|
|
606
|
-
id?: string | undefined;
|
|
607
|
-
timestamp?: number | undefined;
|
|
608
|
-
} | {
|
|
609
|
-
role: "system";
|
|
610
|
-
content: string;
|
|
611
|
-
} | {
|
|
612
|
-
name: string;
|
|
613
|
-
role: "function";
|
|
614
|
-
content: string;
|
|
615
|
-
id?: string | undefined;
|
|
616
|
-
timestamp?: number | undefined;
|
|
617
|
-
})[]>, ({
|
|
618
|
-
role: "user";
|
|
619
|
-
content: string;
|
|
620
|
-
id?: string | undefined;
|
|
621
|
-
name?: string | undefined;
|
|
622
|
-
timestamp?: number | undefined;
|
|
623
|
-
} | {
|
|
624
|
-
role: "assistant";
|
|
625
|
-
content: string | null;
|
|
626
|
-
function_call: {
|
|
627
|
-
name: string;
|
|
628
|
-
arguments: string;
|
|
629
|
-
};
|
|
630
|
-
id?: string | undefined;
|
|
631
|
-
timestamp?: number | undefined;
|
|
632
|
-
} | {
|
|
633
|
-
role: "assistant";
|
|
634
|
-
content: string;
|
|
635
|
-
id?: string | undefined;
|
|
636
|
-
timestamp?: number | undefined;
|
|
637
|
-
} | {
|
|
638
|
-
role: "system";
|
|
639
|
-
content: string;
|
|
640
|
-
} | {
|
|
641
|
-
name: string;
|
|
642
|
-
role: "function";
|
|
643
|
-
content: string;
|
|
644
|
-
id?: string | undefined;
|
|
645
|
-
timestamp?: number | undefined;
|
|
646
|
-
})[], ({
|
|
647
|
-
role: "user";
|
|
648
|
-
content: string;
|
|
649
|
-
id?: string | undefined;
|
|
650
|
-
name?: string | undefined;
|
|
651
|
-
timestamp?: number | undefined;
|
|
652
|
-
} | {
|
|
653
|
-
role: "assistant";
|
|
654
|
-
content: string | null;
|
|
655
|
-
function_call: {
|
|
656
|
-
name: string;
|
|
657
|
-
arguments: string;
|
|
658
|
-
};
|
|
659
|
-
id?: string | undefined;
|
|
660
|
-
timestamp?: number | undefined;
|
|
661
|
-
} | {
|
|
662
|
-
role: "assistant";
|
|
663
|
-
content: string;
|
|
664
|
-
id?: string | undefined;
|
|
665
|
-
timestamp?: number | undefined;
|
|
666
|
-
} | {
|
|
667
|
-
role: "system";
|
|
668
|
-
content: string;
|
|
669
|
-
} | {
|
|
670
|
-
name: string;
|
|
671
|
-
role: "function";
|
|
672
|
-
content: string;
|
|
673
|
-
id?: string | undefined;
|
|
674
|
-
timestamp?: number | undefined;
|
|
675
|
-
})[]>;
|
|
175
|
+
}, z.core.$strip>]>>;
|
|
676
176
|
type ConversationMessages = z.infer<typeof ChatCompletionRequestMessagesSchema>;
|
|
677
|
-
declare const isConversationMessages: (input: unknown) => input is
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
timestamp?: number | undefined;
|
|
683
|
-
} | {
|
|
684
|
-
role: "assistant";
|
|
685
|
-
content: string | null;
|
|
686
|
-
function_call: {
|
|
687
|
-
name: string;
|
|
688
|
-
arguments: string;
|
|
689
|
-
};
|
|
690
|
-
id?: string | undefined;
|
|
691
|
-
timestamp?: number | undefined;
|
|
692
|
-
} | {
|
|
693
|
-
role: "assistant";
|
|
694
|
-
content: string;
|
|
695
|
-
id?: string | undefined;
|
|
696
|
-
timestamp?: number | undefined;
|
|
697
|
-
} | {
|
|
698
|
-
role: "system";
|
|
699
|
-
content: string;
|
|
700
|
-
} | {
|
|
701
|
-
name: string;
|
|
702
|
-
role: "function";
|
|
703
|
-
content: string;
|
|
704
|
-
id?: string | undefined;
|
|
705
|
-
timestamp?: number | undefined;
|
|
706
|
-
})[];
|
|
707
|
-
declare const ChatCompletionRequestInputMessageSchema: z.ZodUnion<[z.ZodObject<{
|
|
708
|
-
role: z.ZodEnum<["user"]>;
|
|
177
|
+
declare const isConversationMessages: (input: unknown) => input is ConversationMessages;
|
|
178
|
+
declare const ChatCompletionRequestInputMessageSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
179
|
+
role: z.ZodEnum<{
|
|
180
|
+
user: "user";
|
|
181
|
+
}>;
|
|
709
182
|
content: z.ZodString;
|
|
710
|
-
name: z.ZodOptional<z.
|
|
183
|
+
name: z.ZodOptional<z.ZodString>;
|
|
711
184
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
712
185
|
id: z.ZodOptional<z.ZodString>;
|
|
713
|
-
},
|
|
714
|
-
role:
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
name?: string | undefined;
|
|
718
|
-
timestamp?: number | undefined;
|
|
719
|
-
}, {
|
|
720
|
-
role: "user";
|
|
721
|
-
content: string;
|
|
722
|
-
id?: string | undefined;
|
|
723
|
-
name?: string | undefined;
|
|
724
|
-
timestamp?: number | undefined;
|
|
725
|
-
}>, z.ZodUnion<[z.ZodObject<{
|
|
726
|
-
role: z.ZodEnum<["assistant"]>;
|
|
186
|
+
}, z.core.$strip>, z.ZodUnion<[z.ZodObject<{
|
|
187
|
+
role: z.ZodEnum<{
|
|
188
|
+
assistant: "assistant";
|
|
189
|
+
}>;
|
|
727
190
|
content: z.ZodString;
|
|
728
191
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
729
192
|
id: z.ZodOptional<z.ZodString>;
|
|
730
|
-
},
|
|
731
|
-
role:
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
timestamp?: number | undefined;
|
|
735
|
-
}, {
|
|
736
|
-
role: "assistant";
|
|
737
|
-
content: string;
|
|
738
|
-
id?: string | undefined;
|
|
739
|
-
timestamp?: number | undefined;
|
|
740
|
-
}>, z.ZodObject<{
|
|
741
|
-
role: z.ZodEnum<["assistant"]>;
|
|
193
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
194
|
+
role: z.ZodEnum<{
|
|
195
|
+
assistant: "assistant";
|
|
196
|
+
}>;
|
|
742
197
|
content: z.ZodUnion<[z.ZodNull, z.ZodString]>;
|
|
743
198
|
function_call: z.ZodObject<{
|
|
744
199
|
name: z.ZodString;
|
|
745
200
|
arguments: z.ZodString;
|
|
746
|
-
},
|
|
747
|
-
name: string;
|
|
748
|
-
arguments: string;
|
|
749
|
-
}, {
|
|
750
|
-
name: string;
|
|
751
|
-
arguments: string;
|
|
752
|
-
}>;
|
|
201
|
+
}, z.core.$strip>;
|
|
753
202
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
754
203
|
id: z.ZodOptional<z.ZodString>;
|
|
755
|
-
},
|
|
756
|
-
role:
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
name: string;
|
|
760
|
-
arguments: string;
|
|
761
|
-
};
|
|
762
|
-
id?: string | undefined;
|
|
763
|
-
timestamp?: number | undefined;
|
|
764
|
-
}, {
|
|
765
|
-
role: "assistant";
|
|
766
|
-
content: string | null;
|
|
767
|
-
function_call: {
|
|
768
|
-
name: string;
|
|
769
|
-
arguments: string;
|
|
770
|
-
};
|
|
771
|
-
id?: string | undefined;
|
|
772
|
-
timestamp?: number | undefined;
|
|
773
|
-
}>]>, z.ZodObject<{
|
|
774
|
-
role: z.ZodEnum<["function"]>;
|
|
204
|
+
}, z.core.$strict>]>, z.ZodObject<{
|
|
205
|
+
role: z.ZodEnum<{
|
|
206
|
+
function: "function";
|
|
207
|
+
}>;
|
|
775
208
|
content: z.ZodString;
|
|
776
209
|
name: z.ZodString;
|
|
777
210
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
778
211
|
id: z.ZodOptional<z.ZodString>;
|
|
779
|
-
},
|
|
780
|
-
name: string;
|
|
781
|
-
role: "function";
|
|
782
|
-
content: string;
|
|
783
|
-
id?: string | undefined;
|
|
784
|
-
timestamp?: number | undefined;
|
|
785
|
-
}, {
|
|
786
|
-
name: string;
|
|
787
|
-
role: "function";
|
|
788
|
-
content: string;
|
|
789
|
-
id?: string | undefined;
|
|
790
|
-
timestamp?: number | undefined;
|
|
791
|
-
}>]>;
|
|
212
|
+
}, z.core.$strip>]>;
|
|
792
213
|
type ConversationIOMessage = z.infer<typeof ChatCompletionRequestInputMessageSchema>;
|
|
793
|
-
declare const isConversationInputMessage: (input: unknown) => input is
|
|
794
|
-
|
|
795
|
-
content: string;
|
|
796
|
-
id?: string | undefined;
|
|
797
|
-
name?: string | undefined;
|
|
798
|
-
timestamp?: number | undefined;
|
|
799
|
-
} | {
|
|
800
|
-
role: "assistant";
|
|
801
|
-
content: string | null;
|
|
802
|
-
function_call: {
|
|
803
|
-
name: string;
|
|
804
|
-
arguments: string;
|
|
805
|
-
};
|
|
806
|
-
id?: string | undefined;
|
|
807
|
-
timestamp?: number | undefined;
|
|
808
|
-
} | {
|
|
809
|
-
role: "assistant";
|
|
810
|
-
content: string;
|
|
811
|
-
id?: string | undefined;
|
|
812
|
-
timestamp?: number | undefined;
|
|
813
|
-
} | {
|
|
814
|
-
name: string;
|
|
815
|
-
role: "function";
|
|
816
|
-
content: string;
|
|
817
|
-
id?: string | undefined;
|
|
818
|
-
timestamp?: number | undefined;
|
|
819
|
-
};
|
|
820
|
-
declare const RosettaRequestMessageSchema: z.ZodUnion<[z.ZodObject<{
|
|
214
|
+
declare const isConversationInputMessage: (input: unknown) => input is ConversationIOMessage;
|
|
215
|
+
declare const RosettaRequestMessageSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
821
216
|
type: z.ZodLiteral<"request">;
|
|
822
217
|
data: z.ZodObject<{
|
|
823
218
|
input: z.ZodString;
|
|
824
219
|
apiKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
825
220
|
assistantId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
826
|
-
},
|
|
827
|
-
|
|
828
|
-
apiKey?: string | null | undefined;
|
|
829
|
-
assistantId?: string | null | undefined;
|
|
830
|
-
}, {
|
|
831
|
-
input: string;
|
|
832
|
-
apiKey?: string | null | undefined;
|
|
833
|
-
assistantId?: string | null | undefined;
|
|
834
|
-
}>;
|
|
835
|
-
}, "strip", z.ZodTypeAny, {
|
|
836
|
-
type: "request";
|
|
837
|
-
data: {
|
|
838
|
-
input: string;
|
|
839
|
-
apiKey?: string | null | undefined;
|
|
840
|
-
assistantId?: string | null | undefined;
|
|
841
|
-
};
|
|
842
|
-
}, {
|
|
843
|
-
type: "request";
|
|
844
|
-
data: {
|
|
845
|
-
input: string;
|
|
846
|
-
apiKey?: string | null | undefined;
|
|
847
|
-
assistantId?: string | null | undefined;
|
|
848
|
-
};
|
|
849
|
-
}>, z.ZodObject<{
|
|
221
|
+
}, z.core.$strip>;
|
|
222
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
850
223
|
type: z.ZodLiteral<"ping">;
|
|
851
|
-
},
|
|
852
|
-
type: "ping";
|
|
853
|
-
}, {
|
|
854
|
-
type: "ping";
|
|
855
|
-
}>, z.ZodObject<{
|
|
224
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
856
225
|
type: z.ZodLiteral<"clearHistory">;
|
|
857
|
-
},
|
|
858
|
-
type: "clearHistory";
|
|
859
|
-
}, {
|
|
860
|
-
type: "clearHistory";
|
|
861
|
-
}>, z.ZodObject<{
|
|
226
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
862
227
|
type: z.ZodLiteral<"history">;
|
|
863
|
-
},
|
|
864
|
-
type: "history";
|
|
865
|
-
}, {
|
|
866
|
-
type: "history";
|
|
867
|
-
}>]>;
|
|
228
|
+
}, z.core.$strip>]>;
|
|
868
229
|
type RosettaRequestMessage = z.infer<typeof RosettaRequestMessageSchema>;
|
|
869
|
-
declare const isRosettaRequestMessage: (input: unknown) => input is
|
|
870
|
-
type: "request";
|
|
871
|
-
data: {
|
|
872
|
-
input: string;
|
|
873
|
-
apiKey?: string | null | undefined;
|
|
874
|
-
assistantId?: string | null | undefined;
|
|
875
|
-
};
|
|
876
|
-
} | {
|
|
877
|
-
type: "ping";
|
|
878
|
-
} | {
|
|
879
|
-
type: "clearHistory";
|
|
880
|
-
} | {
|
|
881
|
-
type: "history";
|
|
882
|
-
};
|
|
230
|
+
declare const isRosettaRequestMessage: (input: unknown) => input is RosettaRequestMessage;
|
|
883
231
|
type InfoMessageType = "info";
|
|
884
232
|
interface InfoMessageData {
|
|
885
233
|
message: string;
|