@hiennc24/constant 1.2.21 → 1.2.23
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.
|
@@ -468,6 +468,8 @@ declare const COLLECTIONS: {
|
|
|
468
468
|
DEBT_HISTORIES_COLLECTION_NAME: string;
|
|
469
469
|
ORDER_VOUCHER_REPOSITORY_NAME: string;
|
|
470
470
|
ORDER_VOUCHER_COLLECTION_NAME: string;
|
|
471
|
+
ORDER_VOUCHER_PRODUCT_REPOSITORY_NAME: string;
|
|
472
|
+
ORDER_VOUCHER_PRODUCT_COLLECTION_NAME: string;
|
|
471
473
|
ORDER_ADDRESSES_REPOSITORY_NAME: string;
|
|
472
474
|
ORDER_ADDRESSES_COLLECTION_NAME: string;
|
|
473
475
|
ORDER_HISTORIES_REPOSITORY_NAME: string;
|
|
@@ -478,8 +478,8 @@ const COLLECTIONS = {
|
|
|
478
478
|
// Sale Order
|
|
479
479
|
VENDOR_CONFIRM_REPOSITORY_NAME: "vendorConfirm",
|
|
480
480
|
VENDOR_CONFIRM_COLLECTION_NAME: "vendor_confirm",
|
|
481
|
-
INVOICES_REPOSITORY_NAME: "
|
|
482
|
-
INVOICES_COLLECTION_NAME: "
|
|
481
|
+
INVOICES_REPOSITORY_NAME: "eInvoice",
|
|
482
|
+
INVOICES_COLLECTION_NAME: "e_invoices",
|
|
483
483
|
INVOICE_PRODUCT_ITEMS_REPOSITORY_NAME: "eInvoiceProductItems",
|
|
484
484
|
INVOICE_PRODUCT_ITEMS_COLLECTION_NAME: "e_invoice_product_items",
|
|
485
485
|
SALE_TYPES_REPOSITORY_NAME: "saleType",
|
|
@@ -588,6 +588,9 @@ const COLLECTIONS = {
|
|
|
588
588
|
// order voucher
|
|
589
589
|
ORDER_VOUCHER_REPOSITORY_NAME: "orderVouchers",
|
|
590
590
|
ORDER_VOUCHER_COLLECTION_NAME: "order_vouchers",
|
|
591
|
+
// order voucher product
|
|
592
|
+
ORDER_VOUCHER_PRODUCT_REPOSITORY_NAME: "orderVoucherProduct",
|
|
593
|
+
ORDER_VOUCHER_PRODUCT_COLLECTION_NAME: "order_voucher_products",
|
|
591
594
|
// WAREHOUSE - API
|
|
592
595
|
// Sale Order
|
|
593
596
|
ORDER_ADDRESSES_REPOSITORY_NAME: "orderAddress",
|
|
@@ -6,18 +6,20 @@
|
|
|
6
6
|
"ACTION_DELETE": "delete",
|
|
7
7
|
"ACTION_GET": "get"
|
|
8
8
|
},
|
|
9
|
-
"
|
|
10
|
-
"NAME": "svc-shared.invoices",
|
|
9
|
+
"SVC_E_INVOICE": {
|
|
10
|
+
"NAME": "svc-shared.e-invoices",
|
|
11
11
|
"ACTION_CREATE": "create",
|
|
12
12
|
"ACTION_GET_LISTS": "getList",
|
|
13
13
|
"ACTION_GET_DETAIL": "getDetail",
|
|
14
14
|
"ACTION_UPDATE": "update",
|
|
15
15
|
"ACTION_DELETE": "delete",
|
|
16
16
|
"ACTION_SYNC_DATA": "sync",
|
|
17
|
-
"ACTION_UPDATE_STATUS": "updateStatus"
|
|
17
|
+
"ACTION_UPDATE_STATUS": "updateStatus",
|
|
18
|
+
"ACTION_INVOICE_ISSUANCE": "invoiceIssuance",
|
|
19
|
+
"ACTION_ASSIGN_INVOICE_NUMBER": "assignInvoiceNumber"
|
|
18
20
|
},
|
|
19
|
-
"
|
|
20
|
-
"NAME": "svc-shared.invoice-product-items"
|
|
21
|
+
"SVC_E_INVOICE_PRODUCT_ITEMS": {
|
|
22
|
+
"NAME": "svc-shared.e-invoice-product-items"
|
|
21
23
|
},
|
|
22
24
|
"SCHEDULE": {
|
|
23
25
|
"NAME": "schedule",
|
|
@@ -2038,6 +2040,7 @@
|
|
|
2038
2040
|
"DELETE_BY_ID": "_deleteById",
|
|
2039
2041
|
"INSERT_MANY": "_insertMany",
|
|
2040
2042
|
"DELETE_MANY": "_deleteMany",
|
|
2043
|
+
"FIND_CURSOR": "_findCursor",
|
|
2041
2044
|
"UPDATE_MANY": "_updateMany",
|
|
2042
2045
|
"UPDATE_ONE": "_updateOne",
|
|
2043
2046
|
"BULK_WRITE": "_bulkWrite",
|