Skip to content

Latest commit

 

History

History
308 lines (201 loc) · 17.1 KB

api.md

File metadata and controls

308 lines (201 loc) · 17.1 KB

BeeperDesktop

Types:

Methods:

  • client.focus({ ...params }) -> FocusResponse
  • client.search({ ...params }) -> SearchResponse

Shared

Types:

Accounts

Types:

Methods:

  • client.accounts.retrieve(accountID) -> AccountRetrieveResponse
  • client.accounts.list() -> AccountListResponse

Contacts

Types:

Methods:

  • client.accounts.contacts.list(accountID, { ...params }) -> UsersCursorSearch
  • client.accounts.contacts.search(accountID, { ...params }) -> ContactSearchResponse

Bridges

Types:

Methods:

  • client.bridges.retrieve(bridgeID) -> BridgeRetrieveResponse
  • client.bridges.list() -> BridgeListResponse
  • client.bridges.retrieveCapabilities(bridgeID) -> ProvisioningCapabilities

LoginFlows

Types:

Methods:

  • client.bridges.loginFlows.list(bridgeID) -> LoginFlowListResponse

Logins

Types:

Methods:

  • client.bridges.logins.retrieve(loginID, { ...params }) -> BridgeLogin
  • client.bridges.logins.list(bridgeID) -> LoginListResponse
  • client.bridges.logins.remove(loginID, { ...params }) -> LoginRemoveResponse

LoginSessions

Types:

Methods:

  • client.bridges.loginSessions.create(bridgeID, { ...params }) -> LoginSession
  • client.bridges.loginSessions.retrieve(loginSessionID, { ...params }) -> LoginSession
  • client.bridges.loginSessions.cancel(loginSessionID, { ...params }) -> LoginSessionCancelResponse

Steps

Methods:

  • client.bridges.loginSessions.steps.submit(stepID, { ...params }) -> LoginSession

Chats

Types:

Methods:

  • client.chats.create({ ...params }) -> ChatCreateResponse
  • client.chats.retrieve(chatID, { ...params }) -> Chat
  • client.chats.update(chatID, { ...params }) -> Chat
  • client.chats.list({ ...params }) -> ChatListResponsesCursorNoLimit
  • client.chats.archive(chatID, { ...params }) -> void
  • client.chats.markRead(chatID, { ...params }) -> Chat
  • client.chats.markUnread(chatID, { ...params }) -> Chat
  • client.chats.notifyAnyway(chatID) -> Chat
  • client.chats.search({ ...params }) -> ChatsCursorSearch
  • client.chats.start({ ...params }) -> ChatStartResponse

Reminders

Methods:

  • client.chats.reminders.create(chatID, { ...params }) -> void
  • client.chats.reminders.delete(chatID) -> void

Messages

Reactions

Types:

Methods:

  • client.chats.messages.reactions.delete(reactionKey, { ...params }) -> ReactionDeleteResponse
  • client.chats.messages.reactions.add(messageID, { ...params }) -> ReactionAddResponse

Labels

Types:

Methods:

  • client.labels.list() -> LabelListResponse

Messages

Types:

Methods:

  • client.messages.retrieve(messageID, { ...params }) -> Message
  • client.messages.update(messageID, { ...params }) -> MessageUpdateResponse
  • client.messages.list(chatID, { ...params }) -> MessagesCursorNoLimit
  • client.messages.delete(messageID, { ...params }) -> void
  • client.messages.search({ ...params }) -> MessagesCursorSearch
  • client.messages.send(chatID, { ...params }) -> MessageSendResponse

Assets

Types:

Methods:

  • client.assets.download({ ...params }) -> AssetDownloadResponse
  • client.assets.serve({ ...params }) -> Response
  • client.assets.upload({ ...params }) -> AssetUploadResponse
  • client.assets.uploadBase64({ ...params }) -> AssetUploadBase64Response

Info

Types:

Methods:

  • client.info.retrieve() -> InfoRetrieveResponse

App

Types:

Setup

Types:

Methods:

  • client.app.setup.retrieve() -> SetupRetrieveResponse
  • client.app.setup.email({ ...params }) -> void
  • client.app.setup.register({ ...params }) -> SetupRegisterResponse
  • client.app.setup.response({ ...params }) -> SetupResponseResponse
  • client.app.setup.start() -> SetupStartResponse

RecoveryKey

Types:

Methods:

  • client.app.setup.recoveryKey.verify({ ...params }) -> RecoveryKeyVerifyResponse

Reset

Types:

Methods:

  • client.app.setup.recoveryKey.reset.create({ ...params }) -> ResetCreateResponse
  • client.app.setup.recoveryKey.reset.confirm({ ...params }) -> ResetConfirmResponse

Verifications

Types:

Methods:

  • client.app.setup.verifications.create({ ...params }) -> VerificationCreateResponse
  • client.app.setup.verifications.retrieve(verificationID) -> VerificationRetrieveResponse
  • client.app.setup.verifications.list() -> VerificationListResponse
  • client.app.setup.verifications.accept(verificationID) -> VerificationAcceptResponse
  • client.app.setup.verifications.cancel(verificationID, { ...params }) -> VerificationCancelResponse

QR

Types:

Methods:

  • client.app.setup.verifications.qr.confirmScanned(verificationID) -> QRConfirmScannedResponse
  • client.app.setup.verifications.qr.scan({ ...params }) -> QRScanResponse

SAS

Types:

Methods:

  • client.app.setup.verifications.sas.confirm(verificationID) -> SASConfirmResponse
  • client.app.setup.verifications.sas.start(verificationID) -> SASStartResponse