@unisphere/genie-types 1.39.10 → 1.40.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.
package/index.esm.js CHANGED
@@ -1512,9 +1512,31 @@ const chatCustomizationSchemaProperties = {
1512
1512
  type: 'literal',
1513
1513
  value: 'entry'
1514
1514
  },
1515
+ id: {
1516
+ type: 'primitive',
1517
+ value: 'string',
1518
+ optional: true
1519
+ },
1515
1520
  entryId: {
1516
1521
  type: 'primitive',
1517
- value: 'string'
1522
+ value: 'string',
1523
+ optional: true,
1524
+ deprecationMessage: 'Use id instead'
1525
+ },
1526
+ imageUrl: {
1527
+ type: 'primitive',
1528
+ value: 'string',
1529
+ optional: true
1530
+ },
1531
+ title: {
1532
+ type: 'primitive',
1533
+ value: 'string',
1534
+ optional: true
1535
+ },
1536
+ templateName: {
1537
+ type: 'primitive',
1538
+ value: 'string',
1539
+ optional: true
1518
1540
  }
1519
1541
  }
1520
1542
  },
@@ -1906,6 +1928,10 @@ const containedVisualSettingsSchema = {
1906
1928
  type: 'function',
1907
1929
  optional: true
1908
1930
  },
1931
+ onThreadIdChanged: {
1932
+ type: 'function',
1933
+ optional: true
1934
+ },
1909
1935
  isExpanded: {
1910
1936
  type: 'primitive',
1911
1937
  value: 'boolean',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unisphere/genie-types",
3
- "version": "1.39.10",
3
+ "version": "1.40.0",
4
4
  "author": "kaltura",
5
5
  "license": "AGPL-3.0",
6
6
  "repository": {
@@ -125,6 +125,7 @@ export type ContainedVisualSettings = ScrollableVisualSettings & ModeContextVisu
125
125
  onRequestClose?: () => void;
126
126
  /** Callback invoked when the user clicks the expand button */
127
127
  onExpand?: () => void;
128
+ onThreadIdChanged?: (threadId: string) => void;
128
129
  /** Whether the host has expanded the widget; drives the expand/collapse icon in the header */
129
130
  isExpanded?: boolean;
130
131
  /** Type of close button to display in the header */