@things-factory/operato-hub 4.3.347 → 4.3.348

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.
@@ -4,51 +4,57 @@ module.exports = {
4
4
  useVirtualHostBasedDomain: false,
5
5
  fallbackRoute: '/',
6
6
  subdomainOffset: 2,
7
- port: 1200,
7
+ port: 3000,
8
8
  inspect: '9260',
9
+ ormconfig: {
10
+ name: 'default',
11
+ type: 'postgres',
12
+ database: 'postgres',
13
+ username: 'postgres',
14
+ password: 'hatio',
15
+ host: '192.168.0.161',
16
+ port: 15432,
17
+ synchronize: false,
18
+ logging: true
19
+ },
20
+
9
21
  // ormconfig: {
10
22
  // name: 'default',
11
23
  // type: 'postgres',
12
- // database: 'postgres',
13
- // username: 'postgres',
14
- // password: 'abcd1234',
15
- // host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
16
- // port: 55432,
17
- // synchronize: true,
18
- // logging: true
19
- // },
20
- // ormconfig: {
21
- // name: 'default',
22
- // type: 'postgres',
23
- // database: 'v3-hub1',
24
+ // database: '06072023',
24
25
  // username: 'postgres',
25
26
  // password: 'hatio',
26
- // host: 'localhost',
27
+ // host: '192.168.0.153',
27
28
  // port: 15432,
28
- // synchronize: true,
29
+ // synchronize: false,
29
30
  // logging: true
30
31
  // },
32
+
31
33
  // ormconfig: {
32
34
  // name: 'default',
33
35
  // type: 'postgres',
34
- // database: 'dev',
36
+ // database: 'dev2', // dev2
35
37
  // username: 'postgres',
36
- // password: 'hatio',
37
- // host: '192.168.0.161',
38
- // port: 15432,
39
- // synchronize: true,
40
- // logging: true
38
+ // password: 'abcd1234',
39
+ // host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
40
+ // port: 55432,
41
+ // synchronize:false,
42
+ // logging: false,
43
+ // connectTimeoutMS: 30000,
44
+ // extra: { poolSize: 30 }
41
45
  // },
42
46
  // ormconfig: {
43
47
  // name: 'default',
44
48
  // type: 'postgres',
45
- // database: 'dev',
46
- // username: 'postgres',
47
- // password: 'hatio',
48
49
  // host: 'localhost',
49
50
  // port: 15432,
50
- // synchronize: true,
51
- // logging: true
51
+ // database: 'postgres',
52
+ // username: 'postgres',
53
+ // password: 'hatio',
54
+ // synchronize: false,
55
+ // logging: true,
56
+ // connectTimeoutMS: 30000,
57
+ // extra: { poolSize: 30 }
52
58
  // },
53
59
  password: {
54
60
  lowerCase: true,
@@ -126,13 +132,13 @@ module.exports = {
126
132
  // }
127
133
  },
128
134
  fulfillmentIntegrationOperato: {
129
- host: 'operato-h.com:3000',
135
+ host: '192.168.0.161:3000',
130
136
  protocol: 'http',
131
137
  platform: 'operato',
132
138
  application: 'Operato MMS',
133
139
  appKey: 'a9bf751e622bf146662b240d58971051',
134
140
  appSecret: '1c385935dc131c4b902b9bbf6a4798af',
135
- callback: 'http://operato-retail.com:5000/callback-operato'
141
+ callback: 'http://192.168.0.161:5000/callback-operato'
136
142
  },
137
143
  marketplaceIntegrationShopee: {
138
144
  platform: 'shopee',
@@ -155,5 +161,12 @@ module.exports = {
155
161
  apiSecret: 'T139_ItMjObC82mmy7iwnNflhd2iV0kUvDBj0P_201EmA7Sj',
156
162
  callback: 'http://operato-h.com:3000/callback-xero',
157
163
  hostname: 'http://operato-h.com:3000/'
164
+ },
165
+ awbFileStorage: {
166
+ type: 's3',
167
+ accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
168
+ secretAccessKey: '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',
169
+ bucketName: 'operato-awb',
170
+ region: 'ap-southeast-1'
158
171
  }
159
172
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-hub",
3
- "version": "4.3.347",
3
+ "version": "4.3.348",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -108,7 +108,7 @@
108
108
  "@things-factory/shell": "^4.3.281",
109
109
  "@things-factory/system-ui": "^4.3.281",
110
110
  "@things-factory/warehouse-base": "^4.3.346",
111
- "@things-factory/worksheet-base": "^4.3.347",
111
+ "@things-factory/worksheet-base": "^4.3.348",
112
112
  "cron-parser": "^4.7.0",
113
113
  "koa2-swagger-ui": "^5.0.2",
114
114
  "swagger-jsdoc": "^5.0.0",
@@ -120,5 +120,5 @@
120
120
  "resolutions": {
121
121
  "core-js": "^3.16.0"
122
122
  },
123
- "gitHead": "904685cece59b6764b617ff8547d7d5efe1f666c"
123
+ "gitHead": "2a089d3eebedec828b98325ef66325ed9c5bd936"
124
124
  }