mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
Add send to cli (#253)
* Upgrade commander to 7.0.0 * Add url to Api call This is needed to allow access to sends that are available from a different Bitwarden server than configured for the CLI * Allow upload of send files from CLI * Allow send search by accessId * Utils methods used in Send CLI implementation * Revert adding string type to encrypted file data * linter fixes * Add Buffer to ArrayBuffer used in CLI send implementation
This commit is contained in:
@@ -174,7 +174,7 @@ export abstract class ApiService {
|
||||
deleteFolder: (id: string) => Promise<any>;
|
||||
|
||||
getSend: (id: string) => Promise<SendResponse>;
|
||||
postSendAccess: (id: string, request: SendAccessRequest) => Promise<SendAccessResponse>;
|
||||
postSendAccess: (id: string, request: SendAccessRequest, apiUrl?: string) => Promise<SendAccessResponse>;
|
||||
getSends: () => Promise<ListResponse<SendResponse>>;
|
||||
postSend: (request: SendRequest) => Promise<SendResponse>;
|
||||
postSendFile: (data: FormData) => Promise<SendResponse>;
|
||||
|
||||
Reference in New Issue
Block a user