@syrtis-ai/syrtis-javascript-client 7.0.2 → 9.0.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.
Files changed (106) hide show
  1. package/README.md +6 -15
  2. package/package.json +3 -2
  3. package/src/Common/SessionSubscribeInfoDriver.ts +2 -2
  4. package/src/Common/SyrtisClient.ts +7 -7
  5. package/src/Common/generatedEntitySchemas.ts +32 -0
  6. package/src/Common/generatedRepositories.ts +32 -0
  7. package/src/Entity/Card.ts +10 -0
  8. package/src/Entity/CardMessage.ts +10 -0
  9. package/src/Entity/CardRelation.ts +10 -0
  10. package/src/Entity/Chunk.ts +10 -0
  11. package/src/Entity/Document.ts +10 -0
  12. package/src/Entity/Environment.ts +10 -0
  13. package/src/Entity/Job.ts +10 -0
  14. package/src/Entity/Message.ts +1 -1
  15. package/src/Entity/MessageStamp.ts +1 -1
  16. package/src/Entity/Node.ts +10 -0
  17. package/src/Entity/Request.ts +1 -1
  18. package/src/Entity/Scenario.ts +10 -0
  19. package/src/Entity/Session.ts +1 -1
  20. package/src/Entity/Slot.ts +10 -0
  21. package/src/Entity/SlotConfig.ts +10 -0
  22. package/src/Entity/SlotMessage.ts +10 -0
  23. package/src/Entity/SlotMessageStamp.ts +10 -0
  24. package/src/Entity/SlotRelation.ts +10 -0
  25. package/src/Entity/Template.ts +10 -0
  26. package/src/Entity/Timezone.ts +10 -0
  27. package/src/Entity/User.ts +1 -1
  28. package/src/Repository/CardMessageRepository.ts +8 -0
  29. package/src/Repository/CardRelationRepository.ts +8 -0
  30. package/src/Repository/CardRepository.ts +8 -0
  31. package/src/Repository/ChunkRepository.ts +8 -0
  32. package/src/Repository/DocumentRepository.ts +8 -0
  33. package/src/Repository/EnvironmentRepository.ts +8 -0
  34. package/src/Repository/JobRepository.ts +8 -0
  35. package/src/Repository/MessageRepository.ts +1 -1
  36. package/src/Repository/MessageStampRepository.ts +1 -1
  37. package/src/Repository/NodeRepository.ts +8 -0
  38. package/src/Repository/RequestRepository.ts +1 -1
  39. package/src/Repository/ScenarioRepository.ts +8 -0
  40. package/src/Repository/SessionRepository.ts +4 -4
  41. package/src/Repository/SlotConfigRepository.ts +8 -0
  42. package/src/Repository/SlotMessageRepository.ts +8 -0
  43. package/src/Repository/SlotMessageStampRepository.ts +8 -0
  44. package/src/Repository/SlotRelationRepository.ts +8 -0
  45. package/src/Repository/SlotRepository.ts +8 -0
  46. package/src/Repository/TemplateRepository.ts +8 -0
  47. package/src/Repository/TimezoneRepository.ts +8 -0
  48. package/src/Repository/UserRepository.ts +1 -1
  49. package/src/Vue/Mixin/Entity/card.vue +10 -0
  50. package/src/Vue/Mixin/Entity/card_message.vue +10 -0
  51. package/src/Vue/Mixin/Entity/card_relation.vue +10 -0
  52. package/src/Vue/Mixin/Entity/chunk.vue +10 -0
  53. package/src/Vue/Mixin/Entity/document.vue +10 -0
  54. package/src/Vue/Mixin/Entity/environment.vue +10 -0
  55. package/src/Vue/Mixin/Entity/job.vue +10 -0
  56. package/src/Vue/Mixin/Entity/message.vue +2 -2
  57. package/src/Vue/Mixin/Entity/message_stamp.vue +2 -2
  58. package/src/Vue/Mixin/Entity/node.vue +10 -0
  59. package/src/Vue/Mixin/Entity/request.vue +2 -2
  60. package/src/Vue/Mixin/Entity/scenario.vue +10 -0
  61. package/src/Vue/Mixin/Entity/session.vue +2 -2
  62. package/src/Vue/Mixin/Entity/slot.vue +10 -0
  63. package/src/Vue/Mixin/Entity/slot_config.vue +10 -0
  64. package/src/Vue/Mixin/Entity/slot_message.vue +10 -0
  65. package/src/Vue/Mixin/Entity/slot_message_stamp.vue +10 -0
  66. package/src/Vue/Mixin/Entity/slot_relation.vue +10 -0
  67. package/src/Vue/Mixin/Entity/template.vue +10 -0
  68. package/src/Vue/Mixin/Entity/timezone.vue +10 -0
  69. package/src/Vue/Mixin/Entity/user.vue +2 -2
  70. package/src/Vue/Mixin/EntityManipulator/CardEntityManipulatorVueMixin.ts +9 -0
  71. package/src/Vue/Mixin/EntityManipulator/CardMessageEntityManipulatorVueMixin.ts +9 -0
  72. package/src/Vue/Mixin/EntityManipulator/CardRelationEntityManipulatorVueMixin.ts +9 -0
  73. package/src/Vue/Mixin/EntityManipulator/ChunkEntityManipulatorVueMixin.ts +9 -0
  74. package/src/Vue/Mixin/EntityManipulator/DocumentEntityManipulatorVueMixin.ts +9 -0
  75. package/src/Vue/Mixin/EntityManipulator/EnvironmentEntityManipulatorVueMixin.ts +9 -0
  76. package/src/Vue/Mixin/EntityManipulator/JobEntityManipulatorVueMixin.ts +9 -0
  77. package/src/Vue/Mixin/EntityManipulator/NodeEntityManipulatorVueMixin.ts +9 -0
  78. package/src/Vue/Mixin/EntityManipulator/ScenarioEntityManipulatorVueMixin.ts +9 -0
  79. package/src/Vue/Mixin/EntityManipulator/SlotConfigEntityManipulatorVueMixin.ts +9 -0
  80. package/src/Vue/Mixin/EntityManipulator/SlotEntityManipulatorVueMixin.ts +9 -0
  81. package/src/Vue/Mixin/EntityManipulator/SlotMessageEntityManipulatorVueMixin.ts +9 -0
  82. package/src/Vue/Mixin/EntityManipulator/SlotMessageStampEntityManipulatorVueMixin.ts +9 -0
  83. package/src/Vue/Mixin/EntityManipulator/SlotRelationEntityManipulatorVueMixin.ts +9 -0
  84. package/src/Vue/Mixin/EntityManipulator/TemplateEntityManipulatorVueMixin.ts +9 -0
  85. package/src/Vue/Mixin/EntityManipulator/TimezoneEntityManipulatorVueMixin.ts +9 -0
  86. package/src/data/entity/card.json +468 -0
  87. package/src/data/entity/card_message.json +139 -0
  88. package/src/data/entity/card_relation.json +163 -0
  89. package/src/data/entity/chunk.json +219 -0
  90. package/src/data/entity/document.json +321 -0
  91. package/src/data/entity/environment.json +90 -0
  92. package/src/data/entity/job.json +317 -0
  93. package/src/data/entity/message.json +45 -45
  94. package/src/data/entity/message_stamp.json +23 -23
  95. package/src/data/entity/node.json +90 -0
  96. package/src/data/entity/request.json +50 -50
  97. package/src/data/entity/scenario.json +461 -0
  98. package/src/data/entity/session.json +47 -47
  99. package/src/data/entity/slot.json +407 -0
  100. package/src/data/entity/slot_config.json +164 -0
  101. package/src/data/entity/slot_message.json +536 -0
  102. package/src/data/entity/slot_message_stamp.json +120 -0
  103. package/src/data/entity/slot_relation.json +191 -0
  104. package/src/data/entity/template.json +188 -0
  105. package/src/data/entity/timezone.json +66 -0
  106. package/src/data/entity/user.json +308 -94
