@3dsource/metabox-modular-configurator-api 3.0.16 → 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
|
|
|
@@ -448,10 +456,6 @@ interface FromMetaboxMessagePayloads {
|
|
|
448
456
|
* Dispatches every time when while the configurator loads. Shows showcase status information on a scene.
|
|
449
457
|
*/
|
|
450
458
|
showcaseStatusChanged: ShowCaseStatus;
|
|
451
|
-
/**
|
|
452
|
-
* Dispatches every time when the configurator connected/disconnected with Unreal Engine.
|
|
453
|
-
*/
|
|
454
|
-
dataChannelConnected: boolean;
|
|
455
459
|
/**
|
|
456
460
|
* Dispatches every time when the Viewport is ready / not ready.
|
|
457
461
|
*/
|
|
@@ -461,7 +465,7 @@ interface FromMetaboxMessagePayloads {
|
|
|
461
465
|
*/
|
|
462
466
|
statusMessageChanged: string | null;
|
|
463
467
|
/**
|
|
464
|
-
* 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.
|
|
465
469
|
*/
|
|
466
470
|
screenshotReady: string | null;
|
|
467
471
|
/**
|
|
@@ -469,9 +473,14 @@ interface FromMetaboxMessagePayloads {
|
|
|
469
473
|
*/
|
|
470
474
|
videoResolutionChanged: VideoResolution;
|
|
471
475
|
/**
|
|
472
|
-
* Dispatches every time when the User sends get camera command.
|
|
476
|
+
* Dispatches every time when the User sends get camera command new GetCamera() command.
|
|
473
477
|
*/
|
|
474
478
|
getCameraResult: CameraCommandPayload;
|
|
479
|
+
/**
|
|
480
|
+
* @deprecated
|
|
481
|
+
* Dispatches every time when the configurator connected/disconnected with Unreal Engine.
|
|
482
|
+
*/
|
|
483
|
+
dataChannelConnected: boolean;
|
|
475
484
|
}
|
|
476
485
|
/**
|
|
477
486
|
* @hidden
|
|
@@ -514,35 +523,14 @@ interface FromMetaBoxMessage {
|
|
|
514
523
|
}
|
|
515
524
|
|
|
516
525
|
/**
|
|
517
|
-
* Base class for commands sent to the Metabox.
|
|
526
|
+
* Base class for commands sent to the Metabox API.
|
|
527
|
+
* @internal
|
|
528
|
+
* @hidden
|
|
518
529
|
*/
|
|
519
530
|
declare class CommandBase {
|
|
520
531
|
data: ToMetaBoxMessageEnvelope;
|
|
521
532
|
}
|
|
522
533
|
|
|
523
|
-
/**
|
|
524
|
-
* Represents a command to ApplyZoom and change zoom camera on a scene.
|
|
525
|
-
* @remarks
|
|
526
|
-
* This class sends a command to the Metabox API to change zoom on a scene.
|
|
527
|
-
*
|
|
528
|
-
* **Important**: Invoking this command will buffer it until the viewport is ready. Only then will the request be processed.
|
|
529
|
-
*
|
|
530
|
-
* @example
|
|
531
|
-
* import { ApplyZoom, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
532
|
-
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
533
|
-
* api.sendCommandToMetabox(new ApplyZoom(10));
|
|
534
|
-
* api.sendCommandToMetabox(new ApplyZoom(-10));
|
|
535
|
-
* };
|
|
536
|
-
*/
|
|
537
|
-
declare class ApplyZoom extends CommandBase {
|
|
538
|
-
/**
|
|
539
|
-
* Creates an instance of ApplyZoom.
|
|
540
|
-
*
|
|
541
|
-
* @param {...number} zoom
|
|
542
|
-
*/
|
|
543
|
-
constructor(zoom: number);
|
|
544
|
-
}
|
|
545
|
-
|
|
546
534
|
/**
|
|
547
535
|
* Represents a callback listener for specific message types.
|
|
548
536
|
* Used internally by EventDispatcher to store event listeners.
|
|
@@ -641,7 +629,7 @@ declare class Communicator extends EventDispatcher {
|
|
|
641
629
|
*/
|
|
642
630
|
removeEventListener<T extends FromMetaBoxApiEvents>(messageType: T, callback: (data: FromMetaboxMessagePayloads[T]) => void): this;
|
|
643
631
|
/**
|
|
644
|
-
* Filters and dispatches incoming messages from
|
|
632
|
+
* Filters and dispatches incoming messages from the Metabox.
|
|
645
633
|
* @param messageType - Expected message type for filtering (MetaboxData).
|
|
646
634
|
* @param event - The postMessage event received on a window.
|
|
647
635
|
*/
|
|
@@ -707,32 +695,61 @@ declare function integrateMetabox(configuratorId: string, containerId: string |
|
|
|
707
695
|
*/
|
|
708
696
|
declare function saveImage(imageUrl: string, filename: string): void;
|
|
709
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
|
+
*/
|
|
710
707
|
declare const prepareIframeSrc: (configuratorId: string, config?: IntegrateMetaboxConfig) => string;
|
|
711
708
|
|
|
712
709
|
/**
|
|
713
710
|
* Wrapper helper function to use it with rxJs the same as `fromEvent` to listen to events from the Communicator.
|
|
711
|
+
*
|
|
714
712
|
* @param {Communicator} target
|
|
715
713
|
* @param eventName
|
|
714
|
+
* @internal
|
|
716
715
|
*/
|
|
717
716
|
declare function fromCommunicatorEvent<T extends FromMetaBoxApiEvents>(target: Communicator, eventName: T): Observable<FromMetaboxMessagePayloads[T]>;
|
|
718
717
|
|
|
719
718
|
/**
|
|
720
|
-
* Represents a command to
|
|
719
|
+
* Represents a command to send Metabox Config to Metabox Basic Configurator.
|
|
721
720
|
* @remarks
|
|
722
|
-
*
|
|
723
|
-
* This action does not require any parameters.
|
|
721
|
+
* **Important**: No need to listen to any events to see changes.
|
|
724
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.
|
|
725
740
|
* **Important**: Invoking this command will buffer it until the viewport is ready. Only then will the request be processed.
|
|
726
741
|
*
|
|
727
742
|
* @example
|
|
728
|
-
* import {
|
|
743
|
+
* import { GetPdf, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
744
|
+
*
|
|
745
|
+
* @param {Communicator} api - communicator instance api
|
|
729
746
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
730
|
-
* api.sendCommandToMetabox(new
|
|
747
|
+
* api.sendCommandToMetabox(new GetPdf());
|
|
731
748
|
* };
|
|
732
749
|
*/
|
|
733
|
-
declare class
|
|
750
|
+
declare class GetPdf extends CommandBase {
|
|
734
751
|
/**
|
|
735
|
-
* Creates an instance of
|
|
752
|
+
* Creates an instance of GetPdf.
|
|
736
753
|
*
|
|
737
754
|
* @remarks
|
|
738
755
|
* This constructor does not require any parameters.
|
|
@@ -741,22 +758,36 @@ declare class GetCallToActionInformation extends CommandBase {
|
|
|
741
758
|
}
|
|
742
759
|
|
|
743
760
|
/**
|
|
744
|
-
* Represents a command to get a
|
|
761
|
+
* Represents a command to get a Call To Action Information from Metabox Basic Configurator.
|
|
745
762
|
* @remarks
|
|
746
|
-
* This class sends a message to the Metabox API to generate
|
|
747
|
-
*
|
|
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
|
+
* };
|
|
748
777
|
*
|
|
749
778
|
* **Important**: Invoking this command will buffer it until the viewport is ready. Only then will the request be processed.
|
|
750
779
|
*
|
|
751
780
|
* @example
|
|
752
|
-
* import {
|
|
781
|
+
* import { GetCallToActionInformation, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
782
|
+
*
|
|
783
|
+
* @param {Communicator} api - communicator instance api
|
|
753
784
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
754
|
-
* api.sendCommandToMetabox(new
|
|
785
|
+
* api.sendCommandToMetabox(new GetCallToActionInformation());
|
|
755
786
|
* };
|
|
756
787
|
*/
|
|
757
|
-
declare class
|
|
788
|
+
declare class GetCallToActionInformation extends CommandBase {
|
|
758
789
|
/**
|
|
759
|
-
* Creates an instance of
|
|
790
|
+
* Creates an instance of GetCallToActionInformation.
|
|
760
791
|
*
|
|
761
792
|
* @remarks
|
|
762
793
|
* This constructor does not require any parameters.
|
|
@@ -765,15 +796,28 @@ declare class GetPdf extends CommandBase {
|
|
|
765
796
|
}
|
|
766
797
|
|
|
767
798
|
/**
|
|
768
|
-
* Represents a command to
|
|
799
|
+
* Represents a command to get the camera configuration from Unreal.
|
|
769
800
|
* @remarks
|
|
770
801
|
* This class sends a message to the Metabox API to get the camera from a scene.
|
|
771
|
-
*
|
|
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
|
+
* };
|
|
772
815
|
*
|
|
773
816
|
* **Important**: Invoking this command will buffer it until the viewport is ready. Only then will the request be processed.
|
|
774
817
|
*
|
|
775
818
|
* @example
|
|
776
819
|
* import { GetCamera, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
820
|
+
* @param {Communicator} api - communicator instance api
|
|
777
821
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
778
822
|
* api.sendCommandToMetabox(new GetCamera());
|
|
779
823
|
* };
|
|
@@ -789,14 +833,15 @@ declare class GetCamera extends CommandBase {
|
|
|
789
833
|
}
|
|
790
834
|
|
|
791
835
|
/**
|
|
792
|
-
* Represents a command to
|
|
836
|
+
* Represents a command to set the camera configuration.
|
|
793
837
|
* @remarks
|
|
794
838
|
* This class sends a message to the Metabox API to set the camera on a scene.
|
|
795
|
-
*
|
|
839
|
+
* **Important**: No need to listen to any events to see changes.
|
|
796
840
|
* **Important**: Invoking this command will buffer it until the viewport is ready. Only then will the request be processed.
|
|
797
841
|
*
|
|
798
842
|
* @example
|
|
799
|
-
* import {
|
|
843
|
+
* import { SetCamera, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
844
|
+
* @param {Communicator} api - communicator instance api
|
|
800
845
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
801
846
|
* api.sendCommandToMetabox(new SetCamera({
|
|
802
847
|
* fov: 45,
|
|
@@ -820,22 +865,21 @@ declare class SetCamera extends CommandBase {
|
|
|
820
865
|
/**
|
|
821
866
|
* Creates an instance of SetCamera.
|
|
822
867
|
*
|
|
823
|
-
* @
|
|
824
|
-
* @param {CameraCommandPayload} camera - camera config
|
|
868
|
+
* @param {CameraCommandPayload} camera - The camera configuration.
|
|
825
869
|
*/
|
|
826
870
|
constructor(camera: CameraCommandPayload);
|
|
827
871
|
}
|
|
828
872
|
|
|
829
873
|
/**
|
|
830
|
-
* Represents a command to
|
|
874
|
+
* Represents a command to reset the camera to its initial position.
|
|
831
875
|
* @remarks
|
|
832
876
|
* This class sends a message to the Metabox API to reset the camera on a scene.
|
|
833
|
-
*
|
|
834
|
-
*
|
|
877
|
+
* **Important**: No need to listen to any events to see changes.
|
|
835
878
|
* **Important**: Invoking this command will buffer it until the viewport is ready. Only then will the request be processed.
|
|
836
879
|
*
|
|
837
880
|
* @example
|
|
838
881
|
* import { ResetCamera, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
882
|
+
* @param {Communicator} api - communicator instance api
|
|
839
883
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
840
884
|
* api.sendCommandToMetabox(new ResetCamera());
|
|
841
885
|
* };
|
|
@@ -851,20 +895,70 @@ declare class ResetCamera extends CommandBase {
|
|
|
851
895
|
}
|
|
852
896
|
|
|
853
897
|
/**
|
|
854
|
-
* Represents a command to
|
|
898
|
+
* Represents a command to apply zoom and change the camera zoom on a scene.
|
|
855
899
|
* @remarks
|
|
856
|
-
* This class sends a command to the Metabox API to
|
|
857
|
-
*
|
|
858
|
-
*
|
|
859
|
-
*
|
|
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.
|
|
924
|
+
* @remarks
|
|
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
|
+
* };
|
|
860
953
|
*
|
|
861
954
|
* **Important**: Invoking this command will buffer it until the viewport is ready. Only then will the request be processed.
|
|
862
955
|
*
|
|
863
956
|
* @example
|
|
864
|
-
* ```typescript
|
|
865
957
|
* import { InitShowcase, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
958
|
+
*
|
|
959
|
+
* @param {Communicator} api - communicator instance api
|
|
866
960
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
867
|
-
* api.sendCommandToMetabox(new InitShowcase();
|
|
961
|
+
* api.sendCommandToMetabox(new InitShowcase());
|
|
868
962
|
* };
|
|
869
963
|
*/
|
|
870
964
|
declare class InitShowcase extends CommandBase {
|
|
@@ -878,23 +972,29 @@ declare class InitShowcase extends CommandBase {
|
|
|
878
972
|
}
|
|
879
973
|
|
|
880
974
|
/**
|
|
881
|
-
*
|
|
882
|
-
* @hidden
|
|
883
|
-
* Represents a command to send Unreal command.
|
|
884
|
-
*/
|
|
885
|
-
declare class UnrealCommand extends CommandBase {
|
|
886
|
-
constructor(payload: object);
|
|
887
|
-
}
|
|
888
|
-
|
|
889
|
-
/**
|
|
890
|
-
* 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.
|
|
891
976
|
* @remarks
|
|
892
|
-
* 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
|
+
* };
|
|
893
991
|
*
|
|
894
992
|
* **Important**: Invoking this command will buffer it until the viewport is ready. Only then will the request be processed.
|
|
895
993
|
*
|
|
896
994
|
* @example
|
|
897
995
|
* import { PlayShowcase, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
996
|
+
*
|
|
997
|
+
* @param {Communicator} api - communicator instance api
|
|
898
998
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
899
999
|
* api.sendCommandToMetabox(new PlayShowcase());
|
|
900
1000
|
* };
|
|
@@ -910,14 +1010,38 @@ declare class PlayShowcase extends CommandBase {
|
|
|
910
1010
|
}
|
|
911
1011
|
|
|
912
1012
|
/**
|
|
913
|
-
*
|
|
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.
|
|
914
1023
|
* @remarks
|
|
915
|
-
* 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
|
+
* };
|
|
916
1038
|
*
|
|
917
1039
|
* **Important**: Invoking this command will buffer it until the viewport is ready. Only then will the request be processed.
|
|
918
1040
|
*
|
|
919
1041
|
* @example
|
|
920
1042
|
* import { PauseShowcase, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
1043
|
+
*
|
|
1044
|
+
* @param {Communicator} api - communicator instance api
|
|
921
1045
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
922
1046
|
* api.sendCommandToMetabox(new PauseShowcase());
|
|
923
1047
|
* };
|
|
@@ -933,14 +1057,29 @@ declare class PauseShowcase extends CommandBase {
|
|
|
933
1057
|
}
|
|
934
1058
|
|
|
935
1059
|
/**
|
|
936
|
-
* 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.
|
|
937
1061
|
* @remarks
|
|
938
|
-
* 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
|
+
* };
|
|
939
1076
|
*
|
|
940
1077
|
* **Important**: Invoking this command will buffer it until the viewport is ready. Only then will the request be processed.
|
|
941
1078
|
*
|
|
942
1079
|
* @example
|
|
943
1080
|
* import { StopShowcase, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
1081
|
+
*
|
|
1082
|
+
* @param {Communicator} api - communicator instance api
|
|
944
1083
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
945
1084
|
* api.sendCommandToMetabox(new StopShowcase());
|
|
946
1085
|
* };
|
|
@@ -963,17 +1102,28 @@ declare class StopShowcase extends CommandBase {
|
|
|
963
1102
|
type MimeType = 'image/png' | 'image/jpeg' | 'image/webp';
|
|
964
1103
|
/**
|
|
965
1104
|
* Represents a command to get a screenshot.
|
|
966
|
-
*
|
|
967
1105
|
* **Important**: Invoking this command will buffer it until the viewport is ready. Only then will the request be processed.
|
|
968
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
|
+
*
|
|
969
1122
|
* @example
|
|
970
1123
|
* import { GetScreenshot, Communicator, saveImage } from '@3dsource/metabox-modular-configurator-api';
|
|
1124
|
+
*
|
|
1125
|
+
* @param {Communicator} api - communicator instance api
|
|
971
1126
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
972
|
-
* // Listen for events from to the Metabox API
|
|
973
|
-
* api.addEventListener('screenshot', (data) => {
|
|
974
|
-
* // Process the get screenshot response
|
|
975
|
-
* saveImage(data, 'Render.png');
|
|
976
|
-
* });
|
|
977
1127
|
* api.sendCommandToMetabox(new GetScreenshot('image/png', { x: 1024, y: 1024 }));
|
|
978
1128
|
* };
|
|
979
1129
|
*/
|
|
@@ -993,14 +1143,25 @@ declare class GetScreenshot extends CommandBase {
|
|
|
993
1143
|
* Represents a command to set a component by its data (ID, typeId, isRoot).
|
|
994
1144
|
*
|
|
995
1145
|
* @remarks
|
|
996
|
-
*
|
|
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
|
+
* };
|
|
997
1158
|
*
|
|
998
1159
|
* @example
|
|
999
1160
|
* import { SetComponent, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
1000
1161
|
*
|
|
1001
|
-
*
|
|
1162
|
+
* @param {Communicator} api - communicator instance api
|
|
1002
1163
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
1003
|
-
* api.
|
|
1164
|
+
* api.sendCommandToMetabox(new SetComponent(
|
|
1004
1165
|
* 'ffea6b5c-3a8a-4f56-9417-e605acb5cca3', 'typeId', true
|
|
1005
1166
|
* ));
|
|
1006
1167
|
* };
|
|
@@ -1009,9 +1170,9 @@ declare class SetComponent extends CommandBase {
|
|
|
1009
1170
|
/**
|
|
1010
1171
|
* Creates an instance of SetComponent.
|
|
1011
1172
|
*
|
|
1012
|
-
* @param {string} id
|
|
1013
|
-
* @param {string} typeId
|
|
1014
|
-
* @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.
|
|
1015
1176
|
*/
|
|
1016
1177
|
constructor(id: string, typeId: string, isRoot: boolean);
|
|
1017
1178
|
}
|
|
@@ -1019,10 +1180,24 @@ declare class SetComponent extends CommandBase {
|
|
|
1019
1180
|
/**
|
|
1020
1181
|
* Represents a command to set component material by its slot ID and Material ID.
|
|
1021
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
|
+
*
|
|
1022
1197
|
* @example
|
|
1023
1198
|
* import { SetComponentMaterial, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
1024
1199
|
*
|
|
1025
|
-
*
|
|
1200
|
+
* @param {Communicator} api - communicator instance api
|
|
1026
1201
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
1027
1202
|
* api.sendCommandToMetabox(new SetComponentMaterial(
|
|
1028
1203
|
* 'ffea6b5c-3a8a-4f56-9417-e605acb5cca3',
|
|
@@ -1045,12 +1220,25 @@ declare class SetComponentMaterial extends CommandBase {
|
|
|
1045
1220
|
/**
|
|
1046
1221
|
* Represents a command to set the environment by its ID.
|
|
1047
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
|
+
*
|
|
1048
1237
|
* @example
|
|
1049
1238
|
* import { SetEnvironment, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
1050
1239
|
*
|
|
1051
|
-
*
|
|
1240
|
+
* @param {Communicator} api - communicator instance api
|
|
1052
1241
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
1053
|
-
* // Change the environment to '55555555-1234-1234-1234-01234567890'
|
|
1054
1242
|
* api.sendCommandToMetabox(new SetEnvironment('55555555-1234-1234-1234-01234567890'));
|
|
1055
1243
|
* };
|
|
1056
1244
|
*/
|
|
@@ -1066,10 +1254,24 @@ declare class SetEnvironment extends CommandBase {
|
|
|
1066
1254
|
/**
|
|
1067
1255
|
* Represents a command to set an environment material by its slot ID and Material ID.
|
|
1068
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
|
+
*
|
|
1069
1271
|
* @example
|
|
1070
1272
|
* import { SetEnvironmentMaterial, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
1071
1273
|
*
|
|
1072
|
-
*
|
|
1274
|
+
* @param {Communicator} api - communicator instance api
|
|
1073
1275
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
1074
1276
|
* api.sendCommandToMetabox(new SetEnvironmentMaterial(
|
|
1075
1277
|
* 'carpaint',
|
|
@@ -1088,14 +1290,17 @@ declare class SetEnvironmentMaterial extends CommandBase {
|
|
|
1088
1290
|
}
|
|
1089
1291
|
|
|
1090
1292
|
/**
|
|
1091
|
-
* 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.
|
|
1092
1297
|
*
|
|
1093
1298
|
* @example
|
|
1094
1299
|
* import { ShowEmbeddedMenu, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
1095
1300
|
*
|
|
1096
|
-
*
|
|
1301
|
+
* @param {Communicator} api - communicator instance api
|
|
1097
1302
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
1098
|
-
* api.
|
|
1303
|
+
* api.sendCommandToMetabox(new ShowEmbeddedMenu(true));
|
|
1099
1304
|
* };
|
|
1100
1305
|
*/
|
|
1101
1306
|
declare class ShowEmbeddedMenu extends CommandBase {
|
|
@@ -1112,11 +1317,12 @@ declare class ShowEmbeddedMenu extends CommandBase {
|
|
|
1112
1317
|
*
|
|
1113
1318
|
* @remarks
|
|
1114
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.
|
|
1115
1321
|
*
|
|
1116
1322
|
* @example
|
|
1117
1323
|
* import { ShowOverlayInterface, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
1118
1324
|
*
|
|
1119
|
-
*
|
|
1325
|
+
* @param {Communicator} api - communicator instance api
|
|
1120
1326
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
1121
1327
|
* api.setCommandToMetaBox(new ShowOverlayInterface(true));
|
|
1122
1328
|
* };
|
|
@@ -1131,56 +1337,46 @@ declare class ShowOverlayInterface extends CommandBase {
|
|
|
1131
1337
|
}
|
|
1132
1338
|
|
|
1133
1339
|
/**
|
|
1134
|
-
* Represents a command to
|
|
1135
|
-
*
|
|
1340
|
+
* Represents a command to show measurement for a product when it is already loaded.
|
|
1136
1341
|
* @remarks
|
|
1137
|
-
* 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.
|
|
1138
1345
|
*
|
|
1139
1346
|
* @example
|
|
1140
|
-
* import {
|
|
1347
|
+
* import { ShowMeasurement, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
1141
1348
|
*
|
|
1142
|
-
*
|
|
1349
|
+
* @param {Communicator} api - communicator instance api
|
|
1143
1350
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
1144
|
-
*
|
|
1351
|
+
* api.sendCommandToMetabox(new ShowMeasurement());
|
|
1145
1352
|
* };
|
|
1146
1353
|
*/
|
|
1147
|
-
declare class
|
|
1354
|
+
declare class ShowMeasurement extends CommandBase {
|
|
1148
1355
|
/**
|
|
1149
|
-
* Creates an instance of
|
|
1356
|
+
* Creates an instance of ShowMeasurement.
|
|
1150
1357
|
*
|
|
1151
|
-
* @
|
|
1152
|
-
|
|
1153
|
-
constructor(deviceType: ApplicationDeviceTypes);
|
|
1154
|
-
}
|
|
1155
|
-
|
|
1156
|
-
/**
|
|
1157
|
-
* Represents a command to send Metabox Config to Metabox Modular Configurator.
|
|
1158
|
-
* @remarks
|
|
1159
|
-
* Automatically sent when the Communicator instance is ready.
|
|
1160
|
-
*/
|
|
1161
|
-
declare class MetaboxConfig extends CommandBase {
|
|
1162
|
-
/**
|
|
1163
|
-
* Creates an instance of MetaboxConfig.
|
|
1164
|
-
* @param {string} appId - The unique identifier for the Communicator Instance
|
|
1165
|
-
* @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.
|
|
1166
1360
|
*/
|
|
1167
|
-
constructor(
|
|
1361
|
+
constructor();
|
|
1168
1362
|
}
|
|
1169
1363
|
|
|
1170
1364
|
/**
|
|
1171
|
-
* Represents a command to
|
|
1365
|
+
* Represents a command to hide measurement for a product when it is already loaded.
|
|
1172
1366
|
* @remarks
|
|
1173
|
-
* This class sends a command to the Metabox API to
|
|
1174
|
-
*
|
|
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.
|
|
1175
1369
|
* **Important**: Invoking this command will buffer it until the viewport is ready. Only then will the request be processed.
|
|
1176
1370
|
*
|
|
1177
1371
|
* @example
|
|
1178
|
-
* import {
|
|
1372
|
+
* import { HideMeasurement, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
1373
|
+
*
|
|
1374
|
+
* @param {Communicator} api - communicator instance api
|
|
1179
1375
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
1180
|
-
* api.sendCommandToMetabox(new
|
|
1376
|
+
* api.sendCommandToMetabox(new HideMeasurement());
|
|
1181
1377
|
* };
|
|
1182
1378
|
*/
|
|
1183
|
-
declare class
|
|
1379
|
+
declare class HideMeasurement extends CommandBase {
|
|
1184
1380
|
/**
|
|
1185
1381
|
* Creates an instance of HideMeasurement.
|
|
1186
1382
|
*
|
|
@@ -1191,27 +1387,29 @@ declare class ShowMeasurement extends CommandBase {
|
|
|
1191
1387
|
}
|
|
1192
1388
|
|
|
1193
1389
|
/**
|
|
1194
|
-
* Represents a command to
|
|
1195
|
-
* @remarks
|
|
1196
|
-
* 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.
|
|
1197
1391
|
*
|
|
1198
|
-
*
|
|
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)
|
|
1199
1396
|
*
|
|
1200
1397
|
* @example
|
|
1201
|
-
* import {
|
|
1398
|
+
* import { ForceSetDeviceType, Communicator } from '@3dsource/metabox-modular-configurator-api';
|
|
1399
|
+
*
|
|
1400
|
+
* @param {Communicator} api - communicator instance api
|
|
1202
1401
|
* window.env3DSource.apiReady = (api: Communicator) => {
|
|
1203
|
-
*
|
|
1402
|
+
* api.sendCommandToMetabox(new ForceSetDeviceType('desktop'));
|
|
1204
1403
|
* };
|
|
1205
1404
|
*/
|
|
1206
|
-
declare class
|
|
1405
|
+
declare class ForceSetDeviceType extends CommandBase {
|
|
1207
1406
|
/**
|
|
1208
|
-
* Creates an instance of
|
|
1407
|
+
* Creates an instance of ForceSetDeviceType.
|
|
1209
1408
|
*
|
|
1210
|
-
* @
|
|
1211
|
-
* This constructor does not require any parameters.
|
|
1409
|
+
* @param {ApplicationDeviceTypes} deviceType - The device type to force set.
|
|
1212
1410
|
*/
|
|
1213
|
-
constructor();
|
|
1411
|
+
constructor(deviceType: ApplicationDeviceTypes);
|
|
1214
1412
|
}
|
|
1215
1413
|
|
|
1216
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 };
|
|
1217
|
-
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 };
|