@plentymarkets/shop-api 0.102.0 → 0.102.1
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/lib/getters/productBundleGetters.d.ts +2 -0
- package/lib/getters/productBundleGetters.d.ts.map +1 -1
- package/lib/index.cjs.js +4 -0
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.es.js +4 -0
- package/lib/index.es.js.map +1 -1
- package/package.json +2 -2
- package/server/getters/productBundleGetters.d.ts +2 -0
- package/server/getters/productBundleGetters.d.ts.map +1 -1
@@ -3,6 +3,7 @@ declare function getBundleItemName(productBundleComponent: ProductBundleComponen
|
|
3
3
|
declare function getBundleItemQuantity(productBundleComponent: ProductBundleComponent): string;
|
4
4
|
declare function getBundleItemImage(productBundleComponent: ProductBundleComponent): string;
|
5
5
|
declare function getBundleItemDescription(productBundleComponent: ProductBundleComponent): string;
|
6
|
+
declare function getBundleItemShortDescription(productBundleComponent: ProductBundleComponent): string;
|
6
7
|
declare function getBundleItemUrl(productBundleComponent: ProductBundleComponent): string;
|
7
8
|
declare function getBundleDiscount(product: Product): number;
|
8
9
|
declare function isItemBundleSalableAndActive(item: ProductBundleComponent): boolean;
|
@@ -12,6 +13,7 @@ export declare const productBundleGetters: {
|
|
12
13
|
getBundleItemQuantity: typeof getBundleItemQuantity;
|
13
14
|
getBundleItemImage: typeof getBundleItemImage;
|
14
15
|
getBundleItemDescription: typeof getBundleItemDescription;
|
16
|
+
getBundleItemShortDescription: typeof getBundleItemShortDescription;
|
15
17
|
getBundleItemUrl: typeof getBundleItemUrl;
|
16
18
|
getBundleDiscount: typeof getBundleDiscount;
|
17
19
|
isItemBundleSalable: typeof isItemBundleSalable;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"productBundleGetters.d.ts","sourceRoot":"","sources":["../../src/getters/productBundleGetters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,sBAAsB,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGhE,iBAAS,iBAAiB,CACxB,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAER;AAED,iBAAS,qBAAqB,CAC5B,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAER;AAED,iBAAS,kBAAkB,CACzB,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAMR;AAED,iBAAS,wBAAwB,CAC/B,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAER;AAED,iBAAS,gBAAgB,CACvB,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CASR;AAED,iBAAS,iBAAiB,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAYnD;AAED,iBAAS,4BAA4B,CAAC,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAE3E;AAED,iBAAS,mBAAmB,CAAC,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAElE;AAED,eAAO,MAAM,oBAAoB
|
1
|
+
{"version":3,"file":"productBundleGetters.d.ts","sourceRoot":"","sources":["../../src/getters/productBundleGetters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,sBAAsB,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGhE,iBAAS,iBAAiB,CACxB,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAER;AAED,iBAAS,qBAAqB,CAC5B,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAER;AAED,iBAAS,kBAAkB,CACzB,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAMR;AAED,iBAAS,wBAAwB,CAC/B,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAER;AAED,iBAAS,6BAA6B,CACpC,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAER;AAED,iBAAS,gBAAgB,CACvB,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CASR;AAED,iBAAS,iBAAiB,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAYnD;AAED,iBAAS,4BAA4B,CAAC,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAE3E;AAED,iBAAS,mBAAmB,CAAC,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAElE;AAED,eAAO,MAAM,oBAAoB;;;;;;;;;;CAUhC,CAAC"}
|
package/lib/index.cjs.js
CHANGED
@@ -4715,6 +4715,9 @@ function getBundleItemImage(productBundleComponent) {
|
|
4715
4715
|
function getBundleItemDescription(productBundleComponent) {
|
4716
4716
|
return productBundleComponent?.data.texts.description ?? '';
|
4717
4717
|
}
|
4718
|
+
function getBundleItemShortDescription(productBundleComponent) {
|
4719
|
+
return productBundleComponent?.data.texts.shortDescription ?? '';
|
4720
|
+
}
|
4718
4721
|
function getBundleItemUrl(productBundleComponent) {
|
4719
4722
|
return ('/' +
|
4720
4723
|
productBundleComponent.data.texts.urlPath +
|
@@ -4744,6 +4747,7 @@ const productBundleGetters = {
|
|
4744
4747
|
getBundleItemQuantity,
|
4745
4748
|
getBundleItemImage,
|
4746
4749
|
getBundleItemDescription,
|
4750
|
+
getBundleItemShortDescription,
|
4747
4751
|
getBundleItemUrl,
|
4748
4752
|
getBundleDiscount,
|
4749
4753
|
isItemBundleSalable,
|
package/lib/index.cjs.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/index.es.js
CHANGED
@@ -4707,6 +4707,9 @@ function getBundleItemImage(productBundleComponent) {
|
|
4707
4707
|
function getBundleItemDescription(productBundleComponent) {
|
4708
4708
|
return productBundleComponent?.data.texts.description ?? '';
|
4709
4709
|
}
|
4710
|
+
function getBundleItemShortDescription(productBundleComponent) {
|
4711
|
+
return productBundleComponent?.data.texts.shortDescription ?? '';
|
4712
|
+
}
|
4710
4713
|
function getBundleItemUrl(productBundleComponent) {
|
4711
4714
|
return ('/' +
|
4712
4715
|
productBundleComponent.data.texts.urlPath +
|
@@ -4736,6 +4739,7 @@ const productBundleGetters = {
|
|
4736
4739
|
getBundleItemQuantity,
|
4737
4740
|
getBundleItemImage,
|
4738
4741
|
getBundleItemDescription,
|
4742
|
+
getBundleItemShortDescription,
|
4739
4743
|
getBundleItemUrl,
|
4740
4744
|
getBundleDiscount,
|
4741
4745
|
isItemBundleSalable,
|
package/lib/index.es.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ig": {
|
@@ -46,5 +46,5 @@
|
|
46
46
|
"lib/**/*",
|
47
47
|
"server/**/*"
|
48
48
|
],
|
49
|
-
"gitHead": "
|
49
|
+
"gitHead": "e2c5d4be55c98725601dd7b18ba8e5be85dc5fb0"
|
50
50
|
}
|
@@ -3,6 +3,7 @@ declare function getBundleItemName(productBundleComponent: ProductBundleComponen
|
|
3
3
|
declare function getBundleItemQuantity(productBundleComponent: ProductBundleComponent): string;
|
4
4
|
declare function getBundleItemImage(productBundleComponent: ProductBundleComponent): string;
|
5
5
|
declare function getBundleItemDescription(productBundleComponent: ProductBundleComponent): string;
|
6
|
+
declare function getBundleItemShortDescription(productBundleComponent: ProductBundleComponent): string;
|
6
7
|
declare function getBundleItemUrl(productBundleComponent: ProductBundleComponent): string;
|
7
8
|
declare function getBundleDiscount(product: Product): number;
|
8
9
|
declare function isItemBundleSalableAndActive(item: ProductBundleComponent): boolean;
|
@@ -12,6 +13,7 @@ export declare const productBundleGetters: {
|
|
12
13
|
getBundleItemQuantity: typeof getBundleItemQuantity;
|
13
14
|
getBundleItemImage: typeof getBundleItemImage;
|
14
15
|
getBundleItemDescription: typeof getBundleItemDescription;
|
16
|
+
getBundleItemShortDescription: typeof getBundleItemShortDescription;
|
15
17
|
getBundleItemUrl: typeof getBundleItemUrl;
|
16
18
|
getBundleDiscount: typeof getBundleDiscount;
|
17
19
|
isItemBundleSalable: typeof isItemBundleSalable;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"productBundleGetters.d.ts","sourceRoot":"","sources":["../../src/getters/productBundleGetters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,sBAAsB,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGhE,iBAAS,iBAAiB,CACxB,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAER;AAED,iBAAS,qBAAqB,CAC5B,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAER;AAED,iBAAS,kBAAkB,CACzB,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAMR;AAED,iBAAS,wBAAwB,CAC/B,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAER;AAED,iBAAS,gBAAgB,CACvB,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CASR;AAED,iBAAS,iBAAiB,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAYnD;AAED,iBAAS,4BAA4B,CAAC,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAE3E;AAED,iBAAS,mBAAmB,CAAC,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAElE;AAED,eAAO,MAAM,oBAAoB
|
1
|
+
{"version":3,"file":"productBundleGetters.d.ts","sourceRoot":"","sources":["../../src/getters/productBundleGetters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,sBAAsB,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGhE,iBAAS,iBAAiB,CACxB,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAER;AAED,iBAAS,qBAAqB,CAC5B,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAER;AAED,iBAAS,kBAAkB,CACzB,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAMR;AAED,iBAAS,wBAAwB,CAC/B,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAER;AAED,iBAAS,6BAA6B,CACpC,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAER;AAED,iBAAS,gBAAgB,CACvB,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CASR;AAED,iBAAS,iBAAiB,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAYnD;AAED,iBAAS,4BAA4B,CAAC,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAE3E;AAED,iBAAS,mBAAmB,CAAC,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAElE;AAED,eAAO,MAAM,oBAAoB;;;;;;;;;;CAUhC,CAAC"}
|