oro-sdk-apis 1.45.0 → 1.48.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/models/practice.d.ts +11 -1
- package/dist/models/workflow.d.ts +46 -2
- package/dist/oro-sdk-apis.cjs.development.js +401 -816
- 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 +401 -816
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/models/practice.ts +18 -1
- package/src/models/workflow.ts +56 -10
- package/LICENSE +0 -21
@@ -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
|
*/
|
@@ -302,7 +310,7 @@ export declare type PracticeConfigPracticeRegisterWalkthrough = PracticeConfig<P
|
|
302
310
|
*/
|
303
311
|
workflowUuid?: string;
|
304
312
|
}>;
|
305
|
-
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;
|
306
314
|
export interface PracticeWorkflow {
|
307
315
|
id?: number;
|
308
316
|
uuidPractice: string;
|
@@ -484,7 +492,9 @@ export interface Practitioner {
|
|
484
492
|
txtAddressTransmission?: string;
|
485
493
|
}
|
486
494
|
export interface HydratedPracticeConfigs {
|
495
|
+
[PracticeConfigKind.PatientConsultCard]?: PracticeConfigPatientConsultCard;
|
487
496
|
[PracticeConfigKind.PracticeCloseConsultationTypes]?: PracticeConfigPracticeCloseConsultationTypes;
|
497
|
+
[PracticeConfigKind.PracticeConsultTabs]?: PracticeConfigPracticeConsultTabs;
|
488
498
|
[PracticeConfigKind.PracticeConfigExample]?: PracticeConfigPracticeConfigExample;
|
489
499
|
[PracticeConfigKind.PracticeCookieBanner]?: PracticeConfigPracticeCookieBanner;
|
490
500
|
[PracticeConfigKind.PracticeCssVariables]?: PracticeConfigPracticeCssVariables;
|
@@ -66,9 +66,45 @@ export interface EntryData {
|
|
66
66
|
summaryHidden?: boolean;
|
67
67
|
className?: string;
|
68
68
|
/**
|
69
|
-
* This field represents a list of `selectedAnswers` that must be set for this entry to be displayed
|
69
|
+
* This field represents a list of `selectedAnswers` that must be set for this entry to be displayed using the followng logical combination of rules:
|
70
|
+
*
|
71
|
+
* #### Single string
|
72
|
+
*
|
73
|
+
* ```
|
74
|
+
* // Required: rule1
|
75
|
+
* rules: rule1
|
76
|
+
* ```
|
77
|
+
*
|
78
|
+
* #### Array of strings (AND is applied between statements):
|
79
|
+
*
|
80
|
+
* ```
|
81
|
+
* // Required: rule1 AND rule2
|
82
|
+
* rules: [ rule1, rule2 ]
|
83
|
+
* ```
|
84
|
+
*
|
85
|
+
* #### Array of arrays of strings (OR is applied between inner arrays. AND is applied between inner arrays statements)
|
86
|
+
*
|
87
|
+
* ```
|
88
|
+
* // Required: rule1 OR rule2
|
89
|
+
* rules: [
|
90
|
+
* [ rule1 ],
|
91
|
+
* [ rule2 ]
|
92
|
+
* ]
|
93
|
+
*
|
94
|
+
* // Required: rule1 OR (rule2 AND rule3)
|
95
|
+
* rules: [
|
96
|
+
* [ rule1 ],
|
97
|
+
* [ rule2, rule3 ]
|
98
|
+
* ]
|
99
|
+
*
|
100
|
+
* // THIS IS FORBIDDEN
|
101
|
+
* rules: [
|
102
|
+
* rule1, // <-- THIS IS FORBIDDEN. Instead use [ rule1 ]
|
103
|
+
* [ rule2, rule3 ]
|
104
|
+
* ]
|
105
|
+
* ```
|
70
106
|
*/
|
71
|
-
triggers?: string[];
|
107
|
+
triggers?: string[][] | string[] | string;
|
72
108
|
/**
|
73
109
|
* This field represents a list of `StateTrigger` that must be fulfilled for this entry to be displayed.
|
74
110
|
*/
|
@@ -170,6 +206,14 @@ export interface WorkflowData {
|
|
170
206
|
summarySymptomsFieldName?: string;
|
171
207
|
selectedAnswers?: SelectedAnswersData;
|
172
208
|
walkthroughSlides?: SlideData[];
|
209
|
+
/**
|
210
|
+
* (optional) the service name this workflow provides
|
211
|
+
*/
|
212
|
+
serviceName?: string;
|
213
|
+
/**
|
214
|
+
* (optional) the description of the service this workflow provides
|
215
|
+
*/
|
216
|
+
serviceDescription?: string;
|
173
217
|
}
|
174
218
|
/**
|
175
219
|
* This interface describes an upload of an image (could be a picture, a pdf, a text file, etc.)
|