@lumiastream/lumia-types 3.3.1 → 3.3.3

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.
@@ -407,6 +407,10 @@ export declare enum LumiaAlertValues {
407
407
  TILTIFY_DONATION = "tiltify-campaignDonation",
408
408
  /** Throne gift purchase */
409
409
  THRONE_GIFT_PURCHASE = "throne-giftPurchase",
410
+ /** Throne contribution purchase */
411
+ THRONE_CONTRIBUTION_PURCHASE = "throne-contributionPurchase",
412
+ /** Throne gift crowdfunded */
413
+ THRONE_GIFT_CROWDFUNDED = "throne-giftCrowdfunded",
410
414
  /** TipeeeStream donation */
411
415
  TIPEEESTREAM_DONATION = "tipeeestream-donation",
412
416
  /** TreatStream treat */
@@ -687,6 +691,8 @@ export declare const LumiaAlertFriendlyValues: {
687
691
  "donordrive-donation": string;
688
692
  "tiltify-campaignDonation": string;
689
693
  "throne-giftPurchase": string;
694
+ "throne-contributionPurchase": string;
695
+ "throne-giftCrowdfunded": string;
690
696
  "tipeeestream-donation": string;
691
697
  "treatstream-treat": string;
692
698
  "patreon-campaignPledge": string;
@@ -428,6 +428,10 @@ var LumiaAlertValues;
428
428
  LumiaAlertValues["TILTIFY_DONATION"] = "tiltify-campaignDonation";
429
429
  /** Throne gift purchase */
430
430
  LumiaAlertValues["THRONE_GIFT_PURCHASE"] = "throne-giftPurchase";
431
+ /** Throne contribution purchase */
432
+ LumiaAlertValues["THRONE_CONTRIBUTION_PURCHASE"] = "throne-contributionPurchase";
433
+ /** Throne gift crowdfunded */
434
+ LumiaAlertValues["THRONE_GIFT_CROWDFUNDED"] = "throne-giftCrowdfunded";
431
435
  /** TipeeeStream donation */
432
436
  LumiaAlertValues["TIPEEESTREAM_DONATION"] = "tipeeestream-donation";
433
437
  /** TreatStream treat */
@@ -717,6 +721,8 @@ exports.LumiaAlertFriendlyValues = {
717
721
  [LumiaAlertValues.DONORDRIVE_DONATION]: 'Donordrive Tip',
718
722
  [LumiaAlertValues.TILTIFY_DONATION]: 'Tiltify Campaign Tip',
719
723
  [LumiaAlertValues.THRONE_GIFT_PURCHASE]: 'Throne Gift Purchase',
724
+ [LumiaAlertValues.THRONE_CONTRIBUTION_PURCHASE]: 'Throne Contribution Purchase',
725
+ [LumiaAlertValues.THRONE_GIFT_CROWDFUNDED]: 'Throne Gift Crowdfunded',
720
726
  // [LumiaAlertValues.PAYPAL_PAYMENT_COMPLETE]: "Paypal Payment Complete",
721
727
  // [LumiaAlertValues.PAYPAL_PAYMENT_DENIED]: "Paypal Payment Denied",
722
728
  [LumiaAlertValues.TIPEEESTREAM_DONATION]: 'Tipeeestream Tip',
@@ -7334,6 +7334,116 @@ exports.LumiaAlertConfigs = {
7334
7334
  { type: LumiaVariationConditions.EQUAL_VARIABLE },
7335
7335
  ],
7336
7336
  },
7337
+ [activity_types_1.LumiaAlertValues.THRONE_CONTRIBUTION_PURCHASE]: {
7338
+ connection: event_types_1.LumiaIntegrations.THRONE,
7339
+ message: '{{username}} contributed {{amount}} {{currency}} toward {{itemName}} on Throne. {{message}}',
7340
+ eventlistMessage: 'Contribution Purchase',
7341
+ eventlistDetailedMessage: 'contributed {{amount}} {{currency}} toward {{itemName}}',
7342
+ acceptedVariables: variables_types_1.AllVariables.throne.alerts.contributionPurchase,
7343
+ quickActions: [
7344
+ {
7345
+ label: '$10',
7346
+ dynamic: { value: 10, currency: LumiaVariationCurrency.USD },
7347
+ extraSettings: {
7348
+ username: 'lumiastream',
7349
+ displayname: 'lumiastream',
7350
+ message: 'Happy to contribute!',
7351
+ itemName: 'AirPods Max',
7352
+ itemThumbnailUrl: 'https://m.media-amazon.com/images/I/81jqUPkIVRL._AC_SX522_.jpg',
7353
+ amount: 10,
7354
+ currency: LumiaVariationCurrency.USD,
7355
+ creatorUsername: 'lumiastream',
7356
+ },
7357
+ },
7358
+ ],
7359
+ inputFields: [
7360
+ {
7361
+ type: 'text',
7362
+ label: 'Username',
7363
+ variableField: 'username',
7364
+ required: false,
7365
+ default: 'lumiastream',
7366
+ },
7367
+ {
7368
+ type: 'text',
7369
+ label: 'Item',
7370
+ variableField: 'itemName',
7371
+ required: true,
7372
+ default: 'AirPods Max',
7373
+ },
7374
+ {
7375
+ type: 'number',
7376
+ label: 'Amount',
7377
+ dynamicField: 'value',
7378
+ variableField: 'amount',
7379
+ required: false,
7380
+ default: 10,
7381
+ },
7382
+ {
7383
+ type: 'currency',
7384
+ label: 'Currency',
7385
+ dynamicField: 'currency',
7386
+ variableField: 'currency',
7387
+ required: false,
7388
+ default: LumiaVariationCurrency.USD,
7389
+ },
7390
+ {
7391
+ type: 'text',
7392
+ label: 'Message',
7393
+ variableField: 'message',
7394
+ required: false,
7395
+ default: 'Happy to contribute!',
7396
+ },
7397
+ ],
7398
+ LumiaVariationConditions: [
7399
+ { type: LumiaVariationConditions.RANDOM },
7400
+ {
7401
+ type: LumiaVariationConditions.EQUAL_CURRENCY_NUMBER,
7402
+ },
7403
+ {
7404
+ type: LumiaVariationConditions.GREATER_CURRENCY_NUMBER,
7405
+ },
7406
+ { type: LumiaVariationConditions.EQUAL_VARIABLE },
7407
+ ],
7408
+ },
7409
+ [activity_types_1.LumiaAlertValues.THRONE_GIFT_CROWDFUNDED]: {
7410
+ connection: event_types_1.LumiaIntegrations.THRONE,
7411
+ message: '{{itemName}} was crowdfunded on Throne.',
7412
+ eventlistMessage: 'Gift Crowdfunded',
7413
+ eventlistDetailedMessage: 'crowdfunded {{itemName}}',
7414
+ acceptedVariables: variables_types_1.AllVariables.throne.alerts.giftCrowdfunded,
7415
+ quickActions: [
7416
+ {
7417
+ label: 'Gift',
7418
+ dynamic: { value: 'AirPods Max', name: 'AirPods Max' },
7419
+ extraSettings: {
7420
+ username: 'Community',
7421
+ displayname: 'Community',
7422
+ itemName: 'AirPods Max',
7423
+ itemThumbnailUrl: 'https://m.media-amazon.com/images/I/81jqUPkIVRL._AC_SX522_.jpg',
7424
+ isSurpriseGift: false,
7425
+ creatorUsername: 'lumiastream',
7426
+ },
7427
+ },
7428
+ ],
7429
+ inputFields: [
7430
+ {
7431
+ type: 'text',
7432
+ label: 'Item',
7433
+ dynamicField: 'value',
7434
+ variableField: 'itemName',
7435
+ required: true,
7436
+ default: 'AirPods Max',
7437
+ },
7438
+ ],
7439
+ LumiaVariationConditions: [
7440
+ { type: LumiaVariationConditions.RANDOM },
7441
+ {
7442
+ type: LumiaVariationConditions.EQUAL_STRING,
7443
+ },
7444
+ { type: LumiaVariationConditions.EQUAL_VARIABLE },
7445
+ ],
7446
+ },
7337
7447
  // },
7338
7448
  // fourthwall: {
7339
7449
  [activity_types_1.LumiaAlertValues.FOURTHWALL_DONATION]: {
@@ -695,6 +695,10 @@ export declare enum LumiaAlertValues {
695
695
  TILTIFY_DONATION = "tiltify-campaignDonation",
696
696
  /** Throne gift purchase */
697
697
  THRONE_GIFT_PURCHASE = "throne-giftPurchase",
698
+ /** Throne contribution purchase */
699
+ THRONE_CONTRIBUTION_PURCHASE = "throne-contributionPurchase",
700
+ /** Throne gift crowdfunded */
701
+ THRONE_GIFT_CROWDFUNDED = "throne-giftCrowdfunded",
698
702
  /** TipeeeStream donation */
699
703
  TIPEEESTREAM_DONATION = "tipeeestream-donation",
700
704
  /** TreatStream treat */
@@ -695,6 +695,10 @@ export declare enum LumiaAlertValues {
695
695
  TILTIFY_DONATION = "tiltify-campaignDonation",
696
696
  /** Throne gift purchase */
697
697
  THRONE_GIFT_PURCHASE = "throne-giftPurchase",
698
+ /** Throne contribution purchase */
699
+ THRONE_CONTRIBUTION_PURCHASE = "throne-contributionPurchase",
700
+ /** Throne gift crowdfunded */
701
+ THRONE_GIFT_CROWDFUNDED = "throne-giftCrowdfunded",
698
702
  /** TipeeeStream donation */
699
703
  TIPEEESTREAM_DONATION = "tipeeestream-donation",
700
704
  /** TreatStream treat */
@@ -936,6 +936,8 @@ export declare const AllVariables: {
936
936
  variables: string[];
937
937
  alerts: {
938
938
  giftPurchase: string[];
939
+ contributionPurchase: string[];
940
+ giftCrowdfunded: string[];
939
941
  };
940
942
  };
941
943
  tipeeestream: {
@@ -1731,6 +1731,8 @@ exports.AllVariables = {
1731
1731
  variables: ['throne_last_gift'],
1732
1732
  alerts: {
1733
1733
  giftPurchase: ['username', 'displayname', 'message', 'itemName', 'itemThumbnailUrl', 'isSurpriseGift', 'creatorUsername', 'raw'],
1734
+ contributionPurchase: ['username', 'displayname', 'message', 'itemName', 'itemThumbnailUrl', 'amount', 'currency', 'creatorUsername', 'raw'],
1735
+ giftCrowdfunded: ['username', 'displayname', 'itemName', 'itemThumbnailUrl', 'isSurpriseGift', 'creatorUsername', 'raw'],
1734
1736
  },
1735
1737
  },
1736
1738
  tipeeestream: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumiastream/lumia-types",
3
- "version": "3.3.1",
3
+ "version": "3.3.3",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "files": [