465 lines
9.4 KiB
Dart
465 lines
9.4 KiB
Dart
class Url {
|
|
static final Url _instance = Url();
|
|
|
|
static Url get instance => _instance;
|
|
|
|
String host() {
|
|
// return '192.168.10.183:3000';
|
|
// return 'agusandelnorte.gov.ph';
|
|
return "192.168.10.219:3000";
|
|
// return "192.168.10.241";
|
|
// return "192.168.10.221:3004";
|
|
// return "playweb.agusandelnorte.gov.ph";
|
|
// return 'devapi.agusandelnorte.gov.ph:3004';
|
|
}
|
|
|
|
String prefixHost() {
|
|
return "https";
|
|
// return "http";
|
|
}
|
|
|
|
String authentication() {
|
|
return '/api/account/auth/login/';
|
|
}
|
|
|
|
String profileInformation() {
|
|
return 'api/jobnet_app/profile/pds/';
|
|
}
|
|
|
|
String latestApk() {
|
|
return "/api/system_app/apk_version/latest";
|
|
}
|
|
|
|
////SOS paths
|
|
String sosRequest() {
|
|
return "/api/sos_app/sos_request/";
|
|
}
|
|
|
|
//// DOCSMS paths
|
|
String getDocument() {
|
|
return "/api/web_app/public/document_viewer/";
|
|
}
|
|
|
|
////ELIGIBILITIES PATHS
|
|
String eligibilities() {
|
|
return "/api/jobnet_app/eligibilities/";
|
|
}
|
|
|
|
String getEligibilities() {
|
|
return "/api/jobnet_app/profile/pds/eligibility/";
|
|
}
|
|
|
|
String addEligibility() {
|
|
return "/api/jobnet_app/profile/pds/eligibility/";
|
|
}
|
|
|
|
String deleteEligibility() {
|
|
return "/api/jobnet_app/profile/pds/eligibility/";
|
|
}
|
|
|
|
String updateEligibility() {
|
|
return "/api/jobnet_app/profile/pds/eligibility/";
|
|
}
|
|
|
|
//// work history paths
|
|
String workhistory() {
|
|
return "/api/jobnet_app/profile/pds/work_experience/";
|
|
}
|
|
|
|
String deleteWorkHistory() {
|
|
return "/api/jobnet_app/profile/pds/work/";
|
|
}
|
|
|
|
String getPositions() {
|
|
return "/api/jobnet_app/positions/";
|
|
}
|
|
|
|
String getAgencies() {
|
|
return "/api/jobnet_app/agencies/";
|
|
}
|
|
|
|
String getAgencyCategory() {
|
|
return "api/jobnet_app/agency_categories/";
|
|
}
|
|
|
|
String identifications() {
|
|
return "/api/jobnet_app/profile/pds/basic/identification/";
|
|
}
|
|
|
|
////educational background paths
|
|
String educationalBackground() {
|
|
return "/api/jobnet_app/profile/pds/education/";
|
|
}
|
|
|
|
String getSchools() {
|
|
return "/api/jobnet_app/schools/";
|
|
}
|
|
|
|
String getPrograms() {
|
|
return "api/jobnet_app/education_programs/";
|
|
}
|
|
|
|
String getHonors() {
|
|
return "/api/jobnet_app/honors";
|
|
}
|
|
|
|
//// learning and development paths
|
|
|
|
String learningAndDevelopments() {
|
|
return "api/jobnet_app/profile/pds/learning_development/";
|
|
}
|
|
|
|
String conductedTrainings() {
|
|
return "api/jobnet_app/conducted_trainings/";
|
|
}
|
|
|
|
String learningAndDevelopmentType() {
|
|
return "api/jobnet_app/learning_development/";
|
|
}
|
|
|
|
String learningAndDevelopmentTopics() {
|
|
return "api/jobnet_app/training_topics/";
|
|
}
|
|
|
|
//// references paths
|
|
String reference() {
|
|
return "/api/jobnet_app/profile/pds/personal_reference/";
|
|
}
|
|
|
|
////voluntary works
|
|
String getVoluntaryWorks() {
|
|
return "/api/jobnet_app/profile/pds/voluntary_work/";
|
|
}
|
|
|
|
//// skills hobbies
|
|
String skillsHobbies() {
|
|
return "/api/jobnet_app/profile/pds/other/skill_hobby/";
|
|
}
|
|
|
|
String getAllSkillsHobbies() {
|
|
return "/api/jobnet_app/skill_hobby/";
|
|
}
|
|
|
|
//// orgmemberships
|
|
String getOrgMemberShips() {
|
|
return "/api/jobnet_app/profile/pds/other/org_membership/";
|
|
}
|
|
|
|
////non academic recognition
|
|
String getNonAcademicRecognition() {
|
|
return "/api/jobnet_app/profile/pds/other/non_acad_recognition/";
|
|
}
|
|
|
|
////citizenship
|
|
String citizenship() {
|
|
return "/api/jobnet_app/profile/pds/basic/citizenship/";
|
|
}
|
|
|
|
////family paths
|
|
String getFamilies() {
|
|
return "/api/jobnet_app/profile/pds/family/";
|
|
}
|
|
|
|
String addEmergency() {
|
|
return "/api/profile_app/person_emergency/";
|
|
}
|
|
|
|
String getRelationshipTypes() {
|
|
return "/api/jobnet_app/relationship_types";
|
|
}
|
|
|
|
String updatePersonalInfor() {
|
|
return "/api/jobnet_app/profile/pds/basic/personal/";
|
|
}
|
|
|
|
//// contacts path
|
|
String getServiceTypes() {
|
|
return "/api/jobnet_app/comm_service_type/";
|
|
}
|
|
|
|
String attachments() {
|
|
return "/api/jobnet_app/profile/attachment/";
|
|
}
|
|
|
|
//// address path
|
|
String addressPath() {
|
|
return "/api/jobnet_app/profile/pds/basic/address/";
|
|
}
|
|
|
|
String contactPath() {
|
|
return "/api/jobnet_app/profile/pds/basic/contact/";
|
|
}
|
|
|
|
String getCommunicationProvider() {
|
|
return "/api/jobnet_app/comm_services/";
|
|
}
|
|
|
|
String deleteContact() {
|
|
return "/api/jobnet_app/profile/pds/basic/contact/";
|
|
}
|
|
|
|
////profile other info
|
|
String getReligions() {
|
|
return "/api/profile_app/religion/";
|
|
}
|
|
|
|
String getEthnicity() {
|
|
return "/api/profile_app/ethnicity/";
|
|
}
|
|
|
|
String getDisability() {
|
|
return "api/profile_app/disability/";
|
|
}
|
|
|
|
String getIndigency() {
|
|
return "/api/profile_app/indigenous/";
|
|
}
|
|
|
|
String getGenders() {
|
|
return "/api/profile_app/gender/";
|
|
}
|
|
|
|
/////ROLES
|
|
// pass check
|
|
String getAssignAreas() {
|
|
return "/api/account/auth/assigned_role_area/";
|
|
}
|
|
|
|
String getPasserInfo() {
|
|
return "/api/profile_app/person_basicinfo/";
|
|
}
|
|
|
|
String postLogs() {
|
|
return "/api/unit2_app/monitoring/pass_check/";
|
|
}
|
|
|
|
String passCheck() {
|
|
return "/api/unit2_app/monitoring/pass_check";
|
|
}
|
|
////rbac
|
|
|
|
String getRbacRoles() {
|
|
return "/api/account/auth/roles/";
|
|
}
|
|
|
|
String searchUsers() {
|
|
return "/api/hrms_app/employee_details/";
|
|
}
|
|
|
|
String assignRbac() {
|
|
return "/api/account/auth/rbac/";
|
|
}
|
|
|
|
////rbac operations
|
|
String getRbacOperations() {
|
|
return "/api/account/auth/operations/";
|
|
}
|
|
|
|
String getPersmissions() {
|
|
return "/api/account/auth/permissionrbac/";
|
|
}
|
|
|
|
String getRoles() {
|
|
return "/api/account/auth/roles/";
|
|
}
|
|
|
|
String getOperations() {
|
|
return "/api/account/auth/operations/";
|
|
}
|
|
|
|
String getModules() {
|
|
return "/api/account/auth/modules/";
|
|
}
|
|
|
|
String getObject() {
|
|
return "/api/account/auth/objects/";
|
|
}
|
|
|
|
String getModuleObjects() {
|
|
return "/api/account/auth/moduleobject/";
|
|
}
|
|
|
|
String agencies() {
|
|
return "/api/jobnet_app/agencies/";
|
|
}
|
|
|
|
String postAgencies() {
|
|
return "/api/profile_app/agencies/";
|
|
}
|
|
|
|
String getRoleModules() {
|
|
return "/api/account/auth/rolemodules/";
|
|
}
|
|
|
|
String getRolesUnder() {
|
|
return "/api/account/auth/rolesunder/";
|
|
}
|
|
|
|
String getRoleExtend() {
|
|
return "/api/account/auth/rolesextend/";
|
|
}
|
|
|
|
String getStation() {
|
|
return "/api/hrms_app/station/";
|
|
}
|
|
|
|
String postStation() {
|
|
return "/api/hrms_app/stations/";
|
|
}
|
|
|
|
String getRoleAssignment() {
|
|
return "api/account/auth/role_assignment/";
|
|
}
|
|
|
|
String getStationType() {
|
|
return "/api/hrms_app/station_type/";
|
|
}
|
|
|
|
String getPositionTitle() {
|
|
return "/api/hrms_app/position_title/";
|
|
}
|
|
|
|
String getAssignedAreas() {
|
|
return "/api/account/auth/assigned_role_area";
|
|
}
|
|
|
|
//// location utils path
|
|
String getCounties() {
|
|
return "/api/jobnet_app/countries/";
|
|
}
|
|
|
|
String getRegions() {
|
|
return "/api/web_app/location/region/";
|
|
}
|
|
|
|
String getProvinces() {
|
|
return "api/web_app/location/province/";
|
|
}
|
|
|
|
String getCities() {
|
|
return "/api/web_app/location/citymun/";
|
|
}
|
|
|
|
String getBarangays() {
|
|
return "/api/web_app/location/barangay/";
|
|
}
|
|
|
|
String getAddressCategory() {
|
|
return "/api/jobnet_app/address_categories/";
|
|
}
|
|
|
|
////passo path
|
|
|
|
String additionalItems() {
|
|
return "/api/rptass_app/additional_items/";
|
|
}
|
|
|
|
String generalDescription() {
|
|
return "/api/rptass_app/bldgappr_gendesc/";
|
|
}
|
|
|
|
String landRef() {
|
|
return "/api/rptass_app/bldgappr_landref/";
|
|
}
|
|
|
|
String bldgLocation() {
|
|
return "/api/rptass_app/bldgappr_location/";
|
|
}
|
|
|
|
String propertyAppraisal() {
|
|
return "/api/rptass_app/property_appraisal/";
|
|
}
|
|
|
|
String propertyAssessment() {
|
|
return "/api/rptass_app/property_assessment/";
|
|
}
|
|
|
|
String propertyInfo() {
|
|
return "/api/rptass_app/bldgappr_details/";
|
|
}
|
|
|
|
String structuralMaterials() {
|
|
return "/api/rptass_app/structural_materials/";
|
|
}
|
|
|
|
String getBarangay() {
|
|
return "/api/rptass_app/agusan_barangay/";
|
|
}
|
|
|
|
String getClassComponents() {
|
|
return "/api/rptass_app/class_components/";
|
|
}
|
|
|
|
String getMunicipality() {
|
|
return "/api/rptass_app/agusan_city/";
|
|
}
|
|
|
|
String getSignatories() {
|
|
return "/api/rptass_app/signatories/";
|
|
}
|
|
|
|
String getUnitConstruct() {
|
|
return "/api/rptass_app/unitconstruct_values/";
|
|
}
|
|
|
|
String getMemoranda() {
|
|
return "/api/rptass_app/bldg_memoranda/";
|
|
}
|
|
|
|
String getLandOwnerInfo() {
|
|
return "/api/rptass_app/landappr_details/";
|
|
}
|
|
|
|
String getLandAppraisal() {
|
|
return "/api/rptass_app/landappr/";
|
|
}
|
|
|
|
String getLandClassification() {
|
|
return "/api/rptass_app/appraisal_classification/";
|
|
}
|
|
|
|
String getLandSubClassification() {
|
|
return "/api/rptass_app/appraisal_subclassification/";
|
|
}
|
|
|
|
String getLandPropertyLoc() {
|
|
return "/api/rptass_app/landappr_propertyloc/";
|
|
}
|
|
|
|
String getLandPropertyBoundaries() {
|
|
return "/api/rptass_app/landappr_prptybounderies/";
|
|
}
|
|
|
|
String getOtherImprovements() {
|
|
return "/api/rptass_app/landappr_plants_trees/";
|
|
}
|
|
|
|
String getTreesImprovements() {
|
|
return "/api/rptass_app/appraisal_improvement_price/";
|
|
}
|
|
|
|
String getValueAdjustmentss() {
|
|
return "/api/rptass_app/landappr_value_adjustment/";
|
|
}
|
|
|
|
String getTypeOfRoad() {
|
|
return "/api/rptass_app/appraisal_road_type/";
|
|
}
|
|
|
|
String getTypeOfLocation() {
|
|
return "/api/rptass_app/appraisal_location_type/";
|
|
}
|
|
|
|
String getLandPropertyAssessment() {
|
|
return "/api/rptass_app/landappr_property_assessment/";
|
|
}
|
|
|
|
String getLandExt() {
|
|
return '/api/rptass_app/landappr_propertyass_extn/';
|
|
}
|
|
|
|
String attachmentCategories() {
|
|
return "/api/jobnet_app/attachment_categories/";
|
|
}
|
|
}
|