mirror of
https://github.com/retailcrm/api-client-go.git
synced 2024-11-22 04:46:03 +03:00
update integration module edit response
This commit is contained in:
parent
9d5bf461ca
commit
8d7f1d374f
@ -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…
Reference in New Issue
Block a user