From 7f40548607cda0d5e2c0bf6cb4c1bb0414c1ae5f Mon Sep 17 00:00:00 2001 From: Alex Lushpai Date: Fri, 1 Jun 2018 17:57:46 +0300 Subject: [PATCH] update data types --- v5/types.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/v5/types.go b/v5/types.go index 02b0cb7..75437aa 100644 --- a/v5/types.go +++ b/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"` +}