@things-factory/operato-hub 4.3.633 → 4.3.634

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-hub",
3
- "version": "4.3.633",
3
+ "version": "4.3.634",
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.591",
93
93
  "@things-factory/product-ui": "^4.3.631",
94
94
  "@things-factory/resource-ui": "^4.3.591",
95
- "@things-factory/sales-base": "^4.3.632",
95
+ "@things-factory/sales-base": "^4.3.634",
96
96
  "@things-factory/scene-data-transform": "^4.3.591",
97
97
  "@things-factory/scene-excel": "^4.3.591",
98
98
  "@things-factory/scene-firebase": "^4.3.591",
@@ -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.633",
112
+ "@things-factory/worksheet-base": "^4.3.634",
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": "e550612b9ee56d93020d0ea39b9320c4962dd134"
125
+ "gitHead": "6d074a8146cfab0031b13ad291218f20495dda3f"
126
126
  }
@@ -1,283 +0,0 @@
1
- module.exports = {
2
- domainType: 'company',
3
- domainExtType: 'company',
4
- useVirtualHostBasedDomain: false,
5
- fallbackRoute: '/',
6
- subdomainOffset: 2,
7
- port: 3000,
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
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
46
- // ormconfig: {
47
- // name: 'default',
48
- // type: 'postgres',
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',
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,
78
- // synchronize: true,
79
- // logging: true
80
- // },
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
-
132
- password: {
133
- lowerCase: true,
134
- upperCase: false,
135
- digit: false,
136
- specialCharacter: false,
137
- allowRepeat: true,
138
- useTightPattern: false,
139
- useLoosePattern: true,
140
- tightCharacterLength: 4,
141
- looseCharacterLength: 4,
142
- history: 2
143
- },
144
- sftpFileStorage: {
145
- type: 's3',
146
- accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
147
- secretAccessKey: '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',
148
- bucketName: 'operato-sftp'
149
- },
150
- // storage: {
151
- // type: 's3',
152
- // accessKeyId: 'AKIAUQEOPWEJCDH6AR5H',
153
- // secretAccessKey: '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',
154
- // bucketName: 'opa-one',
155
- // region: 'ap-southeast-1'
156
- // },
157
- uploads: 'uploads',
158
- attachmentsPath: 'attachments',
159
- SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
160
- logger: {
161
- file: {
162
- filename: 'logs/application-%DATE%.log',
163
- datePattern: 'YYYY-MM-DD-HH',
164
- zippedArchive: true,
165
- maxSize: '200m',
166
- maxFiles: '1m',
167
- level: 'info'
168
- }
169
- },
170
- email: {
171
- host: 'smtp.office365.com',
172
- port: 587,
173
- secure: false, // true for 465, false for other ports
174
- auth: {
175
- user: 'noreply@hatiolab.com', // generated ethereal user
176
- pass: 'h@ti0LAB1008' // generated ethereal password
177
- },
178
- secureConnection: false,
179
- tls: {
180
- ciphers: 'SSLv3'
181
- }
182
- },
183
- sender: 'noreply@hatiolab.com',
184
- notification: {
185
- // fcm: {
186
- // serviceAccount: {
187
- // project_id: 'operato',
188
- // private_key:
189
- // '-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDYNOfyNjPMSeG9\nzU1qs0cpVK5cVfadcUaw5g+hkQZMOMlAA7uqW2eX4vkayj7MzbYUayH+sei8044Q\nJIyl6f26dNX1VT3UgTmSmCS0v48EBEZHCgusrUGFjduLRN6OS6uvrXW1xKA18k9q\nai1C2EHCXF2AE4PTvf239RC1UIOnVePcMtT7rMTdHRO4s8OKVuSDbzIt8k1cV3Zt\nES0YsJlkELqBisYpV//2/ZSILTt39J9JzrVef03X9kkoo9p+YnNyy6tWsfQPfgJO\nybiRGBNxiyJ/E2pxRo/WqU0go9OzYJlGaSUrUx09heNiRD1b0MAOmyPDJz/6AaTk\nkU/A+kLzAgMBAAECggEADQ5s2gtR53VSujk1V/Xe8e0Di99DwaWUj5w6YhcK7/wX\nPdQRN4Fw6RLeLjL7xeG/rCNSwzm6hKSrQJL5zLnWW7XbMdyQRk6jdmnVAEv3zACi\nFH9+eFK3e+Q214XfgWz/v4p/FZdRLCYni5VBNHcwyWxLLS/V1ynzB3KM1sDiTRmI\npcT7+uTtwrKgJq64sXtFE2pYrFxDdCiyqzkhv/2ed4YIowAjpKBbbcCDKeVxVkoz\nC1P4PAzs9EeUuKSWYrWaUjN17lqtRlYeT1ylR1PIJuWqd4cKfgoEgz+lHwRPDCEX\nAYbk3nofiJIPBhSfCHrXS755wK48mY8vMwFdfCPJeQKBgQDsz4tjYTHdat5A25n5\nekwMxZwFQ5OvMV4eulwZUDMypTAYSz1iB6sDlgwKDm5omZIfuneqCEIvrqxV/kx3\n5wV/DANHO3hYxdp/NV7rM23xmqlaKZhHQbDono1Fm/LP6DEmJiD7N2eFKsXYcPpR\nSAIdCv0X3zkDQ4zRi51yJlCXzQKBgQDpufJBxCoXngiQJ2j14lWVAeOOdQ6zh5Ip\nBcDwF0X67cNSN3Wl40bS4yLFdolhEAyj5m0WPuYYXpjzhHhZ0W3V3ItdBkrmwIvy\nWOWu26qN0ZbwxVS2qVpHuj6iHWJKHuDZZUkFtJg3BeeBSOUHSA8TvjnA0xd83xeb\n8ZJasWoFvwKBgQDFs/gQ/gIdcq0exLfluh5nw0qgcmyHpNWJHdjqITS9IX/nqFkU\n0IYLtmdStf2jQiLmbkydHcvz9wZVvLqml67VBHhwLcwpgPULoskd34/4V0Dvzy4c\nv1Esw8H5zVqIDLeLu+VpFjZMzQrjyl6RIWbyTExEc84rVWfpQYAu3qIGOQKBgAFr\nXatEk7TdAtRNSPflTfu/rTAaSeKROjQBkvBiU8x4US1YpOBDBxUUyAtG8wKh5FHC\nfnsaGq+fM3KXJVv2R6J62mXQOfg4xyDLpWlwcBK4aSBBMoiBcsjouqSlZQlqMpdf\nZBgixqHe6U8BsFJg/6ZxC0y+e3AIss4Bo4/lb+1lAoGAFOexvaBh21K6W3inmRW4\nLlkVYJaBJ20OwokXg5aXjBiHxqmk7VLAuFbkpb5LOKH2xPILRQ0OEkn51yVymS3T\n9lLpHOFTQXt5tF2/F7NW7kaQJNlLr/h5jPi3O9XHeFmuaN2z150ZB6zzgjeGKzr8\ni+1fgTsRfDtNw8xkSH9qL1Y=\n-----END PRIVATE KEY-----\n',
190
- // client_email: 'firebase-adminsdk-xmm2e@operato.iam.gserviceaccount.com'
191
- // },
192
- // appConfig: {
193
- // apiKey: 'AIzaSyDdTM2BTLHSt2LNS0G5QB8G0i4KBXFiG7U',
194
- // projectId: 'operato',
195
- // messagingSenderId: 79537064975,
196
- // appId: '1:79537064975:web:32f53119e9c8c6ee2a277a'
197
- // },
198
- // serverKey:
199
- // 'AAAAEoTHTA8:APA91bGwt-4HT82Dfwf_VwbQaKT0_qHd0Y3tuW41udjWz5Lz0Ko0mEMD6WbHHSILvQpa6yuoGGKCMsrU7VW2qWRrUm3CYpyG9oSwshNm1tIhljAnOuUfwHCoawbVLwf9qlWpHt4dwCoc'
200
- // },
201
- // vapidKey: {
202
- // subject: 'mailto:heartyoh@hatiolab.com',
203
- // publicKey: 'BAkVkITsCXBIsYL1yeaBmx5_dn57we-ZXMjirPPHzC2dan82cdEnAio_53PQ-1_w3ykWCBPrrFAWQ_d9N4cFF0o',
204
- // privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
205
- // }
206
- },
207
- fulfillmentIntegrationOperato: {
208
- host: '192.168.0.161:3000',
209
- protocol: 'http',
210
- platform: 'operato',
211
- application: 'Operato MMS',
212
- appKey: 'a9bf751e622bf146662b240d58971051',
213
- appSecret: '1c385935dc131c4b902b9bbf6a4798af',
214
- callback: 'http://192.168.0.161:5000/callback-operato'
215
- },
216
- marketplaceIntegrationShopee: {
217
- platform: 'shopee',
218
- isUAT: false,
219
- application: 'Operato MMS',
220
- partnerId: 846025,
221
- partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64',
222
- v2: true
223
- },
224
- marketplaceIntegrationLazada: {
225
- platform: 'lazada',
226
- application: 'operato-mms',
227
- appKey: '120961',
228
- appSecret: 'HB3RTNEXHlVSlBr9SmWF8AjbSUT7a825',
229
- callback: 'https://maybank.operato-m.com/lazada-callback'
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
-
241
- accountingIntegrationXero: {
242
- platform: 'xero',
243
- application: 'Operato WMS',
244
- apiKey: '6B12D1AAC05347DC92159C2AEC812859',
245
- apiSecret: 'T139_ItMjObC82mmy7iwnNflhd2iV0kUvDBj0P_201EmA7Sj',
246
- callback: 'http://operato-h.com:3000/callback-xero',
247
- hostname: 'http://operato-h.com:3000/'
248
- },
249
- lmdIntegrationNinjavan: {
250
- clientId: 'P8WCEwMo0FHNlPECwTLetwN3diAmt5KF',
251
- secretKey: '1D0yNZGseOjhxnwri29xmuZiiuRp131L',
252
- refreshThreshold: 43200
253
- },
254
-
255
- lmdIntegrationEms: { refreshThreshold: 43200 },
256
-
257
- lmdIntegrationCitylink: { refreshThreshold: 172800000 },
258
- awbFileStorage: {
259
- type: 's3',
260
- accessKeyId: 'AKIAUQEOPWEJPXIVER74',
261
- secretAccessKey: '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',
262
- bucketName: 'operato-awb',
263
- region: 'ap-southeast-1'
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
- },
276
- awsSesEmail: {
277
- accessKeyId: 'AKIAUQEOPWEJPXIVER74',
278
- secretAccessKey: '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',
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'
283
- }