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/dist/models/diagnosis.d.ts +4 -0
- package/dist/models/guard.d.ts +2 -2
- package/dist/models/workflow.d.ts +10 -0
- package/dist/oro-sdk-apis.cjs.development.js.map +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js.map +1 -1
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/models/diagnosis.ts +4 -0
- package/src/models/guard.ts +2 -3
- package/src/models/workflow.ts +11 -0
package/package.json
CHANGED
package/src/models/diagnosis.ts
CHANGED
|
@@ -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
|
package/src/models/guard.ts
CHANGED
|
@@ -68,12 +68,11 @@ export interface IdentityResponse {
|
|
|
68
68
|
publicKey: Base64String
|
|
69
69
|
recoveryLogin?: Uuid
|
|
70
70
|
recoveryPassword: Base64String
|
|
71
|
-
recoveryMasterKey
|
|
72
|
-
recoverySecurityQuestions
|
|
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
|
|
package/src/models/workflow.ts
CHANGED
|
@@ -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
|
/**
|