@epam/ai-dial-chat-api-client 1.3.0-dev.274 → 1.3.0-dev.276

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.
@@ -905,6 +905,532 @@ export declare const CatalogCreationType: {
905
905
  readonly Skill: "skill";
906
906
  };
907
907
  export type CatalogCreationType = (typeof CatalogCreationType)[keyof typeof CatalogCreationType];
908
+ /**
909
+ *
910
+ * @export
911
+ * @interface CelebrationAssetDto
912
+ */
913
+ export interface CelebrationAssetDto {
914
+ /**
915
+ * Asset ID, unique across the catalog; ends with the first 16 hex characters of its SHA-256.
916
+ * @type {string}
917
+ * @memberof CelebrationAssetDto
918
+ */
919
+ assetId: string;
920
+ /**
921
+ * Media type the asset is served with.
922
+ * @type {CelebrationMediaType}
923
+ * @memberof CelebrationAssetDto
924
+ */
925
+ mediaType: CelebrationMediaType;
926
+ /**
927
+ * Exact byte length of the uncompressed asset.
928
+ * @type {number}
929
+ * @memberof CelebrationAssetDto
930
+ */
931
+ bytes: number;
932
+ /**
933
+ * Lowercase hex SHA-256 of the uncompressed asset.
934
+ * @type {string}
935
+ * @memberof CelebrationAssetDto
936
+ */
937
+ sha256: string;
938
+ }
939
+ /**
940
+ *
941
+ * @export
942
+ * @interface CelebrationCatalogDto
943
+ */
944
+ export interface CelebrationCatalogDto {
945
+ /**
946
+ * Schema version of the published celebration index.
947
+ * @type {number}
948
+ * @memberof CelebrationCatalogDto
949
+ */
950
+ schemaVersion: number;
951
+ /**
952
+ * Catalog revision. Changes whenever the published index changes; every pack resolved from this index reports it as catalogRevision.
953
+ * @type {string}
954
+ * @memberof CelebrationCatalogDto
955
+ */
956
+ revision: string;
957
+ /**
958
+ * Every published pack version, in index order.
959
+ * @type {Array<CelebrationCatalogPackDto>}
960
+ * @memberof CelebrationCatalogDto
961
+ */
962
+ packs: Array<CelebrationCatalogPackDto>;
963
+ /**
964
+ * Default pack per event ID. Each value names a listed pack whose eventId equals the key; invalid entries are dropped.
965
+ * @type {{ [key: string]: CelebrationPackRefDto; }}
966
+ * @memberof CelebrationCatalogDto
967
+ */
968
+ defaults: {
969
+ [key: string]: CelebrationPackRefDto;
970
+ };
971
+ }
972
+ /**
973
+ *
974
+ * @export
975
+ * @interface CelebrationCatalogPackDto
976
+ */
977
+ export interface CelebrationCatalogPackDto {
978
+ /**
979
+ * Pack ID, lowercase kebab-case.
980
+ * @type {string}
981
+ * @memberof CelebrationCatalogPackDto
982
+ */
983
+ packId: string;
984
+ /**
985
+ * Pack version, strict semver.
986
+ * @type {string}
987
+ * @memberof CelebrationCatalogPackDto
988
+ */
989
+ version: string;
990
+ /**
991
+ * Celebration event the pack belongs to.
992
+ * @type {string}
993
+ * @memberof CelebrationCatalogPackDto
994
+ */
995
+ eventId: string;
996
+ }
997
+ /**
998
+ *
999
+ * @export
1000
+ * @interface CelebrationDecorationDto
1001
+ */
1002
+ export interface CelebrationDecorationDto {
1003
+ /**
1004
+ * Decoration template ID.
1005
+ * @type {string}
1006
+ * @memberof CelebrationDecorationDto
1007
+ */
1008
+ template: string;
1009
+ /**
1010
+ * Asset ID of the trigger image.
1011
+ * @type {string}
1012
+ * @memberof CelebrationDecorationDto
1013
+ */
1014
+ posterAssetId: string;
1015
+ /**
1016
+ * Label ID of the trigger accessible name.
1017
+ * @type {string}
1018
+ * @memberof CelebrationDecorationDto
1019
+ */
1020
+ labelId: string;
1021
+ }
1022
+ /**
1023
+ *
1024
+ * @export
1025
+ * @interface CelebrationDeliveryDto
1026
+ */
1027
+ export interface CelebrationDeliveryDto {
1028
+ /**
1029
+ * Where scenes come from. Sourced from UI_EVENT_DELIVERY_MODE; bundled unless it is prefer-external.
1030
+ * @type {CelebrationDeliveryMode}
1031
+ * @memberof CelebrationDeliveryDto
1032
+ */
1033
+ mode: CelebrationDeliveryMode;
1034
+ /**
1035
+ * Operator revision of this policy, from UI_EVENT_DELIVERY_REVISION; changing it restarts a playing scene. Defaults to "0".
1036
+ * @type {string}
1037
+ * @memberof CelebrationDeliveryDto
1038
+ */
1039
+ revision: string;
1040
+ /**
1041
+ * Scenes of compiled events that may come from a pack, from UI_EVENT_EXTERNAL_SCENES. Empty by default.
1042
+ * @type {Array<CelebrationExternalSceneDto>}
1043
+ * @memberof CelebrationDeliveryDto
1044
+ */
1045
+ externalScenes: Array<CelebrationExternalSceneDto>;
1046
+ /**
1047
+ * Event IDs without a compiled module that may come entirely from a pack, from UI_EVENT_EXTERNAL_EVENTS. Empty by default.
1048
+ * @type {Array<string>}
1049
+ * @memberof CelebrationDeliveryDto
1050
+ */
1051
+ externalEvents: Array<string>;
1052
+ }
1053
+ /**
1054
+ * Where scenes come from. Sourced from UI_EVENT_DELIVERY_MODE; bundled unless it is prefer-external.
1055
+ * @export
1056
+ */
1057
+ export declare const CelebrationDeliveryMode: {
1058
+ readonly Bundled: "bundled";
1059
+ readonly PreferExternal: "prefer-external";
1060
+ };
1061
+ export type CelebrationDeliveryMode = (typeof CelebrationDeliveryMode)[keyof typeof CelebrationDeliveryMode];
1062
+ /**
1063
+ *
1064
+ * @export
1065
+ * @interface CelebrationEventDto
1066
+ */
1067
+ export interface CelebrationEventDto {
1068
+ /**
1069
+ * Label ID of the notification title.
1070
+ * @type {string}
1071
+ * @memberof CelebrationEventDto
1072
+ */
1073
+ titleLabelId: string;
1074
+ /**
1075
+ * Scenes the trigger plays, each a declared scene ID.
1076
+ * @type {Array<string>}
1077
+ * @memberof CelebrationEventDto
1078
+ */
1079
+ clickSceneIds: Array<string>;
1080
+ /**
1081
+ * Asset ID of the event icon.
1082
+ * @type {string}
1083
+ * @memberof CelebrationEventDto
1084
+ */
1085
+ iconAssetId?: string;
1086
+ /**
1087
+ * The static trigger.
1088
+ * @type {CelebrationDecorationDto}
1089
+ * @memberof CelebrationEventDto
1090
+ */
1091
+ decoration: CelebrationDecorationDto;
1092
+ }
1093
+ /**
1094
+ *
1095
+ * @export
1096
+ * @interface CelebrationExternalSceneDto
1097
+ */
1098
+ export interface CelebrationExternalSceneDto {
1099
+ /**
1100
+ * Celebration event ID.
1101
+ * @type {string}
1102
+ * @memberof CelebrationExternalSceneDto
1103
+ */
1104
+ eventId: string;
1105
+ /**
1106
+ * Scene ID within the event.
1107
+ * @type {string}
1108
+ * @memberof CelebrationExternalSceneDto
1109
+ */
1110
+ sceneId: string;
1111
+ }
1112
+ /**
1113
+ * Media type the asset is served with.
1114
+ * @export
1115
+ */
1116
+ export declare const CelebrationMediaType: {
1117
+ readonly ApplicationJson: "application/json";
1118
+ readonly ImageSvgxml: "image/svg+xml";
1119
+ readonly ImagePng: "image/png";
1120
+ readonly ImageWebp: "image/webp";
1121
+ };
1122
+ export type CelebrationMediaType = (typeof CelebrationMediaType)[keyof typeof CelebrationMediaType];
1123
+ /**
1124
+ *
1125
+ * @export
1126
+ * @interface CelebrationPackDto
1127
+ */
1128
+ export interface CelebrationPackDto {
1129
+ /**
1130
+ * Pack ID.
1131
+ * @type {string}
1132
+ * @memberof CelebrationPackDto
1133
+ */
1134
+ packId: string;
1135
+ /**
1136
+ * Pack version.
1137
+ * @type {string}
1138
+ * @memberof CelebrationPackDto
1139
+ */
1140
+ version: string;
1141
+ /**
1142
+ * Celebration event ID.
1143
+ * @type {string}
1144
+ * @memberof CelebrationPackDto
1145
+ */
1146
+ eventId: string;
1147
+ /**
1148
+ * Revision of the celebration index the pack was resolved from.
1149
+ * @type {string}
1150
+ * @memberof CelebrationPackDto
1151
+ */
1152
+ catalogRevision: string;
1153
+ /**
1154
+ * Capabilities the pack as a whole requires.
1155
+ * @type {Array<string>}
1156
+ * @memberof CelebrationPackDto
1157
+ */
1158
+ requiredCapabilities: Array<string>;
1159
+ /**
1160
+ * Every asset the pack declares.
1161
+ * @type {Array<CelebrationAssetDto>}
1162
+ * @memberof CelebrationPackDto
1163
+ */
1164
+ assets: Array<CelebrationAssetDto>;
1165
+ /**
1166
+ * Pack labels as locale → label ID → plain text. Includes en whenever it is non-empty.
1167
+ * @type {{ [key: string]: { [key: string]: string; }; }}
1168
+ * @memberof CelebrationPackDto
1169
+ */
1170
+ labels: {
1171
+ [key: string]: {
1172
+ [key: string]: string;
1173
+ };
1174
+ };
1175
+ /**
1176
+ * Event-level fields; present only for an external-only event.
1177
+ * @type {CelebrationEventDto}
1178
+ * @memberof CelebrationPackDto
1179
+ */
1180
+ event?: CelebrationEventDto;
1181
+ /**
1182
+ * Scenes in declaration order.
1183
+ * @type {Array<CelebrationSceneDto>}
1184
+ * @memberof CelebrationPackDto
1185
+ */
1186
+ scenes: Array<CelebrationSceneDto>;
1187
+ }
1188
+ /**
1189
+ *
1190
+ * @export
1191
+ * @interface CelebrationPackRefDto
1192
+ */
1193
+ export interface CelebrationPackRefDto {
1194
+ /**
1195
+ * Pack ID, lowercase kebab-case.
1196
+ * @type {string}
1197
+ * @memberof CelebrationPackRefDto
1198
+ */
1199
+ packId: string;
1200
+ /**
1201
+ * Pack version, strict semver.
1202
+ * @type {string}
1203
+ * @memberof CelebrationPackRefDto
1204
+ */
1205
+ version: string;
1206
+ }
1207
+ /**
1208
+ *
1209
+ * @export
1210
+ * @interface CelebrationPlacementDto
1211
+ */
1212
+ export interface CelebrationPlacementDto {
1213
+ /**
1214
+ * Placement template ID. Templates other than viewport-stage-v1 are passed as the ID alone, and clients without the matching capability skip the scene.
1215
+ * @type {string}
1216
+ * @memberof CelebrationPlacementDto
1217
+ */
1218
+ template: string;
1219
+ /**
1220
+ * How the stage scales into the viewport (viewport-stage-v1).
1221
+ * @type {CelebrationStageFit}
1222
+ * @memberof CelebrationPlacementDto
1223
+ */
1224
+ fit?: CelebrationStageFit;
1225
+ /**
1226
+ * Where the stage sits in the viewport, in logical terms (viewport-stage-v1).
1227
+ * @type {CelebrationStageAlign}
1228
+ * @memberof CelebrationPlacementDto
1229
+ */
1230
+ align?: CelebrationStageAlign;
1231
+ }
1232
+ /**
1233
+ * How the scene adapts to a right-to-left host.
1234
+ * @export
1235
+ */
1236
+ export declare const CelebrationSceneDirection: {
1237
+ readonly None: "none";
1238
+ readonly Mirror: "mirror";
1239
+ readonly Variant: "variant";
1240
+ };
1241
+ export type CelebrationSceneDirection = (typeof CelebrationSceneDirection)[keyof typeof CelebrationSceneDirection];
1242
+ /**
1243
+ *
1244
+ * @export
1245
+ * @interface CelebrationSceneDto
1246
+ */
1247
+ export interface CelebrationSceneDto {
1248
+ /**
1249
+ * Scene ID; a scene that replaces a bundled scene uses its bundled ID.
1250
+ * @type {string}
1251
+ * @memberof CelebrationSceneDto
1252
+ */
1253
+ id: string;
1254
+ /**
1255
+ * Label ID of the notification text shown with the scene.
1256
+ * @type {string}
1257
+ * @memberof CelebrationSceneDto
1258
+ */
1259
+ labelId: string;
1260
+ /**
1261
+ * Renderer capability ID.
1262
+ * @type {string}
1263
+ * @memberof CelebrationSceneDto
1264
+ */
1265
+ renderer: string;
1266
+ /**
1267
+ * Capabilities the client must support to play the scene.
1268
+ * @type {Array<string>}
1269
+ * @memberof CelebrationSceneDto
1270
+ */
1271
+ requiredCapabilities: Array<string>;
1272
+ /**
1273
+ * Scene placement.
1274
+ * @type {CelebrationPlacementDto}
1275
+ * @memberof CelebrationSceneDto
1276
+ */
1277
+ placement: CelebrationPlacementDto;
1278
+ /**
1279
+ * How the scene adapts to a right-to-left host.
1280
+ * @type {CelebrationSceneDirection}
1281
+ * @memberof CelebrationSceneDto
1282
+ */
1283
+ direction: CelebrationSceneDirection;
1284
+ /**
1285
+ * Scene timing.
1286
+ * @type {CelebrationTimingDto}
1287
+ * @memberof CelebrationSceneDto
1288
+ */
1289
+ timing: CelebrationTimingDto;
1290
+ /**
1291
+ * Asset ID of the static poster.
1292
+ * @type {string}
1293
+ * @memberof CelebrationSceneDto
1294
+ */
1295
+ posterAssetId: string;
1296
+ /**
1297
+ * How long the poster stays, from 1000 to maxLifetimeMs.
1298
+ * @type {number}
1299
+ * @memberof CelebrationSceneDto
1300
+ */
1301
+ posterDurationMs: number;
1302
+ /**
1303
+ * One to eight variants, in declaration order.
1304
+ * @type {Array<CelebrationVariantDto>}
1305
+ * @memberof CelebrationSceneDto
1306
+ */
1307
+ variants: Array<CelebrationVariantDto>;
1308
+ }
1309
+ /**
1310
+ * Where the stage sits in the viewport, in logical terms (viewport-stage-v1).
1311
+ * @export
1312
+ */
1313
+ export declare const CelebrationStageAlign: {
1314
+ readonly Center: "center";
1315
+ readonly Top: "top";
1316
+ readonly Bottom: "bottom";
1317
+ readonly TopStart: "top-start";
1318
+ readonly TopEnd: "top-end";
1319
+ readonly BottomStart: "bottom-start";
1320
+ readonly BottomEnd: "bottom-end";
1321
+ };
1322
+ export type CelebrationStageAlign = (typeof CelebrationStageAlign)[keyof typeof CelebrationStageAlign];
1323
+ /**
1324
+ * How the stage scales into the viewport (viewport-stage-v1).
1325
+ * @export
1326
+ */
1327
+ export declare const CelebrationStageFit: {
1328
+ readonly Contain: "contain";
1329
+ readonly Cover: "cover";
1330
+ };
1331
+ export type CelebrationStageFit = (typeof CelebrationStageFit)[keyof typeof CelebrationStageFit];
1332
+ /**
1333
+ *
1334
+ * @export
1335
+ * @interface CelebrationTimingDto
1336
+ */
1337
+ export interface CelebrationTimingDto {
1338
+ /**
1339
+ * Authored story length.
1340
+ * @type {number}
1341
+ * @memberof CelebrationTimingDto
1342
+ */
1343
+ playbackDurationMs: number;
1344
+ /**
1345
+ * Time allowed for the player and animation data, at most 2000.
1346
+ * @type {number}
1347
+ * @memberof CelebrationTimingDto
1348
+ */
1349
+ loadTimeoutMs: number;
1350
+ /**
1351
+ * Time from loadAnimation to renderer readiness, at most 250.
1352
+ * @type {number}
1353
+ * @memberof CelebrationTimingDto
1354
+ */
1355
+ readyTimeoutMs: number;
1356
+ /**
1357
+ * Total lifetime from mount, at least load + ready + playback and at most 32000.
1358
+ * @type {number}
1359
+ * @memberof CelebrationTimingDto
1360
+ */
1361
+ maxLifetimeMs: number;
1362
+ }
1363
+ /**
1364
+ * Required color scheme.
1365
+ * @export
1366
+ */
1367
+ export declare const CelebrationVariantColorScheme: {
1368
+ readonly Light: "light";
1369
+ readonly Dark: "dark";
1370
+ };
1371
+ export type CelebrationVariantColorScheme = (typeof CelebrationVariantColorScheme)[keyof typeof CelebrationVariantColorScheme];
1372
+ /**
1373
+ *
1374
+ * @export
1375
+ * @interface CelebrationVariantConditionsDto
1376
+ */
1377
+ export interface CelebrationVariantConditionsDto {
1378
+ /**
1379
+ * Required host layout.
1380
+ * @type {CelebrationVariantLayout}
1381
+ * @memberof CelebrationVariantConditionsDto
1382
+ */
1383
+ layout?: CelebrationVariantLayout;
1384
+ /**
1385
+ * Required text direction.
1386
+ * @type {CelebrationVariantDirection}
1387
+ * @memberof CelebrationVariantConditionsDto
1388
+ */
1389
+ direction?: CelebrationVariantDirection;
1390
+ /**
1391
+ * Required color scheme.
1392
+ * @type {CelebrationVariantColorScheme}
1393
+ * @memberof CelebrationVariantConditionsDto
1394
+ */
1395
+ colorScheme?: CelebrationVariantColorScheme;
1396
+ }
1397
+ /**
1398
+ * Required text direction.
1399
+ * @export
1400
+ */
1401
+ export declare const CelebrationVariantDirection: {
1402
+ readonly Ltr: "ltr";
1403
+ readonly Rtl: "rtl";
1404
+ };
1405
+ export type CelebrationVariantDirection = (typeof CelebrationVariantDirection)[keyof typeof CelebrationVariantDirection];
1406
+ /**
1407
+ *
1408
+ * @export
1409
+ * @interface CelebrationVariantDto
1410
+ */
1411
+ export interface CelebrationVariantDto {
1412
+ /**
1413
+ * Conditions the variant requires.
1414
+ * @type {CelebrationVariantConditionsDto}
1415
+ * @memberof CelebrationVariantDto
1416
+ */
1417
+ when: CelebrationVariantConditionsDto;
1418
+ /**
1419
+ * Asset ID of the Lottie JSON.
1420
+ * @type {string}
1421
+ * @memberof CelebrationVariantDto
1422
+ */
1423
+ animationAssetId: string;
1424
+ }
1425
+ /**
1426
+ * Required host layout.
1427
+ * @export
1428
+ */
1429
+ export declare const CelebrationVariantLayout: {
1430
+ readonly Mobile: "mobile";
1431
+ readonly Desktop: "desktop";
1432
+ };
1433
+ export type CelebrationVariantLayout = (typeof CelebrationVariantLayout)[keyof typeof CelebrationVariantLayout];
908
1434
  /**
909
1435
  *
910
1436
  * @export
@@ -1233,6 +1759,12 @@ export interface ClientConfigDto {
1233
1759
  * @memberof ClientConfigDto
1234
1760
  */
1235
1761
  celebrationsEnabledByDefault: boolean;
1762
+ /**
1763
+ * Operator policy for external celebration packs, from UI_EVENT_DELIVERY_MODE, UI_EVENT_DELIVERY_REVISION, UI_EVENT_EXTERNAL_SCENES and UI_EVENT_EXTERNAL_EVENTS. The default is bundled with empty lists, in which case the client makes no celebration request.
1764
+ * @type {CelebrationDeliveryDto}
1765
+ * @memberof ClientConfigDto
1766
+ */
1767
+ celebrationDelivery: CelebrationDeliveryDto;
1236
1768
  /**
1237
1769
  * Maximum size in bytes of one project context file. Sourced from PROJECT_CONTEXT_FILE_MAX_BYTES, which POST /api/v1/projects enforces.
1238
1770
  * @type {number}