@syrtis-ai/syrtis-javascript-client 9.0.0 → 11.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 (47) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/src/Common/MessageCollection.ts +30 -14
  4. package/src/Common/generatedEntitySchemas.ts +6 -6
  5. package/src/Common/generatedRepositories.ts +6 -6
  6. package/src/Entity/Message.ts +43 -56
  7. package/src/Entity/ScenarioMessage.ts +10 -0
  8. package/src/Entity/{Card.ts → Step.ts} +3 -3
  9. package/src/Entity/StepMessage.ts +10 -0
  10. package/src/Repository/ScenarioMessageRepository.ts +8 -0
  11. package/src/Repository/SessionRepository.ts +1 -6
  12. package/src/Repository/StepMessageRepository.ts +8 -0
  13. package/src/Repository/StepRepository.ts +8 -0
  14. package/src/Vue/Mixin/Entity/{card_relation.vue → scenario_message.vue} +2 -2
  15. package/src/Vue/Mixin/Entity/{card.vue → step.vue} +2 -2
  16. package/src/Vue/Mixin/Entity/{card_message.vue → step_message.vue} +2 -2
  17. package/src/Vue/Mixin/EntityManipulator/ScenarioMessageEntityManipulatorVueMixin.ts +9 -0
  18. package/src/Vue/Mixin/EntityManipulator/{CardEntityManipulatorVueMixin.ts → StepEntityManipulatorVueMixin.ts} +2 -2
  19. package/src/Vue/Mixin/EntityManipulator/StepMessageEntityManipulatorVueMixin.ts +9 -0
  20. package/src/data/entity/chunk.json +9 -9
  21. package/src/data/entity/document.json +9 -33
  22. package/src/data/entity/environment.json +8 -32
  23. package/src/data/entity/job.json +9 -33
  24. package/src/data/entity/message.json +20 -70
  25. package/src/data/entity/message_stamp.json +8 -32
  26. package/src/data/entity/node.json +9 -33
  27. package/src/data/entity/request.json +20 -93
  28. package/src/data/entity/scenario.json +253 -74
  29. package/src/data/entity/{card_relation.json → scenario_message.json} +30 -55
  30. package/src/data/entity/session.json +203 -25
  31. package/src/data/entity/slot.json +190 -20
  32. package/src/data/entity/slot_config.json +9 -9
  33. package/src/data/entity/slot_message.json +11 -37
  34. package/src/data/entity/slot_message_stamp.json +9 -9
  35. package/src/data/entity/slot_relation.json +9 -9
  36. package/src/data/entity/{card.json → step.json} +22 -189
  37. package/src/data/entity/{card_message.json → step_message.json} +13 -14
  38. package/src/data/entity/template.json +9 -33
  39. package/src/data/entity/timezone.json +9 -9
  40. package/src/data/entity/user.json +38 -31
  41. package/src/Entity/CardMessage.ts +0 -10
  42. package/src/Entity/CardRelation.ts +0 -10
  43. package/src/Repository/CardMessageRepository.ts +0 -8
  44. package/src/Repository/CardRelationRepository.ts +0 -8
  45. package/src/Repository/CardRepository.ts +0 -8
  46. package/src/Vue/Mixin/EntityManipulator/CardMessageEntityManipulatorVueMixin.ts +0 -9
  47. package/src/Vue/Mixin/EntityManipulator/CardRelationEntityManipulatorVueMixin.ts +0 -9
@@ -32,17 +32,19 @@
32
32
  }
33
33
  },
34
34
  {
35
- "name": "secureId",
35
+ "name": "origin",
36
36
  "type": "string",
37
+ "nullable": true,
38
+ "default": null,
37
39
  "orm": {
38
40
  "kind": "field",
39
- "column": "secure_id",
41
+ "column": "origin",
40
42
  "type": "string",
41
43
  "nullable": false,
42
44
  "unique": false,
43
45
  "id": false,
44
46
  "generated": false,
45
- "length": 255
47
+ "length": 30
46
48
  }
47
49
  },
