@syrtis-ai/syrtis-javascript-client 7.0.1 → 8.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 +6 -6
  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
@@ -2,12 +2,59 @@
2
2
  "name": "user",
3
3
  "properties": [
4
4
  {
5
- "name": "username",
6
- "type": "mixed",
5
+ "name": "secureId",
6
+ "type": "string",
7
+ "orm": {
8
+ "kind": "field",
9
+ "column": "secure_id",
10
+ "type": "string",
11
+ "nullable": false,
12
+ "unique": false,
13
+ "id": false,
14
+ "generated": false,
15
+ "length": 255
16
+ }
17
+ },
18
+ {
19
+ "name": "firstName",
20
+ "type": "string",
21
+ "nullable": true,
7
22
  "default": null,
8
23
  "orm": {
9
24
  "kind": "field",
10
- "column": "username",
25
+ "column": "first_name",
26
+ "type": "string",
27
+ "nullable": true,
28
+ "unique": false,
29
+ "id": false,
30
+ "generated": false,
31
+ "length": 100
32
+ }
33
+ },
34
+ {
35
+ "name": "lastName",
36
+ "type": "string",
37
+ "nullable": true,
38
+ "default": null,
39
+ "orm": {
40
+ "kind": "field",
41
+ "column": "last_name",
42
+ "type": "string",
43
+ "nullable": true,
44
+ "unique": false,
45
+ "id": false,
46
+ "generated": false,
47
+ "length": 100
48
+ }
49
+ },
50
+ {
51
+ "name": "email",
52
+ "type": "string",
53
+ "nullable": true,
54
+ "default": null,
55
+ "orm": {
56
+ "kind": "field",
57
+ "column": "email",
11
58
  "type": "string",
12
59
  "nullable": false,
13
60
  "unique": true,
@@ -17,42 +64,72 @@
17
64
  }
18
65
  },
19
66
  {
20
- "name": "id",
21
- "type": "mixed",
67
+ "name": "username",
68
+ "type": "string",
69
+ "nullable": true,
22
70
  "default": null,
23
71
  "orm": {
24
72
  "kind": "field",
25
- "column": "id",
26
- "type": "integer",
73
+ "column": "username",
74
+ "type": "string",
75
+ "nullable": true,
76
+ "unique": true,
77
+ "id": false,
78
+ "generated": false,
79
+ "length": 30
80
+ }
81
+ },
82
+ {
83
+ "name": "password",
84
+ "type": "string",
85
+ "nullable": true,
86
+ "default": null,
87
+ "orm": {
88
+ "kind": "field",
89
+ "column": "password",
90
+ "type": "string",
91
+ "nullable": true,
92
+ "unique": false,
93
+ "id": false,
94
+ "generated": false
95
+ }
96
+ },
97
+ {
98
+ "name": "roles",
99
+ "type": "array",
100
+ "default": {},
101
+ "orm": {
102
+ "kind": "field",
103
+ "column": "roles",
104
+ "type": "json",
27
105
  "nullable": false,
28
106
  "unique": false,
29
- "id": true,
107
+ "id": false,
30
108
  "generated": false
31
109
  }
32
110
  },
33
111
  {
34
- "name": "secureId",
35
- "type": "string",
112
+ "name": "enabled",
113
+ "type": "bool",
114
+ "default": false,
36
115
  "orm": {
37
116
  "kind": "field",
38
- "column": "secure_id",
39
- "type": "string",
117
+ "column": "enabled",
118
+ "type": "boolean",
40
119
  "nullable": false,
41
120
  "unique": false,
42
121
  "id": false,
43
- "generated": false,
44
- "length": 255
122
+ "generated": false
45
123
  }
46
124
  },
47
125
  {
48
- "name": "dateCreated",
49
- "type": "DateTimeInterface",
50
- "nullable": true,
51
- "default": null,
126
+ "name": "locked",
127
+ "type": "bool",
128
+ "default": false,
52
129
  "orm": {
53
130
  "kind": "field",
54
- "column": "date_created",
55
- "type": "datetime",
131
+ "column": "locked",
132
+ "type": "boolean",
56
133
  "nullable": false,
57
134
  "unique": false,
58
135
  "id": false,
@@ -61,95 +138,153 @@
61
138
  },
62
139
  {
63
140
  "name": "dateLastLogin",
64
- "type": "DateTimeInterface",
141
+ "type": "relation",
65
142
  "nullable": true,
66
143
  "default": null,
144
+ "target": "date_time_immutable",
67
145
  "orm": {
68
146
  "kind": "field",
69
147
  "column": "date_last_login",
70
- "type": "datetime",
71
- "nullable": false,
148
+ "type": "datetime_immutable",
149
+ "nullable": true,
72
150
  "unique": false,
73
151
  "id": false,
74
152
  "generated": false
75
153
  }
76
154
  },
77
155
  {
78
- "name": "email",
79
- "type": "string",
80
- "nullable": true,
81
- "default": null,
156
+ "name": "passwordChangeRequired",
157
+ "type": "bool",
158
+ "default": false,
82
159
  "orm": {
83
160
  "kind": "field",
84
- "column": "email",
85
- "type": "string",
161
+ "column": "password_change_required",
162
+ "type": "boolean",
86
163
  "nullable": false,
87
164
  "unique": false,
88
165
  "id": false,
89
166
  "generated": false,
90
- "length": 255
167
+ "options": {
168
+ "default": false
169
+ }
91
170
  }
92
171
  },
93
172
  {
94
- "name": "password",
173
+ "name": "emailTwoFactorEnabled",
174
+ "type": "bool",
175
+ "default": true,
176
+ "orm": {
177
+ "kind": "field",
178
+ "column": "email_two_factor_enabled",
179
+ "type": "boolean",
180
+ "nullable": false,
181
+ "unique": false,
182
+ "id": false,
183
+ "generated": false,
184
+ "options": {
185
+ "default": true
186
+ }
187
+ }
188
+ },
189
+ {
190
+ "name": "trustedTokenVersion",
191
+ "type": "int",
192
+ "default": 0,
193
+ "orm": {
194
+ "kind": "field",
195
+ "column": "trusted_token_version",
196
+ "type": "integer",
197
+ "nullable": false,
198
+ "unique": false,
199
+ "id": false,
200
+ "generated": false,
201
+ "options": {
202
+ "default": 0
203
+ }
204
+ }
205
+ },
206
+ {
207
+ "name": "totpSecretEncrypted",
95
208
  "type": "string",
96
209
  "nullable": true,
97
210
  "default": null,
98
211
  "orm": {
99
212
  "kind": "field",
100
- "column": "password",
101
- "type": "string",
102
- "nullable": false,
213
+ "column": "totp_secret_encrypted",
214
+ "type": "text",
215
+ "nullable": true,
103
216
  "unique": false,
104
217
  "id": false,
105
218
  "generated": false
106
219
  }
107
220
  },
108
221
  {
109
- "name": "firstName",
222
+ "name": "totpSecret",
110
223
  "type": "string",
111
224
  "nullable": true,
112
- "default": null,
225
+ "default": null
226
+ },
227
+ {
228
+ "name": "backupCodes",
229
+ "type": "array",
230
+ "default": {},
113
231
  "orm": {
114
232
  "kind": "field",
115
- "column": "first_name",
116
- "type": "string",
117
- "nullable": true,
233
+ "column": "backup_codes",
234
+ "type": "json",
235
+ "nullable": false,
118
236
  "unique": false,
119
237
  "id": false,
120
238
  "generated": false,
121
- "length": 100
239
+ "options": {
240
+ "default": "[]"
241
+ }
122
242
  }
123
243
  },
124
244
  {
125
- "name": "lastName",
245
+ "name": "dateCreated",
246
+ "type": "DateTimeInterface",
247
+ "nullable": true,
248
+ "default": null,
249
+ "orm": {
250
+ "kind": "field",
251
+ "column": "date_created",
252
+ "type": "datetime",
253
+ "nullable": false,
254
+ "unique": false,
255
+ "id": false,
256
+ "generated": false
257
+ }
258
+ },
259
+ {
260
+ "name": "locale",
126
261
  "type": "string",
127
262
  "nullable": true,
128
263
  "default": null,
129
264
  "orm": {
130
265
  "kind": "field",
131
- "column": "last_name",
266
+ "column": "locale",
132
267
  "type": "string",
133
268
  "nullable": true,
134
269
  "unique": false,
135
270
  "id": false,
136
271
  "generated": false,
137
- "length": 100
272
+ "length": 12
138
273
  }
139
274
  },
140
275
  {
141
- "name": "roles",
142
- "type": "array",
143
- "default": {},
276
+ "name": "id",
277
+ "type": "Symfony\\Component\\Uid\\Uuid",
144
278
  "orm": {
145
279
  "kind": "field",
146
- "column": "roles",
147
- "type": "json",
280
+ "column": "id",
281
+ "type": "uuid",
148
282
  "nullable": false,
149
- "unique": false,
150
- "id": false,
283
+ "unique": true,
284
+ "id": true,
151
285
  "generated": false
152
- }
286
+ },
287
+ "default": null
153
288
  }
154
289
  ],
