oro-sdk-apis 1.52.0 → 1.53.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.52.0",
2
+ "version": "1.53.0",
3
3
  "main": "dist/index.js",
4
4
  "typings": "dist/index.d.ts",
5
5
  "files": [
@@ -148,6 +148,8 @@ export enum PracticeConfigKind {
148
148
  PractitionerConsultList = 'PractitionerConsultList',
149
149
  PractitionerSearch = 'PractitionerSearch',
150
150
  PracticeRegisterWalkthrough = 'PracticeRegisterWalkthrough',
151
+ PracticeExamsAndResults = 'PracticeExamsAndResults',
152
+ PracticeLayout = 'PracticeLayout',
151
153
  }
152
154
 
153
155
  /**
@@ -375,6 +377,32 @@ export type PracticeConfigPracticeRegisterWalkthrough = PracticeConfig<
375
377
  }
376
378
  >
377
379
 
380
+ /**
381
+ * This config is used for all configs related to the Exams and Results module
382
+ */
383
+ export type PracticeConfigPracticeExamsAndResults = PracticeConfig<
384
+ PracticeConfigKind.PracticeExamsAndResults,
385
+ {
386
+ /**
387
+ * If true, then show the deprecated URL prescription pad
388
+ */
389
+ showUrlPrescriptionPad?: boolean
390
+ }
391
+ >
392
+
393
+ /**
394
+ * This config is used for all configs related to the Layout of the app (Navbar, Footer, etc)
395
+ */
396
+ export type PracticeConfigPracticeLayout = PracticeConfig<
397
+ PracticeConfigKind.PracticeLayout,
398
+ {
399
+ /**
400
+ * If true, then show the FAQ link in the Navbar
401
+ */
402
+ showFaqLink?: boolean
403
+ }
404
+ >
405
+
378
406
  export type PracticeConfigs =
379
407
  | PracticeConfigPractitionerSearch
380
408
  | PracticeConfigPractitionerConsultList
@@ -388,6 +416,8 @@ export type PracticeConfigs =
388
416
  | PracticeConfigPracticeConfigExample // Here for integration tests only
389
417
  | PracticeConfigPracticeConsultTabs
390
418
  | PracticeConfigPatientConsultCard
419
+ | PracticeConfigPracticeExamsAndResults
420
+ | PracticeConfigPracticeLayout
391
421
 
392
422
  export interface PracticeWorkflow {
393
423
  id?: number ///optional for insertion
@@ -603,6 +633,8 @@ export interface HydratedPracticeConfigs {
603
633
  [PracticeConfigKind.PractitionerConsultList]?: PracticeConfigPractitionerConsultList
604
634
  [PracticeConfigKind.PractitionerSearch]?: PracticeConfigPractitionerSearch
605
635
  [PracticeConfigKind.PracticeRegisterWalkthrough]?: PracticeConfigPracticeRegisterWalkthrough
636
+ [PracticeConfigKind.PracticeExamsAndResults]?: PracticeConfigPracticeExamsAndResults
637
+ [PracticeConfigKind.PracticeLayout]?: PracticeConfigPracticeLayout
606
638
  }
607
639
 
608
640
  export interface Practice {
@@ -684,4 +716,4 @@ export interface PracticeSecret {
684
716
  * It's decrypted on the fly when returned by the api.
685
717
  */
686
718
  payload: string
687
- }
719
+ }