@lumiastream/lumia-types 3.7.1 → 3.7.3

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.
@@ -253,6 +253,16 @@ export declare enum LumiaAlertValues {
253
253
  TWITCH_TIMEOUT_OVER = "twitch-timeoutOver",
254
254
  /** Shoutout received */
255
255
  TWITCH_SHOUTOUT_RECEIVE = "twitch-shoutoutReceive",
256
+ /** User warned */
257
+ TWITCH_WARNED = "twitch-warned",
258
+ /** Suspicious user sent a message */
259
+ TWITCH_SUSPICIOUS_USER_MESSAGE = "twitch-suspiciousUserMessage",
260
+ /** Suspicious user treatment updated */
261
+ TWITCH_SUSPICIOUS_USER_UPDATED = "twitch-suspiciousUserUpdated",
262
+ /** Shield mode started */
263
+ TWITCH_SHIELD_MODE_STARTED = "twitch-shieldModeStarted",
264
+ /** Shield mode ended */
265
+ TWITCH_SHIELD_MODE_ENDED = "twitch-shieldModeEnded",
256
266
  /** Ad break started */
257
267
  TWITCH_AD_STARTED = "twitch-adStarted",
258
268
  /** Ad break ended */
@@ -624,6 +634,11 @@ export declare const LumiaAlertFriendlyValues: {
624
634
  "twitch-timeout": string;
625
635
  "twitch-timeoutOver": string;
626
636
  "twitch-shoutoutReceive": string;
637
+ "twitch-warned": string;
638
+ "twitch-suspiciousUserMessage": string;
639
+ "twitch-suspiciousUserUpdated": string;
640
+ "twitch-shieldModeStarted": string;
641
+ "twitch-shieldModeEnded": string;
627
642
  "twitch-adStarted": string;
628
643
  "twitch-adStopped": string;
629
644
  "twitch-watchStreak": string;
@@ -271,6 +271,16 @@ var LumiaAlertValues;
271
271
  LumiaAlertValues["TWITCH_TIMEOUT_OVER"] = "twitch-timeoutOver";
272
272
  /** Shoutout received */
273
273
  LumiaAlertValues["TWITCH_SHOUTOUT_RECEIVE"] = "twitch-shoutoutReceive";
274
+ /** User warned */
275
+ LumiaAlertValues["TWITCH_WARNED"] = "twitch-warned";
276
+ /** Suspicious user sent a message */
277
+ LumiaAlertValues["TWITCH_SUSPICIOUS_USER_MESSAGE"] = "twitch-suspiciousUserMessage";
278
+ /** Suspicious user treatment updated */
279
+ LumiaAlertValues["TWITCH_SUSPICIOUS_USER_UPDATED"] = "twitch-suspiciousUserUpdated";
280
+ /** Shield mode started */
281
+ LumiaAlertValues["TWITCH_SHIELD_MODE_STARTED"] = "twitch-shieldModeStarted";
282
+ /** Shield mode ended */
283
+ LumiaAlertValues["TWITCH_SHIELD_MODE_ENDED"] = "twitch-shieldModeEnded";
274
284
  /** Ad break started */
275
285
  LumiaAlertValues["TWITCH_AD_STARTED"] = "twitch-adStarted";
276
286
  /** Ad break ended */
@@ -657,6 +667,11 @@ exports.LumiaAlertFriendlyValues = {
657
667
  [LumiaAlertValues.TWITCH_TIMEOUT]: 'Twitch Timeout',
658
668
  [LumiaAlertValues.TWITCH_TIMEOUT_OVER]: 'Twitch Timeout Over',
659
669
  [LumiaAlertValues.TWITCH_SHOUTOUT_RECEIVE]: 'Twitch Shoutout Receive',
670
+ [LumiaAlertValues.TWITCH_WARNED]: 'Twitch User Warned',
671
+ [LumiaAlertValues.TWITCH_SUSPICIOUS_USER_MESSAGE]: 'Twitch Suspicious User Message',
672
+ [LumiaAlertValues.TWITCH_SUSPICIOUS_USER_UPDATED]: 'Twitch Suspicious User Updated',
673
+ [LumiaAlertValues.TWITCH_SHIELD_MODE_STARTED]: 'Twitch Shield Mode Started',
674
+ [LumiaAlertValues.TWITCH_SHIELD_MODE_ENDED]: 'Twitch Shield Mode Ended',
660
675
  [LumiaAlertValues.TWITCH_AD_STARTED]: 'Twitch Ad Started',
661
676
  [LumiaAlertValues.TWITCH_AD_STOPPED]: 'Twitch Ad Stopped',
662
677
  [LumiaAlertValues.TWITCH_WATCH_STREAK]: 'Twitch Watch Streak',
@@ -3437,6 +3437,174 @@ exports.LumiaAlertConfigs = {
3437
3437
  { type: LumiaVariationConditions.EQUAL_VARIABLE },
3438
3438
  ],
3439
3439
  },
3440
+ [activity_types_1.LumiaAlertValues.TWITCH_WARNED]: {
3441
+ connection: event_types_1.LumiaIntegrations.TWITCH,
3442
+ message: '{{username}} was warned',
3443
+ eventlistMessage: 'Warning',
3444
+ eventlistDetailedMessage: '{{username}} was warned for {{reason}}',
3445
+ acceptedVariables: variables_types_1.AllVariables.twitch.alerts.warned,
3446
+ quickActions: [
3447
+ {
3448
+ label: 'User Warned',
3449
+ dynamic: { value: 'lumiastream' },
3450
+ extraSettings: {
3451
+ username: 'lumiastream',
3452
+ userId: '1234',
3453
+ displayname: 'LumiaStream',
3454
+ moderator: 'modname',
3455
+ reason: 'Breaking chat rules',
3456
+ chat_rules_cited: 'Be respectful',
3457
+ },
3458
+ },
3459
+ ],
3460
+ inputFields: [
3461
+ {
3462
+ type: 'text',
3463
+ label: 'Username',
3464
+ dynamicField: 'value',
3465
+ variableField: 'username',
3466
+ required: true,
3467
+ default: 'lumiastream',
3468
+ },
3469
+ ],
3470
+ LumiaVariationConditions: [
3471
+ { type: LumiaVariationConditions.RANDOM },
3472
+ { type: LumiaVariationConditions.EQUAL_STRING, description: 'Username is equal to' },
3473
+ { type: LumiaVariationConditions.EQUAL_VARIABLE },
3474
+ ],
3475
+ },
3476
+ [activity_types_1.LumiaAlertValues.TWITCH_SUSPICIOUS_USER_MESSAGE]: {
3477
+ connection: event_types_1.LumiaIntegrations.TWITCH,
3478
+ message: '{{username}} (suspicious user) sent a message',
3479
+ eventlistMessage: 'Suspicious User Message',
3480
+ eventlistDetailedMessage: '{{username}} ({{low_trust_status}}) sent a message',
3481
+ acceptedVariables: variables_types_1.AllVariables.twitch.alerts.suspiciousUserMessage,
3482
+ quickActions: [
3483
+ {
3484
+ label: 'Suspicious User Message',
3485
+ dynamic: { value: 'lumiastream' },
3486
+ extraSettings: {
3487
+ username: 'lumiastream',
3488
+ userId: '1234',
3489
+ displayname: 'LumiaStream',
3490
+ message: 'hello there',
3491
+ low_trust_status: 'active_monitoring',
3492
+ ban_evasion_evaluation: 'possible',
3493
+ types: 'manually_added',
3494
+ },
3495
+ },
3496
+ ],
3497
+ inputFields: [
3498
+ {
3499
+ type: 'text',
3500
+ label: 'Username',
3501
+ dynamicField: 'value',
3502
+ variableField: 'username',
3503
+ required: true,
3504
+ default: 'lumiastream',
3505
+ },
3506
+ ],
3507
+ LumiaVariationConditions: [
3508
+ { type: LumiaVariationConditions.RANDOM },
3509
+ { type: LumiaVariationConditions.EQUAL_STRING, description: 'Username is equal to' },
3510
+ { type: LumiaVariationConditions.EQUAL_VARIABLE },
3511
+ ],
3512
+ },
3513
+ [activity_types_1.LumiaAlertValues.TWITCH_SUSPICIOUS_USER_UPDATED]: {
3514
+ connection: event_types_1.LumiaIntegrations.TWITCH,
3515
+ message: '{{username}} suspicious status updated to {{low_trust_status}}',
3516
+ eventlistMessage: 'Suspicious User Updated',
3517
+ eventlistDetailedMessage: '{{username}} updated to {{low_trust_status}} by {{moderator}}',
3518
+ acceptedVariables: variables_types_1.AllVariables.twitch.alerts.suspiciousUserUpdated,
3519
+ quickActions: [
3520
+ {
3521
+ label: 'Suspicious User Updated',
3522
+ dynamic: { value: 'lumiastream' },
3523
+ extraSettings: {
3524
+ username: 'lumiastream',
3525
+ userId: '1234',
3526
+ displayname: 'LumiaStream',
3527
+ moderator: 'modname',
3528
+ low_trust_status: 'restricted',
3529
+ },
3530
+ },
3531
+ ],
3532
+ inputFields: [
3533
+ {
3534
+ type: 'text',
3535
+ label: 'Username',
3536
+ dynamicField: 'value',
3537
+ variableField: 'username',
3538
+ required: true,
3539
+ default: 'lumiastream',
3540
+ },
3541
+ ],
3542
+ LumiaVariationConditions: [
3543
+ { type: LumiaVariationConditions.RANDOM },
3544
+ { type: LumiaVariationConditions.EQUAL_STRING, description: 'Username is equal to' },
3545
+ { type: LumiaVariationConditions.EQUAL_VARIABLE },
3546
+ ],
3547
+ },
3548
+ [activity_types_1.LumiaAlertValues.TWITCH_SHIELD_MODE_STARTED]: {
3549
+ connection: event_types_1.LumiaIntegrations.TWITCH,
3550
+ message: 'Shield mode started by {{username}}',
3551
+ eventlistMessage: 'Shield Mode Started',
3552
+ eventlistDetailedMessage: 'Shield mode started by {{username}}',
3553
+ acceptedVariables: variables_types_1.AllVariables.twitch.alerts.shieldModeStarted,
3554
+ quickActions: [
3555
+ {
3556
+ label: 'Shield Mode Started',
3557
+ dynamic: { value: 'lumiastream' },
3558
+ extraSettings: {
3559
+ username: 'modname',
3560
+ userId: '1234',
3561
+ displayname: 'ModName',
3562
+ started_at: '2022-07-26T17:00:03.17106713Z',
3563
+ },
3564
+ },
3565
+ ],
3566
+ inputFields: [
3567
+ {
3568
+ type: 'text',
3569
+ label: 'Moderator',
3570
+ dynamicField: 'value',
3571
+ variableField: 'username',
3572
+ required: false,
3573
+ default: 'modname',
3574
+ },
3575
+ ],
3576
+ LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }],
3577
+ },
3578
+ [activity_types_1.LumiaAlertValues.TWITCH_SHIELD_MODE_ENDED]: {
3579
+ connection: event_types_1.LumiaIntegrations.TWITCH,
3580
+ message: 'Shield mode ended by {{username}}',
3581
+ eventlistMessage: 'Shield Mode Ended',
3582
+ eventlistDetailedMessage: 'Shield mode ended by {{username}}',
3583
+ acceptedVariables: variables_types_1.AllVariables.twitch.alerts.shieldModeEnded,
3584
+ quickActions: [
3585
+ {
3586
+ label: 'Shield Mode Ended',
3587
+ dynamic: { value: 'lumiastream' },
3588
+ extraSettings: {
3589
+ username: 'modname',
3590
+ userId: '1234',
3591
+ displayname: 'ModName',
3592
+ ended_at: '2022-07-26T17:00:03.17106713Z',
3593
+ },
3594
+ },
3595
+ ],
3596
+ inputFields: [
3597
+ {
3598
+ type: 'text',
3599
+ label: 'Moderator',
3600
+ dynamicField: 'value',
3601
+ variableField: 'username',
3602
+ required: false,
3603
+ default: 'modname',
3604
+ },
3605
+ ],
3606
+ LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }],
3607
+ },
3440
3608
  [activity_types_1.LumiaAlertValues.TWITCH_AD_STARTED]: {
3441
3609
  connection: event_types_1.LumiaIntegrations.TWITCH,
3442
3610
  message: 'ad started',
@@ -769,6 +769,16 @@ export declare enum LumiaAlertValues {
769
769
  TWITCH_TIMEOUT_OVER = "twitch-timeoutOver",
770
770
  /** Shoutout received */
771
771
  TWITCH_SHOUTOUT_RECEIVE = "twitch-shoutoutReceive",
772
+ /** User warned */
773
+ TWITCH_WARNED = "twitch-warned",
774
+ /** Suspicious user sent a message */
775
+ TWITCH_SUSPICIOUS_USER_MESSAGE = "twitch-suspiciousUserMessage",
776
+ /** Suspicious user treatment updated */
777
+ TWITCH_SUSPICIOUS_USER_UPDATED = "twitch-suspiciousUserUpdated",
778
+ /** Shield mode started */
779
+ TWITCH_SHIELD_MODE_STARTED = "twitch-shieldModeStarted",
780
+ /** Shield mode ended */
781
+ TWITCH_SHIELD_MODE_ENDED = "twitch-shieldModeEnded",
772
782
  /** Ad break started */
773
783
  TWITCH_AD_STARTED = "twitch-adStarted",
774
784
  /** Ad break ended */
@@ -1259,6 +1269,14 @@ export declare enum SystemVariables {
1259
1269
  WEEK_DONATION_AMOUNT = "week_donation_amount",
1260
1270
  /** Donation sum for the current calendar month. Use as {{month_donation_amount}}. */
1261
1271
  MONTH_DONATION_AMOUNT = "month_donation_amount",
1272
+ /** Session-wide gross money across every income source (tips, bits, subs, gift subs, super chats, super stickers, TikTok gifts, kicks, stars…), normalized to your default currency. Use as {{session_money_amount}}. */
1273
+ SESSION_MONEY_AMOUNT = "session_money_amount",
1274
+ /** Gross money across every income source for the current calendar week. Use as {{week_money_amount}}. */
1275
+ WEEK_MONEY_AMOUNT = "week_money_amount",
1276
+ /** Gross money across every income source for the current calendar month. Use as {{month_money_amount}}. */
1277
+ MONTH_MONEY_AMOUNT = "month_money_amount",
1278
+ /** All-time gross money across every income source. Use as {{total_money_amount}}. */
1279
+ TOTAL_MONEY_AMOUNT = "total_money_amount",
1262
1280
  /** Donation event count for the current calendar week. Use as {{week_donation_count}}. */
1263
1281
  WEEK_DONATION_COUNT = "week_donation_count",
1264
1282
  /** Donation event count for the current calendar month. Use as {{month_donation_count}}. */
@@ -1891,8 +1909,6 @@ export declare enum SystemVariables {
1891
1909
  SPOTIFY_NEXT_URL = "spotify_next_url",
1892
1910
  /** Next song Spotify URI. Use as {{spotify_next_uri}}. */
1893
1911
  SPOTIFY_NEXT_URI = "spotify_next_uri",
1894
- /** Current queue (comma-separated). Use as {{spotify_queue}}. */
1895
- SPOTIFY_QUEUE = "spotify_queue",
1896
1912
  /** Now playing song title. Use as {{youtubemusic_now_playing_song}}. */
1897
1913
  YOUTUBEMUSIC_NOW_PLAYING_SONG = "youtubemusic_now_playing_song",
1898
1914
  /** Now playing artwork URL. Use as {{youtubemusic_now_playing_image}}. */
@@ -769,6 +769,16 @@ export declare enum LumiaAlertValues {
769
769
  TWITCH_TIMEOUT_OVER = "twitch-timeoutOver",
770
770
  /** Shoutout received */
771
771
  TWITCH_SHOUTOUT_RECEIVE = "twitch-shoutoutReceive",
772
+ /** User warned */
773
+ TWITCH_WARNED = "twitch-warned",
774
+ /** Suspicious user sent a message */
775
+ TWITCH_SUSPICIOUS_USER_MESSAGE = "twitch-suspiciousUserMessage",
776
+ /** Suspicious user treatment updated */
777
+ TWITCH_SUSPICIOUS_USER_UPDATED = "twitch-suspiciousUserUpdated",
778
+ /** Shield mode started */
779
+ TWITCH_SHIELD_MODE_STARTED = "twitch-shieldModeStarted",
780
+ /** Shield mode ended */
781
+ TWITCH_SHIELD_MODE_ENDED = "twitch-shieldModeEnded",
772
782
  /** Ad break started */
773
783
  TWITCH_AD_STARTED = "twitch-adStarted",
774
784
  /** Ad break ended */
@@ -1259,6 +1269,14 @@ export declare enum SystemVariables {
1259
1269
  WEEK_DONATION_AMOUNT = "week_donation_amount",
1260
1270
  /** Donation sum for the current calendar month. Use as {{month_donation_amount}}. */
1261
1271
  MONTH_DONATION_AMOUNT = "month_donation_amount",
1272
+ /** Session-wide gross money across every income source (tips, bits, subs, gift subs, super chats, super stickers, TikTok gifts, kicks, stars…), normalized to your default currency. Use as {{session_money_amount}}. */
1273
+ SESSION_MONEY_AMOUNT = "session_money_amount",
1274
+ /** Gross money across every income source for the current calendar week. Use as {{week_money_amount}}. */
1275
+ WEEK_MONEY_AMOUNT = "week_money_amount",
1276
+ /** Gross money across every income source for the current calendar month. Use as {{month_money_amount}}. */
1277
+ MONTH_MONEY_AMOUNT = "month_money_amount",
1278
+ /** All-time gross money across every income source. Use as {{total_money_amount}}. */
1279
+ TOTAL_MONEY_AMOUNT = "total_money_amount",
1262
1280
  /** Donation event count for the current calendar week. Use as {{week_donation_count}}. */
1263
1281
  WEEK_DONATION_COUNT = "week_donation_count",
1264
1282
  /** Donation event count for the current calendar month. Use as {{month_donation_count}}. */
@@ -1891,8 +1909,6 @@ export declare enum SystemVariables {
1891
1909
  SPOTIFY_NEXT_URL = "spotify_next_url",
1892
1910
  /** Next song Spotify URI. Use as {{spotify_next_uri}}. */
1893
1911
  SPOTIFY_NEXT_URI = "spotify_next_uri",
1894
- /** Current queue (comma-separated). Use as {{spotify_queue}}. */
1895
- SPOTIFY_QUEUE = "spotify_queue",
1896
1912
  /** Now playing song title. Use as {{youtubemusic_now_playing_song}}. */
1897
1913
  YOUTUBEMUSIC_NOW_PLAYING_SONG = "youtubemusic_now_playing_song",
1898
1914
  /** Now playing artwork URL. Use as {{youtubemusic_now_playing_image}}. */
@@ -268,6 +268,16 @@ export var LumiaAlertValues;
268
268
  LumiaAlertValues["TWITCH_TIMEOUT_OVER"] = "twitch-timeoutOver";
269
269
  /** Shoutout received */
270
270
  LumiaAlertValues["TWITCH_SHOUTOUT_RECEIVE"] = "twitch-shoutoutReceive";
271
+ /** User warned */
272
+ LumiaAlertValues["TWITCH_WARNED"] = "twitch-warned";
273
+ /** Suspicious user sent a message */
274
+ LumiaAlertValues["TWITCH_SUSPICIOUS_USER_MESSAGE"] = "twitch-suspiciousUserMessage";
275
+ /** Suspicious user treatment updated */
276
+ LumiaAlertValues["TWITCH_SUSPICIOUS_USER_UPDATED"] = "twitch-suspiciousUserUpdated";
277
+ /** Shield mode started */
278
+ LumiaAlertValues["TWITCH_SHIELD_MODE_STARTED"] = "twitch-shieldModeStarted";
279
+ /** Shield mode ended */
280
+ LumiaAlertValues["TWITCH_SHIELD_MODE_ENDED"] = "twitch-shieldModeEnded";
271
281
  /** Ad break started */
272
282
  LumiaAlertValues["TWITCH_AD_STARTED"] = "twitch-adStarted";
273
283
  /** Ad break ended */
@@ -654,6 +664,11 @@ export const LumiaAlertFriendlyValues = {
654
664
  [LumiaAlertValues.TWITCH_TIMEOUT]: 'Twitch Timeout',
655
665
  [LumiaAlertValues.TWITCH_TIMEOUT_OVER]: 'Twitch Timeout Over',
656
666
  [LumiaAlertValues.TWITCH_SHOUTOUT_RECEIVE]: 'Twitch Shoutout Receive',
667
+ [LumiaAlertValues.TWITCH_WARNED]: 'Twitch User Warned',
668
+ [LumiaAlertValues.TWITCH_SUSPICIOUS_USER_MESSAGE]: 'Twitch Suspicious User Message',
669
+ [LumiaAlertValues.TWITCH_SUSPICIOUS_USER_UPDATED]: 'Twitch Suspicious User Updated',
670
+ [LumiaAlertValues.TWITCH_SHIELD_MODE_STARTED]: 'Twitch Shield Mode Started',
671
+ [LumiaAlertValues.TWITCH_SHIELD_MODE_ENDED]: 'Twitch Shield Mode Ended',
657
672
  [LumiaAlertValues.TWITCH_AD_STARTED]: 'Twitch Ad Started',
658
673
  [LumiaAlertValues.TWITCH_AD_STOPPED]: 'Twitch Ad Stopped',
659
674
  [LumiaAlertValues.TWITCH_WATCH_STREAK]: 'Twitch Watch Streak',
@@ -3434,6 +3434,174 @@ export const LumiaAlertConfigs = {
3434
3434
  { type: LumiaVariationConditions.EQUAL_VARIABLE },
3435
3435
  ],
3436
3436
  },
3437
+ [LumiaAlertValues.TWITCH_WARNED]: {
3438
+ connection: LumiaIntegrations.TWITCH,
3439
+ message: '{{username}} was warned',
3440
+ eventlistMessage: 'Warning',
3441
+ eventlistDetailedMessage: '{{username}} was warned for {{reason}}',
3442
+ acceptedVariables: AllVariables.twitch.alerts.warned,
3443
+ quickActions: [
3444
+ {
3445
+ label: 'User Warned',
3446
+ dynamic: { value: 'lumiastream' },
3447
+ extraSettings: {
3448
+ username: 'lumiastream',
3449
+ userId: '1234',
3450
+ displayname: 'LumiaStream',
3451
+ moderator: 'modname',
3452
+ reason: 'Breaking chat rules',
3453
+ chat_rules_cited: 'Be respectful',
3454
+ },
3455
+ },
3456
+ ],
3457
+ inputFields: [
3458
+ {
3459
+ type: 'text',
3460
+ label: 'Username',
3461
+ dynamicField: 'value',
3462
+ variableField: 'username',
3463
+ required: true,
3464
+ default: 'lumiastream',
3465
+ },
3466
+ ],
3467
+ LumiaVariationConditions: [
3468
+ { type: LumiaVariationConditions.RANDOM },
3469
+ { type: LumiaVariationConditions.EQUAL_STRING, description: 'Username is equal to' },
3470
+ { type: LumiaVariationConditions.EQUAL_VARIABLE },
3471
+ ],
3472
+ },
3473
+ [LumiaAlertValues.TWITCH_SUSPICIOUS_USER_MESSAGE]: {
3474
+ connection: LumiaIntegrations.TWITCH,
3475
+ message: '{{username}} (suspicious user) sent a message',
3476
+ eventlistMessage: 'Suspicious User Message',
3477
+ eventlistDetailedMessage: '{{username}} ({{low_trust_status}}) sent a message',
3478
+ acceptedVariables: AllVariables.twitch.alerts.suspiciousUserMessage,
3479
+ quickActions: [
3480
+ {
3481
+ label: 'Suspicious User Message',
3482
+ dynamic: { value: 'lumiastream' },
3483
+ extraSettings: {
3484
+ username: 'lumiastream',
3485
+ userId: '1234',
3486
+ displayname: 'LumiaStream',
3487
+ message: 'hello there',
3488
+ low_trust_status: 'active_monitoring',
3489
+ ban_evasion_evaluation: 'possible',
3490
+ types: 'manually_added',
3491
+ },
3492
+ },
3493
+ ],
3494
+ inputFields: [
3495
+ {
3496
+ type: 'text',
3497
+ label: 'Username',
3498
+ dynamicField: 'value',
3499
+ variableField: 'username',
3500
+ required: true,
3501
+ default: 'lumiastream',
3502
+ },
3503
+ ],
3504
+ LumiaVariationConditions: [
3505
+ { type: LumiaVariationConditions.RANDOM },
3506
+ { type: LumiaVariationConditions.EQUAL_STRING, description: 'Username is equal to' },
3507
+ { type: LumiaVariationConditions.EQUAL_VARIABLE },
3508
+ ],
3509
+ },
3510
+ [LumiaAlertValues.TWITCH_SUSPICIOUS_USER_UPDATED]: {
3511
+ connection: LumiaIntegrations.TWITCH,
3512
+ message: '{{username}} suspicious status updated to {{low_trust_status}}',
3513
+ eventlistMessage: 'Suspicious User Updated',
3514
+ eventlistDetailedMessage: '{{username}} updated to {{low_trust_status}} by {{moderator}}',
3515
+ acceptedVariables: AllVariables.twitch.alerts.suspiciousUserUpdated,
3516
+ quickActions: [
3517
+ {
3518
+ label: 'Suspicious User Updated',
3519
+ dynamic: { value: 'lumiastream' },
3520
+ extraSettings: {
3521
+ username: 'lumiastream',
3522
+ userId: '1234',
3523
+ displayname: 'LumiaStream',
3524
+ moderator: 'modname',
3525
+ low_trust_status: 'restricted',
3526
+ },
3527
+ },
3528
+ ],
3529
+ inputFields: [
3530
+ {
3531
+ type: 'text',
3532
+ label: 'Username',
3533
+ dynamicField: 'value',
3534
+ variableField: 'username',
3535
+ required: true,
3536
+ default: 'lumiastream',
3537
+ },
3538
+ ],
3539
+ LumiaVariationConditions: [
3540
+ { type: LumiaVariationConditions.RANDOM },
3541
+ { type: LumiaVariationConditions.EQUAL_STRING, description: 'Username is equal to' },
3542
+ { type: LumiaVariationConditions.EQUAL_VARIABLE },
3543
+ ],
3544
+ },
3545
+ [LumiaAlertValues.TWITCH_SHIELD_MODE_STARTED]: {
3546
+ connection: LumiaIntegrations.TWITCH,
3547
+ message: 'Shield mode started by {{username}}',
3548
+ eventlistMessage: 'Shield Mode Started',
3549
+ eventlistDetailedMessage: 'Shield mode started by {{username}}',
3550
+ acceptedVariables: AllVariables.twitch.alerts.shieldModeStarted,
3551
+ quickActions: [
3552
+ {
3553
+ label: 'Shield Mode Started',
3554
+ dynamic: { value: 'lumiastream' },
3555
+ extraSettings: {
3556
+ username: 'modname',
3557
+ userId: '1234',
3558
+ displayname: 'ModName',
3559
+ started_at: '2022-07-26T17:00:03.17106713Z',
3560
+ },
3561
+ },
3562
+ ],
3563
+ inputFields: [
3564
+ {
3565
+ type: 'text',
3566
+ label: 'Moderator',
3567
+ dynamicField: 'value',
3568
+ variableField: 'username',
3569
+ required: false,
3570
+ default: 'modname',
3571
+ },
3572
+ ],
3573
+ LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }],
3574
+ },
3575
+ [LumiaAlertValues.TWITCH_SHIELD_MODE_ENDED]: {
3576
+ connection: LumiaIntegrations.TWITCH,
3577
+ message: 'Shield mode ended by {{username}}',
3578
+ eventlistMessage: 'Shield Mode Ended',
3579
+ eventlistDetailedMessage: 'Shield mode ended by {{username}}',
3580
+ acceptedVariables: AllVariables.twitch.alerts.shieldModeEnded,
3581
+ quickActions: [
3582
+ {
3583
+ label: 'Shield Mode Ended',
3584
+ dynamic: { value: 'lumiastream' },
3585
+ extraSettings: {
3586
+ username: 'modname',
3587
+ userId: '1234',
3588
+ displayname: 'ModName',
3589
+ ended_at: '2022-07-26T17:00:03.17106713Z',
3590
+ },
3591
+ },
3592
+ ],
3593
+ inputFields: [
3594
+ {
3595
+ type: 'text',
3596
+ label: 'Moderator',
3597
+ dynamicField: 'value',
3598
+ variableField: 'username',
3599
+ required: false,
3600
+ default: 'modname',
3601
+ },
3602
+ ],
3603
+ LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }],
3604
+ },
3437
3605
  [LumiaAlertValues.TWITCH_AD_STARTED]: {
3438
3606
  connection: LumiaIntegrations.TWITCH,
3439
3607
  message: 'ad started',
@@ -233,6 +233,11 @@ export const AlertsToFilter = [
233
233
  LumiaAlertValues.TWITCH_TIMEOUT,
234
234
  LumiaAlertValues.TWITCH_TIMEOUT_OVER,
235
235
  LumiaAlertValues.TWITCH_SHOUTOUT_RECEIVE,
236
+ LumiaAlertValues.TWITCH_WARNED,
237
+ LumiaAlertValues.TWITCH_SUSPICIOUS_USER_MESSAGE,
238
+ LumiaAlertValues.TWITCH_SUSPICIOUS_USER_UPDATED,
239
+ LumiaAlertValues.TWITCH_SHIELD_MODE_STARTED,
240
+ LumiaAlertValues.TWITCH_SHIELD_MODE_ENDED,
236
241
  LumiaAlertValues.TWITCH_AD_STARTED,
237
242
  LumiaAlertValues.TWITCH_AD_STOPPED,
238
243
  LumiaAlertValues.TWITCH_WATCH_STREAK,
@@ -184,6 +184,14 @@ export var SystemVariables;
184
184
  SystemVariables["WEEK_DONATION_AMOUNT"] = "week_donation_amount";
185
185
  /** Donation sum for the current calendar month. Use as {{month_donation_amount}}. */
186
186
  SystemVariables["MONTH_DONATION_AMOUNT"] = "month_donation_amount";
187
+ /** Session-wide gross money across every income source (tips, bits, subs, gift subs, super chats, super stickers, TikTok gifts, kicks, stars…), normalized to your default currency. Use as {{session_money_amount}}. */
188
+ SystemVariables["SESSION_MONEY_AMOUNT"] = "session_money_amount";
189
+ /** Gross money across every income source for the current calendar week. Use as {{week_money_amount}}. */
190
+ SystemVariables["WEEK_MONEY_AMOUNT"] = "week_money_amount";
191
+ /** Gross money across every income source for the current calendar month. Use as {{month_money_amount}}. */
192
+ SystemVariables["MONTH_MONEY_AMOUNT"] = "month_money_amount";
193
+ /** All-time gross money across every income source. Use as {{total_money_amount}}. */
194
+ SystemVariables["TOTAL_MONEY_AMOUNT"] = "total_money_amount";
187
195
  /** Donation event count for the current calendar week. Use as {{week_donation_count}}. */
188
196
  SystemVariables["WEEK_DONATION_COUNT"] = "week_donation_count";
189
197
  /** Donation event count for the current calendar month. Use as {{month_donation_count}}. */
@@ -828,8 +836,6 @@ export var SystemVariables;
828
836
  SystemVariables["SPOTIFY_NEXT_URL"] = "spotify_next_url";
829
837
  /** Next song Spotify URI. Use as {{spotify_next_uri}}. */
830
838
  SystemVariables["SPOTIFY_NEXT_URI"] = "spotify_next_uri";
831
- /** Current queue (comma-separated). Use as {{spotify_queue}}. */
832
- SystemVariables["SPOTIFY_QUEUE"] = "spotify_queue";
833
839
  // ─────────────────────────────── YouTube Music ────────────────────────────────
834
840
  /** Now playing song title. Use as {{youtubemusic_now_playing_song}}. */
835
841
  SystemVariables["YOUTUBEMUSIC_NOW_PLAYING_SONG"] = "youtubemusic_now_playing_song";
@@ -2568,7 +2574,7 @@ export const AllVariables = {
2568
2574
  'spotify_next_id',
2569
2575
  'spotify_next_url',
2570
2576
  'spotify_next_uri',
2571
- 'spotify_queue',
2577
+ 'spotify_now_playing_queue',
2572
2578
  ],
2573
2579
  alerts: {
2574
2580
  switchSong: ['name', 'uri', 'image'],
@@ -2921,6 +2927,11 @@ export const AllVariables = {
2921
2927
  timeout: ['username', 'userId', 'avatar', 'timeout_duration', 'expiration_ms', 'reason'],
2922
2928
  timeoutOver: ['username', 'userId', 'avatar', 'timeout_duration', 'expiration_ms', 'reason'],
2923
2929
  shoutoutReceive: ['username', 'userId', 'displayname', 'avatar', 'viewer_count', 'started_at'],
2930
+ warned: ['username', 'userId', 'displayname', 'moderator', 'reason', 'chat_rules_cited'],
2931
+ suspiciousUserMessage: ['username', 'userId', 'displayname', 'message', 'low_trust_status', 'ban_evasion_evaluation', 'types'],
2932
+ suspiciousUserUpdated: ['username', 'userId', 'displayname', 'moderator', 'low_trust_status'],
2933
+ shieldModeStarted: ['username', 'userId', 'displayname', 'started_at'],
2934
+ shieldModeEnded: ['username', 'userId', 'displayname', 'ended_at'],
2924
2935
  adStarted: ['length', 'is_automatic', 'started_at', 'twitch_next_ad', 'amount'],
2925
2936
  adStopped: ['length', 'is_automatic', 'started_at', 'twitch_next_ad', 'amount'],
2926
2937
  watchStreak: ['username', 'userId', 'displayname', 'avatar', 'streak_count', 'channel_points_awarded', 'amount', 'message', 'system_message'],
@@ -236,6 +236,11 @@ exports.AlertsToFilter = [
236
236
  activity_types_1.LumiaAlertValues.TWITCH_TIMEOUT,
237
237
  activity_types_1.LumiaAlertValues.TWITCH_TIMEOUT_OVER,
238
238
  activity_types_1.LumiaAlertValues.TWITCH_SHOUTOUT_RECEIVE,
239
+ activity_types_1.LumiaAlertValues.TWITCH_WARNED,
240
+ activity_types_1.LumiaAlertValues.TWITCH_SUSPICIOUS_USER_MESSAGE,
241
+ activity_types_1.LumiaAlertValues.TWITCH_SUSPICIOUS_USER_UPDATED,
242
+ activity_types_1.LumiaAlertValues.TWITCH_SHIELD_MODE_STARTED,
243
+ activity_types_1.LumiaAlertValues.TWITCH_SHIELD_MODE_ENDED,
239
244
  activity_types_1.LumiaAlertValues.TWITCH_AD_STARTED,
240
245
  activity_types_1.LumiaAlertValues.TWITCH_AD_STOPPED,
241
246
  activity_types_1.LumiaAlertValues.TWITCH_WATCH_STREAK,
@@ -191,6 +191,14 @@ export declare enum SystemVariables {
191
191
  WEEK_DONATION_AMOUNT = "week_donation_amount",
192
192
  /** Donation sum for the current calendar month. Use as {{month_donation_amount}}. */
193
193
  MONTH_DONATION_AMOUNT = "month_donation_amount",
194
+ /** Session-wide gross money across every income source (tips, bits, subs, gift subs, super chats, super stickers, TikTok gifts, kicks, stars…), normalized to your default currency. Use as {{session_money_amount}}. */
195
+ SESSION_MONEY_AMOUNT = "session_money_amount",
196
+ /** Gross money across every income source for the current calendar week. Use as {{week_money_amount}}. */
197
+ WEEK_MONEY_AMOUNT = "week_money_amount",
198
+ /** Gross money across every income source for the current calendar month. Use as {{month_money_amount}}. */
199
+ MONTH_MONEY_AMOUNT = "month_money_amount",
200
+ /** All-time gross money across every income source. Use as {{total_money_amount}}. */
201
+ TOTAL_MONEY_AMOUNT = "total_money_amount",
194
202
  /** Donation event count for the current calendar week. Use as {{week_donation_count}}. */
195
203
  WEEK_DONATION_COUNT = "week_donation_count",
196
204
  /** Donation event count for the current calendar month. Use as {{month_donation_count}}. */
@@ -823,8 +831,6 @@ export declare enum SystemVariables {
823
831
  SPOTIFY_NEXT_URL = "spotify_next_url",
824
832
  /** Next song Spotify URI. Use as {{spotify_next_uri}}. */
825
833
  SPOTIFY_NEXT_URI = "spotify_next_uri",
826
- /** Current queue (comma-separated). Use as {{spotify_queue}}. */
827
- SPOTIFY_QUEUE = "spotify_queue",
828
834
  /** Now playing song title. Use as {{youtubemusic_now_playing_song}}. */
829
835
  YOUTUBEMUSIC_NOW_PLAYING_SONG = "youtubemusic_now_playing_song",
830
836
  /** Now playing artwork URL. Use as {{youtubemusic_now_playing_image}}. */
@@ -1661,6 +1667,11 @@ export declare const AllVariables: {
1661
1667
  timeout: string[];
1662
1668
  timeoutOver: string[];
1663
1669
  shoutoutReceive: string[];
1670
+ warned: string[];
1671
+ suspiciousUserMessage: string[];
1672
+ suspiciousUserUpdated: string[];
1673
+ shieldModeStarted: string[];
1674
+ shieldModeEnded: string[];
1664
1675
  adStarted: string[];
1665
1676
  adStopped: string[];
1666
1677
  watchStreak: string[];
@@ -189,6 +189,14 @@ var SystemVariables;
189
189
  SystemVariables["WEEK_DONATION_AMOUNT"] = "week_donation_amount";
190
190
  /** Donation sum for the current calendar month. Use as {{month_donation_amount}}. */
191
191
  SystemVariables["MONTH_DONATION_AMOUNT"] = "month_donation_amount";
192
+ /** Session-wide gross money across every income source (tips, bits, subs, gift subs, super chats, super stickers, TikTok gifts, kicks, stars…), normalized to your default currency. Use as {{session_money_amount}}. */
193
+ SystemVariables["SESSION_MONEY_AMOUNT"] = "session_money_amount";
194
+ /** Gross money across every income source for the current calendar week. Use as {{week_money_amount}}. */
195
+ SystemVariables["WEEK_MONEY_AMOUNT"] = "week_money_amount";
196
+ /** Gross money across every income source for the current calendar month. Use as {{month_money_amount}}. */
197
+ SystemVariables["MONTH_MONEY_AMOUNT"] = "month_money_amount";
198
+ /** All-time gross money across every income source. Use as {{total_money_amount}}. */
199
+ SystemVariables["TOTAL_MONEY_AMOUNT"] = "total_money_amount";
192
200
  /** Donation event count for the current calendar week. Use as {{week_donation_count}}. */
193
201
  SystemVariables["WEEK_DONATION_COUNT"] = "week_donation_count";
194
202
  /** Donation event count for the current calendar month. Use as {{month_donation_count}}. */
@@ -833,8 +841,6 @@ var SystemVariables;
833
841
  SystemVariables["SPOTIFY_NEXT_URL"] = "spotify_next_url";
834
842
  /** Next song Spotify URI. Use as {{spotify_next_uri}}. */
835
843
  SystemVariables["SPOTIFY_NEXT_URI"] = "spotify_next_uri";
836
- /** Current queue (comma-separated). Use as {{spotify_queue}}. */
837
- SystemVariables["SPOTIFY_QUEUE"] = "spotify_queue";
838
844
  // ─────────────────────────────── YouTube Music ────────────────────────────────
839
845
  /** Now playing song title. Use as {{youtubemusic_now_playing_song}}. */
840
846
  SystemVariables["YOUTUBEMUSIC_NOW_PLAYING_SONG"] = "youtubemusic_now_playing_song";
@@ -2573,7 +2579,7 @@ exports.AllVariables = {
2573
2579
  'spotify_next_id',
2574
2580
  'spotify_next_url',
2575
2581
  'spotify_next_uri',
2576
- 'spotify_queue',
2582
+ 'spotify_now_playing_queue',
2577
2583
  ],
2578
2584
  alerts: {
2579
2585
  switchSong: ['name', 'uri', 'image'],
@@ -2926,6 +2932,11 @@ exports.AllVariables = {
2926
2932
  timeout: ['username', 'userId', 'avatar', 'timeout_duration', 'expiration_ms', 'reason'],
2927
2933
  timeoutOver: ['username', 'userId', 'avatar', 'timeout_duration', 'expiration_ms', 'reason'],
2928
2934
  shoutoutReceive: ['username', 'userId', 'displayname', 'avatar', 'viewer_count', 'started_at'],
2935
+ warned: ['username', 'userId', 'displayname', 'moderator', 'reason', 'chat_rules_cited'],
2936
+ suspiciousUserMessage: ['username', 'userId', 'displayname', 'message', 'low_trust_status', 'ban_evasion_evaluation', 'types'],
2937
+ suspiciousUserUpdated: ['username', 'userId', 'displayname', 'moderator', 'low_trust_status'],
2938
+ shieldModeStarted: ['username', 'userId', 'displayname', 'started_at'],
2939
+ shieldModeEnded: ['username', 'userId', 'displayname', 'ended_at'],
2929
2940
  adStarted: ['length', 'is_automatic', 'started_at', 'twitch_next_ad', 'amount'],
2930
2941
  adStopped: ['length', 'is_automatic', 'started_at', 'twitch_next_ad', 'amount'],
2931
2942
  watchStreak: ['username', 'userId', 'displayname', 'avatar', 'streak_count', 'channel_points_awarded', 'amount', 'message', 'system_message'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumiastream/lumia-types",
3
- "version": "3.7.1",
3
+ "version": "3.7.3",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/esm/index.js",