@syrtis-ai/syrtis-javascript-client 12.0.0 → 13.1.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/README.md +1 -1
- package/package.json +1 -1
- package/src/Entity/Message.ts +12 -12
- package/src/data/entity/request.json +48 -48
package/README.md
CHANGED
package/package.json
CHANGED
package/src/Entity/Message.ts
CHANGED
|
@@ -22,26 +22,26 @@ export default class Message extends AbstractApiEntity {
|
|
|
22
22
|
static readonly CONTENT_TYPE_ARTIFACT = 'core/artifact';
|
|
23
23
|
static readonly CONTENT_TYPE_CONVERSATION_MESSAGE = 'conversation/message';
|
|
24
24
|
static readonly CONTENT_TYPE_DEBUG = 'core/debug';
|
|
25
|
-
static readonly CONTENT_TYPE_DOWNLOAD = '
|
|
26
|
-
static readonly CONTENT_TYPE_ERROR = '
|
|
27
|
-
static readonly CONTENT_TYPE_FILE = '
|
|
28
|
-
static readonly CONTENT_TYPE_FORM = '
|
|
29
|
-
static readonly CONTENT_TYPE_HTTP_RESPONSE = '
|
|
30
|
-
static readonly CONTENT_TYPE_IMAGE = '
|
|
25
|
+
static readonly CONTENT_TYPE_DOWNLOAD = 'web/link';
|
|
26
|
+
static readonly CONTENT_TYPE_ERROR = 'process/error';
|
|
27
|
+
static readonly CONTENT_TYPE_FILE = 'content/file';
|
|
28
|
+
static readonly CONTENT_TYPE_FORM = 'web/form';
|
|
29
|
+
static readonly CONTENT_TYPE_HTTP_RESPONSE = 'http/response';
|
|
30
|
+
static readonly CONTENT_TYPE_IMAGE = 'web/image';
|
|
31
31
|
static readonly CONTENT_TYPE_INFO = 'web/info';
|
|
32
|
-
static readonly CONTENT_TYPE_LIST = '
|
|
32
|
+
static readonly CONTENT_TYPE_LIST = 'web/item_list';
|
|
33
33
|
static readonly CONTENT_TYPE_NAVIGATE = 'core/navigate';
|
|
34
34
|
static readonly CONTENT_TYPE_NAVIGATED = 'core/navigated';
|
|
35
|
-
static readonly CONTENT_TYPE_PROGRESS = '
|
|
35
|
+
static readonly CONTENT_TYPE_PROGRESS = 'web/progress';
|
|
36
36
|
static readonly CONTENT_TYPE_REFERENCE = 'core/reference';
|
|
37
37
|
static readonly CONTENT_TYPE_SESSION_EXPIRE = 'core/session_expire';
|
|
38
38
|
static readonly CONTENT_TYPE_SESSION_STATUS = 'core/session_status';
|
|
39
39
|
static readonly CONTENT_TYPE_SUCCESS = 'web/success';
|
|
40
40
|
static readonly CONTENT_TYPE_THOUGHT = 'conversation/thought';
|
|
41
|
-
static readonly CONTENT_TYPE_TOOL_CALL = '
|
|
42
|
-
static readonly CONTENT_TYPE_URL = '
|
|
43
|
-
static readonly CONTENT_TYPE_VIDEO = '
|
|
44
|
-
static readonly CONTENT_TYPE_WARNING = '
|
|
41
|
+
static readonly CONTENT_TYPE_TOOL_CALL = 'ai/tool_call';
|
|
42
|
+
static readonly CONTENT_TYPE_URL = 'web/link';
|
|
43
|
+
static readonly CONTENT_TYPE_VIDEO = 'web/video';
|
|
44
|
+
static readonly CONTENT_TYPE_WARNING = 'process/warning';
|
|
45
45
|
// The types of a message's shape alone: a text, a value as JSON.
|
|
46
46
|
static readonly CONTENT_TYPE_TEXT = 'content/text';
|
|
47
47
|
static readonly CONTENT_TYPE_MARKDOWN = 'content/markdown';
|
|
@@ -15,21 +15,6 @@
|
|
|
15
15
|
"length": 30
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
|
-
{
|
|
19
|
-
"name": "dateCreated",
|
|
20
|
-
"type": "DateTimeInterface",
|
|
21
|
-
"nullable": true,
|
|
22
|
-
"default": null,
|
|
23
|
-
"orm": {
|
|
24
|
-
"kind": "field",
|
|
25
|
-
"column": "date_created",
|
|
26
|
-
"type": "datetime",
|
|
27
|
-
"nullable": false,
|
|
28
|
-
"unique": false,
|
|
29
|
-
"id": false,
|
|
30
|
-
"generated": false
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
18
|
{
|
|
34
19
|
"name": "parent",
|
|
35
20
|
"type": "self",
|
|
@@ -89,21 +74,6 @@
|
|
|
89
74
|
"length": 120
|
|
90
75
|
}
|
|
91
76
|
},
|
|
92
|
-
{
|
|
93
|
-
"name": "dateCompleted",
|
|
94
|
-
"type": "DateTimeInterface",
|
|
95
|
-
"nullable": true,
|
|
96
|
-
"default": null,
|
|
97
|
-
"orm": {
|
|
98
|
-
"kind": "field",
|
|
99
|
-
"column": "date_completed",
|
|
100
|
-
"type": "datetime",
|
|
101
|
-
"nullable": true,
|
|
102
|
-
"unique": false,
|
|
103
|
-
"id": false,
|
|
104
|
-
"generated": false
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
77
|
{
|
|
108
78
|
"name": "timezone",
|
|
109
79
|
"type": "relation",
|
|
@@ -146,6 +116,36 @@
|
|
|
146
116
|
},
|
|
147
117
|
"default": null
|
|
148
118
|
},
|
|
119
|
+
{
|
|
120
|
+
"name": "dateCreated",
|
|
121
|
+
"type": "DateTimeInterface",
|
|
122
|
+
"nullable": true,
|
|
123
|
+
"default": null,
|
|
124
|
+
"orm": {
|
|
125
|
+
"kind": "field",
|
|
126
|
+
"column": "date_created",
|
|
127
|
+
"type": "datetime_micro",
|
|
128
|
+
"nullable": false,
|
|
129
|
+
"unique": false,
|
|
130
|
+
"id": false,
|
|
131
|
+
"generated": false
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"name": "dateCompleted",
|
|
136
|
+
"type": "DateTimeInterface",
|
|
137
|
+
"nullable": true,
|
|
138
|
+
"default": null,
|
|
139
|
+
"orm": {
|
|
140
|
+
"kind": "field",
|
|
141
|
+
"column": "date_completed",
|
|
142
|
+
"type": "datetime_micro",
|
|
143
|
+
"nullable": true,
|
|
144
|
+
"unique": false,
|
|
145
|
+
"id": false,
|
|
146
|
+
"generated": false
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
149
|
{
|
|
150
150
|
"name": "messages",
|
|
151
151
|
"type": "collection",
|
|
@@ -257,6 +257,24 @@
|
|
|
257
257
|
"id": true,
|
|
258
258
|
"generated": false
|
|
259
259
|
},
|
|
260
|
+
"dateCreated": {
|
|
261
|
+
"kind": "field",
|
|
262
|
+
"column": "date_created",
|
|
263
|
+
"type": "datetime_micro",
|
|
264
|
+
"nullable": false,
|
|
265
|
+
"unique": false,
|
|
266
|
+
"id": false,
|
|
267
|
+
"generated": false
|
|
268
|
+
},
|
|
269
|
+
"dateCompleted": {
|
|
270
|
+
"kind": "field",
|
|
271
|
+
"column": "date_completed",
|
|
272
|
+
"type": "datetime_micro",
|
|
273
|
+
"nullable": true,
|
|
274
|
+
"unique": false,
|
|
275
|
+
"id": false,
|
|
276
|
+
"generated": false
|
|
277
|
+
},
|
|
260
278
|
"lastEvent": {
|
|
261
279
|
"kind": "field",
|
|
262
280
|
"column": "last_event",
|
|
@@ -277,15 +295,6 @@
|
|
|
277
295
|
"generated": false,
|
|
278
296
|
"length": 30
|
|
279
297
|
},
|
|
280
|
-
"dateCreated": {
|
|
281
|
-
"kind": "field",
|
|
282
|
-
"column": "date_created",
|
|
283
|
-
"type": "datetime",
|
|
284
|
-
"nullable": false,
|
|
285
|
-
"unique": false,
|
|
286
|
-
"id": false,
|
|
287
|
-
"generated": false
|
|
288
|
-
},
|
|
289
298
|
"type": {
|
|
290
299
|
"kind": "field",
|
|
291
300
|
"column": "type",
|
|
@@ -295,15 +304,6 @@
|
|
|
295
304
|
"id": false,
|
|
296
305
|
"generated": false,
|
|
297
306
|
"length": 120
|
|
298
|
-
},
|
|
299
|
-
"dateCompleted": {
|
|
300
|
-
"kind": "field",
|
|
301
|
-
"column": "date_completed",
|
|
302
|
-
"type": "datetime",
|
|
303
|
-
"nullable": true,
|
|
304
|
-
"unique": false,
|
|
305
|
-
"id": false,
|
|
306
|
-
"generated": false
|
|
307
307
|
}
|
|
308
308
|
},
|
|
309
309
|
"associations": {
|