48
50
  {
@@ -124,7 +126,7 @@
124
126
  "kind": "field",
125
127
  "column": "title",
126
128
  "type": "string",
127
- "nullable": false,
129
+ "nullable": true,
128
130
  "unique": false,
129
131
  "id": false,
130
132
  "generated": false,
@@ -202,6 +204,110 @@
202
204
  }
203
205
  ]
204
206
  }
207
+ },
208
+ {
209
+ "name": "token",
210
+ "type": "relation",
211
+ "nullable": true,
212
+ "default": null,
213
+ "target": "token",
214
+ "orm": {
215
+ "kind": "association",
216
+ "association_type": "many_to_one",
217
+ "target_entity": "App\\Entity\\Token",
218
+ "target": "token",
219
+ "mapped_by": null,
220
+ "inversed_by": null,
221
+ "is_owning_side": true,
222
+ "orphan_removal": false,
223
+ "cascade": {},
224
+ "fetch": 2,
225
+ "join_columns": [
226
+ {
227
+ "name": "token_id",
228
+ "referenced_column_name": "id",
229
+ "nullable": true,
230
+ "unique": false,
231
+ "on_delete": "SET NULL"
232
+ }
233
+ ]
234
+ }
235
+ },
236
+ {
237
+ "name": "ip",
238
+ "type": "string",
239
+ "nullable": true,
240
+ "default": null,
241
+ "orm": {
242
+ "kind": "field",
243
+ "column": "ip",
244
+ "type": "string",
245
+ "nullable": true,
246
+ "unique": false,
247
+ "id": false,
248
+ "generated": false,
249
+ "length": 45
250
+ }
251
+ },
252
+ {
253
+ "name": "userAgent",
254
+ "type": "string",
255
+ "nullable": true,
256
+ "default": null,
257
+ "orm": {
258
+ "kind": "field",
259
+ "column": "user_agent",
260
+ "type": "string",
261
+ "nullable": true,
262
+ "unique": false,
263
+ "id": false,
264
+ "generated": false,
265
+ "length": 512
266
+ }
267
+ },
268
+ {
269
+ "name": "locale",
270
+ "type": "string",
271
+ "nullable": true,
272
+ "default": null,
273
+ "orm": {
274
+ "kind": "field",
275
+ "column": "locale",
276
+ "type": "string",
277
+ "nullable": true,
278
+ "unique": false,
279
+ "id": false,
280
+ "generated": false,
281
+ "length": 35
282
+ }
283
+ },
284
+ {
285
+ "name": "country",
286
+ "type": "relation",
287
+ "nullable": true,
288
+ "default": null,
289
+ "target": "country",
290
+ "orm": {
291
+ "kind": "association",
292
+ "association_type": "many_to_one",
293
+ "target_entity": "Wexample\\SymfonyGeo\\Entity\\Country",
294
+ "target": "country",
295
+ "mapped_by": null,
296
+ "inversed_by": null,
297
+ "is_owning_side": true,
298
+ "orphan_removal": false,
299
+ "cascade": {},
300
+ "fetch": 2,
301
+ "join_columns": [
302
+ {
303
+ "name": "country_id",
304
+ "referenced_column_name": "id",
305
+ "nullable": true,
306
+ "unique": false,
307
+ "on_delete": "SET NULL"
308
+ }
309
+ ]
310
+ }
205
311
  }
206
312
  ],
