@unisphere/genie-types 1.10.0 → 1.12.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: {
@@ -214,7 +216,8 @@ const chatRuntimePlayerPluginSettingsSchema = {
214
216
  },
215
217
  partnerId: {
216
218
  type: 'primitive',
217
- value: 'string'
219
+ value: 'string',
220
+ optional: true
218
221
  },
219
222
  entryId: {
220
223
  type: 'primitive',
@@ -748,25 +751,29 @@ const avatarRuntimeSettingsSchema = {
748
751
  type: 'primitive',
749
752
  value: 'string'
750
753
  },
751
- serverUrl: {
754
+ srsBaseUrl: {
752
755
  type: 'primitive',
753
756
  value: 'string'
754
757
  },
755
- srsBaseUrl: {
758
+ serverUrl: {
756
759
  type: 'primitive',
757
- value: 'string'
760
+ value: 'string',
761
+ optional: true
758
762
  },
759
763
  clientId: {
760
764
  type: 'primitive',
761
- value: 'string'
765
+ value: 'string',
766
+ optional: true
762
767
  },
763
768
  roomId: {
764
769
  type: 'primitive',
765
- value: 'string'
770
+ value: 'string',
771
+ optional: true
766
772
  },
767
773
  flowId: {
768
774
  type: 'primitive',
769
- value: 'string'
775
+ value: 'string',
776
+ optional: true
770
777
  },
771
778
  loadingVideoURL: {
772
779
  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.12.0",
4
4
  "author": "kaltura",
5
5
  "license": "AGPL-3.0",
6
6
  "repository": {
@@ -11,7 +11,7 @@ export interface ChatRuntimePlayerPlugin extends UnisphereRuntimeBaseType<ChatRu
11
11
  export interface ChatRuntimePlayerPluginSettings {
12
12
  entryId: string;
13
13
  ks: string;
14
- partnerId: string;
14
+ partnerId?: string;
15
15
  schemaVersion?: '1';
16
16
  integrations?: GlobalChatSettings['integrations'];
17
17
  shareUrl?: GlobalChatSettings['shareUrl'];
@@ -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';