UNPKG

@shinkashi/insight-sdk

Version:

Solution Insight SDK for JavaScript

38 lines 1.69 kB
import { AxiosInstance } from 'axios'; import { InsightRepository } from './repository'; import { InsightResourceRepository } from './resource'; import { DashboardRepository } from './dashboard'; import { InsightTicketRepository } from './ticket'; import { InsightBucketRepository } from './bucket'; import { Customer, User, Group, Policy, Application, ServiceDef, ApprovalPlan, GlobalCustomer, NflexModule, InsightCredential } from './types'; import { InsightACMPEnvService } from './acmpEnv'; export declare let fs: any; export declare let os: any; export declare class InsightClient { credential: string | InsightCredential | undefined; prefix: string; url: string; apiKey: string; apiSecret: string; headers: { [header: string]: string; }; ax: AxiosInstance; readonly customer: InsightRepository<Customer>; readonly user: InsightRepository<User>; readonly group: InsightRepository<Group>; readonly policy: InsightRepository<Policy>; readonly application: InsightRepository<Application>; readonly resource: InsightResourceRepository; readonly serviceDef: InsightRepository<ServiceDef>; readonly approvalPlan: InsightRepository<ApprovalPlan>; readonly nflexModule: InsightRepository<NflexModule>; readonly bucket: InsightBucketRepository; readonly globalCustomer: InsightRepository<GlobalCustomer>; readonly dashboard: DashboardRepository; readonly ticket: InsightTicketRepository; readonly env: InsightACMPEnvService; constructor(credential?: string | InsightCredential | undefined, prefix?: string); private static getCredentialFromFlexerYaml; } //# sourceMappingURL=client.d.ts.map