@commercetools-frontend/application-shell-connectors 22.6.0 → 22.7.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/dist/commercetools-frontend-application-shell-connectors.cjs.dev.js +1 -1
- package/dist/commercetools-frontend-application-shell-connectors.cjs.prod.js +1 -1
- package/dist/commercetools-frontend-application-shell-connectors.esm.js +1 -1
- package/dist/declarations/src/types/generated/mc.d.ts +0 -83
- package/dist/declarations/src/types/generated/settings.d.ts +106 -0
- package/package.json +3 -3
|
@@ -46,7 +46,7 @@ var _valuesInstanceProperty__default = /*#__PURE__*/_interopDefault(_valuesInsta
|
|
|
46
46
|
var warning__default = /*#__PURE__*/_interopDefault(warning);
|
|
47
47
|
|
|
48
48
|
// NOTE: This string will be replaced on build time with the package version.
|
|
49
|
-
var version = "22.
|
|
49
|
+
var version = "22.7.0";
|
|
50
50
|
|
|
51
51
|
const mcHostnameRegex = /^mc(-(\d){4,})?\.(.*)$/;
|
|
52
52
|
const mcPreviewHostnameRegex = /^.*\.mc-preview\.(.*)$/;
|
|
@@ -44,7 +44,7 @@ var _Object$entries__default = /*#__PURE__*/_interopDefault(_Object$entries);
|
|
|
44
44
|
var _valuesInstanceProperty__default = /*#__PURE__*/_interopDefault(_valuesInstanceProperty);
|
|
45
45
|
|
|
46
46
|
// NOTE: This string will be replaced on build time with the package version.
|
|
47
|
-
var version = "22.
|
|
47
|
+
var version = "22.7.0";
|
|
48
48
|
|
|
49
49
|
const mcHostnameRegex = /^mc(-(\d){4,})?\.(.*)$/;
|
|
50
50
|
const mcPreviewHostnameRegex = /^.*\.mc-preview\.(.*)$/;
|
|
@@ -23,7 +23,7 @@ import warning from 'tiny-warning';
|
|
|
23
23
|
import { GRAPHQL_TARGETS } from '@commercetools-frontend/constants';
|
|
24
24
|
|
|
25
25
|
// NOTE: This string will be replaced on build time with the package version.
|
|
26
|
-
var version = "22.
|
|
26
|
+
var version = "22.7.0";
|
|
27
27
|
|
|
28
28
|
const mcHostnameRegex = /^mc(-(\d){4,})?\.(.*)$/;
|
|
29
29
|
const mcPreviewHostnameRegex = /^.*\.mc-preview\.(.*)$/;
|
|
@@ -262,89 +262,6 @@ export type TOrganizationTeamsCreated = {
|
|
|
262
262
|
id: Scalars['String'];
|
|
263
263
|
name: Scalars['String'];
|
|
264
264
|
};
|
|
265
|
-
export declare enum TPermissionScope {
|
|
266
|
-
CreateAnonymousToken = "create_anonymous_token",
|
|
267
|
-
GetPermissionForAnyProject = "get_permission_for_any_project",
|
|
268
|
-
IntrospectOauthTokens = "introspect_oauth_tokens",
|
|
269
|
-
ManageApiClients = "manage_api_clients",
|
|
270
|
-
ManageAssociateRoles = "manage_associate_roles",
|
|
271
|
-
ManageAttributeGroups = "manage_attribute_groups",
|
|
272
|
-
ManageAuditLog = "manage_audit_log",
|
|
273
|
-
ManageBusinessUnits = "manage_business_units",
|
|
274
|
-
ManageCartDiscounts = "manage_cart_discounts",
|
|
275
|
-
ManageCategories = "manage_categories",
|
|
276
|
-
ManageChangeHistory = "manage_change_history",
|
|
277
|
-
ManageConnectors = "manage_connectors",
|
|
278
|
-
ManageConnectorsDeployments = "manage_connectors_deployments",
|
|
279
|
-
ManageCustomerGroups = "manage_customer_groups",
|
|
280
|
-
ManageCustomers = "manage_customers",
|
|
281
|
-
ManageDiscountCodes = "manage_discount_codes",
|
|
282
|
-
ManageExtensions = "manage_extensions",
|
|
283
|
-
ManageGlobalSubscriptions = "manage_global_subscriptions",
|
|
284
|
-
ManageImportContainers = "manage_import_containers",
|
|
285
|
-
ManageImportSinks = "manage_import_sinks",
|
|
286
|
-
ManageKeyValueDocuments = "manage_key_value_documents",
|
|
287
|
-
ManageMyBusinessUnits = "manage_my_business_units",
|
|
288
|
-
ManageMyOrders = "manage_my_orders",
|
|
289
|
-
ManageMyPayments = "manage_my_payments",
|
|
290
|
-
ManageMyProfile = "manage_my_profile",
|
|
291
|
-
ManageMyQuoteRequests = "manage_my_quote_requests",
|
|
292
|
-
ManageMyQuotes = "manage_my_quotes",
|
|
293
|
-
ManageMyShoppingLists = "manage_my_shopping_lists",
|
|
294
|
-
ManageOrderEdits = "manage_order_edits",
|
|
295
|
-
ManageOrders = "manage_orders",
|
|
296
|
-
ManagePayments = "manage_payments",
|
|
297
|
-
ManageProductSelections = "manage_product_selections",
|
|
298
|
-
ManageProducts = "manage_products",
|
|
299
|
-
ManageProject = "manage_project",
|
|
300
|
-
ManageProjectSettings = "manage_project_settings",
|
|
301
|
-
ManageQuoteRequests = "manage_quote_requests",
|
|
302
|
-
ManageQuotes = "manage_quotes",
|
|
303
|
-
ManageShippingMethods = "manage_shipping_methods",
|
|
304
|
-
ManageShoppingLists = "manage_shopping_lists",
|
|
305
|
-
ManageStagedQuotes = "manage_staged_quotes",
|
|
306
|
-
ManageStandalonePrices = "manage_standalone_prices",
|
|
307
|
-
ManageStates = "manage_states",
|
|
308
|
-
ManageStores = "manage_stores",
|
|
309
|
-
ManageSubscriptions = "manage_subscriptions",
|
|
310
|
-
ManageTaxCategories = "manage_tax_categories",
|
|
311
|
-
ManageTypes = "manage_types",
|
|
312
|
-
ViewApiClients = "view_api_clients",
|
|
313
|
-
ViewAssociateRoles = "view_associate_roles",
|
|
314
|
-
ViewAttributeGroups = "view_attribute_groups",
|
|
315
|
-
ViewAuditLog = "view_audit_log",
|
|
316
|
-
ViewBusinessUnits = "view_business_units",
|
|
317
|
-
ViewCartDiscounts = "view_cart_discounts",
|
|
318
|
-
ViewCategories = "view_categories",
|
|
319
|
-
ViewChangeHistory = "view_change_history",
|
|
320
|
-
ViewConnectors = "view_connectors",
|
|
321
|
-
ViewConnectorsDeployments = "view_connectors_deployments",
|
|
322
|
-
ViewCustomerGroups = "view_customer_groups",
|
|
323
|
-
ViewCustomers = "view_customers",
|
|
324
|
-
ViewDiscountCodes = "view_discount_codes",
|
|
325
|
-
ViewImportContainers = "view_import_containers",
|
|
326
|
-
ViewImportSinks = "view_import_sinks",
|
|
327
|
-
ViewKeyValueDocuments = "view_key_value_documents",
|
|
328
|
-
ViewMessages = "view_messages",
|
|
329
|
-
ViewOrderEdits = "view_order_edits",
|
|
330
|
-
ViewOrders = "view_orders",
|
|
331
|
-
ViewPayments = "view_payments",
|
|
332
|
-
ViewProductSelections = "view_product_selections",
|
|
333
|
-
ViewProducts = "view_products",
|
|
334
|
-
ViewProjectSettings = "view_project_settings",
|
|
335
|
-
ViewProjects = "view_projects",
|
|
336
|
-
ViewPublishedProducts = "view_published_products",
|
|
337
|
-
ViewQuoteRequests = "view_quote_requests",
|
|
338
|
-
ViewQuotes = "view_quotes",
|
|
339
|
-
ViewShippingMethods = "view_shipping_methods",
|
|
340
|
-
ViewShoppingLists = "view_shopping_lists",
|
|
341
|
-
ViewStagedQuotes = "view_staged_quotes",
|
|
342
|
-
ViewStandalonePrices = "view_standalone_prices",
|
|
343
|
-
ViewStates = "view_states",
|
|
344
|
-
ViewStores = "view_stores",
|
|
345
|
-
ViewTaxCategories = "view_tax_categories",
|
|
346
|
-
ViewTypes = "view_types"
|
|
347
|
-
}
|
|
348
265
|
export type TProject = TMetaData & {
|
|
349
266
|
__typename?: 'Project';
|
|
350
267
|
allAppliedActionRights: Array<TAppliedActionRight>;
|
|
@@ -242,6 +242,87 @@ export type TCustomApplicationsPagedQueryResult = {
|
|
|
242
242
|
results: Array<TCustomApplication>;
|
|
243
243
|
total: Scalars['Int'];
|
|
244
244
|
};
|
|
245
|
+
export type TCustomView = {
|
|
246
|
+
__typename?: 'CustomView';
|
|
247
|
+
createdAt: Scalars['DateTime'];
|
|
248
|
+
defaultLabel: Scalars['String'];
|
|
249
|
+
description?: Maybe<Scalars['String']>;
|
|
250
|
+
id: Scalars['ID'];
|
|
251
|
+
installedBy: Array<TCustomViewInstallation>;
|
|
252
|
+
labelAllLocales: Scalars['Json'];
|
|
253
|
+
locators: Array<Scalars['String']>;
|
|
254
|
+
owner: TOrganizationExtension;
|
|
255
|
+
ownerId: Scalars['String'];
|
|
256
|
+
permissions: Array<TCustomViewPermission>;
|
|
257
|
+
status: TCustomViewStatus;
|
|
258
|
+
type: TCustomViewType;
|
|
259
|
+
typeSettings?: Maybe<TCustomViewTypeSettings>;
|
|
260
|
+
updatedAt: Scalars['DateTime'];
|
|
261
|
+
url: Scalars['String'];
|
|
262
|
+
};
|
|
263
|
+
export type TCustomViewDraftDataInput = {
|
|
264
|
+
defaultLabel: Scalars['String'];
|
|
265
|
+
description?: InputMaybe<Scalars['String']>;
|
|
266
|
+
labelAllLocales: Scalars['Json'];
|
|
267
|
+
locators: Array<Scalars['String']>;
|
|
268
|
+
permissions: Array<TCustomViewPermissionDataInput>;
|
|
269
|
+
type: TCustomViewType;
|
|
270
|
+
typeSettings?: InputMaybe<TCustomViewTypeSettingsInput>;
|
|
271
|
+
url: Scalars['String'];
|
|
272
|
+
};
|
|
273
|
+
export type TCustomViewInstallation = {
|
|
274
|
+
__typename?: 'CustomViewInstallation';
|
|
275
|
+
acceptedPermissions: Array<TCustomViewInstallationPermission>;
|
|
276
|
+
createdAt: Scalars['DateTime'];
|
|
277
|
+
customView: TCustomView;
|
|
278
|
+
customViewId: Scalars['String'];
|
|
279
|
+
id: Scalars['ID'];
|
|
280
|
+
installInAllProjects: Scalars['Boolean'];
|
|
281
|
+
owner: TOrganizationExtension;
|
|
282
|
+
ownerId: Scalars['String'];
|
|
283
|
+
projects: Array<TProjectExtension>;
|
|
284
|
+
updatedAt: Scalars['DateTime'];
|
|
285
|
+
};
|
|
286
|
+
export type TCustomViewInstallationPermission = {
|
|
287
|
+
__typename?: 'CustomViewInstallationPermission';
|
|
288
|
+
createdAt: Scalars['DateTime'];
|
|
289
|
+
id: Scalars['ID'];
|
|
290
|
+
installedCustomView: TCustomViewInstallation;
|
|
291
|
+
installedCustomViewId: Scalars['String'];
|
|
292
|
+
name: Scalars['String'];
|
|
293
|
+
oAuthScopes: Array<Scalars['String']>;
|
|
294
|
+
updatedAt: Scalars['DateTime'];
|
|
295
|
+
};
|
|
296
|
+
export type TCustomViewPermission = {
|
|
297
|
+
__typename?: 'CustomViewPermission';
|
|
298
|
+
createdAt: Scalars['DateTime'];
|
|
299
|
+
id: Scalars['ID'];
|
|
300
|
+
name: Scalars['String'];
|
|
301
|
+
oAuthScopes: Array<Scalars['String']>;
|
|
302
|
+
updatedAt: Scalars['DateTime'];
|
|
303
|
+
};
|
|
304
|
+
export type TCustomViewPermissionDataInput = {
|
|
305
|
+
name: Scalars['String'];
|
|
306
|
+
oAuthScopes: Array<Scalars['String']>;
|
|
307
|
+
};
|
|
308
|
+
export declare enum TCustomViewSize {
|
|
309
|
+
Large = "LARGE",
|
|
310
|
+
Small = "SMALL"
|
|
311
|
+
}
|
|
312
|
+
export declare enum TCustomViewStatus {
|
|
313
|
+
Draft = "DRAFT",
|
|
314
|
+
PrivateUsage = "PRIVATE_USAGE"
|
|
315
|
+
}
|
|
316
|
+
export declare enum TCustomViewType {
|
|
317
|
+
CustomPanel = "CustomPanel"
|
|
318
|
+
}
|
|
319
|
+
export type TCustomViewTypeSettings = {
|
|
320
|
+
__typename?: 'CustomViewTypeSettings';
|
|
321
|
+
size?: Maybe<TCustomViewSize>;
|
|
322
|
+
};
|
|
323
|
+
export type TCustomViewTypeSettingsInput = {
|
|
324
|
+
size?: InputMaybe<TCustomViewSize>;
|
|
325
|
+
};
|
|
245
326
|
export type TCustomersListView = {
|
|
246
327
|
__typename?: 'CustomersListView';
|
|
247
328
|
createdAt: Scalars['DateTime'];
|
|
@@ -469,9 +550,11 @@ export type TMutation = {
|
|
|
469
550
|
activateProductDiscountsCustomView?: Maybe<TDiscountsCustomView>;
|
|
470
551
|
activateProductTypeAttributesView?: Maybe<TProductTypeAttributesView>;
|
|
471
552
|
changeCustomApplicationStatus?: Maybe<TRestrictedCustomApplicationForOrganization>;
|
|
553
|
+
changeCustomViewStatus?: Maybe<TCustomView>;
|
|
472
554
|
createCartDiscountsCustomView: TDiscountsCustomView;
|
|
473
555
|
createCustomApplication?: Maybe<TRestrictedCustomApplicationForOrganization>;
|
|
474
556
|
createCustomApplicationDeploymentPreview: TCustomApplicationDeploymentPreview;
|
|
557
|
+
createCustomView?: Maybe<TCustomView>;
|
|
475
558
|
createCustomersListView: TCustomersListView;
|
|
476
559
|
createDashboardView: TDashboardView;
|
|
477
560
|
createDiscountCodesCustomView: TDiscountsCustomView;
|
|
@@ -516,6 +599,7 @@ export type TMutation = {
|
|
|
516
599
|
updateCustomApplication?: Maybe<TRestrictedCustomApplicationForOrganization>;
|
|
517
600
|
updateCustomApplicationDeploymentPreview: TCustomApplicationDeploymentPreview;
|
|
518
601
|
updateCustomApplicationProjectsInstallation?: Maybe<TRestrictedCustomApplicationInstallationForOrganization>;
|
|
602
|
+
updateCustomView?: Maybe<TCustomView>;
|
|
519
603
|
updateCustomersListView?: Maybe<TCustomersListView>;
|
|
520
604
|
updateDashboardView?: Maybe<TDashboardView>;
|
|
521
605
|
updateDiscountCodesCustomView?: Maybe<TDiscountsCustomView>;
|
|
@@ -561,6 +645,11 @@ export type TMutation_ChangeCustomApplicationStatusArgs = {
|
|
|
561
645
|
organizationId: Scalars['String'];
|
|
562
646
|
status: TCustomApplicationStatus;
|
|
563
647
|
};
|
|
648
|
+
export type TMutation_ChangeCustomViewStatusArgs = {
|
|
649
|
+
customViewId: Scalars['ID'];
|
|
650
|
+
organizationId: Scalars['String'];
|
|
651
|
+
status: TCustomViewStatus;
|
|
652
|
+
};
|
|
564
653
|
export type TMutation_CreateCartDiscountsCustomViewArgs = {
|
|
565
654
|
data: TDiscountsCustomViewInput;
|
|
566
655
|
};
|
|
@@ -573,6 +662,10 @@ export type TMutation_CreateCustomApplicationDeploymentPreviewArgs = {
|
|
|
573
662
|
data: TCustomApplicationDeploymentPreviewCreateInput;
|
|
574
663
|
organizationId: Scalars['String'];
|
|
575
664
|
};
|
|
665
|
+
export type TMutation_CreateCustomViewArgs = {
|
|
666
|
+
data: TCustomViewDraftDataInput;
|
|
667
|
+
organizationId: Scalars['String'];
|
|
668
|
+
};
|
|
576
669
|
export type TMutation_CreateCustomersListViewArgs = {
|
|
577
670
|
data: TCustomersListViewInput;
|
|
578
671
|
};
|
|
@@ -713,6 +806,11 @@ export type TMutation_UpdateCustomApplicationProjectsInstallationArgs = {
|
|
|
713
806
|
organizationId: Scalars['String'];
|
|
714
807
|
projectKeys?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
|
|
715
808
|
};
|
|
809
|
+
export type TMutation_UpdateCustomViewArgs = {
|
|
810
|
+
customViewId: Scalars['String'];
|
|
811
|
+
data: TCustomViewDraftDataInput;
|
|
812
|
+
organizationId: Scalars['String'];
|
|
813
|
+
};
|
|
716
814
|
export type TMutation_UpdateCustomersListViewArgs = {
|
|
717
815
|
data: TCustomersListViewInput;
|
|
718
816
|
id: Scalars['ID'];
|
|
@@ -1013,6 +1111,7 @@ export type TQuery = {
|
|
|
1013
1111
|
activeProductTypeAttributesView?: Maybe<TProductTypeAttributesView>;
|
|
1014
1112
|
allAppliedCustomApplicationPermissions: Array<TCustomApplicationInstallationPermission>;
|
|
1015
1113
|
allCustomApplications: TCustomApplicationsPagedQueryResult;
|
|
1114
|
+
allCustomViewsByOrganization: Array<Maybe<TCustomView>>;
|
|
1016
1115
|
allFeatures: Array<TFeature>;
|
|
1017
1116
|
allOrganizationExtensions: Array<TOrganizationExtension>;
|
|
1018
1117
|
allProjectExtensions: Array<TProjectExtension>;
|
|
@@ -1020,6 +1119,7 @@ export type TQuery = {
|
|
|
1020
1119
|
cartDiscountsCustomView?: Maybe<TDiscountsCustomView>;
|
|
1021
1120
|
cartDiscountsCustomViews: Array<Maybe<TDiscountsCustomView>>;
|
|
1022
1121
|
customApplication?: Maybe<TCustomApplication>;
|
|
1122
|
+
customView?: Maybe<TCustomView>;
|
|
1023
1123
|
customersListView?: Maybe<TCustomersListView>;
|
|
1024
1124
|
customersListViews: Array<Maybe<TCustomersListView>>;
|
|
1025
1125
|
dashboardView?: Maybe<TDashboardView>;
|
|
@@ -1054,6 +1154,9 @@ export type TQuery_AllAppliedCustomApplicationPermissionsArgs = {
|
|
|
1054
1154
|
export type TQuery_AllCustomApplicationsArgs = {
|
|
1055
1155
|
params?: InputMaybe<TCustomApplicationQueryInput>;
|
|
1056
1156
|
};
|
|
1157
|
+
export type TQuery_AllCustomViewsByOrganizationArgs = {
|
|
1158
|
+
organizationId: Scalars['ID'];
|
|
1159
|
+
};
|
|
1057
1160
|
export type TQuery_AllFeaturesArgs = {
|
|
1058
1161
|
params?: InputMaybe<TFeatureQueryInput>;
|
|
1059
1162
|
};
|
|
@@ -1069,6 +1172,9 @@ export type TQuery_CartDiscountsCustomViewArgs = {
|
|
|
1069
1172
|
export type TQuery_CustomApplicationArgs = {
|
|
1070
1173
|
applicationId: Scalars['ID'];
|
|
1071
1174
|
};
|
|
1175
|
+
export type TQuery_CustomViewArgs = {
|
|
1176
|
+
customViewId: Scalars['ID'];
|
|
1177
|
+
};
|
|
1072
1178
|
export type TQuery_CustomersListViewArgs = {
|
|
1073
1179
|
id: Scalars['ID'];
|
|
1074
1180
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/application-shell-connectors",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.7.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,8 +37,8 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@babel/runtime": "^7.20.13",
|
|
39
39
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
40
|
-
"@commercetools-frontend/constants": "22.
|
|
41
|
-
"@commercetools-frontend/sentry": "22.
|
|
40
|
+
"@commercetools-frontend/constants": "22.7.0",
|
|
41
|
+
"@commercetools-frontend/sentry": "22.7.0",
|
|
42
42
|
"@emotion/react": "11.11.0",
|
|
43
43
|
"@types/lodash": "^4.14.191",
|
|
44
44
|
"@types/prop-types": "^15.7.5",
|