diff --git a/model/yclients.go b/model/yclients.go index 7ac1617..60cc2e9 100644 --- a/model/yclients.go +++ b/model/yclients.go @@ -152,3 +152,13 @@ type YclientsClientAgreements struct { IsNewsletterAllowed bool `json:"is_newsletter_allowed"` IsPersonalDataProcessingAllowed bool `json:"is_personal_data_processing_allowed"` } + +type YclientsCustomFieldsType string + +const ( + TypeYclientsText YclientsCustomFieldsType = "text" // строка длиной до 255 символов + TypeYclientsNumber YclientsCustomFieldsType = "number" // число + TypeYclientsSelect YclientsCustomFieldsType = "select" // список + TypeYclientsDate YclientsCustomFieldsType = "date" // Дата (Y-m-d) + TypeYclientsDateTime YclientsCustomFieldsType = "datetime" // Дата и время (Y-m-d H:i:s) +)