mirror of
https://github.com/retailcrm/api-client-go.git
synced 2024-11-25 14:26:04 +03:00
commit
9d5bf461ca
13
v5/types.go
13
v5/types.go
@ -938,3 +938,16 @@ type Element struct {
|
|||||||
Code string `json:"code,omitempty"`
|
Code string `json:"code,omitempty"`
|
||||||
Ordering int `json:"ordering,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