@3dverse/api 0.5.2 → 0.6.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.
@@ -17,11 +17,6 @@ import { AxiosPromise } from 'axios';
17
17
  type UnionKeys<T> = T extends T ? keyof T : never;
18
18
  type StrictUnionHelper<T, TAll> = T extends any ? T & Partial<Record<Exclude<UnionKeys<TAll>, keyof T>, never>> : never;
19
19
  type StrictUnion<T> = StrictUnionHelper<T, T>;
20
- declare module 'axios' {
21
- interface AxiosRequestConfig<D = any, T = any> {
22
- operationId: string;
23
- }
24
- }
25
20
  export declare const axiosInstance: import("axios").AxiosInstance;
26
21
  export declare function setBaseURL(baseURL: string): void;
27
22
  export type ListUsers_User_UserInfo = {
@@ -231,9 +226,9 @@ export type GetFolderInfo_Object = {
231
226
  export declare function getFolderInfo({ folder_id }: {
232
227
  folder_id: string;
233
228
  }): AxiosPromise<GetFolderInfo_Folder>;
234
- export declare function moveFolders({ folder_id, folderIds }: {
229
+ export declare function moveFolders({ folder_id, folder_ids }: {
235
230
  folder_id: string;
236
- folderIds: Array<string>;
231
+ folder_ids: Array<string>;
237
232
  }): Promise<import("axios").AxiosResponse<any, any>>;
238
233
  export declare function updateFolder({ folder_id, name }: {
239
234
  folder_id: string;
@@ -332,9 +327,9 @@ export declare function getSourceFilesInFolder({ folder_id, offset, limit }: {
332
327
  offset?: number;
333
328
  limit?: number;
334
329
  }): AxiosPromise<Array<GetSourceFilesInFolder_SourceFile>>;
335
- export declare function moveSourceFiles({ folder_id, sourceFileIds }: {
330
+ export declare function moveSourceFiles({ folder_id, source_file_ids }: {
336
331
  folder_id: string;
337
- sourceFileIds: Array<string>;
332
+ source_file_ids: Array<string>;
338
333
  }): Promise<import("axios").AxiosResponse<any, any>>;
339
334
  export type GetUploadTasksInFolder_UploadTask = {
340
335
  upload_task_id: string;
@@ -424,13 +419,13 @@ export type CreateAsset_AssetDuplicationResult = {
424
419
  export type CreateAsset_SourceToCopyAssetIdMap = {
425
420
  [source_asset_id: string]: string;
426
421
  };
427
- export declare function createAsset({ folder_id, assetCreationOptions }: {
422
+ export declare function createAsset({ folder_id, asset_creation_options }: {
428
423
  folder_id: string;
429
- assetCreationOptions: StrictUnion<CreateAsset_NewAsset | CreateAsset_AssetDuplication>;
424
+ asset_creation_options: StrictUnion<CreateAsset_NewAsset | CreateAsset_AssetDuplication>;
430
425
  }): AxiosPromise<CreateAsset_AssetDuplicationResult>;
431
- export declare function moveAssets({ folder_id, assetIds }: {
426
+ export declare function moveAssets({ folder_id, asset_ids }: {
432
427
  folder_id: string;
433
- assetIds: Array<string>;
428
+ asset_ids: Array<string>;
434
429
  }): Promise<import("axios").AxiosResponse<any, any>>;
435
430
  export type GetSessionsInFolder_Session = {
436
431
  session_id: string;
@@ -464,8 +459,8 @@ export declare function listSourceFiles({ offset, limit }: {
464
459
  offset?: number;
465
460
  limit?: number;
466
461
  }): AxiosPromise<Array<ListSourceFiles_SourceFile>>;
467
- export declare function deleteSourceFiles({ sourceFileIds }: {
468
- sourceFileIds: Array<string>;
462
+ export declare function deleteSourceFiles({ source_file_ids }: {
463
+ source_file_ids: Array<string>;
469
464
  }): Promise<import("axios").AxiosResponse<any, any>>;
470
465
  export declare function downloadSourceFile({ source_file_id }: {
471
466
  source_file_id: string;
@@ -578,8 +573,8 @@ export declare function listAssets({ offset, limit }: {
578
573
  offset?: number;
579
574
  limit?: number;
580
575
  }): AxiosPromise<ListAssets__index_AssetList_AssetList>;
581
- export declare function deleteAssets({ assetIds }: {
582
- assetIds: Array<string>;
576
+ export declare function deleteAssets({ asset_ids }: {
577
+ asset_ids: Array<string>;
583
578
  }): Promise<import("axios").AxiosResponse<any, any>>;
584
579
  export declare function deleteAsset({ asset_container, asset_id }: {
585
580
  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";
@@ -1630,10 +1625,10 @@ export type UpdateEntity_volume_ref = {
1630
1625
  export type UpdateEntity_VolumeReference = {
1631
1626
  texture3dRef: string;
1632
1627
  };
1633
- export declare function updateEntity({ scene_id, entity_id, entityComponents }: {
1628
+ export declare function updateEntity({ scene_id, entity_id, entity_components }: {
1634
1629
  scene_id: string;
1635
1630
  entity_id: string;
1636
- 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);
1631
+ entity_components: (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);
1637
1632
  }): Promise<import("axios").AxiosResponse<any, any>>;
1638
1633
  export declare function deleteEntity({ scene_id, entity_id }: {
1639
1634
  scene_id: string;
package/dist/index.js CHANGED
@@ -114,8 +114,7 @@ var import_axios_retry = __toESM(require("axios-retry"));
114
114
  // _prebuild/wrapper.ts
115
115
  var import_axios = __toESM(require("axios"));
116
116
  var axiosInstance = import_axios.default.create({
117
- baseURL: "https://api.3dverse.com/app/v1",
118
- operationId: "3dverse"
117
+ baseURL: "https://api.3dverse.com/app/v1"
119
118
  });
120
119
  function setBaseURL(baseURL) {
121
120
  axiosInstance.defaults.baseURL = baseURL;
@@ -125,7 +124,6 @@ function listUsers({
125
124
  limit = 10
126
125
  }) {
127
126
  return axiosInstance({
128
- operationId: "listUsers",
129
127
  method: "get",
130
128
  url: "/users",
131
129
  params: {
@@ -138,7 +136,6 @@ function registerUser({
138
136
  username
139
137
  }) {
140
138
  return axiosInstance({
141
- operationId: "registerUser",
142
139
  method: "post",
143
140
  url: "/users",
144
141
  data: {
@@ -150,7 +147,6 @@ function getUser({
150
147
  user_id
151
148
  }) {
152
149
  return axiosInstance({
153
- operationId: "getUser",
154
150
  method: "get",
155
151
  url: "/users/" + user_id
156
152
  });
@@ -160,7 +156,6 @@ function updateUser({
160
156
  username
161
157
  }) {
162
158
  return axiosInstance({
163
- operationId: "updateUser",
164
159
  method: "patch",
165
160
  url: "/users/" + user_id,
166
161
  data: {
@@ -172,7 +167,6 @@ function deleteUser({
172
167
  user_id
173
168
  }) {
174
169
  return axiosInstance({
175
- operationId: "deleteUser",
176
170
  method: "delete",
177
171
  url: "/users/" + user_id
178
172
  });
@@ -183,7 +177,6 @@ function generateUserToken({
183
177
  ttl = "1h"
184
178
  }) {
185
179
  return axiosInstance({
186
- operationId: "generateUserToken",
187
180
  method: "post",
188
181
  url: "/users/" + user_id + "/tokens",
189
182
  data: {
@@ -196,7 +189,6 @@ function getUserGroups({
196
189
  user_id
197
190
  }) {
198
191
  return axiosInstance({
199
- operationId: "getUserGroups",
200
192
  method: "get",
201
193
  url: "/users/" + user_id + "/groups"
202
194
  });
@@ -207,7 +199,6 @@ function getUserUploadTasks({
207
199
  limit = 10
208
200
  }) {
209
201
  return axiosInstance({
210
- operationId: "getUserUploadTasks",
211
202
  method: "get",
212
203
  url: "/users/" + user_id + "/upload-tasks",
213
204
  params: {
@@ -222,7 +213,6 @@ function createGroup({
222
213
  members
223
214
  }) {
224
215
  return axiosInstance({
225
- operationId: "createGroup",
226
216
  method: "post",
227
217
  url: "/groups",
228
218
  data: {
@@ -236,7 +226,6 @@ function getGroup({
236
226
  group_id
237
227
  }) {
238
228
  return axiosInstance({
239
- operationId: "getGroup",
240
229
  method: "get",
241
230
  url: "/groups/" + group_id
242
231
  });
@@ -247,7 +236,6 @@ function updateGroupDescription({
247
236
  description
248
237
  }) {
249
238
  return axiosInstance({
250
- operationId: "updateGroupDescription",
251
239
  method: "patch",
252
240
  url: "/groups/" + group_id,
253
241
  data: {
@@ -260,7 +248,6 @@ function deleteGroup({
260
248
  group_id
261
249
  }) {
262
250
  return axiosInstance({
263
- operationId: "deleteGroup",
264
251
  method: "delete",
265
252
  url: "/groups/" + group_id
266
253
  });
@@ -273,7 +260,6 @@ function grantMemberAccessToGroup({
273
260
  folder_access
274
261
  }) {
275
262
  return axiosInstance({
276
- operationId: "grantMemberAccessToGroup",
277
263
  method: "put",
278
264
  url: "/groups/" + group_id + "/members/" + member_type + "/" + member_id,
279
265
  data: {
@@ -288,7 +274,6 @@ function revokeMemberAccessToGroup({
288
274
  member_id
289
275
  }) {
290
276
  return axiosInstance({
291
- operationId: "revokeMemberAccessToGroup",
292
277
  method: "delete",
293
278
  url: "/groups/" + group_id + "/members/" + member_type + "/" + member_id
294
279
  });
@@ -298,7 +283,6 @@ function listFolders({
298
283
  limit = 10
299
284
  }) {
300
285
  return axiosInstance({
301
- operationId: "listFolders",
302
286
  method: "get",
303
287
  url: "/folders",
304
288
  params: {
@@ -312,7 +296,6 @@ function createFolder({
312
296
  subfolders
313
297
  }) {
314
298
  return axiosInstance({
315
- operationId: "createFolder",
316
299
  method: "post",
317
300
  url: "/folders",
318
301
  data: {
@@ -325,20 +308,18 @@ function getFolderInfo({
325
308
  folder_id
326
309
  }) {
327
310
  return axiosInstance({
328
- operationId: "getFolderInfo",
329
311
  method: "get",
330
312
  url: "/folders/" + folder_id
331
313
  });
332
314
  }
333
315
  function moveFolders({
334
316
  folder_id,
335
- folderIds
317
+ folder_ids
336
318
  }) {
337
319
  return axiosInstance({
338
- operationId: "moveFolders",
339
320
  method: "put",
340
321
  url: "/folders/" + folder_id,
341
- data: folderIds
322
+ data: folder_ids
342
323
  });
343
324
  }
344
325
  function updateFolder({
@@ -346,7 +327,6 @@ function updateFolder({
346
327
  name
347
328
  }) {
348
329
  return axiosInstance({
349
- operationId: "updateFolder",
350
330
  method: "patch",
351
331
  url: "/folders/" + folder_id,
352
332
  data: {
@@ -358,7 +338,6 @@ function deleteFolder({
358
338
  folder_id
359
339
  }) {
360
340
  return axiosInstance({
361
- operationId: "deleteFolder",
362
341
  method: "delete",
363
342
  url: "/folders/" + folder_id
364
343
  });
@@ -367,7 +346,6 @@ function listFolderAccesses({
367
346
  folder_id
368
347
  }) {
369
348
  return axiosInstance({
370
- operationId: "listFolderAccesses",
371
349
  method: "get",
372
350
  url: "/folders/" + folder_id + "/access"
373
351
  });
@@ -379,7 +357,6 @@ function grantMemberAccessToFolder({
379
357
  access
380
358
  }) {
381
359
  return axiosInstance({
382
- operationId: "grantMemberAccessToFolder",
383
360
  method: "put",
384
361
  url: "/folders/" + folder_id + "/access/" + member_type + "/" + member_id,
385
362
  data: {
@@ -393,7 +370,6 @@ function revokeMemberAccessToFolder({
393
370
  member_id
394
371
  }) {
395
372
  return axiosInstance({
396
- operationId: "revokeMemberAccessToFolder",
397
373
  method: "delete",
398
374
  url: "/folders/" + folder_id + "/access/" + member_type + "/" + member_id
399
375
  });
@@ -404,7 +380,6 @@ function createSubfolder({
404
380
  subfolders
405
381
  }) {
406
382
  return axiosInstance({
407
- operationId: "createSubfolder",
408
383
  method: "post",
409
384
  url: "/folders/" + folder_id + "/folders",
410
385
  data: {
@@ -418,7 +393,6 @@ function listFolderSubFolders({
418
393
  depth = 0
419
394
  }) {
420
395
  return axiosInstance({
421
- operationId: "listFolderSubFolders",
422
396
  method: "get",
423
397
  url: "/folders/" + folder_id + "/folders",
424
398
  params: {
@@ -432,7 +406,6 @@ function getSourceFilesInFolder({
432
406
  limit = 10
433
407
  }) {
434
408
  return axiosInstance({
435
- operationId: "getSourceFilesInFolder",
436
409
  method: "get",
437
410
  url: "/folders/" + folder_id + "/source-files",
438
411
  params: {
@@ -443,13 +416,12 @@ function getSourceFilesInFolder({
443
416
  }
444
417
  function moveSourceFiles({
445
418
  folder_id,
446
- sourceFileIds
419
+ source_file_ids
447
420
  }) {
448
421
  return axiosInstance({
449
- operationId: "moveSourceFiles",
450
422
  method: "put",
451
423
  url: "/folders/" + folder_id + "/source-files",
452
- data: sourceFileIds
424
+ data: source_file_ids
453
425
  });
454
426
  }
455
427
  function getUploadTasksInFolder({
@@ -458,7 +430,6 @@ function getUploadTasksInFolder({
458
430
  limit = 10
459
431
  }) {
460
432
  return axiosInstance({
461
- operationId: "getUploadTasksInFolder",
462
433
  method: "get",
463
434
  url: "/folders/" + folder_id + "/upload-tasks",
464
435
  params: {
@@ -474,7 +445,6 @@ function getFolderAssets({
474
445
  filter
475
446
  }) {
476
447
  return axiosInstance({
477
- operationId: "getFolderAssets",
478
448
  method: "get",
479
449
  url: "/folders/" + folder_id + "/assets",
480
450
  params: {
@@ -486,31 +456,28 @@ function getFolderAssets({
486
456
  }
487
457
  function createAsset({
488
458
  folder_id,
489
- assetCreationOptions
459
+ asset_creation_options
490
460
  }) {
491
461
  return axiosInstance({
492
- operationId: "createAsset",
493
462
  method: "post",
494
463
  url: "/folders/" + folder_id + "/assets",
495
- data: assetCreationOptions
464
+ data: asset_creation_options
496
465
  });
497
466
  }
498
467
  function moveAssets({
499
468
  folder_id,
500
- assetIds
469
+ asset_ids
501
470
  }) {
502
471
  return axiosInstance({
503
- operationId: "moveAssets",
504
472
  method: "put",
505
473
  url: "/folders/" + folder_id + "/assets",
506
- data: assetIds
474
+ data: asset_ids
507
475
  });
508
476
  }
509
477
  function getSessionsInFolder({
510
478
  folder_id
511
479
  }) {
512
480
  return axiosInstance({
513
- operationId: "getSessionsInFolder",
514
481
  method: "get",
515
482
  url: "/folders/" + folder_id + "/sessions"
516
483
  });
@@ -520,7 +487,6 @@ function listSourceFiles({
520
487
  limit = 10
521
488
  }) {
522
489
  return axiosInstance({
523
- operationId: "listSourceFiles",
524
490
  method: "get",
525
491
  url: "/source-files",
526
492
  params: {
@@ -530,20 +496,18 @@ function listSourceFiles({
530
496
  });
531
497
  }
532
498
  function deleteSourceFiles({
533
- sourceFileIds
499
+ source_file_ids
534
500
  }) {
535
501
  return axiosInstance({
536
- operationId: "deleteSourceFiles",
537
502
  method: "delete",
538
503
  url: "/source-files",
539
- data: sourceFileIds
504
+ data: source_file_ids
540
505
  });
541
506
  }
542
507
  function downloadSourceFile({
543
508
  source_file_id
544
509
  }) {
545
510
  return axiosInstance({
546
- operationId: "downloadSourceFile",
547
511
  method: "get",
548
512
  url: "/source-files/" + source_file_id,
549
513
  responseType: "arraybuffer"
@@ -553,7 +517,6 @@ function getSourceFileDetails({
553
517
  source_file_id
554
518
  }) {
555
519
  return axiosInstance({
556
- operationId: "getSourceFileDetails",
557
520
  method: "get",
558
521
  url: "/source-files/" + source_file_id + "/details"
559
522
  });
@@ -563,7 +526,6 @@ function updateSourceFileDetails({
563
526
  name
564
527
  }) {
565
528
  return axiosInstance({
566
- operationId: "updateSourceFileDetails",
567
529
  method: "patch",
568
530
  url: "/source-files/" + source_file_id + "/details",
569
531
  data: {
@@ -575,7 +537,6 @@ function getSourceFileAssets({
575
537
  source_file_id
576
538
  }) {
577
539
  return axiosInstance({
578
- operationId: "getSourceFileAssets",
579
540
  method: "get",
580
541
  url: "/source-files/" + source_file_id + "/assets"
581
542
  });
@@ -585,7 +546,6 @@ function getUploadTasks({
585
546
  limit = 10
586
547
  }) {
587
548
  return axiosInstance({
588
- operationId: "getUploadTasks",
589
549
  method: "get",
590
550
  url: "/upload-tasks",
591
551
  params: {
@@ -598,7 +558,6 @@ function getUploadTask({
598
558
  upload_task_id
599
559
  }) {
600
560
  return axiosInstance({
601
- operationId: "getUploadTask",
602
561
  method: "get",
603
562
  url: "/upload-tasks/" + upload_task_id
604
563
  });
@@ -608,7 +567,6 @@ function listAssets({
608
567
  limit = 10
609
568
  }) {
610
569
  return axiosInstance({
611
- operationId: "listAssets",
612
570
  method: "get",
613
571
  url: "/assets",
614
572
  params: {
@@ -618,13 +576,12 @@ function listAssets({
618
576
  });
619
577
  }
620
578
  function deleteAssets({
621
- assetIds
579
+ asset_ids
622
580
  }) {
623
581
  return axiosInstance({
624
- operationId: "deleteAssets",
625
582
  method: "delete",
626
583
  url: "/assets",
627
- data: assetIds
584
+ data: asset_ids
628
585
  });
629
586
  }
630
587
  function deleteAsset({
@@ -632,7 +589,6 @@ function deleteAsset({
632
589
  asset_id
633
590
  }) {
634
591
  return axiosInstance({
635
- operationId: "deleteAsset",
636
592
  method: "delete",
637
593
  url: "/assets/" + asset_container + "/" + asset_id
638
594
  });
@@ -642,7 +598,6 @@ function getAssetSourceFile({
642
598
  asset_id
643
599
  }) {
644
600
  return axiosInstance({
645
- operationId: "getAssetSourceFile",
646
601
  method: "get",
647
602
  url: "/assets/" + asset_container + "/" + asset_id + "/source-file"
648
603
  });
@@ -652,7 +607,6 @@ function getAssetDetails({
652
607
  asset_id
653
608
  }) {
654
609
  return axiosInstance({
655
- operationId: "getAssetDetails",
656
610
  method: "get",
657
611
  url: "/assets/" + asset_container + "/" + asset_id + "/details"
658
612
  });
@@ -662,7 +616,6 @@ function getAssetFolder({
662
616
  asset_id
663
617
  }) {
664
618
  return axiosInstance({
665
- operationId: "getAssetFolder",
666
619
  method: "get",
667
620
  url: "/assets/" + asset_container + "/" + asset_id + "/folder"
668
621
  });
@@ -675,7 +628,6 @@ function getAssetDependencies({
675
628
  filter
676
629
  }) {
677
630
  return axiosInstance({
678
- operationId: "getAssetDependencies",
679
631
  method: "get",
680
632
  url: "/assets/" + asset_container + "/" + asset_id + "/dependencies",
681
633
  params: {
@@ -690,7 +642,6 @@ function getAssetReferences({
690
642
  asset_id
691
643
  }) {
692
644
  return axiosInstance({
693
- operationId: "getAssetReferences",
694
645
  method: "get",
695
646
  url: "/assets/" + asset_container + "/" + asset_id + "/references"
696
647
  });
@@ -700,7 +651,6 @@ function getAssetDescription({
700
651
  asset_id
701
652
  }) {
702
653
  return axiosInstance({
703
- operationId: "getAssetDescription",
704
654
  method: "get",
705
655
  url: "/assets/" + asset_container + "/" + asset_id + "/description"
706
656
  });
@@ -711,7 +661,6 @@ function renameAsset({
711
661
  name
712
662
  }) {
713
663
  return axiosInstance({
714
- operationId: "renameAsset",
715
664
  method: "patch",
716
665
  url: "/assets/" + asset_container + "/" + asset_id + "/description",
717
666
  data: {
@@ -724,7 +673,6 @@ function getAssetPayload({
724
673
  asset_id
725
674
  }) {
726
675
  return axiosInstance({
727
- operationId: "getAssetPayload",
728
676
  method: "get",
729
677
  url: "/assets/" + asset_container_with_payload + "/" + asset_id + "/payload",
730
678
  responseType: "arraybuffer"
@@ -735,7 +683,6 @@ function getAssetHistory({
735
683
  asset_id
736
684
  }) {
737
685
  return axiosInstance({
738
- operationId: "getAssetHistory",
739
686
  method: "get",
740
687
  url: "/assets/" + asset_container + "/" + asset_id + "/history"
741
688
  });
@@ -745,7 +692,6 @@ function getAssetMeta({
745
692
  asset_id
746
693
  }) {
747
694
  return axiosInstance({
748
- operationId: "getAssetMeta",
749
695
  method: "get",
750
696
  url: "/assets/" + asset_container + "/" + asset_id + "/meta"
751
697
  });
@@ -755,7 +701,6 @@ function getAssetCode({
755
701
  asset_id
756
702
  }) {
757
703
  return axiosInstance({
758
- operationId: "getAssetCode",
759
704
  method: "get",
760
705
  url: "/assets/" + asset_container_with_code + "/" + asset_id + "/code"
761
706
  });
@@ -767,7 +712,6 @@ function getAssetThumbnail({
767
712
  default_url
768
713
  }) {
769
714
  return axiosInstance({
770
- operationId: "getAssetThumbnail",
771
715
  method: "get",
772
716
  url: "/assets/" + asset_container + "/" + asset_id + "/thumbnail",
773
717
  responseType: "arraybuffer",
@@ -783,7 +727,6 @@ function setAssetThumbnail({
783
727
  body
784
728
  }, contentType) {
785
729
  return axiosInstance({
786
- operationId: "setAssetThumbnail",
787
730
  method: "put",
788
731
  url: "/assets/" + asset_container + "/" + asset_id + "/thumbnail",
789
732
  headers: {
@@ -797,7 +740,6 @@ function getAssetCustomTypes({
797
740
  asset_id
798
741
  }) {
799
742
  return axiosInstance({
800
- operationId: "getAssetCustomTypes",
801
743
  method: "get",
802
744
  url: "/assets/" + asset_container_with_custom_types + "/" + asset_id + "/custom-types"
803
745
  });
@@ -807,7 +749,6 @@ function packageAsset({
807
749
  asset_id
808
750
  }) {
809
751
  return axiosInstance({
810
- operationId: "packageAsset",
811
752
  method: "get",
812
753
  url: "/assets/" + asset_container + "/" + asset_id + "/package",
813
754
  responseType: "arraybuffer"
@@ -820,7 +761,6 @@ function exportAsset({
820
761
  scale = 1
821
762
  }) {
822
763
  return axiosInstance({
823
- operationId: "exportAsset",
824
764
  method: "get",
825
765
  url: "/assets/" + asset_container_exportable + "/" + asset_id + "/exports/" + format,
826
766
  responseType: "arraybuffer",
@@ -833,7 +773,6 @@ function getSceneSessions({
833
773
  scene_id
834
774
  }) {
835
775
  return axiosInstance({
836
- operationId: "getSceneSessions",
837
776
  method: "get",
838
777
  url: "/assets/scenes/" + scene_id + "/sessions"
839
778
  });
@@ -842,7 +781,6 @@ function getSceneAABB({
842
781
  scene_id
843
782
  }) {
844
783
  return axiosInstance({
845
- operationId: "getSceneAABB",
846
784
  method: "get",
847
785
  url: "/assets/scenes/" + scene_id + "/aabb"
848
786
  });
@@ -853,7 +791,6 @@ function getEntity({
853
791
  compute_global_transform = false
854
792
  }) {
855
793
  return axiosInstance({
856
- operationId: "getEntity",
857
794
  method: "get",
858
795
  url: "/assets/scenes/" + scene_id + "/entities/" + entity_id,
859
796
  params: {
@@ -864,13 +801,12 @@ function getEntity({
864
801
  function updateEntity({
865
802
  scene_id,
866
803
  entity_id,
867
- entityComponents
804
+ entity_components
868
805
  }) {
869
806
  return axiosInstance({
870
- operationId: "updateEntity",
871
807
  method: "patch",
872
808
  url: "/assets/scenes/" + scene_id + "/entities/" + entity_id,
873
- data: entityComponents
809
+ data: entity_components
874
810
  });
875
811
  }
876
812
  function deleteEntity({
@@ -878,7 +814,6 @@ function deleteEntity({
878
814
  entity_id
879
815
  }) {
880
816
  return axiosInstance({
881
- operationId: "deleteEntity",
882
817
  method: "delete",
883
818
  url: "/assets/scenes/" + scene_id + "/entities/" + entity_id
884
819
  });
@@ -888,7 +823,6 @@ function createSession({
888
823
  renderer_version
889
824
  }) {
890
825
  return axiosInstance({
891
- operationId: "createSession",
892
826
  method: "post",
893
827
  url: "/sessions",
894
828
  data: {
@@ -901,7 +835,6 @@ function getSession({
901
835
  session_id
902
836
  }) {
903
837
  return axiosInstance({
904
- operationId: "getSession",
905
838
  method: "get",
906
839
  url: "/sessions/" + session_id
907
840
  });
@@ -910,7 +843,6 @@ function killSession({
910
843
  session_id
911
844
  }) {
912
845
  return axiosInstance({
913
- operationId: "killSession",
914
846
  method: "delete",
915
847
  url: "/sessions/" + session_id
916
848
  });
@@ -919,7 +851,6 @@ function joinSession({
919
851
  session_id
920
852
  }) {
921
853
  return axiosInstance({
922
- operationId: "joinSession",
923
854
  method: "post",
924
855
  url: "/sessions/" + session_id + "/clients"
925
856
  });
@@ -929,14 +860,12 @@ function kickClientFromSession({
929
860
  client_id
930
861
  }) {
931
862
  return axiosInstance({
932
- operationId: "kickClientFromSession",
933
863
  method: "delete",
934
864
  url: "/sessions/" + session_id + "/clients/" + client_id
935
865
  });
936
866
  }
937
867
  function joinSessionAsGuest() {
938
868
  return axiosInstance({
939
- operationId: "joinSessionAsGuest",
940
869
  method: "post",
941
870
  url: "/sessions/guests"
942
871
  });
@@ -945,7 +874,6 @@ function generateGuestToken({
945
874
  session_id
946
875
  }) {
947
876
  return axiosInstance({
948
- operationId: "generateGuestToken",
949
877
  method: "post",
950
878
  url: "/sessions/" + session_id + "/guests"
951
879
  });
@@ -1036,7 +964,6 @@ function uploadSourceFiles({
1036
964
  onUploadProgress
1037
965
  }) {
1038
966
  return axiosInstance({
1039
- operationId: "uploadSourceFiles",
1040
967
  method: "post",
1041
968
  url: `/folders/${folder_id}/source-files`,
1042
969
  headers: {