@lumiastream/lumia-types 3.1.4 → 3.1.6

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.
@@ -328,8 +328,6 @@ export declare enum LumiaAlertValues {
328
328
  TIKTOK_POLL = "tiktok-poll",
329
329
  /** TikTok LIVE shopping / shop purchase event */
330
330
  TIKTOK_SHOP_PURCHASE = "tiktok-shopPurchase",
331
- /** TikTok LIVE intro / stream intro event */
332
- TIKTOK_INTRO = "tiktok-intro",
333
331
  /** TikTok pinned message */
334
332
  TIKTOK_PIN_MESSAGE = "tiktok-pinMessage",
335
333
  /** TikTok LIVE battle started */
@@ -444,6 +442,16 @@ export declare enum LumiaAlertValues {
444
442
  OBS_RECORDING_STARTING = "obs-recordingStarting",
445
443
  /** OBS recording stopping */
446
444
  OBS_RECORDING_STOPPING = "obs-recordingStopping",
445
+ /** OBS media input playback started */
446
+ OBS_MEDIA_INPUT_PLAYBACK_STARTED = "obs-mediaInputPlaybackStarted",
447
+ /** OBS media input playback ended */
448
+ OBS_MEDIA_INPUT_PLAYBACK_ENDED = "obs-mediaInputPlaybackEnded",
449
+ /** OBS virtual camera state changed */
450
+ OBS_VIRTUALCAM_STATE_CHANGED = "obs-virtualcamStateChanged",
451
+ /** OBS record file changed */
452
+ OBS_RECORD_FILE_CHANGED = "obs-recordFileChanged",
453
+ /** OBS screenshot saved */
454
+ OBS_SCREENSHOT_SAVED = "obs-screenshotSaved",
447
455
  /** OBS replay buffer saved */
448
456
  OBS_REPLAY_BUFFER_SAVED = "obs-replayBufferSaved",
449
457
  /** OBS vertical backtrack saved */
@@ -624,7 +632,6 @@ export declare const LumiaAlertFriendlyValues: {
624
632
  "tiktok-question": string;
625
633
  "tiktok-poll": string;
626
634
  "tiktok-shopPurchase": string;
627
- "tiktok-intro": string;
628
635
  "tiktok-pinMessage": string;
629
636
  "tiktok-battleStart": string;
630
637
  "tiktok-battleProgress": string;
@@ -672,6 +679,11 @@ export declare const LumiaAlertFriendlyValues: {
672
679
  "obs-streamStopping": string;
673
680
  "obs-recordingStarting": string;
674
681
  "obs-recordingStopping": string;
682
+ "obs-mediaInputPlaybackStarted": string;
683
+ "obs-mediaInputPlaybackEnded": string;
684
+ "obs-virtualcamStateChanged": string;
685
+ "obs-recordFileChanged": string;
686
+ "obs-screenshotSaved": string;
675
687
  "obs-replayBufferSaved": string;
676
688
  "obs-verticalBacktrackSaved": string;
677
689
  "obs-vendorEvent": string;
@@ -346,8 +346,6 @@ var LumiaAlertValues;
346
346
  LumiaAlertValues["TIKTOK_POLL"] = "tiktok-poll";
347
347
  /** TikTok LIVE shopping / shop purchase event */
348
348
  LumiaAlertValues["TIKTOK_SHOP_PURCHASE"] = "tiktok-shopPurchase";
349
- /** TikTok LIVE intro / stream intro event */
350
- LumiaAlertValues["TIKTOK_INTRO"] = "tiktok-intro";
351
349
  /** TikTok pinned message */
352
350
  LumiaAlertValues["TIKTOK_PIN_MESSAGE"] = "tiktok-pinMessage";
353
351
  /** TikTok LIVE battle started */
@@ -466,6 +464,16 @@ var LumiaAlertValues;
466
464
  LumiaAlertValues["OBS_RECORDING_STARTING"] = "obs-recordingStarting";
467
465
  /** OBS recording stopping */
468
466
  LumiaAlertValues["OBS_RECORDING_STOPPING"] = "obs-recordingStopping";
467
+ /** OBS media input playback started */
468
+ LumiaAlertValues["OBS_MEDIA_INPUT_PLAYBACK_STARTED"] = "obs-mediaInputPlaybackStarted";
469
+ /** OBS media input playback ended */
470
+ LumiaAlertValues["OBS_MEDIA_INPUT_PLAYBACK_ENDED"] = "obs-mediaInputPlaybackEnded";
471
+ /** OBS virtual camera state changed */
472
+ LumiaAlertValues["OBS_VIRTUALCAM_STATE_CHANGED"] = "obs-virtualcamStateChanged";
473
+ /** OBS record file changed */
474
+ LumiaAlertValues["OBS_RECORD_FILE_CHANGED"] = "obs-recordFileChanged";
475
+ /** OBS screenshot saved */
476
+ LumiaAlertValues["OBS_SCREENSHOT_SAVED"] = "obs-screenshotSaved";
469
477
  /** OBS replay buffer saved */
470
478
  LumiaAlertValues["OBS_REPLAY_BUFFER_SAVED"] = "obs-replayBufferSaved";
471
479
  /** OBS vertical backtrack saved */
@@ -654,7 +662,6 @@ exports.LumiaAlertFriendlyValues = {
654
662
  [LumiaAlertValues.TIKTOK_QUESTION]: 'Tiktok Question',
655
663
  [LumiaAlertValues.TIKTOK_POLL]: 'Tiktok Poll',
656
664
  [LumiaAlertValues.TIKTOK_SHOP_PURCHASE]: 'Tiktok Shop Purchase',
657
- [LumiaAlertValues.TIKTOK_INTRO]: 'Tiktok Intro',
658
665
  [LumiaAlertValues.TIKTOK_PIN_MESSAGE]: 'Tiktok Pin Message',
659
666
  [LumiaAlertValues.TIKTOK_BATTLE_START]: 'Tiktok Battle Start',
660
667
  [LumiaAlertValues.TIKTOK_BATTLE_PROGRESS]: 'Tiktok Battle Progress',
@@ -704,6 +711,11 @@ exports.LumiaAlertFriendlyValues = {
704
711
  [LumiaAlertValues.OBS_STREAM_STOPPING]: 'Obs Stream Stopping',
705
712
  [LumiaAlertValues.OBS_RECORDING_STARTING]: 'Obs Recording Starting',
706
713
  [LumiaAlertValues.OBS_RECORDING_STOPPING]: 'Obs Recording Stopping',
714
+ [LumiaAlertValues.OBS_MEDIA_INPUT_PLAYBACK_STARTED]: 'Obs Media Input Playback Started',
715
+ [LumiaAlertValues.OBS_MEDIA_INPUT_PLAYBACK_ENDED]: 'Obs Media Input Playback Ended',
716
+ [LumiaAlertValues.OBS_VIRTUALCAM_STATE_CHANGED]: 'Obs Virtual Cam State Changed',
717
+ [LumiaAlertValues.OBS_RECORD_FILE_CHANGED]: 'Obs Record File Changed',
718
+ [LumiaAlertValues.OBS_SCREENSHOT_SAVED]: 'Obs Screenshot Saved',
707
719
  [LumiaAlertValues.OBS_REPLAY_BUFFER_SAVED]: 'Obs Replay Buffer Saved',
708
720
  [LumiaAlertValues.OBS_VERTICAL_BACKTRACK_SAVED]: 'Obs Vertical Backtrack Saved',
709
721
  [LumiaAlertValues.OBS_VENDOR_EVENT]: 'Obs Vendor Event',
@@ -4947,34 +4947,6 @@ exports.LumiaAlertConfigs = {
4947
4947
  { type: LumiaVariationConditions.EQUAL_VARIABLE },
4948
4948
  ],
4949
4949
  },
4950
- [activity_types_1.LumiaAlertValues.TIKTOK_INTRO]: {
4951
- connection: event_types_1.LumiaIntegrations.TIKTOK,
4952
- message: '{{description}}',
4953
- eventlistMessage: 'Intro',
4954
- eventlistDetailedMessage: 'showed a live intro',
4955
- acceptedVariables: variables_types_1.AllVariables.tiktok.alerts.intro,
4956
- quickActions: [
4957
- {
4958
- label: 'Live Intro',
4959
- dynamic: { value: 'Welcome to the stream!' },
4960
- extraSettings: { description: 'Welcome to the stream!', username: 'lumiastream' },
4961
- },
4962
- ],
4963
- inputFields: [
4964
- {
4965
- type: 'text',
4966
- label: 'Description',
4967
- variableField: 'description',
4968
- required: false,
4969
- default: 'Welcome to the stream!',
4970
- },
4971
- ],
4972
- LumiaVariationConditions: [
4973
- { type: LumiaVariationConditions.RANDOM },
4974
- { type: LumiaVariationConditions.EQUAL_STRING, description: 'Description is equal to' },
4975
- { type: LumiaVariationConditions.EQUAL_VARIABLE },
4976
- ],
4977
- },
4978
4950
  [activity_types_1.LumiaAlertValues.TIKTOK_PIN_MESSAGE]: {
4979
4951
  connection: event_types_1.LumiaIntegrations.TIKTOK,
4980
4952
  message: 'Pinned message: {{message}}',
@@ -8390,6 +8362,64 @@ exports.LumiaAlertConfigs = {
8390
8362
  acceptedVariables: variables_types_1.AllVariables.obs.alerts.recordingStopping,
8391
8363
  LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }, { type: LumiaVariationConditions.EQUAL_VARIABLE }],
8392
8364
  },
8365
+ [activity_types_1.LumiaAlertValues.OBS_MEDIA_INPUT_PLAYBACK_STARTED]: {
8366
+ connection: event_types_1.LumiaIntegrations.OBS,
8367
+ message: 'OBS media input playback started',
8368
+ acceptedVariables: variables_types_1.AllVariables.obs.alerts.mediaInputPlaybackStarted,
8369
+ LumiaVariationConditions: [
8370
+ { type: LumiaVariationConditions.RANDOM },
8371
+ {
8372
+ type: LumiaVariationConditions.EQUAL_STRING,
8373
+ description: 'Input is equal to',
8374
+ },
8375
+ { type: LumiaVariationConditions.EQUAL_VARIABLE },
8376
+ ],
8377
+ },
8378
+ [activity_types_1.LumiaAlertValues.OBS_MEDIA_INPUT_PLAYBACK_ENDED]: {
8379
+ connection: event_types_1.LumiaIntegrations.OBS,
8380
+ message: 'OBS media input playback ended',
8381
+ acceptedVariables: variables_types_1.AllVariables.obs.alerts.mediaInputPlaybackEnded,
8382
+ LumiaVariationConditions: [
8383
+ { type: LumiaVariationConditions.RANDOM },
8384
+ {
8385
+ type: LumiaVariationConditions.EQUAL_STRING,
8386
+ description: 'Input is equal to',
8387
+ },
8388
+ { type: LumiaVariationConditions.EQUAL_VARIABLE },
8389
+ ],
8390
+ },
8391
+ [activity_types_1.LumiaAlertValues.OBS_VIRTUALCAM_STATE_CHANGED]: {
8392
+ connection: event_types_1.LumiaIntegrations.OBS,
8393
+ message: 'OBS virtual cam state changed',
8394
+ acceptedVariables: variables_types_1.AllVariables.obs.alerts.virtualcamStateChanged,
8395
+ LumiaVariationConditions: [{ type: LumiaVariationConditions.RANDOM }, { type: LumiaVariationConditions.EQUAL_VARIABLE }],
8396
+ },
8397
+ [activity_types_1.LumiaAlertValues.OBS_RECORD_FILE_CHANGED]: {
8398
+ connection: event_types_1.LumiaIntegrations.OBS,
8399
+ message: 'OBS record file changed',
8400
+ acceptedVariables: variables_types_1.AllVariables.obs.alerts.recordFileChanged,
8401
+ LumiaVariationConditions: [
8402
+ { type: LumiaVariationConditions.RANDOM },
8403
+ {
8404
+ type: LumiaVariationConditions.EQUAL_STRING,
8405
+ description: 'Path is equal to',
8406
+ },
8407
+ { type: LumiaVariationConditions.EQUAL_VARIABLE },
8408
+ ],
8409
+ },
8410
+ [activity_types_1.LumiaAlertValues.OBS_SCREENSHOT_SAVED]: {
8411
+ connection: event_types_1.LumiaIntegrations.OBS,
8412
+ message: 'OBS screenshot saved',
8413
+ acceptedVariables: variables_types_1.AllVariables.obs.alerts.screenshotSaved,
8414
+ LumiaVariationConditions: [
8415
+ { type: LumiaVariationConditions.RANDOM },
8416
+ {
8417
+ type: LumiaVariationConditions.EQUAL_STRING,
8418
+ description: 'Path is equal to',
8419
+ },
8420
+ { type: LumiaVariationConditions.EQUAL_VARIABLE },
8421
+ ],
8422
+ },
8393
8423
  [activity_types_1.LumiaAlertValues.OBS_REPLAY_BUFFER_SAVED]: {
8394
8424
  connection: event_types_1.LumiaIntegrations.OBS,
8395
8425
  message: 'OBS replay buffer saved',
@@ -598,8 +598,6 @@ export declare enum LumiaAlertValues {
598
598
  TIKTOK_POLL = "tiktok-poll",
599
599
  /** TikTok LIVE shopping / shop purchase event */
600
600
  TIKTOK_SHOP_PURCHASE = "tiktok-shopPurchase",
601
- /** TikTok LIVE intro / stream intro event */
602
- TIKTOK_INTRO = "tiktok-intro",
603
601
  /** TikTok pinned message */
604
602
  TIKTOK_PIN_MESSAGE = "tiktok-pinMessage",
605
603
  /** TikTok LIVE battle started */
@@ -714,6 +712,16 @@ export declare enum LumiaAlertValues {
714
712
  OBS_RECORDING_STARTING = "obs-recordingStarting",
715
713
  /** OBS recording stopping */
716
714
  OBS_RECORDING_STOPPING = "obs-recordingStopping",
715
+ /** OBS media input playback started */
716
+ OBS_MEDIA_INPUT_PLAYBACK_STARTED = "obs-mediaInputPlaybackStarted",
717
+ /** OBS media input playback ended */
718
+ OBS_MEDIA_INPUT_PLAYBACK_ENDED = "obs-mediaInputPlaybackEnded",
719
+ /** OBS virtual camera state changed */
720
+ OBS_VIRTUALCAM_STATE_CHANGED = "obs-virtualcamStateChanged",
721
+ /** OBS record file changed */
722
+ OBS_RECORD_FILE_CHANGED = "obs-recordFileChanged",
723
+ /** OBS screenshot saved */
724
+ OBS_SCREENSHOT_SAVED = "obs-screenshotSaved",
717
725
  /** OBS replay buffer saved */
718
726
  OBS_REPLAY_BUFFER_SAVED = "obs-replayBufferSaved",
719
727
  /** OBS vertical backtrack saved */
@@ -598,8 +598,6 @@ export declare enum LumiaAlertValues {
598
598
  TIKTOK_POLL = "tiktok-poll",
599
599
  /** TikTok LIVE shopping / shop purchase event */
600
600
  TIKTOK_SHOP_PURCHASE = "tiktok-shopPurchase",
601
- /** TikTok LIVE intro / stream intro event */
602
- TIKTOK_INTRO = "tiktok-intro",
603
601
  /** TikTok pinned message */
604
602
  TIKTOK_PIN_MESSAGE = "tiktok-pinMessage",
605
603
  /** TikTok LIVE battle started */
@@ -714,6 +712,16 @@ export declare enum LumiaAlertValues {
714
712
  OBS_RECORDING_STARTING = "obs-recordingStarting",
715
713
  /** OBS recording stopping */
716
714
  OBS_RECORDING_STOPPING = "obs-recordingStopping",
715
+ /** OBS media input playback started */
716
+ OBS_MEDIA_INPUT_PLAYBACK_STARTED = "obs-mediaInputPlaybackStarted",
717
+ /** OBS media input playback ended */
718
+ OBS_MEDIA_INPUT_PLAYBACK_ENDED = "obs-mediaInputPlaybackEnded",
719
+ /** OBS virtual camera state changed */
720
+ OBS_VIRTUALCAM_STATE_CHANGED = "obs-virtualcamStateChanged",
721
+ /** OBS record file changed */
722
+ OBS_RECORD_FILE_CHANGED = "obs-recordFileChanged",
723
+ /** OBS screenshot saved */
724
+ OBS_SCREENSHOT_SAVED = "obs-screenshotSaved",
717
725
  /** OBS replay buffer saved */
718
726
  OBS_REPLAY_BUFFER_SAVED = "obs-replayBufferSaved",
719
727
  /** OBS vertical backtrack saved */
@@ -66,7 +66,6 @@ export declare const LumiaMapAlertTypeToEventListType: {
66
66
  "tiktok-poll": LumiaEventListTypes;
67
67
  "tiktok-superFanBox": LumiaEventListTypes;
68
68
  "tiktok-shopPurchase": LumiaEventListTypes;
69
- "tiktok-intro": LumiaEventListTypes;
70
69
  "tiktok-pinMessage": LumiaEventListTypes;
71
70
  "tiktok-battleStart": LumiaEventListTypes;
72
71
  "tiktok-battleProgress": LumiaEventListTypes;
@@ -71,7 +71,6 @@ exports.LumiaMapAlertTypeToEventListType = {
71
71
  [activity_types_1.LumiaAlertValues.TIKTOK_POLL]: LumiaEventListTypes.OTHERS,
72
72
  [activity_types_1.LumiaAlertValues.TIKTOK_SUPER_FAN_BOX]: LumiaEventListTypes.SUBSCRIBERS,
73
73
  [activity_types_1.LumiaAlertValues.TIKTOK_SHOP_PURCHASE]: LumiaEventListTypes.PURCHASES,
74
- [activity_types_1.LumiaAlertValues.TIKTOK_INTRO]: LumiaEventListTypes.OTHERS,
75
74
  [activity_types_1.LumiaAlertValues.TIKTOK_PIN_MESSAGE]: LumiaEventListTypes.OTHERS,
76
75
  [activity_types_1.LumiaAlertValues.TIKTOK_BATTLE_START]: LumiaEventListTypes.OTHERS,
77
76
  [activity_types_1.LumiaAlertValues.TIKTOK_BATTLE_PROGRESS]: LumiaEventListTypes.OTHERS,
@@ -814,6 +814,11 @@ export declare const AllVariables: {
814
814
  streamStopping: never[];
815
815
  recordingStarting: string[];
816
816
  recordingStopping: string[];
817
+ mediaInputPlaybackStarted: string[];
818
+ mediaInputPlaybackEnded: string[];
819
+ virtualcamStateChanged: string[];
820
+ recordFileChanged: string[];
821
+ screenshotSaved: string[];
817
822
  replayBufferSaved: string[];
818
823
  verticalBacktrackSaved: string[];
819
824
  vendorEvent: string[];
@@ -883,7 +888,6 @@ export declare const AllVariables: {
883
888
  poll: string[];
884
889
  superFanBox: string[];
885
890
  shopPurchase: string[];
886
- intro: string[];
887
891
  pinMessage: string[];
888
892
  battleStart: string[];
889
893
  battleProgress: string[];
@@ -1521,6 +1521,11 @@ exports.AllVariables = {
1521
1521
  streamStopping: [],
1522
1522
  recordingStarting: ['output_key'],
1523
1523
  recordingStopping: ['output_key'],
1524
+ mediaInputPlaybackStarted: ['inputName', 'inputUuid'],
1525
+ mediaInputPlaybackEnded: ['inputName', 'inputUuid'],
1526
+ virtualcamStateChanged: ['outputActive', 'outputState'],
1527
+ recordFileChanged: ['newOutputPath'],
1528
+ screenshotSaved: ['savedScreenshotPath'],
1524
1529
  replayBufferSaved: ['saved_key'],
1525
1530
  verticalBacktrackSaved: ['saved_key', 'height', 'width'],
1526
1531
  vendorEvent: ['eventType', 'eventData', 'vendorName'],
@@ -1629,7 +1634,6 @@ exports.AllVariables = {
1629
1634
  poll: ['pollId', 'title', 'pollKind', 'pollDuration', 'timeRemain', 'pollSponsor', 'userCount'],
1630
1635
  superFanBox: ['username', 'displayname', 'avatar', 'userId'],
1631
1636
  shopPurchase: ['title', 'price', 'imageUrl', 'shopUrl', 'shopName'],
1632
- intro: ['username', 'userId', 'displayname', 'avatar', 'description', 'language'],
1633
1637
  pinMessage: ['message', 'messageId', 'pinId', 'pinTime', 'operatorUsername', 'operatorUserId'],
1634
1638
  battleStart: ['battleId', 'battleLabel', 'creatorUsername', 'creatorDisplayname', 'creatorAvatar', 'opponentUsername', 'opponentDisplayname', 'opponentAvatar', 'battleType'],
1635
1639
  battleProgress: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumiastream/lumia-types",
3
- "version": "3.1.4",
3
+ "version": "3.1.6",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "files": [