@lumiastream/lumia-types 3.7.2 → 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.
- package/dist/activity.types.d.ts +15 -0
- package/dist/activity.types.js +15 -0
- package/dist/alert.types.js +168 -0
- package/dist/custom-overlays/custom-overlays.d.ts +10 -0
- package/dist/custom-overlays.d.ts +10 -0
- package/dist/esm/activity.types.js +15 -0
- package/dist/esm/alert.types.js +168 -0
- package/dist/esm/eventlist.types.js +5 -0
- package/dist/esm/variables.types.js +5 -0
- package/dist/eventlist.types.js +5 -0
- package/dist/variables.types.d.ts +5 -0
- package/dist/variables.types.js +5 -0
- package/package.json +1 -1
package/dist/activity.types.d.ts
CHANGED
|
@@ -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;
|
package/dist/activity.types.js
CHANGED
|
@@ -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',
|
package/dist/alert.types.js
CHANGED
|
@@ -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 */
|
|
@@ -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 */
|
|
@@ -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',
|
package/dist/esm/alert.types.js
CHANGED
|
@@ -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,
|
|
@@ -2927,6 +2927,11 @@ export const AllVariables = {
|
|
|
2927
2927
|
timeout: ['username', 'userId', 'avatar', 'timeout_duration', 'expiration_ms', 'reason'],
|
|
2928
2928
|
timeoutOver: ['username', 'userId', 'avatar', 'timeout_duration', 'expiration_ms', 'reason'],
|
|
2929
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'],
|
|
2930
2935
|
adStarted: ['length', 'is_automatic', 'started_at', 'twitch_next_ad', 'amount'],
|
|
2931
2936
|
adStopped: ['length', 'is_automatic', 'started_at', 'twitch_next_ad', 'amount'],
|
|
2932
2937
|
watchStreak: ['username', 'userId', 'displayname', 'avatar', 'streak_count', 'channel_points_awarded', 'amount', 'message', 'system_message'],
|
package/dist/eventlist.types.js
CHANGED
|
@@ -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,
|
|
@@ -1667,6 +1667,11 @@ export declare const AllVariables: {
|
|
|
1667
1667
|
timeout: string[];
|
|
1668
1668
|
timeoutOver: string[];
|
|
1669
1669
|
shoutoutReceive: string[];
|
|
1670
|
+
warned: string[];
|
|
1671
|
+
suspiciousUserMessage: string[];
|
|
1672
|
+
suspiciousUserUpdated: string[];
|
|
1673
|
+
shieldModeStarted: string[];
|
|
1674
|
+
shieldModeEnded: string[];
|
|
1670
1675
|
adStarted: string[];
|
|
1671
1676
|
adStopped: string[];
|
|
1672
1677
|
watchStreak: string[];
|
package/dist/variables.types.js
CHANGED
|
@@ -2932,6 +2932,11 @@ exports.AllVariables = {
|
|
|
2932
2932
|
timeout: ['username', 'userId', 'avatar', 'timeout_duration', 'expiration_ms', 'reason'],
|
|
2933
2933
|
timeoutOver: ['username', 'userId', 'avatar', 'timeout_duration', 'expiration_ms', 'reason'],
|
|
2934
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'],
|
|
2935
2940
|
adStarted: ['length', 'is_automatic', 'started_at', 'twitch_next_ad', 'amount'],
|
|
2936
2941
|
adStopped: ['length', 'is_automatic', 'started_at', 'twitch_next_ad', 'amount'],
|
|
2937
2942
|
watchStreak: ['username', 'userId', 'displayname', 'avatar', 'streak_count', 'channel_points_awarded', 'amount', 'message', 'system_message'],
|