oro-sdk-apis 1.7.0 → 1.7.1

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.7.0",
2
+ "version": "1.7.1",
3
3
  "main": "dist/index.js",
4
4
  "typings": "dist/index.d.ts",
5
5
  "files": [
@@ -119,7 +119,6 @@ export enum PracticeConfigKind {
119
119
  PracticeTheme = 'PracticeTheme',
120
120
  PracticeLocaleSwitcher = 'PracticeLocaleSwitcher',
121
121
  PracticeCookieBanner = 'PracticeCookieBanner',
122
- PracticePharmacyPicker = 'PracticePharmacyPicker',
123
122
  }
124
123
 
125
124
  export interface PracticeConfig<K, T> {
@@ -152,17 +151,6 @@ export type PracticeConfigPractitionerChatbox = PracticeConfig<
152
151
  }
153
152
  >
154
153
 
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
-
166
154
  export type PracticeConfigPracticeCookieBanner = PracticeConfig<
167
155
  PracticeConfigKind.PracticeCookieBanner,
168
156
  {
@@ -180,7 +168,6 @@ export type PracticeConfigs =
180
168
  | PracticeConfigPractitionerChatbox
181
169
  | PracticeConfigPracticeLocaleSwitcher
182
170
  | PracticeConfigPracticeCookieBanner
183
- | PracticeConfigPracticeOnlinePharmacy
184
171
  | PracticeConfigPracticeTheme // Here for demonstration only
185
172
 
186
173
  export interface PracticeWorkflow {
@@ -38,6 +38,16 @@ 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
+
41
51
  export enum MetadataCategory { //these are generic metadata categories
42
52
  ChildPersonal = 'ChildPersonal',
43
53
  Consultation = 'Consultation',
@@ -111,6 +121,7 @@ export interface WorkflowData {
111
121
  summaryImageFieldName?: string // this field is used to show the consult summary image
112
122
  summarySymptomsFieldName?: string // this field is used to show the consult summary symptoms
113
123
  selectedAnswers?: SelectedAnswersData
124
+ walkthroughSlides?: SlideData[]
114
125
  }
115
126
 
116
127
  /**
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2021 ORO Health Inc.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.