@3dverse/api 0.7.1 → 0.8.1

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.
@@ -314,9 +314,8 @@ export type ListFolderSubFolders_Object = {
314
314
  username: string;
315
315
  registered_at: string;
316
316
  };
317
- export declare function listFolderSubFolders({ folder_id, depth }: {
317
+ export declare function listFolderSubFolders({ folder_id }: {
318
318
  folder_id: string;
319
- depth?: number;
320
319
  }): AxiosPromise<Array<ListFolderSubFolders_Folder>>;
321
320
  export type UploadSourceFiles_Object = {
322
321
  upload_task_id?: string;
@@ -371,10 +370,14 @@ export declare function getUploadTasksInFolder({ folder_id, offset, limit }: {
371
370
  offset?: number;
372
371
  limit?: number;
373
372
  }): AxiosPromise<Array<GetUploadTasksInFolder_UploadTask>>;
374
- export type GetFolderAssets_Filter = {
375
- asset_type?: (Array<"action_map" | "algorithm" | "animation" | "animation_graph" | "animation_sequence" | "animation_set" | "collision_geometry" | "cubemap" | "event_map" | "material" | "mesh" | "module" | "point_cloud" | "render_graph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "texture_1d" | "texture_3d" | "volume_material"> | "action_map" | "algorithm" | "animation" | "animation_graph" | "animation_sequence" | "animation_set" | "collision_geometry" | "cubemap" | "event_map" | "material" | "mesh" | "module" | "point_cloud" | "render_graph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "texture_1d" | "texture_3d" | "volume_material");
373
+ export type GetFolderAssets_Filters = {
376
374
  asset_name?: string;
377
- include_public_assets?: boolean;
375
+ asset_type?: (Array<"action_map" | "algorithm" | "animation" | "animation_graph" | "animation_sequence" | "animation_set" | "collision_geometry" | "cubemap" | "event_map" | "material" | "mesh" | "module" | "point_cloud" | "render_graph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "texture_1d" | "texture_3d" | "volume_material"> | "action_map" | "algorithm" | "animation" | "animation_graph" | "animation_sequence" | "animation_set" | "collision_geometry" | "cubemap" | "event_map" | "material" | "mesh" | "module" | "point_cloud" | "render_graph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "texture_1d" | "texture_3d" | "volume_material");
376
+ source_file?: (Array<string> | string | 'exclude');
377
+ };
378
+ export type GetFolderAssets_AssetCount = {
379
+ total: number;
380
+ [asset_type: string]: number;
378
381
  };
379
382
  export type GetFolderAssets__index_AssetList_AssetList = {
380
383
  action_maps?: Array<GetFolderAssets_Object>;
@@ -405,11 +408,12 @@ export type GetFolderAssets_Object = {
405
408
  asset_id: string;
406
409
  name: string;
407
410
  };
408
- export declare function getFolderAssets({ folder_id, offset, limit, filter }: {
411
+ export declare function getFolderAssets({ folder_id, offset, limit, filter, recursive }: {
409
412
  folder_id: string;
410
413
  offset?: number;
411
414
  limit?: number;
412
- filter?: GetFolderAssets_Filter;
415
+ filter?: GetFolderAssets_Filters;
416
+ recursive?: boolean;
413
417
  }): AxiosPromise<GetFolderAssets__index_AssetList_AssetList>;
414
418
  export type CreateAsset_NewAsset = {
415
419
  asset_type: "action_map" | "algorithm" | "animation_graph" | "animation_sequence" | "cubemap" | "event_map" | "material" | "module" | "render_graph" | "scene" | "script" | "shader" | "volume_material";
@@ -441,6 +445,38 @@ export declare function moveAssets({ folder_id, asset_ids }: {
441
445
  folder_id: string;
442
446
  asset_ids: Array<string>;
443
447
  }): Promise<import("axios").AxiosResponse<any, any>>;
448
+ export type CreateMaterial_Object = {
449
+ asset_id: string;
450
+ };
451
+ export declare function createMaterial({ folder_id, dataJson, isDoubleSided, name, shaderRef }: {
452
+ folder_id: string;
453
+ dataJson: object;
454
+ isDoubleSided: boolean;
455
+ name: string;
456
+ shaderRef: string;
457
+ }): AxiosPromise<CreateMaterial_Object>;
458
+ export type CreateCubemap_Object = {
459
+ asset_id: string;
460
+ };
461
+ export declare function createCubemap({ folder_id, faces, name }: {
462
+ folder_id: string;
463
+ faces: Array<string>;
464
+ name: string;
465
+ }): AxiosPromise<CreateCubemap_Object>;
466
+ export type ImportAssets__index_ImportAssetsResponse_ImportAssetsResponse = {
467
+ asset_ids: ImportAssets_AssetIds;
468
+ skipped_files?: Array<string>;
469
+ };
470
+ export type ImportAssets_AssetIds = {
471
+ imported: Array<string>;
472
+ overwritten: Array<string>;
473
+ skipped: Array<string>;
474
+ };
475
+ export declare function importAssets({ folder_id, overwrite, body }: {
476
+ folder_id: string;
477
+ overwrite?: StrictUnion<'never' | 'only-specified' | 'always'>;
478
+ body: ArrayBuffer;
479
+ }): AxiosPromise<ImportAssets__index_ImportAssetsResponse_ImportAssetsResponse>;
444
480
  export type GetSessionsInFolder_Session = {
445
481
  session_id: string;
446
482
  scene_id: string;
@@ -662,7 +698,8 @@ export declare function getAssetFolder({ asset_container, asset_id }: {
662
698
  asset_id: string;
663
699
  }): AxiosPromise<GetAssetFolder_Folder>;
664
700
  export type GetAssetDependencies_Filter = {
665
- asset_type?: "action_map" | "algorithm" | "animation" | "animation_graph" | "animation_sequence" | "animation_set" | "collision_geometry" | "cubemap" | "event_map" | "material" | "mesh" | "module" | "point_cloud" | "render_graph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "texture_1d" | "texture_3d" | "volume_material";
701
+ with_asset_types?: Array<"action_map" | "algorithm" | "animation" | "animation_graph" | "animation_sequence" | "animation_set" | "collision_geometry" | "cubemap" | "event_map" | "material" | "mesh" | "module" | "point_cloud" | "render_graph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "texture_1d" | "texture_3d" | "volume_material">;
702
+ without_asset_types?: Array<"action_map" | "algorithm" | "animation" | "animation_graph" | "animation_sequence" | "animation_set" | "collision_geometry" | "cubemap" | "event_map" | "material" | "mesh" | "module" | "point_cloud" | "render_graph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "texture_1d" | "texture_3d" | "volume_material">;
666
703
  public?: StrictUnion<'include' | 'exclude' | 'restrict-to'>;
667
704
  };
668
705
  export type GetAssetDependencies_Asset = {
@@ -675,8 +712,13 @@ export type GetAssetDependencies_Object = {
675
712
  direct_count?: number;
676
713
  indirect_count?: number;
677
714
  is_public?: boolean;
715
+ payload_info?: GetAssetDependencies_PayloadInfo;
678
716
  dependencies?: Array<GetAssetDependencies_Dependency>;
679
717
  };
718
+ export type GetAssetDependencies_PayloadInfo = {
719
+ hash?: string;
720
+ storage_id?: number;
721
+ };
680
722
  export type GetAssetDependencies_Dependency = {
681
723
  asset_id: string;
682
724
  count: number;
@@ -688,7 +730,7 @@ export declare function getAssetDependencies({ asset_container, asset_id, offset
688
730
  limit?: number;
689
731
  depth?: ('all' | 'direct' | number);
690
732
  filters?: GetAssetDependencies_Filter;
691
- properties?: Array<StrictUnion<'name' | 'dependencies' | 'count' | 'public'>>;
733
+ properties?: Array<StrictUnion<'name' | 'dependencies' | 'count' | 'public' | 'payload_info'>>;
692
734
  }): AxiosPromise<Array<GetAssetDependencies_Asset>>;
693
735
  export type GetAssetReferences_Asset = {
694
736
  asset_id: string;
@@ -709,56 +751,77 @@ export declare function getAssetReferences({ asset_container, asset_id, offset,
709
751
  }): AxiosPromise<Array<GetAssetReferences_Asset>>;
710
752
  export type GetAssetDescription_ActionMap = {
711
753
  actions: GetAssetDescription_Object;
754
+ name: string;
755
+ uuid: string;
712
756
  };
713
757
  export type GetAssetDescription_Object = {
714
758
  [action_name: string]: object;
715
759
  };
716
760
  export type GetAssetDescription_Algorithm = {
717
761
  inputDescriptor: Array<object>;
762
+ name: string;
718
763
  outputDescriptor: Array<object>;
764
+ uuid: string;
719
765
  };
720
766
  export type GetAssetDescription_Animation = {
721
767
  animationEventTrack: GetAssetDescription_Object;
722
768
  durationInMs: number;
769
+ name: string;
723
770
  payloadSize: number;
724
771
  skeletonRef?: string;
772
+ uuid: string;
725
773
  };
726
774
  export type GetAssetDescription_AnimationGraph = {
727
- inputDescriptor: object;
775
+ inputDescriptor: Array<object>;
776
+ name: string;
728
777
  stateMachines: Array<GetAssetDescription_Object>;
778
+ uuid: string;
729
779
  };
730
780
  export type GetAssetDescription_AnimationSequence = {
731
- inputDescriptor: object;
781
+ durationInMs: number;
782
+ name: string;
783
+ uuid: string;
732
784
  };
733
785
  export type GetAssetDescription_AnimationSet = {
734
786
  animationGraphUUID: string;
735
- animationSet: GetAssetDescription_Object;
787
+ animationSet: Array<GetAssetDescription_Object>;
788
+ boneMaskSet: Array<GetAssetDescription_Object>;
789
+ name: string;
790
+ uuid: string;
736
791
  };
737
792
  export type GetAssetDescription_CollisionGeometry = {
738
793
  geometryType: StrictUnion<0 | 1>;
794
+ name: string;
739
795
  payloadSize: number;
796
+ uuid: string;
740
797
  };
741
798
  export type GetAssetDescription_Cubemap = {
742
799
  faces: Array<string>;
800
+ name: string;
801
+ uuid: string;
743
802
  };
744
803
  export type GetAssetDescription_EventMap = {
745
- eventDescriptors: GetAssetDescription_Object;
804
+ events: GetAssetDescription_Object;
805
+ name: string;
806
+ uuid: string;
746
807
  };
747
808
  export type GetAssetDescription_Material = {
748
809
  dataJson: object;
749
810
  isDoubleSided: boolean;
811
+ name: string;
750
812
  shaderRef: string;
751
- skinnedShaderRef: string;
813
+ uuid: string;
752
814
  };
753
815
  export type GetAssetDescription_Mesh = {
816
+ name: string;
754
817
  payloadSize: number;
755
818
  submeshes: Array<GetAssetDescription_Submesh>;
819
+ uuid: string;
756
820
  };
757
821
  export type GetAssetDescription_Submesh = {
758
- boundingBox: GetAssetDescription_BoundingBox;
822
+ aabb: GetAssetDescription_BoundingBox;
759
823
  channels: Array<GetAssetDescription_Channel>;
760
824
  indexCount: number;
761
- payloadSize: number;
762
825
  vertexCount: number;
763
826
  };
764
827
  export type GetAssetDescription_BoundingBox = {
@@ -771,24 +834,42 @@ export type GetAssetDescription_Channel = {
771
834
  elementCount: number;
772
835
  elementSize: number;
773
836
  elementType: StrictUnion<0 | 1 | 2> & number;
774
- semantic: "invalid" | "index" | "position" | "normal" | "uv" | "color" | "bone_id" | "weight";
837
+ semantic: StrictUnion<'index' | 'position' | 'normal' | 'uv' | 'color' | 'bone_id' | 'weight'>;
775
838
  };
776
839
  export type GetAssetDescription_Module = {
777
840
  functions: GetAssetDescription_Object;
841
+ name: string;
842
+ uuid: string;
778
843
  };
779
844
  export type GetAssetDescription_PointCloud = {
780
- format: "invalid" | "xyz32" | "xyz32_rgb8";
845
+ format: StrictUnion<0 | 1 | 2>;
846
+ name: string;
781
847
  payloadTotalSize: number;
782
848
  pointCount: number;
783
849
  scale?: Array<number>;
784
850
  translation?: Array<number>;
851
+ uuid: string;
852
+ };
853
+ export type GetAssetDescription_RenderGraph = {
854
+ blendStates: Array<GetAssetDescription_Object>;
855
+ defaultRenderTargetIndex?: number;
856
+ graphOrder: Array<Array<number>>;
857
+ inputDescriptor: Array<GetAssetDescription_Object>;
858
+ name: string;
859
+ nodeDataDescriptions: Array<GetAssetDescription_Object>;
860
+ occlusionInputDepthRenderTargetIndex?: number;
861
+ renderPassDescriptions: Array<GetAssetDescription_Object>;
862
+ renderTargetDescriptions: Array<GetAssetDescription_Object>;
863
+ stencilStates: Array<GetAssetDescription_Object>;
864
+ uuid: string;
785
865
  };
786
866
  export type GetAssetDescription_Scene = {
787
867
  aabb: GetAssetDescription_Aabb;
788
- animationSequenceInstances?: Array<GetAssetDescription_Object>;
789
868
  entities: Array<object>;
869
+ name: string;
790
870
  settings?: object;
791
871
  triangleCount: number;
872
+ uuid: string;
792
873
  };
793
874
  export type GetAssetDescription_Aabb = {
794
875
  max: Array<number>;
@@ -796,73 +877,86 @@ export type GetAssetDescription_Aabb = {
796
877
  };
797
878
  export type GetAssetDescription_Script = {
798
879
  eventNames: Array<string>;
799
- inputDescriptor?: object;
880
+ inputDescriptor?: Array<GetAssetDescription_Object>;
881
+ name: string;
800
882
  subScripts?: Array<string>;
883
+ uuid: string;
801
884
  };
802
885
  export type GetAssetDescription_Shader = {
803
- blendMode?: "invalid" | "opaque" | "alpha_blended" | "masked";
886
+ blendMode?: StrictUnion<0 | 1 | 2 | 3>;
804
887
  localGroupCount?: Array<number>;
805
- materialDescriptor?: object;
888
+ materialDescriptor?: Array<GetAssetDescription_Object>;
806
889
  moduleDescriptions?: Array<GetAssetDescription_Object>;
807
- nodeDataDescriptor?: object;
890
+ name: string;
891
+ nodeDataDescriptor?: Array<GetAssetDescription_Object>;
808
892
  optGlobalGroupMultiplier?: Array<number>;
809
- optGlobalGroupReference?: "render_target_automatic_split" | "render_target_exact" | "output_render_target_exact" | "instances_buffer" | "point_cloud_input_buffer";
893
+ optGlobalGroupReference?: StrictUnion<0 | 1 | 2 | 3 | 4>;
810
894
  payloadSize: number;
811
895
  shaderStages?: number;
896
+ uuid: string;
812
897
  vertexDescriptor?: Array<GetAssetDescription_Object>;
813
898
  };
814
899
  export type GetAssetDescription_Skeleton = {
815
900
  bones: Array<GetAssetDescription_Object>;
901
+ name: string;
816
902
  payloadSize: number;
903
+ uuid: string;
817
904
  };
818
905
  export type GetAssetDescription_Sound = {
819
906
  bitDepth: number;
820
907
  channelCount: number;
821
908
  durationInMs: number;
909
+ name: string;
822
910
  payloadSize: number;
823
911
  sampleCount: number;
824
912
  sampleFrequencyInHz: number;
913
+ uuid: string;
825
914
  };
826
915
  export type GetAssetDescription_Texture = {
827
- format: "invalid" | "r8s" | "r8u" | "r16s" | "r16u" | "bc1" | "bc1a" | "bc2" | "bc3" | "bc3n" | "bc4" | "bc5" | "bc6" | "bc7" | "rgba8";
916
+ format: StrictUnion<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14> & any;
828
917
  mips: Array<GetAssetDescription_Object>;
918
+ name: string;
829
919
  payloadTotalSize: number;
920
+ uuid: string;
830
921
  };
831
922
  export type GetAssetDescription_Texture_1D = {
832
- format: "invalid" | "r8s" | "r8u" | "r16s" | "r16u" | "bc1" | "bc1a" | "bc2" | "bc3" | "bc3n" | "bc4" | "bc5" | "bc6" | "bc7" | "rgba8";
923
+ format: StrictUnion<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14> & any;
833
924
  mips: Array<GetAssetDescription_Object>;
925
+ name: string;
834
926
  payloadTotalSize: number;
927
+ uuid: string;
835
928
  };
836
929
  export type GetAssetDescription_Texture_3D = {
837
- format: "invalid" | "r8s" | "r8u" | "r16s" | "r16u" | "bc1" | "bc1a" | "bc2" | "bc3" | "bc3n" | "bc4" | "bc5" | "bc6" | "bc7" | "rgba8";
930
+ format: StrictUnion<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14> & any;
838
931
  mips: Array<GetAssetDescription_Object>;
932
+ name: string;
839
933
  payloadTotalSize: number;
934
+ uuid: string;
840
935
  voxelDimensions?: Array<number>;
841
936
  };
842
937
  export type GetAssetDescription_VolumeMaterial = {
843
938
  albedoLUT?: Array<GetAssetDescription_Object>;
844
939
  metallicLUT?: Array<GetAssetDescription_Object>;
940
+ name: string;
845
941
  opacityLUT?: Array<GetAssetDescription_Object>;
846
942
  rangeMax: number;
847
943
  rangeMin: number;
848
944
  roughnessLUT?: Array<GetAssetDescription_Object>;
849
- };
850
- export type GetAssetDescription__index_AssetDescription_AssetDescription = {
851
- name: string;
852
945
  uuid: string;
853
946
  };
854
947
  export declare function getAssetDescription({ asset_container, asset_id }: {
855
948
  asset_container: "action_maps" | "algorithms" | "animations" | "animation_graphs" | "animation_sequences" | "animation_sets" | "collision_geometries" | "cubemaps" | "event_maps" | "materials" | "meshes" | "modules" | "point_clouds" | "render_graphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "textures_1d" | "textures_3d" | "volume_materials";
856
949
  asset_id: string;
857
- }): AxiosPromise<StrictUnion<GetAssetDescription_ActionMap | GetAssetDescription_Algorithm | GetAssetDescription_Animation | GetAssetDescription_AnimationGraph | GetAssetDescription_AnimationSequence | GetAssetDescription_AnimationSet | GetAssetDescription_CollisionGeometry | GetAssetDescription_Cubemap | GetAssetDescription_EventMap | GetAssetDescription_Material | GetAssetDescription_Mesh | GetAssetDescription_Module | GetAssetDescription_PointCloud | GetAssetDescription_Scene | GetAssetDescription_Script | GetAssetDescription_Shader | GetAssetDescription_Skeleton | GetAssetDescription_Sound | GetAssetDescription_Texture | GetAssetDescription_Texture_1D | GetAssetDescription_Texture_3D | GetAssetDescription_VolumeMaterial> & GetAssetDescription__index_AssetDescription_AssetDescription>;
950
+ }): AxiosPromise<StrictUnion<GetAssetDescription_ActionMap | GetAssetDescription_Algorithm | GetAssetDescription_Animation | GetAssetDescription_AnimationGraph | GetAssetDescription_AnimationSequence | GetAssetDescription_AnimationSet | GetAssetDescription_CollisionGeometry | GetAssetDescription_Cubemap | GetAssetDescription_EventMap | GetAssetDescription_Material | GetAssetDescription_Mesh | GetAssetDescription_Module | GetAssetDescription_PointCloud | GetAssetDescription_RenderGraph | GetAssetDescription_Scene | GetAssetDescription_Script | GetAssetDescription_Shader | GetAssetDescription_Skeleton | GetAssetDescription_Sound | GetAssetDescription_Texture | GetAssetDescription_Texture_1D | GetAssetDescription_Texture_3D | GetAssetDescription_VolumeMaterial>>;
858
951
  export declare function renameAsset({ asset_container, asset_id, name }: {
859
952
  asset_container: "action_maps" | "algorithms" | "animations" | "animation_graphs" | "animation_sequences" | "animation_sets" | "collision_geometries" | "cubemaps" | "event_maps" | "materials" | "meshes" | "modules" | "point_clouds" | "render_graphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "textures_1d" | "textures_3d" | "volume_materials";
860
953
  asset_id: string;
861
954
  name?: string;
862
955
  }): Promise<import("axios").AxiosResponse<any, any>>;
863
- export declare function getAssetPayload({ asset_container_with_payload, asset_id }: {
956
+ export declare function getAssetPayload({ asset_container_with_payload, asset_id, sub_resource }: {
864
957
  asset_container_with_payload: "animations" | "animation_sequences" | "collision_geometries" | "meshes" | "point_clouds" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "textures_1d" | "textures_3d";
865
958
  asset_id: string;
959
+ sub_resource?: StrictUnion<string | 'histogram' | 'position' | 'color'>;
866
960
  }): AxiosPromise<ArrayBuffer>;
867
961
  export declare function getAssetHistory({ asset_container, asset_id }: {
868
962
  asset_container: "action_maps" | "algorithms" | "animations" | "animation_graphs" | "animation_sequences" | "animation_sets" | "collision_geometries" | "cubemaps" | "event_maps" | "materials" | "meshes" | "modules" | "point_clouds" | "render_graphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "textures_1d" | "textures_3d" | "volume_materials";
@@ -931,6 +1025,351 @@ export type GetSceneAabb_Object = {
931
1025
  export declare function getSceneAABB({ scene_id }: {
932
1026
  scene_id: string;
933
1027
  }): AxiosPromise<GetSceneAabb_Object>;
1028
+ export type CreateEntity_animation_controller = {
1029
+ animation_controller: CreateEntity_AnimationController;
1030
+ };
1031
+ export type CreateEntity_AnimationController = {
1032
+ animationGraphRef: string;
1033
+ animationSetRef: string;
1034
+ dataJSON: object;
1035
+ rootBoneEntityRef: CreateEntity_EntityReference;
1036
+ rootMotionEnabled: boolean;
1037
+ };
1038
+ export type CreateEntity_EntityReference = {
1039
+ originalEUID: string;
1040
+ linkage: Array<string>;
1041
+ };
1042
+ export type CreateEntity_bone = {
1043
+ bone: CreateEntity_Bone;
1044
+ };
1045
+ export type CreateEntity_Bone = {
1046
+ boneIndex: number;
1047
+ };
1048
+ export type CreateEntity_box_geometry = {
1049
+ box_geometry: CreateEntity_BoxGeometry;
1050
+ };
1051
+ export type CreateEntity_BoxGeometry = {
1052
+ dimension?: Array<number>;
1053
+ isAdditive?: boolean;
1054
+ offset?: Array<number>;
1055
+ };
1056
+ export type CreateEntity_camera = {
1057
+ camera: CreateEntity_Camera;
1058
+ };
1059
+ export type CreateEntity_Camera = {
1060
+ renderGraphRef: string;
1061
+ renderTargetIndex?: number;
1062
+ dataJSON: object;
1063
+ };
1064
+ export type CreateEntity_capsule_geometry = {
1065
+ capsule_geometry: CreateEntity_CapsuleGeometry;
1066
+ };
1067
+ export type CreateEntity_CapsuleGeometry = {
1068
+ radius?: number;
1069
+ height?: number;
1070
+ axis?: number;
1071
+ isAdditive?: boolean;
1072
+ offset?: Array<number>;
1073
+ };
1074
+ export type CreateEntity_character_controller = {
1075
+ character_controller: CreateEntity_CharacterController;
1076
+ };
1077
+ export type CreateEntity_CharacterController = {
1078
+ stepOffset?: number;
1079
+ slopeLimit?: number;
1080
+ skinWidth?: number;
1081
+ velocity?: Array<number>;
1082
+ };
1083
+ export type CreateEntity_collision_geometry_ref = {
1084
+ collision_geometry_ref: CreateEntity_CollisionGeometryRef;
1085
+ };
1086
+ export type CreateEntity_CollisionGeometryRef = {
1087
+ collisionGeometryRef: string;
1088
+ };
1089
+ export type CreateEntity_cylinder_geometry = {
1090
+ cylinder_geometry: CreateEntity_CylinderGeometry;
1091
+ };
1092
+ export type CreateEntity_CylinderGeometry = {
1093
+ radius?: number;
1094
+ height?: number;
1095
+ axis?: number;
1096
+ isAdditive?: boolean;
1097
+ offset?: Array<number>;
1098
+ };
1099
+ export type CreateEntity_debug_name = {
1100
+ debug_name: CreateEntity_Name;
1101
+ };
1102
+ export type CreateEntity_Name = {
1103
+ value: string;
1104
+ };
1105
+ export type CreateEntity_decal_projector = {
1106
+ decal_projector: CreateEntity_DecalProjector;
1107
+ };
1108
+ export type CreateEntity_DecalProjector = {
1109
+ zIndex?: number;
1110
+ };
1111
+ export type CreateEntity_environment = {
1112
+ environment: CreateEntity_Environment;
1113
+ };
1114
+ export type CreateEntity_Environment = {
1115
+ skyboxUUID: string;
1116
+ radianceUUID: string;
1117
+ irradianceUUID: string;
1118
+ };
1119
+ export type CreateEntity_joint = {
1120
+ joint: CreateEntity_Joint;
1121
+ };
1122
+ export type CreateEntity_Joint = {
1123
+ constrainee: CreateEntity_EntityReference;
1124
+ constrainer: CreateEntity_EntityReference;
1125
+ breakForce?: number;
1126
+ breakTorque?: number;
1127
+ };
1128
+ export type CreateEntity_lineage = {
1129
+ lineage: CreateEntity_Lineage;
1130
+ };
1131
+ export type CreateEntity_Lineage = {
1132
+ parentUUID: string;
1133
+ ordinal?: number;
1134
+ };
1135
+ export type CreateEntity_local_aabb = {
1136
+ local_aabb: CreateEntity_LocalAxisAlignedBoundingBox;
1137
+ };
1138
+ export type CreateEntity_LocalAxisAlignedBoundingBox = {
1139
+ min: Array<number>;
1140
+ max: Array<number>;
1141
+ };
1142
+ export type CreateEntity_local_transform = {
1143
+ local_transform: CreateEntity_Transform;
1144
+ };
1145
+ export type CreateEntity_Transform = {
1146
+ position?: Array<number>;
1147
+ orientation?: Array<number>;
1148
+ scale?: Array<number>;
1149
+ eulerOrientation?: Array<number>;
1150
+ globalEulerOrientation?: Array<number>;
1151
+ };
1152
+ export type CreateEntity_material = {
1153
+ material: CreateEntity_Material;
1154
+ };
1155
+ export type CreateEntity_Material = {
1156
+ shaderRef: string;
1157
+ transparencyMode: number;
1158
+ isDoubleSided: boolean;
1159
+ dataJSON: object;
1160
+ };
1161
+ export type CreateEntity_material_ref = {
1162
+ material_ref: CreateEntity_MaterialReference;
1163
+ };
1164
+ export type CreateEntity_MaterialReference = {
1165
+ value: string;
1166
+ faceCulling?: number;
1167
+ };
1168
+ export type CreateEntity_mesh_ref = {
1169
+ mesh_ref: CreateEntity_MeshReference;
1170
+ };
1171
+ export type CreateEntity_MeshReference = {
1172
+ value: string;
1173
+ submeshIndex?: number;
1174
+ };
1175
+ export type CreateEntity_orthographic_lens = {
1176
+ orthographic_lens: CreateEntity_OrthographicLens;
1177
+ };
1178
+ export type CreateEntity_OrthographicLens = {
1179
+ left?: number;
1180
+ right?: number;
1181
+ top?: number;
1182
+ bottom?: number;
1183
+ zNear?: number;
1184
+ zFar?: number;
1185
+ };
1186
+ export type CreateEntity_overrider = {
1187
+ overrider: CreateEntity_Overrider;
1188
+ };
1189
+ export type CreateEntity_Overrider = {
1190
+ deleter?: boolean;
1191
+ entityRef: CreateEntity_EntityReference;
1192
+ componentsToDetach: Array<number>;
1193
+ };
1194
+ export type CreateEntity_perspective_lens = {
1195
+ perspective_lens: CreateEntity_PerspectiveLens;
1196
+ };
1197
+ export type CreateEntity_PerspectiveLens = {
1198
+ aspectRatio?: number;
1199
+ fovy?: number;
1200
+ nearPlane?: number;
1201
+ farPlane?: number;
1202
+ };
1203
+ export type CreateEntity_physics_material = {
1204
+ physics_material: CreateEntity_PhysicsMaterial;
1205
+ };
1206
+ export type CreateEntity_PhysicsMaterial = {
1207
+ staticFriction?: number;
1208
+ dynamicFriction?: number;
1209
+ restitution?: number;
1210
+ isTrigger?: boolean;
1211
+ };
1212
+ export type CreateEntity_plane_geometry = {
1213
+ plane_geometry: CreateEntity_PlaneGeometry;
1214
+ };
1215
+ export type CreateEntity_PlaneGeometry = {
1216
+ distance?: number;
1217
+ normal?: Array<number>;
1218
+ };
1219
+ export type CreateEntity_point_cloud_ref = {
1220
+ point_cloud_ref: CreateEntity_PointCloudReference;
1221
+ };
1222
+ export type CreateEntity_PointCloudReference = {
1223
+ value: string;
1224
+ };
1225
+ export type CreateEntity_point_light = {
1226
+ point_light: CreateEntity_Light;
1227
+ };
1228
+ export type CreateEntity_Light = {
1229
+ color?: Array<number>;
1230
+ intensity?: number;
1231
+ range?: number;
1232
+ isDirectional?: boolean;
1233
+ isSun?: boolean;
1234
+ };
1235
+ export type CreateEntity_reflection_probe = {
1236
+ reflection_probe: CreateEntity_ReflectionProbe;
1237
+ };
1238
+ export type CreateEntity_ReflectionProbe = {
1239
+ offset?: Array<number>;
1240
+ nearDist?: number;
1241
+ farDist?: number;
1242
+ quality?: number;
1243
+ };
1244
+ export type CreateEntity_revolute_joint = {
1245
+ revolute_joint: CreateEntity_RevoluteJoint;
1246
+ };
1247
+ export type CreateEntity_RevoluteJoint = {
1248
+ axis?: Array<number>;
1249
+ anchor?: Array<number>;
1250
+ };
1251
+ export type CreateEntity_rigid_body = {
1252
+ rigid_body: CreateEntity_RigidBody;
1253
+ };
1254
+ export type CreateEntity_RigidBody = {
1255
+ mass?: number;
1256
+ linearDamping?: number;
1257
+ angularDamping?: number;
1258
+ friction?: number;
1259
+ rollingFriction?: number;
1260
+ spinningFriction?: number;
1261
+ restitution?: number;
1262
+ linearSleepingThreshold?: number;
1263
+ angularSleepingThreshold?: number;
1264
+ isKinematic?: boolean;
1265
+ };
1266
+ export type CreateEntity_scene_ref = {
1267
+ scene_ref: CreateEntity_SceneReference;
1268
+ };
1269
+ export type CreateEntity_SceneReference = {
1270
+ value: string;
1271
+ maxRecursionCount?: number;
1272
+ };
1273
+ export type CreateEntity_script_element = {
1274
+ script_element: CreateEntity_ScriptElement;
1275
+ };
1276
+ export type CreateEntity_ScriptElement = {
1277
+ scriptRef: string;
1278
+ dataJSON: object;
1279
+ };
1280
+ export type CreateEntity_script_map = {
1281
+ script_map: CreateEntity_ScriptMap;
1282
+ };
1283
+ export type CreateEntity_ScriptMap = {
1284
+ elements: object;
1285
+ };
1286
+ export type CreateEntity_shadow_caster = {
1287
+ shadow_caster: CreateEntity_ShadowCaster;
1288
+ };
1289
+ export type CreateEntity_ShadowCaster = {
1290
+ bias?: number;
1291
+ nearDist?: number;
1292
+ farDist?: number;
1293
+ quality?: number;
1294
+ cascadeSplitLambda?: number;
1295
+ cascadeMaxZ?: number;
1296
+ accumulateShadowCascades?: boolean;
1297
+ };
1298
+ export type CreateEntity_skeleton_ref = {
1299
+ skeleton_ref: CreateEntity_SkeletonReference;
1300
+ };
1301
+ export type CreateEntity_SkeletonReference = {
1302
+ value: string;
1303
+ };
1304
+ export type CreateEntity_sound_ref = {
1305
+ sound_ref: CreateEntity_SoundReference;
1306
+ };
1307
+ export type CreateEntity_SoundReference = {
1308
+ value: string;
1309
+ volume?: number;
1310
+ pan?: number;
1311
+ playSpeed?: number;
1312
+ looping?: boolean;
1313
+ };
1314
+ export type CreateEntity_sphere_geometry = {
1315
+ sphere_geometry: CreateEntity_SphereGeometry;
1316
+ };
1317
+ export type CreateEntity_SphereGeometry = {
1318
+ radius?: number;
1319
+ isAdditive?: boolean;
1320
+ offset?: Array<number>;
1321
+ };
1322
+ export type CreateEntity_spot_light = {
1323
+ spot_light: CreateEntity_SpotLight;
1324
+ };
1325
+ export type CreateEntity_SpotLight = {
1326
+ cutoff?: number;
1327
+ IESProfile: string;
1328
+ };
1329
+ export type CreateEntity_stereoscopic_lens = {
1330
+ stereoscopic_lens: CreateEntity_StereoscopicPerspectiveLens;
1331
+ };
1332
+ export type CreateEntity_StereoscopicPerspectiveLens = {
1333
+ angleLeft?: number;
1334
+ angleRight?: number;
1335
+ angleUp?: number;
1336
+ angleDown?: number;
1337
+ nearPlane?: number;
1338
+ farPlane?: number;
1339
+ aspectRatio?: number;
1340
+ };
1341
+ export type CreateEntity_tags = {
1342
+ tags: CreateEntity_Tags;
1343
+ };
1344
+ export type CreateEntity_Tags = {
1345
+ value: Array<string>;
1346
+ };
1347
+ export type CreateEntity_volume_filter = {
1348
+ volume_filter: CreateEntity_VolumeFilter;
1349
+ };
1350
+ export type CreateEntity_VolumeFilter = {
1351
+ range?: Array<number>;
1352
+ applyGaussianFiltering?: boolean;
1353
+ sampleUnfiltered?: boolean;
1354
+ enableMPR?: boolean;
1355
+ enable3D?: boolean;
1356
+ };
1357
+ export type CreateEntity_volume_material_ref = {
1358
+ volume_material_ref: CreateEntity_VolumeMaterialReference;
1359
+ };
1360
+ export type CreateEntity_VolumeMaterialReference = {
1361
+ value: string;
1362
+ };
1363
+ export type CreateEntity_volume_ref = {
1364
+ volume_ref: CreateEntity_VolumeReference;
1365
+ };
1366
+ export type CreateEntity_VolumeReference = {
1367
+ texture3dRef: string;
1368
+ };
1369
+ export declare function createEntity({ scene_id, entity_components }: {
1370
+ scene_id: string;
1371
+ entity_components: (CreateEntity_animation_controller | CreateEntity_bone | CreateEntity_box_geometry | CreateEntity_camera | CreateEntity_capsule_geometry | CreateEntity_character_controller | CreateEntity_collision_geometry_ref | CreateEntity_cylinder_geometry | CreateEntity_debug_name | CreateEntity_decal_projector | CreateEntity_environment | CreateEntity_joint | CreateEntity_lineage | CreateEntity_local_aabb | CreateEntity_local_transform | CreateEntity_material | CreateEntity_material_ref | CreateEntity_mesh_ref | CreateEntity_orthographic_lens | CreateEntity_overrider | CreateEntity_perspective_lens | CreateEntity_physics_material | CreateEntity_plane_geometry | CreateEntity_point_cloud_ref | CreateEntity_point_light | CreateEntity_reflection_probe | CreateEntity_revolute_joint | CreateEntity_rigid_body | CreateEntity_scene_ref | CreateEntity_script_element | CreateEntity_script_map | CreateEntity_shadow_caster | CreateEntity_skeleton_ref | CreateEntity_sound_ref | CreateEntity_sphere_geometry | CreateEntity_spot_light | CreateEntity_stereoscopic_lens | CreateEntity_tags | CreateEntity_volume_filter | CreateEntity_volume_material_ref | CreateEntity_volume_ref);
1372
+ }): AxiosPromise<any>;
934
1373
  export type GetEntity_animation_controller = {
935
1374
  animation_controller: GetEntity_AnimationController;
936
1375
  };
@@ -1633,6 +2072,9 @@ export declare function deleteEntity({ scene_id, entity_id }: {
1633
2072
  scene_id: string;
1634
2073
  entity_id: string;
1635
2074
  }): Promise<import("axios").AxiosResponse<any, any>>;
2075
+ export declare function getSceneSettings({ scene_id }: {
2076
+ scene_id: string;
2077
+ }): AxiosPromise<object>;
1636
2078
  export type GetRunningSessions_Filter = {
1637
2079
  user_id?: string;
1638
2080
  scene_id?: string;