oro-sdk-apis 1.52.0 → 1.54.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1223,6 +1223,8 @@ var PracticeConfigKind;
1223
1223
  PracticeConfigKind["PractitionerConsultList"] = "PractitionerConsultList";
1224
1224
  PracticeConfigKind["PractitionerSearch"] = "PractitionerSearch";
1225
1225
  PracticeConfigKind["PracticeRegisterWalkthrough"] = "PracticeRegisterWalkthrough";
1226
+ PracticeConfigKind["PracticeExamsAndResults"] = "PracticeExamsAndResults";
1227
+ PracticeConfigKind["PracticeLayout"] = "PracticeLayout";
1226
1228
  })(PracticeConfigKind || (PracticeConfigKind = {}));
1227
1229
 
1228
1230
  var StripePriceType;
@@ -2461,17 +2463,17 @@ var PracticeService = /*#__PURE__*/function () {
2461
2463
  * @param isoLocality (optional) the desired locality
2462
2464
  * @param url_subdomain (optional) the url of the sub domain (@bruno-morel need you to document that)
2463
2465
  * @param promotionCode (optional) promotion code to apply
2464
- * @param consultRequest (optional) consult request to use. If defined, when payment service call our hooks in practice, it will try to create a consult with these infos.
2466
+ * @param requestMetadata (optional) the request metadata to use. If defined, when payment service call our hooks in practice, it will use it to do required action (create a consult, refill a consult, etc.).
2465
2467
  * @returns
2466
2468
  */
2467
2469
  ;
2468
2470
 
2469
- _proto.practiceCreatePaymentsIntent = function practiceCreatePaymentsIntent(practiceUuid, planId, userEmail, isoLocality, url_subdomain, consultRequest) {
2471
+ _proto.practiceCreatePaymentsIntent = function practiceCreatePaymentsIntent(practiceUuid, planId, userEmail, isoLocality, url_subdomain, requestMetadata) {
2470
2472
  return this.api.post(this.baseURL + "/v1/practices/" + practiceUuid + "/payments/intents/", {
2471
2473
  idPlan: planId,
2472
2474
  hashUserEmail: userEmail ? this.getPaymentIntentHashedEmail(userEmail) : undefined,
2473
2475
  isoLocality: isoLocality,
2474
- consultRequest: consultRequest
2476
+ requestMetadata: requestMetadata
2475
2477
  }, {
2476
2478
  params: {
2477
2479
  url_subdomain: url_subdomain