Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: add face_monitor_token field #50

Merged
merged 1 commit into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions pkg/jms-sdk-go/model/share.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}
4 changes: 4 additions & 0 deletions pkg/jms-sdk-go/model/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}
Expand Down
Loading