@lumiastream/lumia-types 0.2.78 → 0.2.80
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 +11 -0
- package/dist/activity.types.js +56 -45
- package/dist/activity.types.js.map +1 -1
- package/dist/alert.types.js +471 -19
- package/dist/alert.types.js.map +1 -1
- package/package.json +1 -1
package/dist/alert.types.js
CHANGED
|
@@ -1503,7 +1503,7 @@ exports.LumiaAlertConfigs = {
|
|
|
1503
1503
|
eventlistSpecialUsername: 'Twitch',
|
|
1504
1504
|
eventlistMessage: 'Goal start',
|
|
1505
1505
|
eventlistDetailedMessage: 'Goal {{goal_description}} started with a target of {{goal_target_amount}}',
|
|
1506
|
-
acceptedVariables: ['goal_type', 'goal_id', 'goal_description', '
|
|
1506
|
+
acceptedVariables: ['goal_type', 'goal_id', 'goal_description', 'goal_amount', 'goal_target_amount'],
|
|
1507
1507
|
quickActions: [
|
|
1508
1508
|
{
|
|
1509
1509
|
label: '100 Followers',
|
|
@@ -1511,7 +1511,7 @@ exports.LumiaAlertConfigs = {
|
|
|
1511
1511
|
extraSettings: {
|
|
1512
1512
|
goal_type: 'follower',
|
|
1513
1513
|
goal_description: '100 Followers!',
|
|
1514
|
-
|
|
1514
|
+
goal_amount: 0,
|
|
1515
1515
|
goal_target_amount: 100,
|
|
1516
1516
|
},
|
|
1517
1517
|
},
|
|
@@ -1521,7 +1521,7 @@ exports.LumiaAlertConfigs = {
|
|
|
1521
1521
|
extraSettings: {
|
|
1522
1522
|
goal_type: 'subscription',
|
|
1523
1523
|
goal_description: '100 Subs!',
|
|
1524
|
-
|
|
1524
|
+
goal_amount: 0,
|
|
1525
1525
|
goal_target_amount: 100,
|
|
1526
1526
|
},
|
|
1527
1527
|
},
|
|
@@ -1531,7 +1531,7 @@ exports.LumiaAlertConfigs = {
|
|
|
1531
1531
|
extraSettings: {
|
|
1532
1532
|
goal_type: 'new_subscriptions',
|
|
1533
1533
|
goal_description: '100 New Subs!',
|
|
1534
|
-
|
|
1534
|
+
goal_amount: 0,
|
|
1535
1535
|
goal_target_amount: 100,
|
|
1536
1536
|
},
|
|
1537
1537
|
},
|
|
@@ -1560,7 +1560,7 @@ exports.LumiaAlertConfigs = {
|
|
|
1560
1560
|
{
|
|
1561
1561
|
type: 'number',
|
|
1562
1562
|
label: 'Current Amount',
|
|
1563
|
-
variableField: '
|
|
1563
|
+
variableField: 'goal_amount',
|
|
1564
1564
|
required: true,
|
|
1565
1565
|
default: 0,
|
|
1566
1566
|
},
|
|
@@ -1576,11 +1576,11 @@ exports.LumiaAlertConfigs = {
|
|
|
1576
1576
|
},
|
|
1577
1577
|
[activity_types_1.LumiaAlertValues.TWITCH_GOAL_PROGRESSED]: {
|
|
1578
1578
|
connection: 'twitch',
|
|
1579
|
-
message: 'Goal {{goal_description}} progressed to {{
|
|
1579
|
+
message: 'Goal {{goal_description}} progressed to {{goal_amount}} with a target of {{goal_target_amount}}',
|
|
1580
1580
|
eventlistSpecialUsername: 'Twitch',
|
|
1581
1581
|
eventlistMessage: 'Goal progressed',
|
|
1582
|
-
eventlistDetailedMessage: 'Goal {{goal_description}} progressed to {{
|
|
1583
|
-
acceptedVariables: ['goal_type', 'goal_id', 'goal_description', '
|
|
1582
|
+
eventlistDetailedMessage: 'Goal {{goal_description}} progressed to {{goal_amount}} with a target of {{goal_target_amount}}',
|
|
1583
|
+
acceptedVariables: ['goal_type', 'goal_id', 'goal_description', 'goal_amount', 'goal_target_amount'],
|
|
1584
1584
|
quickActions: [
|
|
1585
1585
|
{
|
|
1586
1586
|
label: 'Gained 50 Followers',
|
|
@@ -1588,7 +1588,7 @@ exports.LumiaAlertConfigs = {
|
|
|
1588
1588
|
extraSettings: {
|
|
1589
1589
|
goal_type: 'follower',
|
|
1590
1590
|
goal_description: '100 Followers!',
|
|
1591
|
-
|
|
1591
|
+
goal_amount: 50,
|
|
1592
1592
|
goal_target_amount: 100,
|
|
1593
1593
|
},
|
|
1594
1594
|
},
|
|
@@ -1598,7 +1598,7 @@ exports.LumiaAlertConfigs = {
|
|
|
1598
1598
|
extraSettings: {
|
|
1599
1599
|
goal_type: 'subscription',
|
|
1600
1600
|
goal_description: '100 Subs!',
|
|
1601
|
-
|
|
1601
|
+
goal_amount: 50,
|
|
1602
1602
|
goal_target_amount: 50,
|
|
1603
1603
|
},
|
|
1604
1604
|
},
|
|
@@ -1608,7 +1608,7 @@ exports.LumiaAlertConfigs = {
|
|
|
1608
1608
|
extraSettings: {
|
|
1609
1609
|
goal_type: 'new_subscriptions',
|
|
1610
1610
|
goal_description: '100 New Subs!',
|
|
1611
|
-
|
|
1611
|
+
goal_amount: 50,
|
|
1612
1612
|
goal_target_amount: 100,
|
|
1613
1613
|
},
|
|
1614
1614
|
},
|
|
@@ -1637,7 +1637,7 @@ exports.LumiaAlertConfigs = {
|
|
|
1637
1637
|
type: 'number',
|
|
1638
1638
|
label: 'Current Amount',
|
|
1639
1639
|
dynamicField: 'value',
|
|
1640
|
-
variableField: '
|
|
1640
|
+
variableField: 'goal_amount',
|
|
1641
1641
|
required: true,
|
|
1642
1642
|
default: 50,
|
|
1643
1643
|
},
|
|
@@ -1653,11 +1653,11 @@ exports.LumiaAlertConfigs = {
|
|
|
1653
1653
|
},
|
|
1654
1654
|
[activity_types_1.LumiaAlertValues.TWITCH_GOAL_ENDED]: {
|
|
1655
1655
|
connection: 'twitch',
|
|
1656
|
-
message: 'Goal {{goal_description}} ended at amount {{
|
|
1656
|
+
message: 'Goal {{goal_description}} ended at amount {{goal_amount}} with a target of {{goal_target_amount}}',
|
|
1657
1657
|
eventlistSpecialUsername: 'Twitch',
|
|
1658
1658
|
eventlistMessage: 'Goal ended',
|
|
1659
|
-
eventlistDetailedMessage: 'Goal {{goal_description}} ended at amount {{
|
|
1660
|
-
acceptedVariables: ['goal_type', 'goal_id', 'goal_description', '
|
|
1659
|
+
eventlistDetailedMessage: 'Goal {{goal_description}} ended at amount {{goal_amount}} with a target of {{goal_target_amount}}',
|
|
1660
|
+
acceptedVariables: ['goal_type', 'goal_id', 'goal_description', 'goal_amount', 'goal_target_amount', 'goal_achieved', 'goal_status'],
|
|
1661
1661
|
quickActions: [
|
|
1662
1662
|
{
|
|
1663
1663
|
label: 'Reached 100 Followers',
|
|
@@ -1665,7 +1665,7 @@ exports.LumiaAlertConfigs = {
|
|
|
1665
1665
|
extraSettings: {
|
|
1666
1666
|
goal_type: 'follower',
|
|
1667
1667
|
goal_description: '100 Followers!',
|
|
1668
|
-
|
|
1668
|
+
goal_amount: 100,
|
|
1669
1669
|
goal_target_amount: 100,
|
|
1670
1670
|
},
|
|
1671
1671
|
},
|
|
@@ -1675,7 +1675,7 @@ exports.LumiaAlertConfigs = {
|
|
|
1675
1675
|
extraSettings: {
|
|
1676
1676
|
goal_type: 'subscription',
|
|
1677
1677
|
goal_description: '100 Subs!',
|
|
1678
|
-
|
|
1678
|
+
goal_amount: 100,
|
|
1679
1679
|
goal_target_amount: 100,
|
|
1680
1680
|
},
|
|
1681
1681
|
},
|
|
@@ -1685,7 +1685,7 @@ exports.LumiaAlertConfigs = {
|
|
|
1685
1685
|
extraSettings: {
|
|
1686
1686
|
goal_type: 'new_subscriptions',
|
|
1687
1687
|
goal_description: '100 New Subs!',
|
|
1688
|
-
|
|
1688
|
+
goal_amount: 100,
|
|
1689
1689
|
goal_target_amount: 100,
|
|
1690
1690
|
},
|
|
1691
1691
|
},
|
|
@@ -1714,7 +1714,7 @@ exports.LumiaAlertConfigs = {
|
|
|
1714
1714
|
type: 'number',
|
|
1715
1715
|
label: 'Current Amount',
|
|
1716
1716
|
dynamicField: 'value',
|
|
1717
|
-
variableField: '
|
|
1717
|
+
variableField: 'goal_amount',
|
|
1718
1718
|
required: true,
|
|
1719
1719
|
default: 50,
|
|
1720
1720
|
},
|
|
@@ -1740,6 +1740,414 @@ exports.LumiaAlertConfigs = {
|
|
|
1740
1740
|
{ type: LumiaVariationConditions.GREATER_NUMBER },
|
|
1741
1741
|
],
|
|
1742
1742
|
},
|
|
1743
|
+
[activity_types_1.LumiaAlertValues.TWITCH_CHARITY_DONATION]: {
|
|
1744
|
+
connection: 'streamlabs',
|
|
1745
|
+
message: '{{username}} just donated {{amount}} to charity {{charity_name}}',
|
|
1746
|
+
eventlistMessage: 'Donation',
|
|
1747
|
+
eventlistDetailedMessage: 'donated {{amount}} {{currency}}',
|
|
1748
|
+
acceptedVariables: ['username', 'currency', 'amount', 'message', 'charity_id', 'charity_campaign_id', 'charity_name', 'charity_description', 'charity_logo', 'charity_website'],
|
|
1749
|
+
quickActions: [
|
|
1750
|
+
{
|
|
1751
|
+
label: '$100',
|
|
1752
|
+
dynamic: { value: 100, currency: LumiaVariationCurrency.USD },
|
|
1753
|
+
extraSettings: {
|
|
1754
|
+
username: 'lumiastream',
|
|
1755
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
1756
|
+
amount: 100,
|
|
1757
|
+
currency: LumiaVariationCurrency.USD,
|
|
1758
|
+
charity_id: 'lumia123',
|
|
1759
|
+
charity_name: 'Lumia Charity',
|
|
1760
|
+
charity_description: 'Give me more lights',
|
|
1761
|
+
charity_logo: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
1762
|
+
charity_website: 'https://lumiastream.com',
|
|
1763
|
+
started_at: '2022-07-26T17:00:03.17106713Z',
|
|
1764
|
+
},
|
|
1765
|
+
},
|
|
1766
|
+
{
|
|
1767
|
+
label: '$200',
|
|
1768
|
+
dynamic: { value: 200, currency: LumiaVariationCurrency.USD },
|
|
1769
|
+
extraSettings: {
|
|
1770
|
+
username: 'lumiastream',
|
|
1771
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
1772
|
+
amount: 200,
|
|
1773
|
+
currency: LumiaVariationCurrency.USD,
|
|
1774
|
+
charity_id: 'lumia123',
|
|
1775
|
+
charity_name: 'Lumia Charity',
|
|
1776
|
+
charity_description: 'Give me more lights',
|
|
1777
|
+
charity_logo: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
1778
|
+
charity_website: 'https://lumiastream.com',
|
|
1779
|
+
started_at: '2022-07-26T17:00:03.17106713Z',
|
|
1780
|
+
},
|
|
1781
|
+
},
|
|
1782
|
+
{
|
|
1783
|
+
label: '$300',
|
|
1784
|
+
dynamic: { value: 300, currency: LumiaVariationCurrency.USD },
|
|
1785
|
+
extraSettings: {
|
|
1786
|
+
username: 'lumiastream',
|
|
1787
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
1788
|
+
amount: 300,
|
|
1789
|
+
currency: LumiaVariationCurrency.USD,
|
|
1790
|
+
charity_id: 'lumia123',
|
|
1791
|
+
charity_name: 'Lumia Charity',
|
|
1792
|
+
charity_description: 'Give me more lights',
|
|
1793
|
+
charity_logo: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
1794
|
+
charity_website: 'https://lumiastream.com',
|
|
1795
|
+
started_at: '2022-07-26T17:00:03.17106713Z',
|
|
1796
|
+
},
|
|
1797
|
+
},
|
|
1798
|
+
],
|
|
1799
|
+
inputFields: [
|
|
1800
|
+
{
|
|
1801
|
+
type: 'text',
|
|
1802
|
+
label: 'Username',
|
|
1803
|
+
variableField: 'username',
|
|
1804
|
+
required: false,
|
|
1805
|
+
default: 'lumiastream',
|
|
1806
|
+
},
|
|
1807
|
+
{
|
|
1808
|
+
type: 'number',
|
|
1809
|
+
label: 'Amount',
|
|
1810
|
+
dynamicField: 'value',
|
|
1811
|
+
variableField: 'amount',
|
|
1812
|
+
required: false,
|
|
1813
|
+
default: 100,
|
|
1814
|
+
},
|
|
1815
|
+
{
|
|
1816
|
+
type: 'currency',
|
|
1817
|
+
label: 'Currency',
|
|
1818
|
+
dynamicField: 'currency',
|
|
1819
|
+
variableField: 'currency',
|
|
1820
|
+
required: false,
|
|
1821
|
+
default: LumiaVariationCurrency.USD,
|
|
1822
|
+
},
|
|
1823
|
+
{
|
|
1824
|
+
type: 'text',
|
|
1825
|
+
label: 'Charity Name',
|
|
1826
|
+
variableField: 'charity_name',
|
|
1827
|
+
required: false,
|
|
1828
|
+
default: 'My Charity',
|
|
1829
|
+
},
|
|
1830
|
+
{
|
|
1831
|
+
type: 'text',
|
|
1832
|
+
label: 'Charity Description',
|
|
1833
|
+
variableField: 'charity_description',
|
|
1834
|
+
required: false,
|
|
1835
|
+
default: '100 dollars!',
|
|
1836
|
+
},
|
|
1837
|
+
],
|
|
1838
|
+
LumiaVariationConditions: [
|
|
1839
|
+
{ type: LumiaVariationConditions.RANDOM },
|
|
1840
|
+
{
|
|
1841
|
+
type: LumiaVariationConditions.EQUAL_CURRENCY_NUMBER,
|
|
1842
|
+
},
|
|
1843
|
+
{
|
|
1844
|
+
type: LumiaVariationConditions.GREATER_CURRENCY_NUMBER,
|
|
1845
|
+
},
|
|
1846
|
+
],
|
|
1847
|
+
},
|
|
1848
|
+
[activity_types_1.LumiaAlertValues.TWITCH_CHARITY_CAMPAIGN_STARTED]: {
|
|
1849
|
+
connection: 'twitch',
|
|
1850
|
+
message: 'Charity campaign {{charity_name}} started with a target of {{charity_target_amount}}',
|
|
1851
|
+
eventlistSpecialUsername: 'Twitch',
|
|
1852
|
+
eventlistMessage: 'Charity campaign start',
|
|
1853
|
+
eventlistDetailedMessage: 'Charity campaign {{charity_name}} started with a target of {{charity_target_amount}}',
|
|
1854
|
+
acceptedVariables: [
|
|
1855
|
+
'charity_id',
|
|
1856
|
+
'charity_campaign_id',
|
|
1857
|
+
'charity_name',
|
|
1858
|
+
'charity_description',
|
|
1859
|
+
'charity_logo',
|
|
1860
|
+
'charity_amount',
|
|
1861
|
+
'charity_target_amount',
|
|
1862
|
+
'charity_website',
|
|
1863
|
+
'currency',
|
|
1864
|
+
'started_at',
|
|
1865
|
+
],
|
|
1866
|
+
quickActions: [
|
|
1867
|
+
{
|
|
1868
|
+
label: 'Charity Started',
|
|
1869
|
+
dynamic: { value: 'lumiastream' },
|
|
1870
|
+
extraSettings: {
|
|
1871
|
+
charity_id: 'lumia123',
|
|
1872
|
+
charity_name: 'Lumia Charity',
|
|
1873
|
+
charity_description: 'Give me more lights',
|
|
1874
|
+
charity_logo: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
1875
|
+
charity_amount: 0,
|
|
1876
|
+
charity_target_amount: 100,
|
|
1877
|
+
charity_website: 'https://lumiastream.com',
|
|
1878
|
+
currency: LumiaVariationCurrency.USD,
|
|
1879
|
+
started_at: '2022-07-26T17:00:03.17106713Z',
|
|
1880
|
+
},
|
|
1881
|
+
},
|
|
1882
|
+
],
|
|
1883
|
+
inputFields: [
|
|
1884
|
+
{
|
|
1885
|
+
type: 'text',
|
|
1886
|
+
label: 'Charity Name',
|
|
1887
|
+
variableField: 'charity_name',
|
|
1888
|
+
required: true,
|
|
1889
|
+
default: 'My Charity',
|
|
1890
|
+
},
|
|
1891
|
+
{
|
|
1892
|
+
type: 'text',
|
|
1893
|
+
label: 'Charity Description',
|
|
1894
|
+
variableField: 'charity_description',
|
|
1895
|
+
required: false,
|
|
1896
|
+
default: '100 dollars!',
|
|
1897
|
+
},
|
|
1898
|
+
{
|
|
1899
|
+
type: 'number',
|
|
1900
|
+
label: 'Current Amount',
|
|
1901
|
+
variableField: 'goal_amount',
|
|
1902
|
+
required: true,
|
|
1903
|
+
default: 0,
|
|
1904
|
+
},
|
|
1905
|
+
{
|
|
1906
|
+
type: 'number',
|
|
1907
|
+
label: 'Target Amount',
|
|
1908
|
+
variableField: 'goal_target_amount',
|
|
1909
|
+
required: true,
|
|
1910
|
+
default: 100,
|
|
1911
|
+
},
|
|
1912
|
+
{
|
|
1913
|
+
type: 'text',
|
|
1914
|
+
label: 'Currency',
|
|
1915
|
+
variableField: 'currency',
|
|
1916
|
+
required: true,
|
|
1917
|
+
default: 'usd',
|
|
1918
|
+
},
|
|
1919
|
+
],
|
|
1920
|
+
LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }],
|
|
1921
|
+
},
|
|
1922
|
+
[activity_types_1.LumiaAlertValues.TWITCH_CHARITY_CAMPAIGN_PROGRESSED]: {
|
|
1923
|
+
connection: 'twitch',
|
|
1924
|
+
message: 'Charity campaign {{charity_name}} progressed to {{charity_amount}} with a target of {{charity_target_amount}}',
|
|
1925
|
+
eventlistSpecialUsername: 'Twitch',
|
|
1926
|
+
eventlistMessage: 'Charity campaign progressed',
|
|
1927
|
+
eventlistDetailedMessage: 'Charity campaign {{charity_name}} progressed to {{charity_amount}} with a target of {{charity_target_amount}}',
|
|
1928
|
+
acceptedVariables: [
|
|
1929
|
+
'charity_id',
|
|
1930
|
+
'charity_campaign_id',
|
|
1931
|
+
'charity_name',
|
|
1932
|
+
'charity_description',
|
|
1933
|
+
'charity_logo',
|
|
1934
|
+
'charity_amount',
|
|
1935
|
+
'charity_target_amount',
|
|
1936
|
+
'charity_website',
|
|
1937
|
+
'currency',
|
|
1938
|
+
'started_at',
|
|
1939
|
+
],
|
|
1940
|
+
quickActions: [
|
|
1941
|
+
{
|
|
1942
|
+
label: 'Charity Started',
|
|
1943
|
+
dynamic: { value: 'lumiastream' },
|
|
1944
|
+
extraSettings: {
|
|
1945
|
+
charity_id: 'lumia123',
|
|
1946
|
+
charity_name: 'Lumia Charity',
|
|
1947
|
+
charity_description: 'Give me more lights',
|
|
1948
|
+
charity_logo: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
1949
|
+
charity_amount: 20,
|
|
1950
|
+
charity_target_amount: 100,
|
|
1951
|
+
charity_website: 'https://lumiastream.com',
|
|
1952
|
+
currency: LumiaVariationCurrency.USD,
|
|
1953
|
+
started_at: '2022-07-26T17:00:03.17106713Z',
|
|
1954
|
+
},
|
|
1955
|
+
},
|
|
1956
|
+
],
|
|
1957
|
+
inputFields: [
|
|
1958
|
+
{
|
|
1959
|
+
type: 'text',
|
|
1960
|
+
label: 'Charity Name',
|
|
1961
|
+
variableField: 'charity_name',
|
|
1962
|
+
required: true,
|
|
1963
|
+
default: 'My Charity',
|
|
1964
|
+
},
|
|
1965
|
+
{
|
|
1966
|
+
type: 'text',
|
|
1967
|
+
label: 'Charity Description',
|
|
1968
|
+
variableField: 'charity_description',
|
|
1969
|
+
required: false,
|
|
1970
|
+
default: '100 dollars!',
|
|
1971
|
+
},
|
|
1972
|
+
{
|
|
1973
|
+
type: 'number',
|
|
1974
|
+
label: 'Current Amount',
|
|
1975
|
+
variableField: 'charity_amount',
|
|
1976
|
+
required: true,
|
|
1977
|
+
default: 20,
|
|
1978
|
+
},
|
|
1979
|
+
{
|
|
1980
|
+
type: 'number',
|
|
1981
|
+
label: 'Target Amount',
|
|
1982
|
+
variableField: 'charity_target_amount',
|
|
1983
|
+
required: true,
|
|
1984
|
+
default: 100,
|
|
1985
|
+
},
|
|
1986
|
+
{
|
|
1987
|
+
type: 'text',
|
|
1988
|
+
label: 'Currency',
|
|
1989
|
+
variableField: 'currency',
|
|
1990
|
+
required: true,
|
|
1991
|
+
default: 'usd',
|
|
1992
|
+
},
|
|
1993
|
+
],
|
|
1994
|
+
LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }],
|
|
1995
|
+
},
|
|
1996
|
+
[activity_types_1.LumiaAlertValues.TWITCH_CHARITY_CAMPAIGN_PROGRESSED]: {
|
|
1997
|
+
connection: 'twitch',
|
|
1998
|
+
message: 'Charity campaign {{charity_name}} progressed to {{charity_amount}} with a target of {{charity_target_amount}}',
|
|
1999
|
+
eventlistSpecialUsername: 'Twitch',
|
|
2000
|
+
eventlistMessage: 'Charity campaign progressed',
|
|
2001
|
+
eventlistDetailedMessage: 'Charity campaign {{charity_name}} progressed to {{charity_amount}} with a target of {{charity_target_amount}}',
|
|
2002
|
+
acceptedVariables: [
|
|
2003
|
+
'charity_id',
|
|
2004
|
+
'charity_campaign_id',
|
|
2005
|
+
'charity_name',
|
|
2006
|
+
'charity_description',
|
|
2007
|
+
'charity_logo',
|
|
2008
|
+
'charity_amount',
|
|
2009
|
+
'charity_target_amount',
|
|
2010
|
+
'charity_website',
|
|
2011
|
+
'currency',
|
|
2012
|
+
'started_at',
|
|
2013
|
+
],
|
|
2014
|
+
quickActions: [
|
|
2015
|
+
{
|
|
2016
|
+
label: 'Charity Started',
|
|
2017
|
+
dynamic: { value: 'lumiastream' },
|
|
2018
|
+
extraSettings: {
|
|
2019
|
+
charity_id: 'lumia123',
|
|
2020
|
+
charity_name: 'Lumia Charity',
|
|
2021
|
+
charity_description: 'Give me more lights',
|
|
2022
|
+
charity_logo: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
2023
|
+
charity_amount: 20,
|
|
2024
|
+
charity_target_amount: 100,
|
|
2025
|
+
charity_website: 'https://lumiastream.com',
|
|
2026
|
+
currency: LumiaVariationCurrency.USD,
|
|
2027
|
+
started_at: '2022-07-26T17:00:03.17106713Z',
|
|
2028
|
+
},
|
|
2029
|
+
},
|
|
2030
|
+
],
|
|
2031
|
+
inputFields: [
|
|
2032
|
+
{
|
|
2033
|
+
type: 'text',
|
|
2034
|
+
label: 'Charity Name',
|
|
2035
|
+
variableField: 'charity_name',
|
|
2036
|
+
required: true,
|
|
2037
|
+
default: 'My Charity',
|
|
2038
|
+
},
|
|
2039
|
+
{
|
|
2040
|
+
type: 'text',
|
|
2041
|
+
label: 'Charity Description',
|
|
2042
|
+
variableField: 'charity_description',
|
|
2043
|
+
required: false,
|
|
2044
|
+
default: '100 dollars!',
|
|
2045
|
+
},
|
|
2046
|
+
{
|
|
2047
|
+
type: 'number',
|
|
2048
|
+
label: 'Current Amount',
|
|
2049
|
+
variableField: 'charity_amount',
|
|
2050
|
+
required: true,
|
|
2051
|
+
default: 20,
|
|
2052
|
+
},
|
|
2053
|
+
{
|
|
2054
|
+
type: 'number',
|
|
2055
|
+
label: 'Target Amount',
|
|
2056
|
+
variableField: 'charity_target_amount',
|
|
2057
|
+
required: true,
|
|
2058
|
+
default: 100,
|
|
2059
|
+
},
|
|
2060
|
+
{
|
|
2061
|
+
type: 'text',
|
|
2062
|
+
label: 'Currency',
|
|
2063
|
+
variableField: 'currency',
|
|
2064
|
+
required: true,
|
|
2065
|
+
default: 'usd',
|
|
2066
|
+
},
|
|
2067
|
+
],
|
|
2068
|
+
LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }, { type: LumiaVariationConditions.EQUAL_NUMBER }, { type: LumiaVariationConditions.GREATER_NUMBER }],
|
|
2069
|
+
},
|
|
2070
|
+
[activity_types_1.LumiaAlertValues.TWITCH_CHARITY_CAMPAIGN_STOPPED]: {
|
|
2071
|
+
connection: 'twitch',
|
|
2072
|
+
message: 'Charity campaign {{charity_name}} ended at amount {{charity_amount}} with a target of {{charity_target_amount}}',
|
|
2073
|
+
eventlistSpecialUsername: 'Twitch',
|
|
2074
|
+
eventlistMessage: 'Charity campaign ended',
|
|
2075
|
+
eventlistDetailedMessage: 'Charity campaign {{charity_name}} ended at amount {{charity_amount}} with a target of {{charity_target_amount}}',
|
|
2076
|
+
acceptedVariables: [
|
|
2077
|
+
'charity_id',
|
|
2078
|
+
'charity_campaign_id',
|
|
2079
|
+
'charity_name',
|
|
2080
|
+
'charity_description',
|
|
2081
|
+
'charity_logo',
|
|
2082
|
+
'charity_amount',
|
|
2083
|
+
'charity_target_amount',
|
|
2084
|
+
'charity_website',
|
|
2085
|
+
'currency',
|
|
2086
|
+
'started_at',
|
|
2087
|
+
'ended_at',
|
|
2088
|
+
],
|
|
2089
|
+
quickActions: [
|
|
2090
|
+
{
|
|
2091
|
+
label: 'Charity Target Achieved',
|
|
2092
|
+
dynamic: { value: 'lumiastream' },
|
|
2093
|
+
extraSettings: {
|
|
2094
|
+
charity_id: 'lumia123',
|
|
2095
|
+
charity_name: 'Lumia Charity',
|
|
2096
|
+
charity_description: 'Give me more lights',
|
|
2097
|
+
charity_logo: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
2098
|
+
charity_amount: 100,
|
|
2099
|
+
charity_target_amount: 100,
|
|
2100
|
+
charity_website: 'https://lumiastream.com',
|
|
2101
|
+
currency: LumiaVariationCurrency.USD,
|
|
2102
|
+
started_at: '2022-07-26T17:00:03.17106713Z',
|
|
2103
|
+
ended_at: '2022-07-26T17:00:03.17106713Z',
|
|
2104
|
+
},
|
|
2105
|
+
},
|
|
2106
|
+
],
|
|
2107
|
+
inputFields: [
|
|
2108
|
+
{
|
|
2109
|
+
type: 'text',
|
|
2110
|
+
label: 'Charity Name',
|
|
2111
|
+
variableField: 'charity_name',
|
|
2112
|
+
required: true,
|
|
2113
|
+
default: 'My Charity',
|
|
2114
|
+
},
|
|
2115
|
+
{
|
|
2116
|
+
type: 'text',
|
|
2117
|
+
label: 'Charity Description',
|
|
2118
|
+
variableField: 'charity_description',
|
|
2119
|
+
required: false,
|
|
2120
|
+
default: '100 dollars!',
|
|
2121
|
+
},
|
|
2122
|
+
{
|
|
2123
|
+
type: 'number',
|
|
2124
|
+
label: 'Current Amount',
|
|
2125
|
+
variableField: 'charity_amount',
|
|
2126
|
+
required: true,
|
|
2127
|
+
default: 20,
|
|
2128
|
+
},
|
|
2129
|
+
{
|
|
2130
|
+
type: 'number',
|
|
2131
|
+
label: 'Target Amount',
|
|
2132
|
+
variableField: 'charity_target_amount',
|
|
2133
|
+
required: true,
|
|
2134
|
+
default: 100,
|
|
2135
|
+
},
|
|
2136
|
+
{
|
|
2137
|
+
type: 'text',
|
|
2138
|
+
label: 'Currency',
|
|
2139
|
+
variableField: 'currency',
|
|
2140
|
+
required: true,
|
|
2141
|
+
default: 'usd',
|
|
2142
|
+
},
|
|
2143
|
+
],
|
|
2144
|
+
LumiaVariationConditions: [
|
|
2145
|
+
{ type: LumiaVariationConditions.RANDOM },
|
|
2146
|
+
{ type: LumiaVariationConditions.TARGET_ACHIEVED },
|
|
2147
|
+
{ type: LumiaVariationConditions.EQUAL_NUMBER },
|
|
2148
|
+
{ type: LumiaVariationConditions.GREATER_NUMBER },
|
|
2149
|
+
],
|
|
2150
|
+
},
|
|
1743
2151
|
[activity_types_1.LumiaAlertValues.TWITCH_CATEGORY]: {
|
|
1744
2152
|
connection: 'twitch',
|
|
1745
2153
|
message: 'Category changed to {{category_name}}',
|
|
@@ -2042,6 +2450,50 @@ exports.LumiaAlertConfigs = {
|
|
|
2042
2450
|
],
|
|
2043
2451
|
LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }, { type: LumiaVariationConditions.EQUAL_STRING }],
|
|
2044
2452
|
},
|
|
2453
|
+
[activity_types_1.LumiaAlertValues.TWITCH_DROP_ENTITLEMENT]: {
|
|
2454
|
+
connection: 'twitch',
|
|
2455
|
+
message: 'Entitlement dropped for {{username}}',
|
|
2456
|
+
eventlistMessage: 'Entitlement Drop',
|
|
2457
|
+
eventlistDetailedMessage: 'entitlement dropped',
|
|
2458
|
+
acceptedVariables: ['username', 'userId', 'displayname', 'avatar', 'organization_id', 'category_id', 'category_name', 'campaign_id', 'entitlement_id', 'benefit_id', 'created_at'],
|
|
2459
|
+
quickActions: [
|
|
2460
|
+
{
|
|
2461
|
+
label: 'Entitlement Dropped',
|
|
2462
|
+
dynamic: { value: 'lumiastream' },
|
|
2463
|
+
extraSettings: {
|
|
2464
|
+
username: 'lumiastream',
|
|
2465
|
+
avatar: 'https://static-cdn.jtvnw.net/jtv_user_pictures/2b1fa336-f9b2-42cf-bd2c-98675da74982-profile_image-70x70.png',
|
|
2466
|
+
displayname: 'LumiaStream',
|
|
2467
|
+
userId: '1234',
|
|
2468
|
+
organization_id: 'lumia123',
|
|
2469
|
+
category_id: 'lumia123',
|
|
2470
|
+
category_name: 'Fortnite',
|
|
2471
|
+
campaign_id: 'lumia123',
|
|
2472
|
+
entitlement_id: 'lumia123',
|
|
2473
|
+
benefit_id: 'lumia123',
|
|
2474
|
+
created_at: '2022-07-26T17:00:03.17106713Z',
|
|
2475
|
+
},
|
|
2476
|
+
},
|
|
2477
|
+
],
|
|
2478
|
+
inputFields: [
|
|
2479
|
+
{
|
|
2480
|
+
type: 'text',
|
|
2481
|
+
label: 'Username',
|
|
2482
|
+
dynamicField: 'value',
|
|
2483
|
+
variableField: 'username',
|
|
2484
|
+
required: true,
|
|
2485
|
+
default: 'lumiastream',
|
|
2486
|
+
},
|
|
2487
|
+
{
|
|
2488
|
+
type: 'text',
|
|
2489
|
+
label: 'Category Name',
|
|
2490
|
+
variableField: 'category_name',
|
|
2491
|
+
required: true,
|
|
2492
|
+
default: 'Fortnite',
|
|
2493
|
+
},
|
|
2494
|
+
],
|
|
2495
|
+
LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }],
|
|
2496
|
+
},
|
|
2045
2497
|
// },
|
|
2046
2498
|
// youtube: {
|
|
2047
2499
|
[activity_types_1.LumiaAlertValues.YOUTUBE_STREAM_LIVE]: {
|