@commercetools-frontend/application-shell 21.7.0 → 21.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/dist/{application-entry-point-698782a9.esm.js → application-entry-point-14c74303.esm.js} +3 -3
- package/dist/{application-entry-point-12321514.cjs.prod.js → application-entry-point-dc4da815.cjs.prod.js} +3 -3
- package/dist/{application-entry-point-9a1de3ce.cjs.dev.js → application-entry-point-f22a0ec9.cjs.dev.js} +3 -3
- package/dist/commercetools-frontend-application-shell.cjs.dev.js +5 -4
- package/dist/commercetools-frontend-application-shell.cjs.prod.js +5 -4
- package/dist/commercetools-frontend-application-shell.esm.js +5 -4
- package/dist/{constants-6f8e0d87.esm.js → constants-3cf6ed64.esm.js} +1 -0
- package/dist/{constants-9710f983.cjs.prod.js → constants-bf2e1d68.cjs.dev.js} +1 -0
- package/dist/{constants-0b2cadbb.cjs.dev.js → constants-f34da47c.cjs.prod.js} +1 -0
- package/dist/declarations/src/components/locale-switcher/messages.d.ts +8 -0
- package/dist/declarations/src/components/project-switcher/messages.d.ts +1 -1
- package/dist/declarations/src/components/user-settings-menu/messages.d.ts +5 -0
- package/dist/declarations/src/constants.d.ts +1 -0
- package/dist/declarations/src/types/generated/ctp.d.ts +29 -132
- package/dist/declarations/src/types/generated/mc.d.ts +47 -47
- package/dist/declarations/src/types/generated/proxy.d.ts +11 -10
- package/dist/declarations/src/types/generated/settings.d.ts +28 -0
- package/dist/declarations/src/utils/apollo-context.d.ts +3 -0
- package/dist/{index-a600e8cf.esm.js → index-691497c4.esm.js} +101 -70
- package/dist/{index-63e7502a.cjs.dev.js → index-b67a270d.cjs.dev.js} +102 -70
- package/dist/{index-9d5e2de6.cjs.prod.js → index-b937ebec.cjs.prod.js} +76 -44
- 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-91709356.cjs.prod.js → project-expired-3ff8b6af.cjs.dev.js} +6 -5
- package/dist/{project-expired-615d8abb.esm.js → project-expired-af63adca.esm.js} +6 -5
- package/dist/{project-expired-aed1fed0.cjs.dev.js → project-expired-f6ee2c5a.cjs.prod.js} +6 -5
- package/dist/{project-not-found-ae2dcbbb.cjs.dev.js → project-not-found-0fb97434.cjs.dev.js} +6 -5
- package/dist/{project-not-found-10659e1b.cjs.prod.js → project-not-found-4d6af409.cjs.prod.js} +6 -5
- package/dist/{project-not-found-5a27b32f.esm.js → project-not-found-a8ec89b8.esm.js} +6 -5
- package/dist/{project-not-initialized-26f33bde.cjs.prod.js → project-not-initialized-1a4af9f3.cjs.dev.js} +6 -5
- package/dist/{project-not-initialized-5416854c.esm.js → project-not-initialized-7fb913bb.esm.js} +6 -5
- package/dist/{project-not-initialized-87539277.cjs.dev.js → project-not-initialized-e67beb94.cjs.prod.js} +6 -5
- package/dist/{project-suspended-11a05f2b.cjs.dev.js → project-suspended-a3e8e976.cjs.dev.js} +6 -5
- package/dist/{project-suspended-c31e89df.esm.js → project-suspended-b8d28c48.esm.js} +6 -5
- package/dist/{project-suspended-a3a0a2e1.cjs.prod.js → project-suspended-dc511990.cjs.prod.js} +6 -5
- package/dist/{quick-access-4aab1743.cjs.prod.js → quick-access-3c5120c2.cjs.prod.js} +5 -4
- package/dist/{quick-access-11b138f3.esm.js → quick-access-69f5ce27.esm.js} +5 -4
- package/dist/{quick-access-9d42c45a.cjs.dev.js → quick-access-c71b6351.cjs.dev.js} +5 -4
- package/dist/{service-page-project-switcher-20879b04.cjs.dev.js → service-page-project-switcher-76aa47ce.cjs.dev.js} +1 -1
- package/dist/{service-page-project-switcher-ccd43459.cjs.prod.js → service-page-project-switcher-7dcfaf3a.cjs.prod.js} +1 -1
- package/dist/{service-page-project-switcher-b51d445a.esm.js → service-page-project-switcher-dffc7091.esm.js} +1 -1
- package/package.json +22 -21
- 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
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare type Maybe<T> = T | null;
|
|
2
|
+
export declare type InputMaybe<T> = Maybe<T>;
|
|
2
3
|
export declare type Exact<T extends {
|
|
3
4
|
[key: string]: unknown;
|
|
4
5
|
}> = {
|
|
@@ -51,7 +52,7 @@ export declare type TCartClassificationValue = {
|
|
|
51
52
|
key: Scalars['String'];
|
|
52
53
|
};
|
|
53
54
|
export declare type TChangeUserBusinessRole = {
|
|
54
|
-
businessRole?:
|
|
55
|
+
businessRole?: InputMaybe<Scalars['String']>;
|
|
55
56
|
};
|
|
56
57
|
export declare type TChangeUserLanguage = {
|
|
57
58
|
language: Scalars['String'];
|
|
@@ -90,7 +91,7 @@ export declare type TInvitationInput = {
|
|
|
90
91
|
};
|
|
91
92
|
export declare type TInvitationOrganizationInput = {
|
|
92
93
|
id: Scalars['ID'];
|
|
93
|
-
name?:
|
|
94
|
+
name?: InputMaybe<Scalars['String']>;
|
|
94
95
|
version: Scalars['Int'];
|
|
95
96
|
};
|
|
96
97
|
export declare type TInvitationQueryResult = {
|
|
@@ -158,14 +159,13 @@ export declare type TMutation_CreateOAuthClientArgs = {
|
|
|
158
159
|
};
|
|
159
160
|
export declare type TMutation_DeleteAccountArgs = {
|
|
160
161
|
jwt: Scalars['String'];
|
|
161
|
-
origin?: Maybe<Scalars['String']>;
|
|
162
162
|
};
|
|
163
163
|
export declare type TMutation_DeleteOAuthClientArgs = {
|
|
164
164
|
id: Scalars['ID'];
|
|
165
165
|
};
|
|
166
166
|
export declare type TMutation_InviteArgs = {
|
|
167
167
|
draft: TInvitationInput;
|
|
168
|
-
origin?:
|
|
168
|
+
origin?: InputMaybe<Scalars['String']>;
|
|
169
169
|
};
|
|
170
170
|
export declare type TMutation_RandomArgs = {
|
|
171
171
|
byteLength: Scalars['Int'];
|
|
@@ -173,20 +173,14 @@ export declare type TMutation_RandomArgs = {
|
|
|
173
173
|
export declare type TMutation_ResetPasswordArgs = {
|
|
174
174
|
draft: TResetPasswordDraft;
|
|
175
175
|
jwt: Scalars['String'];
|
|
176
|
-
origin?: Maybe<Scalars['String']>;
|
|
177
|
-
};
|
|
178
|
-
export declare type TMutation_SendLinkToDeleteAccountArgs = {
|
|
179
|
-
origin?: Maybe<Scalars['String']>;
|
|
180
176
|
};
|
|
181
177
|
export declare type TMutation_SendLinkToResetPasswordArgs = {
|
|
182
178
|
email: Scalars['String'];
|
|
183
|
-
origin?: Maybe<Scalars['String']>;
|
|
184
179
|
};
|
|
185
180
|
export declare type TMutation_SendLinkToSignUpArgs = {
|
|
186
|
-
additionalInfo?:
|
|
181
|
+
additionalInfo?: InputMaybe<TAdditionalUserInfo>;
|
|
187
182
|
email: Scalars['String'];
|
|
188
|
-
language?:
|
|
189
|
-
origin?: Maybe<Scalars['String']>;
|
|
183
|
+
language?: InputMaybe<Scalars['String']>;
|
|
190
184
|
};
|
|
191
185
|
export declare type TMutation_SignUpArgs = {
|
|
192
186
|
draft: TUserDraft;
|
|
@@ -252,6 +246,7 @@ export declare enum TPermissionScope {
|
|
|
252
246
|
GetPermissionForAnyProject = "get_permission_for_any_project",
|
|
253
247
|
IntrospectOauthTokens = "introspect_oauth_tokens",
|
|
254
248
|
ManageApiClients = "manage_api_clients",
|
|
249
|
+
ManageAttributeGroups = "manage_attribute_groups",
|
|
255
250
|
ManageAuditLog = "manage_audit_log",
|
|
256
251
|
ManageCartDiscounts = "manage_cart_discounts",
|
|
257
252
|
ManageCategories = "manage_categories",
|
|
@@ -271,17 +266,20 @@ export declare enum TPermissionScope {
|
|
|
271
266
|
ManageOrderEdits = "manage_order_edits",
|
|
272
267
|
ManageOrders = "manage_orders",
|
|
273
268
|
ManagePayments = "manage_payments",
|
|
269
|
+
ManageProductSelections = "manage_product_selections",
|
|
274
270
|
ManageProducts = "manage_products",
|
|
275
271
|
ManageProject = "manage_project",
|
|
276
272
|
ManageProjectSettings = "manage_project_settings",
|
|
277
273
|
ManageShippingMethods = "manage_shipping_methods",
|
|
278
274
|
ManageShoppingLists = "manage_shopping_lists",
|
|
275
|
+
ManageStandalonePrices = "manage_standalone_prices",
|
|
279
276
|
ManageStates = "manage_states",
|
|
280
277
|
ManageStores = "manage_stores",
|
|
281
278
|
ManageSubscriptions = "manage_subscriptions",
|
|
282
279
|
ManageTaxCategories = "manage_tax_categories",
|
|
283
280
|
ManageTypes = "manage_types",
|
|
284
281
|
ViewApiClients = "view_api_clients",
|
|
282
|
+
ViewAttributeGroups = "view_attribute_groups",
|
|
285
283
|
ViewAuditLog = "view_audit_log",
|
|
286
284
|
ViewCartDiscounts = "view_cart_discounts",
|
|
287
285
|
ViewCategories = "view_categories",
|
|
@@ -296,12 +294,14 @@ export declare enum TPermissionScope {
|
|
|
296
294
|
ViewOrderEdits = "view_order_edits",
|
|
297
295
|
ViewOrders = "view_orders",
|
|
298
296
|
ViewPayments = "view_payments",
|
|
297
|
+
ViewProductSelections = "view_product_selections",
|
|
299
298
|
ViewProducts = "view_products",
|
|
300
299
|
ViewProjectSettings = "view_project_settings",
|
|
301
300
|
ViewProjects = "view_projects",
|
|
302
301
|
ViewPublishedProducts = "view_published_products",
|
|
303
302
|
ViewShippingMethods = "view_shipping_methods",
|
|
304
303
|
ViewShoppingLists = "view_shopping_lists",
|
|
304
|
+
ViewStandalonePrices = "view_standalone_prices",
|
|
305
305
|
ViewStates = "view_states",
|
|
306
306
|
ViewStores = "view_stores",
|
|
307
307
|
ViewTaxCategories = "view_tax_categories",
|
|
@@ -334,10 +334,10 @@ export declare type TProject = TMetaData & {
|
|
|
334
334
|
export declare type TProjectDraftType = {
|
|
335
335
|
countries: Array<Scalars['String']>;
|
|
336
336
|
currencies: Array<Scalars['String']>;
|
|
337
|
-
deleteDaysAfterCreation?:
|
|
337
|
+
deleteDaysAfterCreation?: InputMaybe<Scalars['Int']>;
|
|
338
338
|
key: Scalars['String'];
|
|
339
339
|
languages: Array<Scalars['String']>;
|
|
340
|
-
messagesEnabled?:
|
|
340
|
+
messagesEnabled?: InputMaybe<Scalars['Boolean']>;
|
|
341
341
|
name: Scalars['String'];
|
|
342
342
|
ownerId: Scalars['String'];
|
|
343
343
|
};
|
|
@@ -361,8 +361,8 @@ export declare type TProjectPermission = {
|
|
|
361
361
|
};
|
|
362
362
|
export declare type TProjectPermissionInput = {
|
|
363
363
|
key: TPermissionScope;
|
|
364
|
-
projectKey?:
|
|
365
|
-
storeKey?:
|
|
364
|
+
projectKey?: InputMaybe<Scalars['String']>;
|
|
365
|
+
storeKey?: InputMaybe<Scalars['String']>;
|
|
366
366
|
};
|
|
367
367
|
export declare type TProjectQueryResult = TQueryResult & {
|
|
368
368
|
__typename?: 'ProjectQueryResult';
|
|
@@ -403,26 +403,26 @@ export declare type TQuery = {
|
|
|
403
403
|
storeOAuthScopes: Array<TPermissionScope>;
|
|
404
404
|
};
|
|
405
405
|
export declare type TQuery_AllImpliedOAuthScopesArgs = {
|
|
406
|
-
onlyConfiguredOnTrustedClient?:
|
|
406
|
+
onlyConfiguredOnTrustedClient?: InputMaybe<Scalars['Boolean']>;
|
|
407
407
|
resourceAccessPermissions: Array<Scalars['String']>;
|
|
408
408
|
};
|
|
409
409
|
export declare type TQuery_InvitationArgs = {
|
|
410
|
-
where?:
|
|
410
|
+
where?: InputMaybe<TInvitationWhereInput>;
|
|
411
411
|
};
|
|
412
412
|
export declare type TQuery_OAuthClientArgs = {
|
|
413
413
|
id: Scalars['String'];
|
|
414
414
|
};
|
|
415
415
|
export declare type TQuery_OAuthClientsArgs = {
|
|
416
|
-
limit?:
|
|
417
|
-
offset?:
|
|
418
|
-
sort?:
|
|
416
|
+
limit?: InputMaybe<Scalars['Int']>;
|
|
417
|
+
offset?: InputMaybe<Scalars['Int']>;
|
|
418
|
+
sort?: InputMaybe<Array<Scalars['String']>>;
|
|
419
419
|
};
|
|
420
420
|
export declare type TQuery_ProjectArgs = {
|
|
421
|
-
key?:
|
|
421
|
+
key?: InputMaybe<Scalars['String']>;
|
|
422
422
|
};
|
|
423
423
|
export declare type TQuery_ReleasesArgs = {
|
|
424
|
-
limit?:
|
|
425
|
-
offset?:
|
|
424
|
+
limit?: InputMaybe<Scalars['Int']>;
|
|
425
|
+
offset?: InputMaybe<Scalars['Int']>;
|
|
426
426
|
origin: TReleaseOrigin;
|
|
427
427
|
};
|
|
428
428
|
export declare type TQueryResult = {
|
|
@@ -455,8 +455,8 @@ export declare type TReleaseHistory = {
|
|
|
455
455
|
title: Scalars['String'];
|
|
456
456
|
};
|
|
457
457
|
export declare type TReleaseHistory_EntriesArgs = {
|
|
458
|
-
limit?:
|
|
459
|
-
offset?:
|
|
458
|
+
limit?: InputMaybe<Scalars['Int']>;
|
|
459
|
+
offset?: InputMaybe<Scalars['Int']>;
|
|
460
460
|
};
|
|
461
461
|
export declare enum TReleaseOrigin {
|
|
462
462
|
Ctp = "ctp",
|
|
@@ -481,7 +481,7 @@ export declare type TResetUser = {
|
|
|
481
481
|
id: Scalars['String'];
|
|
482
482
|
};
|
|
483
483
|
export declare type TSetUserTimeZone = {
|
|
484
|
-
timeZone?:
|
|
484
|
+
timeZone?: InputMaybe<Scalars['String']>;
|
|
485
485
|
};
|
|
486
486
|
export declare type TShippingRateInputType = {
|
|
487
487
|
__typename?: 'ShippingRateInputType';
|
|
@@ -554,18 +554,18 @@ export declare type TUser = TMetaData & {
|
|
|
554
554
|
version?: Maybe<Scalars['Int']>;
|
|
555
555
|
};
|
|
556
556
|
export declare type TUserDraft = {
|
|
557
|
-
businessRole?:
|
|
557
|
+
businessRole?: InputMaybe<Scalars['String']>;
|
|
558
558
|
firstName: Scalars['String'];
|
|
559
559
|
lastName: Scalars['String'];
|
|
560
560
|
password: Scalars['String'];
|
|
561
561
|
};
|
|
562
562
|
export declare type TUserUpdateAction = {
|
|
563
|
-
changeBusinessRole?:
|
|
564
|
-
changeLanguage?:
|
|
565
|
-
changeName?:
|
|
566
|
-
changeNumberFormat?:
|
|
567
|
-
changePassword?:
|
|
568
|
-
setTimeZone?:
|
|
563
|
+
changeBusinessRole?: InputMaybe<TChangeUserBusinessRole>;
|
|
564
|
+
changeLanguage?: InputMaybe<TChangeUserLanguage>;
|
|
565
|
+
changeName?: InputMaybe<TChangeUserName>;
|
|
566
|
+
changeNumberFormat?: InputMaybe<TChangeUserNumberFormat>;
|
|
567
|
+
changePassword?: InputMaybe<TChangeUserPassword>;
|
|
568
|
+
setTimeZone?: InputMaybe<TSetUserTimeZone>;
|
|
569
569
|
};
|
|
570
570
|
export declare type TAmILoggedInQueryVariables = Exact<{
|
|
571
571
|
[key: string]: never;
|
|
@@ -582,7 +582,7 @@ export declare type TFetchProjectQuery = {
|
|
|
582
582
|
project?: {
|
|
583
583
|
__typename?: 'Project';
|
|
584
584
|
key: string;
|
|
585
|
-
version?: number | null
|
|
585
|
+
version?: number | null;
|
|
586
586
|
name: string;
|
|
587
587
|
countries: Array<string>;
|
|
588
588
|
currencies: Array<string>;
|
|
@@ -591,12 +591,12 @@ export declare type TFetchProjectQuery = {
|
|
|
591
591
|
expiry: {
|
|
592
592
|
__typename?: 'ProjectExpiry';
|
|
593
593
|
isActive: boolean;
|
|
594
|
-
daysLeft?: number | null
|
|
594
|
+
daysLeft?: number | null;
|
|
595
595
|
};
|
|
596
596
|
suspension: {
|
|
597
597
|
__typename?: 'ProjectSuspension';
|
|
598
598
|
isActive: boolean;
|
|
599
|
-
reason?: TProjectSuspensionReason | null
|
|
599
|
+
reason?: TProjectSuspensionReason | null;
|
|
600
600
|
};
|
|
601
601
|
allAppliedPermissions: Array<{
|
|
602
602
|
__typename?: 'AppliedPermission';
|
|
@@ -647,7 +647,7 @@ export declare type TFetchProjectQuery = {
|
|
|
647
647
|
id: string;
|
|
648
648
|
name: string;
|
|
649
649
|
};
|
|
650
|
-
} | null
|
|
650
|
+
} | null;
|
|
651
651
|
};
|
|
652
652
|
export declare type TFetchLoggedInUserQueryVariables = Exact<{
|
|
653
653
|
[key: string]: never;
|
|
@@ -663,14 +663,14 @@ export declare type TFetchLoggedInUserQuery = {
|
|
|
663
663
|
lastName: string;
|
|
664
664
|
language: string;
|
|
665
665
|
numberFormat: string;
|
|
666
|
-
timeZone?: string | null
|
|
666
|
+
timeZone?: string | null;
|
|
667
667
|
launchdarklyTrackingId: string;
|
|
668
668
|
launchdarklyTrackingGroup: string;
|
|
669
|
-
launchdarklyTrackingSubgroup?: string | null
|
|
670
|
-
launchdarklyTrackingTeam?: Array<string> | null
|
|
669
|
+
launchdarklyTrackingSubgroup?: string | null;
|
|
670
|
+
launchdarklyTrackingTeam?: Array<string> | null;
|
|
671
671
|
launchdarklyTrackingTenant: string;
|
|
672
|
-
defaultProjectKey?: string | null
|
|
673
|
-
businessRole?: string | null
|
|
672
|
+
defaultProjectKey?: string | null;
|
|
673
|
+
businessRole?: string | null;
|
|
674
674
|
projects: {
|
|
675
675
|
__typename?: 'ProjectQueryResult';
|
|
676
676
|
total: number;
|
|
@@ -688,7 +688,7 @@ export declare type TFetchLoggedInUserQuery = {
|
|
|
688
688
|
};
|
|
689
689
|
}>;
|
|
690
690
|
};
|
|
691
|
-
} | null
|
|
691
|
+
} | null;
|
|
692
692
|
};
|
|
693
693
|
export declare type TFetchUserProjectsQueryVariables = Exact<{
|
|
694
694
|
[key: string]: never;
|
|
@@ -714,7 +714,7 @@ export declare type TFetchUserProjectsQuery = {
|
|
|
714
714
|
};
|
|
715
715
|
}>;
|
|
716
716
|
};
|
|
717
|
-
} | null
|
|
717
|
+
} | null;
|
|
718
718
|
};
|
|
719
719
|
export declare type TAllFeaturesQueryVariables = Exact<{
|
|
720
720
|
[key: string]: never;
|
|
@@ -725,7 +725,7 @@ export declare type TAllFeaturesQuery = {
|
|
|
725
725
|
__typename?: 'Feature';
|
|
726
726
|
name: string;
|
|
727
727
|
value: boolean;
|
|
728
|
-
reason?: string | null
|
|
728
|
+
reason?: string | null;
|
|
729
729
|
}>;
|
|
730
730
|
};
|
|
731
731
|
export declare type TFetchUserIdQueryVariables = Exact<{
|
|
@@ -736,5 +736,5 @@ export declare type TFetchUserIdQuery = {
|
|
|
736
736
|
user?: {
|
|
737
737
|
__typename?: 'User';
|
|
738
738
|
id: string;
|
|
739
|
-
} | null
|
|
739
|
+
} | null;
|
|
740
740
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare type Maybe<T> = T | null;
|
|
2
|
+
export declare type InputMaybe<T> = Maybe<T>;
|
|
2
3
|
export declare type Exact<T extends {
|
|
3
4
|
[key: string]: unknown;
|
|
4
5
|
}> = {
|
|
@@ -84,12 +85,12 @@ export declare type TFetchApplicationsMenuQuery = {
|
|
|
84
85
|
__typename?: 'ApplicationsMenu';
|
|
85
86
|
navBar: Array<{
|
|
86
87
|
__typename?: 'NavbarMenu';
|
|
87
|
-
shouldRenderDivider?: boolean | null
|
|
88
|
+
shouldRenderDivider?: boolean | null;
|
|
88
89
|
key: string;
|
|
89
90
|
uriPath: string;
|
|
90
91
|
icon: string;
|
|
91
|
-
featureToggle?: string | null
|
|
92
|
-
menuVisibility?: string | null
|
|
92
|
+
featureToggle?: string | null;
|
|
93
|
+
menuVisibility?: string | null;
|
|
93
94
|
permissions: Array<string>;
|
|
94
95
|
labelAllLocales: Array<{
|
|
95
96
|
__typename?: 'LocalizedField';
|
|
@@ -101,18 +102,18 @@ export declare type TFetchApplicationsMenuQuery = {
|
|
|
101
102
|
group: string;
|
|
102
103
|
name: string;
|
|
103
104
|
type: string;
|
|
104
|
-
}> | null
|
|
105
|
+
}> | null;
|
|
105
106
|
actionRights?: Array<{
|
|
106
107
|
__typename?: 'ActionRight';
|
|
107
108
|
group: string;
|
|
108
109
|
name: string;
|
|
109
|
-
}> | null
|
|
110
|
+
}> | null;
|
|
110
111
|
submenu: Array<{
|
|
111
112
|
__typename?: 'BaseMenu';
|
|
112
113
|
key: string;
|
|
113
114
|
uriPath: string;
|
|
114
|
-
featureToggle?: string | null
|
|
115
|
-
menuVisibility?: string | null
|
|
115
|
+
featureToggle?: string | null;
|
|
116
|
+
menuVisibility?: string | null;
|
|
116
117
|
permissions: Array<string>;
|
|
117
118
|
labelAllLocales: Array<{
|
|
118
119
|
__typename?: 'LocalizedField';
|
|
@@ -123,20 +124,20 @@ export declare type TFetchApplicationsMenuQuery = {
|
|
|
123
124
|
__typename?: 'ActionRight';
|
|
124
125
|
group: string;
|
|
125
126
|
name: string;
|
|
126
|
-
}> | null
|
|
127
|
+
}> | null;
|
|
127
128
|
dataFences?: Array<{
|
|
128
129
|
__typename?: 'DataFence';
|
|
129
130
|
group: string;
|
|
130
131
|
name: string;
|
|
131
132
|
type: string;
|
|
132
|
-
}> | null
|
|
133
|
+
}> | null;
|
|
133
134
|
}>;
|
|
134
135
|
}>;
|
|
135
136
|
appBar: Array<{
|
|
136
137
|
__typename?: 'BaseMenu';
|
|
137
138
|
key: string;
|
|
138
139
|
uriPath: string;
|
|
139
|
-
featureToggle?: string | null
|
|
140
|
+
featureToggle?: string | null;
|
|
140
141
|
permissions: Array<string>;
|
|
141
142
|
labelAllLocales: Array<{
|
|
142
143
|
__typename?: 'LocalizedField';
|
|
@@ -1174,6 +1174,29 @@ export declare type TMutation_UpdateVariantPricesListViewArgs = {
|
|
|
1174
1174
|
export declare type TMutation_VerifyCustomApplicationsMaintainerContactEmailArgs = {
|
|
1175
1175
|
token: Scalars['String'];
|
|
1176
1176
|
};
|
|
1177
|
+
export declare type TMyCustomApplication = {
|
|
1178
|
+
__typename?: 'MyCustomApplication';
|
|
1179
|
+
createdAt: Scalars['DateTime'];
|
|
1180
|
+
description?: Maybe<Scalars['String']>;
|
|
1181
|
+
entryPointUriPath: Scalars['String'];
|
|
1182
|
+
icon: Scalars['String'];
|
|
1183
|
+
id: Scalars['ID'];
|
|
1184
|
+
mainMenuLink: TCustomApplicationMenuLink;
|
|
1185
|
+
name: Scalars['String'];
|
|
1186
|
+
organizationId: Scalars['String'];
|
|
1187
|
+
organizationName: Scalars['String'];
|
|
1188
|
+
permissions: Array<TCustomApplicationPermission>;
|
|
1189
|
+
status: TCustomApplicationStatus;
|
|
1190
|
+
submenuLinks: Array<TCustomApplicationSubmenuLink>;
|
|
1191
|
+
updatedAt: Scalars['DateTime'];
|
|
1192
|
+
url: Scalars['String'];
|
|
1193
|
+
};
|
|
1194
|
+
export declare type TMyCustomApplicationQueryInput = {
|
|
1195
|
+
where?: InputMaybe<TMyCustomApplicationQueryWhereInput>;
|
|
1196
|
+
};
|
|
1197
|
+
export declare type TMyCustomApplicationQueryWhereInput = {
|
|
1198
|
+
status?: InputMaybe<TCustomApplicationStatus>;
|
|
1199
|
+
};
|
|
1177
1200
|
export declare type TNavbarMenu = {
|
|
1178
1201
|
__typename?: 'NavbarMenu';
|
|
1179
1202
|
createdAt: Scalars['DateTime'];
|
|
@@ -1515,6 +1538,7 @@ export declare type TOrganizationExtensionForCustomApplication = {
|
|
|
1515
1538
|
application: TRestrictedCustomApplicationForOrganization;
|
|
1516
1539
|
id: Scalars['ID'];
|
|
1517
1540
|
organizationId: Scalars['String'];
|
|
1541
|
+
organizationName?: Maybe<Scalars['String']>;
|
|
1518
1542
|
};
|
|
1519
1543
|
export declare type TPimSearchListView = {
|
|
1520
1544
|
__typename?: 'PimSearchListView';
|
|
@@ -1652,6 +1676,7 @@ export declare type TQuery = {
|
|
|
1652
1676
|
discountCodesListView?: Maybe<TDiscountCodesListView>;
|
|
1653
1677
|
globalOrganizationExtension?: Maybe<TOrganizationExtension>;
|
|
1654
1678
|
legacyCustomApplication?: Maybe<TLegacyCustomApplication>;
|
|
1679
|
+
myCustomApplications: Array<TMyCustomApplication>;
|
|
1655
1680
|
ordersListView?: Maybe<TOrdersListView>;
|
|
1656
1681
|
ordersListViews: Array<Maybe<TOrdersListView>>;
|
|
1657
1682
|
organizationExtension?: Maybe<TOrganizationExtension>;
|
|
@@ -1705,6 +1730,9 @@ export declare type TQuery_GlobalOrganizationExtensionArgs = {
|
|
|
1705
1730
|
export declare type TQuery_LegacyCustomApplicationArgs = {
|
|
1706
1731
|
applicationId: Scalars['ID'];
|
|
1707
1732
|
};
|
|
1733
|
+
export declare type TQuery_MyCustomApplicationsArgs = {
|
|
1734
|
+
params?: InputMaybe<TMyCustomApplicationQueryInput>;
|
|
1735
|
+
};
|
|
1708
1736
|
export declare type TQuery_OrdersListViewArgs = {
|
|
1709
1737
|
id: Scalars['ID'];
|
|
1710
1738
|
};
|
|
@@ -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 };
|