@lumiastream/lumia-types 2.0.14 → 2.0.16
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
CHANGED
|
@@ -203,7 +203,7 @@ export declare enum LumiaAlertValues {
|
|
|
203
203
|
TIKTOK_ENTRANCE = "tiktok-entrance",
|
|
204
204
|
TIKTOK_FOLLOWER = "tiktok-follower",
|
|
205
205
|
TIKTOK_LIKE = "tiktok-like",
|
|
206
|
-
|
|
206
|
+
TIKTOK_TOTAL_LIKES = "tiktok-totalLikes",
|
|
207
207
|
TIKTOK_GIFT = "tiktok-gift",
|
|
208
208
|
TIKTOK_SUBSCRIBER = "tiktok-subscriber",
|
|
209
209
|
TIKTOK_SHARE = "tiktok-share",
|
|
@@ -379,7 +379,7 @@ export declare const LumiaAlertFriendlyValues: {
|
|
|
379
379
|
"tiktok-firstChatter": string;
|
|
380
380
|
"tiktok-follower": string;
|
|
381
381
|
"tiktok-like": string;
|
|
382
|
-
"tiktok-
|
|
382
|
+
"tiktok-totalLikes": string;
|
|
383
383
|
"tiktok-gift": string;
|
|
384
384
|
"tiktok-subscriber": string;
|
|
385
385
|
"tiktok-share": string;
|
package/dist/activity.types.js
CHANGED
|
@@ -216,7 +216,7 @@ var LumiaAlertValues;
|
|
|
216
216
|
LumiaAlertValues["TIKTOK_ENTRANCE"] = "tiktok-entrance";
|
|
217
217
|
LumiaAlertValues["TIKTOK_FOLLOWER"] = "tiktok-follower";
|
|
218
218
|
LumiaAlertValues["TIKTOK_LIKE"] = "tiktok-like";
|
|
219
|
-
LumiaAlertValues["
|
|
219
|
+
LumiaAlertValues["TIKTOK_TOTAL_LIKES"] = "tiktok-totalLikes";
|
|
220
220
|
LumiaAlertValues["TIKTOK_GIFT"] = "tiktok-gift";
|
|
221
221
|
LumiaAlertValues["TIKTOK_SUBSCRIBER"] = "tiktok-subscriber";
|
|
222
222
|
LumiaAlertValues["TIKTOK_SHARE"] = "tiktok-share";
|
|
@@ -394,7 +394,7 @@ exports.LumiaAlertFriendlyValues = {
|
|
|
394
394
|
[LumiaAlertValues.TIKTOK_FIRST_CHATTER]: 'Tiktok First Chatter',
|
|
395
395
|
[LumiaAlertValues.TIKTOK_FOLLOWER]: 'Tiktok Follower',
|
|
396
396
|
[LumiaAlertValues.TIKTOK_LIKE]: 'Tiktok Like',
|
|
397
|
-
[LumiaAlertValues.
|
|
397
|
+
[LumiaAlertValues.TIKTOK_TOTAL_LIKES]: 'Tiktok Total Likes',
|
|
398
398
|
[LumiaAlertValues.TIKTOK_GIFT]: 'Tiktok Gift',
|
|
399
399
|
[LumiaAlertValues.TIKTOK_SUBSCRIBER]: 'Tiktok Subscriber',
|
|
400
400
|
[LumiaAlertValues.TIKTOK_SHARE]: 'Tiktok Share',
|
package/dist/alert.types.js
CHANGED
|
@@ -3651,20 +3651,6 @@ exports.LumiaAlertConfigs = {
|
|
|
3651
3651
|
required: true,
|
|
3652
3652
|
default: 1,
|
|
3653
3653
|
},
|
|
3654
|
-
{
|
|
3655
|
-
type: 'selection',
|
|
3656
|
-
label: 'Tier',
|
|
3657
|
-
dynamicField: 'value',
|
|
3658
|
-
variableField: 'subPlan',
|
|
3659
|
-
default: 1000,
|
|
3660
|
-
required: true,
|
|
3661
|
-
selections: [
|
|
3662
|
-
{ label: 'Tier 1', value: 1000 },
|
|
3663
|
-
{ label: 'Tier 2', value: 2000 },
|
|
3664
|
-
{ label: 'Tier 3', value: 3000 },
|
|
3665
|
-
{ label: 'Prime', value: 'Prime' },
|
|
3666
|
-
],
|
|
3667
|
-
},
|
|
3668
3654
|
{
|
|
3669
3655
|
type: 'text',
|
|
3670
3656
|
label: 'Message',
|
|
@@ -3829,18 +3815,15 @@ exports.LumiaAlertConfigs = {
|
|
|
3829
3815
|
default: 1000,
|
|
3830
3816
|
},
|
|
3831
3817
|
],
|
|
3832
|
-
LumiaVariationConditions: [
|
|
3833
|
-
{ type: LumiaVariationConditions.RANDOM },
|
|
3834
|
-
{ type: LumiaVariationConditions.GREATER_NUMBER, description: 'User Like Count Greater Than (Only Triggers once per session)' },
|
|
3835
|
-
],
|
|
3818
|
+
LumiaVariationConditions: [{ type: LumiaVariationConditions.GREATER_NUMBER, description: 'User Like Count Greater Than' }],
|
|
3836
3819
|
},
|
|
3837
|
-
[activity_types_1.LumiaAlertValues.
|
|
3820
|
+
[activity_types_1.LumiaAlertValues.TIKTOK_TOTAL_LIKES]: {
|
|
3838
3821
|
connection: event_types_1.LumiaIntegrations.TIKTOK,
|
|
3839
3822
|
message: 'Reached {{totalLikeCount}} likes',
|
|
3840
|
-
eventlistMessage: '
|
|
3823
|
+
eventlistMessage: 'Total Likes {{totalLikeCount}}',
|
|
3841
3824
|
eventlistDetailedMessage: 'reached {{totalLikeCount}} likes',
|
|
3842
3825
|
acceptedVariables: variables_types_1.AllVariables.tiktok.alerts.like,
|
|
3843
|
-
eventlistSpecialUsername: '
|
|
3826
|
+
eventlistSpecialUsername: 'Total Likes',
|
|
3844
3827
|
quickActions: [
|
|
3845
3828
|
{
|
|
3846
3829
|
label: '1000 Total Likes',
|
|
@@ -3883,10 +3866,7 @@ exports.LumiaAlertConfigs = {
|
|
|
3883
3866
|
default: 1000,
|
|
3884
3867
|
},
|
|
3885
3868
|
],
|
|
3886
|
-
LumiaVariationConditions: [
|
|
3887
|
-
{ type: LumiaVariationConditions.RANDOM },
|
|
3888
|
-
{ type: LumiaVariationConditions.GREATER_NUMBER, description: 'Total Like Count Greater Than (Only Triggers once per session)' },
|
|
3889
|
-
],
|
|
3869
|
+
LumiaVariationConditions: [{ type: LumiaVariationConditions.GREATER_NUMBER, description: 'Total Like Count Greater Than' }],
|
|
3890
3870
|
},
|
|
3891
3871
|
[activity_types_1.LumiaAlertValues.TIKTOK_GIFT]: {
|
|
3892
3872
|
connection: event_types_1.LumiaIntegrations.TIKTOK,
|
|
@@ -4224,19 +4204,6 @@ exports.LumiaAlertConfigs = {
|
|
|
4224
4204
|
required: false,
|
|
4225
4205
|
default: 1,
|
|
4226
4206
|
},
|
|
4227
|
-
{
|
|
4228
|
-
type: 'selection',
|
|
4229
|
-
label: 'Sub Plan',
|
|
4230
|
-
dynamicField: 'value',
|
|
4231
|
-
variableField: 'subPlan',
|
|
4232
|
-
default: '1',
|
|
4233
|
-
required: true,
|
|
4234
|
-
selections: [
|
|
4235
|
-
{ label: 'Tier 1', value: '1' },
|
|
4236
|
-
{ label: 'Tier 2', value: '2' },
|
|
4237
|
-
{ label: 'Tier 3', value: '3' },
|
|
4238
|
-
],
|
|
4239
|
-
},
|
|
4240
4207
|
{
|
|
4241
4208
|
type: 'text',
|
|
4242
4209
|
label: 'Message',
|
|
@@ -4247,14 +4214,6 @@ exports.LumiaAlertConfigs = {
|
|
|
4247
4214
|
],
|
|
4248
4215
|
LumiaVariationConditions: [
|
|
4249
4216
|
{ type: LumiaVariationConditions.RANDOM },
|
|
4250
|
-
{
|
|
4251
|
-
type: LumiaVariationConditions.EQUAL_SELECTION,
|
|
4252
|
-
selections: [
|
|
4253
|
-
{ label: 'Tier 1', value: '1' },
|
|
4254
|
-
{ label: 'Tier 2', value: '2' },
|
|
4255
|
-
{ label: 'Tier 3', value: '3' },
|
|
4256
|
-
],
|
|
4257
|
-
},
|
|
4258
4217
|
{
|
|
4259
4218
|
type: LumiaVariationConditions.SUBSCRIBED_MONTHS_EQUAL,
|
|
4260
4219
|
},
|
|
@@ -4343,19 +4302,6 @@ exports.LumiaAlertConfigs = {
|
|
|
4343
4302
|
required: true,
|
|
4344
4303
|
default: 1,
|
|
4345
4304
|
},
|
|
4346
|
-
{
|
|
4347
|
-
type: 'selection',
|
|
4348
|
-
label: 'Sub Plan',
|
|
4349
|
-
dynamicField: 'value',
|
|
4350
|
-
variableField: 'subPlan',
|
|
4351
|
-
default: '1',
|
|
4352
|
-
required: true,
|
|
4353
|
-
selections: [
|
|
4354
|
-
{ label: 'Tier 1', value: '1' },
|
|
4355
|
-
{ label: 'Tier 2', value: '2' },
|
|
4356
|
-
{ label: 'Tier 3', value: '3' },
|
|
4357
|
-
],
|
|
4358
|
-
},
|
|
4359
4305
|
{
|
|
4360
4306
|
type: 'text',
|
|
4361
4307
|
label: 'Message',
|
|
@@ -54,7 +54,7 @@ export declare const LumiaMapAlertTypeToEventListType: {
|
|
|
54
54
|
"tiktok-follower": LumiaEventListTypes;
|
|
55
55
|
"tiktok-gift": LumiaEventListTypes;
|
|
56
56
|
"tiktok-like": LumiaEventListTypes;
|
|
57
|
-
"tiktok-
|
|
57
|
+
"tiktok-totalLikes": LumiaEventListTypes;
|
|
58
58
|
"tiktok-share": LumiaEventListTypes;
|
|
59
59
|
"tiktok-subscriber": LumiaEventListTypes;
|
|
60
60
|
"kick-follower": LumiaEventListTypes;
|
package/dist/eventlist.types.js
CHANGED
|
@@ -59,7 +59,7 @@ exports.LumiaMapAlertTypeToEventListType = {
|
|
|
59
59
|
[activity_types_1.LumiaAlertValues.TIKTOK_FOLLOWER]: LumiaEventListTypes.FOLLOWER,
|
|
60
60
|
[activity_types_1.LumiaAlertValues.TIKTOK_GIFT]: LumiaEventListTypes.GIFTS,
|
|
61
61
|
[activity_types_1.LumiaAlertValues.TIKTOK_LIKE]: LumiaEventListTypes.LIKES,
|
|
62
|
-
[activity_types_1.LumiaAlertValues.
|
|
62
|
+
[activity_types_1.LumiaAlertValues.TIKTOK_TOTAL_LIKES]: LumiaEventListTypes.LIKES,
|
|
63
63
|
[activity_types_1.LumiaAlertValues.TIKTOK_SHARE]: LumiaEventListTypes.SHARES,
|
|
64
64
|
[activity_types_1.LumiaAlertValues.TIKTOK_SUBSCRIBER]: LumiaEventListTypes.SUBSCRIBERS,
|
|
65
65
|
[activity_types_1.LumiaAlertValues.KICK_FOLLOWER]: LumiaEventListTypes.FOLLOWER,
|
package/dist/variables.types.js
CHANGED
|
@@ -1160,7 +1160,7 @@ exports.AllVariables = {
|
|
|
1160
1160
|
subscriber: ['username', 'displayname', 'subMonths', 'avatar'],
|
|
1161
1161
|
gift: ['username', 'userId', 'profilePictureUrl', 'describe', 'coins', 'giftId', 'giftName', 'giftPictureUrl', 'giftType', 'isNewGifter', 'receiverUserId', 'repeatCount', 'repeatEnd'],
|
|
1162
1162
|
like: ['username', 'userId', 'displayname', 'avatar', 'userLikeCount', 'totalLikeCount'],
|
|
1163
|
-
|
|
1163
|
+
totalLikes: ['username', 'userId', 'displayname', 'avatar', 'userLikeCount', 'totalLikeCount'],
|
|
1164
1164
|
share: ['username', 'userId', 'displayname', 'avatar'],
|
|
1165
1165
|
streamEnd: ['eventTime'],
|
|
1166
1166
|
newVideo: ['title', 'description', 'embed', 'link', 'id', 'duration', 'likes', 'shares', 'views', 'comments'],
|