oro-sdk-apis 1.54.0-dev1 → 1.54.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
  */
@@ -456,13 +463,13 @@ export interface ConsultRequestMetadata {
456
463
  }
457
464
  /**
458
465
  * This interface is used as metadata when creating Stripe Invoice.
459
- * It will be used to create the consult when stripe use our hook.
466
+ * It will be used to refill a treatment plan of a consult.
460
467
  */
461
468
  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
  */
@@ -470,7 +477,7 @@ export interface RefillTreatmentRequestMetadata {
470
477
  }
471
478
  /**
472
479
  * This interface is used as metadata when creating Stripe Invoice.
473
- * It will be used when stripe use our hook.
480
+ * It will be used when stripe uses our hook.
474
481
  */
475
482
  export declare type PaymentIntentRequestMetadata = ConsultRequestMetadata | RefillTreatmentRequestMetadata;
476
483
  export interface AssignmentRequest {
@@ -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";