@unisphere/genie-types 1.39.8 → 1.39.10

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
@@ -1143,9 +1143,17 @@ const chatContextSchema = {
1143
1143
  type: 'literal',
1144
1144
  value: 'entry'
1145
1145
  },
1146
+ // TODO keep both entryid and id for backward compatibility, remove entryId in the future
1146
1147
  id: {
1147
1148
  type: 'primitive',
1148
- value: 'string'
1149
+ value: 'string',
1150
+ optional: true
1151
+ },
1152
+ entryId: {
1153
+ type: 'primitive',
1154
+ value: 'string',
1155
+ optional: true,
1156
+ deprecationMessage: 'Use id instead'
1149
1157
  },
1150
1158
  imageUrl: {
1151
1159
  type: 'primitive',
@@ -1509,6 +1517,19 @@ const chatCustomizationSchemaProperties = {
1509
1517
  value: 'string'
1510
1518
  }
1511
1519
  }
1520
+ },
1521
+ category: {
1522
+ type: 'object',
1523
+ properties: {
1524
+ type: {
1525
+ type: 'literal',
1526
+ value: 'category'
1527
+ },
1528
+ id: {
1529
+ type: 'primitive',
1530
+ value: 'string'
1531
+ }
1532
+ }
1512
1533
  }
1513
1534
  }
1514
1535
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unisphere/genie-types",
3
- "version": "1.39.8",
3
+ "version": "1.39.10",
4
4
  "author": "kaltura",
5
5
  "license": "AGPL-3.0",
6
6
  "repository": {
@@ -158,6 +158,6 @@ export type ConfiguredCustomizationValues = Pick<ChatCustomization, 'layouts' |
158
158
  tips?: string;
159
159
  };
160
160
  export declare const chatCustomizationSchemaProperties: Extract<ValidatorSchema, {
161
- type: "object";
161
+ type: 'object';
162
162
  }>['properties'];
163
163
  export declare const chatCustomizationSchema: ValidatorSchema;