oro-sdk-apis 5.15.1-dev1 → 5.15.2

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.
@@ -368,6 +368,10 @@ export declare type PracticeConfigPracticeInfoLetterDiscount = PracticeConfig<Pr
368
368
  * The discount code to be applied when the info letter is accepted
369
369
  */
370
370
  discountCode?: string;
371
+ /**
372
+ * The text to display for the discount code
373
+ */
374
+ discountText?: string;
371
375
  /**
372
376
  * Show the info letter subscription without a Discount code before the patient confirms his email,
373
377
  * if he confirms his email but still didn't check the subscription, then display a discount code for subscribing
@@ -1208,13 +1208,11 @@ var ConsultService = /*#__PURE__*/function () {
1208
1208
  if (txtTransmissionNotes) {
1209
1209
  data.append('txtTransmissionNotes', txtTransmissionNotes);
1210
1210
  }
1211
- var res = this.api.post(this.baseURL + "/v1/consults/" + uuidConsult + "/transmissions", data, {
1211
+ return this.api.post(this.baseURL + "/v1/consults/" + uuidConsult + "/transmissions", data, {
1212
1212
  headers: {
1213
1213
  'Content-Type': 'multipart/form-data;'
1214
1214
  }
1215
1215
  });
1216
- console.log(res);
1217
- return res;
1218
1216
  };
1219
1217
  _proto.postConsultFax = function postConsultFax(uuidConsult, addressReceiver, file, uuidPatient) {
1220
1218
  return this.postConsultTransmission(uuidConsult, 'Documo', addressReceiver, file, undefined, undefined, undefined, uuidPatient);