@lumiastream/lumia-types 3.2.9 → 3.3.1

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.
@@ -287,6 +287,10 @@ export declare enum LumiaAlertValues {
287
287
  YOUTUBE_SUPERSTICKER = "youtube-supersticker",
288
288
  /** YouTube session superstickers */
289
289
  YOUTUBE_SESSION_SUPERSTICKERS = "youtube-sessionSuperstickers",
290
+ /** YouTube gift event (jewel-based) */
291
+ YOUTUBE_GIFTS = "youtube-gifts",
292
+ /** YouTube session gifts */
293
+ YOUTUBE_SESSION_GIFTS = "youtube-sessionGifts",
290
294
  /** YouTube total likes */
291
295
  YOUTUBE_LIKE = "youtube-like",
292
296
  /** YouTube total views */
@@ -622,6 +626,8 @@ export declare const LumiaAlertFriendlyValues: {
622
626
  "youtube-subscriber": string;
623
627
  "youtube-superchat": string;
624
628
  "youtube-supersticker": string;
629
+ "youtube-gifts": string;
630
+ "youtube-sessionGifts": string;
625
631
  "youtube-entrance": string;
626
632
  "youtube-like": string;
627
633
  "youtube-viewers": string;
@@ -303,6 +303,10 @@ var LumiaAlertValues;
303
303
  LumiaAlertValues["YOUTUBE_SUPERSTICKER"] = "youtube-supersticker";
304
304
  /** YouTube session superstickers */
305
305
  LumiaAlertValues["YOUTUBE_SESSION_SUPERSTICKERS"] = "youtube-sessionSuperstickers";
306
+ /** YouTube gift event (jewel-based) */
307
+ LumiaAlertValues["YOUTUBE_GIFTS"] = "youtube-gifts";
308
+ /** YouTube session gifts */
309
+ LumiaAlertValues["YOUTUBE_SESSION_GIFTS"] = "youtube-sessionGifts";
306
310
  /** YouTube total likes */
307
311
  LumiaAlertValues["YOUTUBE_LIKE"] = "youtube-like";
308
312
  /** YouTube total views */
@@ -652,6 +656,8 @@ exports.LumiaAlertFriendlyValues = {
652
656
  [LumiaAlertValues.YOUTUBE_SUBSCRIBER]: 'Youtube Subscriber',
653
657
  [LumiaAlertValues.YOUTUBE_SUPERCHAT]: 'Youtube Superchat',
654
658
  [LumiaAlertValues.YOUTUBE_SUPERSTICKER]: 'Youtube Supersticker',
659
+ [LumiaAlertValues.YOUTUBE_GIFTS]: 'Youtube Gifts',
660
+ [LumiaAlertValues.YOUTUBE_SESSION_GIFTS]: 'Youtube Session Gifts',
655
661
  [LumiaAlertValues.YOUTUBE_ENTRANCE]: 'Youtube Entrance',
656
662
  [LumiaAlertValues.YOUTUBE_LIKE]: 'Youtube Like',
657
663
  [LumiaAlertValues.YOUTUBE_VIEWERS]: 'Youtube Viewers',
@@ -3906,6 +3906,152 @@ exports.LumiaAlertConfigs = {
3906
3906
  { type: LumiaVariationConditions.COUNT_IS_MULTIPLE_OF, description: 'Total Session Gift Member Count is a multiple of' },
3907
3907
  ],
3908
3908
  },
3909
+ [activity_types_1.LumiaAlertValues.YOUTUBE_GIFTS]: {
3910
+ connection: event_types_1.LumiaIntegrations.YOUTUBE,
3911
+ message: '{{username}} sent x{{comboCount}} {{giftName}} ({{jewelsAmount}} jewels)',
3912
+ eventlistMessage: 'Gift',
3913
+ eventlistDetailedMessage: 'sent x{{comboCount}} {{giftName}} worth {{jewelsAmount}} jewels',
3914
+ acceptedVariables: variables_types_1.AllVariables.youtube.alerts.gifts,
3915
+ quickActions: [
3916
+ {
3917
+ label: '10 Jewels',
3918
+ dynamic: { value: 10, name: 'Heart' },
3919
+ extraSettings: {
3920
+ username: 'lumiastream',
3921
+ displayname: 'LumiaStream',
3922
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
3923
+ giftName: 'Heart',
3924
+ jewelsAmount: 10,
3925
+ totalJewels: 10,
3926
+ comboCount: 1,
3927
+ hasVisualEffect: false,
3928
+ },
3929
+ },
3930
+ {
3931
+ label: '100 Jewels',
3932
+ dynamic: { value: 100, name: 'Rose' },
3933
+ extraSettings: {
3934
+ username: 'lumiastream',
3935
+ displayname: 'LumiaStream',
3936
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
3937
+ giftName: 'Rose',
3938
+ jewelsAmount: 100,
3939
+ totalJewels: 100,
3940
+ comboCount: 1,
3941
+ hasVisualEffect: true,
3942
+ },
3943
+ },
3944
+ {
3945
+ label: '500 Jewels Combo',
3946
+ dynamic: { value: 500, name: 'Star' },
3947
+ extraSettings: {
3948
+ username: 'lumiastream',
3949
+ displayname: 'LumiaStream',
3950
+ avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
3951
+ giftName: 'Star',
3952
+ jewelsAmount: 500,
3953
+ totalJewels: 500,
3954
+ comboCount: 5,
3955
+ hasVisualEffect: true,
3956
+ },
3957
+ },
3958
+ ],
3959
+ inputFields: [
3960
+ {
3961
+ type: 'text',
3962
+ label: 'Username',
3963
+ variableField: 'username',
3964
+ required: false,
3965
+ default: 'lumiastream',
3966
+ },
3967
+ {
3968
+ type: 'text',
3969
+ label: 'Gift Name',
3970
+ variableField: 'giftName',
3971
+ required: false,
3972
+ default: 'Rose',
3973
+ },
3974
+ {
3975
+ type: 'number',
3976
+ label: 'Jewels Amount',
3977
+ dynamicField: 'value',
3978
+ variableField: 'jewelsAmount',
3979
+ required: true,
3980
+ default: 100,
3981
+ },
3982
+ {
3983
+ type: 'number',
3984
+ label: 'Combo Count',
3985
+ variableField: 'comboCount',
3986
+ required: false,
3987
+ default: 1,
3988
+ },
3989
+ ],
3990
+ LumiaVariationConditions: [
3991
+ { type: LumiaVariationConditions.RANDOM },
3992
+ {
3993
+ type: LumiaVariationConditions.EQUAL_STRING,
3994
+ description: 'Gift Name is equal to',
3995
+ },
3996
+ {
3997
+ type: LumiaVariationConditions.EQUAL_NUMBER,
3998
+ description: 'Jewels is equal to',
3999
+ },
4000
+ {
4001
+ type: LumiaVariationConditions.GREATER_NUMBER,
4002
+ description: 'Jewels is greater than',
4003
+ },
4004
+ { type: LumiaVariationConditions.EQUAL_USERNAME },
4005
+ { type: LumiaVariationConditions.EQUAL_VARIABLE },
4006
+ ],
4007
+ },
4008
+ [activity_types_1.LumiaAlertValues.YOUTUBE_SESSION_GIFTS]: {
4009
+ connection: event_types_1.LumiaIntegrations.YOUTUBE,
4010
+ message: 'Reached {{total}} jewels this session',
4011
+ eventlistMessage: 'Total Gifts {{total}}',
4012
+ eventlistDetailedMessage: 'reached {{total}} jewels',
4013
+ acceptedVariables: variables_types_1.AllVariables.youtube.alerts.sessionGifts,
4014
+ eventlistSpecialUsername: 'Total Gifts',
4015
+ quickActions: [
4016
+ {
4017
+ label: '100 Total Jewels',
4018
+ dynamic: { value: 100, total: 100, previousTotal: 50 },
4019
+ extraSettings: { total: 100, previousTotal: 50 },
4020
+ },
4021
+ {
4022
+ label: '500 Total Jewels',
4023
+ dynamic: { value: 500, total: 500, previousTotal: 100 },
4024
+ extraSettings: { total: 500, previousTotal: 100 },
4025
+ },
4026
+ {
4027
+ label: '1000 Total Jewels',
4028
+ dynamic: { value: 1000, total: 1000, previousTotal: 500 },
4029
+ extraSettings: { total: 1000, previousTotal: 500 },
4030
+ },
4031
+ ],
4032
+ inputFields: [
4033
+ {
4034
+ type: 'number',
4035
+ label: 'Total Jewels',
4036
+ dynamicField: 'value',
4037
+ variableField: 'total',
4038
+ required: true,
4039
+ default: 100,
4040
+ },
4041
+ {
4042
+ type: 'number',
4043
+ label: 'Previous Total',
4044
+ dynamicField: 'previousTotal',
4045
+ variableField: 'previousTotal',
4046
+ required: false,
4047
+ default: 0,
4048
+ },
4049
+ ],
4050
+ LumiaVariationConditions: [
4051
+ { type: LumiaVariationConditions.GREATER_NUMBER, description: 'Total Session Jewels Greater Than' },
4052
+ { type: LumiaVariationConditions.COUNT_IS_MULTIPLE_OF, description: 'Total Session Jewels is a multiple of' },
4053
+ ],
4054
+ },
3909
4055
  [activity_types_1.LumiaAlertValues.YOUTUBE_SUPERCHAT]: {
3910
4056
  connection: event_types_1.LumiaIntegrations.YOUTUBE,
3911
4057
  message: '{{username}} just super chatted with {{currencySymbol}}{{amount}}. They said {{message}}',
@@ -13,28 +13,43 @@ title: Important notes
13
13
  The different options are: `isSelf, mod, vip, tier3, tier2, tier1, subscriber, follower`.
14
14
  In your code you should use `const levels = await getVariable('userLevelsRaw');` and then you can check a level with `if (levels.subscriber) {}` since these are all booleans
15
15
 
16
- - We also expose `{{originType}}` so your custom code can tell where the activity came from. Use `const originType = await getVariable('originType');` when you need to branch between alerts and command-based triggers.
17
- Common values are: `alert`, `chat`, `chatbot`, `twitch-points`, `twitch-extension`, `kick-points`, `system`, and `api`.
18
- Important: "commands" are not a single origin type. If you want to run only for command-style triggers you will usually want to check for a list like `chat`, `chatbot`, `twitch-points`, `twitch-extension`, and `kick-points`.
16
+ ## Origin and queue type variables
17
+
18
+ We expose `{{originType}}` and `{{queueType}}` so custom code can tell where an activity came from and what kind of queued activity is running.
19
+
20
+ Use `originType` when you want to branch by the source of the activity. Use `queueType` when you need the specific command category that Lumia is executing.
21
+
22
+ | Variable | What it means | Common values |
23
+ | --- | --- | --- |
24
+ | `originType` | Where the activity came from. This controls queue priority and groups similar sources together. | `alert`, `chat`, `chatbot`, `twitch-points`, `twitch-extension`, `kick-points`, `system`, `api`, `streamdeck`, `touchportal`, `loupedeck`, `avermedia`, `lumiastreamlink` |
25
+ | `queueType` | The specific queued command/activity type. This is the best value to check when you need to distinguish a normal chat command from a chat match. | `alert`, `chat-command`, `chatbot-command`, `chat-match`, `twitch-points`, `twitch-points-output`, `twitch-extension`, `twitch-extension-hfx`, `kick-points` |
26
+
27
+ Important: "commands" are not a single `originType`. A normal chat command uses `originType: "chat"` and `queueType: "chat-command"`, while a chat match also uses `originType: "chat"` but uses `queueType: "chat-match"`.
19
28
 
20
29
  ```js
21
30
  async function() {
22
31
  const originType = await getVariable('originType');
23
- const commandOrigins = ['chat', 'chatbot', 'twitch-points', 'twitch-extension', 'kick-points'];
32
+ const queueType = await getVariable('queueType');
24
33
 
25
- if (originType === 'alert') {
26
- chatbot({ message: 'This custom code was triggered by an alert.' });
34
+ if (queueType === 'chat-match') {
35
+ log('This ran from a chat match.');
27
36
  done();
28
37
  return;
29
38
  }
30
39
 
31
- if (commandOrigins.includes(originType)) {
32
- chatbot({ message: `Command trigger detected from ${originType}.` });
40
+ if (queueType === 'chat-command') {
41
+ log('This ran from a normal chat command.');
42
+ done();
43
+ return;
44
+ }
45
+
46
+ if (originType === 'alert') {
47
+ log('This ran from an alert.');
33
48
  done();
34
49
  return;
35
50
  }
36
51
 
37
- log(`Skipping custom code for originType: ${originType}`);
52
+ log(`Skipping custom code for originType=${originType}, queueType=${queueType}`);
38
53
  done();
39
54
  }
40
55
  ```
@@ -575,6 +575,10 @@ export declare enum LumiaAlertValues {
575
575
  YOUTUBE_SUPERSTICKER = "youtube-supersticker",
576
576
  /** YouTube session superstickers */
577
577
  YOUTUBE_SESSION_SUPERSTICKERS = "youtube-sessionSuperstickers",
578
+ /** YouTube gift event (jewel-based) */
579
+ YOUTUBE_GIFTS = "youtube-gifts",
580
+ /** YouTube session gifts */
581
+ YOUTUBE_SESSION_GIFTS = "youtube-sessionGifts",
578
582
  /** YouTube total likes */
579
583
  YOUTUBE_LIKE = "youtube-like",
580
584
  /** YouTube total views */
@@ -1210,6 +1214,16 @@ export declare enum SystemVariables {
1210
1214
  YOUTUBE_LAST_GIFT_MEMBER = "youtube_last_gift_member",
1211
1215
  /** Session gift members (list). Use as {{youtube_session_gift_members}}. */
1212
1216
  YOUTUBE_SESSION_GIFT_MEMBERS = "youtube_session_gift_members",
1217
+ /** Lifetime jewels count. Use as {{youtube_total_jewels_count}}. */
1218
+ YOUTUBE_TOTAL_JEWELS_COUNT = "youtube_total_jewels_count",
1219
+ /** Session jewels count. Use as {{youtube_session_jewels_count}}. */
1220
+ YOUTUBE_SESSION_JEWELS_COUNT = "youtube_session_jewels_count",
1221
+ /** Last jewel amount. Use as {{youtube_last_jewels}}. */
1222
+ YOUTUBE_LAST_JEWELS = "youtube_last_jewels",
1223
+ /** Last user that sent jewels. Use as {{youtube_last_jewels_user}}. */
1224
+ YOUTUBE_LAST_JEWELS_USER = "youtube_last_jewels_user",
1225
+ /** Session jewel gifters (list). Use as {{youtube_session_jewels_gifters}}. */
1226
+ YOUTUBE_SESSION_JEWELS_GIFTERS = "youtube_session_jewels_gifters",
1213
1227
  /** Last subscriber. Use as {{youtube_last_subscriber}}. */
1214
1228
  YOUTUBE_LAST_SUBSCRIBER = "youtube_last_subscriber",
1215
1229
  /** Total uploaded videos. Use as {{youtube_total_video_count}}. */
@@ -575,6 +575,10 @@ export declare enum LumiaAlertValues {
575
575
  YOUTUBE_SUPERSTICKER = "youtube-supersticker",
576
576
  /** YouTube session superstickers */
577
577
  YOUTUBE_SESSION_SUPERSTICKERS = "youtube-sessionSuperstickers",
578
+ /** YouTube gift event (jewel-based) */
579
+ YOUTUBE_GIFTS = "youtube-gifts",
580
+ /** YouTube session gifts */
581
+ YOUTUBE_SESSION_GIFTS = "youtube-sessionGifts",
578
582
  /** YouTube total likes */
579
583
  YOUTUBE_LIKE = "youtube-like",
580
584
  /** YouTube total views */
@@ -1210,6 +1214,16 @@ export declare enum SystemVariables {
1210
1214
  YOUTUBE_LAST_GIFT_MEMBER = "youtube_last_gift_member",
1211
1215
  /** Session gift members (list). Use as {{youtube_session_gift_members}}. */
1212
1216
  YOUTUBE_SESSION_GIFT_MEMBERS = "youtube_session_gift_members",
1217
+ /** Lifetime jewels count. Use as {{youtube_total_jewels_count}}. */
1218
+ YOUTUBE_TOTAL_JEWELS_COUNT = "youtube_total_jewels_count",
1219
+ /** Session jewels count. Use as {{youtube_session_jewels_count}}. */
1220
+ YOUTUBE_SESSION_JEWELS_COUNT = "youtube_session_jewels_count",
1221
+ /** Last jewel amount. Use as {{youtube_last_jewels}}. */
1222
+ YOUTUBE_LAST_JEWELS = "youtube_last_jewels",
1223
+ /** Last user that sent jewels. Use as {{youtube_last_jewels_user}}. */
1224
+ YOUTUBE_LAST_JEWELS_USER = "youtube_last_jewels_user",
1225
+ /** Session jewel gifters (list). Use as {{youtube_session_jewels_gifters}}. */
1226
+ YOUTUBE_SESSION_JEWELS_GIFTERS = "youtube_session_jewels_gifters",
1213
1227
  /** Last subscriber. Use as {{youtube_last_subscriber}}. */
1214
1228
  YOUTUBE_LAST_SUBSCRIBER = "youtube_last_subscriber",
1215
1229
  /** Total uploaded videos. Use as {{youtube_total_video_count}}. */
@@ -20,6 +20,7 @@ export interface ILumiaSendPack {
20
20
  username?: string;
21
21
  bits?: number;
22
22
  originType?: LumiaActivityOriginTypes;
23
+ queueType?: LumiaActivityCommandTypes;
23
24
  };
24
25
  };
25
26
  }
@@ -116,6 +116,7 @@ export declare const LumiaMapAlertTypeToEventListType: {
116
116
  "youtube-subscriber": LumiaEventListTypes;
117
117
  "youtube-superchat": LumiaEventListTypes;
118
118
  "youtube-supersticker": LumiaEventListTypes;
119
+ "youtube-gifts": LumiaEventListTypes;
119
120
  "youtube-like": LumiaEventListTypes;
120
121
  "youtube-viewers": LumiaEventListTypes;
121
122
  "crowdcontrol-effect": LumiaEventListTypes;
@@ -121,6 +121,7 @@ exports.LumiaMapAlertTypeToEventListType = {
121
121
  [activity_types_1.LumiaAlertValues.YOUTUBE_SUBSCRIBER]: LumiaEventListTypes.FOLLOWER,
122
122
  [activity_types_1.LumiaAlertValues.YOUTUBE_SUPERCHAT]: LumiaEventListTypes.SUPERCHATS,
123
123
  [activity_types_1.LumiaAlertValues.YOUTUBE_SUPERSTICKER]: LumiaEventListTypes.SUPERSTICKERS,
124
+ [activity_types_1.LumiaAlertValues.YOUTUBE_GIFTS]: LumiaEventListTypes.GIFTS,
124
125
  [activity_types_1.LumiaAlertValues.YOUTUBE_LIKE]: LumiaEventListTypes.LIKES,
125
126
  [activity_types_1.LumiaAlertValues.YOUTUBE_VIEWERS]: LumiaEventListTypes.OTHERS,
126
127
  [activity_types_1.LumiaAlertValues.CROWDCONTROL_EFFECT]: LumiaEventListTypes.OTHERS,
@@ -367,6 +367,16 @@ export declare enum SystemVariables {
367
367
  YOUTUBE_LAST_GIFT_MEMBER = "youtube_last_gift_member",
368
368
  /** Session gift members (list). Use as {{youtube_session_gift_members}}. */
369
369
  YOUTUBE_SESSION_GIFT_MEMBERS = "youtube_session_gift_members",
370
+ /** Lifetime jewels count. Use as {{youtube_total_jewels_count}}. */
371
+ YOUTUBE_TOTAL_JEWELS_COUNT = "youtube_total_jewels_count",
372
+ /** Session jewels count. Use as {{youtube_session_jewels_count}}. */
373
+ YOUTUBE_SESSION_JEWELS_COUNT = "youtube_session_jewels_count",
374
+ /** Last jewel amount. Use as {{youtube_last_jewels}}. */
375
+ YOUTUBE_LAST_JEWELS = "youtube_last_jewels",
376
+ /** Last user that sent jewels. Use as {{youtube_last_jewels_user}}. */
377
+ YOUTUBE_LAST_JEWELS_USER = "youtube_last_jewels_user",
378
+ /** Session jewel gifters (list). Use as {{youtube_session_jewels_gifters}}. */
379
+ YOUTUBE_SESSION_JEWELS_GIFTERS = "youtube_session_jewels_gifters",
370
380
  /** Last subscriber. Use as {{youtube_last_subscriber}}. */
371
381
  YOUTUBE_LAST_SUBSCRIBER = "youtube_last_subscriber",
372
382
  /** Total uploaded videos. Use as {{youtube_total_video_count}}. */
@@ -1039,6 +1049,8 @@ export declare const AllVariables: {
1039
1049
  sessionMembers: string[];
1040
1050
  giftMembers: string[];
1041
1051
  sessionGiftMembers: string[];
1052
+ gifts: string[];
1053
+ sessionGifts: string[];
1042
1054
  superchat: string[];
1043
1055
  sessionSuperchats: string[];
1044
1056
  supersticker: string[];
@@ -381,6 +381,16 @@ var SystemVariables;
381
381
  SystemVariables["YOUTUBE_LAST_GIFT_MEMBER"] = "youtube_last_gift_member";
382
382
  /** Session gift members (list). Use as {{youtube_session_gift_members}}. */
383
383
  SystemVariables["YOUTUBE_SESSION_GIFT_MEMBERS"] = "youtube_session_gift_members";
384
+ /** Lifetime jewels count. Use as {{youtube_total_jewels_count}}. */
385
+ SystemVariables["YOUTUBE_TOTAL_JEWELS_COUNT"] = "youtube_total_jewels_count";
386
+ /** Session jewels count. Use as {{youtube_session_jewels_count}}. */
387
+ SystemVariables["YOUTUBE_SESSION_JEWELS_COUNT"] = "youtube_session_jewels_count";
388
+ /** Last jewel amount. Use as {{youtube_last_jewels}}. */
389
+ SystemVariables["YOUTUBE_LAST_JEWELS"] = "youtube_last_jewels";
390
+ /** Last user that sent jewels. Use as {{youtube_last_jewels_user}}. */
391
+ SystemVariables["YOUTUBE_LAST_JEWELS_USER"] = "youtube_last_jewels_user";
392
+ /** Session jewel gifters (list). Use as {{youtube_session_jewels_gifters}}. */
393
+ SystemVariables["YOUTUBE_SESSION_JEWELS_GIFTERS"] = "youtube_session_jewels_gifters";
384
394
  /** Last subscriber. Use as {{youtube_last_subscriber}}. */
385
395
  SystemVariables["YOUTUBE_LAST_SUBSCRIBER"] = "youtube_last_subscriber";
386
396
  /** Total uploaded videos. Use as {{youtube_total_video_count}}. */
@@ -724,6 +734,7 @@ exports.ReservedVariables = [
724
734
  'value',
725
735
  'site',
726
736
  'originType',
737
+ 'queueType',
727
738
  'command',
728
739
  'merch',
729
740
  'message',
@@ -942,6 +953,7 @@ exports.AllVariables = {
942
953
  'channelDescription',
943
954
  'channelViews',
944
955
  'originType',
956
+ 'queueType',
945
957
  'command',
946
958
  'message',
947
959
  'messageId',
@@ -967,6 +979,7 @@ exports.AllVariables = {
967
979
  'channelDescription',
968
980
  'channelViews',
969
981
  'originType',
982
+ 'queueType',
970
983
  'command',
971
984
  'message',
972
985
  'messageId',
@@ -988,6 +1001,7 @@ exports.AllVariables = {
988
1001
  'channelDescription',
989
1002
  'channelViews',
990
1003
  'originType',
1004
+ 'queueType',
991
1005
  'command',
992
1006
  'prompt',
993
1007
  'message',
@@ -1005,6 +1019,7 @@ exports.AllVariables = {
1005
1019
  'channelDescription',
1006
1020
  'channelViews',
1007
1021
  'originType',
1022
+ 'queueType',
1008
1023
  'command',
1009
1024
  'prompt',
1010
1025
  'message',
@@ -1022,6 +1037,7 @@ exports.AllVariables = {
1022
1037
  'channelDescription',
1023
1038
  'channelViews',
1024
1039
  'originType',
1040
+ 'queueType',
1025
1041
  'command',
1026
1042
  'prompt',
1027
1043
  'message',
@@ -1032,7 +1048,7 @@ exports.AllVariables = {
1032
1048
  'points_cost',
1033
1049
  ],
1034
1050
  fileWatcher: ['content', 'file', 'path', 'timestamp'],
1035
- chatmatch: ['language_detect_result', 'detected_language', 'detected_language_code'],
1051
+ chatmatch: ['originType', 'queueType', 'language_detect_result', 'detected_language', 'detected_language_code'],
1036
1052
  commands: [
1037
1053
  'get_all_commands',
1038
1054
  'get_commands',
@@ -1045,6 +1061,7 @@ exports.AllVariables = {
1045
1061
  'channelDescription',
1046
1062
  'channelViews',
1047
1063
  'originType',
1064
+ 'queueType',
1048
1065
  'command',
1049
1066
  'message',
1050
1067
  'messageId',
@@ -2011,6 +2028,11 @@ exports.AllVariables = {
2011
2028
  'youtube_session_gift_members_count',
2012
2029
  'youtube_last_gift_member',
2013
2030
  'youtube_session_gift_members',
2031
+ 'youtube_total_jewels_count',
2032
+ 'youtube_session_jewels_count',
2033
+ 'youtube_last_jewels',
2034
+ 'youtube_last_jewels_user',
2035
+ 'youtube_session_jewels_gifters',
2014
2036
  'youtube_total_video_count',
2015
2037
  'youtube_total_view_count',
2016
2038
  ],
@@ -2040,6 +2062,22 @@ exports.AllVariables = {
2040
2062
  'subPlanName',
2041
2063
  ],
2042
2064
  sessionGiftMembers: ['total', 'previousTotal'],
2065
+ gifts: [
2066
+ 'username',
2067
+ 'displayname',
2068
+ 'avatar',
2069
+ 'userId',
2070
+ 'jewelsAmount',
2071
+ 'totalJewels',
2072
+ 'comboCount',
2073
+ 'giftName',
2074
+ 'giftUrl',
2075
+ 'hasVisualEffect',
2076
+ 'altText',
2077
+ 'language',
2078
+ 'message',
2079
+ ],
2080
+ sessionGifts: ['total', 'previousTotal'],
2043
2081
  superchat: ['username', 'displayname', 'currency', 'currencySymbol', 'amount', 'message'],
2044
2082
  sessionSuperchats: ['total', 'previousTotal', 'currency', 'currencySymbol'],
2045
2083
  supersticker: ['username', 'displayname', 'stickerId', 'stickerName', 'amount', 'currency', 'currencySymbol', 'imageUrl'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumiastream/lumia-types",
3
- "version": "3.2.9",
3
+ "version": "3.3.1",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "files": [