From 9a2f7a097e145ea64c44a110aafc443cf78ea0c8 Mon Sep 17 00:00:00 2001 From: Pavel Date: Tue, 7 May 2024 17:29:19 +0300 Subject: [PATCH] add types contact quiz config, for detection --- model/amo.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/model/amo.go b/model/amo.go index 44bc09f..11f881b 100644 --- a/model/amo.go +++ b/model/amo.go @@ -187,6 +187,16 @@ type ContactField struct { Used bool `json:"used"` } +type ContactQuizConfig string + +const ( + TypeContactName ContactQuizConfig = "name" + TypeContactEmail ContactQuizConfig = "email" + TypeContactPhone ContactQuizConfig = "phone" + TypeContactText ContactQuizConfig = "text" + TypeContactAddress ContactQuizConfig = "address" +) + type UTM struct { /* - айдишник в нашей системе Primary Key*/ ID int64 `json:"ID"`