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/dist/models/practice.d.ts +11 -4
- 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 +12 -4
package/package.json
CHANGED
package/src/models/practice.ts
CHANGED
@@ -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:
|
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
|
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:
|
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
|
582
|
+
* It will be used when stripe uses our hook.
|
575
583
|
*/
|
576
584
|
export type PaymentIntentRequestMetadata = ConsultRequestMetadata | RefillTreatmentRequestMetadata
|
577
585
|
|