Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add relevant rest message fn
Browse files Browse the repository at this point in the history
tylerccarson committed Jan 24, 2025
1 parent b74f258 commit bbba044
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions keeperapi/src/restMessages.ts
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@ import {Writer} from 'protobufjs'
import {
AccountSummary,
Authentication,
BI,
BreachWatch,
Automator,
Enterprise,
@@ -293,6 +294,10 @@ export const setReusedPasswords = (data: Authentication.IReusedPasswordsRequest)
export const changeToKeyTypeOne = (data: Authentication.IChangeToKeyTypeOne): RestInMessage<Authentication.IChangeToKeyTypeOne> =>
createInMessage(data, 'vault/change_to_key_type_one', Authentication.ChangeToKeyTypeOne)

/* -- BI -- */
export const customerCapture = (data: BI.ICustomerCaptureRequest): RestMessage<BI.ICustomerCaptureRequest, BI.ICustomerCaptureResponse> =>
createMessage(data, 'bi_api/rest/browser_extension/customer_capture', BI.CustomerCaptureRequest, BI.CustomerCaptureResponse)

/* -- BreachWatch -- */

export const breachWatchInitialize = (): RestOutMessage<BreachWatch.IBreachWatchTokenRequest> =>

0 comments on commit bbba044

Please sign in to comment.