oro-sdk-apis 4.1.0 → 4.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 method = delegate.iterator[context.method];
157
- if (undefined === method) {
158
- if (context.delegate = null, "throw" === context.method) {
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;