@things-factory/integration-marketplace 4.3.1 → 4.3.2
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/dist-server/controllers/lazada/apis/update-store-product-stock.js +2 -2
- package/dist-server/controllers/lazada/apis/update-store-product-stock.js.map +1 -1
- package/dist-server/controllers/lazada/apis/update-store-product-variation-stock.js +2 -2
- package/dist-server/controllers/lazada/apis/update-store-product-variation-stock.js.map +1 -1
- package/package.json +15 -15
- package/server/controllers/lazada/apis/update-store-product-stock.ts +2 -2
- package/server/controllers/lazada/apis/update-store-product-variation-stock.ts +2 -2
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.updateStoreProductStock = void 0;
|
|
4
4
|
function updateStoreProductStock() {
|
|
5
5
|
return {
|
|
6
|
-
path: '/product/
|
|
6
|
+
path: '/product/stock/sellable/update',
|
|
7
7
|
denormalize(req) {
|
|
8
8
|
return {
|
|
9
9
|
payload: {
|
|
@@ -15,7 +15,7 @@ function updateStoreProductStock() {
|
|
|
15
15
|
Sku: {
|
|
16
16
|
ItemId: data.itemId,
|
|
17
17
|
SellerSku: data.variationSku,
|
|
18
|
-
|
|
18
|
+
SellableQuantity: data.qty
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-store-product-stock.js","sourceRoot":"","sources":["../../../../server/controllers/lazada/apis/update-store-product-stock.ts"],"names":[],"mappings":";;;AAAA,SAAgB,uBAAuB;IACrC,OAAO;QACL,IAAI,EAAE,gCAAgC;QACtC,WAAW,CAAC,GAAG;YACb,OAAO;gBACL,OAAO,EAAE;oBACP,OAAO,EAAE;wBACP,OAAO,EAAE;4BACP,IAAI,EAAE;gCACJ,GAAG,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oCAChB,OAAO;wCACL,GAAG,EAAE;4CACH,MAAM,EAAE,IAAI,CAAC,MAAM;4CACnB,SAAS,EAAE,IAAI,CAAC,YAAY;4CAC5B,
|
|
1
|
+
{"version":3,"file":"update-store-product-stock.js","sourceRoot":"","sources":["../../../../server/controllers/lazada/apis/update-store-product-stock.ts"],"names":[],"mappings":";;;AAAA,SAAgB,uBAAuB;IACrC,OAAO;QACL,IAAI,EAAE,gCAAgC;QACtC,WAAW,CAAC,GAAG;YACb,OAAO;gBACL,OAAO,EAAE;oBACP,OAAO,EAAE;wBACP,OAAO,EAAE;4BACP,IAAI,EAAE;gCACJ,GAAG,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oCAChB,OAAO;wCACL,GAAG,EAAE;4CACH,MAAM,EAAE,IAAI,CAAC,MAAM;4CACnB,SAAS,EAAE,IAAI,CAAC,YAAY;4CAC5B,gBAAgB,EAAE,IAAI,CAAC,GAAG;yCAC3B;qCACF,CAAA;gCACH,CAAC,CAAC;6BACH;yBACF;qBACF;iBACF;aACF,CAAA;QACH,CAAC;QACD,SAAS,CAAC,GAAG;YACX,OAAO,GAAG,CAAA;QACZ,CAAC;KACF,CAAA;AACH,CAAC;AA5BD,0DA4BC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.updateStoreProductVariationStock = void 0;
|
|
4
4
|
function updateStoreProductVariationStock() {
|
|
5
5
|
return {
|
|
6
|
-
path: '/product/
|
|
6
|
+
path: '/product/stock/sellable/update',
|
|
7
7
|
denormalize(req) {
|
|
8
8
|
return {
|
|
9
9
|
payload: {
|
|
@@ -15,7 +15,7 @@ function updateStoreProductVariationStock() {
|
|
|
15
15
|
Sku: {
|
|
16
16
|
ItemId: data.itemId,
|
|
17
17
|
SellerSku: data.variationSku,
|
|
18
|
-
|
|
18
|
+
SellableQuantity: data.qty
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-store-product-variation-stock.js","sourceRoot":"","sources":["../../../../server/controllers/lazada/apis/update-store-product-variation-stock.ts"],"names":[],"mappings":";;;AAAA,SAAgB,gCAAgC;IAC9C,OAAO;QACL,IAAI,EAAE,gCAAgC;QACtC,WAAW,CAAC,GAAG;YACb,OAAO;gBACL,OAAO,EAAE;oBACP,OAAO,EAAE;wBACP,OAAO,EAAE;4BACP,IAAI,EAAE;gCACJ,GAAG,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oCAChB,OAAO;wCACL,GAAG,EAAE;4CACH,MAAM,EAAE,IAAI,CAAC,MAAM;4CACnB,SAAS,EAAE,IAAI,CAAC,YAAY;4CAC5B,
|
|
1
|
+
{"version":3,"file":"update-store-product-variation-stock.js","sourceRoot":"","sources":["../../../../server/controllers/lazada/apis/update-store-product-variation-stock.ts"],"names":[],"mappings":";;;AAAA,SAAgB,gCAAgC;IAC9C,OAAO;QACL,IAAI,EAAE,gCAAgC;QACtC,WAAW,CAAC,GAAG;YACb,OAAO;gBACL,OAAO,EAAE;oBACP,OAAO,EAAE;wBACP,OAAO,EAAE;4BACP,IAAI,EAAE;gCACJ,GAAG,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oCAChB,OAAO;wCACL,GAAG,EAAE;4CACH,MAAM,EAAE,IAAI,CAAC,MAAM;4CACnB,SAAS,EAAE,IAAI,CAAC,YAAY;4CAC5B,gBAAgB,EAAE,IAAI,CAAC,GAAG;yCAC3B;qCACF,CAAA;gCACH,CAAC,CAAC;6BACH;yBACF;qBACF;iBACF;aACF,CAAA;QACH,CAAC;QACD,SAAS,CAAC,GAAG;YACX,OAAO,GAAG,CAAA;QACZ,CAAC;KACF,CAAA;AACH,CAAC;AA5BD,4EA4BC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/integration-marketplace",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.2",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -25,19 +25,19 @@
|
|
|
25
25
|
"test": "DEBUG=things-factory:* NODE_ENV=development npx mocha -r ts-node/register ./test/**/*spec.ts"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@things-factory/apptool-ui": "^4.3.
|
|
29
|
-
"@things-factory/auth-ui": "^4.3.
|
|
30
|
-
"@things-factory/biz-base": "^4.3.
|
|
31
|
-
"@things-factory/code-ui": "^4.3.
|
|
32
|
-
"@things-factory/context-ui": "^4.3.
|
|
33
|
-
"@things-factory/grist-ui": "^4.3.
|
|
34
|
-
"@things-factory/i18n-base": "^4.3.
|
|
35
|
-
"@things-factory/integration-lmd": "^4.3.
|
|
36
|
-
"@things-factory/integration-ui": "^4.3.
|
|
37
|
-
"@things-factory/more-ui": "^4.3.
|
|
38
|
-
"@things-factory/resource-ui": "^4.3.
|
|
39
|
-
"@things-factory/setting-ui": "^4.3.
|
|
40
|
-
"@things-factory/system-ui": "^4.3.
|
|
28
|
+
"@things-factory/apptool-ui": "^4.3.2",
|
|
29
|
+
"@things-factory/auth-ui": "^4.3.2",
|
|
30
|
+
"@things-factory/biz-base": "^4.3.2",
|
|
31
|
+
"@things-factory/code-ui": "^4.3.2",
|
|
32
|
+
"@things-factory/context-ui": "^4.3.2",
|
|
33
|
+
"@things-factory/grist-ui": "^4.3.2",
|
|
34
|
+
"@things-factory/i18n-base": "^4.3.2",
|
|
35
|
+
"@things-factory/integration-lmd": "^4.3.2",
|
|
36
|
+
"@things-factory/integration-ui": "^4.3.2",
|
|
37
|
+
"@things-factory/more-ui": "^4.3.2",
|
|
38
|
+
"@things-factory/resource-ui": "^4.3.2",
|
|
39
|
+
"@things-factory/setting-ui": "^4.3.2",
|
|
40
|
+
"@things-factory/system-ui": "^4.3.2",
|
|
41
41
|
"debug": "^4.1.1",
|
|
42
42
|
"node-fetch": "^2.6.0",
|
|
43
43
|
"querystring": "^0.2.1"
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"nock": "^13.0.2",
|
|
53
53
|
"should": "^13.2.3"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "d73cbd8a8f1e3cff5d9bbbddec1ce520d0392def"
|
|
56
56
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export function updateStoreProductStock() {
|
|
2
2
|
return {
|
|
3
|
-
path: '/product/
|
|
3
|
+
path: '/product/stock/sellable/update',
|
|
4
4
|
denormalize(req) {
|
|
5
5
|
return {
|
|
6
6
|
payload: {
|
|
@@ -12,7 +12,7 @@ export function updateStoreProductStock() {
|
|
|
12
12
|
Sku: {
|
|
13
13
|
ItemId: data.itemId,
|
|
14
14
|
SellerSku: data.variationSku,
|
|
15
|
-
|
|
15
|
+
SellableQuantity: data.qty
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
})
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export function updateStoreProductVariationStock() {
|
|
2
2
|
return {
|
|
3
|
-
path: '/product/
|
|
3
|
+
path: '/product/stock/sellable/update',
|
|
4
4
|
denormalize(req) {
|
|
5
5
|
return {
|
|
6
6
|
payload: {
|
|
@@ -12,7 +12,7 @@ export function updateStoreProductVariationStock() {
|
|
|
12
12
|
Sku: {
|
|
13
13
|
ItemId: data.itemId,
|
|
14
14
|
SellerSku: data.variationSku,
|
|
15
|
-
|
|
15
|
+
SellableQuantity: data.qty
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
})
|