oro-sdk-apis 1.6.1 → 1.7.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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.6.1",
2
+ "version": "1.7.0",
3
3
  "main": "dist/index.js",
4
4
  "typings": "dist/index.d.ts",
5
5
  "files": [
@@ -119,6 +119,7 @@ export enum PracticeConfigKind {
119
119
  PracticeTheme = 'PracticeTheme',
120
120
  PracticeLocaleSwitcher = 'PracticeLocaleSwitcher',
121
121
  PracticeCookieBanner = 'PracticeCookieBanner',
122
+ PracticePharmacyPicker = 'PracticePharmacyPicker',
122
123
  }
123
124
 
124
125
  export interface PracticeConfig<K, T> {
@@ -151,6 +152,17 @@ export type PracticeConfigPractitionerChatbox = PracticeConfig<
151
152
  }
152
153
  >
153
154
 
155
+ export type PracticeConfigPracticeOnlinePharmacy = PracticeConfig<
156
+ PracticeConfigKind.PracticePharmacyPicker,
157
+ {
158
+ onlinePharmacy?: {
159
+ name: string,
160
+ id: string,
161
+ phones: { countryCode: string, number: string, extension: string | null, type: string, isTollFree: boolean }[]
162
+ }
163
+ }
164
+ >
165
+
154
166
  export type PracticeConfigPracticeCookieBanner = PracticeConfig<
155
167
  PracticeConfigKind.PracticeCookieBanner,
156
168
  {
@@ -168,6 +180,7 @@ export type PracticeConfigs =
168
180
  | PracticeConfigPractitionerChatbox
169
181
  | PracticeConfigPracticeLocaleSwitcher
170
182
  | PracticeConfigPracticeCookieBanner
183
+ | PracticeConfigPracticeOnlinePharmacy
171
184
  | PracticeConfigPracticeTheme // Here for demonstration only
172
185
 
173
186
  export interface PracticeWorkflow {
@@ -38,16 +38,6 @@ export interface EntryData {
38
38
  triggers?: string[]
39
39
  }
40
40
 
41
- export interface SlideData {
42
- header: string
43
- body: string
44
- image?: {
45
- src: string
46
- alt: string
47
- }
48
- icon?: string
49
- }
50
-
51
41
  export enum MetadataCategory { //these are generic metadata categories
52
42
  ChildPersonal = 'ChildPersonal',
53
43
  Consultation = 'Consultation',
@@ -121,7 +111,6 @@ export interface WorkflowData {
121
111
  summaryImageFieldName?: string // this field is used to show the consult summary image
122
112
  summarySymptomsFieldName?: string // this field is used to show the consult summary symptoms
123
113
  selectedAnswers?: SelectedAnswersData
124
- walkthroughSlides?: SlideData[]
125
114
  }
126
115
 
127
116
  /**