@syrtis-ai/syrtis-javascript-client 3.0.1 → 5.0.1

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.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @syrtis-ai/syrtis-javascript-client
2
2
 
3
- Version: 3.0.1
3
+ Version: 5.0.1
4
4
 
5
5
  ## Table of Contents
6
6
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.0.1",
2
+ "version": "5.0.1",
3
3
  "type": "module",
4
4
  "name": "@syrtis-ai/syrtis-javascript-client",
5
5
  "scripts": {
@@ -15,7 +15,6 @@ export type SessionMessagePayload = {
15
15
  name?: string | null;
16
16
  contentType?: string;
17
17
  format?: string;
18
- templateId?: string | number | null;
19
18
  stamps?: string[];
20
19
  metadata?: Record<string, unknown> | unknown[] | null;
21
20
  };
@@ -26,7 +25,6 @@ export type SessionSendMessageOptions = {
26
25
  content?: string | null;
27
26
  contentType?: string;
28
27
  format?: string;
29
- templateId?: string | number | null;
30
28
  stamps?: string[];
31
29
  name?: string | null;
32
30
  metadata?: Record<string, unknown> | unknown[] | null;
@@ -124,7 +122,6 @@ export default class SessionRepository extends AbstractApiRepository<Session> {
124
122
  files = [],
125
123
  contentType,
126
124
  format,
127
- templateId,
128
125
  stamps,
129
126
  name,
130
127
  metadata,
@@ -144,7 +141,6 @@ export default class SessionRepository extends AbstractApiRepository<Session> {
144
141
  content: trimmedContent,
145
142
  contentType,
146
143
  format,
147
- templateId,
148
144
  stamps,
149
145
  name,
150
146
  metadata,
@@ -179,7 +175,6 @@ export default class SessionRepository extends AbstractApiRepository<Session> {
179
175
  content: message.content,
180
176
  contentType: message.contentType ?? Message.CONTENT_TYPE_CONVERSATION,
181
177
  format: message.format ?? Message.FORMAT_TEXT,
182
- templateId: message.templateId ?? null,
183
178
  stamps: message.stamps ?? [],
184
179
  metadata: message.metadata ?? null,
185
180
  name: message.name ?? null,
@@ -168,34 +168,6 @@
168
168
  }
169
169
  }
170
170
  },
171
- {
172
- "name": "template",
173
- "type": "relation",
174
- "nullable": true,
175
- "default": null,
176
- "target": "template",
177
- "orm": {
178
- "kind": "association",
179
- "association_type": "many_to_one",
180
- "target_entity": "App\\Entity\\Template",
181
- "target": "template",
182
- "mapped_by": null,
183
- "inversed_by": null,
184
- "is_owning_side": true,
185
- "orphan_removal": false,
186
- "cascade": {},
187
- "fetch": 2,
188
- "join_columns": [
189
- {
190
- "name": "template_id",
191
- "referenced_column_name": "id",
192
- "nullable": true,
193
- "unique": false,
194
- "on_delete": null
195
- }
196
- ]
197
- }
198
- },
199
171
  {
200
172
  "name": "metadata",
201
173
  "type": "array",
@@ -645,27 +617,6 @@
645
617
  "on_delete": null
646
618
  }
647
619
  ]
648
- },
649
- "template": {
650
- "kind": "association",
651
- "association_type": "many_to_one",
652
- "target_entity": "App\\Entity\\Template",
653
- "target": "template",
654
- "mapped_by": null,
655
- "inversed_by": null,
656
- "is_owning_side": true,
657
- "orphan_removal": false,
658
- "cascade": {},
659
- "fetch": 2,
660
- "join_columns": [
661
- {
662
- "name": "template_id",
663
- "referenced_column_name": "id",
664
- "nullable": true,
665
- "unique": false,
666
- "on_delete": null
667
- }
668
- ]
669
620
  }
670
621
  }
671
622
  }