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:
commit
a6cbd20518
@ -32,7 +32,9 @@ type VersionResponse struct {
|
|||||||
// CredentialResponse return available API methods.
|
// CredentialResponse return available API methods.
|
||||||
type CredentialResponse struct {
|
type CredentialResponse struct {
|
||||||
Success bool `json:"success,omitempty"`
|
Success bool `json:"success,omitempty"`
|
||||||
|
// deprecated
|
||||||
Credentials []string `json:"credentials,omitempty"`
|
Credentials []string `json:"credentials,omitempty"`
|
||||||
|
Scopes []string `json:"scopes,omitempty"`
|
||||||
SiteAccess string `json:"siteAccess,omitempty"`
|
SiteAccess string `json:"siteAccess,omitempty"`
|
||||||
SitesAvailable []string `json:"sitesAvailable,omitempty"`
|
SitesAvailable []string `json:"sitesAvailable,omitempty"`
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user