oro-sdk 5.3.6 → 5.5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/client.d.ts +1 -1
- package/dist/helpers/prescription-refill.d.ts +7 -2
- package/dist/oro-sdk.cjs.development.js +680 -516
- package/dist/oro-sdk.cjs.development.js.map +1 -1
- package/dist/oro-sdk.cjs.production.min.js +1 -1
- package/dist/oro-sdk.cjs.production.min.js.map +1 -1
- package/dist/oro-sdk.esm.js +680 -516
- package/dist/oro-sdk.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +7 -2
- package/src/helpers/prescription-refill.ts +74 -15
package/dist/client.d.ts
CHANGED
@@ -109,7 +109,7 @@ export declare class OroClient {
|
|
109
109
|
* @param populatedRefillWorkflow
|
110
110
|
* @returns
|
111
111
|
*/
|
112
|
-
createRefill(consult: ConsultRequest, populatedRefillWorkflow: WorkflowData): Promise<
|
112
|
+
createRefill(consult: ConsultRequest, populatedRefillWorkflow: WorkflowData, indexSearch?: boolean, onProgress?: (progress: number, descriptionKey: string) => void): Promise<Consult>;
|
113
113
|
/**
|
114
114
|
* Fetches all grants, and consultations that exist in each lockbox
|
115
115
|
* Then updates the index for the current user with the lockbox consult relationship
|
@@ -1,10 +1,12 @@
|
|
1
|
-
import { ConsultRequest, PlaceData, WorkflowData } from 'oro-sdk-apis';
|
1
|
+
import { Consult, ConsultRequest, PlaceData, WorkflowData } from 'oro-sdk-apis';
|
2
2
|
import { OroClient } from '..';
|
3
3
|
/**
|
4
4
|
* Placeholder while the workflow interpreter for the refill flows is complete
|
5
5
|
*
|
6
6
|
* Creates a fake workflow in which the workflow data will reside
|
7
7
|
*
|
8
|
+
* @todo deprecate this function when using workflows and populating them from the app
|
9
|
+
*
|
8
10
|
* @param isTreatmentWorking the value from the `is treatment working` question
|
9
11
|
* @param hasSideEffects the value from the `does the treatment have side effects` question
|
10
12
|
* @param deliveryAddress the provided delivery address
|
@@ -18,4 +20,7 @@ export declare function getRefillAnswersAsWorkflow(isTreatmentWorking: string, h
|
|
18
20
|
* @param populatedRefillWorkflow the refill workflow data
|
19
21
|
* @param oroClient
|
20
22
|
*/
|
21
|
-
export declare function createRefill(consultRequest: ConsultRequest, populatedRefillWorkflow: WorkflowData, oroClient: OroClient
|
23
|
+
export declare function createRefill(consultRequest: ConsultRequest, populatedRefillWorkflow: WorkflowData, oroClient: OroClient, indexSearch?: boolean, onProgress?: (progress: number, descriptionKey: string, extraInfo?: {
|
24
|
+
storedImagesNum?: number;
|
25
|
+
totalImagesNum?: number;
|
26
|
+
}) => void): Promise<Consult>;
|