import { RelationshipObject, ResourceObject } from 'include-json-api'; import { APICampaign } from './campaign'; import { APIUser } from './user'; export interface APIOAuthClient extends ResourceObject { type: 'oauth-client'; attributes: { /** * The author name provided during client setup. */ author_name: string | null; /** * The client's secret. */ client_secret: string; /** * The client's default OAuth scopes for the authorization flow. * @deprecated in APIv2 */ default_scopes: string; /** * The description provided during client setup. */ description: string; /** * The domain provided during client setup. */ domain: string | null; /** * The URL of the icon used in the OAuth authorization flow. */ icon_url: string | null; /** * The name provided during client setup. */ name: string; /** * The URL of the privacy policy provided during client setup. */ privacy_policy_url: string | null; /** * The allowable redirect URIs for the OAuth authorization flow. */ redirect_uris: string; /** * The URL of the terms of service provided during client setup. */ tos_url: string | null; /** * The Patreon API version the client is targeting. */ version: number; }; relationships: { /** * (Alpha) The apps that this client controls. */ apps: RelationshipObject; /** * The campaign of the user who created the OAuth Client. */ campaign: { data: APICampaign; }; /** * The token of the user who created the client. */ creator_token: RelationshipObject; /** * The user who created the OAuth Client. */ user: { data: APIUser; }; }; } //# sourceMappingURL=oAuthClient.d.ts.map