@things-factory/operato-hub 4.3.708 → 4.3.723

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.
Files changed (2) hide show
  1. package/config.development.js +102 -37
  2. package/package.json +58 -58
@@ -4,54 +4,80 @@ module.exports = {
4
4
  useVirtualHostBasedDomain: false,
5
5
  fallbackRoute: '/',
6
6
  subdomainOffset: 2,
7
- port: 4445,
7
+ port: 3000,
8
8
  inspect: '9260',
9
- storage: {
10
- type: 's3',
11
- accessKeyId: 'AKIAUQEOPWEJHCE4MTH4',
12
- secretAccessKey: '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',
13
- bucketName: 'opa-one',
14
- region: 'ap-southeast-1'
15
- },
9
+ //postgres
16
10
  ormconfig: {
17
11
  name: 'default',
18
12
  type: 'postgres',
19
- database: 'arif',
13
+ database: 'postgres',
20
14
  username: 'postgres',
21
- password: 'hatio',
22
- host: '10.254.29.189',
23
- port: 15432,
15
+ password: 't62dgT#Ns*GerhuZ9wnzm^',
16
+ host: 'my-operato-pg.cjcso4qmeuq0.ap-southeast-5.rds.amazonaws.com',
17
+ port: 55432,
24
18
  synchronize: false,
25
19
  logging: true
26
20
  },
27
-
21
+ //operato
28
22
  // ormconfig: {
29
23
  // name: 'default',
30
24
  // type: 'postgres',
31
25
  // database: 'operato',
32
26
  // username: 'postgres',
33
27
  // password: 'hatio',
34
- // host: '192.168.0.153',
28
+ // host: '192.168.0.151',
35
29
  // port: 15432,
36
30
  // synchronize: false,
37
31
  // logging: true
38
32
  // },
39
-
40
- //db izzah
33
+ //eric2
41
34
  // ormconfig: {
42
35
  // name: 'default',
43
36
  // type: 'postgres',
44
- // database: '06072023',
37
+ // database: 'eric2',
45
38
  // username: 'postgres',
46
39
  // password: 'hatio',
47
40
  // host: '192.168.0.153',
48
41
  // port: 15432,
42
+ // synchronize: false,
43
+ // logging: true
44
+ // },
45
+ // arif's
46
+ // ormconfig: {
47
+ // name: 'default',
48
+ // type: 'postgres',
49
+ // database: 'arif',
50
+ // username: 'postgres',
51
+ // password: 'hatio',
52
+ // host: '10.254.29.189',
53
+ // port: 15432,
54
+ // synchronize: false,
55
+ // logging: true
56
+ // },
57
+ //EMS
58
+ // ormconfig: {
59
+ // name: 'default',
60
+ // type: 'postgres',
61
+ // database: 'EMS',
62
+ // username: 'postgres',
63
+ // password: 'hatio',
64
+ // host: '192.168.0.161',
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,
49
78
  // synchronize: true,
50
79
  // logging: true
51
80
  // },
52
- //postgres
53
-
54
- // //ERIC
55
81
  // ormconfig: {
56
82
  // name: 'default',
57
83
  // type: 'postgres',
@@ -63,20 +89,18 @@ module.exports = {
63
89
  // synchronize: true,
64
90
  // logging: true
65
91
  // },
66
-
67
- //eric2
92
+ //db izzah
68
93
  // ormconfig: {
69
94
  // name: 'default',
70
95
  // type: 'postgres',
71
- // database: 'eric2',
96
+ // database: '06072023',
72
97
  // username: 'postgres',
73
98
  // password: 'hatio',
74
99
  // host: '192.168.0.153',
75
100
  // port: 15432,
76
- // synchronize: false,
101
+ // synchronize: true,
77
102
  // logging: true
78
103
  // },
79
-
80
104
  // ormconfig: {
81
105
  // name: 'default',
82
106
  // type: 'postgres',
@@ -90,6 +114,7 @@ module.exports = {
90
114
  // connectTimeoutMS: 30000,
91
115
  // extra: { poolSize: 30 }
92
116
  // },
117
+
93
118
  // ormconfig: {
94
119
  // name: 'default',
95
120
  // type: 'postgres',
@@ -103,6 +128,7 @@ module.exports = {
103
128
  // connectTimeoutMS: 30000,
104
129
  // extra: { poolSize: 30 }
105
130
  // },
131
+
106
132
  password: {
107
133
  lowerCase: true,
108
134
  upperCase: false,
@@ -117,10 +143,23 @@ module.exports = {
117
143
  },
118
144
  sftpFileStorage: {
119
145
  type: 's3',
120
- accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
121
- secretAccessKey: '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',
122
- bucketName: 'operato-sftp'
146
+ accessKeyId: 'AKIAUQEOPWEJAMXCXGB4',
147
+ secretAccessKey: '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',
148
+ bucketName: 'operato-sftp',
149
+ region: 'ap-southeast-1'
123
150
  },
151
+
152
+ // SFTP Configuration for external server
153
+ // sftpExternal: {
154
+ // type: 'sftp',
155
+ // host: '103.4.6.168',
156
+ // port: 2211,
157
+ // username: 'hatio_admin',
158
+ // password: 'Yltc@2025!',
159
+ // basePath: '/Staging',
160
+ // timeout: 30000,
161
+ // retries: 3
162
+ // },
124
163
  // storage: {
125
164
  // type: 's3',
126
165
  // accessKeyId: 'AKIAUQEOPWEJCDH6AR5H',
@@ -192,7 +231,8 @@ module.exports = {
192
231
  isUAT: false,
193
232
  application: 'Operato MMS',
194
233
  partnerId: 846025,
195
- partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64'
234
+ partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64',
235
+ v2: true
196
236
  },
197
237
  marketplaceIntegrationLazada: {
198
238
  platform: 'lazada',
@@ -201,6 +241,16 @@ module.exports = {
201
241
  appSecret: 'HB3RTNEXHlVSlBr9SmWF8AjbSUT7a825',
202
242
  callback: 'https://maybank.operato-m.com/lazada-callback'
203
243
  },
244
+
245
+ //testinglazada
246
+ // marketplaceIntegrationLazada: {
247
+ // platform: 'lazada',
248
+ // application: 'powrup_bi',
249
+ // appKey: '117890',
250
+ // appSecret: 'tQVllnUa7irAHoNxAwXEVxoP1we1bUjE',
251
+ // callback: 'https://73c5-175-141-30-142.ngrok-free.app/lazada-callback'
252
+ // },
253
+
204
254
  accountingIntegrationXero: {
205
255
  platform: 'xero',
206
256
  application: 'Operato WMS',
@@ -209,21 +259,36 @@ module.exports = {
209
259
  callback: 'http://operato-h.com:3000/callback-xero',
210
260
  hostname: 'http://operato-h.com:3000/'
211
261
  },
212
- lambda: {
213
- region: 'ap-southeast-1',
214
- accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
215
- secretAccessKey: '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'
262
+ lmdIntegrationNinjavan: {
263
+ clientId: 'P8WCEwMo0FHNlPECwTLetwN3diAmt5KF',
264
+ secretKey: '1D0yNZGseOjhxnwri29xmuZiiuRp131L',
265
+ refreshThreshold: 43200
216
266
  },
267
+
268
+ lmdIntegrationEms: { refreshThreshold: 43200 },
269
+
270
+ lmdIntegrationCitylink: { refreshThreshold: 172800000 },
217
271
  awbFileStorage: {
218
272
  type: 's3',
219
- accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
220
- secretAccessKey: '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',
273
+ accessKeyId: 'AKIAUQEOPWEJPXIVER74',
274
+ secretAccessKey: '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',
221
275
  bucketName: 'operato-awb',
222
276
  region: 'ap-southeast-1'
223
277
  },
278
+ lambda: {
279
+ region: 'ap-southeast-1',
280
+ accessKeyId: 'AKIAUQEOPWEJPXIVER74',
281
+ secretAccessKey: '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'
282
+ },
283
+ lmdIntegrationConfig: {
284
+ version: {
285
+ v1: 'lmdMiddleware',
286
+ v2: 'lmdMiddlewareV2'
287
+ }
288
+ },
224
289
  awsSesEmail: {
225
- accessKeyId: 'AKIAUQEOPWEJKQDJSEOG',
226
- secretAccessKey: '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',
290
+ accessKeyId: 'AKIAUQEOPWEJPXIVER74',
291
+ secretAccessKey: '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',
227
292
  email: 'support@hatio.asia'
228
293
  },
229
294
  reportApiUrl:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-hub",
3
- "version": "4.3.708",
3
+ "version": "4.3.723",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -55,61 +55,61 @@
55
55
  "@operato/scene-tab": "^0.1.8",
56
56
  "@operato/scene-table": "^0.1.8",
57
57
  "@operato/scene-wheel-sorter": "^0.1.8",
58
- "@things-factory/api": "^4.3.707",
59
- "@things-factory/apptool-ui": "^4.3.707",
60
- "@things-factory/attachment-base": "^4.3.707",
61
- "@things-factory/auth-base": "^4.3.707",
62
- "@things-factory/auth-ui": "^4.3.707",
63
- "@things-factory/biz-base": "^4.3.707",
64
- "@things-factory/biz-ui": "^4.3.707",
65
- "@things-factory/board-service": "^4.3.707",
66
- "@things-factory/board-ui": "^4.3.707",
67
- "@things-factory/code-ui": "^4.3.707",
68
- "@things-factory/component-ui": "^4.3.707",
69
- "@things-factory/context-ui": "^4.3.707",
70
- "@things-factory/document-template-ui": "^4.3.707",
71
- "@things-factory/export-ui": "^4.3.707",
72
- "@things-factory/export-ui-csv": "^4.3.707",
73
- "@things-factory/export-ui-excel": "^4.3.707",
74
- "@things-factory/geography": "^4.3.707",
75
- "@things-factory/grist-ui": "^4.3.707",
76
- "@things-factory/help": "^4.3.707",
77
- "@things-factory/i18n-base": "^4.3.707",
78
- "@things-factory/import-ui": "^4.3.707",
79
- "@things-factory/import-ui-excel": "^4.3.707",
80
- "@things-factory/integration-accounting": "^4.3.707",
81
- "@things-factory/integration-fulfillment": "^4.3.707",
82
- "@things-factory/integration-lmd": "^4.3.707",
83
- "@things-factory/integration-marketplace": "^4.3.707",
84
- "@things-factory/integration-pos": "^4.3.707",
85
- "@things-factory/integration-powrup": "^4.3.707",
86
- "@things-factory/integration-sellercraft": "^4.3.707",
87
- "@things-factory/integration-sftp": "^4.3.707",
88
- "@things-factory/lite-menu": "^4.3.707",
89
- "@things-factory/marketplace-base": "^4.3.707",
90
- "@things-factory/more-ui": "^4.3.707",
91
- "@things-factory/notification": "^4.3.707",
92
- "@things-factory/pdf": "^4.3.707",
93
- "@things-factory/product-ui": "^4.3.707",
94
- "@things-factory/resource-ui": "^4.3.707",
95
- "@things-factory/sales-base": "^4.3.707",
96
- "@things-factory/scene-data-transform": "^4.3.707",
97
- "@things-factory/scene-excel": "^4.3.707",
98
- "@things-factory/scene-firebase": "^4.3.707",
99
- "@things-factory/scene-form": "^4.3.707",
100
- "@things-factory/scene-google-map": "^4.3.707",
101
- "@things-factory/scene-graphql": "^4.3.707",
102
- "@things-factory/scene-label": "^4.3.707",
103
- "@things-factory/scene-marker": "^4.3.707",
104
- "@things-factory/scene-mqtt": "^4.3.707",
105
- "@things-factory/scene-restful": "^4.3.707",
106
- "@things-factory/scene-visualizer": "^4.3.707",
107
- "@things-factory/setting-ui": "^4.3.707",
108
- "@things-factory/shell": "^4.3.707",
109
- "@things-factory/system-ui": "^4.3.707",
110
- "@things-factory/transport-base": "^4.3.707",
111
- "@things-factory/warehouse-base": "^4.3.707",
112
- "@things-factory/worksheet-base": "^4.3.708",
58
+ "@things-factory/api": "^4.3.723",
59
+ "@things-factory/apptool-ui": "^4.3.723",
60
+ "@things-factory/attachment-base": "^4.3.723",
61
+ "@things-factory/auth-base": "^4.3.723",
62
+ "@things-factory/auth-ui": "^4.3.723",
63
+ "@things-factory/biz-base": "^4.3.723",
64
+ "@things-factory/biz-ui": "^4.3.723",
65
+ "@things-factory/board-service": "^4.3.723",
66
+ "@things-factory/board-ui": "^4.3.723",
67
+ "@things-factory/code-ui": "^4.3.723",
68
+ "@things-factory/component-ui": "^4.3.723",
69
+ "@things-factory/context-ui": "^4.3.723",
70
+ "@things-factory/document-template-ui": "^4.3.723",
71
+ "@things-factory/export-ui": "^4.3.723",
72
+ "@things-factory/export-ui-csv": "^4.3.723",
73
+ "@things-factory/export-ui-excel": "^4.3.723",
74
+ "@things-factory/geography": "^4.3.723",
75
+ "@things-factory/grist-ui": "^4.3.723",
76
+ "@things-factory/help": "^4.3.723",
77
+ "@things-factory/i18n-base": "^4.3.723",
78
+ "@things-factory/import-ui": "^4.3.723",
79
+ "@things-factory/import-ui-excel": "^4.3.723",
80
+ "@things-factory/integration-accounting": "^4.3.723",
81
+ "@things-factory/integration-fulfillment": "^4.3.723",
82
+ "@things-factory/integration-lmd": "^4.3.723",
83
+ "@things-factory/integration-marketplace": "^4.3.723",
84
+ "@things-factory/integration-pos": "^4.3.723",
85
+ "@things-factory/integration-powrup": "^4.3.723",
86
+ "@things-factory/integration-sellercraft": "^4.3.723",
87
+ "@things-factory/integration-sftp": "^4.3.723",
88
+ "@things-factory/lite-menu": "^4.3.723",
89
+ "@things-factory/marketplace-base": "^4.3.723",
90
+ "@things-factory/more-ui": "^4.3.723",
91
+ "@things-factory/notification": "^4.3.723",
92
+ "@things-factory/pdf": "^4.3.723",
93
+ "@things-factory/product-ui": "^4.3.723",
94
+ "@things-factory/resource-ui": "^4.3.723",
95
+ "@things-factory/sales-base": "^4.3.723",
96
+ "@things-factory/scene-data-transform": "^4.3.723",
97
+ "@things-factory/scene-excel": "^4.3.723",
98
+ "@things-factory/scene-firebase": "^4.3.723",
99
+ "@things-factory/scene-form": "^4.3.723",
100
+ "@things-factory/scene-google-map": "^4.3.723",
101
+ "@things-factory/scene-graphql": "^4.3.723",
102
+ "@things-factory/scene-label": "^4.3.723",
103
+ "@things-factory/scene-marker": "^4.3.723",
104
+ "@things-factory/scene-mqtt": "^4.3.723",
105
+ "@things-factory/scene-restful": "^4.3.723",
106
+ "@things-factory/scene-visualizer": "^4.3.723",
107
+ "@things-factory/setting-ui": "^4.3.723",
108
+ "@things-factory/shell": "^4.3.723",
109
+ "@things-factory/system-ui": "^4.3.723",
110
+ "@things-factory/transport-base": "^4.3.723",
111
+ "@things-factory/warehouse-base": "^4.3.723",
112
+ "@things-factory/worksheet-base": "^4.3.723",
113
113
  "cron-parser": "^4.7.0",
114
114
  "koa2-swagger-ui": "^5.0.2",
115
115
  "swagger-jsdoc": "^5.0.0",
@@ -117,10 +117,10 @@
117
117
  "yamljs": "^0.3.0"
118
118
  },
119
119
  "devDependencies": {
120
- "@things-factory/builder": "^4.3.707"
120
+ "@things-factory/builder": "^4.3.723"
121
121
  },
122
122
  "resolutions": {
123
123
  "core-js": "^3.16.0"
124
124
  },
125
- "gitHead": "7b5ccb8b7f9836544aa236b4c0d0865a201f42a4"
125
+ "gitHead": "34bf57aa5628280fc483602659df898706e14638"
126
126
  }