oro-sdk-apis 1.41.0 → 1.44.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/models/practice.d.ts +12 -1
- package/dist/models/workflow.d.ts +2 -1
- package/dist/oro-sdk-apis.cjs.development.js +413 -819
- 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 +413 -819
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/dist/services/practice.d.ts +7 -1
- package/package.json +1 -1
- package/src/models/practice.ts +17 -2
- package/src/models/workflow.ts +7 -2
- package/src/services/practice.ts +11 -4
- package/LICENSE +0 -21
@@ -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
|
@@ -283,6 +284,15 @@ export declare type PracticeConfigPractitionerSearch = PracticeConfig<PracticeCo
|
|
283
284
|
disableIndexing?: boolean;
|
284
285
|
disableSearch?: boolean;
|
285
286
|
}>;
|
287
|
+
/**
|
288
|
+
* This config is used to configure the register walkthrough
|
289
|
+
*/
|
290
|
+
export declare type PracticeConfigPracticeRegisterWalkthrough = PracticeConfig<PracticeConfigKind.PracticeRegisterWalkthrough, {
|
291
|
+
/**
|
292
|
+
* The workflow uuid containing the walkthrough to display. If not defined, the walkthrough slides screen is skipped.
|
293
|
+
*/
|
294
|
+
workflowUuid?: string;
|
295
|
+
}>;
|
286
296
|
export declare type PracticeConfigs = PracticeConfigPractitionerSearch | PracticeConfigPractitionerConsultList | PracticeConfigPractitionerChatbox | PracticeConfigPracticeLocaleSwitcher | PracticeConfigPracticeCookieBanner | PracticeConfigPracticeOnlinePharmacy | PracticeConfigPracticeCssVariables | PracticeConfigPracticeFontsLinks | PracticeConfigPracticePrescriptionFields | PracticeConfigPracticeConfigExample;
|
287
297
|
export interface PracticeWorkflow {
|
288
298
|
id?: number;
|
@@ -476,6 +486,7 @@ export interface HydratedPracticeConfigs {
|
|
476
486
|
[PracticeConfigKind.PractitionerChatbox]?: PracticeConfigPractitionerChatbox;
|
477
487
|
[PracticeConfigKind.PractitionerConsultList]?: PracticeConfigPractitionerConsultList;
|
478
488
|
[PracticeConfigKind.PractitionerSearch]?: PracticeConfigPractitionerSearch;
|
489
|
+
[PracticeConfigKind.PracticeRegisterWalkthrough]?: PracticeConfigPractitionerSearch;
|
479
490
|
}
|
480
491
|
export interface Practice {
|
481
492
|
uuid: string;
|
@@ -74,6 +74,7 @@ export interface EntryData {
|
|
74
74
|
*/
|
75
75
|
stateTriggers?: StateTrigger[];
|
76
76
|
componentKind?: string;
|
77
|
+
message?: string;
|
77
78
|
}
|
78
79
|
export interface SlideData {
|
79
80
|
header: string;
|
@@ -133,7 +134,7 @@ export interface GroupedGenericQuestionData<T, A = IndexedData<ChoiceInputData>>
|
|
133
134
|
inlineLabel?: boolean;
|
134
135
|
order?: number;
|
135
136
|
}
|
136
|
-
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' | 'select' | 'multiple' | 'text-select-group', IndexedData<ChoiceInputData>> | GroupedGenericQuestionData<'radio', IndexedData<RadioInputData>> | GroupedGenericQuestionData<'radio-card' | 'profile-selector', IndexedData<RadioCardInputData>> | GroupedGenericQuestionData<'language-picker', IndexedData<LanguagePickerData>>;
|
137
|
+
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>>;
|
137
138
|
export interface FieldData {
|
138
139
|
type: 'field';
|
139
140
|
className?: string;
|