UNPKG

@oystehr/sdk

Version:

Oystehr SDK

1 lines 5.56 kB
{"version":3,"file":"index.cjs","sources":["../../../../src/resources/classes/index.ts"],"sourcesContent":["// AUTOGENERATED -- DO NOT EDIT\n\nimport { OystehrConfig } from '../../config';\nimport { Application } from './application';\nimport { Charge } from './charge';\nimport { Conversation } from './conversation';\nimport { Developer } from './developer';\nimport { Erx } from './erx';\nimport { ErxV1 } from './erxV1';\nimport { ErxV2 } from './erxV2';\nimport { Fax } from './fax';\nimport { Fhir } from './fhir';\nimport { Lab } from './lab';\nimport { M2m } from './m2m';\nimport { Messaging } from './messaging';\nimport { PaymentMethod } from './paymentMethod';\nimport { Project } from './project';\nimport { Rcm } from './rcm';\nimport { Role } from './role';\nimport { Secret } from './secret';\nimport { Telemed } from './telemed';\nimport { TransactionalSMS } from './transactionalSMS';\nimport { User } from './user';\nimport { Version } from './version';\nimport { Z3 } from './z3';\nimport { Zambda } from './zambda';\nimport { ZambdaLogStream } from './zambdaLogStream';\n\nexport class Oystehr {\n readonly config: OystehrConfig;\n readonly application: Application;\n readonly developer: Developer;\n readonly m2m: M2m;\n readonly messaging: Messaging;\n readonly conversation: Conversation;\n readonly transactionalSMS: TransactionalSMS;\n readonly paymentMethod: PaymentMethod;\n readonly charge: Charge;\n readonly project: Project;\n readonly rcm: Rcm;\n readonly erxV1: ErxV1;\n readonly erxV2: ErxV2;\n readonly role: Role;\n readonly secret: Secret;\n readonly telemed: Telemed;\n readonly user: User;\n readonly version: Version;\n readonly z3: Z3;\n readonly zambda: Zambda;\n readonly zambdaLogStream: ZambdaLogStream;\n readonly fax: Fax;\n readonly lab: Lab;\n readonly erx: Erx;\n readonly fhir: Fhir;\n constructor(config: OystehrConfig) {\n this.config = config;\n this.config.services ??= {};\n this.config.services['projectApiUrl'] ??= config.projectApiUrl;\n this.config.services['fhirApiUrl'] ??= config.fhirApiUrl;\n this.application = new Application(config);\n this.developer = new Developer(config);\n this.m2m = new M2m(config);\n this.messaging = new Messaging(config);\n this.conversation = new Conversation(config);\n this.transactionalSMS = new TransactionalSMS(config);\n this.paymentMethod = new PaymentMethod(config);\n this.charge = new Charge(config);\n this.project = new Project(config);\n this.rcm = new Rcm(config);\n this.erxV1 = new ErxV1(config);\n this.erxV2 = new ErxV2(config);\n this.role = new Role(config);\n this.secret = new Secret(config);\n this.telemed = new Telemed(config);\n this.user = new User(config);\n this.version = new Version(config);\n this.z3 = new Z3(config);\n this.zambda = new Zambda(config);\n this.zambdaLogStream = new ZambdaLogStream(config);\n this.fax = new Fax(config);\n this.lab = new Lab(config);\n this.erx = new Erx(config);\n this.fhir = new Fhir(config);\n }\n}\n"],"names":["Application","Developer","M2m","Messaging","Conversation","TransactionalSMS","PaymentMethod","Charge","Project","Rcm","ErxV1","ErxV2","Role","Secret","Telemed","User","Version","Z3","Zambda","ZambdaLogStream","Fax","Lab","Erx","Fhir"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;sBA4Ba,OAAO,CAAA;AACT,IAAA,MAAM,CAAgB;AACtB,IAAA,WAAW,CAAc;AACzB,IAAA,SAAS,CAAY;AACrB,IAAA,GAAG,CAAM;AACT,IAAA,SAAS,CAAY;AACrB,IAAA,YAAY,CAAe;AAC3B,IAAA,gBAAgB,CAAmB;AACnC,IAAA,aAAa,CAAgB;AAC7B,IAAA,MAAM,CAAS;AACf,IAAA,OAAO,CAAU;AACjB,IAAA,GAAG,CAAM;AACT,IAAA,KAAK,CAAQ;AACb,IAAA,KAAK,CAAQ;AACb,IAAA,IAAI,CAAO;AACX,IAAA,MAAM,CAAS;AACf,IAAA,OAAO,CAAU;AACjB,IAAA,IAAI,CAAO;AACX,IAAA,OAAO,CAAU;AACjB,IAAA,EAAE,CAAK;AACP,IAAA,MAAM,CAAS;AACf,IAAA,eAAe,CAAkB;AACjC,IAAA,GAAG,CAAM;AACT,IAAA,GAAG,CAAM;AACT,IAAA,GAAG,CAAM;AACT,IAAA,IAAI,CAAO;AACpB,IAAA,WAAA,CAAY,MAAq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