207
313
  "orm": {
@@ -213,53 +319,73 @@
213
319
  "indexes": {},
214
320
  "unique_constraints": {},
215
321
  "fields": {
216
- "dateCreated": {
322
+ "id": {
217
323
  "kind": "field",
218
- "column": "date_created",
219
- "type": "datetime",
324
+ "column": "id",
325
+ "type": "uuid",
220
326
  "nullable": false,
327
+ "unique": true,
328
+ "id": true,
329
+ "generated": false
330
+ },
331
+ "ip": {
332
+ "kind": "field",
333
+ "column": "ip",
334
+ "type": "string",
335
+ "nullable": true,
221
336
  "unique": false,
222
337
  "id": false,
223
- "generated": false
338
+ "generated": false,
339
+ "length": 45
224
340
  },
225
- "secureId": {
341
+ "userAgent": {
226
342
  "kind": "field",
227
- "column": "secure_id",
343
+ "column": "user_agent",
228
344
  "type": "string",
229
- "nullable": false,
345
+ "nullable": true,
230
346
  "unique": false,
231
347
  "id": false,
232
348
  "generated": false,
233
- "length": 255
349
+ "length": 512
234
350
  },
235
- "status": {
351
+ "locale": {
236
352
  "kind": "field",
237
- "column": "status",
353
+ "column": "locale",
238
354
  "type": "string",
239
- "nullable": false,
355
+ "nullable": true,
240
356
  "unique": false,
241
357
  "id": false,
242
358
  "generated": false,
243
- "length": 30
359
+ "length": 35
244
360
  },
245
- "title": {
361
+ "dateCreated": {
246
362
  "kind": "field",
247
- "column": "title",
363
+ "column": "date_created",
364
+ "type": "datetime",
365
+ "nullable": false,
366
+ "unique": false,
367
+ "id": false,
368
+ "generated": false
369
+ },
370
+ "origin": {
371
+ "kind": "field",
372
+ "column": "origin",
248
373
  "type": "string",
249
374
  "nullable": false,
250
375
  "unique": false,
251
376
  "id": false,
252
377
  "generated": false,
253
- "length": 255
378
+ "length": 30
254
379
  },
255
- "id": {
380
+ "status": {
256
381
  "kind": "field",
257
- "column": "id",
258
- "type": "uuid",
382
+ "column": "status",
383
+ "type": "string",
259
384
  "nullable": false,
260
- "unique": true,
261
- "id": true,
262
- "generated": false
385
+ "unique": false,
386
+ "id": false,
387
+ "generated": false,
388
+ "length": 30
263
389
  },
264
390
  "dateLastAccess": {
265
391
  "kind": "field",
@@ -269,6 +395,16 @@
269
395
  "unique": false,
270
396
  "id": false,
271
397
  "generated": false
398
+ },
399
+ "title": {
400
+ "kind": "field",
401
+ "column": "title",
402
+ "type": "string",
403
+ "nullable": true,
404
+ "unique": false,
405
+ "id": false,
406
+ "generated": false,
407
+ "length": 255
272
408
  }
273
409
  },
274
410
  "associations": {
@@ -317,6 +453,48 @@
317
453
  }
318
454
  ]
319
455
  },
456
+ "token": {
457
+ "kind": "association",
458
+ "association_type": "many_to_one",
459
+ "target_entity": "App\\Entity\\Token",
460
+ "target": "token",
461
+ "mapped_by": null,
462
+ "inversed_by": null,
463
+ "is_owning_side": true,
464
+ "orphan_removal": false,
465
+ "cascade": {},
466
+ "fetch": 2,
467
+ "join_columns": [
468
+ {
469
+ "name": "token_id",
470
+ "referenced_column_name": "id",
471
+ "nullable": true,
472
+ "unique": false,
473
+ "on_delete": "SET NULL"
474
+ }
475
+ ]
476
+ },
477
+ "country": {
478
+ "kind": "association",
479
+ "association_type": "many_to_one",
480
+ "target_entity": "Wexample\\SymfonyGeo\\Entity\\Country",
481
+ "target": "country",
482
+ "mapped_by": null,
483
+ "inversed_by": null,
484
+ "is_owning_side": true,
485
+ "orphan_removal": false,
486
+ "cascade": {},
487
+ "fetch": 2,
488
+ "join_columns": [
489
+ {
490
+ "name": "country_id",
491
+ "referenced_column_name": "id",
492
+ "nullable": true,
493
+ "unique": false,
494
+ "on_delete": "SET NULL"
495
+ }
496
+ ]
497
+ },
320
498
  "scenario": {
321
499
  "kind": "association",
322
500
  "association_type": "many_to_one",
@@ -34,17 +34,18 @@
34
34
  }
35
35
  },
36
36
  {
37
- "name": "secureId",
37
+ "name": "description",
38
38
  "type": "string",
39
+ "nullable": true,
40
+ "default": null,
39
41
  "orm": {
40
42
  "kind": "field",
41
- "column": "secure_id",
42
- "type": "string",
43
- "nullable": false,
43
+ "column": "description",
44
+ "type": "text",
45
+ "nullable": true,
44
46
  "unique": false,
45
47
  "id": false,
46
- "generated": false,
47
- "length": 255
48
+ "generated": false
48
49
  }
49
50
  },
50
51
  {
@@ -147,6 +148,22 @@
147
148
  "generated": false
148
149
  }
149
150
  },
151
+ {
152
+ "name": "color",
153
+ "type": "string",
154
+ "nullable": true,
155
+ "default": null,
156
+ "orm": {
157
+ "kind": "field",
158
+ "column": "color",
159
+ "type": "string",
160
+ "nullable": true,
161
+ "unique": false,
162
+ "id": false,
163
+ "generated": false,
164
+ "length": 7
165
+ }
166
+ },
150
167
  {
151
168
  "name": "slotRelationsSources",
152
169
  "type": "collection",
@@ -230,6 +247,90 @@
230
247
  ],
231
248
  "fetch": 2
232
249
  }
250
+ },
251
+ {
252
+ "name": "slotMarkings",
253
+ "type": "collection",
254
+ "description": "SlotMarking>",
255
+ "target": "slot_marking",
256
+ "orm": {
257
+ "kind": "association",
258
+ "association_type": "one_to_many",
259
+ "target_entity": "App\\Entity\\SlotMarking",
260
+ "target": "slot_marking",
261
+ "mapped_by": "slot",
262
+ "inversed_by": null,
263
+ "is_owning_side": false,
264
+ "orphan_removal": true,
265
+ "cascade": [
266
+ "remove",
267
+ "persist"
268
+ ],
269
+ "fetch": 2
270
+ }
271
+ },
272
+ {
273
+ "name": "slotInputs",
274
+ "type": "collection",
275
+ "description": "SlotInput>",
276
+ "target": "slot_input",
277
+ "orm": {
278
+ "kind": "association",
279
+ "association_type": "one_to_many",
280
+ "target_entity": "App\\Entity\\SlotInput",
281
+ "target": "slot_input",
282
+ "mapped_by": "slot",
283
+ "inversed_by": null,
284
+ "is_owning_side": false,
285
+ "orphan_removal": true,
286
+ "cascade": [
287
+ "remove",
288
+ "persist"
289
+ ],
290
+ "fetch": 2
291
+ }
292
+ },
293
+ {
294
+ "name": "slotOutputMessages",
295
+ "type": "collection",
296
+ "description": "SlotOutputMessage>",
297
+ "target": "slot_output_message",
298
+ "orm": {
299
+ "kind": "association",
300
+ "association_type": "one_to_many",
301
+ "target_entity": "App\\Entity\\SlotOutputMessage",
302
+ "target": "slot_output_message",
303
+ "mapped_by": "slot",
304
+ "inversed_by": null,
305
+ "is_owning_side": false,
306
+ "orphan_removal": true,
307
+ "cascade": [
308
+ "remove",
309
+ "persist"
310
+ ],
311
+ "fetch": 2
312
+ }
313
+ },
314
+ {
315
+ "name": "slotFilters",
316
+ "type": "collection",
317
+ "description": "SlotFilter>",
318
+ "target": "slot_filter",
319
+ "orm": {
320
+ "kind": "association",
321
+ "association_type": "one_to_many",
322
+ "target_entity": "App\\Entity\\SlotFilter",
323
+ "target": "slot_filter",
324
+ "mapped_by": "slot",
325
+ "inversed_by": null,
326
+ "is_owning_side": false,
327
+ "orphan_removal": true,
328
+ "cascade": [
329
+ "remove",
330
+ "persist"
331
+ ],
332
+ "fetch": 2
333
+ }
233
334
  }