155
290
  "orm": {
@@ -159,17 +294,41 @@
159
294
  "id"
160
295
  ],
161
296
  "indexes": {},
162
- "unique_constraints": {
163
- "UNIQ_IDENTIFIER_EMAIL": {
164
- "fields": [
165
- "email"
166
- ]
167
- }
168
- },
297
+ "unique_constraints": {},
169
298
  "fields": {
170
- "username": {
299
+ "secureId": {
171
300
  "kind": "field",
172
- "column": "username",
301
+ "column": "secure_id",
302
+ "type": "string",
303
+ "nullable": false,
304
+ "unique": false,
305
+ "id": false,
306
+ "generated": false,
307
+ "length": 255
308
+ },
309
+ "firstName": {
310
+ "kind": "field",
311
+ "column": "first_name",
312
+ "type": "string",
313
+ "nullable": true,
314
+ "unique": false,
315
+ "id": false,
316
+ "generated": false,
317
+ "length": 100
318
+ },
319
+ "lastName": {
320
+ "kind": "field",
321
+ "column": "last_name",
322
+ "type": "string",
323
+ "nullable": true,
324
+ "unique": false,
325
+ "id": false,
326
+ "generated": false,
327
+ "length": 100
328
+ },
329
+ "email": {
330
+ "kind": "field",
331
+ "column": "email",
173
332
  "type": "string",
174
333
  "nullable": false,
175
334
  "unique": true,
@@ -177,29 +336,47 @@
177
336
  "generated": false,
178
337
  "length": 180
179
338
  },
180
- "id": {
339
+ "username": {
181
340
  "kind": "field",
182
- "column": "id",
183
- "type": "integer",
341
+ "column": "username",
342
+ "type": "string",
343
+ "nullable": true,
344
+ "unique": true,
345
+ "id": false,
346
+ "generated": false,
347
+ "length": 30
348
+ },
349
+ "password": {
350
+ "kind": "field",
351
+ "column": "password",
352
+ "type": "string",
353
+ "nullable": true,
354
+ "unique": false,
355
+ "id": false,
356
+ "generated": false
357
+ },
358
+ "roles": {
359
+ "kind": "field",
360
+ "column": "roles",
361
+ "type": "json",
184
362
  "nullable": false,
185
363
  "unique": false,
186
- "id": true,
364
+ "id": false,
187
365
  "generated": false
188
366
  },
189
- "secureId": {
367
+ "enabled": {
190
368
  "kind": "field",
191
- "column": "secure_id",
192
- "type": "string",
369
+ "column": "enabled",
370
+ "type": "boolean",
193
371
  "nullable": false,
194
372
  "unique": false,
195
373
  "id": false,
196
- "generated": false,
197
- "length": 255
374
+ "generated": false
198
375
  },
199
- "dateCreated": {
376
+ "locked": {
200
377
  "kind": "field",
201
- "column": "date_created",
202
- "type": "datetime",
378
+ "column": "locked",
379
+ "type": "boolean",
203
380
  "nullable": false,
204
381
  "unique": false,
205
382
  "id": false,
@@ -208,58 +385,95 @@
208
385
  "dateLastLogin": {
209
386
  "kind": "field",
210
387
  "column": "date_last_login",
211
- "type": "datetime",
212
- "nullable": false,
388
+ "type": "datetime_immutable",
389
+ "nullable": true,
213
390
  "unique": false,
214
391
  "id": false,
215
392
  "generated": false
216
393
  },
217
- "email": {
394
+ "passwordChangeRequired": {
218
395
  "kind": "field",
219
- "column": "email",
220
- "type": "string",
396
+ "column": "password_change_required",
397
+ "type": "boolean",
221
398
  "nullable": false,
222
399
  "unique": false,
223
400
  "id": false,
224
401
  "generated": false,
225
- "length": 255
402
+ "options": {
403
+ "default": false
404
+ }
226
405
  },
227
- "password": {
406
+ "emailTwoFactorEnabled": {
228
407
  "kind": "field",
229
- "column": "password",
230
- "type": "string",
408
+ "column": "email_two_factor_enabled",
409
+ "type": "boolean",
231
410
  "nullable": false,
232
411
  "unique": false,
233
412
  "id": false,
234
- "generated": false
413
+ "generated": false,
414
+ "options": {
415
+ "default": true
416
+ }
235
417
  },
236
- "firstName": {
418
+ "trustedTokenVersion": {
237
419
  "kind": "field",
238
- "column": "first_name",
239
- "type": "string",
240
- "nullable": true,
420
+ "column": "trusted_token_version",
421
+ "type": "integer",
422
+ "nullable": false,
241
423
  "unique": false,
242
424
  "id": false,
243
425
  "generated": false,
244
- "length": 100
426
+ "options": {
427
+ "default": 0
428
+ }
245
429
  },
246
- "lastName": {
430
+ "totpSecretEncrypted": {
247
431
  "kind": "field",
248
- "column": "last_name",
249
- "type": "string",
432
+ "column": "totp_secret_encrypted",
433
+ "type": "text",
250
434
  "nullable": true,
251
435
  "unique": false,
252
436
  "id": false,
253
- "generated": false,
254
- "length": 100
437
+ "generated": false
255
438
  },
256
- "roles": {
439
+ "backupCodes": {
257
440
  "kind": "field",
258
- "column": "roles",
441
+ "column": "backup_codes",
259
442
  "type": "json",
260
443
  "nullable": false,
261
444
  "unique": false,
262
445
  "id": false,
446
+ "generated": false,
447
+ "options": {
448
+ "default": "[]"
449
+ }
450
+ },
451
+ "dateCreated": {
452
+ "kind": "field",
453
+ "column": "date_created",
454
+ "type": "datetime",
455
+ "nullable": false,
456
+ "unique": false,
457
+ "id": false,
458
+ "generated": false
459
+ },
460
+ "locale": {
461
+ "kind": "field",
462
+ "column": "locale",
463
+ "type": "string",
464
+ "nullable": true,
465
+ "unique": false,
466
+ "id": false,
467
+ "generated": false,
468
+ "length": 12
469
+ },
470
+ "id": {
471
+ "kind": "field",
472
+ "column": "id",
473
+ "type": "uuid",
474
+ "nullable": false,
475
+ "unique": true,
476
+ "id": true,
263
477
  "generated": false
264
478
  }
265
479
  },