diff --git a/src/batch-client/index.ts b/src/batch-client/index.ts index da9b0a561..21e584abe 100644 --- a/src/batch-client/index.ts +++ b/src/batch-client/index.ts @@ -241,7 +241,7 @@ export class ZimbraBatchClient { ...denormalize(CalendarItemCreateModifyRequest)(appointment) }, accountName: accountName - }).then(res => normalize(CalendarItemHitInfo)(res)); + }); public createAppointmentException = ( accountName: string, diff --git a/src/schema/generated-schema-types.ts b/src/schema/generated-schema-types.ts index 098c5ac13..55830bfc5 100644 --- a/src/schema/generated-schema-types.ts +++ b/src/schema/generated-schema-types.ts @@ -991,7 +991,7 @@ export interface Mutation { checkCalendar?: boolean | null; contactAction?: ActionOpResponse | null; conversationAction?: boolean | null; - createAppointment?: CalendarItemHitInfo | null; + createAppointment?: boolean | null; createAppointmentException?: boolean | null; createCalendar?: boolean | null; createContact?: Contact | null; diff --git a/src/schema/schema.graphql b/src/schema/schema.graphql index 47849d91c..122eb4bf8 100644 --- a/src/schema/schema.graphql +++ b/src/schema/schema.graphql @@ -2159,7 +2159,7 @@ type Mutation { ids: [ID!]! op: String! ): Boolean - createAppointment(accountName: String, appointment: CalendarItemInput!): CalendarItemHitInfo + createAppointment(accountName: String, appointment: CalendarItemInput!): Boolean createAppointmentException(accountName: String, appointment: CalendarItemInput!): Boolean createCalendar(name: String!, color: Int!, url: String): Boolean createContact(contact: CreateContactInput!): Contact