oro-sdk-apis 1.44.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/LICENSE +21 -0
- package/dist/models/practice.d.ts +23 -4
- package/dist/oro-sdk-apis.cjs.development.js +818 -399
- 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 +818 -399
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/models/practice.ts +30 -4
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.
|
@@ -119,7 +119,9 @@ export interface PracticeAccount {
|
|
119
119
|
*
|
120
120
|
*/
|
121
121
|
export declare enum PracticeConfigKind {
|
122
|
+
PatientConsultCard = "PatientConsultCard",
|
122
123
|
PracticeCloseConsultationTypes = "PracticeCloseConsultationTypes",
|
124
|
+
PracticeConsultTabs = "PracticeConsultTabs",
|
123
125
|
PracticeConfigExample = "PracticeConfigExample",
|
124
126
|
PracticeCookieBanner = "PracticeCookieBanner",
|
125
127
|
PracticeCssVariables = "PracticeCssVariables",
|
@@ -177,6 +179,12 @@ export interface PracticeConfig<K, T> {
|
|
177
179
|
*/
|
178
180
|
config: T;
|
179
181
|
}
|
182
|
+
export declare type PracticeConfigPatientConsultCard = PracticeConfig<PracticeConfigKind.PatientConsultCard, {
|
183
|
+
hideDiagnosis?: boolean;
|
184
|
+
}>;
|
185
|
+
export declare type PracticeConfigPracticeConsultTabs = PracticeConfig<PracticeConfigKind.PracticeConsultTabs, {
|
186
|
+
hideDxTx?: boolean;
|
187
|
+
}>;
|
180
188
|
/**
|
181
189
|
* This type is for test (do not remove without updating the integration tests)
|
182
190
|
*/
|
@@ -280,9 +288,18 @@ export declare type PracticeConfigPracticePrescriptionFields = PracticeConfig<Pr
|
|
280
288
|
*/
|
281
289
|
yCoordinate?: number;
|
282
290
|
}>;
|
291
|
+
/**
|
292
|
+
* This config is used to enable or disable the Search feature
|
293
|
+
*/
|
283
294
|
export declare type PracticeConfigPractitionerSearch = PracticeConfig<PracticeConfigKind.PractitionerSearch, {
|
284
|
-
|
285
|
-
|
295
|
+
/**
|
296
|
+
* Enables search indexing a consultation on its creation
|
297
|
+
*/
|
298
|
+
enableSearchIndexing?: boolean;
|
299
|
+
/**
|
300
|
+
* Enables to search for consultations from the ConsultList
|
301
|
+
*/
|
302
|
+
enableSearch?: boolean;
|
286
303
|
}>;
|
287
304
|
/**
|
288
305
|
* This config is used to configure the register walkthrough
|
@@ -293,7 +310,7 @@ export declare type PracticeConfigPracticeRegisterWalkthrough = PracticeConfig<P
|
|
293
310
|
*/
|
294
311
|
workflowUuid?: string;
|
295
312
|
}>;
|
296
|
-
export declare type PracticeConfigs = PracticeConfigPractitionerSearch | PracticeConfigPractitionerConsultList | PracticeConfigPractitionerChatbox | PracticeConfigPracticeLocaleSwitcher | PracticeConfigPracticeCookieBanner | PracticeConfigPracticeOnlinePharmacy | PracticeConfigPracticeCssVariables | PracticeConfigPracticeFontsLinks | PracticeConfigPracticePrescriptionFields | PracticeConfigPracticeConfigExample;
|
313
|
+
export declare type PracticeConfigs = PracticeConfigPractitionerSearch | PracticeConfigPractitionerConsultList | PracticeConfigPractitionerChatbox | PracticeConfigPracticeLocaleSwitcher | PracticeConfigPracticeCookieBanner | PracticeConfigPracticeOnlinePharmacy | PracticeConfigPracticeCssVariables | PracticeConfigPracticeFontsLinks | PracticeConfigPracticePrescriptionFields | PracticeConfigPracticeConfigExample | PracticeConfigPracticeConsultTabs | PracticeConfigPatientConsultCard;
|
297
314
|
export interface PracticeWorkflow {
|
298
315
|
id?: number;
|
299
316
|
uuidPractice: string;
|
@@ -475,7 +492,9 @@ export interface Practitioner {
|
|
475
492
|
txtAddressTransmission?: string;
|
476
493
|
}
|
477
494
|
export interface HydratedPracticeConfigs {
|
495
|
+
[PracticeConfigKind.PatientConsultCard]?: PracticeConfigPatientConsultCard;
|
478
496
|
[PracticeConfigKind.PracticeCloseConsultationTypes]?: PracticeConfigPracticeCloseConsultationTypes;
|
497
|
+
[PracticeConfigKind.PracticeConsultTabs]?: PracticeConfigPracticeConsultTabs;
|
479
498
|
[PracticeConfigKind.PracticeConfigExample]?: PracticeConfigPracticeConfigExample;
|
480
499
|
[PracticeConfigKind.PracticeCookieBanner]?: PracticeConfigPracticeCookieBanner;
|
481
500
|
[PracticeConfigKind.PracticeCssVariables]?: PracticeConfigPracticeCssVariables;
|
@@ -486,7 +505,7 @@ export interface HydratedPracticeConfigs {
|
|
486
505
|
[PracticeConfigKind.PractitionerChatbox]?: PracticeConfigPractitionerChatbox;
|
487
506
|
[PracticeConfigKind.PractitionerConsultList]?: PracticeConfigPractitionerConsultList;
|
488
507
|
[PracticeConfigKind.PractitionerSearch]?: PracticeConfigPractitionerSearch;
|
489
|
-
[PracticeConfigKind.PracticeRegisterWalkthrough]?:
|
508
|
+
[PracticeConfigKind.PracticeRegisterWalkthrough]?: PracticeConfigPracticeRegisterWalkthrough;
|
490
509
|
}
|
491
510
|
export interface Practice {
|
492
511
|
uuid: string;
|