// // ACNetwork.h // AntsContract // // Created by Ray on 12/26/16. // Copyright © 2016 United Software Applications, Inc. All rights reserved. // #import "NetworkUtils.h" @interface ACNetwork : NetworkUtils +(int)Authorize : (NSString*) user password:(NSString*) password; +(NSString *) prepareUploadFile:(NSString*) file json:(NSMutableDictionary*)json; +(NSDictionary*)logout; +(NSDictionary*)request_DocList:(NSMutableDictionary*) params; +(NSDictionary*)new_document; +(NSDictionary*)save_document:(NSString*)file isnew:(bool)isNewDocument; +(NSString *) packfiles2zip:(NSMutableArray*) arr_file; +(NSDictionary *) updateNotes:(NSString*) doc_number notes:(NSString*)notes; +(NSDictionary*)upload_file:(NSString*)file params:(NSMutableDictionary*) params; +(NSString *) getjsonPath:(NSString*) serial; +(NSString *) getPDFPath:(NSString*) file; +(NSString *) offline_docnumber; + (int)heartBeat; @end