@@ -1,20 +1,6 @@
1
1
  {
2
2
  "name": "request",
3
3
  "properties": [
4
- {
5
- "name": "id",
6
- "type": "mixed",
7
- "default": null,
8
- "orm": {
9
- "kind": "field",
10
- "column": "id",
11
- "type": "integer",
12
- "nullable": false,
13
- "unique": false,
14
- "id": true,
15
- "generated": false
16
- }
17
- },
18
4
  {
19
5
  "name": "status",
20
6
  "type": "string",
@@ -44,6 +30,33 @@
44
30
  "generated": false
45
31
  }
46
32
  },
33
+ {
34
+ "name": "parent",
35
+ "type": "self",
36
+ "nullable": true,
37
+ "default": null,
38
+ "orm": {
39
+ "kind": "association",
40
+ "association_type": "many_to_one",
41
+ "target_entity": "App\\Entity\\Request",
42
+ "target": "request",
43
+ "mapped_by": null,
44
+ "inversed_by": "children",
45
+ "is_owning_side": true,
46
+ "orphan_removal": false,
47
+ "cascade": {},
48
+ "fetch": 2,
49
+ "join_columns": [
50
+ {
51
+ "name": "parent_id",
52
+ "referenced_column_name": "id",
53
+ "nullable": true,
54
+ "unique": false,
55
+ "on_delete": "SET NULL"
56
+ }
57
+ ]
58
+ }
59
+ },
47
60
  {
48
61
  "name": "children",
49
62
  "type": "Doctrine\\Common\\Collections\\Collection",
@@ -133,6 +146,20 @@
133
146
  ]
134
147
  }
135
148
  },
149
+ {
150
+ "name": "id",
151
+ "type": "Symfony\\Component\\Uid\\Uuid",
152
+ "orm": {
153
+ "kind": "field",
154
+ "column": "id",
155
+ "type": "uuid",
156
+ "nullable": false,
157
+ "unique": true,
158
+ "id": true,
159
+ "generated": false
160
+ },
161
+ "default": null
162
+ },
136
163
  {
137
164
  "name": "messages",
138
165
  "type": "collection",
@@ -237,33 +264,6 @@
237
264
  ]
238
265
  }
239
266
  },
240
- {
241
- "name": "parent",
242
- "type": "self",
243
- "nullable": true,
244
- "default": null,
245
- "orm": {
246
- "kind": "association",
247
- "association_type": "many_to_one",
248
- "target_entity": "App\\Entity\\Request",
249
- "target": "request",
250
- "mapped_by": null,
251
- "inversed_by": "children",
252
- "is_owning_side": true,
253
- "orphan_removal": false,
254
- "cascade": {},
255
- "fetch": 2,
256
- "join_columns": [
257
- {
258
- "name": "parent_id",
259
- "referenced_column_name": "id",
260
- "nullable": true,
261
- "unique": false,
262
- "on_delete": "SET NULL"
263
- }
264
- ]
265
- }
266
- },
267
267
  {
268
268
  "name": "lastEvent",
269
269
  "type": "string",
@@ -300,15 +300,6 @@
300
300
  "generated": false,
301
301
  "length": 60
302
302
  },
303
- "id": {
304
- "kind": "field",
305
- "column": "id",
306
- "type": "integer",
307
- "nullable": false,
308
- "unique": false,
309
- "id": true,
310
- "generated": false
311
- },
312
303
  "status": {
313
304
  "kind": "field",
314
305
  "column": "status",
@@ -356,6 +347,15 @@
356
347
  "unique": false,
357
348
  "id": false,
358
349
  "generated": false
350
+ },
351
+ "id": {
352
+ "kind": "field",
353
+ "column": "id",
354
+ "type": "uuid",
355
+ "nullable": false,
356
+ "unique": true,
357
+ "id": true,
358
+ "generated": false
359
359
  }
360
360
  },
