@lumiastream/lumia-types 3.0.4 → 3.0.6-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -320,6 +320,26 @@ export declare enum LumiaAlertValues {
320
320
  TIKTOK_SUBSCRIBER = "tiktok-subscriber",
321
321
  /** TikTok share */
322
322
  TIKTOK_SHARE = "tiktok-share",
323
+ /** TikTok treasure chest */
324
+ TIKTOK_ENVELOPE = "tiktok-envelope",
325
+ /** TikTok question */
326
+ TIKTOK_QUESTION = "tiktok-question",
327
+ /** TikTok poll message */
328
+ TIKTOK_POLL_MESSAGE = "tiktok-pollMessage",
329
+ /** TikTok super fan box */
330
+ TIKTOK_SUPER_FAN_BOX = "tiktok-superFanBox",
331
+ /** TikTok live shopping */
332
+ TIKTOK_LIVE_SHOPPING = "tiktok-oecLiveShopping",
333
+ /** TikTok live intro */
334
+ TIKTOK_LIVE_INTRO = "tiktok-liveIntro",
335
+ /** TikTok pinned message */
336
+ TIKTOK_ROOM_PIN = "tiktok-roomPin",
337
+ /** TikTok battle start */
338
+ TIKTOK_BATTLE_START = "tiktok-linkMicBattle",
339
+ /** TikTok battle progress */
340
+ TIKTOK_BATTLE_PROGRESS = "tiktok-linkMicArmies",
341
+ /** TikTok battle result */
342
+ TIKTOK_BATTLE_RESULT = "tiktok-linkMicBattleResult",
323
343
  /** TikTok stream ended */
324
344
  TIKTOK_STREAM_END = "tiktok-streamEnd",
325
345
  /** New TikTok video posted */
@@ -600,6 +620,16 @@ export declare const LumiaAlertFriendlyValues: {
600
620
  "tiktok-gift": string;
601
621
  "tiktok-subscriber": string;
602
622
  "tiktok-share": string;
623
+ "tiktok-envelope": string;
624
+ "tiktok-question": string;
625
+ "tiktok-pollMessage": string;
626
+ "tiktok-superFanBox": string;
627
+ "tiktok-oecLiveShopping": string;
628
+ "tiktok-liveIntro": string;
629
+ "tiktok-roomPin": string;
630
+ "tiktok-linkMicBattle": string;
631
+ "tiktok-linkMicArmies": string;
632
+ "tiktok-linkMicBattleResult": string;
603
633
  "tiktok-streamEnd": string;
604
634
  "tiktok-newVideo": string;
605
635
  "tiktok-entrance": string;
@@ -338,6 +338,26 @@ var LumiaAlertValues;
338
338
  LumiaAlertValues["TIKTOK_SUBSCRIBER"] = "tiktok-subscriber";
339
339
  /** TikTok share */
340
340
  LumiaAlertValues["TIKTOK_SHARE"] = "tiktok-share";
341
+ /** TikTok treasure chest */
342
+ LumiaAlertValues["TIKTOK_ENVELOPE"] = "tiktok-envelope";
343
+ /** TikTok question */
344
+ LumiaAlertValues["TIKTOK_QUESTION"] = "tiktok-question";
345
+ /** TikTok poll message */
346
+ LumiaAlertValues["TIKTOK_POLL_MESSAGE"] = "tiktok-pollMessage";
347
+ /** TikTok super fan box */
348
+ LumiaAlertValues["TIKTOK_SUPER_FAN_BOX"] = "tiktok-superFanBox";
349
+ /** TikTok live shopping */
350
+ LumiaAlertValues["TIKTOK_LIVE_SHOPPING"] = "tiktok-oecLiveShopping";
351
+ /** TikTok live intro */
352
+ LumiaAlertValues["TIKTOK_LIVE_INTRO"] = "tiktok-liveIntro";
353
+ /** TikTok pinned message */
354
+ LumiaAlertValues["TIKTOK_ROOM_PIN"] = "tiktok-roomPin";
355
+ /** TikTok battle start */
356
+ LumiaAlertValues["TIKTOK_BATTLE_START"] = "tiktok-linkMicBattle";
357
+ /** TikTok battle progress */
358
+ LumiaAlertValues["TIKTOK_BATTLE_PROGRESS"] = "tiktok-linkMicArmies";
359
+ /** TikTok battle result */
360
+ LumiaAlertValues["TIKTOK_BATTLE_RESULT"] = "tiktok-linkMicBattleResult";
341
361
  /** TikTok stream ended */
342
362
  LumiaAlertValues["TIKTOK_STREAM_END"] = "tiktok-streamEnd";
343
363
  /** New TikTok video posted */
@@ -630,6 +650,16 @@ exports.LumiaAlertFriendlyValues = {
630
650
  [LumiaAlertValues.TIKTOK_GIFT]: 'Tiktok Gift',
631
651
  [LumiaAlertValues.TIKTOK_SUBSCRIBER]: 'Tiktok Subscriber',
632
652
  [LumiaAlertValues.TIKTOK_SHARE]: 'Tiktok Share',
653
+ [LumiaAlertValues.TIKTOK_ENVELOPE]: 'Tiktok Treasure Chest',
654
+ [LumiaAlertValues.TIKTOK_QUESTION]: 'Tiktok Question',
655
+ [LumiaAlertValues.TIKTOK_POLL_MESSAGE]: 'Tiktok Poll Message',
656
+ [LumiaAlertValues.TIKTOK_SUPER_FAN_BOX]: 'Tiktok Super Fan Box',
657
+ [LumiaAlertValues.TIKTOK_LIVE_SHOPPING]: 'Tiktok Live Shopping',
658
+ [LumiaAlertValues.TIKTOK_LIVE_INTRO]: 'Tiktok Live Intro',
659
+ [LumiaAlertValues.TIKTOK_ROOM_PIN]: 'Tiktok Pinned Message',
660
+ [LumiaAlertValues.TIKTOK_BATTLE_START]: 'Tiktok Battle Start',
661
+ [LumiaAlertValues.TIKTOK_BATTLE_PROGRESS]: 'Tiktok Battle Progress',
662
+ [LumiaAlertValues.TIKTOK_BATTLE_RESULT]: 'Tiktok Battle Result',
633
663
  [LumiaAlertValues.TIKTOK_STREAM_END]: 'Tiktok Stream Ended',
634
664
  [LumiaAlertValues.TIKTOK_NEW_VIDEO]: 'Tiktok New Video',
635
665
  [LumiaAlertValues.TIKTOK_ENTRANCE]: 'Tiktok Entrance',
@@ -130,6 +130,9 @@ export declare const LumiaAlertConfigs: Record<LumiaAlertValues | string, {
130
130
  label: string;
131
131
  message?: string;
132
132
  value: string | number;
133
+ helperText?: string;
134
+ imageUrl?: string;
135
+ searchText?: string;
133
136
  }>;
134
137
  }>;
135
138
  }>;
@@ -4692,8 +4692,9 @@ exports.LumiaAlertConfigs = {
4692
4692
  LumiaVariationConditions: [
4693
4693
  { type: LumiaVariationConditions.RANDOM },
4694
4694
  {
4695
- type: LumiaVariationConditions.EQUAL_STRING,
4695
+ type: LumiaVariationConditions.EQUAL_SELECTION,
4696
4696
  description: 'Gift Name is equal to',
4697
+ dynamicSelections: true,
4697
4698
  },
4698
4699
  {
4699
4700
  type: LumiaVariationConditions.EQUAL_NUMBER,
@@ -4709,13 +4710,13 @@ exports.LumiaAlertConfigs = {
4709
4710
  },
4710
4711
  [activity_types_1.LumiaAlertValues.TIKTOK_SUBSCRIBER]: {
4711
4712
  connection: event_types_1.LumiaIntegrations.TIKTOK,
4712
- message: '{{username}} just subscribed',
4713
- eventlistMessage: 'Subscribed',
4714
- eventlistDetailedMessage: 'became a subscriber',
4713
+ message: '{{username}} just became a member',
4714
+ eventlistMessage: 'Membership',
4715
+ eventlistDetailedMessage: 'became a member',
4715
4716
  acceptedVariables: variables_types_1.AllVariables.tiktok.alerts.subscriber,
4716
4717
  quickActions: [
4717
4718
  {
4718
- label: 'New Subscriber',
4719
+ label: 'New Member',
4719
4720
  dynamic: { value: 'lumiastream' },
4720
4721
  extraSettings: { username: 'lumiastream' },
4721
4722
  },
@@ -4755,6 +4756,315 @@ exports.LumiaAlertConfigs = {
4755
4756
  ],
4756
4757
  LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }, { type: LumiaVariationConditions.EQUAL_USERNAME }, { type: LumiaVariationConditions.EQUAL_VARIABLE }],
4757
4758
  },
4759
+ [activity_types_1.LumiaAlertValues.TIKTOK_ENVELOPE]: {
4760
+ connection: event_types_1.LumiaIntegrations.TIKTOK,
4761
+ message: '{{username}} sent a treasure chest',
4762
+ eventlistMessage: 'Treasure Chest',
4763
+ eventlistDetailedMessage: 'sent a treasure chest',
4764
+ acceptedVariables: variables_types_1.AllVariables.tiktok.alerts.envelope,
4765
+ quickActions: [
4766
+ {
4767
+ label: 'Treasure Chest',
4768
+ dynamic: { value: 'lumiastream' },
4769
+ extraSettings: { username: 'lumiastream', diamondCount: 50, peopleCount: 5 },
4770
+ },
4771
+ ],
4772
+ inputFields: [
4773
+ {
4774
+ type: 'text',
4775
+ label: 'Username',
4776
+ variableField: 'username',
4777
+ required: false,
4778
+ default: 'lumiastream',
4779
+ },
4780
+ ],
4781
+ LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }, { type: LumiaVariationConditions.EQUAL_USERNAME }, { type: LumiaVariationConditions.EQUAL_VARIABLE }],
4782
+ },
4783
+ [activity_types_1.LumiaAlertValues.TIKTOK_QUESTION]: {
4784
+ connection: event_types_1.LumiaIntegrations.TIKTOK,
4785
+ message: '{{username}} asked: {{question}}',
4786
+ eventlistMessage: 'Question',
4787
+ eventlistDetailedMessage: 'asked a question',
4788
+ acceptedVariables: variables_types_1.AllVariables.tiktok.alerts.questionNew,
4789
+ quickActions: [
4790
+ {
4791
+ label: 'New Question',
4792
+ dynamic: { value: 'How does this work?' },
4793
+ extraSettings: { username: 'lumiastream', question: 'How does this work?' },
4794
+ },
4795
+ ],
4796
+ inputFields: [
4797
+ {
4798
+ type: 'text',
4799
+ label: 'Question',
4800
+ variableField: 'question',
4801
+ required: false,
4802
+ default: 'How does this work?',
4803
+ },
4804
+ ],
4805
+ LumiaVariationConditions: [
4806
+ { type: LumiaVariationConditions.RANDOM },
4807
+ { type: LumiaVariationConditions.EQUAL_STRING, description: 'Question is equal to' },
4808
+ { type: LumiaVariationConditions.EQUAL_USERNAME },
4809
+ { type: LumiaVariationConditions.EQUAL_VARIABLE },
4810
+ ],
4811
+ },
4812
+ [activity_types_1.LumiaAlertValues.TIKTOK_POLL_MESSAGE]: {
4813
+ connection: event_types_1.LumiaIntegrations.TIKTOK,
4814
+ message: 'Poll started: {{title}}',
4815
+ eventlistMessage: 'Poll Message',
4816
+ eventlistDetailedMessage: 'sent a poll message',
4817
+ acceptedVariables: variables_types_1.AllVariables.tiktok.alerts.pollMessage,
4818
+ quickActions: [
4819
+ {
4820
+ label: 'New Poll',
4821
+ dynamic: { value: 'What should we do next?' },
4822
+ extraSettings: { title: 'What should we do next?', pollId: '1' },
4823
+ },
4824
+ ],
4825
+ inputFields: [
4826
+ {
4827
+ type: 'text',
4828
+ label: 'Title',
4829
+ variableField: 'title',
4830
+ required: false,
4831
+ default: 'What should we do next?',
4832
+ },
4833
+ ],
4834
+ LumiaVariationConditions: [
4835
+ { type: LumiaVariationConditions.RANDOM },
4836
+ { type: LumiaVariationConditions.EQUAL_STRING, description: 'Title is equal to' },
4837
+ { type: LumiaVariationConditions.EQUAL_VARIABLE },
4838
+ ],
4839
+ },
4840
+ [activity_types_1.LumiaAlertValues.TIKTOK_SUPER_FAN_BOX]: {
4841
+ connection: event_types_1.LumiaIntegrations.TIKTOK,
4842
+ message: '{{username}} triggered a Super Fan box',
4843
+ eventlistMessage: 'Super Fan Box',
4844
+ eventlistDetailedMessage: 'triggered a Super Fan box',
4845
+ acceptedVariables: variables_types_1.AllVariables.tiktok.alerts.superFanBox,
4846
+ quickActions: [
4847
+ {
4848
+ label: 'Super Fan Box',
4849
+ dynamic: { value: 'lumiastream' },
4850
+ extraSettings: { username: 'lumiastream' },
4851
+ },
4852
+ ],
4853
+ inputFields: [
4854
+ {
4855
+ type: 'text',
4856
+ label: 'Username',
4857
+ variableField: 'username',
4858
+ required: false,
4859
+ default: 'lumiastream',
4860
+ },
4861
+ ],
4862
+ LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }, { type: LumiaVariationConditions.EQUAL_USERNAME }, { type: LumiaVariationConditions.EQUAL_VARIABLE }],
4863
+ },
4864
+ [activity_types_1.LumiaAlertValues.TIKTOK_LIVE_SHOPPING]: {
4865
+ connection: event_types_1.LumiaIntegrations.TIKTOK,
4866
+ message: 'Live Shopping: {{title}}',
4867
+ eventlistMessage: 'Live Shopping',
4868
+ eventlistDetailedMessage: 'triggered live shopping',
4869
+ acceptedVariables: variables_types_1.AllVariables.tiktok.alerts.oecLiveShopping,
4870
+ quickActions: [
4871
+ {
4872
+ label: 'Live Shopping',
4873
+ dynamic: { value: 'Featured Item' },
4874
+ extraSettings: { title: 'Featured Item', price: '$55.99', shopName: 'Shopify' },
4875
+ },
4876
+ ],
4877
+ inputFields: [
4878
+ {
4879
+ type: 'text',
4880
+ label: 'Title',
4881
+ variableField: 'title',
4882
+ required: false,
4883
+ default: 'Featured Item',
4884
+ },
4885
+ ],
4886
+ LumiaVariationConditions: [
4887
+ { type: LumiaVariationConditions.RANDOM },
4888
+ { type: LumiaVariationConditions.EQUAL_STRING, description: 'Title is equal to' },
4889
+ { type: LumiaVariationConditions.EQUAL_VARIABLE },
4890
+ ],
4891
+ },
4892
+ [activity_types_1.LumiaAlertValues.TIKTOK_LIVE_INTRO]: {
4893
+ connection: event_types_1.LumiaIntegrations.TIKTOK,
4894
+ message: '{{description}}',
4895
+ eventlistMessage: 'Live Intro',
4896
+ eventlistDetailedMessage: 'showed a live intro',
4897
+ acceptedVariables: variables_types_1.AllVariables.tiktok.alerts.liveIntro,
4898
+ quickActions: [
4899
+ {
4900
+ label: 'Live Intro',
4901
+ dynamic: { value: 'Welcome to the stream!' },
4902
+ extraSettings: { description: 'Welcome to the stream!', username: 'lumiastream' },
4903
+ },
4904
+ ],
4905
+ inputFields: [
4906
+ {
4907
+ type: 'text',
4908
+ label: 'Description',
4909
+ variableField: 'description',
4910
+ required: false,
4911
+ default: 'Welcome to the stream!',
4912
+ },
4913
+ ],
4914
+ LumiaVariationConditions: [
4915
+ { type: LumiaVariationConditions.RANDOM },
4916
+ { type: LumiaVariationConditions.EQUAL_STRING, description: 'Description is equal to' },
4917
+ { type: LumiaVariationConditions.EQUAL_VARIABLE },
4918
+ ],
4919
+ },
4920
+ [activity_types_1.LumiaAlertValues.TIKTOK_ROOM_PIN]: {
4921
+ connection: event_types_1.LumiaIntegrations.TIKTOK,
4922
+ message: 'Pinned message: {{message}}',
4923
+ eventlistMessage: 'Pinned Message',
4924
+ eventlistDetailedMessage: 'pinned a message',
4925
+ acceptedVariables: variables_types_1.AllVariables.tiktok.alerts.roomPin,
4926
+ quickActions: [
4927
+ {
4928
+ label: 'Pinned Message',
4929
+ dynamic: { value: 'Remember to follow!' },
4930
+ extraSettings: { message: 'Remember to follow!', pinId: '1' },
4931
+ },
4932
+ ],
4933
+ inputFields: [
4934
+ {
4935
+ type: 'text',
4936
+ label: 'Message',
4937
+ variableField: 'message',
4938
+ required: false,
4939
+ default: 'Remember to follow!',
4940
+ },
4941
+ ],
4942
+ LumiaVariationConditions: [
4943
+ { type: LumiaVariationConditions.RANDOM },
4944
+ { type: LumiaVariationConditions.EQUAL_STRING, description: 'Message is equal to' },
4945
+ { type: LumiaVariationConditions.EQUAL_VARIABLE },
4946
+ ],
4947
+ },
4948
+ [activity_types_1.LumiaAlertValues.TIKTOK_BATTLE_START]: {
4949
+ connection: event_types_1.LumiaIntegrations.TIKTOK,
4950
+ message: 'Battle started: {{battleLabel}}',
4951
+ eventlistMessage: 'Battle Start',
4952
+ eventlistDetailedMessage: 'started a battle',
4953
+ acceptedVariables: variables_types_1.AllVariables.tiktok.alerts.linkMicBattle,
4954
+ quickActions: [
4955
+ {
4956
+ label: 'Battle Start',
4957
+ dynamic: { value: 'lumiastream vs rivalstream' },
4958
+ extraSettings: {
4959
+ battleId: '1',
4960
+ battleLabel: 'lumiastream vs rivalstream',
4961
+ creatorUsername: 'lumiastream',
4962
+ opponentUsername: 'rivalstream',
4963
+ },
4964
+ },
4965
+ ],
4966
+ inputFields: [
4967
+ {
4968
+ type: 'text',
4969
+ label: 'Battle Label',
4970
+ variableField: 'battleLabel',
4971
+ required: false,
4972
+ default: 'lumiastream vs rivalstream',
4973
+ },
4974
+ ],
4975
+ LumiaVariationConditions: [
4976
+ { type: LumiaVariationConditions.RANDOM },
4977
+ { type: LumiaVariationConditions.EQUAL_STRING, description: 'Battle label is equal to' },
4978
+ { type: LumiaVariationConditions.EQUAL_VARIABLE },
4979
+ ],
4980
+ },
4981
+ [activity_types_1.LumiaAlertValues.TIKTOK_BATTLE_PROGRESS]: {
4982
+ connection: event_types_1.LumiaIntegrations.TIKTOK,
4983
+ message: 'Battle update: {{battleLabel}} ({{creatorScore}} - {{opponentScore}})',
4984
+ eventlistMessage: 'Battle Progress',
4985
+ eventlistDetailedMessage: 'updated battle progress',
4986
+ acceptedVariables: variables_types_1.AllVariables.tiktok.alerts.linkMicArmies,
4987
+ quickActions: [
4988
+ {
4989
+ label: 'Battle Progress',
4990
+ dynamic: { value: 100 },
4991
+ extraSettings: {
4992
+ battleId: '1',
4993
+ battleLabel: 'lumiastream vs rivalstream',
4994
+ creatorUsername: 'lumiastream',
4995
+ opponentUsername: 'rivalstream',
4996
+ creatorScore: 1200,
4997
+ opponentScore: 900,
4998
+ totalDiamondCount: 100,
4999
+ },
5000
+ },
5001
+ ],
5002
+ inputFields: [
5003
+ {
5004
+ type: 'text',
5005
+ label: 'Battle Label',
5006
+ variableField: 'battleLabel',
5007
+ required: false,
5008
+ default: 'lumiastream vs rivalstream',
5009
+ },
5010
+ ],
5011
+ LumiaVariationConditions: [
5012
+ { type: LumiaVariationConditions.RANDOM },
5013
+ { type: LumiaVariationConditions.EQUAL_STRING, description: 'Battle label is equal to' },
5014
+ { type: LumiaVariationConditions.EQUAL_VARIABLE },
5015
+ ],
5016
+ },
5017
+ [activity_types_1.LumiaAlertValues.TIKTOK_BATTLE_RESULT]: {
5018
+ connection: event_types_1.LumiaIntegrations.TIKTOK,
5019
+ message: 'Battle {{result}}: {{battleLabel}}',
5020
+ eventlistMessage: 'Battle Result',
5021
+ eventlistDetailedMessage: 'finished a battle',
5022
+ acceptedVariables: variables_types_1.AllVariables.tiktok.alerts.linkMicBattleResult,
5023
+ quickActions: [
5024
+ {
5025
+ label: 'Battle Result',
5026
+ dynamic: { value: 'win' },
5027
+ extraSettings: {
5028
+ battleId: '1',
5029
+ battleLabel: 'lumiastream vs rivalstream',
5030
+ creatorUsername: 'lumiastream',
5031
+ opponentUsername: 'rivalstream',
5032
+ creatorScore: 1200,
5033
+ opponentScore: 900,
5034
+ result: 'win',
5035
+ winnerUsername: 'lumiastream',
5036
+ loserUsername: 'rivalstream',
5037
+ },
5038
+ },
5039
+ ],
5040
+ inputFields: [
5041
+ {
5042
+ type: 'selection',
5043
+ label: 'Result',
5044
+ variableField: 'result',
5045
+ required: false,
5046
+ default: 'win',
5047
+ selections: [
5048
+ { label: 'Win', value: 'win' },
5049
+ { label: 'Lose', value: 'lose' },
5050
+ { label: 'Draw', value: 'draw' },
5051
+ ],
5052
+ },
5053
+ ],
5054
+ LumiaVariationConditions: [
5055
+ { type: LumiaVariationConditions.RANDOM },
5056
+ {
5057
+ type: LumiaVariationConditions.EQUAL_SELECTION,
5058
+ description: 'Result is equal to',
5059
+ selections: [
5060
+ { label: 'Win', value: 'win' },
5061
+ { label: 'Lose', value: 'lose' },
5062
+ { label: 'Draw', value: 'draw' },
5063
+ ],
5064
+ },
5065
+ { type: LumiaVariationConditions.EQUAL_VARIABLE },
5066
+ ],
5067
+ },
4758
5068
  [activity_types_1.LumiaAlertValues.TIKTOK_STREAM_END]: {
4759
5069
  connection: event_types_1.LumiaIntegrations.TIKTOK,
4760
5070
  message: 'Tiktok stream ended',
@@ -590,6 +590,26 @@ export declare enum LumiaAlertValues {
590
590
  TIKTOK_SUBSCRIBER = "tiktok-subscriber",
591
591
  /** TikTok share */
592
592
  TIKTOK_SHARE = "tiktok-share",
593
+ /** TikTok treasure chest */
594
+ TIKTOK_ENVELOPE = "tiktok-envelope",
595
+ /** TikTok question */
596
+ TIKTOK_QUESTION = "tiktok-question",
597
+ /** TikTok poll message */
598
+ TIKTOK_POLL_MESSAGE = "tiktok-pollMessage",
599
+ /** TikTok super fan box */
600
+ TIKTOK_SUPER_FAN_BOX = "tiktok-superFanBox",
601
+ /** TikTok live shopping */
602
+ TIKTOK_LIVE_SHOPPING = "tiktok-oecLiveShopping",
603
+ /** TikTok live intro */
604
+ TIKTOK_LIVE_INTRO = "tiktok-liveIntro",
605
+ /** TikTok pinned message */
606
+ TIKTOK_ROOM_PIN = "tiktok-roomPin",
607
+ /** TikTok battle start */
608
+ TIKTOK_BATTLE_START = "tiktok-linkMicBattle",
609
+ /** TikTok battle progress */
610
+ TIKTOK_BATTLE_PROGRESS = "tiktok-linkMicArmies",
611
+ /** TikTok battle result */
612
+ TIKTOK_BATTLE_RESULT = "tiktok-linkMicBattleResult",
593
613
  /** TikTok stream ended */
594
614
  TIKTOK_STREAM_END = "tiktok-streamEnd",
595
615
  /** New TikTok video posted */
@@ -590,6 +590,26 @@ export declare enum LumiaAlertValues {
590
590
  TIKTOK_SUBSCRIBER = "tiktok-subscriber",
591
591
  /** TikTok share */
592
592
  TIKTOK_SHARE = "tiktok-share",
593
+ /** TikTok treasure chest */
594
+ TIKTOK_ENVELOPE = "tiktok-envelope",
595
+ /** TikTok question */
596
+ TIKTOK_QUESTION = "tiktok-question",
597
+ /** TikTok poll message */
598
+ TIKTOK_POLL_MESSAGE = "tiktok-pollMessage",
599
+ /** TikTok super fan box */
600
+ TIKTOK_SUPER_FAN_BOX = "tiktok-superFanBox",
601
+ /** TikTok live shopping */
602
+ TIKTOK_LIVE_SHOPPING = "tiktok-oecLiveShopping",
603
+ /** TikTok live intro */
604
+ TIKTOK_LIVE_INTRO = "tiktok-liveIntro",
605
+ /** TikTok pinned message */
606
+ TIKTOK_ROOM_PIN = "tiktok-roomPin",
607
+ /** TikTok battle start */
608
+ TIKTOK_BATTLE_START = "tiktok-linkMicBattle",
609
+ /** TikTok battle progress */
610
+ TIKTOK_BATTLE_PROGRESS = "tiktok-linkMicArmies",
611
+ /** TikTok battle result */
612
+ TIKTOK_BATTLE_RESULT = "tiktok-linkMicBattleResult",
593
613
  /** TikTok stream ended */
594
614
  TIKTOK_STREAM_END = "tiktok-streamEnd",
595
615
  /** New TikTok video posted */
@@ -61,6 +61,16 @@ export declare const LumiaMapAlertTypeToEventListType: {
61
61
  "tiktok-totalLikes": LumiaEventListTypes;
62
62
  "tiktok-share": LumiaEventListTypes;
63
63
  "tiktok-subscriber": LumiaEventListTypes;
64
+ "tiktok-envelope": LumiaEventListTypes;
65
+ "tiktok-question": LumiaEventListTypes;
66
+ "tiktok-pollMessage": LumiaEventListTypes;
67
+ "tiktok-superFanBox": LumiaEventListTypes;
68
+ "tiktok-oecLiveShopping": LumiaEventListTypes;
69
+ "tiktok-liveIntro": LumiaEventListTypes;
70
+ "tiktok-roomPin": LumiaEventListTypes;
71
+ "tiktok-linkMicBattle": LumiaEventListTypes;
72
+ "tiktok-linkMicArmies": LumiaEventListTypes;
73
+ "tiktok-linkMicBattleResult": LumiaEventListTypes;
64
74
  "kick-follower": LumiaEventListTypes;
65
75
  "kick-sessionFollowers": LumiaEventListTypes;
66
76
  "kick-subscriptionGift": LumiaEventListTypes;
@@ -66,6 +66,16 @@ exports.LumiaMapAlertTypeToEventListType = {
66
66
  [activity_types_1.LumiaAlertValues.TIKTOK_TOTAL_LIKES]: LumiaEventListTypes.LIKES,
67
67
  [activity_types_1.LumiaAlertValues.TIKTOK_SHARE]: LumiaEventListTypes.SHARES,
68
68
  [activity_types_1.LumiaAlertValues.TIKTOK_SUBSCRIBER]: LumiaEventListTypes.SUBSCRIBERS,
69
+ [activity_types_1.LumiaAlertValues.TIKTOK_ENVELOPE]: LumiaEventListTypes.GIFTS,
70
+ [activity_types_1.LumiaAlertValues.TIKTOK_QUESTION]: LumiaEventListTypes.OTHERS,
71
+ [activity_types_1.LumiaAlertValues.TIKTOK_POLL_MESSAGE]: LumiaEventListTypes.OTHERS,
72
+ [activity_types_1.LumiaAlertValues.TIKTOK_SUPER_FAN_BOX]: LumiaEventListTypes.SUBSCRIBERS,
73
+ [activity_types_1.LumiaAlertValues.TIKTOK_LIVE_SHOPPING]: LumiaEventListTypes.PURCHASES,
74
+ [activity_types_1.LumiaAlertValues.TIKTOK_LIVE_INTRO]: LumiaEventListTypes.OTHERS,
75
+ [activity_types_1.LumiaAlertValues.TIKTOK_ROOM_PIN]: LumiaEventListTypes.OTHERS,
76
+ [activity_types_1.LumiaAlertValues.TIKTOK_BATTLE_START]: LumiaEventListTypes.OTHERS,
77
+ [activity_types_1.LumiaAlertValues.TIKTOK_BATTLE_PROGRESS]: LumiaEventListTypes.OTHERS,
78
+ [activity_types_1.LumiaAlertValues.TIKTOK_BATTLE_RESULT]: LumiaEventListTypes.OTHERS,
69
79
  [activity_types_1.LumiaAlertValues.KICK_FOLLOWER]: LumiaEventListTypes.FOLLOWER,
70
80
  [activity_types_1.LumiaAlertValues.KICK_SESSION_FOLLOWERS]: LumiaEventListTypes.FOLLOWER,
71
81
  [activity_types_1.LumiaAlertValues.KICK_GIFT_SUBSCRIPTION]: LumiaEventListTypes.GIFTS,
@@ -878,6 +878,16 @@ export declare const AllVariables: {
878
878
  like: string[];
879
879
  totalLikes: string[];
880
880
  share: string[];
881
+ envelope: string[];
882
+ questionNew: string[];
883
+ pollMessage: string[];
884
+ superFanBox: string[];
885
+ oecLiveShopping: string[];
886
+ liveIntro: string[];
887
+ roomPin: string[];
888
+ linkMicBattle: string[];
889
+ linkMicArmies: string[];
890
+ linkMicBattleResult: string[];
881
891
  streamEnd: string[];
882
892
  newVideo: string[];
883
893
  };
@@ -1619,11 +1619,31 @@ exports.AllVariables = {
1619
1619
  firstChatter: ['username', 'userId', 'displayname', 'avatar', 'first_count', 'message'],
1620
1620
  entrance: ['username', 'userId', 'displayname', 'avatar', 'message'],
1621
1621
  follower: ['username', 'userId', 'displayname', 'avatar'],
1622
- subscriber: ['username', 'displayname', 'subMonths', 'avatar'],
1622
+ subscriber: ['username', 'displayname', 'subMonths', 'avatar', 'membershipType'],
1623
1623
  gift: ['username', 'userId', 'avatar', 'coins', 'diamonds', 'giftId', 'giftName', 'giftPictureUrl', 'giftType', 'giftAmount'],
1624
1624
  like: ['username', 'userId', 'displayname', 'avatar', 'userLikeCount', 'totalLikeCount'],
1625
1625
  totalLikes: ['username', 'userId', 'displayname', 'avatar', 'userLikeCount', 'totalLikeCount'],
1626
1626
  share: ['username', 'userId', 'displayname', 'avatar'],
1627
+ envelope: ['username', 'userId', 'avatar', 'envelopeId', 'diamondCount', 'peopleCount', 'unpackAt'],
1628
+ questionNew: ['username', 'userId', 'displayname', 'avatar', 'question', 'questionId', 'answerStatus'],
1629
+ pollMessage: ['pollId', 'title', 'pollKind', 'pollDuration', 'timeRemain', 'pollSponsor', 'userCount'],
1630
+ superFanBox: ['username', 'displayname', 'avatar', 'userId'],
1631
+ oecLiveShopping: ['title', 'price', 'imageUrl', 'shopUrl', 'shopName'],
1632
+ liveIntro: ['username', 'userId', 'displayname', 'avatar', 'description', 'language'],
1633
+ roomPin: ['message', 'messageId', 'pinId', 'pinTime', 'operatorUsername', 'operatorUserId'],
1634
+ linkMicBattle: ['battleId', 'battleLabel', 'creatorUsername', 'creatorDisplayname', 'creatorAvatar', 'opponentUsername', 'opponentDisplayname', 'opponentAvatar', 'battleType'],
1635
+ linkMicArmies: ['battleId', 'battleLabel', 'creatorUsername', 'opponentUsername', 'creatorScore', 'opponentScore', 'giftId', 'giftCount', 'repeatCount', 'totalDiamondCount', 'battleStatus'],
1636
+ linkMicBattleResult: [
1637
+ 'battleId',
1638
+ 'battleLabel',
1639
+ 'creatorUsername',
1640
+ 'opponentUsername',
1641
+ 'creatorScore',
1642
+ 'opponentScore',
1643
+ 'result',
1644
+ 'winnerUsername',
1645
+ 'loserUsername',
1646
+ ],
1627
1647
  streamEnd: ['eventTime'],
1628
1648
  newVideo: ['title', 'description', 'embed', 'link', 'id', 'duration', 'likes', 'shares', 'views', 'comments'],
1629
1649
  },
@@ -104,24 +104,24 @@ exports.VIEWER_PROFILE_ACHIEVEMENTS = [
104
104
  icon: 'Schedule',
105
105
  color: 'teal',
106
106
  },
107
- {
108
- id: 'first-chatter-regular',
109
- label: 'Front Row',
110
- description: 'Claimed first chatter 25 times.',
111
- metric: 'totalFirstChatters',
112
- threshold: 25,
113
- icon: 'LooksOne',
114
- color: 'violet',
115
- },
116
- {
117
- id: 'first-chatter-legend',
118
- label: 'Opening Act',
119
- description: 'Claimed first chatter 100 times.',
120
- metric: 'totalFirstChatters',
121
- threshold: 100,
122
- icon: 'EmojiEvents',
123
- color: 'gold',
124
- },
107
+ // {
108
+ // id: 'first-chatter-regular',
109
+ // label: 'Front Row',
110
+ // description: 'Claimed first chatter 10 times.',
111
+ // metric: 'totalFirstChatters',
112
+ // threshold: 10,
113
+ // icon: 'LooksOne',
114
+ // color: 'violet',
115
+ // },
116
+ // {
117
+ // id: 'first-chatter-legend',
118
+ // label: 'Opening Act',
119
+ // description: 'Claimed first chatter 20 times.',
120
+ // metric: 'totalFirstChatters',
121
+ // threshold: 20,
122
+ // icon: 'EmojiEvents',
123
+ // color: 'gold',
124
+ // },
125
125
  // ───────── Channel Points ─────────
126
126
  {
127
127
  id: 'twitch-points-spark',
@@ -156,9 +156,9 @@ exports.VIEWER_PROFILE_ACHIEVEMENTS = [
156
156
  {
157
157
  id: 'twitch-points-beacon',
158
158
  label: 'Points Beacon',
159
- description: 'Spent 40,000 channel points.',
159
+ description: 'Spent 10,000 channel points.',
160
160
  metric: 'totalPointsSpent',
161
- threshold: 40000,
161
+ threshold: 10000,
162
162
  connectionKeys: ['twitch'],
163
163
  icon: 'TrendingUp',
164
164
  color: 'emerald',
@@ -166,9 +166,9 @@ exports.VIEWER_PROFILE_ACHIEVEMENTS = [
166
166
  {
167
167
  id: 'twitch-points-tycoon',
168
168
  label: 'Points Tycoon',
169
- description: 'Spent 150,000 channel points.',
169
+ description: 'Spent 20,000 channel points.',
170
170
  metric: 'totalPointsSpent',
171
- threshold: 150000,
171
+ threshold: 20000,
172
172
  connectionKeys: ['twitch'],
173
173
  icon: 'WorkspacePremium',
174
174
  color: 'gold',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumiastream/lumia-types",
3
- "version": "3.0.4",
3
+ "version": "3.0.6-beta.1",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "files": [