UNPKG

@oystehr/sdk

Version:

Oystehr SDK

83 lines (80 loc) 2.83 kB
// AUTOGENERATED -- DO NOT EDIT import { OystehrConfig } from '../../config'; import { Application } from './application'; import { Charge } from './charge'; import { Conversation } from './conversation'; import { Developer } from './developer'; import { Erx } from './erx'; import { Fax } from './fax'; import { Fhir } from './fhir'; import { Lab } from './lab'; import { M2m } from './m2m'; import { Messaging } from './messaging'; import { PaymentMethod } from './paymentMethod'; import { Project } from './project'; import { Rcm } from './rcm'; import { Role } from './role'; import { Secret } from './secret'; import { Telemed } from './telemed'; import { Terminology } from './terminology'; import { TransactionalSMS } from './transactionalSMS'; import { User } from './user'; import { Version } from './version'; import { Z3 } from './z3'; import { Zambda } from './zambda'; import { ZambdaLogStream } from './zambdaLogStream'; export class Oystehr { readonly config: OystehrConfig; readonly application: Application; readonly developer: Developer; readonly m2m: M2m; readonly messaging: Messaging; readonly conversation: Conversation; readonly transactionalSMS: TransactionalSMS; readonly paymentMethod: PaymentMethod; readonly charge: Charge; readonly project: Project; readonly rcm: Rcm; readonly role: Role; readonly secret: Secret; readonly telemed: Telemed; readonly user: User; readonly version: Version; readonly z3: Z3; readonly zambda: Zambda; readonly zambdaLogStream: ZambdaLogStream; readonly fax: Fax; readonly lab: Lab; readonly erx: Erx; readonly terminology: Terminology; readonly fhir: Fhir; constructor(config: OystehrConfig) { this.config = config; this.config.services ??= {}; this.config.services['projectApiUrl'] ??= config.projectApiUrl; this.config.services['fhirApiUrl'] ??= config.fhirApiUrl; this.application = new Application(config); this.developer = new Developer(config); this.m2m = new M2m(config); this.messaging = new Messaging(config); this.conversation = new Conversation(config); this.transactionalSMS = new TransactionalSMS(config); this.paymentMethod = new PaymentMethod(config); this.charge = new Charge(config); this.project = new Project(config); this.rcm = new Rcm(config); this.role = new Role(config); this.secret = new Secret(config); this.telemed = new Telemed(config); this.user = new User(config); this.version = new Version(config); this.z3 = new Z3(config); this.zambda = new Zambda(config); this.zambdaLogStream = new ZambdaLogStream(config); this.fax = new Fax(config); this.lab = new Lab(config); this.erx = new Erx(config); this.terminology = new Terminology(config); this.fhir = new Fhir(config); } }