@commercetools-frontend/mc-scripts 22.11.0 → 22.13.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 (43) 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-32837342.cjs.prod.js → build-5bfca7c8.cjs.prod.js} +3 -3
  5. package/dist/{build-5c91b773.cjs.dev.js → build-9bd2f410.cjs.dev.js} +3 -3
  6. package/dist/{build-fcc2b53e.esm.js → build-c99a4685.esm.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-dc8c5825.cjs.dev.js → config-sync-52f1daf8.cjs.dev.js} +417 -62
  11. package/dist/{config-sync-1b9901fd.esm.js → config-sync-aa114b0b.esm.js} +417 -62
  12. package/dist/{config-sync-cb6355ee.cjs.prod.js → config-sync-bef101a0.cjs.prod.js} +417 -62
  13. package/dist/{create-postcss-config-83bf7e4e.cjs.prod.js → create-postcss-config-1fd98922.cjs.prod.js} +1 -1
  14. package/dist/{create-postcss-config-cb5f7725.esm.js → create-postcss-config-354ba07a.esm.js} +1 -1
  15. package/dist/{create-postcss-config-e77490e3.cjs.dev.js → create-postcss-config-843c2974.cjs.dev.js} +1 -1
  16. package/dist/{create-webpack-config-for-development-db0db557.esm.js → create-webpack-config-for-development-3b40205e.esm.js} +1 -1
  17. package/dist/{create-webpack-config-for-development-50b8a7e7.cjs.dev.js → create-webpack-config-for-development-8f11a518.cjs.dev.js} +1 -1
  18. package/dist/{create-webpack-config-for-development-4d3956ab.cjs.prod.js → create-webpack-config-for-development-90aa6ec0.cjs.prod.js} +1 -1
  19. package/dist/{create-webpack-config-for-production-78307ac6.cjs.prod.js → create-webpack-config-for-production-2716c37e.cjs.prod.js} +1 -1
  20. package/dist/{create-webpack-config-for-production-421bdf70.cjs.dev.js → create-webpack-config-for-production-cacd3a52.cjs.dev.js} +1 -1
  21. package/dist/{create-webpack-config-for-production-c1e7bfaa.esm.js → create-webpack-config-for-production-e57dacb7.esm.js} +1 -1
  22. package/dist/{credentials-storage-39492166.esm.js → credentials-storage-001c09fb.esm.js} +1 -1
  23. package/dist/{credentials-storage-6c8f8a6a.cjs.prod.js → credentials-storage-252b2ead.cjs.prod.js} +1 -1
  24. package/dist/{credentials-storage-2a0046c3.cjs.dev.js → credentials-storage-e637c260.cjs.dev.js} +1 -1
  25. package/dist/declarations/src/generated/settings.d.ts +114 -1
  26. package/dist/declarations/src/utils/get-config-diff.d.ts +3 -3
  27. package/dist/declarations/src/utils/graphql-requests.d.ts +56 -3
  28. package/dist/{login-256c8d6b.cjs.prod.js → login-506d2457.cjs.prod.js} +2 -2
  29. package/dist/{login-d0ac94e2.cjs.dev.js → login-67e038da.cjs.dev.js} +2 -2
  30. package/dist/{login-cf3d1b7f.esm.js → login-f7a8221b.esm.js} +2 -2
  31. package/dist/{package-afdd385b.esm.js → package-53e602ff.esm.js} +9 -8
  32. package/dist/{package-582f21e6.cjs.prod.js → package-933e64f5.cjs.dev.js} +9 -8
  33. package/dist/{package-9f63548c.cjs.dev.js → package-db6d1141.cjs.prod.js} +9 -8
  34. package/dist/{start-3021daa5.esm.js → start-18591a38.esm.js} +3 -3
  35. package/dist/{start-7dc2bd3d.cjs.prod.js → start-19554dc8.cjs.prod.js} +3 -3
  36. package/dist/{start-860d7653.cjs.dev.js → start-6b8d264b.cjs.dev.js} +3 -3
  37. package/package.json +9 -8
  38. package/postcss/dist/commercetools-frontend-mc-scripts-postcss.cjs.dev.js +2 -2
  39. package/postcss/dist/commercetools-frontend-mc-scripts-postcss.cjs.prod.js +2 -2
  40. package/postcss/dist/commercetools-frontend-mc-scripts-postcss.esm.js +2 -2
  41. package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.dev.js +4 -4
  42. package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.prod.js +4 -4
  43. package/webpack/dist/commercetools-frontend-mc-scripts-webpack.esm.js +4 -4
@@ -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-582f21e6.cjs.prod.js');
5
+ var _package = require('./package-db6d1141.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-afdd385b.esm.js';
3
+ import { p as pkgJson } from './package-53e602ff.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-9f63548c.cjs.dev.js');
5
+ var _package = require('./package-933e64f5.cjs.dev.js');
6
6
 
