oro-sdk-apis 1.43.0 → 1.45.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 -3
- package/dist/oro-sdk-apis.cjs.development.js +817 -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 +817 -399
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/models/practice.ts +27 -3
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.
|
@@ -129,7 +129,8 @@ export declare enum PracticeConfigKind {
|
|
129
129
|
PracticePrescriptionFields = "PracticePrescriptionFields",
|
130
130
|
PractitionerChatbox = "PractitionerChatbox",
|
131
131
|
PractitionerConsultList = "PractitionerConsultList",
|
132
|
-
PractitionerSearch = "PractitionerSearch"
|
132
|
+
PractitionerSearch = "PractitionerSearch",
|
133
|
+
PracticeRegisterWalkthrough = "PracticeRegisterWalkthrough"
|
133
134
|
}
|
134
135
|
/**
|
135
136
|
* Defines the close consultation types to hide in the close consultation modal of a practice
|
@@ -279,9 +280,27 @@ export declare type PracticeConfigPracticePrescriptionFields = PracticeConfig<Pr
|
|
279
280
|
*/
|
280
281
|
yCoordinate?: number;
|
281
282
|
}>;
|
283
|
+
/**
|
284
|
+
* This config is used to enable or disable the Search feature
|
285
|
+
*/
|
282
286
|
export declare type PracticeConfigPractitionerSearch = PracticeConfig<PracticeConfigKind.PractitionerSearch, {
|
283
|
-
|
284
|
-
|
287
|
+
/**
|
288
|
+
* Enables search indexing a consultation on its creation
|
289
|
+
*/
|
290
|
+
enableSearchIndexing?: boolean;
|
291
|
+
/**
|
292
|
+
* Enables to search for consultations from the ConsultList
|
293
|
+
*/
|
294
|
+
enableSearch?: boolean;
|
295
|
+
}>;
|
296
|
+
/**
|
297
|
+
* This config is used to configure the register walkthrough
|
298
|
+
*/
|
299
|
+
export declare type PracticeConfigPracticeRegisterWalkthrough = PracticeConfig<PracticeConfigKind.PracticeRegisterWalkthrough, {
|
300
|
+
/**
|
301
|
+
* The workflow uuid containing the walkthrough to display. If not defined, the walkthrough slides screen is skipped.
|
302
|
+
*/
|
303
|
+
workflowUuid?: string;
|
285
304
|
}>;
|
286
305
|
export declare type PracticeConfigs = PracticeConfigPractitionerSearch | PracticeConfigPractitionerConsultList | PracticeConfigPractitionerChatbox | PracticeConfigPracticeLocaleSwitcher | PracticeConfigPracticeCookieBanner | PracticeConfigPracticeOnlinePharmacy | PracticeConfigPracticeCssVariables | PracticeConfigPracticeFontsLinks | PracticeConfigPracticePrescriptionFields | PracticeConfigPracticeConfigExample;
|
287
306
|
export interface PracticeWorkflow {
|
@@ -476,6 +495,7 @@ export interface HydratedPracticeConfigs {
|
|
476
495
|
[PracticeConfigKind.PractitionerChatbox]?: PracticeConfigPractitionerChatbox;
|
477
496
|
[PracticeConfigKind.PractitionerConsultList]?: PracticeConfigPractitionerConsultList;
|
478
497
|
[PracticeConfigKind.PractitionerSearch]?: PracticeConfigPractitionerSearch;
|
498
|
+
[PracticeConfigKind.PracticeRegisterWalkthrough]?: PracticeConfigPracticeRegisterWalkthrough;
|
479
499
|
}
|
480
500
|
export interface Practice {
|
481
501
|
uuid: string;
|