oro-sdk-apis 1.54.1 → 1.54.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/models/practice.d.ts +9 -2
- package/dist/oro-sdk-apis.cjs.development.js +5 -0
- 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 +12 -1
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/models/practice.ts +10 -2
@@ -430,6 +430,13 @@ export interface PracticePaymentIntent {
|
|
430
430
|
dateCreatedAt?: Date;
|
431
431
|
dateUpdateAt?: Date;
|
432
432
|
}
|
433
|
+
/**
|
434
|
+
* All the PaymentIntentRequestMetadata Kind available
|
435
|
+
*/
|
436
|
+
export declare enum PaymentIntentRequestMetadataKind {
|
437
|
+
ConsultRequestMetadata = "ConsultRequestMetadata",
|
438
|
+
RefillTreatmentRequestMetadata = "RefillTreatmentRequestMetadata"
|
439
|
+
}
|
433
440
|
/**
|
434
441
|
* This interface is used as metadata when creating Stripe Invoice.
|
435
442
|
* It will be used to create the consult when stripe use our hook.
|
@@ -440,7 +447,7 @@ export interface ConsultRequestMetadata {
|
|
440
447
|
*
|
441
448
|
* Note: it can be `undefined` to handle backward compatibility when this interface didn't had a `kind`
|
442
449
|
*/
|
443
|
-
kind:
|
450
|
+
kind: PaymentIntentRequestMetadataKind.ConsultRequestMetadata | undefined;
|
444
451
|
/**
|
445
452
|
* The specialty required by the consultation
|
446
453
|
*/
|
@@ -462,7 +469,7 @@ export interface RefillTreatmentRequestMetadata {
|
|
462
469
|
/**
|
463
470
|
* Defines the kind of `PaymentIntentRequestMetadata` it is
|
464
471
|
*/
|
465
|
-
kind:
|
472
|
+
kind: PaymentIntentRequestMetadataKind.RefillTreatmentRequestMetadata;
|
466
473
|
/**
|
467
474
|
* The consult uuid to refill
|
468
475
|
*/
|
@@ -1173,6 +1173,11 @@ var VaultDataMissing = /*#__PURE__*/function (_Error8) {
|
|
1173
1173
|
StripePriceType["Discount"] = "Discount";
|
1174
1174
|
})(exports.StripePriceType || (exports.StripePriceType = {}));
|
1175
1175
|
|
1176
|
+
(function (PaymentIntentRequestMetadataKind) {
|
1177
|
+
PaymentIntentRequestMetadataKind["ConsultRequestMetadata"] = "ConsultRequestMetadata";
|
1178
|
+
PaymentIntentRequestMetadataKind["RefillTreatmentRequestMetadata"] = "RefillTreatmentRequestMetadata";
|
1179
|
+
})(exports.PaymentIntentRequestMetadataKind || (exports.PaymentIntentRequestMetadataKind = {}));
|
1180
|
+
|
1176
1181
|
(function (IndexKey) {
|
1177
1182
|
IndexKey["Consultation"] = "Consultation";
|
1178
1183
|
IndexKey["IndexSnapshot"] = "IndexSnapshot";
|