@things-factory/operato-mms 4.3.256 → 4.3.261

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.
@@ -2,27 +2,45 @@ module.exports = {
2
2
  domainType: 'company',
3
3
  domainExtType: 'company',
4
4
  subdomainOffset: 2,
5
+ port: 1300,
5
6
  ormconfig: {
6
7
  name: 'default',
7
8
  type: 'postgres',
8
- database: 'sum',
9
+ database: 'postgres',
9
10
  username: 'postgres',
10
- password: 'hatio',
11
- host: '192.168.0.151',
12
- port: 15432,
11
+ password: 'abcd1234',
12
+ host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
13
+ port: 55432,
13
14
  synchronize: false,
14
- logging: false
15
+ logging: true
16
+ },
17
+ // ormconfig: {
18
+ // name: 'default',
19
+ // type: 'postgres',
20
+ // database: 'v3-hub1',
21
+ // username: 'postgres',
22
+ // password: 'hatio',
23
+ // host: 'localhost',
24
+ // port: 15432,
25
+ // synchronize: true,
26
+ // logging: true
27
+ // },
28
+ sftpFileStorage: {
29
+ type: 's3',
30
+ accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
31
+ secretAccessKey: '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',
32
+ bucketName: 'operato-sftp'
15
33
  },
16
34
  // ormconfig: {
17
35
  // name: 'default',
18
36
  // type: 'postgres',
19
37
  // database: 'postgres',
20
38
  // username: 'postgres',
21
- // password: 'abcd1234',
22
- // host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
23
- // port: 55432,
24
- // synchronize: false,
25
- // logging: false
39
+ // password: 'hatio',
40
+ // host: 'localhost',
41
+ // port: 35432,
42
+ // synchronize: true,
43
+ // logging: true
26
44
  // },
27
45
  inspect: '9280',
28
46
  password: {
@@ -41,12 +59,11 @@ module.exports = {
41
59
  platforms: [
42
60
  {
43
61
  name: 'Operato Hub',
44
- apiURL: 'http://operato.com:3000/api'
62
+ apiURL: 'http://operato-h.com:3000/api'
45
63
  }
46
64
  ]
47
65
  },
48
66
  useVirtualHostBasedDomain: false,
49
- port: 9003,
50
67
  uploads: 'uploads',
51
68
  attachmentsPath: 'attachments',
52
69
  SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
@@ -97,69 +114,38 @@ module.exports = {
97
114
  privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
98
115
  }
99
116
  },
100
- // marketplaceIntegrationShopee: {
101
- // platform: 'shopee',
102
- // isUAT: true,
103
- // application: 'Operato MMS V2',
104
- // partnerId: 1007818,
105
- // partnerKey: '4aba24b16c8004e0257844120dd5b3882f2654dd269bd2417cd44800187037de',
106
- // v2: true
107
- // },
108
- // marketplaceIntegrationShopee: {
109
- // platform: 'shopee',
110
- // isUAT: false,
111
- // application: 'Operato MMS V2 Live',
112
- // partnerId: 2004140,
113
- // partnerKey: '825dcae5af73426f887bc8b1ddb5b494b70e0057b50b77298f85350273017bd2',
114
- // v2: true
115
- // },
117
+ fulfillmentIntegrationOperato: {
118
+ host: 'operato-h.com:3000',
119
+ protocol: 'http',
120
+ platform: 'operato',
121
+ application: 'Operato MMS',
122
+ appKey: 'a9bf751e622bf146662b240d58971051',
123
+ appSecret: '1c385935dc131c4b902b9bbf6a4798af',
124
+ callback: 'http://operato-h.com:5000/callback-operato'
125
+ },
126
+ sellercraftChannelIntegrationConfig: {
127
+ apiKey: 'eqDVmIp0kxakM4sNnzqTkySBM73UGMS1nOPDN5Z1',
128
+ tokenCraftUrl: 'https://staging-tokencraft.sellercraft.co/v1/get-shop'
129
+ },
116
130
  marketplaceIntegrationShopee: {
117
131
  platform: 'shopee',
118
132
  isUAT: false,
119
- application: 'Staging MMS',
133
+ application: 'Operato MMS',
120
134
  partnerId: 846025,
121
- partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64',
122
- v2: true
135
+ partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64'
123
136
  },
124
- // marketplaceIntegrationShopee: {
125
- // platform: 'shopee',
126
- // isUAT: true,
127
- // application: 'Staging MMS',
128
- // partnerId: 1029117,
129
- // partnerKey: '7767596c6674587545554d724c524742704541705977656b5866437766485462',
130
- // v2: true
131
- // },
132
137
  marketplaceIntegrationLazada: {
133
138
  platform: 'lazada',
134
139
  application: 'operato-mms',
135
- appKey: '116408',
136
- appSecret: 'UHZvMBS4jxjRLuFfToJkrmhvwbfmsPcH',
140
+ appKey: '120961',
141
+ appSecret: 'HB3RTNEXHlVSlBr9SmWF8AjbSUT7a825',
137
142
  callback: 'https://maybank.operato-m.com/lazada-callback'
138
143
  },
139
- fulfillmentIntegrationOperato: {
140
- host: 'operato.com:3000',
141
- protocol: 'http',
142
- platform: 'operato',
143
- application: 'Operato MMS',
144
- appKey: 'a9bf751e622bf146662b240d58971051',
145
- appSecret: '1c385935dc131c4b902b9bbf6a4798af',
146
- callback: 'http://operato.com:9000/callback-operato'
147
- },
148
- fulfillmentIntegrationOperatoSftp: {
149
- host: 'operato.com:3000',
150
- protocol: 'http',
151
- platform: 'operato',
152
- application: 'Operato SFTP',
153
- appKey: 'd3ebaf18121947931b5902d78adc9a98',
154
- appSecret: '41e5591dd6597a75ae5d54603494525b',
155
- type: 'SFTP',
156
- callback: 'http://operato.com:9000/callback-operato'
157
- },
158
144
  marketplaceIntegrationShopify: {
159
145
  platform: 'shopify',
160
146
  application: 'Operato',
161
- apiKey: '30c45195bb39192127d00fdc49932018',
162
- apiSecret: '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'
147
+ apiKey: '37da47200ab87c8aaf0634869c80bd5f',
148
+ apiSecret: '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'
163
149
  },
164
150
  marketplaceIntegrationShopifyPrivate: {
165
151
  platform: 'shopify',
@@ -179,25 +165,5 @@ module.exports = {
179
165
  oauth_verifier: '',
180
166
  oauth_consumer_key: '',
181
167
  oauth_consumer_secret: ''
182
- },
183
- sellercraftChannelIntegrationConfig: {
184
- tokenCraftApiKey: 'gf2oZbK2rv47qO0bQPbkV8RsqhlHcnSVq267W5I8',
185
- apiKey: 'eqDVmIp0kxakM4sNnzqTkySBM73UGMS1nOPDN5Z1',
186
- tokenCraftUrl: 'https://tokencraft.piggylabs.com/v1/get-shop',
187
- getShopsTokenCraftUrl: 'https://tokencraft.piggylabs.com/v1/get-shops'
188
- },
189
- awbFileStorage: {
190
- type: 's3',
191
- accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
192
- secretAccessKey: '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',
193
- bucketName: 'operato-awb',
194
- region: 'ap-southeast-1'
195
- },
196
- logStorage: {
197
- type: 's3',
198
- accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
199
- secretAccessKey: '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',
200
- bucketName: 'opa-one',
201
- region: 'ap-southeast-1'
202
168
  }
203
169
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-mms",
3
- "version": "4.3.256",
3
+ "version": "4.3.261",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -100,11 +100,11 @@
100
100
  "@things-factory/scene-visualizer": "^4.3.253",
101
101
  "@things-factory/setting-ui": "^4.3.253",
102
102
  "@things-factory/system-ui": "^4.3.253",
103
- "@things-factory/warehouse-base": "^4.3.256"
103
+ "@things-factory/warehouse-base": "^4.3.261"
104
104
  },
105
105
  "devDependencies": {
106
106
  "@things-factory/builder": "^4.3.253",
107
107
  "@types/node-fetch": "^2.5.7"
108
108
  },
109
- "gitHead": "c1b9ba08f80595ac4bf77dedd5bac12720c4c581"
109
+ "gitHead": "c085fa97b4a7a9abd06aab1820d4e7dbc4ed83ad"
110
110
  }