oro-sdk-apis 1.52.0 → 1.54.0
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 +62 -2
- package/dist/oro-sdk-apis.cjs.development.js +5 -3
- 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 +5 -3
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/dist/services/practice.d.ts +4 -4
- package/package.json +1 -1
- package/src/models/practice.ts +72 -0
- package/src/services/practice.ts +6 -5
package/dist/oro-sdk-apis.esm.js
CHANGED
@@ -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
|
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,
|
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
|
-
|
2476
|
+
requestMetadata: requestMetadata
|
2475
2477
|
}, {
|
2476
2478
|
params: {
|
2477
2479
|
url_subdomain: url_subdomain
|