oro-sdk-apis 1.54.0 → 1.54.3

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.
@@ -103,7 +103,10 @@ export interface TreatmentAndDrugPrescription {
103
103
  notes?: string;
104
104
  status: PlanStatus;
105
105
  uuidTreatmentPlan: string;
106
- decidedAt: string;
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: 'ConsultRequestMetadata' | undefined;
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: 'RefillTreatmentRequestMetadata';
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";