oro-sdk-apis 3.3.1 → 3.5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/models/guard.d.ts +1 -1
- package/dist/oro-sdk-apis.cjs.development.js +68 -47
- package/dist/oro-sdk-apis.cjs.development.js.map +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js.map +1 -1
- package/dist/oro-sdk-apis.esm.js +68 -47
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/dist/services/teller.d.ts +3 -1
- package/package.json +1 -1
- package/src/models/guard.ts +1 -1
- package/src/services/teller.ts +6 -2
@@ -4,7 +4,9 @@ export declare class TellerService {
|
|
4
4
|
private api;
|
5
5
|
private baseURL;
|
6
6
|
constructor(api: APIService, baseURL: string);
|
7
|
-
lockboxDataStore(lockboxUuid: Uuid, req: LockboxDataRequest, lockboxOwnerUuid?: Uuid, previousDataUuid?: Uuid
|
7
|
+
lockboxDataStore(lockboxUuid: Uuid, req: LockboxDataRequest, lockboxOwnerUuid?: Uuid, previousDataUuid?: Uuid, options?: {
|
8
|
+
updateMedicalStatus: boolean;
|
9
|
+
}): Promise<DataCreateResponse>;
|
8
10
|
updateConsultByUUID(patientUuid: Uuid, uuidConsult: Uuid, statusMedical: MedicalStatus, closedReasonType?: ClosedReasonType, closedReasonDescription?: string, neverExpires?: boolean): Promise<Consult>;
|
9
11
|
/**
|
10
12
|
* This function notifies teller that the fax sent for a specific consult did not get through
|
package/package.json
CHANGED
package/src/models/guard.ts
CHANGED
package/src/services/teller.ts
CHANGED
@@ -9,18 +9,22 @@ import {
|
|
9
9
|
Uuid,
|
10
10
|
} from '../models'
|
11
11
|
export class TellerService {
|
12
|
-
constructor(private api: APIService, private baseURL: string) {}
|
12
|
+
constructor(private api: APIService, private baseURL: string) { }
|
13
13
|
|
14
14
|
public async lockboxDataStore(
|
15
15
|
lockboxUuid: Uuid,
|
16
16
|
req: LockboxDataRequest,
|
17
17
|
lockboxOwnerUuid?: Uuid,
|
18
|
-
previousDataUuid?: Uuid
|
18
|
+
previousDataUuid?: Uuid,
|
19
|
+
options: {
|
20
|
+
updateMedicalStatus: boolean
|
21
|
+
} = { updateMedicalStatus: true },
|
19
22
|
): Promise<DataCreateResponse> {
|
20
23
|
return this.api.post<DataCreateResponse>(`${this.baseURL}/v1/lockboxes/${lockboxUuid}/data`, req, {
|
21
24
|
params: {
|
22
25
|
lockbox_owner_uuid: lockboxOwnerUuid,
|
23
26
|
data_uuid: previousDataUuid,
|
27
|
+
update_medical_status: options.updateMedicalStatus,
|
24
28
|
},
|
25
29
|
})
|
26
30
|
}
|