@things-factory/integration-sellercraft 4.0.22 → 4.0.26
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.
@@ -24,16 +24,14 @@ function addInboundOrder() {
|
|
24
24
|
sellercraftOP.batch_number = orderProduct.batchId;
|
25
25
|
sellercraftOP.expiry_time = (orderProduct === null || orderProduct === void 0 ? void 0 : orderProduct.expiryTime) ? orderProduct.expiryTime : 0;
|
26
26
|
sellercraftOP.force_create_product = forceCreateProduct;
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
};
|
36
|
-
}
|
27
|
+
sellercraftOP.product_name = orderProduct.productName;
|
28
|
+
sellercraftOP.gtin = orderProduct.gtin;
|
29
|
+
sellercraftOP.package_weight_gm = orderProduct.weight;
|
30
|
+
sellercraftOP.package_dimensions = {
|
31
|
+
length_mm: packageDimension.length,
|
32
|
+
width_mm: packageDimension.width,
|
33
|
+
height_mm: packageDimension.height
|
34
|
+
};
|
37
35
|
return sellercraftOP;
|
38
36
|
});
|
39
37
|
return {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"add-inbound-order.js","sourceRoot":"","sources":["../../../../server/controllers/sellercraft/apis/add-inbound-order.ts"],"names":[],"mappings":";AAAA,gGAAgG;;;AAEhG,SAAgB,eAAe;IAC7B,OAAO;QACL,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,kBAAkB;QACxB,WAAW,CAAC,GAAG;YACb,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,eAAe,EAAE,cAAc,EAAE,GAAG,GAAG,CAAA;YAE/F,IAAI,gBAAgB,GAAQ,EAAE,CAAA;YAC9B,gBAAgB,CAAC,UAAU,GAAG,SAAS,CAAA;YACvC,gBAAgB,CAAC,UAAU,GAAG,SAAS,CAAA;YACvC,gBAAgB,CAAC,YAAY,GAAG,WAAW,CAAA;Y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,CAAC;QACD,SAAS,CAAC,GAAG;YACX,OAAO,GAAG,CAAA;QACZ,CAAC;KACF,CAAA;AACH,CAAC;AA/CD,0CA+CC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@things-factory/integration-sellercraft",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.26",
|
4
4
|
"main": "dist-server/index.js",
|
5
5
|
"browser": "client/index.js",
|
6
6
|
"things-factory": true,
|
@@ -24,19 +24,19 @@
|
|
24
24
|
"migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
|
25
25
|
},
|
26
26
|
"dependencies": {
|
27
|
-
"@things-factory/apptool-ui": "^4.0.
|
28
|
-
"@things-factory/auth-ui": "^4.0.
|
29
|
-
"@things-factory/biz-base": "^4.0.
|
30
|
-
"@things-factory/code-ui": "^4.0.
|
31
|
-
"@things-factory/context-ui": "^4.0.
|
32
|
-
"@things-factory/grist-ui": "^4.0.
|
33
|
-
"@things-factory/i18n-ui": "^4.0.
|
34
|
-
"@things-factory/integration-marketplace": "^4.0.
|
35
|
-
"@things-factory/integration-ui": "^4.0.
|
36
|
-
"@things-factory/more-ui": "^4.0.
|
37
|
-
"@things-factory/resource-ui": "^4.0.
|
38
|
-
"@things-factory/setting-ui": "^4.0.
|
39
|
-
"@things-factory/system-ui": "^4.0.
|
27
|
+
"@things-factory/apptool-ui": "^4.0.26",
|
28
|
+
"@things-factory/auth-ui": "^4.0.26",
|
29
|
+
"@things-factory/biz-base": "^4.0.26",
|
30
|
+
"@things-factory/code-ui": "^4.0.26",
|
31
|
+
"@things-factory/context-ui": "^4.0.26",
|
32
|
+
"@things-factory/grist-ui": "^4.0.26",
|
33
|
+
"@things-factory/i18n-ui": "^4.0.26",
|
34
|
+
"@things-factory/integration-marketplace": "^4.0.26",
|
35
|
+
"@things-factory/integration-ui": "^4.0.26",
|
36
|
+
"@things-factory/more-ui": "^4.0.26",
|
37
|
+
"@things-factory/resource-ui": "^4.0.26",
|
38
|
+
"@things-factory/setting-ui": "^4.0.26",
|
39
|
+
"@things-factory/system-ui": "^4.0.26",
|
40
40
|
"debug": "^4.1.1",
|
41
41
|
"node-fetch": "^2.6.0",
|
42
42
|
"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": "c4b39c74b9ce2472f30c26eb36ec62054c1ecf82"
|
56
56
|
}
|
@@ -24,16 +24,13 @@ export function addInboundOrder() {
|
|
24
24
|
sellercraftOP.batch_number = orderProduct.batchId
|
25
25
|
sellercraftOP.expiry_time = orderProduct?.expiryTime ? orderProduct.expiryTime : 0
|
26
26
|
sellercraftOP.force_create_product = forceCreateProduct
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
width_mm: packageDimension.width,
|
35
|
-
height_mm: packageDimension.height
|
36
|
-
}
|
27
|
+
sellercraftOP.product_name = orderProduct.productName
|
28
|
+
sellercraftOP.gtin = orderProduct.gtin
|
29
|
+
sellercraftOP.package_weight_gm = orderProduct.weight
|
30
|
+
sellercraftOP.package_dimensions = {
|
31
|
+
length_mm: packageDimension.length,
|
32
|
+
width_mm: packageDimension.width,
|
33
|
+
height_mm: packageDimension.height
|
37
34
|
}
|
38
35
|
|
39
36
|
return sellercraftOP
|