@3dverse/api 0.3.5 → 0.4.0

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.
@@ -91,7 +91,7 @@ export type GetUserUploadTasks_UploadTask = {
91
91
  uploaded_at: string;
92
92
  uploaded_by: string;
93
93
  progress: number;
94
- downloadProgress?: number;
94
+ download_progress?: number;
95
95
  status: "waiting" | "downloading" | "pending" | "converting" | "error";
96
96
  conversion_tasks: Array<GetUserUploadTasks_ConversionTask>;
97
97
  };
@@ -337,7 +337,7 @@ export type GetUploadTasksInFolder_UploadTask = {
337
337
  uploaded_at: string;
338
338
  uploaded_by: string;
339
339
  progress: number;
340
- downloadProgress?: number;
340
+ download_progress?: number;
341
341
  status: "waiting" | "downloading" | "pending" | "converting" | "error";
342
342
  conversion_tasks: Array<GetUploadTasksInFolder_ConversionTask>;
343
343
  };
@@ -354,29 +354,35 @@ export declare function getUploadTasksInFolder({ folder_id, offset, limit }: {
354
354
  limit?: number;
355
355
  }): AxiosPromise<Array<GetUploadTasksInFolder_UploadTask>>;
356
356
  export type GetFolderAssets_Filter = {
357
- asset_type?: (Array<"animation" | "animationGraph" | "animationSequence" | "animationSet" | "cubemap" | "eventMap" | "material" | "mesh" | "pointCloud" | "renderGraph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "volumeMaterial"> | "animation" | "animationGraph" | "animationSequence" | "animationSet" | "cubemap" | "eventMap" | "material" | "mesh" | "pointCloud" | "renderGraph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "volumeMaterial");
357
+ 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");
358
358
  asset_name?: string;
359
359
  };
