oro-sdk-apis 1.54.3 → 1.55.0

Sign up to get free protection for your applications and to get access to all the features.
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.
@@ -134,7 +134,8 @@ export declare enum PracticeConfigKind {
134
134
  PractitionerSearch = "PractitionerSearch",
135
135
  PracticeRegisterWalkthrough = "PracticeRegisterWalkthrough",
136
136
  PracticeExamsAndResults = "PracticeExamsAndResults",
137
- PracticeLayout = "PracticeLayout"
137
+ PracticeLayout = "PracticeLayout",
138
+ PracticeAddressField = "PracticeAddressField"
138
139
  }
139
140
  /**
140
141
  * Defines the close consultation types to hide in the close consultation modal of a practice
@@ -330,7 +331,16 @@ export declare type PracticeConfigPracticeLayout = PracticeConfig<PracticeConfig
330
331
  */
331
332
  showFaqLink?: boolean;
332
333
  }>;
333
- export declare type PracticeConfigs = PracticeConfigPractitionerSearch | PracticeConfigPractitionerConsultList | PracticeConfigPractitionerChatbox | PracticeConfigPracticeLocaleSwitcher | PracticeConfigPracticeCookieBanner | PracticeConfigPracticeOnlinePharmacy | PracticeConfigPracticeCssVariables | PracticeConfigPracticeFontsLinks | PracticeConfigPracticePrescriptionFields | PracticeConfigPracticeConfigExample | PracticeConfigPracticeConsultTabs | PracticeConfigPatientConsultCard | PracticeConfigPracticeExamsAndResults | PracticeConfigPracticeLayout;
334
+ /**
335
+ * This config is used for all configs related to the Google Places address field
336
+ */
337
+ export declare type PracticeConfigPracticeAddressField = PracticeConfig<PracticeConfigKind.PracticeAddressField, {
338
+ /**
339
+ * If true, then show the long version of the address, otherwise, show the short version
340
+ */
341
+ longAddress?: boolean;
342
+ }>;
343
+ export declare type PracticeConfigs = PracticeConfigPractitionerSearch | PracticeConfigPractitionerConsultList | PracticeConfigPractitionerChatbox | PracticeConfigPracticeLocaleSwitcher | PracticeConfigPracticeCookieBanner | PracticeConfigPracticeOnlinePharmacy | PracticeConfigPracticeCssVariables | PracticeConfigPracticeFontsLinks | PracticeConfigPracticePrescriptionFields | PracticeConfigPracticeConfigExample | PracticeConfigPracticeConsultTabs | PracticeConfigPatientConsultCard | PracticeConfigPracticeExamsAndResults | PracticeConfigPracticeLayout | PracticeConfigPracticeAddressField;
334
344
  export interface PracticeWorkflow {
335
345
  id?: number;
336
346
  uuidPractice: string;
@@ -569,6 +579,7 @@ export interface HydratedPracticeConfigs {
569
579
  [PracticeConfigKind.PracticeRegisterWalkthrough]?: PracticeConfigPracticeRegisterWalkthrough;
570
580
  [PracticeConfigKind.PracticeExamsAndResults]?: PracticeConfigPracticeExamsAndResults;
571
581
  [PracticeConfigKind.PracticeLayout]?: PracticeConfigPracticeLayout;
582
+ [PracticeConfigKind.PracticeAddressField]?: PracticeConfigPracticeAddressField;
572
583
  }
573
584
  export interface Practice {
574
585
  uuid: string;