@hiennc24/constant 1.5.16 → 1.5.18
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.
|
@@ -784,5 +784,21 @@ declare const COLLECTIONS: {
|
|
|
784
784
|
AFTER_SALES_COMPLAINT_COLLECTION_NAME: string;
|
|
785
785
|
CONTRACT_PRODUCTS_REPOSITORY_NAME: string;
|
|
786
786
|
CONTRACT_PRODUCTS_COLLECTION_NAME: string;
|
|
787
|
+
INVOICE_LEDGER_REPOSITORY_NAME: string;
|
|
788
|
+
INVOICE_LEDGER_COLLECTION_NAME: string;
|
|
789
|
+
PAYMENT_TRANSACTION_REPOSITORY_NAME: string;
|
|
790
|
+
PAYMENT_TRANSACTION_COLLECTION_NAME: string;
|
|
791
|
+
DEBT_EVENT_REPOSITORY_NAME: string;
|
|
792
|
+
DEBT_EVENT_COLLECTION_NAME: string;
|
|
793
|
+
NETTING_RECORD_REPOSITORY_NAME: string;
|
|
794
|
+
NETTING_RECORD_COLLECTION_NAME: string;
|
|
795
|
+
FX_RATE_REPOSITORY_NAME: string;
|
|
796
|
+
FX_RATE_COLLECTION_NAME: string;
|
|
797
|
+
JOURNAL_ENTRY_REPOSITORY_NAME: string;
|
|
798
|
+
JOURNAL_ENTRY_COLLECTION_NAME: string;
|
|
799
|
+
CHART_OF_ACCOUNTS_REPOSITORY_NAME: string;
|
|
800
|
+
CHART_OF_ACCOUNTS_COLLECTION_NAME: string;
|
|
801
|
+
BATCH_METADATA_REPOSITORY_NAME: string;
|
|
802
|
+
BATCH_METADATA_COLLECTION_NAME: string;
|
|
787
803
|
};
|
|
788
804
|
export default COLLECTIONS;
|
|
@@ -983,5 +983,26 @@ const COLLECTIONS = {
|
|
|
983
983
|
// Contract Products
|
|
984
984
|
CONTRACT_PRODUCTS_REPOSITORY_NAME: "ContractProducts",
|
|
985
985
|
CONTRACT_PRODUCTS_COLLECTION_NAME: "contract_products",
|
|
986
|
+
// Debt Management
|
|
987
|
+
INVOICE_LEDGER_REPOSITORY_NAME: "InvoiceLedger",
|
|
988
|
+
INVOICE_LEDGER_COLLECTION_NAME: "invoice_ledgers",
|
|
989
|
+
PAYMENT_TRANSACTION_REPOSITORY_NAME: "PaymentTransaction",
|
|
990
|
+
PAYMENT_TRANSACTION_COLLECTION_NAME: "payment_transactions",
|
|
991
|
+
DEBT_EVENT_REPOSITORY_NAME: "DebtEvent",
|
|
992
|
+
DEBT_EVENT_COLLECTION_NAME: "debt_events",
|
|
993
|
+
// Debt Netting
|
|
994
|
+
NETTING_RECORD_REPOSITORY_NAME: "NettingRecord",
|
|
995
|
+
NETTING_RECORD_COLLECTION_NAME: "netting_records",
|
|
996
|
+
// Debt Multi-Currency
|
|
997
|
+
FX_RATE_REPOSITORY_NAME: "FxRate",
|
|
998
|
+
FX_RATE_COLLECTION_NAME: "fx_rates",
|
|
999
|
+
// Debt GL Integration
|
|
1000
|
+
JOURNAL_ENTRY_REPOSITORY_NAME: "JournalEntry",
|
|
1001
|
+
JOURNAL_ENTRY_COLLECTION_NAME: "journal_entries",
|
|
1002
|
+
CHART_OF_ACCOUNTS_REPOSITORY_NAME: "ChartOfAccounts",
|
|
1003
|
+
CHART_OF_ACCOUNTS_COLLECTION_NAME: "chart_of_accounts",
|
|
1004
|
+
// Debt Reconciliation & Batch
|
|
1005
|
+
BATCH_METADATA_REPOSITORY_NAME: "BatchMetadata",
|
|
1006
|
+
BATCH_METADATA_COLLECTION_NAME: "batch_metadata",
|
|
986
1007
|
};
|
|
987
1008
|
exports.default = COLLECTIONS;
|
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
{
|
|
2
|
+
"EVENT_NAMES": {
|
|
3
|
+
"PURCHASE_ORDER": {
|
|
4
|
+
"CREATED": "purchase-order.created",
|
|
5
|
+
"UPDATED": "purchase-order.updated",
|
|
6
|
+
"APPROVED": "purchase-order.approved",
|
|
7
|
+
"REJECTED": "purchase-order.rejected"
|
|
8
|
+
},
|
|
9
|
+
"SALE_ORDER": {
|
|
10
|
+
"CREATED": "sale-order.created",
|
|
11
|
+
"UPDATED": "sale-order.updated",
|
|
12
|
+
"APPROVED": "sale-order.approved",
|
|
13
|
+
"REJECTED": "sale-order.rejected"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
2
16
|
"SVC_SHARED_SETTING_INVOICE": {
|
|
3
17
|
"NAME": "svc-shared.settingInvoice",
|
|
4
18
|
"ACTION_CREATE": "create",
|
|
@@ -133,6 +147,61 @@
|
|
|
133
147
|
"SVC_BUSINESS_PARTNER_DETAIL": {
|
|
134
148
|
"NAME": "svc-business-partner.partner-details"
|
|
135
149
|
},
|
|
150
|
+
"SVC_DEBTS": {
|
|
151
|
+
"NAME": "svc-business-partner.debts",
|
|
152
|
+
"ACTION_GET_LIST": "lists",
|
|
153
|
+
"ACTION_GET_DETAIL": "detail",
|
|
154
|
+
"ACTION_CREATE": "create",
|
|
155
|
+
"ACTION_UPDATE": "update",
|
|
156
|
+
"ACTION_DELETE": "delete",
|
|
157
|
+
"ACTION_GET_FORECAST": "getForecast",
|
|
158
|
+
"ACTION_GET_DASHBOARD": "getDashboard",
|
|
159
|
+
"ACTION_GET_FX_RATES": "getFXRates",
|
|
160
|
+
"ACTION_FETCH_FX_RATES": "fetchFXRates",
|
|
161
|
+
"ACTION_CONVERT_CURRENCY": "convertCurrency",
|
|
162
|
+
"ACTION_OVERRIDE_FX_RATE": "overrideFXRate",
|
|
163
|
+
"ACTION_GET_FX_RATE_HISTORY": "getFXRateHistories",
|
|
164
|
+
"ACTION_GL_JOURNAL_NETTING": "getGLJournalNetting",
|
|
165
|
+
"ACTION_GL_JOURNAL_PAYMENT": "getGLJournalPayment",
|
|
166
|
+
"ACTION_GL_BATCH_POST": "glBatchPost",
|
|
167
|
+
"ACTION_GL_RECONCILE": "glReconcile",
|
|
168
|
+
"ACTION_GL_ACCOUNTS": "getGLAccounts",
|
|
169
|
+
"ACTION_GL_JOURNAL_GET": "getGLJournalDetail",
|
|
170
|
+
"ACTION_EXECUTE_NETTING": "executeNetting",
|
|
171
|
+
"ACTION_GET_NETTING_OPPORTUNITIES": "getNettingOpportunities",
|
|
172
|
+
"ACTION_GET_NETTING_HISTORY": "getNettingHistories",
|
|
173
|
+
"ACTION_CHECK_NETTING_ELIGIBILITY": "checkNettingEligibility",
|
|
174
|
+
"ACTION_GET_PARTNER_DEBT_SUMMARY": "getPartnerSummaries",
|
|
175
|
+
"ACTION_GET_AGING_REPORT": "getAgingReports",
|
|
176
|
+
"ACTION_GET_LEDGERS_BY_PARTNER": "getLedgerByPartner",
|
|
177
|
+
"ACTION_CREATE_DEBT_FROM_ORDER": "createDebtFromOrder",
|
|
178
|
+
"ACTION_RECORD_PAYMENT": "recordPayment",
|
|
179
|
+
"ACTION_PREVIEW_ALLOCATION": "previewAllocation",
|
|
180
|
+
"ACTION_GET_PAYMENT_DETAIL": "getPaymentDetail"
|
|
181
|
+
},
|
|
182
|
+
"SVC_DEBT_TRANSACTIONS": {
|
|
183
|
+
"NAME": "svc-business-partner.debt-transactions",
|
|
184
|
+
"ACTION_GET_LIST": "lists",
|
|
185
|
+
"ACTION_GET_DETAIL": "detail",
|
|
186
|
+
"ACTION_CREATE": "create",
|
|
187
|
+
"ACTION_CREATE_MANY": "create-many",
|
|
188
|
+
"ACTION_UPDATE": "update",
|
|
189
|
+
"ACTION_DELETE": "delete",
|
|
190
|
+
"ACTION_UPDATE_STATUS": "updateStatus",
|
|
191
|
+
"ACTION_GENERATE_CODE": "generate-code"
|
|
192
|
+
},
|
|
193
|
+
"SVC_DEBT_PERIODS": {
|
|
194
|
+
"NAME": "svc-business-partner.debt-periods",
|
|
195
|
+
"ACTION_GET_LIST": "getList",
|
|
196
|
+
"ACTION_GET_DETAIL": "getDetail",
|
|
197
|
+
"ACTION_CREATE": "create",
|
|
198
|
+
"ACTION_UPDATE": "update",
|
|
199
|
+
"ACTION_DELETE": "delete"
|
|
200
|
+
},
|
|
201
|
+
"SVC_DEBT_HISTORIES": {
|
|
202
|
+
"NAME": "svc-business-partner.debt-histories",
|
|
203
|
+
"ACTION_CREATE_HISTORY": "createHistory"
|
|
204
|
+
},
|
|
136
205
|
"SVC_VOUCHER_TYPES": {
|
|
137
206
|
"NAME": "svc-administration-list.voucher-types",
|
|
138
207
|
"ACTION_GET_DETAIL": "getDetail",
|
|
@@ -152,18 +221,19 @@
|
|
|
152
221
|
"SVC_WAREHOUSE_VOUCHERS": {
|
|
153
222
|
"NAME": "svc-warehouse.vouchers",
|
|
154
223
|
"ACTION_GET_LIST": "getList",
|
|
224
|
+
"ACTION_REJECT_VOUCHER": "reject",
|
|
155
225
|
"ACTION_CREATE_VOUCHER": "create",
|
|
156
|
-
"ACTION_GET_DETAIL_VOUCHER": "getDetail",
|
|
157
226
|
"ACTION_UPDATE_VOUCHER": "update",
|
|
158
|
-
"ACTION_CHANGE_STATUS_VOUCHER": "changeStatus",
|
|
159
227
|
"ACTION_DELETE_VOUCHER": "delete",
|
|
160
228
|
"ACTION_CANCEL_VOUCHER": "cancel",
|
|
229
|
+
"ACTION_BULK_DELETE": "bulkDelete",
|
|
161
230
|
"ACTION_APPROVE_VOUCHER": "approve",
|
|
162
231
|
"ACTION_COMPLETE_VOUCHER": "complete",
|
|
163
|
-
"ACTION_REJECT_VOUCHER": "reject",
|
|
164
232
|
"ACTION_UPDATE_STATUS": "updateStatus",
|
|
233
|
+
"ACTION_GET_DETAIL_VOUCHER": "getDetail",
|
|
165
234
|
"ACTION_CONFIRM_VOUCHER": "confirmVoucher",
|
|
166
|
-
"
|
|
235
|
+
"ACTION_CHANGE_STATUS_VOUCHER": "changeStatus",
|
|
236
|
+
"ACTION_GET_ORDER_AVAILABLE_LIST": "getOrderAvailableList"
|
|
167
237
|
},
|
|
168
238
|
"SVC_WAREHOUSE_VOUCHER_PRODUCTS": {
|
|
169
239
|
"NAME": "svc-warehouse.voucher-products",
|
|
@@ -277,39 +347,6 @@
|
|
|
277
347
|
"ACTION_UPDATE": "update",
|
|
278
348
|
"ACTION_DELETE": "delete"
|
|
279
349
|
},
|
|
280
|
-
"SVC_DEBT_TRANSACTIONS": {
|
|
281
|
-
"NAME": "svc-order.debt-transactions",
|
|
282
|
-
"ACTION_GET_LIST": "lists",
|
|
283
|
-
"ACTION_GET_DETAIL": "detail",
|
|
284
|
-
"ACTION_CREATE": "create",
|
|
285
|
-
"ACTION_CREATE_MANY": "create-many",
|
|
286
|
-
"ACTION_UPDATE": "update",
|
|
287
|
-
"ACTION_DELETE": "delete",
|
|
288
|
-
"ACTION_UPDATE_STATUS": "updateStatus",
|
|
289
|
-
"ACTION_GENERATE_CODE": "generate-code"
|
|
290
|
-
},
|
|
291
|
-
"SVC_DEBT_PERIODS": {
|
|
292
|
-
"NAME": "svc-order.debt-periods",
|
|
293
|
-
"ACTION_GET_LIST": "getList",
|
|
294
|
-
"ACTION_GET_DETAIL": "getDetail",
|
|
295
|
-
"ACTION_CREATE": "create",
|
|
296
|
-
"ACTION_UPDATE": "update",
|
|
297
|
-
"ACTION_DELETE": "delete"
|
|
298
|
-
},
|
|
299
|
-
"SVC_DEBTS": {
|
|
300
|
-
"NAME": "svc-order.debts",
|
|
301
|
-
"ACTION_GET_LIST": "lists",
|
|
302
|
-
"ACTION_GET_DETAIL": "detail",
|
|
303
|
-
"ACTION_CREATE": "create",
|
|
304
|
-
"ACTION_UPDATE": "update",
|
|
305
|
-
"ACTION_DELETE": "delete",
|
|
306
|
-
"ACTION_GET_LIST_BY_CUSTOMER": "get-list-by-customer",
|
|
307
|
-
"ACTION_GENERATE_CODE": "generate-code"
|
|
308
|
-
},
|
|
309
|
-
"SVC_DEBT_HISTORIES": {
|
|
310
|
-
"NAME": "svc-order.debt-histories",
|
|
311
|
-
"ACTION_CREATE_HISTORY": "createHistory"
|
|
312
|
-
},
|
|
313
350
|
"API_SALES_DELIVERY_HISTORY": {
|
|
314
351
|
"NAME": "api-sales.delivery-history",
|
|
315
352
|
"ACTION_CREATE_HISTORY": "createHistory"
|
|
@@ -2808,7 +2845,10 @@
|
|
|
2808
2845
|
"ACTION_VERIFY_CODE": "verifyCode",
|
|
2809
2846
|
"ACTION_REQUEST_CODE": "requestCode",
|
|
2810
2847
|
"ACTION_VALIDATE_TOKEN": "validateToken",
|
|
2811
|
-
"ACTION_GET_PO_DETAIL_BY_TOKEN": "getPODetailByToken"
|
|
2848
|
+
"ACTION_GET_PO_DETAIL_BY_TOKEN": "getPODetailByToken",
|
|
2849
|
+
"ACTION_ACCEPT": "accept",
|
|
2850
|
+
"ACTION_REJECT": "reject",
|
|
2851
|
+
"ACTION_NEED_UPDATE": "needUpdate"
|
|
2812
2852
|
},
|
|
2813
2853
|
"SVC_PURCHASE_ORDER_HISTORIES": {
|
|
2814
2854
|
"NAME": "svc-orders.purchase-order-histories",
|