@hiennc24/constant 1.2.35 → 1.2.37
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.
|
@@ -46,6 +46,8 @@ declare const COLLECTIONS: {
|
|
|
46
46
|
CUSTOMER_COLLECTION_NAME: string;
|
|
47
47
|
CUSTOMER_DETAIL_REPOSITORY_NAME: string;
|
|
48
48
|
CUSTOMER_DETAIL_COLLECTION_NAME: string;
|
|
49
|
+
VOUCHER_TYPE_REPOSITORY_NAME: string;
|
|
50
|
+
VOUCHER_TYPE_COLLECTION_NAME: string;
|
|
49
51
|
EMPLOYEE_REPOSITORY_NAME: string;
|
|
50
52
|
EMPLOYEE_COLLECTION_NAME: string;
|
|
51
53
|
EMPLOYEE_DETAIL_REPOSITORY_NAME: string;
|
|
@@ -712,5 +714,9 @@ declare const COLLECTIONS: {
|
|
|
712
714
|
PARTNER_HISTORY_COLLECTION_NAME: string;
|
|
713
715
|
PARTNER_GROUP_REPOSITORY_NAME: string;
|
|
714
716
|
PARTNER_GROUP_COLLECTION_NAME: string;
|
|
717
|
+
PRINT_TEMPLATE_KEY_REPOSITORY_NAME: string;
|
|
718
|
+
PRINT_TEMPLATE_KEY_COLLECTION_NAME: string;
|
|
719
|
+
PRINT_TEMPLATE_LIBRARY_REPOSITORY_NAME: string;
|
|
720
|
+
PRINT_TEMPLATE_LIBRARY_COLLECTION_NAME: string;
|
|
715
721
|
};
|
|
716
722
|
export default COLLECTIONS;
|
|
@@ -60,6 +60,9 @@ const COLLECTIONS = {
|
|
|
60
60
|
// Customer Detail
|
|
61
61
|
CUSTOMER_DETAIL_REPOSITORY_NAME: "customerDetail",
|
|
62
62
|
CUSTOMER_DETAIL_COLLECTION_NAME: "customer_details",
|
|
63
|
+
// Voucher Type
|
|
64
|
+
VOUCHER_TYPE_REPOSITORY_NAME: "voucherType",
|
|
65
|
+
VOUCHER_TYPE_COLLECTION_NAME: "voucher_types",
|
|
63
66
|
// ORGANIZATION SERVICE
|
|
64
67
|
// Employee
|
|
65
68
|
EMPLOYEE_REPOSITORY_NAME: "employee",
|
|
@@ -891,5 +894,11 @@ const COLLECTIONS = {
|
|
|
891
894
|
// Partner Group
|
|
892
895
|
PARTNER_GROUP_REPOSITORY_NAME: "partnerGroup",
|
|
893
896
|
PARTNER_GROUP_COLLECTION_NAME: "partner_groups",
|
|
897
|
+
// Print Template Keys
|
|
898
|
+
PRINT_TEMPLATE_KEY_REPOSITORY_NAME: "printTemplateKey",
|
|
899
|
+
PRINT_TEMPLATE_KEY_COLLECTION_NAME: "print_template_keys",
|
|
900
|
+
// Print Template Libraries
|
|
901
|
+
PRINT_TEMPLATE_LIBRARY_REPOSITORY_NAME: "printTemplateLibrary",
|
|
902
|
+
PRINT_TEMPLATE_LIBRARY_COLLECTION_NAME: "print_template_libraries",
|
|
894
903
|
};
|
|
895
904
|
exports.default = COLLECTIONS;
|
|
@@ -120,8 +120,8 @@
|
|
|
120
120
|
"ACTION_UPDATE": "updateSettings",
|
|
121
121
|
"ACTION_DELETE": "deleteSettings"
|
|
122
122
|
},
|
|
123
|
-
"
|
|
124
|
-
"NAME": "svc-administration-list.
|
|
123
|
+
"SVC_VOUCHER_TYPES": {
|
|
124
|
+
"NAME": "svc-administration-list.voucher-types",
|
|
125
125
|
"ACTION_GET_DETAIL": "getDetail",
|
|
126
126
|
"ACTION_GET_LIST": "getList",
|
|
127
127
|
"ACTION_CREATE": "create",
|
|
@@ -2037,6 +2037,19 @@
|
|
|
2037
2037
|
"ACTION_DELETE": "delete",
|
|
2038
2038
|
"ACTION_GET": "get"
|
|
2039
2039
|
},
|
|
2040
|
+
"SVC_SHARED_PRINT_TEMPLATE_KEYS": {
|
|
2041
|
+
"NAME": "svc-shared.print-template-key",
|
|
2042
|
+
"ACTION_GET_LIST": "getPrintTemplateKeys",
|
|
2043
|
+
"ACTION_CREATE": "createPrintTemplateKey",
|
|
2044
|
+
"ACTION_UPDATE": "updatePrintTemplateKey"
|
|
2045
|
+
},
|
|
2046
|
+
"SVC_SHARED_PRINT_TEMPLATE_LIBRARIES": {
|
|
2047
|
+
"NAME": "svc-shared.print-template-library",
|
|
2048
|
+
"ACTION_GET_LIST": "getPrintTemplateLibraries",
|
|
2049
|
+
"ACTION_CREATE": "createPrintTemplateLibrary",
|
|
2050
|
+
"ACTION_UPDATE": "updatePrintTemplateLibrary",
|
|
2051
|
+
"ACTION_DELETE_MANY": "deleteManyPrintTemplateLibrary"
|
|
2052
|
+
},
|
|
2040
2053
|
"COMMON_METHODS": {
|
|
2041
2054
|
"FIND_ONE_AND_UPDATE": "_findOneAndUpdate",
|
|
2042
2055
|
"COUNT_DOCUMENTS": "_countDocuments",
|