Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Return the ID of a created appointment from createAppointment" #89

Merged
merged 1 commit into from
Oct 26, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/batch-client/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ export class ZimbraBatchClient {
...denormalize(CalendarItemCreateModifyRequest)(appointment)
},
accountName: accountName
}).then(res => normalize(CalendarItemHitInfo)(res));
});

public createAppointmentException = (
accountName: string,
Expand Down
2 changes: 1 addition & 1 deletion src/schema/generated-schema-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/schema/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down