mirror of
https://github.com/retailcrm/api-client-go.git
synced 2024-11-24 22:06:03 +03:00
add scopes to credentials method response
This commit is contained in:
parent
8b0e5dafc2
commit
2b9f12f262
@ -32,7 +32,9 @@ type VersionResponse struct {
|
||||
// CredentialResponse return available API methods.
|
||||
type CredentialResponse struct {
|
||||
Success bool `json:"success,omitempty"`
|
||||
// deprecated
|
||||
Credentials []string `json:"credentials,omitempty"`
|
||||
Scopes []string `json:"scopes,omitempty"`
|
||||
SiteAccess string `json:"siteAccess,omitempty"`
|
||||
SitesAvailable []string `json:"sitesAvailable,omitempty"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user