2023-02-01 08:03:05 +00:00
|
|
|
class Url {
|
2023-01-17 07:52:31 +00:00
|
|
|
static final Url _instance = Url();
|
2023-06-06 06:54:51 +00:00
|
|
|
|
2023-01-18 07:54:44 +00:00
|
|
|
static Url get instance => _instance;
|
2023-01-17 07:52:31 +00:00
|
|
|
|
2023-02-01 08:03:05 +00:00
|
|
|
String host() {
|
2023-07-28 02:35:36 +00:00
|
|
|
// return '192.168.10.183:3000';
|
2023-09-01 03:22:48 +00:00
|
|
|
return 'agusandelnorte.gov.ph';
|
2023-06-06 06:54:51 +00:00
|
|
|
// return "192.168.10.219:3000";
|
2023-08-15 06:32:21 +00:00
|
|
|
// return "192.168.10.241";
|
2023-09-01 03:22:48 +00:00
|
|
|
// return "192.168.10.221:3004";
|
2023-05-22 02:23:56 +00:00
|
|
|
// return "playweb.agusandelnorte.gov.ph";
|
2023-05-02 00:26:42 +00:00
|
|
|
// return 'devapi.agusandelnorte.gov.ph:3004';
|
2023-01-17 07:52:31 +00:00
|
|
|
}
|
|
|
|
|
2023-09-01 03:58:52 +00:00
|
|
|
String prefixHost() {
|
2023-08-27 08:38:05 +00:00
|
|
|
return "https";
|
2023-09-01 05:41:51 +00:00
|
|
|
// return "http";
|
2023-08-27 08:38:05 +00:00
|
|
|
}
|
2023-01-17 07:52:31 +00:00
|
|
|
|
2023-02-01 08:03:05 +00:00
|
|
|
String authentication() {
|
2023-01-19 05:21:12 +00:00
|
|
|
return '/api/account/auth/login/';
|
2023-01-17 07:52:31 +00:00
|
|
|
}
|
2023-01-18 07:54:44 +00:00
|
|
|
|
2023-07-28 02:35:36 +00:00
|
|
|
String profileInformation() {
|
2023-03-02 00:40:47 +00:00
|
|
|
return 'api/jobnet_app/profile/pds/';
|
2023-02-01 08:03:05 +00:00
|
|
|
}
|
2023-02-15 08:48:34 +00:00
|
|
|
|
2023-09-01 05:41:51 +00:00
|
|
|
|
2023-07-28 02:35:36 +00:00
|
|
|
String latestApk() {
|
2023-02-23 05:51:53 +00:00
|
|
|
return "/api/system_app/apk_version/latest";
|
|
|
|
}
|
|
|
|
|
2023-04-13 08:45:19 +00:00
|
|
|
////SOS paths
|
2023-07-28 02:35:36 +00:00
|
|
|
String sosRequest() {
|
2023-04-13 08:45:19 +00:00
|
|
|
return "/api/sos_app/sos_request/";
|
|
|
|
}
|
|
|
|
|
2023-04-25 07:50:36 +00:00
|
|
|
//// DOCSMS paths
|
2023-07-28 02:35:36 +00:00
|
|
|
String getDocument() {
|
2023-04-25 07:50:36 +00:00
|
|
|
return "/api/web_app/public/document_viewer/";
|
|
|
|
}
|
|
|
|
|
2023-03-02 00:40:47 +00:00
|
|
|
////ELIGIBILITIES PATHS
|
2023-07-28 02:35:36 +00:00
|
|
|
String eligibilities() {
|
|
|
|
return "/api/jobnet_app/eligibilities/";
|
|
|
|
}
|
2023-02-27 06:26:27 +00:00
|
|
|
|
2023-07-28 02:35:36 +00:00
|
|
|
String getEligibilities() {
|
|
|
|
return "/api/jobnet_app/profile/pds/eligibility/";
|
|
|
|
}
|
2023-03-02 00:40:47 +00:00
|
|
|
|
2023-07-28 02:35:36 +00:00
|
|
|
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/";
|
|
|
|
}
|
2023-03-02 00:40:47 +00:00
|
|
|
|
2023-03-02 05:28:33 +00:00
|
|
|
//// work history paths
|
2023-07-28 02:35:36 +00:00
|
|
|
String workhistory() {
|
2023-08-27 08:38:05 +00:00
|
|
|
return "/api/jobnet_app/profile/pds/work_experience/";
|
|
|
|
}
|
2023-09-01 03:58:52 +00:00
|
|
|
|
|
|
|
String deleteWorkHistory() {
|
2023-07-28 02:35:36 +00:00
|
|
|
return "/api/jobnet_app/profile/pds/work/";
|
|
|
|
}
|
2023-03-21 01:37:55 +00:00
|
|
|
|
2023-07-28 02:35:36 +00:00
|
|
|
String getPositions() {
|
|
|
|
return "/api/jobnet_app/positions/";
|
|
|
|
}
|
2023-03-24 06:46:17 +00:00
|
|
|
|
2023-07-28 02:35:36 +00:00
|
|
|
String getAgencies() {
|
|
|
|
return "/api/jobnet_app/agencies/";
|
|
|
|
}
|
|
|
|
|
|
|
|
String getAgencyCategory() {
|
|
|
|
return "api/jobnet_app/agency_categories/";
|
|
|
|
}
|
2023-05-11 00:04:53 +00:00
|
|
|
|
2023-07-28 02:35:36 +00:00
|
|
|
String identifications() {
|
|
|
|
return "/api/jobnet_app/profile/pds/basic/identification/";
|
|
|
|
}
|
2023-03-02 00:40:47 +00:00
|
|
|
|
2023-03-02 06:59:40 +00:00
|
|
|
////educational background paths
|
2023-07-28 02:35:36 +00:00
|
|
|
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";
|
|
|
|
}
|
2023-03-02 06:59:40 +00:00
|
|
|
|
2023-03-02 08:22:31 +00:00
|
|
|
//// learning and development paths
|
|
|
|
|
2023-07-28 02:35:36 +00:00
|
|
|
String learningAndDevelopments() {
|
|
|
|
return "api/jobnet_app/profile/pds/learning_development/";
|
|
|
|
}
|
2023-03-02 08:22:31 +00:00
|
|
|
|
2023-07-28 02:35:36 +00:00
|
|
|
String conductedTrainings() {
|
|
|
|
return "api/jobnet_app/conducted_trainings/";
|
|
|
|
}
|
|
|
|
|
|
|
|
String learningAndDevelopmentType() {
|
|
|
|
return "api/jobnet_app/learning_development/";
|
|
|
|
}
|
2023-03-06 00:57:39 +00:00
|
|
|
|
2023-07-28 02:35:36 +00:00
|
|
|
String learningAndDevelopmentTopics() {
|
|
|
|
return "api/jobnet_app/training_topics/";
|
|
|
|
}
|
|
|
|
|
|
|
|
//// references paths
|
|
|
|
String reference() {
|
|
|
|
return "/api/jobnet_app/profile/pds/personal_reference/";
|
|
|
|
}
|
2023-03-06 01:50:20 +00:00
|
|
|
|
|
|
|
////voluntary works
|
2023-07-28 02:35:36 +00:00
|
|
|
String getVoluntaryWorks() {
|
|
|
|
return "/api/jobnet_app/profile/pds/voluntary_work/";
|
|
|
|
}
|
2023-03-06 05:29:38 +00:00
|
|
|
|
|
|
|
//// skills hobbies
|
2023-07-28 02:35:36 +00:00
|
|
|
String skillsHobbies() {
|
|
|
|
return "/api/jobnet_app/profile/pds/other/skill_hobby/";
|
|
|
|
}
|
|
|
|
|
|
|
|
String getAllSkillsHobbies() {
|
|
|
|
return "/api/jobnet_app/skill_hobby/";
|
|
|
|
}
|
|
|
|
|
2023-03-06 05:29:38 +00:00
|
|
|
//// orgmemberships
|
2023-07-28 02:35:36 +00:00
|
|
|
String getOrgMemberShips() {
|
|
|
|
return "/api/jobnet_app/profile/pds/other/org_membership/";
|
|
|
|
}
|
2023-03-06 05:29:38 +00:00
|
|
|
|
2023-03-06 06:16:49 +00:00
|
|
|
////non academic recognition
|
2023-07-28 02:35:36 +00:00
|
|
|
String getNonAcademicRecognition() {
|
|
|
|
return "/api/jobnet_app/profile/pds/other/non_acad_recognition/";
|
|
|
|
}
|
2023-03-06 06:16:49 +00:00
|
|
|
|
2023-06-06 06:54:51 +00:00
|
|
|
////citizenship
|
2023-07-28 02:35:36 +00:00
|
|
|
String citizenship() {
|
|
|
|
return "/api/jobnet_app/profile/pds/basic/citizenship/";
|
|
|
|
}
|
2023-06-06 06:54:51 +00:00
|
|
|
|
2023-03-06 08:29:55 +00:00
|
|
|
////family paths
|
2023-07-28 02:35:36 +00:00
|
|
|
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";
|
|
|
|
}
|
2023-05-11 00:04:53 +00:00
|
|
|
|
2023-07-28 02:35:36 +00:00
|
|
|
String updatePersonalInfor() {
|
|
|
|
return "/api/jobnet_app/profile/pds/basic/personal/";
|
|
|
|
}
|
2023-03-06 08:29:55 +00:00
|
|
|
|
2023-04-05 00:54:24 +00:00
|
|
|
//// contacts path
|
2023-07-28 02:35:36 +00:00
|
|
|
String getServiceTypes() {
|
|
|
|
return "/api/jobnet_app/comm_service_type/";
|
|
|
|
}
|
2023-04-05 00:54:24 +00:00
|
|
|
|
2023-09-01 03:58:52 +00:00
|
|
|
String attachments() {
|
2023-08-01 08:20:38 +00:00
|
|
|
return "/api/jobnet_app/profile/attachment/";
|
|
|
|
}
|
2023-04-05 00:54:24 +00:00
|
|
|
|
2023-05-02 08:42:15 +00:00
|
|
|
//// address path
|
2023-07-28 02:35:36 +00:00
|
|
|
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/";
|
|
|
|
}
|
2023-05-02 08:42:15 +00:00
|
|
|
|
2023-05-22 02:23:56 +00:00
|
|
|
////profile other info
|
2023-07-28 02:35:36 +00:00
|
|
|
String getReligions() {
|
|
|
|
return "/api/profile_app/religion/";
|
|
|
|
}
|
2023-05-22 02:23:56 +00:00
|
|
|
|
2023-07-28 02:35:36 +00:00
|
|
|
String getEthnicity() {
|
|
|
|
return "/api/profile_app/ethnicity/";
|
|
|
|
}
|
2023-05-22 02:23:56 +00:00
|
|
|
|
2023-07-28 02:35:36 +00:00
|
|
|
String getDisability() {
|
|
|
|
return "api/profile_app/disability/";
|
|
|
|
}
|
2023-05-22 02:23:56 +00:00
|
|
|
|
2023-07-28 02:35:36 +00:00
|
|
|
String getIndigency() {
|
|
|
|
return "/api/profile_app/indigenous/";
|
|
|
|
}
|
|
|
|
|
|
|
|
String getGenders() {
|
|
|
|
return "/api/profile_app/gender/";
|
|
|
|
}
|
2023-05-22 02:23:56 +00:00
|
|
|
|
2023-06-21 00:22:43 +00:00
|
|
|
/////ROLES
|
|
|
|
// pass check
|
2023-07-28 02:35:36 +00:00
|
|
|
String getAssignAreas() {
|
|
|
|
return "/api/account/auth/assigned_role_area/";
|
|
|
|
}
|
2023-06-21 00:22:43 +00:00
|
|
|
|
2023-07-28 02:35:36 +00:00
|
|
|
String getPasserInfo() {
|
|
|
|
return "/api/profile_app/person_basicinfo/";
|
|
|
|
}
|
2023-06-21 00:22:43 +00:00
|
|
|
|
2023-07-28 02:35:36 +00:00
|
|
|
String postLogs() {
|
|
|
|
return "/api/unit2_app/monitoring/pass_check/";
|
|
|
|
}
|
2023-03-24 06:46:17 +00:00
|
|
|
|
2023-07-28 02:21:42 +00:00
|
|
|
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/";
|
|
|
|
}
|
|
|
|
|
2023-09-01 03:58:52 +00:00
|
|
|
String postStation() {
|
2023-08-15 06:32:21 +00:00
|
|
|
return "/api/hrms_app/stations/";
|
|
|
|
}
|
2023-07-28 02:21:42 +00:00
|
|
|
|
2023-09-01 03:22:48 +00:00
|
|
|
String getRoleAssignment() {
|
2023-07-28 02:21:42 +00:00
|
|
|
return "api/account/auth/role_assignment/";
|
|
|
|
}
|
2023-03-24 06:46:17 +00:00
|
|
|
|
2023-09-01 03:58:52 +00:00
|
|
|
String getStationType() {
|
2023-08-15 06:32:21 +00:00
|
|
|
return "/api/hrms_app/station_type/";
|
|
|
|
}
|
|
|
|
|
2023-09-01 03:58:52 +00:00
|
|
|
String getPositionTitle() {
|
2023-08-15 06:32:21 +00:00
|
|
|
return "/api/hrms_app/position_title/";
|
|
|
|
}
|
2023-03-24 06:46:17 +00:00
|
|
|
|
2023-05-22 02:23:56 +00:00
|
|
|
//// location utils path
|
2023-07-28 02:35:36 +00:00
|
|
|
String getCounties() {
|
2023-02-15 08:48:34 +00:00
|
|
|
return "/api/jobnet_app/countries/";
|
|
|
|
}
|
2023-07-28 02:35:36 +00:00
|
|
|
|
|
|
|
String getRegions() {
|
2023-02-15 08:48:34 +00:00
|
|
|
return "/api/web_app/location/region/";
|
|
|
|
}
|
2023-07-28 02:35:36 +00:00
|
|
|
|
|
|
|
String getProvinces() {
|
2023-02-16 07:10:54 +00:00
|
|
|
return "api/web_app/location/province/";
|
|
|
|
}
|
2023-07-28 02:35:36 +00:00
|
|
|
|
|
|
|
String getCities() {
|
2023-02-20 07:48:24 +00:00
|
|
|
return "/api/web_app/location/citymun/";
|
|
|
|
}
|
2023-07-28 02:35:36 +00:00
|
|
|
|
|
|
|
String getBarangays() {
|
2023-03-24 06:46:17 +00:00
|
|
|
return "/api/web_app/location/barangay/";
|
|
|
|
}
|
2023-07-28 02:35:36 +00:00
|
|
|
|
|
|
|
String getAddressCategory() {
|
2023-03-24 06:46:17 +00:00
|
|
|
return "/api/jobnet_app/address_categories/";
|
|
|
|
}
|
2023-09-01 03:22:48 +00:00
|
|
|
|
|
|
|
////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/';
|
|
|
|
}
|
2023-09-01 03:58:52 +00:00
|
|
|
|
|
|
|
String attachmentCategories() {
|
2023-08-01 08:20:38 +00:00
|
|
|
return "/api/jobnet_app/attachment_categories/";
|
|
|
|
}
|
2023-07-28 02:35:36 +00:00
|
|
|
}
|