oro-sdk-apis 4.1.0 → 4.2.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 +5 -0
- package/dist/models/workflow.d.ts +1 -0
- package/dist/oro-sdk-apis.cjs.development.js +3 -8
- 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 +3 -8
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/models/practice.ts +6 -0
- package/src/models/workflow.ts +1 -0
@@ -367,6 +367,11 @@ export declare type PracticeConfigPracticeInfoLetterDiscount = PracticeConfig<Pr
|
|
367
367
|
* The discount code to be applied when the info letter is accepted
|
368
368
|
*/
|
369
369
|
discountCode?: string;
|
370
|
+
/**
|
371
|
+
* Show the info letter subscription without a Discount code before the patient confirms his email,
|
372
|
+
* if he confirms his email but still didn't check the subscription, then display a discount code for subscribing
|
373
|
+
*/
|
374
|
+
promptInfoLetterBeforeEmailConfirmed?: boolean;
|
370
375
|
}>;
|
371
376
|
export declare type PracticeConfigs = PracticeConfigPractitionerSearch | PracticeConfigPractitionerConsultList | PracticeConfigPractitionerChatbox | PracticeConfigPracticeLocaleSwitcher | PracticeConfigPracticeCookieBanner | PracticeConfigPracticeOnlinePharmacy | PracticeConfigPracticeCssVariables | PracticeConfigPracticeFontsLinks | PracticeConfigPracticePrescriptionFields | PracticeConfigPracticeConfigExample | PracticeConfigPracticeConsultTabs | PracticeConfigPatientConsultCard | PracticeConfigPracticeExamsAndResults | PracticeConfigPracticeLayout | PracticeConfigPracticeAddressField | PracticeConfigPracticeDiagnosisAndTreatment | PracticeConfigPracticeInfoLetterDiscount;
|
372
377
|
export interface PracticeWorkflow {
|
@@ -220,6 +220,7 @@ export interface WorkflowData {
|
|
220
220
|
summaryImageFieldName?: string;
|
221
221
|
summarySymptomsFieldName?: string;
|
222
222
|
selectedAnswers?: SelectedAnswersData;
|
223
|
+
serviceImage?: string;
|
223
224
|
walkthroughSlides?: SlideData[];
|
224
225
|
/**
|
225
226
|
* (optional) the service name this workflow provides
|
@@ -153,14 +153,9 @@ function _regeneratorRuntime() {
|
|
153
153
|
};
|
154
154
|
}
|
155
155
|
function maybeInvokeDelegate(delegate, context) {
|
156
|
-
var
|
157
|
-
|
158
|
-
|
159
|
-
if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel;
|
160
|
-
context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method");
|
161
|
-
}
|
162
|
-
return ContinueSentinel;
|
163
|
-
}
|
156
|
+
var methodName = context.method,
|
157
|
+
method = delegate.iterator[methodName];
|
158
|
+
if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
|
164
159
|
var record = tryCatch(method, delegate.iterator, context.arg);
|
165
160
|
if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
|
166
161
|
var info = record.arg;
|