Fix ContactsArrayMessage and add getBusinessProfile (#1074)

* Fix: ContactsArrayMessage and add getBusinessProfile

* delete package-lock.json

* edit readme.md

* add bussines hours

* make type same with leagcy

* revert
This commit is contained in:
BochilGaming
2022-01-06 23:45:52 +07:00
committed by GitHub
parent 7ffa10a5c5
commit 0b5d772b08
4 changed files with 61 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ export type WAInitResponse = {
status: 200
}
type WABusinessHoursConfig = {
export type WABusinessHoursConfig = {
day_of_week: string
mode: string
open_time?: number
@@ -53,7 +53,7 @@ export type WABusinessProfile = {
description: string
email: string
business_hours: {
timezone: string
timezone?: string
config?: WABusinessHoursConfig[]
business_config?: WABusinessHoursConfig[]
}
@@ -65,4 +65,5 @@ export type WABusinessProfile = {
wid?: string
}
export type CurveKeyPair = { private: Uint8Array; public: Uint8Array }