2023-02-01 08:03:05 +00:00
|
|
|
class Url {
|
2023-01-17 07:52:31 +00:00
|
|
|
static final Url _instance = Url();
|
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-03-21 04:57:38 +00:00
|
|
|
// return '192.168.10.221:3003';
|
2023-03-27 08:59:08 +00:00
|
|
|
// return 'agusandelnorte.gov.ph';
|
2023-03-31 02:27:45 +00:00
|
|
|
// return "192.168.10.219:3000";
|
2023-03-21 01:37:55 +00:00
|
|
|
// return "devweb.agusandelnorte.gov.ph";
|
2023-03-31 02:27:45 +00:00
|
|
|
return 'devapi.agusandelnorte.gov.ph:3004';
|
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-02-01 08:03:05 +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-02-23 05:51:53 +00:00
|
|
|
String latestApk(){
|
|
|
|
return "/api/system_app/apk_version/latest";
|
|
|
|
}
|
|
|
|
|
2023-03-02 00:40:47 +00:00
|
|
|
////ELIGIBILITIES PATHS
|
2023-02-15 08:48:34 +00:00
|
|
|
String eligibilities(){
|
|
|
|
return "/api/jobnet_app/eligibilities/";
|
2023-02-23 00:53:14 +00:00
|
|
|
}
|
2023-02-27 06:26:27 +00:00
|
|
|
|
2023-03-02 00:40:47 +00:00
|
|
|
String getEligibilities(){
|
|
|
|
return "/api/jobnet_app/profile/pds/eligibility/";
|
|
|
|
}
|
|
|
|
|
2023-02-27 06:26:27 +00:00
|
|
|
String addEligibility(){
|
|
|
|
return "/api/jobnet_app/profile/pds/eligibility/";
|
|
|
|
}
|
2023-02-23 00:53:14 +00:00
|
|
|
String deleteEligibility(){
|
|
|
|
return "/api/jobnet_app/profile/pds/eligibility/";
|
2023-02-15 08:48:34 +00:00
|
|
|
}
|
2023-03-02 00:40:47 +00:00
|
|
|
|
|
|
|
String updateEligibility(){
|
|
|
|
return "/api/jobnet_app/profile/pds/eligibility/";
|
|
|
|
}
|
2023-03-02 05:28:33 +00:00
|
|
|
//// work history paths
|
2023-03-24 06:46:17 +00:00
|
|
|
String workhistory(){
|
2023-03-02 05:28:33 +00:00
|
|
|
return "/api/jobnet_app/profile/pds/work/";
|
|
|
|
}
|
2023-03-16 07:53:42 +00:00
|
|
|
String getPositions(){
|
|
|
|
return "/api/jobnet_app/positions/";
|
|
|
|
}
|
|
|
|
String getAgencies(){
|
|
|
|
return "/api/jobnet_app/agencies/";
|
|
|
|
}
|
2023-03-21 01:37:55 +00:00
|
|
|
|
2023-03-24 06:46:17 +00:00
|
|
|
|
|
|
|
|
2023-03-16 07:53:42 +00:00
|
|
|
String getAgencyCategory(){
|
|
|
|
return "api/jobnet_app/agency_categories/";
|
|
|
|
}
|
2023-03-24 06:46:17 +00:00
|
|
|
|
2023-03-02 00:40:47 +00:00
|
|
|
|
2023-03-02 06:59:40 +00:00
|
|
|
////educational background paths
|
|
|
|
String getEducationalBackgrounds(){
|
|
|
|
return "/api/jobnet_app/profile/pds/education/";
|
|
|
|
}
|
|
|
|
|
2023-03-02 08:22:31 +00:00
|
|
|
//// learning and development paths
|
|
|
|
|
|
|
|
String getLearningAndDevelopments(){
|
|
|
|
return "api/jobnet_app/profile/pds/learning_development/";
|
|
|
|
}
|
|
|
|
|
2023-03-06 00:57:39 +00:00
|
|
|
//// references paths
|
2023-03-24 06:46:17 +00:00
|
|
|
String reference(){
|
2023-03-06 00:57:39 +00:00
|
|
|
return "/api/jobnet_app/profile/pds/personal_reference/";
|
|
|
|
}
|
|
|
|
|
2023-03-06 01:50:20 +00:00
|
|
|
|
|
|
|
////voluntary works
|
|
|
|
String getVoluntaryWorks(){
|
|
|
|
return "/api/jobnet_app/profile/pds/voluntary_work/";
|
|
|
|
}
|
2023-03-06 05:29:38 +00:00
|
|
|
|
|
|
|
//// skills hobbies
|
2023-03-30 06:22:16 +00:00
|
|
|
String skillsHobbies(){
|
2023-03-06 05:29:38 +00:00
|
|
|
return "/api/jobnet_app/profile/pds/other/skill_hobby/";
|
|
|
|
}
|
2023-03-30 06:22:16 +00:00
|
|
|
String getAllSkillsHobbies(){
|
|
|
|
return "/api/jobnet_app/skill_hobby/";
|
|
|
|
}
|
2023-03-06 05:29:38 +00:00
|
|
|
//// orgmemberships
|
|
|
|
String getOrgMemberShips(){
|
|
|
|
return "/api/jobnet_app/profile/pds/other/org_membership/";
|
|
|
|
}
|
|
|
|
|
2023-03-06 06:16:49 +00:00
|
|
|
////non academic recognition
|
|
|
|
String getNonAcademicRecognition(){
|
|
|
|
return "/api/jobnet_app/profile/pds/other/non_acad_recognition/";
|
|
|
|
}
|
|
|
|
|
2023-03-06 08:29:55 +00:00
|
|
|
////family paths
|
|
|
|
String getFamilies(){
|
|
|
|
return "/api/jobnet_app/profile/pds/family/";
|
|
|
|
}
|
|
|
|
|
2023-04-05 00:54:24 +00:00
|
|
|
//// contacts path
|
|
|
|
String getServiceTypes(){
|
|
|
|
return "/api/jobnet_app/comm_service_type/";
|
|
|
|
|
|
|
|
}
|
|
|
|
String contactPath(){
|
|
|
|
return "/api/jobnet_app/profile/pds/basic/contact/";
|
|
|
|
}
|
|
|
|
String getServiceType(){
|
|
|
|
return "/api/jobnet_app/comm_services/";
|
|
|
|
}
|
|
|
|
String deleteContact (){
|
|
|
|
return "/api/jobnet_app/profile/pds/basic/contact/";
|
|
|
|
}
|
2023-03-24 06:46:17 +00:00
|
|
|
|
2023-02-15 08:48:34 +00:00
|
|
|
// location utils path
|
|
|
|
String getCounties(){
|
|
|
|
return "/api/jobnet_app/countries/";
|
|
|
|
}
|
|
|
|
String getRegions(){
|
|
|
|
return "/api/web_app/location/region/";
|
|
|
|
}
|
2023-02-16 07:10:54 +00:00
|
|
|
String getProvinces(){
|
|
|
|
return "api/web_app/location/province/";
|
|
|
|
}
|
2023-02-20 07:48:24 +00:00
|
|
|
String getCities(){
|
|
|
|
return "/api/web_app/location/citymun/";
|
|
|
|
}
|
2023-03-24 06:46:17 +00:00
|
|
|
String getBarangays(){
|
|
|
|
return "/api/web_app/location/barangay/";
|
|
|
|
}
|
|
|
|
String getAddressCategory(){
|
|
|
|
return "/api/jobnet_app/address_categories/";
|
|
|
|
}
|
2023-01-17 07:52:31 +00:00
|
|
|
}
|