remove deprecated intercomCode field

This commit is contained in:
Alex Lushpai 2019-10-29 14:55:04 +03:00
parent 3384a383b0
commit 63ef49d10a
2 changed files with 1 additions and 2 deletions

View File

@ -18,7 +18,7 @@ import (
"github.com/retailcrm/api-client-go/errs" "github.com/retailcrm/api-client-go/errs"
) )
// New initalize client // New initialize client
func New(url string, key string) *Client { func New(url string, key string) *Client {
return &Client{ return &Client{
URL: url, URL: url,

View File

@ -32,7 +32,6 @@ type Address struct {
StreetType string `json:"streetType,omitempty"` StreetType string `json:"streetType,omitempty"`
Building string `json:"building,omitempty"` Building string `json:"building,omitempty"`
Flat string `json:"flat,omitempty"` Flat string `json:"flat,omitempty"`
IntercomCode string `json:"intercomCode,omitempty"`
Floor int `json:"floor,omitempty"` Floor int `json:"floor,omitempty"`
Block int `json:"block,omitempty"` Block int `json:"block,omitempty"`
House string `json:"house,omitempty"` House string `json:"house,omitempty"`