@hiennc24/constant 1.2.19 → 1.2.21

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.
@@ -480,8 +480,8 @@ const COLLECTIONS = {
480
480
  VENDOR_CONFIRM_COLLECTION_NAME: "vendor_confirm",
481
481
  INVOICES_REPOSITORY_NAME: "invoice",
482
482
  INVOICES_COLLECTION_NAME: "invoices",
483
- INVOICE_PRODUCT_ITEMS_REPOSITORY_NAME: "invoiceProductItems",
484
- INVOICE_PRODUCT_ITEMS_COLLECTION_NAME: "invoice_product_items",
483
+ INVOICE_PRODUCT_ITEMS_REPOSITORY_NAME: "eInvoiceProductItems",
484
+ INVOICE_PRODUCT_ITEMS_COLLECTION_NAME: "e_invoice_product_items",
485
485
  SALE_TYPES_REPOSITORY_NAME: "saleType",
486
486
  SALE_TYPES_COLLECTION_NAME: "sale_types",
487
487
  SALE_ORDERS_REPOSITORY_NAME: "salesOrder",
@@ -12,7 +12,9 @@
12
12
  "ACTION_GET_LISTS": "getList",
13
13
  "ACTION_GET_DETAIL": "getDetail",
14
14
  "ACTION_UPDATE": "update",
15
- "ACTION_DELETE": "delete"
15
+ "ACTION_DELETE": "delete",
16
+ "ACTION_SYNC_DATA": "sync",
17
+ "ACTION_UPDATE_STATUS": "updateStatus"
16
18
  },
17
19
  "SVC_INVOICE_PRODUCT_ITEMS": {
18
20
  "NAME": "svc-shared.invoice-product-items"
@@ -440,14 +442,6 @@
440
442
  "ACTION_DELETE": "deleteVendorConfirm",
441
443
  "ACTION_CREATE": "createVendorConfirm"
442
444
  },
443
- "API_SALES_INVOICE": {
444
- "NAME": "api-sales.invoices",
445
- "ACTION_GET_LIST": "getListInvoice",
446
- "ACTION_GET_DETAIL": "getDetailInvoice",
447
- "ACTION_UPDATE": "updateInvoice",
448
- "ACTION_DELETE": "deleteInvoice",
449
- "ACTION_CREATE": "createInvoice"
450
- },
451
445
  "API_SALES_SALES_ORDER_HISTORY": {
452
446
  "NAME": "api-sales.salesOrderHistories",
453
447
  "ACTION_GET_LIST": "getListSaleOrderHistory"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiennc24/constant",
3
- "version": "1.2.19",
3
+ "version": "1.2.21",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {