bitrix/internal/models/createCompany.go

22 lines
367 B
Go
Raw Normal View History

2024-09-23 16:01:13 +00:00
package models
type CompanyReq struct {
Fields CompanyFields `json:"fields"`
}
type CompanyFields struct {
Title string `json:"TITLE"`
AssignedByID int64 `json:"ASSIGNED_BY_ID"`
Opened string `json:"OPENED"`
}
type CompanyResp struct {
ID int32 `json:"result"`
}
type CompanyType string
const (
CompanyTypeCustomer CompanyType = "customer"
)