/// import http = require('http'); import { Client } from '../model/client'; import { DataResult } from '../model/dataResult'; import { Subscription } from '../model/subscription'; import { User } from '../model/user'; import { Authentication } from '../model/models'; import { HttpBasicAuth, ApiKeyAuth, OAuth } from '../model/models'; export declare enum AdminServicesApiApiKeys { api = 0 } export declare class AdminServicesApi { protected _basePath: string; protected defaultHeaders: any; protected _useQuerystring: boolean; protected authentications: { 'default': Authentication; 'jwt': HttpBasicAuth; 'api': ApiKeyAuth; 'oauth2': OAuth; }; constructor(oAuth?: OAuth); useQuerystring: boolean; basePath: string; setDefaultAuthentication(auth: Authentication): void; setApiKey(key: AdminServicesApiApiKeys, value: string): void; oAuth: OAuth; tokenUrl: string; clientId: string; clientSecret: string; adminDeleteClient(client: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: DataResult; }>; adminDeleteUser(client: string, email: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: DataResult; }>; adminGetClient(client: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: Client; }>; adminGetPermissions(email: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: string; }>; adminInviteUser(client: string, user: User, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: User; }>; adminListClients(options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: Array; }>; adminListUsers(client: string, email?: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: Array; }>; adminUpdateClient(client: Client, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: Client; }>; adminUpdateStatus(client: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: Client; }>; adminUpdateSubscription(client: string, subscription: Subscription, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: Client; }>; adminUpdateUser(client: string, email: string, user: User, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: User; }>; }