@3dsource/metabox-modular-configurator-api 3.0.17 → 3.0.18
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.
|
@@ -2,6 +2,11 @@ import { Observable } from 'rxjs';
|
|
|
2
2
|
|
|
3
3
|
type ApplicationDeviceTypes = 'deviceTypeAuto' | 'deviceTypeMobile' | 'deviceTypeDesktop';
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
* @hidden
|
|
8
|
+
* Represents main constants.
|
|
9
|
+
*/
|
|
5
10
|
declare const Metabox = "metabox_v3";
|
|
6
11
|
declare const MetaboxHost = "metaboxHost_v3";
|
|
7
12
|
declare const MetaboxData = "metaboxData_v3";
|
|
@@ -9,7 +14,7 @@ declare const AppLoaded = "appLoaded_v3";
|
|
|
9
14
|
declare const MetaboxDomain = "metabox.3dsource.com";
|
|
10
15
|
declare const BasicRouteUrl = "metabox-configurator/modular";
|
|
11
16
|
|
|
12
|
-
declare const VERSION = "3.0.
|
|
17
|
+
declare const VERSION = "3.0.18";
|
|
13
18
|
|
|
14
19
|
type FromMetaboxApiAction = 'bridge' | typeof AppLoaded;
|
|
15
20
|
|
|
@@ -57,7 +62,6 @@ type ToMetaBoxActions = (typeof MetaboxModularConfiguratorActions)[keyof typeof
|
|
|
57
62
|
* @hidden
|
|
58
63
|
*/
|
|
59
64
|
type ToMetaboxMessagePayload = ToMetaboxMessagePayloads[keyof ToMetaboxMessagePayloads];
|
|
60
|
-
type Test = Record<ToMetaBoxActions, object>;
|
|
61
65
|
/**
|
|
62
66
|
* Interface for messages sent from the application to the Metabox Modular Configurator.
|
|
63
67
|
*/
|
|
@@ -144,6 +148,10 @@ interface ToMetaBoxMessageEnvelope {
|
|
|
144
148
|
}
|
|
145
149
|
interface ToMetaBoxMessage {
|
|
146
150
|
host: typeof MetaboxHost;
|
|
151
|
+
envelope: ToMetaBoxMessageEnvelope;
|
|
152
|
+
/**
|
|
153
|
+
* @deprecated, use envelop instead of payload
|
|
154
|
+
*/
|
|
147
155
|
payload: ToMetaBoxMessageEnvelope;
|
|
148
156
|
}
|
|
149
157
|
|
|
@@ -457,7 +465,7 @@ interface FromMetaboxMessagePayloads {
|
|
|
457
465
|
*/
|
|
458
466
|
statusMessageChanged: string | null;
|
|
459
467
|
/**
|
|
460
|
-
* Dispatches every time when Unreal is sending ordered render with new GetScreenshot() command.
|
|
468
|
+
* Dispatches every time when Unreal is sending an ordered render with a new GetScreenshot() command.
|
|
461
469
|
*/
|
|
462
470
|
screenshotReady: string | null;
|
|
463
471
|
/**
|
|
@@ -465,9 +473,14 @@ interface FromMetaboxMessagePayloads {
|
|
|
465
473
|
*/
|
|
466
474
|
videoResolutionChanged: VideoResolution;
|
|
467
475
|
/**
|
|
468
|
-
* Dispatches every time when the User sends get camera command.
|
|
476
|
+
* Dispatches every time when the User sends get camera command new GetCamera() command.
|
|
469
477
|
*/
|
|
470
478
|
getCameraResult: CameraCommandPayload;
|
|
479
|
+
/**
|
|
480
|
+
* @deprecated
|
|
481
|
+
* Dispatches every time when the configurator connected/disconnected with Unreal Engine.
|
|
482
|
+
*/
|
|
483
|
+
dataChannelConnected: boolean;
|
|
471
484
|
}
|
|
472
485
|
/**
|
|
473
486
|
* @hidden
|
|
@@ -510,35 +523,14 @@ interface FromMetaBoxMessage {
|
|
|
510
523
|
}
|
|
511
524
|
|
|
512
525
|
/**
|
|
513
|
-
* Base class for commands sent to the Metabox.
|
|
526
|
+
* Base class for commands sent to the Metabox API.
|
|
527
|
+
* @internal
|
|
528
|
+
* @hidden
|
|
514
529
|
*/
|
|
515
530
|
declare class CommandBase {
|
|
516
531
|
data: ToMetaBoxMessageEnvelope;
|
|
517
532
|
}
|
|
518
533
|
|
|
519
|
-
/**
|
|
520
|
-
* Represents a command to ApplyZoom and change zoom camera on a scene.
|
|
521
|
-
* @remarks
|
|
522
|
-
* This class sends a command to the Metabox API to change zoom on a scene.
|
|
523
|
-
*
|
|
524
|
-
* **Important**: Invoking this command will buffer it until the viewport is ready. Only then will the request be processed.
|
|
525
|
-
*
|
|
526
|
-
* @example
|
|
527
|
-
* import { ApplyZoom, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
528
|
-
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
529
|
-
* api.sendCommandToMetabox(new ApplyZoom(10));
|
|
530
|
-
* api.sendCommandToMetabox(new ApplyZoom(-10));
|
|
531
|
-
* };
|
|
532
|
-
*/
|
|
533
|
-
declare class ApplyZoom extends CommandBase {
|
|
534
|
-
/**
|
|
535
|
-
* Creates an instance of ApplyZoom.
|
|
536
|
-
*
|
|
537
|
-
* @param {...number} zoom
|
|
538
|
-
*/
|
|
539
|
-
constructor(zoom: number);
|
|
540
|
-
}
|
|
541
|
-
|
|
542
534
|
/**
|
|
543
535
|
* Represents a callback listener for specific message types.
|
|
544
536
|
* Used internally by EventDispatcher to store event listeners.
|
|
@@ -637,7 +629,7 @@ declare class Communicator extends EventDispatcher {
|
|
|
637
629
|
*/
|
|
638
630
|
removeEventListener<T extends FromMetaBoxApiEvents>(messageType: T, callback: (data: FromMetaboxMessagePayloads[T]) => void): this;
|
|
639
631
|
/**
|
|
640
|
-
* Filters and dispatches incoming messages from
|
|
632
|
+
* Filters and dispatches incoming messages from the Metabox.
|
|
641
633
|
* @param messageType - Expected message type for filtering (MetaboxData).
|
|
642
634
|
* @param event - The postMessage event received on a window.
|
|
643
635
|
*/
|
|
@@ -703,32 +695,61 @@ declare function integrateMetabox(configuratorId: string, containerId: string |
|
|
|
703
695
|
*/
|
|
704
696
|
declare function saveImage(imageUrl: string, filename: string): void;
|
|
705
697
|
|
|
698
|
+
/**
|
|
699
|
+
*
|
|
700
|
+
* @remarks
|
|
701
|
+
* @internal
|
|
702
|
+
* @hidden
|
|
703
|
+
*
|
|
704
|
+
* @param {string} configuratorId - An string identifier for the configurator.
|
|
705
|
+
* @param {IntegrateMetaboxConfig} config - An object containing the configuration options.
|
|
706
|
+
*/
|
|
706
707
|
declare const prepareIframeSrc: (configuratorId: string, config?: IntegrateMetaboxConfig) => string;
|
|
707
708
|
|
|
708
709
|
/**
|
|
709
710
|
* Wrapper helper function to use it with rxJs the same as `fromEvent` to listen to events from the Communicator.
|
|
711
|
+
*
|
|
710
712
|
* @param {Communicator} target
|
|
711
713
|
* @param eventName
|
|
714
|
+
* @internal
|
|
712
715
|
*/
|
|
713
716
|
declare function fromCommunicatorEvent<T extends FromMetaBoxApiEvents>(target: Communicator, eventName: T): Observable<FromMetaboxMessagePayloads[T]>;
|
|
714
717
|
|
|
715
718
|
/**
|
|
716
|
-
* Represents a command to
|
|
719
|
+
* Represents a command to send Metabox Config to Metabox Basic Configurator.
|
|
717
720
|
* @remarks
|
|
718
|
-
*
|
|
719
|
-
* This action does not require any parameters.
|
|
721
|
+
* **Important**: No need to listen to any events to see changes.
|
|
720
722
|
*
|
|
723
|
+
* @internal
|
|
724
|
+
* Automatically sent when the Communicator instance is ready.
|
|
725
|
+
*/
|
|
726
|
+
declare class MetaboxConfig extends CommandBase {
|
|
727
|
+
/**
|
|
728
|
+
* Creates an instance of MetaboxConfig.
|
|
729
|
+
* @param {string} appId - The unique identifier for the Communicator Instance
|
|
730
|
+
* @param {MetaboxCommandConfig} config - optional initial config: standalone - if true - disable metabox custom template and all logic
|
|
731
|
+
*/
|
|
732
|
+
constructor(appId: string, config: MetaboxCommandConfig);
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* Represents a command to get a PDF from Metabox Basic Configurator.
|
|
737
|
+
* @remarks
|
|
738
|
+
* This class sends a message to the Metabox API to generate a PDF based on the current configuration.
|
|
739
|
+
* **Important**: No need to listen to any events to see changes.
|
|
721
740
|
* **Important**: Invoking this command will buffer it until the viewport is ready. Only then will the request be processed.
|
|
722
741
|
*
|
|
723
742
|
* @example
|
|
724
|
-
* import {
|
|
743
|
+
* import { GetPdf, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
744
|
+
*
|
|
745
|
+
* @param {Communicator} api - communicator instance api
|
|
725
746
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
726
|
-
* api.sendCommandToMetabox(new
|
|
747
|
+
* api.sendCommandToMetabox(new GetPdf());
|
|
727
748
|
* };
|
|
728
749
|
*/
|
|
729
|
-
declare class
|
|
750
|
+
declare class GetPdf extends CommandBase {
|
|
730
751
|
/**
|
|
731
|
-
* Creates an instance of
|
|
752
|
+
* Creates an instance of GetPdf.
|
|
732
753
|
*
|
|
733
754
|
* @remarks
|
|
734
755
|
* This constructor does not require any parameters.
|
|
@@ -737,22 +758,36 @@ declare class GetCallToActionInformation extends CommandBase {
|
|
|
737
758
|
}
|
|
738
759
|
|
|
739
760
|
/**
|
|
740
|
-
* Represents a command to get a
|
|
761
|
+
* Represents a command to get a Call To Action Information from Metabox Basic Configurator.
|
|
741
762
|
* @remarks
|
|
742
|
-
* This class sends a message to the Metabox API to generate
|
|
743
|
-
*
|
|
763
|
+
* This class sends a message to the Metabox API to generate Call To Action information based on the current configuration and sends it to the endpoint URL from the CTA information.
|
|
764
|
+
*
|
|
765
|
+
* To listen for changes after sending this command, listen to the 'ecomConfiguratorDataUpdated' event.
|
|
766
|
+
* //...Assume that the integration is already implemented (only once)
|
|
767
|
+
* @example
|
|
768
|
+
* import { Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
769
|
+
*
|
|
770
|
+
* @param {Communicator} api - communicator instance api
|
|
771
|
+
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
772
|
+
* @param {EcomConfigurator} data - description for all ecom configurator params
|
|
773
|
+
* api.addEventListener('ecomConfiguratorDataUpdated', (data) => {
|
|
774
|
+
* console.log('Ecom configurator params:', data);
|
|
775
|
+
* });
|
|
776
|
+
* };
|
|
744
777
|
*
|
|
745
778
|
* **Important**: Invoking this command will buffer it until the viewport is ready. Only then will the request be processed.
|
|
746
779
|
*
|
|
747
780
|
* @example
|
|
748
|
-
* import {
|
|
781
|
+
* import { GetCallToActionInformation, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
782
|
+
*
|
|
783
|
+
* @param {Communicator} api - communicator instance api
|
|
749
784
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
750
|
-
* api.sendCommandToMetabox(new
|
|
785
|
+
* api.sendCommandToMetabox(new GetCallToActionInformation());
|
|
751
786
|
* };
|
|
752
787
|
*/
|
|
753
|
-
declare class
|
|
788
|
+
declare class GetCallToActionInformation extends CommandBase {
|
|
754
789
|
/**
|
|
755
|
-
* Creates an instance of
|
|
790
|
+
* Creates an instance of GetCallToActionInformation.
|
|
756
791
|
*
|
|
757
792
|
* @remarks
|
|
758
793
|
* This constructor does not require any parameters.
|
|
@@ -761,15 +796,28 @@ declare class GetPdf extends CommandBase {
|
|
|
761
796
|
}
|
|
762
797
|
|
|
763
798
|
/**
|
|
764
|
-
* Represents a command to
|
|
799
|
+
* Represents a command to get the camera configuration from Unreal.
|
|
765
800
|
* @remarks
|
|
766
801
|
* This class sends a message to the Metabox API to get the camera from a scene.
|
|
767
|
-
*
|
|
802
|
+
*
|
|
803
|
+
* To listen for changes after sending this command, listen to the 'getCameraResult' event.
|
|
804
|
+
* //...Assume that the integration is already implemented (only once)
|
|
805
|
+
* @example
|
|
806
|
+
* import { Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
807
|
+
*
|
|
808
|
+
* @param {Communicator} api - communicator instance api
|
|
809
|
+
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
810
|
+
* @param {CameraCommandPayload} data - camera params
|
|
811
|
+
* api.addEventListener('getCameraResult', (data) => {
|
|
812
|
+
* console.log('Camera params after get camera command:', data);
|
|
813
|
+
* });
|
|
814
|
+
* };
|
|
768
815
|
*
|
|
769
816
|
* **Important**: Invoking this command will buffer it until the viewport is ready. Only then will the request be processed.
|
|
770
817
|
*
|
|
771
818
|
* @example
|
|
772
819
|
* import { GetCamera, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
820
|
+
* @param {Communicator} api - communicator instance api
|
|
773
821
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
774
822
|
* api.sendCommandToMetabox(new GetCamera());
|
|
775
823
|
* };
|
|
@@ -785,14 +833,15 @@ declare class GetCamera extends CommandBase {
|
|
|
785
833
|
}
|
|
786
834
|
|
|
787
835
|
/**
|
|
788
|
-
* Represents a command to
|
|
836
|
+
* Represents a command to set the camera configuration.
|
|
789
837
|
* @remarks
|
|
790
838
|
* This class sends a message to the Metabox API to set the camera on a scene.
|
|
791
|
-
*
|
|
839
|
+
* **Important**: No need to listen to any events to see changes.
|
|
792
840
|
* **Important**: Invoking this command will buffer it until the viewport is ready. Only then will the request be processed.
|
|
793
841
|
*
|
|
794
842
|
* @example
|
|
795
|
-
* import {
|
|
843
|
+
* import { SetCamera, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
844
|
+
* @param {Communicator} api - communicator instance api
|
|
796
845
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
797
846
|
* api.sendCommandToMetabox(new SetCamera({
|
|
798
847
|
* fov: 45,
|
|
@@ -816,22 +865,21 @@ declare class SetCamera extends CommandBase {
|
|
|
816
865
|
/**
|
|
817
866
|
* Creates an instance of SetCamera.
|
|
818
867
|
*
|
|
819
|
-
* @
|
|
820
|
-
* @param {CameraCommandPayload} camera - camera config
|
|
868
|
+
* @param {CameraCommandPayload} camera - The camera configuration.
|
|
821
869
|
*/
|
|
822
870
|
constructor(camera: CameraCommandPayload);
|
|
823
871
|
}
|
|
824
872
|
|
|
825
873
|
/**
|
|
826
|
-
* Represents a command to
|
|
874
|
+
* Represents a command to reset the camera to its initial position.
|
|
827
875
|
* @remarks
|
|
828
876
|
* This class sends a message to the Metabox API to reset the camera on a scene.
|
|
829
|
-
*
|
|
830
|
-
*
|
|
877
|
+
* **Important**: No need to listen to any events to see changes.
|
|
831
878
|
* **Important**: Invoking this command will buffer it until the viewport is ready. Only then will the request be processed.
|
|
832
879
|
*
|
|
833
880
|
* @example
|
|
834
881
|
* import { ResetCamera, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
882
|
+
* @param {Communicator} api - communicator instance api
|
|
835
883
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
836
884
|
* api.sendCommandToMetabox(new ResetCamera());
|
|
837
885
|
* };
|
|
@@ -847,20 +895,70 @@ declare class ResetCamera extends CommandBase {
|
|
|
847
895
|
}
|
|
848
896
|
|
|
849
897
|
/**
|
|
850
|
-
* Represents a command to
|
|
898
|
+
* Represents a command to apply zoom and change the camera zoom on a scene.
|
|
899
|
+
* @remarks
|
|
900
|
+
* This class sends a command to the Metabox API to change zoom on a scene.
|
|
901
|
+
* **Important**: No need to listen to any events to see changes.
|
|
902
|
+
* **Important**: Invoking this command will buffer it until the viewport is ready. Only then will the request be processed.
|
|
903
|
+
*
|
|
904
|
+
* @example
|
|
905
|
+
* import { ApplyZoom, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
906
|
+
*
|
|
907
|
+
* @param {Communicator} api - communicator instance api
|
|
908
|
+
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
909
|
+
* api.sendCommandToMetabox(new ApplyZoom(10));
|
|
910
|
+
* api.sendCommandToMetabox(new ApplyZoom(-10));
|
|
911
|
+
* };
|
|
912
|
+
*/
|
|
913
|
+
declare class ApplyZoom extends CommandBase {
|
|
914
|
+
/**
|
|
915
|
+
* Creates an instance of ApplyZoom.
|
|
916
|
+
*
|
|
917
|
+
* @param {number} zoom - The zoom value to apply.
|
|
918
|
+
*/
|
|
919
|
+
constructor(zoom: number);
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
/**
|
|
923
|
+
* Represents a command to initialize Showcase for a product scene and start a sequence for the product.
|
|
851
924
|
* @remarks
|
|
852
|
-
* This class sends a command to the Metabox API to
|
|
853
|
-
*
|
|
854
|
-
*
|
|
855
|
-
*
|
|
925
|
+
* This class sends a command to the Metabox API to initialize showcase if the product has a sequence.
|
|
926
|
+
* To check this, find the showcase property in the current product and listen to the 'configuratorDataUpdated' event.
|
|
927
|
+
* //...Assume that the integration is already implemented (only once)
|
|
928
|
+
* @example
|
|
929
|
+
* import { Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
930
|
+
*
|
|
931
|
+
* @param {Communicator} api - communicator instance api
|
|
932
|
+
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
933
|
+
* @param {ConfiguratorEnvelope} data - configurator state after updated
|
|
934
|
+
* api.addEventListener('configuratorDataUpdated', (data) => {
|
|
935
|
+
* console.log('State updated after applied new environment:', data);
|
|
936
|
+
* });
|
|
937
|
+
* };
|
|
938
|
+
*
|
|
939
|
+
* If this property exists, you can send the init showcase command.
|
|
940
|
+
*
|
|
941
|
+
* To listen for changes after sending this command, listen to the 'showcaseStatusChanged' event.
|
|
942
|
+
* //...Assume that the integration is already implemented (only once)
|
|
943
|
+
* @example
|
|
944
|
+
* import { Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
945
|
+
*
|
|
946
|
+
* @param {Communicator} api - communicator instance api
|
|
947
|
+
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
948
|
+
* @param {ShowCaseStatus} data - showcase status value
|
|
949
|
+
* api.addEventListener('showcaseStatusChanged', (data) => {
|
|
950
|
+
* console.log('Showcase status value after changed:', data);
|
|
951
|
+
* });
|
|
952
|
+
* };
|
|
856
953
|
*
|
|
857
954
|
* **Important**: Invoking this command will buffer it until the viewport is ready. Only then will the request be processed.
|
|
858
955
|
*
|
|
859
956
|
* @example
|
|
860
|
-
* ```typescript
|
|
861
957
|
* import { InitShowcase, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
958
|
+
*
|
|
959
|
+
* @param {Communicator} api - communicator instance api
|
|
862
960
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
863
|
-
* api.sendCommandToMetabox(new InitShowcase();
|
|
961
|
+
* api.sendCommandToMetabox(new InitShowcase());
|
|
864
962
|
* };
|
|
865
963
|
*/
|
|
866
964
|
declare class InitShowcase extends CommandBase {
|
|
@@ -874,23 +972,29 @@ declare class InitShowcase extends CommandBase {
|
|
|
874
972
|
}
|
|
875
973
|
|
|
876
974
|
/**
|
|
877
|
-
*
|
|
878
|
-
* @hidden
|
|
879
|
-
* Represents a command to send Unreal command.
|
|
880
|
-
*/
|
|
881
|
-
declare class UnrealCommand extends CommandBase {
|
|
882
|
-
constructor(payload: object);
|
|
883
|
-
}
|
|
884
|
-
|
|
885
|
-
/**
|
|
886
|
-
* Represents a command to Play Showcase for a product when it already init, and you call pause, for example, before it.
|
|
975
|
+
* Represents a command to play Showcase for a product when it is already initialized and paused.
|
|
887
976
|
* @remarks
|
|
888
|
-
* This class sends a command to the Metabox API to play showcase for a product if it is already initialized and
|
|
977
|
+
* This class sends a command to the Metabox API to play showcase for a product if it is already initialized and paused.
|
|
978
|
+
*
|
|
979
|
+
* To listen for changes after sending this command, listen to the 'showcaseStatusChanged' event.
|
|
980
|
+
* //...Assume that the integration is already implemented (only once)
|
|
981
|
+
* @example
|
|
982
|
+
* import { Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
983
|
+
*
|
|
984
|
+
* @param {Communicator} api - communicator instance api
|
|
985
|
+
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
986
|
+
* @param {ShowCaseStatus} data - showcase status value
|
|
987
|
+
* api.addEventListener('showcaseStatusChanged', (data) => {
|
|
988
|
+
* console.log('Showcase status value after changed:', data);
|
|
989
|
+
* });
|
|
990
|
+
* };
|
|
889
991
|
*
|
|
890
992
|
* **Important**: Invoking this command will buffer it until the viewport is ready. Only then will the request be processed.
|
|
891
993
|
*
|
|
892
994
|
* @example
|
|
893
995
|
* import { PlayShowcase, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
996
|
+
*
|
|
997
|
+
* @param {Communicator} api - communicator instance api
|
|
894
998
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
895
999
|
* api.sendCommandToMetabox(new PlayShowcase());
|
|
896
1000
|
* };
|
|
@@ -906,14 +1010,38 @@ declare class PlayShowcase extends CommandBase {
|
|
|
906
1010
|
}
|
|
907
1011
|
|
|
908
1012
|
/**
|
|
909
|
-
*
|
|
1013
|
+
* @internal
|
|
1014
|
+
* @hidden
|
|
1015
|
+
* Represents a command to send Unreal command.
|
|
1016
|
+
*/
|
|
1017
|
+
declare class UnrealCommand extends CommandBase {
|
|
1018
|
+
constructor(payload: object);
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
/**
|
|
1022
|
+
* Represents a command to pause Showcase for a product when it is already initialized and playing.
|
|
910
1023
|
* @remarks
|
|
911
|
-
* This class sends a command to the Metabox API to pause showcase for a product if it is already initialized and
|
|
1024
|
+
* This class sends a command to the Metabox API to pause showcase for a product if it is already initialized and playing.
|
|
1025
|
+
*
|
|
1026
|
+
* To listen for changes after sending this command, listen to the 'showcaseStatusChanged' event.
|
|
1027
|
+
* //...Assume that the integration is already implemented (only once)
|
|
1028
|
+
* @example
|
|
1029
|
+
* import { Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
1030
|
+
*
|
|
1031
|
+
* @param {Communicator} api - communicator instance api
|
|
1032
|
+
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
1033
|
+
* @param {ShowCaseStatus} data - showcase status value
|
|
1034
|
+
* api.addEventListener('showcaseStatusChanged', (data) => {
|
|
1035
|
+
* console.log('Showcase status value after changed:', data);
|
|
1036
|
+
* });
|
|
1037
|
+
* };
|
|
912
1038
|
*
|
|
913
1039
|
* **Important**: Invoking this command will buffer it until the viewport is ready. Only then will the request be processed.
|
|
914
1040
|
*
|
|
915
1041
|
* @example
|
|
916
1042
|
* import { PauseShowcase, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
1043
|
+
*
|
|
1044
|
+
* @param {Communicator} api - communicator instance api
|
|
917
1045
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
918
1046
|
* api.sendCommandToMetabox(new PauseShowcase());
|
|
919
1047
|
* };
|
|
@@ -929,14 +1057,29 @@ declare class PauseShowcase extends CommandBase {
|
|
|
929
1057
|
}
|
|
930
1058
|
|
|
931
1059
|
/**
|
|
932
|
-
* Represents a command to
|
|
1060
|
+
* Represents a command to stop Showcase for a product when it is already initialized, and you want to destroy it.
|
|
933
1061
|
* @remarks
|
|
934
|
-
* This class sends a command to the Metabox API to
|
|
1062
|
+
* This class sends a command to the Metabox API to stop showcase for a product if it is already initialized.
|
|
1063
|
+
*
|
|
1064
|
+
* To listen for changes after sending this command, listen to the 'showcaseStatusChanged' event.
|
|
1065
|
+
* //...Assume that the integration is already implemented (only once)
|
|
1066
|
+
* @example
|
|
1067
|
+
* import { Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
1068
|
+
*
|
|
1069
|
+
* @param {Communicator} api - communicator instance api
|
|
1070
|
+
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
1071
|
+
* @param {ShowCaseStatus} data - showcase status value
|
|
1072
|
+
* api.addEventListener('showcaseStatusChanged', (data) => {
|
|
1073
|
+
* console.log('Showcase status value after changed:', data);
|
|
1074
|
+
* });
|
|
1075
|
+
* };
|
|
935
1076
|
*
|
|
936
1077
|
* **Important**: Invoking this command will buffer it until the viewport is ready. Only then will the request be processed.
|
|
937
1078
|
*
|
|
938
1079
|
* @example
|
|
939
1080
|
* import { StopShowcase, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
1081
|
+
*
|
|
1082
|
+
* @param {Communicator} api - communicator instance api
|
|
940
1083
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
941
1084
|
* api.sendCommandToMetabox(new StopShowcase());
|
|
942
1085
|
* };
|
|
@@ -959,17 +1102,28 @@ declare class StopShowcase extends CommandBase {
|
|
|
959
1102
|
type MimeType = 'image/png' | 'image/jpeg' | 'image/webp';
|
|
960
1103
|
/**
|
|
961
1104
|
* Represents a command to get a screenshot.
|
|
962
|
-
*
|
|
963
1105
|
* **Important**: Invoking this command will buffer it until the viewport is ready. Only then will the request be processed.
|
|
964
1106
|
*
|
|
1107
|
+
* @remarks
|
|
1108
|
+
* To listen for changes after sending this command, listen to the 'screenshot' event.
|
|
1109
|
+
* //...Assume that the integration is already implemented (only once)
|
|
1110
|
+
* @example
|
|
1111
|
+
* import { Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
1112
|
+
*
|
|
1113
|
+
* @param {Communicator} api - communicator instance api
|
|
1114
|
+
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
1115
|
+
* @param {string} data - base64 string image
|
|
1116
|
+
* api.addEventListener('screenshot', (data) => {
|
|
1117
|
+
* console.log('Get screenshot here:', data);
|
|
1118
|
+
* saveImage(data, 'Render.png');
|
|
1119
|
+
* });
|
|
1120
|
+
* };
|
|
1121
|
+
*
|
|
965
1122
|
* @example
|
|
966
1123
|
* import { GetScreenshot, Communicator, saveImage } from '@3dsource/metabox-modular-configurator-api';
|
|
1124
|
+
*
|
|
1125
|
+
* @param {Communicator} api - communicator instance api
|
|
967
1126
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
968
|
-
* // Listen for events from to the Metabox API
|
|
969
|
-
* api.addEventListener('screenshot', (data) => {
|
|
970
|
-
* // Process the get screenshot response
|
|
971
|
-
* saveImage(data, 'Render.png');
|
|
972
|
-
* });
|
|
973
1127
|
* api.sendCommandToMetabox(new GetScreenshot('image/png', { x: 1024, y: 1024 }));
|
|
974
1128
|
* };
|
|
975
1129
|
*/
|
|
@@ -989,14 +1143,25 @@ declare class GetScreenshot extends CommandBase {
|
|
|
989
1143
|
* Represents a command to set a component by its data (ID, typeId, isRoot).
|
|
990
1144
|
*
|
|
991
1145
|
* @remarks
|
|
992
|
-
*
|
|
1146
|
+
* To listen for changes after sending this command, listen to the 'configuratorDataUpdated' event.
|
|
1147
|
+
* //...Assume that the integration is already implemented (only once)
|
|
1148
|
+
* @example
|
|
1149
|
+
* import { Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
1150
|
+
*
|
|
1151
|
+
* @param {Communicator} api - communicator instance api
|
|
1152
|
+
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
1153
|
+
* @param {ConfiguratorEnvelope} data - configurator state after updated
|
|
1154
|
+
* api.addEventListener('configuratorDataUpdated', (data) => {
|
|
1155
|
+
* console.log('State updated after applied new component:', data);
|
|
1156
|
+
* });
|
|
1157
|
+
* };
|
|
993
1158
|
*
|
|
994
1159
|
* @example
|
|
995
1160
|
* import { SetComponent, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
996
1161
|
*
|
|
997
|
-
*
|
|
1162
|
+
* @param {Communicator} api - communicator instance api
|
|
998
1163
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
999
|
-
* api.
|
|
1164
|
+
* api.sendCommandToMetabox(new SetComponent(
|
|
1000
1165
|
* 'ffea6b5c-3a8a-4f56-9417-e605acb5cca3', 'typeId', true
|
|
1001
1166
|
* ));
|
|
1002
1167
|
* };
|
|
@@ -1005,9 +1170,9 @@ declare class SetComponent extends CommandBase {
|
|
|
1005
1170
|
/**
|
|
1006
1171
|
* Creates an instance of SetComponent.
|
|
1007
1172
|
*
|
|
1008
|
-
* @param {string} id
|
|
1009
|
-
* @param {string} typeId
|
|
1010
|
-
* @param {boolean} isRoot
|
|
1173
|
+
* @param {string} id - The component ID.
|
|
1174
|
+
* @param {string} typeId - The component type ID.
|
|
1175
|
+
* @param {boolean} isRoot - Whether this is a root component.
|
|
1011
1176
|
*/
|
|
1012
1177
|
constructor(id: string, typeId: string, isRoot: boolean);
|
|
1013
1178
|
}
|
|
@@ -1015,10 +1180,24 @@ declare class SetComponent extends CommandBase {
|
|
|
1015
1180
|
/**
|
|
1016
1181
|
* Represents a command to set component material by its slot ID and Material ID.
|
|
1017
1182
|
*
|
|
1183
|
+
* @remarks
|
|
1184
|
+
* To listen for changes after sending this command, listen to the 'configuratorDataUpdated' event.
|
|
1185
|
+
* //...Assume that the integration is already implemented (only once)
|
|
1186
|
+
* @example
|
|
1187
|
+
* import { Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
1188
|
+
*
|
|
1189
|
+
* @param {Communicator} api - communicator instance api
|
|
1190
|
+
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
1191
|
+
* @param {ConfiguratorEnvelope} data - configurator state after updated
|
|
1192
|
+
* api.addEventListener('configuratorDataUpdated', (data) => {
|
|
1193
|
+
* console.log('State updated after applied new product:', data);
|
|
1194
|
+
* });
|
|
1195
|
+
* };
|
|
1196
|
+
*
|
|
1018
1197
|
* @example
|
|
1019
1198
|
* import { SetComponentMaterial, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
1020
1199
|
*
|
|
1021
|
-
*
|
|
1200
|
+
* @param {Communicator} api - communicator instance api
|
|
1022
1201
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
1023
1202
|
* api.sendCommandToMetabox(new SetComponentMaterial(
|
|
1024
1203
|
* 'ffea6b5c-3a8a-4f56-9417-e605acb5cca3',
|
|
@@ -1041,12 +1220,25 @@ declare class SetComponentMaterial extends CommandBase {
|
|
|
1041
1220
|
/**
|
|
1042
1221
|
* Represents a command to set the environment by its ID.
|
|
1043
1222
|
*
|
|
1223
|
+
* @remarks
|
|
1224
|
+
* To listen for changes after sending this command, listen to the 'configuratorDataUpdated' event.
|
|
1225
|
+
* //...Assume that the integration is already implemented (only once)
|
|
1226
|
+
* @example
|
|
1227
|
+
* import { Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
1228
|
+
*
|
|
1229
|
+
* @param {Communicator} api - communicator instance api
|
|
1230
|
+
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
1231
|
+
* @param {ConfiguratorEnvelope} data - configurator state after updated
|
|
1232
|
+
* api.addEventListener('configuratorDataUpdated', (data) => {
|
|
1233
|
+
* console.log('State updated after applied new environment:', data);
|
|
1234
|
+
* });
|
|
1235
|
+
* };
|
|
1236
|
+
*
|
|
1044
1237
|
* @example
|
|
1045
1238
|
* import { SetEnvironment, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
1046
1239
|
*
|
|
1047
|
-
*
|
|
1240
|
+
* @param {Communicator} api - communicator instance api
|
|
1048
1241
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
1049
|
-
* // Change the environment to '55555555-1234-1234-1234-01234567890'
|
|
1050
1242
|
* api.sendCommandToMetabox(new SetEnvironment('55555555-1234-1234-1234-01234567890'));
|
|
1051
1243
|
* };
|
|
1052
1244
|
*/
|
|
@@ -1062,10 +1254,24 @@ declare class SetEnvironment extends CommandBase {
|
|
|
1062
1254
|
/**
|
|
1063
1255
|
* Represents a command to set an environment material by its slot ID and Material ID.
|
|
1064
1256
|
*
|
|
1257
|
+
* @remarks
|
|
1258
|
+
* To listen for changes after sending this command, listen to the 'configuratorDataUpdated' event.
|
|
1259
|
+
* //...Assume that the integration is already implemented (only once)
|
|
1260
|
+
* @example
|
|
1261
|
+
* import { Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
1262
|
+
*
|
|
1263
|
+
* @param {Communicator} api - communicator instance api
|
|
1264
|
+
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
1265
|
+
* @param {ConfiguratorEnvelope} data - configurator state after updated
|
|
1266
|
+
* api.addEventListener('configuratorDataUpdated', (data) => {
|
|
1267
|
+
* console.log('State updated after applied new environment material:', data);
|
|
1268
|
+
* });
|
|
1269
|
+
* };
|
|
1270
|
+
*
|
|
1065
1271
|
* @example
|
|
1066
1272
|
* import { SetEnvironmentMaterial, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
1067
1273
|
*
|
|
1068
|
-
*
|
|
1274
|
+
* @param {Communicator} api - communicator instance api
|
|
1069
1275
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
1070
1276
|
* api.sendCommandToMetabox(new SetEnvironmentMaterial(
|
|
1071
1277
|
* 'carpaint',
|
|
@@ -1084,14 +1290,17 @@ declare class SetEnvironmentMaterial extends CommandBase {
|
|
|
1084
1290
|
}
|
|
1085
1291
|
|
|
1086
1292
|
/**
|
|
1087
|
-
* Represents a command to toggle the
|
|
1293
|
+
* Represents a command to toggle the embedded Metabox menu.
|
|
1294
|
+
* @remarks
|
|
1295
|
+
* This command can only be used when using the metabox menu.
|
|
1296
|
+
* **Important**: No need to listen to any events to see changes.
|
|
1088
1297
|
*
|
|
1089
1298
|
* @example
|
|
1090
1299
|
* import { ShowEmbeddedMenu, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
1091
1300
|
*
|
|
1092
|
-
*
|
|
1301
|
+
* @param {Communicator} api - communicator instance api
|
|
1093
1302
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
1094
|
-
* api.
|
|
1303
|
+
* api.sendCommandToMetabox(new ShowEmbeddedMenu(true));
|
|
1095
1304
|
* };
|
|
1096
1305
|
*/
|
|
1097
1306
|
declare class ShowEmbeddedMenu extends CommandBase {
|
|
@@ -1108,11 +1317,12 @@ declare class ShowEmbeddedMenu extends CommandBase {
|
|
|
1108
1317
|
*
|
|
1109
1318
|
* @remarks
|
|
1110
1319
|
* This action sends a message to the Metabox API to toggle the visibility of the Unreal overlay UI.
|
|
1320
|
+
* **Important**: No need to listen to any events to see changes.
|
|
1111
1321
|
*
|
|
1112
1322
|
* @example
|
|
1113
1323
|
* import { ShowOverlayInterface, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
1114
1324
|
*
|
|
1115
|
-
*
|
|
1325
|
+
* @param {Communicator} api - communicator instance api
|
|
1116
1326
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
1117
1327
|
* api.setCommandToMetaBox(new ShowOverlayInterface(true));
|
|
1118
1328
|
* };
|
|
@@ -1127,56 +1337,46 @@ declare class ShowOverlayInterface extends CommandBase {
|
|
|
1127
1337
|
}
|
|
1128
1338
|
|
|
1129
1339
|
/**
|
|
1130
|
-
* Represents a command to
|
|
1131
|
-
*
|
|
1340
|
+
* Represents a command to show measurement for a product when it is already loaded.
|
|
1132
1341
|
* @remarks
|
|
1133
|
-
* This class sends a
|
|
1342
|
+
* This class sends a command to the Metabox API to show measurement for a product if it is already initialized.
|
|
1343
|
+
* **Important**: No need to listen to any events to see changes.
|
|
1344
|
+
* **Important**: Invoking this command will buffer it until the viewport is ready. Only then will the request be processed.
|
|
1134
1345
|
*
|
|
1135
1346
|
* @example
|
|
1136
|
-
* import {
|
|
1347
|
+
* import { ShowMeasurement, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
1137
1348
|
*
|
|
1138
|
-
*
|
|
1349
|
+
* @param {Communicator} api - communicator instance api
|
|
1139
1350
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
1140
|
-
*
|
|
1351
|
+
* api.sendCommandToMetabox(new ShowMeasurement());
|
|
1141
1352
|
* };
|
|
1142
1353
|
*/
|
|
1143
|
-
declare class
|
|
1354
|
+
declare class ShowMeasurement extends CommandBase {
|
|
1144
1355
|
/**
|
|
1145
|
-
* Creates an instance of
|
|
1356
|
+
* Creates an instance of ShowMeasurement.
|
|
1146
1357
|
*
|
|
1147
|
-
* @
|
|
1148
|
-
|
|
1149
|
-
constructor(deviceType: ApplicationDeviceTypes);
|
|
1150
|
-
}
|
|
1151
|
-
|
|
1152
|
-
/**
|
|
1153
|
-
* Represents a command to send Metabox Config to Metabox Modular Configurator.
|
|
1154
|
-
* @remarks
|
|
1155
|
-
* Automatically sent when the Communicator instance is ready.
|
|
1156
|
-
*/
|
|
1157
|
-
declare class MetaboxConfig extends CommandBase {
|
|
1158
|
-
/**
|
|
1159
|
-
* Creates an instance of MetaboxConfig.
|
|
1160
|
-
* @param {string} appId - The unique identifier for the Communicator Instance
|
|
1161
|
-
* @param {MetaboxCommandConfig} config - optional initial config: standalone - if true - disable metabox custom template and all logic
|
|
1358
|
+
* @remarks
|
|
1359
|
+
* This constructor does not require any parameters.
|
|
1162
1360
|
*/
|
|
1163
|
-
constructor(
|
|
1361
|
+
constructor();
|
|
1164
1362
|
}
|
|
1165
1363
|
|
|
1166
1364
|
/**
|
|
1167
|
-
* Represents a command to
|
|
1365
|
+
* Represents a command to hide measurement for a product when it is already loaded.
|
|
1168
1366
|
* @remarks
|
|
1169
|
-
* This class sends a command to the Metabox API to
|
|
1170
|
-
*
|
|
1367
|
+
* This class sends a command to the Metabox API to hide measurement for a product if it is already initialized.
|
|
1368
|
+
* **Important**: No need to listen to any events to see changes.
|
|
1171
1369
|
* **Important**: Invoking this command will buffer it until the viewport is ready. Only then will the request be processed.
|
|
1172
1370
|
*
|
|
1173
1371
|
* @example
|
|
1174
|
-
* import {
|
|
1372
|
+
* import { HideMeasurement, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
1373
|
+
*
|
|
1374
|
+
* @param {Communicator} api - communicator instance api
|
|
1175
1375
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
1176
|
-
* api.sendCommandToMetabox(new
|
|
1376
|
+
* api.sendCommandToMetabox(new HideMeasurement());
|
|
1177
1377
|
* };
|
|
1178
1378
|
*/
|
|
1179
|
-
declare class
|
|
1379
|
+
declare class HideMeasurement extends CommandBase {
|
|
1180
1380
|
/**
|
|
1181
1381
|
* Creates an instance of HideMeasurement.
|
|
1182
1382
|
*
|
|
@@ -1187,27 +1387,29 @@ declare class ShowMeasurement extends CommandBase {
|
|
|
1187
1387
|
}
|
|
1188
1388
|
|
|
1189
1389
|
/**
|
|
1190
|
-
* Represents a command to
|
|
1191
|
-
* @remarks
|
|
1192
|
-
* This class sends a command to the Metabox API to Hide Measurement for a product if it is already initialized.
|
|
1390
|
+
* Represents a command to force set the device type.
|
|
1193
1391
|
*
|
|
1194
|
-
*
|
|
1392
|
+
* @remarks
|
|
1393
|
+
* This class sends a message to the Metabox API to force set the device type.
|
|
1394
|
+
* **Important**: No need to listen to any events to see changes.
|
|
1395
|
+
* //...Assume that the integration is already implemented (only once)
|
|
1195
1396
|
*
|
|
1196
1397
|
* @example
|
|
1197
|
-
* import {
|
|
1398
|
+
* import { ForceSetDeviceType, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
1399
|
+
*
|
|
1400
|
+
* @param {Communicator} api - communicator instance api
|
|
1198
1401
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
1199
|
-
*
|
|
1402
|
+
* api.sendCommandToMetabox(new ForceSetDeviceType('desktop'));
|
|
1200
1403
|
* };
|
|
1201
1404
|
*/
|
|
1202
|
-
declare class
|
|
1405
|
+
declare class ForceSetDeviceType extends CommandBase {
|
|
1203
1406
|
/**
|
|
1204
|
-
* Creates an instance of
|
|
1407
|
+
* Creates an instance of ForceSetDeviceType.
|
|
1205
1408
|
*
|
|
1206
|
-
* @
|
|
1207
|
-
* This constructor does not require any parameters.
|
|
1409
|
+
* @param {ApplicationDeviceTypes} deviceType - The device type to force set.
|
|
1208
1410
|
*/
|
|
1209
|
-
constructor();
|
|
1411
|
+
constructor(deviceType: ApplicationDeviceTypes);
|
|
1210
1412
|
}
|
|
1211
1413
|
|
|
1212
1414
|
export { AppLoaded, ApplyZoom, BasicRouteUrl, CommandBase, Communicator, EventDispatcher, ForceSetDeviceType, GetCallToActionInformation, GetCamera, GetPdf, GetScreenshot, HideMeasurement, InitShowcase, Metabox, MetaboxConfig, MetaboxData, MetaboxDomain, MetaboxHost, MetaboxModularConfiguratorActions, PauseShowcase, PlayShowcase, ResetCamera, SetCamera, SetComponent, SetComponentMaterial, SetEnvironment, SetEnvironmentMaterial, ShowEmbeddedMenu, ShowMeasurement, ShowOverlayInterface, StopShowcase, UnrealCommand, VERSION, fromCommunicatorEvent, integrateMetabox, prepareIframeSrc, saveImage };
|
|
1213
|
-
export type { ApplicationDeviceTypes, CameraCommandPayload, ComponentWithParent, Cta, EcomConfigurator, Environment, FromMetaBoxAPIEnvelope, FromMetaBoxApiEvents, FromMetaBoxMessage, FromMetaboxApiAction, FromMetaboxMessagePayloads, InitialModularConfigurator, IntegrateMetaboxConfig, Listener, MCAppLoaded, Material, MetaBoxApiEnvelope, MetaProperty, MetaboxCommandConfig, MetaboxEnvironment, MimeType, ModularConfiguratorComponent, ModularConfiguratorComponentType, ModularConfiguratorConnector, ModularConfiguratorEnvelope, ModularConfiguratorEnvironment, ModularConfiguratorVirtualSocketToConnector, Product, SelectedIds, ShowCaseStatus, Showcase, Slot,
|
|
1415
|
+
export type { ApplicationDeviceTypes, CameraCommandPayload, ComponentWithParent, Cta, EcomConfigurator, Environment, FromMetaBoxAPIEnvelope, FromMetaBoxApiEvents, FromMetaBoxMessage, FromMetaboxApiAction, FromMetaboxMessagePayloads, InitialModularConfigurator, IntegrateMetaboxConfig, Listener, MCAppLoaded, Material, MetaBoxApiEnvelope, MetaProperty, MetaboxCommandConfig, MetaboxEnvironment, MimeType, ModularConfiguratorComponent, ModularConfiguratorComponentType, ModularConfiguratorConnector, ModularConfiguratorEnvelope, ModularConfiguratorEnvironment, ModularConfiguratorVirtualSocketToConnector, Product, SelectedIds, ShowCaseStatus, Showcase, Slot, Thumbnail, Timecode, ToMetaBoxActions, ToMetaBoxMessage, ToMetaBoxMessageEnvelope, ToMetaboxMessagePayload, ToMetaboxMessagePayloads, VideoResolution };
|