You have access to the following GraphQL schema:

Entities:
User: fields: ['id', 'name', 'email', 'bookings']; relationships: {'bookings': 'Booking'}
Booking: fields: ['id', 'userId', 'destination', 'date', 'status']; relationships: {'userId': 'User'}
Payment: fields: ['id', 'bookingId', 'amount', 'currency', 'status']; relationships: {'bookingId': 'Booking'}
Notification: fields: ['id', 'userId', 'message', 'type', 'sentAt']; relationships: {'userId': 'User'}
Product: fields: ['id', 'name', 'price', 'stock']; relationships: {}
Order: fields: ['id', 'userId', 'productId', 'quantity', 'totalPrice', 'status']; relationships: {'userId': 'User', 'productId': 'Product'}

Operations:
user, bookings, payments, orders, updateUser, createBooking, processPayment, sendNotification, createOrder, updateProduct
system
I need to update a user's email and create a new booking for a travel package to Paris.
user
To i need to update a user's email and create a new booking for a travel package to paris., you should use the following GraphQL operations: updateUser, createBooking. Here's the GraphQL query:
assistant
```graphql
mutation {
  updateUser(input: {
    id: "123"
    email: "newemail@example.com"
  }) {
    id
    email
  }
  createBooking(input: {
    userId: "123"
    destination: "Paris"
    date: "2024-10-12"
    status: "Confirmed"
  }) {
    id
    destination
    date
    status
  }
}
```
assistant