7
7
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
8
8
 
@@ -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-cb5f7725.esm.js';
25
+ import { c as createPostcssConfig } from './create-postcss-config-354ba07a.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';
@@ -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-e77490e3.cjs.dev.js');
27
+ var createPostcssConfig = require('./create-postcss-config-843c2974.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');
@@ -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-83bf7e4e.cjs.prod.js');
27
+ var createPostcssConfig = require('./create-postcss-config-1fd98922.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');
@@ -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-83bf7e4e.cjs.prod.js');
31
+ var createPostcssConfig = require('./create-postcss-config-1fd98922.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');
@@ -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-e77490e3.cjs.dev.js');
31
+ var createPostcssConfig = require('./create-postcss-config-843c2974.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');
@@ -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-cb5f7725.esm.js';
29
+ import { c as createPostcssConfig } from './create-postcss-config-354ba07a.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';
@@ -1,5 +1,5 @@
1
1
  import createHttpUserAgent from '@commercetools/http-user-agent';
2
- import { p as pkgJson } from './package-afdd385b.esm.js';
2
+ import { p as pkgJson } from './package-53e602ff.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-582f21e6.cjs.prod.js');
4
+ var _package = require('./package-db6d1141.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');
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var createHttpUserAgent = require('@commercetools/http-user-agent');
4
- var _package = require('./package-9f63548c.cjs.dev.js');
4
+ var _package = require('./package-933e64f5.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');
@@ -604,6 +604,7 @@ export type TMutation = {
604
604
  activateCustomersSearchListMyView?: Maybe<TCustomersSearchListMyView>;
605
605
  activateDashboardView?: Maybe<TDashboardView>;
606
606
  activateDiscountCodesCustomView?: Maybe<TDiscountsCustomView>;
607
+ activateOrderDetailView?: Maybe<TOrderDetailView>;
607
608
  activateOrdersListView?: Maybe<TOrdersListView>;
608
609
  activateOrganizationExtensionOidcSsoConfig?: Maybe<TOrganizationExtension>;
609
610
  activatePimSearchListView?: Maybe<TPimSearchListView>;
@@ -621,6 +622,7 @@ export type TMutation = {
621
622
  createCustomersSearchListMyView: TCustomersSearchListMyView;
622
623
  createDashboardView: TDashboardView;
623
624
  createDiscountCodesCustomView: TDiscountsCustomView;
625
+ createOrderDetailView: TOrderDetailView;
624
626
  createOrdersListView: TOrdersListView;
625
627
  createPimSearchListView: TPimSearchListView;
626
628
  createProductDiscountsCustomView: TDiscountsCustomView;
@@ -633,6 +635,7 @@ export type TMutation = {
633
635
  deactivateCustomersSearchListMyView?: Maybe<TOrdersListView>;
634
636
  deactivateDashboardView?: Maybe<TDashboardView>;
635
637
  deactivateDiscountCodesCustomView?: Maybe<TDiscountsCustomView>;
638
+ deactivateOrderDetailView?: Maybe<TOrderDetailView>;
636
639
  deactivateOrdersListView?: Maybe<TOrdersListView>;
637
640
  deactivateOrganizationExtensionOidcSsoConfig?: Maybe<TOrganizationExtension>;
638
641
  deactivatePimSearchListView?: Maybe<TPimSearchListView>;
@@ -640,6 +643,7 @@ export type TMutation = {
640
643
  deactivateProductTypeAttributesView?: Maybe<TProductTypeAttributesView>;
641
644
  deactivateProjectSettingsStoresView?: Maybe<TProjectSettingsStoresView>;
642
645
  deleteAllDashboardViews: Array<TDashboardView>;
646
+ deleteAllOrderDetailViews: Array<TOrderDetailView>;
643
647
  deleteAllOrdersListViews: Array<TOrdersListView>;
644
648
  deleteBusinessUnitsListMyView?: Maybe<TBusinessUnitsListMyView>;
645
649
  deleteCartDiscountsCustomView?: Maybe<TDiscountsCustomView>;
@@ -650,6 +654,7 @@ export type TMutation = {
650
654
  deleteCustomersSearchListMyView?: Maybe<TCustomersSearchListMyView>;
651
655
  deleteDashboardView?: Maybe<TDashboardView>;
652
656
  deleteDiscountCodesCustomView?: Maybe<TDiscountsCustomView>;
657
+ deleteOrderDetailView?: Maybe<TOrderDetailView>;
653
658
  deleteOrdersListView?: Maybe<TOrdersListView>;
654
659
  deletePimSearchListView?: Maybe<TPimSearchListView>;
655
660
  deleteProductDiscountsCustomView?: Maybe<TDiscountsCustomView>;
@@ -679,6 +684,7 @@ export type TMutation = {
679
684
  updateCustomersSearchListMyView?: Maybe<TCustomersSearchListMyView>;
680
685
  updateDashboardView?: Maybe<TDashboardView>;
681
686
  updateDiscountCodesCustomView?: Maybe<TDiscountsCustomView>;
687
+ updateOrderDetailView?: Maybe<TOrderDetailView>;
682
688
  updateOrdersListView?: Maybe<TOrdersListView>;
683
689
  updatePimSearchListView?: Maybe<TPimSearchListView>;
684
690
  updateProductDiscountsCustomView?: Maybe<TDiscountsCustomView>;
@@ -706,6 +712,9 @@ export type TMutation_ActivateDashboardViewArgs = {
706
712
  export type TMutation_ActivateDiscountCodesCustomViewArgs = {
707
713
  id: Scalars['ID'];
708
714
  };
715
+ export type TMutation_ActivateOrderDetailViewArgs = {
716
+ id: Scalars['ID'];
717
+ };
709
718
  export type TMutation_ActivateOrdersListViewArgs = {
710
719
  id: Scalars['ID'];
711
720
  };
@@ -767,6 +776,9 @@ export type TMutation_CreateDashboardViewArgs = {
767
776
  export type TMutation_CreateDiscountCodesCustomViewArgs = {
768
777
  data: TDiscountsCustomViewInput;
769
778
  };
779
+ export type TMutation_CreateOrderDetailViewArgs = {
780
+ data: TOrderDetailViewInput;
781
+ };
770
782
  export type TMutation_CreateOrdersListViewArgs = {
771
783
  data: TOrdersListViewInput;
772
784
  };
@@ -803,6 +815,9 @@ export type TMutation_DeactivateDashboardViewArgs = {
803
815
  export type TMutation_DeactivateDiscountCodesCustomViewArgs = {
804
816
  id: Scalars['ID'];
805
817
  };
818
+ export type TMutation_DeactivateOrderDetailViewArgs = {
819
+ id: Scalars['ID'];
820
+ };
806
821
  export type TMutation_DeactivateOrdersListViewArgs = {
807
822
  id: Scalars['ID'];
808
823
  };
@@ -851,6 +866,9 @@ export type TMutation_DeleteDashboardViewArgs = {
851
866
  export type TMutation_DeleteDiscountCodesCustomViewArgs = {
852
867
  id: Scalars['ID'];
853
868
  };
869
+ export type TMutation_DeleteOrderDetailViewArgs = {
870
+ id: Scalars['ID'];
871
+ };
854
872
  export type TMutation_DeleteOrdersListViewArgs = {
855
873
  id: Scalars['ID'];
856
874
  };
@@ -962,6 +980,10 @@ export type TMutation_UpdateDiscountCodesCustomViewArgs = {
962
980
  data: TDiscountsCustomViewInput;
963
981
  id: Scalars['ID'];
964
982
  };
983
+ export type TMutation_UpdateOrderDetailViewArgs = {
984
+ data: TOrderDetailViewInput;
985
+ id: Scalars['ID'];
986
+ };
965
987
  export type TMutation_UpdateOrdersListViewArgs = {
966
988
  data: TOrdersListViewInput;
967
989
  id: Scalars['ID'];
@@ -1090,6 +1112,24 @@ export type TOidcSsoConfigDataInput = {
1090
1112
  sessionTokenExpTimeSeconds?: InputMaybe<Scalars['Int']>;
1091
1113
  teamIdForNewUsers: Scalars['String'];
1092
1114
  };
1115
+ export type TOrderDetailView = {
1116
+ __typename?: 'OrderDetailView';
1117
+ createdAt: Scalars['DateTime'];
1118
+ id: Scalars['ID'];
1119
+ isActive?: Maybe<Scalars['Boolean']>;
1120
+ nameAllLocales?: Maybe<Array<TLocalizedField>>;
1121
+ projectKey: Scalars['String'];
1122
+ table?: Maybe<TTable>;
1123
+ updatedAt: Scalars['DateTime'];
1124
+ userId: Scalars['String'];
1125
+ };
1126
+ export type TOrderDetailViewInput = {
1127
+ nameAllLocales: Array<TLocalizedFieldCreateInput>;
1128
+ table?: InputMaybe<TOrderDetailViewTableInput>;
1129
+ };
1130
+ export type TOrderDetailViewTableInput = {
1131
+ visibleColumns: Array<Scalars['String']>;
1132
+ };
1093
1133
  export declare enum TOrderStatesVisibility {
1094
1134
  HideOrderState = "HideOrderState",
1095
1135
  HidePaymentState = "HidePaymentState",
@@ -1157,6 +1197,13 @@ export type TOrganizationExtensionForCustomApplication = {
1157
1197
  organizationId: Scalars['String'];
1158
1198
  organizationName?: Maybe<Scalars['String']>;
1159
1199
  };
1200
+ export type TOrganizationExtensionForCustomView = {
1201
+ __typename?: 'OrganizationExtensionForCustomView';
1202
+ customView?: Maybe<TRestrictedCustomViewForOrganization>;
1203
+ id: Scalars['ID'];
1204
+ organizationId: Scalars['String'];
1205
+ organizationName?: Maybe<Scalars['String']>;
1206
+ };
1160
1207
  export type TPimSearchListView = {
1161
1208
  __typename?: 'PimSearchListView';
1162
1209
  createdAt: Scalars['DateTime'];
@@ -1279,6 +1326,7 @@ export type TQuery = {
1279
1326
  activeCustomersSearchListMyView?: Maybe<TCustomersSearchListMyView>;
1280
1327
  activeDashboardView?: Maybe<TDashboardView>;
1281
1328
  activeDiscountCodesCustomView?: Maybe<TDiscountsCustomView>;
1329
+ activeOrderDetailView?: Maybe<TOrderDetailView>;
1282
1330
  activeOrdersListView?: Maybe<TOrdersListView>;
1283
1331
  activePimSearchListView?: Maybe<TPimSearchListView>;
1284
1332
  activeProductDiscountsCustomView?: Maybe<TDiscountsCustomView>;
@@ -1316,10 +1364,13 @@ export type TQuery = {
1316
1364
  /** @deprecated Experimental feature - For internal usage only */
1317
1365
  globalOrganizationExtension?: Maybe<TOrganizationExtension>;
1318
1366
  myCustomApplications: Array<TMyCustomApplication>;
1367
+ orderDetailView?: Maybe<TOrderDetailView>;
1368
+ orderDetailViews: Array<Maybe<TOrderDetailView>>;
1319
1369
  ordersListView?: Maybe<TOrdersListView>;
1320
1370
  ordersListViews: Array<Maybe<TOrdersListView>>;
1321
1371
  organizationExtension?: Maybe<TOrganizationExtension>;
1322
1372
  organizationExtensionForCustomApplication?: Maybe<TOrganizationExtensionForCustomApplication>;
1373
+ organizationExtensionForCustomView?: Maybe<TOrganizationExtensionForCustomView>;
1323
1374
  pimSearchListView?: Maybe<TPimSearchListView>;
1324
1375
  pimSearchListViews: Array<Maybe<TPimSearchListView>>;
1325
1376
  productDiscountsCustomView?: Maybe<TDiscountsCustomView>;
@@ -1389,6 +1440,9 @@ export type TQuery_GlobalOrganizationExtensionArgs = {
1389
1440
  export type TQuery_MyCustomApplicationsArgs = {
1390
1441
  params?: InputMaybe<TMyCustomApplicationQueryInput>;
1391
1442
  };
1443
+ export type TQuery_OrderDetailViewArgs = {
1444
+ id: Scalars['ID'];
1445
+ };
1392
1446
  export type TQuery_OrdersListViewArgs = {
1393
1447
  id: Scalars['ID'];
1394
1448
  };
@@ -1398,6 +1452,9 @@ export type TQuery_OrganizationExtensionArgs = {
1398
1452
  export type TQuery_OrganizationExtensionForCustomApplicationArgs = {
1399
1453
  entryPointUriPath: Scalars['String'];
1400
1454
  };
1455
+ export type TQuery_OrganizationExtensionForCustomViewArgs = {
1456
+ customViewId: Scalars['String'];
1457
+ };
1401
1458
  export type TQuery_PimSearchListViewArgs = {
1402
1459
  id: Scalars['ID'];
1403
1460
  };
@@ -1604,7 +1661,8 @@ export type TSampleDataImportMetadata = {
1604
1661
  dataset?: Maybe<TSampleDatasets>;
1605
1662
  };
1606
1663
  export declare enum TSampleDatasets {
1607
- Fashion = "FASHION"
1664
+ Fashion = "FASHION",
1665
+ Goodstore = "GOODSTORE"
1608
1666
  }
1609
1667
  export type TSort = {
1610
1668
  __typename?: 'Sort';
@@ -1790,6 +1848,17 @@ export type TCreateCustomApplicationFromCliMutation = {
1790
1848
  id: string;
1791
1849
  } | null;
1792
1850
  };
1851
+ export type TCreateCustomViewFromCliMutationVariables = Exact<{
1852
+ organizationId: Scalars['String'];
1853
+ data: TCustomViewDraftDataInput;
1854
+ }>;
1855
+ export type TCreateCustomViewFromCliMutation = {
1856
+ __typename?: 'Mutation';
1857
+ createCustomView?: {
1858
+ __typename?: 'RestrictedCustomViewForOrganization';
1859
+ id: string;
1860
+ } | null;
1861
+ };
1793
1862
  export type TFetchCustomApplicationFromCliQueryVariables = Exact<{
1794
1863
  entryPointUriPath: Scalars['String'];
1795
1864
  }>;
@@ -1835,6 +1904,38 @@ export type TFetchCustomApplicationFromCliQuery = {
1835
1904
  };
1836
1905
  } | null;
1837
1906
  };
1907
+ export type TFetchCustomViewFromCliQueryVariables = Exact<{
1908
+ customViewId: Scalars['String'];
1909
+ }>;
1910
+ export type TFetchCustomViewFromCliQuery = {
1911
+ __typename?: 'Query';
1912
+ organizationExtensionForCustomView?: {
1913
+ __typename?: 'OrganizationExtensionForCustomView';
1914
+ organizationId: string;
1915
+ customView?: {
1916
+ __typename?: 'RestrictedCustomViewForOrganization';
1917
+ id: string;
1918
+ defaultLabel: string;
1919
+ url: string;
1920
+ type: TCustomViewType;
1921
+ locators: Array<string>;
1922
+ labelAllLocales: Array<{
1923
+ __typename?: 'LocalizedField';
1924
+ locale: string;
1925
+ value: string;
1926
+ }>;
1927
+ typeSettings?: {
1928
+ __typename?: 'CustomViewTypeSettings';
1929
+ size?: TCustomViewSize | null;
1930
+ } | null;
1931
+ permissions: Array<{
1932
+ __typename?: 'CustomViewPermission';
1933
+ name: string;
1934
+ oAuthScopes: Array<string>;
1935
+ }>;
1936
+ } | null;
1937
+ } | null;
1938
+ };
1838
1939
  export type TUpdateCustomApplicationFromCliMutationVariables = Exact<{
1839
1940
  organizationId: Scalars['String'];
1840
1941
  data: TCustomApplicationDraftDataInput;
@@ -1847,3 +1948,15 @@ export type TUpdateCustomApplicationFromCliMutation = {
1847
1948
  id: string;
1848
1949
  } | null;
1849
1950
  };
1951
+ export type TUpdateCustomViewFromCliMutationVariables = Exact<{
1952
+ organizationId: Scalars['String'];
1953
+ data: TCustomViewDraftDataInput;
1954
+ customViewId: Scalars['String'];
1955
+ }>;
1956
+ export type TUpdateCustomViewFromCliMutation = {
1957
+ __typename?: 'Mutation';
1958
+ updateCustomView?: {
1959
+ __typename?: 'RestrictedCustomViewForOrganization';
1960
+ id: string;
1961
+ } | null;
1962
+ };
@@ -1,3 +1,3 @@
1
- import { type CustomApplicationData } from '@commercetools-frontend/application-config';
2
- declare const getConfigDiff: (oldConfig: CustomApplicationData, newConfig: CustomApplicationData) => string;
3
- export default getConfigDiff;
1
+ import { type CustomApplicationData, type CustomViewData } from '@commercetools-frontend/application-config';
2
+ export declare const getCustomApplicationConfigDiff: (oldConfig: CustomApplicationData, newConfig: CustomApplicationData) => string;
3
+ export declare const getCustomViewConfigDiff: (oldConfig: CustomViewData, newConfig: CustomViewData) => string;
@@ -1,9 +1,14 @@
1
- import type { TCustomApplicationDraftDataInput } from '../generated/settings';
1
+ import type { TCustomApplicationDraftDataInput, TCustomViewDraftDataInput } from '../generated/settings';
2
2
  type TFetchCustomApplicationOptions = {
3
3
  mcApiUrl: string;
4
4
  entryPointUriPath: string;
5
5
  applicationIdentifier: string;
6
6
  };
7
+ type TFetchCustomViewOptions = {
8
+ mcApiUrl: string;
9
+ customViewId: string;
10
+ applicationIdentifier: string;
11
+ };
7
12
  type TUpdateCustomApplicationOptions = {
8
13
  mcApiUrl: string;
9
14
  applicationId: string;
@@ -11,15 +16,29 @@ type TUpdateCustomApplicationOptions = {
11
16
  data: TCustomApplicationDraftDataInput;
12
17
  applicationIdentifier: string;
13
18
  };
19
+ type TUpdateCustomViewOptions = {
20
+ mcApiUrl: string;
21
+ customViewId: string;
22
+ organizationId: string;
23
+ data: TCustomViewDraftDataInput;
24
+ applicationIdentifier: string;
25
+ };
14
26
  type TCreateCustomApplicationOptions = {
15
27
  mcApiUrl: string;
16
28
  organizationId: string;
17
29
  data: TCustomApplicationDraftDataInput;
18
30
  applicationIdentifier: string;
19
31
  };
32
+ type TCreateCustomViewOptions = {
33
+ mcApiUrl: string;
34
+ organizationId: string;
35
+ data: TCustomViewDraftDataInput;
36
+ applicationIdentifier: string;
37
+ };
20
38
  type TFetchUserOrganizationsOptions = {
21
39
  mcApiUrl: string;
22
40
  applicationIdentifier: string;
41
+ customViewId?: string;
23
42
  };
24
43
  declare const fetchCustomApplication: ({ mcApiUrl, entryPointUriPath, applicationIdentifier, }: TFetchCustomApplicationOptions) => Promise<{
25
44
  __typename?: "OrganizationExtensionForCustomApplication" | undefined;
@@ -60,15 +79,49 @@ declare const fetchCustomApplication: ({ mcApiUrl, entryPointUriPath, applicatio
60
79
  }[];
61
80
  };
62
81
  } | null | undefined>;
82
+ declare const fetchCustomView: ({ mcApiUrl, customViewId, applicationIdentifier, }: TFetchCustomViewOptions) => Promise<{
83
+ __typename?: "OrganizationExtensionForCustomView" | undefined;
84
+ organizationId: string;
85
+ customView?: {
86
+ __typename?: "RestrictedCustomViewForOrganization" | undefined;
87
+ id: string;
88
+ defaultLabel: string;
89
+ url: string;
90
+ type: import("../generated/settings").TCustomViewType;
91
+ locators: string[];
92
+ labelAllLocales: {
93
+ __typename?: "LocalizedField" | undefined;
94
+ locale: string;
95
+ value: string;
96
+ }[];
97
+ typeSettings?: {
98
+ __typename?: "CustomViewTypeSettings" | undefined;
99
+ size?: import("../generated/settings").TCustomViewSize | null | undefined;
100
+ } | null | undefined;
101
+ permissions: {
102
+ __typename?: "CustomViewPermission" | undefined;
103
+ name: string;
104
+ oAuthScopes: string[];
105
+ }[];
106
+ } | null | undefined;
107
+ } | null | undefined>;
63
108
  declare const updateCustomApplication: ({ mcApiUrl, applicationId, organizationId, data, applicationIdentifier, }: TUpdateCustomApplicationOptions) => Promise<{
64
109
  __typename?: "RestrictedCustomApplicationForOrganization" | undefined;
65
110
  id: string;
66
111
  } | null | undefined>;
112
+ declare const updateCustomView: ({ mcApiUrl, organizationId, data, customViewId, applicationIdentifier, }: TUpdateCustomViewOptions) => Promise<{
113
+ __typename?: "RestrictedCustomViewForOrganization" | undefined;
114
+ id: string;
115
+ } | null | undefined>;
67
116
  declare const createCustomApplication: ({ mcApiUrl, organizationId, data, applicationIdentifier, }: TCreateCustomApplicationOptions) => Promise<{
68
117
  __typename?: "RestrictedCustomApplicationForOrganization" | undefined;
69
118
  id: string;
70
119
  } | null | undefined>;
71
- declare const fetchUserOrganizations: ({ mcApiUrl, applicationIdentifier, }: TFetchUserOrganizationsOptions) => Promise<{
120
+ declare const createCustomView: ({ mcApiUrl, organizationId, data, applicationIdentifier, }: TCreateCustomViewOptions) => Promise<{
121
+ __typename?: "RestrictedCustomViewForOrganization" | undefined;
122
+ id: string;
123
+ } | null | undefined>;
124
+ declare const fetchUserOrganizations: ({ mcApiUrl, applicationIdentifier, customViewId, }: TFetchUserOrganizationsOptions) => Promise<{
72
125
  __typename?: "OrganizationQueryResult" | undefined;
73
126
  total: any;
74
127
  results: {
@@ -77,4 +130,4 @@ declare const fetchUserOrganizations: ({ mcApiUrl, applicationIdentifier, }: TFe
77
130
  name: string;
78
131
  }[];
79
132
  }>;
80
- export { fetchCustomApplication, updateCustomApplication, createCustomApplication, fetchUserOrganizations, };
133
+ export { fetchCustomApplication, fetchCustomView, updateCustomApplication, createCustomApplication, fetchUserOrganizations, createCustomView, updateCustomView, };
@@ -14,9 +14,9 @@ var _Object$defineProperty = require('@babel/runtime-corejs3/core-js-stable/obje
14
14
  var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
15
15
  var _JSON$stringify = require('@babel/runtime-corejs3/core-js-stable/json/stringify');
16
16
  var fetch = require('node-fetch');
17
- var credentialsStorage$1 = require('./credentials-storage-6c8f8a6a.cjs.prod.js');
17
+ var credentialsStorage$1 = require('./credentials-storage-252b2ead.cjs.prod.js');
18
18
  require('@commercetools/http-user-agent');
19
- require('./package-582f21e6.cjs.prod.js');
19
+ require('./package-db6d1141.cjs.prod.js');
20
20
  require('@babel/runtime-corejs3/helpers/classCallCheck');
21
21
  require('@babel/runtime-corejs3/helpers/createClass');
22
22
  require('@babel/runtime-corejs3/core-js-stable/date/now');
@@ -14,9 +14,9 @@ var _Object$defineProperty = require('@babel/runtime-corejs3/core-js-stable/obje
14
14
  var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
15
15
  var _JSON$stringify = require('@babel/runtime-corejs3/core-js-stable/json/stringify');
16
16
  var fetch = require('node-fetch');
17
- var credentialsStorage$1 = require('./credentials-storage-2a0046c3.cjs.dev.js');
17
+ var credentialsStorage$1 = require('./credentials-storage-e637c260.cjs.dev.js');
18
18
  require('@commercetools/http-user-agent');
19
- require('./package-9f63548c.cjs.dev.js');
19
+ require('./package-933e64f5.cjs.dev.js');
20
20
  require('@babel/runtime-corejs3/helpers/classCallCheck');
21
21
  require('@babel/runtime-corejs3/helpers/createClass');
22
22
  require('@babel/runtime-corejs3/core-js-stable/date/now');
@@ -12,9 +12,9 @@ import _Object$defineProperty from '@babel/runtime-corejs3/core-js-stable/object
12
12
  import _defineProperty from '@babel/runtime-corejs3/helpers/esm/defineProperty';
13
13
  import _JSON$stringify from '@babel/runtime-corejs3/core-js-stable/json/stringify';
14
14
  import fetch from 'node-fetch';
15
- import { u as userAgent, C as CredentialsStorage } from './credentials-storage-39492166.esm.js';
15
+ import { u as userAgent, C as CredentialsStorage } from './credentials-storage-001c09fb.esm.js';
16
16
  import '@commercetools/http-user-agent';
17
- import './package-afdd385b.esm.js';
17
+ import './package-53e602ff.esm.js';
18
18
  import '@babel/runtime-corejs3/helpers/classCallCheck';
19
19
  import '@babel/runtime-corejs3/helpers/createClass';
20
20
  import '@babel/runtime-corejs3/core-js-stable/date/now';
@@ -1,6 +1,6 @@
1
1
  var pkgJson = {
2
2
  name: "@commercetools-frontend/mc-scripts",
3
- version: "22.11.0",
3
+ version: "22.13.0",
4
4
  description: "Configuration and scripts for developing a MC application",
5
5
  bugs: "https://github.com/commercetools/merchant-center-application-kit/issues",
6
6
  repository: {
@@ -58,13 +58,13 @@ var pkgJson = {
58
58
  "@babel/core": "^7.22.17",
59
59
  "@babel/runtime": "^7.22.15",
60
60
  "@babel/runtime-corejs3": "^7.22.15",
61
- "@commercetools-frontend/application-components": "22.11.0",
62
- "@commercetools-frontend/application-config": "22.11.0",
63
- "@commercetools-frontend/assets": "22.11.0",
64
- "@commercetools-frontend/babel-preset-mc-app": "22.11.0",
65
- "@commercetools-frontend/constants": "22.11.0",
66
- "@commercetools-frontend/mc-dev-authentication": "22.11.0",
67
- "@commercetools-frontend/mc-html-template": "22.11.0",
61
+ "@commercetools-frontend/application-components": "22.13.0",
62
+ "@commercetools-frontend/application-config": "22.13.0",
63
+ "@commercetools-frontend/assets": "22.13.0",
64
+ "@commercetools-frontend/babel-preset-mc-app": "22.13.0",
65
+ "@commercetools-frontend/constants": "22.13.0",
66
+ "@commercetools-frontend/mc-dev-authentication": "22.13.0",
67
+ "@commercetools-frontend/mc-html-template": "22.13.0",
68
68
  "@commercetools/http-user-agent": "3.0.0",
69
69
  "@pmmmwh/react-refresh-webpack-plugin": "0.5.10",
70
70
  "@rollup/plugin-graphql": "2.0.3",
@@ -123,6 +123,7 @@ var pkgJson = {
123
123
  webpackbar: "5.0.2"
124
124
  },
125
125
  devDependencies: {
126
+ "@commercetools-test-data/custom-view": "^6.4.1",
126
127
  "@tsconfig/node16": "^16.1.1",
127
128
  "@types/fs-extra": "^11.0.1",
128
129
  "@types/lodash": "^4.14.198",
@@ -2,7 +2,7 @@
2
2
 
3
3
  var pkgJson = {
4
4
  name: "@commercetools-frontend/mc-scripts",
5
- version: "22.11.0",
5
+ version: "22.13.0",
6
6
  description: "Configuration and scripts for developing a MC application",
7
7
  bugs: "https://github.com/commercetools/merchant-center-application-kit/issues",
8
8
  repository: {
@@ -60,13 +60,13 @@ var pkgJson = {
60
60
  "@babel/core": "^7.22.17",
61
61
  "@babel/runtime": "^7.22.15",
62
62
  "@babel/runtime-corejs3": "^7.22.15",
63
- "@commercetools-frontend/application-components": "22.11.0",
64
- "@commercetools-frontend/application-config": "22.11.0",
65
- "@commercetools-frontend/assets": "22.11.0",
66
- "@commercetools-frontend/babel-preset-mc-app": "22.11.0",
67
- "@commercetools-frontend/constants": "22.11.0",
68
- "@commercetools-frontend/mc-dev-authentication": "22.11.0",
69
- "@commercetools-frontend/mc-html-template": "22.11.0",
63
+ "@commercetools-frontend/application-components": "22.13.0",
64
+ "@commercetools-frontend/application-config": "22.13.0",
65
+ "@commercetools-frontend/assets": "22.13.0",
66
+ "@commercetools-frontend/babel-preset-mc-app": "22.13.0",
67
+ "@commercetools-frontend/constants": "22.13.0",
68
+ "@commercetools-frontend/mc-dev-authentication": "22.13.0",
69
+ "@commercetools-frontend/mc-html-template": "22.13.0",
70
70
  "@commercetools/http-user-agent": "3.0.0",
71
71
  "@pmmmwh/react-refresh-webpack-plugin": "0.5.10",
72
72
  "@rollup/plugin-graphql": "2.0.3",
@@ -125,6 +125,7 @@ var pkgJson = {
125
125
  webpackbar: "5.0.2"
126
126
  },
127
127
  devDependencies: {
128
+ "@commercetools-test-data/custom-view": "^6.4.1",
128
129
  "@tsconfig/node16": "^16.1.1",
129
130
  "@types/fs-extra": "^11.0.1",
130
131
  "@types/lodash": "^4.14.198",
@@ -2,7 +2,7 @@
2
2
 
3
3
  var pkgJson = {
4
4
  name: "@commercetools-frontend/mc-scripts",
5
- version: "22.11.0",
5
+ version: "22.13.0",
6
6
  description: "Configuration and scripts for developing a MC application",
7
7
  bugs: "https://github.com/commercetools/merchant-center-application-kit/issues",
8
8
  repository: {
@@ -60,13 +60,13 @@ var pkgJson = {
60
60
  "@babel/core": "^7.22.17",
61
61
  "@babel/runtime": "^7.22.15",
62
62
  "@babel/runtime-corejs3": "^7.22.15",
63
- "@commercetools-frontend/application-components": "22.11.0",
64
- "@commercetools-frontend/application-config": "22.11.0",
65
- "@commercetools-frontend/assets": "22.11.0",
66
- "@commercetools-frontend/babel-preset-mc-app": "22.11.0",
67
- "@commercetools-frontend/constants": "22.11.0",
68
- "@commercetools-frontend/mc-dev-authentication": "22.11.0",
69
- "@commercetools-frontend/mc-html-template": "22.11.0",
63
+ "@commercetools-frontend/application-components": "22.13.0",
64
+ "@commercetools-frontend/application-config": "22.13.0",
65
+ "@commercetools-frontend/assets": "22.13.0",
66
+ "@commercetools-frontend/babel-preset-mc-app": "22.13.0",
67
+ "@commercetools-frontend/constants": "22.13.0",
68
+ "@commercetools-frontend/mc-dev-authentication": "22.13.0",
69
+ "@commercetools-frontend/mc-html-template": "22.13.0",
70
70
  "@commercetools/http-user-agent": "3.0.0",
71
71
  "@pmmmwh/react-refresh-webpack-plugin": "0.5.10",
72
72
  "@rollup/plugin-graphql": "2.0.3",
@@ -125,6 +125,7 @@ var pkgJson = {
125
125
  webpackbar: "5.0.2"
126
126
  },
127
127
  devDependencies: {
128
+ "@commercetools-test-data/custom-view": "^6.4.1",
128
129
  "@tsconfig/node16": "^16.1.1",
129
130
  "@types/fs-extra": "^11.0.1",
130
131
  "@types/lodash": "^4.14.198",