oro-sdk-apis 1.37.0 → 1.38.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/models/index.d.ts +1 -0
- package/dist/models/practice.d.ts +4 -1
- package/dist/models/search.d.ts +1 -1
- package/dist/oro-sdk-apis.cjs.development.js +24 -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 +27 -4
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/dist/services/practice.d.ts +11 -1
- package/package.json +1 -1
- package/src/models/index.ts +1 -0
- package/src/models/practice.ts +94 -91
- package/src/models/search.ts +1 -1
- package/src/services/practice.ts +13 -2
package/dist/oro-sdk-apis.esm.js
CHANGED
@@ -1262,6 +1262,17 @@ var MetadataCategory;
|
|
1262
1262
|
MetadataCategory["Raw"] = "Raw";
|
1263
1263
|
})(MetadataCategory || (MetadataCategory = {}));
|
1264
1264
|
|
1265
|
+
var IndexKind;
|
1266
|
+
|
1267
|
+
(function (IndexKind) {
|
1268
|
+
IndexKind[IndexKind["consultUuid"] = 0] = "consultUuid";
|
1269
|
+
IndexKind[IndexKind["consultShortid"] = 1] = "consultShortid";
|
1270
|
+
IndexKind[IndexKind["firstName"] = 2] = "firstName";
|
1271
|
+
IndexKind[IndexKind["lastName"] = 3] = "lastName";
|
1272
|
+
IndexKind[IndexKind["healthId"] = 4] = "healthId";
|
1273
|
+
IndexKind[IndexKind["dob"] = 5] = "dob";
|
1274
|
+
})(IndexKind || (IndexKind = {}));
|
1275
|
+
|
1265
1276
|
var ConsultService = /*#__PURE__*/function () {
|
1266
1277
|
function ConsultService(api, baseURL) {
|
1267
1278
|
this.api = api;
|
@@ -2447,14 +2458,26 @@ var PracticeService = /*#__PURE__*/function () {
|
|
2447
2458
|
|
2448
2459
|
_proto.practiceGetPaymentsIntent = function practiceGetPaymentsIntent(practiceUuid, paymentIntentId) {
|
2449
2460
|
return this.api.get(this.baseURL + "/v1/practices/" + practiceUuid + "/payments/intents/" + paymentIntentId);
|
2450
|
-
}
|
2461
|
+
}
|
2462
|
+
/**
|
2463
|
+
* Updates a PracticePaymentIntent
|
2464
|
+
* @param practiceUuid the practice uuid
|
2465
|
+
* @param idPraticePaymentIntent the id of the PracticePaymentIntent to update
|
2466
|
+
* @param practicePaymentIntent the desired PracticePaymentIntent
|
2467
|
+
* @param userEmail the email of the user
|
2468
|
+
* @param promotionCode (optional) promotional code to apply
|
2469
|
+
* @param finalize (optional) if true will finalize the PracticePaymentIntent and related Stripe.Invoice. Once, finalized you cannot modify the PracticePaymentIntent anymore.
|
2470
|
+
* @returns the updated PracticePaymentIntent
|
2471
|
+
*/
|
2472
|
+
;
|
2451
2473
|
|
2452
|
-
_proto.practiceUpdatePaymentsIntent = function practiceUpdatePaymentsIntent(practiceUuid, idPraticePaymentIntent, practicePaymentIntent, userEmail, promotionCode) {
|
2474
|
+
_proto.practiceUpdatePaymentsIntent = function practiceUpdatePaymentsIntent(practiceUuid, idPraticePaymentIntent, practicePaymentIntent, userEmail, promotionCode, finalize) {
|
2453
2475
|
return this.api.put(this.baseURL + "/v1/practices/" + practiceUuid + "/payments/intents/" + idPraticePaymentIntent, _extends({}, practicePaymentIntent, {
|
2454
2476
|
hashUserEmail: userEmail ? this.getPaymentIntentHashedEmail(userEmail) : undefined
|
2455
2477
|
}), {
|
2456
2478
|
params: {
|
2457
|
-
promotionCode: promotionCode
|
2479
|
+
promotionCode: promotionCode,
|
2480
|
+
finalize: finalize
|
2458
2481
|
}
|
2459
2482
|
});
|
2460
2483
|
}
|
@@ -3169,5 +3192,5 @@ var init = function init(services, authenticationCallback, useLocalStorage) {
|
|
3169
3192
|
};
|
3170
3193
|
|
3171
3194
|
export default init;
|
3172
|
-
export { APIService, ApisPracticeManager, AssignmentStatus, AssistantType, AuthenticationBadRequest, AuthenticationFailed, AuthenticationServerError, AuthenticationUnconfirmedEmail, AxiosService, ClosedReasonType, ConsultService, DiagnosisService, DocumentType, DrugType, FeeStatus, GuardService, IdentityCreationBadRequest, IdentityCreationConflict, IdentityCreationFailed, IndexKey, LicenseStatus, MedicalStatus, MetadataCategory, OtherRoleType, PaymentStatus, PeriodType, PlanStatus, PlanType, PracticeConfigKind, PracticeEmailKind, PracticeService, PractitionerStatus, PractitionnerRoleType, PrescriptionStatus, RateDimension, SearchService, StripePriceType, SyncStatus, TaskStatus, TellerService, TransmissionKind, TransmissionStatus, VaultService, VisibilityType, WorkflowService, WorkflowType, hashToBase64String, init };
|
3195
|
+
export { APIService, ApisPracticeManager, AssignmentStatus, AssistantType, AuthenticationBadRequest, AuthenticationFailed, AuthenticationServerError, AuthenticationUnconfirmedEmail, AxiosService, ClosedReasonType, ConsultService, DiagnosisService, DocumentType, DrugType, FeeStatus, GuardService, IdentityCreationBadRequest, IdentityCreationConflict, IdentityCreationFailed, IndexKey, IndexKind, LicenseStatus, MedicalStatus, MetadataCategory, OtherRoleType, PaymentStatus, PeriodType, PlanStatus, PlanType, PracticeConfigKind, PracticeEmailKind, PracticeService, PractitionerStatus, PractitionnerRoleType, PrescriptionStatus, RateDimension, SearchService, StripePriceType, SyncStatus, TaskStatus, TellerService, TransmissionKind, TransmissionStatus, VaultService, VisibilityType, WorkflowService, WorkflowType, hashToBase64String, init };
|
3173
3196
|
//# sourceMappingURL=oro-sdk-apis.esm.js.map
|