@things-factory/operato-hub 4.3.740 → 4.3.741

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.
@@ -4,28 +4,45 @@ module.exports = {
4
4
  useVirtualHostBasedDomain: false,
5
5
  fallbackRoute: '/',
6
6
  subdomainOffset: 2,
7
- port: 4445,
7
+ port: 4001,
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
15
  // password: 'hatio',
22
- // host: '10.254.29.189',
16
+ // host: '192.168.0.144',
23
17
  // port: 15432,
24
18
  // synchronize: false,
25
19
  // logging: true
26
20
  // },
27
-
28
- // STAGING DATABASE
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
+ // },
45
+ // arif's
29
46
  ormconfig: {
30
47
  name: 'default',
31
48
  type: 'postgres',
@@ -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: 'operato',
61
+ // database: 'EMS',
45
62
  // username: 'postgres',
46
63
  // password: 'hatio',
47
- // host: '192.168.0.153',
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: '06072023',
73
+ // database: 'postgres',
58
74
  // username: 'postgres',
59
75
  // password: 'hatio',
60
- // host: '192.168.0.153',
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,20 +89,18 @@ 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: 'eric2',
96
+ // database: '06072023',
85
97
  // username: 'postgres',
86
98
  // password: 'hatio',
87
99
  // host: '192.168.0.153',
88
100
  // port: 15432,
89
- // synchronize: false,
101
+ // synchronize: true,
90
102
  // logging: true
91
103
  // },
92
-
93
104
  // ormconfig: {
94
105
  // name: 'default',
95
106
  // type: 'postgres',
@@ -103,6 +114,7 @@ module.exports = {
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,21 +246,36 @@ module.exports = {
227
246
  callback: 'http://operato-h.com:3000/callback-xero',
228
247
  hostname: 'http://operato-h.com:3000/'
229
248
  },
230
- lambda: {
231
- region: 'ap-southeast-1',
232
- accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
233
- secretAccessKey: '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'
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: 'AKIAUQEOPWEJKL43OMZA',
238
- secretAccessKey: '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',
260
+ accessKeyId: 'AKIAUQEOPWEJPXIVER74',
261
+ secretAccessKey: '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',
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: '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'
269
+ },
270
+ lmdIntegrationConfig: {
271
+ version: {
272
+ v1: 'lmdMiddleware',
273
+ v2: 'lmdMiddlewareV2'
274
+ }
275
+ },
242
276
  awsSesEmail: {
243
- accessKeyId: 'AKIAUQEOPWEJKQDJSEOG',
244
- secretAccessKey: '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',
277
+ accessKeyId: 'AKIAUQEOPWEJPXIVER74',
278
+ secretAccessKey: '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',
245
279
  email: 'support@hatio.asia'
246
280
  },
247
281
  reportApiUrl:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-hub",
3
- "version": "4.3.740",
3
+ "version": "4.3.741",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -90,7 +90,7 @@
90
90
  "@things-factory/more-ui": "^4.3.740",
91
91
  "@things-factory/notification": "^4.3.740",
92
92
  "@things-factory/pdf": "^4.3.740",
93
- "@things-factory/product-ui": "^4.3.740",
93
+ "@things-factory/product-ui": "^4.3.741",
94
94
  "@things-factory/resource-ui": "^4.3.740",
95
95
  "@things-factory/sales-base": "^4.3.740",
96
96
  "@things-factory/scene-data-transform": "^4.3.740",
@@ -109,7 +109,7 @@
109
109
  "@things-factory/system-ui": "^4.3.740",
110
110
  "@things-factory/transport-base": "^4.3.740",
111
111
  "@things-factory/warehouse-base": "^4.3.740",
112
- "@things-factory/worksheet-base": "^4.3.740",
112
+ "@things-factory/worksheet-base": "^4.3.741",
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": "a44a2bba35384ffe5934a419b677f9e8f49d1ffe"
125
+ "gitHead": "97de9f3e63d7acdb0e59eff61f5c170457582490"
126
126
  }