//  AppointmentAPIClient.h

#import <Foundation/Foundation.h>

@interface AppointmentAPIClient : NSObject

+ (void)fetchAppointment:(void (^)(NSDictionary *data, NSError *error))completion;
+ (void)fetchGeneralInfo:(void (^)(NSDictionary *data, NSError *error))completion;
+ (void)submitAppointmentWithData:(NSDictionary *)appointmentData
                        completion:(void(^)(BOOL success, NSDictionary * _Nullable response, NSError * _Nullable error))completion;
+ (void)submitRepresentativeAppointmentWithData:(NSDictionary *)appointmentData
                                  representativeData:(NSDictionary *)repData
                                         completion:(void(^)(BOOL success, NSDictionary * _Nullable response, NSError * _Nullable error))completion;
+ (void)fetchCancelAppointment:(id)appointmentId
                        reason:(NSString *)reason
                    completion:(void (^)(NSDictionary *data, NSError *error))completion;

@end

