@plentymarkets/shop-api 0.147.1 → 0.148.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/index.es.js CHANGED
@@ -1,5 +1,4 @@
1
1
  import 'consola';
2
- import * as validator from 'validator';
3
2
 
4
3
  var AddressType;
5
4
  (function (AddressType) {
@@ -137,6 +136,58 @@ const getProduct = async (context, params) => {
137
136
  return { data: mappedProduct };
138
137
  };
139
138
 
139
+ /**
140
+ * Method getProductsByIds - Used to get multiple products by variation Id.
141
+ *
142
+ * @remarks
143
+ * * Calls /rest/storefront/items
144
+ * * Method should be used to get multiple products by variation Id.
145
+ *
146
+ * @param { ProductByIdsSearchCriteria } params
147
+ *
148
+ * @returns
149
+ * list of Products.
150
+ *
151
+ * @example
152
+ * ``` ts
153
+ * const { data } = await useSdk().plentysystems.getProductsByIds({
154
+ * variationIds: [1234, 4565, 1789],
155
+ * });
156
+ * ```
157
+ */
158
+ const getProductsByIds = async (context, params) => {
159
+ const url = new URL('/rest/storefront/items', context.config.api.url);
160
+ if (params.variationIds) {
161
+ url.searchParams.set('type', 'variation-list');
162
+ for (const variationId of params.variationIds) {
163
+ url.searchParams.append('variationIds[]', variationId.toString());
164
+ }
165
+ }
166
+ else {
167
+ throw new ApiError({ message: 'Invalid search criteria', code: '403', key: '', cause: '' });
168
+ }
169
+ if (params.itemsPerPage) {
170
+ url.searchParams.set('itemsPerPage', params.itemsPerPage.toString());
171
+ }
172
+ if (params.page) {
173
+ url.searchParams.set('page', params.page.toString());
174
+ }
175
+ if (params.sort) {
176
+ url.searchParams.set('sorting', params.sort);
177
+ }
178
+ const { data: response } = await context.client.get(url.href);
179
+ if (!response.data.variations) {
180
+ throw new ApiError({ message: 'Products not found', code: '404', key: '', cause: '' });
181
+ }
182
+ const products = response.data.variations.documents.map((document) => document.data);
183
+ return {
184
+ data: {
185
+ products,
186
+ total: response.data.variations.total
187
+ }
188
+ };
189
+ };
190
+
140
191
  /**
141
192
  * Method getCategoryTemplate - Used to get category template instance.
142
193
  *
@@ -1322,11 +1373,6 @@ const getFacet = async (context, params) => {
1322
1373
  if (params.itemId) {
1323
1374
  url.searchParams.set('itemId', params.itemId);
1324
1375
  }
1325
- if (params.itemIds) {
1326
- for (const itemId of params.itemIds) {
1327
- url.searchParams.append('variationIds[]', itemId);
1328
- }
1329
- }
1330
1376
  const [{ data: response }, { data: blocksData }] = await Promise.all([
1331
1377
  context.client.get(url.href),
1332
1378
  getBlocks(context, {
@@ -1334,13 +1380,7 @@ const getFacet = async (context, params) => {
1334
1380
  type: 'category',
1335
1381
  }),
1336
1382
  ]);
1337
- let itemList = null;
1338
- if (params.itemIds) {
1339
- itemList = response.data.variations;
1340
- }
1341
- else {
1342
- itemList = response.data.itemList;
1343
- }
1383
+ const itemList = response.data.itemList;
1344
1384
  if (!itemList) {
1345
1385
  throw new Error('Category not found');
1346
1386
  }
@@ -6021,8 +6061,339 @@ const reviewGetters = {
6021
6061
  getReviewCounts,
6022
6062
  };
6023
6063
 
6064
+ function assertString(input) {
6065
+ if (input === undefined || input === null) throw new TypeError("Expected a string but received a ".concat(input));
6066
+ if (input.constructor.name !== 'String') throw new TypeError("Expected a string but received a ".concat(input.constructor.name));
6067
+ }
6068
+
6069
+ function isRegExp(obj) {
6070
+ return Object.prototype.toString.call(obj) === '[object RegExp]';
6071
+ }
6072
+ function checkHost(host, matches) {
6073
+ for (var i = 0; i < matches.length; i++) {
6074
+ var match = matches[i];
6075
+ if (host === match || isRegExp(match) && match.test(host)) {
6076
+ return true;
6077
+ }
6078
+ }
6079
+ return false;
6080
+ }
6081
+
6082
+ function _typeof$1(o) { "@babel/helpers - typeof"; return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof$1(o); }
6083
+
6084
+ /* eslint-disable prefer-rest-params */
6085
+ function isByteLength(str, options) {
6086
+ assertString(str);
6087
+ var min;
6088
+ var max;
6089
+ if (_typeof$1(options) === 'object') {
6090
+ min = options.min || 0;
6091
+ max = options.max;
6092
+ } else {
6093
+ // backwards compatibility: isByteLength(str, min [, max])
6094
+ min = arguments[1];
6095
+ max = arguments[2];
6096
+ }
6097
+ var len = encodeURI(str).split(/%..|./).length - 1;
6098
+ return len >= min && (typeof max === 'undefined' || len <= max);
6099
+ }
6100
+
6101
+ function merge() {
6102
+ var obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
6103
+ var defaults = arguments.length > 1 ? arguments[1] : undefined;
6104
+ for (var key in defaults) {
6105
+ if (typeof obj[key] === 'undefined') {
6106
+ obj[key] = defaults[key];
6107
+ }
6108
+ }
6109
+ return obj;
6110
+ }
6111
+
6112
+ var default_fqdn_options = {
6113
+ require_tld: true,
6114
+ allow_underscores: false,
6115
+ allow_trailing_dot: false,
6116
+ allow_numeric_tld: false,
6117
+ allow_wildcard: false,
6118
+ ignore_max_length: false
6119
+ };
6120
+ function isFQDN(str, options) {
6121
+ assertString(str);
6122
+ options = merge(options, default_fqdn_options);
6123
+
6124
+ /* Remove the optional trailing dot before checking validity */
6125
+ if (options.allow_trailing_dot && str[str.length - 1] === '.') {
6126
+ str = str.substring(0, str.length - 1);
6127
+ }
6128
+
6129
+ /* Remove the optional wildcard before checking validity */
6130
+ if (options.allow_wildcard === true && str.indexOf('*.') === 0) {
6131
+ str = str.substring(2);
6132
+ }
6133
+ var parts = str.split('.');
6134
+ var tld = parts[parts.length - 1];
6135
+ if (options.require_tld) {
6136
+ // disallow fqdns without tld
6137
+ if (parts.length < 2) {
6138
+ return false;
6139
+ }
6140
+ if (!options.allow_numeric_tld && !/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(tld)) {
6141
+ return false;
6142
+ }
6143
+
6144
+ // disallow spaces
6145
+ if (/\s/.test(tld)) {
6146
+ return false;
6147
+ }
6148
+ }
6149
+
6150
+ // reject numeric TLDs
6151
+ if (!options.allow_numeric_tld && /^\d+$/.test(tld)) {
6152
+ return false;
6153
+ }
6154
+ return parts.every(function (part) {
6155
+ if (part.length > 63 && !options.ignore_max_length) {
6156
+ return false;
6157
+ }
6158
+ if (!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(part)) {
6159
+ return false;
6160
+ }
6161
+
6162
+ // disallow full-width chars
6163
+ if (/[\uff01-\uff5e]/.test(part)) {
6164
+ return false;
6165
+ }
6166
+
6167
+ // disallow parts starting or ending with hyphen
6168
+ if (/^-|-$/.test(part)) {
6169
+ return false;
6170
+ }
6171
+ if (!options.allow_underscores && /_/.test(part)) {
6172
+ return false;
6173
+ }
6174
+ return true;
6175
+ });
6176
+ }
6177
+
6178
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
6179
+ /**
6180
+ 11.3. Examples
6181
+
6182
+ The following addresses
6183
+
6184
+ fe80::1234 (on the 1st link of the node)
6185
+ ff02::5678 (on the 5th link of the node)
6186
+ ff08::9abc (on the 10th organization of the node)
6187
+
6188
+ would be represented as follows:
6189
+
6190
+ fe80::1234%1
6191
+ ff02::5678%5
6192
+ ff08::9abc%10
6193
+
6194
+ (Here we assume a natural translation from a zone index to the
6195
+ <zone_id> part, where the Nth zone of any scope is translated into
6196
+ "N".)
6197
+
6198
+ If we use interface names as <zone_id>, those addresses could also be
6199
+ represented as follows:
6200
+
6201
+ fe80::1234%ne0
6202
+ ff02::5678%pvc1.3
6203
+ ff08::9abc%interface10
6204
+
6205
+ where the interface "ne0" belongs to the 1st link, "pvc1.3" belongs
6206
+ to the 5th link, and "interface10" belongs to the 10th organization.
6207
+ * * */
6208
+ var IPv4SegmentFormat = '(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])';
6209
+ var IPv4AddressFormat = "(".concat(IPv4SegmentFormat, "[.]){3}").concat(IPv4SegmentFormat);
6210
+ var IPv4AddressRegExp = new RegExp("^".concat(IPv4AddressFormat, "$"));
6211
+ var IPv6SegmentFormat = '(?:[0-9a-fA-F]{1,4})';
6212
+ var IPv6AddressRegExp = new RegExp('^(' + "(?:".concat(IPv6SegmentFormat, ":){7}(?:").concat(IPv6SegmentFormat, "|:)|") + "(?:".concat(IPv6SegmentFormat, ":){6}(?:").concat(IPv4AddressFormat, "|:").concat(IPv6SegmentFormat, "|:)|") + "(?:".concat(IPv6SegmentFormat, ":){5}(?::").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,2}|:)|") + "(?:".concat(IPv6SegmentFormat, ":){4}(?:(:").concat(IPv6SegmentFormat, "){0,1}:").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,3}|:)|") + "(?:".concat(IPv6SegmentFormat, ":){3}(?:(:").concat(IPv6SegmentFormat, "){0,2}:").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,4}|:)|") + "(?:".concat(IPv6SegmentFormat, ":){2}(?:(:").concat(IPv6SegmentFormat, "){0,3}:").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,5}|:)|") + "(?:".concat(IPv6SegmentFormat, ":){1}(?:(:").concat(IPv6SegmentFormat, "){0,4}:").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,6}|:)|") + "(?::((?::".concat(IPv6SegmentFormat, "){0,5}:").concat(IPv4AddressFormat, "|(?::").concat(IPv6SegmentFormat, "){1,7}|:))") + ')(%[0-9a-zA-Z.]{1,})?$');
6213
+ function isIP(ipAddress) {
6214
+ var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
6215
+ assertString(ipAddress);
6216
+
6217
+ // accessing 'arguments' for backwards compatibility: isIP(ipAddress [, version])
6218
+ // eslint-disable-next-line prefer-rest-params
6219
+ var version = (_typeof(options) === 'object' ? options.version : arguments[1]) || '';
6220
+ if (!version) {
6221
+ return isIP(ipAddress, {
6222
+ version: 4
6223
+ }) || isIP(ipAddress, {
6224
+ version: 6
6225
+ });
6226
+ }
6227
+ if (version.toString() === '4') {
6228
+ return IPv4AddressRegExp.test(ipAddress);
6229
+ }
6230
+ if (version.toString() === '6') {
6231
+ return IPv6AddressRegExp.test(ipAddress);
6232
+ }
6233
+ return false;
6234
+ }
6235
+
6236
+ var default_email_options = {
6237
+ allow_display_name: false,
6238
+ allow_underscores: false,
6239
+ require_display_name: false,
6240
+ allow_utf8_local_part: true,
6241
+ require_tld: true,
6242
+ blacklisted_chars: '',
6243
+ ignore_max_length: false,
6244
+ host_blacklist: [],
6245
+ host_whitelist: []
6246
+ };
6247
+
6248
+ /* eslint-disable max-len */
6249
+ /* eslint-disable no-control-regex */
6250
+ var splitNameAddress = /^([^\x00-\x1F\x7F-\x9F\cX]+)</i;
6251
+ var emailUserPart = /^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i;
6252
+ var gmailUserPart = /^[a-z\d]+$/;
6253
+ var quotedEmailUser = /^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i;
6254
+ var emailUserUtf8Part = /^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A1-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i;
6255
+ var quotedEmailUserUtf8 = /^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;
6256
+ var defaultMaxEmailLength = 254;
6257
+ /* eslint-enable max-len */
6258
+ /* eslint-enable no-control-regex */
6259
+
6260
+ /**
6261
+ * Validate display name according to the RFC2822: https://tools.ietf.org/html/rfc2822#appendix-A.1.2
6262
+ * @param {String} display_name
6263
+ */
6264
+ function validateDisplayName(display_name) {
6265
+ var display_name_without_quotes = display_name.replace(/^"(.+)"$/, '$1');
6266
+ // display name with only spaces is not valid
6267
+ if (!display_name_without_quotes.trim()) {
6268
+ return false;
6269
+ }
6270
+
6271
+ // check whether display name contains illegal character
6272
+ var contains_illegal = /[\.";<>]/.test(display_name_without_quotes);
6273
+ if (contains_illegal) {
6274
+ // if contains illegal characters,
6275
+ // must to be enclosed in double-quotes, otherwise it's not a valid display name
6276
+ if (display_name_without_quotes === display_name) {
6277
+ return false;
6278
+ }
6279
+
6280
+ // the quotes in display name must start with character symbol \
6281
+ var all_start_with_back_slash = display_name_without_quotes.split('"').length === display_name_without_quotes.split('\\"').length;
6282
+ if (!all_start_with_back_slash) {
6283
+ return false;
6284
+ }
6285
+ }
6286
+ return true;
6287
+ }
6288
+ function isEmail(str, options) {
6289
+ assertString(str);
6290
+ options = merge(options, default_email_options);
6291
+ if (options.require_display_name || options.allow_display_name) {
6292
+ var display_email = str.match(splitNameAddress);
6293
+ if (display_email) {
6294
+ var display_name = display_email[1];
6295
+
6296
+ // Remove display name and angle brackets to get email address
6297
+ // Can be done in the regex but will introduce a ReDOS (See #1597 for more info)
6298
+ str = str.replace(display_name, '').replace(/(^<|>$)/g, '');
6299
+
6300
+ // sometimes need to trim the last space to get the display name
6301
+ // because there may be a space between display name and email address
6302
+ // eg. myname <address@gmail.com>
6303
+ // the display name is `myname` instead of `myname `, so need to trim the last space
6304
+ if (display_name.endsWith(' ')) {
6305
+ display_name = display_name.slice(0, -1);
6306
+ }
6307
+ if (!validateDisplayName(display_name)) {
6308
+ return false;
6309
+ }
6310
+ } else if (options.require_display_name) {
6311
+ return false;
6312
+ }
6313
+ }
6314
+ if (!options.ignore_max_length && str.length > defaultMaxEmailLength) {
6315
+ return false;
6316
+ }
6317
+ var parts = str.split('@');
6318
+ var domain = parts.pop();
6319
+ var lower_domain = domain.toLowerCase();
6320
+ if (options.host_blacklist.length > 0 && checkHost(lower_domain, options.host_blacklist)) {
6321
+ return false;
6322
+ }
6323
+ if (options.host_whitelist.length > 0 && !checkHost(lower_domain, options.host_whitelist)) {
6324
+ return false;
6325
+ }
6326
+ var user = parts.join('@');
6327
+ if (options.domain_specific_validation && (lower_domain === 'gmail.com' || lower_domain === 'googlemail.com')) {
6328
+ /*
6329
+ Previously we removed dots for gmail addresses before validating.
6330
+ This was removed because it allows `multiple..dots@gmail.com`
6331
+ to be reported as valid, but it is not.
6332
+ Gmail only normalizes single dots, removing them from here is pointless,
6333
+ should be done in normalizeEmail
6334
+ */
6335
+ user = user.toLowerCase();
6336
+
6337
+ // Removing sub-address from username before gmail validation
6338
+ var username = user.split('+')[0];
6339
+
6340
+ // Dots are not included in gmail length restriction
6341
+ if (!isByteLength(username.replace(/\./g, ''), {
6342
+ min: 6,
6343
+ max: 30
6344
+ })) {
6345
+ return false;
6346
+ }
6347
+ var _user_parts = username.split('.');
6348
+ for (var i = 0; i < _user_parts.length; i++) {
6349
+ if (!gmailUserPart.test(_user_parts[i])) {
6350
+ return false;
6351
+ }
6352
+ }
6353
+ }
6354
+ if (options.ignore_max_length === false && (!isByteLength(user, {
6355
+ max: 64
6356
+ }) || !isByteLength(domain, {
6357
+ max: 254
6358
+ }))) {
6359
+ return false;
6360
+ }
6361
+ if (!isFQDN(domain, {
6362
+ require_tld: options.require_tld,
6363
+ ignore_max_length: options.ignore_max_length,
6364
+ allow_underscores: options.allow_underscores
6365
+ })) {
6366
+ if (!options.allow_ip_domain) {
6367
+ return false;
6368
+ }
6369
+ if (!isIP(domain)) {
6370
+ if (!domain.startsWith('[') || !domain.endsWith(']')) {
6371
+ return false;
6372
+ }
6373
+ var noBracketdomain = domain.slice(1, -1);
6374
+ if (noBracketdomain.length === 0 || !isIP(noBracketdomain)) {
6375
+ return false;
6376
+ }
6377
+ }
6378
+ }
6379
+ if (options.blacklisted_chars) {
6380
+ if (user.search(new RegExp("[".concat(options.blacklisted_chars, "]+"), 'g')) !== -1) return false;
6381
+ }
6382
+ if (user[0] === '"' && user[user.length - 1] === '"') {
6383
+ user = user.slice(1, user.length - 1);
6384
+ return options.allow_utf8_local_part ? quotedEmailUserUtf8.test(user) : quotedEmailUser.test(user);
6385
+ }
6386
+ var pattern = options.allow_utf8_local_part ? emailUserUtf8Part : emailUserPart;
6387
+ var user_parts = user.split('.');
6388
+ for (var _i = 0; _i < user_parts.length; _i++) {
6389
+ if (!pattern.test(user_parts[_i])) {
6390
+ return false;
6391
+ }
6392
+ }
6393
+ return true;
6394
+ }
6395
+
6024
6396
  /* eslint-disable camelcase */
6025
- const isEmail = validator.isEmail;
6026
6397
  const blacklistedChars = [
6027
6398
  '!',
6028
6399
  '@',
@@ -7029,5 +7400,5 @@ const barcodeGetters = {
7029
7400
  getReferrers,
7030
7401
  };
7031
7402
 
7032
- export { AddressOptionType, AddressType, ApiError, additionalInformationGetters, bannerGetters, barcodeGetters, cartGetters, categoryEntryGetters, categoryGetters, categoryTreeGetters, companyGetters, cookieBarGetters, countryGetters, deleteAddress, deleteAllCartItems, deleteBasketReservations, deleteBlocks, deleteCart, deleteCartItem, deleteCategory, deleteCoupon, deleteNewsletterSubscription, deleteReview, deleteTranslationByLanguage, deleteWishlistItem, doAcceptOffer, doAddCartItem, doAddCartItems, doAddCategory, doAddCoupon, doAddWishlistItem, doAdditionalInformation, doApplyConfiguration, doApprovePayPalTransaction, doAttachMolliePaymentToOrder, doAttachPaymentToOrder, doCaptureMolliePayment, doCapturePayPalOrder, doCapturePayPalOrderV2, doChangeUserPassword, doCreateMolliePaymentFromBasket, doCreateMolliePaymentFromOrder, doCreatePayPalCreditCardTransaction, doCreatePayPalOrder, doCreatePayPalTransaction, doCreatePlentyPaymentFromMolliePayment, doCreatePlentyPaymentFromPayPalOrder, doCreateTranslations, doCustomerContactMail, doEmailConfirmation, doExecutePayment, doHandleAllowPaymentApplePay, doHandleAllowPaymentGooglePay, doHandlePayPalAddress, doHandlePayPalFundingSources, doHandlePayPalPaymentFundingSources, doLogin, doLoginAsGuest, doLogoutUser, doMakeOrderReturn, doMigrateGuestOrderToCustomer, doOrderAgainInformation, doPatchMolliePayment, doPlaceOrder, doPreparePayment, doRegisterUser, doRejectOffer, doRequestResetPasswordLink, doResetPassword, doReview, doSaveAddress, doSaveBlocks, doSavePreferredDeliveryServices, doSubscribeNewsletter, doUploadOrderPropertyFile, doUploadStorageItem, facetGetters, forgotPasswordGetters, getActiveShippingCountries, getAddresses$1 as getAddresses, getAddressesData, getAggregatedCountries, getAllTranslationLanguages, getAllTranslations, getAllTranslationsByLanguage, getAuthenticatedReview, getBlocks, getCart, getCategoriesSearch, getCategoryById, getCategoryTemplate, getCategoryTree, getCustomerClasses, getExecutePayPalOrder, getFacet, getInit, getLegalTexts, getMolliePayment, getMolliePaymentAndUpdateStatus, getMollieSettings, getOffer, getOrder, getOrderDocument, getOrderPropertyFile, getOrders$1 as getOrders, getPackstations, getPayPalApplePayTransactionInfo, getPayPalDataClientToken, getPayPalFraudId, getPayPalGooglePayTransactionInfo, getPayPalMerchantAndClientIds, getPayPalOrder, getPayPalOrderDetails, getPayPalSettings, getPaymentProviders, getPreferredDeliveryLocationShippingProfiles, getPreferredDeliveryServices$1 as getPreferredDeliveryServices, getPreferredDeliveryShippingProfiles, getProduct, getReturnReasons$1 as getReturnReasons, getReturns, getReview, getReviewAverage, getRobots$2 as getRobots, getSearch, getSession, getShippingProvider$1 as getShippingProvider, getStorageItems, getStorageMetadata, getTranslations, getWishlist, heroesGetters, legalGetters, localesGetters, manufacturerGetters, offerGetters, orderConfirmationGetters, orderDocumentGetters, orderGetters, paginationGetters, patchMergeTranslations, paymentProviderGetters, paypalGetters, productAttributeGetters, productBundleGetters, productGetters, productImageGetters, productPriceGetters, productPropertyGetters, productSeoSettingsGetters, returnGetters, reviewGetters, robotGetters, setCartItemQuantity, setCategorySettings, setCategoryTemplate, setCheckoutAddress, setConfiguration, setMobilePaymentProviderList, setPaymentProvider, setReview, setShippingProvider, shippingProviderGetters, tagGetters, userAddressGetters, userGetters, wishlistGetters };
7403
+ export { AddressOptionType, AddressType, ApiError, additionalInformationGetters, bannerGetters, barcodeGetters, cartGetters, categoryEntryGetters, categoryGetters, categoryTreeGetters, companyGetters, cookieBarGetters, countryGetters, deleteAddress, deleteAllCartItems, deleteBasketReservations, deleteBlocks, deleteCart, deleteCartItem, deleteCategory, deleteCoupon, deleteNewsletterSubscription, deleteReview, deleteTranslationByLanguage, deleteWishlistItem, doAcceptOffer, doAddCartItem, doAddCartItems, doAddCategory, doAddCoupon, doAddWishlistItem, doAdditionalInformation, doApplyConfiguration, doApprovePayPalTransaction, doAttachMolliePaymentToOrder, doAttachPaymentToOrder, doCaptureMolliePayment, doCapturePayPalOrder, doCapturePayPalOrderV2, doChangeUserPassword, doCreateMolliePaymentFromBasket, doCreateMolliePaymentFromOrder, doCreatePayPalCreditCardTransaction, doCreatePayPalOrder, doCreatePayPalTransaction, doCreatePlentyPaymentFromMolliePayment, doCreatePlentyPaymentFromPayPalOrder, doCreateTranslations, doCustomerContactMail, doEmailConfirmation, doExecutePayment, doHandleAllowPaymentApplePay, doHandleAllowPaymentGooglePay, doHandlePayPalAddress, doHandlePayPalFundingSources, doHandlePayPalPaymentFundingSources, doLogin, doLoginAsGuest, doLogoutUser, doMakeOrderReturn, doMigrateGuestOrderToCustomer, doOrderAgainInformation, doPatchMolliePayment, doPlaceOrder, doPreparePayment, doRegisterUser, doRejectOffer, doRequestResetPasswordLink, doResetPassword, doReview, doSaveAddress, doSaveBlocks, doSavePreferredDeliveryServices, doSubscribeNewsletter, doUploadOrderPropertyFile, doUploadStorageItem, facetGetters, forgotPasswordGetters, getActiveShippingCountries, getAddresses$1 as getAddresses, getAddressesData, getAggregatedCountries, getAllTranslationLanguages, getAllTranslations, getAllTranslationsByLanguage, getAuthenticatedReview, getBlocks, getCart, getCategoriesSearch, getCategoryById, getCategoryTemplate, getCategoryTree, getCustomerClasses, getExecutePayPalOrder, getFacet, getInit, getLegalTexts, getMolliePayment, getMolliePaymentAndUpdateStatus, getMollieSettings, getOffer, getOrder, getOrderDocument, getOrderPropertyFile, getOrders$1 as getOrders, getPackstations, getPayPalApplePayTransactionInfo, getPayPalDataClientToken, getPayPalFraudId, getPayPalGooglePayTransactionInfo, getPayPalMerchantAndClientIds, getPayPalOrder, getPayPalOrderDetails, getPayPalSettings, getPaymentProviders, getPreferredDeliveryLocationShippingProfiles, getPreferredDeliveryServices$1 as getPreferredDeliveryServices, getPreferredDeliveryShippingProfiles, getProduct, getProductsByIds, getReturnReasons$1 as getReturnReasons, getReturns, getReview, getReviewAverage, getRobots$2 as getRobots, getSearch, getSession, getShippingProvider$1 as getShippingProvider, getStorageItems, getStorageMetadata, getTranslations, getWishlist, heroesGetters, legalGetters, localesGetters, manufacturerGetters, offerGetters, orderConfirmationGetters, orderDocumentGetters, orderGetters, paginationGetters, patchMergeTranslations, paymentProviderGetters, paypalGetters, productAttributeGetters, productBundleGetters, productGetters, productImageGetters, productPriceGetters, productPropertyGetters, productSeoSettingsGetters, returnGetters, reviewGetters, robotGetters, setCartItemQuantity, setCategorySettings, setCategoryTemplate, setCheckoutAddress, setConfiguration, setMobilePaymentProviderList, setPaymentProvider, setReview, setShippingProvider, shippingProviderGetters, tagGetters, userAddressGetters, userGetters, wishlistGetters };
7033
7404
  //# sourceMappingURL=index.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.es.js","sources":["../../../node_modules/validator/es/lib/util/assertString.js","../../../node_modules/validator/es/lib/util/checkHost.js","../../../node_modules/validator/es/lib/isByteLength.js","../../../node_modules/validator/es/lib/util/merge.js","../../../node_modules/validator/es/lib/isFQDN.js","../../../node_modules/validator/es/lib/isIP.js","../../../node_modules/validator/es/lib/isEmail.js"],"sourcesContent":["export default function assertString(input) {\n if (input === undefined || input === null) throw new TypeError(\"Expected a string but received a \".concat(input));\n if (input.constructor.name !== 'String') throw new TypeError(\"Expected a string but received a \".concat(input.constructor.name));\n}","function isRegExp(obj) {\n return Object.prototype.toString.call(obj) === '[object RegExp]';\n}\nexport default function checkHost(host, matches) {\n for (var i = 0; i < matches.length; i++) {\n var match = matches[i];\n if (host === match || isRegExp(match) && match.test(host)) {\n return true;\n }\n }\n return false;\n}","function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nimport assertString from './util/assertString';\n\n/* eslint-disable prefer-rest-params */\nexport default function isByteLength(str, options) {\n assertString(str);\n var min;\n var max;\n if (_typeof(options) === 'object') {\n min = options.min || 0;\n max = options.max;\n } else {\n // backwards compatibility: isByteLength(str, min [, max])\n min = arguments[1];\n max = arguments[2];\n }\n var len = encodeURI(str).split(/%..|./).length - 1;\n return len >= min && (typeof max === 'undefined' || len <= max);\n}","export default function merge() {\n var obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var defaults = arguments.length > 1 ? arguments[1] : undefined;\n for (var key in defaults) {\n if (typeof obj[key] === 'undefined') {\n obj[key] = defaults[key];\n }\n }\n return obj;\n}","import assertString from './util/assertString';\nimport merge from './util/merge';\nvar default_fqdn_options = {\n require_tld: true,\n allow_underscores: false,\n allow_trailing_dot: false,\n allow_numeric_tld: false,\n allow_wildcard: false,\n ignore_max_length: false\n};\nexport default function isFQDN(str, options) {\n assertString(str);\n options = merge(options, default_fqdn_options);\n\n /* Remove the optional trailing dot before checking validity */\n if (options.allow_trailing_dot && str[str.length - 1] === '.') {\n str = str.substring(0, str.length - 1);\n }\n\n /* Remove the optional wildcard before checking validity */\n if (options.allow_wildcard === true && str.indexOf('*.') === 0) {\n str = str.substring(2);\n }\n var parts = str.split('.');\n var tld = parts[parts.length - 1];\n if (options.require_tld) {\n // disallow fqdns without tld\n if (parts.length < 2) {\n return false;\n }\n if (!options.allow_numeric_tld && !/^([a-z\\u00A1-\\u00A8\\u00AA-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(tld)) {\n return false;\n }\n\n // disallow spaces\n if (/\\s/.test(tld)) {\n return false;\n }\n }\n\n // reject numeric TLDs\n if (!options.allow_numeric_tld && /^\\d+$/.test(tld)) {\n return false;\n }\n return parts.every(function (part) {\n if (part.length > 63 && !options.ignore_max_length) {\n return false;\n }\n if (!/^[a-z_\\u00a1-\\uffff0-9-]+$/i.test(part)) {\n return false;\n }\n\n // disallow full-width chars\n if (/[\\uff01-\\uff5e]/.test(part)) {\n return false;\n }\n\n // disallow parts starting or ending with hyphen\n if (/^-|-$/.test(part)) {\n return false;\n }\n if (!options.allow_underscores && /_/.test(part)) {\n return false;\n }\n return true;\n });\n}","function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nimport assertString from './util/assertString';\n/**\n11.3. Examples\n\n The following addresses\n\n fe80::1234 (on the 1st link of the node)\n ff02::5678 (on the 5th link of the node)\n ff08::9abc (on the 10th organization of the node)\n\n would be represented as follows:\n\n fe80::1234%1\n ff02::5678%5\n ff08::9abc%10\n\n (Here we assume a natural translation from a zone index to the\n <zone_id> part, where the Nth zone of any scope is translated into\n \"N\".)\n\n If we use interface names as <zone_id>, those addresses could also be\n represented as follows:\n\n fe80::1234%ne0\n ff02::5678%pvc1.3\n ff08::9abc%interface10\n\n where the interface \"ne0\" belongs to the 1st link, \"pvc1.3\" belongs\n to the 5th link, and \"interface10\" belongs to the 10th organization.\n * * */\nvar IPv4SegmentFormat = '(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])';\nvar IPv4AddressFormat = \"(\".concat(IPv4SegmentFormat, \"[.]){3}\").concat(IPv4SegmentFormat);\nvar IPv4AddressRegExp = new RegExp(\"^\".concat(IPv4AddressFormat, \"$\"));\nvar IPv6SegmentFormat = '(?:[0-9a-fA-F]{1,4})';\nvar IPv6AddressRegExp = new RegExp('^(' + \"(?:\".concat(IPv6SegmentFormat, \":){7}(?:\").concat(IPv6SegmentFormat, \"|:)|\") + \"(?:\".concat(IPv6SegmentFormat, \":){6}(?:\").concat(IPv4AddressFormat, \"|:\").concat(IPv6SegmentFormat, \"|:)|\") + \"(?:\".concat(IPv6SegmentFormat, \":){5}(?::\").concat(IPv4AddressFormat, \"|(:\").concat(IPv6SegmentFormat, \"){1,2}|:)|\") + \"(?:\".concat(IPv6SegmentFormat, \":){4}(?:(:\").concat(IPv6SegmentFormat, \"){0,1}:\").concat(IPv4AddressFormat, \"|(:\").concat(IPv6SegmentFormat, \"){1,3}|:)|\") + \"(?:\".concat(IPv6SegmentFormat, \":){3}(?:(:\").concat(IPv6SegmentFormat, \"){0,2}:\").concat(IPv4AddressFormat, \"|(:\").concat(IPv6SegmentFormat, \"){1,4}|:)|\") + \"(?:\".concat(IPv6SegmentFormat, \":){2}(?:(:\").concat(IPv6SegmentFormat, \"){0,3}:\").concat(IPv4AddressFormat, \"|(:\").concat(IPv6SegmentFormat, \"){1,5}|:)|\") + \"(?:\".concat(IPv6SegmentFormat, \":){1}(?:(:\").concat(IPv6SegmentFormat, \"){0,4}:\").concat(IPv4AddressFormat, \"|(:\").concat(IPv6SegmentFormat, \"){1,6}|:)|\") + \"(?::((?::\".concat(IPv6SegmentFormat, \"){0,5}:\").concat(IPv4AddressFormat, \"|(?::\").concat(IPv6SegmentFormat, \"){1,7}|:))\") + ')(%[0-9a-zA-Z.]{1,})?$');\nexport default function isIP(ipAddress) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n assertString(ipAddress);\n\n // accessing 'arguments' for backwards compatibility: isIP(ipAddress [, version])\n // eslint-disable-next-line prefer-rest-params\n var version = (_typeof(options) === 'object' ? options.version : arguments[1]) || '';\n if (!version) {\n return isIP(ipAddress, {\n version: 4\n }) || isIP(ipAddress, {\n version: 6\n });\n }\n if (version.toString() === '4') {\n return IPv4AddressRegExp.test(ipAddress);\n }\n if (version.toString() === '6') {\n return IPv6AddressRegExp.test(ipAddress);\n }\n return false;\n}","import assertString from './util/assertString';\nimport checkHost from './util/checkHost';\nimport isByteLength from './isByteLength';\nimport isFQDN from './isFQDN';\nimport isIP from './isIP';\nimport merge from './util/merge';\nvar default_email_options = {\n allow_display_name: false,\n allow_underscores: false,\n require_display_name: false,\n allow_utf8_local_part: true,\n require_tld: true,\n blacklisted_chars: '',\n ignore_max_length: false,\n host_blacklist: [],\n host_whitelist: []\n};\n\n/* eslint-disable max-len */\n/* eslint-disable no-control-regex */\nvar splitNameAddress = /^([^\\x00-\\x1F\\x7F-\\x9F\\cX]+)</i;\nvar emailUserPart = /^[a-z\\d!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~]+$/i;\nvar gmailUserPart = /^[a-z\\d]+$/;\nvar quotedEmailUser = /^([\\s\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x7f\\x21\\x23-\\x5b\\x5d-\\x7e]|(\\\\[\\x01-\\x09\\x0b\\x0c\\x0d-\\x7f]))*$/i;\nvar emailUserUtf8Part = /^[a-z\\d!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~\\u00A1-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]+$/i;\nvar quotedEmailUserUtf8 = /^([\\s\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x7f\\x21\\x23-\\x5b\\x5d-\\x7e\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]|(\\\\[\\x01-\\x09\\x0b\\x0c\\x0d-\\x7f\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]))*$/i;\nvar defaultMaxEmailLength = 254;\n/* eslint-enable max-len */\n/* eslint-enable no-control-regex */\n\n/**\n * Validate display name according to the RFC2822: https://tools.ietf.org/html/rfc2822#appendix-A.1.2\n * @param {String} display_name\n */\nfunction validateDisplayName(display_name) {\n var display_name_without_quotes = display_name.replace(/^\"(.+)\"$/, '$1');\n // display name with only spaces is not valid\n if (!display_name_without_quotes.trim()) {\n return false;\n }\n\n // check whether display name contains illegal character\n var contains_illegal = /[\\.\";<>]/.test(display_name_without_quotes);\n if (contains_illegal) {\n // if contains illegal characters,\n // must to be enclosed in double-quotes, otherwise it's not a valid display name\n if (display_name_without_quotes === display_name) {\n return false;\n }\n\n // the quotes in display name must start with character symbol \\\n var all_start_with_back_slash = display_name_without_quotes.split('\"').length === display_name_without_quotes.split('\\\\\"').length;\n if (!all_start_with_back_slash) {\n return false;\n }\n }\n return true;\n}\nexport default function isEmail(str, options) {\n assertString(str);\n options = merge(options, default_email_options);\n if (options.require_display_name || options.allow_display_name) {\n var display_email = str.match(splitNameAddress);\n if (display_email) {\n var display_name = display_email[1];\n\n // Remove display name and angle brackets to get email address\n // Can be done in the regex but will introduce a ReDOS (See #1597 for more info)\n str = str.replace(display_name, '').replace(/(^<|>$)/g, '');\n\n // sometimes need to trim the last space to get the display name\n // because there may be a space between display name and email address\n // eg. myname <address@gmail.com>\n // the display name is `myname` instead of `myname `, so need to trim the last space\n if (display_name.endsWith(' ')) {\n display_name = display_name.slice(0, -1);\n }\n if (!validateDisplayName(display_name)) {\n return false;\n }\n } else if (options.require_display_name) {\n return false;\n }\n }\n if (!options.ignore_max_length && str.length > defaultMaxEmailLength) {\n return false;\n }\n var parts = str.split('@');\n var domain = parts.pop();\n var lower_domain = domain.toLowerCase();\n if (options.host_blacklist.length > 0 && checkHost(lower_domain, options.host_blacklist)) {\n return false;\n }\n if (options.host_whitelist.length > 0 && !checkHost(lower_domain, options.host_whitelist)) {\n return false;\n }\n var user = parts.join('@');\n if (options.domain_specific_validation && (lower_domain === 'gmail.com' || lower_domain === 'googlemail.com')) {\n /*\n Previously we removed dots for gmail addresses before validating.\n This was removed because it allows `multiple..dots@gmail.com`\n to be reported as valid, but it is not.\n Gmail only normalizes single dots, removing them from here is pointless,\n should be done in normalizeEmail\n */\n user = user.toLowerCase();\n\n // Removing sub-address from username before gmail validation\n var username = user.split('+')[0];\n\n // Dots are not included in gmail length restriction\n if (!isByteLength(username.replace(/\\./g, ''), {\n min: 6,\n max: 30\n })) {\n return false;\n }\n var _user_parts = username.split('.');\n for (var i = 0; i < _user_parts.length; i++) {\n if (!gmailUserPart.test(_user_parts[i])) {\n return false;\n }\n }\n }\n if (options.ignore_max_length === false && (!isByteLength(user, {\n max: 64\n }) || !isByteLength(domain, {\n max: 254\n }))) {\n return false;\n }\n if (!isFQDN(domain, {\n require_tld: options.require_tld,\n ignore_max_length: options.ignore_max_length,\n allow_underscores: options.allow_underscores\n })) {\n if (!options.allow_ip_domain) {\n return false;\n }\n if (!isIP(domain)) {\n if (!domain.startsWith('[') || !domain.endsWith(']')) {\n return false;\n }\n var noBracketdomain = domain.slice(1, -1);\n if (noBracketdomain.length === 0 || !isIP(noBracketdomain)) {\n return false;\n }\n }\n }\n if (options.blacklisted_chars) {\n if (user.search(new RegExp(\"[\".concat(options.blacklisted_chars, \"]+\"), 'g')) !== -1) return false;\n }\n if (user[0] === '\"' && user[user.length - 1] === '\"') {\n user = user.slice(1, user.length - 1);\n return options.allow_utf8_local_part ? quotedEmailUserUtf8.test(user) : quotedEmailUser.test(user);\n }\n var pattern = options.allow_utf8_local_part ? emailUserUtf8Part : emailUserPart;\n var user_parts = user.split('.');\n for (var _i = 0; _i < user_parts.length; _i++) {\n if (!pattern.test(user_parts[_i])) {\n return false;\n }\n }\n return true;\n}"],"names":["_typeof"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -81,9 +81,8 @@ export interface FacetSearchCriteria {
81
81
  priceMax?: string;
82
82
  tagId?: string;
83
83
  tagName?: string;
84
- type?: 'category' | 'tag' | 'cross_selling' | 'manufacturer' | 'last_seen' | 'all' | 'live-shopping' | 'variation' | 'variation-list' | 'search';
84
+ type?: 'category' | 'tag' | 'cross_selling' | 'manufacturer' | 'all' | 'live-shopping' | 'search';
85
85
  crossSellingRelation?: 'Accessory' | 'ReplacementPart' | 'Similar' | 'Bundle';
86
86
  itemId?: string;
87
- itemIds?: string[];
88
87
  }
89
88
  //# sourceMappingURL=facet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"facet.d.ts","sourceRoot":"","sources":["../../../src/types/api/facet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,MAAM,WAAW,UAAU;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB;AAED,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,OAAO,CAAC;IACnB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAA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YAAY;IAC3B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,KAAK;IACpB,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,YAAY,EAAE,YAAY,CAAC;IAC3B,UAAU,EAAE;QACV,MAAM,EAAE,MAAM,CAAC;QACf,cAAc,EAAE,MAAM,EAAE,CAAC;KAC1B,CAAC;IACF,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC;CAClB;AAED,MAAM,WAAW,mBAAmB;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,UAAU,GAAG,KAAK,GAAG,eAAe,GAAG,cAAc,GAAG,KAAK,GAAG,eAAe,GAAG,QAAQ,CAAC;IAClG,oBAAoB,CAAC,EAAE,WAAW,GAAG,iBAAiB,GAAG,SAAS,GAAE,QAAQ,CAAC;IAC7E,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -23,6 +23,7 @@ export * from './orders';
23
23
  export * from './payment';
24
24
  export * from './paypal';
25
25
  export * from './product';
26
+ export * from './productByIds';
26
27
  export * from './register';
27
28
  export * from './responseEvents';
28
29
  export * from './review';
@@ -1 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C;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { Product } from './product';
2
+ export interface ProductByIdsSearchCriteria {
3
+ variationIds: number[];
4
+ page?: number;
5
+ itemsPerPage?: number;
6
+ sort?: string;
7
+ }
8
+ export interface ProductsByIdsResponse {
9
+ products: Product[];
10
+ total: number;
11
+ }
12
+ //# sourceMappingURL=productByIds.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"productByIds.d.ts","sourceRoot":"","sources":["../../../src/types/api/productByIds.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,MAAM,WAAW,0BAA0B;IACvC,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,qBAAqB;IAClC,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACjB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plentymarkets/shop-api",
3
- "version": "0.147.1",
3
+ "version": "0.148.1",
4
4
  "sideEffects": false,
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -47,5 +47,5 @@
47
47
  "lib/**/*",
48
48
  "server/**/*"
49
49
  ],
50
- "gitHead": "f26e7121bb8ead6ace281cc1463d55c67699622c"
50
+ "gitHead": "21dd32b60911de7ef1bc60490bc16e4c956ec78c"
51
51
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/getFacet/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,EAGL,mBAAmB,EACnB,IAAI,EACL,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,+BAA+B,EAAE,MAAM,qBAAqB,CAAC;AAGtE;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,QAAQ,GACnB,SAAS,+BAA+B,EACxC,QAAQ,mBAAmB,KAC1B,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAsFrB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/getFacet/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,EAGL,mBAAmB,EACnB,IAAI,EACL,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,+BAA+B,EAAE,MAAM,qBAAqB,CAAC;AAGtE;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,QAAQ,GACnB,SAAS,+BAA+B,EACxC,QAAQ,mBAAmB,KAC1B,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CA0ErB,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { Data, ProductByIdsSearchCriteria, ProductsByIdsResponse } from '../../types/api';
2
+ import { PlentysystemsIntegrationContext } from '../../types/context';
3
+ /**
4
+ * Method getProductsByIds - Used to get multiple products by variation Id.
5
+ *
6
+ * @remarks
7
+ * * Calls /rest/storefront/items
8
+ * * Method should be used to get multiple products by variation Id.
9
+ *
10
+ * @param { ProductByIdsSearchCriteria } params
11
+ *
12
+ * @returns
13
+ * list of Products.
14
+ *
15
+ * @example
16
+ * ``` ts
17
+ * const { data } = await useSdk().plentysystems.getProductsByIds({
18
+ * variationIds: [1234, 4565, 1789],
19
+ * });
20
+ * ```
21
+ */
22
+ export declare const getProductsByIds: (context: PlentysystemsIntegrationContext, params: ProductByIdsSearchCriteria) => Promise<Data<ProductsByIdsResponse>>;
23
+ //# sourceMappingURL=index.d.ts.map