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

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.
@@ -85,6 +85,8 @@ export declare const LumiaRedemptionCurrencySymbol: {
85
85
  export interface LumiaDynamicCondition {
86
86
  value: number | string;
87
87
  name?: string;
88
+ selectionValue?: number | string;
89
+ numberValue?: number | string;
88
90
  isPrime?: boolean;
89
91
  isGift?: boolean;
90
92
  giftAmount?: number;
@@ -3910,7 +3910,7 @@ exports.LumiaAlertConfigs = {
3910
3910
  quickActions: [
3911
3911
  {
3912
3912
  label: 'Emoji Beaming Face ($100)',
3913
- dynamic: { value: 100, currency: LumiaVariationCurrency.USD, name: 'emoji_beaming_face' },
3913
+ dynamic: { value: 100, currency: LumiaVariationCurrency.USD, name: 'emoji_beaming_face', selectionValue: 'emoji_beaming_face' },
3914
3914
  extraSettings: {
3915
3915
  username: 'lumiastream',
3916
3916
  displayname: 'LumiaStream',
@@ -3924,7 +3924,7 @@ exports.LumiaAlertConfigs = {
3924
3924
  },
3925
3925
  {
3926
3926
  label: 'Emoji Laughing ($200)',
3927
- dynamic: { value: 200, currency: LumiaVariationCurrency.USD, name: 'emoji_laughing' },
3927
+ dynamic: { value: 200, currency: LumiaVariationCurrency.USD, name: 'emoji_laughing', selectionValue: 'emoji_laughing' },
3928
3928
  extraSettings: {
3929
3929
  username: 'lumiastream',
3930
3930
  displayname: 'LumiaStream',
@@ -3938,7 +3938,7 @@ exports.LumiaAlertConfigs = {
3938
3938
  },
3939
3939
  {
3940
3940
  label: 'Emoji Sad ($300)',
3941
- dynamic: { value: 300, currency: LumiaVariationCurrency.USD, name: 'emoji_sad' },
3941
+ dynamic: { value: 300, currency: LumiaVariationCurrency.USD, name: 'emoji_sad', selectionValue: 'emoji_sad' },
3942
3942
  extraSettings: {
3943
3943
  username: 'lumiastream',
3944
3944
  displayname: 'LumiaStream',
@@ -3986,7 +3986,7 @@ exports.LumiaAlertConfigs = {
3986
3986
  ],
3987
3987
  LumiaVariationConditions: [
3988
3988
  { type: LumiaVariationConditions.RANDOM },
3989
- { type: LumiaVariationConditions.EQUAL_SELECTION, description: 'Super Sticker is equal to', selections: youtube_superstickers_1.YoutubeSuperstickersData },
3989
+ { type: LumiaVariationConditions.EQUAL_SELECTION, description: 'Super Sticker ID is equal to', selections: youtube_superstickers_1.YoutubeSuperstickersData },
3990
3990
  { type: LumiaVariationConditions.EQUAL_CURRENCY_NUMBER, description: 'Super Sticker Amount is equal to' },
3991
3991
  { type: LumiaVariationConditions.GREATER_CURRENCY_NUMBER, description: 'Super Sticker Amount is greater than' },
3992
3992
  { type: LumiaVariationConditions.EQUAL_USERNAME },
@@ -4718,7 +4718,7 @@ exports.LumiaAlertConfigs = {
4718
4718
  {
4719
4719
  label: 'New Member',
4720
4720
  dynamic: { value: 'lumiastream' },
4721
- extraSettings: { username: 'lumiastream' },
4721
+ extraSettings: { username: 'lumiastream', membershipType: 'subscriber' },
4722
4722
  },
4723
4723
  ],
4724
4724
  inputFields: [
@@ -4729,8 +4729,31 @@ exports.LumiaAlertConfigs = {
4729
4729
  required: false,
4730
4730
  default: 'lumiastream',
4731
4731
  },
4732
+ {
4733
+ type: 'selection',
4734
+ label: 'Membership Type',
4735
+ variableField: 'membershipType',
4736
+ required: false,
4737
+ default: 'subscriber',
4738
+ selections: [
4739
+ { label: 'Subscriber', value: 'subscriber' },
4740
+ { label: 'Super Fan', value: 'superFan' },
4741
+ ],
4742
+ },
4743
+ ],
4744
+ LumiaVariationConditions: [
4745
+ { type: LumiaVariationConditions.RANDOM },
4746
+ { type: LumiaVariationConditions.EQUAL_USERNAME },
4747
+ {
4748
+ type: LumiaVariationConditions.EQUAL_SELECTION,
4749
+ description: 'Membership type is equal to',
4750
+ selections: [
4751
+ { label: 'Subscriber', value: 'subscriber' },
4752
+ { label: 'Super Fan', value: 'superFan' },
4753
+ ],
4754
+ },
4755
+ { type: LumiaVariationConditions.EQUAL_VARIABLE },
4732
4756
  ],
4733
- LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }, { type: LumiaVariationConditions.EQUAL_USERNAME }, { type: LumiaVariationConditions.EQUAL_VARIABLE }],
4734
4757
  },
4735
4758
  [activity_types_1.LumiaAlertValues.TIKTOK_SHARE]: {
4736
4759
  connection: event_types_1.LumiaIntegrations.TIKTOK,
@@ -4765,7 +4788,7 @@ exports.LumiaAlertConfigs = {
4765
4788
  quickActions: [
4766
4789
  {
4767
4790
  label: 'Treasure Chest',
4768
- dynamic: { value: 'lumiastream' },
4791
+ dynamic: { value: 50, name: 'lumiastream' },
4769
4792
  extraSettings: { username: 'lumiastream', diamondCount: 50, peopleCount: 5 },
4770
4793
  },
4771
4794
  ],
@@ -4777,8 +4800,22 @@ exports.LumiaAlertConfigs = {
4777
4800
  required: false,
4778
4801
  default: 'lumiastream',
4779
4802
  },
4803
+ {
4804
+ type: 'number',
4805
+ label: 'Diamond Count',
4806
+ dynamicField: 'value',
4807
+ variableField: 'diamondCount',
4808
+ required: false,
4809
+ default: 50,
4810
+ },
4811
+ ],
4812
+ LumiaVariationConditions: [
4813
+ { type: LumiaVariationConditions.RANDOM },
4814
+ { type: LumiaVariationConditions.EQUAL_USERNAME },
4815
+ { type: LumiaVariationConditions.EQUAL_NUMBER, description: 'Diamond count is equal to' },
4816
+ { type: LumiaVariationConditions.GREATER_NUMBER, description: 'Diamond count is greater than' },
4817
+ { type: LumiaVariationConditions.EQUAL_VARIABLE },
4780
4818
  ],
4781
- LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }, { type: LumiaVariationConditions.EQUAL_USERNAME }, { type: LumiaVariationConditions.EQUAL_VARIABLE }],
4782
4819
  },
4783
4820
  [activity_types_1.LumiaAlertValues.TIKTOK_QUESTION]: {
4784
4821
  connection: event_types_1.LumiaIntegrations.TIKTOK,
@@ -4790,7 +4827,7 @@ exports.LumiaAlertConfigs = {
4790
4827
  {
4791
4828
  label: 'New Question',
4792
4829
  dynamic: { value: 'How does this work?' },
4793
- extraSettings: { username: 'lumiastream', question: 'How does this work?' },
4830
+ extraSettings: { username: 'lumiastream', question: 'How does this work?', answerStatus: 0 },
4794
4831
  },
4795
4832
  ],
4796
4833
  inputFields: [
@@ -4801,10 +4838,19 @@ exports.LumiaAlertConfigs = {
4801
4838
  required: false,
4802
4839
  default: 'How does this work?',
4803
4840
  },
4841
+ {
4842
+ type: 'number',
4843
+ label: 'Answer Status',
4844
+ dynamicField: 'numberValue',
4845
+ variableField: 'answerStatus',
4846
+ required: false,
4847
+ default: 0,
4848
+ },
4804
4849
  ],
4805
4850
  LumiaVariationConditions: [
4806
4851
  { type: LumiaVariationConditions.RANDOM },
4807
4852
  { type: LumiaVariationConditions.EQUAL_STRING, description: 'Question is equal to' },
4853
+ { type: LumiaVariationConditions.EQUAL_NUMBER, description: 'Answer status is equal to' },
4808
4854
  { type: LumiaVariationConditions.EQUAL_USERNAME },
4809
4855
  { type: LumiaVariationConditions.EQUAL_VARIABLE },
4810
4856
  ],
@@ -4819,7 +4865,7 @@ exports.LumiaAlertConfigs = {
4819
4865
  {
4820
4866
  label: 'New Poll',
4821
4867
  dynamic: { value: 'What should we do next?' },
4822
- extraSettings: { title: 'What should we do next?', pollId: '1' },
4868
+ extraSettings: { title: 'What should we do next?', pollId: '1', pollKind: 'normal' },
4823
4869
  },
4824
4870
  ],
4825
4871
  inputFields: [
@@ -4830,10 +4876,40 @@ exports.LumiaAlertConfigs = {
4830
4876
  required: false,
4831
4877
  default: 'What should we do next?',
4832
4878
  },
4879
+ {
4880
+ type: 'selection',
4881
+ label: 'Poll Kind',
4882
+ dynamicField: 'selectionValue',
4883
+ variableField: 'pollKind',
4884
+ required: false,
4885
+ default: 'normal',
4886
+ selections: [
4887
+ { label: 'Normal', value: 'normal' },
4888
+ { label: 'Gift', value: 'gift' },
4889
+ { label: 'Customizable', value: 'customizable' },
4890
+ { label: 'Customizable Gift', value: 'customizableGift' },
4891
+ { label: 'Quick Gift', value: 'quickGift' },
4892
+ { label: 'Emote', value: 'emote' },
4893
+ { label: 'Unknown', value: 'unknown' },
4894
+ ],
4895
+ },
4833
4896
  ],
4834
4897
  LumiaVariationConditions: [
4835
4898
  { type: LumiaVariationConditions.RANDOM },
4836
4899
  { type: LumiaVariationConditions.EQUAL_STRING, description: 'Title is equal to' },
4900
+ {
4901
+ type: LumiaVariationConditions.EQUAL_SELECTION,
4902
+ description: 'Poll kind is equal to',
4903
+ selections: [
4904
+ { label: 'Normal', value: 'normal' },
4905
+ { label: 'Gift', value: 'gift' },
4906
+ { label: 'Customizable', value: 'customizable' },
4907
+ { label: 'Customizable Gift', value: 'customizableGift' },
4908
+ { label: 'Quick Gift', value: 'quickGift' },
4909
+ { label: 'Emote', value: 'emote' },
4910
+ { label: 'Unknown', value: 'unknown' },
4911
+ ],
4912
+ },
4837
4913
  { type: LumiaVariationConditions.EQUAL_VARIABLE },
4838
4914
  ],
4839
4915
  },
@@ -4971,10 +5047,45 @@ exports.LumiaAlertConfigs = {
4971
5047
  required: false,
4972
5048
  default: 'lumiastream vs rivalstream',
4973
5049
  },
5050
+ {
5051
+ type: 'number',
5052
+ label: 'Total Diamond Count',
5053
+ dynamicField: 'value',
5054
+ variableField: 'totalDiamondCount',
5055
+ required: false,
5056
+ default: 100,
5057
+ },
5058
+ {
5059
+ type: 'selection',
5060
+ label: 'Battle Status',
5061
+ variableField: 'battleStatus',
5062
+ required: false,
5063
+ default: 'scoreUpdate',
5064
+ selections: [
5065
+ { label: 'Score Update', value: 'scoreUpdate' },
5066
+ { label: 'Battle End', value: 'battleEnd' },
5067
+ { label: 'Opt Out Update', value: 'optOutUpdate' },
5068
+ { label: 'Keep Alive', value: 'keepAlive' },
5069
+ { label: 'Unknown', value: 'unknown' },
5070
+ ],
5071
+ },
4974
5072
  ],
4975
5073
  LumiaVariationConditions: [
4976
5074
  { type: LumiaVariationConditions.RANDOM },
4977
5075
  { type: LumiaVariationConditions.EQUAL_STRING, description: 'Battle label is equal to' },
5076
+ { type: LumiaVariationConditions.EQUAL_NUMBER, description: 'Total diamond count is equal to' },
5077
+ { type: LumiaVariationConditions.GREATER_NUMBER, description: 'Total diamond count is greater than' },
5078
+ {
5079
+ type: LumiaVariationConditions.EQUAL_SELECTION,
5080
+ description: 'Battle status is equal to',
5081
+ selections: [
5082
+ { label: 'Score Update', value: 'scoreUpdate' },
5083
+ { label: 'Battle End', value: 'battleEnd' },
5084
+ { label: 'Opt Out Update', value: 'optOutUpdate' },
5085
+ { label: 'Keep Alive', value: 'keepAlive' },
5086
+ { label: 'Unknown', value: 'unknown' },
5087
+ ],
5088
+ },
4978
5089
  { type: LumiaVariationConditions.EQUAL_VARIABLE },
4979
5090
  ],
4980
5091
  },
@@ -3,4 +3,7 @@ export declare const YoutubeSuperstickersData: {
3
3
  label: string;
4
4
  amount: string;
5
5
  currency: string;
6
+ helperText: string;
7
+ imageUrl: string;
8
+ searchText: string;
6
9
  }[];