oro-sdk-apis 1.52.0 → 1.53.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2021 ORO Health Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -132,7 +132,9 @@ export declare enum PracticeConfigKind {
132
132
  PractitionerChatbox = "PractitionerChatbox",
133
133
  PractitionerConsultList = "PractitionerConsultList",
134
134
  PractitionerSearch = "PractitionerSearch",
135
- PracticeRegisterWalkthrough = "PracticeRegisterWalkthrough"
135
+ PracticeRegisterWalkthrough = "PracticeRegisterWalkthrough",
136
+ PracticeExamsAndResults = "PracticeExamsAndResults",
137
+ PracticeLayout = "PracticeLayout"
136
138
  }
137
139
  /**
138
140
  * Defines the close consultation types to hide in the close consultation modal of a practice
@@ -310,7 +312,25 @@ export declare type PracticeConfigPracticeRegisterWalkthrough = PracticeConfig<P
310
312
  */
311
313
  workflowUuid?: string;
312
314
  }>;
313
- export declare type PracticeConfigs = PracticeConfigPractitionerSearch | PracticeConfigPractitionerConsultList | PracticeConfigPractitionerChatbox | PracticeConfigPracticeLocaleSwitcher | PracticeConfigPracticeCookieBanner | PracticeConfigPracticeOnlinePharmacy | PracticeConfigPracticeCssVariables | PracticeConfigPracticeFontsLinks | PracticeConfigPracticePrescriptionFields | PracticeConfigPracticeConfigExample | PracticeConfigPracticeConsultTabs | PracticeConfigPatientConsultCard;
315
+ /**
316
+ * This config is used for all configs related to the Exams and Results module
317
+ */
318
+ export declare type PracticeConfigPracticeExamsAndResults = PracticeConfig<PracticeConfigKind.PracticeExamsAndResults, {
319
+ /**
320
+ * If true, then show the deprecated URL prescription pad
321
+ */
322
+ showUrlPrescriptionPad?: boolean;
323
+ }>;
324
+ /**
325
+ * This config is used for all configs related to the Layout of the app (Navbar, Footer, etc)
326
+ */
327
+ export declare type PracticeConfigPracticeLayout = PracticeConfig<PracticeConfigKind.PracticeLayout, {
328
+ /**
329
+ * If true, then show the FAQ link in the Navbar
330
+ */
331
+ showFaqLink?: boolean;
332
+ }>;
333
+ export declare type PracticeConfigs = PracticeConfigPractitionerSearch | PracticeConfigPractitionerConsultList | PracticeConfigPractitionerChatbox | PracticeConfigPracticeLocaleSwitcher | PracticeConfigPracticeCookieBanner | PracticeConfigPracticeOnlinePharmacy | PracticeConfigPracticeCssVariables | PracticeConfigPracticeFontsLinks | PracticeConfigPracticePrescriptionFields | PracticeConfigPracticeConfigExample | PracticeConfigPracticeConsultTabs | PracticeConfigPatientConsultCard | PracticeConfigPracticeExamsAndResults | PracticeConfigPracticeLayout;
314
334
  export interface PracticeWorkflow {
315
335
  id?: number;
316
336
  uuidPractice: string;
@@ -506,6 +526,8 @@ export interface HydratedPracticeConfigs {
506
526
  [PracticeConfigKind.PractitionerConsultList]?: PracticeConfigPractitionerConsultList;
507
527
  [PracticeConfigKind.PractitionerSearch]?: PracticeConfigPractitionerSearch;
508
528
  [PracticeConfigKind.PracticeRegisterWalkthrough]?: PracticeConfigPracticeRegisterWalkthrough;
529
+ [PracticeConfigKind.PracticeExamsAndResults]?: PracticeConfigPracticeExamsAndResults;
530
+ [PracticeConfigKind.PracticeLayout]?: PracticeConfigPracticeLayout;
509
531
  }
510
532
  export interface Practice {
511
533
  uuid: string;