@things-factory/operato-hub 4.3.632 → 4.3.633
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 +142 -30
- package/package.json +3 -3
package/config.development.js
CHANGED
|
@@ -4,52 +4,131 @@ module.exports = {
|
|
|
4
4
|
useVirtualHostBasedDomain: false,
|
|
5
5
|
fallbackRoute: '/',
|
|
6
6
|
subdomainOffset: 2,
|
|
7
|
-
port:
|
|
7
|
+
port: 3000,
|
|
8
8
|
inspect: '9260',
|
|
9
|
+
//postgres
|
|
10
|
+
ormconfig: {
|
|
11
|
+
name: 'default',
|
|
12
|
+
type: 'postgres',
|
|
13
|
+
database: 'postgres',
|
|
14
|
+
username: 'postgres',
|
|
15
|
+
password: 'hatio',
|
|
16
|
+
host: '192.168.0.151',
|
|
17
|
+
port: 15432,
|
|
18
|
+
synchronize: false,
|
|
19
|
+
logging: true
|
|
20
|
+
},
|
|
21
|
+
//operato
|
|
9
22
|
// ormconfig: {
|
|
10
23
|
// name: 'default',
|
|
11
24
|
// type: 'postgres',
|
|
12
|
-
// database: '
|
|
25
|
+
// database: 'operato',
|
|
13
26
|
// username: 'postgres',
|
|
14
|
-
// password: '
|
|
15
|
-
// host: '
|
|
16
|
-
// port:
|
|
27
|
+
// password: 'hatio',
|
|
28
|
+
// host: '192.168.0.151',
|
|
29
|
+
// port: 15432,
|
|
17
30
|
// synchronize: false,
|
|
18
31
|
// logging: true
|
|
19
32
|
// },
|
|
33
|
+
//eric2
|
|
20
34
|
// ormconfig: {
|
|
21
35
|
// name: 'default',
|
|
22
36
|
// type: 'postgres',
|
|
23
|
-
// database: '
|
|
37
|
+
// database: 'eric2',
|
|
24
38
|
// username: 'postgres',
|
|
25
39
|
// password: 'hatio',
|
|
26
|
-
// host: '
|
|
40
|
+
// host: '192.168.0.153',
|
|
27
41
|
// port: 15432,
|
|
28
|
-
// synchronize:
|
|
42
|
+
// synchronize: false,
|
|
29
43
|
// logging: true
|
|
30
44
|
// },
|
|
45
|
+
// arif's
|
|
31
46
|
// ormconfig: {
|
|
32
47
|
// name: 'default',
|
|
33
48
|
// type: 'postgres',
|
|
34
|
-
// database: '
|
|
49
|
+
// database: 'arif',
|
|
50
|
+
// username: 'postgres',
|
|
51
|
+
// password: 'hatio',
|
|
52
|
+
// host: '192.168.0.151',
|
|
53
|
+
// port: 15432,
|
|
54
|
+
// synchronize: false,
|
|
55
|
+
// logging: true
|
|
56
|
+
// },
|
|
57
|
+
//EMS
|
|
58
|
+
// ormconfig: {
|
|
59
|
+
// name: 'default',
|
|
60
|
+
// type: 'postgres',
|
|
61
|
+
// database: 'EMS',
|
|
35
62
|
// username: 'postgres',
|
|
36
63
|
// password: 'hatio',
|
|
37
64
|
// host: '192.168.0.161',
|
|
38
65
|
// port: 15432,
|
|
66
|
+
// synchronize: false,
|
|
67
|
+
// logging: true
|
|
68
|
+
// },
|
|
69
|
+
//db nora
|
|
70
|
+
// ormconfig: {
|
|
71
|
+
// name: 'default',
|
|
72
|
+
// type: 'postgres',
|
|
73
|
+
// database: 'postgres',
|
|
74
|
+
// username: 'postgres',
|
|
75
|
+
// password: 'hatio',
|
|
76
|
+
// host: '192.168.0.36',
|
|
77
|
+
// port: 15432,
|
|
39
78
|
// synchronize: true,
|
|
40
79
|
// logging: true
|
|
41
80
|
// },
|
|
42
|
-
ormconfig: {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
},
|
|
81
|
+
// ormconfig: {
|
|
82
|
+
// name: 'default',
|
|
83
|
+
// type: 'postgres',
|
|
84
|
+
// database: 'eric',
|
|
85
|
+
// username: 'postgres',
|
|
86
|
+
// password: 'hatio',
|
|
87
|
+
// host: '192.168.0.153',
|
|
88
|
+
// port: 15432,
|
|
89
|
+
// synchronize: true,
|
|
90
|
+
// logging: true
|
|
91
|
+
// },
|
|
92
|
+
//db izzah
|
|
93
|
+
// ormconfig: {
|
|
94
|
+
// name: 'default',
|
|
95
|
+
// type: 'postgres',
|
|
96
|
+
// database: '06072023',
|
|
97
|
+
// username: 'postgres',
|
|
98
|
+
// password: 'hatio',
|
|
99
|
+
// host: '192.168.0.153',
|
|
100
|
+
// port: 15432,
|
|
101
|
+
// synchronize: true,
|
|
102
|
+
// logging: true
|
|
103
|
+
// },
|
|
104
|
+
// ormconfig: {
|
|
105
|
+
// name: 'default',
|
|
106
|
+
// type: 'postgres',
|
|
107
|
+
// database: 'dev2', // dev2
|
|
108
|
+
// username: 'postgres',
|
|
109
|
+
// password: 'abcd1234',
|
|
110
|
+
// host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
|
|
111
|
+
// port: 55432,
|
|
112
|
+
// synchronize:false,
|
|
113
|
+
// logging: false,
|
|
114
|
+
// connectTimeoutMS: 30000,
|
|
115
|
+
// extra: { poolSize: 30 }
|
|
116
|
+
// },
|
|
117
|
+
|
|
118
|
+
// ormconfig: {
|
|
119
|
+
// name: 'default',
|
|
120
|
+
// type: 'postgres',
|
|
121
|
+
// host: 'localhost',
|
|
122
|
+
// port: 15432,
|
|
123
|
+
// database: 'postgres',
|
|
124
|
+
// username: 'postgres',
|
|
125
|
+
// password: 'hatio',
|
|
126
|
+
// synchronize: false,
|
|
127
|
+
// logging: true,
|
|
128
|
+
// connectTimeoutMS: 30000,
|
|
129
|
+
// extra: { poolSize: 30 }
|
|
130
|
+
// },
|
|
131
|
+
|
|
53
132
|
password: {
|
|
54
133
|
lowerCase: true,
|
|
55
134
|
upperCase: false,
|
|
@@ -126,20 +205,21 @@ module.exports = {
|
|
|
126
205
|
// }
|
|
127
206
|
},
|
|
128
207
|
fulfillmentIntegrationOperato: {
|
|
129
|
-
host: '
|
|
208
|
+
host: '192.168.0.161:3000',
|
|
130
209
|
protocol: 'http',
|
|
131
210
|
platform: 'operato',
|
|
132
211
|
application: 'Operato MMS',
|
|
133
212
|
appKey: 'a9bf751e622bf146662b240d58971051',
|
|
134
213
|
appSecret: '1c385935dc131c4b902b9bbf6a4798af',
|
|
135
|
-
callback: 'http://
|
|
214
|
+
callback: 'http://192.168.0.161:5000/callback-operato'
|
|
136
215
|
},
|
|
137
216
|
marketplaceIntegrationShopee: {
|
|
138
217
|
platform: 'shopee',
|
|
139
218
|
isUAT: false,
|
|
140
219
|
application: 'Operato MMS',
|
|
141
220
|
partnerId: 846025,
|
|
142
|
-
partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64'
|
|
221
|
+
partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64',
|
|
222
|
+
v2: true
|
|
143
223
|
},
|
|
144
224
|
marketplaceIntegrationLazada: {
|
|
145
225
|
platform: 'lazada',
|
|
@@ -148,6 +228,16 @@ module.exports = {
|
|
|
148
228
|
appSecret: 'HB3RTNEXHlVSlBr9SmWF8AjbSUT7a825',
|
|
149
229
|
callback: 'https://maybank.operato-m.com/lazada-callback'
|
|
150
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
|
+
|
|
151
241
|
accountingIntegrationXero: {
|
|
152
242
|
platform: 'xero',
|
|
153
243
|
application: 'Operato WMS',
|
|
@@ -156,16 +246,38 @@ module.exports = {
|
|
|
156
246
|
callback: 'http://operato-h.com:3000/callback-xero',
|
|
157
247
|
hostname: 'http://operato-h.com:3000/'
|
|
158
248
|
},
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
249
|
+
lmdIntegrationNinjavan: {
|
|
250
|
+
clientId: 'P8WCEwMo0FHNlPECwTLetwN3diAmt5KF',
|
|
251
|
+
secretKey: '1D0yNZGseOjhxnwri29xmuZiiuRp131L',
|
|
252
|
+
refreshThreshold: 43200
|
|
163
253
|
},
|
|
254
|
+
|
|
255
|
+
lmdIntegrationEms: { refreshThreshold: 43200 },
|
|
256
|
+
|
|
257
|
+
lmdIntegrationCitylink: { refreshThreshold: 172800000 },
|
|
164
258
|
awbFileStorage: {
|
|
165
259
|
type: 's3',
|
|
166
|
-
accessKeyId: '
|
|
167
|
-
secretAccessKey: '
|
|
260
|
+
accessKeyId: 'AKIAUQEOPWEJPXIVER74',
|
|
261
|
+
secretAccessKey: 'I6uuS+6CMzIQlqBS9i+G8AYIeYj5RR7wb4fxjbLq',
|
|
168
262
|
bucketName: 'operato-awb',
|
|
169
263
|
region: 'ap-southeast-1'
|
|
170
|
-
}
|
|
264
|
+
},
|
|
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
|
+
awsSesEmail: {
|
|
277
|
+
accessKeyId: 'AKIAUQEOPWEJPXIVER74',
|
|
278
|
+
secretAccessKey: 'I6uuS+6CMzIQlqBS9i+G8AYIeYj5RR7wb4fxjbLq',
|
|
279
|
+
email: 'support@hatio.asia'
|
|
280
|
+
},
|
|
281
|
+
reportApiUrl:
|
|
282
|
+
'http://k8s-default-operator-2fd6178d98-66c66a0f76c09575.elb.ap-southeast-1.amazonaws.com/rest/report/show_html'
|
|
171
283
|
}
|
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.633",
|
|
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.591",
|
|
110
110
|
"@things-factory/transport-base": "^4.3.631",
|
|
111
111
|
"@things-factory/warehouse-base": "^4.3.626",
|
|
112
|
-
"@things-factory/worksheet-base": "^4.3.
|
|
112
|
+
"@things-factory/worksheet-base": "^4.3.633",
|
|
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": "e550612b9ee56d93020d0ea39b9320c4962dd134"
|
|
126
126
|
}
|