@hiennc24/constant 1.2.32 → 1.2.34

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.
@@ -462,8 +462,8 @@ declare const COLLECTIONS: {
462
462
  GROUP_LABEL_ACCOUNTING_VALUES_COLLECTION_NAME: string;
463
463
  DEBTS_REPOSITORY_NAME: string;
464
464
  DEBTS_COLLECTION_NAME: string;
465
- DEBT_DETAILS_REPOSITORY_NAME: string;
466
- DEBT_DETAILS_COLLECTION_NAME: string;
465
+ DEBT_TRANSACTIONS_REPOSITORY_NAME: string;
466
+ DEBT_TRANSACTIONS_COLLECTION_NAME: string;
467
467
  DEBT_HISTORIES_REPOSITORY_NAME: string;
468
468
  DEBT_HISTORIES_COLLECTION_NAME: string;
469
469
  ORDER_VOUCHER_REPOSITORY_NAME: string;
@@ -581,8 +581,8 @@ const COLLECTIONS = {
581
581
  // Debt
582
582
  DEBTS_REPOSITORY_NAME: "debts",
583
583
  DEBTS_COLLECTION_NAME: "debts",
584
- DEBT_DETAILS_REPOSITORY_NAME: "debtDetail",
585
- DEBT_DETAILS_COLLECTION_NAME: "debt_details",
584
+ DEBT_TRANSACTIONS_REPOSITORY_NAME: "debtTransactions",
585
+ DEBT_TRANSACTIONS_COLLECTION_NAME: "debt_transactions",
586
586
  DEBT_HISTORIES_REPOSITORY_NAME: "debtHistory",
587
587
  DEBT_HISTORIES_COLLECTION_NAME: "debt_histories",
588
588
  // order voucher
@@ -235,8 +235,8 @@
235
235
  "ACTION_UPDATE": "update",
236
236
  "ACTION_DELETE": "delete"
237
237
  },
238
- "API_SALES_DEBT_DETAILS": {
239
- "NAME": "api-sales.debt-details",
238
+ "SVC_DEBT_TRANSACTIONS": {
239
+ "NAME": "svc-order.debt-transactions",
240
240
  "ACTION_GET_LIST": "lists",
241
241
  "ACTION_GET_DETAIL": "detail",
242
242
  "ACTION_CREATE": "create",
@@ -245,8 +245,8 @@
245
245
  "ACTION_DELETE": "delete",
246
246
  "ACTION_GENERATE_CODE": "generate-code"
247
247
  },
248
- "API_SALES_DEBTS": {
249
- "NAME": "api-sales.debts",
248
+ "SVC_DEBTS": {
249
+ "NAME": "svc-order.debts",
250
250
  "ACTION_GET_LIST": "lists",
251
251
  "ACTION_GET_DETAIL": "detail",
252
252
  "ACTION_CREATE": "create",
@@ -255,6 +255,10 @@
255
255
  "ACTION_GET_LIST_BY_CUSTOMER": "get-list-by-customer",
256
256
  "ACTION_GENERATE_CODE": "generate-code"
257
257
  },
258
+ "SVC_DEBT_HISTORIES": {
259
+ "NAME": "svc-order.debt-histories",
260
+ "ACTION_CREATE_HISTORY": "createHistory"
261
+ },
258
262
  "API_SALES_DELIVERY_HISTORY": {
259
263
  "NAME": "api-sales.delivery-history",
260
264
  "ACTION_CREATE_HISTORY": "createHistory"
@@ -480,10 +484,6 @@
480
484
  "NAME": "api-sales-order-histories",
481
485
  "ACTION_CREATE_MANY": "createHistory"
482
486
  },
483
- "API_SALES_DEBT_HISTORIES": {
484
- "NAME": "api-sales.debt-histories",
485
- "ACTION_CREATE_HISTORY": "createHistory"
486
- },
487
487
  "API_SALES_DELIVERY_MODIFY_HISTORY": {
488
488
  "NAME": "api-sales.delivery-modify-history"
489
489
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiennc24/constant",
3
- "version": "1.2.32",
3
+ "version": "1.2.34",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {