oro-sdk-apis 1.34.0 → 1.35.0-dev1
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 +5 -0
- package/dist/models/guard.d.ts +1 -1
- package/dist/oro-sdk-apis.cjs.development.js +5 -0
- package/dist/oro-sdk-apis.cjs.development.js.map +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js.map +1 -1
- package/dist/oro-sdk-apis.esm.js +8 -1
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/models/diagnosis.ts +7 -1
- package/src/models/guard.ts +2 -0
package/package.json
CHANGED
package/src/models/diagnosis.ts
CHANGED
@@ -66,6 +66,11 @@ export interface Drug extends DrugRequest {
|
|
66
66
|
createdAt: string
|
67
67
|
}
|
68
68
|
|
69
|
+
export enum PrescriptionStatus {
|
70
|
+
Existing = 'Existing',
|
71
|
+
Deleted = 'Deleted',
|
72
|
+
}
|
73
|
+
|
69
74
|
export interface PrescriptionRequest {
|
70
75
|
uuid?: string
|
71
76
|
uuidTreatment?: string
|
@@ -78,6 +83,7 @@ export interface PrescriptionRequest {
|
|
78
83
|
export interface Prescription extends PrescriptionRequest {
|
79
84
|
uuid: string
|
80
85
|
uuidTreatment: string
|
86
|
+
status: PrescriptionStatus
|
81
87
|
createdAt: string
|
82
88
|
}
|
83
89
|
|
@@ -153,4 +159,4 @@ export interface TreatmentPlansResponseEntry {
|
|
153
159
|
treatmentPlan: TreatmentPlan
|
154
160
|
}
|
155
161
|
|
156
|
-
export interface TreatmentPlansResponse extends Array<TreatmentPlansResponseEntry> {}
|
162
|
+
export interface TreatmentPlansResponse extends Array<TreatmentPlansResponseEntry> {}
|
package/src/models/guard.ts
CHANGED
@@ -151,7 +151,9 @@ export type RoleBasedScopes = AllRoleType
|
|
151
151
|
export type PermissionBasedScopes =
|
152
152
|
| 'consult.consults.get'
|
153
153
|
| 'consult.consults.post'
|
154
|
+
| 'consult.consults.put'
|
154
155
|
| 'practice.assignments.post'
|
156
|
+
| 'practice.emails.get'
|
155
157
|
| 'practice.configs.get'
|
156
158
|
| 'practice.invoices.get'
|
157
159
|
| 'practice.payments.get'
|