@arbidocs/sdk 0.3.146 → 0.3.147
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/{browser-Z9m6Vrzw.d.cts → browser-Cpvtd_no.d.cts} +33 -23
- package/dist/{browser-Z9m6Vrzw.d.ts → browser-Cpvtd_no.d.ts} +33 -23
- package/dist/browser.cjs +0 -17
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +1 -1
- package/dist/browser.d.ts +1 -1
- package/dist/browser.js +0 -17
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +0 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +0 -17
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -5219,7 +5219,6 @@ __export(workspaces_exports, {
|
|
|
5219
5219
|
copyDocuments: () => copyDocuments,
|
|
5220
5220
|
createWorkspace: () => createWorkspace,
|
|
5221
5221
|
deleteWorkspaces: () => deleteWorkspaces,
|
|
5222
|
-
getWorkspaceChronology: () => getWorkspaceChronology,
|
|
5223
5222
|
listWorkspaceUsers: () => listWorkspaceUsers,
|
|
5224
5223
|
listWorkspaces: () => listWorkspaces,
|
|
5225
5224
|
removeWorkspaceUsers: () => removeWorkspaceUsers,
|
|
@@ -5284,14 +5283,6 @@ async function setUserRole(arbi, userIds, role) {
|
|
|
5284
5283
|
"Failed to update roles"
|
|
5285
5284
|
);
|
|
5286
5285
|
}
|
|
5287
|
-
async function getWorkspaceChronology(arbi, workspaceId) {
|
|
5288
|
-
return requireData(
|
|
5289
|
-
await arbi.fetch.GET("/v1/workspace/{workspace_ext_id}/chronology", {
|
|
5290
|
-
params: { path: { workspace_ext_id: workspaceId } }
|
|
5291
|
-
}),
|
|
5292
|
-
"Failed to fetch workspace chronology"
|
|
5293
|
-
);
|
|
5294
|
-
}
|
|
5295
5286
|
async function copyDocuments(arbi, targetWorkspaceId, docIds, targetWorkspaceKey) {
|
|
5296
5287
|
return requireData(
|
|
5297
5288
|
await arbi.fetch.POST("/v1/workspace/copy", {
|
|
@@ -6402,14 +6393,6 @@ var Arbi = class {
|
|
|
6402
6393
|
targetWorkspaceId,
|
|
6403
6394
|
docIds,
|
|
6404
6395
|
targetWorkspaceKey
|
|
6405
|
-
),
|
|
6406
|
-
/**
|
|
6407
|
-
* The last-generated document-derived chronology (key case events / dates).
|
|
6408
|
-
* Defaults to the currently open workspace when no id is passed.
|
|
6409
|
-
*/
|
|
6410
|
-
chronology: (workspaceId) => getWorkspaceChronology(
|
|
6411
|
-
this.requireClient(),
|
|
6412
|
-
workspaceId ?? this.requireWorkspace()
|
|
6413
6396
|
)
|
|
6414
6397
|
};
|
|
6415
6398
|
// ── Documents ─────────────────────────────────────────────────────────
|