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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.54.1",
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
  */
@@ -562,7 +570,7 @@ 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
  */