mirror of
https://github.com/retailcrm/api-client-go.git
synced 2024-11-25 14:26:04 +03:00
remove deprecated intercomCode field
This commit is contained in:
parent
3384a383b0
commit
63ef49d10a
@ -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,
|
||||||
|
@ -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"`
|
||||||
|
Loading…
Reference in New Issue
Block a user