234
335
  ],
235
336
  "orm": {
@@ -241,6 +342,15 @@
241
342
  "indexes": {},
242
343
  "unique_constraints": {},
243
344
  "fields": {
345
+ "id": {
346
+ "kind": "field",
347
+ "column": "id",
348
+ "type": "uuid",
349
+ "nullable": false,
350
+ "unique": true,
351
+ "id": true,
352
+ "generated": false
353
+ },
244
354
  "positionX": {
245
355
  "kind": "field",
246
356
  "column": "position_x",
@@ -259,6 +369,16 @@
259
369
  "id": false,
260
370
  "generated": false
261
371
  },
372
+ "color": {
373
+ "kind": "field",
374
+ "column": "color",
375
+ "type": "string",
376
+ "nullable": true,
377
+ "unique": false,
378
+ "id": false,
379
+ "generated": false,
380
+ "length": 7
381
+ },
262
382
  "type": {
263
383
  "kind": "field",
264
384
  "column": "type",
@@ -279,23 +399,13 @@
279
399
  "generated": false,
280
400
  "length": 255
281
401
  },
282
- "secureId": {
402
+ "description": {
283
403
  "kind": "field",
284
- "column": "secure_id",
285
- "type": "string",
286
- "nullable": false,
404
+ "column": "description",
405
+ "type": "text",
406
+ "nullable": true,
287
407
  "unique": false,
288
408
  "id": false,
289
- "generated": false,
290
- "length": 255
291
- },
292
- "id": {
293
- "kind": "field",
294
- "column": "id",
295
- "type": "uuid",
296
- "nullable": false,
297
- "unique": true,
298
- "id": true,
299
409
  "generated": false
300
410
  }
301
411
  },
@@ -401,6 +511,66 @@
401
511
  "persist"
402
512
  ],
403
513
  "fetch": 2
514
+ },
515
+ "slotMarkings": {
516
+ "kind": "association",
517
+ "association_type": "one_to_many",
518
+ "target_entity": "App\\Entity\\SlotMarking",
519
+ "target": "slot_marking",
520
+ "mapped_by": "slot",
521
+ "inversed_by": null,
522
+ "is_owning_side": false,
523
+ "orphan_removal": true,
524
+ "cascade": [
525
+ "remove",
526
+ "persist"
527
+ ],
528
+ "fetch": 2
529
+ },
530
+ "slotInputs": {
531
+ "kind": "association",
532
+ "association_type": "one_to_many",
533
+ "target_entity": "App\\Entity\\SlotInput",
534
+ "target": "slot_input",
535
+ "mapped_by": "slot",
536
+ "inversed_by": null,
537
+ "is_owning_side": false,
538
+ "orphan_removal": true,
539
+ "cascade": [
540
+ "remove",
541
+ "persist"
542
+ ],
543
+ "fetch": 2
544
+ },
545
+ "slotOutputMessages": {
546
+ "kind": "association",
547
+ "association_type": "one_to_many",
548
+ "target_entity": "App\\Entity\\SlotOutputMessage",
549
+ "target": "slot_output_message",
550
+ "mapped_by": "slot",
551
+ "inversed_by": null,
552
+ "is_owning_side": false,
553
+ "orphan_removal": true,
554
+ "cascade": [
555
+ "remove",
556
+ "persist"
557
+ ],
558
+ "fetch": 2
559
+ },
560
+ "slotFilters": {
561
+ "kind": "association",
562
+ "association_type": "one_to_many",
563
+ "target_entity": "App\\Entity\\SlotFilter",
564
+ "target": "slot_filter",
565
+ "mapped_by": "slot",
566
+ "inversed_by": null,
567
+ "is_owning_side": false,
568
+ "orphan_removal": true,
569
+ "cascade": [
570
+ "remove",
571
+ "persist"
572
+ ],
573
+ "fetch": 2
404
574
  }
405
575
  }
406
576
  }
@@ -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": {