oro-sdk-apis 1.54.0 → 1.54.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/models/diagnosis.d.ts +4 -1
- package/dist/models/practice.d.ts +9 -6
- 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/diagnosis.ts +5 -2
- package/src/models/practice.ts +10 -6
@@ -103,7 +103,10 @@ export interface TreatmentAndDrugPrescription {
|
|
103
103
|
notes?: string;
|
104
104
|
status: PlanStatus;
|
105
105
|
uuidTreatmentPlan: string;
|
106
|
-
|
106
|
+
/**
|
107
|
+
* this field is used to store the datetime when the patient accepted or refused the prescription
|
108
|
+
*/
|
109
|
+
decidedAt?: string;
|
107
110
|
createdAt: string;
|
108
111
|
}
|
109
112
|
export interface TreatmentPlans {
|
@@ -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,15 +469,11 @@ 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
|
*/
|
469
476
|
consultUuid: string;
|
470
|
-
/**
|
471
|
-
* The treatment plan uuid to refill
|
472
|
-
*/
|
473
|
-
uuidTreatmentPlan: string;
|
474
477
|
}
|
475
478
|
/**
|
476
479
|
* This interface is used as metadata when creating Stripe Invoice.
|
@@ -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";
|