@hiennc24/constant 1.2.41 → 1.2.43

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.
@@ -470,6 +470,8 @@ declare const COLLECTIONS: {
470
470
  DEBT_TRANSACTIONS_COLLECTION_NAME: string;
471
471
  DEBT_HISTORIES_REPOSITORY_NAME: string;
472
472
  DEBT_HISTORIES_COLLECTION_NAME: string;
473
+ DEBT_PERIOD_REPOSITORY_NAME: string;
474
+ DEBT_PERIOD_COLLECTION_NAME: string;
473
475
  ORDER_VOUCHER_REPOSITORY_NAME: string;
474
476
  ORDER_VOUCHER_COLLECTION_NAME: string;
475
477
  ORDER_VOUCHER_PRODUCT_REPOSITORY_NAME: string;
@@ -586,10 +586,15 @@ const COLLECTIONS = {
586
586
  // Debt
587
587
  DEBTS_REPOSITORY_NAME: "debts",
588
588
  DEBTS_COLLECTION_NAME: "debts",
589
+ // Debt Transactions
589
590
  DEBT_TRANSACTIONS_REPOSITORY_NAME: "debtTransactions",
590
591
  DEBT_TRANSACTIONS_COLLECTION_NAME: "debt_transactions",
592
+ // Debt History
591
593
  DEBT_HISTORIES_REPOSITORY_NAME: "debtHistory",
592
594
  DEBT_HISTORIES_COLLECTION_NAME: "debt_histories",
595
+ // Debt periods
596
+ DEBT_PERIOD_REPOSITORY_NAME: "debtPeriod",
597
+ DEBT_PERIOD_COLLECTION_NAME: "debt_periods",
593
598
  // order voucher
594
599
  ORDER_VOUCHER_REPOSITORY_NAME: "orderVouchers",
595
600
  ORDER_VOUCHER_COLLECTION_NAME: "order_vouchers",
@@ -243,8 +243,17 @@
243
243
  "ACTION_CREATE_MANY": "create-many",
244
244
  "ACTION_UPDATE": "update",
245
245
  "ACTION_DELETE": "delete",
246
+ "ACTION_UPDATE_STATUS": "updateStatus",
246
247
  "ACTION_GENERATE_CODE": "generate-code"
247
248
  },
249
+ "SVC_DEBT_PERIODS": {
250
+ "NAME": "svc-order.debt-periods",
251
+ "ACTION_GET_LIST": "getList",
252
+ "ACTION_GET_DETAIL": "getDetail",
253
+ "ACTION_CREATE": "create",
254
+ "ACTION_UPDATE": "update",
255
+ "ACTION_DELETE": "delete"
256
+ },
248
257
  "SVC_DEBTS": {
249
258
  "NAME": "svc-order.debts",
250
259
  "ACTION_GET_LIST": "lists",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiennc24/constant",
3
- "version": "1.2.41",
3
+ "version": "1.2.43",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {