@syrtis-ai/syrtis-javascript-client 9.0.0 → 10.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 (46) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/src/Common/generatedEntitySchemas.ts +6 -6
  4. package/src/Common/generatedRepositories.ts +6 -6
  5. package/src/Entity/Message.ts +43 -56
  6. package/src/Entity/ScenarioMessage.ts +10 -0
  7. package/src/Entity/{Card.ts → Step.ts} +3 -3
  8. package/src/Entity/StepMessage.ts +10 -0
  9. package/src/Repository/ScenarioMessageRepository.ts +8 -0
  10. package/src/Repository/SessionRepository.ts +1 -6
  11. package/src/Repository/StepMessageRepository.ts +8 -0
  12. package/src/Repository/StepRepository.ts +8 -0
  13. package/src/Vue/Mixin/Entity/{card_relation.vue → scenario_message.vue} +2 -2
  14. package/src/Vue/Mixin/Entity/{card.vue → step.vue} +2 -2
  15. package/src/Vue/Mixin/Entity/{card_message.vue → step_message.vue} +2 -2
  16. package/src/Vue/Mixin/EntityManipulator/ScenarioMessageEntityManipulatorVueMixin.ts +9 -0
  17. package/src/Vue/Mixin/EntityManipulator/{CardEntityManipulatorVueMixin.ts → StepEntityManipulatorVueMixin.ts} +2 -2
  18. package/src/Vue/Mixin/EntityManipulator/StepMessageEntityManipulatorVueMixin.ts +9 -0
  19. package/src/data/entity/chunk.json +9 -9
  20. package/src/data/entity/document.json +9 -9
  21. package/src/data/entity/environment.json +9 -9
  22. package/src/data/entity/job.json +9 -9
  23. package/src/data/entity/message.json +20 -46
  24. package/src/data/entity/message_stamp.json +9 -9
  25. package/src/data/entity/node.json +9 -9
  26. package/src/data/entity/request.json +20 -20
  27. package/src/data/entity/scenario.json +241 -67
  28. package/src/data/entity/{card_relation.json → scenario_message.json} +30 -55
  29. package/src/data/entity/session.json +221 -19
  30. package/src/data/entity/slot.json +167 -9
  31. package/src/data/entity/slot_config.json +9 -9
  32. package/src/data/entity/slot_message.json +11 -37
  33. package/src/data/entity/slot_message_stamp.json +9 -9
  34. package/src/data/entity/slot_relation.json +9 -9
  35. package/src/data/entity/{card.json → step.json} +22 -165
  36. package/src/data/entity/{card_message.json → step_message.json} +13 -14
  37. package/src/data/entity/template.json +9 -9
  38. package/src/data/entity/timezone.json +9 -9
  39. package/src/data/entity/user.json +41 -10
  40. package/src/Entity/CardMessage.ts +0 -10
  41. package/src/Entity/CardRelation.ts +0 -10
  42. package/src/Repository/CardMessageRepository.ts +0 -8
  43. package/src/Repository/CardRelationRepository.ts +0 -8
  44. package/src/Repository/CardRepository.ts +0 -8
  45. package/src/Vue/Mixin/EntityManipulator/CardMessageEntityManipulatorVueMixin.ts +0 -9
  46. package/src/Vue/Mixin/EntityManipulator/CardRelationEntityManipulatorVueMixin.ts +0 -9
@@ -33,6 +33,21 @@
33
33
  "length": 255
34
34
  }
35
35
  },
36
+ {
37
+ "name": "description",
38
+ "type": "string",
39
+ "nullable": true,
40
+ "default": null,
41
+ "orm": {
42
+ "kind": "field",
43
+ "column": "description",
44
+ "type": "text",
45
+ "nullable": true,
46
+ "unique": false,
47
+ "id": false,
48
+ "generated": false
49
+ }
50
+ },
36
51
  {
37
52
  "name": "secureId",
38
53
  "type": "string",
@@ -147,6 +162,22 @@
147
162
  "generated": false
148
163
  }
149
164
  },
165
+ {
166
+ "name": "color",
167
+ "type": "string",
168
+ "nullable": true,
169
+ "default": null,
170
+ "orm": {
171
+ "kind": "field",
172
+ "column": "color",
173
+ "type": "string",
174
+ "nullable": true,
175
+ "unique": false,
176
+ "id": false,
177
+ "generated": false,
178
+ "length": 7
179
+ }
180
+ },
150
181
  {
151
182
  "name": "slotRelationsSources",
152
183
  "type": "collection",
@@ -230,6 +261,69 @@
230
261
  ],
231
262
  "fetch": 2
232
263
  }
264
+ },
265
+ {
266
+ "name": "slotMarkings",
267
+ "type": "collection",
268
+ "description": "SlotMarking>",
269
+ "target": "slot_marking",
270
+ "orm": {
271
+ "kind": "association",
272
+ "association_type": "one_to_many",
273
+ "target_entity": "App\\Entity\\SlotMarking",
274
+ "target": "slot_marking",
275
+ "mapped_by": "slot",
276
+ "inversed_by": null,
277
+ "is_owning_side": false,
278
+ "orphan_removal": true,
279
+ "cascade": [
280
+ "remove",
281
+ "persist"
282
+ ],
283
+ "fetch": 2
284
+ }
285
+ },
286
+ {
287
+ "name": "slotInputs",
288
+ "type": "collection",
289
+ "description": "SlotInput>",
290
+ "target": "slot_input",
291
+ "orm": {
292
+ "kind": "association",
293
+ "association_type": "one_to_many",
294
+ "target_entity": "App\\Entity\\SlotInput",
295
+ "target": "slot_input",
296
+ "mapped_by": "slot",
297
+ "inversed_by": null,
298
+ "is_owning_side": false,
299
+ "orphan_removal": true,
300
+ "cascade": [
301
+ "remove",
302
+ "persist"
303
+ ],
304
+ "fetch": 2
305
+ }
306
+ },
307
+ {
308
+ "name": "slotOutputMessages",
309
+ "type": "collection",
310
+ "description": "SlotOutputMessage>",
311
+ "target": "slot_output_message",
312
+ "orm": {
313
+ "kind": "association",
314
+ "association_type": "one_to_many",
315
+ "target_entity": "App\\Entity\\SlotOutputMessage",
316
+ "target": "slot_output_message",
317
+ "mapped_by": "slot",
318
+ "inversed_by": null,
319
+ "is_owning_side": false,
320
+ "orphan_removal": true,
321
+ "cascade": [
322
+ "remove",
323
+ "persist"
324
+ ],
325
+ "fetch": 2
326
+ }
233
327
  }
234
328
  ],
235
329
  "orm": {
@@ -241,6 +335,15 @@
241
335
  "indexes": {},
242
336
  "unique_constraints": {},
243
337
  "fields": {
338
+ "id": {
339
+ "kind": "field",
340
+ "column": "id",
341
+ "type": "uuid",
342
+ "nullable": false,
343
+ "unique": true,
344
+ "id": true,
345
+ "generated": false
346
+ },
244
347
  "positionX": {
245
348
  "kind": "field",
246
349
  "column": "position_x",
@@ -259,6 +362,16 @@
259
362
  "id": false,
260
363
  "generated": false
261
364
  },
365
+ "color": {
366
+ "kind": "field",
367
+ "column": "color",
368
+ "type": "string",
369
+ "nullable": true,
370
+ "unique": false,
371
+ "id": false,
372
+ "generated": false,
373
+ "length": 7
374
+ },
262
375
  "type": {
263
376
  "kind": "field",
264
377
  "column": "type",
@@ -279,6 +392,15 @@
279
392
  "generated": false,
280
393
  "length": 255
281
394
  },
395
+ "description": {
396
+ "kind": "field",
397
+ "column": "description",
398
+ "type": "text",
399
+ "nullable": true,
400
+ "unique": false,
401
+ "id": false,
402
+ "generated": false
403
+ },
282
404
  "secureId": {
283
405
  "kind": "field",
284
406
  "column": "secure_id",
@@ -288,15 +410,6 @@
288
410
  "id": false,
289
411
  "generated": false,
290
412
  "length": 255
291
- },
292
- "id": {
293
- "kind": "field",
294
- "column": "id",
295
- "type": "uuid",
296
- "nullable": false,
297
- "unique": true,
298
- "id": true,
299
- "generated": false
300
413
  }
301
414
  },
302
415
  "associations": {
@@ -401,6 +514,51 @@
401
514
  "persist"
402
515
  ],
403
516
  "fetch": 2
517
+ },
518
+ "slotMarkings": {
519
+ "kind": "association",
520
+ "association_type": "one_to_many",
521
+ "target_entity": "App\\Entity\\SlotMarking",
522
+ "target": "slot_marking",
523
+ "mapped_by": "slot",
524
+ "inversed_by": null,
525
+ "is_owning_side": false,
526
+ "orphan_removal": true,
527
+ "cascade": [
528
+ "remove",
529
+ "persist"
530
+ ],
531
+ "fetch": 2
532
+ },
533
+ "slotInputs": {
534
+ "kind": "association",
535
+ "association_type": "one_to_many",
536
+ "target_entity": "App\\Entity\\SlotInput",
537
+ "target": "slot_input",
538
+ "mapped_by": "slot",
539
+ "inversed_by": null,
540
+ "is_owning_side": false,
541
+ "orphan_removal": true,
542
+ "cascade": [
543
+ "remove",
544
+ "persist"
545
+ ],
546
+ "fetch": 2
547
+ },
548
+ "slotOutputMessages": {
549
+ "kind": "association",
550
+ "association_type": "one_to_many",
551
+ "target_entity": "App\\Entity\\SlotOutputMessage",
552
+ "target": "slot_output_message",
553
+ "mapped_by": "slot",
554
+ "inversed_by": null,
555
+ "is_owning_side": false,
556
+ "orphan_removal": true,
557
+ "cascade": [
558
+ "remove",
559
+ "persist"
560
+ ],
561
+ "fetch": 2
404
562
  }
405
563
  }
406
564
  }
@@ -99,6 +99,15 @@
99
99
  "indexes": {},
100
100
  "unique_constraints": {},
101
101
  "fields": {
102
+ "id": {
103
+ "kind": "field",
104
+ "column": "id",
105
+ "type": "uuid",
106
+ "nullable": false,
107
+ "unique": true,
108
+ "id": true,
109
+ "generated": false
110
+ },
102
111
  "value": {
103
112
  "kind": "field",
104
113
  "column": "value",
@@ -126,15 +135,6 @@
126
135
  "id": false,
127
136
  "generated": false,
128
137
  "length": 255
129
- },
130
- "id": {
131
- "kind": "field",
132
- "column": "id",
133
- "type": "uuid",
134
- "nullable": false,
135
- "unique": true,
136
- "id": true,
137
- "generated": false
138
138
  }
139
139
  },
140
140
  "associations": {
@@ -121,22 +121,6 @@
121
121
  "length": 4
122
122
  }
123
123
  },
124
- {
125
- "name": "format",
126
- "type": "string",
127
- "nullable": true,
128
- "default": null,
129
- "orm": {
130
- "kind": "field",
131
- "column": "format",
132
- "type": "string",
133
- "nullable": true,
134
- "unique": false,
135
- "id": false,
136
- "generated": false,
137
- "length": 120
138
- }
139
- },
140
124
  {
141
125
  "name": "contentType",
142
126
  "type": "string",
@@ -150,7 +134,7 @@
150
134
  "unique": false,
151
135
  "id": false,
152
136
  "generated": false,
153
- "length": 30
137
+ "length": 100
154
138
  }
155
139
  },
156
140
  {
@@ -321,6 +305,15 @@
321
305
  "indexes": {},
322
306
  "unique_constraints": {},
323
307
  "fields": {
308
+ "id": {
309
+ "kind": "field",
310
+ "column": "id",
311
+ "type": "uuid",
312
+ "nullable": false,
313
+ "unique": true,
314
+ "id": true,
315
+ "generated": false
316
+ },
324
317
  "direction": {
325
318
  "kind": "field",
326
319
  "column": "direction",
@@ -408,15 +401,6 @@
408
401
  "id": false,
409
402
  "generated": false
410
403
  },
411
- "id": {
412
- "kind": "field",
413
- "column": "id",
414
- "type": "uuid",
415
- "nullable": false,
416
- "unique": true,
417
- "id": true,
418
- "generated": false
419
- },
420
404
  "name": {
421
405
  "kind": "field",
422
406
  "column": "name",
@@ -435,17 +419,7 @@
435
419
  "unique": false,
436
420
  "id": false,
437
421
  "generated": false,
438
- "length": 30
439
- },
440
- "format": {
441
- "kind": "field",
442
- "column": "format",
443
- "type": "string",
444
- "nullable": true,
445
- "unique": false,
446
- "id": false,
447
- "generated": false,
448
- "length": 120
422
+ "length": 100
449
423
  }
450
424
  },
451
425
  "associations": {
@@ -71,6 +71,15 @@
71
71
  "indexes": {},
72
72
  "unique_constraints": {},
73
73
  "fields": {
74
+ "id": {
75
+ "kind": "field",
76
+ "column": "id",
77
+ "type": "uuid",
78
+ "nullable": false,
79
+ "unique": true,
80
+ "id": true,
81
+ "generated": false
82
+ },
74
83
  "name": {
75
84
  "kind": "field",
76
85
  "column": "name",
@@ -80,15 +89,6 @@
80
89
  "id": false,
81
90
  "generated": false,
82
91
  "length": 255
83
- },
84
- "id": {
85
- "kind": "field",
86
- "column": "id",
87
- "type": "uuid",
88
- "nullable": false,
89
- "unique": true,
90
- "id": true,
91
- "generated": false
92
92
  }
93
93
  },
94
94
  "associations": {
@@ -113,6 +113,15 @@
113
113
  "indexes": {},
114
114
  "unique_constraints": {},
115
115
  "fields": {
116
+ "id": {
117
+ "kind": "field",
118
+ "column": "id",
119
+ "type": "uuid",
120
+ "nullable": false,
121
+ "unique": true,
122
+ "id": true,
123
+ "generated": false
124
+ },
116
125
  "portSource": {
117
126
  "kind": "field",
118
127
  "column": "port_source",
@@ -132,15 +141,6 @@
132
141
  "id": false,
133
142
  "generated": false,
134
143
  "length": 60
135
- },
136
- "id": {
137
- "kind": "field",
138
- "column": "id",
139
- "type": "uuid",
140
- "nullable": false,
141
- "unique": true,
142
- "id": true,
143
- "generated": false
144
144
  }
145
145
  },
146
146
  "associations": {
@@ -1,5 +1,6 @@
1
1
  {
2
- "name": "card",
2
+ "name": "step",
3
+ "description": "A step of a scenario: the job a request runs while the session stands on\nit, and the messages it puts at its nodes' disposal. A session starts on\nthe scenario's entry step and moves to another by naming it — a navigate\nnode —, never by a relation drawn between them.",
3
4
  "properties": [
4
5
  {
5
6
  "name": "title",
@@ -71,8 +72,7 @@
71
72
  "on_delete": null
72
73
  }
73
74
  ]
74
- },
75
- "target": "user"
75
+ }
76
76
  },
77
77
  {
78
78
  "name": "scenario",
@@ -102,36 +102,6 @@
102
102
  ]
103
103
  }
104
104
  },
105
- {
106
- "name": "positionX",
107
- "type": "int",
108
- "nullable": true,
109
- "default": null,
110
- "orm": {
111
- "kind": "field",
112
- "column": "position_x",
113
- "type": "integer",
114
- "nullable": true,
115
- "unique": false,
116
- "id": false,
117
- "generated": false
118
- }
119
- },
120
- {
121
- "name": "positionY",
122
- "type": "int",
123
- "nullable": true,
124
- "default": null,
125
- "orm": {
126
- "kind": "field",
127
- "column": "position_y",
128
- "type": "integer",
129
- "nullable": true,
130
- "unique": false,
131
- "id": false,
132
- "generated": false
133
- }
134
- },
135
105
  {
136
106
  "name": "id",
137
107
  "type": "Symfony\\Component\\Uid\\Uuid",
@@ -143,8 +113,7 @@
143
113
  "unique": true,
144
114
  "id": true,
145
115
  "generated": false
146
- },
147
- "default": null
116
+ }
148
117
  },
149
118
  {
150
119
  "name": "job",
@@ -175,56 +144,16 @@
175
144
  }
176
145
  },
