@syrtis-ai/syrtis-javascript-client 8.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 (47) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/src/Common/SyrtisClient.ts +1 -1
  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 -9
  22. package/src/data/entity/environment.json +9 -9
  23. package/src/data/entity/job.json +9 -9
  24. package/src/data/entity/message.json +20 -46
  25. package/src/data/entity/message_stamp.json +9 -9
  26. package/src/data/entity/node.json +9 -9
  27. package/src/data/entity/request.json +20 -20
  28. package/src/data/entity/scenario.json +241 -67
  29. package/src/data/entity/{card_relation.json → scenario_message.json} +30 -55
  30. package/src/data/entity/session.json +221 -19
  31. package/src/data/entity/slot.json +167 -9
  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 -165
  37. package/src/data/entity/{card_message.json → step_message.json} +13 -14
  38. package/src/data/entity/template.json +9 -9
  39. package/src/data/entity/timezone.json +9 -9
  40. package/src/data/entity/user.json +41 -10
  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
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "card_message",
2
+ "name": "step_message",
3
3
  "properties": [
4
4
  {
5
5
  "name": "id",
@@ -12,20 +12,19 @@
12
12
  "unique": true,
13
13
  "id": true,
14
14
  "generated": false
15
- },
16
- "default": null
15
+ }
17
16
  },
18
17
  {
19
- "name": "card",
18
+ "name": "step",
20
19
  "type": "relation",
21
20
  "nullable": true,
22
21
  "default": null,
23
- "target": "card",
22
+ "target": "step",
24
23
  "orm": {
25
24
  "kind": "association",
26
25
  "association_type": "many_to_one",
27
- "target_entity": "App\\Entity\\Card",
28
- "target": "card",
26
+ "target_entity": "App\\Entity\\Step",
27
+ "target": "step",
29
28
  "mapped_by": null,
30
29
  "inversed_by": null,
31
30
  "is_owning_side": true,
@@ -34,7 +33,7 @@
34
33
  "fetch": 2,
35
34
  "join_columns": [
36
35
  {
37
- "name": "card_id",
36
+ "name": "step_id",
38
37
  "referenced_column_name": "id",
39
38
  "nullable": false,
40
39
  "unique": false,
@@ -73,8 +72,8 @@
73
72
  }
74
73
  ],
75
74
  "orm": {
76
- "class": "App\\Entity\\CardMessage",
77
- "table": "card_message",
75
+ "class": "App\\Entity\\StepMessage",
76
+ "table": "step_message",
78
77
  "identifier": [
79
78
  "id"
80
79
  ],
@@ -92,11 +91,11 @@
92
91
  }
93
92
  },
94
93
  "associations": {
95
- "card": {
94
+ "step": {
96
95
  "kind": "association",
97
96
  "association_type": "many_to_one",
98
- "target_entity": "App\\Entity\\Card",
99
- "target": "card",
97
+ "target_entity": "App\\Entity\\Step",
98
+ "target": "step",
100
99
  "mapped_by": null,
101
100
  "inversed_by": null,
102
101
  "is_owning_side": true,
@@ -105,7 +104,7 @@
105
104
  "fetch": 2,
106
105
  "join_columns": [
107
106
  {
108
- "name": "card_id",
107
+ "name": "step_id",
109
108
  "referenced_column_name": "id",
110
109
  "nullable": false,
111
110
  "unique": false,
@@ -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
  "dateCreated": {
117
126
  "kind": "field",
118
127
  "column": "date_created",
@@ -150,15 +159,6 @@
150
159
  "id": false,
151
160
  "generated": false,
152
161
  "length": 255
153
- },
154
- "id": {
155
- "kind": "field",
156
- "column": "id",
157
- "type": "uuid",
158
- "nullable": false,
159
- "unique": true,
160
- "id": true,
161
- "generated": false
162
162
  }
163
163
  },
164
164
  "associations": {
@@ -41,6 +41,15 @@
41
41
  "indexes": {},
42
42
  "unique_constraints": {},
43
43
  "fields": {
44
+ "id": {
45
+ "kind": "field",
46
+ "column": "id",
47
+ "type": "uuid",
48
+ "nullable": false,
49
+ "unique": true,
50
+ "id": true,
51
+ "generated": false
52
+ },
44
53
  "name": {
45
54
  "kind": "field",
46
55
  "column": "name",
@@ -50,15 +59,6 @@
50
59
  "id": false,
51
60
  "generated": false,
52
61
  "length": 255
53
- },
54
- "id": {
55
- "kind": "field",
56
- "column": "id",
57
- "type": "uuid",
58
- "nullable": false,
59
- "unique": true,
60
- "id": true,
61
- "generated": false
62
62
  }
63
63
  },
64
64
  "associations": {}
@@ -285,6 +285,24 @@
285
285
  "generated": false
286
286
  },
287
287
  "default": null
288
+ },
289
+ {
290
+ "name": "memberships",
291
+ "type": "collection",
292
+ "description": "ProjectMembership>",
293
+ "target": "project_membership",
294
+ "orm": {
295
+ "kind": "association",
296
+ "association_type": "one_to_many",
297
+ "target_entity": "App\\Entity\\ProjectMembership",
298
+ "target": "project_membership",
299
+ "mapped_by": "user",
300
+ "inversed_by": null,
301
+ "is_owning_side": false,
302
+ "orphan_removal": false,
303
+ "cascade": {},
304
+ "fetch": 2
305
+ }
288
306
  }
289
307
  ],
290
308
  "orm": {
@@ -296,6 +314,15 @@
296
314
  "indexes": {},
297
315
  "unique_constraints": {},
298
316
  "fields": {
317
+ "id": {
318
+ "kind": "field",
319
+ "column": "id",
320
+ "type": "uuid",
321
+ "nullable": false,
322
+ "unique": true,
323
+ "id": true,
324
+ "generated": false
325
+ },
299
326
  "secureId": {
300
327
  "kind": "field",
301
328
  "column": "secure_id",
@@ -466,17 +493,21 @@
466
493
  "id": false,
467
494
  "generated": false,
468
495
  "length": 12
469
- },
470
- "id": {
471
- "kind": "field",
472
- "column": "id",
473
- "type": "uuid",
474
- "nullable": false,
475
- "unique": true,
476
- "id": true,
477
- "generated": false
478
496
  }
479
497
  },
480
- "associations": {}
498
+ "associations": {
499
+ "memberships": {
500
+ "kind": "association",
501
+ "association_type": "one_to_many",
502
+ "target_entity": "App\\Entity\\ProjectMembership",
503
+ "target": "project_membership",
504
+ "mapped_by": "user",
505
+ "inversed_by": null,
506
+ "is_owning_side": false,
507
+ "orphan_removal": false,
508
+ "cascade": {},
509
+ "fetch": 2
510
+ }
511
+ }
481
512
  }
482
513
  }
@@ -1,10 +0,0 @@
1
- import AbstractApiEntity from '@wexample/js-api-entity/Common/AbstractApiEntity';
2
- import schema from '../data/entity/card_message.json';
3
-
4
- export default class CardMessage extends AbstractApiEntity {
5
- static readonly entityName = 'cardMessage';
6
-
7
- static retrieveEntitySchema() {
8
- return schema;
9
- }
10
- }
@@ -1,10 +0,0 @@
1
- import AbstractApiEntity from '@wexample/js-api-entity/Common/AbstractApiEntity';
2
- import schema from '../data/entity/card_relation.json';
3
-
4
- export default class CardRelation extends AbstractApiEntity {
5
- static readonly entityName = 'cardRelation';
6
-
7
- static retrieveEntitySchema() {
8
- return schema;
9
- }
10
- }
@@ -1,8 +0,0 @@
1
- import AbstractApiRepository from '@wexample/js-api-entity/Common/AbstractApiRepository';
2
- import CardMessage from '../Entity/CardMessage.js';
3
-
4
- export default class CardMessageRepository extends AbstractApiRepository<CardMessage> {
5
- static getEntityType() {
6
- return CardMessage;
7
- }
8
- }
@@ -1,8 +0,0 @@
1
- import AbstractApiRepository from '@wexample/js-api-entity/Common/AbstractApiRepository';
2
- import CardRelation from '../Entity/CardRelation.js';
3
-
4
- export default class CardRelationRepository extends AbstractApiRepository<CardRelation> {
5
- static getEntityType() {
6
- return CardRelation;
7
- }
8
- }
@@ -1,8 +0,0 @@
1
- import AbstractApiRepository from '@wexample/js-api-entity/Common/AbstractApiRepository';
2
- import Card from '../Entity/Card.js';
3
-
4
- export default class CardRepository extends AbstractApiRepository<Card> {
5
- static getEntityType() {
6
- return Card;
7
- }
8
- }
@@ -1,9 +0,0 @@
1
- import CardMessage from '../../../Entity/CardMessage.js';
2
-
3
- export default {
4
- methods: {
5
- getEntityClass() {
6
- return CardMessage;
7
- },
8
- },
9
- };
@@ -1,9 +0,0 @@
1
- import CardRelation from '../../../Entity/CardRelation.js';
2
-
3
- export default {
4
- methods: {
5
- getEntityClass() {
6
- return CardRelation;
7
- },
8
- },
9
- };