@iveri/contracts 0.50.0 → 0.51.0
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.
|
@@ -26,6 +26,11 @@ export interface MyClinicAppointment {
|
|
|
26
26
|
/** Whether this visit is over and has not been reviewed yet. */
|
|
27
27
|
canReview: boolean;
|
|
28
28
|
}
|
|
29
|
+
/** Another time for a visit already booked. Everything agreed for it stays as it was. */
|
|
30
|
+
export interface RescheduleMyClinicAppointmentRequest {
|
|
31
|
+
startsAt: IsoDateTime;
|
|
32
|
+
staffMemberId: UUID;
|
|
33
|
+
}
|
|
29
34
|
export interface BookMyClinicAppointmentRequest {
|
|
30
35
|
locationId: UUID;
|
|
31
36
|
treatmentId: UUID;
|
|
@@ -106,6 +106,17 @@ export interface ClinicDailyTakings {
|
|
|
106
106
|
unsettled: ClinicUnsettledVisit[];
|
|
107
107
|
}
|
|
108
108
|
/** What a client holds at this clinic. */
|
|
109
|
+
/** One line of what somebody has paid, as they see it. Nothing the desk wrote about it is here. */
|
|
110
|
+
export interface MyClinicPayment {
|
|
111
|
+
id: UUID;
|
|
112
|
+
method: ClinicPaymentMethod;
|
|
113
|
+
/** Negative for a refund. */
|
|
114
|
+
amountMinor: number;
|
|
115
|
+
currency: string;
|
|
116
|
+
/** The treatment or course this was for, or `null` where it can no longer be named. */
|
|
117
|
+
subject: Nullable<LocalizedText>;
|
|
118
|
+
createdAt: IsoDateTime;
|
|
119
|
+
}
|
|
109
120
|
export interface MyClinicWallet {
|
|
110
121
|
bonusBalances: ClinicBonusBalance[];
|
|
111
122
|
courses: MyClinicCourse[];
|