@things-factory/operato-mms 4.3.269 → 4.3.271

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 +81 -47
  2. package/package.json +45 -45
@@ -2,45 +2,27 @@ module.exports = {
2
2
  domainType: 'company',
3
3
  domainExtType: 'company',
4
4
  subdomainOffset: 2,
5
- port: 1300,
6
5
  ormconfig: {
7
6
  name: 'default',
8
7
  type: 'postgres',
9
- database: 'postgres',
8
+ database: 'sum',
10
9
  username: 'postgres',
11
- password: 'abcd1234',
12
- host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
13
- port: 55432,
10
+ password: 'hatio',
11
+ host: '192.168.0.151',
12
+ port: 15432,
14
13
  synchronize: false,
15
14
  logging: true
16
15
  },
17
16
  // ormconfig: {
18
17
  // name: 'default',
19
18
  // 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'
33
- },
34
- // ormconfig: {
35
- // name: 'default',
36
- // type: 'postgres',
37
19
  // database: 'postgres',
38
20
  // username: 'postgres',
39
- // password: 'hatio',
40
- // host: 'localhost',
41
- // port: 35432,
42
- // synchronize: true,
43
- // logging: true
21
+ // password: 'abcd1234',
22
+ // host: 'operatov3.cluster-cijhm4n1hbst.ap-southeast-1.rds.amazonaws.com',
23
+ // port: 55432,
24
+ // synchronize: false,
25
+ // logging: false
44
26
  // },
45
27
  inspect: '9280',
46
28
  password: {
@@ -59,11 +41,12 @@ module.exports = {
59
41
  platforms: [
60
42
  {
61
43
  name: 'Operato Hub',
62
- apiURL: 'http://operato-h.com:3000/api'
44
+ apiURL: 'http://operato.com:9002/api'
63
45
  }
64
46
  ]
65
47
  },
66
48
  useVirtualHostBasedDomain: false,
49
+ port: 9003,
67
50
  uploads: 'uploads',
68
51
  attachmentsPath: 'attachments',
69
52
  SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
@@ -114,38 +97,69 @@ module.exports = {
114
97
  privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
115
98
  }
116
99
  },
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
- },
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
+ // },
130
116
  marketplaceIntegrationShopee: {
131
117
  platform: 'shopee',
132
118
  isUAT: false,
133
- application: 'Operato MMS',
119
+ application: 'Staging MMS',
134
120
  partnerId: 846025,
135
- partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64'
121
+ partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64',
122
+ v2: true
136
123
  },
124
+ // marketplaceIntegrationShopee: {
125
+ // platform: 'shopee',
126
+ // isUAT: true,
127
+ // application: 'Staging MMS',
128
+ // partnerId: 1029117,
129
+ // partnerKey: '7767596c6674587545554d724c524742704541705977656b5866437766485462',
130
+ // v2: true
131
+ // },
137
132
  marketplaceIntegrationLazada: {
138
133
  platform: 'lazada',
139
134
  application: 'operato-mms',
140
- appKey: '120961',
141
- appSecret: 'HB3RTNEXHlVSlBr9SmWF8AjbSUT7a825',
135
+ appKey: '116408',
136
+ appSecret: 'UHZvMBS4jxjRLuFfToJkrmhvwbfmsPcH',
142
137
  callback: 'https://maybank.operato-m.com/lazada-callback'
143
138
  },
139
+ fulfillmentIntegrationOperato: {
140
+ host: '192.168.0.161:9002',
141
+ protocol: 'http',
142
+ platform: 'operato',
143
+ application: 'Operato MMS',
144
+ appKey: 'a9bf751e622bf146662b240d58971051',
145
+ appSecret: '1c385935dc131c4b902b9bbf6a4798af',
146
+ callback: 'http://192.168.0.161:9003/callback-operato'
147
+ },
148
+ fulfillmentIntegrationOperatoSftp: {
149
+ host: 'operato.com:9002',
150
+ protocol: 'http',
151
+ platform: 'operato',
152
+ application: 'Operato SFTP',
153
+ appKey: 'd3ebaf18121947931b5902d78adc9a98',
154
+ appSecret: '41e5591dd6597a75ae5d54603494525b',
155
+ type: 'SFTP',
156
+ callback: 'http://operato.com:9003/callback-operato'
157
+ },
144
158
  marketplaceIntegrationShopify: {
145
159
  platform: 'shopify',
146
160
  application: 'Operato',
147
- apiKey: '37da47200ab87c8aaf0634869c80bd5f',
148
- apiSecret: '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'
161
+ apiKey: '30c45195bb39192127d00fdc49932018',
162
+ apiSecret: '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'
149
163
  },
150
164
  marketplaceIntegrationShopifyPrivate: {
151
165
  platform: 'shopify',
@@ -165,5 +179,25 @@ module.exports = {
165
179
  oauth_verifier: '',
166
180
  oauth_consumer_key: '',
167
181
  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'
168
202
  }
169
203
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-mms",
3
- "version": "4.3.269",
3
+ "version": "4.3.271",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -59,52 +59,52 @@
59
59
  "@operato/scene-table": "^0.1.8",
60
60
  "@operato/scene-timer": "^0.1.8",
61
61
  "@operato/scene-wheel-sorter": "^0.1.8",
62
- "@things-factory/apptool-ui": "^4.3.269",
63
- "@things-factory/attachment-base": "^4.3.269",
64
- "@things-factory/auth-ui": "^4.3.269",
65
- "@things-factory/biz-base": "^4.3.269",
66
- "@things-factory/board-service": "^4.3.269",
67
- "@things-factory/board-ui": "^4.3.269",
68
- "@things-factory/code-ui": "^4.3.269",
69
- "@things-factory/context-ui": "^4.3.269",
70
- "@things-factory/dashboard": "^4.3.269",
71
- "@things-factory/export-ui": "^4.3.269",
72
- "@things-factory/export-ui-csv": "^4.3.269",
73
- "@things-factory/export-ui-excel": "^4.3.269",
74
- "@things-factory/geography": "^4.3.269",
75
- "@things-factory/grist-ui": "^4.3.269",
76
- "@things-factory/help": "^4.3.269",
77
- "@things-factory/i18n-base": "^4.3.269",
78
- "@things-factory/import-ui": "^4.3.269",
79
- "@things-factory/import-ui-excel": "^4.3.269",
80
- "@things-factory/integration-fulfillment": "^4.3.269",
81
- "@things-factory/integration-lmd": "^4.3.269",
82
- "@things-factory/lite-menu": "^4.3.269",
83
- "@things-factory/marketplace-base": "^4.3.269",
84
- "@things-factory/more-ui": "^4.3.269",
85
- "@things-factory/notification": "^4.3.269",
86
- "@things-factory/oauth2-client": "^4.3.269",
87
- "@things-factory/pdf": "^4.3.269",
88
- "@things-factory/product-base": "^4.3.269",
89
- "@things-factory/resource-ui": "^4.3.269",
90
- "@things-factory/scene-data-transform": "^4.3.269",
91
- "@things-factory/scene-excel": "^4.3.269",
92
- "@things-factory/scene-firebase": "^4.3.269",
93
- "@things-factory/scene-form": "^4.3.269",
94
- "@things-factory/scene-google-map": "^4.3.269",
95
- "@things-factory/scene-graphql": "^4.3.269",
96
- "@things-factory/scene-label": "^4.3.269",
97
- "@things-factory/scene-marker": "^4.3.269",
98
- "@things-factory/scene-mqtt": "^4.3.269",
99
- "@things-factory/scene-restful": "^4.3.269",
100
- "@things-factory/scene-visualizer": "^4.3.269",
101
- "@things-factory/setting-ui": "^4.3.269",
102
- "@things-factory/system-ui": "^4.3.269",
103
- "@things-factory/warehouse-base": "^4.3.269"
62
+ "@things-factory/apptool-ui": "^4.3.270",
63
+ "@things-factory/attachment-base": "^4.3.270",
64
+ "@things-factory/auth-ui": "^4.3.270",
65
+ "@things-factory/biz-base": "^4.3.270",
66
+ "@things-factory/board-service": "^4.3.270",
67
+ "@things-factory/board-ui": "^4.3.270",
68
+ "@things-factory/code-ui": "^4.3.270",
69
+ "@things-factory/context-ui": "^4.3.270",
70
+ "@things-factory/dashboard": "^4.3.270",
71
+ "@things-factory/export-ui": "^4.3.270",
72
+ "@things-factory/export-ui-csv": "^4.3.270",
73
+ "@things-factory/export-ui-excel": "^4.3.270",
74
+ "@things-factory/geography": "^4.3.270",
75
+ "@things-factory/grist-ui": "^4.3.270",
76
+ "@things-factory/help": "^4.3.270",
77
+ "@things-factory/i18n-base": "^4.3.270",
78
+ "@things-factory/import-ui": "^4.3.270",
79
+ "@things-factory/import-ui-excel": "^4.3.270",
80
+ "@things-factory/integration-fulfillment": "^4.3.270",
81
+ "@things-factory/integration-lmd": "^4.3.270",
82
+ "@things-factory/lite-menu": "^4.3.270",
83
+ "@things-factory/marketplace-base": "^4.3.270",
84
+ "@things-factory/more-ui": "^4.3.270",
85
+ "@things-factory/notification": "^4.3.270",
86
+ "@things-factory/oauth2-client": "^4.3.270",
87
+ "@things-factory/pdf": "^4.3.270",
88
+ "@things-factory/product-base": "^4.3.270",
89
+ "@things-factory/resource-ui": "^4.3.270",
90
+ "@things-factory/scene-data-transform": "^4.3.270",
91
+ "@things-factory/scene-excel": "^4.3.270",
92
+ "@things-factory/scene-firebase": "^4.3.270",
93
+ "@things-factory/scene-form": "^4.3.270",
94
+ "@things-factory/scene-google-map": "^4.3.270",
95
+ "@things-factory/scene-graphql": "^4.3.270",
96
+ "@things-factory/scene-label": "^4.3.270",
97
+ "@things-factory/scene-marker": "^4.3.270",
98
+ "@things-factory/scene-mqtt": "^4.3.270",
99
+ "@things-factory/scene-restful": "^4.3.270",
100
+ "@things-factory/scene-visualizer": "^4.3.270",
101
+ "@things-factory/setting-ui": "^4.3.270",
102
+ "@things-factory/system-ui": "^4.3.270",
103
+ "@things-factory/warehouse-base": "^4.3.271"
104
104
  },
105
105
  "devDependencies": {
106
- "@things-factory/builder": "^4.3.269",
106
+ "@things-factory/builder": "^4.3.270",
107
107
  "@types/node-fetch": "^2.5.7"
108
108
  },
109
- "gitHead": "a1317b08841c213b338e5fd060be1ae295cb7022"
109
+ "gitHead": "6cc6b09586609e04c0ce4185fb3b016081fc5a3f"
110
110
  }