oro-sdk 3.6.0 → 3.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -91,12 +91,13 @@ export declare class OroClient {
91
91
  * @param consult
92
92
  * @param workflow
93
93
  * @param recoveryQA
94
+ * @param indexSearch create search index for the consultation if true
94
95
  * @returns
95
96
  */
96
97
  registerPatient(patientUuid: Uuid, consult: ConsultRequest, workflow: WorkflowData, recoveryQA?: {
97
98
  recoverySecurityQuestions: string[];
98
99
  recoverySecurityAnswers: string[];
99
- }): Promise<RegisterPatientOutput>;
100
+ }, indexSearch?: boolean): Promise<RegisterPatientOutput>;
100
101
  /**
101
102
  * Builds the vault index for the logged user
102
103
  *
@@ -1,5 +1,5 @@
1
1
  import { MetadataCategory, PopulatedWorkflowData, SelectedAnswerData, SelectedAnswersData, WorkflowData, WorkflowUploadedImage } from 'oro-sdk-apis';
2
- export declare function filterTriggeredAnsweredWithKind(workflowData: WorkflowData, kind: 'text' | 'text-area' | 'text-select-group' | 'date' | 'number' | 'images' | 'images-alias' | 'body-parts' | 'pharmacy-picker' | 'online-pharmacy-picker'): Promise<SelectedAnswerData[]>;
2
+ export declare function filterTriggeredAnsweredWithKind(workflowData: WorkflowData, kind: 'text' | 'text-area' | 'text-select-group' | 'date' | 'number' | 'images' | 'images-alias' | 'body-parts' | 'pharmacy-picker' | 'online-pharmacy-picker' | 'hair-selector-women' | 'hair-selector-men' | 'hair-loss-stage' | 'hair-loss-frontal'): Promise<SelectedAnswerData[]>;
3
3
  /**
4
4
  * Filters and Populates the `selectedAnswers` from the workflow by
5
5
  * Cross-referencing the `MetaCategory` of the answer's respective question