mirror of
https://github.com/retailcrm/api-client-go.git
synced 2025-02-19 22:33:13 +03:00
Merge pull request #14 from gwinn/master
Update integration module edit response
This commit is contained in:
commit
ef3c201eb7
@ -1,6 +1,7 @@
|
|||||||
[](https://travis-ci.org/retailcrm/api-client-go)
|
[](https://travis-ci.org/retailcrm/api-client-go)
|
||||||
[](https://github.com/retailcrm/api-client-go/releases)
|
[](https://github.com/retailcrm/api-client-go/releases)
|
||||||
[](https://golang.org/dl/)
|
[](https://golang.org/dl/)
|
||||||
|
[](https://godoc.org/github.com/retailcrm/api-client-go)
|
||||||
|
|
||||||
|
|
||||||
# retailCRM API Go client
|
# retailCRM API Go client
|
||||||
@ -107,4 +108,3 @@ func main() {
|
|||||||
|
|
||||||
* [English](http://www.retailcrm.pro/docs/Developers/Index)
|
* [English](http://www.retailcrm.pro/docs/Developers/Index)
|
||||||
* [Russian](http://www.retailcrm.ru/docs/Developers/Index)
|
* [Russian](http://www.retailcrm.ru/docs/Developers/Index)
|
||||||
* [GoDoc](https://godoc.org/github.com/retailcrm/api-client-go)
|
|
||||||
|
@ -325,8 +325,18 @@ type IntegrationModuleResponse struct {
|
|||||||
|
|
||||||
// IntegrationModuleEditResponse type
|
// IntegrationModuleEditResponse type
|
||||||
type IntegrationModuleEditResponse struct {
|
type IntegrationModuleEditResponse struct {
|
||||||
Success bool `json:"success"`
|
Success bool `json:"success"`
|
||||||
Info map[string]string `json:"info,omitempty,brackets"`
|
Info ResponseInfo `json:"info,omitempty,brackets"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type ResponseInfo struct {
|
||||||
|
MgTransportInfo MgInfo `json:"mgTransport,omitempty,brackets"`
|
||||||
|
MgBotInfo MgInfo `json:"mgBot,omitempty,brackets"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type MgInfo struct {
|
||||||
|
EndpointUrl string `json:"endpointUrl"`
|
||||||
|
Token string `json:"token"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// CostsResponse type
|
// CostsResponse type
|
||||||
|
Loading…
x
Reference in New Issue
Block a user