oro-sdk-apis 1.53.0 → 1.54.0-dev1

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.
@@ -435,10 +435,44 @@ export interface PracticePaymentIntent {
435
435
  * It will be used to create the consult when stripe use our hook.
436
436
  */
437
437
  export interface ConsultRequestMetadata {
438
+ /**
439
+ * Defines the kind of `PaymentIntentRequestMetadata` it is
440
+ *
441
+ * Note: it can be `undefined` to handle backward compatibility when this interface didn't had a `kind`
442
+ */
443
+ kind: 'ConsultRequestMetadata' | undefined;
444
+ /**
445
+ * The specialty required by the consultation
446
+ */
438
447
  tagSpecialtyRequired: string;
448
+ /**
449
+ * The locality required for the consultation in iso. COUNTRY (ISO 3166) - PROVINCE - COUNTY - CITY
450
+ */
439
451
  isoLocalityRequired?: string;
452
+ /**
453
+ * The language required for the consultation. Should respect ISO 639-3 https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes
454
+ */
440
455
  isoLanguageRequired: string;
441
456
  }
457
+ /**
458
+ * This interface is used as metadata when creating Stripe Invoice.
459
+ * It will be used to create the consult when stripe use our hook.
460
+ */
461
+ export interface RefillTreatmentRequestMetadata {
462
+ /**
463
+ * Defines the kind of `PaymentIntentRequestMetadata` it is
464
+ */
465
+ kind: 'RefillTreatmentRequestMetadata';
466
+ /**
467
+ * The consult uuid to refill
468
+ */
469
+ consultUuid: string;
470
+ }
471
+ /**
472
+ * This interface is used as metadata when creating Stripe Invoice.
473
+ * It will be used when stripe use our hook.
474
+ */
475
+ export declare type PaymentIntentRequestMetadata = ConsultRequestMetadata | RefillTreatmentRequestMetadata;
442
476
  export interface AssignmentRequest {
443
477
  uuidAssignor: string;
444
478
  uuidPractitioner?: string;