From f79d7d53b1268c7ae3f04d4f82e09c1b7c90a2d8 Mon Sep 17 00:00:00 2001 From: trunglt251292 Date: Thu, 26 May 2022 09:30:35 +0700 Subject: [PATCH] [Update] Payload staff sync data --- struct.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/struct.go b/struct.go index 6ce5c9b..6335567 100644 --- a/struct.go +++ b/struct.go @@ -8,6 +8,7 @@ import ( type Staff struct { Reference string `json:"reference"` // ObjectID Name string `json:"name"` + Email string `json:"email"` Phone string `json:"phone"` Active bool `json:"active"` IsRoot bool `json:"isRoot"` @@ -33,6 +34,7 @@ type StaffCheckPermissionBody struct { Source string `json:"source"` Code string `json:"code,omitempty"` Payload PayloadCheckPermission `json:"payload"` + IsRoot bool `json:"isRoot"` } // PayloadCheckPermission ... @@ -52,6 +54,7 @@ type StaffCheckPermissionResponse struct { type StaffGetPermissions struct { StaffID string `json:"staffId"` Source string `json:"source"` + Prefix string `json:"prefix"` } // StaffGetPermissionsResponse ...