Batch

revoke(items)

  • items (Array<{ id: string, type:NodeType}>, required)

  • returns Promise<Array<{ transactionId }>> - Promise with corresponding transaction ids

restore(items)

  • items (Array<{ id: string, type:NodeType}>, required)

  • returns Promise<Array<{ transactionId }>> - Promise with corresponding transaction ids

delete(items)

  • items (Array<{ id: string, type:NodeType}>, required)

  • returns Promise<Array<{ transactionId }>> - Promise with corresponding transaction ids

move(items, parentId)

  • items (Array<{ id: string, type:NodeType}>, required)

  • parentId (string, optional)

  • returns Promise<Array<{ transactionId }>> - Promise with corresponding transaction ids

membershipChangeRole(items)

  • items (Array<{ id: string, role:RoleType}>, required)

  • returns Promise<Array<{ transactionId }>> - Promise with corresponding transaction ids

stackCreate(vaultId, items)

  • vaultId (string, required)

  • items (Array<{ file:FileLike, name: string }>, required)

  • options (BatchStackCreateOptions, optional)

  • returns Promise<BatchStackCreateResponse> - Promise with new stack ids & their corresponding transaction ids

membershipInvite(vaultId, items)

  • vaultId (string, required)

  • items (Array<{ email: string, role:RoleType}>, required)

  • options (MembershipCreateOptions, optional) - invitation email message, etc.

  • returns Promise<BatchMembershipInviteResponse> - Promise with new membership ids & their corresponding transaction ids

Last updated