@vendure/admin-ui 1.7.4 → 1.8.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.
- package/bundles/vendure-admin-ui-catalog.umd.js +902 -74
- package/bundles/vendure-admin-ui-catalog.umd.js.map +1 -1
- package/bundles/vendure-admin-ui-core.umd.js +2392 -820
- package/bundles/vendure-admin-ui-core.umd.js.map +1 -1
- package/bundles/vendure-admin-ui-customer.umd.js +4 -3
- package/bundles/vendure-admin-ui-customer.umd.js.map +1 -1
- package/bundles/vendure-admin-ui-dashboard.umd.js +3 -1
- package/bundles/vendure-admin-ui-dashboard.umd.js.map +1 -1
- package/bundles/vendure-admin-ui-order.umd.js +781 -175
- package/bundles/vendure-admin-ui-order.umd.js.map +1 -1
- package/bundles/vendure-admin-ui-settings.umd.js +5 -4
- package/bundles/vendure-admin-ui-settings.umd.js.map +1 -1
- package/bundles/vendure-admin-ui-system.umd.js +1 -1
- package/catalog/catalog.module.d.ts +3 -0
- package/catalog/components/assign-to-channel-dialog/assign-to-channel-dialog.component.d.ts +17 -0
- package/catalog/components/bulk-add-facet-values-dialog/bulk-add-facet-values-dialog.component.d.ts +38 -0
- package/catalog/components/bulk-add-facet-values-dialog/bulk-add-facet-values-dialog.graphql.d.ts +4 -0
- package/catalog/components/collection-list/collection-list-bulk-actions.d.ts +6 -0
- package/catalog/components/collection-list/collection-list.component.d.ts +7 -5
- package/catalog/components/collection-tree/collection-tree-node.component.d.ts +8 -4
- package/catalog/components/collection-tree/collection-tree.component.d.ts +2 -1
- package/catalog/components/facet-list/facet-list-bulk-actions.d.ts +5 -0
- package/catalog/components/facet-list/facet-list.component.d.ts +2 -1
- package/catalog/components/product-list/product-list-bulk-actions.d.ts +6 -0
- package/catalog/components/product-list/product-list.component.d.ts +2 -1
- package/catalog/public_api.d.ts +6 -0
- package/catalog/vendure-admin-ui-catalog.metadata.json +1 -1
- package/core/common/component-registry-types.d.ts +1 -1
- package/core/common/generated-types.d.ts +609 -3
- package/core/common/utilities/bulk-action-utils.d.ts +19 -0
- package/core/common/utilities/selection-manager.d.ts +7 -0
- package/core/common/version.d.ts +1 -1
- package/core/data/definitions/collection-definitions.d.ts +3 -0
- package/core/data/definitions/facet-definitions.d.ts +3 -0
- package/core/data/definitions/order-definitions.d.ts +12 -0
- package/core/data/definitions/product-definitions.d.ts +1 -0
- package/core/data/providers/collection-data.service.d.ts +4 -1
- package/core/data/providers/facet-data.service.d.ts +4 -1
- package/core/data/providers/order-data.service.d.ts +18 -1
- package/core/data/providers/product-data.service.d.ts +1 -0
- package/core/providers/bulk-action-registry/bulk-action-registry.service.d.ts +6 -0
- package/core/providers/bulk-action-registry/bulk-action-types.d.ts +149 -0
- package/core/providers/bulk-action-registry/register-bulk-action.d.ts +53 -0
- package/core/providers/modal/modal.service.d.ts +2 -0
- package/core/providers/nav-builder/nav-builder-types.d.ts +1 -0
- package/core/public_api.d.ts +18 -1
- package/core/shared/components/asset-gallery/asset-gallery.component.d.ts +3 -3
- package/core/shared/components/bulk-action-menu/bulk-action-menu.component.d.ts +29 -0
- package/core/shared/components/data-table/data-table.component.d.ts +26 -7
- package/core/shared/components/dropdown/dropdown-menu.component.d.ts +1 -0
- package/core/shared/components/radio-card/radio-card-fieldset.component.d.ts +21 -0
- package/core/shared/components/radio-card/radio-card.component.d.ts +19 -0
- package/core/shared/components/rich-text-editor/prosemirror/context-menu/context-menu.component.d.ts +28 -0
- package/core/shared/components/rich-text-editor/prosemirror/context-menu/context-menu.service.d.ts +31 -0
- package/core/shared/components/rich-text-editor/prosemirror/custom-nodes.d.ts +4 -0
- package/core/shared/components/rich-text-editor/prosemirror/inputrules.d.ts +5 -5
- package/core/shared/components/rich-text-editor/prosemirror/menu/links.d.ts +1 -1
- package/core/shared/components/rich-text-editor/prosemirror/menu/menu-common.d.ts +12 -0
- package/core/shared/components/rich-text-editor/prosemirror/menu/menu-plugin.d.ts +9 -0
- package/core/shared/components/rich-text-editor/prosemirror/menu/sub-menu-with-icon.d.ts +14 -0
- package/core/shared/components/rich-text-editor/prosemirror/plugins/image-plugin.d.ts +7 -0
- package/core/shared/components/rich-text-editor/prosemirror/plugins/link-select-plugin.d.ts +1 -1
- package/core/shared/components/rich-text-editor/prosemirror/plugins/raw-editor-plugin.d.ts +7 -0
- package/core/shared/components/rich-text-editor/prosemirror/plugins/tables-plugin.d.ts +13 -0
- package/core/shared/components/rich-text-editor/prosemirror/prosemirror.service.d.ts +7 -3
- package/core/shared/components/rich-text-editor/prosemirror/types.d.ts +0 -2
- package/core/shared/components/rich-text-editor/raw-html-dialog/raw-html-dialog.component.d.ts +18 -0
- package/core/shared/components/rich-text-editor/rich-text-editor.component.d.ts +6 -2
- package/core/shared/dynamic-form-inputs/code-editor-form-input/base-code-editor-form-input.component.d.ts +27 -0
- package/core/shared/dynamic-form-inputs/code-editor-form-input/html-editor-form-input.component.d.ts +19 -0
- package/core/shared/dynamic-form-inputs/code-editor-form-input/json-editor-form-input.component.d.ts +5 -17
- package/core/shared/dynamic-form-inputs/register-dynamic-input-components.d.ts +2 -1
- package/core/vendure-admin-ui-core.metadata.json +1 -1
- package/customer/components/customer-group-member-list/customer-group-member-list.component.d.ts +11 -4
- package/customer/vendure-admin-ui-customer.metadata.json +1 -1
- package/esm2015/catalog/catalog.module.js +25 -2
- package/esm2015/catalog/components/assign-products-to-channel-dialog/assign-products-to-channel-dialog.component.js +4 -1
- package/esm2015/catalog/components/assign-to-channel-dialog/assign-to-channel-dialog.component.js +51 -0
- package/esm2015/catalog/components/bulk-add-facet-values-dialog/bulk-add-facet-values-dialog.component.js +89 -0
- package/esm2015/catalog/components/bulk-add-facet-values-dialog/bulk-add-facet-values-dialog.graphql.js +69 -0
- package/esm2015/catalog/components/collection-detail/collection-detail.component.js +3 -3
- package/esm2015/catalog/components/collection-list/collection-list-bulk-actions.js +147 -0
- package/esm2015/catalog/components/collection-list/collection-list.component.js +17 -8
- package/esm2015/catalog/components/collection-tree/collection-tree-node.component.js +16 -7
- package/esm2015/catalog/components/collection-tree/collection-tree.component.js +3 -2
- package/esm2015/catalog/components/facet-list/facet-list-bulk-actions.js +208 -0
- package/esm2015/catalog/components/facet-list/facet-list.component.js +13 -4
- package/esm2015/catalog/components/product-detail/product-detail.component.js +35 -23
- package/esm2015/catalog/components/product-list/product-list-bulk-actions.js +173 -0
- package/esm2015/catalog/components/product-list/product-list.component.js +10 -5
- package/esm2015/catalog/components/product-variants-list/product-variants-list.component.js +2 -2
- package/esm2015/catalog/providers/routing/collection-resolver.js +2 -1
- package/esm2015/catalog/public_api.js +7 -1
- package/esm2015/core/common/component-registry-types.js +1 -1
- package/esm2015/core/common/generated-types.js +5 -1
- package/esm2015/core/common/introspection-result.js +296 -191
- package/esm2015/core/common/utilities/bulk-action-utils.js +44 -0
- package/esm2015/core/common/utilities/selection-manager.js +33 -1
- package/esm2015/core/common/version.js +2 -2
- package/esm2015/core/components/breadcrumb/breadcrumb.component.js +1 -1
- package/esm2015/core/data/definitions/collection-definitions.js +30 -1
- package/esm2015/core/data/definitions/facet-definitions.js +31 -1
- package/esm2015/core/data/definitions/order-definitions.js +114 -1
- package/esm2015/core/data/definitions/product-definitions.js +15 -1
- package/esm2015/core/data/providers/collection-data.service.js +17 -2
- package/esm2015/core/data/providers/customer-data.service.js +8 -4
- package/esm2015/core/data/providers/facet-data.service.js +18 -2
- package/esm2015/core/data/providers/order-data.service.js +38 -2
- package/esm2015/core/data/providers/product-data.service.js +7 -2
- package/esm2015/core/data/utils/remove-readonly-custom-fields.js +5 -1
- package/esm2015/core/providers/bulk-action-registry/bulk-action-registry.service.js +27 -0
- package/esm2015/core/providers/bulk-action-registry/bulk-action-types.js +2 -0
- package/esm2015/core/providers/bulk-action-registry/register-bulk-action.js +63 -0
- package/esm2015/core/providers/dashboard-widget/dashboard-widget.service.js +1 -4
- package/esm2015/core/providers/modal/modal.service.js +2 -1
- package/esm2015/core/providers/nav-builder/nav-builder-types.js +1 -1
- package/esm2015/core/public_api.js +19 -2
- package/esm2015/core/shared/components/action-bar/action-bar.component.js +4 -8
- package/esm2015/core/shared/components/asset-gallery/asset-gallery.component.js +2 -2
- package/esm2015/core/shared/components/bulk-action-menu/bulk-action-menu.component.js +99 -0
- package/esm2015/core/shared/components/data-table/data-table.component.js +64 -15
- package/esm2015/core/shared/components/dropdown/dropdown-menu.component.js +4 -3
- package/esm2015/core/shared/components/facet-value-selector/facet-value-selector.component.js +2 -2
- package/esm2015/core/shared/components/language-selector/language-selector.component.js +2 -2
- package/esm2015/core/shared/components/order-state-label/order-state-label.component.js +2 -1
- package/esm2015/core/shared/components/product-search-input/product-search-input.component.js +1 -1
- package/esm2015/core/shared/components/product-selector/product-selector.component.js +1 -1
- package/esm2015/core/shared/components/radio-card/radio-card-fieldset.component.js +57 -0
- package/esm2015/core/shared/components/radio-card/radio-card.component.js +54 -0
- package/esm2015/core/shared/components/rich-text-editor/external-image-dialog/external-image-dialog.component.js +2 -2
- package/esm2015/core/shared/components/rich-text-editor/prosemirror/context-menu/context-menu.component.js +140 -0
- package/esm2015/core/shared/components/rich-text-editor/prosemirror/context-menu/context-menu.service.js +45 -0
- package/esm2015/core/shared/components/rich-text-editor/prosemirror/custom-nodes.js +60 -0
- package/esm2015/core/shared/components/rich-text-editor/prosemirror/menu/links.js +4 -4
- package/esm2015/core/shared/components/rich-text-editor/prosemirror/menu/menu-common.js +23 -1
- package/esm2015/core/shared/components/rich-text-editor/prosemirror/menu/menu-plugin.js +12 -0
- package/esm2015/core/shared/components/rich-text-editor/prosemirror/menu/menu.js +73 -18
- package/esm2015/core/shared/components/rich-text-editor/prosemirror/menu/sub-menu-with-icon.js +16 -0
- package/esm2015/core/shared/components/rich-text-editor/prosemirror/plugins/image-plugin.js +100 -0
- package/esm2015/core/shared/components/rich-text-editor/prosemirror/plugins/raw-editor-plugin.js +97 -0
- package/esm2015/core/shared/components/rich-text-editor/prosemirror/plugins/tables-plugin.js +166 -0
- package/esm2015/core/shared/components/rich-text-editor/prosemirror/prosemirror.service.js +47 -17
- package/esm2015/core/shared/components/rich-text-editor/prosemirror/types.js +1 -1
- package/esm2015/core/shared/components/rich-text-editor/raw-html-dialog/raw-html-dialog.component.js +57 -0
- package/esm2015/core/shared/components/rich-text-editor/rich-text-editor.component.js +20 -9
- package/esm2015/core/shared/components/simple-dialog/simple-dialog.component.js +2 -2
- package/esm2015/core/shared/dynamic-form-inputs/code-editor-form-input/base-code-editor-form-input.component.js +59 -0
- package/esm2015/core/shared/dynamic-form-inputs/code-editor-form-input/html-editor-form-input.component.js +66 -0
- package/esm2015/core/shared/dynamic-form-inputs/code-editor-form-input/json-editor-form-input.component.js +47 -84
- package/esm2015/core/shared/dynamic-form-inputs/dynamic-form-input/dynamic-form-input.component.js +3 -3
- package/esm2015/core/shared/dynamic-form-inputs/register-dynamic-input-components.js +3 -1
- package/esm2015/core/shared/pipes/state-i18n-token.pipe.js +2 -1
- package/esm2015/core/shared/shared.module.js +13 -1
- package/esm2015/customer/components/customer-group-list/customer-group-list.component.js +2 -2
- package/esm2015/customer/components/customer-group-member-list/customer-group-member-list.component.js +6 -6
- package/esm2015/customer/components/customer-list/customer-list.component.js +2 -2
- package/esm2015/dashboard/dashboard.module.js +6 -2
- package/esm2015/order/components/coupon-code-selector/coupon-code-selector.component.js +42 -0
- package/esm2015/order/components/draft-order-detail/draft-order-detail.component.js +195 -0
- package/esm2015/order/components/draft-order-variant-selector/draft-order-variant-selector.component.js +59 -0
- package/esm2015/order/components/order-detail/order-detail.component.js +2 -2
- package/esm2015/order/components/order-editor/order-editor.component.js +5 -11
- package/esm2015/order/components/order-list/order-list.component.js +20 -4
- package/esm2015/order/components/order-table/order-table.component.js +16 -5
- package/esm2015/order/components/select-address-dialog/select-address-dialog.component.js +91 -0
- package/esm2015/order/components/select-address-dialog/select-address-dialog.graphql.js +14 -0
- package/esm2015/order/components/select-customer-dialog/select-customer-dialog.component.js +59 -0
- package/esm2015/order/components/select-shipping-method-dialog/select-shipping-method-dialog.component.js +30 -0
- package/esm2015/order/order.module.js +13 -1
- package/esm2015/order/order.routes.js +26 -7
- package/esm2015/order/providers/routing/order-resolver.js +29 -12
- package/esm2015/order/providers/routing/order.guard.js +41 -0
- package/esm2015/order/public_api.js +9 -1
- package/esm2015/settings/components/country-list/country-list.component.js +2 -2
- package/esm2015/settings/components/profile/profile.component.js +2 -2
- package/esm2015/settings/components/zone-list/zone-list.component.js +2 -2
- package/esm2015/settings/components/zone-member-list/zone-member-list.component.js +2 -2
- package/esm2015/system/components/health-check/health-check.component.js +1 -1
- package/fesm2015/vendure-admin-ui-catalog.js +835 -61
- package/fesm2015/vendure-admin-ui-catalog.js.map +1 -1
- package/fesm2015/vendure-admin-ui-core.js +3122 -1514
- package/fesm2015/vendure-admin-ui-core.js.map +1 -1
- package/fesm2015/vendure-admin-ui-customer.js +7 -7
- package/fesm2015/vendure-admin-ui-customer.js.map +1 -1
- package/fesm2015/vendure-admin-ui-dashboard.js +5 -1
- package/fesm2015/vendure-admin-ui-dashboard.js.map +1 -1
- package/fesm2015/vendure-admin-ui-order.js +780 -232
- package/fesm2015/vendure-admin-ui-order.js.map +1 -1
- package/fesm2015/vendure-admin-ui-settings.js +4 -4
- package/fesm2015/vendure-admin-ui-settings.js.map +1 -1
- package/fesm2015/vendure-admin-ui-system.js +1 -1
- package/order/components/coupon-code-selector/coupon-code-selector.component.d.ts +18 -0
- package/order/components/draft-order-detail/draft-order-detail.component.d.ts +49 -0
- package/order/components/draft-order-variant-selector/draft-order-variant-selector.component.d.ts +21 -0
- package/order/components/order-editor/order-editor.component.d.ts +1 -6
- package/order/components/order-list/order-list.component.d.ts +1 -0
- package/order/components/order-table/order-table.component.d.ts +11 -2
- package/order/components/select-address-dialog/select-address-dialog.component.d.ts +24 -0
- package/order/components/select-address-dialog/select-address-dialog.graphql.d.ts +1 -0
- package/order/components/select-customer-dialog/select-customer-dialog.component.d.ts +22 -0
- package/order/components/select-shipping-method-dialog/select-shipping-method-dialog.component.d.ts +16 -0
- package/order/providers/routing/order-resolver.d.ts +8 -5
- package/order/providers/routing/order.guard.d.ts +9 -0
- package/order/public_api.d.ts +8 -0
- package/order/vendure-admin-ui-order.metadata.json +1 -1
- package/package.json +13 -12
- package/settings/components/zone-member-list/zone-member-list.component.d.ts +3 -1
- package/settings/vendure-admin-ui-settings.metadata.json +1 -1
- package/static/i18n-messages/cs.json +33 -0
- package/static/i18n-messages/de.json +33 -0
- package/static/i18n-messages/en.json +36 -4
- package/static/i18n-messages/es.json +33 -0
- package/static/i18n-messages/fr.json +33 -0
- package/static/i18n-messages/it.json +33 -0
- package/static/i18n-messages/pl.json +33 -0
- package/static/i18n-messages/pt_BR.json +33 -0
- package/static/i18n-messages/pt_PT.json +33 -0
- package/static/i18n-messages/ru.json +33 -0
- package/static/i18n-messages/uk.json +33 -0
- package/static/i18n-messages/zh_Hans.json +33 -0
- package/static/i18n-messages/zh_Hant.json +33 -0
- package/static/styles/global/_forms.scss +4 -2
- package/static/styles/global/_overrides.scss +1 -1
- package/static/styles/global/_utilities.scss +4 -0
- package/static/theme.min.css +1 -1
- package/system/vendure-admin-ui-system.metadata.json +1 -1
- package/core/shared/components/rich-text-editor/prosemirror/menu/images.d.ts +0 -4
- package/esm2015/core/shared/components/rich-text-editor/prosemirror/menu/images.js +0 -36
|
@@ -29,6 +29,10 @@ export declare type AddItemInput = {
|
|
|
29
29
|
productVariantId: Scalars['ID'];
|
|
30
30
|
quantity: Scalars['Int'];
|
|
31
31
|
};
|
|
32
|
+
export declare type AddItemToDraftOrderInput = {
|
|
33
|
+
productVariantId: Scalars['ID'];
|
|
34
|
+
quantity: Scalars['Int'];
|
|
35
|
+
};
|
|
32
36
|
export declare type AddManualPaymentToOrderResult = Order | ManualPaymentStateError;
|
|
33
37
|
export declare type AddNoteToCustomerInput = {
|
|
34
38
|
id: Scalars['ID'];
|
|
@@ -58,6 +62,10 @@ export declare type Address = Node & {
|
|
|
58
62
|
defaultBillingAddress?: Maybe<Scalars['Boolean']>;
|
|
59
63
|
customFields?: Maybe<Scalars['JSON']>;
|
|
60
64
|
};
|
|
65
|
+
export declare type AdjustDraftOrderLineInput = {
|
|
66
|
+
orderLineId: Scalars['ID'];
|
|
67
|
+
quantity: Scalars['Int'];
|
|
68
|
+
};
|
|
61
69
|
export declare type AdjustOrderLineInput = {
|
|
62
70
|
orderLineId: Scalars['ID'];
|
|
63
71
|
quantity: Scalars['Int'];
|
|
@@ -143,6 +151,7 @@ export declare type AlreadyRefundedError = ErrorResult & {
|
|
|
143
151
|
message: Scalars['String'];
|
|
144
152
|
refundId: Scalars['ID'];
|
|
145
153
|
};
|
|
154
|
+
export declare type ApplyCouponCodeResult = Order | CouponCodeExpiredError | CouponCodeInvalidError | CouponCodeLimitError;
|
|
146
155
|
export declare type Asset = Node & {
|
|
147
156
|
__typename?: 'Asset';
|
|
148
157
|
tags: Array<Tag>;
|
|
@@ -213,6 +222,14 @@ export declare type AssignAssetsToChannelInput = {
|
|
|
213
222
|
assetIds: Array<Scalars['ID']>;
|
|
214
223
|
channelId: Scalars['ID'];
|
|
215
224
|
};
|
|
225
|
+
export declare type AssignCollectionsToChannelInput = {
|
|
226
|
+
collectionIds: Array<Scalars['ID']>;
|
|
227
|
+
channelId: Scalars['ID'];
|
|
228
|
+
};
|
|
229
|
+
export declare type AssignFacetsToChannelInput = {
|
|
230
|
+
facetIds: Array<Scalars['ID']>;
|
|
231
|
+
channelId: Scalars['ID'];
|
|
232
|
+
};
|
|
216
233
|
export declare type AssignProductVariantsToChannelInput = {
|
|
217
234
|
productVariantIds: Array<Scalars['ID']>;
|
|
218
235
|
channelId: Scalars['ID'];
|
|
@@ -1293,6 +1310,7 @@ export declare enum ErrorCode {
|
|
|
1293
1310
|
UNKNOWN_ERROR = "UNKNOWN_ERROR",
|
|
1294
1311
|
MIME_TYPE_ERROR = "MIME_TYPE_ERROR",
|
|
1295
1312
|
LANGUAGE_NOT_AVAILABLE_ERROR = "LANGUAGE_NOT_AVAILABLE_ERROR",
|
|
1313
|
+
FACET_IN_USE_ERROR = "FACET_IN_USE_ERROR",
|
|
1296
1314
|
CHANNEL_DEFAULT_LANGUAGE_ERROR = "CHANNEL_DEFAULT_LANGUAGE_ERROR",
|
|
1297
1315
|
SETTLE_PAYMENT_ERROR = "SETTLE_PAYMENT_ERROR",
|
|
1298
1316
|
CANCEL_PAYMENT_ERROR = "CANCEL_PAYMENT_ERROR",
|
|
@@ -1327,7 +1345,10 @@ export declare enum ErrorCode {
|
|
|
1327
1345
|
INSUFFICIENT_STOCK_ERROR = "INSUFFICIENT_STOCK_ERROR",
|
|
1328
1346
|
COUPON_CODE_INVALID_ERROR = "COUPON_CODE_INVALID_ERROR",
|
|
1329
1347
|
COUPON_CODE_EXPIRED_ERROR = "COUPON_CODE_EXPIRED_ERROR",
|
|
1330
|
-
COUPON_CODE_LIMIT_ERROR = "COUPON_CODE_LIMIT_ERROR"
|
|
1348
|
+
COUPON_CODE_LIMIT_ERROR = "COUPON_CODE_LIMIT_ERROR",
|
|
1349
|
+
ORDER_MODIFICATION_ERROR = "ORDER_MODIFICATION_ERROR",
|
|
1350
|
+
INELIGIBLE_SHIPPING_METHOD_ERROR = "INELIGIBLE_SHIPPING_METHOD_ERROR",
|
|
1351
|
+
NO_ACTIVE_ORDER_ERROR = "NO_ACTIVE_ORDER_ERROR"
|
|
1331
1352
|
}
|
|
1332
1353
|
export declare type ErrorResult = {
|
|
1333
1354
|
errorCode: ErrorCode;
|
|
@@ -1355,6 +1376,14 @@ export declare type FacetFilterParameter = {
|
|
|
1355
1376
|
name?: Maybe<StringOperators>;
|
|
1356
1377
|
code?: Maybe<StringOperators>;
|
|
1357
1378
|
};
|
|
1379
|
+
export declare type FacetInUseError = ErrorResult & {
|
|
1380
|
+
__typename?: 'FacetInUseError';
|
|
1381
|
+
errorCode: ErrorCode;
|
|
1382
|
+
message: Scalars['String'];
|
|
1383
|
+
facetCode: Scalars['String'];
|
|
1384
|
+
productCount: Scalars['Int'];
|
|
1385
|
+
variantCount: Scalars['Int'];
|
|
1386
|
+
};
|
|
1358
1387
|
export declare type FacetList = PaginatedList & {
|
|
1359
1388
|
__typename?: 'FacetList';
|
|
1360
1389
|
items: Array<Facet>;
|
|
@@ -1584,6 +1613,12 @@ export declare type ImportInfo = {
|
|
|
1584
1613
|
processed: Scalars['Int'];
|
|
1585
1614
|
imported: Scalars['Int'];
|
|
1586
1615
|
};
|
|
1616
|
+
/** Returned when attempting to set a ShippingMethod for which the Order is not eligible */
|
|
1617
|
+
export declare type IneligibleShippingMethodError = ErrorResult & {
|
|
1618
|
+
__typename?: 'IneligibleShippingMethodError';
|
|
1619
|
+
errorCode: ErrorCode;
|
|
1620
|
+
message: Scalars['String'];
|
|
1621
|
+
};
|
|
1587
1622
|
/** Returned when attempting to add more items to the Order than are available */
|
|
1588
1623
|
export declare type InsufficientStockError = ErrorResult & {
|
|
1589
1624
|
__typename?: 'InsufficientStockError';
|
|
@@ -2137,6 +2172,8 @@ export declare type Mutation = {
|
|
|
2137
2172
|
/** Add Customers to a CustomerGroup */
|
|
2138
2173
|
addCustomersToGroup: CustomerGroup;
|
|
2139
2174
|
addFulfillmentToOrder: AddFulfillmentToOrderResult;
|
|
2175
|
+
/** Adds an item to the draft Order. */
|
|
2176
|
+
addItemToDraftOrder: UpdateOrderItemsResult;
|
|
2140
2177
|
/**
|
|
2141
2178
|
* Used to manually create a new Payment against an Order.
|
|
2142
2179
|
* This can be used by an Administrator when an Order is in the ArrangingPayment state.
|
|
@@ -2153,8 +2190,16 @@ export declare type Mutation = {
|
|
|
2153
2190
|
addNoteToOrder: Order;
|
|
2154
2191
|
/** Add an OptionGroup to a Product */
|
|
2155
2192
|
addOptionGroupToProduct: Product;
|
|
2193
|
+
/** Adjusts a draft OrderLine. If custom fields are defined on the OrderLine entity, a third argument 'customFields' of type `OrderLineCustomFieldsInput` will be available. */
|
|
2194
|
+
adjustDraftOrderLine: UpdateOrderItemsResult;
|
|
2195
|
+
/** Applies the given coupon code to the draft Order */
|
|
2196
|
+
applyCouponCodeToDraftOrder: ApplyCouponCodeResult;
|
|
2156
2197
|
/** Assign assets to channel */
|
|
2157
2198
|
assignAssetsToChannel: Array<Asset>;
|
|
2199
|
+
/** Assigns Collections to the specified Channel */
|
|
2200
|
+
assignCollectionsToChannel: Array<Collection>;
|
|
2201
|
+
/** Assigns Facets to the specified Channel */
|
|
2202
|
+
assignFacetsToChannel: Array<Facet>;
|
|
2158
2203
|
/** Assigns ProductVariants to the specified Channel */
|
|
2159
2204
|
assignProductVariantsToChannel: Array<ProductVariant>;
|
|
2160
2205
|
/** Assigns all ProductVariants of Product to the specified Channel */
|
|
@@ -2184,6 +2229,8 @@ export declare type Mutation = {
|
|
|
2184
2229
|
createCustomerAddress: Address;
|
|
2185
2230
|
/** Create a new CustomerGroup */
|
|
2186
2231
|
createCustomerGroup: CustomerGroup;
|
|
2232
|
+
/** Creates a draft Order */
|
|
2233
|
+
createDraftOrder: Order;
|
|
2187
2234
|
/** Create a new Facet */
|
|
2188
2235
|
createFacet: Facet;
|
|
2189
2236
|
/** Create one or more FacetValues */
|
|
@@ -2221,6 +2268,8 @@ export declare type Mutation = {
|
|
|
2221
2268
|
deleteChannel: DeletionResponse;
|
|
2222
2269
|
/** Delete a Collection and all of its descendants */
|
|
2223
2270
|
deleteCollection: DeletionResponse;
|
|
2271
|
+
/** Delete multiple Collections and all of their descendants */
|
|
2272
|
+
deleteCollections: Array<DeletionResponse>;
|
|
2224
2273
|
/** Delete a Country */
|
|
2225
2274
|
deleteCountry: DeletionResponse;
|
|
2226
2275
|
/** Delete a Customer */
|
|
@@ -2230,10 +2279,14 @@ export declare type Mutation = {
|
|
|
2230
2279
|
/** Delete a CustomerGroup */
|
|
2231
2280
|
deleteCustomerGroup: DeletionResponse;
|
|
2232
2281
|
deleteCustomerNote: DeletionResponse;
|
|
2282
|
+
/** Deletes a draft Order */
|
|
2283
|
+
deleteDraftOrder: DeletionResponse;
|
|
2233
2284
|
/** Delete an existing Facet */
|
|
2234
2285
|
deleteFacet: DeletionResponse;
|
|
2235
2286
|
/** Delete one or more FacetValues */
|
|
2236
2287
|
deleteFacetValues: Array<DeletionResponse>;
|
|
2288
|
+
/** Delete multiple existing Facets */
|
|
2289
|
+
deleteFacets: Array<DeletionResponse>;
|
|
2237
2290
|
deleteOrderNote: DeletionResponse;
|
|
2238
2291
|
/** Delete a PaymentMethod */
|
|
2239
2292
|
deletePaymentMethod: DeletionResponse;
|
|
@@ -2243,6 +2296,10 @@ export declare type Mutation = {
|
|
|
2243
2296
|
deleteProductOption: DeletionResponse;
|
|
2244
2297
|
/** Delete a ProductVariant */
|
|
2245
2298
|
deleteProductVariant: DeletionResponse;
|
|
2299
|
+
/** Delete multiple ProductVariants */
|
|
2300
|
+
deleteProductVariants: Array<DeletionResponse>;
|
|
2301
|
+
/** Delete multiple Products */
|
|
2302
|
+
deleteProducts: Array<DeletionResponse>;
|
|
2246
2303
|
deletePromotion: DeletionResponse;
|
|
2247
2304
|
/** Delete an existing Role */
|
|
2248
2305
|
deleteRole: DeletionResponse;
|
|
@@ -2270,8 +2327,16 @@ export declare type Mutation = {
|
|
|
2270
2327
|
moveCollection: Collection;
|
|
2271
2328
|
refundOrder: RefundOrderResult;
|
|
2272
2329
|
reindex: Job;
|
|
2330
|
+
/** Removes Collections from the specified Channel */
|
|
2331
|
+
removeCollectionsFromChannel: Array<Collection>;
|
|
2332
|
+
/** Removes the given coupon code from the draft Order */
|
|
2333
|
+
removeCouponCodeFromDraftOrder?: Maybe<Order>;
|
|
2273
2334
|
/** Remove Customers from a CustomerGroup */
|
|
2274
2335
|
removeCustomersFromGroup: CustomerGroup;
|
|
2336
|
+
/** Remove an OrderLine from the draft Order */
|
|
2337
|
+
removeDraftOrderLine: RemoveOrderItemsResult;
|
|
2338
|
+
/** Removes Facets from the specified Channel */
|
|
2339
|
+
removeFacetsFromChannel: Array<RemoveFacetFromChannelResult>;
|
|
2275
2340
|
/** Remove members from a Zone */
|
|
2276
2341
|
removeMembersFromZone: Zone;
|
|
2277
2342
|
/** Remove an OptionGroup from a Product */
|
|
@@ -2291,7 +2356,16 @@ export declare type Mutation = {
|
|
|
2291
2356
|
setAsLoggedIn: UserStatus;
|
|
2292
2357
|
setAsLoggedOut: UserStatus;
|
|
2293
2358
|
setContentLanguage: LanguageCode;
|
|
2359
|
+
setCustomerForDraftOrder: SetCustomerForDraftOrderResult;
|
|
2294
2360
|
setDisplayUiExtensionPoints: Scalars['Boolean'];
|
|
2361
|
+
/** Sets the billing address for a draft Order */
|
|
2362
|
+
setDraftOrderBillingAddress: Order;
|
|
2363
|
+
/** Allows any custom fields to be set for the active order */
|
|
2364
|
+
setDraftOrderCustomFields: Order;
|
|
2365
|
+
/** Sets the shipping address for a draft Order */
|
|
2366
|
+
setDraftOrderShippingAddress: Order;
|
|
2367
|
+
/** Sets the shipping method by id, which can be obtained with the `eligibleShippingMethodsForDraftOrder` query */
|
|
2368
|
+
setDraftOrderShippingMethod: SetOrderShippingMethodResult;
|
|
2295
2369
|
setOrderCustomFields?: Maybe<Order>;
|
|
2296
2370
|
setUiLanguage: LanguageCode;
|
|
2297
2371
|
setUiLocale?: Maybe<Scalars['String']>;
|
|
@@ -2336,6 +2410,8 @@ export declare type Mutation = {
|
|
|
2336
2410
|
updateProductOptionGroup: ProductOptionGroup;
|
|
2337
2411
|
/** Update existing ProductVariants */
|
|
2338
2412
|
updateProductVariants: Array<Maybe<ProductVariant>>;
|
|
2413
|
+
/** Update multiple existing Products */
|
|
2414
|
+
updateProducts: Array<Product>;
|
|
2339
2415
|
updatePromotion: UpdatePromotionResult;
|
|
2340
2416
|
/** Update an existing Role */
|
|
2341
2417
|
updateRole: Role;
|
|
@@ -2358,6 +2434,10 @@ export declare type MutationAddCustomersToGroupArgs = {
|
|
|
2358
2434
|
export declare type MutationAddFulfillmentToOrderArgs = {
|
|
2359
2435
|
input: FulfillOrderInput;
|
|
2360
2436
|
};
|
|
2437
|
+
export declare type MutationAddItemToDraftOrderArgs = {
|
|
2438
|
+
orderId: Scalars['ID'];
|
|
2439
|
+
input: AddItemToDraftOrderInput;
|
|
2440
|
+
};
|
|
2361
2441
|
export declare type MutationAddManualPaymentToOrderArgs = {
|
|
2362
2442
|
input: ManualPaymentInput;
|
|
2363
2443
|
};
|
|
@@ -2375,9 +2455,23 @@ export declare type MutationAddOptionGroupToProductArgs = {
|
|
|
2375
2455
|
productId: Scalars['ID'];
|
|
2376
2456
|
optionGroupId: Scalars['ID'];
|
|
2377
2457
|
};
|
|
2458
|
+
export declare type MutationAdjustDraftOrderLineArgs = {
|
|
2459
|
+
orderId: Scalars['ID'];
|
|
2460
|
+
input: AdjustDraftOrderLineInput;
|
|
2461
|
+
};
|
|
2462
|
+
export declare type MutationApplyCouponCodeToDraftOrderArgs = {
|
|
2463
|
+
orderId: Scalars['ID'];
|
|
2464
|
+
couponCode: Scalars['String'];
|
|
2465
|
+
};
|
|
2378
2466
|
export declare type MutationAssignAssetsToChannelArgs = {
|
|
2379
2467
|
input: AssignAssetsToChannelInput;
|
|
2380
2468
|
};
|
|
2469
|
+
export declare type MutationAssignCollectionsToChannelArgs = {
|
|
2470
|
+
input: AssignCollectionsToChannelInput;
|
|
2471
|
+
};
|
|
2472
|
+
export declare type MutationAssignFacetsToChannelArgs = {
|
|
2473
|
+
input: AssignFacetsToChannelInput;
|
|
2474
|
+
};
|
|
2381
2475
|
export declare type MutationAssignProductVariantsToChannelArgs = {
|
|
2382
2476
|
input: AssignProductVariantsToChannelInput;
|
|
2383
2477
|
};
|
|
@@ -2487,6 +2581,9 @@ export declare type MutationDeleteChannelArgs = {
|
|
|
2487
2581
|
export declare type MutationDeleteCollectionArgs = {
|
|
2488
2582
|
id: Scalars['ID'];
|
|
2489
2583
|
};
|
|
2584
|
+
export declare type MutationDeleteCollectionsArgs = {
|
|
2585
|
+
ids: Array<Scalars['ID']>;
|
|
2586
|
+
};
|
|
2490
2587
|
export declare type MutationDeleteCountryArgs = {
|
|
2491
2588
|
id: Scalars['ID'];
|
|
2492
2589
|
};
|
|
@@ -2502,6 +2599,9 @@ export declare type MutationDeleteCustomerGroupArgs = {
|
|
|
2502
2599
|
export declare type MutationDeleteCustomerNoteArgs = {
|
|
2503
2600
|
id: Scalars['ID'];
|
|
2504
2601
|
};
|
|
2602
|
+
export declare type MutationDeleteDraftOrderArgs = {
|
|
2603
|
+
orderId: Scalars['ID'];
|
|
2604
|
+
};
|
|
2505
2605
|
export declare type MutationDeleteFacetArgs = {
|
|
2506
2606
|
id: Scalars['ID'];
|
|
2507
2607
|
force?: Maybe<Scalars['Boolean']>;
|
|
@@ -2510,6 +2610,10 @@ export declare type MutationDeleteFacetValuesArgs = {
|
|
|
2510
2610
|
ids: Array<Scalars['ID']>;
|
|
2511
2611
|
force?: Maybe<Scalars['Boolean']>;
|
|
2512
2612
|
};
|
|
2613
|
+
export declare type MutationDeleteFacetsArgs = {
|
|
2614
|
+
ids: Array<Scalars['ID']>;
|
|
2615
|
+
force?: Maybe<Scalars['Boolean']>;
|
|
2616
|
+
};
|
|
2513
2617
|
export declare type MutationDeleteOrderNoteArgs = {
|
|
2514
2618
|
id: Scalars['ID'];
|
|
2515
2619
|
};
|
|
@@ -2526,6 +2630,12 @@ export declare type MutationDeleteProductOptionArgs = {
|
|
|
2526
2630
|
export declare type MutationDeleteProductVariantArgs = {
|
|
2527
2631
|
id: Scalars['ID'];
|
|
2528
2632
|
};
|
|
2633
|
+
export declare type MutationDeleteProductVariantsArgs = {
|
|
2634
|
+
ids: Array<Scalars['ID']>;
|
|
2635
|
+
};
|
|
2636
|
+
export declare type MutationDeleteProductsArgs = {
|
|
2637
|
+
ids: Array<Scalars['ID']>;
|
|
2638
|
+
};
|
|
2529
2639
|
export declare type MutationDeletePromotionArgs = {
|
|
2530
2640
|
id: Scalars['ID'];
|
|
2531
2641
|
};
|
|
@@ -2567,10 +2677,24 @@ export declare type MutationMoveCollectionArgs = {
|
|
|
2567
2677
|
export declare type MutationRefundOrderArgs = {
|
|
2568
2678
|
input: RefundOrderInput;
|
|
2569
2679
|
};
|
|
2680
|
+
export declare type MutationRemoveCollectionsFromChannelArgs = {
|
|
2681
|
+
input: RemoveCollectionsFromChannelInput;
|
|
2682
|
+
};
|
|
2683
|
+
export declare type MutationRemoveCouponCodeFromDraftOrderArgs = {
|
|
2684
|
+
orderId: Scalars['ID'];
|
|
2685
|
+
couponCode: Scalars['String'];
|
|
2686
|
+
};
|
|
2570
2687
|
export declare type MutationRemoveCustomersFromGroupArgs = {
|
|
2571
2688
|
customerGroupId: Scalars['ID'];
|
|
2572
2689
|
customerIds: Array<Scalars['ID']>;
|
|
2573
2690
|
};
|
|
2691
|
+
export declare type MutationRemoveDraftOrderLineArgs = {
|
|
2692
|
+
orderId: Scalars['ID'];
|
|
2693
|
+
orderLineId: Scalars['ID'];
|
|
2694
|
+
};
|
|
2695
|
+
export declare type MutationRemoveFacetsFromChannelArgs = {
|
|
2696
|
+
input: RemoveFacetsFromChannelInput;
|
|
2697
|
+
};
|
|
2574
2698
|
export declare type MutationRemoveMembersFromZoneArgs = {
|
|
2575
2699
|
zoneId: Scalars['ID'];
|
|
2576
2700
|
memberIds: Array<Scalars['ID']>;
|
|
@@ -2601,9 +2725,30 @@ export declare type MutationSetAsLoggedInArgs = {
|
|
|
2601
2725
|
export declare type MutationSetContentLanguageArgs = {
|
|
2602
2726
|
languageCode: LanguageCode;
|
|
2603
2727
|
};
|
|
2728
|
+
export declare type MutationSetCustomerForDraftOrderArgs = {
|
|
2729
|
+
orderId: Scalars['ID'];
|
|
2730
|
+
customerId?: Maybe<Scalars['ID']>;
|
|
2731
|
+
input?: Maybe<CreateCustomerInput>;
|
|
2732
|
+
};
|
|
2604
2733
|
export declare type MutationSetDisplayUiExtensionPointsArgs = {
|
|
2605
2734
|
display: Scalars['Boolean'];
|
|
2606
2735
|
};
|
|
2736
|
+
export declare type MutationSetDraftOrderBillingAddressArgs = {
|
|
2737
|
+
orderId: Scalars['ID'];
|
|
2738
|
+
input: CreateAddressInput;
|
|
2739
|
+
};
|
|
2740
|
+
export declare type MutationSetDraftOrderCustomFieldsArgs = {
|
|
2741
|
+
orderId: Scalars['ID'];
|
|
2742
|
+
input: UpdateOrderInput;
|
|
2743
|
+
};
|
|
2744
|
+
export declare type MutationSetDraftOrderShippingAddressArgs = {
|
|
2745
|
+
orderId: Scalars['ID'];
|
|
2746
|
+
input: CreateAddressInput;
|
|
2747
|
+
};
|
|
2748
|
+
export declare type MutationSetDraftOrderShippingMethodArgs = {
|
|
2749
|
+
orderId: Scalars['ID'];
|
|
2750
|
+
shippingMethodId: Scalars['ID'];
|
|
2751
|
+
};
|
|
2607
2752
|
export declare type MutationSetOrderCustomFieldsArgs = {
|
|
2608
2753
|
input: UpdateOrderInput;
|
|
2609
2754
|
};
|
|
@@ -2691,6 +2836,9 @@ export declare type MutationUpdateProductOptionGroupArgs = {
|
|
|
2691
2836
|
export declare type MutationUpdateProductVariantsArgs = {
|
|
2692
2837
|
input: Array<UpdateProductVariantInput>;
|
|
2693
2838
|
};
|
|
2839
|
+
export declare type MutationUpdateProductsArgs = {
|
|
2840
|
+
input: Array<UpdateProductInput>;
|
|
2841
|
+
};
|
|
2694
2842
|
export declare type MutationUpdatePromotionArgs = {
|
|
2695
2843
|
input: UpdatePromotionInput;
|
|
2696
2844
|
};
|
|
@@ -2736,6 +2884,15 @@ export declare type NetworkStatus = {
|
|
|
2736
2884
|
__typename?: 'NetworkStatus';
|
|
2737
2885
|
inFlightRequests: Scalars['Int'];
|
|
2738
2886
|
};
|
|
2887
|
+
/**
|
|
2888
|
+
* Returned when invoking a mutation which depends on there being an active Order on the
|
|
2889
|
+
* current session.
|
|
2890
|
+
*/
|
|
2891
|
+
export declare type NoActiveOrderError = ErrorResult & {
|
|
2892
|
+
__typename?: 'NoActiveOrderError';
|
|
2893
|
+
errorCode: ErrorCode;
|
|
2894
|
+
message: Scalars['String'];
|
|
2895
|
+
};
|
|
2739
2896
|
/** Returned when a call to modifyOrder fails to specify any changes */
|
|
2740
2897
|
export declare type NoChangesSpecifiedError = ErrorResult & {
|
|
2741
2898
|
__typename?: 'NoChangesSpecifiedError';
|
|
@@ -3000,6 +3157,12 @@ export declare type OrderModification = Node & {
|
|
|
3000
3157
|
refund?: Maybe<Refund>;
|
|
3001
3158
|
isSettled: Scalars['Boolean'];
|
|
3002
3159
|
};
|
|
3160
|
+
/** Returned when attempting to modify the contents of an Order that is not in the `AddingItems` state. */
|
|
3161
|
+
export declare type OrderModificationError = ErrorResult & {
|
|
3162
|
+
__typename?: 'OrderModificationError';
|
|
3163
|
+
errorCode: ErrorCode;
|
|
3164
|
+
message: Scalars['String'];
|
|
3165
|
+
};
|
|
3003
3166
|
/** Returned when attempting to modify the contents of an Order that is not in the `Modifying` state. */
|
|
3004
3167
|
export declare type OrderModificationStateError = ErrorResult & {
|
|
3005
3168
|
__typename?: 'OrderModificationStateError';
|
|
@@ -3690,6 +3853,8 @@ export declare type Query = {
|
|
|
3690
3853
|
customerGroup?: Maybe<CustomerGroup>;
|
|
3691
3854
|
customerGroups: CustomerGroupList;
|
|
3692
3855
|
customers: CustomerList;
|
|
3856
|
+
/** Returns a list of eligible shipping methods for the draft Order */
|
|
3857
|
+
eligibleShippingMethodsForDraftOrder: Array<ShippingMethodQuote>;
|
|
3693
3858
|
facet?: Maybe<Facet>;
|
|
3694
3859
|
facets: FacetList;
|
|
3695
3860
|
fulfillmentHandlers: Array<ConfigurableOperationDefinition>;
|
|
@@ -3784,6 +3949,9 @@ export declare type QueryCustomerGroupsArgs = {
|
|
|
3784
3949
|
export declare type QueryCustomersArgs = {
|
|
3785
3950
|
options?: Maybe<CustomerListOptions>;
|
|
3786
3951
|
};
|
|
3952
|
+
export declare type QueryEligibleShippingMethodsForDraftOrderArgs = {
|
|
3953
|
+
orderId: Scalars['ID'];
|
|
3954
|
+
};
|
|
3787
3955
|
export declare type QueryFacetArgs = {
|
|
3788
3956
|
id: Scalars['ID'];
|
|
3789
3957
|
};
|
|
@@ -3957,7 +4125,18 @@ export declare type Release = Node & StockMovement & {
|
|
|
3957
4125
|
quantity: Scalars['Int'];
|
|
3958
4126
|
orderItem: OrderItem;
|
|
3959
4127
|
};
|
|
4128
|
+
export declare type RemoveCollectionsFromChannelInput = {
|
|
4129
|
+
collectionIds: Array<Scalars['ID']>;
|
|
4130
|
+
channelId: Scalars['ID'];
|
|
4131
|
+
};
|
|
4132
|
+
export declare type RemoveFacetFromChannelResult = Facet | FacetInUseError;
|
|
4133
|
+
export declare type RemoveFacetsFromChannelInput = {
|
|
4134
|
+
facetIds: Array<Scalars['ID']>;
|
|
4135
|
+
channelId: Scalars['ID'];
|
|
4136
|
+
force?: Maybe<Scalars['Boolean']>;
|
|
4137
|
+
};
|
|
3960
4138
|
export declare type RemoveOptionGroupFromProductResult = Product | ProductOptionInUseError;
|
|
4139
|
+
export declare type RemoveOrderItemsResult = Order | OrderModificationError;
|
|
3961
4140
|
export declare type RemoveProductVariantsFromChannelInput = {
|
|
3962
4141
|
productVariantIds: Array<Scalars['ID']>;
|
|
3963
4142
|
channelId: Scalars['ID'];
|
|
@@ -4097,6 +4276,8 @@ export declare type ServerConfig = {
|
|
|
4097
4276
|
permissions: Array<PermissionDefinition>;
|
|
4098
4277
|
customFieldConfig: CustomFields;
|
|
4099
4278
|
};
|
|
4279
|
+
export declare type SetCustomerForDraftOrderResult = Order | EmailAddressConflictError;
|
|
4280
|
+
export declare type SetOrderShippingMethodResult = Order | OrderModificationError | IneligibleShippingMethodError | NoActiveOrderError;
|
|
4100
4281
|
/** Returned if the Payment settlement fails */
|
|
4101
4282
|
export declare type SettlePaymentError = ErrorResult & {
|
|
4102
4283
|
__typename?: 'SettlePaymentError';
|
|
@@ -4575,6 +4756,7 @@ export declare type UpdateOrderInput = {
|
|
|
4575
4756
|
id: Scalars['ID'];
|
|
4576
4757
|
customFields?: Maybe<Scalars['JSON']>;
|
|
4577
4758
|
};
|
|
4759
|
+
export declare type UpdateOrderItemsResult = Order | OrderModificationError | OrderLimitError | NegativeQuantityError | InsufficientStockError;
|
|
4578
4760
|
export declare type UpdateOrderNoteInput = {
|
|
4579
4761
|
noteId: Scalars['ID'];
|
|
4580
4762
|
note?: Maybe<Scalars['String']>;
|
|
@@ -4717,6 +4899,70 @@ export declare type Zone = Node & {
|
|
|
4717
4899
|
members: Array<Country>;
|
|
4718
4900
|
customFields?: Maybe<Scalars['JSON']>;
|
|
4719
4901
|
};
|
|
4902
|
+
export declare type GetProductsWithFacetValuesByIdsQueryVariables = Exact<{
|
|
4903
|
+
ids: Array<Scalars['String']> | Scalars['String'];
|
|
4904
|
+
}>;
|
|
4905
|
+
export declare type GetProductsWithFacetValuesByIdsQuery = {
|
|
4906
|
+
products: ({
|
|
4907
|
+
__typename?: 'ProductList';
|
|
4908
|
+
} & {
|
|
4909
|
+
items: Array<({
|
|
4910
|
+
__typename?: 'Product';
|
|
4911
|
+
} & Pick<Product, 'id' | 'name'> & {
|
|
4912
|
+
facetValues: Array<({
|
|
4913
|
+
__typename?: 'FacetValue';
|
|
4914
|
+
} & Pick<FacetValue, 'id' | 'name' | 'code'> & {
|
|
4915
|
+
facet: ({
|
|
4916
|
+
__typename?: 'Facet';
|
|
4917
|
+
} & Pick<Facet, 'id' | 'name' | 'code'>);
|
|
4918
|
+
})>;
|
|
4919
|
+
})>;
|
|
4920
|
+
});
|
|
4921
|
+
};
|
|
4922
|
+
export declare type GetVariantsWithFacetValuesByIdsQueryVariables = Exact<{
|
|
4923
|
+
ids: Array<Scalars['String']> | Scalars['String'];
|
|
4924
|
+
}>;
|
|
4925
|
+
export declare type GetVariantsWithFacetValuesByIdsQuery = {
|
|
4926
|
+
productVariants: ({
|
|
4927
|
+
__typename?: 'ProductVariantList';
|
|
4928
|
+
} & {
|
|
4929
|
+
items: Array<({
|
|
4930
|
+
__typename?: 'ProductVariant';
|
|
4931
|
+
} & Pick<ProductVariant, 'id' | 'name' | 'sku'> & {
|
|
4932
|
+
facetValues: Array<({
|
|
4933
|
+
__typename?: 'FacetValue';
|
|
4934
|
+
} & Pick<FacetValue, 'id' | 'name' | 'code'> & {
|
|
4935
|
+
facet: ({
|
|
4936
|
+
__typename?: 'Facet';
|
|
4937
|
+
} & Pick<Facet, 'id' | 'name' | 'code'>);
|
|
4938
|
+
})>;
|
|
4939
|
+
})>;
|
|
4940
|
+
});
|
|
4941
|
+
};
|
|
4942
|
+
export declare type UpdateProductsBulkMutationVariables = Exact<{
|
|
4943
|
+
input: Array<UpdateProductInput> | UpdateProductInput;
|
|
4944
|
+
}>;
|
|
4945
|
+
export declare type UpdateProductsBulkMutation = {
|
|
4946
|
+
updateProducts: Array<({
|
|
4947
|
+
__typename?: 'Product';
|
|
4948
|
+
} & Pick<Product, 'id' | 'name'> & {
|
|
4949
|
+
facetValues: Array<({
|
|
4950
|
+
__typename?: 'FacetValue';
|
|
4951
|
+
} & Pick<FacetValue, 'id' | 'name' | 'code'>)>;
|
|
4952
|
+
})>;
|
|
4953
|
+
};
|
|
4954
|
+
export declare type UpdateVariantsBulkMutationVariables = Exact<{
|
|
4955
|
+
input: Array<UpdateProductVariantInput> | UpdateProductVariantInput;
|
|
4956
|
+
}>;
|
|
4957
|
+
export declare type UpdateVariantsBulkMutation = {
|
|
4958
|
+
updateProductVariants: Array<Maybe<({
|
|
4959
|
+
__typename?: 'ProductVariant';
|
|
4960
|
+
} & Pick<ProductVariant, 'id' | 'name'> & {
|
|
4961
|
+
facetValues: Array<({
|
|
4962
|
+
__typename?: 'FacetValue';
|
|
4963
|
+
} & Pick<FacetValue, 'id' | 'name' | 'code'>)>;
|
|
4964
|
+
})>>;
|
|
4965
|
+
};
|
|
4720
4966
|
export declare type RoleFragment = ({
|
|
4721
4967
|
__typename?: 'Role';
|
|
4722
4968
|
} & Pick<Role, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'description' | 'permissions'> & {
|
|
@@ -5002,6 +5248,9 @@ export declare type GetCollectionFiltersQuery = {
|
|
|
5002
5248
|
export declare type CollectionFragment = ({
|
|
5003
5249
|
__typename?: 'Collection';
|
|
5004
5250
|
} & Pick<Collection, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'slug' | 'description' | 'isPrivate' | 'languageCode'> & {
|
|
5251
|
+
breadcrumbs: Array<({
|
|
5252
|
+
__typename?: 'CollectionBreadcrumb';
|
|
5253
|
+
} & Pick<CollectionBreadcrumb, 'id' | 'name' | 'slug'>)>;
|
|
5005
5254
|
featuredAsset?: Maybe<({
|
|
5006
5255
|
__typename?: 'Asset';
|
|
5007
5256
|
} & AssetFragment)>;
|
|
@@ -5080,6 +5329,14 @@ export declare type DeleteCollectionMutation = {
|
|
|
5080
5329
|
__typename?: 'DeletionResponse';
|
|
5081
5330
|
} & Pick<DeletionResponse, 'result' | 'message'>);
|
|
5082
5331
|
};
|
|
5332
|
+
export declare type DeleteCollectionsMutationVariables = Exact<{
|
|
5333
|
+
ids: Array<Scalars['ID']> | Scalars['ID'];
|
|
5334
|
+
}>;
|
|
5335
|
+
export declare type DeleteCollectionsMutation = {
|
|
5336
|
+
deleteCollections: Array<({
|
|
5337
|
+
__typename?: 'DeletionResponse';
|
|
5338
|
+
} & Pick<DeletionResponse, 'result' | 'message'>)>;
|
|
5339
|
+
};
|
|
5083
5340
|
export declare type GetCollectionContentsQueryVariables = Exact<{
|
|
5084
5341
|
id: Scalars['ID'];
|
|
5085
5342
|
options?: Maybe<ProductVariantListOptions>;
|
|
@@ -5110,6 +5367,22 @@ export declare type PreviewCollectionContentsQuery = {
|
|
|
5110
5367
|
} & Pick<ProductVariant, 'id' | 'productId' | 'name' | 'sku'>)>;
|
|
5111
5368
|
});
|
|
5112
5369
|
};
|
|
5370
|
+
export declare type AssignCollectionsToChannelMutationVariables = Exact<{
|
|
5371
|
+
input: AssignCollectionsToChannelInput;
|
|
5372
|
+
}>;
|
|
5373
|
+
export declare type AssignCollectionsToChannelMutation = {
|
|
5374
|
+
assignCollectionsToChannel: Array<({
|
|
5375
|
+
__typename?: 'Collection';
|
|
5376
|
+
} & Pick<Collection, 'id' | 'name'>)>;
|
|
5377
|
+
};
|
|
5378
|
+
export declare type RemoveCollectionsFromChannelMutationVariables = Exact<{
|
|
5379
|
+
input: RemoveCollectionsFromChannelInput;
|
|
5380
|
+
}>;
|
|
5381
|
+
export declare type RemoveCollectionsFromChannelMutation = {
|
|
5382
|
+
removeCollectionsFromChannel: Array<({
|
|
5383
|
+
__typename?: 'Collection';
|
|
5384
|
+
} & Pick<Collection, 'id' | 'name'>)>;
|
|
5385
|
+
};
|
|
5113
5386
|
export declare type AddressFragment = ({
|
|
5114
5387
|
__typename?: 'Address';
|
|
5115
5388
|
} & Pick<Address, 'id' | 'createdAt' | 'updatedAt' | 'fullName' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber' | 'defaultShippingAddress' | 'defaultBillingAddress'> & {
|
|
@@ -5381,6 +5654,15 @@ export declare type DeleteFacetMutation = {
|
|
|
5381
5654
|
__typename?: 'DeletionResponse';
|
|
5382
5655
|
} & Pick<DeletionResponse, 'result' | 'message'>);
|
|
5383
5656
|
};
|
|
5657
|
+
export declare type DeleteFacetsMutationVariables = Exact<{
|
|
5658
|
+
ids: Array<Scalars['ID']> | Scalars['ID'];
|
|
5659
|
+
force?: Maybe<Scalars['Boolean']>;
|
|
5660
|
+
}>;
|
|
5661
|
+
export declare type DeleteFacetsMutation = {
|
|
5662
|
+
deleteFacets: Array<({
|
|
5663
|
+
__typename?: 'DeletionResponse';
|
|
5664
|
+
} & Pick<DeletionResponse, 'result' | 'message'>)>;
|
|
5665
|
+
};
|
|
5384
5666
|
export declare type CreateFacetValuesMutationVariables = Exact<{
|
|
5385
5667
|
input: Array<CreateFacetValueInput> | CreateFacetValueInput;
|
|
5386
5668
|
}>;
|
|
@@ -5426,6 +5708,24 @@ export declare type GetFacetWithValuesQuery = {
|
|
|
5426
5708
|
__typename?: 'Facet';
|
|
5427
5709
|
} & FacetWithValuesFragment)>;
|
|
5428
5710
|
};
|
|
5711
|
+
export declare type AssignFacetsToChannelMutationVariables = Exact<{
|
|
5712
|
+
input: AssignFacetsToChannelInput;
|
|
5713
|
+
}>;
|
|
5714
|
+
export declare type AssignFacetsToChannelMutation = {
|
|
5715
|
+
assignFacetsToChannel: Array<({
|
|
5716
|
+
__typename?: 'Facet';
|
|
5717
|
+
} & Pick<Facet, 'id'>)>;
|
|
5718
|
+
};
|
|
5719
|
+
export declare type RemoveFacetsFromChannelMutationVariables = Exact<{
|
|
5720
|
+
input: RemoveFacetsFromChannelInput;
|
|
5721
|
+
}>;
|
|
5722
|
+
export declare type RemoveFacetsFromChannelMutation = {
|
|
5723
|
+
removeFacetsFromChannel: Array<({
|
|
5724
|
+
__typename?: 'Facet';
|
|
5725
|
+
} & Pick<Facet, 'id'>) | ({
|
|
5726
|
+
__typename?: 'FacetInUseError';
|
|
5727
|
+
} & Pick<FacetInUseError, 'errorCode' | 'message' | 'variantCount' | 'productCount'>)>;
|
|
5728
|
+
};
|
|
5429
5729
|
export declare type DiscountFragment = ({
|
|
5430
5730
|
__typename?: 'Discount';
|
|
5431
5731
|
} & Pick<Discount, 'adjustmentSource' | 'amount' | 'amountWithTax' | 'description' | 'type'>);
|
|
@@ -5802,6 +6102,144 @@ export declare type AddManualPaymentMutation = {
|
|
|
5802
6102
|
__typename?: 'ManualPaymentStateError';
|
|
5803
6103
|
} & ErrorResult_ManualPaymentStateError_Fragment);
|
|
5804
6104
|
};
|
|
6105
|
+
export declare type CreateDraftOrderMutationVariables = Exact<{
|
|
6106
|
+
[key: string]: never;
|
|
6107
|
+
}>;
|
|
6108
|
+
export declare type CreateDraftOrderMutation = {
|
|
6109
|
+
createDraftOrder: ({
|
|
6110
|
+
__typename?: 'Order';
|
|
6111
|
+
} & OrderDetailFragment);
|
|
6112
|
+
};
|
|
6113
|
+
export declare type DeleteDraftOrderMutationVariables = Exact<{
|
|
6114
|
+
orderId: Scalars['ID'];
|
|
6115
|
+
}>;
|
|
6116
|
+
export declare type DeleteDraftOrderMutation = {
|
|
6117
|
+
deleteDraftOrder: ({
|
|
6118
|
+
__typename?: 'DeletionResponse';
|
|
6119
|
+
} & Pick<DeletionResponse, 'result' | 'message'>);
|
|
6120
|
+
};
|
|
6121
|
+
export declare type AddItemToDraftOrderMutationVariables = Exact<{
|
|
6122
|
+
orderId: Scalars['ID'];
|
|
6123
|
+
input: AddItemToDraftOrderInput;
|
|
6124
|
+
}>;
|
|
6125
|
+
export declare type AddItemToDraftOrderMutation = {
|
|
6126
|
+
addItemToDraftOrder: ({
|
|
6127
|
+
__typename?: 'Order';
|
|
6128
|
+
} & OrderDetailFragment) | ({
|
|
6129
|
+
__typename?: 'OrderModificationError';
|
|
6130
|
+
} & ErrorResult_OrderModificationError_Fragment) | ({
|
|
6131
|
+
__typename?: 'OrderLimitError';
|
|
6132
|
+
} & ErrorResult_OrderLimitError_Fragment) | ({
|
|
6133
|
+
__typename?: 'NegativeQuantityError';
|
|
6134
|
+
} & ErrorResult_NegativeQuantityError_Fragment) | ({
|
|
6135
|
+
__typename?: 'InsufficientStockError';
|
|
6136
|
+
} & ErrorResult_InsufficientStockError_Fragment);
|
|
6137
|
+
};
|
|
6138
|
+
export declare type AdjustDraftOrderLineMutationVariables = Exact<{
|
|
6139
|
+
orderId: Scalars['ID'];
|
|
6140
|
+
input: AdjustDraftOrderLineInput;
|
|
6141
|
+
}>;
|
|
6142
|
+
export declare type AdjustDraftOrderLineMutation = {
|
|
6143
|
+
adjustDraftOrderLine: ({
|
|
6144
|
+
__typename?: 'Order';
|
|
6145
|
+
} & OrderDetailFragment) | ({
|
|
6146
|
+
__typename?: 'OrderModificationError';
|
|
6147
|
+
} & ErrorResult_OrderModificationError_Fragment) | ({
|
|
6148
|
+
__typename?: 'OrderLimitError';
|
|
6149
|
+
} & ErrorResult_OrderLimitError_Fragment) | ({
|
|
6150
|
+
__typename?: 'NegativeQuantityError';
|
|
6151
|
+
} & ErrorResult_NegativeQuantityError_Fragment) | ({
|
|
6152
|
+
__typename?: 'InsufficientStockError';
|
|
6153
|
+
} & ErrorResult_InsufficientStockError_Fragment);
|
|
6154
|
+
};
|
|
6155
|
+
export declare type RemoveDraftOrderLineMutationVariables = Exact<{
|
|
6156
|
+
orderId: Scalars['ID'];
|
|
6157
|
+
orderLineId: Scalars['ID'];
|
|
6158
|
+
}>;
|
|
6159
|
+
export declare type RemoveDraftOrderLineMutation = {
|
|
6160
|
+
removeDraftOrderLine: ({
|
|
6161
|
+
__typename?: 'Order';
|
|
6162
|
+
} & OrderDetailFragment) | ({
|
|
6163
|
+
__typename?: 'OrderModificationError';
|
|
6164
|
+
} & ErrorResult_OrderModificationError_Fragment);
|
|
6165
|
+
};
|
|
6166
|
+
export declare type SetCustomerForDraftOrderMutationVariables = Exact<{
|
|
6167
|
+
orderId: Scalars['ID'];
|
|
6168
|
+
customerId?: Maybe<Scalars['ID']>;
|
|
6169
|
+
input?: Maybe<CreateCustomerInput>;
|
|
6170
|
+
}>;
|
|
6171
|
+
export declare type SetCustomerForDraftOrderMutation = {
|
|
6172
|
+
setCustomerForDraftOrder: ({
|
|
6173
|
+
__typename?: 'Order';
|
|
6174
|
+
} & OrderDetailFragment) | ({
|
|
6175
|
+
__typename?: 'EmailAddressConflictError';
|
|
6176
|
+
} & ErrorResult_EmailAddressConflictError_Fragment);
|
|
6177
|
+
};
|
|
6178
|
+
export declare type SetDraftOrderShippingAddressMutationVariables = Exact<{
|
|
6179
|
+
orderId: Scalars['ID'];
|
|
6180
|
+
input: CreateAddressInput;
|
|
6181
|
+
}>;
|
|
6182
|
+
export declare type SetDraftOrderShippingAddressMutation = {
|
|
6183
|
+
setDraftOrderShippingAddress: ({
|
|
6184
|
+
__typename?: 'Order';
|
|
6185
|
+
} & OrderDetailFragment);
|
|
6186
|
+
};
|
|
6187
|
+
export declare type SetDraftOrderBillingAddressMutationVariables = Exact<{
|
|
6188
|
+
orderId: Scalars['ID'];
|
|
6189
|
+
input: CreateAddressInput;
|
|
6190
|
+
}>;
|
|
6191
|
+
export declare type SetDraftOrderBillingAddressMutation = {
|
|
6192
|
+
setDraftOrderBillingAddress: ({
|
|
6193
|
+
__typename?: 'Order';
|
|
6194
|
+
} & OrderDetailFragment);
|
|
6195
|
+
};
|
|
6196
|
+
export declare type ApplyCouponCodeToDraftOrderMutationVariables = Exact<{
|
|
6197
|
+
orderId: Scalars['ID'];
|
|
6198
|
+
couponCode: Scalars['String'];
|
|
6199
|
+
}>;
|
|
6200
|
+
export declare type ApplyCouponCodeToDraftOrderMutation = {
|
|
6201
|
+
applyCouponCodeToDraftOrder: ({
|
|
6202
|
+
__typename?: 'Order';
|
|
6203
|
+
} & OrderDetailFragment) | ({
|
|
6204
|
+
__typename?: 'CouponCodeExpiredError';
|
|
6205
|
+
} & ErrorResult_CouponCodeExpiredError_Fragment) | ({
|
|
6206
|
+
__typename?: 'CouponCodeInvalidError';
|
|
6207
|
+
} & ErrorResult_CouponCodeInvalidError_Fragment) | ({
|
|
6208
|
+
__typename?: 'CouponCodeLimitError';
|
|
6209
|
+
} & ErrorResult_CouponCodeLimitError_Fragment);
|
|
6210
|
+
};
|
|
6211
|
+
export declare type RemoveCouponCodeFromDraftOrderMutationVariables = Exact<{
|
|
6212
|
+
orderId: Scalars['ID'];
|
|
6213
|
+
couponCode: Scalars['String'];
|
|
6214
|
+
}>;
|
|
6215
|
+
export declare type RemoveCouponCodeFromDraftOrderMutation = {
|
|
6216
|
+
removeCouponCodeFromDraftOrder?: Maybe<({
|
|
6217
|
+
__typename?: 'Order';
|
|
6218
|
+
} & OrderDetailFragment)>;
|
|
6219
|
+
};
|
|
6220
|
+
export declare type DraftOrderEligibleShippingMethodsQueryVariables = Exact<{
|
|
6221
|
+
orderId: Scalars['ID'];
|
|
6222
|
+
}>;
|
|
6223
|
+
export declare type DraftOrderEligibleShippingMethodsQuery = {
|
|
6224
|
+
eligibleShippingMethodsForDraftOrder: Array<({
|
|
6225
|
+
__typename?: 'ShippingMethodQuote';
|
|
6226
|
+
} & Pick<ShippingMethodQuote, 'id' | 'name' | 'code' | 'description' | 'price' | 'priceWithTax' | 'metadata'>)>;
|
|
6227
|
+
};
|
|
6228
|
+
export declare type SetDraftOrderShippingMethodMutationVariables = Exact<{
|
|
6229
|
+
orderId: Scalars['ID'];
|
|
6230
|
+
shippingMethodId: Scalars['ID'];
|
|
6231
|
+
}>;
|
|
6232
|
+
export declare type SetDraftOrderShippingMethodMutation = {
|
|
6233
|
+
setDraftOrderShippingMethod: ({
|
|
6234
|
+
__typename?: 'Order';
|
|
6235
|
+
} & OrderDetailFragment) | ({
|
|
6236
|
+
__typename?: 'OrderModificationError';
|
|
6237
|
+
} & ErrorResult_OrderModificationError_Fragment) | ({
|
|
6238
|
+
__typename?: 'IneligibleShippingMethodError';
|
|
6239
|
+
} & ErrorResult_IneligibleShippingMethodError_Fragment) | ({
|
|
6240
|
+
__typename?: 'NoActiveOrderError';
|
|
6241
|
+
} & ErrorResult_NoActiveOrderError_Fragment);
|
|
6242
|
+
};
|
|
5805
6243
|
export declare type AssetFragment = ({
|
|
5806
6244
|
__typename?: 'Asset';
|
|
5807
6245
|
} & Pick<Asset, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'fileSize' | 'mimeType' | 'type' | 'preview' | 'source' | 'width' | 'height'> & {
|
|
@@ -5940,6 +6378,14 @@ export declare type DeleteProductMutation = {
|
|
|
5940
6378
|
__typename?: 'DeletionResponse';
|
|
5941
6379
|
} & Pick<DeletionResponse, 'result' | 'message'>);
|
|
5942
6380
|
};
|
|
6381
|
+
export declare type DeleteProductsMutationVariables = Exact<{
|
|
6382
|
+
ids: Array<Scalars['ID']> | Scalars['ID'];
|
|
6383
|
+
}>;
|
|
6384
|
+
export declare type DeleteProductsMutation = {
|
|
6385
|
+
deleteProducts: Array<({
|
|
6386
|
+
__typename?: 'DeletionResponse';
|
|
6387
|
+
} & Pick<DeletionResponse, 'result' | 'message'>)>;
|
|
6388
|
+
};
|
|
5943
6389
|
export declare type CreateProductVariantsMutationVariables = Exact<{
|
|
5944
6390
|
input: Array<CreateProductVariantInput> | CreateProductVariantInput;
|
|
5945
6391
|
}>;
|
|
@@ -6313,7 +6759,7 @@ export declare type GetProductVariantQueryVariables = Exact<{
|
|
|
6313
6759
|
export declare type GetProductVariantQuery = {
|
|
6314
6760
|
productVariant?: Maybe<({
|
|
6315
6761
|
__typename?: 'ProductVariant';
|
|
6316
|
-
} & Pick<ProductVariant, 'id' | 'name' | 'sku'> & {
|
|
6762
|
+
} & Pick<ProductVariant, 'id' | 'name' | 'sku' | 'stockOnHand' | 'stockAllocated' | 'stockLevel' | 'useGlobalOutOfStockThreshold' | 'price' | 'priceWithTax'> & {
|
|
6317
6763
|
featuredAsset?: Maybe<({
|
|
6318
6764
|
__typename?: 'Asset';
|
|
6319
6765
|
} & Pick<Asset, 'id' | 'preview'> & {
|
|
@@ -7612,9 +8058,15 @@ declare type ErrorResult_EmailAddressConflictError_Fragment = ({
|
|
|
7612
8058
|
declare type ErrorResult_EmptyOrderLineSelectionError_Fragment = ({
|
|
7613
8059
|
__typename?: 'EmptyOrderLineSelectionError';
|
|
7614
8060
|
} & Pick<EmptyOrderLineSelectionError, 'errorCode' | 'message'>);
|
|
8061
|
+
declare type ErrorResult_FacetInUseError_Fragment = ({
|
|
8062
|
+
__typename?: 'FacetInUseError';
|
|
8063
|
+
} & Pick<FacetInUseError, 'errorCode' | 'message'>);
|
|
7615
8064
|
declare type ErrorResult_FulfillmentStateTransitionError_Fragment = ({
|
|
7616
8065
|
__typename?: 'FulfillmentStateTransitionError';
|
|
7617
8066
|
} & Pick<FulfillmentStateTransitionError, 'errorCode' | 'message'>);
|
|
8067
|
+
declare type ErrorResult_IneligibleShippingMethodError_Fragment = ({
|
|
8068
|
+
__typename?: 'IneligibleShippingMethodError';
|
|
8069
|
+
} & Pick<IneligibleShippingMethodError, 'errorCode' | 'message'>);
|
|
7618
8070
|
declare type ErrorResult_InsufficientStockError_Fragment = ({
|
|
7619
8071
|
__typename?: 'InsufficientStockError';
|
|
7620
8072
|
} & Pick<InsufficientStockError, 'errorCode' | 'message'>);
|
|
@@ -7651,6 +8103,9 @@ declare type ErrorResult_NativeAuthStrategyError_Fragment = ({
|
|
|
7651
8103
|
declare type ErrorResult_NegativeQuantityError_Fragment = ({
|
|
7652
8104
|
__typename?: 'NegativeQuantityError';
|
|
7653
8105
|
} & Pick<NegativeQuantityError, 'errorCode' | 'message'>);
|
|
8106
|
+
declare type ErrorResult_NoActiveOrderError_Fragment = ({
|
|
8107
|
+
__typename?: 'NoActiveOrderError';
|
|
8108
|
+
} & Pick<NoActiveOrderError, 'errorCode' | 'message'>);
|
|
7654
8109
|
declare type ErrorResult_NoChangesSpecifiedError_Fragment = ({
|
|
7655
8110
|
__typename?: 'NoChangesSpecifiedError';
|
|
7656
8111
|
} & Pick<NoChangesSpecifiedError, 'errorCode' | 'message'>);
|
|
@@ -7660,6 +8115,9 @@ declare type ErrorResult_NothingToRefundError_Fragment = ({
|
|
|
7660
8115
|
declare type ErrorResult_OrderLimitError_Fragment = ({
|
|
7661
8116
|
__typename?: 'OrderLimitError';
|
|
7662
8117
|
} & Pick<OrderLimitError, 'errorCode' | 'message'>);
|
|
8118
|
+
declare type ErrorResult_OrderModificationError_Fragment = ({
|
|
8119
|
+
__typename?: 'OrderModificationError';
|
|
8120
|
+
} & Pick<OrderModificationError, 'errorCode' | 'message'>);
|
|
7663
8121
|
declare type ErrorResult_OrderModificationStateError_Fragment = ({
|
|
7664
8122
|
__typename?: 'OrderModificationStateError';
|
|
7665
8123
|
} & Pick<OrderModificationStateError, 'errorCode' | 'message'>);
|
|
@@ -7693,7 +8151,7 @@ declare type ErrorResult_RefundStateTransitionError_Fragment = ({
|
|
|
7693
8151
|
declare type ErrorResult_SettlePaymentError_Fragment = ({
|
|
7694
8152
|
__typename?: 'SettlePaymentError';
|
|
7695
8153
|
} & Pick<SettlePaymentError, 'errorCode' | 'message'>);
|
|
7696
|
-
export declare type ErrorResultFragment = ErrorResult_AlreadyRefundedError_Fragment | ErrorResult_CancelActiveOrderError_Fragment | ErrorResult_CancelPaymentError_Fragment | ErrorResult_ChannelDefaultLanguageError_Fragment | ErrorResult_CouponCodeExpiredError_Fragment | ErrorResult_CouponCodeInvalidError_Fragment | ErrorResult_CouponCodeLimitError_Fragment | ErrorResult_CreateFulfillmentError_Fragment | ErrorResult_EmailAddressConflictError_Fragment | ErrorResult_EmptyOrderLineSelectionError_Fragment | ErrorResult_FulfillmentStateTransitionError_Fragment | ErrorResult_InsufficientStockError_Fragment | ErrorResult_InsufficientStockOnHandError_Fragment | ErrorResult_InvalidCredentialsError_Fragment | ErrorResult_InvalidFulfillmentHandlerError_Fragment | ErrorResult_ItemsAlreadyFulfilledError_Fragment | ErrorResult_LanguageNotAvailableError_Fragment | ErrorResult_ManualPaymentStateError_Fragment | ErrorResult_MimeTypeError_Fragment | ErrorResult_MissingConditionsError_Fragment | ErrorResult_MultipleOrderError_Fragment | ErrorResult_NativeAuthStrategyError_Fragment | ErrorResult_NegativeQuantityError_Fragment | ErrorResult_NoChangesSpecifiedError_Fragment | ErrorResult_NothingToRefundError_Fragment | ErrorResult_OrderLimitError_Fragment | ErrorResult_OrderModificationStateError_Fragment | ErrorResult_OrderStateTransitionError_Fragment | ErrorResult_PaymentMethodMissingError_Fragment | ErrorResult_PaymentOrderMismatchError_Fragment | ErrorResult_PaymentStateTransitionError_Fragment | ErrorResult_ProductOptionInUseError_Fragment | ErrorResult_QuantityTooGreatError_Fragment | ErrorResult_RefundOrderStateError_Fragment | ErrorResult_RefundPaymentIdMissingError_Fragment | ErrorResult_RefundStateTransitionError_Fragment | ErrorResult_SettlePaymentError_Fragment;
|
|
8154
|
+
export declare type ErrorResultFragment = ErrorResult_AlreadyRefundedError_Fragment | ErrorResult_CancelActiveOrderError_Fragment | ErrorResult_CancelPaymentError_Fragment | ErrorResult_ChannelDefaultLanguageError_Fragment | ErrorResult_CouponCodeExpiredError_Fragment | ErrorResult_CouponCodeInvalidError_Fragment | ErrorResult_CouponCodeLimitError_Fragment | ErrorResult_CreateFulfillmentError_Fragment | ErrorResult_EmailAddressConflictError_Fragment | ErrorResult_EmptyOrderLineSelectionError_Fragment | ErrorResult_FacetInUseError_Fragment | ErrorResult_FulfillmentStateTransitionError_Fragment | ErrorResult_IneligibleShippingMethodError_Fragment | ErrorResult_InsufficientStockError_Fragment | ErrorResult_InsufficientStockOnHandError_Fragment | ErrorResult_InvalidCredentialsError_Fragment | ErrorResult_InvalidFulfillmentHandlerError_Fragment | ErrorResult_ItemsAlreadyFulfilledError_Fragment | ErrorResult_LanguageNotAvailableError_Fragment | ErrorResult_ManualPaymentStateError_Fragment | ErrorResult_MimeTypeError_Fragment | ErrorResult_MissingConditionsError_Fragment | ErrorResult_MultipleOrderError_Fragment | ErrorResult_NativeAuthStrategyError_Fragment | ErrorResult_NegativeQuantityError_Fragment | ErrorResult_NoActiveOrderError_Fragment | ErrorResult_NoChangesSpecifiedError_Fragment | ErrorResult_NothingToRefundError_Fragment | ErrorResult_OrderLimitError_Fragment | ErrorResult_OrderModificationError_Fragment | ErrorResult_OrderModificationStateError_Fragment | ErrorResult_OrderStateTransitionError_Fragment | ErrorResult_PaymentMethodMissingError_Fragment | ErrorResult_PaymentOrderMismatchError_Fragment | ErrorResult_PaymentStateTransitionError_Fragment | ErrorResult_ProductOptionInUseError_Fragment | ErrorResult_QuantityTooGreatError_Fragment | ErrorResult_RefundOrderStateError_Fragment | ErrorResult_RefundPaymentIdMissingError_Fragment | ErrorResult_RefundStateTransitionError_Fragment | ErrorResult_SettlePaymentError_Fragment;
|
|
7697
8155
|
export declare type ShippingMethodFragment = ({
|
|
7698
8156
|
__typename?: 'ShippingMethod';
|
|
7699
8157
|
} & Pick<ShippingMethod, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'name' | 'description' | 'fulfillmentHandlerCode'> & {
|
|
@@ -7785,7 +8243,47 @@ export declare type TestEligibleShippingMethodsQuery = {
|
|
|
7785
8243
|
__typename?: 'ShippingMethodQuote';
|
|
7786
8244
|
} & Pick<ShippingMethodQuote, 'id' | 'name' | 'code' | 'description' | 'price' | 'priceWithTax' | 'metadata'>)>;
|
|
7787
8245
|
};
|
|
8246
|
+
export declare type GetCustomerAddressesQueryVariables = Exact<{
|
|
8247
|
+
customerId: Scalars['ID'];
|
|
8248
|
+
}>;
|
|
8249
|
+
export declare type GetCustomerAddressesQuery = {
|
|
8250
|
+
customer?: Maybe<({
|
|
8251
|
+
__typename?: 'Customer';
|
|
8252
|
+
} & Pick<Customer, 'id'> & {
|
|
8253
|
+
addresses?: Maybe<Array<({
|
|
8254
|
+
__typename?: 'Address';
|
|
8255
|
+
} & AddressFragment)>>;
|
|
8256
|
+
})>;
|
|
8257
|
+
};
|
|
7788
8258
|
declare type DiscriminateUnion<T, U> = T extends U ? T : never;
|
|
8259
|
+
export declare namespace GetProductsWithFacetValuesByIds {
|
|
8260
|
+
type Variables = GetProductsWithFacetValuesByIdsQueryVariables;
|
|
8261
|
+
type Query = GetProductsWithFacetValuesByIdsQuery;
|
|
8262
|
+
type Products = (NonNullable<GetProductsWithFacetValuesByIdsQuery['products']>);
|
|
8263
|
+
type Items = NonNullable<(NonNullable<(NonNullable<GetProductsWithFacetValuesByIdsQuery['products']>)['items']>)[number]>;
|
|
8264
|
+
type FacetValues = NonNullable<(NonNullable<NonNullable<(NonNullable<(NonNullable<GetProductsWithFacetValuesByIdsQuery['products']>)['items']>)[number]>['facetValues']>)[number]>;
|
|
8265
|
+
type Facet = (NonNullable<NonNullable<(NonNullable<NonNullable<(NonNullable<(NonNullable<GetProductsWithFacetValuesByIdsQuery['products']>)['items']>)[number]>['facetValues']>)[number]>['facet']>);
|
|
8266
|
+
}
|
|
8267
|
+
export declare namespace GetVariantsWithFacetValuesByIds {
|
|
8268
|
+
type Variables = GetVariantsWithFacetValuesByIdsQueryVariables;
|
|
8269
|
+
type Query = GetVariantsWithFacetValuesByIdsQuery;
|
|
8270
|
+
type ProductVariants = (NonNullable<GetVariantsWithFacetValuesByIdsQuery['productVariants']>);
|
|
8271
|
+
type Items = NonNullable<(NonNullable<(NonNullable<GetVariantsWithFacetValuesByIdsQuery['productVariants']>)['items']>)[number]>;
|
|
8272
|
+
type FacetValues = NonNullable<(NonNullable<NonNullable<(NonNullable<(NonNullable<GetVariantsWithFacetValuesByIdsQuery['productVariants']>)['items']>)[number]>['facetValues']>)[number]>;
|
|
8273
|
+
type Facet = (NonNullable<NonNullable<(NonNullable<NonNullable<(NonNullable<(NonNullable<GetVariantsWithFacetValuesByIdsQuery['productVariants']>)['items']>)[number]>['facetValues']>)[number]>['facet']>);
|
|
8274
|
+
}
|
|
8275
|
+
export declare namespace UpdateProductsBulk {
|
|
8276
|
+
type Variables = UpdateProductsBulkMutationVariables;
|
|
8277
|
+
type Mutation = UpdateProductsBulkMutation;
|
|
8278
|
+
type UpdateProducts = NonNullable<(NonNullable<UpdateProductsBulkMutation['updateProducts']>)[number]>;
|
|
8279
|
+
type FacetValues = NonNullable<(NonNullable<NonNullable<(NonNullable<UpdateProductsBulkMutation['updateProducts']>)[number]>['facetValues']>)[number]>;
|
|
8280
|
+
}
|
|
8281
|
+
export declare namespace UpdateVariantsBulk {
|
|
8282
|
+
type Variables = UpdateVariantsBulkMutationVariables;
|
|
8283
|
+
type Mutation = UpdateVariantsBulkMutation;
|
|
8284
|
+
type UpdateProductVariants = NonNullable<(NonNullable<UpdateVariantsBulkMutation['updateProductVariants']>)[number]>;
|
|
8285
|
+
type FacetValues = NonNullable<(NonNullable<NonNullable<(NonNullable<UpdateVariantsBulkMutation['updateProductVariants']>)[number]>['facetValues']>)[number]>;
|
|
8286
|
+
}
|
|
7789
8287
|
export declare namespace Role {
|
|
7790
8288
|
type Fragment = RoleFragment;
|
|
7791
8289
|
type Channels = NonNullable<(NonNullable<RoleFragment['channels']>)[number]>;
|
|
@@ -7962,6 +8460,7 @@ export declare namespace GetCollectionFilters {
|
|
|
7962
8460
|
}
|
|
7963
8461
|
export declare namespace Collection {
|
|
7964
8462
|
type Fragment = CollectionFragment;
|
|
8463
|
+
type Breadcrumbs = NonNullable<(NonNullable<CollectionFragment['breadcrumbs']>)[number]>;
|
|
7965
8464
|
type FeaturedAsset = (NonNullable<CollectionFragment['featuredAsset']>);
|
|
7966
8465
|
type Assets = NonNullable<(NonNullable<CollectionFragment['assets']>)[number]>;
|
|
7967
8466
|
type Filters = NonNullable<(NonNullable<CollectionFragment['filters']>)[number]>;
|
|
@@ -8002,6 +8501,11 @@ export declare namespace DeleteCollection {
|
|
|
8002
8501
|
type Mutation = DeleteCollectionMutation;
|
|
8003
8502
|
type DeleteCollection = (NonNullable<DeleteCollectionMutation['deleteCollection']>);
|
|
8004
8503
|
}
|
|
8504
|
+
export declare namespace DeleteCollections {
|
|
8505
|
+
type Variables = DeleteCollectionsMutationVariables;
|
|
8506
|
+
type Mutation = DeleteCollectionsMutation;
|
|
8507
|
+
type DeleteCollections = NonNullable<(NonNullable<DeleteCollectionsMutation['deleteCollections']>)[number]>;
|
|
8508
|
+
}
|
|
8005
8509
|
export declare namespace GetCollectionContents {
|
|
8006
8510
|
type Variables = GetCollectionContentsQueryVariables;
|
|
8007
8511
|
type Query = GetCollectionContentsQuery;
|
|
@@ -8015,6 +8519,16 @@ export declare namespace PreviewCollectionContents {
|
|
|
8015
8519
|
type PreviewCollectionVariants = (NonNullable<PreviewCollectionContentsQuery['previewCollectionVariants']>);
|
|
8016
8520
|
type Items = NonNullable<(NonNullable<(NonNullable<PreviewCollectionContentsQuery['previewCollectionVariants']>)['items']>)[number]>;
|
|
8017
8521
|
}
|
|
8522
|
+
export declare namespace AssignCollectionsToChannel {
|
|
8523
|
+
type Variables = AssignCollectionsToChannelMutationVariables;
|
|
8524
|
+
type Mutation = AssignCollectionsToChannelMutation;
|
|
8525
|
+
type AssignCollectionsToChannel = NonNullable<(NonNullable<AssignCollectionsToChannelMutation['assignCollectionsToChannel']>)[number]>;
|
|
8526
|
+
}
|
|
8527
|
+
export declare namespace RemoveCollectionsFromChannel {
|
|
8528
|
+
type Variables = RemoveCollectionsFromChannelMutationVariables;
|
|
8529
|
+
type Mutation = RemoveCollectionsFromChannelMutation;
|
|
8530
|
+
type RemoveCollectionsFromChannel = NonNullable<(NonNullable<RemoveCollectionsFromChannelMutation['removeCollectionsFromChannel']>)[number]>;
|
|
8531
|
+
}
|
|
8018
8532
|
export declare namespace Address {
|
|
8019
8533
|
type Fragment = AddressFragment;
|
|
8020
8534
|
type Country = (NonNullable<AddressFragment['country']>);
|
|
@@ -8158,6 +8672,11 @@ export declare namespace DeleteFacet {
|
|
|
8158
8672
|
type Mutation = DeleteFacetMutation;
|
|
8159
8673
|
type DeleteFacet = (NonNullable<DeleteFacetMutation['deleteFacet']>);
|
|
8160
8674
|
}
|
|
8675
|
+
export declare namespace DeleteFacets {
|
|
8676
|
+
type Variables = DeleteFacetsMutationVariables;
|
|
8677
|
+
type Mutation = DeleteFacetsMutation;
|
|
8678
|
+
type DeleteFacets = NonNullable<(NonNullable<DeleteFacetsMutation['deleteFacets']>)[number]>;
|
|
8679
|
+
}
|
|
8161
8680
|
export declare namespace CreateFacetValues {
|
|
8162
8681
|
type Variables = CreateFacetValuesMutationVariables;
|
|
8163
8682
|
type Mutation = CreateFacetValuesMutation;
|
|
@@ -8184,6 +8703,22 @@ export declare namespace GetFacetWithValues {
|
|
|
8184
8703
|
type Query = GetFacetWithValuesQuery;
|
|
8185
8704
|
type Facet = (NonNullable<GetFacetWithValuesQuery['facet']>);
|
|
8186
8705
|
}
|
|
8706
|
+
export declare namespace AssignFacetsToChannel {
|
|
8707
|
+
type Variables = AssignFacetsToChannelMutationVariables;
|
|
8708
|
+
type Mutation = AssignFacetsToChannelMutation;
|
|
8709
|
+
type AssignFacetsToChannel = NonNullable<(NonNullable<AssignFacetsToChannelMutation['assignFacetsToChannel']>)[number]>;
|
|
8710
|
+
}
|
|
8711
|
+
export declare namespace RemoveFacetsFromChannel {
|
|
8712
|
+
type Variables = RemoveFacetsFromChannelMutationVariables;
|
|
8713
|
+
type Mutation = RemoveFacetsFromChannelMutation;
|
|
8714
|
+
type RemoveFacetsFromChannel = NonNullable<(NonNullable<RemoveFacetsFromChannelMutation['removeFacetsFromChannel']>)[number]>;
|
|
8715
|
+
type FacetInlineFragment = (DiscriminateUnion<NonNullable<(NonNullable<RemoveFacetsFromChannelMutation['removeFacetsFromChannel']>)[number]>, {
|
|
8716
|
+
__typename?: 'Facet';
|
|
8717
|
+
}>);
|
|
8718
|
+
type FacetInUseErrorInlineFragment = (DiscriminateUnion<NonNullable<(NonNullable<RemoveFacetsFromChannelMutation['removeFacetsFromChannel']>)[number]>, {
|
|
8719
|
+
__typename?: 'FacetInUseError';
|
|
8720
|
+
}>);
|
|
8721
|
+
}
|
|
8187
8722
|
export declare namespace Discount {
|
|
8188
8723
|
type Fragment = DiscountFragment;
|
|
8189
8724
|
}
|
|
@@ -8367,6 +8902,66 @@ export declare namespace AddManualPayment {
|
|
|
8367
8902
|
type Mutation = AddManualPaymentMutation;
|
|
8368
8903
|
type AddManualPaymentToOrder = (NonNullable<AddManualPaymentMutation['addManualPaymentToOrder']>);
|
|
8369
8904
|
}
|
|
8905
|
+
export declare namespace CreateDraftOrder {
|
|
8906
|
+
type Variables = CreateDraftOrderMutationVariables;
|
|
8907
|
+
type Mutation = CreateDraftOrderMutation;
|
|
8908
|
+
type CreateDraftOrder = (NonNullable<CreateDraftOrderMutation['createDraftOrder']>);
|
|
8909
|
+
}
|
|
8910
|
+
export declare namespace DeleteDraftOrder {
|
|
8911
|
+
type Variables = DeleteDraftOrderMutationVariables;
|
|
8912
|
+
type Mutation = DeleteDraftOrderMutation;
|
|
8913
|
+
type DeleteDraftOrder = (NonNullable<DeleteDraftOrderMutation['deleteDraftOrder']>);
|
|
8914
|
+
}
|
|
8915
|
+
export declare namespace AddItemToDraftOrder {
|
|
8916
|
+
type Variables = AddItemToDraftOrderMutationVariables;
|
|
8917
|
+
type Mutation = AddItemToDraftOrderMutation;
|
|
8918
|
+
type AddItemToDraftOrder = (NonNullable<AddItemToDraftOrderMutation['addItemToDraftOrder']>);
|
|
8919
|
+
}
|
|
8920
|
+
export declare namespace AdjustDraftOrderLine {
|
|
8921
|
+
type Variables = AdjustDraftOrderLineMutationVariables;
|
|
8922
|
+
type Mutation = AdjustDraftOrderLineMutation;
|
|
8923
|
+
type AdjustDraftOrderLine = (NonNullable<AdjustDraftOrderLineMutation['adjustDraftOrderLine']>);
|
|
8924
|
+
}
|
|
8925
|
+
export declare namespace RemoveDraftOrderLine {
|
|
8926
|
+
type Variables = RemoveDraftOrderLineMutationVariables;
|
|
8927
|
+
type Mutation = RemoveDraftOrderLineMutation;
|
|
8928
|
+
type RemoveDraftOrderLine = (NonNullable<RemoveDraftOrderLineMutation['removeDraftOrderLine']>);
|
|
8929
|
+
}
|
|
8930
|
+
export declare namespace SetCustomerForDraftOrder {
|
|
8931
|
+
type Variables = SetCustomerForDraftOrderMutationVariables;
|
|
8932
|
+
type Mutation = SetCustomerForDraftOrderMutation;
|
|
8933
|
+
type SetCustomerForDraftOrder = (NonNullable<SetCustomerForDraftOrderMutation['setCustomerForDraftOrder']>);
|
|
8934
|
+
}
|
|
8935
|
+
export declare namespace SetDraftOrderShippingAddress {
|
|
8936
|
+
type Variables = SetDraftOrderShippingAddressMutationVariables;
|
|
8937
|
+
type Mutation = SetDraftOrderShippingAddressMutation;
|
|
8938
|
+
type SetDraftOrderShippingAddress = (NonNullable<SetDraftOrderShippingAddressMutation['setDraftOrderShippingAddress']>);
|
|
8939
|
+
}
|
|
8940
|
+
export declare namespace SetDraftOrderBillingAddress {
|
|
8941
|
+
type Variables = SetDraftOrderBillingAddressMutationVariables;
|
|
8942
|
+
type Mutation = SetDraftOrderBillingAddressMutation;
|
|
8943
|
+
type SetDraftOrderBillingAddress = (NonNullable<SetDraftOrderBillingAddressMutation['setDraftOrderBillingAddress']>);
|
|
8944
|
+
}
|
|
8945
|
+
export declare namespace ApplyCouponCodeToDraftOrder {
|
|
8946
|
+
type Variables = ApplyCouponCodeToDraftOrderMutationVariables;
|
|
8947
|
+
type Mutation = ApplyCouponCodeToDraftOrderMutation;
|
|
8948
|
+
type ApplyCouponCodeToDraftOrder = (NonNullable<ApplyCouponCodeToDraftOrderMutation['applyCouponCodeToDraftOrder']>);
|
|
8949
|
+
}
|
|
8950
|
+
export declare namespace RemoveCouponCodeFromDraftOrder {
|
|
8951
|
+
type Variables = RemoveCouponCodeFromDraftOrderMutationVariables;
|
|
8952
|
+
type Mutation = RemoveCouponCodeFromDraftOrderMutation;
|
|
8953
|
+
type RemoveCouponCodeFromDraftOrder = (NonNullable<RemoveCouponCodeFromDraftOrderMutation['removeCouponCodeFromDraftOrder']>);
|
|
8954
|
+
}
|
|
8955
|
+
export declare namespace DraftOrderEligibleShippingMethods {
|
|
8956
|
+
type Variables = DraftOrderEligibleShippingMethodsQueryVariables;
|
|
8957
|
+
type Query = DraftOrderEligibleShippingMethodsQuery;
|
|
8958
|
+
type EligibleShippingMethodsForDraftOrder = NonNullable<(NonNullable<DraftOrderEligibleShippingMethodsQuery['eligibleShippingMethodsForDraftOrder']>)[number]>;
|
|
8959
|
+
}
|
|
8960
|
+
export declare namespace SetDraftOrderShippingMethod {
|
|
8961
|
+
type Variables = SetDraftOrderShippingMethodMutationVariables;
|
|
8962
|
+
type Mutation = SetDraftOrderShippingMethodMutation;
|
|
8963
|
+
type SetDraftOrderShippingMethod = (NonNullable<SetDraftOrderShippingMethodMutation['setDraftOrderShippingMethod']>);
|
|
8964
|
+
}
|
|
8370
8965
|
export declare namespace Asset {
|
|
8371
8966
|
type Fragment = AssetFragment;
|
|
8372
8967
|
type FocalPoint = (NonNullable<AssetFragment['focalPoint']>);
|
|
@@ -8429,6 +9024,11 @@ export declare namespace DeleteProduct {
|
|
|
8429
9024
|
type Mutation = DeleteProductMutation;
|
|
8430
9025
|
type DeleteProduct = (NonNullable<DeleteProductMutation['deleteProduct']>);
|
|
8431
9026
|
}
|
|
9027
|
+
export declare namespace DeleteProducts {
|
|
9028
|
+
type Variables = DeleteProductsMutationVariables;
|
|
9029
|
+
type Mutation = DeleteProductsMutation;
|
|
9030
|
+
type DeleteProducts = NonNullable<(NonNullable<DeleteProductsMutation['deleteProducts']>)[number]>;
|
|
9031
|
+
}
|
|
8432
9032
|
export declare namespace CreateProductVariants {
|
|
8433
9033
|
type Variables = CreateProductVariantsMutationVariables;
|
|
8434
9034
|
type Mutation = CreateProductVariantsMutation;
|
|
@@ -9139,4 +9739,10 @@ export declare namespace TestEligibleShippingMethods {
|
|
|
9139
9739
|
type Query = TestEligibleShippingMethodsQuery;
|
|
9140
9740
|
type TestEligibleShippingMethods = NonNullable<(NonNullable<TestEligibleShippingMethodsQuery['testEligibleShippingMethods']>)[number]>;
|
|
9141
9741
|
}
|
|
9742
|
+
export declare namespace GetCustomerAddresses {
|
|
9743
|
+
type Variables = GetCustomerAddressesQueryVariables;
|
|
9744
|
+
type Query = GetCustomerAddressesQuery;
|
|
9745
|
+
type Customer = (NonNullable<GetCustomerAddressesQuery['customer']>);
|
|
9746
|
+
type Addresses = NonNullable<(NonNullable<(NonNullable<GetCustomerAddressesQuery['customer']>)['addresses']>)[number]>;
|
|
9747
|
+
}
|
|
9142
9748
|
export {};
|