@hiennc24/constant 1.1.5 → 1.1.7

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.
@@ -160,6 +160,8 @@ declare const COLLECTIONS: {
160
160
  SETTING_ACCESS_TOKEN_COLLECTION_NAME: string;
161
161
  SETTING_ECOMMERCE_PLATFORM_REPOSITORY_NAME: string;
162
162
  SETTING_ECOMMERCE_PLATFORM_COLLECTION_NAME: string;
163
+ SETTING_INVOICE_REPOSITORY_NAME: string;
164
+ SETTING_INVOICE_COLLECTION_NAME: string;
163
165
  PROVINCE_REPOSITORY_NAME: string;
164
166
  PROVINCE_COLLECTION_NAME: string;
165
167
  DISTRICT_REPOSITORY_NAME: string;
@@ -192,10 +194,6 @@ declare const COLLECTIONS: {
192
194
  PRODUCT_COMBO_COLLECTION_NAME: string;
193
195
  WAREHOUSE_REPOSITORY_NAME: string;
194
196
  WAREHOUSE_COLLECTION_NAME: string;
195
- ACCOUNTING_SETTING_REPOSITORY_NAME: string;
196
- ACCOUNTING_SETTING_COLLECTION_NAME: string;
197
- ACCOUNTING_CATEGORY_REPOSITORY_NAME: string;
198
- ACCOUNTING_CATEGORY_COLLECTION_NAME: string;
199
197
  VOUCHER_PARAMETER_REPOSITORY_NAME: string;
200
198
  VOUCHER_PARAMETER_COLLECTION_NAME: string;
201
199
  PRODUCT_IMPORT_HISTORIES_REPOSITORY_NAME: string;
@@ -600,5 +598,35 @@ declare const COLLECTIONS: {
600
598
  USER_MODULE_NOTIFICATION_COLLECTION_NAME: string;
601
599
  REPORT_PRODUCT_REPOSITORY_NAME: string;
602
600
  REPORT_PRODUCT_COLLECTION_NAME: string;
601
+ ACCOUNTING_SETTING_REPOSITORY_NAME: string;
602
+ ACCOUNTING_SETTING_COLLECTION_NAME: string;
603
+ ACCOUNTING_CATEGORY_REPOSITORY_NAME: string;
604
+ ACCOUNTING_CATEGORY_COLLECTION_NAME: string;
605
+ SETTING_ACCOUNTING_REPOSITORY_NAME: string;
606
+ SETTING_ACCOUNTING_COLLECTION_NAME: string;
607
+ SETTING_CHART_ACCOUNT_REPOSITORY_NAME: string;
608
+ SETTING_CHART_ACCOUNT_COLLECTION_NAME: string;
609
+ SETTING_BANK_ACCOUNT_REPOSITORY_NAME: string;
610
+ SETTING_BANK_ACCOUNT_COLLECTION_NAME: string;
611
+ SETTING_BANK_REPOSITORY_NAME: string;
612
+ SETTING_BANK_COLLECTION_NAME: string;
613
+ VOUCHER_SALES_ORDER_REPOSITORY_NAME: string;
614
+ VOUCHER_SALES_ORDER_COLLECTION_NAME: string;
615
+ VOUCHER_SALES_ORDER_PRODUCT_REPOSITORY_NAME: string;
616
+ VOUCHER_SALES_ORDER_PRODUCT_COLLECTION_NAME: string;
617
+ WAREHOUSE_ZONE_REPOSITORY_NAME: string;
618
+ WAREHOUSE_ZONE_COLLECTION_NAME: string;
619
+ WAREHOUSE_RACK_REPOSITORY_NAME: string;
620
+ WAREHOUSE_RACK_COLLECTION_NAME: string;
621
+ WAREHOUSE_LEVEL_REPOSITORY_NAME: string;
622
+ WAREHOUSE_LEVEL_COLLECTION_NAME: string;
623
+ WAREHOUSE_PALLET_REPOSITORY_NAME: string;
624
+ WAREHOUSE_PALLET_COLLECTION_NAME: string;
625
+ WAREHOUSE_BASKET_REPOSITORY_NAME: string;
626
+ WAREHOUSE_BASKET_COLLECTION_NAME: string;
627
+ WAREHOUSE_STOCKTAKING_REPOSITORY_NAME: string;
628
+ WAREHOUSE_STOCKTAKING_COLLECTION_NAME: string;
629
+ WAREHOUSE_STOCKTAKING_PRODUCT_REPOSITORY_NAME: string;
630
+ WAREHOUSE_STOCKTAKING_PRODUCT_COLLECTION_NAME: string;
603
631
  };
604
632
  export default COLLECTIONS;
@@ -114,12 +114,12 @@ const COLLECTIONS = {
114
114
  PLATFORM_MANAGEMENT_REPOSITORY_NAME: "platformManagement",
115
115
  PLATFORM_MANAGEMENT_COLLECTION_NAME: "platform_managements",
116
116
  // ecomerce
117
- EC_PRODUCTS_REPOSITORY_NAME: 'ecProduct',
118
- EC_PRODUCTS_COLLECTION_NAME: 'ec_products',
119
- EC_ORDERS_REPOSITORY_NAME: 'ecOrder',
120
- EC_ORDERS_COLLECTION_NAME: 'ec_orders',
121
- EC_ORDER_PRODUCTS_REPOSITORY_NAME: 'ecOrderProduct',
122
- EC_ORDER_PRODUCTS_COLLECTION_NAME: 'ec_order_products',
117
+ EC_PRODUCTS_REPOSITORY_NAME: "ecProduct",
118
+ EC_PRODUCTS_COLLECTION_NAME: "ec_products",
119
+ EC_ORDERS_REPOSITORY_NAME: "ecOrder",
120
+ EC_ORDERS_COLLECTION_NAME: "ec_orders",
121
+ EC_ORDER_PRODUCTS_REPOSITORY_NAME: "ecOrderProduct",
122
+ EC_ORDER_PRODUCTS_COLLECTION_NAME: "ec_order_products",
123
123
  // Verify Email Token
124
124
  VERIFY_PLATFORM_TOKEN_REPOSITORY_NAME: "verifyPlatformToken",
125
125
  VERIFY_PLATFORM_TOKEN_COLLECTION_NAME: "verify_platform_tokens",
@@ -207,6 +207,9 @@ const COLLECTIONS = {
207
207
  // Setting Ecommerce Platform
208
208
  SETTING_ECOMMERCE_PLATFORM_REPOSITORY_NAME: "settingEcommercePlatform",
209
209
  SETTING_ECOMMERCE_PLATFORM_COLLECTION_NAME: "setting_ecommerce_platforms",
210
+ // setting invoices
211
+ SETTING_INVOICE_REPOSITORY_NAME: 'settingInvoice',
212
+ SETTING_INVOICE_COLLECTION_NAME: 'setting_invoices',
210
213
  // Province
211
214
  PROVINCE_REPOSITORY_NAME: "province",
212
215
  PROVINCE_COLLECTION_NAME: "provinces",
@@ -254,12 +257,6 @@ const COLLECTIONS = {
254
257
  // Order products
255
258
  WAREHOUSE_REPOSITORY_NAME: "warehouse",
256
259
  WAREHOUSE_COLLECTION_NAME: "warehouses",
257
- // Accounting Settings
258
- ACCOUNTING_SETTING_REPOSITORY_NAME: "accountingSetting",
259
- ACCOUNTING_SETTING_COLLECTION_NAME: "accounting_settings",
260
- // Accounting Category
261
- ACCOUNTING_CATEGORY_REPOSITORY_NAME: "accountingCategory",
262
- ACCOUNTING_CATEGORY_COLLECTION_NAME: "accounting_categories",
263
260
  // Voucher Parameter
264
261
  VOUCHER_PARAMETER_REPOSITORY_NAME: "voucherParameter",
265
262
  VOUCHER_PARAMETER_COLLECTION_NAME: "voucher_parameters",
@@ -749,7 +746,48 @@ const COLLECTIONS = {
749
746
  NOTIFICATION_COLLECTION_NAME: "notifications",
750
747
  USER_MODULE_NOTIFICATION_REPOSITORY_NAME: "userModuleNotification",
751
748
  USER_MODULE_NOTIFICATION_COLLECTION_NAME: "user_module_notifications",
752
- REPORT_PRODUCT_REPOSITORY_NAME: 'reportProduct',
753
- REPORT_PRODUCT_COLLECTION_NAME: 'report_products'
749
+ REPORT_PRODUCT_REPOSITORY_NAME: "reportProduct",
750
+ REPORT_PRODUCT_COLLECTION_NAME: "report_products",
751
+ // Accounting Settings
752
+ ACCOUNTING_SETTING_REPOSITORY_NAME: "accountingSetting",
753
+ ACCOUNTING_SETTING_COLLECTION_NAME: "accounting_settings",
754
+ // Accounting Category
755
+ ACCOUNTING_CATEGORY_REPOSITORY_NAME: "accountingCategory",
756
+ ACCOUNTING_CATEGORY_COLLECTION_NAME: "accounting_categories",
757
+ // Setting accounting
758
+ SETTING_ACCOUNTING_REPOSITORY_NAME: "settingAccounting",
759
+ SETTING_ACCOUNTING_COLLECTION_NAME: "setting_accounting",
760
+ // Setting chart accounts
761
+ SETTING_CHART_ACCOUNT_REPOSITORY_NAME: "settingChartAccount",
762
+ SETTING_CHART_ACCOUNT_COLLECTION_NAME: "setting_chart_accounts",
763
+ // Setting bank accounts
764
+ SETTING_BANK_ACCOUNT_REPOSITORY_NAME: "settingBankAccount",
765
+ SETTING_BANK_ACCOUNT_COLLECTION_NAME: "setting_bank_accounts",
766
+ // Setting banks
767
+ SETTING_BANK_REPOSITORY_NAME: "settingBank",
768
+ SETTING_BANK_COLLECTION_NAME: "setting_banks",
769
+ VOUCHER_SALES_ORDER_REPOSITORY_NAME: "voucherSalesOrder",
770
+ VOUCHER_SALES_ORDER_COLLECTION_NAME: "voucher_sales_orders",
771
+ VOUCHER_SALES_ORDER_PRODUCT_REPOSITORY_NAME: "voucherSalesOrderProduct",
772
+ VOUCHER_SALES_ORDER_PRODUCT_COLLECTION_NAME: "voucher_sales_order_products",
773
+ //warehouse_zones
774
+ WAREHOUSE_ZONE_REPOSITORY_NAME: "warehouseZone",
775
+ WAREHOUSE_ZONE_COLLECTION_NAME: "warehouse_zones",
776
+ //warehouse_racks
777
+ WAREHOUSE_RACK_REPOSITORY_NAME: "warehouseRack",
778
+ WAREHOUSE_RACK_COLLECTION_NAME: "warehouse_racks",
779
+ //warehouse_levels
780
+ WAREHOUSE_LEVEL_REPOSITORY_NAME: "warehouseLevel",
781
+ WAREHOUSE_LEVEL_COLLECTION_NAME: "warehouse_levels",
782
+ //warehouse_pallets
783
+ WAREHOUSE_PALLET_REPOSITORY_NAME: "warehousePallet",
784
+ WAREHOUSE_PALLET_COLLECTION_NAME: "warehouse_pallets",
785
+ //warehouse_baskets
786
+ WAREHOUSE_BASKET_REPOSITORY_NAME: "warehouseBasket",
787
+ WAREHOUSE_BASKET_COLLECTION_NAME: "warehouse_baskets",
788
+ WAREHOUSE_STOCKTAKING_REPOSITORY_NAME: "warehouseStocktaking",
789
+ WAREHOUSE_STOCKTAKING_COLLECTION_NAME: "warehouse_stocktaking",
790
+ WAREHOUSE_STOCKTAKING_PRODUCT_REPOSITORY_NAME: "warehouseStocktakingProduct",
791
+ WAREHOUSE_STOCKTAKING_PRODUCT_COLLECTION_NAME: "warehouse_stocktaking_products",
754
792
  };
755
793
  exports.default = COLLECTIONS;
@@ -1,4 +1,20 @@
1
1
  {
2
+ "SVC_SHARED_SETTING_INVOICE": {
3
+ "NAME": "svc-shared.settingInvoice",
4
+ "ACTION_CREATE": "create",
5
+ "ACTION_UPDATE": "update",
6
+ "ACTION_DELETE": "delete",
7
+ "ACTION_GET": "get"
8
+ },
9
+ "SVC_SHARED_INVOICE": {
10
+ "NAME": "svc-shared.invoice",
11
+ "ACTION_CREATE_INVOICE": "createInvoice",
12
+ "ACTION_GET_LIST_INVOICES": "getListInvoices",
13
+ "ACTION_GET_DETAIL_INVOICE": "getDetailInvoice",
14
+ "ACTION_UPDATE_INVOICE": "updateInvoice",
15
+ "ACTION_DELETE_INVOICE": "deleteInvoice",
16
+ "ACTION_EXEC_COMMAND": "execCommand"
17
+ },
2
18
  "SCHEDULE": {
3
19
  "NAME": "schedule",
4
20
  "ACTION_CREATE_SCHEDULE": "createSchedule",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiennc24/constant",
3
- "version": "1.1.5",
3
+ "version": "1.1.7",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {