@unisphere/genie-types 1.13.1 → 1.14.0-oauth.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/README.md +1 -175
- package/index.esm.js +644 -5
- package/package.json +4 -4
- package/src/index.d.ts +3 -0
- package/src/lib/admin-demo-runtime/runtime-types.d.ts +9 -0
- package/src/lib/admin-runtime/runtime-types.d.ts +25 -0
- package/src/lib/application-runtime/runtime-types.d.ts +36 -0
- package/src/lib/avatar-runtime/agent-visual-types.d.ts +18 -0
- package/src/lib/avatar-runtime/avatar-service-types.d.ts +100 -3
- package/src/lib/avatar-runtime/chat-visual-types.d.ts +9 -0
- package/src/lib/avatar-runtime/contained-visual-types.d.ts +9 -0
- package/src/lib/avatar-runtime/index.d.ts +1 -0
- package/src/lib/avatar-runtime/lobby-visual-types.d.ts +35 -1
- package/src/lib/avatar-runtime/runtime-types.d.ts +71 -3
- package/src/lib/chat-runtime/runtime-flavors/runtime-player-plugin-types.d.ts +42 -0
- package/src/lib/chat-runtime/runtime-flavors/runtime-types.d.ts +60 -0
- package/src/lib/chat-runtime/shared-settings.d.ts +88 -0
- package/src/lib/chat-runtime/types.d.ts +1 -0
- package/src/lib/chat-runtime/visuals-types.d.ts +66 -0
- package/src/lib/content-gallery-tool-runtime/avatar-visual-types.d.ts +32 -0
- package/src/lib/content-gallery-tool-runtime/index.d.ts +2 -0
- package/src/lib/content-gallery-tool-runtime/runtime-types.d.ts +20 -0
- package/src/lib/flashcards-tool-runtime/runtime-types.d.ts +27 -0
- package/src/lib/flashcards-tool-runtime/visuals-types.d.ts +36 -0
- package/src/lib/followups-tool-runtime/avatar-visual-types.d.ts +18 -0
- package/src/lib/followups-tool-runtime/runtime-types.d.ts +31 -0
- package/src/lib/gen-ui-components-tool-runtime/card-visual-types.d.ts +39 -0
- package/src/lib/gen-ui-components-tool-runtime/index.d.ts +4 -0
- package/src/lib/gen-ui-components-tool-runtime/markdown-visual-types.d.ts +7 -0
- package/src/lib/gen-ui-components-tool-runtime/player-visual-types.d.ts +25 -0
- package/src/lib/gen-ui-components-tool-runtime/runtime-types.d.ts +13 -0
- package/src/lib/gen-ui-composer-tool-runtime/avatar-visual-types.d.ts +49 -0
- package/src/lib/gen-ui-composer-tool-runtime/index.d.ts +2 -0
- package/src/lib/gen-ui-composer-tool-runtime/runtime-types.d.ts +13 -0
- package/src/lib/gtc-agenda-list-tool-runtime/genie-answer-visual-types.d.ts +17 -2
- package/src/lib/gtc-agenda-list-tool-runtime/runtime-types.d.ts +15 -0
- package/src/lib/gtc-agenda-tool-runtime/genie-answer-visual-types.d.ts +13 -2
- package/src/lib/gtc-agenda-tool-runtime/runtime-types.d.ts +15 -0
- package/src/lib/kaltura-video-player-tool-runtime/genie-answer-visual-types.d.ts +13 -2
- package/src/lib/kaltura-video-player-tool-runtime/runtime-types.d.ts +23 -0
- package/src/lib/nvidia-2026-event-tool-runtime/runtime-types.d.ts +45 -0
- package/src/lib/shared/chat-customizations-types.d.ts +83 -0
- package/src/lib/shared/chat-tools-service-types.d.ts +52 -0
- package/src/lib/shared/general-visual-types.d.ts +19 -0
- package/src/lib/sources-tool-runtime/runtime-types.d.ts +38 -0
- package/src/lib/summary-tool-runtime/runtime-types.d.ts +55 -0
- package/src/lib/types.d.ts +66 -1
- package/src/lib/widget-types.d.ts +1 -0
package/index.esm.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/** Widget name constant for all Genie experiences */
|
|
1
2
|
const widgetName = 'unisphere.widget.genie';
|
|
2
3
|
|
|
3
4
|
const integrationsSchema = {
|
|
@@ -215,12 +216,18 @@ const chatRuntimePlayerPluginSettingsSchema = {
|
|
|
215
216
|
}
|
|
216
217
|
};
|
|
217
218
|
|
|
219
|
+
/**
|
|
220
|
+
* Answer type options for Genie responses.
|
|
221
|
+
*/
|
|
218
222
|
var AnswerTypeEnum;
|
|
219
223
|
(function (AnswerTypeEnum) {
|
|
220
224
|
AnswerTypeEnum["Flashcards"] = "flashcards";
|
|
221
225
|
AnswerTypeEnum["Markdown"] = "markdown";
|
|
222
226
|
AnswerTypeEnum["Summary"] = "summarization";
|
|
223
227
|
})(AnswerTypeEnum || (AnswerTypeEnum = {}));
|
|
228
|
+
/**
|
|
229
|
+
* Answer model performance options.
|
|
230
|
+
*/
|
|
224
231
|
var AnswerModelEnum;
|
|
225
232
|
(function (AnswerModelEnum) {
|
|
226
233
|
AnswerModelEnum["Fast"] = "fast";
|
|
@@ -260,6 +267,11 @@ const chatCustomizationSchema = {
|
|
|
260
267
|
type: 'primitive',
|
|
261
268
|
value: 'boolean',
|
|
262
269
|
optional: true
|
|
270
|
+
},
|
|
271
|
+
isPreviewMode: {
|
|
272
|
+
type: 'primitive',
|
|
273
|
+
value: 'boolean',
|
|
274
|
+
optional: true
|
|
263
275
|
}
|
|
264
276
|
}
|
|
265
277
|
},
|
|
@@ -448,8 +460,10 @@ const popupVisualSettingsSchema = {
|
|
|
448
460
|
}
|
|
449
461
|
};
|
|
450
462
|
|
|
463
|
+
/** Runtime name constant for chat experiences */
|
|
451
464
|
const ChatRuntimeName = 'chat';
|
|
452
465
|
|
|
466
|
+
/** Runtime name constant for flashcards tool */
|
|
453
467
|
const FlashcardsToolRuntimeName = 'flashcards-tool';
|
|
454
468
|
const flashcardsToolRuntimeSettingsSchema = {
|
|
455
469
|
type: 'object',
|
|
@@ -596,6 +610,7 @@ const genieAnswerVisualSettingsSchema = {
|
|
|
596
610
|
}
|
|
597
611
|
};
|
|
598
612
|
|
|
613
|
+
/** Runtime name constant for followups tool */
|
|
599
614
|
const FollowupsToolRuntimeName = 'followups-tool';
|
|
600
615
|
const followupsToolRuntimeSettingsSchema = {
|
|
601
616
|
type: 'object',
|
|
@@ -645,6 +660,7 @@ const followupsToolRuntimeAvatarVisualSettingsSchema = {
|
|
|
645
660
|
}
|
|
646
661
|
};
|
|
647
662
|
|
|
663
|
+
/** Runtime name constant for sources tool */
|
|
648
664
|
const SourcesToolRuntimeName = 'sources-tool';
|
|
649
665
|
const sourcesToolRuntimeSettingsSchema = {
|
|
650
666
|
type: 'object',
|
|
@@ -660,6 +676,11 @@ const sourcesToolRuntimeGenieAnswerVisualSettingsSchema = {
|
|
|
660
676
|
type: 'object',
|
|
661
677
|
properties: {
|
|
662
678
|
blockContext: blockVisualContextSchema,
|
|
679
|
+
variant: {
|
|
680
|
+
type: 'enum',
|
|
681
|
+
values: ['default', 'compact'],
|
|
682
|
+
optional: true
|
|
683
|
+
},
|
|
663
684
|
sources: {
|
|
664
685
|
type: 'array',
|
|
665
686
|
optional: true,
|
|
@@ -714,12 +735,29 @@ const sourcesToolRuntimeGenieAnswerVisualSettingsSchema = {
|
|
|
714
735
|
value: 'boolean'
|
|
715
736
|
}
|
|
716
737
|
}
|
|
738
|
+
}, {
|
|
739
|
+
type: 'object',
|
|
740
|
+
properties: {
|
|
741
|
+
type: {
|
|
742
|
+
type: 'literal',
|
|
743
|
+
value: 'web'
|
|
744
|
+
},
|
|
745
|
+
title: {
|
|
746
|
+
type: 'primitive',
|
|
747
|
+
value: 'string'
|
|
748
|
+
},
|
|
749
|
+
url: {
|
|
750
|
+
type: 'primitive',
|
|
751
|
+
value: 'string'
|
|
752
|
+
}
|
|
753
|
+
}
|
|
717
754
|
}]
|
|
718
755
|
}
|
|
719
756
|
}
|
|
720
757
|
}
|
|
721
758
|
};
|
|
722
759
|
|
|
760
|
+
/** Runtime name constant for avatar experiences */
|
|
723
761
|
const AvatarRuntimeName = 'avatar';
|
|
724
762
|
const avatarRuntimeSettingsSchema = {
|
|
725
763
|
type: 'object',
|
|
@@ -782,6 +820,11 @@ const avatarRuntimeSettingsSchema = {
|
|
|
782
820
|
value: 'boolean',
|
|
783
821
|
optional: true
|
|
784
822
|
},
|
|
823
|
+
castMode: {
|
|
824
|
+
type: 'primitive',
|
|
825
|
+
value: 'string',
|
|
826
|
+
optional: true
|
|
827
|
+
},
|
|
785
828
|
kaltura: {
|
|
786
829
|
type: 'object',
|
|
787
830
|
properties: {
|
|
@@ -825,29 +868,56 @@ const avatarRuntimeChatVisualSettingsSchema = {
|
|
|
825
868
|
}
|
|
826
869
|
};
|
|
827
870
|
|
|
871
|
+
/**
|
|
872
|
+
* Audio device types for avatar connections.
|
|
873
|
+
*/
|
|
828
874
|
var DeviceType;
|
|
829
875
|
(function (DeviceType) {
|
|
876
|
+
/** Microphone input device */
|
|
830
877
|
DeviceType["AudioInput"] = "audioinput";
|
|
878
|
+
/** Speaker/headphone output device */
|
|
831
879
|
DeviceType["AudioOutput"] = "audiooutput";
|
|
832
880
|
})(DeviceType || (DeviceType = {}));
|
|
881
|
+
/**
|
|
882
|
+
* Avatar connection status states.
|
|
883
|
+
*
|
|
884
|
+
* @deprecated Use AvatarConnectionStatus instead
|
|
885
|
+
*/
|
|
833
886
|
var AvatarStatus;
|
|
834
887
|
(function (AvatarStatus) {
|
|
888
|
+
/** Establishing connection */
|
|
835
889
|
AvatarStatus["Connecting"] = "connecting";
|
|
890
|
+
/** Successfully connected */
|
|
836
891
|
AvatarStatus["Connected"] = "connected";
|
|
892
|
+
/** Not connected */
|
|
837
893
|
AvatarStatus["Disconnected"] = "disconnected";
|
|
894
|
+
/** Connection error occurred */
|
|
838
895
|
AvatarStatus["Error"] = "error";
|
|
839
896
|
})(AvatarStatus || (AvatarStatus = {}));
|
|
897
|
+
/**
|
|
898
|
+
* Avatar connection lifecycle states.
|
|
899
|
+
*/
|
|
840
900
|
var AvatarConnectionStatus;
|
|
841
901
|
(function (AvatarConnectionStatus) {
|
|
902
|
+
/** Establishing connection */
|
|
842
903
|
AvatarConnectionStatus["Connecting"] = "connecting";
|
|
904
|
+
/** Successfully connected */
|
|
843
905
|
AvatarConnectionStatus["Connected"] = "connected";
|
|
906
|
+
/** Not connected */
|
|
844
907
|
AvatarConnectionStatus["Disconnected"] = "disconnected";
|
|
908
|
+
/** Closing connection */
|
|
845
909
|
AvatarConnectionStatus["Disconnecting"] = "disconnecting";
|
|
910
|
+
/** Connection error occurred */
|
|
846
911
|
AvatarConnectionStatus["Error"] = "error";
|
|
847
912
|
})(AvatarConnectionStatus || (AvatarConnectionStatus = {}));
|
|
913
|
+
/**
|
|
914
|
+
* Reasons why avatar agent may be unavailable.
|
|
915
|
+
*/
|
|
848
916
|
var AgentUnavailabilityReasons;
|
|
849
917
|
(function (AgentUnavailabilityReasons) {
|
|
918
|
+
/** No agents are currently available */
|
|
850
919
|
AgentUnavailabilityReasons["NoAgents"] = "NoAgents";
|
|
920
|
+
/** Maximum concurrent connections reached */
|
|
851
921
|
AgentUnavailabilityReasons["CapacityReached"] = "CapacityReached";
|
|
852
922
|
})(AgentUnavailabilityReasons || (AgentUnavailabilityReasons = {}));
|
|
853
923
|
var DisconnectReasons;
|
|
@@ -898,7 +968,7 @@ const avatarRuntimeLobbyVisualSettingsSchema = {
|
|
|
898
968
|
},
|
|
899
969
|
variant: {
|
|
900
970
|
type: 'enum',
|
|
901
|
-
values: ['default', 'mini', 'buttonOnly'],
|
|
971
|
+
values: ['default', 'mini', 'buttonOnly', 'agent'],
|
|
902
972
|
optional: true
|
|
903
973
|
},
|
|
904
974
|
isTranslucent: {
|
|
@@ -915,6 +985,37 @@ const avatarRuntimeLobbyVisualSettingsSchema = {
|
|
|
915
985
|
type: 'primitive',
|
|
916
986
|
value: 'string',
|
|
917
987
|
optional: true
|
|
988
|
+
},
|
|
989
|
+
agentButtonLabel: {
|
|
990
|
+
type: 'primitive',
|
|
991
|
+
value: 'string',
|
|
992
|
+
optional: true
|
|
993
|
+
},
|
|
994
|
+
agentSize: {
|
|
995
|
+
type: 'primitive',
|
|
996
|
+
value: 'string',
|
|
997
|
+
optional: true
|
|
998
|
+
},
|
|
999
|
+
hideStartButton: {
|
|
1000
|
+
type: 'primitive',
|
|
1001
|
+
value: 'boolean',
|
|
1002
|
+
optional: true
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
};
|
|
1006
|
+
|
|
1007
|
+
const avatarRuntimeAgentVisualSettingsSchema = {
|
|
1008
|
+
type: 'object',
|
|
1009
|
+
properties: {
|
|
1010
|
+
schemaVersion: {
|
|
1011
|
+
type: 'literal',
|
|
1012
|
+
value: '1',
|
|
1013
|
+
optional: true
|
|
1014
|
+
},
|
|
1015
|
+
panelSide: {
|
|
1016
|
+
type: 'enum',
|
|
1017
|
+
values: ['left', 'right'],
|
|
1018
|
+
optional: true
|
|
918
1019
|
}
|
|
919
1020
|
}
|
|
920
1021
|
};
|
|
@@ -938,12 +1039,14 @@ const adminRuntimeSettingsSchema = {
|
|
|
938
1039
|
}
|
|
939
1040
|
}
|
|
940
1041
|
};
|
|
1042
|
+
/** Runtime name constant for admin experiences */
|
|
941
1043
|
const AdminRuntimeName = 'admin';
|
|
942
1044
|
|
|
943
1045
|
const adminDemoRuntimeSettingsSchema = {
|
|
944
1046
|
type: 'object',
|
|
945
1047
|
properties: {}
|
|
946
1048
|
};
|
|
1049
|
+
/** Runtime name constant for admin demo experiences */
|
|
947
1050
|
const AdminDemoRuntimeName = 'admin-demo';
|
|
948
1051
|
|
|
949
1052
|
const applicationRuntimeSettingsSchema = {
|
|
@@ -1019,8 +1122,10 @@ const applicationRuntimeSettingsSchema = {
|
|
|
1019
1122
|
}
|
|
1020
1123
|
}
|
|
1021
1124
|
};
|
|
1125
|
+
/** Runtime name constant for application-level experiences */
|
|
1022
1126
|
const ApplicationRuntimeName = 'application';
|
|
1023
1127
|
|
|
1128
|
+
/** Runtime name constant for summary tool */
|
|
1024
1129
|
const SummaryToolRuntimeName = 'summary-tool';
|
|
1025
1130
|
const summaryToolRuntimeSettingsSchema = {
|
|
1026
1131
|
type: 'object',
|
|
@@ -1067,6 +1172,7 @@ const summaryToolRuntimeGenieAnswerVisualSettingsSchema = {
|
|
|
1067
1172
|
}
|
|
1068
1173
|
};
|
|
1069
1174
|
|
|
1175
|
+
/** Runtime name constant for NVIDIA 2026 event tool */
|
|
1070
1176
|
const Nvidia2026EventToolRuntimeName = 'nvidia-2026-event-tool';
|
|
1071
1177
|
const nvidia2026EventToolRuntimeSettingsSchema = {
|
|
1072
1178
|
type: 'object',
|
|
@@ -1079,6 +1185,7 @@ const nvidia2026EventToolRuntimeSettingsSchema = {
|
|
|
1079
1185
|
}
|
|
1080
1186
|
};
|
|
1081
1187
|
|
|
1188
|
+
/** Runtime name constant for Kaltura video player tool */
|
|
1082
1189
|
const KalturaVideoPlayerToolRuntimeName = 'kaltura-video-player-tool';
|
|
1083
1190
|
const kalturaVideoPlayerToolRuntimeSettingsSchema = {
|
|
1084
1191
|
type: 'object',
|
|
@@ -1102,7 +1209,7 @@ const kalturaVideoPlayerToolRuntimeSettingsSchema = {
|
|
|
1102
1209
|
}
|
|
1103
1210
|
};
|
|
1104
1211
|
|
|
1105
|
-
const
|
|
1212
|
+
const kalturaVideoPlayerToolRuntimeAvatarVisualSettingsSchema = {
|
|
1106
1213
|
type: 'object',
|
|
1107
1214
|
properties: {
|
|
1108
1215
|
id: {
|
|
@@ -1112,6 +1219,7 @@ const kalturaVideoPlayerToolRuntimeGenieAnswerVisualSettingsSchema = {
|
|
|
1112
1219
|
}
|
|
1113
1220
|
};
|
|
1114
1221
|
|
|
1222
|
+
/** Runtime name constant for GTC agenda tool */
|
|
1115
1223
|
const GtcAgendaToolRuntimeName = 'gtc-agenda-tool';
|
|
1116
1224
|
const gtcAgendaToolRuntimeSettingsSchema = {
|
|
1117
1225
|
type: 'object',
|
|
@@ -1124,7 +1232,7 @@ const gtcAgendaToolRuntimeSettingsSchema = {
|
|
|
1124
1232
|
}
|
|
1125
1233
|
};
|
|
1126
1234
|
|
|
1127
|
-
const
|
|
1235
|
+
const gtcAgendaToolRuntimeAvatarVisualSettingsSchema = {
|
|
1128
1236
|
type: 'object',
|
|
1129
1237
|
properties: {
|
|
1130
1238
|
id: {
|
|
@@ -1134,6 +1242,7 @@ const gtcAgendaToolRuntimeGenieAnswerVisualSettingsSchema = {
|
|
|
1134
1242
|
}
|
|
1135
1243
|
};
|
|
1136
1244
|
|
|
1245
|
+
/** Runtime name constant for GTC agenda list tool */
|
|
1137
1246
|
const GtcAgendaListToolRuntimeName = 'gtc-agenda-list-tool';
|
|
1138
1247
|
const gtcAgendaListToolRuntimeSettingsSchema = {
|
|
1139
1248
|
type: 'object',
|
|
@@ -1146,7 +1255,7 @@ const gtcAgendaListToolRuntimeSettingsSchema = {
|
|
|
1146
1255
|
}
|
|
1147
1256
|
};
|
|
1148
1257
|
|
|
1149
|
-
const
|
|
1258
|
+
const gtcAgendaListToolRuntimeAvatarVisualSettingsSchema = {
|
|
1150
1259
|
type: 'object',
|
|
1151
1260
|
properties: {
|
|
1152
1261
|
schemaVersion: {
|
|
@@ -1169,4 +1278,534 @@ const gtcAgendaListToolRuntimeGenieAnswerVisualSettingsSchema = {
|
|
|
1169
1278
|
}
|
|
1170
1279
|
};
|
|
1171
1280
|
|
|
1172
|
-
|
|
1281
|
+
const GenUiComposerToolRuntimeName = 'gen-ui-composer-tool';
|
|
1282
|
+
const genUiComposerToolRuntimeSettingsSchema = {
|
|
1283
|
+
type: 'object',
|
|
1284
|
+
properties: {
|
|
1285
|
+
schemaVersion: {
|
|
1286
|
+
type: 'literal',
|
|
1287
|
+
value: '1',
|
|
1288
|
+
optional: true
|
|
1289
|
+
},
|
|
1290
|
+
baseVisualSettings: {
|
|
1291
|
+
type: 'object',
|
|
1292
|
+
optional: true,
|
|
1293
|
+
properties: {},
|
|
1294
|
+
allowUnknownProperties: true
|
|
1295
|
+
}
|
|
1296
|
+
}
|
|
1297
|
+
};
|
|
1298
|
+
|
|
1299
|
+
const genUiComposerToolRuntimeAvatarVisualSettingsSchema = {
|
|
1300
|
+
type: 'object',
|
|
1301
|
+
properties: {
|
|
1302
|
+
schemaVersion: {
|
|
1303
|
+
type: 'literal',
|
|
1304
|
+
value: '1',
|
|
1305
|
+
optional: true
|
|
1306
|
+
},
|
|
1307
|
+
layout: {
|
|
1308
|
+
type: 'object',
|
|
1309
|
+
optional: true,
|
|
1310
|
+
properties: {
|
|
1311
|
+
type: {
|
|
1312
|
+
type: 'literal',
|
|
1313
|
+
value: 'cssGrid'
|
|
1314
|
+
},
|
|
1315
|
+
gridTemplateAreas: {
|
|
1316
|
+
type: 'primitive',
|
|
1317
|
+
value: 'string',
|
|
1318
|
+
optional: true
|
|
1319
|
+
},
|
|
1320
|
+
gridTemplateRows: {
|
|
1321
|
+
type: 'primitive',
|
|
1322
|
+
value: 'string',
|
|
1323
|
+
optional: true
|
|
1324
|
+
},
|
|
1325
|
+
gridTemplateColumns: {
|
|
1326
|
+
type: 'primitive',
|
|
1327
|
+
value: 'string',
|
|
1328
|
+
optional: true
|
|
1329
|
+
},
|
|
1330
|
+
gap: {
|
|
1331
|
+
type: 'primitive',
|
|
1332
|
+
value: 'string',
|
|
1333
|
+
optional: true
|
|
1334
|
+
},
|
|
1335
|
+
cells: {
|
|
1336
|
+
type: 'array',
|
|
1337
|
+
optional: true,
|
|
1338
|
+
items: {
|
|
1339
|
+
type: 'object',
|
|
1340
|
+
properties: {
|
|
1341
|
+
id: {
|
|
1342
|
+
type: 'primitive',
|
|
1343
|
+
value: 'string'
|
|
1344
|
+
},
|
|
1345
|
+
name: {
|
|
1346
|
+
type: 'primitive',
|
|
1347
|
+
value: 'string',
|
|
1348
|
+
optional: true
|
|
1349
|
+
},
|
|
1350
|
+
width: {
|
|
1351
|
+
type: 'object',
|
|
1352
|
+
optional: true,
|
|
1353
|
+
properties: {
|
|
1354
|
+
type: {
|
|
1355
|
+
type: 'enum',
|
|
1356
|
+
values: ['fill', 'fit', 'fixed', 'percentage', 'custom']
|
|
1357
|
+
},
|
|
1358
|
+
value: {
|
|
1359
|
+
type: 'primitive',
|
|
1360
|
+
value: 'string',
|
|
1361
|
+
optional: true
|
|
1362
|
+
}
|
|
1363
|
+
}
|
|
1364
|
+
},
|
|
1365
|
+
rowSpan: {
|
|
1366
|
+
type: 'primitive',
|
|
1367
|
+
value: 'number',
|
|
1368
|
+
optional: true
|
|
1369
|
+
},
|
|
1370
|
+
visual: {
|
|
1371
|
+
type: 'object',
|
|
1372
|
+
optional: true,
|
|
1373
|
+
properties: {
|
|
1374
|
+
widgetName: {
|
|
1375
|
+
type: 'primitive',
|
|
1376
|
+
value: 'string'
|
|
1377
|
+
},
|
|
1378
|
+
runtimeName: {
|
|
1379
|
+
type: 'primitive',
|
|
1380
|
+
value: 'string'
|
|
1381
|
+
},
|
|
1382
|
+
visualType: {
|
|
1383
|
+
type: 'primitive',
|
|
1384
|
+
value: 'string'
|
|
1385
|
+
},
|
|
1386
|
+
visualSettings: {
|
|
1387
|
+
type: 'object',
|
|
1388
|
+
properties: {},
|
|
1389
|
+
optional: true,
|
|
1390
|
+
allowUnknownProperties: true
|
|
1391
|
+
}
|
|
1392
|
+
}
|
|
1393
|
+
},
|
|
1394
|
+
runtime: {
|
|
1395
|
+
type: 'object',
|
|
1396
|
+
optional: true,
|
|
1397
|
+
properties: {
|
|
1398
|
+
widgetName: {
|
|
1399
|
+
type: 'primitive',
|
|
1400
|
+
value: 'string'
|
|
1401
|
+
},
|
|
1402
|
+
runtimeName: {
|
|
1403
|
+
type: 'primitive',
|
|
1404
|
+
value: 'string'
|
|
1405
|
+
},
|
|
1406
|
+
runtimeSettings: {
|
|
1407
|
+
type: 'object',
|
|
1408
|
+
properties: {},
|
|
1409
|
+
allowUnknownProperties: true
|
|
1410
|
+
}
|
|
1411
|
+
}
|
|
1412
|
+
},
|
|
1413
|
+
style: {
|
|
1414
|
+
type: 'object',
|
|
1415
|
+
properties: {},
|
|
1416
|
+
optional: true,
|
|
1417
|
+
allowUnknownProperties: true
|
|
1418
|
+
}
|
|
1419
|
+
}
|
|
1420
|
+
}
|
|
1421
|
+
},
|
|
1422
|
+
rows: {
|
|
1423
|
+
type: 'array',
|
|
1424
|
+
optional: true,
|
|
1425
|
+
items: {
|
|
1426
|
+
type: 'object',
|
|
1427
|
+
properties: {
|
|
1428
|
+
id: {
|
|
1429
|
+
type: 'primitive',
|
|
1430
|
+
value: 'string'
|
|
1431
|
+
},
|
|
1432
|
+
height: {
|
|
1433
|
+
type: 'object',
|
|
1434
|
+
properties: {
|
|
1435
|
+
type: {
|
|
1436
|
+
type: 'enum',
|
|
1437
|
+
values: ['auto', 'fixed', 'fill', 'percentage']
|
|
1438
|
+
},
|
|
1439
|
+
value: {
|
|
1440
|
+
type: 'primitive',
|
|
1441
|
+
value: 'number',
|
|
1442
|
+
optional: true
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
},
|
|
1446
|
+
columns: {
|
|
1447
|
+
type: 'primitive',
|
|
1448
|
+
value: 'string'
|
|
1449
|
+
},
|
|
1450
|
+
cells: {
|
|
1451
|
+
type: 'array',
|
|
1452
|
+
items: {
|
|
1453
|
+
type: 'object',
|
|
1454
|
+
properties: {
|
|
1455
|
+
id: {
|
|
1456
|
+
type: 'primitive',
|
|
1457
|
+
value: 'string'
|
|
1458
|
+
},
|
|
1459
|
+
name: {
|
|
1460
|
+
type: 'primitive',
|
|
1461
|
+
value: 'string',
|
|
1462
|
+
optional: true
|
|
1463
|
+
},
|
|
1464
|
+
width: {
|
|
1465
|
+
type: 'object',
|
|
1466
|
+
optional: true,
|
|
1467
|
+
properties: {
|
|
1468
|
+
type: {
|
|
1469
|
+
type: 'enum',
|
|
1470
|
+
values: ['fill', 'fit', 'fixed', 'percentage', 'custom']
|
|
1471
|
+
},
|
|
1472
|
+
value: {
|
|
1473
|
+
type: 'primitive',
|
|
1474
|
+
value: 'string',
|
|
1475
|
+
optional: true
|
|
1476
|
+
}
|
|
1477
|
+
}
|
|
1478
|
+
},
|
|
1479
|
+
rowSpan: {
|
|
1480
|
+
type: 'primitive',
|
|
1481
|
+
value: 'number',
|
|
1482
|
+
optional: true
|
|
1483
|
+
},
|
|
1484
|
+
visual: {
|
|
1485
|
+
type: 'object',
|
|
1486
|
+
properties: {
|
|
1487
|
+
widgetName: {
|
|
1488
|
+
type: 'primitive',
|
|
1489
|
+
value: 'string'
|
|
1490
|
+
},
|
|
1491
|
+
runtimeName: {
|
|
1492
|
+
type: 'primitive',
|
|
1493
|
+
value: 'string'
|
|
1494
|
+
},
|
|
1495
|
+
visualType: {
|
|
1496
|
+
type: 'primitive',
|
|
1497
|
+
value: 'string'
|
|
1498
|
+
},
|
|
1499
|
+
visualSettings: {
|
|
1500
|
+
type: 'object',
|
|
1501
|
+
properties: {},
|
|
1502
|
+
optional: true,
|
|
1503
|
+
allowUnknownProperties: true
|
|
1504
|
+
}
|
|
1505
|
+
}
|
|
1506
|
+
},
|
|
1507
|
+
runtime: {
|
|
1508
|
+
type: 'object',
|
|
1509
|
+
optional: true,
|
|
1510
|
+
properties: {
|
|
1511
|
+
widgetName: {
|
|
1512
|
+
type: 'primitive',
|
|
1513
|
+
value: 'string'
|
|
1514
|
+
},
|
|
1515
|
+
runtimeName: {
|
|
1516
|
+
type: 'primitive',
|
|
1517
|
+
value: 'string'
|
|
1518
|
+
},
|
|
1519
|
+
runtimeSettings: {
|
|
1520
|
+
type: 'object',
|
|
1521
|
+
properties: {},
|
|
1522
|
+
allowUnknownProperties: true
|
|
1523
|
+
}
|
|
1524
|
+
}
|
|
1525
|
+
},
|
|
1526
|
+
style: {
|
|
1527
|
+
type: 'object',
|
|
1528
|
+
properties: {},
|
|
1529
|
+
optional: true,
|
|
1530
|
+
allowUnknownProperties: true
|
|
1531
|
+
}
|
|
1532
|
+
}
|
|
1533
|
+
}
|
|
1534
|
+
}
|
|
1535
|
+
}
|
|
1536
|
+
}
|
|
1537
|
+
}
|
|
1538
|
+
}
|
|
1539
|
+
}
|
|
1540
|
+
}
|
|
1541
|
+
};
|
|
1542
|
+
|
|
1543
|
+
const GenUiComponentsToolRuntimeName = 'gen-ui-components-tool';
|
|
1544
|
+
const genUiComponentsToolRuntimeSettingsSchema = {
|
|
1545
|
+
type: 'object',
|
|
1546
|
+
properties: {
|
|
1547
|
+
schemaVersion: {
|
|
1548
|
+
type: 'literal',
|
|
1549
|
+
value: '1',
|
|
1550
|
+
optional: true
|
|
1551
|
+
},
|
|
1552
|
+
baseVisualSettings: {
|
|
1553
|
+
type: 'object',
|
|
1554
|
+
optional: true,
|
|
1555
|
+
properties: {},
|
|
1556
|
+
allowUnknownProperties: true
|
|
1557
|
+
}
|
|
1558
|
+
}
|
|
1559
|
+
};
|
|
1560
|
+
|
|
1561
|
+
const genUiComponentsToolRuntimeCardVisualSettingsSchema = {
|
|
1562
|
+
type: 'object',
|
|
1563
|
+
properties: {
|
|
1564
|
+
schemaVersion: {
|
|
1565
|
+
type: 'literal',
|
|
1566
|
+
value: '1',
|
|
1567
|
+
optional: true
|
|
1568
|
+
},
|
|
1569
|
+
title: {
|
|
1570
|
+
type: 'primitive',
|
|
1571
|
+
value: 'string',
|
|
1572
|
+
optional: true
|
|
1573
|
+
},
|
|
1574
|
+
body: {
|
|
1575
|
+
type: 'primitive',
|
|
1576
|
+
value: 'string',
|
|
1577
|
+
optional: true
|
|
1578
|
+
},
|
|
1579
|
+
loading: {
|
|
1580
|
+
type: 'primitive',
|
|
1581
|
+
value: 'boolean',
|
|
1582
|
+
optional: true
|
|
1583
|
+
},
|
|
1584
|
+
isTranslucent: {
|
|
1585
|
+
type: 'primitive',
|
|
1586
|
+
value: 'boolean',
|
|
1587
|
+
optional: true
|
|
1588
|
+
},
|
|
1589
|
+
action: {
|
|
1590
|
+
type: 'object',
|
|
1591
|
+
optional: true,
|
|
1592
|
+
allowUnknownProperties: true,
|
|
1593
|
+
properties: {
|
|
1594
|
+
label: {
|
|
1595
|
+
type: 'primitive',
|
|
1596
|
+
value: 'string'
|
|
1597
|
+
}
|
|
1598
|
+
}
|
|
1599
|
+
},
|
|
1600
|
+
media: {
|
|
1601
|
+
type: 'object',
|
|
1602
|
+
optional: true,
|
|
1603
|
+
allowUnknownProperties: true,
|
|
1604
|
+
properties: {
|
|
1605
|
+
type: {
|
|
1606
|
+
type: 'enum',
|
|
1607
|
+
values: ['image', 'video', 'kaltura']
|
|
1608
|
+
}
|
|
1609
|
+
}
|
|
1610
|
+
}
|
|
1611
|
+
}
|
|
1612
|
+
};
|
|
1613
|
+
|
|
1614
|
+
const genUiComponentsToolRuntimeMarkdownVisualSettingsSchema = {
|
|
1615
|
+
type: 'object',
|
|
1616
|
+
properties: {
|
|
1617
|
+
schemaVersion: {
|
|
1618
|
+
type: 'literal',
|
|
1619
|
+
value: '1',
|
|
1620
|
+
optional: true
|
|
1621
|
+
},
|
|
1622
|
+
content: {
|
|
1623
|
+
type: 'primitive',
|
|
1624
|
+
value: 'string'
|
|
1625
|
+
},
|
|
1626
|
+
isTranslucent: {
|
|
1627
|
+
type: 'primitive',
|
|
1628
|
+
value: 'boolean',
|
|
1629
|
+
optional: true
|
|
1630
|
+
}
|
|
1631
|
+
}
|
|
1632
|
+
};
|
|
1633
|
+
|
|
1634
|
+
const genUiComponentsToolRuntimePlayerVisualSettingsSchema = {
|
|
1635
|
+
type: 'object',
|
|
1636
|
+
properties: {
|
|
1637
|
+
schemaVersion: {
|
|
1638
|
+
type: 'literal',
|
|
1639
|
+
value: '1',
|
|
1640
|
+
optional: true
|
|
1641
|
+
},
|
|
1642
|
+
title: {
|
|
1643
|
+
type: 'primitive',
|
|
1644
|
+
value: 'string',
|
|
1645
|
+
optional: true
|
|
1646
|
+
},
|
|
1647
|
+
loading: {
|
|
1648
|
+
type: 'primitive',
|
|
1649
|
+
value: 'boolean',
|
|
1650
|
+
optional: true
|
|
1651
|
+
},
|
|
1652
|
+
isTranslucent: {
|
|
1653
|
+
type: 'primitive',
|
|
1654
|
+
value: 'boolean',
|
|
1655
|
+
optional: true
|
|
1656
|
+
},
|
|
1657
|
+
source: {
|
|
1658
|
+
type: 'object',
|
|
1659
|
+
allowUnknownProperties: true,
|
|
1660
|
+
properties: {
|
|
1661
|
+
type: {
|
|
1662
|
+
type: 'enum',
|
|
1663
|
+
values: ['native', 'kaltura']
|
|
1664
|
+
}
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1667
|
+
}
|
|
1668
|
+
};
|
|
1669
|
+
|
|
1670
|
+
const ContentGalleryToolRuntimeName = 'content-gallery-tool';
|
|
1671
|
+
const contentGalleryToolRuntimeSettingsSchema = {
|
|
1672
|
+
type: 'object',
|
|
1673
|
+
properties: {
|
|
1674
|
+
schemaVersion: {
|
|
1675
|
+
type: 'literal',
|
|
1676
|
+
value: '1',
|
|
1677
|
+
optional: true
|
|
1678
|
+
},
|
|
1679
|
+
kalturaServerURI: {
|
|
1680
|
+
type: 'primitive',
|
|
1681
|
+
value: 'string'
|
|
1682
|
+
},
|
|
1683
|
+
partnerId: {
|
|
1684
|
+
type: 'primitive',
|
|
1685
|
+
value: 'string'
|
|
1686
|
+
},
|
|
1687
|
+
uiConfId: {
|
|
1688
|
+
type: 'primitive',
|
|
1689
|
+
value: 'string'
|
|
1690
|
+
},
|
|
1691
|
+
ks: {
|
|
1692
|
+
type: 'primitive',
|
|
1693
|
+
value: 'string'
|
|
1694
|
+
}
|
|
1695
|
+
}
|
|
1696
|
+
};
|
|
1697
|
+
|
|
1698
|
+
const clipSchema = {
|
|
1699
|
+
type: 'object',
|
|
1700
|
+
properties: {
|
|
1701
|
+
start_index: {
|
|
1702
|
+
type: 'primitive',
|
|
1703
|
+
value: 'number'
|
|
1704
|
+
},
|
|
1705
|
+
last_index: {
|
|
1706
|
+
type: 'primitive',
|
|
1707
|
+
value: 'number'
|
|
1708
|
+
},
|
|
1709
|
+
entry_id: {
|
|
1710
|
+
type: 'primitive',
|
|
1711
|
+
value: 'string'
|
|
1712
|
+
},
|
|
1713
|
+
start_time: {
|
|
1714
|
+
type: 'primitive',
|
|
1715
|
+
value: 'number'
|
|
1716
|
+
},
|
|
1717
|
+
end_time: {
|
|
1718
|
+
type: 'primitive',
|
|
1719
|
+
value: 'number'
|
|
1720
|
+
},
|
|
1721
|
+
type: {
|
|
1722
|
+
type: 'primitive',
|
|
1723
|
+
value: 'string'
|
|
1724
|
+
},
|
|
1725
|
+
thumbnail: {
|
|
1726
|
+
type: 'primitive',
|
|
1727
|
+
value: 'string',
|
|
1728
|
+
optional: 'nullable'
|
|
1729
|
+
},
|
|
1730
|
+
video_link: {
|
|
1731
|
+
type: 'primitive',
|
|
1732
|
+
value: 'string',
|
|
1733
|
+
optional: 'nullable'
|
|
1734
|
+
}
|
|
1735
|
+
}
|
|
1736
|
+
};
|
|
1737
|
+
const videoSlideSchema = {
|
|
1738
|
+
type: 'object',
|
|
1739
|
+
properties: {
|
|
1740
|
+
slide_type: {
|
|
1741
|
+
type: 'literal',
|
|
1742
|
+
value: 'video'
|
|
1743
|
+
},
|
|
1744
|
+
text: {
|
|
1745
|
+
type: 'primitive',
|
|
1746
|
+
value: 'string',
|
|
1747
|
+
optional: 'nullable'
|
|
1748
|
+
},
|
|
1749
|
+
citation: {
|
|
1750
|
+
type: 'object',
|
|
1751
|
+
properties: {
|
|
1752
|
+
clips: {
|
|
1753
|
+
type: 'array',
|
|
1754
|
+
items: clipSchema
|
|
1755
|
+
}
|
|
1756
|
+
}
|
|
1757
|
+
}
|
|
1758
|
+
}
|
|
1759
|
+
};
|
|
1760
|
+
const textSlideSchema = {
|
|
1761
|
+
type: 'object',
|
|
1762
|
+
properties: {
|
|
1763
|
+
slide_type: {
|
|
1764
|
+
type: 'literal',
|
|
1765
|
+
value: 'text'
|
|
1766
|
+
},
|
|
1767
|
+
text: {
|
|
1768
|
+
type: 'primitive',
|
|
1769
|
+
value: 'string'
|
|
1770
|
+
},
|
|
1771
|
+
citation: {
|
|
1772
|
+
type: 'any',
|
|
1773
|
+
optional: 'nullable'
|
|
1774
|
+
}
|
|
1775
|
+
}
|
|
1776
|
+
};
|
|
1777
|
+
const slideSchema = {
|
|
1778
|
+
type: 'or',
|
|
1779
|
+
properties: [videoSlideSchema, textSlideSchema]
|
|
1780
|
+
};
|
|
1781
|
+
const contentGalleryToolRuntimeAvatarVisualSettingsSchema = {
|
|
1782
|
+
type: 'object',
|
|
1783
|
+
properties: {
|
|
1784
|
+
schemaVersion: {
|
|
1785
|
+
type: 'literal',
|
|
1786
|
+
value: '1',
|
|
1787
|
+
optional: true
|
|
1788
|
+
},
|
|
1789
|
+
slides: {
|
|
1790
|
+
type: 'array',
|
|
1791
|
+
items: slideSchema
|
|
1792
|
+
},
|
|
1793
|
+
autoplay: {
|
|
1794
|
+
type: 'primitive',
|
|
1795
|
+
value: 'boolean',
|
|
1796
|
+
optional: true
|
|
1797
|
+
},
|
|
1798
|
+
slideDuration: {
|
|
1799
|
+
type: 'primitive',
|
|
1800
|
+
value: 'number',
|
|
1801
|
+
optional: true
|
|
1802
|
+
},
|
|
1803
|
+
loop: {
|
|
1804
|
+
type: 'primitive',
|
|
1805
|
+
value: 'boolean',
|
|
1806
|
+
optional: true
|
|
1807
|
+
}
|
|
1808
|
+
}
|
|
1809
|
+
};
|
|
1810
|
+
|
|
1811
|
+
export { AdminDemoRuntimeName, AdminRuntimeName, AgentUnavailabilityReasons, AnswerModelEnum, AnswerTypeEnum, ApplicationRuntimeName, AvatarConnectionStatus, AvatarRuntimeName, AvatarStatus, ChatRuntimeName, ContentGalleryToolRuntimeName, DeviceType, DisconnectReasons, FlashcardsToolRuntimeName, FollowupsToolRuntimeName, GenUiComponentsToolRuntimeName, GenUiComposerToolRuntimeName, GtcAgendaListToolRuntimeName, GtcAgendaToolRuntimeName, KalturaVideoPlayerToolRuntimeName, Nvidia2026EventToolRuntimeName, SourcesToolRuntimeName, SummaryToolRuntimeName, adminDemoRuntimeSettingsSchema, adminRuntimeSettingsSchema, applicationRuntimeSettingsSchema, avatarRuntimeAgentVisualSettingsSchema, avatarRuntimeChatVisualSettingsSchema, avatarRuntimeContainedVisualSettingsSchema, avatarRuntimeLobbyVisualSettingsSchema, avatarRuntimeSettingsSchema, bannerVisualSettingsSchema, blockVisualContextSchema, chatCustomizationSchema, chatRuntimePlayerPluginSettingsSchema, chatRuntimeSettingsSchema, contentGalleryToolRuntimeAvatarVisualSettingsSchema, contentGalleryToolRuntimeSettingsSchema, flashcardsToolRuntimeSettingsSchema, followupsToolRuntimeAvatarVisualSettingsSchema, followupsToolRuntimeGenieAnswerVisualSettingsSchema, followupsToolRuntimeSettingsSchema, genUiComponentsToolRuntimeCardVisualSettingsSchema, genUiComponentsToolRuntimeMarkdownVisualSettingsSchema, genUiComponentsToolRuntimePlayerVisualSettingsSchema, genUiComponentsToolRuntimeSettingsSchema, genUiComposerToolRuntimeAvatarVisualSettingsSchema, genUiComposerToolRuntimeSettingsSchema, genieAnswerVisualSettingsSchema, getSourceUrlSchema, gtcAgendaListToolRuntimeAvatarVisualSettingsSchema, gtcAgendaListToolRuntimeSettingsSchema, gtcAgendaToolRuntimeAvatarVisualSettingsSchema, gtcAgendaToolRuntimeSettingsSchema, integrationsSchema, isAvatarConnectionProxyInternalType, kalturaVideoPlayerToolRuntimeAvatarVisualSettingsSchema, kalturaVideoPlayerToolRuntimeSettingsSchema, nvidia2026EventToolRuntimeSettingsSchema, pageVisualSettingsSchema, popupVisualSettingsSchema, shareUrlSchema, sourcesToolRuntimeGenieAnswerVisualSettingsSchema, sourcesToolRuntimeSettingsSchema, summaryToolRuntimeGenieAnswerVisualSettingsSchema, summaryToolRuntimeSettingsSchema, widgetName };
|