@commercetools-frontend/react-notifications 22.25.1 → 22.27.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.
@@ -62,7 +62,7 @@ var _sliceInstanceProperty__default = /*#__PURE__*/_interopDefault(_sliceInstanc
62
62
  var isNumber__default = /*#__PURE__*/_interopDefault(isNumber);
63
63
 
64
64
  // NOTE: This string will be replaced on build time with the package version.
65
- var version = "22.25.1";
65
+ var version = "22.27.0";
66
66
 
67
67
  const Context = /*#__PURE__*/react.createContext(() => null);
68
68
  function NotificationProviderForCustomComponent(props) {
@@ -264,6 +264,11 @@ var apiErrorMessages = reactIntl.defineMessages({
264
264
  description: 'User tries to create a price with the exact same values as for an already existing price',
265
265
  defaultMessage: 'A price with the same scope already exists for this product variant. Make sure that the combination of currency, country, customer group, channel and valid dates is unique per price.'
266
266
  },
267
+ DuplicateStandalonePriceScope: {
268
+ id: 'ApiError.DuplicateStandalonePriceScope',
269
+ description: 'User tries to create a standalone price with the exact same values as for an already existing standalone price',
270
+ defaultMessage: 'A price with the same scope already exists for this product variant. The combination of currency, country, customer group, channel and validity date must be unique for each price per SKU.'
271
+ },
267
272
  DuplicateVariantValues: {
268
273
  id: 'ApiError.DuplicateVariantValues',
269
274
  description: 'User tries to generate a variant with the same SKU or attribute values',
@@ -284,6 +289,16 @@ var apiErrorMessages = reactIntl.defineMessages({
284
289
  description: 'User enters an invalid value for the product slug',
285
290
  defaultMessage: 'Slugs may only contain alphanumeric (0-9A-Z) characters, underscores and hyphens and must have a length between 2 and 256 characters.'
286
291
  },
292
+ OverlappingPriceValidity: {
293
+ id: 'ApiError.OverlappingPriceValidity',
294
+ description: 'Returned when a given price validity period conflicts with an existing one',
295
+ defaultMessage: 'Another price with overlapping validity dates exists. Each price combination needs to have unique validity dates.'
296
+ },
297
+ OverlappingStandalonePriceValidity: {
298
+ id: 'ApiError.OverlappingStandalonePriceValidity',
299
+ description: 'Returned when a given standalone price validity period conflicts with an existing one',
300
+ defaultMessage: 'Another price with overlapping validity dates exists. Each price combination needs to have unique validity dates.'
301
+ },
287
302
  PendingOperation: {
288
303
  id: 'ApiError.PendingOperation',
289
304
  description: 'User tries to start a new process when one is already underway',
@@ -62,7 +62,7 @@ var _sliceInstanceProperty__default = /*#__PURE__*/_interopDefault(_sliceInstanc
62
62
  var isNumber__default = /*#__PURE__*/_interopDefault(isNumber);
63
63
 
64
64
  // NOTE: This string will be replaced on build time with the package version.
65
- var version = "22.25.1";
65
+ var version = "22.27.0";
66
66
 
67
67
  const Context = /*#__PURE__*/react.createContext(() => null);
68
68
  function NotificationProviderForCustomComponent(props) {
@@ -252,6 +252,11 @@ var apiErrorMessages = reactIntl.defineMessages({
252
252
  description: 'User tries to create a price with the exact same values as for an already existing price',
253
253
  defaultMessage: 'A price with the same scope already exists for this product variant. Make sure that the combination of currency, country, customer group, channel and valid dates is unique per price.'
254
254
  },
255
+ DuplicateStandalonePriceScope: {
256
+ id: 'ApiError.DuplicateStandalonePriceScope',
257
+ description: 'User tries to create a standalone price with the exact same values as for an already existing standalone price',
258
+ defaultMessage: 'A price with the same scope already exists for this product variant. The combination of currency, country, customer group, channel and validity date must be unique for each price per SKU.'
259
+ },
255
260
  DuplicateVariantValues: {
256
261
  id: 'ApiError.DuplicateVariantValues',
257
262
  description: 'User tries to generate a variant with the same SKU or attribute values',
@@ -272,6 +277,16 @@ var apiErrorMessages = reactIntl.defineMessages({
272
277
  description: 'User enters an invalid value for the product slug',
273
278
  defaultMessage: 'Slugs may only contain alphanumeric (0-9A-Z) characters, underscores and hyphens and must have a length between 2 and 256 characters.'
274
279
  },
280
+ OverlappingPriceValidity: {
281
+ id: 'ApiError.OverlappingPriceValidity',
282
+ description: 'Returned when a given price validity period conflicts with an existing one',
283
+ defaultMessage: 'Another price with overlapping validity dates exists. Each price combination needs to have unique validity dates.'
284
+ },
285
+ OverlappingStandalonePriceValidity: {
286
+ id: 'ApiError.OverlappingStandalonePriceValidity',
287
+ description: 'Returned when a given standalone price validity period conflicts with an existing one',
288
+ defaultMessage: 'Another price with overlapping validity dates exists. Each price combination needs to have unique validity dates.'
289
+ },
275
290
  PendingOperation: {
276
291
  id: 'ApiError.PendingOperation',
277
292
  description: 'User tries to start a new process when one is already underway',
@@ -36,7 +36,7 @@ import isNumber from 'lodash/isNumber';
36
36
  import { useShowNotification } from '@commercetools-frontend/actions-global';
37
37
 
38
38
  // NOTE: This string will be replaced on build time with the package version.
39
- var version = "22.25.1";
39
+ var version = "22.27.0";
40
40
 
41
41
  const Context = /*#__PURE__*/createContext(() => null);
42
42
  function NotificationProviderForCustomComponent(props) {
@@ -238,6 +238,11 @@ var apiErrorMessages = defineMessages({
238
238
  description: 'User tries to create a price with the exact same values as for an already existing price',
239
239
  defaultMessage: 'A price with the same scope already exists for this product variant. Make sure that the combination of currency, country, customer group, channel and valid dates is unique per price.'
240
240
  },
241
+ DuplicateStandalonePriceScope: {
242
+ id: 'ApiError.DuplicateStandalonePriceScope',
243
+ description: 'User tries to create a standalone price with the exact same values as for an already existing standalone price',
244
+ defaultMessage: 'A price with the same scope already exists for this product variant. The combination of currency, country, customer group, channel and validity date must be unique for each price per SKU.'
245
+ },
241
246
  DuplicateVariantValues: {
242
247
  id: 'ApiError.DuplicateVariantValues',
243
248
  description: 'User tries to generate a variant with the same SKU or attribute values',
@@ -258,6 +263,16 @@ var apiErrorMessages = defineMessages({
258
263
  description: 'User enters an invalid value for the product slug',
259
264
  defaultMessage: 'Slugs may only contain alphanumeric (0-9A-Z) characters, underscores and hyphens and must have a length between 2 and 256 characters.'
260
265
  },
266
+ OverlappingPriceValidity: {
267
+ id: 'ApiError.OverlappingPriceValidity',
268
+ description: 'Returned when a given price validity period conflicts with an existing one',
269
+ defaultMessage: 'Another price with overlapping validity dates exists. Each price combination needs to have unique validity dates.'
270
+ },
271
+ OverlappingStandalonePriceValidity: {
272
+ id: 'ApiError.OverlappingStandalonePriceValidity',
273
+ description: 'Returned when a given standalone price validity period conflicts with an existing one',
274
+ defaultMessage: 'Another price with overlapping validity dates exists. Each price combination needs to have unique validity dates.'
275
+ },
261
276
  PendingOperation: {
262
277
  id: 'ApiError.PendingOperation',
263
278
  description: 'User tries to start a new process when one is already underway',
@@ -44,6 +44,11 @@ declare const _default: {
44
44
  description: string;
45
45
  defaultMessage: string;
46
46
  };
47
+ DuplicateStandalonePriceScope: {
48
+ id: string;
49
+ description: string;
50
+ defaultMessage: string;
51
+ };
47
52
  DuplicateVariantValues: {
48
53
  id: string;
49
54
  description: string;
@@ -64,6 +69,16 @@ declare const _default: {
64
69
  description: string;
65
70
  defaultMessage: string;
66
71
  };
72
+ OverlappingPriceValidity: {
73
+ id: string;
74
+ description: string;
75
+ defaultMessage: string;
76
+ };
77
+ OverlappingStandalonePriceValidity: {
78
+ id: string;
79
+ description: string;
80
+ defaultMessage: string;
81
+ };
67
82
  PendingOperation: {
68
83
  id: string;
69
84
  description: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/react-notifications",
3
- "version": "22.25.1",
3
+ "version": "22.27.0",
4
4
  "description": "React bindings for @commercetools-frontend/notifications",
5
5
  "bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
6
6
  "repository": {
@@ -30,11 +30,11 @@
30
30
  "dependencies": {
31
31
  "@babel/runtime": "^7.22.15",
32
32
  "@babel/runtime-corejs3": "^7.22.15",
33
- "@commercetools-frontend/actions-global": "22.25.1",
34
- "@commercetools-frontend/application-components": "22.25.1",
35
- "@commercetools-frontend/constants": "22.25.1",
36
- "@commercetools-frontend/notifications": "22.25.1",
37
- "@commercetools-frontend/sentry": "22.25.1",
33
+ "@commercetools-frontend/actions-global": "22.27.0",
34
+ "@commercetools-frontend/application-components": "22.27.0",
35
+ "@commercetools-frontend/constants": "22.27.0",
36
+ "@commercetools-frontend/notifications": "22.27.0",
37
+ "@commercetools-frontend/sentry": "22.27.0",
38
38
  "@commercetools-uikit/design-system": "^19.2.0",
39
39
  "@commercetools-uikit/hooks": "^19.2.0",
40
40
  "@commercetools-uikit/icon-button": "^19.2.0",
@@ -47,7 +47,7 @@
47
47
  "@types/history": "^4.7.11",
48
48
  "@types/lodash": "^4.14.198",
49
49
  "@types/prop-types": "^15.7.5",
50
- "@types/react": "^17.0.56",
50
+ "@types/react": "^17.0.80",
51
51
  "@types/react-dom": "^17.0.19",
52
52
  "@types/react-redux": "^7.1.26",
53
53
  "@types/react-router": "^5.1.20",