oro-sdk-apis 1.8.0 → 1.8.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/guard.d.ts +2 -2
- package/dist/models/practice.d.ts +16 -2
- package/dist/models/workflow.d.ts +10 -0
- package/dist/oro-sdk-apis.cjs.development.js +1 -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 +1 -0
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/models/guard.ts +2 -3
- package/src/models/practice.ts +13 -0
- package/src/models/workflow.ts +11 -0
package/dist/models/guard.d.ts
CHANGED
|
@@ -58,8 +58,8 @@ export interface IdentityResponse {
|
|
|
58
58
|
publicKey: Base64String;
|
|
59
59
|
recoveryLogin?: Uuid;
|
|
60
60
|
recoveryPassword: Base64String;
|
|
61
|
-
recoveryMasterKey
|
|
62
|
-
recoverySecurityQuestions
|
|
61
|
+
recoveryMasterKey?: Base64String;
|
|
62
|
+
recoverySecurityQuestions?: SecretShard[];
|
|
63
63
|
legal?: LegalData;
|
|
64
64
|
createdAt?: string;
|
|
65
65
|
updatedAt?: string;
|
|
@@ -104,7 +104,8 @@ export declare enum PracticeConfigKind {
|
|
|
104
104
|
PractitionerChatbox = "PractitionerChatbox",
|
|
105
105
|
PracticeTheme = "PracticeTheme",
|
|
106
106
|
PracticeLocaleSwitcher = "PracticeLocaleSwitcher",
|
|
107
|
-
PracticeCookieBanner = "PracticeCookieBanner"
|
|
107
|
+
PracticeCookieBanner = "PracticeCookieBanner",
|
|
108
|
+
PracticePharmacyPicker = "PracticePharmacyPicker"
|
|
108
109
|
}
|
|
109
110
|
export interface PracticeConfig<K, T> {
|
|
110
111
|
uuidPractice: string;
|
|
@@ -127,6 +128,19 @@ export declare type PracticeConfigPractitionerChatbox = PracticeConfig<PracticeC
|
|
|
127
128
|
[languageISO639_3: string]: string;
|
|
128
129
|
};
|
|
129
130
|
}>;
|
|
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
|
+
}>;
|
|
130
144
|
export declare type PracticeConfigPracticeCookieBanner = PracticeConfig<PracticeConfigKind.PracticeCookieBanner, {
|
|
131
145
|
showCookieBanner?: boolean;
|
|
132
146
|
policyLink?: string;
|
|
@@ -135,7 +149,7 @@ export declare type PracticeConfigPracticeCookieBanner = PracticeConfig<Practice
|
|
|
135
149
|
export declare type PracticeConfigPracticeTheme = PracticeConfig<PracticeConfigKind.PracticeTheme, {
|
|
136
150
|
primaryColor?: string;
|
|
137
151
|
}>;
|
|
138
|
-
export declare type PracticeConfigs = PracticeConfigPractitionerConsultList | PracticeConfigPractitionerChatbox | PracticeConfigPracticeLocaleSwitcher | PracticeConfigPracticeCookieBanner | PracticeConfigPracticeTheme;
|
|
152
|
+
export declare type PracticeConfigs = PracticeConfigPractitionerConsultList | PracticeConfigPractitionerChatbox | PracticeConfigPracticeLocaleSwitcher | PracticeConfigPracticeCookieBanner | PracticeConfigPracticeOnlinePharmacy | PracticeConfigPracticeTheme;
|
|
139
153
|
export interface PracticeWorkflow {
|
|
140
154
|
id?: number;
|
|
141
155
|
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,6 +1382,7 @@ var IdentityCreationConflict = /*#__PURE__*/function (_Error7) {
|
|
|
1382
1382
|
PracticeConfigKind["PracticeTheme"] = "PracticeTheme";
|
|
1383
1383
|
PracticeConfigKind["PracticeLocaleSwitcher"] = "PracticeLocaleSwitcher";
|
|
1384
1384
|
PracticeConfigKind["PracticeCookieBanner"] = "PracticeCookieBanner";
|
|
1385
|
+
PracticeConfigKind["PracticePharmacyPicker"] = "PracticePharmacyPicker";
|
|
1385
1386
|
})(exports.PracticeConfigKind || (exports.PracticeConfigKind = {}));
|
|
1386
1387
|
|
|
1387
1388
|
(function (StripePriceType) {
|