diff --git a/model/amo.go b/model/amo.go index ddcb94e..44bc09f 100644 --- a/model/amo.go +++ b/model/amo.go @@ -167,6 +167,26 @@ type ContactRules struct { ContactRuleMap map[string]int } +type QuizContact struct { + FormContact struct { + Fields struct { + Name ContactField `json:"name"` + Email ContactField `json:"email"` + Phone ContactField `json:"phone"` + Text ContactField `json:"text"` + Address ContactField `json:"address"` + } `json:"fields"` + } `json:"formContact"` +} + +type ContactField struct { + Text string `json:"text"` + InnerText string `json:"innerText"` + Key string `json:"key"` + Required bool `json:"required"` + Used bool `json:"used"` +} + type UTM struct { /* - айдишник в нашей системе Primary Key*/ ID int64 `json:"ID"`