oro-sdk-apis 1.32.0 → 1.34.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/guard.d.ts +1 -1
- package/dist/models/practice.d.ts +12 -1
- package/dist/oro-sdk-apis.cjs.development.js +400 -816
- 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 +400 -816
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/models/guard.ts +2 -0
- package/src/models/practice.ts +17 -1
package/package.json
CHANGED
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'
|
package/src/models/practice.ts
CHANGED
@@ -141,8 +141,9 @@ export enum PracticeConfigKind {
|
|
141
141
|
PracticeFontsLinks = 'PracticeFontsLinks',
|
142
142
|
PracticeLocaleSwitcher = 'PracticeLocaleSwitcher',
|
143
143
|
PracticePharmacyPicker = 'PracticePharmacyPicker',
|
144
|
+
PracticePrescriptionFields = 'PracticePrescriptionFields',
|
144
145
|
PractitionerChatbox = 'PractitionerChatbox',
|
145
|
-
PractitionerConsultList = 'PractitionerConsultList'
|
146
|
+
PractitionerConsultList = 'PractitionerConsultList'
|
146
147
|
}
|
147
148
|
|
148
149
|
/**
|
@@ -317,6 +318,19 @@ export type PracticeConfigPractitionerConsultList = PracticeConfig<
|
|
317
318
|
}
|
318
319
|
>
|
319
320
|
|
321
|
+
/**
|
322
|
+
* This config is used to configure the layout of the modular prescription fields
|
323
|
+
*/
|
324
|
+
export type PracticeConfigPracticePrescriptionFields = PracticeConfig<
|
325
|
+
PracticeConfigKind.PracticePrescriptionFields,
|
326
|
+
{
|
327
|
+
/**
|
328
|
+
* the y position in px of the first modular prescription
|
329
|
+
*/
|
330
|
+
yCoordinate?: number
|
331
|
+
}
|
332
|
+
>
|
333
|
+
|
320
334
|
export type PracticeConfigs =
|
321
335
|
| PracticeConfigPractitionerConsultList
|
322
336
|
| PracticeConfigPractitionerChatbox
|
@@ -325,6 +339,7 @@ export type PracticeConfigs =
|
|
325
339
|
| PracticeConfigPracticeOnlinePharmacy
|
326
340
|
| PracticeConfigPracticeCssVariables
|
327
341
|
| PracticeConfigPracticeFontsLinks
|
342
|
+
| PracticeConfigPracticePrescriptionFields
|
328
343
|
| PracticeConfigPracticeConfigExample // Here for integration tests only
|
329
344
|
|
330
345
|
export interface PracticeWorkflow {
|
@@ -531,6 +546,7 @@ export interface HydratedPracticeConfigs {
|
|
531
546
|
[PracticeConfigKind.PracticeFontsLinks]?: PracticeConfigPracticeFontsLinks
|
532
547
|
[PracticeConfigKind.PracticeLocaleSwitcher]?: PracticeConfigPracticeLocaleSwitcher
|
533
548
|
[PracticeConfigKind.PracticePharmacyPicker]?: PracticeConfigPracticeOnlinePharmacy
|
549
|
+
[PracticeConfigKind.PracticePrescriptionFields]?: PracticeConfigPracticePrescriptionFields
|
534
550
|
[PracticeConfigKind.PractitionerChatbox]?: PracticeConfigPractitionerChatbox
|
535
551
|
[PracticeConfigKind.PractitionerConsultList]?: PracticeConfigPractitionerConsultList
|
536
552
|
}
|