@commercetools-frontend/application-shell 21.7.0 → 21.9.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-12321514.cjs.prod.js → application-entry-point-0650332e.cjs.prod.js} +3 -3
- package/dist/{application-entry-point-9a1de3ce.cjs.dev.js → application-entry-point-9df8f75e.cjs.dev.js} +3 -3
- package/dist/{application-entry-point-698782a9.esm.js → application-entry-point-f104319e.esm.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/requests-in-flight-loader/reducer.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/test-utils/test-utils.d.ts +3 -3
- package/dist/declarations/src/types/generated/ctp.d.ts +614 -132
- package/dist/declarations/src/types/generated/mc.d.ts +58 -47
- package/dist/declarations/src/types/generated/proxy.d.ts +11 -10
- package/dist/declarations/src/types/generated/settings.d.ts +132 -8
- package/dist/declarations/src/utils/apollo-context.d.ts +3 -0
- package/dist/declarations/src/utils/get-previous-project-key/get-previous-project-key.d.ts +1 -1
- package/dist/declarations/src/utils/gtm.d.ts +3 -3
- package/dist/declarations/src/utils/oidc-storage.d.ts +2 -2
- package/dist/{index-9d5e2de6.cjs.prod.js → index-3dac983e.cjs.prod.js} +76 -44
- package/dist/{index-63e7502a.cjs.dev.js → index-b0b16985.cjs.dev.js} +102 -70
- package/dist/{index-a600e8cf.esm.js → index-edd1f296.esm.js} +101 -70
- 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-aed1fed0.cjs.dev.js → project-expired-23ed250a.cjs.prod.js} +6 -5
- package/dist/{project-expired-91709356.cjs.prod.js → project-expired-5f0f3bb2.cjs.dev.js} +6 -5
- package/dist/{project-expired-615d8abb.esm.js → project-expired-e4b56600.esm.js} +6 -5
- package/dist/{project-not-found-5a27b32f.esm.js → project-not-found-11ee63f2.esm.js} +6 -5
- package/dist/{project-not-found-ae2dcbbb.cjs.dev.js → project-not-found-24cd5af4.cjs.dev.js} +6 -5
- package/dist/{project-not-found-10659e1b.cjs.prod.js → project-not-found-cf44540b.cjs.prod.js} +6 -5
- package/dist/{project-not-initialized-5416854c.esm.js → project-not-initialized-23dd0a8d.esm.js} +6 -5
- package/dist/{project-not-initialized-26f33bde.cjs.prod.js → project-not-initialized-e5b36044.cjs.dev.js} +6 -5
- package/dist/{project-not-initialized-87539277.cjs.dev.js → project-not-initialized-f160d31e.cjs.prod.js} +6 -5
- package/dist/{project-suspended-c31e89df.esm.js → project-suspended-5b470857.esm.js} +6 -5
- package/dist/{project-suspended-11a05f2b.cjs.dev.js → project-suspended-ad97c11c.cjs.dev.js} +6 -5
- package/dist/{project-suspended-a3a0a2e1.cjs.prod.js → project-suspended-f6f25355.cjs.prod.js} +6 -5
- package/dist/{quick-access-9d42c45a.cjs.dev.js → quick-access-4077e80d.cjs.dev.js} +5 -4
- package/dist/{quick-access-11b138f3.esm.js → quick-access-5223e91a.esm.js} +5 -4
- package/dist/{quick-access-4aab1743.cjs.prod.js → quick-access-cdb8ce9e.cjs.prod.js} +5 -4
- package/dist/{service-page-project-switcher-ccd43459.cjs.prod.js → service-page-project-switcher-057e819c.cjs.prod.js} +1 -1
- package/dist/{service-page-project-switcher-20879b04.cjs.dev.js → service-page-project-switcher-ab9d0c0e.cjs.dev.js} +1 -1
- package/dist/{service-page-project-switcher-b51d445a.esm.js → service-page-project-switcher-f29ee61d.esm.js} +1 -1
- package/package.json +46 -45
- 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
|
@@ -41,6 +41,22 @@ export declare type TApplicationExtensionDataInput = {
|
|
|
41
41
|
oAuthScopes?: InputMaybe<Array<Scalars['String']>>;
|
|
42
42
|
url: Scalars['String'];
|
|
43
43
|
};
|
|
44
|
+
export declare type TApplicationExtensionInfoForLegacyCustomApplicationsMigrationReport = {
|
|
45
|
+
__typename?: 'ApplicationExtensionInfoForLegacyCustomApplicationsMigrationReport';
|
|
46
|
+
entryPointUriPath: Scalars['String'];
|
|
47
|
+
id: Scalars['ID'];
|
|
48
|
+
isActive: Scalars['Boolean'];
|
|
49
|
+
migratedTo: Array<TApplicationExtensionMigrationMatchingScore>;
|
|
50
|
+
name: Scalars['String'];
|
|
51
|
+
url: Scalars['String'];
|
|
52
|
+
};
|
|
53
|
+
export declare type TApplicationExtensionMigrationMatchingScore = {
|
|
54
|
+
__typename?: 'ApplicationExtensionMigrationMatchingScore';
|
|
55
|
+
applicationId: Scalars['String'];
|
|
56
|
+
matchByEntryPointUriPath: TMigrationMatchingScore;
|
|
57
|
+
matchByName: TMigrationMatchingScore;
|
|
58
|
+
matchByUrl: TMigrationMatchingScore;
|
|
59
|
+
};
|
|
44
60
|
export declare type TApplicationExtensionNavbarMenuDataInput = {
|
|
45
61
|
featureToggle?: InputMaybe<Scalars['String']>;
|
|
46
62
|
icon: Scalars['String'];
|
|
@@ -57,11 +73,20 @@ export declare type TApplicationExtensionNavbarSubmenuDataInput = {
|
|
|
57
73
|
permissions: Array<TOAuthScope>;
|
|
58
74
|
uriPath: Scalars['String'];
|
|
59
75
|
};
|
|
76
|
+
export declare type TApplicationInfoForLegacyCustomApplicationsMigrationReport = {
|
|
77
|
+
__typename?: 'ApplicationInfoForLegacyCustomApplicationsMigrationReport';
|
|
78
|
+
entryPointUriPath: Scalars['String'];
|
|
79
|
+
id: Scalars['ID'];
|
|
80
|
+
name: Scalars['String'];
|
|
81
|
+
url: Scalars['String'];
|
|
82
|
+
};
|
|
60
83
|
export declare enum TAuthPermission {
|
|
61
84
|
AccessToProject = "accessToProject",
|
|
62
85
|
LoggedInUser = "loggedInUser",
|
|
63
86
|
ManageMyOrganizations = "manageMyOrganizations",
|
|
64
87
|
ManageProjectSettings = "manageProjectSettings",
|
|
88
|
+
PerformDataCleanups = "performDataCleanups",
|
|
89
|
+
PerformMigrations = "performMigrations",
|
|
65
90
|
ViewCartDiscounts = "viewCartDiscounts",
|
|
66
91
|
ViewCustomers = "viewCustomers",
|
|
67
92
|
ViewDiscountCodes = "viewDiscountCodes",
|
|
@@ -244,6 +269,13 @@ export declare type TCustomApplicationQueryInput = {
|
|
|
244
269
|
limit?: InputMaybe<Scalars['Int']>;
|
|
245
270
|
offset?: InputMaybe<Scalars['Int']>;
|
|
246
271
|
sort?: InputMaybe<Scalars['String']>;
|
|
272
|
+
where?: InputMaybe<TCustomApplicationQueryWhereInput>;
|
|
273
|
+
};
|
|
274
|
+
export declare type TCustomApplicationQueryWhereInput = {
|
|
275
|
+
entryPointUriPath?: InputMaybe<Scalars['String']>;
|
|
276
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
277
|
+
name?: InputMaybe<Scalars['String']>;
|
|
278
|
+
organizationId?: InputMaybe<Scalars['String']>;
|
|
247
279
|
};
|
|
248
280
|
export declare enum TCustomApplicationStatus {
|
|
249
281
|
Draft = "DRAFT",
|
|
@@ -287,6 +319,7 @@ export declare type TCustomersListView = {
|
|
|
287
319
|
filters?: Maybe<Array<TFilterValues>>;
|
|
288
320
|
id: Scalars['ID'];
|
|
289
321
|
isActive?: Maybe<Scalars['Boolean']>;
|
|
322
|
+
migratedById?: Maybe<Scalars['String']>;
|
|
290
323
|
nameAllLocales?: Maybe<Array<TLocalizedField>>;
|
|
291
324
|
projectKey: Scalars['String'];
|
|
292
325
|
search?: Maybe<Scalars['String']>;
|
|
@@ -330,6 +363,7 @@ export declare type TDashboardView = {
|
|
|
330
363
|
id: Scalars['ID'];
|
|
331
364
|
isActive: Scalars['Boolean'];
|
|
332
365
|
layout?: Maybe<Array<TLayoutCard>>;
|
|
366
|
+
migratedById?: Maybe<Scalars['String']>;
|
|
333
367
|
nameAllLocales?: Maybe<Array<TLocalizedField>>;
|
|
334
368
|
projectKey: Scalars['String'];
|
|
335
369
|
timeZone?: Maybe<Scalars['String']>;
|
|
@@ -391,6 +425,7 @@ export declare type TDiscountsCustomView = {
|
|
|
391
425
|
filters?: Maybe<Array<TFilterValues>>;
|
|
392
426
|
id: Scalars['ID'];
|
|
393
427
|
isActive?: Maybe<Scalars['Boolean']>;
|
|
428
|
+
migratedById?: Maybe<Scalars['String']>;
|
|
394
429
|
nameAllLocales?: Maybe<Array<TLocalizedField>>;
|
|
395
430
|
projectKey: Scalars['String'];
|
|
396
431
|
search?: Maybe<Scalars['String']>;
|
|
@@ -536,15 +571,12 @@ export declare type TImageRegexDataInput = {
|
|
|
536
571
|
};
|
|
537
572
|
export declare type TImageRegexOptions = {
|
|
538
573
|
__typename?: 'ImageRegexOptions';
|
|
539
|
-
|
|
540
|
-
flag: Scalars['String'];
|
|
541
|
-
id: Scalars['ID'];
|
|
574
|
+
flag?: Maybe<Scalars['String']>;
|
|
542
575
|
replace: Scalars['String'];
|
|
543
576
|
search: Scalars['String'];
|
|
544
|
-
updatedAt: Scalars['DateTime'];
|
|
545
577
|
};
|
|
546
578
|
export declare type TImageRegexOptionsInput = {
|
|
547
|
-
flag
|
|
579
|
+
flag?: InputMaybe<Scalars['String']>;
|
|
548
580
|
replace: Scalars['String'];
|
|
549
581
|
search: Scalars['String'];
|
|
550
582
|
};
|
|
@@ -757,6 +789,21 @@ export declare type TLegacyCustomApplicationQueryInput = {
|
|
|
757
789
|
limit?: InputMaybe<Scalars['Int']>;
|
|
758
790
|
offset?: InputMaybe<Scalars['Int']>;
|
|
759
791
|
sort?: InputMaybe<Scalars['String']>;
|
|
792
|
+
where?: InputMaybe<TLegacyCustomApplicationQueryWhereInput>;
|
|
793
|
+
};
|
|
794
|
+
export declare type TLegacyCustomApplicationQueryWhereInput = {
|
|
795
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
796
|
+
name?: InputMaybe<Scalars['String']>;
|
|
797
|
+
projectKey?: InputMaybe<Scalars['String']>;
|
|
798
|
+
uriPath?: InputMaybe<Scalars['String']>;
|
|
799
|
+
};
|
|
800
|
+
export declare type TLegacyCustomApplicationsMigrationReport = {
|
|
801
|
+
__typename?: 'LegacyCustomApplicationsMigrationReport';
|
|
802
|
+
applications: Array<TApplicationInfoForLegacyCustomApplicationsMigrationReport>;
|
|
803
|
+
organizationExtensionId?: Maybe<Scalars['ID']>;
|
|
804
|
+
organizationId: Scalars['String'];
|
|
805
|
+
organizationName?: Maybe<Scalars['String']>;
|
|
806
|
+
projects: Array<TProjectInfoForLegacyCustomApplicationsMigrationReport>;
|
|
760
807
|
};
|
|
761
808
|
export declare type TLegacyCustomApplicationsPagedQueryResult = {
|
|
762
809
|
__typename?: 'LegacyCustomApplicationsPagedQueryResult';
|
|
@@ -864,6 +911,19 @@ export declare enum TMetricCardType {
|
|
|
864
911
|
TotalOrders = "TOTAL_ORDERS",
|
|
865
912
|
TotalSales = "TOTAL_SALES"
|
|
866
913
|
}
|
|
914
|
+
export declare type TMigrationMatchingScore = {
|
|
915
|
+
__typename?: 'MigrationMatchingScore';
|
|
916
|
+
matchFrom: Scalars['String'];
|
|
917
|
+
matchTo: Scalars['String'];
|
|
918
|
+
score: Scalars['Float'];
|
|
919
|
+
};
|
|
920
|
+
export declare type TMigrationResult = {
|
|
921
|
+
__typename?: 'MigrationResult';
|
|
922
|
+
failed: Scalars['Int'];
|
|
923
|
+
failedIds?: Maybe<Array<Scalars['ID']>>;
|
|
924
|
+
skipped: Scalars['Int'];
|
|
925
|
+
succeeded: Scalars['Int'];
|
|
926
|
+
};
|
|
867
927
|
export declare type TMutation = {
|
|
868
928
|
__typename?: 'Mutation';
|
|
869
929
|
activateCartDiscountsCustomView?: Maybe<TDiscountsCustomView>;
|
|
@@ -913,6 +973,11 @@ export declare type TMutation = {
|
|
|
913
973
|
deleteProductTypeAttributesView?: Maybe<TProductTypeAttributesView>;
|
|
914
974
|
deleteProjectExtensionApplication?: Maybe<TProjectExtension>;
|
|
915
975
|
installCustomApplication?: Maybe<TRestrictedCustomApplicationInstallationForOrganization>;
|
|
976
|
+
migrateCustomersListViews?: Maybe<TMigrationResult>;
|
|
977
|
+
migrateOrdersListViews?: Maybe<TMigrationResult>;
|
|
978
|
+
migrateProjectExtensions: TMigrationResult;
|
|
979
|
+
revertCustomersListViewsMigration: TRevertionResult;
|
|
980
|
+
revertOrdersListViewsMigration: TRevertionResult;
|
|
916
981
|
sendLinkToVerifyCustomApplicationsMaintainerContactEmail?: Maybe<TCustomApplicationsMaintainerContactEmailVerificationRequest>;
|
|
917
982
|
setCustomApplicationsMaintainerContactInformation?: Maybe<TOrganizationExtension>;
|
|
918
983
|
setOrganizationExtensionOidcSsoConfig?: Maybe<TOrganizationExtension>;
|
|
@@ -1081,6 +1146,21 @@ export declare type TMutation_InstallCustomApplicationArgs = {
|
|
|
1081
1146
|
organizationId: Scalars['String'];
|
|
1082
1147
|
projectKeys?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
|
|
1083
1148
|
};
|
|
1149
|
+
export declare type TMutation_MigrateCustomersListViewsArgs = {
|
|
1150
|
+
projectKeys?: InputMaybe<Array<Scalars['String']>>;
|
|
1151
|
+
};
|
|
1152
|
+
export declare type TMutation_MigrateOrdersListViewsArgs = {
|
|
1153
|
+
projectKeys?: InputMaybe<Array<Scalars['String']>>;
|
|
1154
|
+
};
|
|
1155
|
+
export declare type TMutation_MigrateProjectExtensionsArgs = {
|
|
1156
|
+
projectKeys?: InputMaybe<Array<Scalars['String']>>;
|
|
1157
|
+
};
|
|
1158
|
+
export declare type TMutation_RevertCustomersListViewsMigrationArgs = {
|
|
1159
|
+
projectKeys?: InputMaybe<Array<Scalars['String']>>;
|
|
1160
|
+
};
|
|
1161
|
+
export declare type TMutation_RevertOrdersListViewsMigrationArgs = {
|
|
1162
|
+
projectKeys?: InputMaybe<Array<Scalars['String']>>;
|
|
1163
|
+
};
|
|
1084
1164
|
export declare type TMutation_SendLinkToVerifyCustomApplicationsMaintainerContactEmailArgs = {
|
|
1085
1165
|
organizationId: Scalars['String'];
|
|
1086
1166
|
};
|
|
@@ -1174,6 +1254,29 @@ export declare type TMutation_UpdateVariantPricesListViewArgs = {
|
|
|
1174
1254
|
export declare type TMutation_VerifyCustomApplicationsMaintainerContactEmailArgs = {
|
|
1175
1255
|
token: Scalars['String'];
|
|
1176
1256
|
};
|
|
1257
|
+
export declare type TMyCustomApplication = {
|
|
1258
|
+
__typename?: 'MyCustomApplication';
|
|
1259
|
+
createdAt: Scalars['DateTime'];
|
|
1260
|
+
description?: Maybe<Scalars['String']>;
|
|
1261
|
+
entryPointUriPath: Scalars['String'];
|
|
1262
|
+
icon: Scalars['String'];
|
|
1263
|
+
id: Scalars['ID'];
|
|
1264
|
+
mainMenuLink: TCustomApplicationMenuLink;
|
|
1265
|
+
name: Scalars['String'];
|
|
1266
|
+
organizationId: Scalars['String'];
|
|
1267
|
+
organizationName: Scalars['String'];
|
|
1268
|
+
permissions: Array<TCustomApplicationPermission>;
|
|
1269
|
+
status: TCustomApplicationStatus;
|
|
1270
|
+
submenuLinks: Array<TCustomApplicationSubmenuLink>;
|
|
1271
|
+
updatedAt: Scalars['DateTime'];
|
|
1272
|
+
url: Scalars['String'];
|
|
1273
|
+
};
|
|
1274
|
+
export declare type TMyCustomApplicationQueryInput = {
|
|
1275
|
+
where?: InputMaybe<TMyCustomApplicationQueryWhereInput>;
|
|
1276
|
+
};
|
|
1277
|
+
export declare type TMyCustomApplicationQueryWhereInput = {
|
|
1278
|
+
status?: InputMaybe<TCustomApplicationStatus>;
|
|
1279
|
+
};
|
|
1177
1280
|
export declare type TNavbarMenu = {
|
|
1178
1281
|
__typename?: 'NavbarMenu';
|
|
1179
1282
|
createdAt: Scalars['DateTime'];
|
|
@@ -1461,6 +1564,7 @@ export declare type TOrdersListView = {
|
|
|
1461
1564
|
filters?: Maybe<Array<TFilterValues>>;
|
|
1462
1565
|
id: Scalars['ID'];
|
|
1463
1566
|
isActive?: Maybe<Scalars['Boolean']>;
|
|
1567
|
+
migratedById?: Maybe<Scalars['String']>;
|
|
1464
1568
|
nameAllLocales?: Maybe<Array<TLocalizedField>>;
|
|
1465
1569
|
projectKey: Scalars['String'];
|
|
1466
1570
|
search?: Maybe<Scalars['String']>;
|
|
@@ -1515,6 +1619,7 @@ export declare type TOrganizationExtensionForCustomApplication = {
|
|
|
1515
1619
|
application: TRestrictedCustomApplicationForOrganization;
|
|
1516
1620
|
id: Scalars['ID'];
|
|
1517
1621
|
organizationId: Scalars['String'];
|
|
1622
|
+
organizationName?: Maybe<Scalars['String']>;
|
|
1518
1623
|
};
|
|
1519
1624
|
export declare type TPimSearchListView = {
|
|
1520
1625
|
__typename?: 'PimSearchListView';
|
|
@@ -1522,6 +1627,7 @@ export declare type TPimSearchListView = {
|
|
|
1522
1627
|
filters?: Maybe<Array<TFilterValues>>;
|
|
1523
1628
|
id: Scalars['ID'];
|
|
1524
1629
|
isActive?: Maybe<Scalars['Boolean']>;
|
|
1630
|
+
migratedById?: Maybe<Scalars['String']>;
|
|
1525
1631
|
nameAllLocales?: Maybe<Array<TLocalizedField>>;
|
|
1526
1632
|
projectKey: Scalars['String'];
|
|
1527
1633
|
search?: Maybe<Scalars['String']>;
|
|
@@ -1577,6 +1683,7 @@ export declare type TProductTypeAttributesView = {
|
|
|
1577
1683
|
id: Scalars['ID'];
|
|
1578
1684
|
isActive: Scalars['Boolean'];
|
|
1579
1685
|
isVariant?: Maybe<Scalars['Boolean']>;
|
|
1686
|
+
migratedById?: Maybe<Scalars['String']>;
|
|
1580
1687
|
nameAllLocales?: Maybe<Array<TLocalizedField>>;
|
|
1581
1688
|
pinnedAttributes: Array<Scalars['String']>;
|
|
1582
1689
|
productTypeId: Scalars['String'];
|
|
@@ -1624,6 +1731,12 @@ export declare type TProjectExtension = {
|
|
|
1624
1731
|
export declare type TProjectExtension_ApplicationsArgs = {
|
|
1625
1732
|
where?: InputMaybe<TRestrictedApplicationExtensionWhereInput>;
|
|
1626
1733
|
};
|
|
1734
|
+
export declare type TProjectInfoForLegacyCustomApplicationsMigrationReport = {
|
|
1735
|
+
__typename?: 'ProjectInfoForLegacyCustomApplicationsMigrationReport';
|
|
1736
|
+
applicationExtensions: Array<TApplicationExtensionInfoForLegacyCustomApplicationsMigrationReport>;
|
|
1737
|
+
projectExtensionId: Scalars['ID'];
|
|
1738
|
+
projectKey: Scalars['String'];
|
|
1739
|
+
};
|
|
1627
1740
|
export declare type TQuery = {
|
|
1628
1741
|
__typename?: 'Query';
|
|
1629
1742
|
activeCartDiscountsCustomView?: Maybe<TDiscountsCustomView>;
|
|
@@ -1652,6 +1765,8 @@ export declare type TQuery = {
|
|
|
1652
1765
|
discountCodesListView?: Maybe<TDiscountCodesListView>;
|
|
1653
1766
|
globalOrganizationExtension?: Maybe<TOrganizationExtension>;
|
|
1654
1767
|
legacyCustomApplication?: Maybe<TLegacyCustomApplication>;
|
|
1768
|
+
legacyCustomApplicationsMigrationReport: Array<TLegacyCustomApplicationsMigrationReport>;
|
|
1769
|
+
myCustomApplications: Array<TMyCustomApplication>;
|
|
1655
1770
|
ordersListView?: Maybe<TOrdersListView>;
|
|
1656
1771
|
ordersListViews: Array<Maybe<TOrdersListView>>;
|
|
1657
1772
|
organizationExtension?: Maybe<TOrganizationExtension>;
|
|
@@ -1705,6 +1820,9 @@ export declare type TQuery_GlobalOrganizationExtensionArgs = {
|
|
|
1705
1820
|
export declare type TQuery_LegacyCustomApplicationArgs = {
|
|
1706
1821
|
applicationId: Scalars['ID'];
|
|
1707
1822
|
};
|
|
1823
|
+
export declare type TQuery_MyCustomApplicationsArgs = {
|
|
1824
|
+
params?: InputMaybe<TMyCustomApplicationQueryInput>;
|
|
1825
|
+
};
|
|
1708
1826
|
export declare type TQuery_OrdersListViewArgs = {
|
|
1709
1827
|
id: Scalars['ID'];
|
|
1710
1828
|
};
|
|
@@ -1836,6 +1954,10 @@ export declare type TRestrictedCustomApplicationInstallationForProject = {
|
|
|
1836
1954
|
installInAllProjects: Scalars['Boolean'];
|
|
1837
1955
|
updatedAt: Scalars['DateTime'];
|
|
1838
1956
|
};
|
|
1957
|
+
export declare type TRevertionResult = {
|
|
1958
|
+
__typename?: 'RevertionResult';
|
|
1959
|
+
revertedIds?: Maybe<Array<Scalars['ID']>>;
|
|
1960
|
+
};
|
|
1839
1961
|
export declare type TRuleBuilderQuickSelectCreatefunctionsInput = {
|
|
1840
1962
|
set?: InputMaybe<Array<Scalars['String']>>;
|
|
1841
1963
|
};
|
|
@@ -1852,6 +1974,7 @@ export declare type TRuleBuilderQuickSelectionValues = {
|
|
|
1852
1974
|
createdAt: Scalars['DateTime'];
|
|
1853
1975
|
functions: Array<Scalars['String']>;
|
|
1854
1976
|
id: Scalars['ID'];
|
|
1977
|
+
migratedById?: Maybe<Scalars['String']>;
|
|
1855
1978
|
predicates: Array<Scalars['String']>;
|
|
1856
1979
|
projectKey: Scalars['String'];
|
|
1857
1980
|
ruleBuilderType: TRuleBuilderType;
|
|
@@ -2161,6 +2284,7 @@ export declare type TVariantPricesListView = {
|
|
|
2161
2284
|
__typename?: 'VariantPricesListView';
|
|
2162
2285
|
createdAt: Scalars['DateTime'];
|
|
2163
2286
|
id: Scalars['ID'];
|
|
2287
|
+
migratedById?: Maybe<Scalars['String']>;
|
|
2164
2288
|
projectKey: Scalars['String'];
|
|
2165
2289
|
updatedAt: Scalars['DateTime'];
|
|
2166
2290
|
userId: Scalars['String'];
|
|
@@ -2181,13 +2305,13 @@ export declare type TFetchProjectExtensionImageRegexQuery = {
|
|
|
2181
2305
|
__typename?: 'ImageRegex';
|
|
2182
2306
|
thumb?: {
|
|
2183
2307
|
__typename?: 'ImageRegexOptions';
|
|
2184
|
-
flag
|
|
2308
|
+
flag?: string | null;
|
|
2185
2309
|
search: string;
|
|
2186
2310
|
replace: string;
|
|
2187
2311
|
} | null;
|
|
2188
2312
|
small?: {
|
|
2189
2313
|
__typename?: 'ImageRegexOptions';
|
|
2190
|
-
flag
|
|
2314
|
+
flag?: string | null;
|
|
2191
2315
|
search: string;
|
|
2192
2316
|
replace: string;
|
|
2193
2317
|
} | null;
|
|
@@ -2196,7 +2320,7 @@ export declare type TFetchProjectExtensionImageRegexQuery = {
|
|
|
2196
2320
|
};
|
|
2197
2321
|
export declare type TImageRegexFragment = {
|
|
2198
2322
|
__typename?: 'ImageRegexOptions';
|
|
2199
|
-
flag
|
|
2323
|
+
flag?: string | null;
|
|
2200
2324
|
search: string;
|
|
2201
2325
|
replace: string;
|
|
2202
2326
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { TGraphQLTargets } from '@commercetools-frontend/constants';
|
|
2
2
|
export declare type THeaders = Record<string, string>;
|
|
3
|
+
export declare type TForwardToAudiencePolicy = 'forward-url-full-path' | 'forward-url-origin';
|
|
3
4
|
export declare type TApolloContext = {
|
|
4
5
|
uri?: string;
|
|
5
6
|
headers?: THeaders;
|
|
@@ -7,6 +8,7 @@ export declare type TApolloContext = {
|
|
|
7
8
|
version: string;
|
|
8
9
|
uri: string;
|
|
9
10
|
headers?: THeaders;
|
|
11
|
+
audiencePolicy: TForwardToAudiencePolicy;
|
|
10
12
|
};
|
|
11
13
|
skipGraphQlTargetCheck?: boolean;
|
|
12
14
|
skipTokenRetry?: boolean;
|
|
@@ -18,6 +20,7 @@ export declare type TApolloContext = {
|
|
|
18
20
|
declare type TApolloContextProxyForwardTo = {
|
|
19
21
|
uri: string;
|
|
20
22
|
headers?: THeaders;
|
|
23
|
+
audiencePolicy?: TForwardToAudiencePolicy;
|
|
21
24
|
};
|
|
22
25
|
declare const createApolloContextForProxyForwardTo: (proxyForwardTocontext: TApolloContextProxyForwardTo) => TApolloContext;
|
|
23
26
|
export { createApolloContextForProxyForwardTo };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const getPreviousProjectKey: (defaultProjectKeyOfUser?: string
|
|
1
|
+
declare const getPreviousProjectKey: (defaultProjectKeyOfUser?: string) => string | undefined;
|
|
2
2
|
export default getPreviousProjectKey;
|
|
@@ -10,7 +10,7 @@ export declare const defaultEventList: {
|
|
|
10
10
|
ProjectSwitch: string;
|
|
11
11
|
ForgotPassword: string;
|
|
12
12
|
};
|
|
13
|
-
export declare const track: (action: string, category: string, label?: string
|
|
13
|
+
export declare const track: (action: string, category: string, label?: string) => void;
|
|
14
14
|
export declare const trackTiming: ({ category, variable, value, label, }: {
|
|
15
15
|
category: string;
|
|
16
16
|
variable: string;
|
|
@@ -18,8 +18,8 @@ export declare const trackTiming: ({ category, variable, value, label, }: {
|
|
|
18
18
|
label?: string | undefined;
|
|
19
19
|
}) => void;
|
|
20
20
|
export declare const trackApplicationName: (applicationName: string) => void;
|
|
21
|
-
export declare const trackProjectKey: (projectKey?: string
|
|
22
|
-
export declare const trackUserBusinessRole: (userBusinessRole?: string
|
|
21
|
+
export declare const trackProjectKey: (projectKey?: string) => void;
|
|
22
|
+
export declare const trackUserBusinessRole: (userBusinessRole?: string) => void;
|
|
23
23
|
export declare const getHierarchy: (node: Node | null) => string;
|
|
24
24
|
export declare const boot: (trackingEventList: TrackingList) => void;
|
|
25
25
|
export declare const updateUser: (userId: string) => void;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
declare const getSessionToken: () => string | null;
|
|
2
|
-
declare const setActiveSession: (sessionToken?: string
|
|
2
|
+
declare const setActiveSession: (sessionToken?: string) => void;
|
|
3
3
|
declare const clearSession: () => void;
|
|
4
4
|
declare const getActiveProjectKey: () => string | null;
|
|
5
5
|
declare const removeActiveProjectKey: () => void;
|
|
6
6
|
declare const setActiveProjectKey: (projectKey: string) => void;
|
|
7
7
|
declare const getSessionScope: () => string | null;
|
|
8
8
|
declare const setSessionScope: (scope: string) => void;
|
|
9
|
-
declare const getSessionState: <State extends {}>(stateId?: string
|
|
9
|
+
declare const getSessionState: <State extends {}>(stateId?: string) => State | null;
|
|
10
10
|
declare const setSessionState: <State extends {}>(stateId: string, state: State) => void;
|
|
11
11
|
export { getSessionToken, setActiveSession, clearSession, getSessionState, setSessionState, getActiveProjectKey, setActiveProjectKey, removeActiveProjectKey, getSessionScope, setSessionScope, };
|