@commercetools-frontend/application-shell-connectors 22.26.0 → 22.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -81,7 +81,7 @@ var _Reflect$construct__default = /*#__PURE__*/_interopDefault(_Reflect$construc
81
81
  var _JSON$stringify__default = /*#__PURE__*/_interopDefault(_JSON$stringify);
82
82
 
83
83
  // NOTE: This string will be replaced on build time with the package version.
84
- var version = "22.26.0";
84
+ var version = "22.27.0";
85
85
 
86
86
  // From https://github.com/acdlite/recompose/blob/master/src/packages/recompose/getDisplayName.js
87
87
  const getDisplayName = Component => {
@@ -329,7 +329,8 @@ const mapProjectToApplicationContextProject = project => {
329
329
  languages: project.languages,
330
330
  ownerId: project.owner.id,
331
331
  ownerName: project.owner.name,
332
- sampleDataImportDataset: project.sampleDataImportDataset
332
+ sampleDataImportDataset: project.sampleDataImportDataset,
333
+ isUserAdminOfCurrentProject: project.isUserAdminOfCurrentProject
333
334
  };
334
335
  };
335
336
  const createApplicationContext = (environment, user, project, projectDataLocale) => ({
@@ -79,7 +79,7 @@ var _Reflect$construct__default = /*#__PURE__*/_interopDefault(_Reflect$construc
79
79
  var _JSON$stringify__default = /*#__PURE__*/_interopDefault(_JSON$stringify);
80
80
 
81
81
  // NOTE: This string will be replaced on build time with the package version.
82
- var version = "22.26.0";
82
+ var version = "22.27.0";
83
83
 
84
84
  // From https://github.com/acdlite/recompose/blob/master/src/packages/recompose/getDisplayName.js
85
85
  const getDisplayName = Component => {
@@ -327,7 +327,8 @@ const mapProjectToApplicationContextProject = project => {
327
327
  languages: project.languages,
328
328
  ownerId: project.owner.id,
329
329
  ownerName: project.owner.name,
330
- sampleDataImportDataset: project.sampleDataImportDataset
330
+ sampleDataImportDataset: project.sampleDataImportDataset,
331
+ isUserAdminOfCurrentProject: project.isUserAdminOfCurrentProject
331
332
  };
332
333
  };
333
334
  const createApplicationContext = (environment, user, project, projectDataLocale) => ({
@@ -46,7 +46,7 @@ import _JSON$stringify from '@babel/runtime-corejs3/core-js-stable/json/stringif
46
46
  import { RetryLink } from '@apollo/client/link/retry';
47
47
 
48
48
  // NOTE: This string will be replaced on build time with the package version.
49
- var version = "22.26.0";
49
+ var version = "22.27.0";
50
50
 
51
51
  // From https://github.com/acdlite/recompose/blob/master/src/packages/recompose/getDisplayName.js
52
52
  const getDisplayName = Component => {
@@ -294,7 +294,8 @@ const mapProjectToApplicationContextProject = project => {
294
294
  languages: project.languages,
295
295
  ownerId: project.owner.id,
296
296
  ownerName: project.owner.name,
297
- sampleDataImportDataset: project.sampleDataImportDataset
297
+ sampleDataImportDataset: project.sampleDataImportDataset,
298
+ isUserAdminOfCurrentProject: project.isUserAdminOfCurrentProject
298
299
  };
299
300
  };
300
301
  const createApplicationContext = (environment, user, project, projectDataLocale) => ({
@@ -59,6 +59,7 @@ export declare const mapProjectToApplicationContextProject: (project?: TFetchedP
59
59
  ownerId: string;
60
60
  ownerName: string;
61
61
  sampleDataImportDataset: string | null | undefined;
62
+ isUserAdminOfCurrentProject: boolean | null | undefined;
62
63
  } | null;
63
64
  export type TApplicationContext<AdditionalEnvironmentProperties extends {}> = {
64
65
  environment: AdditionalEnvironmentProperties & TApplicationContextEnvironment;
@@ -182,6 +182,7 @@ export type TMutation_DeleteOAuthClientArgs = {
182
182
  id: Scalars['ID'];
183
183
  };
184
184
  export type TMutation_ImportSampleDataArgs = {
185
+ dataset?: InputMaybe<TSampleDatasets>;
185
186
  projectKey: Scalars['String'];
186
187
  };
187
188
  export type TMutation_InviteArgs = {
@@ -276,6 +277,7 @@ export type TProject = TMetaData & {
276
277
  expiry: TProjectExpiry;
277
278
  initialized: Scalars['Boolean'];
278
279
  isProductionProject: Scalars['Boolean'];
280
+ isUserAdminOfCurrentProject?: Maybe<Scalars['Boolean']>;
279
281
  key: Scalars['String'];
280
282
  languages: Array<Scalars['String']>;
281
283
  lastModifiedAt: Scalars['String'];
@@ -437,6 +439,10 @@ export type TResetUser = {
437
439
  __typename?: 'ResetUser';
438
440
  id: Scalars['String'];
439
441
  };
442
+ export declare enum TSampleDatasets {
443
+ B2B = "B2B",
444
+ Goodstore = "GOODSTORE"
445
+ }
440
446
  export type TSetUserTimeZone = {
441
447
  timeZone?: InputMaybe<Scalars['String']>;
442
448
  };
@@ -573,6 +579,7 @@ export type TFetchProjectQuery = {
573
579
  initialized: boolean;
574
580
  isProductionProject: boolean;
575
581
  sampleDataImportDataset?: string | null;
582
+ isUserAdminOfCurrentProject?: boolean | null;
576
583
  expiry: {
577
584
  __typename?: 'ProjectExpiry';
578
585
  isActive: boolean;
@@ -654,7 +661,6 @@ export type TFetchLoggedInUserQuery = {
654
661
  launchdarklyTrackingGroup: string;
655
662
  launchdarklyTrackingSubgroup?: string | null;
656
663
  launchdarklyTrackingTeam?: Array<string> | null;
657
- launchdarklyTrackingTenant: string;
658
664
  launchdarklyTrackingCloudEnvironment: string;
659
665
  defaultProjectKey?: string | null;
660
666
  businessRole?: string | null;
@@ -64,6 +64,11 @@ export type TAverageOrderValueConfiguration = {
64
64
  export type TAverageOrderValueConfigurationInput = {
65
65
  showPreviousTimeframe: Scalars['Boolean'];
66
66
  };
67
+ export type TBatchProcessResult = {
68
+ __typename?: 'BatchProcessResult';
69
+ failed: Array<TTdlqMessageResult>;
70
+ successful: Array<TTdlqMessageResult>;
71
+ };
67
72
  export declare enum TBestSellingLimit {
68
73
  Fifteen = "FIFTEEN",
69
74
  Five = "FIVE",
@@ -372,6 +377,9 @@ export type TCustomViewsPagedQueryResult = {
372
377
  results: Array<TCustomView>;
373
378
  total: Scalars['Int'];
374
379
  };
380
+ export type TCustomerEmailValidationSettingsInput = {
381
+ isCustomerEmailValidationDisabled: Scalars['Boolean'];
382
+ };
375
383
  export type TCustomersListView = {
376
384
  __typename?: 'CustomersListView';
377
385
  createdAt: Scalars['DateTime'];
@@ -594,6 +602,17 @@ export type TLocalizedFieldDataInput = {
594
602
  locale: Scalars['String'];
595
603
  value: Scalars['String'];
596
604
  };
605
+ export type TMessage = {
606
+ __typename?: 'Message';
607
+ ackId: Scalars['String'];
608
+ data: Scalars['String'];
609
+ id: Scalars['ID'];
610
+ };
611
+ export type TMessageInput = {
612
+ ackId: Scalars['String'];
613
+ data: Scalars['String'];
614
+ id: Scalars['ID'];
615
+ };
597
616
  export declare enum TMetricCardType {
598
617
  AverageOrderValue = "AVERAGE_ORDER_VALUE",
599
618
  OrderStatus = "ORDER_STATUS",
@@ -675,11 +694,14 @@ export type TMutation = {
675
694
  deleteProjectSettingsStoresView?: Maybe<TProjectSettingsStoresView>;
676
695
  installCustomApplication?: Maybe<TRestrictedCustomApplicationInstallationForOrganization>;
677
696
  installCustomView?: Maybe<TRestrictedCustomViewInstallationForOrganization>;
697
+ moveMessagesFromDeadLetterQueueToMainQueue?: Maybe<TBatchProcessResult>;
678
698
  random: Scalars['String'];
699
+ removeMessagesFromDeadLetterQueue?: Maybe<TBatchProcessResult>;
679
700
  sendLinkToVerifyCustomApplicationsMaintainerContactEmail?: Maybe<TCustomApplicationsMaintainerContactEmailVerificationRequest>;
680
701
  setCustomApplicationsMaintainerContactInformation?: Maybe<TOrganizationExtension>;
681
702
  setOrganizationExtensionOidcSsoConfig?: Maybe<TOrganizationExtension>;
682
703
  setProjectExtensionCategoryRecommendation?: Maybe<TProjectExtension>;
704
+ setProjectExtensionCustomerEmailValidationSettings?: Maybe<TProjectExtension>;
683
705
  setProjectExtensionImageRegex?: Maybe<TProjectExtension>;
684
706
  setProjectExtensionImportSampleDataset?: Maybe<TProjectExtension>;
685
707
  setProjectExtensionOrderStatesVisibility?: Maybe<TProjectExtension>;
@@ -907,9 +929,15 @@ export type TMutation_InstallCustomViewArgs = {
907
929
  organizationId: Scalars['String'];
908
930
  projectKeys?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
909
931
  };
932
+ export type TMutation_MoveMessagesFromDeadLetterQueueToMainQueueArgs = {
933
+ messages: Array<TMessageInput>;
934
+ };
910
935
  export type TMutation_RandomArgs = {
911
936
  byteLength: Scalars['Int'];
912
937
  };
938
+ export type TMutation_RemoveMessagesFromDeadLetterQueueArgs = {
939
+ messages: Array<TMessageInput>;
940
+ };
913
941
  export type TMutation_SendLinkToVerifyCustomApplicationsMaintainerContactEmailArgs = {
914
942
  organizationId: Scalars['String'];
915
943
  };
@@ -924,6 +952,9 @@ export type TMutation_SetOrganizationExtensionOidcSsoConfigArgs = {
924
952
  export type TMutation_SetProjectExtensionCategoryRecommendationArgs = {
925
953
  data?: InputMaybe<TCategoryRecommendationSettingsDataInput>;
926
954
  };
955
+ export type TMutation_SetProjectExtensionCustomerEmailValidationSettingsArgs = {
956
+ data?: InputMaybe<TCustomerEmailValidationSettingsInput>;
957
+ };
927
958
  export type TMutation_SetProjectExtensionImageRegexArgs = {
928
959
  data?: InputMaybe<TImageRegexDataInput>;
929
960
  };
@@ -1098,6 +1129,13 @@ export type TNavbarSubmenu = {
1098
1129
  updatedAt: Scalars['DateTime'];
1099
1130
  uriPath: Scalars['String'];
1100
1131
  };
1132
+ export type TNestedTable = {
1133
+ __typename?: 'NestedTable';
1134
+ visibleColumns?: Maybe<Array<Maybe<Scalars['String']>>>;
1135
+ };
1136
+ export type TNestedTableInput = {
1137
+ visibleColumns?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
1138
+ };
1101
1139
  export declare enum TOAuthScope {
1102
1140
  ManageBusinessUnits = "ManageBusinessUnits",
1103
1141
  ManageCartDiscounts = "ManageCartDiscounts",
@@ -1264,6 +1302,7 @@ export type TPimSearchListViewInput = {
1264
1302
  table?: InputMaybe<TPimSearchListViewTableInput>;
1265
1303
  };
1266
1304
  export type TPimSearchListViewTableInput = {
1305
+ nestedTable?: InputMaybe<TNestedTableInput>;
1267
1306
  visibleColumns: Array<Scalars['String']>;
1268
1307
  };
1269
1308
  export type TProductTypeAttributesView = {
@@ -1305,6 +1344,7 @@ export type TProjectExtension = {
1305
1344
  imageRegex?: Maybe<TImageRegex>;
1306
1345
  installedApplications: Array<TRestrictedCustomApplicationInstallationForProject>;
1307
1346
  installedCustomViews: Array<TRestrictedCustomViewInstallationForProject>;
1347
+ isCustomerEmailValidationDisabled: Scalars['Boolean'];
1308
1348
  isRichTextEditorEnabled: Scalars['Boolean'];
1309
1349
  orderStatesVisibility: Array<TOrderStatesVisibility>;
1310
1350
  projectKey: Scalars['String'];
@@ -1412,6 +1452,7 @@ export type TQuery = {
1412
1452
  projectExtension?: Maybe<TProjectExtension>;
1413
1453
  projectSettingsStoresView?: Maybe<TProjectSettingsStoresView>;
1414
1454
  projectSettingsStoresViews: Array<Maybe<TProjectSettingsStoresView>>;
1455
+ readMessagesFromDeadLetterQueue: Array<TMessage>;
1415
1456
  release?: Maybe<Scalars['String']>;
1416
1457
  ruleBuilderQuickSelectionValues?: Maybe<Array<Maybe<TRuleBuilderQuickSelectionValues>>>;
1417
1458
  variantPricesListViews: Array<Maybe<TVariantPricesListView>>;
@@ -1698,6 +1739,7 @@ export type TSampleDataImportMetadata = {
1698
1739
  dataset?: Maybe<TSampleDatasets>;
1699
1740
  };
1700
1741
  export declare enum TSampleDatasets {
1742
+ B2B = "B2B",
1701
1743
  Fashion = "FASHION",
1702
1744
  Goodstore = "GOODSTORE"
1703
1745
  }
@@ -1715,8 +1757,16 @@ export declare enum TSortOrder {
1715
1757
  Asc = "Asc",
1716
1758
  Desc = "Desc"
1717
1759
  }
1760
+ export type TTdlqMessageResult = {
1761
+ __typename?: 'TDLQMessageResult';
1762
+ ackId: Scalars['String'];
1763
+ data: Scalars['String'];
1764
+ error?: Maybe<Scalars['String']>;
1765
+ id: Scalars['ID'];
1766
+ };
1718
1767
  export type TTable = {
1719
1768
  __typename?: 'Table';
1769
+ nestedTable?: Maybe<TNestedTable>;
1720
1770
  visibleColumns: Array<Scalars['String']>;
1721
1771
  };
1722
1772
  export type TTopProductsConfiguration = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/application-shell-connectors",
3
- "version": "22.26.0",
3
+ "version": "22.27.0",
4
4
  "description": "Contains complementary tools for @commercetools-frontend/application-shell",
5
5
  "bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
6
6
  "repository": {
@@ -37,15 +37,15 @@
37
37
  "dependencies": {
38
38
  "@babel/runtime": "^7.22.15",
39
39
  "@babel/runtime-corejs3": "^7.22.15",
40
- "@commercetools-frontend/application-config": "22.26.0",
41
- "@commercetools-frontend/browser-history": "22.26.0",
42
- "@commercetools-frontend/constants": "22.26.0",
43
- "@commercetools-frontend/sentry": "22.26.0",
40
+ "@commercetools-frontend/application-config": "22.27.0",
41
+ "@commercetools-frontend/browser-history": "22.27.0",
42
+ "@commercetools-frontend/constants": "22.27.0",
43
+ "@commercetools-frontend/sentry": "22.27.0",
44
44
  "@commercetools/http-user-agent": "3.0.0",
45
45
  "@emotion/react": "^11.11.4",
46
46
  "@types/lodash": "^4.14.198",
47
47
  "@types/prop-types": "^15.7.5",
48
- "@types/react": "^17.0.56",
48
+ "@types/react": "^17.0.80",
49
49
  "apollo-link-logger": "2.0.1",
50
50
  "graphql": "16.8.1",
51
51
  "lodash": "4.17.21",