@3dverse/api 0.10.2 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/dist/_prebuild/wrapper.d.ts +4238 -965
- package/dist/index.js +201 -354
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +182 -324
- package/dist/index.mjs.map +2 -2
- package/package.json +4 -3
package/dist/index.js
CHANGED
|
@@ -30,34 +30,32 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
30
30
|
var index_exports = {};
|
|
31
31
|
__export(index_exports, {
|
|
32
32
|
ApiError: () => ApiError,
|
|
33
|
-
AssetSourceFileNotFound: () => AssetSourceFileNotFound,
|
|
34
33
|
ConversionTaskNotFound: () => ConversionTaskNotFound,
|
|
35
|
-
EnvironmentMismatch: () => EnvironmentMismatch,
|
|
36
34
|
InsufficientPermissions: () => InsufficientPermissions,
|
|
37
35
|
InsufficientSecurityScope: () => InsufficientSecurityScope,
|
|
38
36
|
InvalidApiKey: () => InvalidApiKey,
|
|
39
37
|
InvalidAuthorization: () => InvalidAuthorization,
|
|
40
38
|
InvalidGuestToken: () => InvalidGuestToken,
|
|
41
39
|
InvalidMaterial: () => InvalidMaterial,
|
|
40
|
+
InvalidParameter: () => InvalidParameter,
|
|
42
41
|
InvalidRequest: () => InvalidRequest,
|
|
43
42
|
InvalidTokenTtl: () => InvalidTokenTtl,
|
|
43
|
+
LogsUnavailable: () => LogsUnavailable,
|
|
44
|
+
MemberAccessesDiffer: () => MemberAccessesDiffer,
|
|
44
45
|
MissingAuthorizationHeader: () => MissingAuthorizationHeader,
|
|
45
46
|
NoFileUploaded: () => NoFileUploaded,
|
|
46
47
|
ServiceErrorResponse: () => ServiceErrorResponse,
|
|
48
|
+
TooManyRequests: () => TooManyRequests,
|
|
47
49
|
Unauthorized: () => Unauthorized,
|
|
48
50
|
UnexpectedServiceError: () => UnexpectedServiceError,
|
|
49
51
|
UploadAborted: () => UploadAborted,
|
|
50
52
|
UploadTaskNotFound: () => UploadTaskNotFound,
|
|
51
53
|
UploadedPayloadTooLarge: () => UploadedPayloadTooLarge,
|
|
52
54
|
axiosInstance: () => axiosInstance,
|
|
53
|
-
confirmDuplicationRequest: () => confirmDuplicationRequest,
|
|
54
55
|
createAsset: () => createAsset,
|
|
55
|
-
createCubemap: () => createCubemap,
|
|
56
|
-
createDuplicationRequest: () => createDuplicationRequest,
|
|
57
56
|
createEntity: () => createEntity,
|
|
58
57
|
createFolder: () => createFolder,
|
|
59
58
|
createGroup: () => createGroup,
|
|
60
|
-
createMaterial: () => createMaterial,
|
|
61
59
|
createSession: () => createSession,
|
|
62
60
|
createSubfolder: () => createSubfolder,
|
|
63
61
|
deleteAsset: () => deleteAsset,
|
|
@@ -67,59 +65,52 @@ __export(index_exports, {
|
|
|
67
65
|
deleteGroup: () => deleteGroup,
|
|
68
66
|
deleteSourceFiles: () => deleteSourceFiles,
|
|
69
67
|
deleteUser: () => deleteUser,
|
|
70
|
-
discardDuplicationRequest: () => discardDuplicationRequest,
|
|
71
68
|
errorOf: () => errorOf,
|
|
72
69
|
exportAsset: () => exportAsset,
|
|
73
70
|
generateGuestToken: () => generateGuestToken,
|
|
74
71
|
generateUserToken: () => generateUserToken,
|
|
75
72
|
getAssetCode: () => getAssetCode,
|
|
76
|
-
getAssetDependencies: () => getAssetDependencies,
|
|
77
73
|
getAssetDescription: () => getAssetDescription,
|
|
78
74
|
getAssetDetails: () => getAssetDetails,
|
|
79
|
-
getAssetFolder: () => getAssetFolder,
|
|
80
75
|
getAssetGraph: () => getAssetGraph,
|
|
81
76
|
getAssetHistory: () => getAssetHistory,
|
|
82
|
-
getAssetMeta: () => getAssetMeta,
|
|
83
77
|
getAssetPayload: () => getAssetPayload,
|
|
84
|
-
getAssetReferences: () => getAssetReferences,
|
|
85
|
-
getAssetSourceFile: () => getAssetSourceFile,
|
|
86
78
|
getAssetThumbnail: () => getAssetThumbnail,
|
|
87
79
|
getClient: () => getClient,
|
|
80
|
+
getConversionTaskLogs: () => getConversionTaskLogs,
|
|
88
81
|
getConversionTaskMetadata: () => getConversionTaskMetadata,
|
|
89
82
|
getCurrentUser: () => getCurrentUser,
|
|
90
83
|
getDuplicationRequest: () => getDuplicationRequest,
|
|
91
84
|
getEntity: () => getEntity,
|
|
92
|
-
|
|
93
|
-
getFolderInfo: () => getFolderInfo,
|
|
85
|
+
getFolder: () => getFolder,
|
|
94
86
|
getGroup: () => getGroup,
|
|
95
|
-
getRunningSessions: () => getRunningSessions,
|
|
96
87
|
getSceneAABB: () => getSceneAABB,
|
|
97
|
-
getSceneSessions: () => getSceneSessions,
|
|
98
88
|
getSceneSettings: () => getSceneSettings,
|
|
99
89
|
getSession: () => getSession,
|
|
100
|
-
|
|
101
|
-
getSourceFileAssets: () => getSourceFileAssets,
|
|
102
|
-
getSourceFileDetails: () => getSourceFileDetails,
|
|
103
|
-
getSourceFilesInFolder: () => getSourceFilesInFolder,
|
|
90
|
+
getSourceFile: () => getSourceFile,
|
|
104
91
|
getSupportedSourceFileFormats: () => getSupportedSourceFileFormats,
|
|
105
92
|
getUploadTask: () => getUploadTask,
|
|
106
|
-
getUploadTasks: () => getUploadTasks,
|
|
107
|
-
getUploadTasksInFolder: () => getUploadTasksInFolder,
|
|
108
93
|
getUser: () => getUser,
|
|
109
|
-
getUserGroups: () => getUserGroups,
|
|
110
|
-
getUserUploadTasks: () => getUserUploadTasks,
|
|
111
94
|
grantMemberAccessToFolder: () => grantMemberAccessToFolder,
|
|
112
95
|
grantMemberAccessToGroup: () => grantMemberAccessToGroup,
|
|
113
96
|
joinSession: () => joinSession,
|
|
114
97
|
joinSessionAsGuest: () => joinSessionAsGuest,
|
|
115
98
|
kickClientFromSession: () => kickClientFromSession,
|
|
116
99
|
killSession: () => killSession,
|
|
100
|
+
listAssetDependencies: () => listAssetDependencies,
|
|
101
|
+
listAssetReferences: () => listAssetReferences,
|
|
117
102
|
listAssets: () => listAssets,
|
|
118
|
-
listDuplicationRequests: () => listDuplicationRequests,
|
|
119
103
|
listFolderAccesses: () => listFolderAccesses,
|
|
120
|
-
|
|
104
|
+
listFolderAssets: () => listFolderAssets,
|
|
105
|
+
listFolderSourceFiles: () => listFolderSourceFiles,
|
|
106
|
+
listFolderSubfolders: () => listFolderSubfolders,
|
|
107
|
+
listFolderUploadTasks: () => listFolderUploadTasks,
|
|
121
108
|
listFolders: () => listFolders,
|
|
109
|
+
listRunningSessions: () => listRunningSessions,
|
|
110
|
+
listSourceFileAssets: () => listSourceFileAssets,
|
|
122
111
|
listSourceFiles: () => listSourceFiles,
|
|
112
|
+
listUploadTasks: () => listUploadTasks,
|
|
113
|
+
listUserGroups: () => listUserGroups,
|
|
123
114
|
listUsers: () => listUsers,
|
|
124
115
|
moveAssets: () => moveAssets,
|
|
125
116
|
moveFolders: () => moveFolders,
|
|
@@ -129,19 +120,17 @@ __export(index_exports, {
|
|
|
129
120
|
renameAsset: () => renameAsset,
|
|
130
121
|
revokeMemberAccessToFolder: () => revokeMemberAccessToFolder,
|
|
131
122
|
revokeMemberAccessToGroup: () => revokeMemberAccessToGroup,
|
|
132
|
-
schedulePipeline: () => schedulePipeline,
|
|
133
123
|
setApiKey: () => setApiKey,
|
|
134
124
|
setAssetThumbnail: () => setAssetThumbnail,
|
|
135
125
|
setBaseURL: () => setBaseURL,
|
|
136
126
|
setUserToken: () => setUserToken,
|
|
137
127
|
updateAssetDescription: () => updateAssetDescription,
|
|
138
128
|
updateAssetGraph: () => updateAssetGraph,
|
|
139
|
-
updateDuplicationRequest: () => updateDuplicationRequest,
|
|
140
129
|
updateEntity: () => updateEntity,
|
|
141
130
|
updateFolder: () => updateFolder,
|
|
142
|
-
|
|
131
|
+
updateGroup: () => updateGroup,
|
|
143
132
|
updateSceneSettings: () => updateSceneSettings,
|
|
144
|
-
|
|
133
|
+
updateSourceFile: () => updateSourceFile,
|
|
145
134
|
updateUser: () => updateUser,
|
|
146
135
|
uploadSourceFiles: () => uploadSourceFiles
|
|
147
136
|
});
|
|
@@ -194,20 +183,6 @@ var axiosInstance = import_axios.default.create({
|
|
|
194
183
|
function setBaseURL(baseURL) {
|
|
195
184
|
axiosInstance.defaults.baseURL = baseURL;
|
|
196
185
|
}
|
|
197
|
-
var AssetSourceFileNotFound = class extends ServiceErrorResponse {
|
|
198
|
-
static ERROR_CODE = 1018;
|
|
199
|
-
constructor(serviceError) {
|
|
200
|
-
super(1018, 404, "The asset was imported from no source file", serviceError);
|
|
201
|
-
Object.assign(this, serviceError);
|
|
202
|
-
}
|
|
203
|
-
};
|
|
204
|
-
var InsufficientPermissions = class extends ServiceErrorResponse {
|
|
205
|
-
static ERROR_CODE = 1002;
|
|
206
|
-
constructor(serviceError) {
|
|
207
|
-
super(1002, 403, "Insufficient permissions", serviceError);
|
|
208
|
-
Object.assign(this, serviceError);
|
|
209
|
-
}
|
|
210
|
-
};
|
|
211
186
|
var InvalidAuthorization = class extends ServiceErrorResponse {
|
|
212
187
|
static ERROR_CODE = 1003;
|
|
213
188
|
constructor(serviceError) {
|
|
@@ -222,45 +197,45 @@ var InsufficientSecurityScope = class extends ServiceErrorResponse {
|
|
|
222
197
|
Object.assign(this, serviceError);
|
|
223
198
|
}
|
|
224
199
|
};
|
|
225
|
-
var
|
|
226
|
-
static ERROR_CODE =
|
|
200
|
+
var InsufficientPermissions = class extends ServiceErrorResponse {
|
|
201
|
+
static ERROR_CODE = 1002;
|
|
227
202
|
constructor(serviceError) {
|
|
228
|
-
super(
|
|
203
|
+
super(1002, 403, "Insufficient permissions", serviceError);
|
|
229
204
|
Object.assign(this, serviceError);
|
|
230
205
|
}
|
|
231
206
|
};
|
|
232
|
-
var
|
|
233
|
-
static ERROR_CODE =
|
|
207
|
+
var InvalidTokenTtl = class extends ServiceErrorResponse {
|
|
208
|
+
static ERROR_CODE = 1017;
|
|
234
209
|
constructor(serviceError) {
|
|
235
|
-
super(
|
|
210
|
+
super(1017, 400, "The time to live of a user token is a duration from 1 minute to 14 days", serviceError);
|
|
236
211
|
Object.assign(this, serviceError);
|
|
237
212
|
}
|
|
238
213
|
};
|
|
239
|
-
var
|
|
240
|
-
static ERROR_CODE =
|
|
214
|
+
var InvalidParameter = class extends ServiceErrorResponse {
|
|
215
|
+
static ERROR_CODE = 1;
|
|
241
216
|
constructor(serviceError) {
|
|
242
|
-
super(
|
|
217
|
+
super(1, 400, "Invalid parameter", serviceError);
|
|
243
218
|
Object.assign(this, serviceError);
|
|
244
219
|
}
|
|
245
220
|
};
|
|
246
|
-
var
|
|
247
|
-
static ERROR_CODE =
|
|
221
|
+
var MemberAccessesDiffer = class extends ServiceErrorResponse {
|
|
222
|
+
static ERROR_CODE = 1020;
|
|
248
223
|
constructor(serviceError) {
|
|
249
|
-
super(
|
|
224
|
+
super(1020, 422, "A member's group and folder accesses differ, while it holds a single role", serviceError);
|
|
250
225
|
Object.assign(this, serviceError);
|
|
251
226
|
}
|
|
252
227
|
};
|
|
253
|
-
var
|
|
254
|
-
static ERROR_CODE =
|
|
228
|
+
var InvalidMaterial = class extends ServiceErrorResponse {
|
|
229
|
+
static ERROR_CODE = 1013;
|
|
255
230
|
constructor(serviceError) {
|
|
256
|
-
super(
|
|
231
|
+
super(1013, 400, "Some of the asset ids are not materials", serviceError);
|
|
257
232
|
Object.assign(this, serviceError);
|
|
258
233
|
}
|
|
259
234
|
};
|
|
260
|
-
var
|
|
261
|
-
static ERROR_CODE =
|
|
235
|
+
var InvalidRequest = class extends ServiceErrorResponse {
|
|
236
|
+
static ERROR_CODE = 1014;
|
|
262
237
|
constructor(serviceError) {
|
|
263
|
-
super(
|
|
238
|
+
super(1014, 400, "Invalid request", serviceError);
|
|
264
239
|
Object.assign(this, serviceError);
|
|
265
240
|
}
|
|
266
241
|
};
|
|
@@ -292,45 +267,75 @@ var UploadTaskNotFound = class extends ServiceErrorResponse {
|
|
|
292
267
|
Object.assign(this, serviceError);
|
|
293
268
|
}
|
|
294
269
|
};
|
|
295
|
-
var
|
|
296
|
-
static ERROR_CODE =
|
|
270
|
+
var ConversionTaskNotFound = class extends ServiceErrorResponse {
|
|
271
|
+
static ERROR_CODE = 1015;
|
|
297
272
|
constructor(serviceError) {
|
|
298
|
-
super(
|
|
273
|
+
super(1015, 404, "Conversion task not found", serviceError);
|
|
299
274
|
Object.assign(this, serviceError);
|
|
300
275
|
}
|
|
301
276
|
};
|
|
302
|
-
var
|
|
303
|
-
static ERROR_CODE =
|
|
277
|
+
var LogsUnavailable = class extends ServiceErrorResponse {
|
|
278
|
+
static ERROR_CODE = 1019;
|
|
304
279
|
constructor(serviceError) {
|
|
305
|
-
super(
|
|
280
|
+
super(1019, 502, "Logs unavailable", serviceError);
|
|
306
281
|
Object.assign(this, serviceError);
|
|
307
282
|
}
|
|
308
283
|
};
|
|
309
|
-
var
|
|
310
|
-
static ERROR_CODE =
|
|
284
|
+
var InvalidGuestToken = class extends ServiceErrorResponse {
|
|
285
|
+
static ERROR_CODE = 1016;
|
|
311
286
|
constructor(serviceError) {
|
|
312
|
-
super(
|
|
287
|
+
super(1016, 403, "You are not allowed to use this guest token for this session", serviceError);
|
|
288
|
+
Object.assign(this, serviceError);
|
|
289
|
+
}
|
|
290
|
+
};
|
|
291
|
+
var Unauthorized = class extends ServiceErrorResponse {
|
|
292
|
+
static ERROR_CODE = 1005;
|
|
293
|
+
constructor(serviceError) {
|
|
294
|
+
super(1005, 401, "Invalid or expired token", serviceError);
|
|
295
|
+
Object.assign(this, serviceError);
|
|
296
|
+
}
|
|
297
|
+
};
|
|
298
|
+
var MissingAuthorizationHeader = class extends ServiceErrorResponse {
|
|
299
|
+
static ERROR_CODE = 1011;
|
|
300
|
+
constructor(serviceError) {
|
|
301
|
+
super(1011, 401, "Missing api key or user token", serviceError);
|
|
302
|
+
Object.assign(this, serviceError);
|
|
303
|
+
}
|
|
304
|
+
};
|
|
305
|
+
var InvalidApiKey = class extends ServiceErrorResponse {
|
|
306
|
+
static ERROR_CODE = 1012;
|
|
307
|
+
constructor(serviceError) {
|
|
308
|
+
super(1012, 401, "Invalid api key", serviceError);
|
|
309
|
+
Object.assign(this, serviceError);
|
|
310
|
+
}
|
|
311
|
+
};
|
|
312
|
+
var TooManyRequests = class extends ServiceErrorResponse {
|
|
313
|
+
static ERROR_CODE = 1021;
|
|
314
|
+
constructor(serviceError) {
|
|
315
|
+
super(1021, 429, "Too many requests", serviceError);
|
|
313
316
|
Object.assign(this, serviceError);
|
|
314
317
|
}
|
|
315
318
|
};
|
|
316
319
|
var declaredErrors = {
|
|
317
|
-
1018: AssetSourceFileNotFound,
|
|
318
|
-
1002: InsufficientPermissions,
|
|
319
320
|
1003: InvalidAuthorization,
|
|
320
321
|
1004: InsufficientSecurityScope,
|
|
321
|
-
|
|
322
|
-
1006: EnvironmentMismatch,
|
|
323
|
-
1011: MissingAuthorizationHeader,
|
|
324
|
-
1012: InvalidApiKey,
|
|
325
|
-
1016: InvalidGuestToken,
|
|
322
|
+
1002: InsufficientPermissions,
|
|
326
323
|
1017: InvalidTokenTtl,
|
|
324
|
+
1: InvalidParameter,
|
|
325
|
+
1020: MemberAccessesDiffer,
|
|
326
|
+
1013: InvalidMaterial,
|
|
327
|
+
1014: InvalidRequest,
|
|
327
328
|
1007: UploadedPayloadTooLarge,
|
|
328
329
|
1008: NoFileUploaded,
|
|
329
330
|
1009: UploadAborted,
|
|
330
331
|
1010: UploadTaskNotFound,
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
332
|
+
1015: ConversionTaskNotFound,
|
|
333
|
+
1019: LogsUnavailable,
|
|
334
|
+
1016: InvalidGuestToken,
|
|
335
|
+
1005: Unauthorized,
|
|
336
|
+
1011: MissingAuthorizationHeader,
|
|
337
|
+
1012: InvalidApiKey,
|
|
338
|
+
1021: TooManyRequests
|
|
334
339
|
};
|
|
335
340
|
function errorOf(error) {
|
|
336
341
|
if (Object.values(declaredErrors).some((declared2) => error instanceof declared2)) {
|
|
@@ -354,6 +359,11 @@ function listUsers({
|
|
|
354
359
|
limit
|
|
355
360
|
},
|
|
356
361
|
headers
|
|
362
|
+
}).then((response) => {
|
|
363
|
+
if ("x-total-count" in response.headers) {
|
|
364
|
+
response.headers["x-total-count"] = JSON.parse(response.headers["x-total-count"]);
|
|
365
|
+
}
|
|
366
|
+
return response;
|
|
357
367
|
});
|
|
358
368
|
}
|
|
359
369
|
function registerUser({
|
|
@@ -421,7 +431,7 @@ function generateUserToken({
|
|
|
421
431
|
headers
|
|
422
432
|
});
|
|
423
433
|
}
|
|
424
|
-
function
|
|
434
|
+
function listUserGroups({
|
|
425
435
|
user_id
|
|
426
436
|
}, headers) {
|
|
427
437
|
return axiosInstance({
|
|
@@ -430,21 +440,6 @@ function getUserGroups({
|
|
|
430
440
|
headers
|
|
431
441
|
});
|
|
432
442
|
}
|
|
433
|
-
function getUserUploadTasks({
|
|
434
|
-
user_id,
|
|
435
|
-
offset = 0,
|
|
436
|
-
limit = 10
|
|
437
|
-
}, headers) {
|
|
438
|
-
return axiosInstance({
|
|
439
|
-
method: "get",
|
|
440
|
-
url: "/users/" + encodeURIComponent(user_id) + "/upload-tasks",
|
|
441
|
-
params: {
|
|
442
|
-
offset,
|
|
443
|
-
limit
|
|
444
|
-
},
|
|
445
|
-
headers
|
|
446
|
-
});
|
|
447
|
-
}
|
|
448
443
|
function createGroup({
|
|
449
444
|
name,
|
|
450
445
|
description,
|
|
@@ -470,7 +465,7 @@ function getGroup({
|
|
|
470
465
|
headers
|
|
471
466
|
});
|
|
472
467
|
}
|
|
473
|
-
function
|
|
468
|
+
function updateGroup({
|
|
474
469
|
group_id,
|
|
475
470
|
name,
|
|
476
471
|
description
|
|
@@ -550,7 +545,7 @@ function createFolder({
|
|
|
550
545
|
headers
|
|
551
546
|
});
|
|
552
547
|
}
|
|
553
|
-
function
|
|
548
|
+
function getFolder({
|
|
554
549
|
folder_id
|
|
555
550
|
}, headers) {
|
|
556
551
|
return axiosInstance({
|
|
@@ -559,17 +554,6 @@ function getFolderInfo({
|
|
|
559
554
|
headers
|
|
560
555
|
});
|
|
561
556
|
}
|
|
562
|
-
function moveFolders({
|
|
563
|
-
folder_id,
|
|
564
|
-
folder_ids
|
|
565
|
-
}, headers) {
|
|
566
|
-
return axiosInstance({
|
|
567
|
-
method: "put",
|
|
568
|
-
url: "/folders/" + encodeURIComponent(folder_id),
|
|
569
|
-
data: folder_ids,
|
|
570
|
-
headers
|
|
571
|
-
});
|
|
572
|
-
}
|
|
573
557
|
function updateFolder({
|
|
574
558
|
folder_id,
|
|
575
559
|
name
|
|
@@ -642,7 +626,7 @@ function createSubfolder({
|
|
|
642
626
|
headers
|
|
643
627
|
});
|
|
644
628
|
}
|
|
645
|
-
function
|
|
629
|
+
function listFolderSubfolders({
|
|
646
630
|
folder_id
|
|
647
631
|
}, headers) {
|
|
648
632
|
return axiosInstance({
|
|
@@ -651,10 +635,22 @@ function listFolderSubFolders({
|
|
|
651
635
|
headers
|
|
652
636
|
});
|
|
653
637
|
}
|
|
638
|
+
function moveFolders({
|
|
639
|
+
folder_id,
|
|
640
|
+
folder_ids
|
|
641
|
+
}, headers) {
|
|
642
|
+
return axiosInstance({
|
|
643
|
+
method: "patch",
|
|
644
|
+
url: "/folders/" + encodeURIComponent(folder_id) + "/folders",
|
|
645
|
+
data: {
|
|
646
|
+
folder_ids
|
|
647
|
+
},
|
|
648
|
+
headers
|
|
649
|
+
});
|
|
650
|
+
}
|
|
654
651
|
function uploadSourceFiles({
|
|
655
652
|
folder_id,
|
|
656
653
|
files,
|
|
657
|
-
task_name,
|
|
658
654
|
conversion_pipeline = "auto-detect",
|
|
659
655
|
source_files,
|
|
660
656
|
options
|
|
@@ -664,7 +660,6 @@ function uploadSourceFiles({
|
|
|
664
660
|
url: "/folders/" + encodeURIComponent(folder_id) + "/source-files",
|
|
665
661
|
data: multipartBody(
|
|
666
662
|
{
|
|
667
|
-
task_name,
|
|
668
663
|
conversion_pipeline,
|
|
669
664
|
source_files,
|
|
670
665
|
options
|
|
@@ -680,7 +675,7 @@ function uploadSourceFiles({
|
|
|
680
675
|
}
|
|
681
676
|
});
|
|
682
677
|
}
|
|
683
|
-
function
|
|
678
|
+
function listFolderSourceFiles({
|
|
684
679
|
folder_id,
|
|
685
680
|
offset = 0,
|
|
686
681
|
limit = 10,
|
|
@@ -696,7 +691,12 @@ function getSourceFilesInFolder({
|
|
|
696
691
|
},
|
|
697
692
|
headers
|
|
698
693
|
}).then((response) => {
|
|
699
|
-
response.headers["x-source-files-count"] = JSON.parse(
|
|
694
|
+
response.headers["x-source-files-count"] = JSON.parse(
|
|
695
|
+
response.headers["x-source-files-count"]
|
|
696
|
+
);
|
|
697
|
+
if ("x-total-count" in response.headers) {
|
|
698
|
+
response.headers["x-total-count"] = JSON.parse(response.headers["x-total-count"]);
|
|
699
|
+
}
|
|
700
700
|
return response;
|
|
701
701
|
});
|
|
702
702
|
}
|
|
@@ -705,13 +705,15 @@ function moveSourceFiles({
|
|
|
705
705
|
source_file_ids
|
|
706
706
|
}, headers) {
|
|
707
707
|
return axiosInstance({
|
|
708
|
-
method: "
|
|
708
|
+
method: "patch",
|
|
709
709
|
url: "/folders/" + encodeURIComponent(folder_id) + "/source-files",
|
|
710
|
-
data:
|
|
710
|
+
data: {
|
|
711
|
+
source_file_ids
|
|
712
|
+
},
|
|
711
713
|
headers
|
|
712
714
|
});
|
|
713
715
|
}
|
|
714
|
-
function
|
|
716
|
+
function listFolderUploadTasks({
|
|
715
717
|
folder_id,
|
|
716
718
|
offset = 0,
|
|
717
719
|
limit = 10
|
|
@@ -726,11 +728,11 @@ function getUploadTasksInFolder({
|
|
|
726
728
|
headers
|
|
727
729
|
});
|
|
728
730
|
}
|
|
729
|
-
function
|
|
731
|
+
function listFolderAssets({
|
|
730
732
|
folder_id,
|
|
731
733
|
offset = 0,
|
|
732
734
|
limit = 10,
|
|
733
|
-
|
|
735
|
+
filters,
|
|
734
736
|
recursive = false
|
|
735
737
|
}, headers) {
|
|
736
738
|
return axiosInstance({
|
|
@@ -739,12 +741,15 @@ function getFolderAssets({
|
|
|
739
741
|
params: {
|
|
740
742
|
offset,
|
|
741
743
|
limit,
|
|
742
|
-
|
|
744
|
+
filters,
|
|
743
745
|
recursive
|
|
744
746
|
},
|
|
745
747
|
headers
|
|
746
748
|
}).then((response) => {
|
|
747
749
|
response.headers["x-assets-count"] = JSON.parse(response.headers["x-assets-count"]);
|
|
750
|
+
if ("x-total-count" in response.headers) {
|
|
751
|
+
response.headers["x-total-count"] = JSON.parse(response.headers["x-total-count"]);
|
|
752
|
+
}
|
|
748
753
|
return response;
|
|
749
754
|
});
|
|
750
755
|
}
|
|
@@ -764,90 +769,10 @@ function moveAssets({
|
|
|
764
769
|
asset_ids
|
|
765
770
|
}, headers) {
|
|
766
771
|
return axiosInstance({
|
|
767
|
-
method: "
|
|
772
|
+
method: "patch",
|
|
768
773
|
url: "/folders/" + encodeURIComponent(folder_id) + "/assets",
|
|
769
|
-
data: asset_ids,
|
|
770
|
-
headers
|
|
771
|
-
});
|
|
772
|
-
}
|
|
773
|
-
function createMaterial({
|
|
774
|
-
folder_id,
|
|
775
|
-
dataJson = {},
|
|
776
|
-
isDoubleSided = false,
|
|
777
|
-
name,
|
|
778
|
-
shaderRef = "00000000-0000-0000-0000-000000000000"
|
|
779
|
-
}, headers) {
|
|
780
|
-
return axiosInstance({
|
|
781
|
-
method: "post",
|
|
782
|
-
url: "/folders/" + encodeURIComponent(folder_id) + "/assets/materials",
|
|
783
|
-
data: {
|
|
784
|
-
dataJson,
|
|
785
|
-
isDoubleSided,
|
|
786
|
-
name,
|
|
787
|
-
shaderRef
|
|
788
|
-
},
|
|
789
|
-
headers
|
|
790
|
-
});
|
|
791
|
-
}
|
|
792
|
-
function createCubemap({
|
|
793
|
-
folder_id,
|
|
794
|
-
faces = [
|
|
795
|
-
"00000000-0000-0000-0000-000000000000",
|
|
796
|
-
"00000000-0000-0000-0000-000000000000",
|
|
797
|
-
"00000000-0000-0000-0000-000000000000",
|
|
798
|
-
"00000000-0000-0000-0000-000000000000",
|
|
799
|
-
"00000000-0000-0000-0000-000000000000",
|
|
800
|
-
"00000000-0000-0000-0000-000000000000"
|
|
801
|
-
],
|
|
802
|
-
name
|
|
803
|
-
}, headers) {
|
|
804
|
-
return axiosInstance({
|
|
805
|
-
method: "post",
|
|
806
|
-
url: "/folders/" + encodeURIComponent(folder_id) + "/assets/cubemaps",
|
|
807
|
-
data: {
|
|
808
|
-
faces,
|
|
809
|
-
name
|
|
810
|
-
},
|
|
811
|
-
headers
|
|
812
|
-
});
|
|
813
|
-
}
|
|
814
|
-
function getSessionsInFolder({
|
|
815
|
-
folder_id
|
|
816
|
-
}, headers) {
|
|
817
|
-
return axiosInstance({
|
|
818
|
-
method: "get",
|
|
819
|
-
url: "/folders/" + encodeURIComponent(folder_id) + "/sessions",
|
|
820
|
-
headers
|
|
821
|
-
});
|
|
822
|
-
}
|
|
823
|
-
function createDuplicationRequest({
|
|
824
|
-
assets,
|
|
825
|
-
options
|
|
826
|
-
}, headers) {
|
|
827
|
-
return axiosInstance({
|
|
828
|
-
method: "post",
|
|
829
|
-
url: "/duplication-requests",
|
|
830
774
|
data: {
|
|
831
|
-
|
|
832
|
-
options
|
|
833
|
-
},
|
|
834
|
-
headers
|
|
835
|
-
});
|
|
836
|
-
}
|
|
837
|
-
function listDuplicationRequests({
|
|
838
|
-
offset = 0,
|
|
839
|
-
limit = 10,
|
|
840
|
-
states,
|
|
841
|
-
mine = false
|
|
842
|
-
}, headers) {
|
|
843
|
-
return axiosInstance({
|
|
844
|
-
method: "get",
|
|
845
|
-
url: "/duplication-requests",
|
|
846
|
-
params: {
|
|
847
|
-
offset,
|
|
848
|
-
limit,
|
|
849
|
-
states,
|
|
850
|
-
mine
|
|
775
|
+
asset_ids
|
|
851
776
|
},
|
|
852
777
|
headers
|
|
853
778
|
});
|
|
@@ -861,41 +786,6 @@ function getDuplicationRequest({
|
|
|
861
786
|
headers
|
|
862
787
|
});
|
|
863
788
|
}
|
|
864
|
-
function updateDuplicationRequest({
|
|
865
|
-
duplication_request_id,
|
|
866
|
-
assets,
|
|
867
|
-
folders_by_type,
|
|
868
|
-
dependencies_folders
|
|
869
|
-
}, headers) {
|
|
870
|
-
return axiosInstance({
|
|
871
|
-
method: "patch",
|
|
872
|
-
url: "/duplication-requests/" + encodeURIComponent(duplication_request_id),
|
|
873
|
-
data: {
|
|
874
|
-
assets,
|
|
875
|
-
folders_by_type,
|
|
876
|
-
dependencies_folders
|
|
877
|
-
},
|
|
878
|
-
headers
|
|
879
|
-
});
|
|
880
|
-
}
|
|
881
|
-
function discardDuplicationRequest({
|
|
882
|
-
duplication_request_id
|
|
883
|
-
}, headers) {
|
|
884
|
-
return axiosInstance({
|
|
885
|
-
method: "delete",
|
|
886
|
-
url: "/duplication-requests/" + encodeURIComponent(duplication_request_id),
|
|
887
|
-
headers
|
|
888
|
-
});
|
|
889
|
-
}
|
|
890
|
-
function confirmDuplicationRequest({
|
|
891
|
-
duplication_request_id
|
|
892
|
-
}, headers) {
|
|
893
|
-
return axiosInstance({
|
|
894
|
-
method: "post",
|
|
895
|
-
url: "/duplication-requests/" + encodeURIComponent(duplication_request_id) + "/confirm",
|
|
896
|
-
headers
|
|
897
|
-
});
|
|
898
|
-
}
|
|
899
789
|
function listSourceFiles({
|
|
900
790
|
offset = 0,
|
|
901
791
|
limit = 10,
|
|
@@ -911,7 +801,12 @@ function listSourceFiles({
|
|
|
911
801
|
},
|
|
912
802
|
headers
|
|
913
803
|
}).then((response) => {
|
|
914
|
-
response.headers["x-source-files-count"] = JSON.parse(
|
|
804
|
+
response.headers["x-source-files-count"] = JSON.parse(
|
|
805
|
+
response.headers["x-source-files-count"]
|
|
806
|
+
);
|
|
807
|
+
if ("x-total-count" in response.headers) {
|
|
808
|
+
response.headers["x-total-count"] = JSON.parse(response.headers["x-total-count"]);
|
|
809
|
+
}
|
|
915
810
|
return response;
|
|
916
811
|
});
|
|
917
812
|
}
|
|
@@ -936,29 +831,29 @@ function getSupportedSourceFileFormats(headers) {
|
|
|
936
831
|
headers
|
|
937
832
|
});
|
|
938
833
|
}
|
|
939
|
-
function
|
|
834
|
+
function getSourceFile({
|
|
940
835
|
source_file_id
|
|
941
836
|
}, headers) {
|
|
942
837
|
return axiosInstance({
|
|
943
838
|
method: "get",
|
|
944
|
-
url: "/source-files/" + encodeURIComponent(source_file_id)
|
|
839
|
+
url: "/source-files/" + encodeURIComponent(source_file_id),
|
|
945
840
|
headers
|
|
946
841
|
});
|
|
947
842
|
}
|
|
948
|
-
function
|
|
843
|
+
function updateSourceFile({
|
|
949
844
|
source_file_id,
|
|
950
845
|
name
|
|
951
846
|
}, headers) {
|
|
952
847
|
return axiosInstance({
|
|
953
848
|
method: "patch",
|
|
954
|
-
url: "/source-files/" + encodeURIComponent(source_file_id)
|
|
849
|
+
url: "/source-files/" + encodeURIComponent(source_file_id),
|
|
955
850
|
data: {
|
|
956
851
|
name
|
|
957
852
|
},
|
|
958
853
|
headers
|
|
959
854
|
});
|
|
960
855
|
}
|
|
961
|
-
function
|
|
856
|
+
function listSourceFileAssets({
|
|
962
857
|
source_file_id
|
|
963
858
|
}, headers) {
|
|
964
859
|
return axiosInstance({
|
|
@@ -967,16 +862,18 @@ function getSourceFileAssets({
|
|
|
967
862
|
headers
|
|
968
863
|
});
|
|
969
864
|
}
|
|
970
|
-
function
|
|
865
|
+
function listUploadTasks({
|
|
971
866
|
offset = 0,
|
|
972
|
-
limit = 10
|
|
867
|
+
limit = 10,
|
|
868
|
+
filters
|
|
973
869
|
}, headers) {
|
|
974
870
|
return axiosInstance({
|
|
975
871
|
method: "get",
|
|
976
872
|
url: "/upload-tasks",
|
|
977
873
|
params: {
|
|
978
874
|
offset,
|
|
979
|
-
limit
|
|
875
|
+
limit,
|
|
876
|
+
filters
|
|
980
877
|
},
|
|
981
878
|
headers
|
|
982
879
|
});
|
|
@@ -996,27 +893,24 @@ function getConversionTaskMetadata({
|
|
|
996
893
|
}, headers, responseType) {
|
|
997
894
|
return axiosInstance({
|
|
998
895
|
method: "get",
|
|
999
|
-
url: "/
|
|
896
|
+
url: "/conversion-tasks/" + encodeURIComponent(conversion_task_id) + "/metadata/" + encodeURIComponent(filename),
|
|
1000
897
|
headers,
|
|
1001
898
|
responseType: responseType || "arraybuffer"
|
|
1002
899
|
});
|
|
1003
900
|
}
|
|
1004
|
-
function
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
asset_refs
|
|
901
|
+
function getConversionTaskLogs({
|
|
902
|
+
conversion_task_id,
|
|
903
|
+
from,
|
|
904
|
+
to,
|
|
905
|
+
limit
|
|
1010
906
|
}, headers) {
|
|
1011
907
|
return axiosInstance({
|
|
1012
|
-
method: "
|
|
1013
|
-
url: "/
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
inputs,
|
|
1019
|
-
asset_refs
|
|
908
|
+
method: "get",
|
|
909
|
+
url: "/conversion-tasks/" + encodeURIComponent(conversion_task_id) + "/logs",
|
|
910
|
+
params: {
|
|
911
|
+
from,
|
|
912
|
+
to,
|
|
913
|
+
limit
|
|
1020
914
|
},
|
|
1021
915
|
headers
|
|
1022
916
|
});
|
|
@@ -1024,7 +918,7 @@ function schedulePipeline({
|
|
|
1024
918
|
function listAssets({
|
|
1025
919
|
offset = 0,
|
|
1026
920
|
limit = 10,
|
|
1027
|
-
|
|
921
|
+
filters
|
|
1028
922
|
}, headers) {
|
|
1029
923
|
return axiosInstance({
|
|
1030
924
|
method: "get",
|
|
@@ -1032,9 +926,14 @@ function listAssets({
|
|
|
1032
926
|
params: {
|
|
1033
927
|
offset,
|
|
1034
928
|
limit,
|
|
1035
|
-
|
|
929
|
+
filters
|
|
1036
930
|
},
|
|
1037
931
|
headers
|
|
932
|
+
}).then((response) => {
|
|
933
|
+
if ("x-total-count" in response.headers) {
|
|
934
|
+
response.headers["x-total-count"] = JSON.parse(response.headers["x-total-count"]);
|
|
935
|
+
}
|
|
936
|
+
return response;
|
|
1038
937
|
});
|
|
1039
938
|
}
|
|
1040
939
|
function deleteAssets({
|
|
@@ -1057,13 +956,17 @@ function deleteAsset({
|
|
|
1057
956
|
headers
|
|
1058
957
|
});
|
|
1059
958
|
}
|
|
1060
|
-
function
|
|
959
|
+
function renameAsset({
|
|
1061
960
|
asset_container,
|
|
1062
|
-
asset_id
|
|
961
|
+
asset_id,
|
|
962
|
+
name
|
|
1063
963
|
}, headers) {
|
|
1064
964
|
return axiosInstance({
|
|
1065
|
-
method: "
|
|
1066
|
-
url: "/assets/" + encodeURIComponent(asset_container) + "/" + encodeURIComponent(asset_id)
|
|
965
|
+
method: "patch",
|
|
966
|
+
url: "/assets/" + encodeURIComponent(asset_container) + "/" + encodeURIComponent(asset_id),
|
|
967
|
+
data: {
|
|
968
|
+
name
|
|
969
|
+
},
|
|
1067
970
|
headers
|
|
1068
971
|
});
|
|
1069
972
|
}
|
|
@@ -1077,17 +980,7 @@ function getAssetDetails({
|
|
|
1077
980
|
headers
|
|
1078
981
|
});
|
|
1079
982
|
}
|
|
1080
|
-
function
|
|
1081
|
-
asset_container,
|
|
1082
|
-
asset_id
|
|
1083
|
-
}, headers) {
|
|
1084
|
-
return axiosInstance({
|
|
1085
|
-
method: "get",
|
|
1086
|
-
url: "/assets/" + encodeURIComponent(asset_container) + "/" + encodeURIComponent(asset_id) + "/folder",
|
|
1087
|
-
headers
|
|
1088
|
-
});
|
|
1089
|
-
}
|
|
1090
|
-
function getAssetDependencies({
|
|
983
|
+
function listAssetDependencies({
|
|
1091
984
|
asset_container,
|
|
1092
985
|
asset_id,
|
|
1093
986
|
offset = 0,
|
|
@@ -1109,7 +1002,7 @@ function getAssetDependencies({
|
|
|
1109
1002
|
headers
|
|
1110
1003
|
});
|
|
1111
1004
|
}
|
|
1112
|
-
function
|
|
1005
|
+
function listAssetReferences({
|
|
1113
1006
|
asset_container,
|
|
1114
1007
|
asset_id,
|
|
1115
1008
|
offset = 0,
|
|
@@ -1149,20 +1042,6 @@ function updateAssetDescription({
|
|
|
1149
1042
|
headers
|
|
1150
1043
|
});
|
|
1151
1044
|
}
|
|
1152
|
-
function renameAsset({
|
|
1153
|
-
asset_id,
|
|
1154
|
-
asset_container,
|
|
1155
|
-
name
|
|
1156
|
-
}, headers) {
|
|
1157
|
-
return axiosInstance({
|
|
1158
|
-
method: "patch",
|
|
1159
|
-
url: "/assets/" + encodeURIComponent(asset_container) + "/" + encodeURIComponent(asset_id) + "/description",
|
|
1160
|
-
data: {
|
|
1161
|
-
name
|
|
1162
|
-
},
|
|
1163
|
-
headers
|
|
1164
|
-
});
|
|
1165
|
-
}
|
|
1166
1045
|
function getAssetPayload({
|
|
1167
1046
|
asset_container_with_payload,
|
|
1168
1047
|
asset_id,
|
|
@@ -1210,16 +1089,6 @@ function getAssetHistory({
|
|
|
1210
1089
|
headers
|
|
1211
1090
|
});
|
|
1212
1091
|
}
|
|
1213
|
-
function getAssetMeta({
|
|
1214
|
-
asset_container,
|
|
1215
|
-
asset_id
|
|
1216
|
-
}, headers) {
|
|
1217
|
-
return axiosInstance({
|
|
1218
|
-
method: "get",
|
|
1219
|
-
url: "/assets/" + encodeURIComponent(asset_container) + "/" + encodeURIComponent(asset_id) + "/meta",
|
|
1220
|
-
headers
|
|
1221
|
-
});
|
|
1222
|
-
}
|
|
1223
1092
|
function getAssetCode({
|
|
1224
1093
|
asset_container_with_code,
|
|
1225
1094
|
asset_id
|
|
@@ -1281,7 +1150,7 @@ function exportAsset({
|
|
|
1281
1150
|
format,
|
|
1282
1151
|
scale = 1,
|
|
1283
1152
|
sub_mesh_index
|
|
1284
|
-
}, headers) {
|
|
1153
|
+
}, headers, responseType) {
|
|
1285
1154
|
return axiosInstance({
|
|
1286
1155
|
method: "get",
|
|
1287
1156
|
url: "/assets/" + encodeURIComponent(asset_container_exportable) + "/" + encodeURIComponent(asset_id) + "/exports/" + encodeURIComponent(format),
|
|
@@ -1289,16 +1158,8 @@ function exportAsset({
|
|
|
1289
1158
|
scale,
|
|
1290
1159
|
sub_mesh_index
|
|
1291
1160
|
},
|
|
1292
|
-
headers
|
|
1293
|
-
|
|
1294
|
-
}
|
|
1295
|
-
function getSceneSessions({
|
|
1296
|
-
scene_id
|
|
1297
|
-
}, headers) {
|
|
1298
|
-
return axiosInstance({
|
|
1299
|
-
method: "get",
|
|
1300
|
-
url: "/assets/scenes/" + encodeURIComponent(scene_id) + "/sessions",
|
|
1301
|
-
headers
|
|
1161
|
+
headers,
|
|
1162
|
+
responseType: responseType || "arraybuffer"
|
|
1302
1163
|
});
|
|
1303
1164
|
}
|
|
1304
1165
|
function getSceneAABB({
|
|
@@ -1338,6 +1199,7 @@ function createEntity({
|
|
|
1338
1199
|
measure,
|
|
1339
1200
|
mesh_ref,
|
|
1340
1201
|
morph_targets,
|
|
1202
|
+
navmesh_ref,
|
|
1341
1203
|
orthographic_lens,
|
|
1342
1204
|
overrider,
|
|
1343
1205
|
perspective_lens,
|
|
@@ -1392,6 +1254,7 @@ function createEntity({
|
|
|
1392
1254
|
measure,
|
|
1393
1255
|
mesh_ref,
|
|
1394
1256
|
morph_targets,
|
|
1257
|
+
navmesh_ref,
|
|
1395
1258
|
orthographic_lens,
|
|
1396
1259
|
overrider,
|
|
1397
1260
|
perspective_lens,
|
|
@@ -1462,6 +1325,7 @@ function updateEntity({
|
|
|
1462
1325
|
measure,
|
|
1463
1326
|
mesh_ref,
|
|
1464
1327
|
morph_targets,
|
|
1328
|
+
navmesh_ref,
|
|
1465
1329
|
orthographic_lens,
|
|
1466
1330
|
overrider,
|
|
1467
1331
|
perspective_lens,
|
|
@@ -1516,6 +1380,7 @@ function updateEntity({
|
|
|
1516
1380
|
measure,
|
|
1517
1381
|
mesh_ref,
|
|
1518
1382
|
morph_targets,
|
|
1383
|
+
navmesh_ref,
|
|
1519
1384
|
orthographic_lens,
|
|
1520
1385
|
overrider,
|
|
1521
1386
|
perspective_lens,
|
|
@@ -1573,7 +1438,7 @@ function updateSceneSettings({
|
|
|
1573
1438
|
headers
|
|
1574
1439
|
});
|
|
1575
1440
|
}
|
|
1576
|
-
function
|
|
1441
|
+
function listRunningSessions({
|
|
1577
1442
|
filters
|
|
1578
1443
|
}, headers) {
|
|
1579
1444
|
return axiosInstance({
|
|
@@ -1749,47 +1614,38 @@ function installInterceptors() {
|
|
|
1749
1614
|
);
|
|
1750
1615
|
}
|
|
1751
1616
|
function shouldRetryRequest(error) {
|
|
1752
|
-
|
|
1753
|
-
switch (status) {
|
|
1754
|
-
case 403:
|
|
1755
|
-
case 404:
|
|
1756
|
-
return true;
|
|
1757
|
-
default:
|
|
1758
|
-
return (0, import_axios_retry.isNetworkError)(error) || (0, import_axios_retry.isIdempotentRequestError)(error);
|
|
1759
|
-
}
|
|
1617
|
+
return (0, import_axios_retry.isNetworkError)(error) || (0, import_axios_retry.isIdempotentRequestError)(error);
|
|
1760
1618
|
}
|
|
1761
1619
|
installInterceptors();
|
|
1762
1620
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1763
1621
|
0 && (module.exports = {
|
|
1764
1622
|
ApiError,
|
|
1765
|
-
AssetSourceFileNotFound,
|
|
1766
1623
|
ConversionTaskNotFound,
|
|
1767
|
-
EnvironmentMismatch,
|
|
1768
1624
|
InsufficientPermissions,
|
|
1769
1625
|
InsufficientSecurityScope,
|
|
1770
1626
|
InvalidApiKey,
|
|
1771
1627
|
InvalidAuthorization,
|
|
1772
1628
|
InvalidGuestToken,
|
|
1773
1629
|
InvalidMaterial,
|
|
1630
|
+
InvalidParameter,
|
|
1774
1631
|
InvalidRequest,
|
|
1775
1632
|
InvalidTokenTtl,
|
|
1633
|
+
LogsUnavailable,
|
|
1634
|
+
MemberAccessesDiffer,
|
|
1776
1635
|
MissingAuthorizationHeader,
|
|
1777
1636
|
NoFileUploaded,
|
|
1778
1637
|
ServiceErrorResponse,
|
|
1638
|
+
TooManyRequests,
|
|
1779
1639
|
Unauthorized,
|
|
1780
1640
|
UnexpectedServiceError,
|
|
1781
1641
|
UploadAborted,
|
|
1782
1642
|
UploadTaskNotFound,
|
|
1783
1643
|
UploadedPayloadTooLarge,
|
|
1784
1644
|
axiosInstance,
|
|
1785
|
-
confirmDuplicationRequest,
|
|
1786
1645
|
createAsset,
|
|
1787
|
-
createCubemap,
|
|
1788
|
-
createDuplicationRequest,
|
|
1789
1646
|
createEntity,
|
|
1790
1647
|
createFolder,
|
|
1791
1648
|
createGroup,
|
|
1792
|
-
createMaterial,
|
|
1793
1649
|
createSession,
|
|
1794
1650
|
createSubfolder,
|
|
1795
1651
|
deleteAsset,
|
|
@@ -1799,59 +1655,52 @@ installInterceptors();
|
|
|
1799
1655
|
deleteGroup,
|
|
1800
1656
|
deleteSourceFiles,
|
|
1801
1657
|
deleteUser,
|
|
1802
|
-
discardDuplicationRequest,
|
|
1803
1658
|
errorOf,
|
|
1804
1659
|
exportAsset,
|
|
1805
1660
|
generateGuestToken,
|
|
1806
1661
|
generateUserToken,
|
|
1807
1662
|
getAssetCode,
|
|
1808
|
-
getAssetDependencies,
|
|
1809
1663
|
getAssetDescription,
|
|
1810
1664
|
getAssetDetails,
|
|
1811
|
-
getAssetFolder,
|
|
1812
1665
|
getAssetGraph,
|
|
1813
1666
|
getAssetHistory,
|
|
1814
|
-
getAssetMeta,
|
|
1815
1667
|
getAssetPayload,
|
|
1816
|
-
getAssetReferences,
|
|
1817
|
-
getAssetSourceFile,
|
|
1818
1668
|
getAssetThumbnail,
|
|
1819
1669
|
getClient,
|
|
1670
|
+
getConversionTaskLogs,
|
|
1820
1671
|
getConversionTaskMetadata,
|
|
1821
1672
|
getCurrentUser,
|
|
1822
1673
|
getDuplicationRequest,
|
|
1823
1674
|
getEntity,
|
|
1824
|
-
|
|
1825
|
-
getFolderInfo,
|
|
1675
|
+
getFolder,
|
|
1826
1676
|
getGroup,
|
|
1827
|
-
getRunningSessions,
|
|
1828
1677
|
getSceneAABB,
|
|
1829
|
-
getSceneSessions,
|
|
1830
1678
|
getSceneSettings,
|
|
1831
1679
|
getSession,
|
|
1832
|
-
|
|
1833
|
-
getSourceFileAssets,
|
|
1834
|
-
getSourceFileDetails,
|
|
1835
|
-
getSourceFilesInFolder,
|
|
1680
|
+
getSourceFile,
|
|
1836
1681
|
getSupportedSourceFileFormats,
|
|
1837
1682
|
getUploadTask,
|
|
1838
|
-
getUploadTasks,
|
|
1839
|
-
getUploadTasksInFolder,
|
|
1840
1683
|
getUser,
|
|
1841
|
-
getUserGroups,
|
|
1842
|
-
getUserUploadTasks,
|
|
1843
1684
|
grantMemberAccessToFolder,
|
|
1844
1685
|
grantMemberAccessToGroup,
|
|
1845
1686
|
joinSession,
|
|
1846
1687
|
joinSessionAsGuest,
|
|
1847
1688
|
kickClientFromSession,
|
|
1848
1689
|
killSession,
|
|
1690
|
+
listAssetDependencies,
|
|
1691
|
+
listAssetReferences,
|
|
1849
1692
|
listAssets,
|
|
1850
|
-
listDuplicationRequests,
|
|
1851
1693
|
listFolderAccesses,
|
|
1852
|
-
|
|
1694
|
+
listFolderAssets,
|
|
1695
|
+
listFolderSourceFiles,
|
|
1696
|
+
listFolderSubfolders,
|
|
1697
|
+
listFolderUploadTasks,
|
|
1853
1698
|
listFolders,
|
|
1699
|
+
listRunningSessions,
|
|
1700
|
+
listSourceFileAssets,
|
|
1854
1701
|
listSourceFiles,
|
|
1702
|
+
listUploadTasks,
|
|
1703
|
+
listUserGroups,
|
|
1855
1704
|
listUsers,
|
|
1856
1705
|
moveAssets,
|
|
1857
1706
|
moveFolders,
|
|
@@ -1861,19 +1710,17 @@ installInterceptors();
|
|
|
1861
1710
|
renameAsset,
|
|
1862
1711
|
revokeMemberAccessToFolder,
|
|
1863
1712
|
revokeMemberAccessToGroup,
|
|
1864
|
-
schedulePipeline,
|
|
1865
1713
|
setApiKey,
|
|
1866
1714
|
setAssetThumbnail,
|
|
1867
1715
|
setBaseURL,
|
|
1868
1716
|
setUserToken,
|
|
1869
1717
|
updateAssetDescription,
|
|
1870
1718
|
updateAssetGraph,
|
|
1871
|
-
updateDuplicationRequest,
|
|
1872
1719
|
updateEntity,
|
|
1873
1720
|
updateFolder,
|
|
1874
|
-
|
|
1721
|
+
updateGroup,
|
|
1875
1722
|
updateSceneSettings,
|
|
1876
|
-
|
|
1723
|
+
updateSourceFile,
|
|
1877
1724
|
updateUser,
|
|
1878
1725
|
uploadSourceFiles
|
|
1879
1726
|
});
|