@things-factory/operato-hub 4.3.788 → 4.3.790
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 +89 -45
- package/package.json +19 -19
package/config.development.js
CHANGED
|
@@ -4,15 +4,9 @@ module.exports = {
|
|
|
4
4
|
useVirtualHostBasedDomain: false,
|
|
5
5
|
fallbackRoute: '/',
|
|
6
6
|
subdomainOffset: 2,
|
|
7
|
-
port:
|
|
7
|
+
port: 3000,
|
|
8
8
|
inspect: '9260',
|
|
9
|
-
|
|
10
|
-
type: 's3',
|
|
11
|
-
accessKeyId: 'AKIAUQEOPWEJHCE4MTH4',
|
|
12
|
-
secretAccessKey: 'HkQ1engoFOhduKltXF4j6OakRmLY/9JhvyTWbc8b',
|
|
13
|
-
bucketName: 'opa-one',
|
|
14
|
-
region: 'ap-southeast-1'
|
|
15
|
-
},
|
|
9
|
+
//postgres
|
|
16
10
|
// ormconfig: {
|
|
17
11
|
// name: 'default',
|
|
18
12
|
// type: 'postgres',
|
|
@@ -24,7 +18,30 @@ module.exports = {
|
|
|
24
18
|
// synchronize: false,
|
|
25
19
|
// logging: true
|
|
26
20
|
// },
|
|
27
|
-
|
|
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
|
|
34
|
+
// ormconfig: {
|
|
35
|
+
// name: 'default',
|
|
36
|
+
// type: 'postgres',
|
|
37
|
+
// database: 'eric2',
|
|
38
|
+
// username: 'postgres',
|
|
39
|
+
// password: 'hatio',
|
|
40
|
+
// host: '192.168.0.153',
|
|
41
|
+
// port: 15432,
|
|
42
|
+
// synchronize: false,
|
|
43
|
+
// logging: true
|
|
44
|
+
// },
|
|
28
45
|
// STAGING DATABASE
|
|
29
46
|
ormconfig: {
|
|
30
47
|
name: 'default',
|
|
@@ -37,34 +54,30 @@ module.exports = {
|
|
|
37
54
|
synchronize: false,
|
|
38
55
|
logging: true
|
|
39
56
|
},
|
|
40
|
-
|
|
57
|
+
//EMS
|
|
41
58
|
// ormconfig: {
|
|
42
59
|
// name: 'default',
|
|
43
60
|
// type: 'postgres',
|
|
44
|
-
// database: '
|
|
61
|
+
// database: 'EMS',
|
|
45
62
|
// username: 'postgres',
|
|
46
63
|
// password: 'hatio',
|
|
47
|
-
// host: '192.168.0.
|
|
64
|
+
// host: '192.168.0.161',
|
|
48
65
|
// port: 15432,
|
|
49
66
|
// synchronize: false,
|
|
50
67
|
// logging: true
|
|
51
68
|
// },
|
|
52
|
-
|
|
53
|
-
//db izzah
|
|
69
|
+
//db nora
|
|
54
70
|
// ormconfig: {
|
|
55
71
|
// name: 'default',
|
|
56
72
|
// type: 'postgres',
|
|
57
|
-
// database: '
|
|
73
|
+
// database: 'postgres',
|
|
58
74
|
// username: 'postgres',
|
|
59
75
|
// password: 'hatio',
|
|
60
|
-
// host: '192.168.0.
|
|
76
|
+
// host: '192.168.0.36',
|
|
61
77
|
// port: 15432,
|
|
62
78
|
// synchronize: true,
|
|
63
79
|
// logging: true
|
|
64
80
|
// },
|
|
65
|
-
//postgres
|
|
66
|
-
|
|
67
|
-
// //ERIC
|
|
68
81
|
// ormconfig: {
|
|
69
82
|
// name: 'default',
|
|
70
83
|
// type: 'postgres',
|
|
@@ -76,33 +89,32 @@ module.exports = {
|
|
|
76
89
|
// synchronize: true,
|
|
77
90
|
// logging: true
|
|
78
91
|
// },
|
|
79
|
-
|
|
80
|
-
//eric2
|
|
92
|
+
//db izzah
|
|
81
93
|
// ormconfig: {
|
|
82
94
|
// name: 'default',
|
|
83
95
|
// type: 'postgres',
|
|
84
|
-
// database: '
|
|
96
|
+
// database: '06072023',
|
|
85
97
|
// username: 'postgres',
|
|
86
98
|
// password: 'hatio',
|
|
87
99
|
// host: '192.168.0.153',
|
|
88
100
|
// port: 15432,
|
|
89
|
-
// synchronize:
|
|
101
|
+
// synchronize: true,
|
|
90
102
|
// logging: true
|
|
91
103
|
// },
|
|
92
|
-
|
|
93
104
|
// ormconfig: {
|
|
94
105
|
// name: 'default',
|
|
95
106
|
// type: 'postgres',
|
|
96
|
-
//
|
|
97
|
-
//
|
|
98
|
-
//
|
|
99
|
-
//
|
|
100
|
-
//
|
|
101
|
-
// synchronize:false,
|
|
102
|
-
// logging:
|
|
107
|
+
// host: 'a6cf0bb5671f54555985dede599d5a87-649005352.ap-southeast-1.elb.amazonaws.com',
|
|
108
|
+
// port: 15432,
|
|
109
|
+
// database: 'postgres',
|
|
110
|
+
// username: 'operato-hub-app',
|
|
111
|
+
// password: 'a5Z(7|6n$Zti',
|
|
112
|
+
// synchronize: false,
|
|
113
|
+
// logging: true,
|
|
103
114
|
// connectTimeoutMS: 30000,
|
|
104
115
|
// extra: { poolSize: 30 }
|
|
105
116
|
// },
|
|
117
|
+
|
|
106
118
|
// ormconfig: {
|
|
107
119
|
// name: 'default',
|
|
108
120
|
// type: 'postgres',
|
|
@@ -116,6 +128,7 @@ module.exports = {
|
|
|
116
128
|
// connectTimeoutMS: 30000,
|
|
117
129
|
// extra: { poolSize: 30 }
|
|
118
130
|
// },
|
|
131
|
+
|
|
119
132
|
password: {
|
|
120
133
|
lowerCase: true,
|
|
121
134
|
upperCase: false,
|
|
@@ -167,11 +180,6 @@ module.exports = {
|
|
|
167
180
|
ciphers: 'SSLv3'
|
|
168
181
|
}
|
|
169
182
|
},
|
|
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
|
-
},
|
|
175
183
|
sender: 'noreply@hatiolab.com',
|
|
176
184
|
notification: {
|
|
177
185
|
// fcm: {
|
|
@@ -210,7 +218,8 @@ module.exports = {
|
|
|
210
218
|
isUAT: false,
|
|
211
219
|
application: 'Operato MMS',
|
|
212
220
|
partnerId: 846025,
|
|
213
|
-
partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64'
|
|
221
|
+
partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64',
|
|
222
|
+
v2: true
|
|
214
223
|
},
|
|
215
224
|
marketplaceIntegrationLazada: {
|
|
216
225
|
platform: 'lazada',
|
|
@@ -219,6 +228,16 @@ module.exports = {
|
|
|
219
228
|
appSecret: 'HB3RTNEXHlVSlBr9SmWF8AjbSUT7a825',
|
|
220
229
|
callback: 'https://maybank.operato-m.com/lazada-callback'
|
|
221
230
|
},
|
|
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
|
+
|
|
222
241
|
accountingIntegrationXero: {
|
|
223
242
|
platform: 'xero',
|
|
224
243
|
application: 'Operato WMS',
|
|
@@ -227,23 +246,48 @@ module.exports = {
|
|
|
227
246
|
callback: 'http://operato-h.com:3000/callback-xero',
|
|
228
247
|
hostname: 'http://operato-h.com:3000/'
|
|
229
248
|
},
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
249
|
+
lmdIntegrationNinjavan: {
|
|
250
|
+
clientId: 'P8WCEwMo0FHNlPECwTLetwN3diAmt5KF',
|
|
251
|
+
secretKey: '1D0yNZGseOjhxnwri29xmuZiiuRp131L',
|
|
252
|
+
refreshThreshold: 43200
|
|
234
253
|
},
|
|
254
|
+
|
|
255
|
+
lmdIntegrationEms: { refreshThreshold: 43200 },
|
|
256
|
+
|
|
257
|
+
lmdIntegrationCitylink: { refreshThreshold: 172800000 },
|
|
235
258
|
awbFileStorage: {
|
|
236
259
|
type: 's3',
|
|
237
|
-
accessKeyId: '
|
|
238
|
-
secretAccessKey: '
|
|
260
|
+
accessKeyId: 'AKIAUQEOPWEJPXIVER74',
|
|
261
|
+
secretAccessKey: 'I6uuS+6CMzIQlqBS9i+G8AYIeYj5RR7wb4fxjbLq',
|
|
239
262
|
bucketName: 'operato-awb',
|
|
240
263
|
region: 'ap-southeast-1'
|
|
241
264
|
},
|
|
265
|
+
lambda: {
|
|
266
|
+
region: 'ap-southeast-1',
|
|
267
|
+
accessKeyId: 'AKIAUQEOPWEJPXIVER74',
|
|
268
|
+
secretAccessKey: 'I6uuS+6CMzIQlqBS9i+G8AYIeYj5RR7wb4fxjbLq'
|
|
269
|
+
},
|
|
270
|
+
lambdaMy: {
|
|
271
|
+
region: 'ap-southeast-5',
|
|
272
|
+
accessKeyId: 'AKIAUQEOPWEJHCE4MTH4',
|
|
273
|
+
secretAccessKey: 'HkQ1engoFOhduKltXF4j6OakRmLY/9JhvyTWbc8b'
|
|
274
|
+
},
|
|
275
|
+
lmdIntegrationConfig: {
|
|
276
|
+
version: {
|
|
277
|
+
v1: 'lmdMiddleware',
|
|
278
|
+
v2: 'lmdMiddlewareV2'
|
|
279
|
+
}
|
|
280
|
+
},
|
|
242
281
|
awsSesEmail: {
|
|
243
|
-
accessKeyId: '
|
|
244
|
-
secretAccessKey: '
|
|
282
|
+
accessKeyId: 'AKIAUQEOPWEJPXIVER74',
|
|
283
|
+
secretAccessKey: 'I6uuS+6CMzIQlqBS9i+G8AYIeYj5RR7wb4fxjbLq',
|
|
245
284
|
email: 'support@hatio.asia'
|
|
246
285
|
},
|
|
286
|
+
jobQueue: {
|
|
287
|
+
// For JobQueueService/JobWorker (FIFO queue is supported)
|
|
288
|
+
queueUrl: 'https://sqs.ap-southeast-5.amazonaws.com/309536469266/operato-job-queue.fifo',
|
|
289
|
+
sqsRegion: 'ap-southeast-5'
|
|
290
|
+
},
|
|
247
291
|
reportApiUrl:
|
|
248
292
|
'http://k8s-default-operator-2fd6178d98-66c66a0f76c09575.elb.ap-southeast-1.amazonaws.com/rest/report/show_html'
|
|
249
293
|
}
|
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.790",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@things-factory/auth-base": "^4.3.767",
|
|
62
62
|
"@things-factory/auth-ui": "^4.3.767",
|
|
63
63
|
"@things-factory/biz-base": "^4.3.767",
|
|
64
|
-
"@things-factory/biz-ui": "^4.3.
|
|
64
|
+
"@things-factory/biz-ui": "^4.3.790",
|
|
65
65
|
"@things-factory/board-service": "^4.3.767",
|
|
66
66
|
"@things-factory/board-ui": "^4.3.770",
|
|
67
67
|
"@things-factory/code-ui": "^4.3.770",
|
|
@@ -75,25 +75,25 @@
|
|
|
75
75
|
"@things-factory/grist-ui": "^4.3.770",
|
|
76
76
|
"@things-factory/help": "^4.3.767",
|
|
77
77
|
"@things-factory/i18n-base": "^4.3.767",
|
|
78
|
-
"@things-factory/import-ui": "^4.3.
|
|
79
|
-
"@things-factory/import-ui-excel": "^4.3.
|
|
80
|
-
"@things-factory/integration-accounting": "^4.3.
|
|
78
|
+
"@things-factory/import-ui": "^4.3.790",
|
|
79
|
+
"@things-factory/import-ui-excel": "^4.3.790",
|
|
80
|
+
"@things-factory/integration-accounting": "^4.3.790",
|
|
81
81
|
"@things-factory/integration-base": "^4.3.788",
|
|
82
|
-
"@things-factory/integration-fulfillment": "^4.3.
|
|
83
|
-
"@things-factory/integration-lmd": "^4.3.
|
|
84
|
-
"@things-factory/integration-marketplace": "^4.3.
|
|
85
|
-
"@things-factory/integration-pos": "^4.3.
|
|
86
|
-
"@things-factory/integration-powrup": "^4.3.
|
|
87
|
-
"@things-factory/integration-sellercraft": "^4.3.
|
|
88
|
-
"@things-factory/integration-sftp": "^4.3.
|
|
82
|
+
"@things-factory/integration-fulfillment": "^4.3.790",
|
|
83
|
+
"@things-factory/integration-lmd": "^4.3.790",
|
|
84
|
+
"@things-factory/integration-marketplace": "^4.3.790",
|
|
85
|
+
"@things-factory/integration-pos": "^4.3.790",
|
|
86
|
+
"@things-factory/integration-powrup": "^4.3.790",
|
|
87
|
+
"@things-factory/integration-sellercraft": "^4.3.790",
|
|
88
|
+
"@things-factory/integration-sftp": "^4.3.790",
|
|
89
89
|
"@things-factory/lite-menu": "^4.3.770",
|
|
90
|
-
"@things-factory/marketplace-base": "^4.3.
|
|
90
|
+
"@things-factory/marketplace-base": "^4.3.790",
|
|
91
91
|
"@things-factory/more-ui": "^4.3.767",
|
|
92
92
|
"@things-factory/notification": "^4.3.767",
|
|
93
93
|
"@things-factory/pdf": "^4.3.767",
|
|
94
|
-
"@things-factory/product-ui": "^4.3.
|
|
95
|
-
"@things-factory/resource-ui": "^4.3.
|
|
96
|
-
"@things-factory/sales-base": "^4.3.
|
|
94
|
+
"@things-factory/product-ui": "^4.3.790",
|
|
95
|
+
"@things-factory/resource-ui": "^4.3.790",
|
|
96
|
+
"@things-factory/sales-base": "^4.3.790",
|
|
97
97
|
"@things-factory/scene-data-transform": "^4.3.767",
|
|
98
98
|
"@things-factory/scene-excel": "^4.3.767",
|
|
99
99
|
"@things-factory/scene-firebase": "^4.3.767",
|
|
@@ -109,8 +109,8 @@
|
|
|
109
109
|
"@things-factory/shell": "^4.3.767",
|
|
110
110
|
"@things-factory/system-ui": "^4.3.767",
|
|
111
111
|
"@things-factory/transport-base": "^4.3.767",
|
|
112
|
-
"@things-factory/warehouse-base": "^4.3.
|
|
113
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
112
|
+
"@things-factory/warehouse-base": "^4.3.790",
|
|
113
|
+
"@things-factory/worksheet-base": "^4.3.790",
|
|
114
114
|
"cron-parser": "^4.7.0",
|
|
115
115
|
"koa2-swagger-ui": "^5.0.2",
|
|
116
116
|
"swagger-jsdoc": "^5.0.0",
|
|
@@ -123,5 +123,5 @@
|
|
|
123
123
|
"resolutions": {
|
|
124
124
|
"core-js": "^3.16.0"
|
|
125
125
|
},
|
|
126
|
-
"gitHead": "
|
|
126
|
+
"gitHead": "aac8be0c440911f309204b31d37d0b9fabd0c451"
|
|
127
127
|
}
|