@hiennc24/constant 1.3.17 → 1.3.19

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.
@@ -68,6 +68,8 @@ declare const COLLECTIONS: {
68
68
  DEPARTMENT_COLLECTION_NAME: string;
69
69
  POSITION_REPOSITORY_NAME: string;
70
70
  POSITION_COLLECTION_NAME: string;
71
+ DEPARTMENT_POSITION_REPOSITORY_NAME: string;
72
+ DEPARTMENT_POSITION_COLLECTION_NAME: string;
71
73
  ORG_SETTING_REPOSITORY_NAME: string;
72
74
  ORG_SETTING_COLLECTION_NAME: string;
73
75
  TENANT_USER_REPOSITORY_NAME: string;
@@ -89,6 +89,9 @@ const COLLECTIONS = {
89
89
  // Position
90
90
  POSITION_REPOSITORY_NAME: "position",
91
91
  POSITION_COLLECTION_NAME: "positions",
92
+ // Department Position
93
+ DEPARTMENT_POSITION_REPOSITORY_NAME: "departmentPosition",
94
+ DEPARTMENT_POSITION_COLLECTION_NAME: "department_positions",
92
95
  // Org Setting
93
96
  ORG_SETTING_REPOSITORY_NAME: "orgSetting",
94
97
  ORG_SETTING_COLLECTION_NAME: "org_settings",
@@ -1192,7 +1192,10 @@
1192
1192
  "ACTION_DELETE_MANY": "deleteMany",
1193
1193
  "ACTION_GENERATE_CODE": "generateCode",
1194
1194
  "ACTION_APPROVE_OR_REJECT": "approveOrReject",
1195
- "ACTION_GET_LIST_BY_EMPLOYEE": "getListByEmployeeId"
1195
+ "ACTION_GET_LIST_BY_EMPLOYEE": "getListByEmployeeId",
1196
+ "ACTION_APPROVE_CANCELLATION": "approveCancellation",
1197
+ "ACTION_REJECT_CANCELLATION": "rejectCancellation",
1198
+ "ACTION_REQUEST_CANCELLATION": "requestCancellation"
1196
1199
  },
1197
1200
  "API_HCM_WORK_SHIFT_REGISTRATION_DETAILS": {
1198
1201
  "NAME": "api-hcm.work-shift-registration-details",
@@ -1334,6 +1337,7 @@
1334
1337
  "ACTION_GET_DEPARTMENT_DETAIL_WITH_FLAT_EMPLOYEE": "getDepartmentDetailWithFlatEmployee",
1335
1338
  "ACTION_GET_DEPARTMENT_LISTS_FOR_EMPLOYEE": "getDepartmentListsForEmployee",
1336
1339
  "ACTION_GET_ALL_DEPARTMENT_WITH_POSITION": "getAllDepartmentWithPosition",
1340
+ "ACTION_GET_POSITION_LIST_BY_DEPARTMENT": "getPositionListByDepartment",
1337
1341
  "ACTION_LIST_POSITION_BY_DEPARTMENT": "getListPositionByDepartment",
1338
1342
  "ACTION_GET_FLAT_TREE_DEPARTMENT_IDS": "getFlatTreeDepartmentIds",
1339
1343
  "ACTION_GET_DEPARTMENT_FLAT_LISTS": "getDepartmentFlatLists",
@@ -1358,6 +1362,15 @@
1358
1362
  "ACTION_CLONE_POSITION": "clonePosition",
1359
1363
  "ACTION_GET_POSITION": "getPosition"
1360
1364
  },
1365
+ "SVC_ORGANIZATION_POSITIONS": {
1366
+ "NAME": "svc-organization.positions",
1367
+ "ACTION_GET_DEPARTMENT_LIST_BY_POSITION": "getDepartmentListByPosition",
1368
+ "ACTION_GET_DETAIL": "getDetail",
1369
+ "ACTION_GET_LIST": "getList",
1370
+ "ACTION_CREATE": "createPosition",
1371
+ "ACTION_UPDATE": "updatePosition",
1372
+ "ACTION_DELETE": "deletePosition"
1373
+ },
1361
1374
  "SVC_ORGANIZATION_ORG_SETTING": {
1362
1375
  "NAME": "svc-organization.orgSetting",
1363
1376
  "ACTION_UPDATE_ORG_SETTING": "updateOrgSetting",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiennc24/constant",
3
- "version": "1.3.17",
3
+ "version": "1.3.19",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {