@unisphere/genie-types 1.10.0 → 1.11.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
@@ -88,7 +88,8 @@ const chatRuntimeSettingsSchema = {
88
88
  },
89
89
  partnerId: {
90
90
  type: 'primitive',
91
- value: 'any'
91
+ value: 'any',
92
+ optional: true
92
93
  },
93
94
  ks: {
94
95
  type: 'primitive',
@@ -97,7 +98,8 @@ const chatRuntimeSettingsSchema = {
97
98
  kalturaServerURI: {
98
99
  type: 'primitive',
99
100
  value: 'string',
100
- deprecationMessage: 'This field is no longer required and will be ignored if provided'
101
+ deprecationMessage: 'This field is no longer required and will be ignored if provided',
102
+ optional: true
101
103
  },
102
104
  // depracated - kept for backward compatibility
103
105
  uiconfId: {
@@ -748,25 +750,29 @@ const avatarRuntimeSettingsSchema = {
748
750
  type: 'primitive',
749
751
  value: 'string'
750
752
  },
751
- serverUrl: {
753
+ srsBaseUrl: {
752
754
  type: 'primitive',
753
755
  value: 'string'
754
756
  },
755
- srsBaseUrl: {
757
+ serverUrl: {
756
758
  type: 'primitive',
757
- value: 'string'
759
+ value: 'string',
760
+ optional: true
758
761
  },
759
762
  clientId: {
760
763
  type: 'primitive',
761
- value: 'string'
764
+ value: 'string',
765
+ optional: true
762
766
  },
763
767
  roomId: {
764
768
  type: 'primitive',
765
- value: 'string'
769
+ value: 'string',
770
+ optional: true
766
771
  },
767
772
  flowId: {
768
773
  type: 'primitive',
769
- value: 'string'
774
+ value: 'string',
775
+ optional: true
770
776
  },
771
777
  loadingVideoURL: {
772
778
  type: 'primitive',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unisphere/genie-types",
3
- "version": "1.10.0",
3
+ "version": "1.11.0",
4
4
  "author": "kaltura",
5
5
  "license": "AGPL-3.0",
6
6
  "repository": {
@@ -9,11 +9,11 @@ export interface ChatRuntime extends UnisphereRuntimeBaseType<ChatRuntimeSetting
9
9
  readonly flavor: '';
10
10
  }
11
11
  export interface ChatRuntimeSettings {
12
+ ks: string;
12
13
  initialQuestion?: string;
13
14
  schemaVersion?: '1';
14
15
  genieServerUrl?: string;
15
- partnerId: string;
16
- ks: string;
16
+ partnerId?: string;
17
17
  entryId?: string;
18
18
  agentMode?: boolean;
19
19
  avatarContainerMode?: 'dialog' | 'contained';