@tuturuuu/internal-api 0.15.0 → 0.18.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.
- package/dist/ai.d.ts +1 -0
- package/dist/ai.d.ts.map +1 -1
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +7 -0
- package/dist/client.d.ts +17 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +178 -0
- package/dist/education.d.ts +1 -1
- package/dist/education.d.ts.map +1 -1
- package/dist/education.js +44 -44
- package/dist/external-app-drive.d.ts +51 -0
- package/dist/external-app-drive.d.ts.map +1 -0
- package/dist/external-app-drive.js +72 -0
- package/dist/external-projects.d.ts +3 -42
- package/dist/external-projects.d.ts.map +1 -1
- package/dist/finance.d.ts.map +1 -1
- package/dist/finance.js +75 -75
- package/dist/index.d.ts +7 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +62 -16
- package/dist/infrastructure/types.d.ts +1 -1
- package/dist/infrastructure/types.d.ts.map +1 -1
- package/dist/inventory.d.ts +77 -0
- package/dist/inventory.d.ts.map +1 -1
- package/dist/inventory.js +20 -0
- package/dist/mail-types.d.ts +288 -0
- package/dist/mail-types.d.ts.map +1 -0
- package/dist/mail-types.js +2 -0
- package/dist/mail.d.ts +58 -110
- package/dist/mail.d.ts.map +1 -1
- package/dist/mail.js +229 -0
- package/dist/meetings.d.ts +26 -0
- package/dist/meetings.d.ts.map +1 -0
- package/dist/meetings.js +77 -0
- package/dist/pay.d.ts +64 -0
- package/dist/pay.d.ts.map +1 -0
- package/dist/pay.js +75 -0
- package/dist/tasks.d.ts +10 -2
- package/dist/tasks.d.ts.map +1 -1
- package/dist/teach.d.ts +127 -2
- package/dist/teach.d.ts.map +1 -1
- package/dist/teach.js +86 -21
- package/dist/tulearn.d.ts +3 -1
- package/dist/tulearn.d.ts.map +1 -1
- package/dist/tulearn.js +19 -18
- package/dist/users.d.ts +21 -0
- package/dist/users.d.ts.map +1 -1
- package/dist/users.js +18 -0
- package/package.json +10 -5
package/dist/education.js
CHANGED
|
@@ -50,15 +50,15 @@ exports.createWorkspaceCourseTestQuestions = createWorkspaceCourseTestQuestions;
|
|
|
50
50
|
exports.deleteWorkspaceStorageObject = deleteWorkspaceStorageObject;
|
|
51
51
|
const client_1 = require("./client");
|
|
52
52
|
async function listWorkspaceCourseModules(workspaceId, groupId, options) {
|
|
53
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
53
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
54
54
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/user-groups/${(0, client_1.encodePathSegment)(groupId)}/modules`, { cache: 'no-store' });
|
|
55
55
|
}
|
|
56
56
|
async function listWorkspaceCourseModuleGroupModules(workspaceId, groupId, moduleGroupId, options) {
|
|
57
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
57
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
58
58
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/user-groups/${(0, client_1.encodePathSegment)(groupId)}/module-groups/${(0, client_1.encodePathSegment)(moduleGroupId)}/modules`, { cache: 'no-store' });
|
|
59
59
|
}
|
|
60
60
|
async function createWorkspaceCourse(workspaceId, payload, options) {
|
|
61
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
61
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
62
62
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/courses`, {
|
|
63
63
|
method: 'POST',
|
|
64
64
|
headers: { 'Content-Type': 'application/json' },
|
|
@@ -67,7 +67,7 @@ async function createWorkspaceCourse(workspaceId, payload, options) {
|
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
69
|
async function listWorkspaceCourses(workspaceId, params = {}, options) {
|
|
70
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
70
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
71
71
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/courses`, {
|
|
72
72
|
cache: 'no-store',
|
|
73
73
|
query: {
|
|
@@ -79,11 +79,11 @@ async function listWorkspaceCourses(workspaceId, params = {}, options) {
|
|
|
79
79
|
});
|
|
80
80
|
}
|
|
81
81
|
async function getValseaClassroomConfig(workspaceId, options) {
|
|
82
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
82
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
83
83
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/education/valsea`, { cache: 'no-store' });
|
|
84
84
|
}
|
|
85
85
|
async function generateValseaClassroomScenario(workspaceId, payload = {}, options) {
|
|
86
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
86
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
87
87
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/education/valsea/scenario`, {
|
|
88
88
|
body: JSON.stringify(payload),
|
|
89
89
|
cache: 'no-store',
|
|
@@ -99,7 +99,7 @@ async function generateValseaClassroomScenario(workspaceId, payload = {}, option
|
|
|
99
99
|
* workspace id travels in the body as `wsId`). Forwards the caller's auth.
|
|
100
100
|
*/
|
|
101
101
|
async function generateWorkspaceQuizOptionExplanation(workspaceId, payload, options) {
|
|
102
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
102
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
103
103
|
return client.json('/api/ai/objects/quizzes/explanation', {
|
|
104
104
|
body: JSON.stringify({ wsId: workspaceId, ...payload }),
|
|
105
105
|
cache: 'no-store',
|
|
@@ -110,7 +110,7 @@ async function generateWorkspaceQuizOptionExplanation(workspaceId, payload, opti
|
|
|
110
110
|
});
|
|
111
111
|
}
|
|
112
112
|
async function synthesizeValseaClassroomSpeech(workspaceId, payload, options) {
|
|
113
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
113
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
114
114
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/education/valsea/speech`, {
|
|
115
115
|
body: JSON.stringify(payload),
|
|
116
116
|
cache: 'no-store',
|
|
@@ -121,7 +121,7 @@ async function synthesizeValseaClassroomSpeech(workspaceId, payload, options) {
|
|
|
121
121
|
});
|
|
122
122
|
}
|
|
123
123
|
async function validateValseaClassroomApiKey(workspaceId, apiKey, options) {
|
|
124
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
124
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
125
125
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/education/valsea/validate-key`, {
|
|
126
126
|
cache: 'no-store',
|
|
127
127
|
headers: { 'X-Valsea-Api-Key': apiKey },
|
|
@@ -183,7 +183,7 @@ async function uploadValseaClassroomAudioToDrive(workspaceId, file, options, cli
|
|
|
183
183
|
};
|
|
184
184
|
}
|
|
185
185
|
async function generateValseaClassroomArtifact(workspaceId, payload, options) {
|
|
186
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
186
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
187
187
|
const path = `/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/education/valsea`;
|
|
188
188
|
const byokHeaders = payload.apiKey
|
|
189
189
|
? { 'X-Valsea-Api-Key': payload.apiKey }
|
|
@@ -226,7 +226,7 @@ async function generateValseaClassroomArtifact(workspaceId, payload, options) {
|
|
|
226
226
|
});
|
|
227
227
|
}
|
|
228
228
|
async function updateWorkspaceCourse(workspaceId, courseId, payload, options) {
|
|
229
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
229
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
230
230
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/courses/${(0, client_1.encodePathSegment)(courseId)}`, {
|
|
231
231
|
method: 'PUT',
|
|
232
232
|
headers: { 'Content-Type': 'application/json' },
|
|
@@ -241,14 +241,14 @@ function publishWorkspaceCourse(workspaceId, courseId, isPublished, options) {
|
|
|
241
241
|
return updateWorkspaceCourse(workspaceId, courseId, { is_course_published: isPublished }, options);
|
|
242
242
|
}
|
|
243
243
|
async function deleteWorkspaceCourse(workspaceId, courseId, options) {
|
|
244
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
244
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
245
245
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/courses/${(0, client_1.encodePathSegment)(courseId)}`, {
|
|
246
246
|
method: 'DELETE',
|
|
247
247
|
cache: 'no-store',
|
|
248
248
|
});
|
|
249
249
|
}
|
|
250
250
|
async function createWorkspaceCourseModule(workspaceId, groupId, payload, options) {
|
|
251
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
251
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
252
252
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/user-groups/${(0, client_1.encodePathSegment)(groupId)}/modules`, {
|
|
253
253
|
method: 'POST',
|
|
254
254
|
headers: { 'Content-Type': 'application/json' },
|
|
@@ -257,7 +257,7 @@ async function createWorkspaceCourseModule(workspaceId, groupId, payload, option
|
|
|
257
257
|
});
|
|
258
258
|
}
|
|
259
259
|
async function updateWorkspaceCourseModule(workspaceId, moduleId, payload, options) {
|
|
260
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
260
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
261
261
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/course-modules/${(0, client_1.encodePathSegment)(moduleId)}`, {
|
|
262
262
|
method: 'PUT',
|
|
263
263
|
headers: {
|
|
@@ -274,7 +274,7 @@ async function updateWorkspaceCourseModule(workspaceId, moduleId, payload, optio
|
|
|
274
274
|
* RPC which preserves sort_key within each module_group.
|
|
275
275
|
*/
|
|
276
276
|
async function reorderWorkspaceCourseModules(workspaceId, groupId, moduleIds, options) {
|
|
277
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
277
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
278
278
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/user-groups/${(0, client_1.encodePathSegment)(groupId)}/module-order`, {
|
|
279
279
|
method: 'PATCH',
|
|
280
280
|
headers: { 'Content-Type': 'application/json' },
|
|
@@ -283,18 +283,18 @@ async function reorderWorkspaceCourseModules(workspaceId, groupId, moduleIds, op
|
|
|
283
283
|
});
|
|
284
284
|
}
|
|
285
285
|
async function deleteWorkspaceCourseModule(workspaceId, moduleId, options) {
|
|
286
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
286
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
287
287
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/course-modules/${(0, client_1.encodePathSegment)(moduleId)}`, {
|
|
288
288
|
method: 'DELETE',
|
|
289
289
|
cache: 'no-store',
|
|
290
290
|
});
|
|
291
291
|
}
|
|
292
292
|
async function listWorkspaceCourseModuleGroups(workspaceId, groupId, options) {
|
|
293
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
293
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
294
294
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/user-groups/${(0, client_1.encodePathSegment)(groupId)}/module-groups`, { cache: 'no-store' });
|
|
295
295
|
}
|
|
296
296
|
async function createWorkspaceCourseModuleGroup(workspaceId, groupId, payload, options) {
|
|
297
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
297
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
298
298
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/user-groups/${(0, client_1.encodePathSegment)(groupId)}/module-groups`, {
|
|
299
299
|
method: 'POST',
|
|
300
300
|
headers: { 'Content-Type': 'application/json' },
|
|
@@ -303,7 +303,7 @@ async function createWorkspaceCourseModuleGroup(workspaceId, groupId, payload, o
|
|
|
303
303
|
});
|
|
304
304
|
}
|
|
305
305
|
async function updateWorkspaceCourseModuleGroup(workspaceId, groupId, moduleGroupId, payload, options) {
|
|
306
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
306
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
307
307
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/user-groups/${(0, client_1.encodePathSegment)(groupId)}/module-groups/${(0, client_1.encodePathSegment)(moduleGroupId)}`, {
|
|
308
308
|
method: 'PUT',
|
|
309
309
|
headers: { 'Content-Type': 'application/json' },
|
|
@@ -312,14 +312,14 @@ async function updateWorkspaceCourseModuleGroup(workspaceId, groupId, moduleGrou
|
|
|
312
312
|
});
|
|
313
313
|
}
|
|
314
314
|
async function deleteWorkspaceCourseModuleGroup(workspaceId, groupId, moduleGroupId, options) {
|
|
315
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
315
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
316
316
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/user-groups/${(0, client_1.encodePathSegment)(groupId)}/module-groups/${(0, client_1.encodePathSegment)(moduleGroupId)}`, {
|
|
317
317
|
method: 'DELETE',
|
|
318
318
|
cache: 'no-store',
|
|
319
319
|
});
|
|
320
320
|
}
|
|
321
321
|
async function reorderWorkspaceCourseModuleGroups(workspaceId, groupId, moduleGroupIds, options) {
|
|
322
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
322
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
323
323
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/user-groups/${(0, client_1.encodePathSegment)(groupId)}/module-groups/order`, {
|
|
324
324
|
method: 'PATCH',
|
|
325
325
|
headers: { 'Content-Type': 'application/json' },
|
|
@@ -328,7 +328,7 @@ async function reorderWorkspaceCourseModuleGroups(workspaceId, groupId, moduleGr
|
|
|
328
328
|
});
|
|
329
329
|
}
|
|
330
330
|
async function reorderWorkspaceCourseModulesInModuleGroup(workspaceId, groupId, moduleGroupId, moduleIds, options) {
|
|
331
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
331
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
332
332
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/user-groups/${(0, client_1.encodePathSegment)(groupId)}/module-groups/${(0, client_1.encodePathSegment)(moduleGroupId)}/module-order`, {
|
|
333
333
|
method: 'PATCH',
|
|
334
334
|
headers: { 'Content-Type': 'application/json' },
|
|
@@ -337,7 +337,7 @@ async function reorderWorkspaceCourseModulesInModuleGroup(workspaceId, groupId,
|
|
|
337
337
|
});
|
|
338
338
|
}
|
|
339
339
|
async function linkQuizSetModules(workspaceId, setId, moduleIds, options) {
|
|
340
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
340
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
341
341
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/quiz-sets/${(0, client_1.encodePathSegment)(setId)}/modules`, {
|
|
342
342
|
method: 'POST',
|
|
343
343
|
headers: {
|
|
@@ -348,14 +348,14 @@ async function linkQuizSetModules(workspaceId, setId, moduleIds, options) {
|
|
|
348
348
|
});
|
|
349
349
|
}
|
|
350
350
|
async function unlinkQuizSetModule(workspaceId, setId, moduleId, options) {
|
|
351
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
351
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
352
352
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/quiz-sets/${(0, client_1.encodePathSegment)(setId)}/modules/${(0, client_1.encodePathSegment)(moduleId)}`, {
|
|
353
353
|
method: 'DELETE',
|
|
354
354
|
cache: 'no-store',
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
357
|
async function createWorkspaceQuiz(workspaceId, payload, options) {
|
|
358
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
358
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
359
359
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/quizzes`, {
|
|
360
360
|
method: 'POST',
|
|
361
361
|
headers: { 'Content-Type': 'application/json' },
|
|
@@ -364,7 +364,7 @@ async function createWorkspaceQuiz(workspaceId, payload, options) {
|
|
|
364
364
|
});
|
|
365
365
|
}
|
|
366
366
|
async function updateWorkspaceQuiz(workspaceId, quizId, payload, options) {
|
|
367
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
367
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
368
368
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/quizzes/${(0, client_1.encodePathSegment)(quizId)}`, {
|
|
369
369
|
method: 'PUT',
|
|
370
370
|
headers: { 'Content-Type': 'application/json' },
|
|
@@ -373,14 +373,14 @@ async function updateWorkspaceQuiz(workspaceId, quizId, payload, options) {
|
|
|
373
373
|
});
|
|
374
374
|
}
|
|
375
375
|
async function deleteWorkspaceQuiz(workspaceId, quizId, options) {
|
|
376
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
376
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
377
377
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/quizzes/${(0, client_1.encodePathSegment)(quizId)}`, {
|
|
378
378
|
method: 'DELETE',
|
|
379
379
|
cache: 'no-store',
|
|
380
380
|
});
|
|
381
381
|
}
|
|
382
382
|
async function getWorkspaceQuizzes(workspaceId, params, options) {
|
|
383
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
383
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
384
384
|
const searchParams = new URLSearchParams();
|
|
385
385
|
if (params?.page)
|
|
386
386
|
searchParams.set('page', params.page.toString());
|
|
@@ -401,7 +401,7 @@ async function getWorkspaceQuizzes(workspaceId, params, options) {
|
|
|
401
401
|
* `GET /api/v1/workspaces/:wsId/flashcards`. Forwards the caller's auth.
|
|
402
402
|
*/
|
|
403
403
|
async function getWorkspaceFlashcards(workspaceId, params, options) {
|
|
404
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
404
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
405
405
|
const searchParams = new URLSearchParams();
|
|
406
406
|
if (params?.page)
|
|
407
407
|
searchParams.set('page', params.page.toString());
|
|
@@ -420,7 +420,7 @@ async function getWorkspaceFlashcards(workspaceId, params, options) {
|
|
|
420
420
|
* groups) via `GET /api/v1/workspaces/:wsId/course-modules`.
|
|
421
421
|
*/
|
|
422
422
|
async function listAllWorkspaceCourseModules(workspaceId, params, options) {
|
|
423
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
423
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
424
424
|
const searchParams = new URLSearchParams();
|
|
425
425
|
if (params?.page)
|
|
426
426
|
searchParams.set('page', params.page.toString());
|
|
@@ -439,7 +439,7 @@ async function listAllWorkspaceCourseModules(workspaceId, params, options) {
|
|
|
439
439
|
* `GET /api/v1/workspaces/:wsId/quiz-sets/:setId/linked-modules`.
|
|
440
440
|
*/
|
|
441
441
|
async function getQuizSetLinkedModules(workspaceId, setId, params, options) {
|
|
442
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
442
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
443
443
|
const searchParams = new URLSearchParams();
|
|
444
444
|
if (params?.page)
|
|
445
445
|
searchParams.set('page', params.page.toString());
|
|
@@ -458,7 +458,7 @@ async function getQuizSetLinkedModules(workspaceId, setId, params, options) {
|
|
|
458
458
|
* `GET /api/v1/workspaces/:wsId/quiz-sets/:setId/quizzes`.
|
|
459
459
|
*/
|
|
460
460
|
async function getQuizSetQuizzes(workspaceId, setId, params, options) {
|
|
461
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
461
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
462
462
|
const searchParams = new URLSearchParams();
|
|
463
463
|
if (params?.page)
|
|
464
464
|
searchParams.set('page', params.page.toString());
|
|
@@ -477,7 +477,7 @@ async function getQuizSetQuizzes(workspaceId, setId, params, options) {
|
|
|
477
477
|
* `GET /api/v1/workspaces/:wsId/course-modules/:moduleId/quiz-sets`.
|
|
478
478
|
*/
|
|
479
479
|
async function getCourseModuleQuizSets(workspaceId, moduleId, params, options) {
|
|
480
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
480
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
481
481
|
const searchParams = new URLSearchParams();
|
|
482
482
|
if (params?.page)
|
|
483
483
|
searchParams.set('page', params.page.toString());
|
|
@@ -526,7 +526,7 @@ async function listAllWorkspaceCoursesForLookup(workspaceId, options) {
|
|
|
526
526
|
* `GET /api/v1/workspaces/:wsId/quiz-sets`. Forwards the caller's auth.
|
|
527
527
|
*/
|
|
528
528
|
async function getWorkspaceQuizSets(workspaceId, params, options) {
|
|
529
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
529
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
530
530
|
const searchParams = new URLSearchParams();
|
|
531
531
|
if (params?.page)
|
|
532
532
|
searchParams.set('page', params.page.toString());
|
|
@@ -581,7 +581,7 @@ async function getWorkspaceQuizSets(workspaceId, params, options) {
|
|
|
581
581
|
};
|
|
582
582
|
}
|
|
583
583
|
async function createWorkspaceQuizSet(workspaceId, payload, options) {
|
|
584
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
584
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
585
585
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/quiz-sets`, {
|
|
586
586
|
method: 'POST',
|
|
587
587
|
headers: { 'Content-Type': 'application/json' },
|
|
@@ -590,7 +590,7 @@ async function createWorkspaceQuizSet(workspaceId, payload, options) {
|
|
|
590
590
|
});
|
|
591
591
|
}
|
|
592
592
|
async function updateWorkspaceQuizSet(workspaceId, setId, payload, options) {
|
|
593
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
593
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
594
594
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/quiz-sets/${(0, client_1.encodePathSegment)(setId)}`, {
|
|
595
595
|
method: 'PUT',
|
|
596
596
|
headers: { 'Content-Type': 'application/json' },
|
|
@@ -599,14 +599,14 @@ async function updateWorkspaceQuizSet(workspaceId, setId, payload, options) {
|
|
|
599
599
|
});
|
|
600
600
|
}
|
|
601
601
|
async function deleteWorkspaceQuizSet(workspaceId, setId, options) {
|
|
602
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
602
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
603
603
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/quiz-sets/${(0, client_1.encodePathSegment)(setId)}`, {
|
|
604
604
|
method: 'DELETE',
|
|
605
605
|
cache: 'no-store',
|
|
606
606
|
});
|
|
607
607
|
}
|
|
608
608
|
async function createWorkspaceFlashcard(workspaceId, payload, options) {
|
|
609
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
609
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
610
610
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/flashcards`, {
|
|
611
611
|
method: 'POST',
|
|
612
612
|
headers: { 'Content-Type': 'application/json' },
|
|
@@ -615,7 +615,7 @@ async function createWorkspaceFlashcard(workspaceId, payload, options) {
|
|
|
615
615
|
});
|
|
616
616
|
}
|
|
617
617
|
async function updateWorkspaceFlashcard(workspaceId, flashcardId, payload, options) {
|
|
618
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
618
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
619
619
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/flashcards/${(0, client_1.encodePathSegment)(flashcardId)}`, {
|
|
620
620
|
method: 'PUT',
|
|
621
621
|
headers: { 'Content-Type': 'application/json' },
|
|
@@ -624,14 +624,14 @@ async function updateWorkspaceFlashcard(workspaceId, flashcardId, payload, optio
|
|
|
624
624
|
});
|
|
625
625
|
}
|
|
626
626
|
async function deleteWorkspaceFlashcard(workspaceId, flashcardId, options) {
|
|
627
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
627
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
628
628
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/flashcards/${(0, client_1.encodePathSegment)(flashcardId)}`, {
|
|
629
629
|
method: 'DELETE',
|
|
630
630
|
cache: 'no-store',
|
|
631
631
|
});
|
|
632
632
|
}
|
|
633
633
|
async function listWorkspaceEducationAttempts(workspaceId, query = {}, options) {
|
|
634
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
634
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
635
635
|
const search = new URLSearchParams();
|
|
636
636
|
if (query.page)
|
|
637
637
|
search.set('page', `${query.page}`);
|
|
@@ -655,13 +655,13 @@ async function listWorkspaceEducationAttempts(workspaceId, query = {}, options)
|
|
|
655
655
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/education/attempts${suffix}`, { cache: 'no-store' });
|
|
656
656
|
}
|
|
657
657
|
async function getWorkspaceEducationAttemptDetail(workspaceId, attemptId, options) {
|
|
658
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
658
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
659
659
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/education/attempts/${(0, client_1.encodePathSegment)(attemptId)}`, {
|
|
660
660
|
cache: 'no-store',
|
|
661
661
|
});
|
|
662
662
|
}
|
|
663
663
|
async function getWorkspaceCourseTestQuestions(workspaceId, courseId, testId, params, options) {
|
|
664
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
664
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
665
665
|
const searchParams = new URLSearchParams();
|
|
666
666
|
if (params?.moduleId)
|
|
667
667
|
searchParams.set('moduleId', params.moduleId);
|
|
@@ -672,7 +672,7 @@ async function getWorkspaceCourseTestQuestions(workspaceId, courseId, testId, pa
|
|
|
672
672
|
});
|
|
673
673
|
}
|
|
674
674
|
async function createWorkspaceCourseTestQuestions(workspaceId, courseId, testId, payload, options) {
|
|
675
|
-
const client = (0, client_1.getInternalApiClient)(options);
|
|
675
|
+
const client = (0, client_1.getInternalApiClient)((0, client_1.withTeachApiBaseUrl)(options));
|
|
676
676
|
return client.json(`/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/teach/courses/${(0, client_1.encodePathSegment)(courseId)}/tests/${(0, client_1.encodePathSegment)(testId)}/questions`, {
|
|
677
677
|
method: 'POST',
|
|
678
678
|
headers: { 'Content-Type': 'application/json' },
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { type InternalApiClientOptions } from './client';
|
|
2
|
+
export type ExternalAppDriveProvider = 'r2' | 'supabase';
|
|
3
|
+
export type ExternalAppDriveUploadRequest = {
|
|
4
|
+
attachmentId: string;
|
|
5
|
+
contentType: string;
|
|
6
|
+
conversationId: string;
|
|
7
|
+
filename: string;
|
|
8
|
+
size: number;
|
|
9
|
+
};
|
|
10
|
+
export type ExternalAppDriveUploadPayload = {
|
|
11
|
+
contentType?: string;
|
|
12
|
+
expiresIn: number;
|
|
13
|
+
filename: string;
|
|
14
|
+
fullPath: string;
|
|
15
|
+
headers?: Record<string, string>;
|
|
16
|
+
path: string;
|
|
17
|
+
provider: ExternalAppDriveProvider;
|
|
18
|
+
signedUrl: string;
|
|
19
|
+
token?: string;
|
|
20
|
+
};
|
|
21
|
+
export type ExternalAppDriveObject = {
|
|
22
|
+
contentType: string;
|
|
23
|
+
fullPath: string;
|
|
24
|
+
path: string;
|
|
25
|
+
provider: ExternalAppDriveProvider;
|
|
26
|
+
size: number;
|
|
27
|
+
};
|
|
28
|
+
export type ExternalAppDriveReadPayload = {
|
|
29
|
+
expiresIn: number;
|
|
30
|
+
provider: ExternalAppDriveProvider;
|
|
31
|
+
signedUrl: string;
|
|
32
|
+
};
|
|
33
|
+
type ObjectRequest = {
|
|
34
|
+
contentType?: string;
|
|
35
|
+
path: string;
|
|
36
|
+
provider?: ExternalAppDriveProvider;
|
|
37
|
+
size?: number;
|
|
38
|
+
};
|
|
39
|
+
export declare function createExternalAppDriveUploadUrl(workspaceId: string, payload: ExternalAppDriveUploadRequest, options?: InternalApiClientOptions): Promise<ExternalAppDriveUploadPayload>;
|
|
40
|
+
export declare function finalizeExternalAppDriveUpload(workspaceId: string, payload: Required<Pick<ObjectRequest, 'contentType' | 'path' | 'size'>> & Pick<ObjectRequest, 'provider'>, options?: InternalApiClientOptions): Promise<ExternalAppDriveObject>;
|
|
41
|
+
export declare function createExternalAppDriveReadUrl(workspaceId: string, payload: Pick<ObjectRequest, 'path' | 'provider'>, options?: InternalApiClientOptions): Promise<ExternalAppDriveReadPayload>;
|
|
42
|
+
export declare function deleteExternalAppDriveObject(workspaceId: string, payload: Pick<ObjectRequest, 'path'>, options?: InternalApiClientOptions): Promise<{
|
|
43
|
+
deleted: true;
|
|
44
|
+
provider: ExternalAppDriveProvider;
|
|
45
|
+
}>;
|
|
46
|
+
export declare function uploadExternalAppDriveFile(file: File, upload: ExternalAppDriveUploadPayload, options?: {
|
|
47
|
+
fetch?: typeof fetch;
|
|
48
|
+
onProgress?: (percent: number) => void;
|
|
49
|
+
}): Promise<void>;
|
|
50
|
+
export {};
|
|
51
|
+
//# sourceMappingURL=external-app-drive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-app-drive.d.ts","sourceRoot":"","sources":["../src/external-app-drive.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,wBAAwB,EAC9B,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,wBAAwB,GAAG,IAAI,GAAG,UAAU,CAAC;AAEzD,MAAM,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,OAAO,EAAE,QAAQ,CAAC,IAAI,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC,GACrE,IAAI,CAAC,aAAa,EAAE,UAAU,CAAC,EACjC,OAAO,CAAC,EAAE,wBAAwB,mCAMnC;AAED,wBAAgB,6BAA6B,CAC3C,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,IAAI,CAAC,aAAa,EAAE,MAAM,GAAG,UAAU,CAAC,EACjD,OAAO,CAAC,EAAE,wBAAwB,wCAMnC;AAED,wBAAgB,4BAA4B,CAC1C,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,EACpC,OAAO,CAAC,EAAE,wBAAwB;aAGvB,IAAI;cACH,wBAAwB;GAErC;AAED,wBAAsB,0BAA0B,CAC9C,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,6BAA6B,EACrC,OAAO,CAAC,EAAE;IAAE,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;IAAC,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;CAAE,iBA8C3E"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createExternalAppDriveUploadUrl = createExternalAppDriveUploadUrl;
|
|
4
|
+
exports.finalizeExternalAppDriveUpload = finalizeExternalAppDriveUpload;
|
|
5
|
+
exports.createExternalAppDriveReadUrl = createExternalAppDriveReadUrl;
|
|
6
|
+
exports.deleteExternalAppDriveObject = deleteExternalAppDriveObject;
|
|
7
|
+
exports.uploadExternalAppDriveFile = uploadExternalAppDriveFile;
|
|
8
|
+
const client_1 = require("./client");
|
|
9
|
+
function drivePath(workspaceId, suffix = '') {
|
|
10
|
+
return `/api/v1/workspaces/${(0, client_1.encodePathSegment)(workspaceId)}/external-apps/drive${suffix}`;
|
|
11
|
+
}
|
|
12
|
+
function jsonInit(method, payload) {
|
|
13
|
+
return {
|
|
14
|
+
body: JSON.stringify(payload),
|
|
15
|
+
cache: 'no-store',
|
|
16
|
+
headers: { 'Content-Type': 'application/json' },
|
|
17
|
+
method,
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function createExternalAppDriveUploadUrl(workspaceId, payload, options) {
|
|
21
|
+
return (0, client_1.getInternalApiClient)(options).json(drivePath(workspaceId, '/upload-url'), jsonInit('POST', payload));
|
|
22
|
+
}
|
|
23
|
+
function finalizeExternalAppDriveUpload(workspaceId, payload, options) {
|
|
24
|
+
return (0, client_1.getInternalApiClient)(options).json(drivePath(workspaceId, '/finalize'), jsonInit('POST', payload));
|
|
25
|
+
}
|
|
26
|
+
function createExternalAppDriveReadUrl(workspaceId, payload, options) {
|
|
27
|
+
return (0, client_1.getInternalApiClient)(options).json(drivePath(workspaceId, '/read-url'), jsonInit('POST', payload));
|
|
28
|
+
}
|
|
29
|
+
function deleteExternalAppDriveObject(workspaceId, payload, options) {
|
|
30
|
+
return (0, client_1.getInternalApiClient)(options).json(drivePath(workspaceId), jsonInit('DELETE', payload));
|
|
31
|
+
}
|
|
32
|
+
async function uploadExternalAppDriveFile(file, upload, options) {
|
|
33
|
+
const headers = new Headers(upload.headers);
|
|
34
|
+
if (upload.token)
|
|
35
|
+
headers.set('Authorization', `Bearer ${upload.token}`);
|
|
36
|
+
if (!headers.has('Content-Type')) {
|
|
37
|
+
headers.set('Content-Type', file.type || 'application/octet-stream');
|
|
38
|
+
}
|
|
39
|
+
if (options?.onProgress && typeof XMLHttpRequest !== 'undefined') {
|
|
40
|
+
await new Promise((resolve, reject) => {
|
|
41
|
+
const xhr = new XMLHttpRequest();
|
|
42
|
+
xhr.open('PUT', upload.signedUrl);
|
|
43
|
+
headers.forEach((value, key) => {
|
|
44
|
+
xhr.setRequestHeader(key, value);
|
|
45
|
+
});
|
|
46
|
+
xhr.upload.onprogress = (event) => {
|
|
47
|
+
const total = event.lengthComputable ? event.total : file.size;
|
|
48
|
+
options.onProgress?.(total > 0 ? Math.min(99, Math.round((event.loaded / total) * 100)) : 0);
|
|
49
|
+
};
|
|
50
|
+
xhr.onerror = () => reject(new Error('Failed to upload attachment'));
|
|
51
|
+
xhr.onabort = () => reject(new Error('Attachment upload aborted'));
|
|
52
|
+
xhr.onload = () => {
|
|
53
|
+
if (xhr.status >= 200 && xhr.status < 300) {
|
|
54
|
+
options.onProgress?.(100);
|
|
55
|
+
resolve();
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
reject(new Error(`Failed to upload attachment (${xhr.status})`));
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
xhr.send(file);
|
|
62
|
+
});
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
const response = await (options?.fetch ?? globalThis.fetch)(upload.signedUrl, {
|
|
66
|
+
body: file,
|
|
67
|
+
headers,
|
|
68
|
+
method: 'PUT',
|
|
69
|
+
});
|
|
70
|
+
if (!response.ok)
|
|
71
|
+
throw new Error(`Failed to upload attachment (${response.status})`);
|
|
72
|
+
}
|
|
@@ -102,48 +102,9 @@ export type WorkspaceExternalProjectWebglPackageFinalizeResponse = {
|
|
|
102
102
|
message: string;
|
|
103
103
|
};
|
|
104
104
|
};
|
|
105
|
-
export declare function listCanonicalExternalProjects(options?: InternalApiClientOptions): Promise<
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
allowed_features: string[];
|
|
109
|
-
created_at: string;
|
|
110
|
-
created_by: string | null;
|
|
111
|
-
delivery_profile: Json;
|
|
112
|
-
display_name: string;
|
|
113
|
-
id: string;
|
|
114
|
-
is_active: boolean;
|
|
115
|
-
metadata: Json;
|
|
116
|
-
updated_at: string;
|
|
117
|
-
updated_by: string | null;
|
|
118
|
-
}[]>;
|
|
119
|
-
export declare function createCanonicalExternalProject(payload: CanonicalExternalProjectUpsertPayload, options?: InternalApiClientOptions): Promise<{
|
|
120
|
-
adapter: import("@tuturuuu/types").Database['public']['Enums']['external_project_adapter_kind'];
|
|
121
|
-
allowed_collections: string[];
|
|
122
|
-
allowed_features: string[];
|
|
123
|
-
created_at: string;
|
|
124
|
-
created_by: string | null;
|
|
125
|
-
delivery_profile: Json;
|
|
126
|
-
display_name: string;
|
|
127
|
-
id: string;
|
|
128
|
-
is_active: boolean;
|
|
129
|
-
metadata: Json;
|
|
130
|
-
updated_at: string;
|
|
131
|
-
updated_by: string | null;
|
|
132
|
-
}>;
|
|
133
|
-
export declare function updateCanonicalExternalProject(canonicalId: string, payload: Partial<CanonicalExternalProjectUpsertPayload>, options?: InternalApiClientOptions): Promise<{
|
|
134
|
-
adapter: import("@tuturuuu/types").Database['public']['Enums']['external_project_adapter_kind'];
|
|
135
|
-
allowed_collections: string[];
|
|
136
|
-
allowed_features: string[];
|
|
137
|
-
created_at: string;
|
|
138
|
-
created_by: string | null;
|
|
139
|
-
delivery_profile: Json;
|
|
140
|
-
display_name: string;
|
|
141
|
-
id: string;
|
|
142
|
-
is_active: boolean;
|
|
143
|
-
metadata: Json;
|
|
144
|
-
updated_at: string;
|
|
145
|
-
updated_by: string | null;
|
|
146
|
-
}>;
|
|
105
|
+
export declare function listCanonicalExternalProjects(options?: InternalApiClientOptions): Promise<CanonicalExternalProject[]>;
|
|
106
|
+
export declare function createCanonicalExternalProject(payload: CanonicalExternalProjectUpsertPayload, options?: InternalApiClientOptions): Promise<CanonicalExternalProject>;
|
|
107
|
+
export declare function updateCanonicalExternalProject(canonicalId: string, payload: Partial<CanonicalExternalProjectUpsertPayload>, options?: InternalApiClientOptions): Promise<CanonicalExternalProject>;
|
|
147
108
|
export declare function updateWorkspaceExternalProjectBinding(workspaceId: string, canonicalId: string | null, options?: InternalApiClientOptions): Promise<WorkspaceExternalProjectBinding>;
|
|
148
109
|
export declare function listExternalProjectWorkspaceBindings(options?: InternalApiClientOptions): Promise<ExternalProjectWorkspaceBindingSummary[]>;
|
|
149
110
|
export declare function listWorkspaceExternalProjectBindingAudits(options?: InternalApiClientOptions): Promise<{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