@arbidocs/sdk 0.5.153 → 0.5.155

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/index.cjs CHANGED
@@ -5322,6 +5322,7 @@ __export(workspaces_exports, {
5322
5322
  getWorkspaceArchive: () => getWorkspaceArchive,
5323
5323
  getWorkspaceTransfer: () => getWorkspaceTransfer,
5324
5324
  grantTemporaryWorkspaceAccess: () => grantTemporaryWorkspaceAccess,
5325
+ listWorkspaceTransferItems: () => listWorkspaceTransferItems,
5325
5326
  listWorkspaceTransfers: () => listWorkspaceTransfers,
5326
5327
  listWorkspaceUsers: () => listWorkspaceUsers,
5327
5328
  listWorkspaces: () => listWorkspaces,
@@ -5566,6 +5567,14 @@ async function getWorkspaceTransfer(arbi, transferId) {
5566
5567
  "Failed to fetch the transfer"
5567
5568
  );
5568
5569
  }
5570
+ async function listWorkspaceTransferItems(arbi, transferId) {
5571
+ return requireData(
5572
+ await arbi.fetch.GET("/v1/workspace/transfer/{transfer_ext_id}/items", {
5573
+ params: { path: { transfer_ext_id: transferId } }
5574
+ }),
5575
+ "Failed to fetch the transfer items"
5576
+ );
5577
+ }
5569
5578
  async function listWorkspaceTransfers(arbi) {
5570
5579
  return requireData(
5571
5580
  await arbi.fetch.GET("/v1/workspace/transfer", {}),
@@ -13323,6 +13332,7 @@ var Arbi = class {
13323
13332
  ),
13324
13333
  cancel: (transferId) => cancelWorkspaceTransfer(this.requireClient(), transferId),
13325
13334
  get: (transferId) => getWorkspaceTransfer(this.requireClient(), transferId),
13335
+ items: (transferId) => listWorkspaceTransferItems(this.requireClient(), transferId),
13326
13336
  list: () => listWorkspaceTransfers(this.requireClient()),
13327
13337
  exportData: async (scope, options) => {
13328
13338
  if (options?.workspaceId) await this.openWorkspace(options.workspaceId);