@commercetools-frontend/application-shell 22.8.4 → 22.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/{application-entry-point-626d4f27.esm.js → application-entry-point-3613e4a5.esm.js} +1 -1
  2. package/dist/{application-entry-point-799dedf0.cjs.prod.js → application-entry-point-bde45acf.cjs.prod.js} +2 -2
  3. package/dist/{application-entry-point-c81156e7.cjs.dev.js → application-entry-point-fd6f9973.cjs.dev.js} +2 -2
  4. package/dist/commercetools-frontend-application-shell.cjs.dev.js +90 -68
  5. package/dist/commercetools-frontend-application-shell.cjs.prod.js +90 -68
  6. package/dist/commercetools-frontend-application-shell.esm.js +43 -53
  7. package/dist/{custom-view-dev-host-ebfb1a45.esm.js → custom-view-dev-host-5ce5a507.esm.js} +17 -27
  8. package/dist/{custom-view-dev-host-67d817e6.cjs.dev.js → custom-view-dev-host-621386e0.cjs.dev.js} +18 -28
  9. package/dist/declarations/src/components/navbar/use-navbar-state-manager.d.ts +1 -1
  10. package/dist/declarations/src/components/quick-access/types.d.ts +1 -1
  11. package/dist/declarations/src/components/user-settings-menu/index.d.ts +1 -1
  12. package/dist/declarations/src/constants.d.ts +7 -41
  13. package/dist/declarations/src/export-types.d.ts +1 -2
  14. package/dist/declarations/src/index.d.ts +1 -5
  15. package/dist/declarations/src/types/generated/settings.d.ts +223 -29
  16. package/dist/declarations/src/utils/index.d.ts +0 -5
  17. package/dist/index-37a25e51.cjs.dev.js +232 -0
  18. package/dist/index-6cd618cc.cjs.prod.js +232 -0
  19. package/dist/index-89e5711a.esm.js +206 -0
  20. package/dist/{index-78d3ae73.cjs.prod.js → index-beeb5dbb.cjs.prod.js} +64 -195
  21. package/dist/index-c0b19086.cjs.dev.js +2081 -0
  22. package/dist/index-e6cf101e.esm.js +2019 -0
  23. package/dist/{navbar-fabab486.esm.js → navbar-1d867dcd.esm.js} +20 -29
  24. package/dist/{navbar-050867c3.cjs.dev.js → navbar-5d636a16.cjs.dev.js} +28 -37
  25. package/dist/{navbar-86da110e.cjs.prod.js → navbar-78f58680.cjs.prod.js} +28 -37
  26. package/dist/{oidc-a55e3dd9.cjs.prod.js → oidc-0c6ca06c.cjs.dev.js} +48 -7
  27. package/dist/{oidc-db881d40.esm.js → oidc-95696f7b.esm.js} +37 -2
  28. package/dist/{oidc-97f361cb.cjs.dev.js → oidc-b2ac8a92.cjs.prod.js} +48 -7
  29. package/dist/{oidc-callback-5d640fb8.cjs.prod.js → oidc-callback-27fd978b.cjs.prod.js} +22 -32
  30. package/dist/{oidc-callback-55a5150a.esm.js → oidc-callback-7e6fcaff.esm.js} +22 -32
  31. package/dist/{oidc-callback-a63daea8.cjs.dev.js → oidc-callback-9d5cdf00.cjs.dev.js} +22 -32
  32. package/dist/{project-container-d56f2529.cjs.dev.js → project-container-0ef3869c.cjs.dev.js} +26 -36
  33. package/dist/{project-container-e18774d3.esm.js → project-container-b189c7a3.esm.js} +22 -32
  34. package/dist/{project-container-031be70e.cjs.prod.js → project-container-c6fb1e4f.cjs.prod.js} +26 -36
  35. package/dist/{project-expired-901cefec.cjs.prod.js → project-expired-911e2f79.cjs.prod.js} +20 -30
  36. package/dist/{project-expired-29485ba9.esm.js → project-expired-bd4f93bc.esm.js} +20 -30
  37. package/dist/{project-expired-c3456ca0.cjs.dev.js → project-expired-e2815596.cjs.dev.js} +20 -30
  38. package/dist/{project-not-found-085ef4e5.esm.js → project-not-found-bfd9a058.esm.js} +20 -30
  39. package/dist/{project-not-found-fca07541.cjs.dev.js → project-not-found-c0f09321.cjs.dev.js} +20 -30
  40. package/dist/{project-not-found-3d256c51.cjs.prod.js → project-not-found-e5255cac.cjs.prod.js} +20 -30
  41. package/dist/{project-not-initialized-aa3ee9b9.cjs.dev.js → project-not-initialized-0ed0f209.cjs.dev.js} +20 -30
  42. package/dist/{project-not-initialized-3eab0739.cjs.prod.js → project-not-initialized-2b02f3bb.cjs.prod.js} +20 -30
  43. package/dist/{project-not-initialized-7ea0312a.esm.js → project-not-initialized-8d0cab2e.esm.js} +20 -30
  44. package/dist/{project-suspended-d2e44ebc.cjs.dev.js → project-suspended-94956aec.cjs.dev.js} +20 -30
  45. package/dist/{project-suspended-4fa9898c.esm.js → project-suspended-cee209a6.esm.js} +20 -30
  46. package/dist/{project-suspended-75fb744e.cjs.prod.js → project-suspended-cfa2eb3b.cjs.prod.js} +20 -30
  47. package/dist/{quick-access-5339bf0a.cjs.dev.js → quick-access-1b73b555.cjs.dev.js} +13 -23
  48. package/dist/{quick-access-0171b3b4.esm.js → quick-access-232ff40f.esm.js} +13 -23
  49. package/dist/{quick-access-5d1221de.cjs.prod.js → quick-access-ce774311.cjs.prod.js} +13 -23
  50. package/dist/{redirect-to-login-307caa5d.esm.js → redirect-to-login-9535ddbc.esm.js} +9 -46
  51. package/dist/{redirect-to-login-27195c81.cjs.dev.js → redirect-to-login-aa538da2.cjs.dev.js} +10 -47
  52. package/dist/{redirect-to-login-0d640e8f.cjs.prod.js → redirect-to-login-ee9f3801.cjs.prod.js} +10 -47
  53. package/dist/{redirect-to-logout-96629236.esm.js → redirect-to-logout-3a0798c1.esm.js} +21 -31
  54. package/dist/{redirect-to-logout-a70923e8.cjs.prod.js → redirect-to-logout-96e94d9d.cjs.prod.js} +21 -31
  55. package/dist/{redirect-to-logout-3a2b1fa5.cjs.dev.js → redirect-to-logout-ccdd9a48.cjs.dev.js} +21 -31
  56. package/dist/{requests-in-flight-loader-079ab400.cjs.prod.js → requests-in-flight-loader-7f4804b4.cjs.prod.js} +22 -32
  57. package/dist/{requests-in-flight-loader-6e0036d5.esm.js → requests-in-flight-loader-8333ff01.esm.js} +22 -32
  58. package/dist/{requests-in-flight-loader-958eb383.cjs.dev.js → requests-in-flight-loader-b48dcc38.cjs.dev.js} +22 -32
  59. package/dist/{service-page-project-switcher-df3d126a.cjs.prod.js → service-page-project-switcher-d656d2f0.cjs.prod.js} +1 -1
  60. package/dist/{service-page-project-switcher-b7bd8abf.esm.js → service-page-project-switcher-dd1d0479.esm.js} +1 -1
  61. package/dist/{service-page-project-switcher-c8bc7002.cjs.dev.js → service-page-project-switcher-ea2d1f5b.cjs.dev.js} +1 -1
  62. package/dist/{use-applications-menu-acb9c2a6.cjs.dev.js → use-applications-menu-10d6d71b.cjs.prod.js} +1 -2
  63. package/dist/{use-applications-menu-ab2cd8e4.esm.js → use-applications-menu-902e4f5f.esm.js} +1 -2
  64. package/dist/{use-applications-menu-f0048898.cjs.prod.js → use-applications-menu-c03f484f.cjs.dev.js} +1 -2
  65. package/dist/{user-settings-menu-fb16a654.esm.js → user-settings-menu-5841d422.esm.js} +2 -62
  66. package/dist/{user-settings-menu-70934c89.cjs.dev.js → user-settings-menu-59dbf5d2.cjs.dev.js} +3 -63
  67. package/dist/{user-settings-menu-1c4bbef3.cjs.prod.js → user-settings-menu-70751be9.cjs.prod.js} +3 -63
  68. package/dist/{version-tracker-1b7e512b.esm.js → version-tracker-8e09ba95.esm.js} +44 -16
  69. package/dist/{version-tracker-b7102920.cjs.prod.js → version-tracker-b14edb65.cjs.prod.js} +45 -17
  70. package/dist/{version-tracker-946fe271.cjs.dev.js → version-tracker-e862fb1a.cjs.dev.js} +45 -17
  71. package/package.json +18 -21
  72. package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.dev.js +1 -2
  73. package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.prod.js +1 -2
  74. package/ssr/dist/commercetools-frontend-application-shell-ssr.esm.js +1 -2
  75. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +5 -26
  76. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +5 -26
  77. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +3 -24
  78. package/dist/configure-apollo-7220061a.cjs.dev.js +0 -821
  79. package/dist/configure-apollo-b9019f27.esm.js +0 -765
  80. package/dist/configure-apollo-c401b506.cjs.prod.js +0 -815
  81. package/dist/constants-0b9c2426.esm.js +0 -68
  82. package/dist/constants-0da1db32.cjs.prod.js +0 -78
  83. package/dist/constants-bef5a843.cjs.dev.js +0 -78
  84. package/dist/declarations/src/apollo-links/error-link.d.ts +0 -2
  85. package/dist/declarations/src/apollo-links/header-link.d.ts +0 -3
  86. package/dist/declarations/src/apollo-links/index.d.ts +0 -4
  87. package/dist/declarations/src/apollo-links/token-retry-link.d.ts +0 -3
  88. package/dist/declarations/src/apollo-links/utils.d.ts +0 -10
  89. package/dist/declarations/src/components/custom-view-loader/custom-view-loader.d.ts +0 -8
  90. package/dist/declarations/src/components/custom-view-loader/index.d.ts +0 -1
  91. package/dist/declarations/src/components/custom-view-loader/messages.d.ts +0 -7
  92. package/dist/declarations/src/configure-apollo.d.ts +0 -7
  93. package/dist/declarations/src/hooks/apollo-hooks/apollo-hooks.d.ts +0 -13
  94. package/dist/declarations/src/hooks/apollo-hooks/index.d.ts +0 -1
  95. package/dist/declarations/src/utils/apollo-client-runtime-cache.d.ts +0 -4
  96. package/dist/declarations/src/utils/apollo-context.d.ts +0 -15
  97. package/dist/declarations/src/utils/get-correlation-id/get-correlation-id.d.ts +0 -3
  98. package/dist/declarations/src/utils/get-correlation-id/index.d.ts +0 -1
  99. package/dist/declarations/src/utils/http-client.d.ts +0 -31
  100. package/dist/declarations/src/utils/logger.d.ts +0 -10
  101. package/dist/declarations/src/utils/oidc-storage.d.ts +0 -11
  102. package/dist/declarations/src/utils/select-project-key-from-url/index.d.ts +0 -1
  103. package/dist/declarations/src/utils/select-project-key-from-url/select-project-key-from-url.d.ts +0 -1
  104. package/dist/declarations/src/utils/select-team-id-from-storage/index.d.ts +0 -1
  105. package/dist/declarations/src/utils/select-team-id-from-storage/select-team-id-from-storage.d.ts +0 -1
  106. package/dist/declarations/src/utils/select-user-id/index.d.ts +0 -1
  107. package/dist/declarations/src/utils/select-user-id/select-user-id.d.ts +0 -1
  108. package/dist/index-8fa9e7c2.cjs.dev.js +0 -2225
  109. package/dist/index-cc877433.esm.js +0 -2159
