@things-factory/operato-wms 4.3.523 → 4.3.524

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 +155 -18
  2. package/package.json +21 -21
@@ -4,33 +4,118 @@ module.exports = {
4
4
  useVirtualHostBasedDomain: false,
5
5
  fallbackRoute: '/',
6
6
  subdomainOffset: 2,
7
- port: 1100,
8
- inspect: '9430',
7
+ port: 4000,
8
+ inspect: '9330',
9
+ // postgres
9
10
  ormconfig: {
10
11
  name: 'default',
11
12
  type: 'postgres',
12
- database: 'dev',
13
+ database: 'postgres',
13
14
  username: 'postgres',
14
15
  password: 'hatio',
15
16
  host: '192.168.0.161',
16
17
  port: 15432,
17
- synchronize: false,
18
+ synchronize: true,
18
19
  logging: true
19
20
  },
21
+
22
+ //eric2
23
+ // ormconfig: {
24
+ // name: 'default',
25
+ // type: 'postgres',
26
+ // database: 'eric2',
27
+ // username: 'postgres',
28
+ // password: 'hatio',
29
+ // host: '192.168.0.153',
30
+ // port: 15432,
31
+ // synchronize: false,
32
+ // logging: true
33
+ // },
34
+ // arif's
35
+ // ormconfig: {
36
+ // name: 'default',
37
+ // type: 'postgres',
38
+ // database: 'arif',
39
+ // username: 'postgres',
40
+ // password: 'hatio',
41
+ // host: '192.168.0.151',
42
+ // port: 15432,
43
+ // synchronize: false,
44
+ // logging: true
45
+ // },
46
+ //EMS
47
+ // ormconfig: {
48
+ // name: 'default',
49
+ // type: 'postgres',
50
+ // database: 'EMS',
51
+ // username: 'postgres',
52
+ // password: 'hatio',
53
+ // host: '192.168.0.161',
54
+ // port: 15432,
55
+ // synchronize: false,
56
+ // logging: true
57
+ // },
58
+ //db nora
20
59
  // ormconfig: {
21
60
  // name: 'default',
22
61
  // type: 'postgres',
23
62
  // database: 'postgres',
24
63
  // username: 'postgres',
25
- // password: 'abcd1234',
64
+ // password: 'hatio',
65
+ // host: '192.168.0.36',
66
+ // port: 15432,
67
+ // synchronize: true,
68
+ // logging: true
69
+ // },
70
+ // ormconfig: {
71
+ // name: 'default',
72
+ // type: 'postgres',
73
+ // database: 'eric',
74
+ // username: 'postgres',
75
+ // password: 'hatio',
76
+ // host: '192.168.0.153',
77
+ // port: 15432,
78
+ // synchronize: true,
79
+ // logging: true
80
+ // },
81
+ //db izzah
82
+ // ormconfig: {
83
+ // name: 'default',
84
+ // type: 'postgres',
85
+ // database: '06072023',
86
+ // username: 'postgres',
87
+ // password: 'hatio',
88
+ // host: '192.168.0.153',
89
+ // port: 15432,
90
+ // synchronize: false,
91
+ // logging: true
92
+ // },
93
+ // ormconfig: {
94
+ // name: 'default',
95
+ // type: 'postgres',
26
96
  // host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
27
97
  // port: 55432,
98
+ // database: 'postgres',
99
+ // username: 'postgres',
100
+ // password: 'abcd1234',
28
101
  // synchronize: false,
29
- // logging: true
102
+ // logging: true,
103
+ // connectTimeoutMS: 30000,
104
+ // extra: { poolSize: 30 }
30
105
  // },
31
- sellercraftIntegrationConfig: {
32
- apiKey: 'Et0KqtLvA6e92bDvOywy9eCCud4hpAal8akpqI90'
33
- },
106
+ //ormconfig: {
107
+ // name: 'default',
108
+ // type: 'postgres',
109
+ // database: 'dev2',
110
+ // username: 'postgres',
111
+ // password: 'hatio',
112
+ // host: 'localhost',
113
+ // port: 15432,
114
+ // synchronize: false,
115
+ // logging: true,
116
+ // connectTimeoutMS: 30000,
117
+ // extra: { poolSize: 30 }
118
+ //},
34
119
  SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
35
120
  password: {
36
121
  lowerCase: true,
@@ -44,13 +129,6 @@ module.exports = {
44
129
  looseCharacterLength: 4,
45
130
  history: 2
46
131
  },
47
- // storage: {
48
- // type: 's3',
49
- // accessKeyId: 'AKIAUQEOPWEJCDH6AR5H',
50
- // secretAccessKey: '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',
51
- // bucketName: 'opa-one',
52
- // region: 'ap-southeast-1'
53
- // },
54
132
  uploads: 'uploads',
55
133
  attachmentsPath: 'attachments',
56
134
  logger: {
@@ -100,6 +178,65 @@ module.exports = {
100
178
  // privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
101
179
  // }
102
180
  },
103
- // reportApiUrl: 'localhost:8888/rest/report/show_html'
104
- reportApiUrl: 'http://192.168.0.153:8888/rest/report/show_html'
181
+ fulfillmentIntegrationOperato: {
182
+ host: '192.168.0.161:3000',
183
+ protocol: 'http',
184
+ platform: 'operato',
185
+ application: 'Operato MMS',
186
+ appKey: 'a9bf751e622bf146662b240d58971051',
187
+ appSecret: '1c385935dc131c4b902b9bbf6a4798af',
188
+ callback: 'http://192.168.0.161:5000/callback-operato'
189
+ },
190
+ lmdIntegrationNinjavan: {
191
+ clientId: 'P8WCEwMo0FHNlPECwTLetwN3diAmt5KF',
192
+ secretKey: '1D0yNZGseOjhxnwri29xmuZiiuRp131L',
193
+ refreshThreshold: 43200
194
+ },
195
+
196
+ lmdIntegrationEms: { refreshThreshold: 43200 },
197
+ marketplaceIntegrationShopee: {
198
+ platform: 'shopee',
199
+ isUAT: false,
200
+ application: 'Operato MMS',
201
+ partnerId: 846025,
202
+ partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64',
203
+ v2: true
204
+ },
205
+ marketplaceIntegrationLazada: {
206
+ platform: 'lazada',
207
+ application: 'operato-mms',
208
+ appKey: '120961',
209
+ appSecret: 'HB3RTNEXHlVSlBr9SmWF8AjbSUT7a825',
210
+ callback: 'https://maybank.operato-m.com/lazada-callback'
211
+ },
212
+
213
+ //testinglazada
214
+ // marketplaceIntegrationLazada: {
215
+ // platform: 'lazada',
216
+ // application: 'powrup_bi',
217
+ // appKey: '117890',
218
+ // appSecret: 'tQVllnUa7irAHoNxAwXEVxoP1we1bUjE',
219
+ // callback: 'https://73c5-175-141-30-142.ngrok-free.app/lazada-callback'
220
+ // },
221
+ reportApiUrl: 'http://localhost:8888/rest/report/show_html',
222
+ // reportApiUrl: 'http://192.168.0.153:8888/rest/report/show_html'
223
+ // reportApiUrl: 'http://10.100.109.66:8090/rest/report/show_html',
224
+ awbFileStorage: {
225
+ type: 's3',
226
+ accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
227
+ secretAccessKey: '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',
228
+ bucketName: 'operato-awb',
229
+ region: 'ap-southeast-1'
230
+ },
231
+ lambda: {
232
+ region: 'ap-southeast-1',
233
+ accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
234
+ secretAccessKey: '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'
235
+ },
236
+ lmdIntegrationConfig: {
237
+ version: {
238
+ v1: 'lmdMiddleware',
239
+ v2: 'lmdMiddlewareV2'
240
+ }
241
+ }
105
242
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-wms",
3
- "version": "4.3.523",
3
+ "version": "4.3.524",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -63,35 +63,35 @@
63
63
  "@operato/scene-table": "^0.1.8",
64
64
  "@operato/scene-wheel-sorter": "^0.1.8",
65
65
  "@things-factory/apptool-ui": "^4.3.434",
66
- "@things-factory/attachment-ui": "^4.3.518",
67
- "@things-factory/auth-ui": "^4.3.518",
66
+ "@things-factory/attachment-ui": "^4.3.524",
67
+ "@things-factory/auth-ui": "^4.3.524",
68
68
  "@things-factory/barcode-ui": "^4.3.434",
69
- "@things-factory/biz-ui": "^4.3.518",
70
- "@things-factory/board-service": "^4.3.518",
71
- "@things-factory/board-ui": "^4.3.518",
72
- "@things-factory/code-ui": "^4.3.518",
69
+ "@things-factory/biz-ui": "^4.3.524",
70
+ "@things-factory/board-service": "^4.3.524",
71
+ "@things-factory/board-ui": "^4.3.524",
72
+ "@things-factory/code-ui": "^4.3.524",
73
73
  "@things-factory/context-ui": "^4.3.434",
74
74
  "@things-factory/export-ui": "^4.3.434",
75
75
  "@things-factory/export-ui-csv": "^4.3.434",
76
76
  "@things-factory/export-ui-excel": "^4.3.434",
77
- "@things-factory/fav-base": "^4.3.518",
77
+ "@things-factory/fav-base": "^4.3.524",
78
78
  "@things-factory/form-ui": "^4.3.434",
79
- "@things-factory/geography": "^4.3.518",
79
+ "@things-factory/geography": "^4.3.524",
80
80
  "@things-factory/grist-ui": "^4.3.434",
81
81
  "@things-factory/help": "^4.3.434",
82
82
  "@things-factory/i18n-base": "^4.3.434",
83
- "@things-factory/id-rule-base": "^4.3.518",
83
+ "@things-factory/id-rule-base": "^4.3.524",
84
84
  "@things-factory/import-ui": "^4.3.434",
85
85
  "@things-factory/import-ui-excel": "^4.3.434",
86
- "@things-factory/menu-ui": "^4.3.518",
86
+ "@things-factory/menu-ui": "^4.3.524",
87
87
  "@things-factory/more-ui": "^4.3.434",
88
- "@things-factory/notification": "^4.3.518",
88
+ "@things-factory/notification": "^4.3.524",
89
89
  "@things-factory/pdf": "^4.3.381",
90
90
  "@things-factory/print-proxy-service": "^4.3.434",
91
91
  "@things-factory/print-ui": "^4.3.434",
92
- "@things-factory/product-base": "^4.3.518",
93
- "@things-factory/resource-ui": "^4.3.518",
94
- "@things-factory/sales-ui": "^4.3.523",
92
+ "@things-factory/product-base": "^4.3.524",
93
+ "@things-factory/resource-ui": "^4.3.524",
94
+ "@things-factory/sales-ui": "^4.3.524",
95
95
  "@things-factory/scene-data-transform": "^4.3.381",
96
96
  "@things-factory/scene-excel": "^4.3.381",
97
97
  "@things-factory/scene-firebase": "^4.3.381",
@@ -103,12 +103,12 @@
103
103
  "@things-factory/scene-mqtt": "^4.3.381",
104
104
  "@things-factory/scene-restful": "^4.3.381",
105
105
  "@things-factory/scene-visualizer": "^4.3.381",
106
- "@things-factory/setting-ui": "^4.3.518",
106
+ "@things-factory/setting-ui": "^4.3.524",
107
107
  "@things-factory/system-ui": "^4.3.434",
108
- "@things-factory/transport-base": "^4.3.518",
109
- "@things-factory/tutorial-ui": "^4.3.518",
110
- "@things-factory/warehouse-base": "^4.3.520",
111
- "@things-factory/worksheet-base": "^4.3.523"
108
+ "@things-factory/transport-base": "^4.3.524",
109
+ "@things-factory/tutorial-ui": "^4.3.524",
110
+ "@things-factory/warehouse-base": "^4.3.524",
111
+ "@things-factory/worksheet-base": "^4.3.524"
112
112
  },
113
113
  "devDependencies": {
114
114
  "@things-factory/builder": "^4.3.381",
@@ -117,5 +117,5 @@
117
117
  "cypress-localstorage-commands": "^1.6.1",
118
118
  "eslint-plugin-cypress": "^2.12.1"
119
119
  },
120
- "gitHead": "131e5fb338b48f4b82270b38e5b23bd666f71e12"
120
+ "gitHead": "0e6819f6c2efc8070607e0e0379a1c7ffb235abf"
121
121
  }