@hiennc24/constant 1.2.33 → 1.2.35

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
- "SVC_DEBT_DETAILS": {
239
- "NAME": "svc-order.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",
@@ -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"
@@ -320,7 +324,8 @@
320
324
  },
321
325
  "API_SALES_LEAD_HISTORY": {
322
326
  "NAME": "api-sales.lead-history",
323
- "ACTION_GET_LIST": "getListLeadHistory"
327
+ "ACTION_GET_LIST": "getListLeadHistory",
328
+ "ACTION_CREATE": "createLeadHistory"
324
329
  },
325
330
  "API_SALES_LEAD_SCHEDULE": {
326
331
  "NAME": "api-sales.lead-schedule",
@@ -478,11 +483,7 @@
478
483
  },
479
484
  "SVC_SALES_ORDER_HISTORIES": {
480
485
  "NAME": "api-sales-order-histories",
481
- "ACTION_CREATE_MANY": "createHistory"
482
- },
483
- "API_SALES_DEBT_HISTORIES": {
484
- "NAME": "api-sales.debt-histories",
485
- "ACTION_CREATE_HISTORY": "createHistory"
486
+ "ACTION_CREATE": "createHistory"
486
487
  },
487
488
  "API_SALES_DELIVERY_MODIFY_HISTORY": {
488
489
  "NAME": "api-sales.delivery-modify-history"
@@ -518,8 +519,8 @@
518
519
  },
519
520
  "API_PURCHASE_DELIVERY_HISTORY": {
520
521
  "NAME": "api-purchase.delivery-history",
521
- "ACTION_CREATE_DELIVERY_HISTORY": "createDeliveryHistories",
522
- "ACTION_UPDATE_DELIVERY_HISTORY": "updateDeliveryHistories"
522
+ "ACTION_CREATE_DELIVERY_HISTORY": "create",
523
+ "ACTION_UPDATE_DELIVERY_HISTORY": "update"
523
524
  },
524
525
  "API_PURCHASE_DELIVERY_MODIFY_HISTORY": {
525
526
  "NAME": "api-purchase.delivery-modify-history"
@@ -587,8 +588,8 @@
587
588
  "ACTION_GET_LIST": "getListOrderVouchers",
588
589
  "ACTION_CREATE": "createOrderVouchers"
589
590
  },
590
- "API_PURCHASE_ORDER_MODIFY_HISTORY": {
591
- "NAME": "api-purchase.orderModifyHistory"
591
+ "API_PURCHASE_ORDER_HISTORY": {
592
+ "NAME": "api-purchase.histories"
592
593
  },
593
594
  "API_PURCHASE_ORDER_PRODUCT": {
594
595
  "NAME": "api-purchase.orderProduct",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiennc24/constant",
3
- "version": "1.2.33",
3
+ "version": "1.2.35",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {