oro-sdk-apis 1.54.0-dev1 → 1.54.2

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.54.0-dev1",
2
+ "version": "1.54.2",
3
3
  "main": "dist/index.js",
4
4
  "typings": "dist/index.d.ts",
5
5
  "files": [
@@ -529,6 +529,14 @@ export interface PracticePaymentIntent {
529
529
  dateUpdateAt?: Date
530
530
  }
531
531
 
532
+ /**
533
+ * All the PaymentIntentRequestMetadata Kind available
534
+ */
535
+ export enum PaymentIntentRequestMetadataKind {
536
+ ConsultRequestMetadata = 'ConsultRequestMetadata',
537
+ RefillTreatmentRequestMetadata = 'RefillTreatmentRequestMetadata',
538
+ }
539
+
532
540
  /**
533
541
  * This interface is used as metadata when creating Stripe Invoice.
534
542
  * It will be used to create the consult when stripe use our hook.
@@ -539,7 +547,7 @@ export interface ConsultRequestMetadata {
539
547
  *
540
548
  * Note: it can be `undefined` to handle backward compatibility when this interface didn't had a `kind`
541
549
  */
542
- kind: 'ConsultRequestMetadata' | undefined
550
+ kind: PaymentIntentRequestMetadataKind.ConsultRequestMetadata | undefined
543
551
  /**
544
552
  * The specialty required by the consultation
545
553
  */
@@ -556,13 +564,13 @@ export interface ConsultRequestMetadata {
556
564
 
557
565
  /**
558
566
  * This interface is used as metadata when creating Stripe Invoice.
559
- * It will be used to create the consult when stripe use our hook.
567
+ * It will be used to refill a treatment plan of a consult.
560
568
  */
561
569
  export interface RefillTreatmentRequestMetadata {
562
570
  /**
563
571
  * Defines the kind of `PaymentIntentRequestMetadata` it is
564
572
  */
565
- kind: 'RefillTreatmentRequestMetadata'
573
+ kind: PaymentIntentRequestMetadataKind.RefillTreatmentRequestMetadata
566
574
  /**
567
575
  * The consult uuid to refill
568
576
  */
@@ -571,7 +579,7 @@ export interface RefillTreatmentRequestMetadata {
571
579
 
572
580
  /**
573
581
  * This interface is used as metadata when creating Stripe Invoice.
574
- * It will be used when stripe use our hook.
582
+ * It will be used when stripe uses our hook.
575
583
  */
576
584
  export type PaymentIntentRequestMetadata = ConsultRequestMetadata | RefillTreatmentRequestMetadata
577
585