@things-factory/operato-hub 4.3.743 → 4.3.744
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.
- package/config.development.js +41 -75
- package/package.json +3 -3
package/config.development.js
CHANGED
|
@@ -4,45 +4,28 @@ module.exports = {
|
|
|
4
4
|
useVirtualHostBasedDomain: false,
|
|
5
5
|
fallbackRoute: '/',
|
|
6
6
|
subdomainOffset: 2,
|
|
7
|
-
port:
|
|
7
|
+
port: 4445,
|
|
8
8
|
inspect: '9260',
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
// host: '192.168.0.144',
|
|
17
|
-
// port: 15432,
|
|
18
|
-
// synchronize: false,
|
|
19
|
-
// logging: true
|
|
20
|
-
// },
|
|
21
|
-
//operato
|
|
22
|
-
// ormconfig: {
|
|
23
|
-
// name: 'default',
|
|
24
|
-
// type: 'postgres',
|
|
25
|
-
// database: 'operato',
|
|
26
|
-
// username: 'postgres',
|
|
27
|
-
// password: 'hatio',
|
|
28
|
-
// host: '192.168.0.151',
|
|
29
|
-
// port: 15432,
|
|
30
|
-
// synchronize: false,
|
|
31
|
-
// logging: true
|
|
32
|
-
// },
|
|
33
|
-
//eric2
|
|
9
|
+
storage: {
|
|
10
|
+
type: 's3',
|
|
11
|
+
accessKeyId: 'AKIAUQEOPWEJHCE4MTH4',
|
|
12
|
+
secretAccessKey: 'HkQ1engoFOhduKltXF4j6OakRmLY/9JhvyTWbc8b',
|
|
13
|
+
bucketName: 'opa-one',
|
|
14
|
+
region: 'ap-southeast-1'
|
|
15
|
+
},
|
|
34
16
|
// ormconfig: {
|
|
35
17
|
// name: 'default',
|
|
36
18
|
// type: 'postgres',
|
|
37
|
-
// database: '
|
|
19
|
+
// database: 'arif',
|
|
38
20
|
// username: 'postgres',
|
|
39
21
|
// password: 'hatio',
|
|
40
|
-
// host: '
|
|
22
|
+
// host: '10.254.29.189',
|
|
41
23
|
// port: 15432,
|
|
42
24
|
// synchronize: false,
|
|
43
25
|
// logging: true
|
|
44
26
|
// },
|
|
45
|
-
|
|
27
|
+
|
|
28
|
+
// STAGING DATABASE
|
|
46
29
|
ormconfig: {
|
|
47
30
|
name: 'default',
|
|
48
31
|
type: 'postgres',
|
|
@@ -54,30 +37,34 @@ module.exports = {
|
|
|
54
37
|
synchronize: false,
|
|
55
38
|
logging: true
|
|
56
39
|
},
|
|
57
|
-
|
|
40
|
+
|
|
58
41
|
// ormconfig: {
|
|
59
42
|
// name: 'default',
|
|
60
43
|
// type: 'postgres',
|
|
61
|
-
// database: '
|
|
44
|
+
// database: 'operato',
|
|
62
45
|
// username: 'postgres',
|
|
63
46
|
// password: 'hatio',
|
|
64
|
-
// host: '192.168.0.
|
|
47
|
+
// host: '192.168.0.153',
|
|
65
48
|
// port: 15432,
|
|
66
49
|
// synchronize: false,
|
|
67
50
|
// logging: true
|
|
68
51
|
// },
|
|
69
|
-
|
|
52
|
+
|
|
53
|
+
//db izzah
|
|
70
54
|
// ormconfig: {
|
|
71
55
|
// name: 'default',
|
|
72
56
|
// type: 'postgres',
|
|
73
|
-
// database: '
|
|
57
|
+
// database: '06072023',
|
|
74
58
|
// username: 'postgres',
|
|
75
59
|
// password: 'hatio',
|
|
76
|
-
// host: '192.168.0.
|
|
60
|
+
// host: '192.168.0.153',
|
|
77
61
|
// port: 15432,
|
|
78
62
|
// synchronize: true,
|
|
79
63
|
// logging: true
|
|
80
64
|
// },
|
|
65
|
+
//postgres
|
|
66
|
+
|
|
67
|
+
// //ERIC
|
|
81
68
|
// ormconfig: {
|
|
82
69
|
// name: 'default',
|
|
83
70
|
// type: 'postgres',
|
|
@@ -89,18 +76,20 @@ module.exports = {
|
|
|
89
76
|
// synchronize: true,
|
|
90
77
|
// logging: true
|
|
91
78
|
// },
|
|
92
|
-
|
|
79
|
+
|
|
80
|
+
//eric2
|
|
93
81
|
// ormconfig: {
|
|
94
82
|
// name: 'default',
|
|
95
83
|
// type: 'postgres',
|
|
96
|
-
// database: '
|
|
84
|
+
// database: 'eric2',
|
|
97
85
|
// username: 'postgres',
|
|
98
86
|
// password: 'hatio',
|
|
99
87
|
// host: '192.168.0.153',
|
|
100
88
|
// port: 15432,
|
|
101
|
-
// synchronize:
|
|
89
|
+
// synchronize: false,
|
|
102
90
|
// logging: true
|
|
103
91
|
// },
|
|
92
|
+
|
|
104
93
|
// ormconfig: {
|
|
105
94
|
// name: 'default',
|
|
106
95
|
// type: 'postgres',
|
|
@@ -114,7 +103,6 @@ module.exports = {
|
|
|
114
103
|
// connectTimeoutMS: 30000,
|
|
115
104
|
// extra: { poolSize: 30 }
|
|
116
105
|
// },
|
|
117
|
-
|
|
118
106
|
// ormconfig: {
|
|
119
107
|
// name: 'default',
|
|
120
108
|
// type: 'postgres',
|
|
@@ -128,7 +116,6 @@ module.exports = {
|
|
|
128
116
|
// connectTimeoutMS: 30000,
|
|
129
117
|
// extra: { poolSize: 30 }
|
|
130
118
|
// },
|
|
131
|
-
|
|
132
119
|
password: {
|
|
133
120
|
lowerCase: true,
|
|
134
121
|
upperCase: false,
|
|
@@ -180,6 +167,11 @@ module.exports = {
|
|
|
180
167
|
ciphers: 'SSLv3'
|
|
181
168
|
}
|
|
182
169
|
},
|
|
170
|
+
jobQueue: {
|
|
171
|
+
// For JobQueueService/JobWorker (FIFO queue is supported)
|
|
172
|
+
queueUrl: 'https://sqs.ap-southeast-5.amazonaws.com/309536469266/operato-job-queue.fifo',
|
|
173
|
+
sqsRegion: 'ap-southeast-5'
|
|
174
|
+
},
|
|
183
175
|
sender: 'noreply@hatiolab.com',
|
|
184
176
|
notification: {
|
|
185
177
|
// fcm: {
|
|
@@ -218,8 +210,7 @@ module.exports = {
|
|
|
218
210
|
isUAT: false,
|
|
219
211
|
application: 'Operato MMS',
|
|
220
212
|
partnerId: 846025,
|
|
221
|
-
partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64'
|
|
222
|
-
v2: true
|
|
213
|
+
partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64'
|
|
223
214
|
},
|
|
224
215
|
marketplaceIntegrationLazada: {
|
|
225
216
|
platform: 'lazada',
|
|
@@ -228,16 +219,6 @@ module.exports = {
|
|
|
228
219
|
appSecret: 'HB3RTNEXHlVSlBr9SmWF8AjbSUT7a825',
|
|
229
220
|
callback: 'https://maybank.operato-m.com/lazada-callback'
|
|
230
221
|
},
|
|
231
|
-
|
|
232
|
-
//testinglazada
|
|
233
|
-
// marketplaceIntegrationLazada: {
|
|
234
|
-
// platform: 'lazada',
|
|
235
|
-
// application: 'powrup_bi',
|
|
236
|
-
// appKey: '117890',
|
|
237
|
-
// appSecret: 'tQVllnUa7irAHoNxAwXEVxoP1we1bUjE',
|
|
238
|
-
// callback: 'https://73c5-175-141-30-142.ngrok-free.app/lazada-callback'
|
|
239
|
-
// },
|
|
240
|
-
|
|
241
222
|
accountingIntegrationXero: {
|
|
242
223
|
platform: 'xero',
|
|
243
224
|
application: 'Operato WMS',
|
|
@@ -246,36 +227,21 @@ module.exports = {
|
|
|
246
227
|
callback: 'http://operato-h.com:3000/callback-xero',
|
|
247
228
|
hostname: 'http://operato-h.com:3000/'
|
|
248
229
|
},
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
230
|
+
lambda: {
|
|
231
|
+
region: 'ap-southeast-1',
|
|
232
|
+
accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
|
|
233
|
+
secretAccessKey: 'OG2qS0Usg4wyjPWbfv1ahPZzP80/w8z4i8MYHl+e'
|
|
253
234
|
},
|
|
254
|
-
|
|
255
|
-
lmdIntegrationEms: { refreshThreshold: 43200 },
|
|
256
|
-
|
|
257
|
-
lmdIntegrationCitylink: { refreshThreshold: 172800000 },
|
|
258
235
|
awbFileStorage: {
|
|
259
236
|
type: 's3',
|
|
260
|
-
accessKeyId: '
|
|
261
|
-
secretAccessKey: '
|
|
237
|
+
accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
|
|
238
|
+
secretAccessKey: 'OG2qS0Usg4wyjPWbfv1ahPZzP80/w8z4i8MYHl+e',
|
|
262
239
|
bucketName: 'operato-awb',
|
|
263
240
|
region: 'ap-southeast-1'
|
|
264
241
|
},
|
|
265
|
-
lambda: {
|
|
266
|
-
region: 'ap-southeast-1',
|
|
267
|
-
accessKeyId: 'AKIAUQEOPWEJPXIVER74',
|
|
268
|
-
secretAccessKey: 'I6uuS+6CMzIQlqBS9i+G8AYIeYj5RR7wb4fxjbLq'
|
|
269
|
-
},
|
|
270
|
-
lmdIntegrationConfig: {
|
|
271
|
-
version: {
|
|
272
|
-
v1: 'lmdMiddleware',
|
|
273
|
-
v2: 'lmdMiddlewareV2'
|
|
274
|
-
}
|
|
275
|
-
},
|
|
276
242
|
awsSesEmail: {
|
|
277
|
-
accessKeyId: '
|
|
278
|
-
secretAccessKey: '
|
|
243
|
+
accessKeyId: 'AKIAUQEOPWEJKQDJSEOG',
|
|
244
|
+
secretAccessKey: 'tMDPIxH1oe31d1TYsqWu+h2nhA8n5y5jRBjCmiK7',
|
|
279
245
|
email: 'support@hatio.asia'
|
|
280
246
|
},
|
|
281
247
|
reportApiUrl:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-hub",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.744",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"@things-factory/system-ui": "^4.3.743",
|
|
110
110
|
"@things-factory/transport-base": "^4.3.743",
|
|
111
111
|
"@things-factory/warehouse-base": "^4.3.743",
|
|
112
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
112
|
+
"@things-factory/worksheet-base": "^4.3.744",
|
|
113
113
|
"cron-parser": "^4.7.0",
|
|
114
114
|
"koa2-swagger-ui": "^5.0.2",
|
|
115
115
|
"swagger-jsdoc": "^5.0.0",
|
|
@@ -122,5 +122,5 @@
|
|
|
122
122
|
"resolutions": {
|
|
123
123
|
"core-js": "^3.16.0"
|
|
124
124
|
},
|
|
125
|
-
"gitHead": "
|
|
125
|
+
"gitHead": "1519990fa45b1edfdfa52b0ac3748b841fb18afd"
|
|
126
126
|
}
|