@hiennc24/constant 1.2.2 → 1.2.3

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.
@@ -376,6 +376,8 @@ declare const COLLECTIONS: {
376
376
  WORK_SHIFT_EMPLOYEE_COLLECTION_NAME: string;
377
377
  MOBILE_SETTING_REPOSITORY_NAME: string;
378
378
  MOBILE_SETTING_COLLECTION_NAME: string;
379
+ BUSINESS_TRIP_REPOSITORY_NAME: string;
380
+ BUSINESS_TRIP_COLLECTION_NAME: string;
379
381
  VENDOR_CONFIRM_REPOSITORY_NAME: string;
380
382
  VENDOR_CONFIRM_COLLECTION_NAME: string;
381
383
  INVOICES_REPOSITORY_NAME: string;
@@ -473,6 +473,9 @@ const COLLECTIONS = {
473
473
  // Setting
474
474
  MOBILE_SETTING_REPOSITORY_NAME: "mobileSetting",
475
475
  MOBILE_SETTING_COLLECTION_NAME: "mobile_settings",
476
+ // Business Trip
477
+ BUSINESS_TRIP_REPOSITORY_NAME: "businessTrip",
478
+ BUSINESS_TRIP_COLLECTION_NAME: "business_trips",
476
479
  // SALE - API
477
480
  // Sale Order
478
481
  VENDOR_CONFIRM_REPOSITORY_NAME: "vendorConfirm",
@@ -1154,6 +1154,18 @@
1154
1154
  "ACTION_UPDATE": "update",
1155
1155
  "ACTION_DELETE_MANY": "deleteMany"
1156
1156
  },
1157
+ "API_HCM_BUSINESS_TRIP": {
1158
+ "NAME": "api-hcm.business-trips",
1159
+ "ACTION_GET_LIST": "getBusinessTrips",
1160
+ "ACTION_GET_LIST_BY_EMPLOYEE": "getBusinessTripsByEmployeeId",
1161
+ "ACTION_GET_DETAIL": "getBusinessTripDetail",
1162
+ "ACTION_CREATE": "createBusinessTrip",
1163
+ "ACTION_UPDATE": "updateBusinessTrip",
1164
+ "ACTION_DELETE_MANY": "deleteBusinessTrips",
1165
+ "ACTION_APPROVE": "approveBusinessTrip",
1166
+ "ACTION_REJECT": "rejectBusinessTrip",
1167
+ "ACTION_SEND": "sendBusinessTrip"
1168
+ },
1157
1169
  "API_HCM_DASHBOARD": {
1158
1170
  "NAME": "api-hcm.dashboard",
1159
1171
  "ACTION_GET_LIST": "getList",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiennc24/constant",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {