mirror of
https://github.com/retailcrm/api-client-go.git
synced 2024-11-28 15:56:05 +03:00
Add scopes to credentials method response
This commit is contained in:
commit
a6cbd20518
@ -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