@3dverse/api 0.4.0 → 0.4.2

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.
@@ -316,11 +316,11 @@ export declare function uploadSourceFiles({ folder_id, body }: {
316
316
  body: FormData;
317
317
  }): AxiosPromise<UploadSourceFiles_Object>;
318
318
  export type GetSourceFilesInFolder_SourceFile = {
319
- source_file_id?: string;
320
- upload_task_id?: string;
321
- source_file_original_name?: string;
322
- name?: string;
323
- size?: number;
319
+ source_file_id: string;
320
+ upload_task_id: string;
321
+ source_file_original_name: string;
322
+ name: string;
323
+ size: number;
324
324
  };
325
325
  export declare function getSourceFilesInFolder({ folder_id, offset, limit }: {
326
326
  folder_id: string;
@@ -443,11 +443,11 @@ export declare function getSessionsInFolder({ folder_id }: {
443
443
  folder_id: string;
444
444
  }): AxiosPromise<Array<GetSessionsInFolder_Session>>;
445
445
  export type ListSourceFiles_SourceFile = {
446
- source_file_id?: string;
447
- upload_task_id?: string;
448
- source_file_original_name?: string;
449
- name?: string;
450
- size?: number;
446
+ source_file_id: string;
447
+ upload_task_id: string;
448
+ source_file_original_name: string;
449
+ name: string;
450
+ size: number;
451
451
  };
452
452
  export declare function listSourceFiles({ offset, limit }: {
453
453
  offset?: number;
@@ -460,18 +460,18 @@ export declare function downloadSourceFile({ source_file_id }: {
460
460
  source_file_id: string;
461
461
  }): AxiosPromise<ArrayBuffer>;
462
462
  export type GetSourceFileDetails_SourceFile = {
463
- source_file_id?: string;
464
- upload_task_id?: string;
465
- source_file_original_name?: string;
466
- name?: string;
467
- size?: number;
463
+ source_file_id: string;
464
+ upload_task_id: string;
465
+ source_file_original_name: string;
466
+ name: string;
467
+ size: number;
468
468
  };
469
469
  export declare function getSourceFileDetails({ source_file_id }: {
470
470
  source_file_id: string;
471
471
  }): AxiosPromise<GetSourceFileDetails_SourceFile>;
472
472
  export declare function updateSourceFileDetails({ source_file_id, name }: {
473
473
  source_file_id: string;
474
- name?: string;
474
+ name: string;
475
475
  }): Promise<import("axios").AxiosResponse<any, any>>;
476
476
  export type GetSourceFileAssets__index_AssetList_AssetList = {
477
477
  action_maps?: Array<GetSourceFileAssets_Object>;
@@ -566,11 +566,11 @@ export declare function deleteAsset({ asset_container, asset_id }: {
566
566
  asset_id: string;
567
567
  }): Promise<import("axios").AxiosResponse<any, any>>;
568
568
  export type GetAssetSourceFile_SourceFile = {
569
- source_file_id?: string;
570
- upload_task_id?: string;
571
- source_file_original_name?: string;
572
- name?: string;
573
- size?: number;
569
+ source_file_id: string;
570
+ upload_task_id: string;
571
+ source_file_original_name: string;
572
+ name: string;
573
+ size: number;
574
574
  };
575
575
  export declare function getAssetSourceFile({ asset_container, asset_id }: {
576
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";
@@ -711,7 +711,26 @@ export type GetAssetDescription_Material = {
711
711
  };
712
712
  export type GetAssetDescription_Mesh = {
713
713
  payloadSize: number;
714
- submeshes: Array<GetAssetDescription_Object>;
714
+ submeshes: Array<GetAssetDescription_Submesh>;
715
+ };
716
+ export type GetAssetDescription_Submesh = {
717
+ boundingBox: GetAssetDescription_BoundingBox;
718
+ channels: Array<GetAssetDescription_Channel>;
719
+ indexCount: number;
720
+ payloadSize: number;
721
+ vertexCount: number;
722
+ };
723
+ export type GetAssetDescription_BoundingBox = {
724
+ max: Array<number>;
725
+ min: Array<number>;
726
+ };
727
+ export type GetAssetDescription_Channel = {
728
+ dataOffset: number;
729
+ dataSize: number;
730
+ elementCount: number;
731
+ elementSize: number;
732
+ elementType: StrictUnion<0 | 1 | 2> & number;
733
+ semantic: "invalid" | "index" | "position" | "normal" | "uv" | "color" | "bone_id" | "weight";
715
734
  };
716
735
  export type GetAssetDescription_Module = {
717
736
  functions: GetAssetDescription_Object;