@hiennc24/constant 1.3.18 → 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",
@@ -1337,6 +1337,7 @@
1337
1337
  "ACTION_GET_DEPARTMENT_DETAIL_WITH_FLAT_EMPLOYEE": "getDepartmentDetailWithFlatEmployee",
1338
1338
  "ACTION_GET_DEPARTMENT_LISTS_FOR_EMPLOYEE": "getDepartmentListsForEmployee",
1339
1339
  "ACTION_GET_ALL_DEPARTMENT_WITH_POSITION": "getAllDepartmentWithPosition",
1340
+ "ACTION_GET_POSITION_LIST_BY_DEPARTMENT": "getPositionListByDepartment",
1340
1341
  "ACTION_LIST_POSITION_BY_DEPARTMENT": "getListPositionByDepartment",
1341
1342
  "ACTION_GET_FLAT_TREE_DEPARTMENT_IDS": "getFlatTreeDepartmentIds",
1342
1343
  "ACTION_GET_DEPARTMENT_FLAT_LISTS": "getDepartmentFlatLists",
@@ -1361,6 +1362,15 @@
1361
1362
  "ACTION_CLONE_POSITION": "clonePosition",
1362
1363
  "ACTION_GET_POSITION": "getPosition"
1363
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
+ },
1364
1374
  "SVC_ORGANIZATION_ORG_SETTING": {
1365
1375
  "NAME": "svc-organization.orgSetting",
1366
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.18",
3
+ "version": "1.3.19",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {