* Specify Organization indexed on search service
a null indexedEntityId specifies it is the users entire vault.
otherwise, organizations specify their id to signify the index is a subset.
user's vault will re-index if the indexed entity does not match the
users id or null. at the moment, user's vault does not set userId
because indexing occurs in the setter for decryptedCipherCache,
which cannot be asynchronous
* Linter fix
* 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
* Use logService for console messages
* Implement a base ConsoleLog service
Use this class as a default for other services that would like to output
to console. This service is overriden in CLI and Desktop to use CLI's
consoleLogService and electronLogService, respectively.
* Use browser-process-hrtime for timing
* test LogService implementations
* Ignore default import of hrtime
* Clean up imports. Require ConsoleLog injection
Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
* Use logService for console messages
* linter autofixes
* Use full import path
* Implement a base ConsoleLog service
Use this class as a default for other services that would like to output
to console. This service is overriden in CLI and Desktop to use CLI's
consoleLogService and electronLogService, respectively.
* linter fixes
Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
* Update typescript to 3.6.5 along with tslint to latest.
* Upgrade @types/node to 12.12.54 to get rid of compile errors.
* Update tslint.
* Use @types/node 10.17.28 instead