177
146
  {
178
- "name": "cardRelationsSources",
147
+ "name": "stepMessages",
179
148
  "type": "collection",
180
- "description": "CardRelation>",
181
- "target": "card_relation",
149
+ "description": "StepMessage>",
150
+ "target": "step_message",
182
151
  "orm": {
183
152
  "kind": "association",
184
153
  "association_type": "one_to_many",
185
- "target_entity": "App\\Entity\\CardRelation",
186
- "target": "card_relation",
187
- "mapped_by": "cardSource",
188
- "inversed_by": null,
189
- "is_owning_side": false,
190
- "orphan_removal": true,
191
- "cascade": [
192
- "remove"
193
- ],
194
- "fetch": 2
195
- }
196
- },
197
- {
198
- "name": "cardRelationsTarget",
199
- "type": "collection",
200
- "description": "CardRelation>",
201
- "target": "card_relation",
202
- "orm": {
203
- "kind": "association",
204
- "association_type": "one_to_many",
205
- "target_entity": "App\\Entity\\CardRelation",
206
- "target": "card_relation",
207
- "mapped_by": "cardTarget",
208
- "inversed_by": null,
209
- "is_owning_side": false,
210
- "orphan_removal": true,
211
- "cascade": [
212
- "remove"
213
- ],
214
- "fetch": 2
215
- }
216
- },
217
- {
218
- "name": "cardMessages",
219
- "type": "collection",
220
- "description": "CardRelation>",
221
- "target": "card_relation",
222
- "orm": {
223
- "kind": "association",
224
- "association_type": "one_to_many",
225
- "target_entity": "App\\Entity\\CardMessage",
226
- "target": "card_message",
227
- "mapped_by": "card",
154
+ "target_entity": "App\\Entity\\StepMessage",
155
+ "target": "step_message",
156
+ "mapped_by": "step",
228
157
  "inversed_by": null,
229
158
  "is_owning_side": false,
230
159
  "orphan_removal": true,
@@ -251,42 +180,25 @@
251
180
  "cascade": {},
252
181
  "fetch": 2
253
182
  }
254
- },
255
- {
256
- "name": "scope",
257
- "type": "string",
258
- "nullable": true,
259
- "default": null,
260
- "orm": {
261
- "kind": "field",
262
- "column": "scope",
263
- "type": "string",
264
- "nullable": false,
265
- "unique": false,
266
- "id": false,
267
- "generated": false,
268
- "length": 30
269
- }
270
183
  }
271
184
  ],
272
185
  "orm": {
273
- "class": "App\\Entity\\Card",
274
- "table": "card",
186
+ "class": "App\\Entity\\Step",
187
+ "table": "step",
275
188
  "identifier": [
276
189
  "id"
277
190
  ],
278
191
  "indexes": {},
279
192
  "unique_constraints": {},
280
193
  "fields": {
281
- "scope": {
194
+ "id": {
282
195
  "kind": "field",
283
- "column": "scope",
284
- "type": "string",
196
+ "column": "id",
197
+ "type": "uuid",
285
198
  "nullable": false,
286
- "unique": false,
287
- "id": false,
288
- "generated": false,
289
- "length": 30
199
+ "unique": true,
200
+ "id": true,
201
+ "generated": false
290
202
  },
291
203
  "title": {
292
204
  "kind": "field",
@@ -316,33 +228,6 @@
316
228
  "id": false,
317
229
  "generated": false,
318
230
  "length": 255
319
- },
320
- "positionX": {
321
- "kind": "field",
322
- "column": "position_x",
323
- "type": "integer",
324
- "nullable": true,
325
- "unique": false,
326
- "id": false,
327
- "generated": false
328
- },
329
- "positionY": {
330
- "kind": "field",
331
- "column": "position_y",
332
- "type": "integer",
333
- "nullable": true,
334
- "unique": false,
335
- "id": false,
336
- "generated": false
337
- },
338
- "id": {
339
- "kind": "field",
340
- "column": "id",
341
- "type": "uuid",
342
- "nullable": false,
343
- "unique": true,
344
- "id": true,
345
- "generated": false
346
231
  }
347
232
  },
348
233
  "associations": {
@@ -367,40 +252,12 @@
367
252
  }
368
253
  ]
369
254
  },
370
- "cardRelationsSources": {
371
- "kind": "association",
372
- "association_type": "one_to_many",
373
- "target_entity": "App\\Entity\\CardRelation",
374
- "target": "card_relation",
375
- "mapped_by": "cardSource",
376
- "inversed_by": null,
377
- "is_owning_side": false,
378
- "orphan_removal": true,
379
- "cascade": [
380
- "remove"
381
- ],
382
- "fetch": 2
383
- },
384
- "cardRelationsTarget": {
385
- "kind": "association",
386
- "association_type": "one_to_many",
387
- "target_entity": "App\\Entity\\CardRelation",
388
- "target": "card_relation",
389
- "mapped_by": "cardTarget",
390
- "inversed_by": null,
391
- "is_owning_side": false,
392
- "orphan_removal": true,
393
- "cascade": [
394
- "remove"
395
- ],
396
- "fetch": 2
397
- },
398
- "cardMessages": {
255
+ "stepMessages": {
399
256
  "kind": "association",
400
257
  "association_type": "one_to_many",
401
- "target_entity": "App\\Entity\\CardMessage",
402
- "target": "card_message",
403
- "mapped_by": "card",
258
+ "target_entity": "App\\Entity\\StepMessage",
259
+ "target": "step_message",
260
+ "mapped_by": "step",
404
261
  "inversed_by": null,
405
262
  "is_owning_side": false,
406
263
  "orphan_removal": true,