@hiennc24/constant 1.2.34 → 1.2.36

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.
@@ -46,6 +46,8 @@ declare const COLLECTIONS: {
46
46
  CUSTOMER_COLLECTION_NAME: string;
47
47
  CUSTOMER_DETAIL_REPOSITORY_NAME: string;
48
48
  CUSTOMER_DETAIL_COLLECTION_NAME: string;
49
+ VOUCHER_TYPE_REPOSITORY_NAME: string;
50
+ VOUCHER_TYPE_COLLECTION_NAME: string;
49
51
  EMPLOYEE_REPOSITORY_NAME: string;
50
52
  EMPLOYEE_COLLECTION_NAME: string;
51
53
  EMPLOYEE_DETAIL_REPOSITORY_NAME: string;
@@ -60,6 +60,9 @@ const COLLECTIONS = {
60
60
  // Customer Detail
61
61
  CUSTOMER_DETAIL_REPOSITORY_NAME: "customerDetail",
62
62
  CUSTOMER_DETAIL_COLLECTION_NAME: "customer_details",
63
+ // Voucher Type
64
+ VOUCHER_TYPE_REPOSITORY_NAME: "voucherType",
65
+ VOUCHER_TYPE_COLLECTION_NAME: "voucher_types",
63
66
  // ORGANIZATION SERVICE
64
67
  // Employee
65
68
  EMPLOYEE_REPOSITORY_NAME: "employee",
@@ -120,8 +120,8 @@
120
120
  "ACTION_UPDATE": "updateSettings",
121
121
  "ACTION_DELETE": "deleteSettings"
122
122
  },
123
- "SVC_ADMINISTRATION_LIST_TRANSACTION_LISTS": {
124
- "NAME": "svc-administration-list.transaction_lists",
123
+ "SVC_VOUCHER_TYPES": {
124
+ "NAME": "svc-administration-list.voucher-types",
125
125
  "ACTION_GET_DETAIL": "getDetail",
126
126
  "ACTION_GET_LIST": "getList",
127
127
  "ACTION_CREATE": "create",
@@ -324,7 +324,8 @@
324
324
  },
325
325
  "API_SALES_LEAD_HISTORY": {
326
326
  "NAME": "api-sales.lead-history",
327
- "ACTION_GET_LIST": "getListLeadHistory"
327
+ "ACTION_GET_LIST": "getListLeadHistory",
328
+ "ACTION_CREATE": "createLeadHistory"
328
329
  },
329
330
  "API_SALES_LEAD_SCHEDULE": {
330
331
  "NAME": "api-sales.lead-schedule",
@@ -482,7 +483,7 @@
482
483
  },
483
484
  "SVC_SALES_ORDER_HISTORIES": {
484
485
  "NAME": "api-sales-order-histories",
485
- "ACTION_CREATE_MANY": "createHistory"
486
+ "ACTION_CREATE": "createHistory"
486
487
  },
487
488
  "API_SALES_DELIVERY_MODIFY_HISTORY": {
488
489
  "NAME": "api-sales.delivery-modify-history"
@@ -518,8 +519,8 @@
518
519
  },
519
520
  "API_PURCHASE_DELIVERY_HISTORY": {
520
521
  "NAME": "api-purchase.delivery-history",
521
- "ACTION_CREATE_DELIVERY_HISTORY": "createDeliveryHistories",
522
- "ACTION_UPDATE_DELIVERY_HISTORY": "updateDeliveryHistories"
522
+ "ACTION_CREATE_DELIVERY_HISTORY": "create",
523
+ "ACTION_UPDATE_DELIVERY_HISTORY": "update"
523
524
  },
524
525
  "API_PURCHASE_DELIVERY_MODIFY_HISTORY": {
525
526
  "NAME": "api-purchase.delivery-modify-history"
@@ -587,8 +588,8 @@
587
588
  "ACTION_GET_LIST": "getListOrderVouchers",
588
589
  "ACTION_CREATE": "createOrderVouchers"
589
590
  },
590
- "API_PURCHASE_ORDER_MODIFY_HISTORY": {
591
- "NAME": "api-purchase.orderModifyHistory"
591
+ "API_PURCHASE_ORDER_HISTORY": {
592
+ "NAME": "api-purchase.histories"
592
593
  },
593
594
  "API_PURCHASE_ORDER_PRODUCT": {
594
595
  "NAME": "api-purchase.orderProduct",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiennc24/constant",
3
- "version": "1.2.34",
3
+ "version": "1.2.36",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {