@3dverse/api 0.8.16 → 0.8.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -52,6 +52,15 @@ export type RegisterUser_User_UserInfo = {
52
52
  export declare function registerUser({ username, }: {
53
53
  username: string;
54
54
  }, headers?: AxiosRequestHeaders): AxiosPromise<RegisterUser_User_UserInfo>;
55
+ export type GetCurrentUser_User_UserInfo = {
56
+ user_id: string;
57
+ username: string;
58
+ registered_at: string;
59
+ };
60
+ /**
61
+ * Retrieves details about the current user.
62
+ */
63
+ export declare function getCurrentUser(headers?: AxiosRequestHeaders): AxiosPromise<GetCurrentUser_User_UserInfo>;
55
64
  export type GetUser_User_UserInfo = {
56
65
  user_id: string;
57
66
  username: string;
@@ -467,7 +476,7 @@ export declare function getUploadTasksInFolder({ folder_id, offset, limit, }: {
467
476
  }, headers?: AxiosRequestHeaders): AxiosPromise<Array<GetUploadTasksInFolder_UploadTask>>;
468
477
  export type GetFolderAssets_Filters = {
469
478
  asset_name?: string;
470
- asset_type?: Array<'action_map' | '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' | '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';
479
+ asset_type?: Array<'action_map' | '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'>;
471
480
  source_file?: Array<string> | string | 'exclude';
472
481
  };
473
482
  export type GetFolderAssets_AssetCount = {
@@ -828,7 +837,7 @@ export declare function getPipeline({ pipeline_id, }: {
828
837
  pipeline_id: string;
829
838
  }, headers?: AxiosRequestHeaders): AxiosPromise<GetPipeline_Pipeline>;
830
839
  export type ListAssets_Filter = {
831
- asset_type?: Array<'action_map' | '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' | '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';
840
+ asset_type?: Array<'action_map' | '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'>;
832
841
  asset_name?: string;
833
842
  include_public_assets?: boolean;
834
843
  };
@@ -1112,18 +1121,103 @@ export type GetAssetDescription_PointCloud = {
1112
1121
  uuid: string;
1113
1122
  };
1114
1123
  export type GetAssetDescription_RenderGraph = {
1115
- blendStates: Array<GetAssetDescription_Object>;
1124
+ blendStateDescriptions?: Array<GetAssetDescription_Object>;
1125
+ conditions?: Array<string>;
1116
1126
  defaultRenderTargetIndex?: number;
1117
1127
  graphOrder: Array<Array<number>>;
1118
1128
  inputDescriptor: Array<GetAssetDescription_Object>;
1119
1129
  name: string;
1120
- nodeDataDescriptions: Array<GetAssetDescription_Object>;
1130
+ nodeDataDescriptions: Array<StrictUnion<GetAssetDescription_Viewport | GetAssetDescription_DrawBatch | GetAssetDescription_DrawBatchWithMaterials | GetAssetDescription_DispatchCompute | GetAssetDescription_BlitImage | GetAssetDescription_CopyImage | GetAssetDescription_ResolveImage | GetAssetDescription_DrawFullscreen | GetAssetDescription_GenerateMipChain | GetAssetDescription_CopyToCubemapFace | GetAssetDescription_ClearImages | GetAssetDescription_FillBuffer | GetAssetDescription_DrawDebugLines | GetAssetDescription_DispatchDecalsCompute | GetAssetDescription_SetDepthBias | GetAssetDescription_DispatchRayTracing> & GetAssetDescription_Object>;
1121
1131
  occlusionInputDepthRenderTargetIndex?: number;
1122
1132
  renderPassDescriptions: Array<GetAssetDescription_Object>;
1123
1133
  renderTargetDescriptions: Array<GetAssetDescription_Object>;
1124
- stencilStates: Array<GetAssetDescription_Object>;
1134
+ stencilOpStateDescriptions?: Array<GetAssetDescription_Object>;
1125
1135
  uuid: string;
1126
1136
  };
1137
+ export type GetAssetDescription_Viewport = {
1138
+ type?: 0;
1139
+ };
1140
+ export type GetAssetDescription_DrawBatch = {
1141
+ batchType?: number;
1142
+ dataJson?: object;
1143
+ pipelineDescription?: GetAssetDescription_Object;
1144
+ shaderRef?: string;
1145
+ type?: 1;
1146
+ };
1147
+ export type GetAssetDescription_DrawBatchWithMaterials = {
1148
+ batchType?: number;
1149
+ dataJson?: object;
1150
+ pipelineDescription?: GetAssetDescription_Object;
1151
+ type?: 2;
1152
+ };
1153
+ export type GetAssetDescription_DispatchCompute = {
1154
+ constDataType?: StrictUnion<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24> & number;
1155
+ dataJson?: object;
1156
+ shaderRef?: string;
1157
+ type?: 3;
1158
+ };
1159
+ export type GetAssetDescription_BlitImage = {
1160
+ inputRenderTargetIndices?: Array<number>;
1161
+ outputRenderTargetIndices?: Array<number>;
1162
+ type?: 4;
1163
+ };
1164
+ export type GetAssetDescription_CopyImage = {
1165
+ inputRenderTargetIndices?: Array<number>;
1166
+ outputRenderTargetIndices?: Array<number>;
1167
+ type?: 6;
1168
+ };
1169
+ export type GetAssetDescription_ResolveImage = {
1170
+ inputRenderTargetIndices?: Array<number>;
1171
+ outputRenderTargetIndices?: Array<number>;
1172
+ type?: 7;
1173
+ };
1174
+ export type GetAssetDescription_DrawFullscreen = {
1175
+ dataJson?: object;
1176
+ pipelineDescription?: GetAssetDescription_Object;
1177
+ shaderRef?: string;
1178
+ type?: 8;
1179
+ };
1180
+ export type GetAssetDescription_GenerateMipChain = {
1181
+ inputRenderTargetIndices?: Array<number>;
1182
+ type?: 9;
1183
+ };
1184
+ export type GetAssetDescription_CopyToCubemapFace = {
1185
+ inputRenderTargetIndices?: Array<number>;
1186
+ type?: 10;
1187
+ };
1188
+ export type GetAssetDescription_ClearImages = {
1189
+ clearColors?: Array<Array<number>>;
1190
+ outputRenderTargetIndices?: Array<number>;
1191
+ type?: 13;
1192
+ };
1193
+ export type GetAssetDescription_FillBuffer = {
1194
+ bufferName?: string;
1195
+ bufferOffset?: number;
1196
+ bufferSize?: number;
1197
+ bufferValue?: number;
1198
+ type?: 15;
1199
+ };
1200
+ export type GetAssetDescription_DrawDebugLines = {
1201
+ dataJson?: object;
1202
+ pipelineDescription?: GetAssetDescription_Object;
1203
+ shaderRef?: string;
1204
+ type?: 16;
1205
+ };
1206
+ export type GetAssetDescription_DispatchDecalsCompute = {
1207
+ dataJson?: object;
1208
+ type?: 17;
1209
+ };
1210
+ export type GetAssetDescription_SetDepthBias = {
1211
+ depthBiasClamp?: number;
1212
+ depthBiasConstantFactor?: number;
1213
+ depthBiasSlopeFactor?: number;
1214
+ type?: 18;
1215
+ };
1216
+ export type GetAssetDescription_DispatchRayTracing = {
1217
+ dataJson?: object;
1218
+ shaderRef?: string;
1219
+ type?: 19;
1220
+ };
1127
1221
  export type GetAssetDescription_Scene = {
1128
1222
  aabb: GetAssetDescription_Aabb;
1129
1223
  entities: Array<object>;
@@ -1172,21 +1266,21 @@ export type GetAssetDescription_Sound = {
1172
1266
  uuid: string;
1173
1267
  };
1174
1268
  export type GetAssetDescription_Texture = {
1175
- format: StrictUnion<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14> & any;
1269
+ format: StrictUnion<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14> & number;
1176
1270
  mips: Array<GetAssetDescription_Object>;
1177
1271
  name: string;
1178
1272
  payloadTotalSize: number;
1179
1273
  uuid: string;
1180
1274
  };
1181
1275
  export type GetAssetDescription_Texture_1D = {
1182
- format: StrictUnion<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14> & any;
1276
+ format: StrictUnion<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14> & number;
1183
1277
  mips: Array<GetAssetDescription_Object>;
1184
1278
  name: string;
1185
1279
  payloadTotalSize: number;
1186
1280
  uuid: string;
1187
1281
  };
1188
1282
  export type GetAssetDescription_Texture_3D = {
1189
- format: StrictUnion<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14> & any;
1283
+ format: StrictUnion<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14> & number;
1190
1284
  mips: Array<GetAssetDescription_Object>;
1191
1285
  name: string;
1192
1286
  payloadTotalSize: number;
@@ -1206,16 +1300,136 @@ export type GetAssetDescription_VolumeMaterial = {
1206
1300
  /**
1207
1301
  * Gets the asset description from the specified asset.
1208
1302
  */
1209
- export declare function getAssetDescription({ asset_container, asset_id, }: {
1210
- asset_container: 'action_maps' | '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';
1303
+ export declare function getAssetDescription({ asset_id, asset_container, }: {
1211
1304
  asset_id: string;
1305
+ asset_container: 'action_maps' | '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';
1212
1306
  }, headers?: AxiosRequestHeaders): AxiosPromise<StrictUnion<GetAssetDescription_ActionMap | 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>>;
1307
+ export type UpdateAssetDescription_Cubemap = {
1308
+ faces: Array<string>;
1309
+ name: string;
1310
+ };
1311
+ export type UpdateAssetDescription_Material = {
1312
+ dataJson: object;
1313
+ isDoubleSided: boolean;
1314
+ name: string;
1315
+ shaderRef: string;
1316
+ };
1317
+ export type UpdateAssetDescription_RenderGraph = {
1318
+ blendStateDescriptions?: Array<UpdateAssetDescription_Object>;
1319
+ conditions?: Array<string>;
1320
+ defaultRenderTargetIndex?: number;
1321
+ graphOrder: Array<Array<number>>;
1322
+ inputDescriptor: Array<UpdateAssetDescription_Object>;
1323
+ name: string;
1324
+ nodeDataDescriptions: Array<StrictUnion<UpdateAssetDescription_Viewport | UpdateAssetDescription_DrawBatch | UpdateAssetDescription_DrawBatchWithMaterials | UpdateAssetDescription_DispatchCompute | UpdateAssetDescription_BlitImage | UpdateAssetDescription_CopyImage | UpdateAssetDescription_ResolveImage | UpdateAssetDescription_DrawFullscreen | UpdateAssetDescription_GenerateMipChain | UpdateAssetDescription_CopyToCubemapFace | UpdateAssetDescription_ClearImages | UpdateAssetDescription_FillBuffer | UpdateAssetDescription_DrawDebugLines | UpdateAssetDescription_DispatchDecalsCompute | UpdateAssetDescription_SetDepthBias | UpdateAssetDescription_DispatchRayTracing> & UpdateAssetDescription_Object>;
1325
+ occlusionInputDepthRenderTargetIndex?: number;
1326
+ renderPassDescriptions: Array<UpdateAssetDescription_Object>;
1327
+ renderTargetDescriptions: Array<UpdateAssetDescription_Object>;
1328
+ stencilOpStateDescriptions?: Array<UpdateAssetDescription_Object>;
1329
+ };
1330
+ export type UpdateAssetDescription_Object = {
1331
+ alphaBlendOp?: number;
1332
+ blendEnable?: boolean;
1333
+ colorBlendOp?: number;
1334
+ colorWriteMask?: number;
1335
+ dstAlphaBlendFactor?: number;
1336
+ dstColorBlendFactor?: number;
1337
+ srcAlphaBlendFactor?: number;
1338
+ srcColorBlendFactor?: number;
1339
+ };
1340
+ export type UpdateAssetDescription_Viewport = {
1341
+ type?: 0;
1342
+ };
1343
+ export type UpdateAssetDescription_DrawBatch = {
1344
+ batchType?: number;
1345
+ dataJson?: object;
1346
+ pipelineDescription?: UpdateAssetDescription_Object;
1347
+ type?: 1;
1348
+ };
1349
+ export type UpdateAssetDescription_DrawBatchWithMaterials = {
1350
+ batchType?: number;
1351
+ dataJson?: object;
1352
+ pipelineDescription?: UpdateAssetDescription_Object;
1353
+ type?: 2;
1354
+ };
1355
+ export type UpdateAssetDescription_DispatchCompute = {
1356
+ constDataType?: StrictUnion<0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24> & number;
1357
+ dataJson?: object;
1358
+ type?: 3;
1359
+ };
1360
+ export type UpdateAssetDescription_BlitImage = {
1361
+ inputRenderTargetIndices?: Array<number>;
1362
+ outputRenderTargetIndices?: Array<number>;
1363
+ type?: 4;
1364
+ };
1365
+ export type UpdateAssetDescription_CopyImage = {
1366
+ inputRenderTargetIndices?: Array<number>;
1367
+ outputRenderTargetIndices?: Array<number>;
1368
+ type?: 6;
1369
+ };
1370
+ export type UpdateAssetDescription_ResolveImage = {
1371
+ inputRenderTargetIndices?: Array<number>;
1372
+ outputRenderTargetIndices?: Array<number>;
1373
+ type?: 7;
1374
+ };
1375
+ export type UpdateAssetDescription_DrawFullscreen = {
1376
+ dataJson?: object;
1377
+ pipelineDescription?: UpdateAssetDescription_Object;
1378
+ type?: 8;
1379
+ };
1380
+ export type UpdateAssetDescription_GenerateMipChain = {
1381
+ inputRenderTargetIndices?: Array<number>;
1382
+ type?: 9;
1383
+ };
1384
+ export type UpdateAssetDescription_CopyToCubemapFace = {
1385
+ inputRenderTargetIndices?: Array<number>;
1386
+ type?: 10;
1387
+ };
1388
+ export type UpdateAssetDescription_ClearImages = {
1389
+ clearColors?: Array<Array<number>>;
1390
+ outputRenderTargetIndices?: Array<number>;
1391
+ type?: 13;
1392
+ };
1393
+ export type UpdateAssetDescription_FillBuffer = {
1394
+ bufferName?: string;
1395
+ bufferOffset?: number;
1396
+ bufferSize?: number;
1397
+ bufferValue?: number;
1398
+ type?: 15;
1399
+ };
1400
+ export type UpdateAssetDescription_DrawDebugLines = {
1401
+ dataJson?: object;
1402
+ pipelineDescription?: UpdateAssetDescription_Object;
1403
+ type?: 16;
1404
+ };
1405
+ export type UpdateAssetDescription_DispatchDecalsCompute = {
1406
+ dataJson?: object;
1407
+ type?: 17;
1408
+ };
1409
+ export type UpdateAssetDescription_SetDepthBias = {
1410
+ depthBiasClamp?: number;
1411
+ depthBiasConstantFactor?: number;
1412
+ depthBiasSlopeFactor?: number;
1413
+ type?: 18;
1414
+ };
1415
+ export type UpdateAssetDescription_DispatchRayTracing = {
1416
+ dataJson?: object;
1417
+ type?: 19;
1418
+ };
1419
+ /**
1420
+ * Updates the description of the specified asset.
1421
+ */
1422
+ export declare function updateAssetDescription({ asset_id, asset_container, asset_description, }: {
1423
+ asset_id: string;
1424
+ asset_container: 'materials' | 'cubemaps' | 'render_graphs';
1425
+ asset_description: StrictUnion<UpdateAssetDescription_Cubemap | UpdateAssetDescription_Material | UpdateAssetDescription_RenderGraph>;
1426
+ }, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any, {}>>;
1213
1427
  /**
1214
- * Updates asset description. Supports only updating name.
1428
+ * Renames the specified asset.
1215
1429
  */
1216
- export declare function renameAsset({ asset_container, asset_id, name, }: {
1217
- asset_container: 'action_maps' | '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';
1430
+ export declare function renameAsset({ asset_id, asset_container, name, }: {
1218
1431
  asset_id: string;
1432
+ asset_container: 'action_maps' | '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';
1219
1433
  name?: string;
1220
1434
  }, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any, {}>>;
1221
1435
  /**
@@ -1226,6 +1440,25 @@ export declare function getAssetPayload<T extends 'arraybuffer' | 'stream' | 'js
1226
1440
  asset_id: string;
1227
1441
  sub_resource?: StrictUnion<string | 'histogram' | 'position' | 'color'>;
1228
1442
  }, headers?: AxiosRequestHeaders, responseType?: T): AxiosPromise<T extends 'arraybuffer' ? ArrayBuffer : T extends 'json' ? object : T extends 'text' ? string : T extends 'stream' ? ReadableStream : never>;
1443
+ export type GetAssetGraph_AssetGraph = {
1444
+ uuid: string;
1445
+ [_additionalproperties_: string]: any;
1446
+ };
1447
+ /**
1448
+ * Gets the asset graph from the specified asset.
1449
+ */
1450
+ export declare function getAssetGraph({ asset_container_with_graph, asset_id, }: {
1451
+ asset_container_with_graph: 'render_graphs' | 'animation_graphs' | 'shaders' | 'scripts';
1452
+ asset_id: string;
1453
+ }, headers?: AxiosRequestHeaders): AxiosPromise<GetAssetGraph_AssetGraph>;
1454
+ /**
1455
+ * Creates or replaces asset graph for the specified asset.
1456
+ */
1457
+ export declare function updateAssetGraph({ asset_container_with_graph, asset_id, asset_graph, }: {
1458
+ asset_container_with_graph: 'render_graphs' | 'animation_graphs' | 'shaders' | 'scripts';
1459
+ asset_id: string;
1460
+ asset_graph: object;
1461
+ }, headers?: AxiosRequestHeaders): Promise<import("axios").AxiosResponse<any, any, {}>>;
1229
1462
  /**
1230
1463
  * Gets the asset history from the specified asset.
1231
1464
  */
@@ -2390,6 +2623,7 @@ export type GetSceneSettings__index_SceneSettings_SceneSettings = {
2390
2623
  default_camera_component?: GetSceneSettings_DefaultCameraComponent;
2391
2624
  default_camera_transform?: GetSceneSettings_DefaultCameraTransform;
2392
2625
  display?: GetSceneSettings_Display;
2626
+ encoder?: GetSceneSettings_Encoder;
2393
2627
  environment?: GetSceneSettings_Environment;
2394
2628
  misc?: GetSceneSettings_Miscellaneous;
2395
2629
  network?: GetSceneSettings_Network;
@@ -2427,7 +2661,10 @@ export type GetSceneSettings_Display = {
2427
2661
  forceRedraw?: boolean;
2428
2662
  framePersistence?: number;
2429
2663
  maxFPS?: StrictUnion<15 | 30 | 60 | 90> & number;
2430
- maxTextureSize?: StrictUnion<4294967295 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 | 8192> & number;
2664
+ maxTextureSize?: StrictUnion<4294967295 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 | 8192> & number;
2665
+ };
2666
+ export type GetSceneSettings_Encoder = {
2667
+ encoderType?: string;
2431
2668
  };
2432
2669
  export type GetSceneSettings_Environment = {
2433
2670
  ambientColorBottom?: Array<number>;
@@ -2495,6 +2732,7 @@ export type UpdateSceneSettings_SceneSettings = {
2495
2732
  default_camera_component?: UpdateSceneSettings_DefaultCameraComponent;
2496
2733
  default_camera_transform?: UpdateSceneSettings_DefaultCameraTransform;
2497
2734
  display?: UpdateSceneSettings_Display;
2735
+ encoder?: UpdateSceneSettings_Encoder;
2498
2736
  environment?: UpdateSceneSettings_Environment;
2499
2737
  misc?: UpdateSceneSettings_Miscellaneous;
2500
2738
  network?: UpdateSceneSettings_Network;
@@ -2532,7 +2770,10 @@ export type UpdateSceneSettings_Display = {
2532
2770
  forceRedraw?: boolean;
2533
2771
  framePersistence?: number;
2534
2772
  maxFPS?: StrictUnion<15 | 30 | 60 | 90> & number;
2535
- maxTextureSize?: StrictUnion<4294967295 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 | 8192> & number;
2773
+ maxTextureSize?: StrictUnion<4294967295 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 | 8192> & number;
2774
+ };
2775
+ export type UpdateSceneSettings_Encoder = {
2776
+ encoderType?: string;
2536
2777
  };
2537
2778
  export type UpdateSceneSettings_Environment = {
2538
2779
  ambientColorBottom?: Array<number>;
package/dist/index.js CHANGED
@@ -57,6 +57,7 @@ __export(index_exports, {
57
57
  getAssetDescription: () => getAssetDescription,
58
58
  getAssetDetails: () => getAssetDetails,
59
59
  getAssetFolder: () => getAssetFolder,
60
+ getAssetGraph: () => getAssetGraph,
60
61
  getAssetHistory: () => getAssetHistory,
61
62
  getAssetMeta: () => getAssetMeta,
62
63
  getAssetPayload: () => getAssetPayload,
@@ -65,6 +66,7 @@ __export(index_exports, {
65
66
  getAssetThumbnail: () => getAssetThumbnail,
66
67
  getClient: () => getClient,
67
68
  getConversionTaskMetadata: () => getConversionTaskMetadata,
69
+ getCurrentUser: () => getCurrentUser,
68
70
  getEntity: () => getEntity,
69
71
  getFolderAssets: () => getFolderAssets,
70
72
  getFolderInfo: () => getFolderInfo,
@@ -111,6 +113,8 @@ __export(index_exports, {
111
113
  setAssetThumbnail: () => setAssetThumbnail,
112
114
  setBaseURL: () => setBaseURL,
113
115
  setUserToken: () => setUserToken,
116
+ updateAssetDescription: () => updateAssetDescription,
117
+ updateAssetGraph: () => updateAssetGraph,
114
118
  updateEntity: () => updateEntity,
115
119
  updateFolder: () => updateFolder,
116
120
  updateGroupDescription: () => updateGroupDescription,
@@ -156,6 +160,13 @@ function registerUser({
156
160
  headers
157
161
  });
158
162
  }
163
+ function getCurrentUser(headers) {
164
+ return axiosInstance({
165
+ method: "get",
166
+ url: "/users/me",
167
+ headers
168
+ });
169
+ }
159
170
  function getUser({
160
171
  user_id
161
172
  }, headers) {
@@ -846,8 +857,8 @@ function getAssetReferences({
846
857
  });
847
858
  }
848
859
  function getAssetDescription({
849
- asset_container,
850
- asset_id
860
+ asset_id,
861
+ asset_container
851
862
  }, headers) {
852
863
  return axiosInstance({
853
864
  method: "get",
@@ -855,9 +866,21 @@ function getAssetDescription({
855
866
  headers
856
867
  });
857
868
  }
858
- function renameAsset({
869
+ function updateAssetDescription({
870
+ asset_id,
859
871
  asset_container,
872
+ asset_description
873
+ }, headers) {
874
+ return axiosInstance({
875
+ method: "put",
876
+ url: "/assets/" + asset_container + "/" + asset_id + "/description",
877
+ data: asset_description,
878
+ headers
879
+ });
880
+ }
881
+ function renameAsset({
860
882
  asset_id,
883
+ asset_container,
861
884
  name
862
885
  }, headers) {
863
886
  return axiosInstance({
@@ -884,6 +907,28 @@ function getAssetPayload({
884
907
  responseType: responseType || "arraybuffer"
885
908
  });
886
909
  }
910
+ function getAssetGraph({
911
+ asset_container_with_graph,
912
+ asset_id
913
+ }, headers) {
914
+ return axiosInstance({
915
+ method: "get",
916
+ url: "/assets/" + asset_container_with_graph + "/" + asset_id + "/graph",
917
+ headers
918
+ });
919
+ }
920
+ function updateAssetGraph({
921
+ asset_container_with_graph,
922
+ asset_id,
923
+ asset_graph
924
+ }, headers) {
925
+ return axiosInstance({
926
+ method: "put",
927
+ url: "/assets/" + asset_container_with_graph + "/" + asset_id + "/graph",
928
+ data: asset_graph,
929
+ headers
930
+ });
931
+ }
887
932
  function getAssetHistory({
888
933
  asset_container,
889
934
  asset_id
@@ -1279,6 +1324,7 @@ installInterceptors();
1279
1324
  getAssetDescription,
1280
1325
  getAssetDetails,
1281
1326
  getAssetFolder,
1327
+ getAssetGraph,
1282
1328
  getAssetHistory,
1283
1329
  getAssetMeta,
1284
1330
  getAssetPayload,
@@ -1287,6 +1333,7 @@ installInterceptors();
1287
1333
  getAssetThumbnail,
1288
1334
  getClient,
1289
1335
  getConversionTaskMetadata,
1336
+ getCurrentUser,
1290
1337
  getEntity,
1291
1338
  getFolderAssets,
1292
1339
  getFolderInfo,
@@ -1333,6 +1380,8 @@ installInterceptors();
1333
1380
  setAssetThumbnail,
1334
1381
  setBaseURL,
1335
1382
  setUserToken,
1383
+ updateAssetDescription,
1384
+ updateAssetGraph,
1336
1385
  updateEntity,
1337
1386
  updateFolder,
1338
1387
  updateGroupDescription,