@hiennc24/constant 1.2.49 → 1.3.0

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.
@@ -44,6 +44,8 @@ declare const COLLECTIONS: {
44
44
  ADMINISTRATION_ITEMS_COLLECTION_NAME: string;
45
45
  CUSTOMER_REPOSITORY_NAME: string;
46
46
  CUSTOMER_COLLECTION_NAME: string;
47
+ CURRENCY_REPOSITORY_NAME: string;
48
+ CURRENCY_COLLECTION_NAME: string;
47
49
  CUSTOMER_DETAIL_REPOSITORY_NAME: string;
48
50
  CUSTOMER_DETAIL_COLLECTION_NAME: string;
49
51
  VOUCHER_TYPE_REPOSITORY_NAME: string;
@@ -324,12 +326,10 @@ declare const COLLECTIONS: {
324
326
  SETTING_WORKING_DAY_COLLECTION_NAME: string;
325
327
  SETTING_HOLIDAY_REPOSITORY_NAME: string;
326
328
  SETTING_HOLIDAY_COLLECTION_NAME: string;
327
- PAYROLL_REPOSITORY_NAME: string;
328
- PAYROLL_COLLECTION_NAME: string;
329
- PAYROLL_SETTING_REPOSITORY_NAME: string;
330
- PAYROLL_SETTING_COLLECTION_NAME: string;
331
- PAYROLL_EMPLOYEE_REPOSITORY_NAME: string;
332
- PAYROLL_EMPLOYEE_COLLECTION_NAME: string;
329
+ PAYROLL_SHEET_REPOSITORY_NAME: string;
330
+ PAYROLL_SHEET_COLLECTION_NAME: string;
331
+ PAYROLL_SHEET_DETAIL_REPOSITORY_NAME: string;
332
+ PAYROLL_SHEET_DETAIL_COLLECTION_NAME: string;
333
333
  BONUS_ITEM_REPOSITORY_NAME: string;
334
334
  BONUS_ITEM_COLLECTION_NAME: string;
335
335
  BONUS_RANGE_REPOSITORY_NAME: string;
@@ -57,6 +57,9 @@ const COLLECTIONS = {
57
57
  // Customer
58
58
  CUSTOMER_REPOSITORY_NAME: "customer",
59
59
  CUSTOMER_COLLECTION_NAME: "customers",
60
+ // Currency
61
+ CURRENCY_REPOSITORY_NAME: "currency",
62
+ CURRENCY_COLLECTION_NAME: "currencies",
60
63
  // Customer Detail
61
64
  CUSTOMER_DETAIL_REPOSITORY_NAME: "customerDetail",
62
65
  CUSTOMER_DETAIL_COLLECTION_NAME: "customer_details",
@@ -416,12 +419,10 @@ const COLLECTIONS = {
416
419
  SETTING_HOLIDAY_REPOSITORY_NAME: "settingHoliday",
417
420
  SETTING_HOLIDAY_COLLECTION_NAME: "setting_holidays",
418
421
  // Payroll
419
- PAYROLL_REPOSITORY_NAME: "payroll",
420
- PAYROLL_COLLECTION_NAME: "payrolls",
421
- PAYROLL_SETTING_REPOSITORY_NAME: "payrollSetting",
422
- PAYROLL_SETTING_COLLECTION_NAME: "payroll_settings",
423
- PAYROLL_EMPLOYEE_REPOSITORY_NAME: "payrollEmployee",
424
- PAYROLL_EMPLOYEE_COLLECTION_NAME: "payroll_employees",
422
+ PAYROLL_SHEET_REPOSITORY_NAME: "payrollSheet",
423
+ PAYROLL_SHEET_COLLECTION_NAME: "payroll_sheets",
424
+ PAYROLL_SHEET_DETAIL_REPOSITORY_NAME: "payrollSheetDetail",
425
+ PAYROLL_SHEET_DETAIL_COLLECTION_NAME: "payroll_sheet_details",
425
426
  // Bonus Mechanism
426
427
  BONUS_ITEM_REPOSITORY_NAME: "bonusItem",
427
428
  BONUS_ITEM_COLLECTION_NAME: "bonus_items",
@@ -920,17 +920,22 @@
920
920
  "ACTION_CREATE": "create",
921
921
  "ACTION_UPDATE": "update"
922
922
  },
923
- "API_HCM_PAYROLL": {
924
- "NAME": "api-hcm.payrolls",
923
+ "API_HCM_PAYROLL_SHEET": {
924
+ "NAME": "api-hcm.payroll-sheets",
925
925
  "ACTION_GET_LIST": "getList",
926
926
  "ACTION_GET_DETAIL": "getDetail",
927
927
  "ACTION_CREATE": "create",
928
928
  "ACTION_UPDATE": "update",
929
929
  "ACTION_DELETE_MANY": "deleteMany",
930
- "ACTION_LOCK_UNLOCK": "lockUnlock",
931
- "ACTION_SYNC_DATA": "syncData",
932
930
  "ACTION_GET_GENERATED_MONTHS": "getGeneratedMonths"
933
931
  },
932
+ "API_HCM_PAYROLL_SHEET_DETAILS": {
933
+ "NAME": "api-hcm.payroll-sheet-details",
934
+ "ACTION_DELETE_MANY": "deleteMany",
935
+ "ACTION_GET_LIST": "getList",
936
+ "ACTION_CREATE": "create",
937
+ "ACTION_UPDATE": "update"
938
+ },
934
939
  "API_HCM_PAYROLL_SETTINGS": {
935
940
  "NAME": "api-hcm.payrollSettings",
936
941
  "ACTION_GET": "get",
@@ -1930,8 +1935,8 @@
1930
1935
  "ACTION_COUNT": "count",
1931
1936
  "ACTION_LOCK": "lock"
1932
1937
  },
1933
- "SVC_ADMINISTRATION_LIST_CURRENCY_LISTS": {
1934
- "NAME": "svc-administration-list.currency_lists",
1938
+ "SVC_CURRENCY_LISTS": {
1939
+ "NAME": "svc-administration-list.currencies",
1935
1940
  "ACTION_GET_UNASSIGNED_TO_ORG": "getUnAssignedToOrg",
1936
1941
  "ACTION_COUNT_QTY_USED": "countQtyUsed",
1937
1942
  "ACTION_GET_DETAIL": "getDetail",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiennc24/constant",
3
- "version": "1.2.49",
3
+ "version": "1.3.0",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {