@things-factory/operato-mms 4.0.12 → 4.0.17

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 +49 -15
  2. package/package.json +61 -61
@@ -1,9 +1,35 @@
1
1
  module.exports = {
2
+ domainType: 'company',
3
+ ormconfig: {
4
+ name: 'default',
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
+ ]
27
+ },
2
28
  useVirtualHostBasedDomain: false,
3
- port: 3000,
29
+ port: 5000,
4
30
  uploads: 'uploads',
5
31
  attachmentsPath: 'attachments',
6
- SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C89dfC95',
32
+ SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
7
33
  logger: {
8
34
  file: {
9
35
  filename: 'logs/application-%DATE%.log',
@@ -14,18 +40,27 @@ module.exports = {
14
40
  level: 'info'
15
41
  }
16
42
  },
17
- email: {
18
- host: 'smtp.office365.com',
19
- port: 587,
20
- secure: false, // true for 465, false for other ports
21
- auth: {
22
- user: 'no-reply@hatiolab.com', // generated ethereal user
23
- pass: 'h@ti0LAB1008' // generated ethereal password
24
- },
25
- secureConnection: false,
26
- tls: {
27
- ciphers: 'SSLv3'
28
- }
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
+ },
51
+ marketplaceIntegrationShopee: {
52
+ platform: 'shopee',
53
+ isUAT: false,
54
+ application: 'Operato MMS',
55
+ partnerId: 846025,
56
+ partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64'
57
+ },
58
+ marketplaceIntegrationLazada: {
59
+ platform: 'lazada',
60
+ application: 'operato-mms',
61
+ appKey: '120961',
62
+ appSecret: 'HB3RTNEXHlVSlBr9SmWF8AjbSUT7a825',
63
+ callback: 'https://myoperato.com/lazada-callback'
29
64
  },
30
65
  notification: {
31
66
  fcm: {
@@ -35,7 +70,6 @@ module.exports = {
35
70
  '-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDYNOfyNjPMSeG9\nzU1qs0cpVK5cVfadcUaw5g+hkQZMOMlAA7uqW2eX4vkayj7MzbYUayH+sei8044Q\nJIyl6f26dNX1VT3UgTmSmCS0v48EBEZHCgusrUGFjduLRN6OS6uvrXW1xKA18k9q\nai1C2EHCXF2AE4PTvf239RC1UIOnVePcMtT7rMTdHRO4s8OKVuSDbzIt8k1cV3Zt\nES0YsJlkELqBisYpV//2/ZSILTt39J9JzrVef03X9kkoo9p+YnNyy6tWsfQPfgJO\nybiRGBNxiyJ/E2pxRo/WqU0go9OzYJlGaSUrUx09heNiRD1b0MAOmyPDJz/6AaTk\nkU/A+kLzAgMBAAECggEADQ5s2gtR53VSujk1V/Xe8e0Di99DwaWUj5w6YhcK7/wX\nPdQRN4Fw6RLeLjL7xeG/rCNSwzm6hKSrQJL5zLnWW7XbMdyQRk6jdmnVAEv3zACi\nFH9+eFK3e+Q214XfgWz/v4p/FZdRLCYni5VBNHcwyWxLLS/V1ynzB3KM1sDiTRmI\npcT7+uTtwrKgJq64sXtFE2pYrFxDdCiyqzkhv/2ed4YIowAjpKBbbcCDKeVxVkoz\nC1P4PAzs9EeUu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com'
37
72
  },
38
-
39
73
  appConfig: {
40
74
  apiKey: 'AIzaSyDdTM2BTLHSt2LNS0G5QB8G0i4KBXFiG7U',
41
75
  projectId: 'operato',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-mms",
3
- "version": "4.0.12",
3
+ "version": "4.0.17",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -41,69 +41,69 @@
41
41
  "@material/mwc-formfield": "^0.25.3",
42
42
  "@material/mwc-linear-progress": "^0.25.3",
43
43
  "@material/mwc-radio": "^0.25.3",
44
- "@operato/ghost-print": "^0.2.43",
45
- "@operato/scene-chartjs": "^0.0.15",
46
- "@operato/scene-clock": "^0.0.15",
47
- "@operato/scene-clone": "^0.0.15",
48
- "@operato/scene-compass": "^0.0.15",
49
- "@operato/scene-grist": "^0.0.15",
50
- "@operato/scene-integration": "^0.0.15",
51
- "@operato/scene-legend": "^0.0.15",
52
- "@operato/scene-progressbar": "^0.0.15",
53
- "@operato/scene-random": "^0.0.15",
54
- "@operato/scene-switch": "^0.0.15",
55
- "@operato/scene-timer": "^0.0.15",
56
- "@operato/scene-wheel-sorter": "^0.0.15",
57
- "@things-factory/apptool-ui": "^4.0.12",
58
- "@things-factory/attachment-base": "^4.0.12",
59
- "@things-factory/auth-ui": "^4.0.12",
60
- "@things-factory/biz-base": "^4.0.12",
61
- "@things-factory/board-service": "^4.0.12",
62
- "@things-factory/board-ui": "^4.0.12",
63
- "@things-factory/code-ui": "^4.0.12",
64
- "@things-factory/context-ui": "^4.0.12",
65
- "@things-factory/dashboard": "^4.0.12",
66
- "@things-factory/export-ui": "^4.0.12",
67
- "@things-factory/export-ui-csv": "^4.0.12",
68
- "@things-factory/export-ui-excel": "^4.0.12",
69
- "@things-factory/geography": "^4.0.12",
70
- "@things-factory/grist-ui": "^4.0.12",
71
- "@things-factory/help": "^4.0.12",
72
- "@things-factory/i18n-ui": "^4.0.12",
73
- "@things-factory/integration-fulfillment": "^4.0.12",
74
- "@things-factory/integration-lmd": "^4.0.12",
75
- "@things-factory/lite-menu": "^4.0.12",
76
- "@things-factory/marketplace-base": "^4.0.12",
77
- "@things-factory/more-ui": "^4.0.12",
78
- "@things-factory/notification": "^4.0.12",
79
- "@things-factory/oauth2-client": "^4.0.12",
80
- "@things-factory/pdf": "^4.0.12",
81
- "@things-factory/product-base": "^4.0.12",
82
- "@things-factory/resource-ui": "^4.0.12",
83
- "@things-factory/scene-data-transform": "^4.0.12",
84
- "@things-factory/scene-excel": "^4.0.12",
85
- "@things-factory/scene-firebase": "^4.0.12",
86
- "@things-factory/scene-form": "^4.0.12",
87
- "@things-factory/scene-gauge": "^4.0.12",
88
- "@things-factory/scene-google-map": "^4.0.12",
89
- "@things-factory/scene-graphql": "^4.0.12",
44
+ "@operato/ghost-print": "^0.2.49",
45
+ "@operato/scene-chartjs": "^0.0.20",
46
+ "@operato/scene-clock": "^0.0.20",
47
+ "@operato/scene-clone": "^0.0.20",
48
+ "@operato/scene-compass": "^0.0.20",
49
+ "@operato/scene-gauge": "^0.0.20",
50
+ "@operato/scene-grist": "^0.0.20",
51
+ "@operato/scene-indoor-map": "^0.0.20",
52
+ "@operato/scene-integration": "^0.0.20",
53
+ "@operato/scene-legend": "^0.0.20",
54
+ "@operato/scene-progressbar": "^0.0.20",
55
+ "@operato/scene-random": "^0.0.20",
56
+ "@operato/scene-switch": "^0.0.20",
57
+ "@operato/scene-table": "^0.0.20",
58
+ "@operato/scene-timer": "^0.0.20",
59
+ "@operato/scene-wheel-sorter": "^0.0.20",
60
+ "@things-factory/apptool-ui": "^4.0.17",
61
+ "@things-factory/attachment-base": "^4.0.17",
62
+ "@things-factory/auth-ui": "^4.0.17",
63
+ "@things-factory/biz-base": "^4.0.17",
64
+ "@things-factory/board-service": "^4.0.17",
65
+ "@things-factory/board-ui": "^4.0.17",
66
+ "@things-factory/code-ui": "^4.0.17",
67
+ "@things-factory/context-ui": "^4.0.17",
68
+ "@things-factory/dashboard": "^4.0.17",
69
+ "@things-factory/export-ui": "^4.0.17",
70
+ "@things-factory/export-ui-csv": "^4.0.17",
71
+ "@things-factory/export-ui-excel": "^4.0.17",
72
+ "@things-factory/geography": "^4.0.17",
73
+ "@things-factory/grist-ui": "^4.0.17",
74
+ "@things-factory/help": "^4.0.17",
75
+ "@things-factory/i18n-ui": "^4.0.17",
76
+ "@things-factory/integration-fulfillment": "^4.0.17",
77
+ "@things-factory/integration-lmd": "^4.0.17",
78
+ "@things-factory/lite-menu": "^4.0.17",
79
+ "@things-factory/marketplace-base": "^4.0.17",
80
+ "@things-factory/more-ui": "^4.0.17",
81
+ "@things-factory/notification": "^4.0.17",
82
+ "@things-factory/oauth2-client": "^4.0.17",
83
+ "@things-factory/pdf": "^4.0.17",
84
+ "@things-factory/product-base": "^4.0.17",
85
+ "@things-factory/resource-ui": "^4.0.17",
86
+ "@things-factory/scene-data-transform": "^4.0.17",
87
+ "@things-factory/scene-excel": "^4.0.17",
88
+ "@things-factory/scene-firebase": "^4.0.17",
89
+ "@things-factory/scene-form": "^4.0.17",
90
+ "@things-factory/scene-google-map": "^4.0.17",
91
+ "@things-factory/scene-graphql": "^4.0.17",
90
92
  "@things-factory/scene-half-roundrect": "^4.0.9",
91
- "@things-factory/scene-indoor-map": "^4.0.12",
92
- "@things-factory/scene-label": "^4.0.12",
93
- "@things-factory/scene-marker": "^4.0.12",
94
- "@things-factory/scene-mqtt": "^4.0.12",
95
- "@things-factory/scene-news-ticker": "^4.0.12",
96
- "@things-factory/scene-restful": "^4.0.12",
97
- "@things-factory/scene-tab": "^4.0.12",
98
- "@things-factory/scene-table": "^4.0.12",
99
- "@things-factory/scene-visualizer": "^4.0.12",
100
- "@things-factory/setting-ui": "^4.0.12",
101
- "@things-factory/system-ui": "^4.0.12",
102
- "@things-factory/warehouse-base": "^4.0.12"
93
+ "@things-factory/scene-label": "^4.0.17",
94
+ "@things-factory/scene-marker": "^4.0.17",
95
+ "@things-factory/scene-mqtt": "^4.0.17",
96
+ "@things-factory/scene-news-ticker": "^4.0.17",
97
+ "@things-factory/scene-restful": "^4.0.17",
98
+ "@things-factory/scene-tab": "^4.0.17",
99
+ "@things-factory/scene-visualizer": "^4.0.17",
100
+ "@things-factory/setting-ui": "^4.0.17",
101
+ "@things-factory/system-ui": "^4.0.17",
102
+ "@things-factory/warehouse-base": "^4.0.17"
103
103
  },
104
104
  "devDependencies": {
105
- "@things-factory/builder": "^4.0.12",
105
+ "@things-factory/builder": "^4.0.17",
106
106
  "@types/node-fetch": "^2.5.7"
107
107
  },
108
- "gitHead": "29d59ff95fcb473cb43c6f798cd04f3ec3a779a0"
108
+ "gitHead": "a82db9fc895f18855244c3d09383758608e03e19"
109
109
  }