oro-sdk-apis 1.54.0 → 1.54.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/models/diagnosis.d.ts +4 -1
- package/dist/models/practice.d.ts +9 -6
- 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/diagnosis.ts +5 -2
- package/src/models/practice.ts +10 -6
package/package.json
CHANGED
package/src/models/diagnosis.ts
CHANGED
@@ -119,7 +119,10 @@ export interface TreatmentAndDrugPrescription {
|
|
119
119
|
notes?: string
|
120
120
|
status: PlanStatus
|
121
121
|
uuidTreatmentPlan: string
|
122
|
-
|
122
|
+
/**
|
123
|
+
* this field is used to store the datetime when the patient accepted or refused the prescription
|
124
|
+
*/
|
125
|
+
decidedAt?: string
|
123
126
|
createdAt: string
|
124
127
|
}
|
125
128
|
export interface TreatmentPlans {
|
@@ -163,4 +166,4 @@ export interface TreatmentPlansResponseEntry {
|
|
163
166
|
treatmentPlan: TreatmentPlan
|
164
167
|
}
|
165
168
|
|
166
|
-
export interface TreatmentPlansResponse extends Array<TreatmentPlansResponseEntry> {}
|
169
|
+
export interface TreatmentPlansResponse extends Array<TreatmentPlansResponseEntry> {}
|
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
|
*/
|
@@ -562,15 +570,11 @@ 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
|
*/
|
569
577
|
consultUuid: string
|
570
|
-
/**
|
571
|
-
* The treatment plan uuid to refill
|
572
|
-
*/
|
573
|
-
uuidTreatmentPlan: string
|
574
578
|
}
|
575
579
|
|
576
580
|
/**
|