@@ -43,6 +43,7 @@ export declare enum TAuthPermission {
43
43
  ManageMyOrganizations = "manageMyOrganizations",
44
44
  ManageProjectSettings = "manageProjectSettings",
45
45
  PerformDataCleanups = "performDataCleanups",
46
+ ViewBusinessUnits = "viewBusinessUnits",
46
47
  ViewCartDiscounts = "viewCartDiscounts",
47
48
  ViewCustomers = "viewCustomers",
48
49
  ViewDiscountCodes = "viewDiscountCodes",
@@ -68,6 +69,28 @@ export declare enum TBestSellingLimit {
68
69
  Five = "FIVE",
69
70
  Ten = "TEN"
70
71
  }
72
+ export type TBusinessUnitsListMyView = {
73
+ __typename?: 'BusinessUnitsListMyView';
74
+ createdAt: Scalars['DateTime'];
75
+ filters?: Maybe<Array<TFilterValues>>;
76
+ id: Scalars['ID'];
77
+ isActive?: Maybe<Scalars['Boolean']>;
78
+ nameAllLocales?: Maybe<Array<TLocalizedField>>;
79
+ projectKey: Scalars['String'];
80
+ sort?: Maybe<TSort>;
81
+ table?: Maybe<TTable>;
82
+ updatedAt: Scalars['DateTime'];
83
+ userId: Scalars['String'];
84
+ };
85
+ export type TBusinessUnitsListMyViewInput = {
86
+ filters: Array<TFilterValuesCreateInput>;
87
+ nameAllLocales: Array<TLocalizedFieldCreateInput>;
88
+ sort: TSortCreateInput;
89
+ table?: InputMaybe<TBusinessUnitsListMyViewTableInput>;
90
+ };
91
+ export type TBusinessUnitsListMyViewTableInput = {
92
+ visibleColumns: Array<Scalars['String']>;
93
+ };
71
94
  export declare enum TCategoryRecommendationSearchProperty {
72
95
  Attribute = "Attribute",
73
96
  MachineLearning = "MachineLearning",
@@ -110,7 +133,7 @@ export type TCustomApplication = {
110
133
  owner: TOrganizationExtension;
111
134
  ownerId: Scalars['String'];
112
135
  permissions: Array<TCustomApplicationPermission>;
113
- status?: Maybe<TCustomApplicationStatus>;
136
+ status: TCustomApplicationStatus;
114
137
  submenuLinks: Array<TCustomApplicationSubmenuLink>;
115
138
  updatedAt: Scalars['DateTime'];
116
139
  url: Scalars['String'];
@@ -154,7 +177,7 @@ export type TCustomApplicationInstallation = {
154
177
  installInAllProjects: Scalars['Boolean'];
155
178
  owner: TOrganizationExtension;
156
179
  ownerId: Scalars['String'];
157
- projects?: Maybe<Array<TProjectExtension>>;
180
+ projects: Array<TProjectExtension>;
158
181
  updatedAt: Scalars['DateTime'];
159
182
  };
160
183
  export type TCustomApplicationInstallationPermission = {
@@ -274,8 +297,6 @@ export type TCustomViewInstallation = {
274
297
  __typename?: 'CustomViewInstallation';
275
298
  acceptedPermissions: Array<TCustomViewInstallationPermission>;
276
299
  createdAt: Scalars['DateTime'];
277
- customView: TCustomView;
278
- customViewId: Scalars['String'];
279
300
  id: Scalars['ID'];
280
301
  installInAllProjects: Scalars['Boolean'];
281
302
  owner: TOrganizationExtension;
@@ -287,12 +308,19 @@ export type TCustomViewInstallationPermission = {
287
308
  __typename?: 'CustomViewInstallationPermission';
288
309
  createdAt: Scalars['DateTime'];
289
310
  id: Scalars['ID'];
290
- installedCustomView: TCustomViewInstallation;
291
- installedCustomViewId: Scalars['String'];
292
311
  name: Scalars['String'];
293
312
  oAuthScopes: Array<Scalars['String']>;
294
313
  updatedAt: Scalars['DateTime'];
295
314
  };
315
+ export type TCustomViewLocator = {
316
+ __typename?: 'CustomViewLocator';
317
+ key: Scalars['String'];
318
+ };
319
+ export type TCustomViewLocatorGroup = {
320
+ __typename?: 'CustomViewLocatorGroup';
321
+ key: Scalars['String'];
322
+ locators: Array<TCustomViewLocator>;
323
+ };
296
324
  export type TCustomViewPermission = {
297
325
  __typename?: 'CustomViewPermission';
298
326
  createdAt: Scalars['DateTime'];
@@ -347,6 +375,28 @@ export type TCustomersListViewInput = {
347
375
  export type TCustomersListViewTableInput = {
348
376
  visibleColumns: Array<Scalars['String']>;
349
377
  };
378
+ export type TCustomersSearchListMyView = {
379
+ __typename?: 'CustomersSearchListMyView';
380
+ createdAt: Scalars['DateTime'];
381
+ filters?: Maybe<Array<TFilterValues>>;
382
+ id: Scalars['ID'];
383
+ isActive?: Maybe<Scalars['Boolean']>;
384
+ nameAllLocales?: Maybe<Array<TLocalizedField>>;
385
+ projectKey: Scalars['String'];
386
+ sort?: Maybe<TSort>;
387
+ table?: Maybe<TTable>;
388
+ updatedAt: Scalars['DateTime'];
389
+ userId: Scalars['String'];
390
+ };
391
+ export type TCustomersSearchListMyViewInput = {
392
+ filters: Array<TFilterValuesCreateInput>;
393
+ nameAllLocales: Array<TLocalizedFieldCreateInput>;
394
+ sort: TSortCreateInput;
395
+ table?: InputMaybe<TCustomersSearchListMyViewTableInput>;
396
+ };
397
+ export type TCustomersSearchListMyViewTableInput = {
398
+ visibleColumns: Array<Scalars['String']>;
399
+ };
350
400
  export type TDashboardView = {
351
401
  __typename?: 'DashboardView';
352
402
  createdAt: Scalars['DateTime'];
@@ -540,8 +590,10 @@ export type TMigrationMatchingScore = {
540
590
  };
541
591
  export type TMutation = {
542
592
  __typename?: 'Mutation';
593
+ activateBusinessUnitsListMyView?: Maybe<TBusinessUnitsListMyView>;
543
594
  activateCartDiscountsCustomView?: Maybe<TDiscountsCustomView>;
544
595
  activateCustomersListView?: Maybe<TCustomersListView>;
596
+ activateCustomersSearchListMyView?: Maybe<TCustomersSearchListMyView>;
545
597
  activateDashboardView?: Maybe<TDashboardView>;
546
598
  activateDiscountCodesCustomView?: Maybe<TDiscountsCustomView>;
547
599
  activateOrdersListView?: Maybe<TOrdersListView>;
@@ -551,12 +603,14 @@ export type TMutation = {
551
603
  activateProductTypeAttributesView?: Maybe<TProductTypeAttributesView>;
552
604
  activateProjectSettingsStoresView?: Maybe<TProjectSettingsStoresView>;
553
605
  changeCustomApplicationStatus?: Maybe<TRestrictedCustomApplicationForOrganization>;
554
- changeCustomViewStatus?: Maybe<TCustomView>;
606
+ changeCustomViewStatus?: Maybe<TRestrictedCustomViewForOrganization>;
607
+ createBusinessUnitsListMyView: TBusinessUnitsListMyView;
555
608
  createCartDiscountsCustomView: TDiscountsCustomView;
556
609
  createCustomApplication?: Maybe<TRestrictedCustomApplicationForOrganization>;
557
610
  createCustomApplicationDeploymentPreview: TCustomApplicationDeploymentPreview;
558
- createCustomView?: Maybe<TCustomView>;
611
+ createCustomView?: Maybe<TRestrictedCustomViewForOrganization>;
559
612
  createCustomersListView: TCustomersListView;
613
+ createCustomersSearchListMyView: TCustomersSearchListMyView;
560
614
  createDashboardView: TDashboardView;
561
615
  createDiscountCodesCustomView: TDiscountsCustomView;
562
616
  createOrdersListView: TOrdersListView;
@@ -565,8 +619,10 @@ export type TMutation = {
565
619
  createProductTypeAttributesView: TProductTypeAttributesView;
566
620
  createProjectSettingsStoresView: TProjectSettingsStoresView;
567
621
  createVariantPricesListView?: Maybe<TVariantPricesListView>;
622
+ deactivateBusinessUnitsListMyView?: Maybe<TOrdersListView>;
568
623
  deactivateCartDiscountsCustomView?: Maybe<TDiscountsCustomView>;
569
624
  deactivateCustomersListView?: Maybe<TOrdersListView>;
625
+ deactivateCustomersSearchListMyView?: Maybe<TOrdersListView>;
570
626
  deactivateDashboardView?: Maybe<TDashboardView>;
571
627
  deactivateDiscountCodesCustomView?: Maybe<TDiscountsCustomView>;
572
628
  deactivateOrdersListView?: Maybe<TOrdersListView>;
@@ -577,10 +633,13 @@ export type TMutation = {
577
633
  deactivateProjectSettingsStoresView?: Maybe<TProjectSettingsStoresView>;
578
634
  deleteAllDashboardViews: Array<TDashboardView>;
579
635
  deleteAllOrdersListViews: Array<TOrdersListView>;
636
+ deleteBusinessUnitsListMyView?: Maybe<TBusinessUnitsListMyView>;
580
637
  deleteCartDiscountsCustomView?: Maybe<TDiscountsCustomView>;
581
638
  deleteCustomApplication?: Maybe<TRestrictedCustomApplicationForOrganization>;
582
639
  deleteCustomApplicationDeploymentPreview: TCustomApplicationDeploymentPreview;
640
+ deleteCustomView?: Maybe<TRestrictedCustomViewForOrganization>;
583
641
  deleteCustomersListView?: Maybe<TCustomersListView>;
642
+ deleteCustomersSearchListMyView?: Maybe<TCustomersSearchListMyView>;
584
643
  deleteDashboardView?: Maybe<TDashboardView>;
585
644
  deleteDiscountCodesCustomView?: Maybe<TDiscountsCustomView>;
586
645
  deleteOrdersListView?: Maybe<TOrdersListView>;
@@ -601,13 +660,15 @@ export type TMutation = {
601
660
  setProjectExtensionRichTextEditorSettings?: Maybe<TProjectExtension>;
602
661
  uninstallCustomApplication?: Maybe<TRestrictedCustomApplicationInstallationForOrganization>;
603
662
  uninstallCustomView?: Maybe<TRestrictedCustomViewInstallationForOrganization>;
663
+ updateBusinessUnitsListMyView?: Maybe<TBusinessUnitsListMyView>;
604
664
  updateCartDiscountsCustomView?: Maybe<TDiscountsCustomView>;
605
665
  updateCustomApplication?: Maybe<TRestrictedCustomApplicationForOrganization>;
606
666
  updateCustomApplicationDeploymentPreview: TCustomApplicationDeploymentPreview;
607
667
  updateCustomApplicationProjectsInstallation?: Maybe<TRestrictedCustomApplicationInstallationForOrganization>;
608
- updateCustomView?: Maybe<TCustomView>;
668
+ updateCustomView?: Maybe<TRestrictedCustomViewForOrganization>;
609
669
  updateCustomViewProjectsInstallation?: Maybe<TRestrictedCustomViewInstallationForOrganization>;
610
670
  updateCustomersListView?: Maybe<TCustomersListView>;
671
+ updateCustomersSearchListMyView?: Maybe<TCustomersSearchListMyView>;
611
672
  updateDashboardView?: Maybe<TDashboardView>;
612
673
  updateDiscountCodesCustomView?: Maybe<TDiscountsCustomView>;
613
674
  updateOrdersListView?: Maybe<TOrdersListView>;
@@ -619,12 +680,18 @@ export type TMutation = {
619
680
  updateVariantPricesListView?: Maybe<TVariantPricesListView>;
620
681
  verifyCustomApplicationsMaintainerContactEmail?: Maybe<TCustomApplicationsMaintainerContactEmailVerificationConfirmation>;
621
682
  };
683
+ export type TMutation_ActivateBusinessUnitsListMyViewArgs = {
684
+ id: Scalars['ID'];
685
+ };
622
686
  export type TMutation_ActivateCartDiscountsCustomViewArgs = {
623
687
  id: Scalars['ID'];
624
688
  };
625
689
  export type TMutation_ActivateCustomersListViewArgs = {
626
690
  id: Scalars['ID'];
627
691
  };
692
+ export type TMutation_ActivateCustomersSearchListMyViewArgs = {
693
+ id: Scalars['ID'];
694
+ };
628
695
  export type TMutation_ActivateDashboardViewArgs = {
629
696
  id: Scalars['ID'];
630
697
  };
@@ -661,6 +728,9 @@ export type TMutation_ChangeCustomViewStatusArgs = {
661
728
  organizationId: Scalars['String'];
662
729
  status: TCustomViewStatus;
663
730
  };
731
+ export type TMutation_CreateBusinessUnitsListMyViewArgs = {
732
+ data: TBusinessUnitsListMyViewInput;
733
+ };
664
734
  export type TMutation_CreateCartDiscountsCustomViewArgs = {
665
735
  data: TDiscountsCustomViewInput;
666
736
  };
@@ -680,6 +750,9 @@ export type TMutation_CreateCustomViewArgs = {
680
750
  export type TMutation_CreateCustomersListViewArgs = {
681
751
  data: TCustomersListViewInput;
682
752
  };
753
+ export type TMutation_CreateCustomersSearchListMyViewArgs = {
754
+ data: TCustomersSearchListMyViewInput;
755
+ };
683
756
  export type TMutation_CreateDashboardViewArgs = {
684
757
  data: TDashboardViewInput;
685
758
  };
@@ -704,12 +777,18 @@ export type TMutation_CreateProjectSettingsStoresViewArgs = {
704
777
  export type TMutation_CreateVariantPricesListViewArgs = {
705
778
  data: TVariantPricesListViewInput;
706
779
  };
780
+ export type TMutation_DeactivateBusinessUnitsListMyViewArgs = {
781
+ id: Scalars['ID'];
782
+ };
707
783
  export type TMutation_DeactivateCartDiscountsCustomViewArgs = {
708
784
  id: Scalars['ID'];
709
785
  };
710
786
  export type TMutation_DeactivateCustomersListViewArgs = {
711
787
  id: Scalars['ID'];
712
788
  };
789
+ export type TMutation_DeactivateCustomersSearchListMyViewArgs = {
790
+ id: Scalars['ID'];
791
+ };
713
792
  export type TMutation_DeactivateDashboardViewArgs = {
714
793
  id: Scalars['ID'];
715
794
  };
@@ -734,6 +813,9 @@ export type TMutation_DeactivateProductTypeAttributesViewArgs = {
734
813
  export type TMutation_DeactivateProjectSettingsStoresViewArgs = {
735
814
  id: Scalars['ID'];
736
815
  };
816
+ export type TMutation_DeleteBusinessUnitsListMyViewArgs = {
817
+ id: Scalars['ID'];
818
+ };
737
819
  export type TMutation_DeleteCartDiscountsCustomViewArgs = {
738
820
  id: Scalars['ID'];
739
821
  };
@@ -745,9 +827,16 @@ export type TMutation_DeleteCustomApplicationDeploymentPreviewArgs = {
745
827
  deploymentId: Scalars['ID'];
746
828
  organizationId: Scalars['String'];
747
829
  };
830
+ export type TMutation_DeleteCustomViewArgs = {
831
+ customViewId: Scalars['String'];
832
+ organizationId: Scalars['String'];
833
+ };
748
834
  export type TMutation_DeleteCustomersListViewArgs = {
749
835
  id: Scalars['ID'];
750
836
  };
837
+ export type TMutation_DeleteCustomersSearchListMyViewArgs = {
838
+ id: Scalars['ID'];
839
+ };
751
840
  export type TMutation_DeleteDashboardViewArgs = {
752
841
  id: Scalars['ID'];
753
842
  };
@@ -816,6 +905,10 @@ export type TMutation_UninstallCustomViewArgs = {
816
905
  installedCustomViewId: Scalars['ID'];
817
906
  organizationId: Scalars['String'];
818
907
  };
908
+ export type TMutation_UpdateBusinessUnitsListMyViewArgs = {
909
+ data: TBusinessUnitsListMyViewInput;
910
+ id: Scalars['ID'];
911
+ };
819
912
  export type TMutation_UpdateCartDiscountsCustomViewArgs = {
820
913
  data: TDiscountsCustomViewInput;
821
914
  id: Scalars['ID'];
@@ -849,6 +942,10 @@ export type TMutation_UpdateCustomersListViewArgs = {
849
942
  data: TCustomersListViewInput;
850
943
  id: Scalars['ID'];
851
944
  };
945
+ export type TMutation_UpdateCustomersSearchListMyViewArgs = {
946
+ data: TCustomersSearchListMyViewInput;
947
+ id: Scalars['ID'];
948
+ };
852
949
  export type TMutation_UpdateDashboardViewArgs = {
853
950
  data: TDashboardViewInput;
854
951
  id: Scalars['ID'];
@@ -936,6 +1033,7 @@ export type TNavbarSubmenu = {
936
1033
  uriPath: Scalars['String'];
937
1034
  };
938
1035
  export declare enum TOAuthScope {
1036
+ ManageBusinessUnits = "ManageBusinessUnits",
939
1037
  ManageCartDiscounts = "ManageCartDiscounts",
940
1038
  ManageCategories = "ManageCategories",
941
1039
  ManageCustomerGroups = "ManageCustomerGroups",
@@ -949,6 +1047,7 @@ export declare enum TOAuthScope {
949
1047
  ManageProducts = "ManageProducts",
950
1048
  ManageProject = "ManageProject",
951
1049
  ManageProjectSettings = "ManageProjectSettings",
1050
+ ViewBusinessUnits = "ViewBusinessUnits",
952
1051
  ViewCartDiscounts = "ViewCartDiscounts",
953
1052
  ViewCategories = "ViewCategories",
954
1053
  ViewCustomerGroups = "ViewCustomerGroups",
@@ -1035,10 +1134,12 @@ export type TOrganizationExtension = {
1035
1134
  applicationsMaintainerContactInformation?: Maybe<TContactInformation>;
1036
1135
  createdAt: Scalars['DateTime'];
1037
1136
  id: Scalars['ID'];
1038
- installedApplications?: Maybe<Array<TRestrictedCustomApplicationInstallationForOrganization>>;
1137
+ installedApplications: Array<TRestrictedCustomApplicationInstallationForOrganization>;
1138
+ installedCustomViews: Array<TRestrictedCustomViewInstallationForOrganization>;
1039
1139
  oidcSsoConfig?: Maybe<TOidcSsoConfig>;
1040
1140
  organizationId: Scalars['String'];
1041
- registeredApplications?: Maybe<Array<TRestrictedCustomApplicationForOrganization>>;
1141
+ registeredApplications: Array<TRestrictedCustomApplicationForOrganization>;
1142
+ registeredCustomViews: Array<TRestrictedCustomViewForOrganization>;
1042
1143
  updatedAt: Scalars['DateTime'];
1043
1144
  };
1044
1145
  export type TOrganizationExtensionForCustomApplication = {
@@ -1104,12 +1205,13 @@ export type TProductTypeAttributesViewUpdateInput = {
1104
1205
  };
1105
1206
  export type TProjectExtension = {
1106
1207
  __typename?: 'ProjectExtension';
1107
- applications?: Maybe<Array<TApplicationExtension>>;
1208
+ applications: Array<TApplicationExtension>;
1108
1209
  categoryRecommendationSettings?: Maybe<TCategoryRecommendationSettings>;
1109
1210
  createdAt: Scalars['DateTime'];
1110
1211
  id: Scalars['ID'];
1111
1212
  imageRegex?: Maybe<TImageRegex>;
1112
- installedApplications?: Maybe<Array<TRestrictedCustomApplicationInstallationForProject>>;
1213
+ installedApplications: Array<TRestrictedCustomApplicationInstallationForProject>;
1214
+ installedCustomViews: Array<TRestrictedCustomViewInstallationForProject>;
1113
1215
  isRichTextEditorEnabled: Scalars['Boolean'];
1114
1216
  orderStatesVisibility: Array<TOrderStatesVisibility>;
1115
1217
  projectKey: Scalars['String'];
@@ -1122,6 +1224,9 @@ export type TProjectExtension_ApplicationsArgs = {
1122
1224
  export type TProjectExtension_InstalledApplicationsArgs = {
1123
1225
  where?: InputMaybe<TRestrictedCustomApplicationInstallationForProjectWhereInput>;
1124
1226
  };
1227
+ export type TProjectExtension_InstalledCustomViewsArgs = {
1228
+ where?: InputMaybe<TRestrictedCustomViewInstallationForProjectWhereInput>;
1229
+ };
1125
1230
  export type TProjectSettingsStoresView = {
1126
1231
  __typename?: 'ProjectSettingsStoresView';
1127
1232
  createdAt: Scalars['DateTime'];
@@ -1159,29 +1264,36 @@ export type TPublicCustomApplicationDevelopedByCommercetools = {
1159
1264
  };
1160
1265
  export type TQuery = {
1161
1266
  __typename?: 'Query';
1267
+ activeBusinessUnitsListMyView?: Maybe<TBusinessUnitsListMyView>;
1162
1268
  activeCartDiscountsCustomView?: Maybe<TDiscountsCustomView>;
1163
1269
  activeCustomersListView?: Maybe<TCustomersListView>;
1270
+ activeCustomersSearchListMyView?: Maybe<TCustomersSearchListMyView>;
1164
1271
  activeDashboardView?: Maybe<TDashboardView>;
1165
1272
  activeDiscountCodesCustomView?: Maybe<TDiscountsCustomView>;
1166
1273
  activeOrdersListView?: Maybe<TOrdersListView>;
1167
1274
  activePimSearchListView?: Maybe<TPimSearchListView>;
1168
1275
  activeProductDiscountsCustomView?: Maybe<TDiscountsCustomView>;
1169
1276
  activeProductTypeAttributesView?: Maybe<TProductTypeAttributesView>;
1277
+ activeProjectSettingsStoresView?: Maybe<TProjectSettingsStoresView>;
1170
1278
  allAppliedCustomApplicationPermissions: Array<TCustomApplicationInstallationPermission>;
1279
+ allAppliedCustomViewPermissions: Array<TCustomViewInstallationPermission>;
1171
1280
  allCustomApplications: TCustomApplicationsPagedQueryResult;
1172
- allCustomViewInstallationByOrganization?: Maybe<TCustomViewInstallation>;
1173
- allCustomViewsByOrganization: Array<Maybe<TCustomView>>;
1281
+ allCustomViewsInstallationsByLocator: Array<TRestrictedCustomViewInstallationForProject>;
1282
+ allCustomViewsLocatorGroups: Array<TCustomViewLocatorGroup>;
1174
1283
  allFeatures: Array<TFeature>;
1175
1284
  allOrganizationExtensions: Array<TOrganizationExtension>;
1176
1285
  allProjectExtensions: Array<TProjectExtension>;
1177
1286
  allPublicCustomApplicationsDevelopedByCommercetools: Array<TPublicCustomApplicationDevelopedByCommercetools>;
1287
+ businessUnitsListMyView?: Maybe<TBusinessUnitsListMyView>;
1288
+ businessUnitsListMyViews: Array<Maybe<TBusinessUnitsListMyView>>;
1178
1289
  cartDiscountsCustomView?: Maybe<TDiscountsCustomView>;
1179
1290
  cartDiscountsCustomViews: Array<Maybe<TDiscountsCustomView>>;
1180
1291
  customApplication?: Maybe<TCustomApplication>;
1181
1292
  customView?: Maybe<TCustomView>;
1182
- customViewInstallation?: Maybe<TCustomViewInstallation>;
1183
1293
  customersListView?: Maybe<TCustomersListView>;
1184
1294
  customersListViews: Array<Maybe<TCustomersListView>>;
1295
+ customersSearchListMyView?: Maybe<TCustomersSearchListMyView>;
1296
+ customersSearchListMyViews: Array<Maybe<TCustomersSearchListMyView>>;
1185
1297
  dashboardView?: Maybe<TDashboardView>;
1186
1298
  dashboardViews: Array<Maybe<TDashboardView>>;
1187
1299
  discountCodesCustomView?: Maybe<TDiscountsCustomView>;
@@ -1199,6 +1311,8 @@ export type TQuery = {
1199
1311
  productTypeAttributesView?: Maybe<TProductTypeAttributesView>;
1200
1312
  productTypeAttributesViews?: Maybe<Array<Maybe<TProductTypeAttributesView>>>;
1201
1313
  projectExtension?: Maybe<TProjectExtension>;
1314
+ projectSettingsStoresView?: Maybe<TProjectSettingsStoresView>;
1315
+ projectSettingsStoresViews: Array<Maybe<TProjectSettingsStoresView>>;
1202
1316
  release?: Maybe<Scalars['String']>;
1203
1317
  ruleBuilderQuickSelectionValues?: Maybe<Array<Maybe<TRuleBuilderQuickSelectionValues>>>;
1204
1318
  variantPricesListViews: Array<Maybe<TVariantPricesListView>>;
@@ -1211,14 +1325,14 @@ export type TQuery_AllAppliedCustomApplicationPermissionsArgs = {
1211
1325
  applicationId: Scalars['ID'];
1212
1326
  entryPointUriPath: Scalars['String'];
1213
1327
  };
1328
+ export type TQuery_AllAppliedCustomViewPermissionsArgs = {
1329
+ customViewId: Scalars['ID'];
1330
+ };
1214
1331
  export type TQuery_AllCustomApplicationsArgs = {
1215
1332
  params?: InputMaybe<TCustomApplicationQueryInput>;
1216
1333
  };
1217
- export type TQuery_AllCustomViewInstallationByOrganizationArgs = {
1218
- organizationId: Scalars['ID'];
1219
- };
1220
- export type TQuery_AllCustomViewsByOrganizationArgs = {
1221
- organizationId: Scalars['ID'];
1334
+ export type TQuery_AllCustomViewsInstallationsByLocatorArgs = {
1335
+ locator: Scalars['String'];
1222
1336
  };
1223
1337
  export type TQuery_AllFeaturesArgs = {
1224
1338
  params?: InputMaybe<TFeatureQueryInput>;
@@ -1229,6 +1343,9 @@ export type TQuery_AllOrganizationExtensionsArgs = {
1229
1343
  export type TQuery_AllPublicCustomApplicationsDevelopedByCommercetoolsArgs = {
1230
1344
  params?: InputMaybe<TAllPublicCustomApplicationsDevelopedByCommercetoolsQueryInput>;
1231
1345
  };
1346
+ export type TQuery_BusinessUnitsListMyViewArgs = {
1347
+ id: Scalars['ID'];
1348
+ };
1232
1349
  export type TQuery_CartDiscountsCustomViewArgs = {
1233
1350
  id: Scalars['ID'];
1234
1351
  };
@@ -1238,12 +1355,12 @@ export type TQuery_CustomApplicationArgs = {
1238
1355
  export type TQuery_CustomViewArgs = {
1239
1356
  customViewId: Scalars['ID'];
1240
1357
  };
1241
- export type TQuery_CustomViewInstallationArgs = {
1242
- customViewInstallationId: Scalars['ID'];
1243
- };
1244
1358
  export type TQuery_CustomersListViewArgs = {
1245
1359
  id: Scalars['ID'];
1246
1360
  };
1361
+ export type TQuery_CustomersSearchListMyViewArgs = {
1362
+ id: Scalars['ID'];
1363
+ };
1247
1364
  export type TQuery_DashboardViewArgs = {
1248
1365
  id: Scalars['ID'];
1249
1366
  };
@@ -1278,6 +1395,9 @@ export type TQuery_ProductTypeAttributesViewsArgs = {
1278
1395
  isVariant: Scalars['Boolean'];
1279
1396
  productTypeId: Scalars['String'];
1280
1397
  };
1398
+ export type TQuery_ProjectSettingsStoresViewArgs = {
1399
+ id: Scalars['ID'];
1400
+ };
1281
1401
  export type TQuery_RuleBuilderQuickSelectionValuesArgs = {
1282
1402
  ruleBuilderType: TRuleBuilderType;
1283
1403
  };
@@ -1348,7 +1468,7 @@ export type TRestrictedCustomApplicationInstallationForOrganization = {
1348
1468
  createdAt: Scalars['DateTime'];
1349
1469
  id: Scalars['ID'];
1350
1470
  installInAllProjects: Scalars['Boolean'];
1351
- projects?: Maybe<Array<TProjectExtension>>;
1471
+ projects: Array<TProjectExtension>;
1352
1472
  updatedAt: Scalars['DateTime'];
1353
1473
  };
1354
1474
  export type TRestrictedCustomApplicationInstallationForProject = {
@@ -1363,16 +1483,58 @@ export type TRestrictedCustomApplicationInstallationForProject = {
1363
1483
  export type TRestrictedCustomApplicationInstallationForProjectWhereInput = {
1364
1484
  entryPointUriPath?: InputMaybe<Scalars['String']>;
1365
1485
  };
1486
+ export type TRestrictedCustomViewForOrganization = {
1487
+ __typename?: 'RestrictedCustomViewForOrganization';
1488
+ createdAt: Scalars['DateTime'];
1489
+ defaultLabel: Scalars['String'];
1490
+ description?: Maybe<Scalars['String']>;
1491
+ id: Scalars['ID'];
1492
+ labelAllLocales: Array<TLocalizedField>;
1493
+ locators: Array<Scalars['String']>;
1494
+ permissions: Array<TCustomViewPermission>;
1495
+ status: TCustomViewStatus;
1496
+ type: TCustomViewType;
1497
+ typeSettings?: Maybe<TCustomViewTypeSettings>;
1498
+ updatedAt: Scalars['DateTime'];
1499
+ url: Scalars['String'];
1500
+ };
1501
+ export type TRestrictedCustomViewForProject = {
1502
+ __typename?: 'RestrictedCustomViewForProject';
1503
+ createdAt: Scalars['DateTime'];
1504
+ defaultLabel: Scalars['String'];
1505
+ description?: Maybe<Scalars['String']>;
1506
+ id: Scalars['ID'];
1507
+ labelAllLocales: Array<TLocalizedField>;
1508
+ locators: Array<Scalars['String']>;
1509
+ permissions: Array<TCustomViewPermission>;
1510
+ status: TCustomViewStatus;
1511
+ type: TCustomViewType;
1512
+ typeSettings?: Maybe<TCustomViewTypeSettings>;
1513
+ updatedAt: Scalars['DateTime'];
1514
+ url: Scalars['String'];
1515
+ };
1366
1516
  export type TRestrictedCustomViewInstallationForOrganization = {
1367
1517
  __typename?: 'RestrictedCustomViewInstallationForOrganization';
1368
1518
  acceptedPermissions: Array<TCustomViewInstallationPermission>;
1369
1519
  createdAt: Scalars['DateTime'];
1370
- customView: TCustomView;
1520
+ customView: TRestrictedCustomViewForProject;
1371
1521
  id: Scalars['ID'];
1372
1522
  installInAllProjects: Scalars['Boolean'];
1373
- projects?: Maybe<Array<TProjectExtension>>;
1523
+ projects: Array<TProjectExtension>;
1374
1524
  updatedAt: Scalars['DateTime'];
1375
1525
  };
1526
+ export type TRestrictedCustomViewInstallationForProject = {
1527
+ __typename?: 'RestrictedCustomViewInstallationForProject';
1528
+ acceptedPermissions: Array<TCustomViewInstallationPermission>;
1529
+ createdAt: Scalars['DateTime'];
1530
+ customView: TRestrictedCustomViewForProject;
1531
+ id: Scalars['ID'];
1532
+ installInAllProjects: Scalars['Boolean'];
1533
+ updatedAt: Scalars['DateTime'];
1534
+ };
1535
+ export type TRestrictedCustomViewInstallationForProjectWhereInput = {
1536
+ customViewId?: InputMaybe<Scalars['String']>;
1537
+ };
1376
1538
  export type TRichTextEditorSettingsInput = {
1377
1539
  isRichTextEditorEnabled: Scalars['Boolean'];
1378
1540
  };
@@ -1526,6 +1688,38 @@ export type TImageRegexFragment = {
1526
1688
  search: string;
1527
1689
  replace: string;
1528
1690
  };
1691
+ export type TFetchCustomViewsByLocatorQueryVariables = Exact<{
1692
+ customViewLocatorCode: Scalars['String'];
1693
+ }>;
1694
+ export type TFetchCustomViewsByLocatorQuery = {
1695
+ __typename?: 'Query';
1696
+ allCustomViewsInstallationsByLocator: Array<{
1697
+ __typename?: 'RestrictedCustomViewInstallationForProject';
1698
+ id: string;
1699
+ customView: {
1700
+ __typename?: 'RestrictedCustomViewForProject';
1701
+ id: string;
1702
+ defaultLabel: string;
1703
+ url: string;
1704
+ type: TCustomViewType;
1705
+ locators: Array<string>;
1706
+ labelAllLocales: Array<{
1707
+ __typename?: 'LocalizedField';
1708
+ locale: string;
1709
+ value: string;
1710
+ }>;
1711
+ typeSettings?: {
1712
+ __typename?: 'CustomViewTypeSettings';
1713
+ size?: TCustomViewSize | null;
1714
+ } | null;
1715
+ permissions: Array<{
1716
+ __typename?: 'CustomViewPermission';
1717
+ name: string;
1718
+ oAuthScopes: Array<string>;
1719
+ }>;
1720
+ };
1721
+ }>;
1722
+ };
1529
1723
  export type TFetchProjectExtensionsNavbarQueryVariables = Exact<{
1530
1724
  [key: string]: never;
1531
1725
  }>;
@@ -1534,7 +1728,7 @@ export type TFetchProjectExtensionsNavbarQuery = {
1534
1728
  projectExtension?: {
1535
1729
  __typename?: 'ProjectExtension';
1536
1730
  id: string;
1537
- installedApplications?: Array<{
1731
+ installedApplications: Array<{
1538
1732
  __typename?: 'RestrictedCustomApplicationInstallationForProject';
1539
1733
  application: {
1540
1734
  __typename?: 'RestrictedCustomApplicationForProject';
@@ -1565,7 +1759,7 @@ export type TFetchProjectExtensionsNavbarQuery = {
1565
1759
  }>;
1566
1760
  }>;
1567
1761
  };
1568
- }> | null;
1762
+ }>;
1569
1763
  } | null;
1570
1764
  };
1571
1765
  export type TCreateCustomApplicationFromCliMutationVariables = Exact<{
@@ -1,8 +1,3 @@
1
1
  export { default as selectProjectKeyFromLocalStorage } from './select-project-key-from-local-storage';
2
- export { default as selectTeamIdFromStorage } from './select-team-id-from-storage';
3
- export { default as selectProjectKeyFromUrl } from './select-project-key-from-url';
4
- export { default as selectUserId } from './select-user-id';
5
- export { default as getCorrelationId } from './get-correlation-id';
6
2
  export { default as getMcApiUrl } from './get-mc-api-url';
7
3
  export { default as getPreviousProjectKey } from './get-previous-project-key';
8
- export { createApolloContextForProxyForwardTo } from './apollo-context';