diff --git a/src/appointments.ts b/src/appointments.ts index c072b3b..0ed2482 100644 --- a/src/appointments.ts +++ b/src/appointments.ts @@ -88,12 +88,21 @@ class Appointment extends Node { /** A collection of appointment services. */ appointmentServices: Array; + /** Whether or not the client can cancel this appointment */ + cancellable: Scalars['Boolean']; + /** Information about the cancellation, if present */ cancellation: Maybe; /** Boolean signifying if the appointment is cancelled or not */ cancelled: Scalars["Boolean"]; + /** The duration of the appointment for the client */ + clientDuration: Scalars['Int']; + + /** Whether or not the client can confirm this appointment at this time */ + confirmable: Scalars['Boolean']; + /** When the appointment was created (in Etc/UTC) */ createdAt: Scalars["DateTime"]; @@ -106,9 +115,18 @@ class Appointment extends Node { /** The ID of an object */ id: Scalars["ID"]; + /** Whether or not the appointment is a group appointment */ + isGroup: Scalars['Boolean']; + + /** Whether or not the appointment is recurring */ + isRecurring: Scalars['Boolean']; + /** Internal notes on the appointment */ notes: Maybe; + /** Whether or not the client can reschedule this appointment */ + reschedulable: Scalars['Boolean']; + /** Start time for the appointment */ startAt: Scalars["DateTime"]; diff --git a/src/appointments/graph.ts b/src/appointments/graph.ts index ffde005..d79b53e 100644 --- a/src/appointments/graph.ts +++ b/src/appointments/graph.ts @@ -25,8 +25,14 @@ const fragments = gql` fragment AppointmentProperties on Appointment { id + cancellable + clientDuration + confirmable duration cancelled + isGroup + isRecurring + reschedulable state startAt endAt