@lumiastream/lumia-types 2.4.1 → 2.4.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 +14 -2
- package/dist/activity.types.js +14 -2
- package/dist/alert.types.js +380 -0
- package/dist/custom-overlays/custom-overlays.d.ts +14 -2
- package/dist/custom-overlays.d.ts +14 -2
- package/dist/variables.types.d.ts +6 -0
- package/dist/variables.types.js +21 -0
- package/package.json +1 -1
package/dist/activity.types.d.ts
CHANGED
|
@@ -257,14 +257,26 @@ export declare enum LumiaAlertValues {
|
|
|
257
257
|
YOUTUBE_FIRST_CHATTER = "youtube-firstChatter",
|
|
258
258
|
/** YouTube user entrance */
|
|
259
259
|
YOUTUBE_ENTRANCE = "youtube-entrance",
|
|
260
|
-
/** YouTube channel membership */
|
|
261
|
-
YOUTUBE_MEMBER = "youtube-member",
|
|
262
260
|
/** YouTube new subscriber */
|
|
263
261
|
YOUTUBE_SUBSCRIBER = "youtube-subscriber",
|
|
262
|
+
/** YouTube session subscribers */
|
|
263
|
+
YOUTUBE_SESSION_SUBSCRIBERS = "youtube-sessionSubscribers",
|
|
264
|
+
/** YouTube channel membership */
|
|
265
|
+
YOUTUBE_MEMBER = "youtube-member",
|
|
266
|
+
/** YouTube session members */
|
|
267
|
+
YOUTUBE_SESSION_MEMBERS = "youtube-sessionMembers",
|
|
268
|
+
/** YouTube gift member */
|
|
269
|
+
YOUTUBE_GIFT_MEMBER = "youtube-giftMember",
|
|
270
|
+
/** YouTube session gift members */
|
|
271
|
+
YOUTUBE_SESSION_GIFT_MEMBERS = "youtube-sessionGiftMembers",
|
|
264
272
|
/** YouTube Super Chat */
|
|
265
273
|
YOUTUBE_SUPERCHAT = "youtube-superchat",
|
|
274
|
+
/** YouTube session superchats */
|
|
275
|
+
YOUTUBE_SESSION_SUPERCHATS = "youtube-sessionSuperchats",
|
|
266
276
|
/** YouTube Super Sticker */
|
|
267
277
|
YOUTUBE_SUPERSTICKER = "youtube-supersticker",
|
|
278
|
+
/** YouTube session superstickers */
|
|
279
|
+
YOUTUBE_SESSION_SUPERSTICKERS = "youtube-sessionSuperstickers",
|
|
268
280
|
/** YouTube total likes */
|
|
269
281
|
YOUTUBE_LIKE = "youtube-like",
|
|
270
282
|
/** YouTube total views */
|
package/dist/activity.types.js
CHANGED
|
@@ -274,14 +274,26 @@ var LumiaAlertValues;
|
|
|
274
274
|
LumiaAlertValues["YOUTUBE_FIRST_CHATTER"] = "youtube-firstChatter";
|
|
275
275
|
/** YouTube user entrance */
|
|
276
276
|
LumiaAlertValues["YOUTUBE_ENTRANCE"] = "youtube-entrance";
|
|
277
|
-
/** YouTube channel membership */
|
|
278
|
-
LumiaAlertValues["YOUTUBE_MEMBER"] = "youtube-member";
|
|
279
277
|
/** YouTube new subscriber */
|
|
280
278
|
LumiaAlertValues["YOUTUBE_SUBSCRIBER"] = "youtube-subscriber";
|
|
279
|
+
/** YouTube session subscribers */
|
|
280
|
+
LumiaAlertValues["YOUTUBE_SESSION_SUBSCRIBERS"] = "youtube-sessionSubscribers";
|
|
281
|
+
/** YouTube channel membership */
|
|
282
|
+
LumiaAlertValues["YOUTUBE_MEMBER"] = "youtube-member";
|
|
283
|
+
/** YouTube session members */
|
|
284
|
+
LumiaAlertValues["YOUTUBE_SESSION_MEMBERS"] = "youtube-sessionMembers";
|
|
285
|
+
/** YouTube gift member */
|
|
286
|
+
LumiaAlertValues["YOUTUBE_GIFT_MEMBER"] = "youtube-giftMember";
|
|
287
|
+
/** YouTube session gift members */
|
|
288
|
+
LumiaAlertValues["YOUTUBE_SESSION_GIFT_MEMBERS"] = "youtube-sessionGiftMembers";
|
|
281
289
|
/** YouTube Super Chat */
|
|
282
290
|
LumiaAlertValues["YOUTUBE_SUPERCHAT"] = "youtube-superchat";
|
|
291
|
+
/** YouTube session superchats */
|
|
292
|
+
LumiaAlertValues["YOUTUBE_SESSION_SUPERCHATS"] = "youtube-sessionSuperchats";
|
|
283
293
|
/** YouTube Super Sticker */
|
|
284
294
|
LumiaAlertValues["YOUTUBE_SUPERSTICKER"] = "youtube-supersticker";
|
|
295
|
+
/** YouTube session superstickers */
|
|
296
|
+
LumiaAlertValues["YOUTUBE_SESSION_SUPERSTICKERS"] = "youtube-sessionSuperstickers";
|
|
285
297
|
/** YouTube total likes */
|
|
286
298
|
LumiaAlertValues["YOUTUBE_LIKE"] = "youtube-like";
|
|
287
299
|
/** YouTube total views */
|
package/dist/alert.types.js
CHANGED
|
@@ -3212,6 +3212,62 @@ exports.LumiaAlertConfigs = {
|
|
|
3212
3212
|
],
|
|
3213
3213
|
LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }, { type: LumiaVariationConditions.EQUAL_USERNAME }],
|
|
3214
3214
|
},
|
|
3215
|
+
[activity_types_1.LumiaAlertValues.YOUTUBE_SESSION_SUBSCRIBERS]: {
|
|
3216
|
+
connection: event_types_1.LumiaIntegrations.YOUTUBE,
|
|
3217
|
+
message: 'Reached {{total}} subscribers',
|
|
3218
|
+
eventlistMessage: 'Total Subscribers {{total}}',
|
|
3219
|
+
eventlistDetailedMessage: 'reached {{total}} subscribers',
|
|
3220
|
+
acceptedVariables: variables_types_1.AllVariables.youtube.alerts.sessionSubscribers,
|
|
3221
|
+
eventlistSpecialUsername: 'Total Subscribers',
|
|
3222
|
+
quickActions: [
|
|
3223
|
+
{
|
|
3224
|
+
label: '10 Total Subscribers',
|
|
3225
|
+
dynamic: { value: 10, total: 10, previousTotal: 5 },
|
|
3226
|
+
extraSettings: {
|
|
3227
|
+
total: 10,
|
|
3228
|
+
previousTotal: 5,
|
|
3229
|
+
},
|
|
3230
|
+
},
|
|
3231
|
+
{
|
|
3232
|
+
label: '50 Total Subscribers',
|
|
3233
|
+
dynamic: { value: 50, total: 50, previousTotal: 2 },
|
|
3234
|
+
extraSettings: {
|
|
3235
|
+
total: 50,
|
|
3236
|
+
previousTotal: 2,
|
|
3237
|
+
},
|
|
3238
|
+
},
|
|
3239
|
+
{
|
|
3240
|
+
label: '100 Total Subscribers',
|
|
3241
|
+
dynamic: { value: 100, total: 100, previousTotal: 50 },
|
|
3242
|
+
extraSettings: {
|
|
3243
|
+
total: 100,
|
|
3244
|
+
previousTotal: 50,
|
|
3245
|
+
},
|
|
3246
|
+
},
|
|
3247
|
+
],
|
|
3248
|
+
inputFields: [
|
|
3249
|
+
{
|
|
3250
|
+
type: 'number',
|
|
3251
|
+
label: 'Total Subscribers',
|
|
3252
|
+
dynamicField: 'value',
|
|
3253
|
+
variableField: 'total',
|
|
3254
|
+
required: true,
|
|
3255
|
+
default: 10,
|
|
3256
|
+
},
|
|
3257
|
+
{
|
|
3258
|
+
type: 'number',
|
|
3259
|
+
label: 'Previous Total',
|
|
3260
|
+
dynamicField: 'previousTotal',
|
|
3261
|
+
variableField: 'previousTotal',
|
|
3262
|
+
required: false,
|
|
3263
|
+
default: 0,
|
|
3264
|
+
},
|
|
3265
|
+
],
|
|
3266
|
+
LumiaVariationConditions: [
|
|
3267
|
+
{ type: LumiaVariationConditions.GREATER_NUMBER, description: 'Total Session Subscriber Count Greater Than' },
|
|
3268
|
+
{ type: LumiaVariationConditions.COUNT_IS_MULTIPLE_OF, description: 'Total Session Subscriber Count is a multiple of' },
|
|
3269
|
+
],
|
|
3270
|
+
},
|
|
3215
3271
|
[activity_types_1.LumiaAlertValues.YOUTUBE_MEMBER]: {
|
|
3216
3272
|
connection: event_types_1.LumiaIntegrations.YOUTUBE,
|
|
3217
3273
|
message: '{{username}} just became a member with a {{tier}} plan!',
|
|
@@ -3326,6 +3382,218 @@ exports.LumiaAlertConfigs = {
|
|
|
3326
3382
|
{ type: LumiaVariationConditions.EQUAL_USERNAME },
|
|
3327
3383
|
],
|
|
3328
3384
|
},
|
|
3385
|
+
[activity_types_1.LumiaAlertValues.YOUTUBE_SESSION_MEMBERS]: {
|
|
3386
|
+
connection: event_types_1.LumiaIntegrations.YOUTUBE,
|
|
3387
|
+
message: 'Reached {{total}} members',
|
|
3388
|
+
eventlistMessage: 'Total Members {{total}}',
|
|
3389
|
+
eventlistDetailedMessage: 'reached {{total}} members',
|
|
3390
|
+
acceptedVariables: variables_types_1.AllVariables.youtube.alerts.sessionMembers,
|
|
3391
|
+
eventlistSpecialUsername: 'Total Members',
|
|
3392
|
+
quickActions: [
|
|
3393
|
+
{
|
|
3394
|
+
label: '10 Total Members',
|
|
3395
|
+
dynamic: { value: 10, total: 10, previousTotal: 5 },
|
|
3396
|
+
extraSettings: {
|
|
3397
|
+
total: 10,
|
|
3398
|
+
previousTotal: 5,
|
|
3399
|
+
},
|
|
3400
|
+
},
|
|
3401
|
+
{
|
|
3402
|
+
label: '50 Total Members',
|
|
3403
|
+
dynamic: { value: 50, total: 50, previousTotal: 2 },
|
|
3404
|
+
extraSettings: {
|
|
3405
|
+
total: 50,
|
|
3406
|
+
previousTotal: 2,
|
|
3407
|
+
},
|
|
3408
|
+
},
|
|
3409
|
+
{
|
|
3410
|
+
label: '100 Total Members',
|
|
3411
|
+
dynamic: { value: 100, total: 100, previousTotal: 50 },
|
|
3412
|
+
extraSettings: {
|
|
3413
|
+
total: 100,
|
|
3414
|
+
previousTotal: 50,
|
|
3415
|
+
},
|
|
3416
|
+
},
|
|
3417
|
+
],
|
|
3418
|
+
inputFields: [
|
|
3419
|
+
{
|
|
3420
|
+
type: 'number',
|
|
3421
|
+
label: 'Total Members',
|
|
3422
|
+
dynamicField: 'value',
|
|
3423
|
+
variableField: 'total',
|
|
3424
|
+
required: true,
|
|
3425
|
+
default: 10,
|
|
3426
|
+
},
|
|
3427
|
+
{
|
|
3428
|
+
type: 'number',
|
|
3429
|
+
label: 'Previous Total',
|
|
3430
|
+
dynamicField: 'previousTotal',
|
|
3431
|
+
variableField: 'previousTotal',
|
|
3432
|
+
required: false,
|
|
3433
|
+
default: 0,
|
|
3434
|
+
},
|
|
3435
|
+
],
|
|
3436
|
+
LumiaVariationConditions: [
|
|
3437
|
+
{ type: LumiaVariationConditions.GREATER_NUMBER, description: 'Total Session Member Count Greater Than' },
|
|
3438
|
+
{ type: LumiaVariationConditions.COUNT_IS_MULTIPLE_OF, description: 'Total Session Member Count is a multiple of' },
|
|
3439
|
+
],
|
|
3440
|
+
},
|
|
3441
|
+
[activity_types_1.LumiaAlertValues.YOUTUBE_GIFT_MEMBER]: {
|
|
3442
|
+
connection: event_types_1.LumiaIntegrations.YOUTUBE,
|
|
3443
|
+
message: '{{gifter}} gifted {{giftAmount}} {{tier}} members to {{recipients}}',
|
|
3444
|
+
eventlistMessage: 'Gifted {{giftAmount}} members',
|
|
3445
|
+
eventlistDetailedMessage: 'gifted {{giftAmount}} {{tier}} members to {{recipients}}',
|
|
3446
|
+
acceptedVariables: variables_types_1.AllVariables.youtube.alerts.giftMember,
|
|
3447
|
+
quickActions: [
|
|
3448
|
+
{
|
|
3449
|
+
label: 'Gift 1 Member',
|
|
3450
|
+
dynamic: { value: '1', giftAmount: 1 },
|
|
3451
|
+
extraSettings: {
|
|
3452
|
+
username: 'lumiastream',
|
|
3453
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
3454
|
+
gifter: 'lumiastream',
|
|
3455
|
+
message: 'Great Stream',
|
|
3456
|
+
recipients: 'worldlights',
|
|
3457
|
+
recipientsRaw: [{ username: 'worldlights', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures', userId: '123', userLevels: { subscriber: true } }],
|
|
3458
|
+
giftAmount: 1,
|
|
3459
|
+
totalGifts: 1,
|
|
3460
|
+
subMonths: 1,
|
|
3461
|
+
tier: 'Tier 1',
|
|
3462
|
+
subPlan: '1',
|
|
3463
|
+
subPlanName: 'My Day ones',
|
|
3464
|
+
},
|
|
3465
|
+
},
|
|
3466
|
+
{
|
|
3467
|
+
label: 'Gift 5 Members',
|
|
3468
|
+
dynamic: { value: '1', giftAmount: 5 },
|
|
3469
|
+
extraSettings: {
|
|
3470
|
+
username: 'lumiastream',
|
|
3471
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
3472
|
+
gifter: 'lumiastream',
|
|
3473
|
+
message: 'Great Stream',
|
|
3474
|
+
recipients: 'worldlights,lumiastream,lumiatwitch,lumiayoutube,rgblumia',
|
|
3475
|
+
recipientsRaw: [
|
|
3476
|
+
{ username: 'worldlights', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures', userId: '123', userLevels: { subscriber: true } },
|
|
3477
|
+
{ username: 'lumiastream', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures', userId: '123', userLevels: { subscriber: true } },
|
|
3478
|
+
{ username: 'lumiatwitch', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures', userId: '123', userLevels: { subscriber: true } },
|
|
3479
|
+
{ username: 'worldlights', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures', userId: '123', userLevels: { subscriber: true } },
|
|
3480
|
+
{ username: 'rgblumia', avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures', userId: '123', userLevels: { subscriber: true } },
|
|
3481
|
+
],
|
|
3482
|
+
giftAmount: 5,
|
|
3483
|
+
totalGifts: 5,
|
|
3484
|
+
subMonths: 1,
|
|
3485
|
+
tier: 'Tier 1',
|
|
3486
|
+
subPlan: '1',
|
|
3487
|
+
subPlanName: 'My Day ones',
|
|
3488
|
+
},
|
|
3489
|
+
},
|
|
3490
|
+
],
|
|
3491
|
+
inputFields: [
|
|
3492
|
+
{
|
|
3493
|
+
type: 'text',
|
|
3494
|
+
label: 'Gifter',
|
|
3495
|
+
variableField: 'gifter',
|
|
3496
|
+
required: false,
|
|
3497
|
+
default: 'lumiastream',
|
|
3498
|
+
},
|
|
3499
|
+
{
|
|
3500
|
+
type: 'text',
|
|
3501
|
+
label: 'Username',
|
|
3502
|
+
variableField: 'username',
|
|
3503
|
+
required: false,
|
|
3504
|
+
default: 'lumiastream',
|
|
3505
|
+
},
|
|
3506
|
+
{
|
|
3507
|
+
type: 'text',
|
|
3508
|
+
label: 'Gift Recipients',
|
|
3509
|
+
variableField: 'recipients',
|
|
3510
|
+
required: true,
|
|
3511
|
+
default: 'worldlights',
|
|
3512
|
+
},
|
|
3513
|
+
{
|
|
3514
|
+
type: 'number',
|
|
3515
|
+
label: 'Gift amount',
|
|
3516
|
+
dynamicField: 'giftAmount',
|
|
3517
|
+
variableField: 'giftAmount',
|
|
3518
|
+
required: true,
|
|
3519
|
+
default: 1,
|
|
3520
|
+
},
|
|
3521
|
+
{
|
|
3522
|
+
type: 'text',
|
|
3523
|
+
label: 'Message',
|
|
3524
|
+
variableField: 'message',
|
|
3525
|
+
required: false,
|
|
3526
|
+
default: 'Great stream',
|
|
3527
|
+
},
|
|
3528
|
+
],
|
|
3529
|
+
LumiaVariationConditions: [
|
|
3530
|
+
{ type: LumiaVariationConditions.RANDOM },
|
|
3531
|
+
{
|
|
3532
|
+
type: LumiaVariationConditions.GIFT_SUB_EQUAL,
|
|
3533
|
+
description: 'Gift members is equal to',
|
|
3534
|
+
},
|
|
3535
|
+
{
|
|
3536
|
+
type: LumiaVariationConditions.GIFT_SUB_GREATER,
|
|
3537
|
+
description: 'Gift members is greater than',
|
|
3538
|
+
},
|
|
3539
|
+
],
|
|
3540
|
+
},
|
|
3541
|
+
[activity_types_1.LumiaAlertValues.YOUTUBE_SESSION_GIFT_MEMBERS]: {
|
|
3542
|
+
connection: event_types_1.LumiaIntegrations.YOUTUBE,
|
|
3543
|
+
message: 'Reached {{total}} gift members',
|
|
3544
|
+
eventlistMessage: 'Total Gift Members {{total}}',
|
|
3545
|
+
eventlistDetailedMessage: 'reached {{total}} gift members',
|
|
3546
|
+
acceptedVariables: variables_types_1.AllVariables.youtube.alerts.sessionGiftMembers,
|
|
3547
|
+
eventlistSpecialUsername: 'Total Gift Members',
|
|
3548
|
+
quickActions: [
|
|
3549
|
+
{
|
|
3550
|
+
label: '10 Total Gift Members',
|
|
3551
|
+
dynamic: { value: 10, total: 10, previousTotal: 5 },
|
|
3552
|
+
extraSettings: {
|
|
3553
|
+
total: 10,
|
|
3554
|
+
previousTotal: 5,
|
|
3555
|
+
},
|
|
3556
|
+
},
|
|
3557
|
+
{
|
|
3558
|
+
label: '50 Total Gift Members',
|
|
3559
|
+
dynamic: { value: 50, total: 50, previousTotal: 2 },
|
|
3560
|
+
extraSettings: {
|
|
3561
|
+
total: 50,
|
|
3562
|
+
previousTotal: 2,
|
|
3563
|
+
},
|
|
3564
|
+
},
|
|
3565
|
+
{
|
|
3566
|
+
label: '100 Total Gift Members',
|
|
3567
|
+
dynamic: { value: 100, total: 100, previousTotal: 50 },
|
|
3568
|
+
extraSettings: {
|
|
3569
|
+
total: 100,
|
|
3570
|
+
previousTotal: 50,
|
|
3571
|
+
},
|
|
3572
|
+
},
|
|
3573
|
+
],
|
|
3574
|
+
inputFields: [
|
|
3575
|
+
{
|
|
3576
|
+
type: 'number',
|
|
3577
|
+
label: 'Total Gift Members',
|
|
3578
|
+
dynamicField: 'value',
|
|
3579
|
+
variableField: 'total',
|
|
3580
|
+
required: true,
|
|
3581
|
+
default: 10,
|
|
3582
|
+
},
|
|
3583
|
+
{
|
|
3584
|
+
type: 'number',
|
|
3585
|
+
label: 'Previous Total',
|
|
3586
|
+
dynamicField: 'previousTotal',
|
|
3587
|
+
variableField: 'previousTotal',
|
|
3588
|
+
required: false,
|
|
3589
|
+
default: 0,
|
|
3590
|
+
},
|
|
3591
|
+
],
|
|
3592
|
+
LumiaVariationConditions: [
|
|
3593
|
+
{ type: LumiaVariationConditions.GREATER_NUMBER, description: 'Total Session Gift Member Count Greater Than' },
|
|
3594
|
+
{ type: LumiaVariationConditions.COUNT_IS_MULTIPLE_OF, description: 'Total Session Gift Member Count is a multiple of' },
|
|
3595
|
+
],
|
|
3596
|
+
},
|
|
3329
3597
|
[activity_types_1.LumiaAlertValues.YOUTUBE_SUPERCHAT]: {
|
|
3330
3598
|
connection: event_types_1.LumiaIntegrations.YOUTUBE,
|
|
3331
3599
|
message: '{{username}} just super chatted with {{amount}}. They said {{message}}',
|
|
@@ -3399,6 +3667,62 @@ exports.LumiaAlertConfigs = {
|
|
|
3399
3667
|
{ type: LumiaVariationConditions.GREATER_CURRENCY_NUMBER },
|
|
3400
3668
|
],
|
|
3401
3669
|
},
|
|
3670
|
+
[activity_types_1.LumiaAlertValues.YOUTUBE_SESSION_SUPERCHATS]: {
|
|
3671
|
+
connection: event_types_1.LumiaIntegrations.YOUTUBE,
|
|
3672
|
+
message: 'Reached {{total}} superchats',
|
|
3673
|
+
eventlistMessage: 'Total Superchats {{total}}',
|
|
3674
|
+
eventlistDetailedMessage: 'reached {{total}} superchats',
|
|
3675
|
+
acceptedVariables: variables_types_1.AllVariables.youtube.alerts.sessionSuperchats,
|
|
3676
|
+
eventlistSpecialUsername: 'Total Superchats',
|
|
3677
|
+
quickActions: [
|
|
3678
|
+
{
|
|
3679
|
+
label: '10 Total Superchats',
|
|
3680
|
+
dynamic: { value: 10, total: 10, previousTotal: 5 },
|
|
3681
|
+
extraSettings: {
|
|
3682
|
+
total: 10,
|
|
3683
|
+
previousTotal: 5,
|
|
3684
|
+
},
|
|
3685
|
+
},
|
|
3686
|
+
{
|
|
3687
|
+
label: '50 Total Superchats',
|
|
3688
|
+
dynamic: { value: 50, total: 50, previousTotal: 2 },
|
|
3689
|
+
extraSettings: {
|
|
3690
|
+
total: 50,
|
|
3691
|
+
previousTotal: 2,
|
|
3692
|
+
},
|
|
3693
|
+
},
|
|
3694
|
+
{
|
|
3695
|
+
label: '100 Total Superchats',
|
|
3696
|
+
dynamic: { value: 100, total: 100, previousTotal: 50 },
|
|
3697
|
+
extraSettings: {
|
|
3698
|
+
total: 100,
|
|
3699
|
+
previousTotal: 50,
|
|
3700
|
+
},
|
|
3701
|
+
},
|
|
3702
|
+
],
|
|
3703
|
+
inputFields: [
|
|
3704
|
+
{
|
|
3705
|
+
type: 'number',
|
|
3706
|
+
label: 'Total Superchats',
|
|
3707
|
+
dynamicField: 'value',
|
|
3708
|
+
variableField: 'total',
|
|
3709
|
+
required: true,
|
|
3710
|
+
default: 10,
|
|
3711
|
+
},
|
|
3712
|
+
{
|
|
3713
|
+
type: 'number',
|
|
3714
|
+
label: 'Previous Total',
|
|
3715
|
+
dynamicField: 'previousTotal',
|
|
3716
|
+
variableField: 'previousTotal',
|
|
3717
|
+
required: false,
|
|
3718
|
+
default: 0,
|
|
3719
|
+
},
|
|
3720
|
+
],
|
|
3721
|
+
LumiaVariationConditions: [
|
|
3722
|
+
{ type: LumiaVariationConditions.GREATER_NUMBER, description: 'Total Session Superchat Count Greater Than' },
|
|
3723
|
+
{ type: LumiaVariationConditions.COUNT_IS_MULTIPLE_OF, description: 'Total Session Superchat Count is a multiple of' },
|
|
3724
|
+
],
|
|
3725
|
+
},
|
|
3402
3726
|
[activity_types_1.LumiaAlertValues.YOUTUBE_SUPERSTICKER]: {
|
|
3403
3727
|
connection: event_types_1.LumiaIntegrations.YOUTUBE,
|
|
3404
3728
|
message: '{{username}} just sent a supersticker with {{amount}}',
|
|
@@ -3461,6 +3785,62 @@ exports.LumiaAlertConfigs = {
|
|
|
3461
3785
|
{ type: LumiaVariationConditions.EQUAL_USERNAME },
|
|
3462
3786
|
],
|
|
3463
3787
|
},
|
|
3788
|
+
[activity_types_1.LumiaAlertValues.YOUTUBE_SESSION_SUPERSTICKERS]: {
|
|
3789
|
+
connection: event_types_1.LumiaIntegrations.YOUTUBE,
|
|
3790
|
+
message: 'Reached {{total}} superstickers',
|
|
3791
|
+
eventlistMessage: 'Total Subscribers {{total}}',
|
|
3792
|
+
eventlistDetailedMessage: 'reached {{total}} superstickers',
|
|
3793
|
+
acceptedVariables: variables_types_1.AllVariables.youtube.alerts.sessionSuperstickers,
|
|
3794
|
+
eventlistSpecialUsername: 'Total Superstickers',
|
|
3795
|
+
quickActions: [
|
|
3796
|
+
{
|
|
3797
|
+
label: '10 Total Superstickers',
|
|
3798
|
+
dynamic: { value: 10, total: 10, previousTotal: 5 },
|
|
3799
|
+
extraSettings: {
|
|
3800
|
+
total: 10,
|
|
3801
|
+
previousTotal: 5,
|
|
3802
|
+
},
|
|
3803
|
+
},
|
|
3804
|
+
{
|
|
3805
|
+
label: '50 Total Superstickers',
|
|
3806
|
+
dynamic: { value: 50, total: 50, previousTotal: 2 },
|
|
3807
|
+
extraSettings: {
|
|
3808
|
+
total: 50,
|
|
3809
|
+
previousTotal: 2,
|
|
3810
|
+
},
|
|
3811
|
+
},
|
|
3812
|
+
{
|
|
3813
|
+
label: '100 Total Superstickers',
|
|
3814
|
+
dynamic: { value: 100, total: 100, previousTotal: 50 },
|
|
3815
|
+
extraSettings: {
|
|
3816
|
+
total: 100,
|
|
3817
|
+
previousTotal: 50,
|
|
3818
|
+
},
|
|
3819
|
+
},
|
|
3820
|
+
],
|
|
3821
|
+
inputFields: [
|
|
3822
|
+
{
|
|
3823
|
+
type: 'number',
|
|
3824
|
+
label: 'Total Superstickers',
|
|
3825
|
+
dynamicField: 'value',
|
|
3826
|
+
variableField: 'total',
|
|
3827
|
+
required: true,
|
|
3828
|
+
default: 10,
|
|
3829
|
+
},
|
|
3830
|
+
{
|
|
3831
|
+
type: 'number',
|
|
3832
|
+
label: 'Previous Total',
|
|
3833
|
+
dynamicField: 'previousTotal',
|
|
3834
|
+
variableField: 'previousTotal',
|
|
3835
|
+
required: false,
|
|
3836
|
+
default: 0,
|
|
3837
|
+
},
|
|
3838
|
+
],
|
|
3839
|
+
LumiaVariationConditions: [
|
|
3840
|
+
{ type: LumiaVariationConditions.GREATER_NUMBER, description: 'Total Session Supersticker Count Greater Than' },
|
|
3841
|
+
{ type: LumiaVariationConditions.COUNT_IS_MULTIPLE_OF, description: 'Total Session Supersticker Count is a multiple of' },
|
|
3842
|
+
],
|
|
3843
|
+
},
|
|
3464
3844
|
[activity_types_1.LumiaAlertValues.YOUTUBE_LIKE]: {
|
|
3465
3845
|
connection: event_types_1.LumiaIntegrations.YOUTUBE,
|
|
3466
3846
|
message: '{{likes}} likes on the stream',
|
|
@@ -522,14 +522,26 @@ export declare enum LumiaAlertValues {
|
|
|
522
522
|
YOUTUBE_FIRST_CHATTER = "youtube-firstChatter",
|
|
523
523
|
/** YouTube user entrance */
|
|
524
524
|
YOUTUBE_ENTRANCE = "youtube-entrance",
|
|
525
|
-
/** YouTube channel membership */
|
|
526
|
-
YOUTUBE_MEMBER = "youtube-member",
|
|
527
525
|
/** YouTube new subscriber */
|
|
528
526
|
YOUTUBE_SUBSCRIBER = "youtube-subscriber",
|
|
527
|
+
/** YouTube session subscribers */
|
|
528
|
+
YOUTUBE_SESSION_SUBSCRIBERS = "youtube-sessionSubscribers",
|
|
529
|
+
/** YouTube channel membership */
|
|
530
|
+
YOUTUBE_MEMBER = "youtube-member",
|
|
531
|
+
/** YouTube session members */
|
|
532
|
+
YOUTUBE_SESSION_MEMBERS = "youtube-sessionMembers",
|
|
533
|
+
/** YouTube gift member */
|
|
534
|
+
YOUTUBE_GIFT_MEMBER = "youtube-giftMember",
|
|
535
|
+
/** YouTube session gift members */
|
|
536
|
+
YOUTUBE_SESSION_GIFT_MEMBERS = "youtube-sessionGiftMembers",
|
|
529
537
|
/** YouTube Super Chat */
|
|
530
538
|
YOUTUBE_SUPERCHAT = "youtube-superchat",
|
|
539
|
+
/** YouTube session superchats */
|
|
540
|
+
YOUTUBE_SESSION_SUPERCHATS = "youtube-sessionSuperchats",
|
|
531
541
|
/** YouTube Super Sticker */
|
|
532
542
|
YOUTUBE_SUPERSTICKER = "youtube-supersticker",
|
|
543
|
+
/** YouTube session superstickers */
|
|
544
|
+
YOUTUBE_SESSION_SUPERSTICKERS = "youtube-sessionSuperstickers",
|
|
533
545
|
/** YouTube total likes */
|
|
534
546
|
YOUTUBE_LIKE = "youtube-like",
|
|
535
547
|
/** YouTube total views */
|
|
@@ -522,14 +522,26 @@ export declare enum LumiaAlertValues {
|
|
|
522
522
|
YOUTUBE_FIRST_CHATTER = "youtube-firstChatter",
|
|
523
523
|
/** YouTube user entrance */
|
|
524
524
|
YOUTUBE_ENTRANCE = "youtube-entrance",
|
|
525
|
-
/** YouTube channel membership */
|
|
526
|
-
YOUTUBE_MEMBER = "youtube-member",
|
|
527
525
|
/** YouTube new subscriber */
|
|
528
526
|
YOUTUBE_SUBSCRIBER = "youtube-subscriber",
|
|
527
|
+
/** YouTube session subscribers */
|
|
528
|
+
YOUTUBE_SESSION_SUBSCRIBERS = "youtube-sessionSubscribers",
|
|
529
|
+
/** YouTube channel membership */
|
|
530
|
+
YOUTUBE_MEMBER = "youtube-member",
|
|
531
|
+
/** YouTube session members */
|
|
532
|
+
YOUTUBE_SESSION_MEMBERS = "youtube-sessionMembers",
|
|
533
|
+
/** YouTube gift member */
|
|
534
|
+
YOUTUBE_GIFT_MEMBER = "youtube-giftMember",
|
|
535
|
+
/** YouTube session gift members */
|
|
536
|
+
YOUTUBE_SESSION_GIFT_MEMBERS = "youtube-sessionGiftMembers",
|
|
529
537
|
/** YouTube Super Chat */
|
|
530
538
|
YOUTUBE_SUPERCHAT = "youtube-superchat",
|
|
539
|
+
/** YouTube session superchats */
|
|
540
|
+
YOUTUBE_SESSION_SUPERCHATS = "youtube-sessionSuperchats",
|
|
531
541
|
/** YouTube Super Sticker */
|
|
532
542
|
YOUTUBE_SUPERSTICKER = "youtube-supersticker",
|
|
543
|
+
/** YouTube session superstickers */
|
|
544
|
+
YOUTUBE_SESSION_SUPERSTICKERS = "youtube-sessionSuperstickers",
|
|
533
545
|
/** YouTube total likes */
|
|
534
546
|
YOUTUBE_LIKE = "youtube-like",
|
|
535
547
|
/** YouTube total views */
|
|
@@ -958,9 +958,15 @@ export declare const AllVariables: {
|
|
|
958
958
|
firstChatter: string[];
|
|
959
959
|
entrance: string[];
|
|
960
960
|
subscriber: string[];
|
|
961
|
+
sessionSubscribers: string[];
|
|
961
962
|
member: string[];
|
|
963
|
+
sessionMembers: string[];
|
|
964
|
+
giftMember: string[];
|
|
965
|
+
sessionGiftMembers: string[];
|
|
962
966
|
superchat: string[];
|
|
967
|
+
sessionSuperchats: string[];
|
|
963
968
|
supersticker: string[];
|
|
969
|
+
sessionSuperstickers: string[];
|
|
964
970
|
like: string[];
|
|
965
971
|
viewers: string[];
|
|
966
972
|
};
|
package/dist/variables.types.js
CHANGED
|
@@ -1864,9 +1864,30 @@ exports.AllVariables = {
|
|
|
1864
1864
|
firstChatter: ['username', 'displayname', 'userId', 'avatar', 'first_count', 'message'],
|
|
1865
1865
|
entrance: ['username', 'displayname', 'userId', 'avatar', 'message'],
|
|
1866
1866
|
subscriber: ['username', 'displayname', 'avatar', 'userId'],
|
|
1867
|
+
sessionSubscribers: ['total', 'previousTotal'],
|
|
1867
1868
|
member: ['username', 'displayname', 'avatar', 'tier', 'subMonths', 'streakMonths', 'message', 'subPlan', 'subPlanName', 'subPlanId'],
|
|
1869
|
+
sessionMembers: ['total', 'previousTotal'],
|
|
1870
|
+
giftMember: [
|
|
1871
|
+
'username',
|
|
1872
|
+
'displayname',
|
|
1873
|
+
'avatar',
|
|
1874
|
+
'tier',
|
|
1875
|
+
'giftAmount',
|
|
1876
|
+
'recipients',
|
|
1877
|
+
'recipientsRaw',
|
|
1878
|
+
'gifter',
|
|
1879
|
+
'totalGifts',
|
|
1880
|
+
'subMonths',
|
|
1881
|
+
'streakMonths',
|
|
1882
|
+
'message',
|
|
1883
|
+
'subPlan',
|
|
1884
|
+
'subPlanName',
|
|
1885
|
+
],
|
|
1886
|
+
sessionGiftMembers: ['total', 'previousTotal'],
|
|
1868
1887
|
superchat: ['username', 'displayname', 'currency', 'amount', 'message'],
|
|
1888
|
+
sessionSuperchats: ['total', 'previousTotal'],
|
|
1869
1889
|
supersticker: ['username', 'displayname', 'amount'],
|
|
1890
|
+
sessionSuperstickers: ['total', 'previousTotal'],
|
|
1870
1891
|
like: ['likes', 'dislikes'],
|
|
1871
1892
|
viewers: ['viewers'],
|
|
1872
1893
|
},
|