oro-sdk-apis 1.45.0 → 1.46.0
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/practice.d.ts +11 -1
- package/dist/oro-sdk-apis.cjs.development.js +2 -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 +2 -0
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/models/practice.ts +18 -1
package/package.json
CHANGED
package/src/models/practice.ts
CHANGED
@@ -134,7 +134,9 @@ export interface PracticeAccount {
|
|
134
134
|
*
|
135
135
|
*/
|
136
136
|
export enum PracticeConfigKind {
|
137
|
+
PatientConsultCard = 'PatientConsultCard',
|
137
138
|
PracticeCloseConsultationTypes = 'PracticeCloseConsultationTypes',
|
139
|
+
PracticeConsultTabs = 'PracticeConsultTabs',
|
138
140
|
PracticeConfigExample = 'PracticeConfigExample',
|
139
141
|
PracticeCookieBanner = 'PracticeCookieBanner',
|
140
142
|
PracticeCssVariables = 'PracticeCssVariables',
|
@@ -202,6 +204,17 @@ export interface PracticeConfig<K, T> {
|
|
202
204
|
config: T
|
203
205
|
}
|
204
206
|
|
207
|
+
export type PracticeConfigPatientConsultCard = PracticeConfig<
|
208
|
+
PracticeConfigKind.PatientConsultCard,
|
209
|
+
{ hideDiagnosis?: boolean }
|
210
|
+
>
|
211
|
+
|
212
|
+
export type PracticeConfigPracticeConsultTabs = PracticeConfig<
|
213
|
+
PracticeConfigKind.PracticeConsultTabs,
|
214
|
+
{ hideDxTx?: boolean }
|
215
|
+
>
|
216
|
+
|
217
|
+
|
205
218
|
/**
|
206
219
|
* This type is for test (do not remove without updating the integration tests)
|
207
220
|
*/
|
@@ -374,6 +387,8 @@ export type PracticeConfigs =
|
|
374
387
|
| PracticeConfigPracticeFontsLinks
|
375
388
|
| PracticeConfigPracticePrescriptionFields
|
376
389
|
| PracticeConfigPracticeConfigExample // Here for integration tests only
|
390
|
+
| PracticeConfigPracticeConsultTabs
|
391
|
+
| PracticeConfigPatientConsultCard
|
377
392
|
|
378
393
|
export interface PracticeWorkflow {
|
379
394
|
id?: number ///optional for insertion
|
@@ -575,7 +590,9 @@ export interface Practitioner {
|
|
575
590
|
}
|
576
591
|
|
577
592
|
export interface HydratedPracticeConfigs {
|
593
|
+
[PracticeConfigKind.PatientConsultCard]?: PracticeConfigPatientConsultCard
|
578
594
|
[PracticeConfigKind.PracticeCloseConsultationTypes]?: PracticeConfigPracticeCloseConsultationTypes
|
595
|
+
[PracticeConfigKind.PracticeConsultTabs]?: PracticeConfigPracticeConsultTabs
|
579
596
|
[PracticeConfigKind.PracticeConfigExample]?: PracticeConfigPracticeConfigExample
|
580
597
|
[PracticeConfigKind.PracticeCookieBanner]?: PracticeConfigPracticeCookieBanner
|
581
598
|
[PracticeConfigKind.PracticeCssVariables]?: PracticeConfigPracticeCssVariables
|
@@ -666,4 +683,4 @@ export interface PracticeSecret {
|
|
666
683
|
* It's decrypted on the fly when returned by the api.
|
667
684
|
*/
|
668
685
|
payload: string
|
669
|
-
}
|
686
|
+
}
|