oro-sdk-apis 1.50.0 → 1.53.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/models/practice.d.ts +24 -2
- package/dist/models/workflow.d.ts +7 -1
- package/dist/oro-sdk-apis.cjs.development.js +2 -0
- 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 +2 -0
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/models/practice.ts +33 -1
- package/src/models/workflow.ts +9 -1
@@ -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
|
-
|
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;
|
@@ -57,6 +57,11 @@ export interface LanguagePickerData extends ChoiceInputData {
|
|
57
57
|
flag: string;
|
58
58
|
locale: string;
|
59
59
|
}
|
60
|
+
export interface TileRadioData extends ChoiceInputData {
|
61
|
+
fullText?: string;
|
62
|
+
image?: string;
|
63
|
+
description?: string;
|
64
|
+
}
|
60
65
|
export interface EntryData {
|
61
66
|
id?: number;
|
62
67
|
label?: string;
|
@@ -164,13 +169,14 @@ export interface GenericQuestionData<T, A = IndexedData<ChoiceInputData>, O = un
|
|
164
169
|
* Options to forward to the workflow component
|
165
170
|
*/
|
166
171
|
options?: O;
|
172
|
+
messages?: string;
|
167
173
|
}
|
168
174
|
export interface GroupedGenericQuestionData<T, A = IndexedData<ChoiceInputData>> extends GenericQuestionData<T, A> {
|
169
175
|
inline?: boolean;
|
170
176
|
inlineLabel?: boolean;
|
171
177
|
order?: number;
|
172
178
|
}
|
173
|
-
export declare type QuestionData = GenericQuestionData<'title' | 'paragraph' | 'checkbox', void> | GenericQuestionData<'text' | 'text-area' | 'date' | 'number' | 'images' | 'body-parts' | 'pharmacy-picker' | 'online-pharmacy-picker' | 'place-address'> | GenericQuestionData<'images-alias', IndexedData<ChoiceInputData>, ImagesAliasQuestionOptions> | GenericQuestionData<'checkbox-group' | 'hair-loss-frontal' | 'select' | 'multiple' | 'text-select-group', IndexedData<ChoiceInputData>> | GroupedGenericQuestionData<'radio' | 'hair-selector-women' | 'hair-selector-men' | 'hair-loss-stage', IndexedData<RadioInputData>> | GroupedGenericQuestionData<'radio-card' | 'profile-selector', IndexedData<RadioCardInputData>> | GroupedGenericQuestionData<'language-picker', IndexedData<LanguagePickerData>>;
|
179
|
+
export declare type QuestionData = GenericQuestionData<'title' | 'paragraph' | 'checkbox', void> | GenericQuestionData<'text' | 'text-area' | 'date' | 'number' | 'images' | 'body-parts' | 'pharmacy-picker' | 'online-pharmacy-picker' | 'place-address'> | GenericQuestionData<'images-alias', IndexedData<ChoiceInputData>, ImagesAliasQuestionOptions> | GenericQuestionData<'checkbox-group' | 'hair-loss-frontal' | 'select' | 'multiple' | 'text-select-group', IndexedData<ChoiceInputData>> | GroupedGenericQuestionData<'radio' | 'hair-selector-women' | 'hair-selector-men' | 'hair-loss-stage' | 'hair-loss-other', IndexedData<RadioInputData>> | GroupedGenericQuestionData<'radio-card' | 'profile-selector', IndexedData<RadioCardInputData>> | GroupedGenericQuestionData<'language-picker', IndexedData<LanguagePickerData>> | GroupedGenericQuestionData<'tile-radio', IndexedData<TileRadioData>>;
|
174
180
|
export interface FieldData {
|
175
181
|
type: 'field';
|
176
182
|
className?: string;
|
@@ -1581,6 +1581,8 @@ var VaultDataMissing = /*#__PURE__*/function (_Error8) {
|
|
1581
1581
|
PracticeConfigKind["PractitionerConsultList"] = "PractitionerConsultList";
|
1582
1582
|
PracticeConfigKind["PractitionerSearch"] = "PractitionerSearch";
|
1583
1583
|
PracticeConfigKind["PracticeRegisterWalkthrough"] = "PracticeRegisterWalkthrough";
|
1584
|
+
PracticeConfigKind["PracticeExamsAndResults"] = "PracticeExamsAndResults";
|
1585
|
+
PracticeConfigKind["PracticeLayout"] = "PracticeLayout";
|
1584
1586
|
})(exports.PracticeConfigKind || (exports.PracticeConfigKind = {}));
|
1585
1587
|
|
1586
1588
|
(function (StripePriceType) {
|