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:
parent
8b0e5dafc2
commit
2b9f12f262
@ -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