mirror of
https://github.com/retailcrm/api-client-go.git
synced 2024-11-24 22:06:03 +03:00
Merge pull request #28 from gwinn/master
remove deprecated intercomCode field
This commit is contained in:
commit
a3a642d631
@ -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