@happyvertical/smrt-chat 0.45.3 → 0.47.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.
@@ -2,7 +2,7 @@
2
2
  "version": "1.0.0",
3
3
  "timestamp": 0,
4
4
  "packageName": "@happyvertical/smrt-chat",
5
- "packageVersion": "0.45.3",
5
+ "packageVersion": "0.47.0",
6
6
  "objects": {
7
7
  "@happyvertical/smrt-chat:AgentSessionCollection": {
8
8
  "name": "agentsessioncollection",
@@ -44,12 +44,28 @@
44
44
  {
45
45
  "name": "tenantId",
46
46
  "type": "string | null",
47
- "optional": false
47
+ "optional": false,
48
+ "unionBranches": [
49
+ {
50
+ "type": "string"
51
+ },
52
+ {
53
+ "type": "null"
54
+ }
55
+ ]
48
56
  },
49
57
  {
50
58
  "name": "sessionKey",
51
59
  "type": "string | null",
52
- "optional": true
60
+ "optional": true,
61
+ "unionBranches": [
62
+ {
63
+ "type": "string"
64
+ },
65
+ {
66
+ "type": "null"
67
+ }
68
+ ]
53
69
  }
54
70
  ],
55
71
  "returnType": "Promise<AgentSession | null>",
@@ -63,7 +79,12 @@
63
79
  {
64
80
  "name": "params",
65
81
  "type": "object",
66
- "optional": false
82
+ "optional": false,
83
+ "memberTypes": [
84
+ "string",
85
+ "string | null",
86
+ "string[]"
87
+ ]
67
88
  }
68
89
  ],
69
90
  "returnType": "Promise<AgentSession>",
@@ -96,7 +117,11 @@
96
117
  {
97
118
  "name": "scope",
98
119
  "type": "object",
99
- "optional": true
120
+ "optional": true,
121
+ "memberTypes": [
122
+ "string | null",
123
+ "string"
124
+ ]
100
125
  }
101
126
  ],
102
127
  "returnType": "Promise<number>",
@@ -186,7 +211,11 @@
186
211
  {
187
212
  "name": "options",
188
213
  "type": "object",
189
- "optional": true
214
+ "optional": true,
215
+ "memberTypes": [
216
+ "number",
217
+ "string"
218
+ ]
190
219
  }
191
220
  ],
192
221
  "returnType": "Promise<ChatMessage[]>",
@@ -238,7 +267,8 @@
238
267
  {
239
268
  "name": "filters",
240
269
  "type": "any",
241
- "optional": false
270
+ "optional": false,
271
+ "typeUnresolved": true
242
272
  }
243
273
  ],
244
274
  "returnType": "Promise<ChatMessage[]>",
@@ -262,7 +292,15 @@
262
292
  {
263
293
  "name": "lastReadMessageId",
264
294
  "type": "string | null",
265
- "optional": false
295
+ "optional": false,
296
+ "unionBranches": [
297
+ {
298
+ "type": "string"
299
+ },
300
+ {
301
+ "type": "null"
302
+ }
303
+ ]
266
304
  }
267
305
  ],
268
306
  "returnType": "Promise<number>",
@@ -735,7 +773,10 @@
735
773
  {
736
774
  "name": "options",
737
775
  "type": "object",
738
- "optional": true
776
+ "optional": true,
777
+ "memberTypes": [
778
+ "number"
779
+ ]
739
780
  }
740
781
  ],
741
782
  "returnType": "Promise<ChatRoom[]>",
@@ -946,7 +987,10 @@
946
987
  {
947
988
  "name": "input",
948
989
  "type": "object",
949
- "optional": false
990
+ "optional": false,
991
+ "memberTypes": [
992
+ "string"
993
+ ]
950
994
  }
951
995
  ],
952
996
  "returnType": "Promise<VoiceGatewayTurn>",
@@ -1051,7 +1095,10 @@
1051
1095
  {
1052
1096
  "name": "scope",
1053
1097
  "type": "object",
1054
- "optional": true
1098
+ "optional": true,
1099
+ "memberTypes": [
1100
+ "string"
1101
+ ]
1055
1102
  }
1056
1103
  ],
1057
1104
  "returnType": "Promise<number>",
@@ -1288,7 +1335,7 @@
1288
1335
  "name": "getSessionContext",
1289
1336
  "async": false,
1290
1337
  "parameters": [],
1291
- "returnType": "Record<string>",
1338
+ "returnType": "Record<string, unknown>",
1292
1339
  "isStatic": false,
1293
1340
  "isPublic": true
1294
1341
  },
@@ -1298,7 +1345,7 @@
1298
1345
  "parameters": [
1299
1346
  {
1300
1347
  "name": "ctx",
1301
- "type": "Record<string>",
1348
+ "type": "Record<string, unknown>",
1302
1349
  "optional": false
1303
1350
  }
1304
1351
  ],
@@ -1320,7 +1367,7 @@
1320
1367
  "parameters": [
1321
1368
  {
1322
1369
  "name": "updates",
1323
- "type": "Record<string>",
1370
+ "type": "Record<string, unknown>",
1324
1371
  "optional": false
1325
1372
  }
1326
1373
  ],
@@ -1664,7 +1711,11 @@
1664
1711
  {
1665
1712
  "name": "items",
1666
1713
  "type": "Array<object>",
1667
- "optional": false
1714
+ "optional": false,
1715
+ "memberTypes": [
1716
+ "string",
1717
+ "number"
1718
+ ]
1668
1719
  }
1669
1720
  ],
1670
1721
  "returnType": "void",
@@ -1675,7 +1726,7 @@
1675
1726
  "name": "getMetadata",
1676
1727
  "async": false,
1677
1728
  "parameters": [],
1678
- "returnType": "Record<string>",
1729
+ "returnType": "Record<string, unknown>",
1679
1730
  "isStatic": false,
1680
1731
  "isPublic": true
1681
1732
  },
@@ -1685,7 +1736,7 @@
1685
1736
  "parameters": [
1686
1737
  {
1687
1738
  "name": "data",
1688
- "type": "Record<string>",
1739
+ "type": "Record<string, unknown>",
1689
1740
  "optional": false
1690
1741
  }
1691
1742
  ],
@@ -1697,7 +1748,7 @@
1697
1748
  "name": "getToolCallData",
1698
1749
  "async": false,
1699
1750
  "parameters": [],
1700
- "returnType": "Record<string> | null",
1751
+ "returnType": "Record<string, unknown> | null",
1701
1752
  "isStatic": false,
1702
1753
  "isPublic": true
1703
1754
  },
@@ -1707,8 +1758,16 @@
1707
1758
  "parameters": [
1708
1759
  {
1709
1760
  "name": "data",
1710
- "type": "Record<string> | null",
1711
- "optional": false
1761
+ "type": "Record<string, unknown> | null",
1762
+ "optional": false,
1763
+ "unionBranches": [
1764
+ {
1765
+ "type": "Record<string, unknown>"
1766
+ },
1767
+ {
1768
+ "type": "null"
1769
+ }
1770
+ ]
1712
1771
  }
1713
1772
  ],
1714
1773
  "returnType": "void",
@@ -3618,7 +3677,7 @@
3618
3677
  "name": "getMetadata",
3619
3678
  "async": false,
3620
3679
  "parameters": [],
3621
- "returnType": "Record<string>",
3680
+ "returnType": "Record<string, unknown>",
3622
3681
  "isStatic": false,
3623
3682
  "isPublic": true
3624
3683
  },
@@ -3628,7 +3687,7 @@
3628
3687
  "parameters": [
3629
3688
  {
3630
3689
  "name": "metadata",
3631
- "type": "Record<string>",
3690
+ "type": "Record<string, unknown>",
3632
3691
  "optional": false
3633
3692
  }
3634
3693
  ],