mirror of
https://github.com/retailcrm/api-client-go.git
synced 2024-11-22 04:46:03 +03:00
update data types
This commit is contained in:
parent
a2437831bf
commit
7f40548607
13
v5/types.go
13
v5/types.go
@ -938,3 +938,16 @@ type Element struct {
|
||||
Code string `json:"code,omitempty"`
|
||||
Ordering int `json:"ordering,omitempty"`
|
||||
}
|
||||
|
||||
// ActivityCallback activation callback
|
||||
type ActivityCallback struct {
|
||||
ClientId string `json:"clientId"`
|
||||
Activity Activity `json:"activity"`
|
||||
SystemUrl string `json:"systemUrl,omitempty"`
|
||||
}
|
||||
|
||||
// Activity struct
|
||||
type Activity struct {
|
||||
Active bool `json:"active"`
|
||||
Freeze bool `json:"freeze"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user