hunk.code_window:     if (credential) {
         const bookingRef = booking ? booking.references.filter((ref) => ref.type === credential.type)[0] : null;
         return updateMeeting(credential, event, bookingRef);
       } else {
         return Promise.reject("No suitable credentials given for the requested integration name.");
       }
     }
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.after_edit:       return Promise.reject(
           `No suitable credentials given for the requested integration name:${event.location}`
         );
  
hunk.file_path: packages/app-store/wipemycalother/lib/eventManager.ts
hunk.type: replace
file: import classNames from "@lib/classNames";
  
  export type SwatchProps = {
    size?: "base" | "sm" | "lg";
    backgroundColor: string;
    onClick: () => void;
  };
  
  const Swatch = (props: SwatchProps) => {
    const { size, backgroundColor, onClick } = props;
    return (
      <div className="border-2 border-gray-200 p-1 shadow-sm">
        <div
          onClick={onClick}
          style={{ backgroundColor }}
          className={classNames(
            "cursor-pointer",
            size === "sm" && "h-6 w-6 rounded-sm",
            size === "base" && "h-16 w-16 rounded-sm",
            size === "lg" && "h-24 w-24 rounded-sm"
          )}></div>
      </div>
    );
  };
  
  export default Swatch;
  