@hiennc24/constant 1.4.36 → 1.4.38

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;
353
- REQUEST_PROCESS_REPOSITORY_NAME: string;
354
- REQUEST_PROCESS_COLLECTION_NAME: string;
355
351
  REQUEST_REPOSITORY_NAME: string;
356
352
  REQUEST_COLLECTION_NAME: string;
353
+ REQUEST_PROCESS_REPOSITORY_NAME: string;
354
+ REQUEST_PROCESS_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",
451
- REQUEST_PROCESS_REPOSITORY_NAME: "requestProcess",
452
- REQUEST_PROCESS_COLLECTION_NAME: "request_processes",
453
449
  REQUEST_REPOSITORY_NAME: "request",
454
450
  REQUEST_COLLECTION_NAME: "requests",
451
+ REQUEST_PROCESS_REPOSITORY_NAME: "requestProcess",
452
+ REQUEST_PROCESS_COLLECTION_NAME: "request_processes",
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",
@@ -2222,8 +2236,8 @@
2222
2236
  "ACTION_UPDATE": "update",
2223
2237
  "ACTION_DELETE": "delete"
2224
2238
  },
2225
- "SVC_SHARED_SETTING_ECOMMERCE_PLATFORM": {
2226
- "NAME": "svc-shared.settingEcommercePlatform",
2239
+ "SVC_SHARED_SETTING_E_COMMERCE_PLATFORM": {
2240
+ "NAME": "svc-shared.settingECommercePlatform",
2227
2241
  "ACTION_CREATE": "create",
2228
2242
  "ACTION_UPDATE": "update",
2229
2243
  "ACTION_DELETE": "delete",
@@ -2480,13 +2494,14 @@
2480
2494
  "ACTION_REMOVE_TOKEN": "removeToken",
2481
2495
  "ACTION_REMOVE_SOCKET": "removeSocket"
2482
2496
  },
2483
- "SVC_SHARED_NOTIFICATION": {
2484
- "NAME": "svc-shared.notification",
2497
+ "SVC_NOTIFICATION": {
2498
+ "NAME": "svc-integration.notifications",
2485
2499
  "ACTION_IN_APP_TRIGGER": "in-app",
2486
2500
  "ACTION_EMAIL_TRIGGER": "email",
2487
2501
  "ACTION_SMS_TRIGGER": "sms",
2488
2502
  "ACTION_PUSH_TRIGGER": "push",
2489
2503
  "ACTION_CHAT_TRIGGER": "chat",
2504
+ "ACTION_BATCH_TRIGGER": "batch",
2490
2505
  "ACTION_INIT_SUBSCRIPTIONS": "initSubscriptions",
2491
2506
  "ACTION_UPDATE_SUBSCRIPTION": "updateSubscription"
2492
2507
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiennc24/constant",
3
- "version": "1.4.36",
3
+ "version": "1.4.38",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {