@commercetools-frontend/mc-scripts 22.7.1 → 22.8.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 (41) hide show
  1. package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.dev.js +5 -5
  2. package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.prod.js +5 -5
  3. package/cli/dist/commercetools-frontend-mc-scripts-cli.esm.js +5 -5
  4. package/dist/{build-a3d29b86.esm.js → build-897197f8.esm.js} +3 -3
  5. package/dist/{build-8973fc06.cjs.dev.js → build-8f9bd36f.cjs.dev.js} +3 -3
  6. package/dist/{build-892510a9.cjs.prod.js → build-b052d4a8.cjs.prod.js} +3 -3
  7. package/dist/commercetools-frontend-mc-scripts.cjs.dev.js +1 -1
  8. package/dist/commercetools-frontend-mc-scripts.cjs.prod.js +1 -1
  9. package/dist/commercetools-frontend-mc-scripts.esm.js +1 -1
  10. package/dist/{config-sync-45a36f3e.cjs.prod.js → config-sync-5c47c108.cjs.prod.js} +18 -16
  11. package/dist/{config-sync-23a4c471.esm.js → config-sync-5c974290.esm.js} +18 -16
  12. package/dist/{config-sync-8bb629a0.cjs.dev.js → config-sync-885d0602.cjs.dev.js} +18 -16
  13. package/dist/{create-postcss-config-d53cbd2a.cjs.prod.js → create-postcss-config-27d7c566.cjs.prod.js} +1 -1
  14. package/dist/{create-postcss-config-5f26772d.esm.js → create-postcss-config-519b81cb.esm.js} +1 -1
  15. package/dist/{create-postcss-config-c57d1c88.cjs.dev.js → create-postcss-config-dc49128c.cjs.dev.js} +1 -1
  16. package/dist/{create-webpack-config-for-development-a95b86ae.cjs.dev.js → create-webpack-config-for-development-45f881ce.cjs.dev.js} +3 -3
  17. package/dist/{create-webpack-config-for-development-6de9f082.cjs.prod.js → create-webpack-config-for-development-98e32ec1.cjs.prod.js} +3 -3
  18. package/dist/{create-webpack-config-for-development-8573e2f2.esm.js → create-webpack-config-for-development-eb2e9485.esm.js} +3 -3
  19. package/dist/{create-webpack-config-for-production-3e70ec15.cjs.dev.js → create-webpack-config-for-production-0b766c47.cjs.dev.js} +3 -3
  20. package/dist/{create-webpack-config-for-production-de7ba047.cjs.prod.js → create-webpack-config-for-production-751756f1.cjs.prod.js} +3 -3
  21. package/dist/{create-webpack-config-for-production-8815d830.esm.js → create-webpack-config-for-production-b6d00b6e.esm.js} +3 -3
  22. package/dist/{credentials-storage-9f0431c6.cjs.dev.js → credentials-storage-770c47fe.cjs.dev.js} +1 -1
  23. package/dist/{credentials-storage-56a5405e.esm.js → credentials-storage-9d81c79a.esm.js} +1 -1
  24. package/dist/{credentials-storage-0c4e6bd2.cjs.prod.js → credentials-storage-fbd3baab.cjs.prod.js} +1 -1
  25. package/dist/declarations/src/generated/settings.d.ts +78 -2
  26. package/dist/{login-f17a6acc.cjs.dev.js → login-3a8da3eb.cjs.prod.js} +5 -13
  27. package/dist/{login-7f73d578.cjs.prod.js → login-a8925d26.cjs.dev.js} +5 -13
  28. package/dist/{login-6c86481c.esm.js → login-bd392493.esm.js} +5 -12
  29. package/dist/{package-8fb3bdf6.esm.js → package-25df14f0.esm.js} +19 -19
  30. package/dist/{package-f6c23cfe.cjs.dev.js → package-dcf0fd0b.cjs.dev.js} +19 -19
  31. package/dist/{package-6a3a74e6.cjs.prod.js → package-def20f2a.cjs.prod.js} +19 -19
  32. package/dist/{start-33943e55.esm.js → start-06244563.esm.js} +4 -4
  33. package/dist/{start-14388e1f.cjs.prod.js → start-5a3bfc78.cjs.prod.js} +4 -4
  34. package/dist/{start-b6ee0e11.cjs.dev.js → start-821f8317.cjs.dev.js} +4 -4
  35. package/package.json +19 -19
  36. package/postcss/dist/commercetools-frontend-mc-scripts-postcss.cjs.dev.js +2 -2
  37. package/postcss/dist/commercetools-frontend-mc-scripts-postcss.cjs.prod.js +2 -2
  38. package/postcss/dist/commercetools-frontend-mc-scripts-postcss.esm.js +2 -2
  39. package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.dev.js +4 -4
  40. package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.prod.js +4 -4
  41. package/webpack/dist/commercetools-frontend-mc-scripts-webpack.esm.js +4 -4
@@ -10,7 +10,7 @@ var chalk = require('chalk');
10
10
  var omit = require('lodash/omit');
11
11
  var prompts = require('prompts');
12
12
  var applicationConfig = require('@commercetools-frontend/application-config');
13
- var credentialsStorage$2 = require('./credentials-storage-9f0431c6.cjs.dev.js');
13
+ var credentialsStorage$2 = require('./credentials-storage-770c47fe.cjs.dev.js');
14
14
  var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
15
15
  var _Object$getOwnPropertyDescriptor = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor');
16
16
  var _Object$getOwnPropertyDescriptors = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors');
@@ -27,7 +27,7 @@ var graphql = require('graphql');
27
27
  var graphqlRequest = require('graphql-request');
28
28
  var constants = require('@commercetools-frontend/constants');
29
29
  require('@commercetools/http-user-agent');
30
- require('./package-f6c23cfe.cjs.dev.js');
30
+ require('./package-dcf0fd0b.cjs.dev.js');
31
31
  require('@babel/runtime-corejs3/helpers/classCallCheck');
32
32
  require('@babel/runtime-corejs3/helpers/createClass');
33
33
  require('@babel/runtime-corejs3/core-js-stable/date/now');
@@ -57,8 +57,8 @@ var _reduceInstanceProperty__default = /*#__PURE__*/_interopDefault(_reduceInsta
57
57
  var _Object$keys__default = /*#__PURE__*/_interopDefault(_Object$keys);
58
58
  var _someInstanceProperty__default = /*#__PURE__*/_interopDefault(_someInstanceProperty);
59
59
 
60
- function ownKeys$1(object, enumerableOnly) { var keys = _Object$keys__default["default"](object); if (_Object$getOwnPropertySymbols__default["default"]) { var symbols = _Object$getOwnPropertySymbols__default["default"](object); enumerableOnly && (symbols = _filterInstanceProperty__default["default"](symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor__default["default"](object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
61
- function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var _context20, _context21; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty__default["default"](_context20 = ownKeys$1(Object(source), !0)).call(_context20, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](target, _Object$getOwnPropertyDescriptors__default["default"](source)) : _forEachInstanceProperty__default["default"](_context21 = ownKeys$1(Object(source))).call(_context21, function (key) { _Object$defineProperty__default["default"](target, key, _Object$getOwnPropertyDescriptor__default["default"](source, key)); }); } return target; }
60
+ function ownKeys$1(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
61
+ function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var _context20, _context21; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context20 = ownKeys$1(Object(t), !0)).call(_context20, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context21 = ownKeys$1(Object(t))).call(_context21, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
62
62
 
63
63
  // Since not all terminal supports colors, to make things more consistent for testing purposes,
64
64
  // during tests the color used is appended before the string instead of coloring it.
@@ -106,7 +106,7 @@ const getArrayDiff = _ref2 => {
106
106
  indentLevel = _ref2$indentLevel === void 0 ? 0 : _ref2$indentLevel;
107
107
  const oldArraySet = new _Set__default["default"](previousValue);
108
108
  const arrayDiff = [];
109
- nextValue === null || nextValue === void 0 ? void 0 : _forEachInstanceProperty__default["default"](nextValue).call(nextValue, item => {
109
+ nextValue === null || nextValue === void 0 || _forEachInstanceProperty__default["default"](nextValue).call(nextValue, item => {
110
110
  if (oldArraySet.has(item)) {
111
111
  oldArraySet.delete(item);
112
112
  } else {
@@ -413,8 +413,8 @@ const getConfigDiff = (oldConfig, newConfig) => {
413
413
  return diff.join('\n');
414
414
  };
415
415
 
416
- function ownKeys(object, enumerableOnly) { var keys = _Object$keys__default["default"](object); if (_Object$getOwnPropertySymbols__default["default"]) { var symbols = _Object$getOwnPropertySymbols__default["default"](object); enumerableOnly && (symbols = _filterInstanceProperty__default["default"](symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor__default["default"](object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
417
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context2, _context3; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty__default["default"](_context2 = ownKeys(Object(source), !0)).call(_context2, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](target, _Object$getOwnPropertyDescriptors__default["default"](source)) : _forEachInstanceProperty__default["default"](_context3 = ownKeys(Object(source))).call(_context3, function (key) { _Object$defineProperty__default["default"](target, key, _Object$getOwnPropertyDescriptor__default["default"](source, key)); }); } return target; }
416
+ function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
417
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context2 = ownKeys(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context3 = ownKeys(Object(t))).call(_context3, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
418
418
  var CreateCustomApplicationFromCli = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "CreateCustomApplicationFromCli" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "organizationId" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "CustomApplicationDraftDataInput" } } }, directives: [] }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "createCustomApplication" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "organizationId" }, value: { kind: "Variable", name: { kind: "Name", value: "organizationId" } } }, { kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }] } }] } }], loc: { start: 0, end: 201, source: { body: "mutation CreateCustomApplicationFromCli(\n $organizationId: String!\n $data: CustomApplicationDraftDataInput!\n) {\n createCustomApplication(organizationId: $organizationId, data: $data) {\n id\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
419
419
  var FetchCustomApplicationFromCli = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchCustomApplicationFromCli" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "entryPointUriPath" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } }, directives: [] }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "organizationExtensionForCustomApplication" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "entryPointUriPath" }, value: { kind: "Variable", name: { kind: "Name", value: "entryPointUriPath" } } }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "organizationId" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "application" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "entryPointUriPath" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "description" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "url" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "icon" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "permissions" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "oAuthScopes" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "mainMenuLink" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "defaultLabel" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "permissions" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "labelAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }, { kind: "Field", name: { kind: "Name", value: "submenuLinks" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "uriPath" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "defaultLabel" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "permissions" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "labelAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }] } }] } }] } }], loc: { start: 0, end: 647, source: { body: "query FetchCustomApplicationFromCli($entryPointUriPath: String!) {\n organizationExtensionForCustomApplication(\n entryPointUriPath: $entryPointUriPath\n ) {\n organizationId\n application {\n id\n entryPointUriPath\n name\n description\n url\n icon\n permissions {\n name\n oAuthScopes\n }\n mainMenuLink {\n defaultLabel\n permissions\n labelAllLocales {\n locale\n value\n }\n }\n submenuLinks {\n uriPath\n defaultLabel\n permissions\n labelAllLocales {\n locale\n value\n }\n }\n }\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
420
420
  var FetchMyOrganizationsFromCli = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchMyOrganizationsFromCli" }, variableDefinitions: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "myOrganizations" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "total" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "results" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }] } }] } }] } }], loc: { start: 0, end: 112, source: { body: "query FetchMyOrganizationsFromCli {\n myOrganizations {\n total\n results {\n id\n name\n }\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
@@ -545,14 +545,16 @@ const getMcUrlLink = (mcApiUrl, organizationId, applicationId) => {
545
545
  return customAppLink;
546
546
  };
547
547
  async function run(options) {
548
- var _context3, _context6;
548
+ var _context5;
549
549
  const applicationConfig$1 = applicationConfig.processConfig();
550
550
  const localCustomAppData = applicationConfig$1.data;
551
551
  const _applicationConfig$en = applicationConfig$1.env,
552
552
  mcApiUrl = _applicationConfig$en.mcApiUrl,
553
- applicationId = _applicationConfig$en.applicationId,
554
- entryPointUriPath = _applicationConfig$en.entryPointUriPath;
555
- const applicationIdentifier = _concatInstanceProperty__default["default"](_context3 = "".concat(applicationId, ":")).call(_context3, entryPointUriPath);
553
+ applicationIdentifier = _applicationConfig$en.applicationIdentifier,
554
+ customViewId = _applicationConfig$en.customViewId;
555
+ if (customViewId) {
556
+ throw new Error("Syncing the configuration for Custom Views is not supported at the moment.");
557
+ }
556
558
  console.log("Using Merchant Center environment \"".concat(chalk__default["default"].green(mcApiUrl), "\"."));
557
559
  console.log();
558
560
  const isSessionValid = credentialsStorage.isSessionValid(mcApiUrl);
@@ -565,7 +567,7 @@ async function run(options) {
565
567
  applicationIdentifier
566
568
  });
567
569
  if (!fetchedCustomApplication) {
568
- var _context5;
570
+ var _context4;
569
571
  const userOrganizations = await fetchUserOrganizations({
570
572
  mcApiUrl,
571
573
  applicationIdentifier
@@ -580,8 +582,8 @@ async function run(options) {
580
582
  organizationId = organization.id;
581
583
  organizationName = organization.name;
582
584
  } else {
583
- var _context4;
584
- const organizationChoices = _mapInstanceProperty__default["default"](_context4 = userOrganizations.results).call(_context4, organization => ({
585
+ var _context3;
586
+ const organizationChoices = _mapInstanceProperty__default["default"](_context3 = userOrganizations.results).call(_context3, organization => ({
585
587
  title: organization.name,
586
588
  value: organization.id
587
589
  }));
@@ -605,7 +607,7 @@ async function run(options) {
605
607
  const _await$prompts2 = await prompts__default["default"]({
606
608
  type: 'text',
607
609
  name: 'confirmation',
608
- message: _filterInstanceProperty__default["default"](_context5 = ["You are about to create a new Custom Application in the \"".concat(chalk__default["default"].green(organizationName), "\" organization. Are you sure you want to proceed?"), options.dryRun && chalk__default["default"].gray('Using "--dry-run", no data will be created.')]).call(_context5, Boolean).join('\n'),
610
+ message: _filterInstanceProperty__default["default"](_context4 = ["You are about to create a new Custom Application in the \"".concat(chalk__default["default"].green(organizationName), "\" organization. Are you sure you want to proceed?"), options.dryRun && chalk__default["default"].gray('Using "--dry-run", no data will be created.')]).call(_context4, Boolean).join('\n'),
609
611
  initial: 'yes'
610
612
  }),
611
613
  confirmation = _await$prompts2.confirmation;
@@ -653,7 +655,7 @@ async function run(options) {
653
655
  const _await$prompts3 = await prompts__default["default"]({
654
656
  type: 'text',
655
657
  name: 'confirmation',
656
- message: _filterInstanceProperty__default["default"](_context6 = ["You are about to update the Custom Application \"".concat(chalk__default["default"].green(localCustomAppData.entryPointUriPath), "\" with the changes above. Are you sure you want to proceed?"), options.dryRun && chalk__default["default"].gray('Using "--dry-run", no data will be updated.')]).call(_context6, Boolean).join('\n'),
658
+ message: _filterInstanceProperty__default["default"](_context5 = ["You are about to update the Custom Application \"".concat(chalk__default["default"].green(localCustomAppData.entryPointUriPath), "\" with the changes above. Are you sure you want to proceed?"), options.dryRun && chalk__default["default"].gray('Using "--dry-run", no data will be updated.')]).call(_context5, Boolean).join('\n'),
657
659
  initial: 'yes'
658
660
  }),
659
661
  confirmation = _await$prompts3.confirmation;
@@ -2,7 +2,7 @@
2
2
 
3
3
  var _slicedToArray = require('@babel/runtime-corejs3/helpers/slicedToArray');
4
4
  var path = require('path');
5
- var _package = require('./package-6a3a74e6.cjs.prod.js');
5
+ var _package = require('./package-def20f2a.cjs.prod.js');
6
6
 
7
7
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
8
8
 
@@ -1,6 +1,6 @@
1
1
  import _slicedToArray from '@babel/runtime-corejs3/helpers/esm/slicedToArray';
2
2
  import path from 'path';
3
- import { p as pkgJson } from './package-8fb3bdf6.esm.js';
3
+ import { p as pkgJson } from './package-25df14f0.esm.js';
4
4
 
5
5
  // This function aims to return the same result as `require.resolve`.
6
6
  // However, resolving a path to a `.css` file does not return the real
@@ -2,7 +2,7 @@
2
2
 
3
3
  var _slicedToArray = require('@babel/runtime-corejs3/helpers/slicedToArray');
4
4
  var path = require('path');
5
- var _package = require('./package-f6c23cfe.cjs.dev.js');
5
+ var _package = require('./package-dcf0fd0b.cjs.dev.js');
6
6
 
7
7
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
8
8
 
@@ -24,7 +24,7 @@ var _createClass = require('@babel/runtime-corejs3/helpers/createClass');
24
24
  var _Object$assign = require('@babel/runtime-corejs3/core-js-stable/object/assign');
25
25
  var applicationConfig = require('@commercetools-frontend/application-config');
26
26
  var mcHtmlTemplate = require('@commercetools-frontend/mc-html-template');
27
- var createPostcssConfig = require('./create-postcss-config-c57d1c88.cjs.dev.js');
27
+ var createPostcssConfig = require('./create-postcss-config-dc49128c.cjs.dev.js');
28
28
  var hasJsxRuntime = require('./has-jsx-runtime-aa5d21ee.cjs.dev.js');
29
29
  var paths = require('./paths-d1febc82.cjs.dev.js');
30
30
  var vendorsToTranspile = require('./vendors-to-transpile-6ab4ea06.cjs.dev.js');
@@ -82,8 +82,8 @@ let LocalHtmlWebpackPlugin = /*#__PURE__*/function () {
82
82
  return LocalHtmlWebpackPlugin;
83
83
  }();
84
84
 
85
- function ownKeys(object, enumerableOnly) { var keys = _Object$keys__default["default"](object); if (_Object$getOwnPropertySymbols__default["default"]) { var symbols = _Object$getOwnPropertySymbols__default["default"](object); enumerableOnly && (symbols = _filterInstanceProperty__default["default"](symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor__default["default"](object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
86
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context6, _context7; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty__default["default"](_context6 = ownKeys(Object(source), !0)).call(_context6, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](target, _Object$getOwnPropertyDescriptors__default["default"](source)) : _forEachInstanceProperty__default["default"](_context7 = ownKeys(Object(source))).call(_context7, function (key) { _Object$defineProperty__default["default"](target, key, _Object$getOwnPropertyDescriptor__default["default"](source, key)); }); } return target; }
85
+ function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
86
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context6, _context7; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context6 = ownKeys(Object(t), !0)).call(_context6, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context7 = ownKeys(Object(t))).call(_context7, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
87
87
  // https://babeljs.io/blog/2017/09/11/zero-config-with-babel-macros
88
88
  const momentLocalesToKeep = ["de", "de-at", "de-ch", "en-au", "en-ca", "en-gb", "en-ie", "en-in", "en-nz", "en-sg", "es", "es-do", "es-mx", "fr", "pt-br", "zh-cn"];
89
89
  const defaultToggleFlags = {
@@ -24,7 +24,7 @@ var _createClass = require('@babel/runtime-corejs3/helpers/createClass');
24
24
  var _Object$assign = require('@babel/runtime-corejs3/core-js-stable/object/assign');
25
25
  var applicationConfig = require('@commercetools-frontend/application-config');
26
26
  var mcHtmlTemplate = require('@commercetools-frontend/mc-html-template');
27
- var createPostcssConfig = require('./create-postcss-config-d53cbd2a.cjs.prod.js');
27
+ var createPostcssConfig = require('./create-postcss-config-27d7c566.cjs.prod.js');
28
28
  var hasJsxRuntime = require('./has-jsx-runtime-c3202df5.cjs.prod.js');
29
29
  var paths = require('./paths-854af5ef.cjs.prod.js');
30
30
  var vendorsToTranspile = require('./vendors-to-transpile-04a49d40.cjs.prod.js');
@@ -82,8 +82,8 @@ let LocalHtmlWebpackPlugin = /*#__PURE__*/function () {
82
82
  return LocalHtmlWebpackPlugin;
83
83
  }();
84
84
 
85
- function ownKeys(object, enumerableOnly) { var keys = _Object$keys__default["default"](object); if (_Object$getOwnPropertySymbols__default["default"]) { var symbols = _Object$getOwnPropertySymbols__default["default"](object); enumerableOnly && (symbols = _filterInstanceProperty__default["default"](symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor__default["default"](object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
86
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context6, _context7; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty__default["default"](_context6 = ownKeys(Object(source), !0)).call(_context6, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](target, _Object$getOwnPropertyDescriptors__default["default"](source)) : _forEachInstanceProperty__default["default"](_context7 = ownKeys(Object(source))).call(_context7, function (key) { _Object$defineProperty__default["default"](target, key, _Object$getOwnPropertyDescriptor__default["default"](source, key)); }); } return target; }
85
+ function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
86
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context6, _context7; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context6 = ownKeys(Object(t), !0)).call(_context6, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context7 = ownKeys(Object(t))).call(_context7, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
87
87
  // https://babeljs.io/blog/2017/09/11/zero-config-with-babel-macros
88
88
  const momentLocalesToKeep = ["de", "de-at", "de-ch", "en-au", "en-ca", "en-gb", "en-ie", "en-in", "en-nz", "en-sg", "es", "es-do", "es-mx", "fr", "pt-br", "zh-cn"];
89
89
  const defaultToggleFlags = {
@@ -22,7 +22,7 @@ import _createClass from '@babel/runtime-corejs3/helpers/esm/createClass';
22
22
  import _Object$assign from '@babel/runtime-corejs3/core-js-stable/object/assign';
23
23
  import { processConfig } from '@commercetools-frontend/application-config';
24
24
  import { replaceHtmlPlaceholders } from '@commercetools-frontend/mc-html-template';
25
- import { c as createPostcssConfig } from './create-postcss-config-5f26772d.esm.js';
25
+ import { c as createPostcssConfig } from './create-postcss-config-519b81cb.esm.js';
26
26
  import { h as hasJsxRuntime } from './has-jsx-runtime-e3ecb09b.esm.js';
27
27
  import { p as paths } from './paths-ded20ae1.esm.js';
28
28
  import { v as vendorsToTranspile } from './vendors-to-transpile-7dc84a72.esm.js';
@@ -58,8 +58,8 @@ let LocalHtmlWebpackPlugin = /*#__PURE__*/function () {
58
58
  return LocalHtmlWebpackPlugin;
59
59
  }();
60
60
 
61
- function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
62
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context6, _context7; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context6 = ownKeys(Object(source), !0)).call(_context6, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context7 = ownKeys(Object(source))).call(_context7, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
61
+ function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
62
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context6, _context7; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context6 = ownKeys(Object(t), !0)).call(_context6, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context7 = ownKeys(Object(t))).call(_context7, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
63
63
  // https://babeljs.io/blog/2017/09/11/zero-config-with-babel-macros
64
64
  const momentLocalesToKeep = ["de", "de-at", "de-ch", "en-au", "en-ca", "en-gb", "en-ie", "en-in", "en-nz", "en-sg", "es", "es-do", "es-mx", "fr", "pt-br", "zh-cn"];
65
65
  const defaultToggleFlags = {
@@ -28,7 +28,7 @@ var _reduceInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/ins
28
28
  var _Object$assign = require('@babel/runtime-corejs3/core-js-stable/object/assign');
29
29
  var fs = require('fs');
30
30
  var path = require('path');
31
- var createPostcssConfig = require('./create-postcss-config-c57d1c88.cjs.dev.js');
31
+ var createPostcssConfig = require('./create-postcss-config-dc49128c.cjs.dev.js');
32
32
  var hasJsxRuntime = require('./has-jsx-runtime-aa5d21ee.cjs.dev.js');
33
33
  var paths = require('./paths-d1febc82.cjs.dev.js');
34
34
  var vendorsToTranspile = require('./vendors-to-transpile-6ab4ea06.cjs.dev.js');
@@ -113,8 +113,8 @@ let FinalStatsWriterPlugin = /*#__PURE__*/function () {
113
113
  return FinalStatsWriterPlugin;
114
114
  }();
115
115
 
116
- function ownKeys(object, enumerableOnly) { var keys = _Object$keys__default["default"](object); if (_Object$getOwnPropertySymbols__default["default"]) { var symbols = _Object$getOwnPropertySymbols__default["default"](object); enumerableOnly && (symbols = _filterInstanceProperty__default["default"](symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor__default["default"](object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
117
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context7, _context8; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty__default["default"](_context7 = ownKeys(Object(source), !0)).call(_context7, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](target, _Object$getOwnPropertyDescriptors__default["default"](source)) : _forEachInstanceProperty__default["default"](_context8 = ownKeys(Object(source))).call(_context8, function (key) { _Object$defineProperty__default["default"](target, key, _Object$getOwnPropertyDescriptor__default["default"](source, key)); }); } return target; }
116
+ function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
117
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context7, _context8; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context7 = ownKeys(Object(t), !0)).call(_context7, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context8 = ownKeys(Object(t))).call(_context8, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
118
118
  // https://babeljs.io/blog/2017/09/11/zero-config-with-babel-macros
119
119
  const momentLocalesToKeep = ["de", "de-at", "de-ch", "en-au", "en-ca", "en-gb", "en-ie", "en-in", "en-nz", "en-sg", "es", "es-do", "es-mx", "fr", "pt-br", "zh-cn"];
120
120
  const defaultToggleFlags = {
@@ -28,7 +28,7 @@ var _reduceInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/ins
28
28
  var _Object$assign = require('@babel/runtime-corejs3/core-js-stable/object/assign');
29
29
  var fs = require('fs');
30
30
  var path = require('path');
31
- var createPostcssConfig = require('./create-postcss-config-d53cbd2a.cjs.prod.js');
31
+ var createPostcssConfig = require('./create-postcss-config-27d7c566.cjs.prod.js');
32
32
  var hasJsxRuntime = require('./has-jsx-runtime-c3202df5.cjs.prod.js');
33
33
  var paths = require('./paths-854af5ef.cjs.prod.js');
34
34
  var vendorsToTranspile = require('./vendors-to-transpile-04a49d40.cjs.prod.js');
@@ -113,8 +113,8 @@ let FinalStatsWriterPlugin = /*#__PURE__*/function () {
113
113
  return FinalStatsWriterPlugin;
114
114
  }();
115
115
 
116
- function ownKeys(object, enumerableOnly) { var keys = _Object$keys__default["default"](object); if (_Object$getOwnPropertySymbols__default["default"]) { var symbols = _Object$getOwnPropertySymbols__default["default"](object); enumerableOnly && (symbols = _filterInstanceProperty__default["default"](symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor__default["default"](object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
117
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context7, _context8; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty__default["default"](_context7 = ownKeys(Object(source), !0)).call(_context7, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](target, _Object$getOwnPropertyDescriptors__default["default"](source)) : _forEachInstanceProperty__default["default"](_context8 = ownKeys(Object(source))).call(_context8, function (key) { _Object$defineProperty__default["default"](target, key, _Object$getOwnPropertyDescriptor__default["default"](source, key)); }); } return target; }
116
+ function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
117
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context7, _context8; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context7 = ownKeys(Object(t), !0)).call(_context7, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context8 = ownKeys(Object(t))).call(_context8, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
118
118
  // https://babeljs.io/blog/2017/09/11/zero-config-with-babel-macros
119
119
  const momentLocalesToKeep = ["de", "de-at", "de-ch", "en-au", "en-ca", "en-gb", "en-ie", "en-in", "en-nz", "en-sg", "es", "es-do", "es-mx", "fr", "pt-br", "zh-cn"];
120
120
  const defaultToggleFlags = {
@@ -26,7 +26,7 @@ import _reduceInstanceProperty from '@babel/runtime-corejs3/core-js-stable/insta
26
26
  import _Object$assign from '@babel/runtime-corejs3/core-js-stable/object/assign';
27
27
  import fs from 'fs';
28
28
  import path from 'path';
29
- import { c as createPostcssConfig } from './create-postcss-config-5f26772d.esm.js';
29
+ import { c as createPostcssConfig } from './create-postcss-config-519b81cb.esm.js';
30
30
  import { h as hasJsxRuntime } from './has-jsx-runtime-e3ecb09b.esm.js';
31
31
  import { p as paths } from './paths-ded20ae1.esm.js';
32
32
  import { v as vendorsToTranspile } from './vendors-to-transpile-7dc84a72.esm.js';
@@ -84,8 +84,8 @@ let FinalStatsWriterPlugin = /*#__PURE__*/function () {
84
84
  return FinalStatsWriterPlugin;
85
85
  }();
86
86
 
87
- function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
88
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context7, _context8; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context7 = ownKeys(Object(source), !0)).call(_context7, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context8 = ownKeys(Object(source))).call(_context8, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
87
+ function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
88
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context7, _context8; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context7 = ownKeys(Object(t), !0)).call(_context7, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context8 = ownKeys(Object(t))).call(_context8, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
89
89
  // https://babeljs.io/blog/2017/09/11/zero-config-with-babel-macros
90
90
  const momentLocalesToKeep = ["de", "de-at", "de-ch", "en-au", "en-ca", "en-gb", "en-ie", "en-in", "en-nz", "en-sg", "es", "es-do", "es-mx", "fr", "pt-br", "zh-cn"];
91
91
  const defaultToggleFlags = {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var createHttpUserAgent = require('@commercetools/http-user-agent');
4
- var _package = require('./package-f6c23cfe.cjs.dev.js');
4
+ var _package = require('./package-dcf0fd0b.cjs.dev.js');
5
5
  var _classCallCheck = require('@babel/runtime-corejs3/helpers/classCallCheck');
6
6
  var _createClass = require('@babel/runtime-corejs3/helpers/createClass');
7
7
  var _JSON$stringify = require('@babel/runtime-corejs3/core-js-stable/json/stringify');
@@ -1,5 +1,5 @@
1
1
  import createHttpUserAgent from '@commercetools/http-user-agent';
2
- import { p as pkgJson } from './package-8fb3bdf6.esm.js';
2
+ import { p as pkgJson } from './package-25df14f0.esm.js';
3
3
  import _classCallCheck from '@babel/runtime-corejs3/helpers/esm/classCallCheck';
4
4
  import _createClass from '@babel/runtime-corejs3/helpers/esm/createClass';
5
5
  import _JSON$stringify from '@babel/runtime-corejs3/core-js-stable/json/stringify';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var createHttpUserAgent = require('@commercetools/http-user-agent');
4
- var _package = require('./package-6a3a74e6.cjs.prod.js');
4
+ var _package = require('./package-def20f2a.cjs.prod.js');
5
5
  var _classCallCheck = require('@babel/runtime-corejs3/helpers/classCallCheck');
6
6
  var _createClass = require('@babel/runtime-corejs3/helpers/createClass');
7
7
  var _JSON$stringify = require('@babel/runtime-corejs3/core-js-stable/json/stringify');
@@ -253,7 +253,7 @@ export type TCustomView = {
253
253
  description?: Maybe<Scalars['String']>;
254
254
  id: Scalars['ID'];
255
255
  installedBy: Array<TCustomViewInstallation>;
256
- labelAllLocales: Scalars['Json'];
256
+ labelAllLocales: Array<TLocalizedField>;
257
257
  locators: Array<Scalars['String']>;
258
258
  owner: TOrganizationExtension;
259
259
  ownerId: Scalars['String'];
@@ -267,7 +267,7 @@ export type TCustomView = {
267
267
  export type TCustomViewDraftDataInput = {
268
268
  defaultLabel: Scalars['String'];
269
269
  description?: InputMaybe<Scalars['String']>;
270
- labelAllLocales: Scalars['Json'];
270
+ labelAllLocales: Array<TLocalizedFieldDataInput>;
271
271
  locators: Array<Scalars['String']>;
272
272
  permissions: Array<TCustomViewPermissionDataInput>;
273
273
  type: TCustomViewType;
@@ -557,6 +557,7 @@ export type TMutation = {
557
557
  activatePimSearchListView?: Maybe<TPimSearchListView>;
558
558
  activateProductDiscountsCustomView?: Maybe<TDiscountsCustomView>;
559
559
  activateProductTypeAttributesView?: Maybe<TProductTypeAttributesView>;
560
+ activateProjectSettingsStoresView?: Maybe<TProjectSettingsStoresView>;
560
561
  changeCustomApplicationStatus?: Maybe<TRestrictedCustomApplicationForOrganization>;
561
562
  changeCustomViewStatus?: Maybe<TCustomView>;
562
563
  createCartDiscountsCustomView: TDiscountsCustomView;
@@ -570,6 +571,7 @@ export type TMutation = {
570
571
  createPimSearchListView: TPimSearchListView;
571
572
  createProductDiscountsCustomView: TDiscountsCustomView;
572
573
  createProductTypeAttributesView: TProductTypeAttributesView;
574
+ createProjectSettingsStoresView: TProjectSettingsStoresView;
573
575
  createVariantPricesListView?: Maybe<TVariantPricesListView>;
574
576
  deactivateCartDiscountsCustomView?: Maybe<TDiscountsCustomView>;
575
577
  deactivateCustomersListView?: Maybe<TOrdersListView>;
@@ -580,6 +582,7 @@ export type TMutation = {
580
582
  deactivatePimSearchListView?: Maybe<TPimSearchListView>;
581
583
  deactivateProductDiscountsCustomView?: Maybe<TDiscountsCustomView>;
582
584
  deactivateProductTypeAttributesView?: Maybe<TProductTypeAttributesView>;
585
+ deactivateProjectSettingsStoresView?: Maybe<TProjectSettingsStoresView>;
583
586
  deleteAllDashboardViews: Array<TDashboardView>;
584
587
  deleteAllOrdersListViews: Array<TOrdersListView>;
585
588
  deleteCartDiscountsCustomView?: Maybe<TDiscountsCustomView>;
@@ -592,7 +595,9 @@ export type TMutation = {
592
595
  deletePimSearchListView?: Maybe<TPimSearchListView>;
593
596
  deleteProductDiscountsCustomView?: Maybe<TDiscountsCustomView>;
594
597
  deleteProductTypeAttributesView?: Maybe<TProductTypeAttributesView>;
598
+ deleteProjectSettingsStoresView?: Maybe<TProjectSettingsStoresView>;
595
599
  installCustomApplication?: Maybe<TRestrictedCustomApplicationInstallationForOrganization>;
600
+ installCustomView?: Maybe<TRestrictedCustomViewInstallationForOrganization>;
596
601
  random: Scalars['String'];
597
602
  sendLinkToVerifyCustomApplicationsMaintainerContactEmail?: Maybe<TCustomApplicationsMaintainerContactEmailVerificationRequest>;
598
603
  setCustomApplicationsMaintainerContactInformation?: Maybe<TOrganizationExtension>;
@@ -603,11 +608,13 @@ export type TMutation = {
603
608
  setProjectExtensionOrderStatesVisibility?: Maybe<TProjectExtension>;
604
609
  setProjectExtensionRichTextEditorSettings?: Maybe<TProjectExtension>;
605
610
  uninstallCustomApplication?: Maybe<TRestrictedCustomApplicationInstallationForOrganization>;
611
+ uninstallCustomView?: Maybe<TRestrictedCustomViewInstallationForOrganization>;
606
612
  updateCartDiscountsCustomView?: Maybe<TDiscountsCustomView>;
607
613
  updateCustomApplication?: Maybe<TRestrictedCustomApplicationForOrganization>;
608
614
  updateCustomApplicationDeploymentPreview: TCustomApplicationDeploymentPreview;
609
615
  updateCustomApplicationProjectsInstallation?: Maybe<TRestrictedCustomApplicationInstallationForOrganization>;
610
616
  updateCustomView?: Maybe<TCustomView>;
617
+ updateCustomViewProjectsInstallation?: Maybe<TRestrictedCustomViewInstallationForOrganization>;
611
618
  updateCustomersListView?: Maybe<TCustomersListView>;
612
619
  updateDashboardView?: Maybe<TDashboardView>;
613
620
  updateDiscountCodesCustomView?: Maybe<TDiscountsCustomView>;
@@ -615,6 +622,7 @@ export type TMutation = {
615
622
  updatePimSearchListView?: Maybe<TPimSearchListView>;
616
623
  updateProductDiscountsCustomView?: Maybe<TDiscountsCustomView>;
617
624
  updateProductTypeAttributesView: TProductTypeAttributesView;
625
+ updateProjectSettingsStoresView?: Maybe<TProjectSettingsStoresView>;
618
626
  updateRuleBuilderQuickSelectionValues?: Maybe<TRuleBuilderQuickSelectionValues>;
619
627
  updateVariantPricesListView?: Maybe<TVariantPricesListView>;
620
628
  verifyCustomApplicationsMaintainerContactEmail?: Maybe<TCustomApplicationsMaintainerContactEmailVerificationConfirmation>;
@@ -648,6 +656,9 @@ export type TMutation_ActivateProductTypeAttributesViewArgs = {
648
656
  isVariant: Scalars['Boolean'];
649
657
  productTypeId: Scalars['String'];
650
658
  };
659
+ export type TMutation_ActivateProjectSettingsStoresViewArgs = {
660
+ id: Scalars['ID'];
661
+ };
651
662
  export type TMutation_ChangeCustomApplicationStatusArgs = {
652
663
  applicationId: Scalars['ID'];
653
664
  organizationId: Scalars['String'];
@@ -695,6 +706,9 @@ export type TMutation_CreateProductDiscountsCustomViewArgs = {
695
706
  export type TMutation_CreateProductTypeAttributesViewArgs = {
696
707
  data: TProductTypeAttributesViewInput;
697
708
  };
709
+ export type TMutation_CreateProjectSettingsStoresViewArgs = {
710
+ data: TProjectSettingsStoresViewInput;
711
+ };
698
712
  export type TMutation_CreateVariantPricesListViewArgs = {
699
713
  data: TVariantPricesListViewInput;
700
714
  };
@@ -725,6 +739,9 @@ export type TMutation_DeactivateProductDiscountsCustomViewArgs = {
725
739
  export type TMutation_DeactivateProductTypeAttributesViewArgs = {
726
740
  id: Scalars['ID'];
727
741
  };
742
+ export type TMutation_DeactivateProjectSettingsStoresViewArgs = {
743
+ id: Scalars['ID'];
744
+ };
728
745
  export type TMutation_DeleteCartDiscountsCustomViewArgs = {
729
746
  id: Scalars['ID'];
730
747
  };
@@ -757,11 +774,19 @@ export type TMutation_DeleteProductDiscountsCustomViewArgs = {
757
774
  export type TMutation_DeleteProductTypeAttributesViewArgs = {
758
775
  id: Scalars['ID'];
759
776
  };
777
+ export type TMutation_DeleteProjectSettingsStoresViewArgs = {
778
+ id: Scalars['ID'];
779
+ };
760
780
  export type TMutation_InstallCustomApplicationArgs = {
761
781
  applicationId: Scalars['ID'];
762
782
  organizationId: Scalars['String'];
763
783
  projectKeys?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
764
784
  };
785
+ export type TMutation_InstallCustomViewArgs = {
786
+ customViewId: Scalars['ID'];
787
+ organizationId: Scalars['String'];
788
+ projectKeys?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
789
+ };
765
790
  export type TMutation_RandomArgs = {
766
791
  byteLength: Scalars['Int'];
767
792
  };
@@ -795,6 +820,10 @@ export type TMutation_UninstallCustomApplicationArgs = {
795
820
  installedApplicationId: Scalars['ID'];
796
821
  organizationId: Scalars['String'];
797
822
  };
823
+ export type TMutation_UninstallCustomViewArgs = {
824
+ installedCustomViewId: Scalars['ID'];
825
+ organizationId: Scalars['String'];
826
+ };
798
827
  export type TMutation_UpdateCartDiscountsCustomViewArgs = {
799
828
  data: TDiscountsCustomViewInput;
800
829
  id: Scalars['ID'];
@@ -819,6 +848,11 @@ export type TMutation_UpdateCustomViewArgs = {
819
848
  data: TCustomViewDraftDataInput;
820
849
  organizationId: Scalars['String'];
821
850
  };
851
+ export type TMutation_UpdateCustomViewProjectsInstallationArgs = {
852
+ installedCustomViewId: Scalars['ID'];
853
+ organizationId: Scalars['String'];
854
+ projectKeys?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
855
+ };
822
856
  export type TMutation_UpdateCustomersListViewArgs = {
823
857
  data: TCustomersListViewInput;
824
858
  id: Scalars['ID'];
@@ -847,6 +881,10 @@ export type TMutation_UpdateProductTypeAttributesViewArgs = {
847
881
  data: TProductTypeAttributesViewUpdateInput;
848
882
  id: Scalars['ID'];
849
883
  };
884
+ export type TMutation_UpdateProjectSettingsStoresViewArgs = {
885
+ data: TProjectSettingsStoresViewInput;
886
+ id: Scalars['ID'];
887
+ };
850
888
  export type TMutation_UpdateRuleBuilderQuickSelectionValuesArgs = {
851
889
  data: TRuleBuilderQuickSelectionInput;
852
890
  id?: InputMaybe<Scalars['ID']>;
@@ -1093,6 +1131,26 @@ export type TProjectExtension_ApplicationsArgs = {
1093
1131
  export type TProjectExtension_InstalledApplicationsArgs = {
1094
1132
  where?: InputMaybe<TRestrictedCustomApplicationInstallationForProjectWhereInput>;
1095
1133
  };
1134
+ export type TProjectSettingsStoresView = {
1135
+ __typename?: 'ProjectSettingsStoresView';
1136
+ createdAt: Scalars['DateTime'];
1137
+ id: Scalars['ID'];
1138
+ isActive?: Maybe<Scalars['Boolean']>;
1139
+ nameAllLocales?: Maybe<Array<TLocalizedField>>;
1140
+ projectKey: Scalars['String'];
1141
+ sort?: Maybe<TSort>;
1142
+ table?: Maybe<TTable>;
1143
+ updatedAt: Scalars['DateTime'];
1144
+ userId: Scalars['String'];
1145
+ };
1146
+ export type TProjectSettingsStoresViewInput = {
1147
+ nameAllLocales: Array<TLocalizedFieldCreateInput>;
1148
+ sort: TSortCreateInput;
1149
+ table?: InputMaybe<TProjectSettingsStoresViewTableInput>;
1150
+ };
1151
+ export type TProjectSettingsStoresViewTableInput = {
1152
+ visibleColumns: Array<Scalars['String']>;
1153
+ };
1096
1154
  export type TPublicCustomApplicationDevelopedByCommercetools = {
1097
1155
  __typename?: 'PublicCustomApplicationDevelopedByCommercetools';
1098
1156
  createdAt: Scalars['DateTime'];
@@ -1122,6 +1180,7 @@ export type TQuery = {
1122
1180
  allAppliedCustomApplicationPermissions: Array<TCustomApplicationInstallationPermission>;
1123
1181
  /** @deprecated Experimental feature - For internal usage only */
1124
1182
  allCustomApplications: TCustomApplicationsPagedQueryResult;
1183
+ allCustomViewInstallationByOrganization?: Maybe<TCustomViewInstallation>;
1125
1184
  allCustomViewsByOrganization: Array<Maybe<TCustomView>>;
1126
1185
  allFeatures: Array<TFeature>;
1127
1186
  /** @deprecated Experimental feature - For internal usage only */
@@ -1133,6 +1192,7 @@ export type TQuery = {
1133
1192
  /** @deprecated Experimental feature - For internal usage only */
1134
1193
  customApplication?: Maybe<TCustomApplication>;
1135
1194
  customView?: Maybe<TCustomView>;
1195
+ customViewInstallation?: Maybe<TCustomViewInstallation>;
1136
1196
  customersListView?: Maybe<TCustomersListView>;
1137
1197
  customersListViews: Array<Maybe<TCustomersListView>>;
1138
1198
  dashboardView?: Maybe<TDashboardView>;
@@ -1168,6 +1228,9 @@ export type TQuery_AllAppliedCustomApplicationPermissionsArgs = {
1168
1228
  export type TQuery_AllCustomApplicationsArgs = {
1169
1229
  params?: InputMaybe<TCustomApplicationQueryInput>;
1170
1230
  };
1231
+ export type TQuery_AllCustomViewInstallationByOrganizationArgs = {
1232
+ organizationId: Scalars['ID'];
1233
+ };
1171
1234
  export type TQuery_AllCustomViewsByOrganizationArgs = {
1172
1235
  organizationId: Scalars['ID'];
1173
1236
  };
@@ -1189,6 +1252,9 @@ export type TQuery_CustomApplicationArgs = {
1189
1252
  export type TQuery_CustomViewArgs = {
1190
1253
  customViewId: Scalars['ID'];
1191
1254
  };
1255
+ export type TQuery_CustomViewInstallationArgs = {
1256
+ customViewInstallationId: Scalars['ID'];
1257
+ };
1192
1258
  export type TQuery_CustomersListViewArgs = {
1193
1259
  id: Scalars['ID'];
1194
1260
  };
@@ -1312,6 +1378,16 @@ export type TRestrictedCustomApplicationInstallationForProject = {
1312
1378
  export type TRestrictedCustomApplicationInstallationForProjectWhereInput = {
1313
1379
  entryPointUriPath?: InputMaybe<Scalars['String']>;
1314
1380
  };
1381
+ export type TRestrictedCustomViewInstallationForOrganization = {
1382
+ __typename?: 'RestrictedCustomViewInstallationForOrganization';
1383
+ acceptedPermissions: Array<TCustomViewInstallationPermission>;
1384
+ createdAt: Scalars['DateTime'];
1385
+ customView: TCustomView;
1386
+ id: Scalars['ID'];
1387
+ installInAllProjects: Scalars['Boolean'];
1388
+ projects?: Maybe<Array<TProjectExtension>>;
1389
+ updatedAt: Scalars['DateTime'];
1390
+ };
1315
1391
  export type TRichTextEditorSettingsInput = {
1316
1392
  isRichTextEditorEnabled: Scalars['Boolean'];
1317
1393
  };