diff --git a/pkg/jms-sdk-go/model/share.go b/pkg/jms-sdk-go/model/share.go index 2a74495..dd908fa 100644 --- a/pkg/jms-sdk-go/model/share.go +++ b/pkg/jms-sdk-go/model/share.go @@ -11,12 +11,16 @@ type SharingSession struct { } type ShareRecord struct { - ID string `json:"id"` - Code string `json:"verify_code"` - SessionId string `json:"session"` - ShareId string `json:"sharing"` - OrgId string `json:"org_id"` - OrgName string `json:"org_name"` - Joiner string `json:"joiner"` + ID string `json:"id"` + Code string `json:"verify_code"` + SessionId string `json:"session"` + ShareId string `json:"sharing"` + OrgId string `json:"org_id"` + OrgName string `json:"org_name"` + Joiner string `json:"joiner"` Err interface{} `json:"error"` } + +type ObjectId struct { + ID string `json:"id"` +} diff --git a/pkg/jms-sdk-go/model/token.go b/pkg/jms-sdk-go/model/token.go index 9d1ac0e..f4d6101 100644 --- a/pkg/jms-sdk-go/model/token.go +++ b/pkg/jms-sdk-go/model/token.go @@ -17,6 +17,10 @@ type ConnectToken struct { CommandFilterACLs []CommandACL `json:"command_filter_acls"` + Ticket *ObjectId `json:"from_ticket,omitempty"` + TicketInfo interface{} `json:"from_ticket_info,omitempty"` + FaceMonitorToken string `json:"face_monitor_token,omitempty"` + Code string `json:"code"` Detail string `json:"detail"` }