UNPKG

@oystehr/sdk

Version:

Oystehr SDK

23 lines (17 loc) 666 B
import type { OystehrClientRequest } from './client/client'; import { OystehrConfig } from './config'; import * as errors from './errors'; import { Oystehr as OystehrBase } from './resources/classes'; export * from './resources'; export type { OystehrClientRequest }; export type { OystehrConfig }; class Oystehr extends OystehrBase { static OystehrFHIRError = errors.OystehrFHIRError; static OystehrSdkError = errors.OystehrSdkError; } // eslint-disable-next-line @typescript-eslint/no-namespace namespace Oystehr { export type OystehrFHIRError = errors.OystehrFHIRError; export type OystehrSdkError = errors.OystehrSdkError; } export default Oystehr;