You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

174 regels
8.1 KiB

  1. import {apiPath, paymentPath} from "../auth/utils";
  2. // GET request
  3. export const REFRESH_TOKEN = "/refresh-token"
  4. export const CHANGE_PASSWORD_PATH = "/user/change-password"
  5. export const GET_SYS_PARAMS = apiPath+'/settings';
  6. //Group Config
  7. export const GET_GROUP_LIST_PATH = '/group';
  8. export const GET_GROUP_COMBO_PATH = '/group/combo';
  9. export const GET_GROUP_MEMBER_LIST_PATH = '/group/member';
  10. export const GET_GROUP_AUTH_LIST = '/group/auth/combo';
  11. export const GLD_USER_PATH = apiPath+'/user/gld';
  12. export const GET_AUTH_LIST = '/user/auth/combo';
  13. export const GET_USER_COMBO_LIST = '/user/combo';
  14. export const GET_USER_GLD_COMBO_LIST = '/user/combo/gld';
  15. export const GET_USER_LOCK = apiPath+'/user/lock';
  16. export const GET_USER_UNLOCK = apiPath+'/user/unlock';
  17. export const GET_IND_USER_PATH = apiPath+'/user/ind';
  18. export const GET_IND_USER_VERIFY = apiPath+'/user/verify';
  19. export const POST_IND_USER = apiPath+'/user/ind';
  20. export const GET_ORG_USER_PATH = apiPath+'/user/org';
  21. export const POST_ORG_USER = apiPath+'/user/org';
  22. export const GET_PUB_IND_USER_PATH = apiPath+'/user/pubInd';
  23. export const POST_PUB_IND_USER = apiPath+'/user/pubInd';
  24. export const GET_PUB_ORG_USER_PATH = apiPath+'/user/pubOrg';
  25. export const POST_PUB_ORG_USER = apiPath+'/user/pubOrg';
  26. export const GET_ORG_PATH = apiPath+'/org';
  27. export const GET_ORG_FROM_USER_PATH = apiPath+'/org/from-user';
  28. export const POST_ORG_SAVE_PATH = apiPath+'/org/save';
  29. export const GET_ORG_COMBO = apiPath+'/org/combo';
  30. export const GET_ORG_CHECK_CREDITOR = apiPath+'/org/check-creditor';
  31. export const GET_ORG_MARK_AS_CREDITOR = apiPath+'/org/mark-as-creditor';
  32. export const GET_ORG_MARK_AS_NON_CREDITOR = apiPath+'/org/mark-as-non-creditor';
  33. export const GET_ORG_EXPORT = apiPath+'/org/export';
  34. //public
  35. export const GET_PUB_ORG_PATH = apiPath+'/org/pub';
  36. export const POST_PUB_ORG_SAVE_PATH = apiPath+'/org/pub/save';
  37. export const GET_PUB_ORG_MARK_AS_CREDITOR = apiPath+'/org/pub/mark-as-creditor';
  38. export const GET_PUB_ORG_MARK_AS_NON_CREDITOR = apiPath+'/org/pub/mark-as-non-creditor';
  39. export const GET_MSG_DETAILS = apiPath+'/msg/details';
  40. export const GET_MSG_LIST = apiPath+'/msg/list';
  41. export const GET_MSG_DASHBOARD = apiPath+'/msg/list/deshboard';
  42. export const POST_ANNOUNCE_SAVE = apiPath+'/announcement/save';
  43. export const GET_ANNOUNCE = apiPath+'/announcement';
  44. export const GET_ANNOUNCE_LIST = apiPath+'/announcement/list';
  45. export const GET_ANNOUNCE_DASHBOARD = apiPath+'/announcement/dashboard';
  46. export const CHECK_OVERDUE = apiPath+'/application/check-overdue';
  47. //File Up/Download
  48. export const FILE_UP_POST = apiPath+'/file/ul';
  49. export const FILE_DOWN_GET = apiPath+"/file/dl";
  50. export const POST_FILE_LIST = apiPath+'/file/list';
  51. export const GET_FILE_DELETE = apiPath+'/file/delete';
  52. //export const FILE_DOWN_GET = ({id,skey,filename})=>{ return apiPath+'/file/dl/'+id+'/'+skey+'/'+filename};
  53. // POST request
  54. //Login
  55. export const POST_LOGIN = '/login';
  56. export const POST_CAPTCHA = apiPath+'/captcha';
  57. export const POST_VERIFY_CAPTCHA = apiPath+'/verifyCaptcha';
  58. //register
  59. export const POST_PUBLIC_USER_REGISTER = apiPath+'/user/register';
  60. export const POST_IAMSMART_USER_REGISTER = apiPath+'/user/smart/register';
  61. export const GET_USERNAME = apiPath+'/user/username';
  62. export const GET_USER_EMAIL = apiPath+'/user/email';
  63. export const GET_ID = apiPath+'/user/verifyID';
  64. export const GET_VERIFY_USER_ACCOUNT = apiPath+'/user/verifyEmail';
  65. export const GET_FORGOT_PASSWORD_VERIFY_USER_ACCOUNT = apiPath+'/user/verifyForgotPasswordEmail';
  66. export const POST_FORGOT_PASSWORD_NEW_PASSWORD = apiPath+'/user/forgotPasswordNewPassword';
  67. export const POST_FORGOT_PASSWORD_EMAIL = apiPath+'/user/sendForgotPasswordEmail';
  68. export const POST_FORGOT_USERNAME_EMAIL = apiPath+'/user/sendForgotUserameEmail';
  69. //Public
  70. export const GET_PUBLIC_ORG_USER_LIST = apiPath+'/user/listOrg';
  71. export const GET_SET_PRIMARY_USER = apiPath+'/user/primary';
  72. export const GET_SET_UN_PRIMARY_USER = apiPath+'/user/un-primary';
  73. export const GET_PUBLIC_NOTICE_LIST = apiPath+'/application/list';
  74. export const GET_PUBLIC_NOTICE_LIST_ListByStatus = apiPath+'/application/status-list';
  75. export const GET_PUBLIC_NOTICE_getApplyUser = apiPath+'/application/get-apply-user';
  76. export const POST_PUBLIC_NOTICE_APPLY = apiPath+'/application/apply';
  77. export const POST_CHECK_APP_EXPRITY_DATE = apiPath+'/application/checkExprityDate';
  78. //GLD User
  79. export const POST_ADMIN_USER_REGISTER = apiPath+'/user/registry';
  80. export const DELETE_USER = apiPath+'/user';
  81. export const GET_PUBLIC_NOTICE_APPLY_DETAIL = apiPath+'/application/application-detail';
  82. export const SET_PUBLIC_NOTICE_GROUP_DETAIL = apiPath+'/application/application-group-detail';
  83. export const SET_PUBLIC_NOTICE_STATUS_NOT_ACCEPT = apiPath+'/application/application-detail-status-not-accept';
  84. export const SET_PUBLIC_NOTICE_STATUS_CANCELLED = apiPath+'/application/application-detail-status-cancelled';
  85. export const SET_PUBLIC_NOTICE_STATUS_COMPLATED = apiPath+'/application/application-detail-status-complated';
  86. export const SET_PUBLIC_NOTICE_STATUS_WITHDRAW = apiPath+'/application/application-detail-status-withdrawn';
  87. export const SET_PUBLIC_NOTICE_STATUS_RESUBMIT = apiPath+'/application/application-detail-status-resubmit';
  88. export const SET_PUBLIC_NOTICE_STATUS_REVIEWED = apiPath+'/application/application-detail-status-reviewed';
  89. export const SET_PUBLIC_NOTICE_STATUS_PUBLISH = apiPath+'/application/application-detail-status-publish';
  90. export const UPDATE_PUBLIC_NOTICE_APPLY_DETAIL = apiPath+'/application/save';
  91. export const GET_ISSUE_COMBO = apiPath+'/gazette-issue/combo';
  92. export const CHECK_CREATE_PROOF = apiPath+'/proof/check-create';//GET
  93. export const LIST_PROOF = apiPath+'/proof/list';//GET
  94. export const GET_PROOF_APP = apiPath+'/proof/create-from-app';//GLD
  95. export const CREATE_PROOF = apiPath+'/proof/create';//POST
  96. export const GET_PROOF = apiPath+'/proof/details';//GET
  97. export const REPLY_PROOF = apiPath+'/proof/reply';//GET
  98. export const PROOF_CHECK_PRICE = apiPath+'/proof/check-price';//GET
  99. export const GET_PROOF_PAY = apiPath+'/proof/pay-details';//GET
  100. export const CANCEL_PROOF = apiPath+'/proof/cancel';//GET
  101. export const PAYMENT_CREATE = apiPath+'/payment/create';//POST
  102. export const PAYMENT_SAVE = apiPath+'/payment/save';//POST
  103. export const PAYMENT_LIST = apiPath+'/payment/list';//GET
  104. export const PAYMENT_LOAD = apiPath+'/payment/load';//GET
  105. export const PAYMENT_APP_LIST = apiPath+'/payment/applist';//POST
  106. export const PAYMENT_LIMIT_SETTING_LIST = apiPath+'/settings/payment';//GET
  107. export const PAYMENT_AVAILABLE_PAYMENT = paymentPath+'/api/payment/availability';//POST
  108. export const PAYMENT_TRANSACTION_ID = paymentPath+'/api/payment/transaction';//GET
  109. export const DEMAND_NOTE_PREVIEW = apiPath+'/demandNote/preview';//GET
  110. export const DEMAND_NOTE_CREATE = apiPath+'/demandNote/create';//POST
  111. export const DEMAND_NOTE_LIST = apiPath+'/demandNote/list';//GET
  112. export const DEMAND_NOTE_LOAD = apiPath+'/demandNote/load';//GET
  113. export const DEMAND_NOTE_SEND = apiPath+'/demandNote/send-dn';//POST
  114. export const DEMAND_NOTE_MARK_PAID = apiPath+'/demandNote/mark-as-paid';//POST
  115. export const DEMAND_NOTE_ATTACH = apiPath+'/demandNote/attach';//POST
  116. export const DEMAND_NOTE_EXPORT = apiPath+'/demandNote/export';//POST
  117. export const GFIMIS_LIST = apiPath+'/gfmis/list';//GET
  118. //User Group
  119. export const POST_AND_UPDATE_USER_GROUP = apiPath+'/group/save';
  120. // Email
  121. export const GET_EMAIL_LIST = apiPath+'/email/list';
  122. export const GET_EMAIL_COMBO = apiPath+'/email/combo';
  123. export const GET_EMAIL = apiPath+'/email/load';
  124. export const POST_EMAIL_SAVE = apiPath+'/email/save';
  125. export const DELETE_EMAIL = apiPath+'/email/delete';
  126. //iAmSmart
  127. export const GET_SMART_PROFILE = apiPath+'/smart/getProfile'; //POST
  128. export const GET_SMART_LOGIN = apiPath+'/smart/login'; //POST
  129. export const GET_SMART_DIRECT_LOGIN = apiPath+'/smart/directLogin'; //POST
  130. //gen report
  131. export const GEN_GAZETTE_PROOF = apiPath+'/proof/gazetteProof'; //POST
  132. export const GEN_PAYMENT_RECEIPT = apiPath+'/payment/receipt'; //POST
  133. //gen report
  134. export const GEN_GFMIS_XML = apiPath+'/gfmis'; //GET
  135. //Holiday
  136. export const GET_HOLIDAY = apiPath+'/holiday/list'; //GET
  137. export const POST_HOLIDAY = apiPath+'/holiday/import'; //POST