@things-factory/operato-mms 4.3.239 → 4.3.244
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.
|
@@ -97,6 +97,7 @@ export const ORDER_INVENTORY_STATUS = {
|
|
|
97
97
|
DONE: { name: 'inventory_status_done', value: 'DONE' }
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
+
//vas --> keep
|
|
100
101
|
export const ORDER_VAS_STATUS = {
|
|
101
102
|
PENDING: { name: 'vas_status_pending', value: 'PENDING' },
|
|
102
103
|
PROCESSING: { name: 'vas_status_processing', value: 'PROCESSING' },
|
|
@@ -622,6 +622,7 @@ class CreateStockReplenishment extends connect(store)(PageView) {
|
|
|
622
622
|
_clearView() {
|
|
623
623
|
this.stockReplenishmentForm.reset()
|
|
624
624
|
this.productData = { ...this.productData, records: [] }
|
|
625
|
+
//vas -- double check
|
|
625
626
|
this.vasData = { ...this.vasData, records: [] }
|
|
626
627
|
if (this._document?._files) {
|
|
627
628
|
this._document._files = []
|
package/config.development.js
CHANGED
|
@@ -2,27 +2,34 @@ module.exports = {
|
|
|
2
2
|
domainType: 'company',
|
|
3
3
|
domainExtType: 'company',
|
|
4
4
|
subdomainOffset: 2,
|
|
5
|
+
port: 5000,
|
|
5
6
|
ormconfig: {
|
|
6
7
|
name: 'default',
|
|
7
8
|
type: 'postgres',
|
|
8
|
-
database: '
|
|
9
|
+
database: 'v3-hub1',
|
|
9
10
|
username: 'postgres',
|
|
10
11
|
password: 'hatio',
|
|
11
|
-
host: '
|
|
12
|
+
host: 'localhost',
|
|
12
13
|
port: 15432,
|
|
13
|
-
synchronize:
|
|
14
|
-
logging:
|
|
14
|
+
synchronize: true,
|
|
15
|
+
logging: true
|
|
16
|
+
},
|
|
17
|
+
sftpFileStorage: {
|
|
18
|
+
type: 's3',
|
|
19
|
+
accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
|
|
20
|
+
secretAccessKey: 'OG2qS0Usg4wyjPWbfv1ahPZzP80/w8z4i8MYHl+e',
|
|
21
|
+
bucketName: 'operato-sftp'
|
|
15
22
|
},
|
|
16
23
|
// ormconfig: {
|
|
17
24
|
// name: 'default',
|
|
18
25
|
// type: 'postgres',
|
|
19
26
|
// database: 'postgres',
|
|
20
27
|
// username: 'postgres',
|
|
21
|
-
// password: '
|
|
22
|
-
// host: '
|
|
23
|
-
// port:
|
|
24
|
-
// synchronize:
|
|
25
|
-
// logging:
|
|
28
|
+
// password: 'hatio',
|
|
29
|
+
// host: 'localhost',
|
|
30
|
+
// port: 35432,
|
|
31
|
+
// synchronize: true,
|
|
32
|
+
// logging: true
|
|
26
33
|
// },
|
|
27
34
|
inspect: '9280',
|
|
28
35
|
password: {
|
|
@@ -41,12 +48,11 @@ module.exports = {
|
|
|
41
48
|
platforms: [
|
|
42
49
|
{
|
|
43
50
|
name: 'Operato Hub',
|
|
44
|
-
apiURL: 'http://operato.com:3000/api'
|
|
51
|
+
apiURL: 'http://operato-h.com:3000/api'
|
|
45
52
|
}
|
|
46
53
|
]
|
|
47
54
|
},
|
|
48
55
|
useVirtualHostBasedDomain: false,
|
|
49
|
-
port: 9003,
|
|
50
56
|
uploads: 'uploads',
|
|
51
57
|
attachmentsPath: 'attachments',
|
|
52
58
|
SECRET: '0xD58F835B69D207A76CC5F84a70a1D0d4C79dfC95',
|
|
@@ -97,69 +103,38 @@ module.exports = {
|
|
|
97
103
|
privateKey: '4pmlt3Wk019u7nqU3Q_oGZE6LbUDjjf8DpmAcn9-iss'
|
|
98
104
|
}
|
|
99
105
|
},
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
// partnerKey: '825dcae5af73426f887bc8b1ddb5b494b70e0057b50b77298f85350273017bd2',
|
|
114
|
-
// v2: true
|
|
115
|
-
// },
|
|
106
|
+
fulfillmentIntegrationOperato: {
|
|
107
|
+
host: 'operato-h.com:3000',
|
|
108
|
+
protocol: 'http',
|
|
109
|
+
platform: 'operato',
|
|
110
|
+
application: 'Operato MMS',
|
|
111
|
+
appKey: 'a9bf751e622bf146662b240d58971051',
|
|
112
|
+
appSecret: '1c385935dc131c4b902b9bbf6a4798af',
|
|
113
|
+
callback: 'http://operato-h.com:5000/callback-operato'
|
|
114
|
+
},
|
|
115
|
+
sellercraftChannelIntegrationConfig: {
|
|
116
|
+
apiKey: 'eqDVmIp0kxakM4sNnzqTkySBM73UGMS1nOPDN5Z1',
|
|
117
|
+
tokenCraftUrl: 'https://staging-tokencraft.sellercraft.co/v1/get-shop'
|
|
118
|
+
},
|
|
116
119
|
marketplaceIntegrationShopee: {
|
|
117
120
|
platform: 'shopee',
|
|
118
121
|
isUAT: false,
|
|
119
|
-
application: '
|
|
122
|
+
application: 'Operato MMS',
|
|
120
123
|
partnerId: 846025,
|
|
121
|
-
partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64'
|
|
122
|
-
v2: true
|
|
124
|
+
partnerKey: 'd34cfd85a603f196a0d74ebe08043280c1a27788bb36bdffd61e7e0bb1c90b64'
|
|
123
125
|
},
|
|
124
|
-
// marketplaceIntegrationShopee: {
|
|
125
|
-
// platform: 'shopee',
|
|
126
|
-
// isUAT: true,
|
|
127
|
-
// application: 'Staging MMS',
|
|
128
|
-
// partnerId: 1029117,
|
|
129
|
-
// partnerKey: '7767596c6674587545554d724c524742704541705977656b5866437766485462',
|
|
130
|
-
// v2: true
|
|
131
|
-
// },
|
|
132
126
|
marketplaceIntegrationLazada: {
|
|
133
127
|
platform: 'lazada',
|
|
134
128
|
application: 'operato-mms',
|
|
135
|
-
appKey: '
|
|
136
|
-
appSecret: '
|
|
129
|
+
appKey: '120961',
|
|
130
|
+
appSecret: 'HB3RTNEXHlVSlBr9SmWF8AjbSUT7a825',
|
|
137
131
|
callback: 'https://maybank.operato-m.com/lazada-callback'
|
|
138
132
|
},
|
|
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
133
|
marketplaceIntegrationShopify: {
|
|
159
134
|
platform: 'shopify',
|
|
160
135
|
application: 'Operato',
|
|
161
|
-
apiKey: '
|
|
162
|
-
apiSecret: '
|
|
136
|
+
apiKey: '37da47200ab87c8aaf0634869c80bd5f',
|
|
137
|
+
apiSecret: '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'
|
|
163
138
|
},
|
|
164
139
|
marketplaceIntegrationShopifyPrivate: {
|
|
165
140
|
platform: 'shopify',
|
|
@@ -179,25 +154,5 @@ module.exports = {
|
|
|
179
154
|
oauth_verifier: '',
|
|
180
155
|
oauth_consumer_key: '',
|
|
181
156
|
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: 'OG2qS0Usg4wyjPWbfv1ahPZzP80/w8z4i8MYHl+e',
|
|
193
|
-
bucketName: 'operato-awb',
|
|
194
|
-
region: 'ap-southeast-1'
|
|
195
|
-
},
|
|
196
|
-
logStorage: {
|
|
197
|
-
type: 's3',
|
|
198
|
-
accessKeyId: 'AKIAUQEOPWEJKL43OMZA',
|
|
199
|
-
secretAccessKey: 'OG2qS0Usg4wyjPWbfv1ahPZzP80/w8z4i8MYHl+e',
|
|
200
|
-
bucketName: 'opa-one',
|
|
201
|
-
region: 'ap-southeast-1'
|
|
202
157
|
}
|
|
203
158
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/operato-mms",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.244",
|
|
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.237",
|
|
101
101
|
"@things-factory/setting-ui": "^4.3.237",
|
|
102
102
|
"@things-factory/system-ui": "^4.3.237",
|
|
103
|
-
"@things-factory/warehouse-base": "^4.3.
|
|
103
|
+
"@things-factory/warehouse-base": "^4.3.244"
|
|
104
104
|
},
|
|
105
105
|
"devDependencies": {
|
|
106
106
|
"@things-factory/builder": "^4.3.227",
|
|
107
107
|
"@types/node-fetch": "^2.5.7"
|
|
108
108
|
},
|
|
109
|
-
"gitHead": "
|
|
109
|
+
"gitHead": "6892f7cf3a5b2e792cbbdfc4ebc5266802ef3499"
|
|
110
110
|
}
|