File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/openWork/server/models Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ const (
2323 InfoTypeCorpArchAuth InfoType = "corp_arch_auth"
2424 InfoTypeApproveSpecialAuth InfoType = "approve_special_auth"
2525 InfoTypeCancelSpecialAuth InfoType = "cancel_special_auth"
26+ InfoTypeChangeAppAdmin InfoType = "change_app_admin"
2627)
2728
2829type ChangeType = string
@@ -114,6 +115,8 @@ func (msg BaseEvent) ToEvent() (IEvent, error) {
114115 return new (EventCorpArchAuth ), nil
115116 case InfoTypeApproveSpecialAuth , InfoTypeCancelSpecialAuth :
116117 return new (EventSpecialAuth ), nil
118+ case InfoTypeChangeAppAdmin :
119+ return new (EventChangeAppAdmin ), nil
117120 default :
118121 return nil , errors .New ("unknown event" )
119122 }
@@ -215,3 +218,8 @@ type EventSpecialAuth struct {
215218 AuthCorpID string `xml:"AuthCorpId"`
216219 AuthType string `xml:"AuthType"`
217220}
221+
222+ type EventChangeAppAdmin struct {
223+ BaseEvent
224+ AgentID string `xml:"AgentID"`
225+ }
You can’t perform that action at this time.
0 commit comments