@things-factory/operato-hub 4.3.738 → 4.3.740

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,45 +4,15 @@ module.exports = {
4
4
  useVirtualHostBasedDomain: false,
5
5
  fallbackRoute: '/',
6
6
  subdomainOffset: 2,
7
- port: 3000,
7
+ port: 4445,
8
8
  inspect: '9260',
9
- //postgres
10
- ormconfig: {
11
- name: 'default',
12
- type: 'postgres',
13
- database: 'postgres',
14
- username: 'postgres',
15
- password: 't62dgT#Ns*GerhuZ9wnzm^',
16
- host: 'my-operato-pg.cjcso4qmeuq0.ap-southeast-5.rds.amazonaws.com',
17
- port: 55432,
18
- synchronize: false,
19
- logging: true
9
+ storage: {
10
+ type: 's3',
11
+ accessKeyId: 'AKIAUQEOPWEJHCE4MTH4',
12
+ secretAccessKey: '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',
13
+ bucketName: 'opa-one',
14
+ region: 'ap-southeast-1'
20
15
  },
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
16
  // ormconfig: {
47
17
  // name: 'default',
48
18
  // type: 'postgres',
@@ -54,30 +24,47 @@ module.exports = {
54
24
  // synchronize: false,
55
25
  // logging: true
56
26
  // },
57
- //EMS
27
+
28
+ // STAGING DATABASE
29
+ ormconfig: {
30
+ name: 'default',
31
+ type: 'postgres',
32
+ database: 'staging',
33
+ username: 'postgres',
34
+ password: 't62dgT#Ns*GerhuZ9wnzm^',
35
+ host: 'my-operato-pg.cjcso4qmeuq0.ap-southeast-5.rds.amazonaws.com',
36
+ port: 55432,
37
+ synchronize: false,
38
+ logging: true
39
+ },
40
+
58
41
  // ormconfig: {
59
42
  // name: 'default',
60
43
  // type: 'postgres',
61
- // database: 'EMS',
44
+ // database: 'operato',
62
45
  // username: 'postgres',
63
46
  // password: 'hatio',
64
- // host: '192.168.0.161',
47
+ // host: '192.168.0.153',
65
48
  // port: 15432,
66
49
  // synchronize: false,
67
50
  // logging: true
68
51
  // },
69
- //db nora
52
+
53
+ //db izzah
70
54
  // ormconfig: {
71
55
  // name: 'default',
72
56
  // type: 'postgres',
73
- // database: 'postgres',
57
+ // database: '06072023',
74
58
  // username: 'postgres',
75
59
  // password: 'hatio',
76
- // host: '192.168.0.36',
60
+ // host: '192.168.0.153',
77
61
  // port: 15432,
78
62
  // synchronize: true,
79
63
  // logging: true
80
64
  // },
65
+ //postgres
66
+
67
+ // //ERIC
81
68
  // ormconfig: {
82
69
  // name: 'default',
83
70
  // type: 'postgres',
@@ -89,18 +76,20 @@ module.exports = {
89
76
  // synchronize: true,
90
77
  // logging: true
91
78
  // },
92
- //db izzah
79
+
80
+ //eric2
93
81
  // ormconfig: {
94
82
  // name: 'default',
95
83
  // type: 'postgres',
96
- // database: '06072023',
84
+ // database: 'eric2',
97
85
  // username: 'postgres',
98
86
  // password: 'hatio',
99
87
  // host: '192.168.0.153',
100
88
  // port: 15432,
101
- // synchronize: true,
89
+ // synchronize: false,
102
90
  // logging: true
103
91
  // },
92
+
104
93
  // ormconfig: {
105
94
  // name: 'default',
106
95
  // type: 'postgres',
@@ -114,7 +103,6 @@ module.exports = {
114
103
  // connectTimeoutMS: 30000,
115
104
  // extra: { poolSize: 30 }
116
105
  // },
117
-
118
106
  // ormconfig: {
119
107
  // name: 'default',
120
108
  // type: 'postgres',
@@ -128,7 +116,6 @@ module.exports = {
128
116
  // connectTimeoutMS: 30000,
129
117
  // extra: { poolSize: 30 }
130
118
  // },
131
-
132
119
  password: {
133
120
  lowerCase: true,
134
121
  upperCase: false,
@@ -143,23 +130,10 @@ module.exports = {
143
130
  },
144
131
  sftpFileStorage: {
145
132
  type: 's3',
146
- accessKeyId: 'AKIAUQEOPWEJAMXCXGB4',
147
- secretAccessKey: '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',
148
- bucketName: 'operato-sftp',
149
- region: 'ap-southeast-1'
133
+ accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
134
+ secretAccessKey: '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',
135
+ bucketName: 'operato-sftp'
150
136
  },
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
- // },
163
137
  // storage: {
164
138
  // type: 's3',
165
139
  // accessKeyId: 'AKIAUQEOPWEJCDH6AR5H',
@@ -193,6 +167,11 @@ module.exports = {
193
167
  ciphers: 'SSLv3'
194
168
  }
195
169
  },
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
+ },
196
175
  sender: 'noreply@hatiolab.com',
197
176
  notification: {
198
177
  // fcm: {
@@ -226,20 +205,12 @@ module.exports = {
226
205
  appSecret: '1c385935dc131c4b902b9bbf6a4798af',
227
206
  callback: 'http://192.168.0.161:5000/callback-operato'
228
207
  },
229
-
230
- // Job queue (AWS SQS)
231
- jobQueue: {
232
- // For JobQueueService/JobWorker (FIFO queue is supported)
233
- queueUrl: 'https://sqs.ap-southeast-5.amazonaws.com/309536469266/operato-job-queue.fifo',
234
- sqsRegion: 'ap-southeast-5'
235
- },
236
208
  marketplaceIntegrationShopee: {
237
209
  platform: 'shopee',
238
210
  isUAT: false,
239
211
  application: 'Operato MMS',
240
212
  partnerId: 846025,
241
- partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64',
242
- v2: true
213
+ partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64'
243
214
  },
244
215
  marketplaceIntegrationLazada: {
245
216
  platform: 'lazada',
@@ -248,16 +219,6 @@ module.exports = {
248
219
  appSecret: 'HB3RTNEXHlVSlBr9SmWF8AjbSUT7a825',
249
220
  callback: 'https://maybank.operato-m.com/lazada-callback'
250
221
  },
251
-
252
- //testinglazada
253
- // marketplaceIntegrationLazada: {
254
- // platform: 'lazada',
255
- // application: 'powrup_bi',
256
- // appKey: '117890',
257
- // appSecret: 'tQVllnUa7irAHoNxAwXEVxoP1we1bUjE',
258
- // callback: 'https://73c5-175-141-30-142.ngrok-free.app/lazada-callback'
259
- // },
260
-
261
222
  accountingIntegrationXero: {
262
223
  platform: 'xero',
263
224
  application: 'Operato WMS',
@@ -266,36 +227,21 @@ module.exports = {
266
227
  callback: 'http://operato-h.com:3000/callback-xero',
267
228
  hostname: 'http://operato-h.com:3000/'
268
229
  },
269
- lmdIntegrationNinjavan: {
270
- clientId: 'P8WCEwMo0FHNlPECwTLetwN3diAmt5KF',
271
- secretKey: '1D0yNZGseOjhxnwri29xmuZiiuRp131L',
272
- refreshThreshold: 43200
230
+ lambda: {
231
+ region: 'ap-southeast-1',
232
+ accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
233
+ secretAccessKey: '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'
273
234
  },
274
-
275
- lmdIntegrationEms: { refreshThreshold: 43200 },
276
-
277
- lmdIntegrationCitylink: { refreshThreshold: 172800000 },
278
235
  awbFileStorage: {
279
236
  type: 's3',
280
- accessKeyId: 'AKIAUQEOPWEJPXIVER74',
281
- secretAccessKey: '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',
237
+ accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
238
+ secretAccessKey: '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',
282
239
  bucketName: 'operato-awb',
283
240
  region: 'ap-southeast-1'
284
241
  },
285
- lambda: {
286
- region: 'ap-southeast-1',
287
- accessKeyId: 'AKIAUQEOPWEJPXIVER74',
288
- secretAccessKey: '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'
289
- },
290
- lmdIntegrationConfig: {
291
- version: {
292
- v1: 'lmdMiddleware',
293
- v2: 'lmdMiddlewareV2'
294
- }
295
- },
296
242
  awsSesEmail: {
297
- accessKeyId: 'AKIAUQEOPWEJPXIVER74',
298
- secretAccessKey: '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',
243
+ accessKeyId: 'AKIAUQEOPWEJKQDJSEOG',
244
+ secretAccessKey: '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',
299
245
  email: 'support@hatio.asia'
300
246
  },
301
247
  reportApiUrl:
@@ -24,6 +24,8 @@ exports.companyRolesByScopeResolver = {
24
24
  companyRoleMap.forEach((roles) => {
25
25
  companyRoles.push({ domain: roles[0].domain, roles });
26
26
  });
27
+ // Sort by domain name in ascending order
28
+ companyRoles.sort((a, b) => a.domain.name.localeCompare(b.domain.name));
27
29
  return companyRoles;
28
30
  }
29
31
  };
@@ -1 +1 @@
1
- {"version":3,"file":"company-roles-by-scope.js","sourceRoot":"","sources":["../../../../server/graphql/resolvers/oauth2/company-roles-by-scope.ts"],"names":[],"mappings":";;;AAAA,yDAAsE;AACtE,qCAAuC;AAQ1B,QAAA,2BAA2B,GAAG;IACzC,KAAK,CAAC,mBAAmB,CAAC,CAAO,EAAE,EAAE,KAAK,EAAuB,EAAE,OAAY;QAC7E,IAAI,EAAE,IAAI,EAAE,GAAmB,OAAO,CAAC,KAAK,CAAA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,EAAE;YACpC,IAAI,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE;gBACtC,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;aAC9C;iBAAM;gBACL,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,CAAA;aAC3C;QACH,CAAC,CAAC,CAAA;QAEF,IAAI,YAAY,GAAkB,EAAE,CAAA;QACpC,cAAc,CAAC,OAAO,CAAC,CAAC,KAAa,EAAE,EAAE;YACvC,YAAY,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,CAAC,CAAA;QACvD,CAAC,CAAC,CAAA;QAEF,yCAAyC;QACzC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAA;QAEvE,OAAO,YAAY,CAAA;IACrB,CAAC;CACF,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-hub",
3
- "version": "4.3.738",
3
+ "version": "4.3.740",
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.738",
59
- "@things-factory/apptool-ui": "^4.3.738",
60
- "@things-factory/attachment-base": "^4.3.738",
61
- "@things-factory/auth-base": "^4.3.738",
62
- "@things-factory/auth-ui": "^4.3.738",
63
- "@things-factory/biz-base": "^4.3.738",
64
- "@things-factory/biz-ui": "^4.3.738",
65
- "@things-factory/board-service": "^4.3.738",
66
- "@things-factory/board-ui": "^4.3.738",
67
- "@things-factory/code-ui": "^4.3.738",
68
- "@things-factory/component-ui": "^4.3.734",
69
- "@things-factory/context-ui": "^4.3.738",
70
- "@things-factory/document-template-ui": "^4.3.738",
71
- "@things-factory/export-ui": "^4.3.738",
72
- "@things-factory/export-ui-csv": "^4.3.738",
73
- "@things-factory/export-ui-excel": "^4.3.738",
74
- "@things-factory/geography": "^4.3.738",
75
- "@things-factory/grist-ui": "^4.3.738",
76
- "@things-factory/help": "^4.3.738",
77
- "@things-factory/i18n-base": "^4.3.738",
78
- "@things-factory/import-ui": "^4.3.738",
79
- "@things-factory/import-ui-excel": "^4.3.738",
80
- "@things-factory/integration-accounting": "^4.3.738",
81
- "@things-factory/integration-fulfillment": "^4.3.738",
82
- "@things-factory/integration-lmd": "^4.3.738",
83
- "@things-factory/integration-marketplace": "^4.3.738",
84
- "@things-factory/integration-pos": "^4.3.738",
85
- "@things-factory/integration-powrup": "^4.3.738",
86
- "@things-factory/integration-sellercraft": "^4.3.738",
87
- "@things-factory/integration-sftp": "^4.3.738",
88
- "@things-factory/lite-menu": "^4.3.738",
89
- "@things-factory/marketplace-base": "^4.3.738",
90
- "@things-factory/more-ui": "^4.3.738",
91
- "@things-factory/notification": "^4.3.738",
92
- "@things-factory/pdf": "^4.3.734",
93
- "@things-factory/product-ui": "^4.3.738",
94
- "@things-factory/resource-ui": "^4.3.738",
95
- "@things-factory/sales-base": "^4.3.738",
96
- "@things-factory/scene-data-transform": "^4.3.734",
97
- "@things-factory/scene-excel": "^4.3.734",
98
- "@things-factory/scene-firebase": "^4.3.734",
99
- "@things-factory/scene-form": "^4.3.734",
100
- "@things-factory/scene-google-map": "^4.3.734",
101
- "@things-factory/scene-graphql": "^4.3.734",
102
- "@things-factory/scene-label": "^4.3.738",
103
- "@things-factory/scene-marker": "^4.3.734",
104
- "@things-factory/scene-mqtt": "^4.3.734",
105
- "@things-factory/scene-restful": "^4.3.734",
106
- "@things-factory/scene-visualizer": "^4.3.734",
107
- "@things-factory/setting-ui": "^4.3.738",
108
- "@things-factory/shell": "^4.3.738",
109
- "@things-factory/system-ui": "^4.3.738",
110
- "@things-factory/transport-base": "^4.3.738",
111
- "@things-factory/warehouse-base": "^4.3.738",
112
- "@things-factory/worksheet-base": "^4.3.738",
58
+ "@things-factory/api": "^4.3.740",
59
+ "@things-factory/apptool-ui": "^4.3.740",
60
+ "@things-factory/attachment-base": "^4.3.740",
61
+ "@things-factory/auth-base": "^4.3.740",
62
+ "@things-factory/auth-ui": "^4.3.740",
63
+ "@things-factory/biz-base": "^4.3.740",
64
+ "@things-factory/biz-ui": "^4.3.740",
65
+ "@things-factory/board-service": "^4.3.740",
66
+ "@things-factory/board-ui": "^4.3.740",
67
+ "@things-factory/code-ui": "^4.3.740",
68
+ "@things-factory/component-ui": "^4.3.740",
69
+ "@things-factory/context-ui": "^4.3.740",
70
+ "@things-factory/document-template-ui": "^4.3.740",
71
+ "@things-factory/export-ui": "^4.3.740",
72
+ "@things-factory/export-ui-csv": "^4.3.740",
73
+ "@things-factory/export-ui-excel": "^4.3.740",
74
+ "@things-factory/geography": "^4.3.740",
75
+ "@things-factory/grist-ui": "^4.3.740",
76
+ "@things-factory/help": "^4.3.740",
77
+ "@things-factory/i18n-base": "^4.3.740",
78
+ "@things-factory/import-ui": "^4.3.740",
79
+ "@things-factory/import-ui-excel": "^4.3.740",
80
+ "@things-factory/integration-accounting": "^4.3.740",
81
+ "@things-factory/integration-fulfillment": "^4.3.740",
82
+ "@things-factory/integration-lmd": "^4.3.740",
83
+ "@things-factory/integration-marketplace": "^4.3.740",
84
+ "@things-factory/integration-pos": "^4.3.740",
85
+ "@things-factory/integration-powrup": "^4.3.740",
86
+ "@things-factory/integration-sellercraft": "^4.3.740",
87
+ "@things-factory/integration-sftp": "^4.3.740",
88
+ "@things-factory/lite-menu": "^4.3.740",
89
+ "@things-factory/marketplace-base": "^4.3.740",
90
+ "@things-factory/more-ui": "^4.3.740",
91
+ "@things-factory/notification": "^4.3.740",
92
+ "@things-factory/pdf": "^4.3.740",
93
+ "@things-factory/product-ui": "^4.3.740",
94
+ "@things-factory/resource-ui": "^4.3.740",
95
+ "@things-factory/sales-base": "^4.3.740",
96
+ "@things-factory/scene-data-transform": "^4.3.740",
97
+ "@things-factory/scene-excel": "^4.3.740",
98
+ "@things-factory/scene-firebase": "^4.3.740",
99
+ "@things-factory/scene-form": "^4.3.740",
100
+ "@things-factory/scene-google-map": "^4.3.740",
101
+ "@things-factory/scene-graphql": "^4.3.740",
102
+ "@things-factory/scene-label": "^4.3.740",
103
+ "@things-factory/scene-marker": "^4.3.740",
104
+ "@things-factory/scene-mqtt": "^4.3.740",
105
+ "@things-factory/scene-restful": "^4.3.740",
106
+ "@things-factory/scene-visualizer": "^4.3.740",
107
+ "@things-factory/setting-ui": "^4.3.740",
108
+ "@things-factory/shell": "^4.3.740",
109
+ "@things-factory/system-ui": "^4.3.740",
110
+ "@things-factory/transport-base": "^4.3.740",
111
+ "@things-factory/warehouse-base": "^4.3.740",
112
+ "@things-factory/worksheet-base": "^4.3.740",
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.734"
120
+ "@things-factory/builder": "^4.3.740"
121
121
  },
122
122
  "resolutions": {
123
123
  "core-js": "^3.16.0"
124
124
  },
125
- "gitHead": "4c0363d0c8fa24d07a827b9c884ad32755f3ee8c"
125
+ "gitHead": "a44a2bba35384ffe5934a419b677f9e8f49d1ffe"
126
126
  }
@@ -31,6 +31,9 @@ export const companyRolesByScopeResolver = {
31
31
  companyRoles.push({ domain: roles[0].domain, roles })
32
32
  })
33
33
 
34
+ // Sort by domain name in ascending order
35
+ companyRoles.sort((a, b) => a.domain.name.localeCompare(b.domain.name))
36
+
34
37
  return companyRoles
35
38
  }
36
39
  }