360
- export type GetFolderAssets_asset_list = {
361
- animations?: Array<GetFolderAssets_asset_item>;
362
- animationGraphs?: Array<GetFolderAssets_asset_item>;
363
- animationSequences?: Array<GetFolderAssets_asset_item>;
364
- animationSets?: Array<GetFolderAssets_asset_item>;
365
- cubemaps?: Array<GetFolderAssets_asset_item>;
366
- eventMaps?: Array<GetFolderAssets_asset_item>;
367
- materials?: Array<GetFolderAssets_asset_item>;
368
- meshes?: Array<GetFolderAssets_asset_item>;
369
- pointClouds?: Array<GetFolderAssets_asset_item>;
370
- renderGraphs?: Array<GetFolderAssets_asset_item>;
371
- scenes?: Array<GetFolderAssets_asset_item>;
372
- scripts?: Array<GetFolderAssets_asset_item>;
373
- shaders?: Array<GetFolderAssets_asset_item>;
374
- skeletons?: Array<GetFolderAssets_asset_item>;
375
- sounds?: Array<GetFolderAssets_asset_item>;
376
- textures?: Array<GetFolderAssets_asset_item>;
377
- volumeMaterials?: Array<GetFolderAssets_asset_item>;
378
- };
379
- export type GetFolderAssets_asset_item = {
360
+ export type GetFolderAssets__index_AssetList_AssetList = {
361
+ action_maps?: Array<GetFolderAssets_Object>;
362
+ algorithms?: Array<GetFolderAssets_Object>;
363
+ animation_graphs?: Array<GetFolderAssets_Object>;
364
+ animation_sequences?: Array<GetFolderAssets_Object>;
365
+ animation_sets?: Array<GetFolderAssets_Object>;
366
+ animations?: Array<GetFolderAssets_Object>;
367
+ collision_geometries?: Array<GetFolderAssets_Object>;
368
+ cubemaps?: Array<GetFolderAssets_Object>;
369
+ event_maps?: Array<GetFolderAssets_Object>;
370
+ materials?: Array<GetFolderAssets_Object>;
371
+ meshes?: Array<GetFolderAssets_Object>;
372
+ modules?: Array<GetFolderAssets_Object>;
373
+ point_clouds?: Array<GetFolderAssets_Object>;
374
+ render_graphs?: Array<GetFolderAssets_Object>;
375
+ scenes?: Array<GetFolderAssets_Object>;
376
+ scripts?: Array<GetFolderAssets_Object>;
377
+ shaders?: Array<GetFolderAssets_Object>;
378
+ skeletons?: Array<GetFolderAssets_Object>;
379
+ sounds?: Array<GetFolderAssets_Object>;
380
+ textures?: Array<GetFolderAssets_Object>;
381
+ textures_1d?: Array<GetFolderAssets_Object>;
382
+ textures_3d?: Array<GetFolderAssets_Object>;
383
+ volume_materials?: Array<GetFolderAssets_Object>;
384
+ };
385
+ export type GetFolderAssets_Object = {
380
386
  asset_id: string;
381
387
  name: string;
382
388
  };
@@ -385,7 +391,7 @@ export declare function getFolderAssets({ folder_id, offset, limit, filter }: {
385
391
  offset?: number;
386
392
  limit?: number;
387
393
  filter?: GetFolderAssets_Filter;
388
- }): AxiosPromise<GetFolderAssets_asset_list>;
394
+ }): AxiosPromise<GetFolderAssets__index_AssetList_AssetList>;
389
395
  export declare function moveAssets({ folder_id, assetIds }: {
390
396
  folder_id: string;
391
397
  assetIds: Array<string>;
@@ -399,7 +405,7 @@ export type CreateAsset_AssetDuplication = {
399
405
  options?: CreateAsset_DuplicationOptions;
400
406
  };
401
407
  export type CreateAsset_DuplicationOptions = {
402
- asset_types?: Array<"animation" | "animationGraph" | "animationSequence" | "animationSet" | "cubemap" | "eventMap" | "material" | "mesh" | "pointCloud" | "renderGraph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "volumeMaterial">;
408
+ 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">;
403
409
  max_depth?: number;
404
410
  };
405
411
  export type CreateAsset_AssetDuplicationResult = {
@@ -412,7 +418,7 @@ export type CreateAsset_SourceToCopyAssetIdMap = {
412
418
  };
413
419
  export declare function createAsset({ folder_id, asset_container_creatable, assetCreationOptions }: {
414
420
  folder_id: string;
415
- asset_container_creatable: "animationGraphs" | "animationSequences" | "cubemaps" | "eventMaps" | "materials" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "volumeMaterials";
421
+ asset_container_creatable: "action_maps" | "algorithms" | "animation_graphs" | "animation_sequences" | "cubemaps" | "event_maps" | "materials" | "modules" | "render_graphs" | "scenes" | "scripts" | "shaders" | "volume_materials";
416
422
  assetCreationOptions: StrictUnion<CreateAsset_NewAsset | CreateAsset_AssetDuplication>;
417
423
  }): AxiosPromise<CreateAsset_AssetDuplicationResult>;
418
424
  export type GetSessionsInFolder_Session = {
@@ -467,39 +473,45 @@ export declare function updateSourceFileDetails({ source_file_id, name }: {
467
473
  source_file_id: string;
468
474
  name?: string;
469
475
  }): Promise<import("axios").AxiosResponse<any, any>>;
470
- export type GetSourceFileAssets_asset_list = {
471
- animations?: Array<GetSourceFileAssets_asset_item>;
472
- animationGraphs?: Array<GetSourceFileAssets_asset_item>;
473
- animationSequences?: Array<GetSourceFileAssets_asset_item>;
474
- animationSets?: Array<GetSourceFileAssets_asset_item>;
475
- cubemaps?: Array<GetSourceFileAssets_asset_item>;
476
- eventMaps?: Array<GetSourceFileAssets_asset_item>;
477
- materials?: Array<GetSourceFileAssets_asset_item>;
478
- meshes?: Array<GetSourceFileAssets_asset_item>;
479
- pointClouds?: Array<GetSourceFileAssets_asset_item>;
480
- renderGraphs?: Array<GetSourceFileAssets_asset_item>;
481
- scenes?: Array<GetSourceFileAssets_asset_item>;
482
- scripts?: Array<GetSourceFileAssets_asset_item>;
483
- shaders?: Array<GetSourceFileAssets_asset_item>;
484
- skeletons?: Array<GetSourceFileAssets_asset_item>;
485
- sounds?: Array<GetSourceFileAssets_asset_item>;
486
- textures?: Array<GetSourceFileAssets_asset_item>;
487
- volumeMaterials?: Array<GetSourceFileAssets_asset_item>;
488
- };
489
- export type GetSourceFileAssets_asset_item = {
476
+ export type GetSourceFileAssets__index_AssetList_AssetList = {
477
+ action_maps?: Array<GetSourceFileAssets_Object>;
478
+ algorithms?: Array<GetSourceFileAssets_Object>;
479
+ animation_graphs?: Array<GetSourceFileAssets_Object>;
480
+ animation_sequences?: Array<GetSourceFileAssets_Object>;
481
+ animation_sets?: Array<GetSourceFileAssets_Object>;
482
+ animations?: Array<GetSourceFileAssets_Object>;
483
+ collision_geometries?: Array<GetSourceFileAssets_Object>;
484
+ cubemaps?: Array<GetSourceFileAssets_Object>;
485
+ event_maps?: Array<GetSourceFileAssets_Object>;
486
+ materials?: Array<GetSourceFileAssets_Object>;
487
+ meshes?: Array<GetSourceFileAssets_Object>;
488
+ modules?: Array<GetSourceFileAssets_Object>;
489
+ point_clouds?: Array<GetSourceFileAssets_Object>;
490
+ render_graphs?: Array<GetSourceFileAssets_Object>;
491
+ scenes?: Array<GetSourceFileAssets_Object>;
492
+ scripts?: Array<GetSourceFileAssets_Object>;
493
+ shaders?: Array<GetSourceFileAssets_Object>;
494
+ skeletons?: Array<GetSourceFileAssets_Object>;
495
+ sounds?: Array<GetSourceFileAssets_Object>;
496
+ textures?: Array<GetSourceFileAssets_Object>;
497
+ textures_1d?: Array<GetSourceFileAssets_Object>;
498
+ textures_3d?: Array<GetSourceFileAssets_Object>;
499
+ volume_materials?: Array<GetSourceFileAssets_Object>;
500
+ };
501
+ export type GetSourceFileAssets_Object = {
490
502
  asset_id: string;
491
503
  name: string;
492
504
  };
493
505
  export declare function getSourceFileAssets({ source_file_id }: {
494
506
  source_file_id: string;
495
- }): AxiosPromise<GetSourceFileAssets_asset_list>;
507
+ }): AxiosPromise<GetSourceFileAssets__index_AssetList_AssetList>;
496
508
  export type GetUploadTask_UploadTask = {
497
509
  upload_task_id: string;
498
510
  folder_id: string;
499
511
  uploaded_at: string;
500
512
  uploaded_by: string;
501
513
  progress: number;
502
- downloadProgress?: number;
514
+ download_progress?: number;
503
515
  status: "waiting" | "downloading" | "pending" | "converting" | "error";
504
516
  conversion_tasks: Array<GetUploadTask_ConversionTask>;
505
517
  };
@@ -513,38 +525,44 @@ export type GetUploadTask_ConversionTask = {
513
525
  export declare function getUploadTask({ upload_task_id }: {
514
526
  upload_task_id: string;
515
527
  }): AxiosPromise<GetUploadTask_UploadTask>;
516
- export type ListAssets_asset_list = {
517
- animations?: Array<ListAssets_asset_item>;
518
- animationGraphs?: Array<ListAssets_asset_item>;
519
- animationSequences?: Array<ListAssets_asset_item>;
520
- animationSets?: Array<ListAssets_asset_item>;
521
- cubemaps?: Array<ListAssets_asset_item>;
522
- eventMaps?: Array<ListAssets_asset_item>;
523
- materials?: Array<ListAssets_asset_item>;
524
- meshes?: Array<ListAssets_asset_item>;
525
- pointClouds?: Array<ListAssets_asset_item>;
526
- renderGraphs?: Array<ListAssets_asset_item>;
527
- scenes?: Array<ListAssets_asset_item>;
528
- scripts?: Array<ListAssets_asset_item>;
529
- shaders?: Array<ListAssets_asset_item>;
530
- skeletons?: Array<ListAssets_asset_item>;
531
- sounds?: Array<ListAssets_asset_item>;
532
- textures?: Array<ListAssets_asset_item>;
533
- volumeMaterials?: Array<ListAssets_asset_item>;
534
- };
535
- export type ListAssets_asset_item = {
528
+ export type ListAssets__index_AssetList_AssetList = {
529
+ action_maps?: Array<ListAssets_Object>;
530
+ algorithms?: Array<ListAssets_Object>;
531
+ animation_graphs?: Array<ListAssets_Object>;
532
+ animation_sequences?: Array<ListAssets_Object>;
533
+ animation_sets?: Array<ListAssets_Object>;
534
+ animations?: Array<ListAssets_Object>;
535
+ collision_geometries?: Array<ListAssets_Object>;
536
+ cubemaps?: Array<ListAssets_Object>;
537
+ event_maps?: Array<ListAssets_Object>;
538
+ materials?: Array<ListAssets_Object>;
539
+ meshes?: Array<ListAssets_Object>;
540
+ modules?: Array<ListAssets_Object>;
541
+ point_clouds?: Array<ListAssets_Object>;
542
+ render_graphs?: Array<ListAssets_Object>;
543
+ scenes?: Array<ListAssets_Object>;
544
+ scripts?: Array<ListAssets_Object>;
545
+ shaders?: Array<ListAssets_Object>;
546
+ skeletons?: Array<ListAssets_Object>;
547
+ sounds?: Array<ListAssets_Object>;
548
+ textures?: Array<ListAssets_Object>;
549
+ textures_1d?: Array<ListAssets_Object>;
550
+ textures_3d?: Array<ListAssets_Object>;
551
+ volume_materials?: Array<ListAssets_Object>;
552
+ };
553
+ export type ListAssets_Object = {
536
554
  asset_id: string;
537
555
  name: string;
538
556
  };
539
557
  export declare function listAssets({ offset, limit }: {
540
558
  offset?: number;
541
559
  limit?: number;
542
- }): AxiosPromise<ListAssets_asset_list>;
560
+ }): AxiosPromise<ListAssets__index_AssetList_AssetList>;
543
561
  export declare function deleteAssets({ assetIds }: {
544
562
  assetIds: Array<string>;
545
563
  }): Promise<import("axios").AxiosResponse<any, any>>;
546
564
  export declare function deleteAsset({ asset_container, asset_id }: {
547
- asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
565
+ 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";
548
566
  asset_id: string;
549
567
  }): Promise<import("axios").AxiosResponse<any, any>>;
550
568
  export type GetAssetSourceFile_SourceFile = {
@@ -555,32 +573,32 @@ export type GetAssetSourceFile_SourceFile = {
555
573
  size?: number;
556
574
  };
557
575
  export declare function getAssetSourceFile({ asset_container, asset_id }: {
558
- asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
576
+ 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";
559
577
  asset_id: string;
560
578
  }): AxiosPromise<GetAssetSourceFile_SourceFile>;
561
- export type GetAssetDetails_asset_details = {
562
- type: "animation" | "animationGraph" | "animationSequence" | "animationSet" | "cubemap" | "eventMap" | "material" | "mesh" | "pointCloud" | "renderGraph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "volumeMaterial";
579
+ export type GetAssetDetails__index_AssetDetails_AssetDetails = {
563
580
  asset_id: string;
564
- name: string;
581
+ contributors?: Array<GetAssetDetails_Contributor>;
565
582
  created_at?: string;
566
583
  created_by?: GetAssetDetails_Object;
567
584
  last_edited_at?: string;
568
585
  last_edited_by?: GetAssetDetails_Object;
569
- contributors?: Array<GetAssetDetails_UserContribution>;
586
+ name: string;
587
+ 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";
588
+ };
589
+ export type GetAssetDetails_Contributor = {
590
+ contribution_count: number;
591
+ user: GetAssetDetails_Object;
570
592
  };
571
593
  export type GetAssetDetails_Object = {
594
+ registered_at: string;
572
595
  user_id: string;
573
596
  username: string;
574
- registered_at?: string;
575
- };
576
- export type GetAssetDetails_UserContribution = {
577
- user: GetAssetDetails_Object;
578
- contribution_count: number;
579
597
  };
580
598
  export declare function getAssetDetails({ asset_container, asset_id }: {
581
- asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
599
+ 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";
582
600
  asset_id: string;
583
- }): AxiosPromise<GetAssetDetails_asset_details>;
601
+ }): AxiosPromise<GetAssetDetails__index_AssetDetails_AssetDetails>;
584
602
  export type GetAssetFolder_Folder = {
585
603
  folder_id: string;
586
604
  parent_folder_id?: string;
@@ -597,756 +615,224 @@ export type GetAssetFolder_Object = {
597
615
  registered_at?: string;
598
616
  };
599
617
  export declare function getAssetFolder({ asset_container, asset_id }: {
600
- asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
618
+ 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";
601
619
  asset_id: string;
602
620
  }): AxiosPromise<GetAssetFolder_Folder>;
603
621
  export type GetAssetDependencies_Filter = {
604
- asset_type?: "animation" | "animationGraph" | "animationSequence" | "animationSet" | "cubemap" | "eventMap" | "material" | "mesh" | "pointCloud" | "renderGraph" | "scene" | "script" | "shader" | "skeleton" | "sound" | "texture" | "volumeMaterial";
622
+ 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";
605
623
  };
606
624
  export type GetAssetDependencies_Flat = {
607
- animations?: Array<GetAssetDependencies_asset_item>;
608
- animationGraphs?: Array<GetAssetDependencies_asset_item>;
609
- animationSequences?: Array<GetAssetDependencies_asset_item>;
610
- animationSets?: Array<GetAssetDependencies_asset_item>;
611
- cubemaps?: Array<GetAssetDependencies_asset_item>;
612
- eventMaps?: Array<GetAssetDependencies_asset_item>;
613
- materials?: Array<GetAssetDependencies_asset_item>;
614
- meshes?: Array<GetAssetDependencies_asset_item>;
615
- pointClouds?: Array<GetAssetDependencies_asset_item>;
616
- renderGraphs?: Array<GetAssetDependencies_asset_item>;
617
- scenes?: Array<GetAssetDependencies_asset_item>;
618
- scripts?: Array<GetAssetDependencies_asset_item>;
619
- shaders?: Array<GetAssetDependencies_asset_item>;
620
- skeletons?: Array<GetAssetDependencies_asset_item>;
621
- sounds?: Array<GetAssetDependencies_asset_item>;
622
- textures?: Array<GetAssetDependencies_asset_item>;
623
- volumeMaterials?: Array<GetAssetDependencies_asset_item>;
624
- };
625
- export type GetAssetDependencies_asset_item = {
625
+ action_maps?: Array<GetAssetDependencies_Object>;
626
+ algorithms?: Array<GetAssetDependencies_Object>;
627
+ animation_graphs?: Array<GetAssetDependencies_Object>;
628
+ animation_sequences?: Array<GetAssetDependencies_Object>;
629
+ animation_sets?: Array<GetAssetDependencies_Object>;
630
+ animations?: Array<GetAssetDependencies_Object>;
631
+ collision_geometries?: Array<GetAssetDependencies_Object>;
632
+ cubemaps?: Array<GetAssetDependencies_Object>;
633
+ event_maps?: Array<GetAssetDependencies_Object>;
634
+ materials?: Array<GetAssetDependencies_Object>;
635
+ meshes?: Array<GetAssetDependencies_Object>;
636
+ modules?: Array<GetAssetDependencies_Object>;
637
+ point_clouds?: Array<GetAssetDependencies_Object>;
638
+ render_graphs?: Array<GetAssetDependencies_Object>;
639
+ scenes?: Array<GetAssetDependencies_Object>;
640
+ scripts?: Array<GetAssetDependencies_Object>;
641
+ shaders?: Array<GetAssetDependencies_Object>;
642
+ skeletons?: Array<GetAssetDependencies_Object>;
643
+ sounds?: Array<GetAssetDependencies_Object>;
644
+ textures?: Array<GetAssetDependencies_Object>;
645
+ textures_1d?: Array<GetAssetDependencies_Object>;
646
+ textures_3d?: Array<GetAssetDependencies_Object>;
647
+ volume_materials?: Array<GetAssetDependencies_Object>;
648
+ };
649
+ export type GetAssetDependencies_Object = {
626
650
  asset_id: string;
627
651
  name: string;
628
652
  };
653
+ export type GetAssetDependencies__index_AssetItem_AssetItem = {
654
+ asset_id: string;
655
+ name: string;
656
+ 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";
657
+ };
629
658
  export declare function getAssetDependencies({ asset_container, asset_id, format, depth, filter }: {
630
- asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
659
+ 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";
631
660
  asset_id: string;
632
661
  format?: StrictUnion<'flat' | 'graph'>;
633
662
  depth?: StrictUnion<'all' | 'direct'>;
634
663
  filter?: GetAssetDependencies_Filter;
635
- }): AxiosPromise<StrictUnion<GetAssetDependencies_Flat | Array<Array<GetAssetDependencies_asset_item>>>>;
636
- export type GetAssetReferences_Object = {
637
- body: GetAssetReferences_Object;
638
- };
664
+ }): AxiosPromise<(GetAssetDependencies_Flat | Array<Array<GetAssetDependencies__index_AssetItem_AssetItem>>)>;
639
665
  export declare function getAssetReferences({ asset_container, asset_id }: {
640
- asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
666
+ 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";
641
667
  asset_id: string;
642
- }): AxiosPromise<GetAssetReferences_Object>;
668
+ }): AxiosPromise<object>;
669
+ export type GetAssetDescription_ActionMap = {
670
+ actions: GetAssetDescription_Object;
671
+ };
672
+ export type GetAssetDescription_Object = {
673
+ [action_name: string]: object;
674
+ };
675
+ export type GetAssetDescription_Algorithm = {
676
+ inputDescriptor: Array<object>;
677
+ outputDescriptor: Array<object>;
678
+ };
643
679
  export type GetAssetDescription_Animation = {
680
+ animationEventTrack: GetAssetDescription_Object;
644
681
  durationInMs: number;
645
682
  payloadSize: number;
646
- animationEventTrack: GetAssetDescription_Object;
647
683
  skeletonRef?: string;
648
684
  };
649
- export type GetAssetDescription_Object = {
650
- eventNames?: Array<string>;
651
- eventTimeline?: Array<GetAssetDescription_animation_event>;
652
- };
653
- export type GetAssetDescription_animation_event = {
654
- eventIndex?: number;
655
- triggerTime?: number;
656
- triggerGlobally?: boolean;
657
- };
658
685
  export type GetAssetDescription_AnimationGraph = {
659
- stateMachines?: Array<GetAssetDescription_animation_state_machine_description>;
660
- inputDescriptor?: GetAssetDescription_Object;
661
- };
662
- export type GetAssetDescription_animation_state_machine_description = {
663
- states?: Array<GetAssetDescription_animation_state_description>;
664
- transitions?: Array<GetAssetDescription_transition_description>;
665
- };
666
- export type GetAssetDescription_animation_state_description = {
667
- name?: string;
668
- nodes?: Array<GetAssetDescription_animation_node_description>;
669
- transitionIndices?: Array<number>;
670
- };
671
- export type GetAssetDescription_animation_node_description = {
672
- nodeType?: "state_machine" | "playback" | "blendspace_1d" | "blendspace_2d" | "blend" | "random" | "ik_aim" | "ik_two_bone";
673
- inputs?: Array<number>;
674
- settings?: StrictUnion<GetAssetDescription_playback_settings_animation_settings | GetAssetDescription_blendspace_1d_settings_animation_settings | GetAssetDescription_blendspace_2d_settings_animation_settings | GetAssetDescription_blend_settings | GetAssetDescription_random_settings | GetAssetDescription_animation_state_machine_settings | GetAssetDescription_ik_two_bone_settings | GetAssetDescription_ik_aim_settings>;
675
- };
676
- export type GetAssetDescription_playback_settings_animation_settings = {
677
- playbackSpeed?: number;
678
- startOffset?: number;
679
- loop?: boolean;
680
- animationKey?: number;
681
- };
682
- export type GetAssetDescription_blendspace_1d_settings_animation_settings = {
683
- playbackSpeed?: number;
684
- startOffset?: number;
685
- loop?: boolean;
686
- controlPoints?: Array<GetAssetDescription_blend_axis>;
687
- horizontalAxis?: GetAssetDescription_Object;
688
- };
689
- export type GetAssetDescription_blend_axis = {
690
- name?: string;
691
- rangeMin?: number;
692
- rangeMax?: number;
693
- };
694
- export type GetAssetDescription_blendspace_2d_settings_animation_settings = {
695
- playbackSpeed?: number;
696
- startOffset?: number;
697
- loop?: boolean;
698
- controlPoints?: Array<GetAssetDescription_blend_axis>;
699
- horizontalAxis?: GetAssetDescription_Object;
700
- verticalAxis?: GetAssetDescription_Object;
701
- };
702
- export type GetAssetDescription_blend_settings = {
703
- weights?: Array<number>;
704
- boneIndices?: Array<number>;
705
- };
706
- export type GetAssetDescription_random_settings = {
707
- probabilities?: Array<number>;
708
- };
709
- export type GetAssetDescription_animation_state_machine_settings = {
710
- stateMachineIndex?: number;
711
- };
712
- export type GetAssetDescription_ik_two_bone_settings = {
713
- ws_poleVector?: Array<number>;
714
- targetId?: string;
715
- startJoint?: number;
716
- midJoint?: number;
717
- endJoint?: number;
718
- soften?: number;
719
- twistAngle?: number;
720
- weight?: number;
721
- };
722
- export type GetAssetDescription_ik_aim_settings = {
723
- targetNameId?: string;
724
- aimingBoneId?: string;
725
- chainLength?: number;
726
- eyesOffset?: Array<number>;
727
- chainWeight?: number;
728
- boneWeight?: number;
729
- };
730
- export type GetAssetDescription_transition_description = {
731
- durationInMs?: number;
732
- exitTime?: number;
733
- nextStateIndex?: number;
734
- condition?: string;
686
+ inputDescriptor: object;
687
+ stateMachines: Array<GetAssetDescription_Object>;
735
688
  };
736
689
  export type GetAssetDescription_AnimationSequence = {
737
- inputDescriptor: GetAssetDescription_Object;
690
+ inputDescriptor: object;
738
691
  };
739
692
  export type GetAssetDescription_AnimationSet = {
740
- animationSet: Array<GetAssetDescription_Object>;
741
693
  animationGraphUUID: string;
694
+ animationSet: GetAssetDescription_Object;
695
+ };
696
+ export type GetAssetDescription_CollisionGeometry = {
697
+ geometryType: StrictUnion<0 | 1>;
698
+ payloadSize: number;
742
699
  };
743
700
  export type GetAssetDescription_Cubemap = {
744
701
  faces: Array<string>;
745
702
  };
746
703
  export type GetAssetDescription_EventMap = {
747
- eventDescriptors: Array<GetAssetDescription_Object>;
704
+ eventDescriptors: GetAssetDescription_Object;
748
705
  };
749
706
  export type GetAssetDescription_Material = {
707
+ dataJson: object;
708
+ isDoubleSided: boolean;
750
709
  shaderRef: string;
751
710
  skinnedShaderRef: string;
752
- dataJson: GetAssetDescription_Object;
753
- isDoubleSided: boolean;
754
711
  };
755
712
  export type GetAssetDescription_Mesh = {
756
- submeshes: Array<GetAssetDescription_submesh_description>;
757
- payloadSize: number;
758
- };
759
- export type GetAssetDescription_submesh_description = {
760
- boundingBox: GetAssetDescription_Object;
761
- channels: Array<GetAssetDescription_channel_description>;
762
713
  payloadSize: number;
763
- indexCount: number;
764
- vertexCount?: number;
714
+ submeshes: Array<GetAssetDescription_Object>;
765
715
  };
766
- export type GetAssetDescription_channel_description = {
767
- semantic?: "invalid" | "index" | "position" | "normal" | "uv" | "color" | "bone_id" | "weight";
768
- elementCount?: number;
769
- elementType?: "dt_signed" | "dt_unsigned" | "dt_float";
770
- elementSize?: number;
771
- dataOffset?: number;
772
- dataSize?: number;
716
+ export type GetAssetDescription_Module = {
717
+ functions: GetAssetDescription_Object;
773
718
  };
774
719
  export type GetAssetDescription_PointCloud = {
775
720
  format: "invalid" | "xyz32" | "xyz32_rgb8";
776
721
  payloadTotalSize: number;
777
722
  pointCount: number;
778
- translation?: Array<number>;
779
723
  scale?: Array<number>;
780
- };
781
- export type GetAssetDescription_RenderGraph = {
782
- renderTargetDescriptions?: Array<GetAssetDescription_render_target_description>;
783
- nodeDataDescriptions?: Array<GetAssetDescription_node_data_description>;
784
- renderPassDescriptions?: Array<GetAssetDescription_render_pass_description>;
785
- graphOrder?: Array<GetAssetDescription_pair_int16_int16>;
786
- inputDescriptor?: GetAssetDescription_Object;
787
- stencilStates?: Array<GetAssetDescription_VkStencilOpState>;
788
- blendStates?: Array<GetAssetDescription_VkPipelineColorBlendAttachmentState>;
789
- defaultRenderTargetIndex?: number;
790
- occlusionInputDepthRenderTargetIndex?: number;
791
- };
792
- export type GetAssetDescription_render_target_description = {
793
- name?: string;
794
- format?: GetAssetDescription_Object;
795
- sampleCount?: GetAssetDescription_Object;
796
- usage?: GetAssetDescription_Object;
797
- aspect?: GetAssetDescription_Object;
798
- samplerType?: number;
799
- mipLevels?: number;
800
- extent?: GetAssetDescription_Object;
801
- flags?: GetAssetDescription_Object;
802
- tiling?: GetAssetDescription_Object;
803
- memoryUsage?: GetAssetDescription_Object;
804
- memoryType?: GetAssetDescription_Object;
805
- };
806
- export type GetAssetDescription_node_data_description = {
807
- name?: string;
808
- frameNodeType?: "viewport" | "draw_batch" | "draw_batch_with_materials" | "dispatch_compute" | "blit_image" | "blit_image_pointer_to_dst" | "copy_image" | "resolve_image" | "node_draw_quad" | "generate_mip_chain" | "copy_to_cubemap" | "copy_to_light_cubemap" | "copy_to_reflection_cubemap" | "clear_images" | "timestamp" | "clear_point_cloud_buffer" | "draw_debug_lines" | "draw_skybox" | "draw_xr";
809
- inputDepthRenderTargetIndices?: Array<number>;
810
- outputDepthRenderTargetIndices?: Array<number>;
811
- inputRenderTargetIndices?: Array<number>;
812
- outputRenderTargetIndices?: Array<number>;
813
- shaderRef?: GetAssetDescription_Object;
814
- dataJson?: GetAssetDescription_Object;
815
- aliases?: Array<any>;
816
- batchType?: "opaque = 1 << 0" | "transparent = 1 << 1" | "static_meshes = 1 << 2" | "static_textured_meshes = 1 << 3" | "all_static_meshes = 1 << 4" | "skinned = 1 << 5" | "selected = 1 << 6" | "do_not_use_material = 1 << 7" | "double_sided = 1 << 8" | "single_sided = 1 << 9" | "pass_occlusion_test = 1 << 10";
817
- pipelineDescription?: GetAssetDescription_Object;
818
- copyToFaceIndex?: number;
819
- drawIndirect?: boolean;
820
- conditions?: Array<string>;
821
- clearColors?: Array<GetAssetDescription_vec4>;
822
- constDataType?: "none" | "material" | "skybox [[deprecated]]" | "debug" | "clear_ssao [[deprecated]]" | "ssao [[deprecated]]" | "blur [[deprecated]]" | "voxel" | "temporal_denoise [[deprecated]]" | "spatial_denoise [[deprecated]]" | "outline [[deprecated]]" | "bloom [[deprecated]]" | "atmosphere [[deprecated]]" | "ssr [[deprecated]]" | "compose_reflections [[deprecated]]" | "compose_outlines [[deprecated]]" | "compose_transparent [[deprecated]]" | "grid_quad [[deprecated]]" | "timestamp [[deprecated]]" | "volumetric_lighting [[deprecated]]" | "color_grading [[deprecated]]" | "exposure [[deprecated]]" | "minmip [[deprecated]]" | "gpu_occlusion_culling" | "cpu_occlusion_culling" | "edge_outline [[deprecated]]" | "point_cloud [[deprecated]]" | "downsample [[deprecated]]" | "upsample_combine [[deprecated]]";
823
- };
824
- export type GetAssetDescription_vec4 = {
825
- body: GetAssetDescription_Object;
826
- };
827
- export type GetAssetDescription_render_pass_description = {
828
- name?: string;
829
- sampleCount?: number;
830
- nodeIndices?: Array<number>;
831
- colorAttachmentIndices?: Array<number>;
832
- depthAttachmentIndex?: number;
833
- resolveAttachmentIndices?: Array<number>;
834
- colorAttachmentReferences?: Array<GetAssetDescription_VkAttachmentReference>;
835
- depthAttachmentReference?: GetAssetDescription_Object;
836
- resolveAttachmentReferences?: Array<GetAssetDescription_VkAttachmentReference>;
837
- attachmentDescriptions?: Array<GetAssetDescription_VkAttachmentDescription>;
838
- attachmentClearColors?: Array<GetAssetDescription_vec4>;
839
- };
840
- export type GetAssetDescription_VkAttachmentReference = {
841
- attachment?: number;
842
- layout?: GetAssetDescription_Object;
843
- };
844
- export type GetAssetDescription_VkAttachmentDescription = {
845
- flags?: GetAssetDescription_Object;
846
- format?: GetAssetDescription_Object;
847
- samples?: GetAssetDescription_Object;
848
- loadOp?: GetAssetDescription_Object;
849
- storeOp?: GetAssetDescription_Object;
850
- stencilLoadOp?: GetAssetDescription_Object;
851
- stencilStoreOp?: GetAssetDescription_Object;
852
- initialLayout?: GetAssetDescription_Object;
853
- finalLayout?: GetAssetDescription_Object;
854
- };
855
- export type GetAssetDescription_pair_int16_int16 = {
856
- body: GetAssetDescription_Object;
857
- };
858
- export type GetAssetDescription_VkStencilOpState = {
859
- failOp?: GetAssetDescription_Object;
860
- passOp?: GetAssetDescription_Object;
861
- depthFailOp?: GetAssetDescription_Object;
862
- compareOp?: GetAssetDescription_Object;
863
- compareMask?: number;
864
- writeMask?: number;
865
- reference?: number;
866
- };
867
- export type GetAssetDescription_VkPipelineColorBlendAttachmentState = {
868
- blendEnable?: boolean;
869
- srcColorBlendFactor?: GetAssetDescription_Object;
870
- dstColorBlendFactor?: GetAssetDescription_Object;
871
- colorBlendOp?: GetAssetDescription_Object;
872
- srcAlphaBlendFactor?: GetAssetDescription_Object;
873
- dstAlphaBlendFactor?: GetAssetDescription_Object;
874
- alphaBlendOp?: GetAssetDescription_Object;
875
- colorWriteMask?: GetAssetDescription_Object;
724
+ translation?: Array<number>;
876
725
  };
877
726
  export type GetAssetDescription_Scene = {
878
727
  aabb: GetAssetDescription_Aabb;
879
- entities: Array<GetAssetDescription_Entity>;
728
+ animationSequenceInstances?: Array<GetAssetDescription_Object>;
729
+ entities: Array<object>;
730
+ settings?: object;
880
731
  triangleCount: number;
881
- settings?: GetAssetDescription_Object;
882
- animationSequenceInstances?: Array<GetAssetDescription_animation_sequence_instance>;
883
732
  };
884
733
  export type GetAssetDescription_Aabb = {
885
- min: Array<number>;
886
734
  max: Array<number>;
887
- };
888
- export type GetAssetDescription_Entity = {
889
- entity: GetAssetDescription_Entity;
890
- };
891
- export type GetAssetDescription_animation_sequence_instance = {
892
- ref?: string;
893
- entities?: Array<string>;
894
- dataJSON?: GetAssetDescription_Object;
895
- durationInMs?: number;
896
- loop?: boolean;
735
+ min: Array<number>;
897
736
  };
898
737
  export type GetAssetDescription_Script = {
899
- inputDescriptor?: GetAssetDescription_Object;
900
738
  eventNames: Array<string>;
739
+ inputDescriptor?: object;
901
740
  subScripts?: Array<string>;
902
741
  };
903
742
  export type GetAssetDescription_Shader = {
904
- payloadSize: number;
905
- shaderStages?: number;
906
- moduleDescriptions?: Array<GetAssetDescription_shader_module_description>;
907
- materialDescriptor?: GetAssetDescription_Object;
908
- nodeDataDescriptor?: GetAssetDescription_Object;
909
- vertexDescriptor?: Array<GetAssetDescription_vertex_attribute_descriptor>;
910
743
  blendMode?: "invalid" | "opaque" | "alpha_blended" | "masked";
911
744
  localGroupCount?: Array<number>;
745
+ materialDescriptor?: object;
746
+ moduleDescriptions?: Array<GetAssetDescription_Object>;
747
+ nodeDataDescriptor?: object;
912
748
  optGlobalGroupMultiplier?: Array<number>;
913
749
  optGlobalGroupReference?: "render_target_automatic_split" | "render_target_exact" | "output_render_target_exact" | "instances_buffer" | "point_cloud_input_buffer";
914
- };
915
- export type GetAssetDescription_shader_module_description = {
916
- shaderStage?: GetAssetDescription_Object;
917
- payloadOffset?: number;
918
- payloadSize?: number;
919
- usedBindings?: number;
920
- };
921
- export type GetAssetDescription_vertex_attribute_descriptor = {
922
- semantic?: "position = 1 << 0" | "normal = 1 << 1" | "tex_coord = 1 << 2" | "skin_bone_ids = 1 << 3" | "skin_weights = 1 << 4" | "custom = 1 << 5";
923
- binding?: number;
924
- location?: number;
925
- stride?: number;
926
- format?: GetAssetDescription_Object;
927
- offset?: number;
750
+ payloadSize: number;
751
+ shaderStages?: number;
752
+ vertexDescriptor?: Array<GetAssetDescription_Object>;
928
753
  };
929
754
  export type GetAssetDescription_Skeleton = {
755
+ bones: Array<GetAssetDescription_Object>;
930
756
  payloadSize: number;
931
- bones: Array<GetAssetDescription_bone_description>;
932
- };
933
- export type GetAssetDescription_bone_description = {
934
- name?: string;
935
- childrenCount?: number;
936
- firstChildIndex?: number;
937
- parentIndex?: number;
938
- offsetMatrix?: Array<number>;
939
757
  };
940
758
  export type GetAssetDescription_Sound = {
759
+ bitDepth: number;
760
+ channelCount: number;
761
+ durationInMs: number;
941
762
  payloadSize: number;
942
763
  sampleCount: number;
943
- durationInMs: number;
944
764
  sampleFrequencyInHz: number;
945
- bitDepth: number;
946
- channelCount: number;
947
765
  };
948
766
  export type GetAssetDescription_Texture = {
949
767
  format: "invalid" | "r8s" | "r8u" | "r16s" | "r16u" | "bc1" | "bc1a" | "bc2" | "bc3" | "bc3n" | "bc4" | "bc5" | "bc6" | "bc7" | "rgba8";
768
+ mips: Array<GetAssetDescription_Object>;
950
769
  payloadTotalSize: number;
951
- mips: Array<GetAssetDescription_mip_description>;
952
770
  };
953
- export type GetAssetDescription_mip_description = {
954
- dimension?: Array<number>;
955
- payloadSize?: number;
771
+ export type GetAssetDescription_Texture_1D = {
772
+ format: "invalid" | "r8s" | "r8u" | "r16s" | "r16u" | "bc1" | "bc1a" | "bc2" | "bc3" | "bc3n" | "bc4" | "bc5" | "bc6" | "bc7" | "rgba8";
773
+ mips: Array<GetAssetDescription_Object>;
774
+ payloadTotalSize: number;
775
+ };
776
+ export type GetAssetDescription_Texture_3D = {
777
+ format: "invalid" | "r8s" | "r8u" | "r16s" | "r16u" | "bc1" | "bc1a" | "bc2" | "bc3" | "bc3n" | "bc4" | "bc5" | "bc6" | "bc7" | "rgba8";
778
+ mips: Array<GetAssetDescription_Object>;
779
+ payloadTotalSize: number;
780
+ voxelDimensions?: Array<number>;
956
781
  };
957
782
  export type GetAssetDescription_VolumeMaterial = {
958
- albedoLUT?: Array<GetAssetDescription_control_point>;
959
- opacityLUT?: Array<GetAssetDescription_control_point>;
960
- metallicLUT?: Array<GetAssetDescription_control_point>;
961
- roughnessLUT?: Array<GetAssetDescription_control_point>;
962
- rangeMin?: number;
963
- rangeMax?: number;
964
- };
965
- export type GetAssetDescription_control_point = {
966
- key?: number;
967
- value?: StrictUnion<Array<number> | number>;
968
- };
969
- export type GetAssetDescription_asset_description = {
970
- uuid: string;
783
+ albedoLUT?: Array<GetAssetDescription_Object>;
784
+ metallicLUT?: Array<GetAssetDescription_Object>;
785
+ opacityLUT?: Array<GetAssetDescription_Object>;
786
+ rangeMax: number;
787
+ rangeMin: number;
788
+ roughnessLUT?: Array<GetAssetDescription_Object>;
789
+ };
790
+ export type GetAssetDescription__index_AssetDescription_AssetDescription = {
971
791
  name: string;
792
+ uuid: string;
972
793
  };
973
794
  export declare function getAssetDescription({ asset_container, asset_id }: {
974
- asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
795
+ 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";
975
796
  asset_id: string;
976
- }): AxiosPromise<StrictUnion<GetAssetDescription_Animation | GetAssetDescription_AnimationGraph | GetAssetDescription_AnimationSequence | GetAssetDescription_AnimationSet | GetAssetDescription_Cubemap | GetAssetDescription_EventMap | GetAssetDescription_Material | GetAssetDescription_Mesh | GetAssetDescription_PointCloud | GetAssetDescription_RenderGraph | GetAssetDescription_Scene | GetAssetDescription_Script | GetAssetDescription_Shader | GetAssetDescription_Skeleton | GetAssetDescription_Sound | GetAssetDescription_Texture | GetAssetDescription_VolumeMaterial> & GetAssetDescription_asset_description>;
977
- export type UpdateAssetDescription_Animation = {
978
- durationInMs: number;
979
- payloadSize: number;
980
- animationEventTrack: UpdateAssetDescription_Object;
981
- skeletonRef?: string;
982
- };
983
- export type UpdateAssetDescription_Object = {
984
- eventNames?: Array<string>;
985
- eventTimeline?: Array<UpdateAssetDescription_animation_event>;
986
- };
987
- export type UpdateAssetDescription_animation_event = {
988
- eventIndex?: number;
989
- triggerTime?: number;
990
- triggerGlobally?: boolean;
991
- };
992
- export type UpdateAssetDescription_AnimationGraph = {
993
- stateMachines?: Array<UpdateAssetDescription_animation_state_machine_description>;
994
- inputDescriptor?: UpdateAssetDescription_Object;
995
- };
996
- export type UpdateAssetDescription_animation_state_machine_description = {
997
- states?: Array<UpdateAssetDescription_animation_state_description>;
998
- transitions?: Array<UpdateAssetDescription_transition_description>;
999
- };
1000
- export type UpdateAssetDescription_animation_state_description = {
1001
- name?: string;
1002
- nodes?: Array<UpdateAssetDescription_animation_node_description>;
1003
- transitionIndices?: Array<number>;
1004
- };
1005
- export type UpdateAssetDescription_animation_node_description = {
1006
- nodeType?: "state_machine" | "playback" | "blendspace_1d" | "blendspace_2d" | "blend" | "random" | "ik_aim" | "ik_two_bone";
1007
- inputs?: Array<number>;
1008
- settings?: StrictUnion<UpdateAssetDescription_playback_settings_animation_settings | UpdateAssetDescription_blendspace_1d_settings_animation_settings | UpdateAssetDescription_blendspace_2d_settings_animation_settings | UpdateAssetDescription_blend_settings | UpdateAssetDescription_random_settings | UpdateAssetDescription_animation_state_machine_settings | UpdateAssetDescription_ik_two_bone_settings | UpdateAssetDescription_ik_aim_settings>;
1009
- };
1010
- export type UpdateAssetDescription_playback_settings_animation_settings = {
1011
- playbackSpeed?: number;
1012
- startOffset?: number;
1013
- loop?: boolean;
1014
- animationKey?: number;
1015
- };
1016
- export type UpdateAssetDescription_blendspace_1d_settings_animation_settings = {
1017
- playbackSpeed?: number;
1018
- startOffset?: number;
1019
- loop?: boolean;
1020
- controlPoints?: Array<UpdateAssetDescription_blend_axis>;
1021
- horizontalAxis?: UpdateAssetDescription_Object;
1022
- };
1023
- export type UpdateAssetDescription_blend_axis = {
1024
- name?: string;
1025
- rangeMin?: number;
1026
- rangeMax?: number;
1027
- };
1028
- export type UpdateAssetDescription_blendspace_2d_settings_animation_settings = {
1029
- playbackSpeed?: number;
1030
- startOffset?: number;
1031
- loop?: boolean;
1032
- controlPoints?: Array<UpdateAssetDescription_blend_axis>;
1033
- horizontalAxis?: UpdateAssetDescription_Object;
1034
- verticalAxis?: UpdateAssetDescription_Object;
1035
- };
1036
- export type UpdateAssetDescription_blend_settings = {
1037
- weights?: Array<number>;
1038
- boneIndices?: Array<number>;
1039
- };
1040
- export type UpdateAssetDescription_random_settings = {
1041
- probabilities?: Array<number>;
1042
- };
1043
- export type UpdateAssetDescription_animation_state_machine_settings = {
1044
- stateMachineIndex?: number;
1045
- };
1046
- export type UpdateAssetDescription_ik_two_bone_settings = {
1047
- ws_poleVector?: Array<number>;
1048
- targetId?: string;
1049
- startJoint?: number;
1050
- midJoint?: number;
1051
- endJoint?: number;
1052
- soften?: number;
1053
- twistAngle?: number;
1054
- weight?: number;
1055
- };
1056
- export type UpdateAssetDescription_ik_aim_settings = {
1057
- targetNameId?: string;
1058
- aimingBoneId?: string;
1059
- chainLength?: number;
1060
- eyesOffset?: Array<number>;
1061
- chainWeight?: number;
1062
- boneWeight?: number;
1063
- };
1064
- export type UpdateAssetDescription_transition_description = {
1065
- durationInMs?: number;
1066
- exitTime?: number;
1067
- nextStateIndex?: number;
1068
- condition?: string;
1069
- };
1070
- export type UpdateAssetDescription_AnimationSequence = {
1071
- inputDescriptor: UpdateAssetDescription_Object;
1072
- };
1073
- export type UpdateAssetDescription_AnimationSet = {
1074
- animationSet: Array<UpdateAssetDescription_Object>;
1075
- animationGraphUUID: string;
1076
- };
1077
- export type UpdateAssetDescription_Cubemap = {
1078
- faces: Array<string>;
1079
- };
1080
- export type UpdateAssetDescription_EventMap = {
1081
- eventDescriptors: Array<UpdateAssetDescription_Object>;
1082
- };
1083
- export type UpdateAssetDescription_Material = {
1084
- shaderRef: string;
1085
- skinnedShaderRef: string;
1086
- dataJson: UpdateAssetDescription_Object;
1087
- isDoubleSided: boolean;
1088
- };
1089
- export type UpdateAssetDescription_Mesh = {
1090
- submeshes: Array<UpdateAssetDescription_submesh_description>;
1091
- payloadSize: number;
1092
- };
1093
- export type UpdateAssetDescription_submesh_description = {
1094
- boundingBox: UpdateAssetDescription_Object;
1095
- channels: Array<UpdateAssetDescription_channel_description>;
1096
- payloadSize: number;
1097
- indexCount: number;
1098
- vertexCount?: number;
1099
- };
1100
- export type UpdateAssetDescription_channel_description = {
1101
- semantic?: "invalid" | "index" | "position" | "normal" | "uv" | "color" | "bone_id" | "weight";
1102
- elementCount?: number;
1103
- elementType?: "dt_signed" | "dt_unsigned" | "dt_float";
1104
- elementSize?: number;
1105
- dataOffset?: number;
1106
- dataSize?: number;
1107
- };
1108
- export type UpdateAssetDescription_PointCloud = {
1109
- format: "invalid" | "xyz32" | "xyz32_rgb8";
1110
- payloadTotalSize: number;
1111
- pointCount: number;
1112
- translation?: Array<number>;
1113
- scale?: Array<number>;
1114
- };
1115
- export type UpdateAssetDescription_RenderGraph = {
1116
- renderTargetDescriptions?: Array<UpdateAssetDescription_render_target_description>;
1117
- nodeDataDescriptions?: Array<UpdateAssetDescription_node_data_description>;
1118
- renderPassDescriptions?: Array<UpdateAssetDescription_render_pass_description>;
1119
- graphOrder?: Array<UpdateAssetDescription_pair_int16_int16>;
1120
- inputDescriptor?: UpdateAssetDescription_Object;
1121
- stencilStates?: Array<UpdateAssetDescription_VkStencilOpState>;
1122
- blendStates?: Array<UpdateAssetDescription_VkPipelineColorBlendAttachmentState>;
1123
- defaultRenderTargetIndex?: number;
1124
- occlusionInputDepthRenderTargetIndex?: number;
1125
- };
1126
- export type UpdateAssetDescription_render_target_description = {
1127
- name?: string;
1128
- format?: UpdateAssetDescription_Object;
1129
- sampleCount?: UpdateAssetDescription_Object;
1130
- usage?: UpdateAssetDescription_Object;
1131
- aspect?: UpdateAssetDescription_Object;
1132
- samplerType?: number;
1133
- mipLevels?: number;
1134
- extent?: UpdateAssetDescription_Object;
1135
- flags?: UpdateAssetDescription_Object;
1136
- tiling?: UpdateAssetDescription_Object;
1137
- memoryUsage?: UpdateAssetDescription_Object;
1138
- memoryType?: UpdateAssetDescription_Object;
1139
- };
1140
- export type UpdateAssetDescription_node_data_description = {
1141
- name?: string;
1142
- frameNodeType?: "viewport" | "draw_batch" | "draw_batch_with_materials" | "dispatch_compute" | "blit_image" | "blit_image_pointer_to_dst" | "copy_image" | "resolve_image" | "node_draw_quad" | "generate_mip_chain" | "copy_to_cubemap" | "copy_to_light_cubemap" | "copy_to_reflection_cubemap" | "clear_images" | "timestamp" | "clear_point_cloud_buffer" | "draw_debug_lines" | "draw_skybox" | "draw_xr";
1143
- inputDepthRenderTargetIndices?: Array<number>;
1144
- outputDepthRenderTargetIndices?: Array<number>;
1145
- inputRenderTargetIndices?: Array<number>;
1146
- outputRenderTargetIndices?: Array<number>;
1147
- shaderRef?: UpdateAssetDescription_Object;
1148
- dataJson?: UpdateAssetDescription_Object;
1149
- aliases?: Array<any>;
1150
- batchType?: "opaque = 1 << 0" | "transparent = 1 << 1" | "static_meshes = 1 << 2" | "static_textured_meshes = 1 << 3" | "all_static_meshes = 1 << 4" | "skinned = 1 << 5" | "selected = 1 << 6" | "do_not_use_material = 1 << 7" | "double_sided = 1 << 8" | "single_sided = 1 << 9" | "pass_occlusion_test = 1 << 10";
1151
- pipelineDescription?: UpdateAssetDescription_Object;
1152
- copyToFaceIndex?: number;
1153
- drawIndirect?: boolean;
1154
- conditions?: Array<string>;
1155
- clearColors?: Array<UpdateAssetDescription_vec4>;
1156
- constDataType?: "none" | "material" | "skybox [[deprecated]]" | "debug" | "clear_ssao [[deprecated]]" | "ssao [[deprecated]]" | "blur [[deprecated]]" | "voxel" | "temporal_denoise [[deprecated]]" | "spatial_denoise [[deprecated]]" | "outline [[deprecated]]" | "bloom [[deprecated]]" | "atmosphere [[deprecated]]" | "ssr [[deprecated]]" | "compose_reflections [[deprecated]]" | "compose_outlines [[deprecated]]" | "compose_transparent [[deprecated]]" | "grid_quad [[deprecated]]" | "timestamp [[deprecated]]" | "volumetric_lighting [[deprecated]]" | "color_grading [[deprecated]]" | "exposure [[deprecated]]" | "minmip [[deprecated]]" | "gpu_occlusion_culling" | "cpu_occlusion_culling" | "edge_outline [[deprecated]]" | "point_cloud [[deprecated]]" | "downsample [[deprecated]]" | "upsample_combine [[deprecated]]";
1157
- };
1158
- export type UpdateAssetDescription_vec4 = {
1159
- body: UpdateAssetDescription_Object;
1160
- };
1161
- export type UpdateAssetDescription_render_pass_description = {
1162
- name?: string;
1163
- sampleCount?: number;
1164
- nodeIndices?: Array<number>;
1165
- colorAttachmentIndices?: Array<number>;
1166
- depthAttachmentIndex?: number;
1167
- resolveAttachmentIndices?: Array<number>;
1168
- colorAttachmentReferences?: Array<UpdateAssetDescription_VkAttachmentReference>;
1169
- depthAttachmentReference?: UpdateAssetDescription_Object;
1170
- resolveAttachmentReferences?: Array<UpdateAssetDescription_VkAttachmentReference>;
1171
- attachmentDescriptions?: Array<UpdateAssetDescription_VkAttachmentDescription>;
1172
- attachmentClearColors?: Array<UpdateAssetDescription_vec4>;
1173
- };
1174
- export type UpdateAssetDescription_VkAttachmentReference = {
1175
- attachment?: number;
1176
- layout?: UpdateAssetDescription_Object;
1177
- };
1178
- export type UpdateAssetDescription_VkAttachmentDescription = {
1179
- flags?: UpdateAssetDescription_Object;
1180
- format?: UpdateAssetDescription_Object;
1181
- samples?: UpdateAssetDescription_Object;
1182
- loadOp?: UpdateAssetDescription_Object;
1183
- storeOp?: UpdateAssetDescription_Object;
1184
- stencilLoadOp?: UpdateAssetDescription_Object;
1185
- stencilStoreOp?: UpdateAssetDescription_Object;
1186
- initialLayout?: UpdateAssetDescription_Object;
1187
- finalLayout?: UpdateAssetDescription_Object;
1188
- };
1189
- export type UpdateAssetDescription_pair_int16_int16 = {
1190
- body: UpdateAssetDescription_Object;
1191
- };
1192
- export type UpdateAssetDescription_VkStencilOpState = {
1193
- failOp?: UpdateAssetDescription_Object;
1194
- passOp?: UpdateAssetDescription_Object;
1195
- depthFailOp?: UpdateAssetDescription_Object;
1196
- compareOp?: UpdateAssetDescription_Object;
1197
- compareMask?: number;
1198
- writeMask?: number;
1199
- reference?: number;
1200
- };
1201
- export type UpdateAssetDescription_VkPipelineColorBlendAttachmentState = {
1202
- blendEnable?: boolean;
1203
- srcColorBlendFactor?: UpdateAssetDescription_Object;
1204
- dstColorBlendFactor?: UpdateAssetDescription_Object;
1205
- colorBlendOp?: UpdateAssetDescription_Object;
1206
- srcAlphaBlendFactor?: UpdateAssetDescription_Object;
1207
- dstAlphaBlendFactor?: UpdateAssetDescription_Object;
1208
- alphaBlendOp?: UpdateAssetDescription_Object;
1209
- colorWriteMask?: UpdateAssetDescription_Object;
1210
- };
1211
- export type UpdateAssetDescription_Scene = {
1212
- aabb: UpdateAssetDescription_Aabb;
1213
- entities: Array<UpdateAssetDescription_Entity>;
1214
- triangleCount: number;
1215
- settings?: UpdateAssetDescription_Object;
1216
- animationSequenceInstances?: Array<UpdateAssetDescription_animation_sequence_instance>;
1217
- };
1218
- export type UpdateAssetDescription_Aabb = {
1219
- min: Array<number>;
1220
- max: Array<number>;
1221
- };
1222
- export type UpdateAssetDescription_Entity = {
1223
- entity: UpdateAssetDescription_Entity;
1224
- };
1225
- export type UpdateAssetDescription_animation_sequence_instance = {
1226
- ref?: string;
1227
- entities?: Array<string>;
1228
- dataJSON?: UpdateAssetDescription_Object;
1229
- durationInMs?: number;
1230
- loop?: boolean;
1231
- };
1232
- export type UpdateAssetDescription_Script = {
1233
- inputDescriptor?: UpdateAssetDescription_Object;
1234
- eventNames: Array<string>;
1235
- subScripts?: Array<string>;
1236
- };
1237
- export type UpdateAssetDescription_Shader = {
1238
- payloadSize: number;
1239
- shaderStages?: number;
1240
- moduleDescriptions?: Array<UpdateAssetDescription_shader_module_description>;
1241
- materialDescriptor?: UpdateAssetDescription_Object;
1242
- nodeDataDescriptor?: UpdateAssetDescription_Object;
1243
- vertexDescriptor?: Array<UpdateAssetDescription_vertex_attribute_descriptor>;
1244
- blendMode?: "invalid" | "opaque" | "alpha_blended" | "masked";
1245
- localGroupCount?: Array<number>;
1246
- optGlobalGroupMultiplier?: Array<number>;
1247
- optGlobalGroupReference?: "render_target_automatic_split" | "render_target_exact" | "output_render_target_exact" | "instances_buffer" | "point_cloud_input_buffer";
1248
- };
1249
- export type UpdateAssetDescription_shader_module_description = {
1250
- shaderStage?: UpdateAssetDescription_Object;
1251
- payloadOffset?: number;
1252
- payloadSize?: number;
1253
- usedBindings?: number;
1254
- };
1255
- export type UpdateAssetDescription_vertex_attribute_descriptor = {
1256
- semantic?: "position = 1 << 0" | "normal = 1 << 1" | "tex_coord = 1 << 2" | "skin_bone_ids = 1 << 3" | "skin_weights = 1 << 4" | "custom = 1 << 5";
1257
- binding?: number;
1258
- location?: number;
1259
- stride?: number;
1260
- format?: UpdateAssetDescription_Object;
1261
- offset?: number;
1262
- };
1263
- export type UpdateAssetDescription_Skeleton = {
1264
- payloadSize: number;
1265
- bones: Array<UpdateAssetDescription_bone_description>;
1266
- };
1267
- export type UpdateAssetDescription_bone_description = {
1268
- name?: string;
1269
- childrenCount?: number;
1270
- firstChildIndex?: number;
1271
- parentIndex?: number;
1272
- offsetMatrix?: Array<number>;
1273
- };
1274
- export type UpdateAssetDescription_Sound = {
1275
- payloadSize: number;
1276
- sampleCount: number;
1277
- durationInMs: number;
1278
- sampleFrequencyInHz: number;
1279
- bitDepth: number;
1280
- channelCount: number;
1281
- };
1282
- export type UpdateAssetDescription_Texture = {
1283
- format: "invalid" | "r8s" | "r8u" | "r16s" | "r16u" | "bc1" | "bc1a" | "bc2" | "bc3" | "bc3n" | "bc4" | "bc5" | "bc6" | "bc7" | "rgba8";
1284
- payloadTotalSize: number;
1285
- mips: Array<UpdateAssetDescription_mip_description>;
1286
- };
1287
- export type UpdateAssetDescription_mip_description = {
1288
- dimension?: Array<number>;
1289
- payloadSize?: number;
1290
- };
1291
- export type UpdateAssetDescription_VolumeMaterial = {
1292
- albedoLUT?: Array<UpdateAssetDescription_control_point>;
1293
- opacityLUT?: Array<UpdateAssetDescription_control_point>;
1294
- metallicLUT?: Array<UpdateAssetDescription_control_point>;
1295
- roughnessLUT?: Array<UpdateAssetDescription_control_point>;
1296
- rangeMin?: number;
1297
- rangeMax?: number;
1298
- };
1299
- export type UpdateAssetDescription_control_point = {
1300
- key?: number;
1301
- value?: StrictUnion<Array<number> | number>;
1302
- };
1303
- export declare function updateAssetDescription({ asset_container, asset_id, assetDescription }: {
1304
- asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
797
+ }): 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>;
798
+ export declare function renameAsset({ asset_container, asset_id, name }: {
799
+ 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";
1305
800
  asset_id: string;
1306
- assetDescription: StrictUnion<UpdateAssetDescription_Animation | UpdateAssetDescription_AnimationGraph | UpdateAssetDescription_AnimationSequence | UpdateAssetDescription_AnimationSet | UpdateAssetDescription_Cubemap | UpdateAssetDescription_EventMap | UpdateAssetDescription_Material | UpdateAssetDescription_Mesh | UpdateAssetDescription_PointCloud | UpdateAssetDescription_RenderGraph | UpdateAssetDescription_Scene | UpdateAssetDescription_Script | UpdateAssetDescription_Shader | UpdateAssetDescription_Skeleton | UpdateAssetDescription_Sound | UpdateAssetDescription_Texture | UpdateAssetDescription_VolumeMaterial> & UpdateAssetDescription_Object;
801
+ name?: string;
1307
802
  }): Promise<import("axios").AxiosResponse<any, any>>;
1308
803
  export declare function getAssetPayload({ asset_container_with_payload, asset_id }: {
1309
- asset_container_with_payload: "animations" | "animationSequences" | "meshes" | "pointClouds" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures";
804
+ asset_container_with_payload: "animations" | "animation_sequences" | "collision_geometries" | "meshes" | "point_clouds" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "textures_1d" | "textures_3d";
1310
805
  asset_id: string;
1311
806
  }): AxiosPromise<ArrayBuffer>;
1312
- export type GetAssetHistory_Object = {
1313
- body: GetAssetHistory_Object;
1314
- };
1315
807
  export declare function getAssetHistory({ asset_container, asset_id }: {
1316
- asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
808
+ 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";
1317
809
  asset_id: string;
1318
- }): AxiosPromise<GetAssetHistory_Object>;
1319
- export type GetAssetMeta_Object = {
1320
- body: GetAssetMeta_Object;
1321
- };
810
+ }): AxiosPromise<object>;
1322
811
  export declare function getAssetMeta({ asset_container, asset_id }: {
1323
- asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
812
+ 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";
1324
813
  asset_id: string;
1325
- }): AxiosPromise<GetAssetMeta_Object>;
814
+ }): AxiosPromise<object>;
1326
815
  export declare function getAssetCode({ asset_container_with_code, asset_id }: {
1327
- asset_container_with_code: "animationSequences" | "scripts" | "shaders";
816
+ asset_container_with_code: "algorithms" | "animation_sequences" | "modules" | "scripts" | "shaders";
1328
817
  asset_id: string;
1329
818
  }): AxiosPromise<string>;
1330
819
  export declare function getAssetThumbnail({ asset_container, asset_id, size, default_url }: {
1331
- asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
820
+ 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";
1332
821
  asset_id: string;
1333
822
  size: "large" | "medium" | "small" | "tiny";
1334
823
  default_url?: string;
1335
824
  }): AxiosPromise<ArrayBuffer>;
1336
825
  export declare function setAssetThumbnail({ asset_container, asset_id, body }: {
1337
- asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
826
+ 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";
1338
827
  asset_id: string;
1339
828
  body: ArrayBuffer;
1340
829
  }, contentType: 'image/jpg' | 'image/png'): Promise<import("axios").AxiosResponse<any, any>>;
1341
- export type GetAssetCustomTypes_Object = {
1342
- body: GetAssetCustomTypes_Object;
1343
- };
1344
830
  export declare function getAssetCustomTypes({ asset_container_with_custom_types, asset_id }: {
1345
831
  asset_container_with_custom_types: "modules";
1346
832
  asset_id: string;
1347
- }): AxiosPromise<GetAssetCustomTypes_Object>;
833
+ }): AxiosPromise<object>;
1348
834
  export declare function packageAsset({ asset_container, asset_id }: {
1349
- asset_container: "animations" | "animationGraphs" | "animationSequences" | "animationSets" | "cubemaps" | "eventMaps" | "materials" | "meshes" | "pointClouds" | "renderGraphs" | "scenes" | "scripts" | "shaders" | "skeletons" | "sounds" | "textures" | "volumeMaterials";
835
+ 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";
1350
836
  asset_id: string;
1351
837
  }): AxiosPromise<ArrayBuffer>;
1352
838
  export declare function exportAsset({ asset_container_exportable, asset_id, format, scale }: {
@@ -1389,13 +875,10 @@ export type GetEntity_animation_controller = {
1389
875
  export type GetEntity_AnimationController = {
1390
876
  animationGraphRef: string;
1391
877
  animationSetRef: string;
1392
- dataJSON: GetEntity_Json;
878
+ dataJSON: object;
1393
879
  rootBoneEntityRef: GetEntity_EntityReference;
1394
880
  rootMotionEnabled: boolean;
1395
881
  };
1396
- export type GetEntity_Json = {
1397
- json: GetEntity_Json;
1398
- };
1399
882
  export type GetEntity_EntityReference = {
1400
883
  originalEUID: string;
1401
884
  linkage: Array<string>;
@@ -1420,7 +903,7 @@ export type GetEntity_camera = {
1420
903
  export type GetEntity_Camera = {
1421
904
  renderGraphRef: string;
1422
905
  renderTargetIndex?: number;
1423
- dataJSON: GetEntity_Json;
906
+ dataJSON: object;
1424
907
  };
1425
908
  export type GetEntity_capsule_geometry = {
1426
909
  capsule_geometry: GetEntity_CapsuleGeometry;
@@ -1517,7 +1000,7 @@ export type GetEntity_Material = {
1517
1000
  shaderRef: string;
1518
1001
  transparencyMode: number;
1519
1002
  isDoubleSided: boolean;
1520
- dataJSON: GetEntity_Json;
1003
+ dataJSON: object;
1521
1004
  };
1522
1005
  export type GetEntity_material_ref = {
1523
1006
  material_ref: GetEntity_MaterialReference;
@@ -1636,16 +1119,13 @@ export type GetEntity_script_element = {
1636
1119
  };
1637
1120
  export type GetEntity_ScriptElement = {
1638
1121
  scriptRef: string;
1639
- dataJSON: GetEntity_Json;
1122
+ dataJSON: object;
1640
1123
  };
1641
1124
  export type GetEntity_script_map = {
1642
1125
  script_map: GetEntity_ScriptMap;
1643
1126
  };
1644
1127
  export type GetEntity_ScriptMap = {
1645
- elements: GetEntity_MapScriptElement;
1646
- };
1647
- export type GetEntity_MapScriptElement = {
1648
- mapScriptElement: GetEntity_MapScriptElement;
1128
+ elements: object;
1649
1129
  };
1650
1130
  export type GetEntity_shadow_caster = {
1651
1131
  shadow_caster: GetEntity_ShadowCaster;
@@ -1659,7 +1139,7 @@ export type GetEntity_ShadowCaster = {
1659
1139
  cascadeMaxZ?: number;
1660
1140
  accumulateShadowCascades?: boolean;
1661
1141
  };
1662
- export type GetEntity_entity_components_skeleton_ref = {
1142
+ export type GetEntity_skeleton_ref = {
1663
1143
  skeleton_ref: GetEntity_SkeletonReference;
1664
1144
  };
1665
1145
  export type GetEntity_SkeletonReference = {
@@ -1740,20 +1220,17 @@ export declare function getEntity({ scene_id, entity_id, compute_global_transfor
1740
1220
  scene_id: string;
1741
1221
  entity_id: string;
1742
1222
  compute_global_transform?: boolean;
1743
- }): AxiosPromise<(GetEntity_animation_controller | GetEntity_bone | GetEntity_box_geometry | GetEntity_camera | GetEntity_capsule_geometry | GetEntity_character_controller | GetEntity_collision_geometry_ref | GetEntity_cylinder_geometry | GetEntity_debug_name | GetEntity_decal_projector | GetEntity_environment | GetEntity_joint | GetEntity_lineage | GetEntity_local_aabb | GetEntity_local_transform | GetEntity_material | GetEntity_material_ref | GetEntity_mesh_ref | GetEntity_orthographic_lens | GetEntity_overrider | GetEntity_perspective_lens | GetEntity_physics_material | GetEntity_plane_geometry | GetEntity_point_cloud_ref | GetEntity_point_light | GetEntity_reflection_probe | GetEntity_revolute_joint | GetEntity_rigid_body | GetEntity_scene_ref | GetEntity_script_element | GetEntity_script_map | GetEntity_shadow_caster | GetEntity_entity_components_skeleton_ref | GetEntity_sound_ref | GetEntity_sphere_geometry | GetEntity_spot_light | GetEntity_stereoscopic_lens | GetEntity_tags | GetEntity_volume_filter | GetEntity_volume_material_ref | GetEntity_volume_ref) & GetEntity_Entity>;
1223
+ }): AxiosPromise<(GetEntity_animation_controller | GetEntity_bone | GetEntity_box_geometry | GetEntity_camera | GetEntity_capsule_geometry | GetEntity_character_controller | GetEntity_collision_geometry_ref | GetEntity_cylinder_geometry | GetEntity_debug_name | GetEntity_decal_projector | GetEntity_environment | GetEntity_joint | GetEntity_lineage | GetEntity_local_aabb | GetEntity_local_transform | GetEntity_material | GetEntity_material_ref | GetEntity_mesh_ref | GetEntity_orthographic_lens | GetEntity_overrider | GetEntity_perspective_lens | GetEntity_physics_material | GetEntity_plane_geometry | GetEntity_point_cloud_ref | GetEntity_point_light | GetEntity_reflection_probe | GetEntity_revolute_joint | GetEntity_rigid_body | GetEntity_scene_ref | GetEntity_script_element | GetEntity_script_map | GetEntity_shadow_caster | GetEntity_skeleton_ref | GetEntity_sound_ref | GetEntity_sphere_geometry | GetEntity_spot_light | GetEntity_stereoscopic_lens | GetEntity_tags | GetEntity_volume_filter | GetEntity_volume_material_ref | GetEntity_volume_ref) & GetEntity_Entity>;
1744
1224
  export type UpdateEntity_animation_controller = {
1745
1225
  animation_controller: UpdateEntity_AnimationController;
1746
1226
  };
1747
1227
  export type UpdateEntity_AnimationController = {
1748
1228
  animationGraphRef: string;
1749
1229
  animationSetRef: string;
1750
- dataJSON: UpdateEntity_Json;
1230
+ dataJSON: object;
1751
1231
  rootBoneEntityRef: UpdateEntity_EntityReference;
1752
1232
  rootMotionEnabled: boolean;
1753
1233
  };
1754
- export type UpdateEntity_Json = {
1755
- json: UpdateEntity_Json;
1756
- };
1757
1234
  export type UpdateEntity_EntityReference = {
1758
1235
  originalEUID: string;
1759
1236
  linkage: Array<string>;
@@ -1778,7 +1255,7 @@ export type UpdateEntity_camera = {
1778
1255
  export type UpdateEntity_Camera = {
1779
1256
  renderGraphRef: string;
1780
1257
  renderTargetIndex?: number;
1781
- dataJSON: UpdateEntity_Json;
1258
+ dataJSON: object;
1782
1259
  };
1783
1260
  export type UpdateEntity_capsule_geometry = {
1784
1261
  capsule_geometry: UpdateEntity_CapsuleGeometry;
@@ -1875,7 +1352,7 @@ export type UpdateEntity_Material = {
1875
1352
  shaderRef: string;
1876
1353
  transparencyMode: number;
1877
1354
  isDoubleSided: boolean;
1878
- dataJSON: UpdateEntity_Json;
1355
+ dataJSON: object;
1879
1356
  };
1880
1357
  export type UpdateEntity_material_ref = {
1881
1358
  material_ref: UpdateEntity_MaterialReference;
@@ -1994,16 +1471,13 @@ export type UpdateEntity_script_element = {
1994
1471
  };
1995
1472
  export type UpdateEntity_ScriptElement = {
1996
1473
  scriptRef: string;
1997
- dataJSON: UpdateEntity_Json;
1474
+ dataJSON: object;
1998
1475
  };
1999
1476
  export type UpdateEntity_script_map = {
2000
1477
  script_map: UpdateEntity_ScriptMap;
2001
1478
  };
2002
1479
  export type UpdateEntity_ScriptMap = {
2003
- elements: UpdateEntity_MapScriptElement;
2004
- };
2005
- export type UpdateEntity_MapScriptElement = {
2006
- mapScriptElement: UpdateEntity_MapScriptElement;
1480
+ elements: object;
2007
1481
  };
2008
1482
  export type UpdateEntity_shadow_caster = {
2009
1483
  shadow_caster: UpdateEntity_ShadowCaster;
@@ -2017,7 +1491,7 @@ export type UpdateEntity_ShadowCaster = {
2017
1491
  cascadeMaxZ?: number;
2018
1492
  accumulateShadowCascades?: boolean;
2019
1493
  };
2020
- export type UpdateEntity_entity_components_skeleton_ref = {
1494
+ export type UpdateEntity_skeleton_ref = {
2021
1495
  skeleton_ref: UpdateEntity_SkeletonReference;
2022
1496
  };
2023
1497
  export type UpdateEntity_SkeletonReference = {
@@ -2091,7 +1565,7 @@ export type UpdateEntity_VolumeReference = {
2091
1565
  export declare function updateEntity({ scene_id, entity_id, entityComponents }: {
2092
1566
  scene_id: string;
2093
1567
  entity_id: string;
2094
- entityComponents: (UpdateEntity_animation_controller | UpdateEntity_bone | UpdateEntity_box_geometry | UpdateEntity_camera | UpdateEntity_capsule_geometry | UpdateEntity_character_controller | UpdateEntity_collision_geometry_ref | UpdateEntity_cylinder_geometry | UpdateEntity_debug_name | UpdateEntity_decal_projector | UpdateEntity_environment | UpdateEntity_joint | UpdateEntity_lineage | UpdateEntity_local_aabb | UpdateEntity_local_transform | UpdateEntity_material | UpdateEntity_material_ref | UpdateEntity_mesh_ref | UpdateEntity_orthographic_lens | UpdateEntity_overrider | UpdateEntity_perspective_lens | UpdateEntity_physics_material | UpdateEntity_plane_geometry | UpdateEntity_point_cloud_ref | UpdateEntity_point_light | UpdateEntity_reflection_probe | UpdateEntity_revolute_joint | UpdateEntity_rigid_body | UpdateEntity_scene_ref | UpdateEntity_script_element | UpdateEntity_script_map | UpdateEntity_shadow_caster | UpdateEntity_entity_components_skeleton_ref | UpdateEntity_sound_ref | UpdateEntity_sphere_geometry | UpdateEntity_spot_light | UpdateEntity_stereoscopic_lens | UpdateEntity_tags | UpdateEntity_volume_filter | UpdateEntity_volume_material_ref | UpdateEntity_volume_ref);
1568
+ entityComponents: (UpdateEntity_animation_controller | UpdateEntity_bone | UpdateEntity_box_geometry | UpdateEntity_camera | UpdateEntity_capsule_geometry | UpdateEntity_character_controller | UpdateEntity_collision_geometry_ref | UpdateEntity_cylinder_geometry | UpdateEntity_debug_name | UpdateEntity_decal_projector | UpdateEntity_environment | UpdateEntity_joint | UpdateEntity_lineage | UpdateEntity_local_aabb | UpdateEntity_local_transform | UpdateEntity_material | UpdateEntity_material_ref | UpdateEntity_mesh_ref | UpdateEntity_orthographic_lens | UpdateEntity_overrider | UpdateEntity_perspective_lens | UpdateEntity_physics_material | UpdateEntity_plane_geometry | UpdateEntity_point_cloud_ref | UpdateEntity_point_light | UpdateEntity_reflection_probe | UpdateEntity_revolute_joint | UpdateEntity_rigid_body | UpdateEntity_scene_ref | UpdateEntity_script_element | UpdateEntity_script_map | UpdateEntity_shadow_caster | UpdateEntity_skeleton_ref | UpdateEntity_sound_ref | UpdateEntity_sphere_geometry | UpdateEntity_spot_light | UpdateEntity_stereoscopic_lens | UpdateEntity_tags | UpdateEntity_volume_filter | UpdateEntity_volume_material_ref | UpdateEntity_volume_ref);
2095
1569
  }): Promise<import("axios").AxiosResponse<any, any>>;
2096
1570
  export declare function deleteEntity({ scene_id, entity_id }: {
2097
1571
  scene_id: string;