added types custom yclients fields
This commit is contained in:
parent
cf81806650
commit
3af23cc4d3
@ -152,3 +152,13 @@ type YclientsClientAgreements struct {
|
|||||||
IsNewsletterAllowed bool `json:"is_newsletter_allowed"`
|
IsNewsletterAllowed bool `json:"is_newsletter_allowed"`
|
||||||
IsPersonalDataProcessingAllowed bool `json:"is_personal_data_processing_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)
|
||||||
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user