@things-factory/operato-mms 3.6.29 → 3.6.33

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.
Files changed (2) hide show
  1. package/config.development.js +30 -53
  2. package/package.json +63 -63
@@ -2,29 +2,30 @@ module.exports = {
2
2
  domainType: 'company',
3
3
  ormconfig: {
4
4
  name: 'default',
5
- type: 'postgres',
6
- database: 'postgres',
7
- username: 'postgres',
8
- password: 'abcd1234',
9
- host: 'localhost',
10
- port: 15432,
11
- synchronize: true,
12
- logging: true
5
+ type: 'sqlite',
6
+ database: 'db.sqlite',
7
+ synchronize: false,
8
+ logging: true,
9
+ logger: 'debug'
10
+ // name: 'default',
11
+ // type: 'postgres',
12
+ // database: 'postgres',
13
+ // username: 'postgres',
14
+ // password: 'abcd1234',
15
+ // host: 'localhost',
16
+ // port: 15432,
17
+ // synchronize: true,
18
+ // logging: true
19
+ },
20
+ oauth2: {
21
+ platforms: [
22
+ {
23
+ name: 'Operato Hub',
24
+ apiURL: 'http://operato-m.localhost:3000/api'
25
+ }
26
+ ]
13
27
  },
14
- // ormconfig: {
15
- // name: 'default',
16
- // type: 'postgres',
17
- // database: 'postgres',
18
- // username: 'postgres',
19
- // password: 'abcd1234',
20
- // host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
21
- // port: 55432,
22
- // synchronize: true,
23
- // logging: true
24
- // },
25
28
  useVirtualHostBasedDomain: false,
26
- accessTokenCookieKey: 'access_token.mms',
27
- subdomainOffset: 2,
28
29
  port: 5000,
29
30
  uploads: 'uploads',
30
31
  attachmentsPath: 'attachments',
@@ -39,13 +40,14 @@ module.exports = {
39
40
  level: 'info'
40
41
  }
41
42
  },
42
- // marketplaceIntegrationShopee: {
43
- // platform: 'shopee',
44
- // isUAT: true,
45
- // application: 'MMS v2',
46
- // partnerId: 1002560,
47
- // partnerKey: '6670f392184ea1c5b5ea8d468f668d911baec6feebcee9bde55c00423b4568b2'
48
- // },
43
+ fulfillmentIntegrationOperato: {
44
+ host: 'operatohub.com',
45
+ platform: 'operato',
46
+ application: 'Operato MMS',
47
+ appKey: '480d19cbfb0655357878119559d47333',
48
+ appSecret: 'dc5078bc17d50a18ef6fc3188934bbbd',
49
+ callback: 'https://www.myoperato.com/callback-operato'
50
+ },
49
51
  marketplaceIntegrationShopee: {
50
52
  platform: 'shopee',
51
53
  isUAT: false,
@@ -60,31 +62,6 @@ module.exports = {
60
62
  appSecret: 'HB3RTNEXHlVSlBr9SmWF8AjbSUT7a825',
61
63
  callback: 'https://myoperato.com/lazada-callback'
62
64
  },
63
- marketplaceIntegrationShopify: {
64
- platform: 'shopify',
65
- application: 'Operato MMS',
66
- apiKey: '21e55f83b2b705172364c93a18cf560c',
67
- apiSecret: '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'
68
- },
69
- marketplaceIntegrationShopifyPrivate: {
70
- platform: 'shopify',
71
- application: 'Operato MMS Test',
72
- apiKey: '5be8c95bc9a03d41e3c0da3d8c033747',
73
- apiSecret: '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'
74
- },
75
- fulfillmentIntegrationOperato: {
76
- protocol: 'http',
77
- host: 'operato-h.com:3000',
78
- platform: 'operato',
79
- application: 'Operato MMS',
80
- appKey: 'a9bf751e622bf146662b240d58971051',
81
- appSecret: '1c385935dc131c4b902b9bbf6a4798af',
82
- callback: 'http://operato-m.com:5000/callback-operato'
83
- },
84
- lmdIntegrationCitylink: {
85
- protocol: 'http',
86
- host: '202.133.101.28:8889'
87
- },
88
65
  notification: {
89
66
  fcm: {
90
67
  serviceAccount: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-mms",
3
- "version": "3.6.29",
3
+ "version": "3.6.33",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -25,8 +25,8 @@
25
25
  "clean:server": "rm -rf dist-server",
26
26
  "clean:client": "rm -rf dist-client",
27
27
  "clean": "npm run clean:server && npm run clean:client",
28
- "migration": "npm run build:server && things-factory-migration",
29
- "migration:privileges": "npm run build:server && things-factory-migration-privileges",
28
+ "migration": "things-factory-migration",
29
+ "migration:privileges": "things-factory-migration-privileges",
30
30
  "migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations",
31
31
  "migration:generate": "node ../../node_modules/typeorm/cli.js migration:generate",
32
32
  "migration:run": "node ../../node_modules/typeorm/cli.js migration:run",
@@ -41,68 +41,68 @@
41
41
  "@material/mwc-formfield": "^0.22.1",
42
42
  "@material/mwc-linear-progress": "^0.22.1",
43
43
  "@material/mwc-radio": "^0.22.1",
44
- "@things-factory/apptool-ui": "^3.6.29",
45
- "@things-factory/attachment-base": "^3.6.29",
46
- "@things-factory/auth-ui": "^3.6.29",
47
- "@things-factory/biz-base": "^3.6.29",
48
- "@things-factory/board-service": "^3.6.29",
49
- "@things-factory/board-ui": "^3.6.29",
50
- "@things-factory/code-ui": "^3.6.29",
51
- "@things-factory/context-ui": "^3.6.29",
52
- "@things-factory/dashboard": "^3.6.29",
53
- "@things-factory/export-ui": "^3.6.29",
54
- "@things-factory/export-ui-csv": "^3.6.29",
55
- "@things-factory/export-ui-excel": "^3.6.29",
56
- "@things-factory/geography": "^3.6.29",
57
- "@things-factory/grist-ui": "^3.6.24",
58
- "@things-factory/help": "^3.6.29",
59
- "@things-factory/i18n-ui": "^3.6.29",
60
- "@things-factory/integration-fulfillment": "^3.6.29",
61
- "@things-factory/integration-lmd": "^3.6.29",
62
- "@things-factory/lite-menu": "^3.6.29",
63
- "@things-factory/marketplace-base": "^3.6.29",
64
- "@things-factory/more-ui": "^3.6.29",
65
- "@things-factory/notification": "^3.6.29",
66
- "@things-factory/oauth2-client": "^3.6.29",
67
- "@things-factory/pdf": "^3.6.24",
68
- "@things-factory/product-base": "^3.6.29",
69
- "@things-factory/resource-ui": "^3.6.29",
70
- "@things-factory/scene-chartjs": "^3.6.24",
71
- "@things-factory/scene-clock": "^3.6.24",
72
- "@things-factory/scene-clone": "^3.6.24",
73
- "@things-factory/scene-compass": "^3.6.24",
74
- "@things-factory/scene-data-transform": "^3.6.24",
75
- "@things-factory/scene-excel": "^3.6.24",
76
- "@things-factory/scene-firebase": "^3.6.24",
77
- "@things-factory/scene-form": "^3.6.24",
78
- "@things-factory/scene-gauge": "^3.6.24",
79
- "@things-factory/scene-google-map": "^3.6.24",
80
- "@things-factory/scene-graphql": "^3.6.24",
81
- "@things-factory/scene-grist": "^3.6.24",
82
- "@things-factory/scene-half-roundrect": "^3.6.24",
83
- "@things-factory/scene-indoor-map": "^3.6.24",
84
- "@things-factory/scene-integration": "^3.6.24",
85
- "@things-factory/scene-label": "^3.6.29",
86
- "@things-factory/scene-legend": "^3.6.24",
87
- "@things-factory/scene-marker": "^3.6.24",
88
- "@things-factory/scene-mqtt": "^3.6.24",
89
- "@things-factory/scene-news-ticker": "^3.6.24",
90
- "@things-factory/scene-progressbar": "^3.6.24",
91
- "@things-factory/scene-random": "^3.6.24",
92
- "@things-factory/scene-restful": "^3.6.24",
93
- "@things-factory/scene-switch": "^3.6.24",
94
- "@things-factory/scene-tab": "^3.6.24",
95
- "@things-factory/scene-table": "^3.6.24",
96
- "@things-factory/scene-timer": "^3.6.24",
97
- "@things-factory/scene-visualizer": "^3.6.24",
98
- "@things-factory/scene-wheel-sorter": "^3.6.24",
99
- "@things-factory/setting-ui": "^3.6.29",
100
- "@things-factory/system-ui": "^3.6.29",
101
- "@things-factory/warehouse-base": "^3.6.29"
44
+ "@things-factory/apptool-ui": "^3.6.33",
45
+ "@things-factory/attachment-base": "^3.6.33",
46
+ "@things-factory/auth-ui": "^3.6.33",
47
+ "@things-factory/biz-base": "^3.6.33",
48
+ "@things-factory/board-service": "^3.6.33",
49
+ "@things-factory/board-ui": "^3.6.33",
50
+ "@things-factory/code-ui": "^3.6.33",
51
+ "@things-factory/context-ui": "^3.6.33",
52
+ "@things-factory/dashboard": "^3.6.33",
53
+ "@things-factory/export-ui": "^3.6.33",
54
+ "@things-factory/export-ui-csv": "^3.6.33",
55
+ "@things-factory/export-ui-excel": "^3.6.33",
56
+ "@things-factory/geography": "^3.6.33",
57
+ "@things-factory/grist-ui": "^3.6.33",
58
+ "@things-factory/help": "^3.6.33",
59
+ "@things-factory/i18n-ui": "^3.6.33",
60
+ "@things-factory/integration-fulfillment": "^3.6.33",
61
+ "@things-factory/integration-lmd": "^3.6.33",
62
+ "@things-factory/lite-menu": "^3.6.33",
63
+ "@things-factory/marketplace-base": "^3.6.33",
64
+ "@things-factory/more-ui": "^3.6.33",
65
+ "@things-factory/notification": "^3.6.33",
66
+ "@things-factory/oauth2-client": "^3.6.33",
67
+ "@things-factory/pdf": "^3.6.33",
68
+ "@things-factory/product-base": "^3.6.33",
69
+ "@things-factory/resource-ui": "^3.6.33",
70
+ "@things-factory/scene-chartjs": "^3.6.33",
71
+ "@things-factory/scene-clock": "^3.6.33",
72
+ "@things-factory/scene-clone": "^3.6.33",
73
+ "@things-factory/scene-compass": "^3.6.33",
74
+ "@things-factory/scene-data-transform": "^3.6.33",
75
+ "@things-factory/scene-excel": "^3.6.33",
76
+ "@things-factory/scene-firebase": "^3.6.33",
77
+ "@things-factory/scene-form": "^3.6.33",
78
+ "@things-factory/scene-gauge": "^3.6.33",
79
+ "@things-factory/scene-google-map": "^3.6.33",
80
+ "@things-factory/scene-graphql": "^3.6.33",
81
+ "@things-factory/scene-grist": "^3.6.33",
82
+ "@things-factory/scene-half-roundrect": "^3.6.33",
83
+ "@things-factory/scene-indoor-map": "^3.6.33",
84
+ "@things-factory/scene-integration": "^3.6.33",
85
+ "@things-factory/scene-label": "^3.6.33",
86
+ "@things-factory/scene-legend": "^3.6.33",
87
+ "@things-factory/scene-marker": "^3.6.33",
88
+ "@things-factory/scene-mqtt": "^3.6.33",
89
+ "@things-factory/scene-news-ticker": "^3.6.33",
90
+ "@things-factory/scene-progressbar": "^3.6.33",
91
+ "@things-factory/scene-random": "^3.6.33",
92
+ "@things-factory/scene-restful": "^3.6.33",
93
+ "@things-factory/scene-switch": "^3.6.33",
94
+ "@things-factory/scene-tab": "^3.6.33",
95
+ "@things-factory/scene-table": "^3.6.33",
96
+ "@things-factory/scene-timer": "^3.6.33",
97
+ "@things-factory/scene-visualizer": "^3.6.33",
98
+ "@things-factory/scene-wheel-sorter": "^3.6.33",
99
+ "@things-factory/setting-ui": "^3.6.33",
100
+ "@things-factory/system-ui": "^3.6.33",
101
+ "@things-factory/warehouse-base": "^3.6.33"
102
102
  },
103
103
  "devDependencies": {
104
- "@things-factory/builder": "^3.6.24",
104
+ "@things-factory/builder": "^3.6.33",
105
105
  "@types/node-fetch": "^2.5.7"
106
106
  },
107
- "gitHead": "68873f7d01cf4fdabb992d3cca0c7c2d4cca07b4"
107
+ "gitHead": "965ef2f6fdc604b4f800e4d01337a3814b3b0d21"
108
108
  }