@things-factory/operato-hub 4.3.772 → 4.3.774
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 +52 -107
- package/package.json +4 -4
package/config.development.js
CHANGED
|
@@ -4,46 +4,15 @@ 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
|
-
password: 't62dgT#Ns*GerhuZ9wnzm^',
|
|
16
|
-
host: 'my-operato-pg.cjcso4qmeuq0.ap-southeast-5.rds.amazonaws.com',
|
|
17
|
-
port: 55432,
|
|
18
|
-
synchronize: false,
|
|
19
|
-
logging: ['query', 'error'],
|
|
20
|
-
logger: 'advanced-console'
|
|
9
|
+
storage: {
|
|
10
|
+
type: 's3',
|
|
11
|
+
accessKeyId: 'AKIAUQEOPWEJHCE4MTH4',
|
|
12
|
+
secretAccessKey: 'HkQ1engoFOhduKltXF4j6OakRmLY/9JhvyTWbc8b',
|
|
13
|
+
bucketName: 'opa-one',
|
|
14
|
+
region: 'ap-southeast-1'
|
|
21
15
|
},
|
|
22
|
-
//operato
|
|
23
|
-
// ormconfig: {
|
|
24
|
-
// name: 'default',
|
|
25
|
-
// type: 'postgres',
|
|
26
|
-
// database: 'operato',
|
|
27
|
-
// username: 'postgres',
|
|
28
|
-
// password: 'hatio',
|
|
29
|
-
// host: '192.168.0.151',
|
|
30
|
-
// port: 15432,
|
|
31
|
-
// synchronize: false,
|
|
32
|
-
// logging: true
|
|
33
|
-
// },
|
|
34
|
-
//eric2
|
|
35
|
-
// ormconfig: {
|
|
36
|
-
// name: 'default',
|
|
37
|
-
// type: 'postgres',
|
|
38
|
-
// database: 'eric2',
|
|
39
|
-
// username: 'postgres',
|
|
40
|
-
// password: 'hatio',
|
|
41
|
-
// host: '192.168.0.153',
|
|
42
|
-
// port: 15432,
|
|
43
|
-
// synchronize: false,
|
|
44
|
-
// logging: true
|
|
45
|
-
// },
|
|
46
|
-
// arif's
|
|
47
16
|
// ormconfig: {
|
|
48
17
|
// name: 'default',
|
|
49
18
|
// type: 'postgres',
|
|
@@ -55,30 +24,47 @@ module.exports = {
|
|
|
55
24
|
// synchronize: false,
|
|
56
25
|
// logging: true
|
|
57
26
|
// },
|
|
58
|
-
|
|
27
|
+
|
|
28
|
+
// STAGING DATABASE
|
|
29
|
+
ormconfig: {
|
|
30
|
+
name: 'default',
|
|
31
|
+
type: 'postgres',
|
|
32
|
+
database: 'staging',
|
|
33
|
+
username: 'postgres',
|
|
34
|
+
password: 't62dgT#Ns*GerhuZ9wnzm^',
|
|
35
|
+
host: 'my-operato-pg.cjcso4qmeuq0.ap-southeast-5.rds.amazonaws.com',
|
|
36
|
+
port: 55432,
|
|
37
|
+
synchronize: false,
|
|
38
|
+
logging: true
|
|
39
|
+
},
|
|
40
|
+
|
|
59
41
|
// ormconfig: {
|
|
60
42
|
// name: 'default',
|
|
61
43
|
// type: 'postgres',
|
|
62
|
-
// database: '
|
|
44
|
+
// database: 'operato',
|
|
63
45
|
// username: 'postgres',
|
|
64
46
|
// password: 'hatio',
|
|
65
|
-
// host: '192.168.0.
|
|
47
|
+
// host: '192.168.0.153',
|
|
66
48
|
// port: 15432,
|
|
67
49
|
// synchronize: false,
|
|
68
50
|
// logging: true
|
|
69
51
|
// },
|
|
70
|
-
|
|
52
|
+
|
|
53
|
+
//db izzah
|
|
71
54
|
// ormconfig: {
|
|
72
55
|
// name: 'default',
|
|
73
56
|
// type: 'postgres',
|
|
74
|
-
// database: '
|
|
57
|
+
// database: '06072023',
|
|
75
58
|
// username: 'postgres',
|
|
76
59
|
// password: 'hatio',
|
|
77
|
-
// host: '192.168.0.
|
|
60
|
+
// host: '192.168.0.153',
|
|
78
61
|
// port: 15432,
|
|
79
62
|
// synchronize: true,
|
|
80
63
|
// logging: true
|
|
81
64
|
// },
|
|
65
|
+
//postgres
|
|
66
|
+
|
|
67
|
+
// //ERIC
|
|
82
68
|
// ormconfig: {
|
|
83
69
|
// name: 'default',
|
|
84
70
|
// type: 'postgres',
|
|
@@ -90,18 +76,20 @@ module.exports = {
|
|
|
90
76
|
// synchronize: true,
|
|
91
77
|
// logging: true
|
|
92
78
|
// },
|
|
93
|
-
|
|
79
|
+
|
|
80
|
+
//eric2
|
|
94
81
|
// ormconfig: {
|
|
95
82
|
// name: 'default',
|
|
96
83
|
// type: 'postgres',
|
|
97
|
-
// database: '
|
|
84
|
+
// database: 'eric2',
|
|
98
85
|
// username: 'postgres',
|
|
99
86
|
// password: 'hatio',
|
|
100
87
|
// host: '192.168.0.153',
|
|
101
88
|
// port: 15432,
|
|
102
|
-
// synchronize:
|
|
89
|
+
// synchronize: false,
|
|
103
90
|
// logging: true
|
|
104
91
|
// },
|
|
92
|
+
|
|
105
93
|
// ormconfig: {
|
|
106
94
|
// name: 'default',
|
|
107
95
|
// type: 'postgres',
|
|
@@ -115,7 +103,6 @@ module.exports = {
|
|
|
115
103
|
// connectTimeoutMS: 30000,
|
|
116
104
|
// extra: { poolSize: 30 }
|
|
117
105
|
// },
|
|
118
|
-
|
|
119
106
|
// ormconfig: {
|
|
120
107
|
// name: 'default',
|
|
121
108
|
// type: 'postgres',
|
|
@@ -129,7 +116,6 @@ module.exports = {
|
|
|
129
116
|
// connectTimeoutMS: 30000,
|
|
130
117
|
// extra: { poolSize: 30 }
|
|
131
118
|
// },
|
|
132
|
-
|
|
133
119
|
password: {
|
|
134
120
|
lowerCase: true,
|
|
135
121
|
upperCase: false,
|
|
@@ -144,23 +130,10 @@ module.exports = {
|
|
|
144
130
|
},
|
|
145
131
|
sftpFileStorage: {
|
|
146
132
|
type: 's3',
|
|
147
|
-
accessKeyId: '
|
|
148
|
-
secretAccessKey: '
|
|
149
|
-
bucketName: 'operato-sftp'
|
|
150
|
-
region: 'ap-southeast-1'
|
|
133
|
+
accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
|
|
134
|
+
secretAccessKey: 'OG2qS0Usg4wyjPWbfv1ahPZzP80/w8z4i8MYHl+e',
|
|
135
|
+
bucketName: 'operato-sftp'
|
|
151
136
|
},
|
|
152
|
-
|
|
153
|
-
// SFTP Configuration for external server
|
|
154
|
-
// sftpExternal: {
|
|
155
|
-
// type: 'sftp',
|
|
156
|
-
// host: '103.4.6.168',
|
|
157
|
-
// port: 2211,
|
|
158
|
-
// username: 'hatio_admin',
|
|
159
|
-
// password: 'Yltc@2025!',
|
|
160
|
-
// basePath: '/Staging',
|
|
161
|
-
// timeout: 30000,
|
|
162
|
-
// retries: 3
|
|
163
|
-
// },
|
|
164
137
|
// storage: {
|
|
165
138
|
// type: 's3',
|
|
166
139
|
// accessKeyId: 'AKIAUQEOPWEJCDH6AR5H',
|
|
@@ -194,6 +167,11 @@ module.exports = {
|
|
|
194
167
|
ciphers: 'SSLv3'
|
|
195
168
|
}
|
|
196
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
|
+
},
|
|
197
175
|
sender: 'noreply@hatiolab.com',
|
|
198
176
|
notification: {
|
|
199
177
|
// fcm: {
|
|
@@ -227,20 +205,12 @@ module.exports = {
|
|
|
227
205
|
appSecret: '1c385935dc131c4b902b9bbf6a4798af',
|
|
228
206
|
callback: 'http://192.168.0.161:5000/callback-operato'
|
|
229
207
|
},
|
|
230
|
-
|
|
231
|
-
// Job queue (AWS SQS)
|
|
232
|
-
jobQueue: {
|
|
233
|
-
// For JobQueueService/JobWorker (FIFO queue is supported)
|
|
234
|
-
queueUrl: 'https://sqs.ap-southeast-5.amazonaws.com/309536469266/operato-job-queue.fifo',
|
|
235
|
-
sqsRegion: 'ap-southeast-5'
|
|
236
|
-
},
|
|
237
208
|
marketplaceIntegrationShopee: {
|
|
238
209
|
platform: 'shopee',
|
|
239
210
|
isUAT: false,
|
|
240
211
|
application: 'Operato MMS',
|
|
241
212
|
partnerId: 846025,
|
|
242
|
-
partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64'
|
|
243
|
-
v2: true
|
|
213
|
+
partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64'
|
|
244
214
|
},
|
|
245
215
|
marketplaceIntegrationLazada: {
|
|
246
216
|
platform: 'lazada',
|
|
@@ -249,16 +219,6 @@ module.exports = {
|
|
|
249
219
|
appSecret: 'HB3RTNEXHlVSlBr9SmWF8AjbSUT7a825',
|
|
250
220
|
callback: 'https://maybank.operato-m.com/lazada-callback'
|
|
251
221
|
},
|
|
252
|
-
|
|
253
|
-
//testinglazada
|
|
254
|
-
// marketplaceIntegrationLazada: {
|
|
255
|
-
// platform: 'lazada',
|
|
256
|
-
// application: 'powrup_bi',
|
|
257
|
-
// appKey: '117890',
|
|
258
|
-
// appSecret: 'tQVllnUa7irAHoNxAwXEVxoP1we1bUjE',
|
|
259
|
-
// callback: 'https://73c5-175-141-30-142.ngrok-free.app/lazada-callback'
|
|
260
|
-
// },
|
|
261
|
-
|
|
262
222
|
accountingIntegrationXero: {
|
|
263
223
|
platform: 'xero',
|
|
264
224
|
application: 'Operato WMS',
|
|
@@ -267,36 +227,21 @@ module.exports = {
|
|
|
267
227
|
callback: 'http://operato-h.com:3000/callback-xero',
|
|
268
228
|
hostname: 'http://operato-h.com:3000/'
|
|
269
229
|
},
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
230
|
+
lambda: {
|
|
231
|
+
region: 'ap-southeast-1',
|
|
232
|
+
accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
|
|
233
|
+
secretAccessKey: 'OG2qS0Usg4wyjPWbfv1ahPZzP80/w8z4i8MYHl+e'
|
|
274
234
|
},
|
|
275
|
-
|
|
276
|
-
lmdIntegrationEms: { refreshThreshold: 43200 },
|
|
277
|
-
|
|
278
|
-
lmdIntegrationCitylink: { refreshThreshold: 172800000 },
|
|
279
235
|
awbFileStorage: {
|
|
280
236
|
type: 's3',
|
|
281
|
-
accessKeyId: '
|
|
282
|
-
secretAccessKey: '
|
|
237
|
+
accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
|
|
238
|
+
secretAccessKey: 'OG2qS0Usg4wyjPWbfv1ahPZzP80/w8z4i8MYHl+e',
|
|
283
239
|
bucketName: 'operato-awb',
|
|
284
240
|
region: 'ap-southeast-1'
|
|
285
241
|
},
|
|
286
|
-
lambda: {
|
|
287
|
-
region: 'ap-southeast-1',
|
|
288
|
-
accessKeyId: 'AKIAUQEOPWEJPXIVER74',
|
|
289
|
-
secretAccessKey: 'I6uuS+6CMzIQlqBS9i+G8AYIeYj5RR7wb4fxjbLq'
|
|
290
|
-
},
|
|
291
|
-
lmdIntegrationConfig: {
|
|
292
|
-
version: {
|
|
293
|
-
v1: 'lmdMiddleware',
|
|
294
|
-
v2: 'lmdMiddlewareV2'
|
|
295
|
-
}
|
|
296
|
-
},
|
|
297
242
|
awsSesEmail: {
|
|
298
|
-
accessKeyId: '
|
|
299
|
-
secretAccessKey: '
|
|
243
|
+
accessKeyId: 'AKIAUQEOPWEJKQDJSEOG',
|
|
244
|
+
secretAccessKey: 'tMDPIxH1oe31d1TYsqWu+h2nhA8n5y5jRBjCmiK7',
|
|
300
245
|
email: 'support@hatio.asia'
|
|
301
246
|
},
|
|
302
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.774",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"@things-factory/pdf": "^4.3.767",
|
|
93
93
|
"@things-factory/product-ui": "^4.3.770",
|
|
94
94
|
"@things-factory/resource-ui": "^4.3.770",
|
|
95
|
-
"@things-factory/sales-base": "^4.3.
|
|
95
|
+
"@things-factory/sales-base": "^4.3.774",
|
|
96
96
|
"@things-factory/scene-data-transform": "^4.3.767",
|
|
97
97
|
"@things-factory/scene-excel": "^4.3.767",
|
|
98
98
|
"@things-factory/scene-firebase": "^4.3.767",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"@things-factory/system-ui": "^4.3.767",
|
|
110
110
|
"@things-factory/transport-base": "^4.3.767",
|
|
111
111
|
"@things-factory/warehouse-base": "^4.3.772",
|
|
112
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
112
|
+
"@things-factory/worksheet-base": "^4.3.774",
|
|
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": "668e7317901d4e35233475e4e2222ffdbf332cb5"
|
|
126
126
|
}
|