@commercetools-frontend/application-shell 21.5.1 → 21.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.
- package/LICENSE +1 -1
- package/dist/{application-entry-point-51c355b0.esm.js → application-entry-point-14c74303.esm.js} +3 -3
- package/dist/{application-entry-point-07173b29.cjs.prod.js → application-entry-point-dc4da815.cjs.prod.js} +3 -3
- package/dist/{application-entry-point-292ce747.cjs.dev.js → application-entry-point-f22a0ec9.cjs.dev.js} +3 -3
- package/dist/commercetools-frontend-application-shell.cjs.dev.js +5 -4
- package/dist/commercetools-frontend-application-shell.cjs.prod.js +5 -4
- package/dist/commercetools-frontend-application-shell.esm.js +5 -4
- package/dist/{constants-6f8e0d87.esm.js → constants-3cf6ed64.esm.js} +1 -0
- package/dist/{constants-9710f983.cjs.prod.js → constants-bf2e1d68.cjs.dev.js} +1 -0
- package/dist/{constants-0b2cadbb.cjs.dev.js → constants-f34da47c.cjs.prod.js} +1 -0
- package/dist/declarations/src/components/locale-switcher/messages.d.ts +8 -0
- package/dist/declarations/src/components/project-switcher/messages.d.ts +1 -1
- package/dist/declarations/src/components/user-settings-menu/messages.d.ts +5 -0
- package/dist/declarations/src/constants.d.ts +1 -0
- package/dist/declarations/src/types/generated/ctp.d.ts +29 -132
- package/dist/declarations/src/types/generated/mc.d.ts +47 -47
- package/dist/declarations/src/types/generated/proxy.d.ts +11 -10
- package/dist/declarations/src/types/generated/settings.d.ts +31 -0
- package/dist/declarations/src/utils/apollo-context.d.ts +3 -0
- package/dist/{index-86c616dd.esm.js → index-691497c4.esm.js} +108 -77
- package/dist/{index-abc0ed25.cjs.dev.js → index-b67a270d.cjs.dev.js} +109 -77
- package/dist/{index-c3ce2310.cjs.prod.js → index-b937ebec.cjs.prod.js} +78 -46
- package/dist/{oidc-ebdbe61e.cjs.prod.js → oidc-82e151f9.cjs.prod.js} +1 -1
- package/dist/{oidc-ad6058e2.esm.js → oidc-8af521ca.esm.js} +1 -1
- package/dist/{oidc-137df8f6.cjs.dev.js → oidc-ff089e6f.cjs.dev.js} +1 -1
- package/dist/{project-expired-ebe4a567.cjs.dev.js → project-expired-3ff8b6af.cjs.dev.js} +6 -5
- package/dist/{project-expired-95666a03.esm.js → project-expired-af63adca.esm.js} +6 -5
- package/dist/{project-expired-fbd676d7.cjs.prod.js → project-expired-f6ee2c5a.cjs.prod.js} +6 -5
- package/dist/{project-not-found-d6e52818.cjs.prod.js → project-not-found-0fb97434.cjs.dev.js} +6 -5
- package/dist/{project-not-found-818f58ca.cjs.dev.js → project-not-found-4d6af409.cjs.prod.js} +6 -5
- package/dist/{project-not-found-f1cad1f2.esm.js → project-not-found-a8ec89b8.esm.js} +6 -5
- package/dist/{project-not-initialized-1c39d7ac.cjs.dev.js → project-not-initialized-1a4af9f3.cjs.dev.js} +6 -5
- package/dist/{project-not-initialized-051dea72.esm.js → project-not-initialized-7fb913bb.esm.js} +6 -5
- package/dist/{project-not-initialized-2fbd0b99.cjs.prod.js → project-not-initialized-e67beb94.cjs.prod.js} +6 -5
- package/dist/{project-suspended-63f85754.cjs.prod.js → project-suspended-a3e8e976.cjs.dev.js} +6 -5
- package/dist/{project-suspended-37ef515b.esm.js → project-suspended-b8d28c48.esm.js} +6 -5
- package/dist/{project-suspended-b61c6767.cjs.dev.js → project-suspended-dc511990.cjs.prod.js} +6 -5
- package/dist/{quick-access-28a06e23.cjs.prod.js → quick-access-3c5120c2.cjs.prod.js} +5 -4
- package/dist/{quick-access-061ae07e.esm.js → quick-access-69f5ce27.esm.js} +5 -4
- package/dist/{quick-access-68b53a3b.cjs.dev.js → quick-access-c71b6351.cjs.dev.js} +5 -4
- package/dist/{service-page-project-switcher-e680f8bd.cjs.dev.js → service-page-project-switcher-76aa47ce.cjs.dev.js} +1 -1
- package/dist/{service-page-project-switcher-c2a8c14e.cjs.prod.js → service-page-project-switcher-7dcfaf3a.cjs.prod.js} +1 -1
- package/dist/{service-page-project-switcher-3137886a.esm.js → service-page-project-switcher-dffc7091.esm.js} +1 -1
- package/package.json +27 -26
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.dev.js +2 -2
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.prod.js +2 -2
- package/ssr/dist/commercetools-frontend-application-shell-ssr.esm.js +2 -2
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +2 -2
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +2 -2
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +2 -2
package/LICENSE
CHANGED
package/dist/{application-entry-point-51c355b0.esm.js → application-entry-point-14c74303.esm.js}
RENAMED
|
@@ -20,7 +20,7 @@ import omitEmpty from 'omit-empty-es';
|
|
|
20
20
|
import { ADD_NOTIFICATION, removeNotification, REMOVE_NOTIFICATION, reducer, middleware } from '@commercetools-frontend/notifications';
|
|
21
21
|
import { createMiddleware } from '@commercetools-frontend/sdk';
|
|
22
22
|
import { HIDE_ALL_PAGE_NOTIFICATIONS, NOTIFICATION_KINDS_PAGE, SHOW_LOADING, HIDE_LOADING, GRAPHQL_TARGETS, STATUS_CODES, LOGOUT_REASONS } from '@commercetools-frontend/constants';
|
|
23
|
-
import { S as STORAGE_KEYS, L as LOGIN_STRATEGY_OIDC, c as SUPPORTED_HEADERS } from './constants-
|
|
23
|
+
import { S as STORAGE_KEYS, L as LOGIN_STRATEGY_OIDC, c as SUPPORTED_HEADERS } from './constants-3cf6ed64.esm.js';
|
|
24
24
|
import { selectPageNotifications } from '@commercetools-frontend/react-notifications';
|
|
25
25
|
import _startsWithInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/starts-with';
|
|
26
26
|
import _includesInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/includes';
|
|
@@ -60,7 +60,7 @@ import { entryPointUriPathToPermissionKeys } from '@commercetools-frontend/appli
|
|
|
60
60
|
import { useApplicationContext } from '@commercetools-frontend/application-shell-connectors';
|
|
61
61
|
|
|
62
62
|
// NOTE: This string will be replaced on build time with the package version.
|
|
63
|
-
var version = "21.
|
|
63
|
+
var version = "21.8.0";
|
|
64
64
|
|
|
65
65
|
var isAddNotificationErrorAction = function isAddNotificationErrorAction(action) {
|
|
66
66
|
var errorAction = action;
|
|
@@ -653,7 +653,7 @@ var getAppliedForwardToHeaders = function getAppliedForwardToHeaders(apolloConte
|
|
|
653
653
|
headerValue = _ref2[1];
|
|
654
654
|
|
|
655
655
|
return _objectSpread$2(_objectSpread$2({}, customForwardHeaders), {}, _defineProperty({}, "x-forward-header-".concat(headerName), headerValue));
|
|
656
|
-
}, {})), {}, (_objectSpread3 = {}, _defineProperty(_objectSpread3, SUPPORTED_HEADERS.ACCEPT_VERSION, apolloContext.forwardToConfig.version), _defineProperty(_objectSpread3, SUPPORTED_HEADERS.X_FORWARD_TO, apolloContext.forwardToConfig.uri), _objectSpread3));
|
|
656
|
+
}, {})), {}, (_objectSpread3 = {}, _defineProperty(_objectSpread3, SUPPORTED_HEADERS.ACCEPT_VERSION, apolloContext.forwardToConfig.version), _defineProperty(_objectSpread3, SUPPORTED_HEADERS.X_FORWARD_TO, apolloContext.forwardToConfig.uri), _defineProperty(_objectSpread3, SUPPORTED_HEADERS.X_FORWARD_TO_AUDIENCE_POLICY, apolloContext.forwardToConfig.audiencePolicy), _objectSpread3));
|
|
657
657
|
}
|
|
658
658
|
|
|
659
659
|
return {};
|
|
@@ -22,7 +22,7 @@ var omitEmpty = require('omit-empty-es');
|
|
|
22
22
|
var notifications = require('@commercetools-frontend/notifications');
|
|
23
23
|
var sdk = require('@commercetools-frontend/sdk');
|
|
24
24
|
var constants = require('@commercetools-frontend/constants');
|
|
25
|
-
var constants$1 = require('./constants-
|
|
25
|
+
var constants$1 = require('./constants-f34da47c.cjs.prod.js');
|
|
26
26
|
var reactNotifications = require('@commercetools-frontend/react-notifications');
|
|
27
27
|
var _startsWithInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/starts-with');
|
|
28
28
|
var _includesInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/includes');
|
|
@@ -100,7 +100,7 @@ var _JSON$stringify__default = /*#__PURE__*/_interopDefault(_JSON$stringify);
|
|
|
100
100
|
var invariant__default = /*#__PURE__*/_interopDefault(invariant);
|
|
101
101
|
|
|
102
102
|
// NOTE: This string will be replaced on build time with the package version.
|
|
103
|
-
var version = "21.
|
|
103
|
+
var version = "21.8.0";
|
|
104
104
|
|
|
105
105
|
var isAddNotificationErrorAction = function isAddNotificationErrorAction(action) {
|
|
106
106
|
var errorAction = action;
|
|
@@ -685,7 +685,7 @@ var getAppliedForwardToHeaders = function getAppliedForwardToHeaders(apolloConte
|
|
|
685
685
|
headerValue = _ref2[1];
|
|
686
686
|
|
|
687
687
|
return _objectSpread$2(_objectSpread$2({}, customForwardHeaders), {}, _defineProperty({}, "x-forward-header-".concat(headerName), headerValue));
|
|
688
|
-
}, {})), {}, (_objectSpread3 = {}, _defineProperty(_objectSpread3, constants$1.SUPPORTED_HEADERS.ACCEPT_VERSION, apolloContext.forwardToConfig.version), _defineProperty(_objectSpread3, constants$1.SUPPORTED_HEADERS.X_FORWARD_TO, apolloContext.forwardToConfig.uri), _objectSpread3));
|
|
688
|
+
}, {})), {}, (_objectSpread3 = {}, _defineProperty(_objectSpread3, constants$1.SUPPORTED_HEADERS.ACCEPT_VERSION, apolloContext.forwardToConfig.version), _defineProperty(_objectSpread3, constants$1.SUPPORTED_HEADERS.X_FORWARD_TO, apolloContext.forwardToConfig.uri), _defineProperty(_objectSpread3, constants$1.SUPPORTED_HEADERS.X_FORWARD_TO_AUDIENCE_POLICY, apolloContext.forwardToConfig.audiencePolicy), _objectSpread3));
|
|
689
689
|
}
|
|
690
690
|
|
|
691
691
|
return {};
|
|
@@ -22,7 +22,7 @@ var omitEmpty = require('omit-empty-es');
|
|
|
22
22
|
var notifications = require('@commercetools-frontend/notifications');
|
|
23
23
|
var sdk = require('@commercetools-frontend/sdk');
|
|
24
24
|
var constants = require('@commercetools-frontend/constants');
|
|
25
|
-
var constants$1 = require('./constants-
|
|
25
|
+
var constants$1 = require('./constants-bf2e1d68.cjs.dev.js');
|
|
26
26
|
var reactNotifications = require('@commercetools-frontend/react-notifications');
|
|
27
27
|
var _startsWithInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/starts-with');
|
|
28
28
|
var _includesInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/includes');
|
|
@@ -101,7 +101,7 @@ var _pt__default = /*#__PURE__*/_interopDefault(_pt);
|
|
|
101
101
|
var invariant__default = /*#__PURE__*/_interopDefault(invariant);
|
|
102
102
|
|
|
103
103
|
// NOTE: This string will be replaced on build time with the package version.
|
|
104
|
-
var version = "21.
|
|
104
|
+
var version = "21.8.0";
|
|
105
105
|
|
|
106
106
|
var isAddNotificationErrorAction = function isAddNotificationErrorAction(action) {
|
|
107
107
|
var errorAction = action;
|
|
@@ -694,7 +694,7 @@ var getAppliedForwardToHeaders = function getAppliedForwardToHeaders(apolloConte
|
|
|
694
694
|
headerValue = _ref2[1];
|
|
695
695
|
|
|
696
696
|
return _objectSpread$2(_objectSpread$2({}, customForwardHeaders), {}, _defineProperty({}, "x-forward-header-".concat(headerName), headerValue));
|
|
697
|
-
}, {})), {}, (_objectSpread3 = {}, _defineProperty(_objectSpread3, constants$1.SUPPORTED_HEADERS.ACCEPT_VERSION, apolloContext.forwardToConfig.version), _defineProperty(_objectSpread3, constants$1.SUPPORTED_HEADERS.X_FORWARD_TO, apolloContext.forwardToConfig.uri), _objectSpread3));
|
|
697
|
+
}, {})), {}, (_objectSpread3 = {}, _defineProperty(_objectSpread3, constants$1.SUPPORTED_HEADERS.ACCEPT_VERSION, apolloContext.forwardToConfig.version), _defineProperty(_objectSpread3, constants$1.SUPPORTED_HEADERS.X_FORWARD_TO, apolloContext.forwardToConfig.uri), _defineProperty(_objectSpread3, constants$1.SUPPORTED_HEADERS.X_FORWARD_TO_AUDIENCE_POLICY, apolloContext.forwardToConfig.audiencePolicy), _objectSpread3));
|
|
698
698
|
}
|
|
699
699
|
|
|
700
700
|
return {};
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var applicationEntryPoint = require('./application-entry-point-
|
|
6
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
5
|
+
var applicationEntryPoint = require('./application-entry-point-f22a0ec9.cjs.dev.js');
|
|
6
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-b67a270d.cjs.dev.js');
|
|
7
7
|
require('@babel/runtime-corejs3/core-js-stable/instance/filter');
|
|
8
8
|
require('uuid');
|
|
9
9
|
require('@babel/runtime-corejs3/core-js-stable/url');
|
|
@@ -31,7 +31,7 @@ require('omit-empty-es');
|
|
|
31
31
|
require('@commercetools-frontend/notifications');
|
|
32
32
|
require('@commercetools-frontend/sdk');
|
|
33
33
|
require('@commercetools-frontend/constants');
|
|
34
|
-
require('./constants-
|
|
34
|
+
require('./constants-bf2e1d68.cjs.dev.js');
|
|
35
35
|
require('@commercetools-frontend/react-notifications');
|
|
36
36
|
require('@babel/runtime-corejs3/core-js-stable/instance/starts-with');
|
|
37
37
|
require('@babel/runtime-corejs3/core-js-stable/instance/includes');
|
|
@@ -73,7 +73,7 @@ require('perfume.js');
|
|
|
73
73
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
74
74
|
require('lodash/camelCase');
|
|
75
75
|
require('@apollo/client/react');
|
|
76
|
-
require('./oidc-
|
|
76
|
+
require('./oidc-ff089e6f.cjs.dev.js');
|
|
77
77
|
require('qss');
|
|
78
78
|
require('jwt-decode');
|
|
79
79
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
|
@@ -97,6 +97,7 @@ require('@commercetools-frontend/assets/images/logo.svg');
|
|
|
97
97
|
require('@babel/runtime-corejs3/core-js-stable/instance/trim');
|
|
98
98
|
require('downshift');
|
|
99
99
|
require('@commercetools-uikit/avatar');
|
|
100
|
+
require('@commercetools-uikit/accessible-hidden');
|
|
100
101
|
require('@babel/runtime-corejs3/helpers/objectWithoutProperties');
|
|
101
102
|
require('memoize-one');
|
|
102
103
|
require('@commercetools-uikit/select-input');
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var applicationEntryPoint = require('./application-entry-point-
|
|
6
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
5
|
+
var applicationEntryPoint = require('./application-entry-point-dc4da815.cjs.prod.js');
|
|
6
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-b937ebec.cjs.prod.js');
|
|
7
7
|
require('@babel/runtime-corejs3/core-js-stable/instance/filter');
|
|
8
8
|
require('uuid');
|
|
9
9
|
require('@babel/runtime-corejs3/core-js-stable/url');
|
|
@@ -31,7 +31,7 @@ require('omit-empty-es');
|
|
|
31
31
|
require('@commercetools-frontend/notifications');
|
|
32
32
|
require('@commercetools-frontend/sdk');
|
|
33
33
|
require('@commercetools-frontend/constants');
|
|
34
|
-
require('./constants-
|
|
34
|
+
require('./constants-f34da47c.cjs.prod.js');
|
|
35
35
|
require('@commercetools-frontend/react-notifications');
|
|
36
36
|
require('@babel/runtime-corejs3/core-js-stable/instance/starts-with');
|
|
37
37
|
require('@babel/runtime-corejs3/core-js-stable/instance/includes');
|
|
@@ -73,7 +73,7 @@ require('perfume.js');
|
|
|
73
73
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
74
74
|
require('lodash/camelCase');
|
|
75
75
|
require('@apollo/client/react');
|
|
76
|
-
require('./oidc-
|
|
76
|
+
require('./oidc-82e151f9.cjs.prod.js');
|
|
77
77
|
require('qss');
|
|
78
78
|
require('jwt-decode');
|
|
79
79
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
|
@@ -97,6 +97,7 @@ require('@commercetools-frontend/assets/images/logo.svg');
|
|
|
97
97
|
require('@babel/runtime-corejs3/core-js-stable/instance/trim');
|
|
98
98
|
require('downshift');
|
|
99
99
|
require('@commercetools-uikit/avatar');
|
|
100
|
+
require('@commercetools-uikit/accessible-hidden');
|
|
100
101
|
require('@babel/runtime-corejs3/helpers/objectWithoutProperties');
|
|
101
102
|
require('memoize-one');
|
|
102
103
|
require('@commercetools-uikit/select-input');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { p as RouteCatchAll, q as applyDefaultMiddlewares, f as createApolloClient, n as selectProjectKeyFromUrl, t as selectUserId, v as version } from './application-entry-point-
|
|
2
|
-
export { A as ApplicationShell, a as ApplicationShellProvider, C as ConfigureIntlProvider, G as GtmContext, b as GtmUserLogoutTracker, I as InjectReducers, S as SetupFlopFlipProvider, d as SuspendedRoute, c as createApolloContextForProxyForwardTo, s as setupGlobalErrorListener, e as useMcLazyQuery, f as useMcMutation, u as useMcQuery } from './index-
|
|
1
|
+
export { p as RouteCatchAll, q as applyDefaultMiddlewares, f as createApolloClient, n as selectProjectKeyFromUrl, t as selectUserId, v as version } from './application-entry-point-14c74303.esm.js';
|
|
2
|
+
export { A as ApplicationShell, a as ApplicationShellProvider, C as ConfigureIntlProvider, G as GtmContext, b as GtmUserLogoutTracker, I as InjectReducers, S as SetupFlopFlipProvider, d as SuspendedRoute, c as createApolloContextForProxyForwardTo, s as setupGlobalErrorListener, e as useMcLazyQuery, f as useMcMutation, u as useMcQuery } from './index-691497c4.esm.js';
|
|
3
3
|
import '@babel/runtime-corejs3/core-js-stable/instance/filter';
|
|
4
4
|
import 'uuid';
|
|
5
5
|
import '@babel/runtime-corejs3/core-js-stable/url';
|
|
@@ -27,7 +27,7 @@ import 'omit-empty-es';
|
|
|
27
27
|
import '@commercetools-frontend/notifications';
|
|
28
28
|
import '@commercetools-frontend/sdk';
|
|
29
29
|
import '@commercetools-frontend/constants';
|
|
30
|
-
import './constants-
|
|
30
|
+
import './constants-3cf6ed64.esm.js';
|
|
31
31
|
import '@commercetools-frontend/react-notifications';
|
|
32
32
|
import '@babel/runtime-corejs3/core-js-stable/instance/starts-with';
|
|
33
33
|
import '@babel/runtime-corejs3/core-js-stable/instance/includes';
|
|
@@ -69,7 +69,7 @@ import 'perfume.js';
|
|
|
69
69
|
import '@babel/runtime-corejs3/core-js-stable/instance/reverse';
|
|
70
70
|
import 'lodash/camelCase';
|
|
71
71
|
import '@apollo/client/react';
|
|
72
|
-
import './oidc-
|
|
72
|
+
import './oidc-8af521ca.esm.js';
|
|
73
73
|
import 'qss';
|
|
74
74
|
import 'jwt-decode';
|
|
75
75
|
import '@commercetools-frontend/assets/images/locked-diamond.svg';
|
|
@@ -93,6 +93,7 @@ import '@commercetools-frontend/assets/images/logo.svg';
|
|
|
93
93
|
import '@babel/runtime-corejs3/core-js-stable/instance/trim';
|
|
94
94
|
import 'downshift';
|
|
95
95
|
import '@commercetools-uikit/avatar';
|
|
96
|
+
import '@commercetools-uikit/accessible-hidden';
|
|
96
97
|
import '@babel/runtime-corejs3/helpers/objectWithoutProperties';
|
|
97
98
|
import 'memoize-one';
|
|
98
99
|
import '@commercetools-uikit/select-input';
|
|
@@ -10,6 +10,7 @@ var SUPPORTED_HEADERS = {
|
|
|
10
10
|
X_CORRELATION_ID: 'X-Correlation-Id',
|
|
11
11
|
X_FEATURE_FLAG: 'X-Feature-Flag',
|
|
12
12
|
X_FORWARD_TO: 'X-Forward-To',
|
|
13
|
+
X_FORWARD_TO_AUDIENCE_POLICY: 'X-Forward-To-Audience-Policy',
|
|
13
14
|
X_GRAPHQL_TARGET: 'X-Graphql-Target',
|
|
14
15
|
X_GRAPHQL_OPERATION_NAME: 'X-Graphql-Operation-Name',
|
|
15
16
|
X_PROJECT_KEY: 'X-Project-Key',
|
|
@@ -12,6 +12,7 @@ var SUPPORTED_HEADERS = {
|
|
|
12
12
|
X_CORRELATION_ID: 'X-Correlation-Id',
|
|
13
13
|
X_FEATURE_FLAG: 'X-Feature-Flag',
|
|
14
14
|
X_FORWARD_TO: 'X-Forward-To',
|
|
15
|
+
X_FORWARD_TO_AUDIENCE_POLICY: 'X-Forward-To-Audience-Policy',
|
|
15
16
|
X_GRAPHQL_TARGET: 'X-Graphql-Target',
|
|
16
17
|
X_GRAPHQL_OPERATION_NAME: 'X-Graphql-Operation-Name',
|
|
17
18
|
X_PROJECT_KEY: 'X-Project-Key',
|
|
@@ -12,6 +12,7 @@ var SUPPORTED_HEADERS = {
|
|
|
12
12
|
X_CORRELATION_ID: 'X-Correlation-Id',
|
|
13
13
|
X_FEATURE_FLAG: 'X-Feature-Flag',
|
|
14
14
|
X_FORWARD_TO: 'X-Forward-To',
|
|
15
|
+
X_FORWARD_TO_AUDIENCE_POLICY: 'X-Forward-To-Audience-Policy',
|
|
15
16
|
X_GRAPHQL_TARGET: 'X-Graphql-Target',
|
|
16
17
|
X_GRAPHQL_OPERATION_NAME: 'X-Graphql-Operation-Name',
|
|
17
18
|
X_PROJECT_KEY: 'X-Project-Key',
|
|
@@ -10,6 +10,7 @@ export declare const SUPPORTED_HEADERS: {
|
|
|
10
10
|
readonly X_CORRELATION_ID: "X-Correlation-Id";
|
|
11
11
|
readonly X_FEATURE_FLAG: "X-Feature-Flag";
|
|
12
12
|
readonly X_FORWARD_TO: "X-Forward-To";
|
|
13
|
+
readonly X_FORWARD_TO_AUDIENCE_POLICY: "X-Forward-To-Audience-Policy";
|
|
13
14
|
readonly X_GRAPHQL_TARGET: "X-Graphql-Target";
|
|
14
15
|
readonly X_GRAPHQL_OPERATION_NAME: "X-Graphql-Operation-Name";
|
|
15
16
|
readonly X_PROJECT_KEY: "X-Project-Key";
|
|
@@ -947,7 +947,8 @@ export declare type TCartLimitsProjection = {
|
|
|
947
947
|
};
|
|
948
948
|
export declare enum TCartOrigin {
|
|
949
949
|
Customer = "Customer",
|
|
950
|
-
Merchant = "Merchant"
|
|
950
|
+
Merchant = "Merchant",
|
|
951
|
+
Quote = "Quote"
|
|
951
952
|
}
|
|
952
953
|
export declare type TCartQueryInterface = {
|
|
953
954
|
cart?: Maybe<TCart>;
|
|
@@ -3496,10 +3497,6 @@ export declare type TMessagesConfigurationDraft = {
|
|
|
3496
3497
|
deleteDaysAfterCreation: Scalars['Int'];
|
|
3497
3498
|
enabled: Scalars['Boolean'];
|
|
3498
3499
|
};
|
|
3499
|
-
export declare type TMissingFacetInput = {
|
|
3500
|
-
alias?: InputMaybe<Scalars['String']>;
|
|
3501
|
-
path: Scalars['String'];
|
|
3502
|
-
};
|
|
3503
3500
|
export declare type TMissingFilterInput = {
|
|
3504
3501
|
path: Scalars['String'];
|
|
3505
3502
|
};
|
|
@@ -5390,6 +5387,7 @@ export declare type TProductPrice = {
|
|
|
5390
5387
|
customerGroupRef?: Maybe<TReference>;
|
|
5391
5388
|
discounted?: Maybe<TDiscountedProductPriceValue>;
|
|
5392
5389
|
id?: Maybe<Scalars['String']>;
|
|
5390
|
+
key?: Maybe<Scalars['String']>;
|
|
5393
5391
|
tiers?: Maybe<Array<TProductPriceTier>>;
|
|
5394
5392
|
validFrom?: Maybe<Scalars['DateTime']>;
|
|
5395
5393
|
validUntil?: Maybe<Scalars['DateTime']>;
|
|
@@ -5400,6 +5398,7 @@ export declare type TProductPriceDataInput = {
|
|
|
5400
5398
|
country?: InputMaybe<Scalars['Country']>;
|
|
5401
5399
|
custom?: InputMaybe<TCustomFieldsDraft>;
|
|
5402
5400
|
customerGroup?: InputMaybe<TReferenceInput>;
|
|
5401
|
+
key?: InputMaybe<Scalars['String']>;
|
|
5403
5402
|
tiers?: InputMaybe<Array<TProductPriceTierInput>>;
|
|
5404
5403
|
validFrom?: InputMaybe<Scalars['DateTime']>;
|
|
5405
5404
|
validUntil?: InputMaybe<Scalars['DateTime']>;
|
|
@@ -5439,6 +5438,7 @@ export declare type TProductPriceSearch = {
|
|
|
5439
5438
|
customerGroupRef?: Maybe<TReference>;
|
|
5440
5439
|
discounted?: Maybe<TDiscountedProductSearchPriceValue>;
|
|
5441
5440
|
id?: Maybe<Scalars['String']>;
|
|
5441
|
+
key?: Maybe<Scalars['String']>;
|
|
5442
5442
|
tiers?: Maybe<Array<TProductSearchPriceTier>>;
|
|
5443
5443
|
validFrom?: Maybe<Scalars['DateTime']>;
|
|
5444
5444
|
validUntil?: Maybe<Scalars['DateTime']>;
|
|
@@ -7069,12 +7069,8 @@ export declare type TSearchFacetInput = {
|
|
|
7069
7069
|
string?: InputMaybe<Scalars['String']>;
|
|
7070
7070
|
};
|
|
7071
7071
|
export declare type TSearchFacetModelInput = {
|
|
7072
|
-
missing?: InputMaybe<TMissingFacetInput>;
|
|
7073
7072
|
range?: InputMaybe<TRangeFacetInput>;
|
|
7074
7073
|
terms?: InputMaybe<TTermsFacetInput>;
|
|
7075
|
-
tree?: InputMaybe<TTreeFacetInput>;
|
|
7076
|
-
value?: InputMaybe<TValueFacetInput>;
|
|
7077
|
-
valueCount?: InputMaybe<TValueCountFacetInput>;
|
|
7078
7074
|
};
|
|
7079
7075
|
export declare type TSearchFilterInput = {
|
|
7080
7076
|
model?: InputMaybe<TSearchFilterModelInput>;
|
|
@@ -9258,12 +9254,28 @@ export declare type TStandalonePrice = TVersioned & {
|
|
|
9258
9254
|
value: TBaseMoney;
|
|
9259
9255
|
version: Scalars['Long'];
|
|
9260
9256
|
};
|
|
9257
|
+
export declare type TStandalonePriceCreated = TMessagePayload & {
|
|
9258
|
+
__typename?: 'StandalonePriceCreated';
|
|
9259
|
+
standalonePrice: TStandalonePrice;
|
|
9260
|
+
type: Scalars['String'];
|
|
9261
|
+
};
|
|
9261
9262
|
export declare type TStandalonePriceCustomField = {
|
|
9262
9263
|
fields: TCustomFieldsDraft;
|
|
9263
9264
|
type?: InputMaybe<TResourceIdentifierInput>;
|
|
9264
9265
|
typeId?: InputMaybe<Scalars['String']>;
|
|
9265
9266
|
typeKey?: InputMaybe<Scalars['String']>;
|
|
9266
9267
|
};
|
|
9268
|
+
export declare type TStandalonePriceDeleted = TMessagePayload & {
|
|
9269
|
+
__typename?: 'StandalonePriceDeleted';
|
|
9270
|
+
priceId: Scalars['String'];
|
|
9271
|
+
type: Scalars['String'];
|
|
9272
|
+
};
|
|
9273
|
+
export declare type TStandalonePriceDiscountSet = TMessagePayload & {
|
|
9274
|
+
__typename?: 'StandalonePriceDiscountSet';
|
|
9275
|
+
discounted?: Maybe<TDiscountedProductPriceValue>;
|
|
9276
|
+
priceId: Scalars['String'];
|
|
9277
|
+
type: Scalars['String'];
|
|
9278
|
+
};
|
|
9267
9279
|
export declare type TStandalonePriceQueryResult = {
|
|
9268
9280
|
__typename?: 'StandalonePriceQueryResult';
|
|
9269
9281
|
count: Scalars['Int'];
|
|
@@ -9277,6 +9289,12 @@ export declare type TStandalonePriceUpdateAction = {
|
|
|
9277
9289
|
setCustomField?: InputMaybe<TSetStandalonePriceCustomFields>;
|
|
9278
9290
|
setCustomType?: InputMaybe<TCustomFieldsDraft>;
|
|
9279
9291
|
};
|
|
9292
|
+
export declare type TStandalonePriceValueChanged = TMessagePayload & {
|
|
9293
|
+
__typename?: 'StandalonePriceValueChanged';
|
|
9294
|
+
priceId: Scalars['String'];
|
|
9295
|
+
type: Scalars['String'];
|
|
9296
|
+
value: TBaseMoney;
|
|
9297
|
+
};
|
|
9280
9298
|
export declare type TState = TReferenceExpandable & TVersioned & {
|
|
9281
9299
|
__typename?: 'State';
|
|
9282
9300
|
builtIn: Scalars['Boolean'];
|
|
@@ -9810,13 +9828,6 @@ export declare type TTransitionStagedOrderStateOutput = TStagedOrderUpdateAction
|
|
|
9810
9828
|
stateResId: TResourceIdentifier;
|
|
9811
9829
|
type: Scalars['String'];
|
|
9812
9830
|
};
|
|
9813
|
-
export declare type TTreeFacetInput = {
|
|
9814
|
-
alias?: InputMaybe<Scalars['String']>;
|
|
9815
|
-
countProducts?: Scalars['Boolean'];
|
|
9816
|
-
path: Scalars['String'];
|
|
9817
|
-
rootValues: Array<Scalars['String']>;
|
|
9818
|
-
subTreeValues: Array<Scalars['String']>;
|
|
9819
|
-
};
|
|
9820
9831
|
export declare type TTreeFilterInput = {
|
|
9821
9832
|
path: Scalars['String'];
|
|
9822
9833
|
rootValues: Array<Scalars['String']>;
|
|
@@ -9825,10 +9836,12 @@ export declare type TTreeFilterInput = {
|
|
|
9825
9836
|
export declare type TTrigger = {
|
|
9826
9837
|
__typename?: 'Trigger';
|
|
9827
9838
|
actions: Array<TActionType>;
|
|
9839
|
+
condition?: Maybe<Scalars['String']>;
|
|
9828
9840
|
resourceTypeId: Scalars['String'];
|
|
9829
9841
|
};
|
|
9830
9842
|
export declare type TTriggerInput = {
|
|
9831
9843
|
actions?: InputMaybe<Array<TActionType>>;
|
|
9844
|
+
condition?: InputMaybe<Scalars['String']>;
|
|
9832
9845
|
resourceTypeId: Scalars['String'];
|
|
9833
9846
|
};
|
|
9834
9847
|
export declare type TTypeDefinition = TReferenceExpandable & TVersioned & {
|
|
@@ -9938,16 +9951,6 @@ export declare type TUserProvidedIdentifiers_SlugArgs = {
|
|
|
9938
9951
|
acceptLanguage?: InputMaybe<Array<Scalars['Locale']>>;
|
|
9939
9952
|
locale?: InputMaybe<Scalars['Locale']>;
|
|
9940
9953
|
};
|
|
9941
|
-
export declare type TValueCountFacetInput = {
|
|
9942
|
-
alias?: InputMaybe<Scalars['String']>;
|
|
9943
|
-
path: Scalars['String'];
|
|
9944
|
-
};
|
|
9945
|
-
export declare type TValueFacetInput = {
|
|
9946
|
-
alias?: InputMaybe<Scalars['String']>;
|
|
9947
|
-
countProducts?: Scalars['Boolean'];
|
|
9948
|
-
path: Scalars['String'];
|
|
9949
|
-
values: Array<Scalars['String']>;
|
|
9950
|
-
};
|
|
9951
9954
|
export declare type TValueFacetResult = TFacetResult & {
|
|
9952
9955
|
__typename?: 'ValueFacetResult';
|
|
9953
9956
|
count: Scalars['Int'];
|
|
@@ -10102,69 +10105,6 @@ export declare type TSetInputTip = {
|
|
|
10102
10105
|
export declare type TSetKey = {
|
|
10103
10106
|
key?: InputMaybe<Scalars['String']>;
|
|
10104
10107
|
};
|
|
10105
|
-
export declare type TFetchChannelDetailsQueryVariables = Exact<{
|
|
10106
|
-
channelId: Scalars['String'];
|
|
10107
|
-
}>;
|
|
10108
|
-
export declare type TFetchChannelDetailsQuery = {
|
|
10109
|
-
__typename?: 'Query';
|
|
10110
|
-
channel?: {
|
|
10111
|
-
__typename?: 'Channel';
|
|
10112
|
-
id: string;
|
|
10113
|
-
version: number;
|
|
10114
|
-
key: string;
|
|
10115
|
-
roles: Array<TChannelRole>;
|
|
10116
|
-
nameAllLocales?: Array<{
|
|
10117
|
-
__typename?: 'LocalizedString';
|
|
10118
|
-
locale: string;
|
|
10119
|
-
value: string;
|
|
10120
|
-
}> | null;
|
|
10121
|
-
} | null;
|
|
10122
|
-
};
|
|
10123
|
-
export declare type TFetchChannelsQueryVariables = Exact<{
|
|
10124
|
-
limit: Scalars['Int'];
|
|
10125
|
-
offset: Scalars['Int'];
|
|
10126
|
-
sort?: InputMaybe<Array<Scalars['String']> | Scalars['String']>;
|
|
10127
|
-
}>;
|
|
10128
|
-
export declare type TFetchChannelsQuery = {
|
|
10129
|
-
__typename?: 'Query';
|
|
10130
|
-
channels: {
|
|
10131
|
-
__typename?: 'ChannelQueryResult';
|
|
10132
|
-
total: number;
|
|
10133
|
-
count: number;
|
|
10134
|
-
offset: number;
|
|
10135
|
-
results: Array<{
|
|
10136
|
-
__typename?: 'Channel';
|
|
10137
|
-
id: string;
|
|
10138
|
-
key: string;
|
|
10139
|
-
roles: Array<TChannelRole>;
|
|
10140
|
-
nameAllLocales?: Array<{
|
|
10141
|
-
__typename?: 'LocalizedString';
|
|
10142
|
-
locale: string;
|
|
10143
|
-
value: string;
|
|
10144
|
-
}> | null;
|
|
10145
|
-
}>;
|
|
10146
|
-
};
|
|
10147
|
-
};
|
|
10148
|
-
export declare type TUpdateChannelDetailsMutationVariables = Exact<{
|
|
10149
|
-
channelId: Scalars['String'];
|
|
10150
|
-
version: Scalars['Long'];
|
|
10151
|
-
actions: Array<TChannelUpdateAction> | TChannelUpdateAction;
|
|
10152
|
-
}>;
|
|
10153
|
-
export declare type TUpdateChannelDetailsMutation = {
|
|
10154
|
-
__typename?: 'Mutation';
|
|
10155
|
-
updateChannel?: {
|
|
10156
|
-
__typename?: 'Channel';
|
|
10157
|
-
id: string;
|
|
10158
|
-
version: number;
|
|
10159
|
-
key: string;
|
|
10160
|
-
roles: Array<TChannelRole>;
|
|
10161
|
-
nameAllLocales?: Array<{
|
|
10162
|
-
__typename?: 'LocalizedString';
|
|
10163
|
-
locale: string;
|
|
10164
|
-
value: string;
|
|
10165
|
-
}> | null;
|
|
10166
|
-
} | null;
|
|
10167
|
-
};
|
|
10168
10108
|
export declare type TQuickAccessProductQueryVariables = Exact<{
|
|
10169
10109
|
productId: Scalars['String'];
|
|
10170
10110
|
}>;
|
|
@@ -10286,46 +10226,3 @@ export declare type TQuickAccessQuery = {
|
|
|
10286
10226
|
};
|
|
10287
10227
|
} | null;
|
|
10288
10228
|
};
|
|
10289
|
-
export declare type TFetchStateQueryVariables = Exact<{
|
|
10290
|
-
id: Scalars['String'];
|
|
10291
|
-
}>;
|
|
10292
|
-
export declare type TFetchStateQuery = {
|
|
10293
|
-
__typename?: 'Query';
|
|
10294
|
-
state?: {
|
|
10295
|
-
__typename?: 'State';
|
|
10296
|
-
id: string;
|
|
10297
|
-
key?: string | null;
|
|
10298
|
-
type: TStateType;
|
|
10299
|
-
initial: boolean;
|
|
10300
|
-
builtIn: boolean;
|
|
10301
|
-
nameAllLocales?: Array<{
|
|
10302
|
-
__typename?: 'LocalizedString';
|
|
10303
|
-
locale: string;
|
|
10304
|
-
value: string;
|
|
10305
|
-
}> | null;
|
|
10306
|
-
} | null;
|
|
10307
|
-
};
|
|
10308
|
-
export declare type TFetchStatesQueryVariables = Exact<{
|
|
10309
|
-
limit: Scalars['Int'];
|
|
10310
|
-
offset: Scalars['Int'];
|
|
10311
|
-
sort?: InputMaybe<Array<Scalars['String']> | Scalars['String']>;
|
|
10312
|
-
}>;
|
|
10313
|
-
export declare type TFetchStatesQuery = {
|
|
10314
|
-
__typename?: 'Query';
|
|
10315
|
-
states: {
|
|
10316
|
-
__typename?: 'StateQueryResult';
|
|
10317
|
-
total: number;
|
|
10318
|
-
count: number;
|
|
10319
|
-
offset: number;
|
|
10320
|
-
results: Array<{
|
|
10321
|
-
__typename?: 'State';
|
|
10322
|
-
id: string;
|
|
10323
|
-
key?: string | null;
|
|
10324
|
-
nameAllLocales?: Array<{
|
|
10325
|
-
__typename?: 'LocalizedString';
|
|
10326
|
-
locale: string;
|
|
10327
|
-
value: string;
|
|
10328
|
-
}> | null;
|
|
10329
|
-
}>;
|
|
10330
|
-
};
|
|
10331
|
-
};
|