diff --git a/lib/api/login_api_client.dart b/lib/api/login_api_client.dart new file mode 100644 index 0000000..be1509e --- /dev/null +++ b/lib/api/login_api_client.dart @@ -0,0 +1,35 @@ +import 'dart:async'; + +import 'package:mohem_flutter_app/classes/consts.dart'; +import 'package:mohem_flutter_app/models/check_mobile_app_version_model.dart'; +import 'package:mohem_flutter_app/models/generic_response_model.dart'; +import 'package:mohem_flutter_app/models/member_login_list_model.dart'; +import 'package:mohem_flutter_app/models/surah_model.dart'; + +import 'api_client.dart'; + +class LoginApiClient { + static final LoginApiClient _instance = LoginApiClient._internal(); + + LoginApiClient._internal(); + + factory LoginApiClient() => _instance; + + Future checkMobileAppVersion() async { + String url = "${ApiConsts.rest}CheckMobileAppVersion"; + var postParams = {}; + return await ApiClient().postJsonForObject((json) => CheckMobileAppVersionModel.fromJson(json), url, postParams); + } + + Future memberLogin() async { + String url = "${ApiConsts.rest}MemberLogin"; + var postParams = {}; + return await ApiClient().postJsonForObject((json) => GenericResponseModel.fromJson(json).memberLoginList, url, postParams); + } + + Future mohemmSendActivationCodeByOTPNotificationType() async { + String url = "${ApiConsts.rest}Mohemm_SendActivationCodebyOTPNotificationType"; + var postParams = {}; + return await ApiClient().postJsonForObject((json) => GenericResponseModel.fromJson(json), url, postParams); + } +} diff --git a/lib/api/tangheem_user_api_client.dart b/lib/api/tangheem_user_api_client.dart index b849141..32a5a82 100644 --- a/lib/api/tangheem_user_api_client.dart +++ b/lib/api/tangheem_user_api_client.dart @@ -2,7 +2,7 @@ import 'dart:async'; import 'package:mohem_flutter_app/classes/consts.dart'; import 'package:mohem_flutter_app/models/content_info_model.dart'; -import 'package:mohem_flutter_app/models/member_model.dart'; +import 'package:mohem_flutter_app/models/member_login_list_model.dart'; import 'package:mohem_flutter_app/models/surah_model.dart'; import 'api_client.dart'; @@ -14,21 +14,21 @@ class TangheemUserApiClient { factory TangheemUserApiClient() => _instance; - Future getSurahs() async { - String url = "${ApiConsts.tangheemUsers}AlSuar_Get"; - var postParams = {}; - return await ApiClient().postJsonForObject((json) => SurahModel.fromJson(json), url, postParams); - } - - Future getMembers() async { - String url = "${ApiConsts.tangheemUsers}Committee_Get"; - var postParams = {}; - return await ApiClient().postJsonForObject((json) => MemberModel.fromJson(json), url, postParams); - } - - Future getContentInfo(int contentId) async { - String url = "${ApiConsts.tangheemUsers}ContentInfo_Get"; - var postParams = {"contentTypeId": contentId}; - return await ApiClient().postJsonForObject((json) => ContentInfoModel.fromJson(json), url, postParams); - } + // Future getSurahs() async { + // String url = "${ApiConsts.tangheemUsers}AlSuar_Get"; + // var postParams = {}; + // return await ApiClient().postJsonForObject((json) => SurahModel.fromJson(json), url, postParams); + // } + // + // Future getMembers() async { + // String url = "${ApiConsts.tangheemUsers}Committee_Get"; + // var postParams = {}; + // return await ApiClient().postJsonForObject((json) => MemberModel.fromJson(json), url, postParams); + // } + // + // Future getContentInfo(int contentId) async { + // String url = "${ApiConsts.tangheemUsers}ContentInfo_Get"; + // var postParams = {"contentTypeId": contentId}; + // return await ApiClient().postJsonForObject((json) => ContentInfoModel.fromJson(json), url, postParams); + // } } diff --git a/lib/classes/consts.dart b/lib/classes/consts.dart index 0c71f0c..ecf8b40 100644 --- a/lib/classes/consts.dart +++ b/lib/classes/consts.dart @@ -1,11 +1,9 @@ class ApiConsts { //static String baseUrl = "http://10.200.204.20:2801/"; // Local server - static String baseUrl = "http://20.203.25.82"; // production server - static String baseUrlServices = baseUrl + "/services/"; // production server + static String baseUrl = "https://uat.hmgwebservices.com"; // UAT server + static String baseUrlServices = baseUrl + "/services/"; // server // static String baseUrlServices = "https://api.cssynapses.com/tangheem/"; // Live server - static String authentication = baseUrlServices + "api/Authentication/"; - static String tangheemUsers = baseUrlServices + "api/TangheemUsers/"; - static String adminConfiguration = baseUrlServices + "api/AdminConfiguration/"; + static String rest = baseUrlServices + "Utilities.svc/REST/"; static String user = baseUrlServices + "api/User/"; } diff --git a/lib/models/basic_member_information_model.dart b/lib/models/basic_member_information_model.dart new file mode 100644 index 0000000..33b55fa --- /dev/null +++ b/lib/models/basic_member_information_model.dart @@ -0,0 +1,32 @@ +class BasicMemberInformationModel { + String? pEMAILADDRESS; + String? pLEGISLATIONCODE; + String? pMOBILENUMBER; + String? pRETURNMSG; + String? pRETURNSTATUS; + + BasicMemberInformationModel( + {this.pEMAILADDRESS, + this.pLEGISLATIONCODE, + this.pMOBILENUMBER, + this.pRETURNMSG, + this.pRETURNSTATUS}); + + BasicMemberInformationModel.fromJson(Map json) { + pEMAILADDRESS = json['P_EMAIL_ADDRESS']; + pLEGISLATIONCODE = json['P_LEGISLATION_CODE']; + pMOBILENUMBER = json['P_MOBILE_NUMBER']; + pRETURNMSG = json['P_RETURN_MSG']; + pRETURNSTATUS = json['P_RETURN_STATUS']; + } + + Map toJson() { + final Map data = new Map(); + data['P_EMAIL_ADDRESS'] = this.pEMAILADDRESS; + data['P_LEGISLATION_CODE'] = this.pLEGISLATIONCODE; + data['P_MOBILE_NUMBER'] = this.pMOBILENUMBER; + data['P_RETURN_MSG'] = this.pRETURNMSG; + data['P_RETURN_STATUS'] = this.pRETURNSTATUS; + return data; + } +} diff --git a/lib/models/check_mobile_app_version_model.dart b/lib/models/check_mobile_app_version_model.dart new file mode 100644 index 0000000..cd301d3 --- /dev/null +++ b/lib/models/check_mobile_app_version_model.dart @@ -0,0 +1,191 @@ +class CheckMobileAppVersionModel { + String? date; + int? languageID; + int? serviceName; + String? time; + String? androidLink; + String? authenticationTokenID; + String? data; + bool? dataw; + int? dietType; + int? dietTypeID; + int? errorCode; + String? errorEndUserMessage; + String? errorEndUserMessageN; + String? errorMessage; + int? errorType; + int? foodCategory; + String? iOSLink; + bool? isAuthenticated; + int? mealOrderStatus; + int? mealType; + int? messageStatus; + int? numberOfResultRecords; + String? patientBlodType; + String? successMsg; + String? successMsgN; + String? vidaUpdatedResponse; + String? encryprURL; + bool? kioskHelp; + List? listRssItems; + List? listKioskFingerPrint; + List? listKioskFingerPrintGetByID; + List? listKioskGetLastTransaction; + List? listRegKioskFingerPrint; + String? message; + String? ramadanTimeObj; + String? habibTwitterList; + + CheckMobileAppVersionModel( + {this.date, + this.languageID, + this.serviceName, + this.time, + this.androidLink, + this.authenticationTokenID, + this.data, + this.dataw, + this.dietType, + this.dietTypeID, + this.errorCode, + this.errorEndUserMessage, + this.errorEndUserMessageN, + this.errorMessage, + this.errorType, + this.foodCategory, + this.iOSLink, + this.isAuthenticated, + this.mealOrderStatus, + this.mealType, + this.messageStatus, + this.numberOfResultRecords, + this.patientBlodType, + this.successMsg, + this.successMsgN, + this.vidaUpdatedResponse, + this.encryprURL, + this.kioskHelp, + this.listRssItems, + this.listKioskFingerPrint, + this.listKioskFingerPrintGetByID, + this.listKioskGetLastTransaction, + this.listRegKioskFingerPrint, + this.message, + this.ramadanTimeObj, + this.habibTwitterList}); + + CheckMobileAppVersionModel.fromJson(Map json) { + date = json['Date']; + languageID = json['LanguageID']; + serviceName = json['ServiceName']; + time = json['Time']; + androidLink = json['AndroidLink']; + authenticationTokenID = json['AuthenticationTokenID']; + data = json['Data']; + dataw = json['Dataw']; + dietType = json['DietType']; + dietTypeID = json['DietTypeID']; + errorCode = json['ErrorCode']; + errorEndUserMessage = json['ErrorEndUserMessage']; + errorEndUserMessageN = json['ErrorEndUserMessageN']; + errorMessage = json['ErrorMessage']; + errorType = json['ErrorType']; + foodCategory = json['FoodCategory']; + iOSLink = json['IOSLink']; + isAuthenticated = json['IsAuthenticated']; + mealOrderStatus = json['MealOrderStatus']; + mealType = json['MealType']; + messageStatus = json['MessageStatus']; + numberOfResultRecords = json['NumberOfResultRecords']; + patientBlodType = json['PatientBlodType']; + successMsg = json['SuccessMsg']; + successMsgN = json['SuccessMsgN']; + vidaUpdatedResponse = json['VidaUpdatedResponse']; + encryprURL = json['EncryprURL']; + kioskHelp = json['KioskHelp']; + if (json['ListRssItems'] != null) { + listRssItems = []; + json['ListRssItems'].forEach((v) { + //listRssItems!.add(new Null.fromJson(v)); + }); + } + if (json['List_Kiosk_FingerPrint'] != null) { + listKioskFingerPrint = []; + json['List_Kiosk_FingerPrint'].forEach((v) { + // listKioskFingerPrint!.add(new Null.fromJson(v)); + }); + } + if (json['List_Kiosk_FingerPrintGetByID'] != null) { + listKioskFingerPrintGetByID = []; + json['List_Kiosk_FingerPrintGetByID'].forEach((v) { + // listKioskFingerPrintGetByID!.add(new Null.fromJson(v)); + }); + } + if (json['List_Kiosk_GetLastTransaction'] != null) { + listKioskGetLastTransaction = []; + json['List_Kiosk_GetLastTransaction'].forEach((v) { + // listKioskGetLastTransaction!.add(new Null.fromJson(v)); + }); + } + if (json['List_RegKiosk_FingerPrint'] != null) { + listRegKioskFingerPrint = []; + json['List_RegKiosk_FingerPrint'].forEach((v) { + // listRegKioskFingerPrint!.add(new Null.fromJson(v)); + }); + } + message = json['Message']; + ramadanTimeObj = json['RamadanTimeObj']; + habibTwitterList = json['habibTwitterList']; + } + + Map toJson() { + final Map data = new Map(); + data['Date'] = this.date; + data['LanguageID'] = this.languageID; + data['ServiceName'] = this.serviceName; + data['Time'] = this.time; + data['AndroidLink'] = this.androidLink; + data['AuthenticationTokenID'] = this.authenticationTokenID; + data['Data'] = this.data; + data['Dataw'] = this.dataw; + data['DietType'] = this.dietType; + data['DietTypeID'] = this.dietTypeID; + data['ErrorCode'] = this.errorCode; + data['ErrorEndUserMessage'] = this.errorEndUserMessage; + data['ErrorEndUserMessageN'] = this.errorEndUserMessageN; + data['ErrorMessage'] = this.errorMessage; + data['ErrorType'] = this.errorType; + data['FoodCategory'] = this.foodCategory; + data['IOSLink'] = this.iOSLink; + data['IsAuthenticated'] = this.isAuthenticated; + data['MealOrderStatus'] = this.mealOrderStatus; + data['MealType'] = this.mealType; + data['MessageStatus'] = this.messageStatus; + data['NumberOfResultRecords'] = this.numberOfResultRecords; + data['PatientBlodType'] = this.patientBlodType; + data['SuccessMsg'] = this.successMsg; + data['SuccessMsgN'] = this.successMsgN; + data['VidaUpdatedResponse'] = this.vidaUpdatedResponse; + data['EncryprURL'] = this.encryprURL; + data['KioskHelp'] = this.kioskHelp; + if (this.listRssItems != null) { + //data['ListRssItems'] = this.listRssItems!.map((v) => v.toJson()).toList(); + } + if (this.listKioskFingerPrint != null) { + // data['List_Kiosk_FingerPrint'] = this.listKioskFingerPrint!.map((v) => v.toJson()).toList(); + } + if (this.listKioskFingerPrintGetByID != null) { + //data['List_Kiosk_FingerPrintGetByID'] = this.listKioskFingerPrintGetByID!.map((v) => v.toJson()).toList(); + } + if (this.listKioskGetLastTransaction != null) { + //data['List_Kiosk_GetLastTransaction'] = this.listKioskGetLastTransaction!.map((v) => v.toJson()).toList(); + } + if (this.listRegKioskFingerPrint != null) { + //data['List_RegKiosk_FingerPrint'] = this.listRegKioskFingerPrint!.map((v) => v.toJson()).toList(); + } + data['Message'] = this.message; + data['RamadanTimeObj'] = this.ramadanTimeObj; + data['habibTwitterList'] = this.habibTwitterList; + return data; + } +} diff --git a/lib/models/generic_response_model.dart b/lib/models/generic_response_model.dart new file mode 100644 index 0000000..ac7af0f --- /dev/null +++ b/lib/models/generic_response_model.dart @@ -0,0 +1,1022 @@ +import 'package:mohem_flutter_app/models/member_login_list_model.dart'; + +import 'basic_member_information_model.dart'; + +class GenericResponseModel { + String? date; + int? languageID; + int? serviceName; + String? time; + String? androidLink; + String? authenticationTokenID; + String? data; + bool? dataw; + int? dietType; + int? dietTypeID; + String? errorCode; + String? errorEndUserMessage; + String? errorEndUserMessageN; + String? errorMessage; + int? errorType; + int? foodCategory; + String? iOSLink; + bool? isAuthenticated; + int? mealOrderStatus; + int? mealType; + int? messageStatus; + int? numberOfResultRecords; + String? patientBlodType; + String? successMsg; + String? successMsgN; + String? vidaUpdatedResponse; + String? addAttSuccessList; + String? addAttachmentList; + String? bCDomain; + String? bCLogo; + BasicMemberInformationModel? basicMemberInformation; + bool? businessCardPrivilege; + String? calculateAbsenceDuration; + String? cancelHRTransactionLIst; + String? chatEmployeeLoginList; + String? companyBadge; + String? companyImage; + String? companyImageDescription; + String? companyImageURL; + String? companyMainCompany; + String? countryList; + String? createVacationRuleList; + String? deleteAttachmentList; + String? deleteVacationRuleList; + String? disableSessionList; + String? employeeQR; + String? forgetPasswordTokenID; + List? getAbsenceAttachmentsList; + List? getAbsenceAttendanceTypesList; + List? getAbsenceCollectionNotificationBodyList; + List? getAbsenceDffStructureList; + List? getAbsenceTransactionList; + List? getAccrualBalancesList; + List? getActionHistoryList; + List? getAddressDffStructureList; + List? getAddressNotificationBodyList; + List? getApprovesList; + List? getAttachementList; + List? getAttendanceTrackingList; + List? getBasicDetColsStructureList; + List? getBasicDetDffStructureList; + List? getBasicDetNtfBodyList; + List? getCEICollectionNotificationBodyList; + List? getCEIDFFStructureList; + List? getCEITransactionList; + List? getCcpDffStructureList; + List? getCcpOutputList; + List? getCcpTransactionsList; + List? getCcpTransactionsListNew; + List? getConcurrentProgramsList; + List? getContactColsStructureList; + List? getContactDetailsList; + List? getContactDffStructureList; + List? getContactNotificationBodyList; + List? getCountriesList; + List? getDayHoursTypeDetailsList; + List? getDeductionsList; + List? getDefaultValueList; + List? getEITCollectionNotificationBodyList; + List? getEITDFFStructureList; + List? getEITTransactionList; + List? getEarningsList; + List? getEmployeeAddressList; + List? getEmployeeBasicDetailsList; + List? getEmployeeContactsList; + List? getEmployeePhonesList; + List? getEmployeeSubordinatesList; + List? getFliexfieldStructureList; + List? getHrCollectionNotificationBodyList; + List? getHrTransactionList; + List? getItemCreationNtfBodyList; + List? getItemTypeNotificationsList; + List? getItemTypesList; + List? getLookupValuesList; + List? getMenuEntriesList; + List? getMoItemHistoryList; + List? getMoNotificationBodyList; + List? getNotificationButtonsList; + List? getNotificationReassignModeList; + List? getObjectValuesList; + List? getOpenMissingSwipesList; + List? getOpenNotificationsList; + List? getOpenNotificationsNumList; + List? getOpenPeriodDatesList; + List? getOrganizationsSalariesList; + List? getPaymentInformationList; + List? getPayslipList; + List? getPendingReqDetailsList; + List? getPendingReqFunctionsList; + List? getPerformanceAppraisalList; + List? getPhonesNotificationBodyList; + List? getPoItemHistoryList; + List? getPoNotificationBodyList; + List? getPrNotificationBodyList; + List? getQuotationAnalysisList; + List? getRFCEmployeeListList; + List? getRespondAttributeValueList; + List? getSITCollectionNotificationBodyList; + List? getSITDFFStructureList; + List? getSITTransactionList; + List? getScheduleShiftsDetailsList; + List? getShiftTypesList; + List? getStampMsNotificationBodyList; + List? getStampNsNotificationBodyList; + List? getSubordinatesAttdStatusList; + List? getSubordinatesLeavesList; + List? getSubordinatesLeavesTotalVacationsList; + List? getSummaryOfPaymentList; + List? getSwipesList; + List? getTermColsStructureList; + List? getTermDffStructureList; + List? getTermNotificationBodyList; + List? getTimeCardSummaryList; + List? getUserItemTypesList; + List? getVacationRulesList; + List? getVaccinationOnHandList; + List? getVaccinationsList; + List? getValueSetValuesList; + List? getWorkList; + String? hRCertificateTemplate; + String? imgURLsList; + String? insertApInv; + String? insertBooked; + String? insertEmpSwipesList; + String? insertJournal; + String? insertOrders; + String? intPortalGetEmployeeList; + bool? isDeviceTokenEmpty; + bool? isPasswordExpired; + bool? isRegisterAllowed; + bool? isRequriedValueSetEmpty; + bool? isUserSMSExcluded; + String? itemOnHand; + String? languageAvailable; + String? listSupplier; + String? listUserAgreement; + String? listEITStrucrure; + String? listItemImagesDetails; + String? listItemMaster; + String? listMedicineDetails; + String? listMenu; + String? listNewEmployees; + String? listRadScreen; + String? logInTokenID; + String? memberInformationList; + MemberLoginListModel? memberLoginList; + String? mohemmGetBusinessCardEnabledList; + String? mohemmGetFavoriteReplacementsList; + String? mohemmGetMobileDeviceInfobyEmpInfoList; + String? mohemmGetMobileLoginInfoList; + String? mohemmGetPatientIDList; + String? mohemmITGResponseItem; + bool? mohemmIsChangeIsActiveBusinessCardEnable; + bool? mohemmIsInsertBusinessCardEnable; + String? mohemmWifiPassword; + String? mohemmWifiSSID; + String? notificationAction; + String? notificationGetRespondAttributesList; + String? notificationRespondRolesList; + int? oracleOutPutNumber; + String? pASSWORDEXPIREDMSG; + String? pCOUNTRYCODE; + String? pCOUNTRYNAME; + String? pDESCFLEXCONTEXTCODE; + String? pDESCFLEXCONTEXTNAME; + Null? pForm; + String? pINFORMATION; + int? pMBLID; + String? pNUMOFSUBORDINATES; + String? pOPENNTFNUMBER; + String? pQUESTION; + int? pSESSIONID; + String? pSchema; + String? pharmacyStockAddPharmacyStockList; + String? pharmacyStockGetOnHandList; + String? privilegeList; + String? processTransactions; + String? registerUserNameList; + String? replacementList; + String? respondAttributesList; + String? respondRolesList; + String? resubmitAbsenceTransactionList; + String? resubmitEITTransactionList; + String? resubmitHrTransactionList; + String? sFHGetPoNotificationBodyList; + String? sFHGetPrNotificationBodyList; + String? startAbsenceApprovalProccess; + String? startAddressApprovalProcessList; + String? startBasicDetApprProcessList; + String? startCeiApprovalProcess; + String? startContactApprovalProcessList; + String? startEitApprovalProcess; + String? startHrApprovalProcessList; + String? startPhonesApprovalProcessList; + String? startSitApprovalProcess; + String? startTermApprovalProcessList; + String? submitAddressTransactionList; + String? submitBasicDetTransactionList; + String? submitCEITransactionList; + String? submitCcpTransactionList; + String? submitContactTransactionList; + String? submitEITTransactionList; + String? submitHrTransactionList; + String? submitPhonesTransactionList; + String? submitSITTransactionList; + String? submitTermTransactionList; + String? subordinatesOnLeavesList; + String? sumbitAbsenceTransactionList; + String? tokenID; + String? updateAttachmentList; + String? updateEmployeeImageList; + String? updateItemTypeSuccessList; + String? updateUserItemTypesList; + String? updateVacationRuleList; + String? vHREmployeeLoginList; + String? vHRGetEmployeeDetailsList; + String? vHRGetManagersDetailsList; + String? vHRGetProjectByCodeList; + bool? vHRIsVerificationCodeValid; + String? validateAbsenceTransactionList; + String? validateEITTransactionList; + String? validatePhonesTransactionList; + String? vrItemTypesList; + String? wFLookUpList; + String? eLearningGETEMPLOYEEPROFILEList; + String? eLearningLOGINList; + String? eLearningValidateLoginList; + String? eLearningValidate_LoginList; + String? ePharmacyGetItemOnHandList; + bool? isActiveCode; + bool? isSMSSent; + + GenericResponseModel( + {this.date, + this.languageID, + this.serviceName, + this.time, + this.androidLink, + this.authenticationTokenID, + this.data, + this.dataw, + this.dietType, + this.dietTypeID, + this.errorCode, + this.errorEndUserMessage, + this.errorEndUserMessageN, + this.errorMessage, + this.errorType, + this.foodCategory, + this.iOSLink, + this.isAuthenticated, + this.mealOrderStatus, + this.mealType, + this.messageStatus, + this.numberOfResultRecords, + this.patientBlodType, + this.successMsg, + this.successMsgN, + this.vidaUpdatedResponse, + this.addAttSuccessList, + this.addAttachmentList, + this.bCDomain, + this.bCLogo, + this.basicMemberInformation, + this.businessCardPrivilege, + this.calculateAbsenceDuration, + this.cancelHRTransactionLIst, + this.chatEmployeeLoginList, + this.companyBadge, + this.companyImage, + this.companyImageDescription, + this.companyImageURL, + this.companyMainCompany, + this.countryList, + this.createVacationRuleList, + this.deleteAttachmentList, + this.deleteVacationRuleList, + this.disableSessionList, + this.employeeQR, + this.forgetPasswordTokenID, + this.getAbsenceAttachmentsList, + this.getAbsenceAttendanceTypesList, + this.getAbsenceCollectionNotificationBodyList, + this.getAbsenceDffStructureList, + this.getAbsenceTransactionList, + this.getAccrualBalancesList, + this.getActionHistoryList, + this.getAddressDffStructureList, + this.getAddressNotificationBodyList, + this.getApprovesList, + this.getAttachementList, + this.getAttendanceTrackingList, + this.getBasicDetColsStructureList, + this.getBasicDetDffStructureList, + this.getBasicDetNtfBodyList, + this.getCEICollectionNotificationBodyList, + this.getCEIDFFStructureList, + this.getCEITransactionList, + this.getCcpDffStructureList, + this.getCcpOutputList, + this.getCcpTransactionsList, + this.getCcpTransactionsListNew, + this.getConcurrentProgramsList, + this.getContactColsStructureList, + this.getContactDetailsList, + this.getContactDffStructureList, + this.getContactNotificationBodyList, + this.getCountriesList, + this.getDayHoursTypeDetailsList, + this.getDeductionsList, + this.getDefaultValueList, + this.getEITCollectionNotificationBodyList, + this.getEITDFFStructureList, + this.getEITTransactionList, + this.getEarningsList, + this.getEmployeeAddressList, + this.getEmployeeBasicDetailsList, + this.getEmployeeContactsList, + this.getEmployeePhonesList, + this.getEmployeeSubordinatesList, + this.getFliexfieldStructureList, + this.getHrCollectionNotificationBodyList, + this.getHrTransactionList, + this.getItemCreationNtfBodyList, + this.getItemTypeNotificationsList, + this.getItemTypesList, + this.getLookupValuesList, + this.getMenuEntriesList, + this.getMoItemHistoryList, + this.getMoNotificationBodyList, + this.getNotificationButtonsList, + this.getNotificationReassignModeList, + this.getObjectValuesList, + this.getOpenMissingSwipesList, + this.getOpenNotificationsList, + this.getOpenNotificationsNumList, + this.getOpenPeriodDatesList, + this.getOrganizationsSalariesList, + this.getPaymentInformationList, + this.getPayslipList, + this.getPendingReqDetailsList, + this.getPendingReqFunctionsList, + this.getPerformanceAppraisalList, + this.getPhonesNotificationBodyList, + this.getPoItemHistoryList, + this.getPoNotificationBodyList, + this.getPrNotificationBodyList, + this.getQuotationAnalysisList, + this.getRFCEmployeeListList, + this.getRespondAttributeValueList, + this.getSITCollectionNotificationBodyList, + this.getSITDFFStructureList, + this.getSITTransactionList, + this.getScheduleShiftsDetailsList, + this.getShiftTypesList, + this.getStampMsNotificationBodyList, + this.getStampNsNotificationBodyList, + this.getSubordinatesAttdStatusList, + this.getSubordinatesLeavesList, + this.getSubordinatesLeavesTotalVacationsList, + this.getSummaryOfPaymentList, + this.getSwipesList, + this.getTermColsStructureList, + this.getTermDffStructureList, + this.getTermNotificationBodyList, + this.getTimeCardSummaryList, + this.getUserItemTypesList, + this.getVacationRulesList, + this.getVaccinationOnHandList, + this.getVaccinationsList, + this.getValueSetValuesList, + this.getWorkList, + this.hRCertificateTemplate, + this.imgURLsList, + this.insertApInv, + this.insertBooked, + this.insertEmpSwipesList, + this.insertJournal, + this.insertOrders, + this.intPortalGetEmployeeList, + this.isDeviceTokenEmpty, + this.isPasswordExpired, + this.isRegisterAllowed, + this.isRequriedValueSetEmpty, + this.isUserSMSExcluded, + this.itemOnHand, + this.languageAvailable, + this.listSupplier, + this.listUserAgreement, + this.listEITStrucrure, + this.listItemImagesDetails, + this.listItemMaster, + this.listMedicineDetails, + this.listMenu, + this.listNewEmployees, + this.listRadScreen, + this.logInTokenID, + this.memberInformationList, + this.memberLoginList, + this.mohemmGetBusinessCardEnabledList, + this.mohemmGetFavoriteReplacementsList, + this.mohemmGetMobileDeviceInfobyEmpInfoList, + this.mohemmGetMobileLoginInfoList, + this.mohemmGetPatientIDList, + this.mohemmITGResponseItem, + this.mohemmIsChangeIsActiveBusinessCardEnable, + this.mohemmIsInsertBusinessCardEnable, + this.mohemmWifiPassword, + this.mohemmWifiSSID, + this.notificationAction, + this.notificationGetRespondAttributesList, + this.notificationRespondRolesList, + this.oracleOutPutNumber, + this.pASSWORDEXPIREDMSG, + this.pCOUNTRYCODE, + this.pCOUNTRYNAME, + this.pDESCFLEXCONTEXTCODE, + this.pDESCFLEXCONTEXTNAME, + this.pForm, + this.pINFORMATION, + this.pMBLID, + this.pNUMOFSUBORDINATES, + this.pOPENNTFNUMBER, + this.pQUESTION, + this.pSESSIONID, + this.pSchema, + this.pharmacyStockAddPharmacyStockList, + this.pharmacyStockGetOnHandList, + this.privilegeList, + this.processTransactions, + this.registerUserNameList, + this.replacementList, + this.respondAttributesList, + this.respondRolesList, + this.resubmitAbsenceTransactionList, + this.resubmitEITTransactionList, + this.resubmitHrTransactionList, + this.sFHGetPoNotificationBodyList, + this.sFHGetPrNotificationBodyList, + this.startAbsenceApprovalProccess, + this.startAddressApprovalProcessList, + this.startBasicDetApprProcessList, + this.startCeiApprovalProcess, + this.startContactApprovalProcessList, + this.startEitApprovalProcess, + this.startHrApprovalProcessList, + this.startPhonesApprovalProcessList, + this.startSitApprovalProcess, + this.startTermApprovalProcessList, + this.submitAddressTransactionList, + this.submitBasicDetTransactionList, + this.submitCEITransactionList, + this.submitCcpTransactionList, + this.submitContactTransactionList, + this.submitEITTransactionList, + this.submitHrTransactionList, + this.submitPhonesTransactionList, + this.submitSITTransactionList, + this.submitTermTransactionList, + this.subordinatesOnLeavesList, + this.sumbitAbsenceTransactionList, + this.tokenID, + this.updateAttachmentList, + this.updateEmployeeImageList, + this.updateItemTypeSuccessList, + this.updateUserItemTypesList, + this.updateVacationRuleList, + this.vHREmployeeLoginList, + this.vHRGetEmployeeDetailsList, + this.vHRGetManagersDetailsList, + this.vHRGetProjectByCodeList, + this.vHRIsVerificationCodeValid, + this.validateAbsenceTransactionList, + this.validateEITTransactionList, + this.validatePhonesTransactionList, + this.vrItemTypesList, + this.wFLookUpList, + this.eLearningGETEMPLOYEEPROFILEList, + this.eLearningLOGINList, + this.eLearningValidateLoginList, + this.eLearningValidate_LoginList, + this.ePharmacyGetItemOnHandList, + this.isActiveCode, + this.isSMSSent}); + + GenericResponseModel.fromJson(Map json) { + date = json['Date']; + languageID = json['LanguageID']; + serviceName = json['ServiceName']; + time = json['Time']; + androidLink = json['AndroidLink']; + authenticationTokenID = json['AuthenticationTokenID']; + data = json['Data']; + dataw = json['Dataw']; + dietType = json['DietType']; + dietTypeID = json['DietTypeID']; + errorCode = json['ErrorCode']; + errorEndUserMessage = json['ErrorEndUserMessage']; + errorEndUserMessageN = json['ErrorEndUserMessageN']; + errorMessage = json['ErrorMessage']; + errorType = json['ErrorType']; + foodCategory = json['FoodCategory']; + iOSLink = json['IOSLink']; + isAuthenticated = json['IsAuthenticated']; + mealOrderStatus = json['MealOrderStatus']; + mealType = json['MealType']; + messageStatus = json['MessageStatus']; + numberOfResultRecords = json['NumberOfResultRecords']; + patientBlodType = json['PatientBlodType']; + successMsg = json['SuccessMsg']; + successMsgN = json['SuccessMsgN']; + vidaUpdatedResponse = json['VidaUpdatedResponse']; + addAttSuccessList = json['AddAttSuccessList']; + addAttachmentList = json['AddAttachment_List']; + bCDomain = json['BC_Domain']; + bCLogo = json['BC_Logo']; + basicMemberInformation = json['BasicMemberInformation'] != null ? new BasicMemberInformationModel.fromJson(json['BasicMemberInformation']) : null; + businessCardPrivilege = json['BusinessCardPrivilege']; + calculateAbsenceDuration = json['CalculateAbsenceDuration']; + cancelHRTransactionLIst = json['CancelHRTransactionLIst']; + chatEmployeeLoginList = json['Chat_EmployeeLoginList']; + companyBadge = json['CompanyBadge']; + companyImage = json['CompanyImage']; + companyImageDescription = json['CompanyImageDescription']; + companyImageURL = json['CompanyImageURL']; + companyMainCompany = json['CompanyMainCompany']; + countryList = json['CountryList']; + createVacationRuleList = json['CreateVacationRuleList']; + deleteAttachmentList = json['DeleteAttachmentList']; + deleteVacationRuleList = json['DeleteVacationRuleList']; + disableSessionList = json['DisableSessionList']; + employeeQR = json['EmployeeQR']; + forgetPasswordTokenID = json['ForgetPasswordTokenID']; + getAbsenceAttachmentsList = json['GetAbsenceAttachmentsList'].cast(); + getAbsenceAttendanceTypesList = json['GetAbsenceAttendanceTypesList'].cast(); + getAbsenceCollectionNotificationBodyList = json['GetAbsenceCollectionNotificationBodyList'].cast(); + getAbsenceDffStructureList = json['GetAbsenceDffStructureList'].cast(); + getAbsenceTransactionList = json['GetAbsenceTransactionList'].cast(); + getAccrualBalancesList = json['GetAccrualBalancesList'].cast(); + getActionHistoryList = json['GetActionHistoryList'].cast(); + getAddressDffStructureList = json['GetAddressDffStructureList'].cast(); + getAddressNotificationBodyList = json['GetAddressNotificationBodyList'].cast(); + getApprovesList = json['GetApprovesList'].cast(); + getAttachementList = json['GetAttachementList'].cast(); + getAttendanceTrackingList = json['GetAttendanceTrackingList'].cast(); + getBasicDetColsStructureList = json['GetBasicDetColsStructureList'].cast(); + getBasicDetDffStructureList = json['GetBasicDetDffStructureList'].cast(); + getBasicDetNtfBodyList = json['GetBasicDetNtfBodyList'].cast(); + getCEICollectionNotificationBodyList = json['GetCEICollectionNotificationBodyList'].cast(); + getCEIDFFStructureList = json['GetCEIDFFStructureList'].cast(); + getCEITransactionList = json['GetCEITransactionList'].cast(); + getCcpDffStructureList = json['GetCcpDffStructureList'].cast(); + getCcpOutputList = json['GetCcpOutputList'].cast(); + getCcpTransactionsList = json['GetCcpTransactionsList'].cast(); + getCcpTransactionsListNew = json['GetCcpTransactionsList_New'].cast(); + getConcurrentProgramsList = json['GetConcurrentProgramsList'].cast(); + getContactColsStructureList = json['GetContactColsStructureList'].cast(); + getContactDetailsList = json['GetContactDetailsList'].cast(); + getContactDffStructureList = json['GetContactDffStructureList'].cast(); + getContactNotificationBodyList = json['GetContactNotificationBodyList'].cast(); + getCountriesList = json['GetCountriesList'].cast(); + getDayHoursTypeDetailsList = json['GetDayHoursTypeDetailsList'].cast(); + getDeductionsList = json['GetDeductionsList'].cast(); + getDefaultValueList = json['GetDefaultValueList'].cast(); + getEITCollectionNotificationBodyList = json['GetEITCollectionNotificationBodyList'].cast(); + getEITDFFStructureList = json['GetEITDFFStructureList'].cast(); + getEITTransactionList = json['GetEITTransactionList'].cast(); + getEarningsList = json['GetEarningsList'].cast(); + getEmployeeAddressList = json['GetEmployeeAddressList'].cast(); + getEmployeeBasicDetailsList = json['GetEmployeeBasicDetailsList'].cast(); + getEmployeeContactsList = json['GetEmployeeContactsList'].cast(); + getEmployeePhonesList = json['GetEmployeePhonesList'].cast(); + getEmployeeSubordinatesList = json['GetEmployeeSubordinatesList'].cast(); + getFliexfieldStructureList = json['GetFliexfieldStructureList'].cast(); + getHrCollectionNotificationBodyList = json['GetHrCollectionNotificationBodyList'].cast(); + getHrTransactionList = json['GetHrTransactionList'].cast(); + getItemCreationNtfBodyList = json['GetItemCreationNtfBodyList'].cast(); + getItemTypeNotificationsList = json['GetItemTypeNotificationsList'].cast(); + getItemTypesList = json['GetItemTypesList'].cast(); + getLookupValuesList = json['GetLookupValuesList'].cast(); + getMenuEntriesList = json['GetMenuEntriesList'].cast(); + getMoItemHistoryList = json['GetMoItemHistoryList'].cast(); + getMoNotificationBodyList = json['GetMoNotificationBodyList'].cast(); + getNotificationButtonsList = json['GetNotificationButtonsList'].cast(); + getNotificationReassignModeList = json['GetNotificationReassignModeList'].cast(); + getObjectValuesList = json['GetObjectValuesList'].cast(); + getOpenMissingSwipesList = json['GetOpenMissingSwipesList'].cast(); + getOpenNotificationsList = json['GetOpenNotificationsList'].cast(); + getOpenNotificationsNumList = json['GetOpenNotificationsNumList'].cast(); + getOpenPeriodDatesList = json['GetOpenPeriodDatesList'].cast(); + getOrganizationsSalariesList = json['GetOrganizationsSalariesList'].cast(); + getPaymentInformationList = json['GetPaymentInformationList'].cast(); + getPayslipList = json['GetPayslipList'].cast(); + getPendingReqDetailsList = json['GetPendingReqDetailsList'].cast(); + getPendingReqFunctionsList = json['GetPendingReqFunctionsList'].cast(); + getPerformanceAppraisalList = json['GetPerformanceAppraisalList'].cast(); + getPhonesNotificationBodyList = json['GetPhonesNotificationBodyList'].cast(); + getPoItemHistoryList = json['GetPoItemHistoryList'].cast(); + getPoNotificationBodyList = json['GetPoNotificationBodyList'].cast(); + getPrNotificationBodyList = json['GetPrNotificationBodyList'].cast(); + getQuotationAnalysisList = json['GetQuotationAnalysisList'].cast(); + getRFCEmployeeListList = json['GetRFCEmployeeListList'].cast(); + getRespondAttributeValueList = json['GetRespondAttributeValueList'].cast(); + getSITCollectionNotificationBodyList = json['GetSITCollectionNotificationBodyList'].cast(); + getSITDFFStructureList = json['GetSITDFFStructureList'].cast(); + getSITTransactionList = json['GetSITTransactionList'].cast(); + getScheduleShiftsDetailsList = json['GetScheduleShiftsDetailsList'].cast(); + getShiftTypesList = json['GetShiftTypesList'].cast(); + getStampMsNotificationBodyList = json['GetStampMsNotificationBodyList'].cast(); + getStampNsNotificationBodyList = json['GetStampNsNotificationBodyList'].cast(); + getSubordinatesAttdStatusList = json['GetSubordinatesAttdStatusList'].cast(); + getSubordinatesLeavesList = json['GetSubordinatesLeavesList'].cast(); + getSubordinatesLeavesTotalVacationsList = json['GetSubordinatesLeavesTotalVacationsList'].cast(); + getSummaryOfPaymentList = json['GetSummaryOfPaymentList'].cast(); + getSwipesList = json['GetSwipesList'].cast(); + getTermColsStructureList = json['GetTermColsStructureList'].cast(); + getTermDffStructureList = json['GetTermDffStructureList'].cast(); + getTermNotificationBodyList = json['GetTermNotificationBodyList'].cast(); + getTimeCardSummaryList = json['GetTimeCardSummaryList'].cast(); + getUserItemTypesList = json['GetUserItemTypesList'].cast(); + getVacationRulesList = json['GetVacationRulesList'].cast(); + getVaccinationOnHandList = json['GetVaccinationOnHandList'].cast(); + getVaccinationsList = json['GetVaccinationsList'].cast(); + getValueSetValuesList = json['GetValueSetValuesList'].cast(); + getWorkList = json['GetWorkList'].cast(); + hRCertificateTemplate = json['HRCertificateTemplate']; + imgURLsList = json['ImgURLsList']; + insertApInv = json['InsertApInv']; + insertBooked = json['InsertBooked']; + insertEmpSwipesList = json['InsertEmpSwipesList']; + insertJournal = json['InsertJournal']; + insertOrders = json['InsertOrders']; + intPortalGetEmployeeList = json['IntPortalGetEmployeeList']; + isDeviceTokenEmpty = json['IsDeviceTokenEmpty']; + isPasswordExpired = json['IsPasswordExpired']; + isRegisterAllowed = json['IsRegisterAllowed']; + isRequriedValueSetEmpty = json['IsRequriedValueSetEmpty']; + isUserSMSExcluded = json['IsUserSMSExcluded']; + itemOnHand = json['ItemOnHand']; + languageAvailable = json['LanguageAvailable']; + listSupplier = json['ListSupplier']; + listUserAgreement = json['ListUserAgreement']; + listEITStrucrure = json['List_EITStrucrure']; + listItemImagesDetails = json['List_ItemImagesDetails']; + listItemMaster = json['List_ItemMaster']; + listMedicineDetails = json['List_MedicineDetails']; + listMenu = json['List_Menu']; + listNewEmployees = json['List_NewEmployees']; + listRadScreen = json['List_RadScreen']; + logInTokenID = json['LogInTokenID']; + memberInformationList = json['MemberInformationList']; + memberLoginList = json['MemberLoginList'] != null ? MemberLoginListModel.fromJson(json['MemberLoginList']) : null; + mohemmGetBusinessCardEnabledList = json['Mohemm_GetBusinessCardEnabledList']; + mohemmGetFavoriteReplacementsList = json['Mohemm_GetFavoriteReplacementsList']; + mohemmGetMobileDeviceInfobyEmpInfoList = json['Mohemm_GetMobileDeviceInfobyEmpInfoList']; + mohemmGetMobileLoginInfoList = json['Mohemm_GetMobileLoginInfoList']; + mohemmGetPatientIDList = json['Mohemm_GetPatientID_List']; + mohemmITGResponseItem = json['Mohemm_ITG_ResponseItem']; + mohemmIsChangeIsActiveBusinessCardEnable = json['Mohemm_IsChangeIsActiveBusinessCardEnable']; + mohemmIsInsertBusinessCardEnable = json['Mohemm_IsInsertBusinessCardEnable']; + mohemmWifiPassword = json['Mohemm_Wifi_Password']; + mohemmWifiSSID = json['Mohemm_Wifi_SSID']; + notificationAction = json['NotificationAction']; + notificationGetRespondAttributesList = json['NotificationGetRespondAttributesList']; + notificationRespondRolesList = json['NotificationRespondRolesList']; + oracleOutPutNumber = json['OracleOutPutNumber']; + pASSWORDEXPIREDMSG = json['PASSWORD_EXPIRED_MSG']; + pCOUNTRYCODE = json['P_COUNTRY_CODE']; + pCOUNTRYNAME = json['P_COUNTRY_NAME']; + pDESCFLEXCONTEXTCODE = json['P_DESC_FLEX_CONTEXT_CODE']; + pDESCFLEXCONTEXTNAME = json['P_DESC_FLEX_CONTEXT_NAME']; + pForm = json['P_Form']; + pINFORMATION = json['P_INFORMATION']; + pMBLID = json['P_MBL_ID']; + pNUMOFSUBORDINATES = json['P_NUM_OF_SUBORDINATES']; + pOPENNTFNUMBER = json['P_OPEN_NTF_NUMBER']; + pQUESTION = json['P_QUESTION']; + pSESSIONID = json['P_SESSION_ID']; + pSchema = json['P_Schema']; + pharmacyStockAddPharmacyStockList = json['PharmacyStock_AddPharmacyStockList']; + pharmacyStockGetOnHandList = json['PharmacyStock_GetOnHandList']; + privilegeList = json['Privilege_List']; + processTransactions = json['ProcessTransactions']; + registerUserNameList = json['RegisterUserNameList']; + replacementList = json['ReplacementList']; + respondAttributesList = json['RespondAttributesList']; + respondRolesList = json['RespondRolesList']; + resubmitAbsenceTransactionList = json['ResubmitAbsenceTransactionList']; + resubmitEITTransactionList = json['ResubmitEITTransactionList']; + resubmitHrTransactionList = json['ResubmitHrTransactionList']; + sFHGetPoNotificationBodyList = json['SFH_GetPoNotificationBodyList']; + sFHGetPrNotificationBodyList = json['SFH_GetPrNotificationBodyList']; + startAbsenceApprovalProccess = json['StartAbsenceApprovalProccess']; + startAddressApprovalProcessList = json['StartAddressApprovalProcessList']; + startBasicDetApprProcessList = json['StartBasicDetApprProcessList']; + startCeiApprovalProcess = json['StartCeiApprovalProcess']; + startContactApprovalProcessList = json['StartContactApprovalProcessList']; + startEitApprovalProcess = json['StartEitApprovalProcess']; + startHrApprovalProcessList = json['StartHrApprovalProcessList']; + startPhonesApprovalProcessList = json['StartPhonesApprovalProcessList']; + startSitApprovalProcess = json['StartSitApprovalProcess']; + startTermApprovalProcessList = json['StartTermApprovalProcessList']; + submitAddressTransactionList = json['SubmitAddressTransactionList']; + submitBasicDetTransactionList = json['SubmitBasicDetTransactionList']; + submitCEITransactionList = json['SubmitCEITransactionList']; + submitCcpTransactionList = json['SubmitCcpTransactionList']; + submitContactTransactionList = json['SubmitContactTransactionList']; + submitEITTransactionList = json['SubmitEITTransactionList']; + submitHrTransactionList = json['SubmitHrTransactionList']; + submitPhonesTransactionList = json['SubmitPhonesTransactionList']; + submitSITTransactionList = json['SubmitSITTransactionList']; + submitTermTransactionList = json['SubmitTermTransactionList']; + subordinatesOnLeavesList = json['SubordinatesOnLeavesList']; + sumbitAbsenceTransactionList = json['SumbitAbsenceTransactionList']; + tokenID = json['TokenID']; + updateAttachmentList = json['UpdateAttachmentList']; + updateEmployeeImageList = json['UpdateEmployeeImageList']; + updateItemTypeSuccessList = json['UpdateItemTypeSuccessList']; + updateUserItemTypesList = json['UpdateUserItemTypesList']; + updateVacationRuleList = json['UpdateVacationRuleList']; + vHREmployeeLoginList = json['VHR_EmployeeLoginList']; + vHRGetEmployeeDetailsList = json['VHR_GetEmployeeDetailsList']; + vHRGetManagersDetailsList = json['VHR_GetManagersDetailsList']; + vHRGetProjectByCodeList = json['VHR_GetProjectByCodeList']; + vHRIsVerificationCodeValid = json['VHR_IsVerificationCodeValid']; + validateAbsenceTransactionList = json['ValidateAbsenceTransactionList']; + validateEITTransactionList = json['ValidateEITTransactionList']; + validatePhonesTransactionList = json['ValidatePhonesTransactionList']; + vrItemTypesList = json['VrItemTypesList']; + wFLookUpList = json['WFLookUpList']; + eLearningGETEMPLOYEEPROFILEList = json['eLearning_GET_EMPLOYEE_PROFILEList']; + eLearningLOGINList = json['eLearning_LOGINList']; + eLearningValidateLoginList = json['eLearning_ValidateLoginList']; + eLearningValidate_LoginList = json['eLearning_Validate_LoginList']; + ePharmacyGetItemOnHandList = json['ePharmacy_GetItemOnHandList']; + isActiveCode = json['isActiveCode']; + isSMSSent = json['isSMSSent']; + } + + Map toJson() { + final Map data = new Map(); + data['Date'] = this.date; + data['LanguageID'] = this.languageID; + data['ServiceName'] = this.serviceName; + data['Time'] = this.time; + data['AndroidLink'] = this.androidLink; + data['AuthenticationTokenID'] = this.authenticationTokenID; + data['Data'] = this.data; + data['Dataw'] = this.dataw; + data['DietType'] = this.dietType; + data['DietTypeID'] = this.dietTypeID; + data['ErrorCode'] = this.errorCode; + data['ErrorEndUserMessage'] = this.errorEndUserMessage; + data['ErrorEndUserMessageN'] = this.errorEndUserMessageN; + data['ErrorMessage'] = this.errorMessage; + data['ErrorType'] = this.errorType; + data['FoodCategory'] = this.foodCategory; + data['IOSLink'] = this.iOSLink; + data['IsAuthenticated'] = this.isAuthenticated; + data['MealOrderStatus'] = this.mealOrderStatus; + data['MealType'] = this.mealType; + data['MessageStatus'] = this.messageStatus; + data['NumberOfResultRecords'] = this.numberOfResultRecords; + data['PatientBlodType'] = this.patientBlodType; + data['SuccessMsg'] = this.successMsg; + data['SuccessMsgN'] = this.successMsgN; + data['VidaUpdatedResponse'] = this.vidaUpdatedResponse; + data['AddAttSuccessList'] = this.addAttSuccessList; + data['AddAttachment_List'] = this.addAttachmentList; + data['BC_Domain'] = this.bCDomain; + data['BC_Logo'] = this.bCLogo; + if (this.basicMemberInformation != null) { + data['BasicMemberInformation'] = this.basicMemberInformation!.toJson(); + } + data['BusinessCardPrivilege'] = this.businessCardPrivilege; + data['CalculateAbsenceDuration'] = this.calculateAbsenceDuration; + data['CancelHRTransactionLIst'] = this.cancelHRTransactionLIst; + data['Chat_EmployeeLoginList'] = this.chatEmployeeLoginList; + data['CompanyBadge'] = this.companyBadge; + data['CompanyImage'] = this.companyImage; + data['CompanyImageDescription'] = this.companyImageDescription; + data['CompanyImageURL'] = this.companyImageURL; + data['CompanyMainCompany'] = this.companyMainCompany; + data['CountryList'] = this.countryList; + data['CreateVacationRuleList'] = this.createVacationRuleList; + data['DeleteAttachmentList'] = this.deleteAttachmentList; + data['DeleteVacationRuleList'] = this.deleteVacationRuleList; + data['DisableSessionList'] = this.disableSessionList; + data['EmployeeQR'] = this.employeeQR; + data['ForgetPasswordTokenID'] = this.forgetPasswordTokenID; + data['GetAbsenceAttachmentsList'] = this.getAbsenceAttachmentsList; + data['GetAbsenceAttendanceTypesList'] = this.getAbsenceAttendanceTypesList; + data['GetAbsenceCollectionNotificationBodyList'] = this.getAbsenceCollectionNotificationBodyList; + data['GetAbsenceDffStructureList'] = this.getAbsenceDffStructureList; + data['GetAbsenceTransactionList'] = this.getAbsenceTransactionList; + data['GetAccrualBalancesList'] = this.getAccrualBalancesList; + data['GetActionHistoryList'] = this.getActionHistoryList; + data['GetAddressDffStructureList'] = this.getAddressDffStructureList; + data['GetAddressNotificationBodyList'] = this.getAddressNotificationBodyList; + data['GetApprovesList'] = this.getApprovesList; + data['GetAttachementList'] = this.getAttachementList; + data['GetAttendanceTrackingList'] = this.getAttendanceTrackingList; + data['GetBasicDetColsStructureList'] = this.getBasicDetColsStructureList; + data['GetBasicDetDffStructureList'] = this.getBasicDetDffStructureList; + data['GetBasicDetNtfBodyList'] = this.getBasicDetNtfBodyList; + data['GetCEICollectionNotificationBodyList'] = this.getCEICollectionNotificationBodyList; + data['GetCEIDFFStructureList'] = this.getCEIDFFStructureList; + data['GetCEITransactionList'] = this.getCEITransactionList; + data['GetCcpDffStructureList'] = this.getCcpDffStructureList; + data['GetCcpOutputList'] = this.getCcpOutputList; + data['GetCcpTransactionsList'] = this.getCcpTransactionsList; + data['GetCcpTransactionsList_New'] = this.getCcpTransactionsListNew; + data['GetConcurrentProgramsList'] = this.getConcurrentProgramsList; + data['GetContactColsStructureList'] = this.getContactColsStructureList; + data['GetContactDetailsList'] = this.getContactDetailsList; + data['GetContactDffStructureList'] = this.getContactDffStructureList; + data['GetContactNotificationBodyList'] = this.getContactNotificationBodyList; + data['GetCountriesList'] = this.getCountriesList; + data['GetDayHoursTypeDetailsList'] = this.getDayHoursTypeDetailsList; + data['GetDeductionsList'] = this.getDeductionsList; + data['GetDefaultValueList'] = this.getDefaultValueList; + data['GetEITCollectionNotificationBodyList'] = this.getEITCollectionNotificationBodyList; + data['GetEITDFFStructureList'] = this.getEITDFFStructureList; + data['GetEITTransactionList'] = this.getEITTransactionList; + data['GetEarningsList'] = this.getEarningsList; + data['GetEmployeeAddressList'] = this.getEmployeeAddressList; + data['GetEmployeeBasicDetailsList'] = this.getEmployeeBasicDetailsList; + data['GetEmployeeContactsList'] = this.getEmployeeContactsList; + data['GetEmployeePhonesList'] = this.getEmployeePhonesList; + data['GetEmployeeSubordinatesList'] = this.getEmployeeSubordinatesList; + data['GetFliexfieldStructureList'] = this.getFliexfieldStructureList; + data['GetHrCollectionNotificationBodyList'] = this.getHrCollectionNotificationBodyList; + data['GetHrTransactionList'] = this.getHrTransactionList; + data['GetItemCreationNtfBodyList'] = this.getItemCreationNtfBodyList; + data['GetItemTypeNotificationsList'] = this.getItemTypeNotificationsList; + data['GetItemTypesList'] = this.getItemTypesList; + data['GetLookupValuesList'] = this.getLookupValuesList; + data['GetMenuEntriesList'] = this.getMenuEntriesList; + data['GetMoItemHistoryList'] = this.getMoItemHistoryList; + data['GetMoNotificationBodyList'] = this.getMoNotificationBodyList; + data['GetNotificationButtonsList'] = this.getNotificationButtonsList; + data['GetNotificationReassignModeList'] = this.getNotificationReassignModeList; + data['GetObjectValuesList'] = this.getObjectValuesList; + data['GetOpenMissingSwipesList'] = this.getOpenMissingSwipesList; + data['GetOpenNotificationsList'] = this.getOpenNotificationsList; + data['GetOpenNotificationsNumList'] = this.getOpenNotificationsNumList; + data['GetOpenPeriodDatesList'] = this.getOpenPeriodDatesList; + data['GetOrganizationsSalariesList'] = this.getOrganizationsSalariesList; + data['GetPaymentInformationList'] = this.getPaymentInformationList; + data['GetPayslipList'] = this.getPayslipList; + data['GetPendingReqDetailsList'] = this.getPendingReqDetailsList; + data['GetPendingReqFunctionsList'] = this.getPendingReqFunctionsList; + data['GetPerformanceAppraisalList'] = this.getPerformanceAppraisalList; + data['GetPhonesNotificationBodyList'] = this.getPhonesNotificationBodyList; + data['GetPoItemHistoryList'] = this.getPoItemHistoryList; + data['GetPoNotificationBodyList'] = this.getPoNotificationBodyList; + data['GetPrNotificationBodyList'] = this.getPrNotificationBodyList; + data['GetQuotationAnalysisList'] = this.getQuotationAnalysisList; + data['GetRFCEmployeeListList'] = this.getRFCEmployeeListList; + data['GetRespondAttributeValueList'] = this.getRespondAttributeValueList; + data['GetSITCollectionNotificationBodyList'] = this.getSITCollectionNotificationBodyList; + data['GetSITDFFStructureList'] = this.getSITDFFStructureList; + data['GetSITTransactionList'] = this.getSITTransactionList; + data['GetScheduleShiftsDetailsList'] = this.getScheduleShiftsDetailsList; + data['GetShiftTypesList'] = this.getShiftTypesList; + data['GetStampMsNotificationBodyList'] = this.getStampMsNotificationBodyList; + data['GetStampNsNotificationBodyList'] = this.getStampNsNotificationBodyList; + data['GetSubordinatesAttdStatusList'] = this.getSubordinatesAttdStatusList; + data['GetSubordinatesLeavesList'] = this.getSubordinatesLeavesList; + data['GetSubordinatesLeavesTotalVacationsList'] = this.getSubordinatesLeavesTotalVacationsList; + data['GetSummaryOfPaymentList'] = this.getSummaryOfPaymentList; + data['GetSwipesList'] = this.getSwipesList; + data['GetTermColsStructureList'] = this.getTermColsStructureList; + data['GetTermDffStructureList'] = this.getTermDffStructureList; + data['GetTermNotificationBodyList'] = this.getTermNotificationBodyList; + data['GetTimeCardSummaryList'] = this.getTimeCardSummaryList; + data['GetUserItemTypesList'] = this.getUserItemTypesList; + data['GetVacationRulesList'] = this.getVacationRulesList; + data['GetVaccinationOnHandList'] = this.getVaccinationOnHandList; + data['GetVaccinationsList'] = this.getVaccinationsList; + data['GetValueSetValuesList'] = this.getValueSetValuesList; + data['GetWorkList'] = this.getWorkList; + data['HRCertificateTemplate'] = this.hRCertificateTemplate; + data['ImgURLsList'] = this.imgURLsList; + data['InsertApInv'] = this.insertApInv; + data['InsertBooked'] = this.insertBooked; + data['InsertEmpSwipesList'] = this.insertEmpSwipesList; + data['InsertJournal'] = this.insertJournal; + data['InsertOrders'] = this.insertOrders; + data['IntPortalGetEmployeeList'] = this.intPortalGetEmployeeList; + data['IsDeviceTokenEmpty'] = this.isDeviceTokenEmpty; + data['IsPasswordExpired'] = this.isPasswordExpired; + data['IsRegisterAllowed'] = this.isRegisterAllowed; + data['IsRequriedValueSetEmpty'] = this.isRequriedValueSetEmpty; + data['IsUserSMSExcluded'] = this.isUserSMSExcluded; + data['ItemOnHand'] = this.itemOnHand; + data['LanguageAvailable'] = this.languageAvailable; + data['ListSupplier'] = this.listSupplier; + data['ListUserAgreement'] = this.listUserAgreement; + data['List_EITStrucrure'] = this.listEITStrucrure; + data['List_ItemImagesDetails'] = this.listItemImagesDetails; + data['List_ItemMaster'] = this.listItemMaster; + data['List_MedicineDetails'] = this.listMedicineDetails; + data['List_Menu'] = this.listMenu; + data['List_NewEmployees'] = this.listNewEmployees; + data['List_RadScreen'] = this.listRadScreen; + data['LogInTokenID'] = this.logInTokenID; + data['MemberInformationList'] = this.memberInformationList; + data['MemberLoginList'] = this.memberLoginList; + data['Mohemm_GetBusinessCardEnabledList'] = this.mohemmGetBusinessCardEnabledList; + data['Mohemm_GetFavoriteReplacementsList'] = this.mohemmGetFavoriteReplacementsList; + data['Mohemm_GetMobileDeviceInfobyEmpInfoList'] = this.mohemmGetMobileDeviceInfobyEmpInfoList; + data['Mohemm_GetMobileLoginInfoList'] = this.mohemmGetMobileLoginInfoList; + data['Mohemm_GetPatientID_List'] = this.mohemmGetPatientIDList; + data['Mohemm_ITG_ResponseItem'] = this.mohemmITGResponseItem; + data['Mohemm_IsChangeIsActiveBusinessCardEnable'] = this.mohemmIsChangeIsActiveBusinessCardEnable; + data['Mohemm_IsInsertBusinessCardEnable'] = this.mohemmIsInsertBusinessCardEnable; + data['Mohemm_Wifi_Password'] = this.mohemmWifiPassword; + data['Mohemm_Wifi_SSID'] = this.mohemmWifiSSID; + data['NotificationAction'] = this.notificationAction; + data['NotificationGetRespondAttributesList'] = this.notificationGetRespondAttributesList; + data['NotificationRespondRolesList'] = this.notificationRespondRolesList; + data['OracleOutPutNumber'] = this.oracleOutPutNumber; + data['PASSWORD_EXPIRED_MSG'] = this.pASSWORDEXPIREDMSG; + data['P_COUNTRY_CODE'] = this.pCOUNTRYCODE; + data['P_COUNTRY_NAME'] = this.pCOUNTRYNAME; + data['P_DESC_FLEX_CONTEXT_CODE'] = this.pDESCFLEXCONTEXTCODE; + data['P_DESC_FLEX_CONTEXT_NAME'] = this.pDESCFLEXCONTEXTNAME; + data['P_Form'] = this.pForm; + data['P_INFORMATION'] = this.pINFORMATION; + data['P_MBL_ID'] = this.pMBLID; + data['P_NUM_OF_SUBORDINATES'] = this.pNUMOFSUBORDINATES; + data['P_OPEN_NTF_NUMBER'] = this.pOPENNTFNUMBER; + data['P_QUESTION'] = this.pQUESTION; + data['P_SESSION_ID'] = this.pSESSIONID; + data['P_Schema'] = this.pSchema; + data['PharmacyStock_AddPharmacyStockList'] = this.pharmacyStockAddPharmacyStockList; + data['PharmacyStock_GetOnHandList'] = this.pharmacyStockGetOnHandList; + data['Privilege_List'] = this.privilegeList; + data['ProcessTransactions'] = this.processTransactions; + data['RegisterUserNameList'] = this.registerUserNameList; + data['ReplacementList'] = this.replacementList; + data['RespondAttributesList'] = this.respondAttributesList; + data['RespondRolesList'] = this.respondRolesList; + data['ResubmitAbsenceTransactionList'] = this.resubmitAbsenceTransactionList; + data['ResubmitEITTransactionList'] = this.resubmitEITTransactionList; + data['ResubmitHrTransactionList'] = this.resubmitHrTransactionList; + data['SFH_GetPoNotificationBodyList'] = this.sFHGetPoNotificationBodyList; + data['SFH_GetPrNotificationBodyList'] = this.sFHGetPrNotificationBodyList; + data['StartAbsenceApprovalProccess'] = this.startAbsenceApprovalProccess; + data['StartAddressApprovalProcessList'] = this.startAddressApprovalProcessList; + data['StartBasicDetApprProcessList'] = this.startBasicDetApprProcessList; + data['StartCeiApprovalProcess'] = this.startCeiApprovalProcess; + data['StartContactApprovalProcessList'] = this.startContactApprovalProcessList; + data['StartEitApprovalProcess'] = this.startEitApprovalProcess; + data['StartHrApprovalProcessList'] = this.startHrApprovalProcessList; + data['StartPhonesApprovalProcessList'] = this.startPhonesApprovalProcessList; + data['StartSitApprovalProcess'] = this.startSitApprovalProcess; + data['StartTermApprovalProcessList'] = this.startTermApprovalProcessList; + data['SubmitAddressTransactionList'] = this.submitAddressTransactionList; + data['SubmitBasicDetTransactionList'] = this.submitBasicDetTransactionList; + data['SubmitCEITransactionList'] = this.submitCEITransactionList; + data['SubmitCcpTransactionList'] = this.submitCcpTransactionList; + data['SubmitContactTransactionList'] = this.submitContactTransactionList; + data['SubmitEITTransactionList'] = this.submitEITTransactionList; + data['SubmitHrTransactionList'] = this.submitHrTransactionList; + data['SubmitPhonesTransactionList'] = this.submitPhonesTransactionList; + data['SubmitSITTransactionList'] = this.submitSITTransactionList; + data['SubmitTermTransactionList'] = this.submitTermTransactionList; + data['SubordinatesOnLeavesList'] = this.subordinatesOnLeavesList; + data['SumbitAbsenceTransactionList'] = this.sumbitAbsenceTransactionList; + data['TokenID'] = this.tokenID; + data['UpdateAttachmentList'] = this.updateAttachmentList; + data['UpdateEmployeeImageList'] = this.updateEmployeeImageList; + data['UpdateItemTypeSuccessList'] = this.updateItemTypeSuccessList; + data['UpdateUserItemTypesList'] = this.updateUserItemTypesList; + data['UpdateVacationRuleList'] = this.updateVacationRuleList; + data['VHR_EmployeeLoginList'] = this.vHREmployeeLoginList; + data['VHR_GetEmployeeDetailsList'] = this.vHRGetEmployeeDetailsList; + data['VHR_GetManagersDetailsList'] = this.vHRGetManagersDetailsList; + data['VHR_GetProjectByCodeList'] = this.vHRGetProjectByCodeList; + data['VHR_IsVerificationCodeValid'] = this.vHRIsVerificationCodeValid; + data['ValidateAbsenceTransactionList'] = this.validateAbsenceTransactionList; + data['ValidateEITTransactionList'] = this.validateEITTransactionList; + data['ValidatePhonesTransactionList'] = this.validatePhonesTransactionList; + data['VrItemTypesList'] = this.vrItemTypesList; + data['WFLookUpList'] = this.wFLookUpList; + data['eLearning_GET_EMPLOYEE_PROFILEList'] = this.eLearningGETEMPLOYEEPROFILEList; + data['eLearning_LOGINList'] = this.eLearningLOGINList; + data['eLearning_ValidateLoginList'] = this.eLearningValidateLoginList; + data['eLearning_Validate_LoginList'] = this.eLearningValidateLoginList; + data['ePharmacy_GetItemOnHandList'] = this.ePharmacyGetItemOnHandList; + data['isActiveCode'] = this.isActiveCode; + data['isSMSSent'] = this.isSMSSent; + return data; + } +} diff --git a/lib/models/member_login_list_model.dart b/lib/models/member_login_list_model.dart new file mode 100644 index 0000000..ffbc942 --- /dev/null +++ b/lib/models/member_login_list_model.dart @@ -0,0 +1,48 @@ +class MemberLoginListModel { + String? pEMAILADDRESS; + String? pINVALIDLOGINMSG; + String? pLEGISLATIONCODE; + String? pMOBILENUMBER; + String? pPASSOWRDEXPIRED; + String? pPASSWORDEXPIREDMSG; + String? pRETURNMSG; + String? pRETURNSTATUS; + int? pSESSIONID; + + MemberLoginListModel( + {this.pEMAILADDRESS, + this.pINVALIDLOGINMSG, + this.pLEGISLATIONCODE, + this.pMOBILENUMBER, + this.pPASSOWRDEXPIRED, + this.pPASSWORDEXPIREDMSG, + this.pRETURNMSG, + this.pRETURNSTATUS, + this.pSESSIONID}); + + MemberLoginListModel.fromJson(Map json) { + pEMAILADDRESS = json['P_EMAIL_ADDRESS']; + pINVALIDLOGINMSG = json['P_INVALID_LOGIN_MSG']; + pLEGISLATIONCODE = json['P_LEGISLATION_CODE']; + pMOBILENUMBER = json['P_MOBILE_NUMBER']; + pPASSOWRDEXPIRED = json['P_PASSOWRD_EXPIRED']; + pPASSWORDEXPIREDMSG = json['P_PASSWORD_EXPIRED_MSG']; + pRETURNMSG = json['P_RETURN_MSG']; + pRETURNSTATUS = json['P_RETURN_STATUS']; + pSESSIONID = json['P_SESSION_ID']; + } + + Map toJson() { + final Map data = new Map(); + data['P_EMAIL_ADDRESS'] = this.pEMAILADDRESS; + data['P_INVALID_LOGIN_MSG'] = this.pINVALIDLOGINMSG; + data['P_LEGISLATION_CODE'] = this.pLEGISLATIONCODE; + data['P_MOBILE_NUMBER'] = this.pMOBILENUMBER; + data['P_PASSOWRD_EXPIRED'] = this.pPASSOWRDEXPIRED; + data['P_PASSWORD_EXPIRED_MSG'] = this.pPASSWORDEXPIREDMSG; + data['P_RETURN_MSG'] = this.pRETURNMSG; + data['P_RETURN_STATUS'] = this.pRETURNSTATUS; + data['P_SESSION_ID'] = this.pSESSIONID; + return data; + } +} diff --git a/lib/models/member_model.dart b/lib/models/member_model.dart deleted file mode 100644 index d968827..0000000 --- a/lib/models/member_model.dart +++ /dev/null @@ -1,62 +0,0 @@ -class MemberModel { - int? totalItemsCount; - int? statusCode; - String? message; - List? data; - - MemberModel({this.totalItemsCount, this.statusCode, this.message, this.data}); - - MemberModel.fromJson(Map json) { - totalItemsCount = json['totalItemsCount']; - statusCode = json['statusCode']; - message = json['message']; - if (json['data'] != null) { - data = []; - json['data'].forEach((v) { - data?.add(new MemberDataModel.fromJson(v)); - }); - } - } - - Map toJson() { - final Map data = new Map(); - data['totalItemsCount'] = this.totalItemsCount; - data['statusCode'] = this.statusCode; - data['message'] = this.message; - if (this.data != null) { - data['data'] = this.data?.map((v) => v.toJson()).toList(); - } - return data; - } -} - -class MemberDataModel { - int? committeeId; - String? firstName; - String? lastName; - String? description; - String? picture; - int? orderNo; - - MemberDataModel({this.committeeId, this.firstName, this.lastName, this.description, this.picture, this.orderNo}); - - MemberDataModel.fromJson(Map json) { - committeeId = json['committeeId']; - firstName = json['firstName']; - lastName = json['lastName']; - description = json['description']; - picture = json['picture']; - orderNo = json['orderNo']; - } - - Map toJson() { - final Map data = new Map(); - data['committeeId'] = this.committeeId; - data['firstName'] = this.firstName; - data['lastName'] = this.lastName; - data['description'] = this.description; - data['picture'] = this.picture; - data['orderNo'] = this.orderNo; - return data; - } -} diff --git a/lib/theme/app_theme.dart b/lib/theme/app_theme.dart index aed8437..c28da2f 100644 --- a/lib/theme/app_theme.dart +++ b/lib/theme/app_theme.dart @@ -15,6 +15,9 @@ class AppTheme { }, ), hintColor: Colors.grey[400], + colorScheme: ColorScheme.fromSwatch( + + ), disabledColor: Colors.grey[300], errorColor: const Color.fromRGBO(235, 80, 60, 1.0), scaffoldBackgroundColor: MyColors.backgroundColor, diff --git a/lib/ui/landing/today_attendance_screen.dart b/lib/ui/landing/today_attendance_screen.dart index 0ba3791..ac42dd1 100644 --- a/lib/ui/landing/today_attendance_screen.dart +++ b/lib/ui/landing/today_attendance_screen.dart @@ -43,7 +43,7 @@ class _TodayAttendanceScreenState extends State { children: [ Container( color: MyColors.backgroundBlackColor, - padding: EdgeInsets.only(left: 21, right: 21, bottom: 21), + padding: EdgeInsets.only(top: 4,left: 21, right: 21, bottom: 21), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ diff --git a/lib/ui/login/new_password_screen.dart b/lib/ui/login/new_password_screen.dart index dca855e..5774298 100644 --- a/lib/ui/login/new_password_screen.dart +++ b/lib/ui/login/new_password_screen.dart @@ -35,32 +35,39 @@ class _NewPasswordScreenState extends State { @override Widget build(BuildContext context) { return Scaffold( + appBar: AppBar( + backgroundColor: Colors.transparent, + leading: IconButton( + icon: const Icon(Icons.arrow_back_ios, color: MyColors.darkIconColor), + onPressed: () => Navigator.pop(context), + ), + ), body: Column( children: [ - const SizedBox(height: 23), + //const SizedBox(height: 23), Expanded( child: Padding( padding: const EdgeInsets.all(21.0), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ - Row( - children: [ - Expanded(child: SizedBox()), - Row( - children: [ - LocaleKeys.english.tr().toText14(color: MyColors.textMixColor).onPress(() {}), - Container( - width: 1, - color: MyColors.darkWhiteColor, - height: 16, - margin: const EdgeInsets.only(left: 10, right: 10), - ), - LocaleKeys.arabic.tr().toText14().onPress(() {}), - ], - ), - ], - ), + // Row( + // children: [ + // Expanded(child: SizedBox()), + // Row( + // children: [ + // LocaleKeys.english.tr().toText14(color: MyColors.textMixColor).onPress(() {}), + // Container( + // width: 1, + // color: MyColors.darkWhiteColor, + // height: 16, + // margin: const EdgeInsets.only(left: 10, right: 10), + // ), + // LocaleKeys.arabic.tr().toText14().onPress(() {}), + // ], + // ), + // ], + // ), Expanded( child: Column( mainAxisSize: MainAxisSize.min,