@lumiastream/lumia-types 3.2.7 → 3.2.8

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.
@@ -401,6 +401,8 @@ export declare enum LumiaAlertValues {
401
401
  DONORDRIVE_DONATION = "donordrive-donation",
402
402
  /** Tiltify campaign donation */
403
403
  TILTIFY_DONATION = "tiltify-campaignDonation",
404
+ /** Throne gift purchase */
405
+ THRONE_GIFT_PURCHASE = "throne-giftPurchase",
404
406
  /** TipeeeStream donation */
405
407
  TIPEEESTREAM_DONATION = "tipeeestream-donation",
406
408
  /** TreatStream treat */
@@ -678,6 +680,7 @@ export declare const LumiaAlertFriendlyValues: {
678
680
  "extralife-donation": string;
679
681
  "donordrive-donation": string;
680
682
  "tiltify-campaignDonation": string;
683
+ "throne-giftPurchase": string;
681
684
  "tipeeestream-donation": string;
682
685
  "treatstream-treat": string;
683
686
  "patreon-campaignPledge": string;
@@ -422,6 +422,8 @@ var LumiaAlertValues;
422
422
  LumiaAlertValues["DONORDRIVE_DONATION"] = "donordrive-donation";
423
423
  /** Tiltify campaign donation */
424
424
  LumiaAlertValues["TILTIFY_DONATION"] = "tiltify-campaignDonation";
425
+ /** Throne gift purchase */
426
+ LumiaAlertValues["THRONE_GIFT_PURCHASE"] = "throne-giftPurchase";
425
427
  /** TipeeeStream donation */
426
428
  LumiaAlertValues["TIPEEESTREAM_DONATION"] = "tipeeestream-donation";
427
429
  /** TreatStream treat */
@@ -708,6 +710,7 @@ exports.LumiaAlertFriendlyValues = {
708
710
  [LumiaAlertValues.EXTRALIFE_DONATION]: 'Extralife Tip',
709
711
  [LumiaAlertValues.DONORDRIVE_DONATION]: 'Donordrive Tip',
710
712
  [LumiaAlertValues.TILTIFY_DONATION]: 'Tiltify Campaign Tip',
713
+ [LumiaAlertValues.THRONE_GIFT_PURCHASE]: 'Throne Gift Purchase',
711
714
  // [LumiaAlertValues.PAYPAL_PAYMENT_COMPLETE]: "Paypal Payment Complete",
712
715
  // [LumiaAlertValues.PAYPAL_PAYMENT_DENIED]: "Paypal Payment Denied",
713
716
  [LumiaAlertValues.TIPEEESTREAM_DONATION]: 'Tipeeestream Tip',
@@ -7135,6 +7135,59 @@ exports.LumiaAlertConfigs = {
7135
7135
  { type: LumiaVariationConditions.EQUAL_VARIABLE },
7136
7136
  ],
7137
7137
  },
7138
+ [activity_types_1.LumiaAlertValues.THRONE_GIFT_PURCHASE]: {
7139
+ connection: event_types_1.LumiaIntegrations.THRONE,
7140
+ message: '{{username}} sent {{itemName}} from Throne. {{message}}',
7141
+ eventlistMessage: 'Gift Purchase',
7142
+ eventlistDetailedMessage: 'sent {{itemName}}',
7143
+ acceptedVariables: variables_types_1.AllVariables.throne.alerts.giftPurchase,
7144
+ quickActions: [
7145
+ {
7146
+ label: 'Gift',
7147
+ dynamic: { value: 'AirPods Max', name: 'AirPods Max' },
7148
+ extraSettings: {
7149
+ username: 'lumiastream',
7150
+ displayname: 'lumiastream',
7151
+ message: "Keep doing what you're doing!",
7152
+ itemName: 'AirPods Max',
7153
+ itemThumbnailUrl: 'https://m.media-amazon.com/images/I/81jqUPkIVRL._AC_SX522_.jpg',
7154
+ isSurpriseGift: false,
7155
+ creatorUsername: 'lumiastream',
7156
+ },
7157
+ },
7158
+ ],
7159
+ inputFields: [
7160
+ {
7161
+ type: 'text',
7162
+ label: 'Username',
7163
+ variableField: 'username',
7164
+ required: false,
7165
+ default: 'lumiastream',
7166
+ },
7167
+ {
7168
+ type: 'text',
7169
+ label: 'Item',
7170
+ dynamicField: 'value',
7171
+ variableField: 'itemName',
7172
+ required: true,
7173
+ default: 'AirPods Max',
7174
+ },
7175
+ {
7176
+ type: 'text',
7177
+ label: 'Message',
7178
+ variableField: 'message',
7179
+ required: false,
7180
+ default: "Keep doing what you're doing!",
7181
+ },
7182
+ ],
7183
+ LumiaVariationConditions: [
7184
+ { type: LumiaVariationConditions.RANDOM },
7185
+ {
7186
+ type: LumiaVariationConditions.EQUAL_STRING,
7187
+ },
7188
+ { type: LumiaVariationConditions.EQUAL_VARIABLE },
7189
+ ],
7190
+ },
7138
7191
  // },
7139
7192
  // fourthwall: {
7140
7193
  [activity_types_1.LumiaAlertValues.FOURTHWALL_DONATION]: {
@@ -672,6 +672,8 @@ export declare enum LumiaAlertValues {
672
672
  DONORDRIVE_DONATION = "donordrive-donation",
673
673
  /** Tiltify campaign donation */
674
674
  TILTIFY_DONATION = "tiltify-campaignDonation",
675
+ /** Throne gift purchase */
676
+ THRONE_GIFT_PURCHASE = "throne-giftPurchase",
675
677
  /** TipeeeStream donation */
676
678
  TIPEEESTREAM_DONATION = "tipeeestream-donation",
677
679
  /** TreatStream treat */
@@ -672,6 +672,8 @@ export declare enum LumiaAlertValues {
672
672
  DONORDRIVE_DONATION = "donordrive-donation",
673
673
  /** Tiltify campaign donation */
674
674
  TILTIFY_DONATION = "tiltify-campaignDonation",
675
+ /** Throne gift purchase */
676
+ THRONE_GIFT_PURCHASE = "throne-giftPurchase",
675
677
  /** TipeeeStream donation */
676
678
  TIPEEESTREAM_DONATION = "tipeeestream-donation",
677
679
  /** TreatStream treat */
@@ -143,6 +143,7 @@ export declare enum LumiaIntegrations {
143
143
  EXTRALIFE = "extralife",
144
144
  DONORDRIVE = "donordrive",
145
145
  TILTIFY = "tiltify",
146
+ THRONE = "throne",
146
147
  PATREON = "patreon",
147
148
  WOOCOMMERCE = "woocommerce",
148
149
  KOFI = "kofi",
@@ -15,6 +15,7 @@ var LumiaIntegrations;
15
15
  LumiaIntegrations["EXTRALIFE"] = "extralife";
16
16
  LumiaIntegrations["DONORDRIVE"] = "donordrive";
17
17
  LumiaIntegrations["TILTIFY"] = "tiltify";
18
+ LumiaIntegrations["THRONE"] = "throne";
18
19
  LumiaIntegrations["PATREON"] = "patreon";
19
20
  LumiaIntegrations["WOOCOMMERCE"] = "woocommerce";
20
21
  LumiaIntegrations["KOFI"] = "kofi";
@@ -922,6 +922,12 @@ export declare const AllVariables: {
922
922
  campaignDonation: string[];
923
923
  };
924
924
  };
925
+ throne: {
926
+ variables: string[];
927
+ alerts: {
928
+ giftPurchase: string[];
929
+ };
930
+ };
925
931
  tipeeestream: {
926
932
  alerts: {
927
933
  donation: string[];
@@ -1710,6 +1710,12 @@ exports.AllVariables = {
1710
1710
  campaignDonation: ['username', 'currency', 'amount'],
1711
1711
  },
1712
1712
  },
1713
+ throne: {
1714
+ variables: ['throne_last_gift'],
1715
+ alerts: {
1716
+ giftPurchase: ['username', 'displayname', 'message', 'itemName', 'itemThumbnailUrl', 'isSurpriseGift', 'creatorUsername', 'raw'],
1717
+ },
1718
+ },
1713
1719
  tipeeestream: {
1714
1720
  alerts: {
1715
1721
  donation: ['username', 'currency', 'amount'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumiastream/lumia-types",
3
- "version": "3.2.7",
3
+ "version": "3.2.8",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "files": [