@3dverse/api 0.1.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.mjs CHANGED
@@ -104,8 +104,8 @@ function getUserUploadTasks({
104
104
  });
105
105
  }
106
106
  function createGroup({
107
- group_name,
108
- group_description,
107
+ name,
108
+ description,
109
109
  members
110
110
  }) {
111
111
  return axiosInstance({
@@ -113,8 +113,8 @@ function createGroup({
113
113
  method: "post",
114
114
  url: "/groups",
115
115
  data: {
116
- group_name,
117
- group_description,
116
+ name,
117
+ description,
118
118
  members
119
119
  }
120
120
  });
@@ -130,16 +130,16 @@ function getGroup({
130
130
  }
131
131
  function updateGroupDescription({
132
132
  group_id,
133
- group_name,
134
- group_description
133
+ name,
134
+ description
135
135
  }) {
136
136
  return axiosInstance({
137
137
  operationId: "updateGroupDescription",
138
138
  method: "patch",
139
139
  url: "/groups/" + group_id,
140
140
  data: {
141
- group_name,
142
- group_description
141
+ name,
142
+ description
143
143
  }
144
144
  });
145
145
  }
@@ -195,7 +195,7 @@ function listFolders({
195
195
  });
196
196
  }
197
197
  function createFolder({
198
- folder_name,
198
+ name,
199
199
  subfolders
200
200
  }) {
201
201
  return axiosInstance({
@@ -203,7 +203,7 @@ function createFolder({
203
203
  method: "post",
204
204
  url: "/folders",
205
205
  data: {
206
- folder_name,
206
+ name,
207
207
  subfolders
208
208
  }
209
209
  });
@@ -230,14 +230,14 @@ function moveFolders({
230
230
  }
231
231
  function updateFolder({
232
232
  folder_id,
233
- folder_name
233
+ name
234
234
  }) {
235
235
  return axiosInstance({
236
236
  operationId: "updateFolder",
237
237
  method: "patch",
238
238
  url: "/folders/" + folder_id,
239
239
  data: {
240
- folder_name
240
+ name
241
241
  }
242
242
  });
243
243
  }
@@ -287,7 +287,7 @@ function revokeMemberAccessToFolder({
287
287
  }
288
288
  function createSubfolder({
289
289
  folder_id,
290
- folder_name,
290
+ name,
291
291
  subfolders
292
292
  }) {
293
293
  return axiosInstance({
@@ -295,7 +295,7 @@ function createSubfolder({
295
295
  method: "post",
296
296
  url: "/folders/" + folder_id + "/folders",
297
297
  data: {
298
- folder_name,
298
+ name,
299
299
  subfolders
300
300
  }
301
301
  });
@@ -460,14 +460,14 @@ function getSourceFileDetails({
460
460
  }
461
461
  function updateSourceFileDetails({
462
462
  source_file_id,
463
- source_file_name
463
+ name
464
464
  }) {
465
465
  return axiosInstance({
466
466
  operationId: "updateSourceFileDetails",
467
467
  method: "patch",
468
468
  url: "/source-files/" + source_file_id + "/details",
469
469
  data: {
470
- source_file_name
470
+ name
471
471
  }
472
472
  });
473
473
  }