@hiennc24/constant 1.4.35 → 1.4.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -348,12 +348,16 @@ declare const COLLECTIONS: {
348
348
  SETTING_OLE_TARGET_COLLECTION_NAME: string;
349
349
  PAYSLIP_REPOSITORY_NAME: string;
350
350
  PAYSLIP_COLLECTION_NAME: string;
351
- REQUEST_CATEGORY_REPOSITORY_NAME: string;
352
- REQUEST_CATEGORY_COLLECTION_NAME: string;
351
+ REQUEST_REPOSITORY_NAME: string;
352
+ REQUEST_COLLECTION_NAME: string;
353
353
  REQUEST_PROCESS_REPOSITORY_NAME: string;
354
354
  REQUEST_PROCESS_COLLECTION_NAME: string;
355
- REQUEST_APPROVE_REPOSITORY_NAME: string;
356
- REQUEST_APPROVE_COLLECTION_NAME: string;
355
+ REQUEST_CATEGORY_REPOSITORY_NAME: string;
356
+ REQUEST_CATEGORY_COLLECTION_NAME: string;
357
+ REQUEST_COMMENT_REPOSITORY_NAME: string;
358
+ REQUEST_COMMENT_COLLECTION_NAME: string;
359
+ REQUEST_HISTORY_REPOSITORY_NAME: string;
360
+ REQUEST_HISTORY_COLLECTION_NAME: string;
357
361
  REQUEST_PROCESS_APPROVAL_REPOSITORY_NAME: string;
358
362
  REQUEST_PROCESS_APPROVAL_COLLECTION_NAME: string;
359
363
  PAYROLL_REPOSITORY_NAME: string;
@@ -446,12 +446,16 @@ const COLLECTIONS = {
446
446
  PAYSLIP_REPOSITORY_NAME: "paysLip",
447
447
  PAYSLIP_COLLECTION_NAME: "payslips",
448
448
  // Request management
449
- REQUEST_CATEGORY_REPOSITORY_NAME: "requestCategory",
450
- REQUEST_CATEGORY_COLLECTION_NAME: "request_categories",
449
+ REQUEST_REPOSITORY_NAME: "request",
450
+ REQUEST_COLLECTION_NAME: "requests",
451
451
  REQUEST_PROCESS_REPOSITORY_NAME: "requestProcess",
452
452
  REQUEST_PROCESS_COLLECTION_NAME: "request_processes",
453
- REQUEST_APPROVE_REPOSITORY_NAME: "requestApprove",
454
- REQUEST_APPROVE_COLLECTION_NAME: "request_approves",
453
+ REQUEST_CATEGORY_REPOSITORY_NAME: "requestCategory",
454
+ REQUEST_CATEGORY_COLLECTION_NAME: "request_categories",
455
+ REQUEST_COMMENT_REPOSITORY_NAME: "requestComment",
456
+ REQUEST_COMMENT_COLLECTION_NAME: "request_comments",
457
+ REQUEST_HISTORY_REPOSITORY_NAME: "requestHistory",
458
+ REQUEST_HISTORY_COLLECTION_NAME: "request_histories",
455
459
  REQUEST_PROCESS_APPROVAL_REPOSITORY_NAME: "requestProcessApproval",
456
460
  REQUEST_PROCESS_APPROVAL_COLLECTION_NAME: "request_process_approvals",
457
461
  // Payroll
@@ -878,6 +878,20 @@
878
878
  "ACTION_ASSIGN_APPROVER_FOR_NEXT_STEP": "assignApproverForNextStep",
879
879
  "ACTION_GET_LIST_REQUEST_FOR_EMPLOYEE_RESPONSIBLE": "getPageRequestForEmployeeResponsible"
880
880
  },
881
+ "SVC_REQUEST_HISTORY": {
882
+ "NAME": "api-hcm.svc-request-history",
883
+ "ACTION_GET_LIST": "getList",
884
+ "ACTION_GET_DETAIL": "getDetail"
885
+ },
886
+ "SVC_REQUEST_COMMENT": {
887
+ "NAME": "api-hcm.svc-request-comments",
888
+ "ACTION_CREATE": "create",
889
+ "ACTION_UPDATE": "update",
890
+ "ACTION_DELETE": "delete",
891
+ "ACTION_GET_REPLIES": "getReplies",
892
+ "ACTION_GET_WITH_REPLIES": "getWithReplies",
893
+ "ACTION_GET_LIST_BY_REQUEST": "getListByRequest"
894
+ },
881
895
  "SVC_REQUEST_PROCESS_APPROVAL": {
882
896
  "NAME": "api-hcm.svc-request-process-approval",
883
897
  "ACTION_GET_LISTS": "getLists",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiennc24/constant",
3
- "version": "1.4.35",
3
+ "version": "1.4.37",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {