oro-sdk-apis 1.7.0 → 1.7.1
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/dist/models/practice.d.ts +2 -16
- package/dist/models/workflow.d.ts +10 -0
- package/dist/oro-sdk-apis.cjs.development.js +0 -1
- 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 +0 -1
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/models/practice.ts +0 -13
- package/src/models/workflow.ts +11 -0
- package/LICENSE +0 -21
|
@@ -104,8 +104,7 @@ export declare enum PracticeConfigKind {
|
|
|
104
104
|
PractitionerChatbox = "PractitionerChatbox",
|
|
105
105
|
PracticeTheme = "PracticeTheme",
|
|
106
106
|
PracticeLocaleSwitcher = "PracticeLocaleSwitcher",
|
|
107
|
-
PracticeCookieBanner = "PracticeCookieBanner"
|
|
108
|
-
PracticePharmacyPicker = "PracticePharmacyPicker"
|
|
107
|
+
PracticeCookieBanner = "PracticeCookieBanner"
|
|
109
108
|
}
|
|
110
109
|
export interface PracticeConfig<K, T> {
|
|
111
110
|
uuidPractice: string;
|
|
@@ -128,19 +127,6 @@ export declare type PracticeConfigPractitionerChatbox = PracticeConfig<PracticeC
|
|
|
128
127
|
[languageISO639_3: string]: string;
|
|
129
128
|
};
|
|
130
129
|
}>;
|
|
131
|
-
export declare type PracticeConfigPracticeOnlinePharmacy = PracticeConfig<PracticeConfigKind.PracticePharmacyPicker, {
|
|
132
|
-
onlinePharmacy?: {
|
|
133
|
-
name: string;
|
|
134
|
-
id: string;
|
|
135
|
-
phones: {
|
|
136
|
-
countryCode: string;
|
|
137
|
-
number: string;
|
|
138
|
-
extension: string | null;
|
|
139
|
-
type: string;
|
|
140
|
-
isTollFree: boolean;
|
|
141
|
-
}[];
|
|
142
|
-
};
|
|
143
|
-
}>;
|
|
144
130
|
export declare type PracticeConfigPracticeCookieBanner = PracticeConfig<PracticeConfigKind.PracticeCookieBanner, {
|
|
145
131
|
showCookieBanner?: boolean;
|
|
146
132
|
policyLink?: string;
|
|
@@ -149,7 +135,7 @@ export declare type PracticeConfigPracticeCookieBanner = PracticeConfig<Practice
|
|
|
149
135
|
export declare type PracticeConfigPracticeTheme = PracticeConfig<PracticeConfigKind.PracticeTheme, {
|
|
150
136
|
primaryColor?: string;
|
|
151
137
|
}>;
|
|
152
|
-
export declare type PracticeConfigs = PracticeConfigPractitionerConsultList | PracticeConfigPractitionerChatbox | PracticeConfigPracticeLocaleSwitcher | PracticeConfigPracticeCookieBanner |
|
|
138
|
+
export declare type PracticeConfigs = PracticeConfigPractitionerConsultList | PracticeConfigPractitionerChatbox | PracticeConfigPracticeLocaleSwitcher | PracticeConfigPracticeCookieBanner | PracticeConfigPracticeTheme;
|
|
153
139
|
export interface PracticeWorkflow {
|
|
154
140
|
id?: number;
|
|
155
141
|
uuidPractice: string;
|
|
@@ -30,6 +30,15 @@ export interface EntryData {
|
|
|
30
30
|
className?: string;
|
|
31
31
|
triggers?: string[];
|
|
32
32
|
}
|
|
33
|
+
export interface SlideData {
|
|
34
|
+
header: string;
|
|
35
|
+
body: string;
|
|
36
|
+
image?: {
|
|
37
|
+
src: string;
|
|
38
|
+
alt: string;
|
|
39
|
+
};
|
|
40
|
+
icon?: string;
|
|
41
|
+
}
|
|
33
42
|
export declare enum MetadataCategory {
|
|
34
43
|
ChildPersonal = "ChildPersonal",
|
|
35
44
|
Consultation = "Consultation",
|
|
@@ -88,6 +97,7 @@ export interface WorkflowData {
|
|
|
88
97
|
summaryImageFieldName?: string;
|
|
89
98
|
summarySymptomsFieldName?: string;
|
|
90
99
|
selectedAnswers?: SelectedAnswersData;
|
|
100
|
+
walkthroughSlides?: SlideData[];
|
|
91
101
|
}
|
|
92
102
|
/**
|
|
93
103
|
* This interface describes a workflow prepared and ready to be sent to vault
|
|
@@ -1382,7 +1382,6 @@ var IdentityCreationConflict = /*#__PURE__*/function (_Error7) {
|
|
|
1382
1382
|
PracticeConfigKind["PracticeTheme"] = "PracticeTheme";
|
|
1383
1383
|
PracticeConfigKind["PracticeLocaleSwitcher"] = "PracticeLocaleSwitcher";
|
|
1384
1384
|
PracticeConfigKind["PracticeCookieBanner"] = "PracticeCookieBanner";
|
|
1385
|
-
PracticeConfigKind["PracticePharmacyPicker"] = "PracticePharmacyPicker";
|
|
1386
1385
|
})(exports.PracticeConfigKind || (exports.PracticeConfigKind = {}));
|
|
1387
1386
|
|
|
1388
1387
|
(function (StripePriceType) {
|