-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.d.cts
31 lines (25 loc) · 1.28 KB
/
index.d.cts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
declare module '@maxklema/mie-api-tools' {
interface globals {
value: string;
}
//variables
export const URL: globals;
export const practice: globals;
export const username: globals;
export const password: globals;
export const ledger: globals;
export const GeminiKey: globals;
export const cookie: globals;
//methods
export function get(endpoint: string, fields: string[], options: object): Promise<object>;
export function put(endpoint: string, identifier: object, json_options: object): object;
export function post(endpoint: string, new_data: object): object;
export function downloadDocs(queryString: object, directory: string, optimization: number): void;
export function migrateData(configJSON: object): void;
export function getAllPatientRecords(patID: number, options: object): Promise<string>;
export function summarizePatient(patID: number, options: object): Promise<string>;
export function queryPatient(patID: number, query: string, options: object): Promise<string>;
export function createLedger(options: object): void;
export function getCustomRecords(endpoint_list: string[], filters: string[], queryby: object, OmitErrors: number): Promise<object>;
export function getCookie(): void;
}