oro-sdk 2.19.0 → 2.19.3

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.
@@ -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'): 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'): 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
@@ -3691,7 +3691,7 @@ var OroClient = /*#__PURE__*/function () {
3691
3691
 
3692
3692
  case 6:
3693
3693
  _context22.next = 8;
3694
- return this.vaultClient.vaultIndexGet([initApis.IndexKey.ConsultationLockbox], [filter == null ? void 0 : filter.consultationId]);
3694
+ return this.vaultClient.vaultIndexGet([initApis.IndexKey.ConsultationLockbox], filter ? [filter.consultationId] : undefined);
3695
3695
 
3696
3696
  case 8:
3697
3697
  _context22.t0 = initApis.IndexKey.ConsultationLockbox;