oro-sdk-apis 1.7.0 → 1.8.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.8.1",
3
3
  "main": "dist/index.js",
4
4
  "typings": "dist/index.d.ts",
5
5
  "files": [
@@ -94,6 +94,8 @@ export interface TreatmentPlan {
94
94
  uuidTreatment?: string
95
95
  notes?: string
96
96
  status: PlanStatus
97
+ decidedAt: string
98
+ createdAt: string
97
99
  }
98
100
 
99
101
  export interface DrugPrescription {
@@ -107,6 +109,8 @@ export interface TreatmentAndDrugPrescription {
107
109
  notes?: string
108
110
  status: PlanStatus
109
111
  uuidTreatmentPlan: string
112
+ decidedAt: string
113
+ createdAt: string
110
114
  }
111
115
  export interface TreatmentPlans {
112
116
  uuidConsult: string
@@ -68,12 +68,11 @@ export interface IdentityResponse {
68
68
  publicKey: Base64String
69
69
  recoveryLogin?: Uuid
70
70
  recoveryPassword: Base64String
71
- recoveryMasterKey: Base64String
72
- recoverySecurityQuestions: SecretShard[]
71
+ recoveryMasterKey?: Base64String
72
+ recoverySecurityQuestions?: SecretShard[]
73
73
  legal?: LegalData
74
74
  createdAt?: string
75
75
  updatedAt?: string
76
- //TODO: remove me when https://github.com/OROHealth/oro-guard/pull/72 is merged
77
76
  refreshToken?: string
78
77
  }
79
78
 
@@ -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
  /**