@hiennc24/constant 1.1.6 → 1.1.7

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.
@@ -160,6 +160,8 @@ declare const COLLECTIONS: {
160
160
  SETTING_ACCESS_TOKEN_COLLECTION_NAME: string;
161
161
  SETTING_ECOMMERCE_PLATFORM_REPOSITORY_NAME: string;
162
162
  SETTING_ECOMMERCE_PLATFORM_COLLECTION_NAME: string;
163
+ SETTING_INVOICE_REPOSITORY_NAME: string;
164
+ SETTING_INVOICE_COLLECTION_NAME: string;
163
165
  PROVINCE_REPOSITORY_NAME: string;
164
166
  PROVINCE_COLLECTION_NAME: string;
165
167
  DISTRICT_REPOSITORY_NAME: string;
@@ -207,6 +207,9 @@ const COLLECTIONS = {
207
207
  // Setting Ecommerce Platform
208
208
  SETTING_ECOMMERCE_PLATFORM_REPOSITORY_NAME: "settingEcommercePlatform",
209
209
  SETTING_ECOMMERCE_PLATFORM_COLLECTION_NAME: "setting_ecommerce_platforms",
210
+ // setting invoices
211
+ SETTING_INVOICE_REPOSITORY_NAME: 'settingInvoice',
212
+ SETTING_INVOICE_COLLECTION_NAME: 'setting_invoices',
210
213
  // Province
211
214
  PROVINCE_REPOSITORY_NAME: "province",
212
215
  PROVINCE_COLLECTION_NAME: "provinces",
@@ -1,4 +1,20 @@
1
1
  {
2
+ "SVC_SHARED_SETTING_INVOICE": {
3
+ "NAME": "svc-shared.settingInvoice",
4
+ "ACTION_CREATE": "create",
5
+ "ACTION_UPDATE": "update",
6
+ "ACTION_DELETE": "delete",
7
+ "ACTION_GET": "get"
8
+ },
9
+ "SVC_SHARED_INVOICE": {
10
+ "NAME": "svc-shared.invoice",
11
+ "ACTION_CREATE_INVOICE": "createInvoice",
12
+ "ACTION_GET_LIST_INVOICES": "getListInvoices",
13
+ "ACTION_GET_DETAIL_INVOICE": "getDetailInvoice",
14
+ "ACTION_UPDATE_INVOICE": "updateInvoice",
15
+ "ACTION_DELETE_INVOICE": "deleteInvoice",
16
+ "ACTION_EXEC_COMMAND": "execCommand"
17
+ },
2
18
  "SCHEDULE": {
3
19
  "NAME": "schedule",
4
20
  "ACTION_CREATE_SCHEDULE": "createSchedule",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiennc24/constant",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {