@plentymarkets/shop-api 0.113.0 → 0.114.0

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 (37) hide show
  1. package/lib/__tests__/__fixtures__/CategoryEntry.d.ts +4 -0
  2. package/lib/__tests__/__fixtures__/CategoryEntry.d.ts.map +1 -0
  3. package/lib/getters/__tests__/unit/barcodeGetters.unit.spec.d.ts +2 -0
  4. package/lib/getters/__tests__/unit/barcodeGetters.unit.spec.d.ts.map +1 -0
  5. package/lib/getters/__tests__/unit/categoryEntryGetters.unit.spec.d.ts +2 -0
  6. package/lib/getters/__tests__/unit/categoryEntryGetters.unit.spec.d.ts.map +1 -0
  7. package/lib/getters/barcodeGetters.d.ts +19 -0
  8. package/lib/getters/barcodeGetters.d.ts.map +1 -0
  9. package/lib/getters/categoryEntryGetters.d.ts +35 -0
  10. package/lib/getters/categoryEntryGetters.d.ts.map +1 -0
  11. package/lib/getters/index.d.ts +2 -0
  12. package/lib/getters/index.d.ts.map +1 -1
  13. package/lib/getters/productGetters.d.ts +3 -1
  14. package/lib/getters/productGetters.d.ts.map +1 -1
  15. package/lib/index.cjs.js +137 -37
  16. package/lib/index.cjs.js.map +1 -1
  17. package/lib/index.es.js +135 -37
  18. package/lib/index.es.js.map +1 -1
  19. package/lib/types/api/product.d.ts +11 -0
  20. package/lib/types/api/product.d.ts.map +1 -1
  21. package/package.json +2 -2
  22. package/server/__tests__/__fixtures__/CategoryEntry.d.ts +4 -0
  23. package/server/__tests__/__fixtures__/CategoryEntry.d.ts.map +1 -0
  24. package/server/getters/__tests__/unit/barcodeGetters.unit.spec.d.ts +2 -0
  25. package/server/getters/__tests__/unit/barcodeGetters.unit.spec.d.ts.map +1 -0
  26. package/server/getters/__tests__/unit/categoryEntryGetters.unit.spec.d.ts +2 -0
  27. package/server/getters/__tests__/unit/categoryEntryGetters.unit.spec.d.ts.map +1 -0
  28. package/server/getters/barcodeGetters.d.ts +19 -0
  29. package/server/getters/barcodeGetters.d.ts.map +1 -0
  30. package/server/getters/categoryEntryGetters.d.ts +35 -0
  31. package/server/getters/categoryEntryGetters.d.ts.map +1 -0
  32. package/server/getters/index.d.ts +2 -0
  33. package/server/getters/index.d.ts.map +1 -1
  34. package/server/getters/productGetters.d.ts +3 -1
  35. package/server/getters/productGetters.d.ts.map +1 -1
  36. package/server/types/api/product.d.ts +11 -0
  37. package/server/types/api/product.d.ts.map +1 -1
@@ -0,0 +1,4 @@
1
+ import { CategoryEntry } from '../../types';
2
+ declare const categoryEntry: CategoryEntry;
3
+ export default categoryEntry;
4
+ //# sourceMappingURL=CategoryEntry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CategoryEntry.d.ts","sourceRoot":"","sources":["../../../src/__tests__/__fixtures__/CategoryEntry.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,QAAA,MAAM,aAAa,EAAE,aAkDpB,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=barcodeGetters.unit.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"barcodeGetters.unit.spec.d.ts","sourceRoot":"","sources":["../../../../src/getters/__tests__/unit/barcodeGetters.unit.spec.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=categoryEntryGetters.unit.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"categoryEntryGetters.unit.spec.d.ts","sourceRoot":"","sources":["../../../../src/getters/__tests__/unit/categoryEntryGetters.unit.spec.ts"],"names":[],"mappings":""}
@@ -0,0 +1,19 @@
1
+ import { Barcode } from '../types';
2
+ declare function getId(barcode: Barcode): number;
3
+ declare function getName(barcode: Barcode): string;
4
+ declare function getType(barcode: Barcode): string;
5
+ declare function getCode(barcode: Barcode): string;
6
+ declare function getCreatedAt(barcode: Barcode): string;
7
+ declare function getUpdatedAt(barcode: Barcode): string;
8
+ declare function getReferrers(barcode: Barcode): number[];
9
+ export declare const barcodeGetters: {
10
+ getId: typeof getId;
11
+ getName: typeof getName;
12
+ getType: typeof getType;
13
+ getCode: typeof getCode;
14
+ getCreatedAt: typeof getCreatedAt;
15
+ getUpdatedAt: typeof getUpdatedAt;
16
+ getReferrers: typeof getReferrers;
17
+ };
18
+ export {};
19
+ //# sourceMappingURL=barcodeGetters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"barcodeGetters.d.ts","sourceRoot":"","sources":["../../src/getters/barcodeGetters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,iBAAS,KAAK,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAEvC;AAED,iBAAS,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAEzC;AAED,iBAAS,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAEzC;AAED,iBAAS,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAEzC;AAED,iBAAS,YAAY,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAE9C;AAED,iBAAS,YAAY,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAE9C;AAED,iBAAS,YAAY,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,EAAE,CAEhD;AAED,eAAO,MAAM,cAAc;;;;;;;;CAQ1B,CAAC"}
@@ -0,0 +1,35 @@
1
+ import type { CategoryDetails, CategoryEntry, client, ItemCount } from '../types';
2
+ declare function getChildCount(categoryEntry: CategoryEntry): number;
3
+ declare function getChildren(categoryEntry: CategoryEntry): CategoryEntry[];
4
+ declare function getClients(categoryEntry: CategoryEntry): client[];
5
+ declare function getDetails(categoryEntry: CategoryEntry): CategoryDetails[];
6
+ declare function getId(categoryEntry: CategoryEntry): number;
7
+ declare function getItemCount(categoryEntry: CategoryEntry): ItemCount[];
8
+ declare function getLevel(categoryEntry: CategoryEntry): number;
9
+ declare function getLinklist(categoryEntry: CategoryEntry): string;
10
+ declare function getParentCategoryId(categoryEntry: CategoryEntry): number;
11
+ declare function getRight(categoryEntry: CategoryEntry): string;
12
+ declare function getSitemap(categoryEntry: CategoryEntry): string;
13
+ declare function getType(categoryEntry: CategoryEntry): string;
14
+ declare function getRobots(categoryEntry: CategoryEntry): string;
15
+ declare function isLinkedToWebstore(categoryEntry: CategoryEntry): boolean;
16
+ declare function hasChildren(categoryEntry: CategoryEntry): boolean;
17
+ export declare const categoryEntryGetters: {
18
+ getChildCount: typeof getChildCount;
19
+ getChildren: typeof getChildren;
20
+ getClients: typeof getClients;
21
+ getDetails: typeof getDetails;
22
+ getId: typeof getId;
23
+ getItemCount: typeof getItemCount;
24
+ getLevel: typeof getLevel;
25
+ getLinklist: typeof getLinklist;
26
+ getParentCategoryId: typeof getParentCategoryId;
27
+ getRight: typeof getRight;
28
+ getSitemap: typeof getSitemap;
29
+ getType: typeof getType;
30
+ getRobots: typeof getRobots;
31
+ isLinkedToWebstore: typeof isLinkedToWebstore;
32
+ hasChildren: typeof hasChildren;
33
+ };
34
+ export {};
35
+ //# sourceMappingURL=categoryEntryGetters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"categoryEntryGetters.d.ts","sourceRoot":"","sources":["../../src/getters/categoryEntryGetters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAElF,iBAAS,aAAa,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAE3D;AAED,iBAAS,WAAW,CAAC,aAAa,EAAE,aAAa,GAAG,aAAa,EAAE,CAElE;AAED,iBAAS,UAAU,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,EAAE,CAE1D;AAED,iBAAS,UAAU,CAAC,aAAa,EAAE,aAAa,GAAG,eAAe,EAAE,CAEnE;AAED,iBAAS,KAAK,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAEnD;AAED,iBAAS,YAAY,CAAC,aAAa,EAAE,aAAa,GAAG,SAAS,EAAE,CAE/D;AAED,iBAAS,QAAQ,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAEtD;AAED,iBAAS,WAAW,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAEzD;AAED,iBAAS,mBAAmB,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAEjE;AAED,iBAAS,QAAQ,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAEtD;AAED,iBAAS,UAAU,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAExD;AAED,iBAAS,OAAO,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAErD;AAED,iBAAS,SAAS,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAEvD;AAED,iBAAS,kBAAkB,CAAC,aAAa,EAAE,aAAa,GAAG,OAAO,CAEjE;AAED,iBAAS,WAAW,CAAC,aAAa,EAAE,aAAa,GAAG,OAAO,CAE1D;AAED,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;CAgBhC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  export { additionalInformationGetters } from './additionalInformationGetters';
2
2
  export { cartGetters } from './cartGetters';
3
+ export { categoryEntryGetters } from './categoryEntryGetters';
3
4
  export { categoryGetters } from './categoryGetters';
4
5
  export { categoryTreeGetters } from './categoryTreeGetters';
5
6
  export { facetGetters } from './facetGetters';
@@ -33,4 +34,5 @@ export { productPriceGetters } from './productPriceGetters';
33
34
  export { manufacturerGetters } from './manufacturerGetters';
34
35
  export { productSeoSettingsGetters } from './productSeoSettingsGetters';
35
36
  export { robotGetters } from './robotGetters';
37
+ export { barcodeGetters } from './barcodeGetters';
36
38
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/getters/index.ts"],"names":[],"mappings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AM,6BAA6B,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { AgnosticImage, ProductAttributeValue } from './agnostic';
2
- import type { CategoryTreeItem, Product, VariationMapProductVariation, VariationProperty, VariationPropertyGroup, ImagesData, Manufacturer } from '../types';
2
+ import type { CategoryTreeItem, Product, VariationMapProductVariation, VariationProperty, VariationPropertyGroup, ImagesData, Manufacturer, Barcode } from '../types';
3
3
  declare function getName(product: Product): string;
4
4
  declare function getSlug(product: Product): string;
5
5
  declare function getUrlPath(product: Product): string;
@@ -52,6 +52,7 @@ declare function getAgenciesAvailabilityCLass(product: Product): string;
52
52
  declare function getAvailabilityBackgroundColor(product: Product): string;
53
53
  declare function getAvailabilityTextColor(product: Product): string;
54
54
  declare function getParentCategoryId(product: Product): number;
55
+ declare function getBarcodes(product: Product): Barcode[];
55
56
  declare function getManufacturer(product: Product): Manufacturer;
56
57
  export declare const productGetters: {
57
58
  getUnitContent: typeof getUnitContent;
@@ -120,6 +121,7 @@ export declare const productGetters: {
120
121
  getMetaKeywords: typeof getMetaKeywords;
121
122
  getParentCategoryId: typeof getParentCategoryId;
122
123
  getManufacturer: typeof getManufacturer;
124
+ getBarcodes: typeof getBarcodes;
123
125
  };
124
126
  export {};
125
127
  //# sourceMappingURL=productGetters.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"productGetters.d.ts","sourceRoot":"","sources":["../../src/getters/productGetters.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAKb,qBAAqB,EACtB,MAAM,YAAY,CAAC;AAEpB,OAAO,KAAK,EACV,gBAAgB,EAChB,OAAO,EAEP,4BAA4B,EAC5B,iBAAiB,EACjB,sBAAsB,EACtB,UAAU,EAAE,YAAY,EACzB,MAAM,UAAU,CAAC;AAWlB,iBAAS,OAAO,CAAC,OAAO,EAAE,OAAO,GAA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A8B,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAEhE;AAED,iBAAS,wBAAwB,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAE1D;AAED,iBAAS,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAErD;AAED,iBAAS,WAAW,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,EAAE,CAEhD;AAED,iBAAS,eAAe,CAAC,OAAO,EAAE,OAAO,GAAG,YAAY,CAIvD;AAED,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqE1B,CAAC"}
package/lib/index.cjs.js CHANGED
@@ -2423,7 +2423,7 @@ const setCategoryTemplate = async (context, params) => {
2423
2423
  * const { data, error } = await useAsyncData(() => sdk.plentysystems.getRobots());
2424
2424
  * ```
2425
2425
  */
2426
- const getRobots$1 = async (context) => {
2426
+ const getRobots$2 = async (context) => {
2427
2427
  const url = new URL('/rest/storefront/seo/robots', context.config.api.url);
2428
2428
  const { data: response } = await context.client.get(url.href);
2429
2429
  return { data: response.data };
@@ -3090,7 +3090,7 @@ function getTree(categories) {
3090
3090
  }
3091
3091
  return tree;
3092
3092
  }
3093
- function getId$7(categoryTreeItem) {
3093
+ function getId$9(categoryTreeItem) {
3094
3094
  return categoryTreeItem.id;
3095
3095
  }
3096
3096
  function getTreeItem(category) {
@@ -3171,7 +3171,7 @@ function generateBreadcrumbFromCategory(tree, categoryId) {
3171
3171
  const category = findCategoryBySlugs(tree, path.slice(0, i + 1));
3172
3172
  if (category) {
3173
3173
  breadcrumbs.push({
3174
- name: getName$4(category),
3174
+ name: getName$5(category),
3175
3175
  link: generateCategoryLink(tree, category),
3176
3176
  });
3177
3177
  }
@@ -3184,7 +3184,7 @@ function getCategoryDetails$1(details) {
3184
3184
  function getCount(category) {
3185
3185
  return category ? Number(category?.itemCount?.[0]?.count) || 0 : 0;
3186
3186
  }
3187
- function getName$4(category) {
3187
+ function getName$5(category) {
3188
3188
  const details = getCategoryDetails$1(category.details);
3189
3189
  return details ? details.name : '';
3190
3190
  }
@@ -3209,7 +3209,7 @@ function getMappedBreadcrumbs(categories, categoryId, prefix = '') {
3209
3209
  });
3210
3210
  }
3211
3211
  const categoryTreeGetters = {
3212
- getId: getId$7,
3212
+ getId: getId$9,
3213
3213
  getTree,
3214
3214
  getTreeItem,
3215
3215
  findCategoryBySlug,
@@ -3220,7 +3220,7 @@ const categoryTreeGetters = {
3220
3220
  generateBreadcrumbFromCategory,
3221
3221
  getCategoryDetails: getCategoryDetails$1,
3222
3222
  getCount,
3223
- getName: getName$4,
3223
+ getName: getName$5,
3224
3224
  getSlug: getSlug$1,
3225
3225
  getItems: getItems$4,
3226
3226
  getMappedBreadcrumbs,
@@ -3635,7 +3635,7 @@ const productPriceGetters = {
3635
3635
 
3636
3636
  const NO_SELECTION_ID = -1;
3637
3637
  const ITEM_TYPE_SET$1 = 'set';
3638
- function getName$3(product) {
3638
+ function getName$4(product) {
3639
3639
  return product?.texts?.name1 ?? '';
3640
3640
  }
3641
3641
  function getSlug(product) {
@@ -3769,7 +3769,7 @@ function getCategoryIds(product) {
3769
3769
  '',
3770
3770
  ]);
3771
3771
  }
3772
- function getId$6(product) {
3772
+ function getId$8(product) {
3773
3773
  return product?.variation?.id.toString() ?? '';
3774
3774
  }
3775
3775
  function getItemId$1(product) {
@@ -3853,9 +3853,12 @@ function getAvailabilityBackgroundColor(product) {
3853
3853
  function getAvailabilityTextColor(product) {
3854
3854
  return AvailabilityTextColor[getAvailabilityId(product)];
3855
3855
  }
3856
- function getParentCategoryId(product) {
3856
+ function getParentCategoryId$1(product) {
3857
3857
  return product.defaultCategories?.[0]?.parentCategoryId ?? 0;
3858
3858
  }
3859
+ function getBarcodes(product) {
3860
+ return product.barcodes ?? [];
3861
+ }
3859
3862
  function getManufacturer(product) {
3860
3863
  const manufacturerData = product.item.manufacturer;
3861
3864
  return Array.isArray(manufacturerData) ? manufacturerData[0] : manufacturerData;
@@ -3863,7 +3866,7 @@ function getManufacturer(product) {
3863
3866
  const productGetters = {
3864
3867
  getUnitContent,
3865
3868
  getUnitName,
3866
- getName: getName$3,
3869
+ getName: getName$4,
3867
3870
  getMinimumOrderQuantity,
3868
3871
  getSlug,
3869
3872
  getUrlPath,
@@ -3885,7 +3888,7 @@ const productGetters = {
3885
3888
  getShortDescription,
3886
3889
  getTechnicalData,
3887
3890
  getCategoryIds,
3888
- getId: getId$6,
3891
+ getId: getId$8,
3889
3892
  getTotalReviews: getTotalReviews$1,
3890
3893
  getAverageRating: getAverageRating$1,
3891
3894
  getItemId: getItemId$1,
@@ -3926,8 +3929,9 @@ const productGetters = {
3926
3929
  getAgenciesAvailabilityCLass,
3927
3930
  getMetaDescription: getMetaDescription$1,
3928
3931
  getMetaKeywords: getMetaKeywords$1,
3929
- getParentCategoryId,
3932
+ getParentCategoryId: getParentCategoryId$1,
3930
3933
  getManufacturer,
3934
+ getBarcodes,
3931
3935
  };
3932
3936
 
3933
3937
  function getItems$3(cart) {
@@ -4183,7 +4187,70 @@ const cartGetters = {
4183
4187
  getMaxDeliveryDays,
4184
4188
  };
4185
4189
 
4186
- function getId$5(category) {
4190
+ function getChildCount(categoryEntry) {
4191
+ return categoryEntry.childCount ?? 0;
4192
+ }
4193
+ function getChildren(categoryEntry) {
4194
+ return categoryEntry.children || [];
4195
+ }
4196
+ function getClients(categoryEntry) {
4197
+ return categoryEntry.clients || [];
4198
+ }
4199
+ function getDetails(categoryEntry) {
4200
+ return categoryEntry.details || [];
4201
+ }
4202
+ function getId$7(categoryEntry) {
4203
+ return categoryEntry.id ?? 0;
4204
+ }
4205
+ function getItemCount(categoryEntry) {
4206
+ return categoryEntry.itemCount ?? [];
4207
+ }
4208
+ function getLevel(categoryEntry) {
4209
+ return categoryEntry.level ?? 0;
4210
+ }
4211
+ function getLinklist(categoryEntry) {
4212
+ return categoryEntry.linklist || '';
4213
+ }
4214
+ function getParentCategoryId(categoryEntry) {
4215
+ return categoryEntry.parentCategoryId ?? 0;
4216
+ }
4217
+ function getRight(categoryEntry) {
4218
+ return categoryEntry.right || '';
4219
+ }
4220
+ function getSitemap(categoryEntry) {
4221
+ return categoryEntry.sitemap || '';
4222
+ }
4223
+ function getType$3(categoryEntry) {
4224
+ return categoryEntry.type || '';
4225
+ }
4226
+ function getRobots$1(categoryEntry) {
4227
+ return categoryEntry.robots || '';
4228
+ }
4229
+ function isLinkedToWebstore(categoryEntry) {
4230
+ return categoryEntry.isLinkedToWebstore ?? false;
4231
+ }
4232
+ function hasChildren(categoryEntry) {
4233
+ return categoryEntry.hasChildren ?? false;
4234
+ }
4235
+ const categoryEntryGetters = {
4236
+ getChildCount,
4237
+ getChildren,
4238
+ getClients,
4239
+ getDetails,
4240
+ getId: getId$7,
4241
+ getItemCount,
4242
+ getLevel,
4243
+ getLinklist,
4244
+ getParentCategoryId,
4245
+ getRight,
4246
+ getSitemap,
4247
+ getType: getType$3,
4248
+ getRobots: getRobots$1,
4249
+ isLinkedToWebstore,
4250
+ hasChildren
4251
+ };
4252
+
4253
+ function getId$6(category) {
4187
4254
  return category.id ?? 0;
4188
4255
  }
4189
4256
  function getParentId(category) {
@@ -4220,7 +4287,7 @@ function getCategoryRobots(category) {
4220
4287
  return category.robots || '';
4221
4288
  }
4222
4289
  const categoryGetters = {
4223
- getId: getId$5,
4290
+ getId: getId$6,
4224
4291
  getParentId,
4225
4292
  getCategoryName,
4226
4293
  getCategoryDetails,
@@ -4274,10 +4341,10 @@ function getSortOptions(params) {
4274
4341
  function getProducts(searchData) {
4275
4342
  return searchData?.data?.products ?? [];
4276
4343
  }
4277
- function getName$2(filterGroup) {
4344
+ function getName$3(filterGroup) {
4278
4345
  return filterGroup?.name ?? '';
4279
4346
  }
4280
- function getType$1(filterGroup) {
4347
+ function getType$2(filterGroup) {
4281
4348
  return filterGroup?.type ?? '';
4282
4349
  }
4283
4350
  function getFilters(filterGroup) {
@@ -4316,8 +4383,8 @@ function getPagination$2(params) {
4316
4383
  }
4317
4384
  const facetGetters = {
4318
4385
  getAll,
4319
- getName: getName$2,
4320
- getType: getType$1,
4386
+ getName: getName$3,
4387
+ getType: getType$2,
4321
4388
  getFilterName,
4322
4389
  getFilterCount,
4323
4390
  getCssClass,
@@ -4361,7 +4428,7 @@ function getShippingDate(order, locale = '') {
4361
4428
  function getById(orders, id) {
4362
4429
  return orders.find((order) => order?.order?.id.toString() === id) ?? null;
4363
4430
  }
4364
- function getId$4(order) {
4431
+ function getId$5(order) {
4365
4432
  return order?.order?.id?.toString() || '';
4366
4433
  }
4367
4434
  function getOrderEmail(order) {
@@ -4795,7 +4862,7 @@ const orderGetters = {
4795
4862
  getById,
4796
4863
  getDate: getDate$1,
4797
4864
  getFormattedPrice: getFormattedPrice$2,
4798
- getId: getId$4,
4865
+ getId: getId$5,
4799
4866
  getItemName: getItemName$2,
4800
4867
  getItemShortDescription,
4801
4868
  getItemPrice: getItemPrice$2,
@@ -4882,14 +4949,14 @@ const orderGetters = {
4882
4949
  getShippingCostNet,
4883
4950
  };
4884
4951
 
4885
- function getType(document) {
4952
+ function getType$1(document) {
4886
4953
  return document?.type ?? '';
4887
4954
  }
4888
4955
  function getNumberWithPrefix(document) {
4889
4956
  return document?.numberWithPrefix ?? '';
4890
4957
  }
4891
4958
  const orderDocumentGetters = {
4892
- getType,
4959
+ getType: getType$1,
4893
4960
  getNumberWithPrefix,
4894
4961
  };
4895
4962
 
@@ -4899,7 +4966,7 @@ function getDate(returnItem) {
4899
4966
  }
4900
4967
  return '';
4901
4968
  }
4902
- function getId$3(returnItem) {
4969
+ function getId$4(returnItem) {
4903
4970
  return returnItem.order?.id.toString() || '';
4904
4971
  }
4905
4972
  function getStatus(returnItem) {
@@ -4976,7 +5043,7 @@ function getDefaultReturnReasonId(data) {
4976
5043
  }
4977
5044
  const returnGetters = {
4978
5045
  getDate,
4979
- getId: getId$3,
5046
+ getId: getId$4,
4980
5047
  getStatus,
4981
5048
  getPrice,
4982
5049
  getItems: getItems$1,
@@ -5336,7 +5403,7 @@ filters) {
5336
5403
  function getItemSku(item) {
5337
5404
  return '';
5338
5405
  }
5339
- function getId$2(product) {
5406
+ function getId$3(product) {
5340
5407
  return product?.variation?.id.toString() ?? '';
5341
5408
  }
5342
5409
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -5376,7 +5443,7 @@ const wishlistGetters = {
5376
5443
  getItemSku,
5377
5444
  getTotalItems,
5378
5445
  getFormattedPrice,
5379
- getId: getId$2,
5446
+ getId: getId$3,
5380
5447
  canDirectlyAddToCart,
5381
5448
  getCanDirectlyAddToCart,
5382
5449
  };
@@ -5423,10 +5490,10 @@ const shippingProviderGetters = {
5423
5490
  getShippingProfileId,
5424
5491
  };
5425
5492
 
5426
- function getId$1(paymentMethod) {
5493
+ function getId$2(paymentMethod) {
5427
5494
  return paymentMethod?.id.toString() ?? '0';
5428
5495
  }
5429
- function getName$1(paymentMethod) {
5496
+ function getName$2(paymentMethod) {
5430
5497
  return paymentMethod?.name ?? '';
5431
5498
  }
5432
5499
  function getIcon(paymentMethod) {
@@ -5456,8 +5523,8 @@ function getPaymentMethodById(paymentMethods, id) {
5456
5523
  return paymentMethods.find((method) => method.id === id) ?? null;
5457
5524
  }
5458
5525
  const paymentProviderGetters = {
5459
- getId: getId$1,
5460
- getName: getName$1,
5526
+ getId: getId$2,
5527
+ getName: getName$2,
5461
5528
  getIcon,
5462
5529
  getMethodOfPaymentId,
5463
5530
  getPaymentKey,
@@ -5561,7 +5628,7 @@ function getCompanyName(address) {
5561
5628
  function getVatNumber(address) {
5562
5629
  return address.vatNumber ?? '';
5563
5630
  }
5564
- function getId(address) {
5631
+ function getId$1(address) {
5565
5632
  return address?.id?.toString() ?? '';
5566
5633
  }
5567
5634
  function getApartmentNumber(address) {
@@ -5612,7 +5679,7 @@ const userAddressGetters = {
5612
5679
  getProvince,
5613
5680
  getCompanyName,
5614
5681
  getVatNumber,
5615
- getId,
5682
+ getId: getId$1,
5616
5683
  getApartmentNumber,
5617
5684
  isDefault,
5618
5685
  getAddressWithoutId,
@@ -5664,7 +5731,7 @@ const legalGetters = {
5664
5731
  getHtml,
5665
5732
  };
5666
5733
 
5667
- function getName(company) {
5734
+ function getName$1(company) {
5668
5735
  return company.name ?? '';
5669
5736
  }
5670
5737
  function getStreet(company) {
@@ -5677,7 +5744,7 @@ function getEmail(company) {
5677
5744
  return company.email ?? '';
5678
5745
  }
5679
5746
  const companyGetters = {
5680
- getName,
5747
+ getName: getName$1,
5681
5748
  getStreet,
5682
5749
  getCity,
5683
5750
  getEmail,
@@ -5758,14 +5825,14 @@ const heroesGetters = {
5758
5825
  getClassName,
5759
5826
  };
5760
5827
 
5761
- function getCode(locale) {
5828
+ function getCode$1(locale) {
5762
5829
  return locale ? locale.code : 'en';
5763
5830
  }
5764
5831
  function getLabel(locale) {
5765
5832
  return locale ? locale.label : 'en';
5766
5833
  }
5767
5834
  const localesGetters = {
5768
- getCode,
5835
+ getCode: getCode$1,
5769
5836
  getLabel,
5770
5837
  };
5771
5838
 
@@ -6170,10 +6237,43 @@ const robotGetters = {
6170
6237
  getRobotsAccessibilityDeclarationResult,
6171
6238
  };
6172
6239
 
6240
+ function getId(barcode) {
6241
+ return barcode?.id || 0;
6242
+ }
6243
+ function getName(barcode) {
6244
+ return barcode?.name || '';
6245
+ }
6246
+ function getType(barcode) {
6247
+ return barcode?.type || '';
6248
+ }
6249
+ function getCode(barcode) {
6250
+ return barcode?.code || '';
6251
+ }
6252
+ function getCreatedAt(barcode) {
6253
+ return barcode?.createdAt || '';
6254
+ }
6255
+ function getUpdatedAt(barcode) {
6256
+ return barcode?.updatedAt || '';
6257
+ }
6258
+ function getReferrers(barcode) {
6259
+ return barcode?.referrers ?? [];
6260
+ }
6261
+ const barcodeGetters = {
6262
+ getId,
6263
+ getName,
6264
+ getType,
6265
+ getCode,
6266
+ getCreatedAt,
6267
+ getUpdatedAt,
6268
+ getReferrers,
6269
+ };
6270
+
6173
6271
  exports.ApiError = ApiError;
6174
6272
  exports.additionalInformationGetters = additionalInformationGetters;
6175
6273
  exports.bannerGetters = bannerGetters;
6274
+ exports.barcodeGetters = barcodeGetters;
6176
6275
  exports.cartGetters = cartGetters;
6276
+ exports.categoryEntryGetters = categoryEntryGetters;
6177
6277
  exports.categoryGetters = categoryGetters;
6178
6278
  exports.categoryTreeGetters = categoryTreeGetters;
6179
6279
  exports.companyGetters = companyGetters;
@@ -6272,7 +6372,7 @@ exports.getReturnReasons = getReturnReasons$1;
6272
6372
  exports.getReturns = getReturns;
6273
6373
  exports.getReview = getReview;
6274
6374
  exports.getReviewAverage = getReviewAverage;
6275
- exports.getRobots = getRobots$1;
6375
+ exports.getRobots = getRobots$2;
6276
6376
  exports.getSearch = getSearch;
6277
6377
  exports.getSession = getSession;
6278
6378
  exports.getShippingProvider = getShippingProvider$1;
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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