361
361
  "associations": {
@@ -0,0 +1,461 @@
1
+ {
2
+ "name": "scenario",
3
+ "properties": [
4
+ {
5
+ "name": "dateCreated",
6
+ "type": "DateTimeInterface",
7
+ "nullable": true,
8
+ "default": null,
9
+ "orm": {
10
+ "kind": "field",
11
+ "column": "date_created",
12
+ "type": "datetime",
13
+ "nullable": false,
14
+ "unique": false,
15
+ "id": false,
16
+ "generated": false
17
+ }
18
+ },
19
+ {
20
+ "name": "title",
21
+ "type": "string",
22
+ "nullable": true,
23
+ "default": null,
24
+ "orm": {
25
+ "kind": "field",
26
+ "column": "title",
27
+ "type": "string",
28
+ "nullable": false,
29
+ "unique": false,
30
+ "id": false,
31
+ "generated": false,
32
+ "length": 255
33
+ }
34
+ },
35
+ {
36
+ "name": "user",
37
+ "type": "Wexample\\SymfonyHelpers\\Entity\\Interfaces\\UserEntityInterface",
38
+ "nullable": true,
39
+ "default": null,
40
+ "orm": {
41
+ "kind": "association",
42
+ "association_type": "many_to_one",
43
+ "target_entity": "App\\Entity\\User",
44
+ "target": "user",
45
+ "mapped_by": null,
46
+ "inversed_by": null,
47
+ "is_owning_side": true,
48
+ "orphan_removal": false,
49
+ "cascade": {},
50
+ "fetch": 2,
51
+ "join_columns": [
52
+ {
53
+ "name": "user_id",
54
+ "referenced_column_name": "id",
55
+ "nullable": false,
56
+ "unique": false,
57
+ "on_delete": null
58
+ }
59
+ ]
60
+ },
61
+ "target": "user"
62
+ },
63
+ {
64
+ "name": "project",
65
+ "type": "relation",
66
+ "target": "project",
67
+ "orm": {
68
+ "kind": "association",
69
+ "association_type": "many_to_one",
70
+ "target_entity": "App\\Entity\\Project",
71
+ "target": "project",
72
+ "mapped_by": null,
73
+ "inversed_by": null,
74
+ "is_owning_side": true,
75
+ "orphan_removal": false,
76
+ "cascade": {},
77
+ "fetch": 2,
78
+ "join_columns": [
79
+ {
80
+ "name": "project_id",
81
+ "referenced_column_name": "id",
82
+ "nullable": false,
83
+ "unique": false,
84
+ "on_delete": null
85
+ }
86
+ ]
87
+ }
88
+ },
89
+ {
90
+ "name": "environment",
91
+ "type": "relation",
92
+ "nullable": true,
93
+ "default": null,
94
+ "target": "environment",
95
+ "orm": {
96
+ "kind": "association",
97
+ "association_type": "many_to_one",
98
+ "target_entity": "App\\Entity\\Environment",
99
+ "target": "environment",
100
+ "mapped_by": null,
101
+ "inversed_by": null,
102
+ "is_owning_side": true,
103
+ "orphan_removal": false,
104
+ "cascade": {},
105
+ "fetch": 2,
106
+ "join_columns": [
107
+ {
108
+ "name": "environment_id",
109
+ "referenced_column_name": "id",
110
+ "nullable": false,
111
+ "unique": false,
112
+ "on_delete": null
113
+ }
114
+ ]
115
+ }
116
+ },
117
+ {
118
+ "name": "description",
119
+ "type": "string",
120
+ "nullable": true,
121
+ "default": null,
122
+ "orm": {
123
+ "kind": "field",
124
+ "column": "description",
125
+ "type": "text",
126
+ "nullable": true,
127
+ "unique": false,
128
+ "id": false,
129
+ "generated": false
130
+ }
131
+ },
132
+ {
133
+ "name": "secureId",
134
+ "type": "string",
135
+ "orm": {
136
+ "kind": "field",
137
+ "column": "secure_id",
138
+ "type": "string",
139
+ "nullable": false,
140
+ "unique": false,
141
+ "id": false,
142
+ "generated": false,
143
+ "length": 255
144
+ }
145
+ },
146
+ {
147
+ "name": "positionX",
148
+ "type": "int",
149
+ "nullable": true,
150
+ "default": null,
151
+ "orm": {
152
+ "kind": "field",
153
+ "column": "position_x",
154
+ "type": "integer",
155
+ "nullable": true,
156
+ "unique": false,
157
+ "id": false,
158
+ "generated": false
159
+ }
160
+ },
161
+ {
162
+ "name": "positionY",
163
+ "type": "int",
164
+ "nullable": true,
165
+ "default": null,
166
+ "orm": {
167
+ "kind": "field",
168
+ "column": "position_y",
169
+ "type": "integer",
170
+ "nullable": true,
171
+ "unique": false,
172
+ "id": false,
173
+ "generated": false
174
+ }
175
+ },
176
+ {
177
+ "name": "zoom",
178
+ "type": "float",
179
+ "nullable": true,
180
+ "default": null,
181
+ "orm": {
182
+ "kind": "field",
183
+ "column": "zoom",
184
+ "type": "float",
185
+ "nullable": true,
186
+ "unique": false,
187
+ "id": false,
188
+ "generated": false
189
+ }
190
+ },
191
+ {
192
+ "name": "id",
193
+ "type": "Symfony\\Component\\Uid\\Uuid",
194
+ "orm": {
195
+ "kind": "field",
196
+ "column": "id",
197
+ "type": "uuid",
198
+ "nullable": false,
199
+ "unique": true,
200
+ "id": true,
201
+ "generated": false
202
+ },
203
+ "default": null
204
+ },
205
+ {
206
+ "name": "cards",
207
+ "type": "Collection",
208
+ "orm": {
209
+ "kind": "association",
210
+ "association_type": "one_to_many",
211
+ "target_entity": "App\\Entity\\Card",
212
+ "target": "card",
213
+ "mapped_by": "scenario",
214
+ "inversed_by": null,
215
+ "is_owning_side": false,
216
+ "orphan_removal": false,
217
+ "cascade": {},
218
+ "fetch": 2
219
+ }
220
+ },
221
+ {
222
+ "name": "jobs",
223
+ "type": "Collection",
224
+ "orm": {
225
+ "kind": "association",
226
+ "association_type": "one_to_many",
227
+ "target_entity": "App\\Entity\\Job",
228
+ "target": "job",
229
+ "mapped_by": "scenario",
230
+ "inversed_by": null,
231
+ "is_owning_side": false,
232
+ "orphan_removal": false,
233
+ "cascade": {},
234
+ "fetch": 2
235
+ }
236
+ },
237
+ {
238
+ "name": "defaultEntrypoint",
239
+ "type": "relation",
240
+ "nullable": true,
241
+ "default": null,
242
+ "target": "card",
243
+ "orm": {
244
+ "kind": "association",
245
+ "association_type": "many_to_one",
246
+ "target_entity": "App\\Entity\\Card",
247
+ "target": "card",
248
+ "mapped_by": null,
249
+ "inversed_by": "defaultEntrypointForScenarios",
250
+ "is_owning_side": true,
251
+ "orphan_removal": false,
252
+ "cascade": {},
253
+ "fetch": 2,
254
+ "join_columns": [
255
+ {
256
+ "name": "default_entrypoint_id",
257
+ "referenced_column_name": "id",
258
+ "nullable": true,
259
+ "unique": false,
260
+ "on_delete": "SET NULL"
261
+ }
262
+ ]
263
+ }
264
+ }
265
+ ],
266
+ "orm": {
267
+ "class": "App\\Entity\\Scenario",
268
+ "table": "scenario",
269
+ "identifier": [
270
+ "id"
271
+ ],
272
+ "indexes": {},
273
+ "unique_constraints": {},
274
+ "fields": {
275
+ "dateCreated": {
276
+ "kind": "field",
277
+ "column": "date_created",
278
+ "type": "datetime",
279
+ "nullable": false,
280
+ "unique": false,
281
+ "id": false,
282
+ "generated": false
283
+ },
284
+ "title": {
285
+ "kind": "field",
286
+ "column": "title",
287
+ "type": "string",
288
+ "nullable": false,
289
+ "unique": false,
290
+ "id": false,
291
+ "generated": false,
292
+ "length": 255
293
+ },
294
+ "description": {
295
+ "kind": "field",
296
+ "column": "description",
297
+ "type": "text",
298
+ "nullable": true,
299
+ "unique": false,
300
+ "id": false,
301
+ "generated": false
302
+ },
303
+ "secureId": {
304
+ "kind": "field",
305
+ "column": "secure_id",
306
+ "type": "string",
307
+ "nullable": false,
308
+ "unique": false,
309
+ "id": false,
310
+ "generated": false,
311
+ "length": 255
312
+ },
313
+ "positionX": {
314
+ "kind": "field",
315
+ "column": "position_x",
316
+ "type": "integer",
317
+ "nullable": true,
318
+ "unique": false,
319
+ "id": false,
320
+ "generated": false
321
+ },
322
+ "positionY": {
323
+ "kind": "field",
324
+ "column": "position_y",
325
+ "type": "integer",
326
+ "nullable": true,
327
+ "unique": false,
328
+ "id": false,
329
+ "generated": false
330
+ },
331
+ "zoom": {
332
+ "kind": "field",
333
+ "column": "zoom",
334
+ "type": "float",
335
+ "nullable": true,
336
+ "unique": false,
337
+ "id": false,
338
+ "generated": false
339
+ },
340
+ "id": {
341
+ "kind": "field",
342
+ "column": "id",
343
+ "type": "uuid",
344
+ "nullable": false,
345
+ "unique": true,
346
+ "id": true,
347
+ "generated": false
348
+ }
349
+ },
350
+ "associations": {
351
+ "cards": {
352
+ "kind": "association",
353
+ "association_type": "one_to_many",
354
+ "target_entity": "App\\Entity\\Card",
355
+ "target": "card",
356
+ "mapped_by": "scenario",
357
+ "inversed_by": null,
358
+ "is_owning_side": false,
359
+ "orphan_removal": false,
360
+ "cascade": {},
361
+ "fetch": 2
362
+ },
363
+ "jobs": {
364
+ "kind": "association",
365
+ "association_type": "one_to_many",
366
+ "target_entity": "App\\Entity\\Job",
367
+ "target": "job",
368
+ "mapped_by": "scenario",
369
+ "inversed_by": null,
370
+ "is_owning_side": false,
371
+ "orphan_removal": false,
372
+ "cascade": {},
373
+ "fetch": 2
374
+ },
375
+ "defaultEntrypoint": {
376
+ "kind": "association",
377
+ "association_type": "many_to_one",
378
+ "target_entity": "App\\Entity\\Card",
379
+ "target": "card",
380
+ "mapped_by": null,
381
+ "inversed_by": "defaultEntrypointForScenarios",
382
+ "is_owning_side": true,
383
+ "orphan_removal": false,
384
+ "cascade": {},
385
+ "fetch": 2,
386
+ "join_columns": [
387
+ {
388
+ "name": "default_entrypoint_id",
389
+ "referenced_column_name": "id",
390
+ "nullable": true,
391
+ "unique": false,
392
+ "on_delete": "SET NULL"
393
+ }
394
+ ]
395
+ },
396
+ "project": {
397
+ "kind": "association",
398
+ "association_type": "many_to_one",
399
+ "target_entity": "App\\Entity\\Project",
400
+ "target": "project",
401
+ "mapped_by": null,
402
+ "inversed_by": null,
403
+ "is_owning_side": true,
404
+ "orphan_removal": false,
405
+ "cascade": {},
406
+ "fetch": 2,
407
+ "join_columns": [
408
+ {
409
+ "name": "project_id",
410
+ "referenced_column_name": "id",
411
+ "nullable": false,
412
+ "unique": false,
413
+ "on_delete": null
414
+ }
415
+ ]
416
+ },
417
+ "environment": {
418
+ "kind": "association",
419
+ "association_type": "many_to_one",
420
+ "target_entity": "App\\Entity\\Environment",
421
+ "target": "environment",
422
+ "mapped_by": null,
423
+ "inversed_by": null,
424
+ "is_owning_side": true,
425
+ "orphan_removal": false,
426
+ "cascade": {},
427
+ "fetch": 2,
428
+ "join_columns": [
429
+ {
430
+ "name": "environment_id",
431
+ "referenced_column_name": "id",
432
+ "nullable": false,
433
+ "unique": false,
434
+ "on_delete": null
435
+ }
436
+ ]
437
+ },
438
+ "user": {
439
+ "kind": "association",
440
+ "association_type": "many_to_one",
441
+ "target_entity": "App\\Entity\\User",
442
+ "target": "user",
443
+ "mapped_by": null,
444
+ "inversed_by": null,
445
+ "is_owning_side": true,
446
+ "orphan_removal": false,
447
+ "cascade": {},
448
+ "fetch": 2,
449
+ "join_columns": [
450
+ {
451
+ "name": "user_id",
452
+ "referenced_column_name": "id",
453
+ "nullable": false,
454
+ "unique": false,
455
+ "on_delete": null
456
+ }
457
+ ]
458
+ }
459
+ }
460
+ }
461
+ }